{ "type": "File", "start": 0, "end": 13831, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 414, "column": 2 } }, "program": { "type": "Program", "start": 0, "end": 13831, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 414, "column": 2 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 56, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 56 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 } }, "imported": { "type": "Identifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 }, "identifierName": "AnimationFrame" }, "name": "AnimationFrame" }, "local": { "type": "Identifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 }, "identifierName": "AnimationFrame" }, "name": "AnimationFrame" } } ], "source": { "type": "StringLiteral", "start": 31, "end": 55, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 55 } }, "extra": { "rawValue": "./core/animation_frame", "raw": "\"./core/animation_frame\"" }, "value": "./core/animation_frame" } }, { "type": "ImportDeclaration", "start": 58, "end": 137, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 79 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 67, "end": 92, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 34 } }, "imported": { "type": "Identifier", "start": 67, "end": 92, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 34 }, "identifierName": "BackgroundResourcesLoader" }, "name": "BackgroundResourcesLoader" }, "local": { "type": "Identifier", "start": 67, "end": 92, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 34 }, "identifierName": "BackgroundResourcesLoader" }, "name": "BackgroundResourcesLoader" } } ], "source": { "type": "StringLiteral", "start": 100, "end": 136, "loc": { "start": { "line": 2, "column": 42 }, "end": { "line": 2, "column": 78 } }, "extra": { "rawValue": "./core/background_resources_loader", "raw": "\"./core/background_resources_loader\"" }, "value": "./core/background_resources_loader" } }, { "type": "ImportDeclaration", "start": 139, "end": 181, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 42 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 148, "end": 157, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 } }, "imported": { "type": "Identifier", "start": 148, "end": 157, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 }, "identifierName": "IS_MOBILE" }, "name": "IS_MOBILE" }, "local": { "type": "Identifier", "start": 148, "end": 157, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 }, "identifierName": "IS_MOBILE" }, "name": "IS_MOBILE" } } ], "source": { "type": "StringLiteral", "start": 165, "end": 180, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 41 } }, "extra": { "rawValue": "./core/config", "raw": "\"./core/config\"" }, "value": "./core/config" } }, { "type": "ImportDeclaration", "start": 183, "end": 241, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 58 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 192, "end": 202, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 19 } }, "imported": { "type": "Identifier", "start": 192, "end": 202, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 19 }, "identifierName": "GLOBAL_APP" }, "name": "GLOBAL_APP" }, "local": { "type": "Identifier", "start": 192, "end": 202, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 19 }, "identifierName": "GLOBAL_APP" }, "name": "GLOBAL_APP" } }, { "type": "ImportSpecifier", "start": 204, "end": 216, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 33 } }, "imported": { "type": "Identifier", "start": 204, "end": 216, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 33 }, "identifierName": "setGlobalApp" }, "name": "setGlobalApp" }, "local": { "type": "Identifier", "start": 204, "end": 216, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 33 }, "identifierName": "setGlobalApp" }, "name": "setGlobalApp" } } ], "source": { "type": "StringLiteral", "start": 224, "end": 240, "loc": { "start": { "line": 4, "column": 41 }, "end": { "line": 4, "column": 57 } }, "extra": { "rawValue": "./core/globals", "raw": "\"./core/globals\"" }, "value": "./core/globals" } }, { "type": "ImportDeclaration", "start": 243, "end": 303, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 60 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 252, "end": 268, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 25 } }, "imported": { "type": "Identifier", "start": 252, "end": 268, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 25 }, "identifierName": "InputDistributor" }, "name": "InputDistributor" }, "local": { "type": "Identifier", "start": 252, "end": 268, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 25 }, "identifierName": "InputDistributor" }, "name": "InputDistributor" } } ], "source": { "type": "StringLiteral", "start": 276, "end": 302, "loc": { "start": { "line": 5, "column": 33 }, "end": { "line": 5, "column": 59 } }, "extra": { "rawValue": "./core/input_distributor", "raw": "\"./core/input_distributor\"" }, "value": "./core/input_distributor" } }, { "type": "ImportDeclaration", "start": 305, "end": 344, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 39 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 314, "end": 320, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 } }, "imported": { "type": "Identifier", "start": 314, "end": 320, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" }, "local": { "type": "Identifier", "start": 314, "end": 320, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" } } ], "source": { "type": "StringLiteral", "start": 328, "end": 343, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 38 } }, "extra": { "rawValue": "./core/loader", "raw": "\"./core/loader\"" }, "value": "./core/loader" } }, { "type": "ImportDeclaration", "start": 346, "end": 404, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 58 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 355, "end": 367, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 21 } }, "imported": { "type": "Identifier", "start": 355, "end": 367, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 355, "end": 367, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } }, { "type": "ImportSpecifier", "start": 369, "end": 379, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 33 } }, "imported": { "type": "Identifier", "start": 369, "end": 379, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 33 }, "identifierName": "logSection" }, "name": "logSection" }, "local": { "type": "Identifier", "start": 369, "end": 379, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 33 }, "identifierName": "logSection" }, "name": "logSection" } } ], "source": { "type": "StringLiteral", "start": 387, "end": 403, "loc": { "start": { "line": 7, "column": 41 }, "end": { "line": 7, "column": 57 } }, "extra": { "rawValue": "./core/logging", "raw": "\"./core/logging\"" }, "value": "./core/logging" } }, { "type": "ImportDeclaration", "start": 406, "end": 458, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 415, "end": 427, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 21 } }, "imported": { "type": "Identifier", "start": 415, "end": 427, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 21 }, "identifierName": "StateManager" }, "name": "StateManager" }, "local": { "type": "Identifier", "start": 415, "end": 427, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 21 }, "identifierName": "StateManager" }, "name": "StateManager" } } ], "source": { "type": "StringLiteral", "start": 435, "end": 457, "loc": { "start": { "line": 8, "column": 29 }, "end": { "line": 8, "column": 51 } }, "extra": { "rawValue": "./core/state_manager", "raw": "\"./core/state_manager\"" }, "value": "./core/state_manager" } }, { "type": "ImportDeclaration", "start": 460, "end": 512, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 469, "end": 481, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 21 } }, "imported": { "type": "Identifier", "start": 469, "end": 481, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 21 }, "identifierName": "TrackedState" }, "name": "TrackedState" }, "local": { "type": "Identifier", "start": 469, "end": 481, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 21 }, "identifierName": "TrackedState" }, "name": "TrackedState" } } ], "source": { "type": "StringLiteral", "start": 489, "end": 511, "loc": { "start": { "line": 9, "column": 29 }, "end": { "line": 9, "column": 51 } }, "extra": { "rawValue": "./core/tracked_state", "raw": "\"./core/tracked_state\"" }, "value": "./core/tracked_state" } }, { "type": "ImportDeclaration", "start": 514, "end": 576, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 523, "end": 538, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 24 } }, "imported": { "type": "Identifier", "start": 523, "end": 538, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 24 }, "identifierName": "getPlatformName" }, "name": "getPlatformName" }, "local": { "type": "Identifier", "start": 523, "end": 538, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 24 }, "identifierName": "getPlatformName" }, "name": "getPlatformName" } }, { "type": "ImportSpecifier", "start": 540, "end": 553, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 39 } }, "imported": { "type": "Identifier", "start": 540, "end": 553, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 39 }, "identifierName": "waitNextFrame" }, "name": "waitNextFrame" }, "local": { "type": "Identifier", "start": 540, "end": 553, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 39 }, "identifierName": "waitNextFrame" }, "name": "waitNextFrame" } } ], "source": { "type": "StringLiteral", "start": 561, "end": 575, "loc": { "start": { "line": 10, "column": 47 }, "end": { "line": 10, "column": 61 } }, "extra": { "rawValue": "./core/utils", "raw": "\"./core/utils\"" }, "value": "./core/utils" } }, { "type": "ImportDeclaration", "start": 578, "end": 617, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 39 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 587, "end": 593, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 15 } }, "imported": { "type": "Identifier", "start": 587, "end": 593, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" }, "local": { "type": "Identifier", "start": 587, "end": 593, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" } } ], "source": { "type": "StringLiteral", "start": 601, "end": 616, "loc": { "start": { "line": 11, "column": 23 }, "end": { "line": 11, "column": 38 } }, "extra": { "rawValue": "./core/vector", "raw": "\"./core/vector\"" }, "value": "./core/vector" } }, { "type": "ImportDeclaration", "start": 619, "end": 680, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 628, "end": 647, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 28 } }, "imported": { "type": "Identifier", "start": 628, "end": 647, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 28 }, "identifierName": "AdProviderInterface" }, "name": "AdProviderInterface" }, "local": { "type": "Identifier", "start": 628, "end": 647, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 28 }, "identifierName": "AdProviderInterface" }, "name": "AdProviderInterface" } } ], "source": { "type": "StringLiteral", "start": 655, "end": 679, "loc": { "start": { "line": 12, "column": 36 }, "end": { "line": 12, "column": 60 } }, "extra": { "rawValue": "./platform/ad_provider", "raw": "\"./platform/ad_provider\"" }, "value": "./platform/ad_provider" } }, { "type": "ImportDeclaration", "start": 682, "end": 752, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 70 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 691, "end": 703, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 21 } }, "imported": { "type": "Identifier", "start": 691, "end": 703, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 21 }, "identifierName": "NoAdProvider" }, "name": "NoAdProvider" }, "local": { "type": "Identifier", "start": 691, "end": 703, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 21 }, "identifierName": "NoAdProvider" }, "name": "NoAdProvider" } } ], "source": { "type": "StringLiteral", "start": 711, "end": 751, "loc": { "start": { "line": 13, "column": 29 }, "end": { "line": 13, "column": 69 } }, "extra": { "rawValue": "./platform/ad_providers/no_ad_provider", "raw": "\"./platform/ad_providers/no_ad_provider\"" }, "value": "./platform/ad_providers/no_ad_provider" } }, { "type": "ImportDeclaration", "start": 754, "end": 812, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 58 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 763, "end": 781, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 27 } }, "imported": { "type": "Identifier", "start": 763, "end": 781, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 27 }, "identifierName": "AnalyticsInterface" }, "name": "AnalyticsInterface" }, "local": { "type": "Identifier", "start": 763, "end": 781, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 27 }, "identifierName": "AnalyticsInterface" }, "name": "AnalyticsInterface" } } ], "source": { "type": "StringLiteral", "start": 789, "end": 811, "loc": { "start": { "line": 14, "column": 35 }, "end": { "line": 14, "column": 57 } }, "extra": { "rawValue": "./platform/analytics", "raw": "\"./platform/analytics\"" }, "value": "./platform/analytics" } }, { "type": "ImportDeclaration", "start": 814, "end": 888, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 74 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 823, "end": 842, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 28 } }, "imported": { "type": "Identifier", "start": 823, "end": 842, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 28 }, "identifierName": "GoogleAnalyticsImpl" }, "name": "GoogleAnalyticsImpl" }, "local": { "type": "Identifier", "start": 823, "end": 842, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 28 }, "identifierName": "GoogleAnalyticsImpl" }, "name": "GoogleAnalyticsImpl" } } ], "source": { "type": "StringLiteral", "start": 850, "end": 887, "loc": { "start": { "line": 15, "column": 36 }, "end": { "line": 15, "column": 73 } }, "extra": { "rawValue": "./platform/browser/google_analytics", "raw": "\"./platform/browser/google_analytics\"" }, "value": "./platform/browser/google_analytics" } }, { "type": "ImportDeclaration", "start": 890, "end": 950, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 60 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 899, "end": 915, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 25 } }, "imported": { "type": "Identifier", "start": 899, "end": 915, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 25 }, "identifierName": "SoundImplBrowser" }, "name": "SoundImplBrowser" }, "local": { "type": "Identifier", "start": 899, "end": 915, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 25 }, "identifierName": "SoundImplBrowser" }, "name": "SoundImplBrowser" } } ], "source": { "type": "StringLiteral", "start": 923, "end": 949, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 59 } }, "extra": { "rawValue": "./platform/browser/sound", "raw": "\"./platform/browser/sound\"" }, "value": "./platform/browser/sound" } }, { "type": "ImportDeclaration", "start": 952, "end": 1024, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 72 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 961, "end": 987, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 35 } }, "imported": { "type": "Identifier", "start": 961, "end": 987, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 35 }, "identifierName": "PlatformWrapperImplBrowser" }, "name": "PlatformWrapperImplBrowser" }, "local": { "type": "Identifier", "start": 961, "end": 987, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 35 }, "identifierName": "PlatformWrapperImplBrowser" }, "name": "PlatformWrapperImplBrowser" } } ], "source": { "type": "StringLiteral", "start": 995, "end": 1023, "loc": { "start": { "line": 17, "column": 43 }, "end": { "line": 17, "column": 71 } }, "extra": { "rawValue": "./platform/browser/wrapper", "raw": "\"./platform/browser/wrapper\"" }, "value": "./platform/browser/wrapper" } }, { "type": "ImportDeclaration", "start": 1026, "end": 1100, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 74 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1035, "end": 1062, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 36 } }, "imported": { "type": "Identifier", "start": 1035, "end": 1062, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 36 }, "identifierName": "PlatformWrapperImplElectron" }, "name": "PlatformWrapperImplElectron" }, "local": { "type": "Identifier", "start": 1035, "end": 1062, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 36 }, "identifierName": "PlatformWrapperImplElectron" }, "name": "PlatformWrapperImplElectron" } } ], "source": { "type": "StringLiteral", "start": 1070, "end": 1099, "loc": { "start": { "line": 18, "column": 44 }, "end": { "line": 18, "column": 73 } }, "extra": { "rawValue": "./platform/electron/wrapper", "raw": "\"./platform/electron/wrapper\"" }, "value": "./platform/electron/wrapper" } }, { "type": "ImportDeclaration", "start": 1102, "end": 1164, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1111, "end": 1135, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 33 } }, "imported": { "type": "Identifier", "start": 1111, "end": 1135, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 33 }, "identifierName": "PlatformWrapperInterface" }, "name": "PlatformWrapperInterface" }, "local": { "type": "Identifier", "start": 1111, "end": 1135, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 33 }, "identifierName": "PlatformWrapperInterface" }, "name": "PlatformWrapperInterface" } } ], "source": { "type": "StringLiteral", "start": 1143, "end": 1163, "loc": { "start": { "line": 19, "column": 41 }, "end": { "line": 19, "column": 61 } }, "extra": { "rawValue": "./platform/wrapper", "raw": "\"./platform/wrapper\"" }, "value": "./platform/wrapper" } }, { "type": "ImportDeclaration", "start": 1166, "end": 1235, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 69 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1175, "end": 1194, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 28 } }, "imported": { "type": "Identifier", "start": 1175, "end": 1194, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 28 }, "identifierName": "ApplicationSettings" }, "name": "ApplicationSettings" }, "local": { "type": "Identifier", "start": 1175, "end": 1194, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 28 }, "identifierName": "ApplicationSettings" }, "name": "ApplicationSettings" } } ], "source": { "type": "StringLiteral", "start": 1202, "end": 1234, "loc": { "start": { "line": 20, "column": 36 }, "end": { "line": 20, "column": 68 } }, "extra": { "rawValue": "./profile/application_settings", "raw": "\"./profile/application_settings\"" }, "value": "./profile/application_settings" } }, { "type": "ImportDeclaration", "start": 1237, "end": 1299, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 62 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1246, "end": 1261, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 24 } }, "imported": { "type": "Identifier", "start": 1246, "end": 1261, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 24 }, "identifierName": "SavegameManager" }, "name": "SavegameManager" }, "local": { "type": "Identifier", "start": 1246, "end": 1261, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 24 }, "identifierName": "SavegameManager" }, "name": "SavegameManager" } } ], "source": { "type": "StringLiteral", "start": 1269, "end": 1298, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 61 } }, "extra": { "rawValue": "./savegame/savegame_manager", "raw": "\"./savegame/savegame_manager\"" }, "value": "./savegame/savegame_manager" } }, { "type": "ImportDeclaration", "start": 1301, "end": 1345, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 44 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1310, "end": 1320, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 19 } }, "imported": { "type": "Identifier", "start": 1310, "end": 1320, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 19 }, "identifierName": "AboutState" }, "name": "AboutState" }, "local": { "type": "Identifier", "start": 1310, "end": 1320, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 19 }, "identifierName": "AboutState" }, "name": "AboutState" } } ], "source": { "type": "StringLiteral", "start": 1328, "end": 1344, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 43 } }, "extra": { "rawValue": "./states/about", "raw": "\"./states/about\"" }, "value": "./states/about" } }, { "type": "ImportDeclaration", "start": 1347, "end": 1399, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1356, "end": 1370, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 23 } }, "imported": { "type": "Identifier", "start": 1356, "end": 1370, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 23 }, "identifierName": "ChangelogState" }, "name": "ChangelogState" }, "local": { "type": "Identifier", "start": 1356, "end": 1370, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 23 }, "identifierName": "ChangelogState" }, "name": "ChangelogState" } } ], "source": { "type": "StringLiteral", "start": 1378, "end": 1398, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 51 } }, "extra": { "rawValue": "./states/changelog", "raw": "\"./states/changelog\"" }, "value": "./states/changelog" } }, { "type": "ImportDeclaration", "start": 1401, "end": 1447, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1410, "end": 1421, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 20 } }, "imported": { "type": "Identifier", "start": 1410, "end": 1421, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 20 }, "identifierName": "InGameState" }, "name": "InGameState" }, "local": { "type": "Identifier", "start": 1410, "end": 1421, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 20 }, "identifierName": "InGameState" }, "name": "InGameState" } } ], "source": { "type": "StringLiteral", "start": 1429, "end": 1446, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 45 } }, "extra": { "rawValue": "./states/ingame", "raw": "\"./states/ingame\"" }, "value": "./states/ingame" } }, { "type": "ImportDeclaration", "start": 1449, "end": 1505, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 56 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1458, "end": 1474, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 25 } }, "imported": { "type": "Identifier", "start": 1458, "end": 1474, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 25 }, "identifierName": "KeybindingsState" }, "name": "KeybindingsState" }, "local": { "type": "Identifier", "start": 1458, "end": 1474, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 25 }, "identifierName": "KeybindingsState" }, "name": "KeybindingsState" } } ], "source": { "type": "StringLiteral", "start": 1482, "end": 1504, "loc": { "start": { "line": 25, "column": 33 }, "end": { "line": 25, "column": 55 } }, "extra": { "rawValue": "./states/keybindings", "raw": "\"./states/keybindings\"" }, "value": "./states/keybindings" } }, { "type": "ImportDeclaration", "start": 1507, "end": 1558, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 51 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1516, "end": 1529, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 22 } }, "imported": { "type": "Identifier", "start": 1516, "end": 1529, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 22 }, "identifierName": "MainMenuState" }, "name": "MainMenuState" }, "local": { "type": "Identifier", "start": 1516, "end": 1529, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 22 }, "identifierName": "MainMenuState" }, "name": "MainMenuState" } } ], "source": { "type": "StringLiteral", "start": 1537, "end": 1557, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 50 } }, "extra": { "rawValue": "./states/main_menu", "raw": "\"./states/main_menu\"" }, "value": "./states/main_menu" } }, { "type": "ImportDeclaration", "start": 1560, "end": 1621, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 61 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1569, "end": 1587, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 27 } }, "imported": { "type": "Identifier", "start": 1569, "end": 1587, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 27 }, "identifierName": "MobileWarningState" }, "name": "MobileWarningState" }, "local": { "type": "Identifier", "start": 1569, "end": 1587, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 27 }, "identifierName": "MobileWarningState" }, "name": "MobileWarningState" } } ], "source": { "type": "StringLiteral", "start": 1595, "end": 1620, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 60 } }, "extra": { "rawValue": "./states/mobile_warning", "raw": "\"./states/mobile_warning\"" }, "value": "./states/mobile_warning" } }, { "type": "ImportDeclaration", "start": 1623, "end": 1671, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 28, "column": 48 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1632, "end": 1644, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 21 } }, "imported": { "type": "Identifier", "start": 1632, "end": 1644, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 21 }, "identifierName": "PreloadState" }, "name": "PreloadState" }, "local": { "type": "Identifier", "start": 1632, "end": 1644, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 21 }, "identifierName": "PreloadState" }, "name": "PreloadState" } } ], "source": { "type": "StringLiteral", "start": 1652, "end": 1670, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 47 } }, "extra": { "rawValue": "./states/preload", "raw": "\"./states/preload\"" }, "value": "./states/preload" } }, { "type": "ImportDeclaration", "start": 1673, "end": 1723, "loc": { "start": { "line": 29, "column": 0 }, "end": { "line": 29, "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1682, "end": 1695, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 22 } }, "imported": { "type": "Identifier", "start": 1682, "end": 1695, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 22 }, "identifierName": "SettingsState" }, "name": "SettingsState" }, "local": { "type": "Identifier", "start": 1682, "end": 1695, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 22 }, "identifierName": "SettingsState" }, "name": "SettingsState" } } ], "source": { "type": "StringLiteral", "start": 1703, "end": 1722, "loc": { "start": { "line": 29, "column": 30 }, "end": { "line": 29, "column": 49 } }, "extra": { "rawValue": "./states/settings", "raw": "\"./states/settings\"" }, "value": "./states/settings" } }, { "type": "ImportDeclaration", "start": 1725, "end": 1797, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 30, "column": 72 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1734, "end": 1753, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 28 } }, "imported": { "type": "Identifier", "start": 1734, "end": 1753, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 28 }, "identifierName": "ShapezGameAnalytics" }, "name": "ShapezGameAnalytics" }, "local": { "type": "Identifier", "start": 1734, "end": 1753, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 28 }, "identifierName": "ShapezGameAnalytics" }, "name": "ShapezGameAnalytics" } } ], "source": { "type": "StringLiteral", "start": 1761, "end": 1796, "loc": { "start": { "line": 30, "column": 36 }, "end": { "line": 30, "column": 71 } }, "extra": { "rawValue": "./platform/browser/game_analytics", "raw": "\"./platform/browser/game_analytics\"" }, "value": "./platform/browser/game_analytics" } }, { "type": "ImportDeclaration", "start": 1799, "end": 1863, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 64 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 1808, "end": 1826, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 27 } }, "imported": { "type": "Identifier", "start": 1808, "end": 1826, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 27 }, "identifierName": "RestrictionManager" }, "name": "RestrictionManager" }, "local": { "type": "Identifier", "start": 1808, "end": 1826, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 27 }, "identifierName": "RestrictionManager" }, "name": "RestrictionManager" } } ], "source": { "type": "StringLiteral", "start": 1834, "end": 1862, "loc": { "start": { "line": 31, "column": 35 }, "end": { "line": 31, "column": 63 } }, "extra": { "rawValue": "./core/restriction_manager", "raw": "\"./core/restriction_manager\"" }, "value": "./core/restriction_manager" } }, { "type": "VariableDeclaration", "start": 1867, "end": 1910, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1873, "end": 1909, "loc": { "start": { "line": 33, "column": 6 }, "end": { "line": 33, "column": 42 } }, "id": { "type": "Identifier", "start": 1873, "end": 1879, "loc": { "start": { "line": 33, "column": 6 }, "end": { "line": 33, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 1882, "end": 1909, "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 42 } }, "callee": { "type": "Identifier", "start": 1882, "end": 1894, "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 1895, "end": 1908, "loc": { "start": { "line": 33, "column": 28 }, "end": { "line": 33, "column": 41 } }, "extra": { "rawValue": "application", "raw": "\"application\"" }, "value": "application" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Set the name of the hidden property and the change event for visibility", "start": 1914, "end": 1988, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 74 } } } ] }, { "type": "VariableDeclaration", "start": 1990, "end": 2038, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 36, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1994, "end": 2012, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 22 } }, "id": { "type": "Identifier", "start": 1994, "end": 2012, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 22 }, "identifierName": "pageHiddenPropName" }, "name": "pageHiddenPropName", "leadingComments": null }, "init": null, "leadingComments": null }, { "type": "VariableDeclarator", "start": 2014, "end": 2037, "loc": { "start": { "line": 36, "column": 24 }, "end": { "line": 36, "column": 47 } }, "id": { "type": "Identifier", "start": 2014, "end": 2037, "loc": { "start": { "line": 36, "column": 24 }, "end": { "line": 36, "column": 47 }, "identifierName": "pageVisibilityEventName" }, "name": "pageVisibilityEventName" }, "init": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Set the name of the hidden property and the change event for visibility", "start": 1914, "end": 1988, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 74 } } } ] }, { "type": "IfStatement", "start": 2040, "end": 2572, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 49, "column": 1 } }, "test": { "type": "BinaryExpression", "start": 2044, "end": 2082, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 42 } }, "left": { "type": "UnaryExpression", "start": 2044, "end": 2066, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 26 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 2051, "end": 2066, "loc": { "start": { "line": 37, "column": 11 }, "end": { "line": 37, "column": 26 } }, "object": { "type": "Identifier", "start": 2051, "end": 2059, "loc": { "start": { "line": 37, "column": 11 }, "end": { "line": 37, "column": 19 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 2060, "end": 2066, "loc": { "start": { "line": 37, "column": 20 }, "end": { "line": 37, "column": 26 }, "identifierName": "hidden" }, "name": "hidden" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 2071, "end": 2082, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 42 } }, "extra": { "rawValue": "undefined", "raw": "\"undefined\"" }, "value": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 2084, "end": 2247, "loc": { "start": { "line": 37, "column": 44 }, "end": { "line": 42, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 2144, "end": 2174, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 2144, "end": 2173, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", "start": 2144, "end": 2162, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 22 }, "identifierName": "pageHiddenPropName" }, "name": "pageHiddenPropName", "leadingComments": null }, "right": { "type": "StringLiteral", "start": 2165, "end": 2173, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 33 } }, "extra": { "rawValue": "hidden", "raw": "\"hidden\"" }, "value": "hidden" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Opera 12.10 and Firefox 18 and later support", "start": 2091, "end": 2138, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 51 } } } ] }, { "type": "ExpressionStatement", "start": 2180, "end": 2225, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 2180, "end": 2224, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 48 } }, "operator": "=", "left": { "type": "Identifier", "start": 2180, "end": 2203, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 27 }, "identifierName": "pageVisibilityEventName" }, "name": "pageVisibilityEventName" }, "right": { "type": "StringLiteral", "start": 2206, "end": 2224, "loc": { "start": { "line": 40, "column": 30 }, "end": { "line": 40, "column": 48 } }, "extra": { "rawValue": "visibilitychange", "raw": "\"visibilitychange\"" }, "value": "visibilitychange" } }, "trailingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2231, "end": 2244, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 17 } } } ] } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 2253, "end": 2572, "loc": { "start": { "line": 42, "column": 7 }, "end": { "line": 49, "column": 1 } }, "test": { "type": "BinaryExpression", "start": 2257, "end": 2297, "loc": { "start": { "line": 42, "column": 11 }, "end": { "line": 42, "column": 51 } }, "left": { "type": "UnaryExpression", "start": 2257, "end": 2281, "loc": { "start": { "line": 42, "column": 11 }, "end": { "line": 42, "column": 35 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 2264, "end": 2281, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 35 } }, "object": { "type": "Identifier", "start": 2264, "end": 2272, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 26 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 2273, "end": 2281, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 35 }, "identifierName": "msHidden" }, "name": "msHidden" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 2286, "end": 2297, "loc": { "start": { "line": 42, "column": 40 }, "end": { "line": 42, "column": 51 } }, "extra": { "rawValue": "undefined", "raw": "\"undefined\"" }, "value": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 2299, "end": 2413, "loc": { "start": { "line": 42, "column": 53 }, "end": { "line": 46, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 2306, "end": 2338, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 2306, "end": 2337, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 2306, "end": 2324, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 22 }, "identifierName": "pageHiddenPropName" }, "name": "pageHiddenPropName" }, "right": { "type": "StringLiteral", "start": 2327, "end": 2337, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 35 } }, "extra": { "rawValue": "msHidden", "raw": "\"msHidden\"" }, "value": "msHidden" } } }, { "type": "ExpressionStatement", "start": 2344, "end": 2391, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 2344, "end": 2390, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 50 } }, "operator": "=", "left": { "type": "Identifier", "start": 2344, "end": 2367, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 27 }, "identifierName": "pageVisibilityEventName" }, "name": "pageVisibilityEventName" }, "right": { "type": "StringLiteral", "start": 2370, "end": 2390, "loc": { "start": { "line": 44, "column": 30 }, "end": { "line": 44, "column": 50 } }, "extra": { "rawValue": "msvisibilitychange", "raw": "\"msvisibilitychange\"" }, "value": "msvisibilitychange" } }, "trailingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 2397, "end": 2410, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 17 } } } ] } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 2419, "end": 2572, "loc": { "start": { "line": 46, "column": 7 }, "end": { "line": 49, "column": 1 } }, "test": { "type": "BinaryExpression", "start": 2423, "end": 2467, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 55 } }, "left": { "type": "UnaryExpression", "start": 2423, "end": 2451, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 39 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 2430, "end": 2451, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 39 } }, "object": { "type": "Identifier", "start": 2430, "end": 2438, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 26 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 2439, "end": 2451, "loc": { "start": { "line": 46, "column": 27 }, "end": { "line": 46, "column": 39 }, "identifierName": "webkitHidden" }, "name": "webkitHidden" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 2456, "end": 2467, "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 46, "column": 55 } }, "extra": { "rawValue": "undefined", "raw": "\"undefined\"" }, "value": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 2469, "end": 2572, "loc": { "start": { "line": 46, "column": 57 }, "end": { "line": 49, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 2476, "end": 2512, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 2476, "end": 2511, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 39 } }, "operator": "=", "left": { "type": "Identifier", "start": 2476, "end": 2494, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 22 }, "identifierName": "pageHiddenPropName" }, "name": "pageHiddenPropName" }, "right": { "type": "StringLiteral", "start": 2497, "end": 2511, "loc": { "start": { "line": 47, "column": 25 }, "end": { "line": 47, "column": 39 } }, "extra": { "rawValue": "webkitHidden", "raw": "\"webkitHidden\"" }, "value": "webkitHidden" } } }, { "type": "ExpressionStatement", "start": 2518, "end": 2569, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 2518, "end": 2568, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 2518, "end": 2541, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 27 }, "identifierName": "pageVisibilityEventName" }, "name": "pageVisibilityEventName" }, "right": { "type": "StringLiteral", "start": 2544, "end": 2568, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 54 } }, "extra": { "rawValue": "webkitvisibilitychange", "raw": "\"webkitvisibilitychange\"" }, "value": "webkitvisibilitychange" } } } ], "directives": [] }, "alternate": null } } }, { "type": "ExportNamedDeclaration", "start": 2576, "end": 13551, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 399, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 2583, "end": 13551, "loc": { "start": { "line": 51, "column": 7 }, "end": { "line": 399, "column": 1 } }, "id": { "type": "Identifier", "start": 2589, "end": 2600, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 24 }, "identifierName": "Application" }, "name": "Application" }, "superClass": null, "body": { "type": "ClassBody", "start": 2601, "end": 13551, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 399, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 2608, "end": 4813, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 115, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2608, "end": 2619, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2622, "end": 4813, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 115, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2633, "end": 2693, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 68 } }, "expression": { "type": "CallExpression", "start": 2633, "end": 2692, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 67 } }, "callee": { "type": "Identifier", "start": 2633, "end": 2639, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "UnaryExpression", "start": 2640, "end": 2651, "loc": { "start": { "line": 53, "column": 15 }, "end": { "line": 53, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 2641, "end": 2651, "loc": { "start": { "line": 53, "column": 16 }, "end": { "line": 53, "column": 26 }, "identifierName": "GLOBAL_APP" }, "name": "GLOBAL_APP" }, "extra": { "parenthesizedArgument": false } }, { "type": "StringLiteral", "start": 2653, "end": 2691, "loc": { "start": { "line": 53, "column": 28 }, "end": { "line": 53, "column": 66 } }, "extra": { "rawValue": "Tried to construct application twice", "raw": "\"Tried to construct application twice\"" }, "value": "Tried to construct application twice" } ] } }, { "type": "ExpressionStatement", "start": 2703, "end": 2769, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 74 } }, "expression": { "type": "CallExpression", "start": 2703, "end": 2768, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 2703, "end": 2713, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 18 } }, "object": { "type": "Identifier", "start": 2703, "end": 2709, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 2710, "end": 2713, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 18 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2714, "end": 2748, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 53 } }, "extra": { "rawValue": "Creating application, platform =", "raw": "\"Creating application, platform =\"" }, "value": "Creating application, platform =" }, { "type": "CallExpression", "start": 2750, "end": 2767, "loc": { "start": { "line": 54, "column": 55 }, "end": { "line": 54, "column": 72 } }, "callee": { "type": "Identifier", "start": 2750, "end": 2765, "loc": { "start": { "line": 54, "column": 55 }, "end": { "line": 54, "column": 70 }, "identifierName": "getPlatformName" }, "name": "getPlatformName" }, "arguments": [] } ] } }, { "type": "ExpressionStatement", "start": 2779, "end": 2798, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 27 } }, "expression": { "type": "CallExpression", "start": 2779, "end": 2797, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 26 } }, "callee": { "type": "Identifier", "start": 2779, "end": 2791, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 20 }, "identifierName": "setGlobalApp" }, "name": "setGlobalApp" }, "arguments": [ { "type": "ThisExpression", "start": 2792, "end": 2796, "loc": { "start": { "line": 55, "column": 21 }, "end": { "line": 55, "column": 25 } } } ] } }, { "type": "ExpressionStatement", "start": 2810, "end": 2832, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 2810, "end": 2831, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2810, "end": 2823, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 21 } }, "object": { "type": "ThisExpression", "start": 2810, "end": 2814, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 12 } } }, "property": { "type": "Identifier", "start": 2815, "end": 2823, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 21 }, "identifierName": "unloaded" }, "name": "unloaded" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 2826, "end": 2831, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 29 } }, "value": false } }, "trailingComments": [ { "type": "CommentLine", "value": " Global stuff", "start": 2844, "end": 2859, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 23 } } } ] }, { "type": "ExpressionStatement", "start": 2869, "end": 2915, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 2869, "end": 2914, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2869, "end": 2882, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 21 } }, "object": { "type": "ThisExpression", "start": 2869, "end": 2873, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2874, "end": 2882, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 21 }, "identifierName": "settings" }, "name": "settings" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2885, "end": 2914, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 53 } }, "callee": { "type": "Identifier", "start": 2889, "end": 2908, "loc": { "start": { "line": 60, "column": 28 }, "end": { "line": 60, "column": 47 }, "identifierName": "ApplicationSettings" }, "name": "ApplicationSettings" }, "arguments": [ { "type": "ThisExpression", "start": 2909, "end": 2913, "loc": { "start": { "line": 60, "column": 48 }, "end": { "line": 60, "column": 52 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Global stuff", "start": 2844, "end": 2859, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 23 } } } ] }, { "type": "ExpressionStatement", "start": 2925, "end": 2960, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 2925, "end": 2959, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2925, "end": 2936, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 19 } }, "object": { "type": "ThisExpression", "start": 2925, "end": 2929, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 12 } } }, "property": { "type": "Identifier", "start": 2930, "end": 2936, "loc": { "start": { "line": 61, "column": 13 }, "end": { "line": 61, "column": 19 }, "identifierName": "ticker" }, "name": "ticker" }, "computed": false }, "right": { "type": "NewExpression", "start": 2939, "end": 2959, "loc": { "start": { "line": 61, "column": 22 }, "end": { "line": 61, "column": 42 } }, "callee": { "type": "Identifier", "start": 2943, "end": 2957, "loc": { "start": { "line": 61, "column": 26 }, "end": { "line": 61, "column": 40 }, "identifierName": "AnimationFrame" }, "name": "AnimationFrame" }, "arguments": [] } } }, { "type": "ExpressionStatement", "start": 2970, "end": 3009, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 2970, "end": 3008, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2970, "end": 2983, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 21 } }, "object": { "type": "ThisExpression", "start": 2970, "end": 2974, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 12 } } }, "property": { "type": "Identifier", "start": 2975, "end": 2983, "loc": { "start": { "line": 62, "column": 13 }, "end": { "line": 62, "column": 21 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "right": { "type": "NewExpression", "start": 2986, "end": 3008, "loc": { "start": { "line": 62, "column": 24 }, "end": { "line": 62, "column": 46 } }, "callee": { "type": "Identifier", "start": 2990, "end": 3002, "loc": { "start": { "line": 62, "column": 28 }, "end": { "line": 62, "column": 40 }, "identifierName": "StateManager" }, "name": "StateManager" }, "arguments": [ { "type": "ThisExpression", "start": 3003, "end": 3007, "loc": { "start": { "line": 62, "column": 41 }, "end": { "line": 62, "column": 45 } } } ] } } }, { "type": "ExpressionStatement", "start": 3019, "end": 3064, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 3019, "end": 3063, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3019, "end": 3035, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 24 } }, "object": { "type": "ThisExpression", "start": 3019, "end": 3023, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 12 } } }, "property": { "type": "Identifier", "start": 3024, "end": 3035, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 24 }, "identifierName": "savegameMgr" }, "name": "savegameMgr" }, "computed": false }, "right": { "type": "NewExpression", "start": 3038, "end": 3063, "loc": { "start": { "line": 63, "column": 27 }, "end": { "line": 63, "column": 52 } }, "callee": { "type": "Identifier", "start": 3042, "end": 3057, "loc": { "start": { "line": 63, "column": 31 }, "end": { "line": 63, "column": 46 }, "identifierName": "SavegameManager" }, "name": "SavegameManager" }, "arguments": [ { "type": "ThisExpression", "start": 3058, "end": 3062, "loc": { "start": { "line": 63, "column": 47 }, "end": { "line": 63, "column": 51 } } } ] } } }, { "type": "ExpressionStatement", "start": 3074, "end": 3117, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 3074, "end": 3116, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3074, "end": 3087, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 21 } }, "object": { "type": "ThisExpression", "start": 3074, "end": 3078, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 12 } } }, "property": { "type": "Identifier", "start": 3079, "end": 3087, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 21 }, "identifierName": "inputMgr" }, "name": "inputMgr" }, "computed": false }, "right": { "type": "NewExpression", "start": 3090, "end": 3116, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 50 } }, "callee": { "type": "Identifier", "start": 3094, "end": 3110, "loc": { "start": { "line": 64, "column": 28 }, "end": { "line": 64, "column": 44 }, "identifierName": "InputDistributor" }, "name": "InputDistributor" }, "arguments": [ { "type": "ThisExpression", "start": 3111, "end": 3115, "loc": { "start": { "line": 64, "column": 45 }, "end": { "line": 64, "column": 49 } } } ] } } }, { "type": "ExpressionStatement", "start": 3127, "end": 3195, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 3127, "end": 3194, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 75 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3127, "end": 3156, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 37 } }, "object": { "type": "ThisExpression", "start": 3127, "end": 3131, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 12 } } }, "property": { "type": "Identifier", "start": 3132, "end": 3156, "loc": { "start": { "line": 65, "column": 13 }, "end": { "line": 65, "column": 37 }, "identifierName": "backgroundResourceLoader" }, "name": "backgroundResourceLoader" }, "computed": false }, "right": { "type": "NewExpression", "start": 3159, "end": 3194, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 65, "column": 75 } }, "callee": { "type": "Identifier", "start": 3163, "end": 3188, "loc": { "start": { "line": 65, "column": 44 }, "end": { "line": 65, "column": 69 }, "identifierName": "BackgroundResourcesLoader" }, "name": "BackgroundResourcesLoader" }, "arguments": [ { "type": "ThisExpression", "start": 3189, "end": 3193, "loc": { "start": { "line": 65, "column": 70 }, "end": { "line": 65, "column": 74 } } } ] } }, "trailingComments": [ { "type": "CommentLine", "value": " Restrictions (Like demo etc)", "start": 3207, "end": 3238, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 39 } } } ] }, { "type": "ExpressionStatement", "start": 3248, "end": 3299, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 3248, "end": 3298, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3248, "end": 3267, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 27 } }, "object": { "type": "ThisExpression", "start": 3248, "end": 3252, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3253, "end": 3267, "loc": { "start": { "line": 68, "column": 13 }, "end": { "line": 68, "column": 27 }, "identifierName": "restrictionMgr" }, "name": "restrictionMgr" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 3270, "end": 3298, "loc": { "start": { "line": 68, "column": 30 }, "end": { "line": 68, "column": 58 } }, "callee": { "type": "Identifier", "start": 3274, "end": 3292, "loc": { "start": { "line": 68, "column": 34 }, "end": { "line": 68, "column": 52 }, "identifierName": "RestrictionManager" }, "name": "RestrictionManager" }, "arguments": [ { "type": "ThisExpression", "start": 3293, "end": 3297, "loc": { "start": { "line": 68, "column": 53 }, "end": { "line": 68, "column": 57 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Restrictions (Like demo etc)", "start": 3207, "end": 3238, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 39 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Platform dependent stuff", "start": 3311, "end": 3338, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 35 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./platform/storage\").StorageInterface} ", "start": 3350, "end": 3410, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 68 } } } ] }, { "type": "ExpressionStatement", "start": 3420, "end": 3440, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 3420, "end": 3439, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3420, "end": 3432, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 20 } }, "object": { "type": "ThisExpression", "start": 3420, "end": 3424, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3425, "end": 3432, "loc": { "start": { "line": 73, "column": 13 }, "end": { "line": 73, "column": 20 }, "identifierName": "storage" }, "name": "storage" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 3435, "end": 3439, "loc": { "start": { "line": 73, "column": 23 }, "end": { "line": 73, "column": 27 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Platform dependent stuff", "start": 3311, "end": 3338, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 35 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./platform/storage\").StorageInterface} ", "start": 3350, "end": 3410, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 68 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {import(\"./platform/sound\").SoundInterface} ", "start": 3452, "end": 3508, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 64 } } } ] }, { "type": "ExpressionStatement", "start": 3518, "end": 3536, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 3518, "end": 3535, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3518, "end": 3528, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 18 } }, "object": { "type": "ThisExpression", "start": 3518, "end": 3522, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3523, "end": 3528, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 18 }, "identifierName": "sound" }, "name": "sound" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 3531, "end": 3535, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 25 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {import(\"./platform/sound\").SoundInterface} ", "start": 3452, "end": 3508, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 64 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {PlatformWrapperInterface} ", "start": 3548, "end": 3587, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 47 } } } ] }, { "type": "ExpressionStatement", "start": 3597, "end": 3625, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 3597, "end": 3624, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3597, "end": 3617, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 28 } }, "object": { "type": "ThisExpression", "start": 3597, "end": 3601, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3602, "end": 3617, "loc": { "start": { "line": 79, "column": 13 }, "end": { "line": 79, "column": 28 }, "identifierName": "platformWrapper" }, "name": "platformWrapper" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 3620, "end": 3624, "loc": { "start": { "line": 79, "column": 31 }, "end": { "line": 79, "column": 35 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {PlatformWrapperInterface} ", "start": 3548, "end": 3587, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 47 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {AdProviderInterface} ", "start": 3637, "end": 3671, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 42 } } } ] }, { "type": "ExpressionStatement", "start": 3681, "end": 3704, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 3681, "end": 3703, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3681, "end": 3696, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 23 } }, "object": { "type": "ThisExpression", "start": 3681, "end": 3685, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3686, "end": 3696, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 23 }, "identifierName": "adProvider" }, "name": "adProvider" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 3699, "end": 3703, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {AdProviderInterface} ", "start": 3637, "end": 3671, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 42 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {AnalyticsInterface} ", "start": 3716, "end": 3749, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 41 } } } ] }, { "type": "ExpressionStatement", "start": 3759, "end": 3781, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 3759, "end": 3780, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3759, "end": 3773, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 22 } }, "object": { "type": "ThisExpression", "start": 3759, "end": 3763, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3764, "end": 3773, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 22 }, "identifierName": "analytics" }, "name": "analytics" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 3776, "end": 3780, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 29 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {AnalyticsInterface} ", "start": 3716, "end": 3749, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 41 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {import(\"./platform/game_analytics\").GameAnalyticsInterface} ", "start": 3793, "end": 3866, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 81 } } } ] }, { "type": "ExpressionStatement", "start": 3876, "end": 3902, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 3876, "end": 3901, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3876, "end": 3894, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 26 } }, "object": { "type": "ThisExpression", "start": 3876, "end": 3880, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3881, "end": 3894, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 26 }, "identifierName": "gameAnalytics" }, "name": "gameAnalytics" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 3897, "end": 3901, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 33 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {import(\"./platform/game_analytics\").GameAnalyticsInterface} ", "start": 3793, "end": 3866, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 81 } } } ] }, { "type": "ExpressionStatement", "start": 3914, "end": 3952, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 46 } }, "expression": { "type": "CallExpression", "start": 3914, "end": 3951, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 3914, "end": 3949, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 43 } }, "object": { "type": "ThisExpression", "start": 3914, "end": 3918, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 12 } } }, "property": { "type": "Identifier", "start": 3919, "end": 3949, "loc": { "start": { "line": 90, "column": 13 }, "end": { "line": 90, "column": 43 }, "identifierName": "initPlatformDependentInstances" }, "name": "initPlatformDependentInstances" }, "computed": false }, "arguments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Track if the window is focused (only relevant for browser)", "start": 3964, "end": 4025, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 69 } } } ] }, { "type": "ExpressionStatement", "start": 4035, "end": 4055, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 4035, "end": 4054, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4035, "end": 4047, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 20 } }, "object": { "type": "ThisExpression", "start": 4035, "end": 4039, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4040, "end": 4047, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 20 }, "identifierName": "focused" }, "name": "focused" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 4050, "end": 4054, "loc": { "start": { "line": 93, "column": 23 }, "end": { "line": 93, "column": 27 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Track if the window is focused (only relevant for browser)", "start": 3964, "end": 4025, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 69 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Track if the window is visible", "start": 4067, "end": 4100, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 41 } } } ] }, { "type": "ExpressionStatement", "start": 4110, "end": 4134, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 4110, "end": 4133, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4110, "end": 4126, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 24 } }, "object": { "type": "ThisExpression", "start": 4110, "end": 4114, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4115, "end": 4126, "loc": { "start": { "line": 96, "column": 13 }, "end": { "line": 96, "column": 24 }, "identifierName": "pageVisible" }, "name": "pageVisible" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 4129, "end": 4133, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 31 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Track if the window is visible", "start": 4067, "end": 4100, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 41 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Track if the app is paused (cordova)", "start": 4146, "end": 4185, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 47 } } } ] }, { "type": "ExpressionStatement", "start": 4195, "end": 4226, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 4195, "end": 4225, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4195, "end": 4217, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 30 } }, "object": { "type": "ThisExpression", "start": 4195, "end": 4199, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4200, "end": 4217, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 30 }, "identifierName": "applicationPaused" }, "name": "applicationPaused" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 4220, "end": 4225, "loc": { "start": { "line": 99, "column": 33 }, "end": { "line": 99, "column": 38 } }, "value": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Track if the app is paused (cordova)", "start": 4146, "end": 4185, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 47 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {TypedTrackedState} ", "start": 4238, "end": 4279, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 49 } } } ] }, { "type": "ExpressionStatement", "start": 4289, "end": 4373, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 92 } }, "expression": { "type": "AssignmentExpression", "start": 4289, "end": 4372, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 91 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4289, "end": 4313, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 32 } }, "object": { "type": "ThisExpression", "start": 4289, "end": 4293, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4294, "end": 4313, "loc": { "start": { "line": 102, "column": 13 }, "end": { "line": 102, "column": 32 }, "identifierName": "trackedIsRenderable" }, "name": "trackedIsRenderable" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 4316, "end": 4372, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 91 } }, "callee": { "type": "Identifier", "start": 4320, "end": 4332, "loc": { "start": { "line": 102, "column": 39 }, "end": { "line": 102, "column": 51 }, "identifierName": "TrackedState" }, "name": "TrackedState" }, "arguments": [ { "type": "MemberExpression", "start": 4333, "end": 4365, "loc": { "start": { "line": 102, "column": 52 }, "end": { "line": 102, "column": 84 } }, "object": { "type": "ThisExpression", "start": 4333, "end": 4337, "loc": { "start": { "line": 102, "column": 52 }, "end": { "line": 102, "column": 56 } } }, "property": { "type": "Identifier", "start": 4338, "end": 4365, "loc": { "start": { "line": 102, "column": 57 }, "end": { "line": 102, "column": 84 }, "identifierName": "onAppRenderableStateChanged" }, "name": "onAppRenderableStateChanged" }, "computed": false }, { "type": "ThisExpression", "start": 4367, "end": 4371, "loc": { "start": { "line": 102, "column": 86 }, "end": { "line": 102, "column": 90 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {TypedTrackedState} ", "start": 4238, "end": 4279, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 49 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Dimensions", "start": 4385, "end": 4398, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 21 } } } ] }, { "type": "ExpressionStatement", "start": 4408, "end": 4429, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 4408, "end": 4428, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4408, "end": 4424, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 24 } }, "object": { "type": "ThisExpression", "start": 4408, "end": 4412, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4413, "end": 4424, "loc": { "start": { "line": 105, "column": 13 }, "end": { "line": 105, "column": 24 }, "identifierName": "screenWidth" }, "name": "screenWidth" }, "computed": false, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 4427, "end": 4428, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Dimensions", "start": 4385, "end": 4398, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 21 } } } ] }, { "type": "ExpressionStatement", "start": 4439, "end": 4461, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 30 } }, "expression": { "type": "AssignmentExpression", "start": 4439, "end": 4460, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4439, "end": 4456, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 25 } }, "object": { "type": "ThisExpression", "start": 4439, "end": 4443, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 12 } } }, "property": { "type": "Identifier", "start": 4444, "end": 4456, "loc": { "start": { "line": 106, "column": 13 }, "end": { "line": 106, "column": 25 }, "identifierName": "screenHeight" }, "name": "screenHeight" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 4459, "end": 4460, "loc": { "start": { "line": 106, "column": 28 }, "end": { "line": 106, "column": 29 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "trailingComments": [ { "type": "CommentLine", "value": " Store the timestamp where we last checked for a screen resize, since orientationchange is unreliable with cordova", "start": 4473, "end": 4589, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 124 } } } ] }, { "type": "ExpressionStatement", "start": 4599, "end": 4627, "loc": { "start": { "line": 109, "column": 8 }, "end": { "line": 109, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4599, "end": 4626, "loc": { "start": { "line": 109, "column": 8 }, "end": { "line": 109, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4599, "end": 4619, "loc": { "start": { "line": 109, "column": 8 }, "end": { "line": 109, "column": 28 } }, "object": { "type": "ThisExpression", "start": 4599, "end": 4603, "loc": { "start": { "line": 109, "column": 8 }, "end": { "line": 109, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4604, "end": 4619, "loc": { "start": { "line": 109, "column": 13 }, "end": { "line": 109, "column": 28 }, "identifierName": "lastResizeCheck" }, "name": "lastResizeCheck" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 4622, "end": 4626, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 35 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Store the timestamp where we last checked for a screen resize, since orientationchange is unreliable with cordova", "start": 4473, "end": 4589, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 124 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Store the mouse position, or null if not available", "start": 4639, "end": 4692, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 61 } } }, { "type": "CommentBlock", "value": "* @type {Vector|null} ", "start": 4702, "end": 4728, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 4738, "end": 4764, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 4738, "end": 4763, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4738, "end": 4756, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 26 } }, "object": { "type": "ThisExpression", "start": 4738, "end": 4742, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 4743, "end": 4756, "loc": { "start": { "line": 113, "column": 13 }, "end": { "line": 113, "column": 26 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 4759, "end": 4763, "loc": { "start": { "line": 113, "column": 29 }, "end": { "line": 113, "column": 33 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Store the mouse position, or null if not available", "start": 4639, "end": 4692, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 61 } } }, { "type": "CommentBlock", "value": "* @type {Vector|null} ", "start": 4702, "end": 4728, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 4774, "end": 4806, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 4774, "end": 4805, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4774, "end": 4793, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 27 } }, "object": { "type": "ThisExpression", "start": 4774, "end": 4778, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 12 } } }, "property": { "type": "Identifier", "start": 4779, "end": 4793, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 27 }, "identifierName": "onAboutClicked" }, "name": "onAboutClicked" }, "computed": false }, "right": { "type": "Identifier", "start": 4796, "end": 4805, "loc": { "start": { "line": 114, "column": 30 }, "end": { "line": 114, "column": 39 }, "identifierName": "undefined" }, "name": "undefined" } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializes all platform instances\r\n ", "start": 4821, "end": 4876, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4882, "end": 5494, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 134, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4882, "end": 4912, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 120, "column": 34 }, "identifierName": "initPlatformDependentInstances" }, "name": "initPlatformDependentInstances", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 4915, "end": 5494, "loc": { "start": { "line": 120, "column": 37 }, "end": { "line": 134, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4926, "end": 5013, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 95 } }, "expression": { "type": "CallExpression", "start": 4926, "end": 5012, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 4926, "end": 4936, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 18 } }, "object": { "type": "Identifier", "start": 4926, "end": 4932, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 4933, "end": 4936, "loc": { "start": { "line": 121, "column": 15 }, "end": { "line": 121, "column": 18 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4937, "end": 4989, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "column": 71 } }, "extra": { "rawValue": "Creating platform dependent instances (standalone=", "raw": "\"Creating platform dependent instances (standalone=\"" }, "value": "Creating platform dependent instances (standalone=" }, { "type": "Identifier", "start": 4991, "end": 5006, "loc": { "start": { "line": 121, "column": 73 }, "end": { "line": 121, "column": 88 }, "identifierName": "G_IS_STANDALONE" }, "name": "G_IS_STANDALONE" }, { "type": "StringLiteral", "start": 5008, "end": 5011, "loc": { "start": { "line": 121, "column": 90 }, "end": { "line": 121, "column": 93 } }, "extra": { "rawValue": ")", "raw": "\")\"" }, "value": ")" } ] } }, { "type": "IfStatement", "start": 5025, "end": 5225, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 127, "column": 9 } }, "test": { "type": "Identifier", "start": 5029, "end": 5044, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 27 }, "identifierName": "G_IS_STANDALONE" }, "name": "G_IS_STANDALONE" }, "consequent": { "type": "BlockStatement", "start": 5046, "end": 5133, "loc": { "start": { "line": 123, "column": 29 }, "end": { "line": 125, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5061, "end": 5122, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 73 } }, "expression": { "type": "AssignmentExpression", "start": 5061, "end": 5121, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5061, "end": 5081, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 32 } }, "object": { "type": "ThisExpression", "start": 5061, "end": 5065, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 16 } } }, "property": { "type": "Identifier", "start": 5066, "end": 5081, "loc": { "start": { "line": 124, "column": 17 }, "end": { "line": 124, "column": 32 }, "identifierName": "platformWrapper" }, "name": "platformWrapper" }, "computed": false }, "right": { "type": "NewExpression", "start": 5084, "end": 5121, "loc": { "start": { "line": 124, "column": 35 }, "end": { "line": 124, "column": 72 } }, "callee": { "type": "Identifier", "start": 5088, "end": 5115, "loc": { "start": { "line": 124, "column": 39 }, "end": { "line": 124, "column": 66 }, "identifierName": "PlatformWrapperImplElectron" }, "name": "PlatformWrapperImplElectron" }, "arguments": [ { "type": "ThisExpression", "start": 5116, "end": 5120, "loc": { "start": { "line": 124, "column": 67 }, "end": { "line": 124, "column": 71 } } } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 5139, "end": 5225, "loc": { "start": { "line": 125, "column": 15 }, "end": { "line": 127, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5154, "end": 5214, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 72 } }, "expression": { "type": "AssignmentExpression", "start": 5154, "end": 5213, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 71 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5154, "end": 5174, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 32 } }, "object": { "type": "ThisExpression", "start": 5154, "end": 5158, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 16 } } }, "property": { "type": "Identifier", "start": 5159, "end": 5174, "loc": { "start": { "line": 126, "column": 17 }, "end": { "line": 126, "column": 32 }, "identifierName": "platformWrapper" }, "name": "platformWrapper" }, "computed": false }, "right": { "type": "NewExpression", "start": 5177, "end": 5213, "loc": { "start": { "line": 126, "column": 35 }, "end": { "line": 126, "column": 71 } }, "callee": { "type": "Identifier", "start": 5181, "end": 5207, "loc": { "start": { "line": 126, "column": 39 }, "end": { "line": 126, "column": 65 }, "identifierName": "PlatformWrapperImplBrowser" }, "name": "PlatformWrapperImplBrowser" }, "arguments": [ { "type": "ThisExpression", "start": 5208, "end": 5212, "loc": { "start": { "line": 126, "column": 66 }, "end": { "line": 126, "column": 70 } } } ] } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Start with empty ad provider", "start": 5237, "end": 5268, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 39 } } } ] }, { "type": "ExpressionStatement", "start": 5278, "end": 5319, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 5278, "end": 5318, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5278, "end": 5293, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 23 } }, "object": { "type": "ThisExpression", "start": 5278, "end": 5282, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 5283, "end": 5293, "loc": { "start": { "line": 130, "column": 13 }, "end": { "line": 130, "column": 23 }, "identifierName": "adProvider" }, "name": "adProvider" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 5296, "end": 5318, "loc": { "start": { "line": 130, "column": 26 }, "end": { "line": 130, "column": 48 } }, "callee": { "type": "Identifier", "start": 5300, "end": 5312, "loc": { "start": { "line": 130, "column": 30 }, "end": { "line": 130, "column": 42 }, "identifierName": "NoAdProvider" }, "name": "NoAdProvider" }, "arguments": [ { "type": "ThisExpression", "start": 5313, "end": 5317, "loc": { "start": { "line": 130, "column": 43 }, "end": { "line": 130, "column": 47 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Start with empty ad provider", "start": 5237, "end": 5268, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 39 } } } ] }, { "type": "ExpressionStatement", "start": 5329, "end": 5369, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 5329, "end": 5368, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5329, "end": 5339, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 18 } }, "object": { "type": "ThisExpression", "start": 5329, "end": 5333, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 12 } } }, "property": { "type": "Identifier", "start": 5334, "end": 5339, "loc": { "start": { "line": 131, "column": 13 }, "end": { "line": 131, "column": 18 }, "identifierName": "sound" }, "name": "sound" }, "computed": false }, "right": { "type": "NewExpression", "start": 5342, "end": 5368, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 47 } }, "callee": { "type": "Identifier", "start": 5346, "end": 5362, "loc": { "start": { "line": 131, "column": 25 }, "end": { "line": 131, "column": 41 }, "identifierName": "SoundImplBrowser" }, "name": "SoundImplBrowser" }, "arguments": [ { "type": "ThisExpression", "start": 5363, "end": 5367, "loc": { "start": { "line": 131, "column": 42 }, "end": { "line": 131, "column": 46 } } } ] } } }, { "type": "ExpressionStatement", "start": 5379, "end": 5426, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 5379, "end": 5425, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5379, "end": 5393, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 22 } }, "object": { "type": "ThisExpression", "start": 5379, "end": 5383, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 12 } } }, "property": { "type": "Identifier", "start": 5384, "end": 5393, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 22 }, "identifierName": "analytics" }, "name": "analytics" }, "computed": false }, "right": { "type": "NewExpression", "start": 5396, "end": 5425, "loc": { "start": { "line": 132, "column": 25 }, "end": { "line": 132, "column": 54 } }, "callee": { "type": "Identifier", "start": 5400, "end": 5419, "loc": { "start": { "line": 132, "column": 29 }, "end": { "line": 132, "column": 48 }, "identifierName": "GoogleAnalyticsImpl" }, "name": "GoogleAnalyticsImpl" }, "arguments": [ { "type": "ThisExpression", "start": 5420, "end": 5424, "loc": { "start": { "line": 132, "column": 49 }, "end": { "line": 132, "column": 53 } } } ] } } }, { "type": "ExpressionStatement", "start": 5436, "end": 5487, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 5436, "end": 5486, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5436, "end": 5454, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 26 } }, "object": { "type": "ThisExpression", "start": 5436, "end": 5440, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 12 } } }, "property": { "type": "Identifier", "start": 5441, "end": 5454, "loc": { "start": { "line": 133, "column": 13 }, "end": { "line": 133, "column": 26 }, "identifierName": "gameAnalytics" }, "name": "gameAnalytics" }, "computed": false }, "right": { "type": "NewExpression", "start": 5457, "end": 5486, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 58 } }, "callee": { "type": "Identifier", "start": 5461, "end": 5480, "loc": { "start": { "line": 133, "column": 33 }, "end": { "line": 133, "column": 52 }, "identifierName": "ShapezGameAnalytics" }, "name": "ShapezGameAnalytics" }, "arguments": [ { "type": "ThisExpression", "start": 5481, "end": 5485, "loc": { "start": { "line": 133, "column": 53 }, "end": { "line": 133, "column": 57 } } } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Initializes all platform instances\r\n ", "start": 4821, "end": 4876, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Registers all game states\r\n ", "start": 5502, "end": 5548, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5554, "end": 5797, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 144, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5554, "end": 5568, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 18 }, "identifierName": "registerStates" }, "name": "registerStates", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5571, "end": 5797, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 144, "column": 5 } }, "body": [ { "type": "ForInStatement", "start": 5582, "end": 5790, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 143, "column": 9 } }, "left": { "type": "VariableDeclaration", "start": 5587, "end": 5601, "loc": { "start": { "line": 140, "column": 13 }, "end": { "line": 140, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5593, "end": 5601, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 27 } }, "id": { "type": "Identifier", "start": 5593, "end": 5601, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 27 }, "identifierName": "stateKey" }, "name": "stateKey" }, "init": null } ], "kind": "const" }, "right": { "type": "MemberExpression", "start": 5605, "end": 5623, "loc": { "start": { "line": 140, "column": 31 }, "end": { "line": 140, "column": 49 } }, "object": { "type": "Identifier", "start": 5605, "end": 5616, "loc": { "start": { "line": 140, "column": 31 }, "end": { "line": 140, "column": 42 }, "identifierName": "Application" }, "name": "Application" }, "property": { "type": "Identifier", "start": 5617, "end": 5623, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 49 }, "identifierName": "states" }, "name": "states" }, "computed": false }, "body": { "type": "BlockStatement", "start": 5625, "end": 5790, "loc": { "start": { "line": 140, "column": 51 }, "end": { "line": 143, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 5640, "end": 5712, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 84 } }, "test": { "type": "UnaryExpression", "start": 5644, "end": 5701, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 73 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 5645, "end": 5701, "loc": { "start": { "line": 141, "column": 17 }, "end": { "line": 141, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 5645, "end": 5671, "loc": { "start": { "line": 141, "column": 17 }, "end": { "line": 141, "column": 43 } }, "object": { "type": "MemberExpression", "start": 5645, "end": 5666, "loc": { "start": { "line": 141, "column": 17 }, "end": { "line": 141, "column": 38 } }, "object": { "type": "Identifier", "start": 5645, "end": 5651, "loc": { "start": { "line": 141, "column": 17 }, "end": { "line": 141, "column": 23 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 5652, "end": 5666, "loc": { "start": { "line": 141, "column": 24 }, "end": { "line": 141, "column": 38 }, "identifierName": "hasOwnProperty" }, "name": "hasOwnProperty" }, "computed": false }, "property": { "type": "Identifier", "start": 5667, "end": 5671, "loc": { "start": { "line": 141, "column": 39 }, "end": { "line": 141, "column": 43 }, "identifierName": "call" }, "name": "call" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5672, "end": 5690, "loc": { "start": { "line": 141, "column": 44 }, "end": { "line": 141, "column": 62 } }, "object": { "type": "Identifier", "start": 5672, "end": 5683, "loc": { "start": { "line": 141, "column": 44 }, "end": { "line": 141, "column": 55 }, "identifierName": "Application" }, "name": "Application" }, "property": { "type": "Identifier", "start": 5684, "end": 5690, "loc": { "start": { "line": 141, "column": 56 }, "end": { "line": 141, "column": 62 }, "identifierName": "states" }, "name": "states" }, "computed": false }, { "type": "Identifier", "start": 5692, "end": 5700, "loc": { "start": { "line": 141, "column": 64 }, "end": { "line": 141, "column": 72 }, "identifierName": "stateKey" }, "name": "stateKey" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ContinueStatement", "start": 5703, "end": 5712, "loc": { "start": { "line": 141, "column": 75 }, "end": { "line": 141, "column": 84 } }, "label": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 5726, "end": 5779, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 65 } }, "expression": { "type": "CallExpression", "start": 5726, "end": 5778, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5726, "end": 5748, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5726, "end": 5739, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 25 } }, "object": { "type": "ThisExpression", "start": 5726, "end": 5730, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 16 } } }, "property": { "type": "Identifier", "start": 5731, "end": 5739, "loc": { "start": { "line": 142, "column": 17 }, "end": { "line": 142, "column": 25 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 5740, "end": 5748, "loc": { "start": { "line": 142, "column": 26 }, "end": { "line": 142, "column": 34 }, "identifierName": "register" }, "name": "register" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5749, "end": 5777, "loc": { "start": { "line": 142, "column": 35 }, "end": { "line": 142, "column": 63 } }, "object": { "type": "MemberExpression", "start": 5749, "end": 5767, "loc": { "start": { "line": 142, "column": 35 }, "end": { "line": 142, "column": 53 } }, "object": { "type": "Identifier", "start": 5749, "end": 5760, "loc": { "start": { "line": 142, "column": 35 }, "end": { "line": 142, "column": 46 }, "identifierName": "Application" }, "name": "Application" }, "property": { "type": "Identifier", "start": 5761, "end": 5767, "loc": { "start": { "line": 142, "column": 47 }, "end": { "line": 142, "column": 53 }, "identifierName": "states" }, "name": "states" }, "computed": false }, "property": { "type": "Identifier", "start": 5768, "end": 5776, "loc": { "start": { "line": 142, "column": 54 }, "end": { "line": 142, "column": 62 }, "identifierName": "stateKey" }, "name": "stateKey" }, "computed": true } ] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Registers all game states\r\n ", "start": 5502, "end": 5548, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Registers all event listeners\r\n ", "start": 5805, "end": 5855, "loc": { "start": { "line": 146, "column": 4 }, "end": { "line": 148, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 5861, "end": 7168, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 172, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5861, "end": 5883, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 26 }, "identifierName": "registerEventListeners" }, "name": "registerEventListeners", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 5886, "end": 7168, "loc": { "start": { "line": 149, "column": 29 }, "end": { "line": 172, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5897, "end": 5955, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 66 } }, "expression": { "type": "CallExpression", "start": 5897, "end": 5954, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 5897, "end": 5920, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 31 } }, "object": { "type": "Identifier", "start": 5897, "end": 5903, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 5904, "end": 5920, "loc": { "start": { "line": 150, "column": 15 }, "end": { "line": 150, "column": 31 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5921, "end": 5928, "loc": { "start": { "line": 150, "column": 32 }, "end": { "line": 150, "column": 39 } }, "extra": { "rawValue": "focus", "raw": "\"focus\"" }, "value": "focus" }, { "type": "CallExpression", "start": 5930, "end": 5953, "loc": { "start": { "line": 150, "column": 41 }, "end": { "line": 150, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5930, "end": 5947, "loc": { "start": { "line": 150, "column": 41 }, "end": { "line": 150, "column": 58 } }, "object": { "type": "MemberExpression", "start": 5930, "end": 5942, "loc": { "start": { "line": 150, "column": 41 }, "end": { "line": 150, "column": 53 } }, "object": { "type": "ThisExpression", "start": 5930, "end": 5934, "loc": { "start": { "line": 150, "column": 41 }, "end": { "line": 150, "column": 45 } } }, "property": { "type": "Identifier", "start": 5935, "end": 5942, "loc": { "start": { "line": 150, "column": 46 }, "end": { "line": 150, "column": 53 }, "identifierName": "onFocus" }, "name": "onFocus" }, "computed": false }, "property": { "type": "Identifier", "start": 5943, "end": 5947, "loc": { "start": { "line": 150, "column": 54 }, "end": { "line": 150, "column": 58 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 5948, "end": 5952, "loc": { "start": { "line": 150, "column": 59 }, "end": { "line": 150, "column": 63 } } } ] } ] } }, { "type": "ExpressionStatement", "start": 5965, "end": 6021, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 64 } }, "expression": { "type": "CallExpression", "start": 5965, "end": 6020, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 5965, "end": 5988, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 31 } }, "object": { "type": "Identifier", "start": 5965, "end": 5971, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 5972, "end": 5988, "loc": { "start": { "line": 151, "column": 15 }, "end": { "line": 151, "column": 31 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 5989, "end": 5995, "loc": { "start": { "line": 151, "column": 32 }, "end": { "line": 151, "column": 38 } }, "extra": { "rawValue": "blur", "raw": "\"blur\"" }, "value": "blur" }, { "type": "CallExpression", "start": 5997, "end": 6019, "loc": { "start": { "line": 151, "column": 40 }, "end": { "line": 151, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 5997, "end": 6013, "loc": { "start": { "line": 151, "column": 40 }, "end": { "line": 151, "column": 56 } }, "object": { "type": "MemberExpression", "start": 5997, "end": 6008, "loc": { "start": { "line": 151, "column": 40 }, "end": { "line": 151, "column": 51 } }, "object": { "type": "ThisExpression", "start": 5997, "end": 6001, "loc": { "start": { "line": 151, "column": 40 }, "end": { "line": 151, "column": 44 } } }, "property": { "type": "Identifier", "start": 6002, "end": 6008, "loc": { "start": { "line": 151, "column": 45 }, "end": { "line": 151, "column": 51 }, "identifierName": "onBlur" }, "name": "onBlur" }, "computed": false }, "property": { "type": "Identifier", "start": 6009, "end": 6013, "loc": { "start": { "line": 151, "column": 52 }, "end": { "line": 151, "column": 56 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 6014, "end": 6018, "loc": { "start": { "line": 151, "column": 57 }, "end": { "line": 151, "column": 61 } } } ] } ] } }, { "type": "ExpressionStatement", "start": 6033, "end": 6099, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 74 } }, "expression": { "type": "CallExpression", "start": 6033, "end": 6098, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 6033, "end": 6056, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 31 } }, "object": { "type": "Identifier", "start": 6033, "end": 6039, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6040, "end": 6056, "loc": { "start": { "line": 153, "column": 15 }, "end": { "line": 153, "column": 31 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6057, "end": 6065, "loc": { "start": { "line": 153, "column": 32 }, "end": { "line": 153, "column": 40 } }, "extra": { "rawValue": "resize", "raw": "\"resize\"" }, "value": "resize" }, { "type": "ArrowFunctionExpression", "start": 6067, "end": 6091, "loc": { "start": { "line": 153, "column": 42 }, "end": { "line": 153, "column": 66 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 6073, "end": 6091, "loc": { "start": { "line": 153, "column": 48 }, "end": { "line": 153, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 6073, "end": 6089, "loc": { "start": { "line": 153, "column": 48 }, "end": { "line": 153, "column": 64 } }, "object": { "type": "ThisExpression", "start": 6073, "end": 6077, "loc": { "start": { "line": 153, "column": 48 }, "end": { "line": 153, "column": 52 } } }, "property": { "type": "Identifier", "start": 6078, "end": 6089, "loc": { "start": { "line": 153, "column": 53 }, "end": { "line": 153, "column": 64 }, "identifierName": "checkResize" }, "name": "checkResize" }, "computed": false }, "arguments": [] } }, { "type": "BooleanLiteral", "start": 6093, "end": 6097, "loc": { "start": { "line": 153, "column": 68 }, "end": { "line": 153, "column": 72 } }, "value": true } ] } }, { "type": "ExpressionStatement", "start": 6109, "end": 6186, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 154, "column": 85 } }, "expression": { "type": "CallExpression", "start": 6109, "end": 6185, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 154, "column": 84 } }, "callee": { "type": "MemberExpression", "start": 6109, "end": 6132, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 154, "column": 31 } }, "object": { "type": "Identifier", "start": 6109, "end": 6115, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 154, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6116, "end": 6132, "loc": { "start": { "line": 154, "column": 15 }, "end": { "line": 154, "column": 31 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6133, "end": 6152, "loc": { "start": { "line": 154, "column": 32 }, "end": { "line": 154, "column": 51 } }, "extra": { "rawValue": "orientationchange", "raw": "\"orientationchange\"" }, "value": "orientationchange" }, { "type": "ArrowFunctionExpression", "start": 6154, "end": 6178, "loc": { "start": { "line": 154, "column": 53 }, "end": { "line": 154, "column": 77 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 6160, "end": 6178, "loc": { "start": { "line": 154, "column": 59 }, "end": { "line": 154, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 6160, "end": 6176, "loc": { "start": { "line": 154, "column": 59 }, "end": { "line": 154, "column": 75 } }, "object": { "type": "ThisExpression", "start": 6160, "end": 6164, "loc": { "start": { "line": 154, "column": 59 }, "end": { "line": 154, "column": 63 } } }, "property": { "type": "Identifier", "start": 6165, "end": 6176, "loc": { "start": { "line": 154, "column": 64 }, "end": { "line": 154, "column": 75 }, "identifierName": "checkResize" }, "name": "checkResize" }, "computed": false }, "arguments": [] } }, { "type": "BooleanLiteral", "start": 6180, "end": 6184, "loc": { "start": { "line": 154, "column": 79 }, "end": { "line": 154, "column": 83 } }, "value": true } ] } }, { "type": "IfStatement", "start": 6198, "end": 6582, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 161, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 6202, "end": 6232, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 42 } }, "left": { "type": "UnaryExpression", "start": 6202, "end": 6218, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 28 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6203, "end": 6218, "loc": { "start": { "line": 156, "column": 13 }, "end": { "line": 156, "column": 28 }, "identifierName": "G_IS_MOBILE_APP" }, "name": "G_IS_MOBILE_APP" }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 6222, "end": 6232, "loc": { "start": { "line": 156, "column": 32 }, "end": { "line": 156, "column": 42 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6223, "end": 6232, "loc": { "start": { "line": 156, "column": 33 }, "end": { "line": 156, "column": 42 }, "identifierName": "IS_MOBILE" }, "name": "IS_MOBILE" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 6234, "end": 6582, "loc": { "start": { "line": 156, "column": 44 }, "end": { "line": 161, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 6249, "end": 6319, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 82 } }, "expression": { "type": "CallExpression", "start": 6249, "end": 6318, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 6249, "end": 6272, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 35 } }, "object": { "type": "Identifier", "start": 6249, "end": 6255, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 18 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6256, "end": 6272, "loc": { "start": { "line": 157, "column": 19 }, "end": { "line": 157, "column": 35 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6273, "end": 6284, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 47 } }, "extra": { "rawValue": "mousemove", "raw": "\"mousemove\"" }, "value": "mousemove" }, { "type": "CallExpression", "start": 6286, "end": 6317, "loc": { "start": { "line": 157, "column": 49 }, "end": { "line": 157, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 6286, "end": 6311, "loc": { "start": { "line": 157, "column": 49 }, "end": { "line": 157, "column": 74 } }, "object": { "type": "MemberExpression", "start": 6286, "end": 6306, "loc": { "start": { "line": 157, "column": 49 }, "end": { "line": 157, "column": 69 } }, "object": { "type": "ThisExpression", "start": 6286, "end": 6290, "loc": { "start": { "line": 157, "column": 49 }, "end": { "line": 157, "column": 53 } } }, "property": { "type": "Identifier", "start": 6291, "end": 6306, "loc": { "start": { "line": 157, "column": 54 }, "end": { "line": 157, "column": 69 }, "identifierName": "handleMousemove" }, "name": "handleMousemove" }, "computed": false }, "property": { "type": "Identifier", "start": 6307, "end": 6311, "loc": { "start": { "line": 157, "column": 70 }, "end": { "line": 157, "column": 74 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 6312, "end": 6316, "loc": { "start": { "line": 157, "column": 75 }, "end": { "line": 157, "column": 79 } } } ] } ] } }, { "type": "ExpressionStatement", "start": 6333, "end": 6402, "loc": { "start": { "line": 158, "column": 12 }, "end": { "line": 158, "column": 81 } }, "expression": { "type": "CallExpression", "start": 6333, "end": 6401, "loc": { "start": { "line": 158, "column": 12 }, "end": { "line": 158, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 6333, "end": 6356, "loc": { "start": { "line": 158, "column": 12 }, "end": { "line": 158, "column": 35 } }, "object": { "type": "Identifier", "start": 6333, "end": 6339, "loc": { "start": { "line": 158, "column": 12 }, "end": { "line": 158, "column": 18 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6340, "end": 6356, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 35 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6357, "end": 6367, "loc": { "start": { "line": 158, "column": 36 }, "end": { "line": 158, "column": 46 } }, "extra": { "rawValue": "mouseout", "raw": "\"mouseout\"" }, "value": "mouseout" }, { "type": "CallExpression", "start": 6369, "end": 6400, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 6369, "end": 6394, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 73 } }, "object": { "type": "MemberExpression", "start": 6369, "end": 6389, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 68 } }, "object": { "type": "ThisExpression", "start": 6369, "end": 6373, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 52 } } }, "property": { "type": "Identifier", "start": 6374, "end": 6389, "loc": { "start": { "line": 158, "column": 53 }, "end": { "line": 158, "column": 68 }, "identifierName": "handleMousemove" }, "name": "handleMousemove" }, "computed": false }, "property": { "type": "Identifier", "start": 6390, "end": 6394, "loc": { "start": { "line": 158, "column": 69 }, "end": { "line": 158, "column": 73 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 6395, "end": 6399, "loc": { "start": { "line": 158, "column": 74 }, "end": { "line": 158, "column": 78 } } } ] } ] } }, { "type": "ExpressionStatement", "start": 6416, "end": 6486, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 82 } }, "expression": { "type": "CallExpression", "start": 6416, "end": 6485, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 6416, "end": 6439, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 35 } }, "object": { "type": "Identifier", "start": 6416, "end": 6422, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 18 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6423, "end": 6439, "loc": { "start": { "line": 159, "column": 19 }, "end": { "line": 159, "column": 35 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6440, "end": 6451, "loc": { "start": { "line": 159, "column": 36 }, "end": { "line": 159, "column": 47 } }, "extra": { "rawValue": "mouseover", "raw": "\"mouseover\"" }, "value": "mouseover" }, { "type": "CallExpression", "start": 6453, "end": 6484, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 6453, "end": 6478, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 74 } }, "object": { "type": "MemberExpression", "start": 6453, "end": 6473, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 69 } }, "object": { "type": "ThisExpression", "start": 6453, "end": 6457, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 53 } } }, "property": { "type": "Identifier", "start": 6458, "end": 6473, "loc": { "start": { "line": 159, "column": 54 }, "end": { "line": 159, "column": 69 }, "identifierName": "handleMousemove" }, "name": "handleMousemove" }, "computed": false }, "property": { "type": "Identifier", "start": 6474, "end": 6478, "loc": { "start": { "line": 159, "column": 70 }, "end": { "line": 159, "column": 74 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 6479, "end": 6483, "loc": { "start": { "line": 159, "column": 75 }, "end": { "line": 159, "column": 79 } } } ] } ] } }, { "type": "ExpressionStatement", "start": 6500, "end": 6571, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 83 } }, "expression": { "type": "CallExpression", "start": 6500, "end": 6570, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 82 } }, "callee": { "type": "MemberExpression", "start": 6500, "end": 6523, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 35 } }, "object": { "type": "Identifier", "start": 6500, "end": 6506, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 18 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6507, "end": 6523, "loc": { "start": { "line": 160, "column": 19 }, "end": { "line": 160, "column": 35 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6524, "end": 6536, "loc": { "start": { "line": 160, "column": 36 }, "end": { "line": 160, "column": 48 } }, "extra": { "rawValue": "mouseleave", "raw": "\"mouseleave\"" }, "value": "mouseleave" }, { "type": "CallExpression", "start": 6538, "end": 6569, "loc": { "start": { "line": 160, "column": 50 }, "end": { "line": 160, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 6538, "end": 6563, "loc": { "start": { "line": 160, "column": 50 }, "end": { "line": 160, "column": 75 } }, "object": { "type": "MemberExpression", "start": 6538, "end": 6558, "loc": { "start": { "line": 160, "column": 50 }, "end": { "line": 160, "column": 70 } }, "object": { "type": "ThisExpression", "start": 6538, "end": 6542, "loc": { "start": { "line": 160, "column": 50 }, "end": { "line": 160, "column": 54 } } }, "property": { "type": "Identifier", "start": 6543, "end": 6558, "loc": { "start": { "line": 160, "column": 55 }, "end": { "line": 160, "column": 70 }, "identifierName": "handleMousemove" }, "name": "handleMousemove" }, "computed": false }, "property": { "type": "Identifier", "start": 6559, "end": 6563, "loc": { "start": { "line": 160, "column": 71 }, "end": { "line": 160, "column": 75 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 6564, "end": 6568, "loc": { "start": { "line": 160, "column": 76 }, "end": { "line": 160, "column": 80 } } } ] } ] } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " Unload events", "start": 6594, "end": 6610, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 6620, "end": 6698, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 86 } }, "expression": { "type": "CallExpression", "start": 6620, "end": 6697, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 6620, "end": 6643, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 31 } }, "object": { "type": "Identifier", "start": 6620, "end": 6626, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 14 }, "identifierName": "window" }, "name": "window", "leadingComments": null }, "property": { "type": "Identifier", "start": 6627, "end": 6643, "loc": { "start": { "line": 164, "column": 15 }, "end": { "line": 164, "column": 31 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 6644, "end": 6658, "loc": { "start": { "line": 164, "column": 32 }, "end": { "line": 164, "column": 46 } }, "extra": { "rawValue": "beforeunload", "raw": "\"beforeunload\"" }, "value": "beforeunload" }, { "type": "CallExpression", "start": 6660, "end": 6690, "loc": { "start": { "line": 164, "column": 48 }, "end": { "line": 164, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 6660, "end": 6684, "loc": { "start": { "line": 164, "column": 48 }, "end": { "line": 164, "column": 72 } }, "object": { "type": "MemberExpression", "start": 6660, "end": 6679, "loc": { "start": { "line": 164, "column": 48 }, "end": { "line": 164, "column": 67 } }, "object": { "type": "ThisExpression", "start": 6660, "end": 6664, "loc": { "start": { "line": 164, "column": 48 }, "end": { "line": 164, "column": 52 } } }, "property": { "type": "Identifier", "start": 6665, "end": 6679, "loc": { "start": { "line": 164, "column": 53 }, "end": { "line": 164, "column": 67 }, "identifierName": "onBeforeUnload" }, "name": "onBeforeUnload" }, "computed": false }, "property": { "type": "Identifier", "start": 6680, "end": 6684, "loc": { "start": { "line": 164, "column": 68 }, "end": { "line": 164, "column": 72 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 6685, "end": 6689, "loc": { "start": { "line": 164, "column": 73 }, "end": { "line": 164, "column": 77 } } } ] }, { "type": "BooleanLiteral", "start": 6692, "end": 6696, "loc": { "start": { "line": 164, "column": 80 }, "end": { "line": 164, "column": 84 } }, "value": true } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Unload events", "start": 6594, "end": 6610, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 6708, "end": 6774, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 74 } }, "expression": { "type": "CallExpression", "start": 6708, "end": 6773, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 6708, "end": 6731, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 31 } }, "object": { "type": "Identifier", "start": 6708, "end": 6714, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 6715, "end": 6731, "loc": { "start": { "line": 165, "column": 15 }, "end": { "line": 165, "column": 31 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6732, "end": 6740, "loc": { "start": { "line": 165, "column": 32 }, "end": { "line": 165, "column": 40 } }, "extra": { "rawValue": "unload", "raw": "\"unload\"" }, "value": "unload" }, { "type": "CallExpression", "start": 6742, "end": 6766, "loc": { "start": { "line": 165, "column": 42 }, "end": { "line": 165, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 6742, "end": 6760, "loc": { "start": { "line": 165, "column": 42 }, "end": { "line": 165, "column": 60 } }, "object": { "type": "MemberExpression", "start": 6742, "end": 6755, "loc": { "start": { "line": 165, "column": 42 }, "end": { "line": 165, "column": 55 } }, "object": { "type": "ThisExpression", "start": 6742, "end": 6746, "loc": { "start": { "line": 165, "column": 42 }, "end": { "line": 165, "column": 46 } } }, "property": { "type": "Identifier", "start": 6747, "end": 6755, "loc": { "start": { "line": 165, "column": 47 }, "end": { "line": 165, "column": 55 }, "identifierName": "onUnload" }, "name": "onUnload" }, "computed": false }, "property": { "type": "Identifier", "start": 6756, "end": 6760, "loc": { "start": { "line": 165, "column": 56 }, "end": { "line": 165, "column": 60 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 6761, "end": 6765, "loc": { "start": { "line": 165, "column": 61 }, "end": { "line": 165, "column": 65 } } } ] }, { "type": "BooleanLiteral", "start": 6768, "end": 6772, "loc": { "start": { "line": 165, "column": 68 }, "end": { "line": 165, "column": 72 } }, "value": true } ] } }, { "type": "ExpressionStatement", "start": 6786, "end": 6884, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 106 } }, "expression": { "type": "CallExpression", "start": 6786, "end": 6883, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 6786, "end": 6811, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 33 } }, "object": { "type": "Identifier", "start": 6786, "end": 6794, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 16 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 6795, "end": 6811, "loc": { "start": { "line": 167, "column": 17 }, "end": { "line": 167, "column": 33 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6812, "end": 6835, "loc": { "start": { "line": 167, "column": 34 }, "end": { "line": 167, "column": 57 }, "identifierName": "pageVisibilityEventName" }, "name": "pageVisibilityEventName" }, { "type": "CallExpression", "start": 6837, "end": 6875, "loc": { "start": { "line": 167, "column": 59 }, "end": { "line": 167, "column": 97 } }, "callee": { "type": "MemberExpression", "start": 6837, "end": 6869, "loc": { "start": { "line": 167, "column": 59 }, "end": { "line": 167, "column": 91 } }, "object": { "type": "MemberExpression", "start": 6837, "end": 6864, "loc": { "start": { "line": 167, "column": 59 }, "end": { "line": 167, "column": 86 } }, "object": { "type": "ThisExpression", "start": 6837, "end": 6841, "loc": { "start": { "line": 167, "column": 59 }, "end": { "line": 167, "column": 63 } } }, "property": { "type": "Identifier", "start": 6842, "end": 6864, "loc": { "start": { "line": 167, "column": 64 }, "end": { "line": 167, "column": 86 }, "identifierName": "handleVisibilityChange" }, "name": "handleVisibilityChange" }, "computed": false }, "property": { "type": "Identifier", "start": 6865, "end": 6869, "loc": { "start": { "line": 167, "column": 87 }, "end": { "line": 167, "column": 91 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 6870, "end": 6874, "loc": { "start": { "line": 167, "column": 92 }, "end": { "line": 167, "column": 96 } } } ] }, { "type": "BooleanLiteral", "start": 6877, "end": 6882, "loc": { "start": { "line": 167, "column": 99 }, "end": { "line": 167, "column": 104 } }, "value": false } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Track touches so we can update the focus appropriately", "start": 6896, "end": 6953, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 65 } } } ] }, { "type": "ExpressionStatement", "start": 6963, "end": 7058, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 103 } }, "expression": { "type": "CallExpression", "start": 6963, "end": 7057, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 102 } }, "callee": { "type": "MemberExpression", "start": 6963, "end": 6988, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 33 } }, "object": { "type": "Identifier", "start": 6963, "end": 6971, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 16 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 6972, "end": 6988, "loc": { "start": { "line": 170, "column": 17 }, "end": { "line": 170, "column": 33 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 6989, "end": 7001, "loc": { "start": { "line": 170, "column": 34 }, "end": { "line": 170, "column": 46 } }, "extra": { "rawValue": "touchstart", "raw": "\"touchstart\"" }, "value": "touchstart" }, { "type": "CallExpression", "start": 7003, "end": 7050, "loc": { "start": { "line": 170, "column": 48 }, "end": { "line": 170, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 7003, "end": 7044, "loc": { "start": { "line": 170, "column": 48 }, "end": { "line": 170, "column": 89 } }, "object": { "type": "MemberExpression", "start": 7003, "end": 7039, "loc": { "start": { "line": 170, "column": 48 }, "end": { "line": 170, "column": 84 } }, "object": { "type": "ThisExpression", "start": 7003, "end": 7007, "loc": { "start": { "line": 170, "column": 48 }, "end": { "line": 170, "column": 52 } } }, "property": { "type": "Identifier", "start": 7008, "end": 7039, "loc": { "start": { "line": 170, "column": 53 }, "end": { "line": 170, "column": 84 }, "identifierName": "updateFocusAfterUserInteraction" }, "name": "updateFocusAfterUserInteraction" }, "computed": false }, "property": { "type": "Identifier", "start": 7040, "end": 7044, "loc": { "start": { "line": 170, "column": 85 }, "end": { "line": 170, "column": 89 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 7045, "end": 7049, "loc": { "start": { "line": 170, "column": 90 }, "end": { "line": 170, "column": 94 } } } ] }, { "type": "BooleanLiteral", "start": 7052, "end": 7056, "loc": { "start": { "line": 170, "column": 97 }, "end": { "line": 170, "column": 101 } }, "value": true } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Track touches so we can update the focus appropriately", "start": 6896, "end": 6953, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 65 } } } ] }, { "type": "ExpressionStatement", "start": 7068, "end": 7161, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 101 } }, "expression": { "type": "CallExpression", "start": 7068, "end": 7160, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 7068, "end": 7093, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 33 } }, "object": { "type": "Identifier", "start": 7068, "end": 7076, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 16 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 7077, "end": 7093, "loc": { "start": { "line": 171, "column": 17 }, "end": { "line": 171, "column": 33 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 7094, "end": 7104, "loc": { "start": { "line": 171, "column": 34 }, "end": { "line": 171, "column": 44 } }, "extra": { "rawValue": "touchend", "raw": "\"touchend\"" }, "value": "touchend" }, { "type": "CallExpression", "start": 7106, "end": 7153, "loc": { "start": { "line": 171, "column": 46 }, "end": { "line": 171, "column": 93 } }, "callee": { "type": "MemberExpression", "start": 7106, "end": 7147, "loc": { "start": { "line": 171, "column": 46 }, "end": { "line": 171, "column": 87 } }, "object": { "type": "MemberExpression", "start": 7106, "end": 7142, "loc": { "start": { "line": 171, "column": 46 }, "end": { "line": 171, "column": 82 } }, "object": { "type": "ThisExpression", "start": 7106, "end": 7110, "loc": { "start": { "line": 171, "column": 46 }, "end": { "line": 171, "column": 50 } } }, "property": { "type": "Identifier", "start": 7111, "end": 7142, "loc": { "start": { "line": 171, "column": 51 }, "end": { "line": 171, "column": 82 }, "identifierName": "updateFocusAfterUserInteraction" }, "name": "updateFocusAfterUserInteraction" }, "computed": false }, "property": { "type": "Identifier", "start": 7143, "end": 7147, "loc": { "start": { "line": 171, "column": 83 }, "end": { "line": 171, "column": 87 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 7148, "end": 7152, "loc": { "start": { "line": 171, "column": 88 }, "end": { "line": 171, "column": 92 } } } ] }, { "type": "BooleanLiteral", "start": 7155, "end": 7159, "loc": { "start": { "line": 171, "column": 95 }, "end": { "line": 171, "column": 99 } }, "value": true } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Registers all event listeners\r\n ", "start": 5805, "end": 5855, "loc": { "start": { "line": 146, "column": 4 }, "end": { "line": 148, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks the focus after a touch\r\n * @param {TouchEvent} event\r\n ", "start": 7176, "end": 7261, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 177, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7267, "end": 8099, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 200, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7267, "end": 7298, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 178, "column": 35 }, "identifierName": "updateFocusAfterUserInteraction" }, "name": "updateFocusAfterUserInteraction", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7299, "end": 7304, "loc": { "start": { "line": 178, "column": 36 }, "end": { "line": 178, "column": 41 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 7306, "end": 8099, "loc": { "start": { "line": 178, "column": 43 }, "end": { "line": 200, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 7317, "end": 7374, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7323, "end": 7373, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 64 } }, "id": { "type": "Identifier", "start": 7323, "end": 7329, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 20 }, "identifierName": "target" }, "name": "target" }, "init": { "type": "MemberExpression", "start": 7360, "end": 7372, "loc": { "start": { "line": 179, "column": 51 }, "end": { "line": 179, "column": 63 } }, "object": { "type": "Identifier", "start": 7360, "end": 7365, "loc": { "start": { "line": 179, "column": 51 }, "end": { "line": 179, "column": 56 }, "identifierName": "event" }, "name": "event", "leadingComments": null }, "property": { "type": "Identifier", "start": 7366, "end": 7372, "loc": { "start": { "line": 179, "column": 57 }, "end": { "line": 179, "column": 63 }, "identifierName": "target" }, "name": "target" }, "computed": false, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {HTMLElement} ", "start": 7332, "end": 7358, "loc": { "start": { "line": 179, "column": 23 }, "end": { "line": 179, "column": 49 } } } ], "extra": { "parenthesized": true, "parenStart": 7359 } } } ], "kind": "const" }, { "type": "IfStatement", "start": 7384, "end": 7549, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 184, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 7388, "end": 7414, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 180, "column": 38 } }, "left": { "type": "UnaryExpression", "start": 7388, "end": 7395, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 180, "column": 19 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 7389, "end": 7395, "loc": { "start": { "line": 180, "column": 13 }, "end": { "line": 180, "column": 19 }, "identifierName": "target" }, "name": "target" }, "extra": { "parenthesizedArgument": false } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 7399, "end": 7414, "loc": { "start": { "line": 180, "column": 23 }, "end": { "line": 180, "column": 38 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 7400, "end": 7414, "loc": { "start": { "line": 180, "column": 24 }, "end": { "line": 180, "column": 38 } }, "object": { "type": "Identifier", "start": 7400, "end": 7406, "loc": { "start": { "line": 180, "column": 24 }, "end": { "line": 180, "column": 30 }, "identifierName": "target" }, "name": "target" }, "property": { "type": "Identifier", "start": 7407, "end": 7414, "loc": { "start": { "line": 180, "column": 31 }, "end": { "line": 180, "column": 38 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 7416, "end": 7549, "loc": { "start": { "line": 180, "column": 40 }, "end": { "line": 184, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 7460, "end": 7517, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 69 } }, "expression": { "type": "CallExpression", "start": 7460, "end": 7516, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 7460, "end": 7471, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 23 } }, "object": { "type": "Identifier", "start": 7460, "end": 7466, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 18 }, "identifierName": "logger" }, "name": "logger", "leadingComments": null }, "property": { "type": "Identifier", "start": 7467, "end": 7471, "loc": { "start": { "line": 182, "column": 19 }, "end": { "line": 182, "column": 23 }, "identifierName": "warn" }, "name": "warn" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "StringLiteral", "start": 7472, "end": 7508, "loc": { "start": { "line": 182, "column": 24 }, "end": { "line": 182, "column": 60 } }, "extra": { "rawValue": "Invalid touchstart/touchend event:", "raw": "\"Invalid touchstart/touchend event:\"" }, "value": "Invalid touchstart/touchend event:" }, { "type": "Identifier", "start": 7510, "end": 7515, "loc": { "start": { "line": 182, "column": 62 }, "end": { "line": 182, "column": 67 }, "identifierName": "event" }, "name": "event" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Safety check", "start": 7431, "end": 7446, "loc": { "start": { "line": 181, "column": 12 }, "end": { "line": 181, "column": 27 } } } ] }, { "type": "ReturnStatement", "start": 7531, "end": 7538, "loc": { "start": { "line": 183, "column": 12 }, "end": { "line": 183, "column": 19 } }, "argument": null } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": [ { "type": "CommentLine", "value": " When clicking an element which is not the currently focused one, defocus it", "start": 7561, "end": 7639, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 86 } } } ] }, { "type": "IfStatement", "start": 7649, "end": 7869, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 193, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 7653, "end": 7686, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 45 } }, "left": { "type": "Identifier", "start": 7653, "end": 7659, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 18 }, "identifierName": "target" }, "name": "target", "leadingComments": null }, "operator": "!==", "right": { "type": "MemberExpression", "start": 7664, "end": 7686, "loc": { "start": { "line": 187, "column": 23 }, "end": { "line": 187, "column": 45 } }, "object": { "type": "Identifier", "start": 7664, "end": 7672, "loc": { "start": { "line": 187, "column": 23 }, "end": { "line": 187, "column": 31 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 7673, "end": 7686, "loc": { "start": { "line": 187, "column": 32 }, "end": { "line": 187, "column": 45 }, "identifierName": "activeElement" }, "name": "activeElement" }, "computed": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7688, "end": 7869, "loc": { "start": { "line": 187, "column": 47 }, "end": { "line": 193, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 7730, "end": 7858, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 192, "column": 13 } }, "test": { "type": "MemberExpression", "start": 7734, "end": 7761, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 43 } }, "object": { "type": "MemberExpression", "start": 7734, "end": 7756, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 38 } }, "object": { "type": "Identifier", "start": 7734, "end": 7742, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 24 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 7743, "end": 7756, "loc": { "start": { "line": 189, "column": 25 }, "end": { "line": 189, "column": 38 }, "identifierName": "activeElement" }, "name": "activeElement" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7757, "end": 7761, "loc": { "start": { "line": 189, "column": 39 }, "end": { "line": 189, "column": 43 }, "identifierName": "blur" }, "name": "blur" }, "computed": false, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7763, "end": 7858, "loc": { "start": { "line": 189, "column": 45 }, "end": { "line": 192, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 7813, "end": 7843, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "column": 46 } }, "expression": { "type": "CallExpression", "start": 7813, "end": 7842, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 7813, "end": 7840, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "column": 43 } }, "object": { "type": "MemberExpression", "start": 7813, "end": 7835, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "column": 38 } }, "object": { "type": "Identifier", "start": 7813, "end": 7821, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "column": 24 }, "identifierName": "document" }, "name": "document", "leadingComments": null }, "property": { "type": "Identifier", "start": 7822, "end": 7835, "loc": { "start": { "line": 191, "column": 25 }, "end": { "line": 191, "column": 38 }, "identifierName": "activeElement" }, "name": "activeElement" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7836, "end": 7840, "loc": { "start": { "line": 191, "column": 39 }, "end": { "line": 191, "column": 43 }, "identifierName": "blur" }, "name": "blur" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 7782, "end": 7795, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 29 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 7703, "end": 7716, "loc": { "start": { "line": 188, "column": 12 }, "end": { "line": 188, "column": 25 } } } ] } ], "directives": [], "trailingComments": null }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " When clicking an element which is not the currently focused one, defocus it", "start": 7561, "end": 7639, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 86 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " If we click an input field, focus it now", "start": 7881, "end": 7924, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 51 } } } ] }, { "type": "IfStatement", "start": 7934, "end": 8092, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 199, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 7938, "end": 7978, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 52 } }, "left": { "type": "CallExpression", "start": 7938, "end": 7966, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 7938, "end": 7964, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 38 } }, "object": { "type": "MemberExpression", "start": 7938, "end": 7952, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 26 } }, "object": { "type": "Identifier", "start": 7938, "end": 7944, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 18 }, "identifierName": "target" }, "name": "target", "leadingComments": null }, "property": { "type": "Identifier", "start": 7945, "end": 7952, "loc": { "start": { "line": 196, "column": 19 }, "end": { "line": 196, "column": 26 }, "identifierName": "tagName" }, "name": "tagName" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 7953, "end": 7964, "loc": { "start": { "line": 196, "column": 27 }, "end": { "line": 196, "column": 38 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "operator": "===", "right": { "type": "StringLiteral", "start": 7971, "end": 7978, "loc": { "start": { "line": 196, "column": 45 }, "end": { "line": 196, "column": 52 } }, "extra": { "rawValue": "input", "raw": "\"input\"" }, "value": "input" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7980, "end": 8092, "loc": { "start": { "line": 196, "column": 54 }, "end": { "line": 199, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 8038, "end": 8081, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 55 } }, "expression": { "type": "CallExpression", "start": 8038, "end": 8080, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 8038, "end": 8058, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 32 } }, "object": { "type": "CallExpression", "start": 8038, "end": 8053, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 27 } }, "callee": { "type": "Identifier", "start": 8038, "end": 8051, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 25 }, "identifierName": "waitNextFrame" }, "name": "waitNextFrame", "leadingComments": null }, "arguments": [], "leadingComments": null }, "property": { "type": "Identifier", "start": 8054, "end": 8058, "loc": { "start": { "line": 198, "column": 28 }, "end": { "line": 198, "column": 32 }, "identifierName": "then" }, "name": "then" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 8059, "end": 8079, "loc": { "start": { "line": 198, "column": 33 }, "end": { "line": 198, "column": 53 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 8065, "end": 8079, "loc": { "start": { "line": 198, "column": 39 }, "end": { "line": 198, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 8065, "end": 8077, "loc": { "start": { "line": 198, "column": 39 }, "end": { "line": 198, "column": 51 } }, "object": { "type": "Identifier", "start": 8065, "end": 8071, "loc": { "start": { "line": 198, "column": 39 }, "end": { "line": 198, "column": 45 }, "identifierName": "target" }, "name": "target" }, "property": { "type": "Identifier", "start": 8072, "end": 8077, "loc": { "start": { "line": 198, "column": 46 }, "end": { "line": 198, "column": 51 }, "identifierName": "focus" }, "name": "focus" }, "computed": false }, "arguments": [] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " We *really* need the focus", "start": 7995, "end": 8024, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 41 } } } ] } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " If we click an input field, focus it now", "start": 7881, "end": 7924, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 51 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks the focus after a touch\r\n * @param {TouchEvent} event\r\n ", "start": 7176, "end": 7261, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 177, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles a page visibility change event\r\n * @param {Event} event\r\n ", "start": 8107, "end": 8195, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 205, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8201, "end": 8559, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 214, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8201, "end": 8223, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 26 }, "identifierName": "handleVisibilityChange" }, "name": "handleVisibilityChange", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8224, "end": 8229, "loc": { "start": { "line": 206, "column": 27 }, "end": { "line": 206, "column": 32 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 8231, "end": 8559, "loc": { "start": { "line": 206, "column": 34 }, "end": { "line": 214, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8242, "end": 8257, "loc": { "start": { "line": 207, "column": 8 }, "end": { "line": 207, "column": 23 } }, "expression": { "type": "CallExpression", "start": 8242, "end": 8256, "loc": { "start": { "line": 207, "column": 8 }, "end": { "line": 207, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 8242, "end": 8254, "loc": { "start": { "line": 207, "column": 8 }, "end": { "line": 207, "column": 20 } }, "object": { "type": "Identifier", "start": 8242, "end": 8248, "loc": { "start": { "line": 207, "column": 8 }, "end": { "line": 207, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 8249, "end": 8254, "loc": { "start": { "line": 207, "column": 15 }, "end": { "line": 207, "column": 20 }, "identifierName": "focus" }, "name": "focus" }, "computed": false }, "arguments": [] } }, { "type": "VariableDeclaration", "start": 8267, "end": 8317, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8273, "end": 8316, "loc": { "start": { "line": 208, "column": 14 }, "end": { "line": 208, "column": 57 } }, "id": { "type": "Identifier", "start": 8273, "end": 8284, "loc": { "start": { "line": 208, "column": 14 }, "end": { "line": 208, "column": 25 }, "identifierName": "pageVisible" }, "name": "pageVisible" }, "init": { "type": "UnaryExpression", "start": 8287, "end": 8316, "loc": { "start": { "line": 208, "column": 28 }, "end": { "line": 208, "column": 57 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 8288, "end": 8316, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 57 } }, "object": { "type": "Identifier", "start": 8288, "end": 8296, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 37 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 8297, "end": 8315, "loc": { "start": { "line": 208, "column": 38 }, "end": { "line": 208, "column": 56 }, "identifierName": "pageHiddenPropName" }, "name": "pageHiddenPropName" }, "computed": true }, "extra": { "parenthesizedArgument": false } } } ], "kind": "const" }, { "type": "IfStatement", "start": 8327, "end": 8552, "loc": { "start": { "line": 209, "column": 8 }, "end": { "line": 213, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 8331, "end": 8363, "loc": { "start": { "line": 209, "column": 12 }, "end": { "line": 209, "column": 44 } }, "left": { "type": "Identifier", "start": 8331, "end": 8342, "loc": { "start": { "line": 209, "column": 12 }, "end": { "line": 209, "column": 23 }, "identifierName": "pageVisible" }, "name": "pageVisible" }, "operator": "!==", "right": { "type": "MemberExpression", "start": 8347, "end": 8363, "loc": { "start": { "line": 209, "column": 28 }, "end": { "line": 209, "column": 44 } }, "object": { "type": "ThisExpression", "start": 8347, "end": 8351, "loc": { "start": { "line": 209, "column": 28 }, "end": { "line": 209, "column": 32 } } }, "property": { "type": "Identifier", "start": 8352, "end": 8363, "loc": { "start": { "line": 209, "column": 33 }, "end": { "line": 209, "column": 44 }, "identifierName": "pageVisible" }, "name": "pageVisible" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 8365, "end": 8552, "loc": { "start": { "line": 209, "column": 46 }, "end": { "line": 213, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 8380, "end": 8411, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 8380, "end": 8410, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8380, "end": 8396, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8380, "end": 8384, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 16 } } }, "property": { "type": "Identifier", "start": 8385, "end": 8396, "loc": { "start": { "line": 210, "column": 17 }, "end": { "line": 210, "column": 28 }, "identifierName": "pageVisible" }, "name": "pageVisible" }, "computed": false }, "right": { "type": "Identifier", "start": 8399, "end": 8410, "loc": { "start": { "line": 210, "column": 31 }, "end": { "line": 210, "column": 42 }, "identifierName": "pageVisible" }, "name": "pageVisible" } } }, { "type": "ExpressionStatement", "start": 8425, "end": 8477, "loc": { "start": { "line": 211, "column": 12 }, "end": { "line": 211, "column": 64 } }, "expression": { "type": "CallExpression", "start": 8425, "end": 8476, "loc": { "start": { "line": 211, "column": 12 }, "end": { "line": 211, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 8425, "end": 8435, "loc": { "start": { "line": 211, "column": 12 }, "end": { "line": 211, "column": 22 } }, "object": { "type": "Identifier", "start": 8425, "end": 8431, "loc": { "start": { "line": 211, "column": 12 }, "end": { "line": 211, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 8432, "end": 8435, "loc": { "start": { "line": 211, "column": 19 }, "end": { "line": 211, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8436, "end": 8457, "loc": { "start": { "line": 211, "column": 23 }, "end": { "line": 211, "column": 44 } }, "extra": { "rawValue": "Visibility changed:", "raw": "\"Visibility changed:\"" }, "value": "Visibility changed:" }, { "type": "MemberExpression", "start": 8459, "end": 8475, "loc": { "start": { "line": 211, "column": 46 }, "end": { "line": 211, "column": 62 } }, "object": { "type": "ThisExpression", "start": 8459, "end": 8463, "loc": { "start": { "line": 211, "column": 46 }, "end": { "line": 211, "column": 50 } } }, "property": { "type": "Identifier", "start": 8464, "end": 8475, "loc": { "start": { "line": 211, "column": 51 }, "end": { "line": 211, "column": 62 }, "identifierName": "pageVisible" }, "name": "pageVisible" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 8491, "end": 8541, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 62 } }, "expression": { "type": "CallExpression", "start": 8491, "end": 8540, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 8491, "end": 8519, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 40 } }, "object": { "type": "MemberExpression", "start": 8491, "end": 8515, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 36 } }, "object": { "type": "ThisExpression", "start": 8491, "end": 8495, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 16 } } }, "property": { "type": "Identifier", "start": 8496, "end": 8515, "loc": { "start": { "line": 212, "column": 17 }, "end": { "line": 212, "column": 36 }, "identifierName": "trackedIsRenderable" }, "name": "trackedIsRenderable" }, "computed": false }, "property": { "type": "Identifier", "start": 8516, "end": 8519, "loc": { "start": { "line": 212, "column": 37 }, "end": { "line": 212, "column": 40 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 8520, "end": 8539, "loc": { "start": { "line": 212, "column": 41 }, "end": { "line": 212, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 8520, "end": 8537, "loc": { "start": { "line": 212, "column": 41 }, "end": { "line": 212, "column": 58 } }, "object": { "type": "ThisExpression", "start": 8520, "end": 8524, "loc": { "start": { "line": 212, "column": 41 }, "end": { "line": 212, "column": 45 } } }, "property": { "type": "Identifier", "start": 8525, "end": 8537, "loc": { "start": { "line": 212, "column": 46 }, "end": { "line": 212, "column": 58 }, "identifierName": "isRenderable" }, "name": "isRenderable" }, "computed": false }, "arguments": [] } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles a page visibility change event\r\n * @param {Event} event\r\n ", "start": 8107, "end": 8195, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 205, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles a mouse move event\r\n * @param {MouseEvent} event\r\n ", "start": 8567, "end": 8648, "loc": { "start": { "line": 216, "column": 4 }, "end": { "line": 219, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8654, "end": 8757, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 222, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8654, "end": 8669, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 19 }, "identifierName": "handleMousemove" }, "name": "handleMousemove", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8670, "end": 8675, "loc": { "start": { "line": 220, "column": 20 }, "end": { "line": 220, "column": 25 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 8677, "end": 8757, "loc": { "start": { "line": 220, "column": 27 }, "end": { "line": 222, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8688, "end": 8750, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 70 } }, "expression": { "type": "AssignmentExpression", "start": 8688, "end": 8749, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8688, "end": 8706, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 26 } }, "object": { "type": "ThisExpression", "start": 8688, "end": 8692, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 12 } } }, "property": { "type": "Identifier", "start": 8693, "end": 8706, "loc": { "start": { "line": 221, "column": 13 }, "end": { "line": 221, "column": 26 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "computed": false }, "right": { "type": "NewExpression", "start": 8709, "end": 8749, "loc": { "start": { "line": 221, "column": 29 }, "end": { "line": 221, "column": 69 } }, "callee": { "type": "Identifier", "start": 8713, "end": 8719, "loc": { "start": { "line": 221, "column": 33 }, "end": { "line": 221, "column": 39 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 8720, "end": 8733, "loc": { "start": { "line": 221, "column": 40 }, "end": { "line": 221, "column": 53 } }, "object": { "type": "Identifier", "start": 8720, "end": 8725, "loc": { "start": { "line": 221, "column": 40 }, "end": { "line": 221, "column": 45 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 8726, "end": 8733, "loc": { "start": { "line": 221, "column": 46 }, "end": { "line": 221, "column": 53 }, "identifierName": "clientX" }, "name": "clientX" }, "computed": false }, { "type": "MemberExpression", "start": 8735, "end": 8748, "loc": { "start": { "line": 221, "column": 55 }, "end": { "line": 221, "column": 68 } }, "object": { "type": "Identifier", "start": 8735, "end": 8740, "loc": { "start": { "line": 221, "column": 55 }, "end": { "line": 221, "column": 60 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 8741, "end": 8748, "loc": { "start": { "line": 221, "column": 61 }, "end": { "line": 221, "column": 68 }, "identifierName": "clientY" }, "name": "clientY" }, "computed": false } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Handles a mouse move event\r\n * @param {MouseEvent} event\r\n ", "start": 8567, "end": 8648, "loc": { "start": { "line": 216, "column": 4 }, "end": { "line": 219, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal on focus handler\r\n ", "start": 8765, "end": 8811, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 226, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8817, "end": 8865, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 229, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8817, "end": 8824, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 227, "column": 11 }, "identifierName": "onFocus" }, "name": "onFocus", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8827, "end": 8865, "loc": { "start": { "line": 227, "column": 14 }, "end": { "line": 229, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8838, "end": 8858, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 8838, "end": 8857, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8838, "end": 8850, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8838, "end": 8842, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 12 } } }, "property": { "type": "Identifier", "start": 8843, "end": 8850, "loc": { "start": { "line": 228, "column": 13 }, "end": { "line": 228, "column": 20 }, "identifierName": "focused" }, "name": "focused" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 8853, "end": 8857, "loc": { "start": { "line": 228, "column": 23 }, "end": { "line": 228, "column": 27 } }, "value": true } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal on focus handler\r\n ", "start": 8765, "end": 8811, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 226, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal blur handler\r\n ", "start": 8873, "end": 8915, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8921, "end": 8969, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 236, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8921, "end": 8927, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 10 }, "identifierName": "onBlur" }, "name": "onBlur", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 8930, "end": 8969, "loc": { "start": { "line": 234, "column": 13 }, "end": { "line": 236, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 8941, "end": 8962, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 8941, "end": 8961, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8941, "end": 8953, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 20 } }, "object": { "type": "ThisExpression", "start": 8941, "end": 8945, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 12 } } }, "property": { "type": "Identifier", "start": 8946, "end": 8953, "loc": { "start": { "line": 235, "column": 13 }, "end": { "line": 235, "column": 20 }, "identifierName": "focused" }, "name": "focused" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 8956, "end": 8961, "loc": { "start": { "line": 235, "column": 23 }, "end": { "line": 235, "column": 28 } }, "value": false } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal blur handler\r\n ", "start": 8873, "end": 8915, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the app is currently visible\r\n ", "start": 8977, "end": 9037, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 240, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9043, "end": 9127, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 243, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9043, "end": 9055, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 241, "column": 16 }, "identifierName": "isRenderable" }, "name": "isRenderable", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9058, "end": 9127, "loc": { "start": { "line": 241, "column": 19 }, "end": { "line": 243, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 9069, "end": 9120, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 59 } }, "argument": { "type": "LogicalExpression", "start": 9076, "end": 9119, "loc": { "start": { "line": 242, "column": 15 }, "end": { "line": 242, "column": 58 } }, "left": { "type": "UnaryExpression", "start": 9076, "end": 9099, "loc": { "start": { "line": 242, "column": 15 }, "end": { "line": 242, "column": 38 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 9077, "end": 9099, "loc": { "start": { "line": 242, "column": 16 }, "end": { "line": 242, "column": 38 } }, "object": { "type": "ThisExpression", "start": 9077, "end": 9081, "loc": { "start": { "line": 242, "column": 16 }, "end": { "line": 242, "column": 20 } } }, "property": { "type": "Identifier", "start": 9082, "end": 9099, "loc": { "start": { "line": 242, "column": 21 }, "end": { "line": 242, "column": 38 }, "identifierName": "applicationPaused" }, "name": "applicationPaused" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "MemberExpression", "start": 9103, "end": 9119, "loc": { "start": { "line": 242, "column": 42 }, "end": { "line": 242, "column": 58 } }, "object": { "type": "ThisExpression", "start": 9103, "end": 9107, "loc": { "start": { "line": 242, "column": 42 }, "end": { "line": 242, "column": 46 } } }, "property": { "type": "Identifier", "start": 9108, "end": 9119, "loc": { "start": { "line": 242, "column": 47 }, "end": { "line": 242, "column": 58 }, "identifierName": "pageVisible" }, "name": "pageVisible" }, "computed": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns if the app is currently visible\r\n ", "start": 8977, "end": 9037, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 240, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9135, "end": 9670, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 261, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9135, "end": 9162, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 245, "column": 31 }, "identifierName": "onAppRenderableStateChanged" }, "name": "onAppRenderableStateChanged" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9163, "end": 9173, "loc": { "start": { "line": 245, "column": 32 }, "end": { "line": 245, "column": 42 }, "identifierName": "renderable" }, "name": "renderable" } ], "body": { "type": "BlockStatement", "start": 9175, "end": 9670, "loc": { "start": { "line": 245, "column": 44 }, "end": { "line": 261, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 9186, "end": 9236, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 58 } }, "expression": { "type": "CallExpression", "start": 9186, "end": 9235, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9186, "end": 9196, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 18 } }, "object": { "type": "Identifier", "start": 9186, "end": 9192, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 9193, "end": 9196, "loc": { "start": { "line": 246, "column": 15 }, "end": { "line": 246, "column": 18 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9197, "end": 9222, "loc": { "start": { "line": 246, "column": 19 }, "end": { "line": 246, "column": 44 } }, "extra": { "rawValue": "Application renderable:", "raw": "\"Application renderable:\"" }, "value": "Application renderable:" }, { "type": "Identifier", "start": 9224, "end": 9234, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 56 }, "identifierName": "renderable" }, "name": "renderable" } ] } }, { "type": "ExpressionStatement", "start": 9246, "end": 9261, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 23 } }, "expression": { "type": "CallExpression", "start": 9246, "end": 9260, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 9246, "end": 9258, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 20 } }, "object": { "type": "Identifier", "start": 9246, "end": 9252, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 9253, "end": 9258, "loc": { "start": { "line": 247, "column": 15 }, "end": { "line": 247, "column": 20 }, "identifierName": "focus" }, "name": "focus" }, "computed": false }, "arguments": [] } }, { "type": "VariableDeclaration", "start": 9271, "end": 9324, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9277, "end": 9323, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 60 } }, "id": { "type": "Identifier", "start": 9277, "end": 9289, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 26 }, "identifierName": "currentState" }, "name": "currentState" }, "init": { "type": "CallExpression", "start": 9292, "end": 9323, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 9292, "end": 9321, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 58 } }, "object": { "type": "MemberExpression", "start": 9292, "end": 9305, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 42 } }, "object": { "type": "ThisExpression", "start": 9292, "end": 9296, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 33 } } }, "property": { "type": "Identifier", "start": 9297, "end": 9305, "loc": { "start": { "line": 248, "column": 34 }, "end": { "line": 248, "column": 42 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 9306, "end": 9321, "loc": { "start": { "line": 248, "column": 43 }, "end": { "line": 248, "column": 58 }, "identifierName": "getCurrentState" }, "name": "getCurrentState" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 9334, "end": 9599, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 258, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 9338, "end": 9349, "loc": { "start": { "line": 249, "column": 12 }, "end": { "line": 249, "column": 23 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 9339, "end": 9349, "loc": { "start": { "line": 249, "column": 13 }, "end": { "line": 249, "column": 23 }, "identifierName": "renderable" }, "name": "renderable" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 9351, "end": 9455, "loc": { "start": { "line": 249, "column": 25 }, "end": { "line": 253, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 9366, "end": 9444, "loc": { "start": { "line": 250, "column": 12 }, "end": { "line": 252, "column": 13 } }, "test": { "type": "Identifier", "start": 9370, "end": 9382, "loc": { "start": { "line": 250, "column": 16 }, "end": { "line": 250, "column": 28 }, "identifierName": "currentState" }, "name": "currentState" }, "consequent": { "type": "BlockStatement", "start": 9384, "end": 9444, "loc": { "start": { "line": 250, "column": 30 }, "end": { "line": 252, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 9403, "end": 9429, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 251, "column": 42 } }, "expression": { "type": "CallExpression", "start": 9403, "end": 9428, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 251, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 9403, "end": 9426, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 251, "column": 39 } }, "object": { "type": "Identifier", "start": 9403, "end": 9415, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 251, "column": 28 }, "identifierName": "currentState" }, "name": "currentState" }, "property": { "type": "Identifier", "start": 9416, "end": 9426, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 39 }, "identifierName": "onAppPause" }, "name": "onAppPause" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9461, "end": 9599, "loc": { "start": { "line": 253, "column": 15 }, "end": { "line": 258, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 9476, "end": 9555, "loc": { "start": { "line": 254, "column": 12 }, "end": { "line": 256, "column": 13 } }, "test": { "type": "Identifier", "start": 9480, "end": 9492, "loc": { "start": { "line": 254, "column": 16 }, "end": { "line": 254, "column": 28 }, "identifierName": "currentState" }, "name": "currentState" }, "consequent": { "type": "BlockStatement", "start": 9494, "end": 9555, "loc": { "start": { "line": 254, "column": 30 }, "end": { "line": 256, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 9513, "end": 9540, "loc": { "start": { "line": 255, "column": 16 }, "end": { "line": 255, "column": 43 } }, "expression": { "type": "CallExpression", "start": 9513, "end": 9539, "loc": { "start": { "line": 255, "column": 16 }, "end": { "line": 255, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 9513, "end": 9537, "loc": { "start": { "line": 255, "column": 16 }, "end": { "line": 255, "column": 40 } }, "object": { "type": "Identifier", "start": 9513, "end": 9525, "loc": { "start": { "line": 255, "column": 16 }, "end": { "line": 255, "column": 28 }, "identifierName": "currentState" }, "name": "currentState" }, "property": { "type": "Identifier", "start": 9526, "end": 9537, "loc": { "start": { "line": 255, "column": 29 }, "end": { "line": 255, "column": 40 }, "identifierName": "onAppResume" }, "name": "onAppResume" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 9569, "end": 9588, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 31 } }, "expression": { "type": "CallExpression", "start": 9569, "end": 9587, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 9569, "end": 9585, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 28 } }, "object": { "type": "ThisExpression", "start": 9569, "end": 9573, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 16 } } }, "property": { "type": "Identifier", "start": 9574, "end": 9585, "loc": { "start": { "line": 257, "column": 17 }, "end": { "line": 257, "column": 28 }, "identifierName": "checkResize" }, "name": "checkResize" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 9611, "end": 9663, "loc": { "start": { "line": 260, "column": 8 }, "end": { "line": 260, "column": 60 } }, "expression": { "type": "CallExpression", "start": 9611, "end": 9662, "loc": { "start": { "line": 260, "column": 8 }, "end": { "line": 260, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 9611, "end": 9650, "loc": { "start": { "line": 260, "column": 8 }, "end": { "line": 260, "column": 47 } }, "object": { "type": "MemberExpression", "start": 9611, "end": 9621, "loc": { "start": { "line": 260, "column": 8 }, "end": { "line": 260, "column": 18 } }, "object": { "type": "ThisExpression", "start": 9611, "end": 9615, "loc": { "start": { "line": 260, "column": 8 }, "end": { "line": 260, "column": 12 } } }, "property": { "type": "Identifier", "start": 9616, "end": 9621, "loc": { "start": { "line": 260, "column": 13 }, "end": { "line": 260, "column": 18 }, "identifierName": "sound" }, "name": "sound" }, "computed": false }, "property": { "type": "Identifier", "start": 9622, "end": 9650, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 47 }, "identifierName": "onPageRenderableStateChanged" }, "name": "onPageRenderableStateChanged" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9651, "end": 9661, "loc": { "start": { "line": 260, "column": 48 }, "end": { "line": 260, "column": 58 }, "identifierName": "renderable" }, "name": "renderable" } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal unload handler\r\n ", "start": 9678, "end": 9722, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9728, "end": 10075, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 276, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9728, "end": 9736, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 12 }, "identifierName": "onUnload" }, "name": "onUnload", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9737, "end": 9742, "loc": { "start": { "line": 266, "column": 13 }, "end": { "line": 266, "column": 18 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 9744, "end": 10075, "loc": { "start": { "line": 266, "column": 20 }, "end": { "line": 276, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 9755, "end": 10068, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 275, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 9759, "end": 9773, "loc": { "start": { "line": 267, "column": 12 }, "end": { "line": 267, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 9760, "end": 9773, "loc": { "start": { "line": 267, "column": 13 }, "end": { "line": 267, "column": 26 } }, "object": { "type": "ThisExpression", "start": 9760, "end": 9764, "loc": { "start": { "line": 267, "column": 13 }, "end": { "line": 267, "column": 17 } } }, "property": { "type": "Identifier", "start": 9765, "end": 9773, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 26 }, "identifierName": "unloaded" }, "name": "unloaded" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 9775, "end": 10068, "loc": { "start": { "line": 267, "column": 28 }, "end": { "line": 275, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 9790, "end": 9827, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 49 } }, "expression": { "type": "CallExpression", "start": 9790, "end": 9826, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 48 } }, "callee": { "type": "Identifier", "start": 9790, "end": 9800, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 22 }, "identifierName": "logSection" }, "name": "logSection" }, "arguments": [ { "type": "StringLiteral", "start": 9801, "end": 9817, "loc": { "start": { "line": 268, "column": 23 }, "end": { "line": 268, "column": 39 } }, "extra": { "rawValue": "UNLOAD HANDLER", "raw": "\"UNLOAD HANDLER\"" }, "value": "UNLOAD HANDLER" }, { "type": "StringLiteral", "start": 9819, "end": 9825, "loc": { "start": { "line": 268, "column": 41 }, "end": { "line": 268, "column": 47 } }, "extra": { "rawValue": "#f77", "raw": "\"#f77\"" }, "value": "#f77" } ] } }, { "type": "ExpressionStatement", "start": 9841, "end": 9862, "loc": { "start": { "line": 269, "column": 12 }, "end": { "line": 269, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 9841, "end": 9861, "loc": { "start": { "line": 269, "column": 12 }, "end": { "line": 269, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9841, "end": 9854, "loc": { "start": { "line": 269, "column": 12 }, "end": { "line": 269, "column": 25 } }, "object": { "type": "ThisExpression", "start": 9841, "end": 9845, "loc": { "start": { "line": 269, "column": 12 }, "end": { "line": 269, "column": 16 } } }, "property": { "type": "Identifier", "start": 9846, "end": 9854, "loc": { "start": { "line": 269, "column": 17 }, "end": { "line": 269, "column": 25 }, "identifierName": "unloaded" }, "name": "unloaded" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9857, "end": 9861, "loc": { "start": { "line": 269, "column": 28 }, "end": { "line": 269, "column": 32 } }, "value": true } } }, { "type": "VariableDeclaration", "start": 9876, "end": 9929, "loc": { "start": { "line": 270, "column": 12 }, "end": { "line": 270, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9882, "end": 9928, "loc": { "start": { "line": 270, "column": 18 }, "end": { "line": 270, "column": 64 } }, "id": { "type": "Identifier", "start": 9882, "end": 9894, "loc": { "start": { "line": 270, "column": 18 }, "end": { "line": 270, "column": 30 }, "identifierName": "currentState" }, "name": "currentState" }, "init": { "type": "CallExpression", "start": 9897, "end": 9928, "loc": { "start": { "line": 270, "column": 33 }, "end": { "line": 270, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 9897, "end": 9926, "loc": { "start": { "line": 270, "column": 33 }, "end": { "line": 270, "column": 62 } }, "object": { "type": "MemberExpression", "start": 9897, "end": 9910, "loc": { "start": { "line": 270, "column": 33 }, "end": { "line": 270, "column": 46 } }, "object": { "type": "ThisExpression", "start": 9897, "end": 9901, "loc": { "start": { "line": 270, "column": 33 }, "end": { "line": 270, "column": 37 } } }, "property": { "type": "Identifier", "start": 9902, "end": 9910, "loc": { "start": { "line": 270, "column": 38 }, "end": { "line": 270, "column": 46 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 9911, "end": 9926, "loc": { "start": { "line": 270, "column": 47 }, "end": { "line": 270, "column": 62 }, "identifierName": "getCurrentState" }, "name": "getCurrentState" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 9943, "end": 10023, "loc": { "start": { "line": 271, "column": 12 }, "end": { "line": 273, "column": 13 } }, "test": { "type": "Identifier", "start": 9947, "end": 9959, "loc": { "start": { "line": 271, "column": 16 }, "end": { "line": 271, "column": 28 }, "identifierName": "currentState" }, "name": "currentState" }, "consequent": { "type": "BlockStatement", "start": 9961, "end": 10023, "loc": { "start": { "line": 271, "column": 30 }, "end": { "line": 273, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 9980, "end": 10008, "loc": { "start": { "line": 272, "column": 16 }, "end": { "line": 272, "column": 44 } }, "expression": { "type": "CallExpression", "start": 9980, "end": 10007, "loc": { "start": { "line": 272, "column": 16 }, "end": { "line": 272, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 9980, "end": 10005, "loc": { "start": { "line": 272, "column": 16 }, "end": { "line": 272, "column": 41 } }, "object": { "type": "Identifier", "start": 9980, "end": 9992, "loc": { "start": { "line": 272, "column": 16 }, "end": { "line": 272, "column": 28 }, "identifierName": "currentState" }, "name": "currentState" }, "property": { "type": "Identifier", "start": 9993, "end": 10005, "loc": { "start": { "line": 272, "column": 29 }, "end": { "line": 272, "column": 41 }, "identifierName": "onBeforeExit" }, "name": "onBeforeExit" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 10037, "end": 10057, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 32 } }, "expression": { "type": "CallExpression", "start": 10037, "end": 10056, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 10037, "end": 10054, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 29 } }, "object": { "type": "ThisExpression", "start": 10037, "end": 10041, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 16 } } }, "property": { "type": "Identifier", "start": 10042, "end": 10054, "loc": { "start": { "line": 274, "column": 17 }, "end": { "line": 274, "column": 29 }, "identifierName": "deinitialize" }, "name": "deinitialize" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal unload handler\r\n ", "start": 9678, "end": 9722, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal before-unload handler\r\n ", "start": 10083, "end": 10134, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 280, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 10140, "end": 10616, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 292, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10140, "end": 10154, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 18 }, "identifierName": "onBeforeUnload" }, "name": "onBeforeUnload", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10155, "end": 10160, "loc": { "start": { "line": 281, "column": 19 }, "end": { "line": 281, "column": 24 }, "identifierName": "event" }, "name": "event" } ], "body": { "type": "BlockStatement", "start": 10162, "end": 10616, "loc": { "start": { "line": 281, "column": 26 }, "end": { "line": 292, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10173, "end": 10217, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 52 } }, "expression": { "type": "CallExpression", "start": 10173, "end": 10216, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 51 } }, "callee": { "type": "Identifier", "start": 10173, "end": 10183, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 18 }, "identifierName": "logSection" }, "name": "logSection" }, "arguments": [ { "type": "StringLiteral", "start": 10184, "end": 10207, "loc": { "start": { "line": 282, "column": 19 }, "end": { "line": 282, "column": 42 } }, "extra": { "rawValue": "BEFORE UNLOAD HANDLER", "raw": "\"BEFORE UNLOAD HANDLER\"" }, "value": "BEFORE UNLOAD HANDLER" }, { "type": "StringLiteral", "start": 10209, "end": 10215, "loc": { "start": { "line": 282, "column": 44 }, "end": { "line": 282, "column": 50 } }, "extra": { "rawValue": "#f77", "raw": "\"#f77\"" }, "value": "#f77" } ] } }, { "type": "VariableDeclaration", "start": 10227, "end": 10280, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10233, "end": 10279, "loc": { "start": { "line": 283, "column": 14 }, "end": { "line": 283, "column": 60 } }, "id": { "type": "Identifier", "start": 10233, "end": 10245, "loc": { "start": { "line": 283, "column": 14 }, "end": { "line": 283, "column": 26 }, "identifierName": "currentState" }, "name": "currentState" }, "init": { "type": "CallExpression", "start": 10248, "end": 10279, "loc": { "start": { "line": 283, "column": 29 }, "end": { "line": 283, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 10248, "end": 10277, "loc": { "start": { "line": 283, "column": 29 }, "end": { "line": 283, "column": 58 } }, "object": { "type": "MemberExpression", "start": 10248, "end": 10261, "loc": { "start": { "line": 283, "column": 29 }, "end": { "line": 283, "column": 42 } }, "object": { "type": "ThisExpression", "start": 10248, "end": 10252, "loc": { "start": { "line": 283, "column": 29 }, "end": { "line": 283, "column": 33 } } }, "property": { "type": "Identifier", "start": 10253, "end": 10261, "loc": { "start": { "line": 283, "column": 34 }, "end": { "line": 283, "column": 42 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 10262, "end": 10277, "loc": { "start": { "line": 283, "column": 43 }, "end": { "line": 283, "column": 58 }, "identifierName": "getCurrentState" }, "name": "getCurrentState" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 10292, "end": 10609, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 291, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 10296, "end": 10364, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 80 } }, "left": { "type": "LogicalExpression", "start": 10296, "end": 10321, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 37 } }, "left": { "type": "UnaryExpression", "start": 10296, "end": 10305, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10297, "end": 10305, "loc": { "start": { "line": 285, "column": 13 }, "end": { "line": 285, "column": 21 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "Identifier", "start": 10309, "end": 10321, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 37 }, "identifierName": "currentState" }, "name": "currentState" } }, "operator": "&&", "right": { "type": "CallExpression", "start": 10325, "end": 10364, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 80 } }, "callee": { "type": "MemberExpression", "start": 10325, "end": 10362, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 78 } }, "object": { "type": "Identifier", "start": 10325, "end": 10337, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 53 }, "identifierName": "currentState" }, "name": "currentState" }, "property": { "type": "Identifier", "start": 10338, "end": 10362, "loc": { "start": { "line": 285, "column": 54 }, "end": { "line": 285, "column": 78 }, "identifierName": "getHasUnloadConfirmation" }, "name": "getHasUnloadConfirmation" }, "computed": false }, "arguments": [] } }, "consequent": { "type": "BlockStatement", "start": 10366, "end": 10609, "loc": { "start": { "line": 285, "column": 82 }, "end": { "line": 291, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 10381, "end": 10598, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 290, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 10385, "end": 10401, "loc": { "start": { "line": 286, "column": 16 }, "end": { "line": 286, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 10386, "end": 10401, "loc": { "start": { "line": 286, "column": 17 }, "end": { "line": 286, "column": 32 }, "identifierName": "G_IS_STANDALONE" }, "name": "G_IS_STANDALONE" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 10403, "end": 10598, "loc": { "start": { "line": 286, "column": 34 }, "end": { "line": 290, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 10489, "end": 10512, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 39 } }, "expression": { "type": "CallExpression", "start": 10489, "end": 10511, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 10489, "end": 10509, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 36 } }, "object": { "type": "Identifier", "start": 10489, "end": 10494, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 21 }, "identifierName": "event" }, "name": "event", "leadingComments": null }, "property": { "type": "Identifier", "start": 10495, "end": 10509, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 36 }, "identifierName": "preventDefault" }, "name": "preventDefault" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Need to show a \"Are you sure you want to exit\"", "start": 10422, "end": 10471, "loc": { "start": { "line": 287, "column": 16 }, "end": { "line": 287, "column": 65 } } } ] }, { "type": "ExpressionStatement", "start": 10530, "end": 10583, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 69 } }, "expression": { "type": "AssignmentExpression", "start": 10530, "end": 10582, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 68 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 10530, "end": 10547, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 33 } }, "object": { "type": "Identifier", "start": 10530, "end": 10535, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 21 }, "identifierName": "event" }, "name": "event" }, "property": { "type": "Identifier", "start": 10536, "end": 10547, "loc": { "start": { "line": 289, "column": 22 }, "end": { "line": 289, "column": 33 }, "identifierName": "returnValue" }, "name": "returnValue" }, "computed": false }, "right": { "type": "StringLiteral", "start": 10550, "end": 10582, "loc": { "start": { "line": 289, "column": 36 }, "end": { "line": 289, "column": 68 } }, "extra": { "rawValue": "Are you sure you want to exit?", "raw": "\"Are you sure you want to exit?\"" }, "value": "Are you sure you want to exit?" } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Internal before-unload handler\r\n ", "start": 10083, "end": 10134, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 280, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Boots the application\r\n ", "start": 10624, "end": 10666, "loc": { "start": { "line": 294, "column": 4 }, "end": { "line": 296, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 10672, "end": 11277, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 318, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10678, "end": 10682, "loc": { "start": { "line": 297, "column": 10 }, "end": { "line": 297, "column": 14 }, "identifierName": "boot" }, "name": "boot" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": true, "params": [], "body": { "type": "BlockStatement", "start": 10685, "end": 11277, "loc": { "start": { "line": 297, "column": 17 }, "end": { "line": 318, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 10696, "end": 10723, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 35 } }, "expression": { "type": "CallExpression", "start": 10696, "end": 10722, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 10696, "end": 10707, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 19 } }, "object": { "type": "Identifier", "start": 10696, "end": 10703, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 10704, "end": 10707, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10708, "end": 10721, "loc": { "start": { "line": 298, "column": 20 }, "end": { "line": 298, "column": 33 } }, "extra": { "rawValue": "Booting ...", "raw": "\"Booting ...\"" }, "value": "Booting ..." } ] } }, { "type": "ExpressionStatement", "start": 10735, "end": 10757, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 30 } }, "expression": { "type": "CallExpression", "start": 10735, "end": 10756, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 10735, "end": 10754, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 27 } }, "object": { "type": "ThisExpression", "start": 10735, "end": 10739, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 12 } } }, "property": { "type": "Identifier", "start": 10740, "end": 10754, "loc": { "start": { "line": 300, "column": 13 }, "end": { "line": 300, "column": 27 }, "identifierName": "registerStates" }, "name": "registerStates" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 10767, "end": 10797, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 38 } }, "expression": { "type": "CallExpression", "start": 10767, "end": 10796, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 10767, "end": 10794, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 35 } }, "object": { "type": "ThisExpression", "start": 10767, "end": 10771, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 12 } } }, "property": { "type": "Identifier", "start": 10772, "end": 10794, "loc": { "start": { "line": 301, "column": 13 }, "end": { "line": 301, "column": 35 }, "identifierName": "registerEventListeners" }, "name": "registerEventListeners" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 10809, "end": 10839, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 38 } }, "expression": { "type": "CallExpression", "start": 10809, "end": 10838, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 10809, "end": 10832, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 31 } }, "object": { "type": "Identifier", "start": 10809, "end": 10815, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 14 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 10816, "end": 10832, "loc": { "start": { "line": 303, "column": 15 }, "end": { "line": 303, "column": 31 }, "identifierName": "linkAppAfterBoot" }, "name": "linkAppAfterBoot" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 10833, "end": 10837, "loc": { "start": { "line": 303, "column": 32 }, "end": { "line": 303, "column": 36 } } } ] }, "trailingComments": [ { "type": "CommentLine", "value": " Check for mobile", "start": 10851, "end": 10870, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 27 } } } ] }, { "type": "IfStatement", "start": 10880, "end": 11043, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 310, "column": 9 } }, "test": { "type": "Identifier", "start": 10884, "end": 10893, "loc": { "start": { "line": 306, "column": 12 }, "end": { "line": 306, "column": 21 }, "identifierName": "IS_MOBILE" }, "name": "IS_MOBILE", "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 10895, "end": 10969, "loc": { "start": { "line": 306, "column": 23 }, "end": { "line": 308, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 10910, "end": 10958, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 60 } }, "expression": { "type": "CallExpression", "start": 10910, "end": 10957, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 10910, "end": 10935, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10910, "end": 10923, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 25 } }, "object": { "type": "ThisExpression", "start": 10910, "end": 10914, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 16 } } }, "property": { "type": "Identifier", "start": 10915, "end": 10923, "loc": { "start": { "line": 307, "column": 17 }, "end": { "line": 307, "column": 25 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 10924, "end": 10935, "loc": { "start": { "line": 307, "column": 26 }, "end": { "line": 307, "column": 37 }, "identifierName": "moveToState" }, "name": "moveToState" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 10936, "end": 10956, "loc": { "start": { "line": 307, "column": 38 }, "end": { "line": 307, "column": 58 } }, "extra": { "rawValue": "MobileWarningState", "raw": "\"MobileWarningState\"" }, "value": "MobileWarningState" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 10975, "end": 11043, "loc": { "start": { "line": 308, "column": 15 }, "end": { "line": 310, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 10990, "end": 11032, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 54 } }, "expression": { "type": "CallExpression", "start": 10990, "end": 11031, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 10990, "end": 11015, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10990, "end": 11003, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 25 } }, "object": { "type": "ThisExpression", "start": 10990, "end": 10994, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 16 } } }, "property": { "type": "Identifier", "start": 10995, "end": 11003, "loc": { "start": { "line": 309, "column": 17 }, "end": { "line": 309, "column": 25 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 11004, "end": 11015, "loc": { "start": { "line": 309, "column": 26 }, "end": { "line": 309, "column": 37 }, "identifierName": "moveToState" }, "name": "moveToState" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 11016, "end": 11030, "loc": { "start": { "line": 309, "column": 38 }, "end": { "line": 309, "column": 52 } }, "extra": { "rawValue": "PreloadState", "raw": "\"PreloadState\"" }, "value": "PreloadState" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Check for mobile", "start": 10851, "end": 10870, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 27 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Starting rendering", "start": 11055, "end": 11076, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 11086, "end": 11142, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 64 } }, "expression": { "type": "CallExpression", "start": 11086, "end": 11141, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 11086, "end": 11114, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11086, "end": 11110, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 32 } }, "object": { "type": "MemberExpression", "start": 11086, "end": 11097, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11086, "end": 11090, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 11091, "end": 11097, "loc": { "start": { "line": 313, "column": 13 }, "end": { "line": 313, "column": 19 }, "identifierName": "ticker" }, "name": "ticker" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11098, "end": 11110, "loc": { "start": { "line": 313, "column": 20 }, "end": { "line": 313, "column": 32 }, "identifierName": "frameEmitted" }, "name": "frameEmitted" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 11111, "end": 11114, "loc": { "start": { "line": 313, "column": 33 }, "end": { "line": 313, "column": 36 }, "identifierName": "add" }, "name": "add" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 11115, "end": 11134, "loc": { "start": { "line": 313, "column": 37 }, "end": { "line": 313, "column": 56 } }, "object": { "type": "ThisExpression", "start": 11115, "end": 11119, "loc": { "start": { "line": 313, "column": 37 }, "end": { "line": 313, "column": 41 } } }, "property": { "type": "Identifier", "start": 11120, "end": 11134, "loc": { "start": { "line": 313, "column": 42 }, "end": { "line": 313, "column": 56 }, "identifierName": "onFrameEmitted" }, "name": "onFrameEmitted" }, "computed": false }, { "type": "ThisExpression", "start": 11136, "end": 11140, "loc": { "start": { "line": 313, "column": 58 }, "end": { "line": 313, "column": 62 } } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Starting rendering", "start": 11055, "end": 11076, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 29 } } } ] }, { "type": "ExpressionStatement", "start": 11152, "end": 11213, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 69 } }, "expression": { "type": "CallExpression", "start": 11152, "end": 11212, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 11152, "end": 11182, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11152, "end": 11178, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 34 } }, "object": { "type": "MemberExpression", "start": 11152, "end": 11163, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11152, "end": 11156, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 12 } } }, "property": { "type": "Identifier", "start": 11157, "end": 11163, "loc": { "start": { "line": 314, "column": 13 }, "end": { "line": 314, "column": 19 }, "identifierName": "ticker" }, "name": "ticker" }, "computed": false }, "property": { "type": "Identifier", "start": 11164, "end": 11178, "loc": { "start": { "line": 314, "column": 20 }, "end": { "line": 314, "column": 34 }, "identifierName": "bgFrameEmitted" }, "name": "bgFrameEmitted" }, "computed": false }, "property": { "type": "Identifier", "start": 11179, "end": 11182, "loc": { "start": { "line": 314, "column": 35 }, "end": { "line": 314, "column": 38 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 11183, "end": 11205, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 61 } }, "object": { "type": "ThisExpression", "start": 11183, "end": 11187, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 43 } } }, "property": { "type": "Identifier", "start": 11188, "end": 11205, "loc": { "start": { "line": 314, "column": 44 }, "end": { "line": 314, "column": 61 }, "identifierName": "onBackgroundFrame" }, "name": "onBackgroundFrame" }, "computed": false }, { "type": "ThisExpression", "start": 11207, "end": 11211, "loc": { "start": { "line": 314, "column": 63 }, "end": { "line": 314, "column": 67 } } } ] } }, { "type": "ExpressionStatement", "start": 11223, "end": 11243, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 28 } }, "expression": { "type": "CallExpression", "start": 11223, "end": 11242, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 11223, "end": 11240, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 25 } }, "object": { "type": "MemberExpression", "start": 11223, "end": 11234, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 19 } }, "object": { "type": "ThisExpression", "start": 11223, "end": 11227, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 12 } } }, "property": { "type": "Identifier", "start": 11228, "end": 11234, "loc": { "start": { "line": 315, "column": 13 }, "end": { "line": 315, "column": 19 }, "identifierName": "ticker" }, "name": "ticker" }, "computed": false }, "property": { "type": "Identifier", "start": 11235, "end": 11240, "loc": { "start": { "line": 315, "column": 20 }, "end": { "line": 315, "column": 25 }, "identifierName": "start" }, "name": "start" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 11255, "end": 11270, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 23 } }, "expression": { "type": "CallExpression", "start": 11255, "end": 11269, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 11255, "end": 11267, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 20 } }, "object": { "type": "Identifier", "start": 11255, "end": 11261, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 14 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 11262, "end": 11267, "loc": { "start": { "line": 317, "column": 15 }, "end": { "line": 317, "column": 20 }, "identifierName": "focus" }, "name": "focus" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Boots the application\r\n ", "start": 10624, "end": 10666, "loc": { "start": { "line": 294, "column": 4 }, "end": { "line": 296, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deinitializes the application\r\n ", "start": 11285, "end": 11335, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 11341, "end": 11407, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11341, "end": 11353, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 323, "column": 16 }, "identifierName": "deinitialize" }, "name": "deinitialize", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 11356, "end": 11407, "loc": { "start": { "line": 323, "column": 19 }, "end": { "line": 325, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 11367, "end": 11400, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 41 } }, "argument": { "type": "CallExpression", "start": 11374, "end": 11399, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 11374, "end": 11397, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 38 } }, "object": { "type": "MemberExpression", "start": 11374, "end": 11384, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 25 } }, "object": { "type": "ThisExpression", "start": 11374, "end": 11378, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 19 } } }, "property": { "type": "Identifier", "start": 11379, "end": 11384, "loc": { "start": { "line": 324, "column": 20 }, "end": { "line": 324, "column": 25 }, "identifierName": "sound" }, "name": "sound" }, "computed": false }, "property": { "type": "Identifier", "start": 11385, "end": 11397, "loc": { "start": { "line": 324, "column": 26 }, "end": { "line": 324, "column": 38 }, "identifierName": "deinitialize" }, "name": "deinitialize" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Deinitializes the application\r\n ", "start": 11285, "end": 11335, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Background frame update callback\r\n * @param {number} dt\r\n ", "start": 11415, "end": 11495, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 330, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 11501, "end": 11752, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 340, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11501, "end": 11518, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 21 }, "identifierName": "onBackgroundFrame" }, "name": "onBackgroundFrame", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11519, "end": 11521, "loc": { "start": { "line": 331, "column": 22 }, "end": { "line": 331, "column": 24 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 11523, "end": 11752, "loc": { "start": { "line": 331, "column": 26 }, "end": { "line": 340, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 11534, "end": 11592, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 334, "column": 9 } }, "test": { "type": "CallExpression", "start": 11538, "end": 11557, "loc": { "start": { "line": 332, "column": 12 }, "end": { "line": 332, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 11538, "end": 11555, "loc": { "start": { "line": 332, "column": 12 }, "end": { "line": 332, "column": 29 } }, "object": { "type": "ThisExpression", "start": 11538, "end": 11542, "loc": { "start": { "line": 332, "column": 12 }, "end": { "line": 332, "column": 16 } } }, "property": { "type": "Identifier", "start": 11543, "end": 11555, "loc": { "start": { "line": 332, "column": 17 }, "end": { "line": 332, "column": 29 }, "identifierName": "isRenderable" }, "name": "isRenderable" }, "computed": false }, "arguments": [] }, "consequent": { "type": "BlockStatement", "start": 11559, "end": 11592, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 334, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 11574, "end": 11581, "loc": { "start": { "line": 333, "column": 12 }, "end": { "line": 333, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 11604, "end": 11657, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11610, "end": 11656, "loc": { "start": { "line": 336, "column": 14 }, "end": { "line": 336, "column": 60 } }, "id": { "type": "Identifier", "start": 11610, "end": 11622, "loc": { "start": { "line": 336, "column": 14 }, "end": { "line": 336, "column": 26 }, "identifierName": "currentState" }, "name": "currentState" }, "init": { "type": "CallExpression", "start": 11625, "end": 11656, "loc": { "start": { "line": 336, "column": 29 }, "end": { "line": 336, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 11625, "end": 11654, "loc": { "start": { "line": 336, "column": 29 }, "end": { "line": 336, "column": 58 } }, "object": { "type": "MemberExpression", "start": 11625, "end": 11638, "loc": { "start": { "line": 336, "column": 29 }, "end": { "line": 336, "column": 42 } }, "object": { "type": "ThisExpression", "start": 11625, "end": 11629, "loc": { "start": { "line": 336, "column": 29 }, "end": { "line": 336, "column": 33 } } }, "property": { "type": "Identifier", "start": 11630, "end": 11638, "loc": { "start": { "line": 336, "column": 34 }, "end": { "line": 336, "column": 42 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 11639, "end": 11654, "loc": { "start": { "line": 336, "column": 43 }, "end": { "line": 336, "column": 58 }, "identifierName": "getCurrentState" }, "name": "getCurrentState" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 11667, "end": 11745, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 339, "column": 9 } }, "test": { "type": "Identifier", "start": 11671, "end": 11683, "loc": { "start": { "line": 337, "column": 12 }, "end": { "line": 337, "column": 24 }, "identifierName": "currentState" }, "name": "currentState" }, "consequent": { "type": "BlockStatement", "start": 11685, "end": 11745, "loc": { "start": { "line": 337, "column": 26 }, "end": { "line": 339, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 11700, "end": 11734, "loc": { "start": { "line": 338, "column": 12 }, "end": { "line": 338, "column": 46 } }, "expression": { "type": "CallExpression", "start": 11700, "end": 11733, "loc": { "start": { "line": 338, "column": 12 }, "end": { "line": 338, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 11700, "end": 11729, "loc": { "start": { "line": 338, "column": 12 }, "end": { "line": 338, "column": 41 } }, "object": { "type": "Identifier", "start": 11700, "end": 11712, "loc": { "start": { "line": 338, "column": 12 }, "end": { "line": 338, "column": 24 }, "identifierName": "currentState" }, "name": "currentState" }, "property": { "type": "Identifier", "start": 11713, "end": 11729, "loc": { "start": { "line": 338, "column": 25 }, "end": { "line": 338, "column": 41 }, "identifierName": "onBackgroundTick" }, "name": "onBackgroundTick" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 11730, "end": 11732, "loc": { "start": { "line": 338, "column": 42 }, "end": { "line": 338, "column": 44 }, "identifierName": "dt" }, "name": "dt" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Background frame update callback\r\n * @param {number} dt\r\n ", "start": 11415, "end": 11495, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 330, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Frame update callback\r\n * @param {number} dt\r\n ", "start": 11760, "end": 11829, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 345, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 11835, "end": 12390, "loc": { "start": { "line": 346, "column": 4 }, "end": { "line": 363, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11835, "end": 11849, "loc": { "start": { "line": 346, "column": 4 }, "end": { "line": 346, "column": 18 }, "identifierName": "onFrameEmitted" }, "name": "onFrameEmitted", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11850, "end": 11852, "loc": { "start": { "line": 346, "column": 19 }, "end": { "line": 346, "column": 21 }, "identifierName": "dt" }, "name": "dt" } ], "body": { "type": "BlockStatement", "start": 11854, "end": 12390, "loc": { "start": { "line": 346, "column": 23 }, "end": { "line": 363, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 11865, "end": 11924, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 349, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 11869, "end": 11889, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 32 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 11870, "end": 11889, "loc": { "start": { "line": 347, "column": 13 }, "end": { "line": 347, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 11870, "end": 11887, "loc": { "start": { "line": 347, "column": 13 }, "end": { "line": 347, "column": 30 } }, "object": { "type": "ThisExpression", "start": 11870, "end": 11874, "loc": { "start": { "line": 347, "column": 13 }, "end": { "line": 347, "column": 17 } } }, "property": { "type": "Identifier", "start": 11875, "end": 11887, "loc": { "start": { "line": 347, "column": 18 }, "end": { "line": 347, "column": 30 }, "identifierName": "isRenderable" }, "name": "isRenderable" }, "computed": false }, "arguments": [] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 11891, "end": 11924, "loc": { "start": { "line": 347, "column": 34 }, "end": { "line": 349, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 11906, "end": 11913, "loc": { "start": { "line": 348, "column": 12 }, "end": { "line": 348, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 11936, "end": 11967, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11942, "end": 11966, "loc": { "start": { "line": 351, "column": 14 }, "end": { "line": 351, "column": 38 } }, "id": { "type": "Identifier", "start": 11942, "end": 11946, "loc": { "start": { "line": 351, "column": 14 }, "end": { "line": 351, "column": 18 }, "identifierName": "time" }, "name": "time" }, "init": { "type": "CallExpression", "start": 11949, "end": 11966, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 11949, "end": 11964, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 36 } }, "object": { "type": "Identifier", "start": 11949, "end": 11960, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 32 }, "identifierName": "performance" }, "name": "performance" }, "property": { "type": "Identifier", "start": 11961, "end": 11964, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 36 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Periodically check for resizes, this is expensive (takes 2-3ms so only do it once in a while!)", "start": 11979, "end": 12076, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 105 } } } ] }, { "type": "IfStatement", "start": 12086, "end": 12238, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 357, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 12090, "end": 12149, "loc": { "start": { "line": 354, "column": 12 }, "end": { "line": 354, "column": 71 } }, "left": { "type": "UnaryExpression", "start": 12090, "end": 12111, "loc": { "start": { "line": 354, "column": 12 }, "end": { "line": 354, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 12091, "end": 12111, "loc": { "start": { "line": 354, "column": 13 }, "end": { "line": 354, "column": 33 } }, "object": { "type": "ThisExpression", "start": 12091, "end": 12095, "loc": { "start": { "line": 354, "column": 13 }, "end": { "line": 354, "column": 17 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 12096, "end": 12111, "loc": { "start": { "line": 354, "column": 18 }, "end": { "line": 354, "column": 33 }, "identifierName": "lastResizeCheck" }, "name": "lastResizeCheck" }, "computed": false, "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "operator": "||", "right": { "type": "BinaryExpression", "start": 12115, "end": 12149, "loc": { "start": { "line": 354, "column": 37 }, "end": { "line": 354, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 12115, "end": 12142, "loc": { "start": { "line": 354, "column": 37 }, "end": { "line": 354, "column": 64 } }, "left": { "type": "Identifier", "start": 12115, "end": 12119, "loc": { "start": { "line": 354, "column": 37 }, "end": { "line": 354, "column": 41 }, "identifierName": "time" }, "name": "time" }, "operator": "-", "right": { "type": "MemberExpression", "start": 12122, "end": 12142, "loc": { "start": { "line": 354, "column": 44 }, "end": { "line": 354, "column": 64 } }, "object": { "type": "ThisExpression", "start": 12122, "end": 12126, "loc": { "start": { "line": 354, "column": 44 }, "end": { "line": 354, "column": 48 } } }, "property": { "type": "Identifier", "start": 12127, "end": 12142, "loc": { "start": { "line": 354, "column": 49 }, "end": { "line": 354, "column": 64 }, "identifierName": "lastResizeCheck" }, "name": "lastResizeCheck" }, "computed": false } }, "operator": ">", "right": { "type": "NumericLiteral", "start": 12145, "end": 12149, "loc": { "start": { "line": 354, "column": 67 }, "end": { "line": 354, "column": 71 } }, "extra": { "rawValue": 1000, "raw": "1000" }, "value": 1000 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 12151, "end": 12238, "loc": { "start": { "line": 354, "column": 73 }, "end": { "line": 357, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12166, "end": 12185, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 31 } }, "expression": { "type": "CallExpression", "start": 12166, "end": 12184, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 12166, "end": 12182, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 28 } }, "object": { "type": "ThisExpression", "start": 12166, "end": 12170, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 16 } } }, "property": { "type": "Identifier", "start": 12171, "end": 12182, "loc": { "start": { "line": 355, "column": 17 }, "end": { "line": 355, "column": 28 }, "identifierName": "checkResize" }, "name": "checkResize" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 12199, "end": 12227, "loc": { "start": { "line": 356, "column": 12 }, "end": { "line": 356, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 12199, "end": 12226, "loc": { "start": { "line": 356, "column": 12 }, "end": { "line": 356, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12199, "end": 12219, "loc": { "start": { "line": 356, "column": 12 }, "end": { "line": 356, "column": 32 } }, "object": { "type": "ThisExpression", "start": 12199, "end": 12203, "loc": { "start": { "line": 356, "column": 12 }, "end": { "line": 356, "column": 16 } } }, "property": { "type": "Identifier", "start": 12204, "end": 12219, "loc": { "start": { "line": 356, "column": 17 }, "end": { "line": 356, "column": 32 }, "identifierName": "lastResizeCheck" }, "name": "lastResizeCheck" }, "computed": false }, "right": { "type": "Identifier", "start": 12222, "end": 12226, "loc": { "start": { "line": 356, "column": 35 }, "end": { "line": 356, "column": 39 }, "identifierName": "time" }, "name": "time" } } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Periodically check for resizes, this is expensive (takes 2-3ms so only do it once in a while!)", "start": 11979, "end": 12076, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 105 } } } ] }, { "type": "VariableDeclaration", "start": 12250, "end": 12303, "loc": { "start": { "line": 359, "column": 8 }, "end": { "line": 359, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12256, "end": 12302, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 60 } }, "id": { "type": "Identifier", "start": 12256, "end": 12268, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 26 }, "identifierName": "currentState" }, "name": "currentState" }, "init": { "type": "CallExpression", "start": 12271, "end": 12302, "loc": { "start": { "line": 359, "column": 29 }, "end": { "line": 359, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 12271, "end": 12300, "loc": { "start": { "line": 359, "column": 29 }, "end": { "line": 359, "column": 58 } }, "object": { "type": "MemberExpression", "start": 12271, "end": 12284, "loc": { "start": { "line": 359, "column": 29 }, "end": { "line": 359, "column": 42 } }, "object": { "type": "ThisExpression", "start": 12271, "end": 12275, "loc": { "start": { "line": 359, "column": 29 }, "end": { "line": 359, "column": 33 } } }, "property": { "type": "Identifier", "start": 12276, "end": 12284, "loc": { "start": { "line": 359, "column": 34 }, "end": { "line": 359, "column": 42 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 12285, "end": 12300, "loc": { "start": { "line": 359, "column": 43 }, "end": { "line": 359, "column": 58 }, "identifierName": "getCurrentState" }, "name": "getCurrentState" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 12313, "end": 12383, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 362, "column": 9 } }, "test": { "type": "Identifier", "start": 12317, "end": 12329, "loc": { "start": { "line": 360, "column": 12 }, "end": { "line": 360, "column": 24 }, "identifierName": "currentState" }, "name": "currentState" }, "consequent": { "type": "BlockStatement", "start": 12331, "end": 12383, "loc": { "start": { "line": 360, "column": 26 }, "end": { "line": 362, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12346, "end": 12372, "loc": { "start": { "line": 361, "column": 12 }, "end": { "line": 361, "column": 38 } }, "expression": { "type": "CallExpression", "start": 12346, "end": 12371, "loc": { "start": { "line": 361, "column": 12 }, "end": { "line": 361, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 12346, "end": 12367, "loc": { "start": { "line": 361, "column": 12 }, "end": { "line": 361, "column": 33 } }, "object": { "type": "Identifier", "start": 12346, "end": 12358, "loc": { "start": { "line": 361, "column": 12 }, "end": { "line": 361, "column": 24 }, "identifierName": "currentState" }, "name": "currentState" }, "property": { "type": "Identifier", "start": 12359, "end": 12367, "loc": { "start": { "line": 361, "column": 25 }, "end": { "line": 361, "column": 33 }, "identifierName": "onRender" }, "name": "onRender" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 12368, "end": 12370, "loc": { "start": { "line": 361, "column": 34 }, "end": { "line": 361, "column": 36 }, "identifierName": "dt" }, "name": "dt" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Frame update callback\r\n * @param {number} dt\r\n ", "start": 11760, "end": 11829, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 345, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if the app resized. Only does this once in a while\r\n * @param {boolean} forceUpdate Forced update of the dimensions\r\n ", "start": 12398, "end": 12545, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 368, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 12551, "end": 13222, "loc": { "start": { "line": 369, "column": 4 }, "end": { "line": 384, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12551, "end": 12562, "loc": { "start": { "line": 369, "column": 4 }, "end": { "line": 369, "column": 15 }, "identifierName": "checkResize" }, "name": "checkResize", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "AssignmentPattern", "start": 12563, "end": 12582, "loc": { "start": { "line": 369, "column": 16 }, "end": { "line": 369, "column": 35 } }, "left": { "type": "Identifier", "start": 12563, "end": 12574, "loc": { "start": { "line": 369, "column": 16 }, "end": { "line": 369, "column": 27 }, "identifierName": "forceUpdate" }, "name": "forceUpdate" }, "right": { "type": "BooleanLiteral", "start": 12577, "end": 12582, "loc": { "start": { "line": 369, "column": 30 }, "end": { "line": 369, "column": 35 } }, "value": false } } ], "body": { "type": "BlockStatement", "start": 12584, "end": 13222, "loc": { "start": { "line": 369, "column": 37 }, "end": { "line": 384, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 12595, "end": 12623, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12601, "end": 12622, "loc": { "start": { "line": 370, "column": 14 }, "end": { "line": 370, "column": 35 } }, "id": { "type": "Identifier", "start": 12601, "end": 12602, "loc": { "start": { "line": 370, "column": 14 }, "end": { "line": 370, "column": 15 }, "identifierName": "w" }, "name": "w" }, "init": { "type": "MemberExpression", "start": 12605, "end": 12622, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 35 } }, "object": { "type": "Identifier", "start": 12605, "end": 12611, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 24 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 12612, "end": 12622, "loc": { "start": { "line": 370, "column": 25 }, "end": { "line": 370, "column": 35 }, "identifierName": "innerWidth" }, "name": "innerWidth" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 12633, "end": 12662, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12639, "end": 12661, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 36 } }, "id": { "type": "Identifier", "start": 12639, "end": 12640, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 15 }, "identifierName": "h" }, "name": "h" }, "init": { "type": "MemberExpression", "start": 12643, "end": 12661, "loc": { "start": { "line": 371, "column": 18 }, "end": { "line": 371, "column": 36 } }, "object": { "type": "Identifier", "start": 12643, "end": 12649, "loc": { "start": { "line": 371, "column": 18 }, "end": { "line": 371, "column": 24 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 12650, "end": 12661, "loc": { "start": { "line": 371, "column": 25 }, "end": { "line": 371, "column": 36 }, "identifierName": "innerHeight" }, "name": "innerHeight" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 12672, "end": 13215, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 383, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 12676, "end": 12740, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 76 } }, "left": { "type": "LogicalExpression", "start": 12676, "end": 12725, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 61 } }, "left": { "type": "BinaryExpression", "start": 12676, "end": 12698, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 34 } }, "left": { "type": "MemberExpression", "start": 12676, "end": 12692, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 28 } }, "object": { "type": "ThisExpression", "start": 12676, "end": 12680, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 16 } } }, "property": { "type": "Identifier", "start": 12681, "end": 12692, "loc": { "start": { "line": 372, "column": 17 }, "end": { "line": 372, "column": 28 }, "identifierName": "screenWidth" }, "name": "screenWidth" }, "computed": false }, "operator": "!==", "right": { "type": "Identifier", "start": 12697, "end": 12698, "loc": { "start": { "line": 372, "column": 33 }, "end": { "line": 372, "column": 34 }, "identifierName": "w" }, "name": "w" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 12702, "end": 12725, "loc": { "start": { "line": 372, "column": 38 }, "end": { "line": 372, "column": 61 } }, "left": { "type": "MemberExpression", "start": 12702, "end": 12719, "loc": { "start": { "line": 372, "column": 38 }, "end": { "line": 372, "column": 55 } }, "object": { "type": "ThisExpression", "start": 12702, "end": 12706, "loc": { "start": { "line": 372, "column": 38 }, "end": { "line": 372, "column": 42 } } }, "property": { "type": "Identifier", "start": 12707, "end": 12719, "loc": { "start": { "line": 372, "column": 43 }, "end": { "line": 372, "column": 55 }, "identifierName": "screenHeight" }, "name": "screenHeight" }, "computed": false }, "operator": "!==", "right": { "type": "Identifier", "start": 12724, "end": 12725, "loc": { "start": { "line": 372, "column": 60 }, "end": { "line": 372, "column": 61 }, "identifierName": "h" }, "name": "h" } } }, "operator": "||", "right": { "type": "Identifier", "start": 12729, "end": 12740, "loc": { "start": { "line": 372, "column": 65 }, "end": { "line": 372, "column": 76 }, "identifierName": "forceUpdate" }, "name": "forceUpdate" } }, "consequent": { "type": "BlockStatement", "start": 12742, "end": 13215, "loc": { "start": { "line": 372, "column": 78 }, "end": { "line": 383, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12757, "end": 12778, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 12757, "end": 12777, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12757, "end": 12773, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 28 } }, "object": { "type": "ThisExpression", "start": 12757, "end": 12761, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 16 } } }, "property": { "type": "Identifier", "start": 12762, "end": 12773, "loc": { "start": { "line": 373, "column": 17 }, "end": { "line": 373, "column": 28 }, "identifierName": "screenWidth" }, "name": "screenWidth" }, "computed": false }, "right": { "type": "Identifier", "start": 12776, "end": 12777, "loc": { "start": { "line": 373, "column": 31 }, "end": { "line": 373, "column": 32 }, "identifierName": "w" }, "name": "w" } } }, { "type": "ExpressionStatement", "start": 12792, "end": 12814, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 12792, "end": 12813, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12792, "end": 12809, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 29 } }, "object": { "type": "ThisExpression", "start": 12792, "end": 12796, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 16 } } }, "property": { "type": "Identifier", "start": 12797, "end": 12809, "loc": { "start": { "line": 374, "column": 17 }, "end": { "line": 374, "column": 29 }, "identifierName": "screenHeight" }, "name": "screenHeight" }, "computed": false }, "right": { "type": "Identifier", "start": 12812, "end": 12813, "loc": { "start": { "line": 374, "column": 32 }, "end": { "line": 374, "column": 33 }, "identifierName": "h" }, "name": "h" } } }, { "type": "VariableDeclaration", "start": 12828, "end": 12881, "loc": { "start": { "line": 375, "column": 12 }, "end": { "line": 375, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 12834, "end": 12880, "loc": { "start": { "line": 375, "column": 18 }, "end": { "line": 375, "column": 64 } }, "id": { "type": "Identifier", "start": 12834, "end": 12846, "loc": { "start": { "line": 375, "column": 18 }, "end": { "line": 375, "column": 30 }, "identifierName": "currentState" }, "name": "currentState" }, "init": { "type": "CallExpression", "start": 12849, "end": 12880, "loc": { "start": { "line": 375, "column": 33 }, "end": { "line": 375, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 12849, "end": 12878, "loc": { "start": { "line": 375, "column": 33 }, "end": { "line": 375, "column": 62 } }, "object": { "type": "MemberExpression", "start": 12849, "end": 12862, "loc": { "start": { "line": 375, "column": 33 }, "end": { "line": 375, "column": 46 } }, "object": { "type": "ThisExpression", "start": 12849, "end": 12853, "loc": { "start": { "line": 375, "column": 33 }, "end": { "line": 375, "column": 37 } } }, "property": { "type": "Identifier", "start": 12854, "end": 12862, "loc": { "start": { "line": 375, "column": 38 }, "end": { "line": 375, "column": 46 }, "identifierName": "stateMgr" }, "name": "stateMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 12863, "end": 12878, "loc": { "start": { "line": 375, "column": 47 }, "end": { "line": 375, "column": 62 }, "identifierName": "getCurrentState" }, "name": "getCurrentState" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 12895, "end": 13007, "loc": { "start": { "line": 376, "column": 12 }, "end": { "line": 378, "column": 13 } }, "test": { "type": "Identifier", "start": 12899, "end": 12911, "loc": { "start": { "line": 376, "column": 16 }, "end": { "line": 376, "column": 28 }, "identifierName": "currentState" }, "name": "currentState" }, "consequent": { "type": "BlockStatement", "start": 12913, "end": 13007, "loc": { "start": { "line": 376, "column": 30 }, "end": { "line": 378, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 12932, "end": 12992, "loc": { "start": { "line": 377, "column": 16 }, "end": { "line": 377, "column": 76 } }, "expression": { "type": "CallExpression", "start": 12932, "end": 12991, "loc": { "start": { "line": 377, "column": 16 }, "end": { "line": 377, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 12932, "end": 12954, "loc": { "start": { "line": 377, "column": 16 }, "end": { "line": 377, "column": 38 } }, "object": { "type": "Identifier", "start": 12932, "end": 12944, "loc": { "start": { "line": 377, "column": 16 }, "end": { "line": 377, "column": 28 }, "identifierName": "currentState" }, "name": "currentState" }, "property": { "type": "Identifier", "start": 12945, "end": 12954, "loc": { "start": { "line": 377, "column": 29 }, "end": { "line": 377, "column": 38 }, "identifierName": "onResized" }, "name": "onResized" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 12955, "end": 12971, "loc": { "start": { "line": 377, "column": 39 }, "end": { "line": 377, "column": 55 } }, "object": { "type": "ThisExpression", "start": 12955, "end": 12959, "loc": { "start": { "line": 377, "column": 39 }, "end": { "line": 377, "column": 43 } } }, "property": { "type": "Identifier", "start": 12960, "end": 12971, "loc": { "start": { "line": 377, "column": 44 }, "end": { "line": 377, "column": 55 }, "identifierName": "screenWidth" }, "name": "screenWidth" }, "computed": false }, { "type": "MemberExpression", "start": 12973, "end": 12990, "loc": { "start": { "line": 377, "column": 57 }, "end": { "line": 377, "column": 74 } }, "object": { "type": "ThisExpression", "start": 12973, "end": 12977, "loc": { "start": { "line": 377, "column": 57 }, "end": { "line": 377, "column": 61 } } }, "property": { "type": "Identifier", "start": 12978, "end": 12990, "loc": { "start": { "line": 377, "column": 62 }, "end": { "line": 377, "column": 74 }, "identifierName": "screenHeight" }, "name": "screenHeight" }, "computed": false } ] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 13023, "end": 13064, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13029, "end": 13063, "loc": { "start": { "line": 380, "column": 18 }, "end": { "line": 380, "column": 52 } }, "id": { "type": "Identifier", "start": 13029, "end": 13034, "loc": { "start": { "line": 380, "column": 18 }, "end": { "line": 380, "column": 23 }, "identifierName": "scale" }, "name": "scale" }, "init": { "type": "CallExpression", "start": 13037, "end": 13063, "loc": { "start": { "line": 380, "column": 26 }, "end": { "line": 380, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 13037, "end": 13061, "loc": { "start": { "line": 380, "column": 26 }, "end": { "line": 380, "column": 50 } }, "object": { "type": "ThisExpression", "start": 13037, "end": 13041, "loc": { "start": { "line": 380, "column": 26 }, "end": { "line": 380, "column": 30 } } }, "property": { "type": "Identifier", "start": 13042, "end": 13061, "loc": { "start": { "line": 380, "column": 31 }, "end": { "line": 380, "column": 50 }, "identifierName": "getEffectiveUiScale" }, "name": "getEffectiveUiScale" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 13078, "end": 13175, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 109 } }, "expression": { "type": "CallExpression", "start": 13078, "end": 13174, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 108 } }, "callee": { "type": "MemberExpression", "start": 13078, "end": 13098, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 32 } }, "object": { "type": "CallExpression", "start": 13078, "end": 13093, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 27 } }, "callee": { "type": "Identifier", "start": 13078, "end": 13091, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 25 }, "identifierName": "waitNextFrame" }, "name": "waitNextFrame" }, "arguments": [] }, "property": { "type": "Identifier", "start": 13094, "end": 13098, "loc": { "start": { "line": 381, "column": 28 }, "end": { "line": 381, "column": 32 }, "identifierName": "then" }, "name": "then" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 13099, "end": 13173, "loc": { "start": { "line": 381, "column": 33 }, "end": { "line": 381, "column": 107 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [], "body": { "type": "CallExpression", "start": 13105, "end": 13173, "loc": { "start": { "line": 381, "column": 39 }, "end": { "line": 381, "column": 107 } }, "callee": { "type": "MemberExpression", "start": 13105, "end": 13147, "loc": { "start": { "line": 381, "column": 39 }, "end": { "line": 381, "column": 81 } }, "object": { "type": "MemberExpression", "start": 13105, "end": 13135, "loc": { "start": { "line": 381, "column": 39 }, "end": { "line": 381, "column": 69 } }, "object": { "type": "MemberExpression", "start": 13105, "end": 13129, "loc": { "start": { "line": 381, "column": 39 }, "end": { "line": 381, "column": 63 } }, "object": { "type": "Identifier", "start": 13105, "end": 13113, "loc": { "start": { "line": 381, "column": 39 }, "end": { "line": 381, "column": 47 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 13114, "end": 13129, "loc": { "start": { "line": 381, "column": 48 }, "end": { "line": 381, "column": 63 }, "identifierName": "documentElement" }, "name": "documentElement" }, "computed": false }, "property": { "type": "Identifier", "start": 13130, "end": 13135, "loc": { "start": { "line": 381, "column": 64 }, "end": { "line": 381, "column": 69 }, "identifierName": "style" }, "name": "style" }, "computed": false }, "property": { "type": "Identifier", "start": 13136, "end": 13147, "loc": { "start": { "line": 381, "column": 70 }, "end": { "line": 381, "column": 81 }, "identifierName": "setProperty" }, "name": "setProperty" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13148, "end": 13160, "loc": { "start": { "line": 381, "column": 82 }, "end": { "line": 381, "column": 94 } }, "extra": { "rawValue": "--ui-scale", "raw": "\"--ui-scale\"" }, "value": "--ui-scale" }, { "type": "TemplateLiteral", "start": 13162, "end": 13172, "loc": { "start": { "line": 381, "column": 96 }, "end": { "line": 381, "column": 106 } }, "expressions": [ { "type": "Identifier", "start": 13165, "end": 13170, "loc": { "start": { "line": 381, "column": 99 }, "end": { "line": 381, "column": 104 }, "identifierName": "scale" }, "name": "scale" } ], "quasis": [ { "type": "TemplateElement", "start": 13163, "end": 13163, "loc": { "start": { "line": 381, "column": 97 }, "end": { "line": 381, "column": 97 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 13171, "end": 13171, "loc": { "start": { "line": 381, "column": 105 }, "end": { "line": 381, "column": 105 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } ] } } ] } }, { "type": "ExpressionStatement", "start": 13189, "end": 13204, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 27 } }, "expression": { "type": "CallExpression", "start": 13189, "end": 13203, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 13189, "end": 13201, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 24 } }, "object": { "type": "Identifier", "start": 13189, "end": 13195, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 18 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 13196, "end": 13201, "loc": { "start": { "line": 382, "column": 19 }, "end": { "line": 382, "column": 24 }, "identifierName": "focus" }, "name": "focus" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if the app resized. Only does this once in a while\r\n * @param {boolean} forceUpdate Forced update of the dimensions\r\n ", "start": 12398, "end": 12545, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 368, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the effective ui sclae\r\n ", "start": 13230, "end": 13281, "loc": { "start": { "line": 386, "column": 4 }, "end": { "line": 388, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13287, "end": 13409, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 391, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13287, "end": 13306, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 389, "column": 23 }, "identifierName": "getEffectiveUiScale" }, "name": "getEffectiveUiScale", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13309, "end": 13409, "loc": { "start": { "line": 389, "column": 26 }, "end": { "line": 391, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 13320, "end": 13402, "loc": { "start": { "line": 390, "column": 8 }, "end": { "line": 390, "column": 90 } }, "argument": { "type": "BinaryExpression", "start": 13327, "end": 13401, "loc": { "start": { "line": 390, "column": 15 }, "end": { "line": 390, "column": 89 } }, "left": { "type": "CallExpression", "start": 13327, "end": 13360, "loc": { "start": { "line": 390, "column": 15 }, "end": { "line": 390, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 13327, "end": 13358, "loc": { "start": { "line": 390, "column": 15 }, "end": { "line": 390, "column": 46 } }, "object": { "type": "MemberExpression", "start": 13327, "end": 13347, "loc": { "start": { "line": 390, "column": 15 }, "end": { "line": 390, "column": 35 } }, "object": { "type": "ThisExpression", "start": 13327, "end": 13331, "loc": { "start": { "line": 390, "column": 15 }, "end": { "line": 390, "column": 19 } } }, "property": { "type": "Identifier", "start": 13332, "end": 13347, "loc": { "start": { "line": 390, "column": 20 }, "end": { "line": 390, "column": 35 }, "identifierName": "platformWrapper" }, "name": "platformWrapper" }, "computed": false }, "property": { "type": "Identifier", "start": 13348, "end": 13358, "loc": { "start": { "line": 390, "column": 36 }, "end": { "line": 390, "column": 46 }, "identifierName": "getUiScale" }, "name": "getUiScale" }, "computed": false }, "arguments": [] }, "operator": "*", "right": { "type": "CallExpression", "start": 13363, "end": 13401, "loc": { "start": { "line": 390, "column": 51 }, "end": { "line": 390, "column": 89 } }, "callee": { "type": "MemberExpression", "start": 13363, "end": 13399, "loc": { "start": { "line": 390, "column": 51 }, "end": { "line": 390, "column": 87 } }, "object": { "type": "MemberExpression", "start": 13363, "end": 13376, "loc": { "start": { "line": 390, "column": 51 }, "end": { "line": 390, "column": 64 } }, "object": { "type": "ThisExpression", "start": 13363, "end": 13367, "loc": { "start": { "line": 390, "column": 51 }, "end": { "line": 390, "column": 55 } } }, "property": { "type": "Identifier", "start": 13368, "end": 13376, "loc": { "start": { "line": 390, "column": 56 }, "end": { "line": 390, "column": 64 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 13377, "end": 13399, "loc": { "start": { "line": 390, "column": 65 }, "end": { "line": 390, "column": 87 }, "identifierName": "getInterfaceScaleValue" }, "name": "getInterfaceScaleValue" }, "computed": false }, "arguments": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the effective ui sclae\r\n ", "start": 13230, "end": 13281, "loc": { "start": { "line": 386, "column": 4 }, "end": { "line": 388, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Callback after ui scale has changed\r\n ", "start": 13417, "end": 13473, "loc": { "start": { "line": 393, "column": 4 }, "end": { "line": 395, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 13479, "end": 13548, "loc": { "start": { "line": 396, "column": 4 }, "end": { "line": 398, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 13479, "end": 13504, "loc": { "start": { "line": 396, "column": 4 }, "end": { "line": 396, "column": 29 }, "identifierName": "updateAfterUiScaleChanged" }, "name": "updateAfterUiScaleChanged", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 13507, "end": 13548, "loc": { "start": { "line": 396, "column": 32 }, "end": { "line": 398, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 13518, "end": 13541, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 397, "column": 31 } }, "expression": { "type": "CallExpression", "start": 13518, "end": 13540, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 397, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 13518, "end": 13534, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 397, "column": 24 } }, "object": { "type": "ThisExpression", "start": 13518, "end": 13522, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 397, "column": 12 } } }, "property": { "type": "Identifier", "start": 13523, "end": 13534, "loc": { "start": { "line": 397, "column": 13 }, "end": { "line": 397, "column": 24 }, "identifierName": "checkResize" }, "name": "checkResize" }, "computed": false }, "arguments": [ { "type": "BooleanLiteral", "start": 13535, "end": 13539, "loc": { "start": { "line": 397, "column": 25 }, "end": { "line": 397, "column": 29 } }, "value": true } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Callback after ui scale has changed\r\n ", "start": 13417, "end": 13473, "loc": { "start": { "line": 393, "column": 4 }, "end": { "line": 395, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } }, { "type": "ExpressionStatement", "start": 13555, "end": 13591, "loc": { "start": { "line": 401, "column": 0 }, "end": { "line": 401, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 13555, "end": 13590, "loc": { "start": { "line": 401, "column": 0 }, "end": { "line": 401, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13555, "end": 13578, "loc": { "start": { "line": 401, "column": 0 }, "end": { "line": 401, "column": 23 } }, "object": { "type": "Identifier", "start": 13555, "end": 13566, "loc": { "start": { "line": 401, "column": 0 }, "end": { "line": 401, "column": 11 }, "identifierName": "Application" }, "name": "Application" }, "property": { "type": "Identifier", "start": 13567, "end": 13578, "loc": { "start": { "line": 401, "column": 12 }, "end": { "line": 401, "column": 23 }, "identifierName": "trackClicks" }, "name": "trackClicks" }, "computed": false }, "right": { "type": "Identifier", "start": 13581, "end": 13590, "loc": { "start": { "line": 401, "column": 26 }, "end": { "line": 401, "column": 35 }, "identifierName": "undefined" }, "name": "undefined" } } }, { "type": "ExpressionStatement", "start": 13595, "end": 13638, "loc": { "start": { "line": 403, "column": 0 }, "end": { "line": 403, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 13595, "end": 13637, "loc": { "start": { "line": 403, "column": 0 }, "end": { "line": 403, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13595, "end": 13625, "loc": { "start": { "line": 403, "column": 0 }, "end": { "line": 403, "column": 30 } }, "object": { "type": "Identifier", "start": 13595, "end": 13606, "loc": { "start": { "line": 403, "column": 0 }, "end": { "line": 403, "column": 11 }, "identifierName": "Application" }, "name": "Application" }, "property": { "type": "Identifier", "start": 13607, "end": 13625, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 30 }, "identifierName": "getMainContentHTML" }, "name": "getMainContentHTML" }, "computed": false }, "right": { "type": "Identifier", "start": 13628, "end": 13637, "loc": { "start": { "line": 403, "column": 33 }, "end": { "line": 403, "column": 42 }, "identifierName": "undefined" }, "name": "undefined" } } }, { "type": "ExpressionStatement", "start": 13642, "end": 13831, "loc": { "start": { "line": 405, "column": 0 }, "end": { "line": 414, "column": 2 } }, "expression": { "type": "AssignmentExpression", "start": 13642, "end": 13830, "loc": { "start": { "line": 405, "column": 0 }, "end": { "line": 414, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13642, "end": 13660, "loc": { "start": { "line": 405, "column": 0 }, "end": { "line": 405, "column": 18 } }, "object": { "type": "Identifier", "start": 13642, "end": 13653, "loc": { "start": { "line": 405, "column": 0 }, "end": { "line": 405, "column": 11 }, "identifierName": "Application" }, "name": "Application" }, "property": { "type": "Identifier", "start": 13654, "end": 13660, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 18 }, "identifierName": "states" }, "name": "states" }, "computed": false }, "right": { "type": "ObjectExpression", "start": 13663, "end": 13830, "loc": { "start": { "line": 405, "column": 21 }, "end": { "line": 414, "column": 1 } }, "properties": [ { "type": "ObjectProperty", "start": 13670, "end": 13682, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 16 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 13670, "end": 13682, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 16 }, "identifierName": "PreloadState" }, "name": "PreloadState" }, "value": { "type": "Identifier", "start": 13670, "end": 13682, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 16 }, "identifierName": "PreloadState" }, "name": "PreloadState" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 13689, "end": 13707, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 22 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 13689, "end": 13707, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 22 }, "identifierName": "MobileWarningState" }, "name": "MobileWarningState" }, "value": { "type": "Identifier", "start": 13689, "end": 13707, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 22 }, "identifierName": "MobileWarningState" }, "name": "MobileWarningState" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 13714, "end": 13727, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 17 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 13714, "end": 13727, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 17 }, "identifierName": "MainMenuState" }, "name": "MainMenuState" }, "value": { "type": "Identifier", "start": 13714, "end": 13727, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 17 }, "identifierName": "MainMenuState" }, "name": "MainMenuState" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 13734, "end": 13745, "loc": { "start": { "line": 409, "column": 4 }, "end": { "line": 409, "column": 15 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 13734, "end": 13745, "loc": { "start": { "line": 409, "column": 4 }, "end": { "line": 409, "column": 15 }, "identifierName": "InGameState" }, "name": "InGameState" }, "value": { "type": "Identifier", "start": 13734, "end": 13745, "loc": { "start": { "line": 409, "column": 4 }, "end": { "line": 409, "column": 15 }, "identifierName": "InGameState" }, "name": "InGameState" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 13752, "end": 13765, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 17 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 13752, "end": 13765, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 17 }, "identifierName": "SettingsState" }, "name": "SettingsState" }, "value": { "type": "Identifier", "start": 13752, "end": 13765, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 17 }, "identifierName": "SettingsState" }, "name": "SettingsState" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 13772, "end": 13788, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 20 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 13772, "end": 13788, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 20 }, "identifierName": "KeybindingsState" }, "name": "KeybindingsState" }, "value": { "type": "Identifier", "start": 13772, "end": 13788, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 20 }, "identifierName": "KeybindingsState" }, "name": "KeybindingsState" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 13795, "end": 13805, "loc": { "start": { "line": 412, "column": 4 }, "end": { "line": 412, "column": 14 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 13795, "end": 13805, "loc": { "start": { "line": 412, "column": 4 }, "end": { "line": 412, "column": 14 }, "identifierName": "AboutState" }, "name": "AboutState" }, "value": { "type": "Identifier", "start": 13795, "end": 13805, "loc": { "start": { "line": 412, "column": 4 }, "end": { "line": 412, "column": 14 }, "identifierName": "AboutState" }, "name": "AboutState" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 13812, "end": 13826, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 18 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 13812, "end": 13826, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 18 }, "identifierName": "ChangelogState" }, "name": "ChangelogState" }, "value": { "type": "Identifier", "start": 13812, "end": 13826, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 18 }, "identifierName": "ChangelogState" }, "name": "ChangelogState" }, "extra": { "shorthand": true } } ] } } } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " Set the name of the hidden property and the change event for visibility", "start": 1914, "end": 1988, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 74 } } }, { "type": "CommentLine", "value": " Opera 12.10 and Firefox 18 and later support", "start": 2091, "end": 2138, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 51 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2231, "end": 2244, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 17 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2397, "end": 2410, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 17 } } }, { "type": "CommentLine", "value": " Global stuff", "start": 2844, "end": 2859, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 23 } } }, { "type": "CommentLine", "value": " Restrictions (Like demo etc)", "start": 3207, "end": 3238, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 39 } } }, { "type": "CommentLine", "value": " Platform dependent stuff", "start": 3311, "end": 3338, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 35 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./platform/storage\").StorageInterface} ", "start": 3350, "end": 3410, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 68 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./platform/sound\").SoundInterface} ", "start": 3452, "end": 3508, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 64 } } }, { "type": "CommentBlock", "value": "* @type {PlatformWrapperInterface} ", "start": 3548, "end": 3587, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 47 } } }, { "type": "CommentBlock", "value": "* @type {AdProviderInterface} ", "start": 3637, "end": 3671, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 42 } } }, { "type": "CommentBlock", "value": "* @type {AnalyticsInterface} ", "start": 3716, "end": 3749, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 41 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./platform/game_analytics\").GameAnalyticsInterface} ", "start": 3793, "end": 3866, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 81 } } }, { "type": "CommentLine", "value": " Track if the window is focused (only relevant for browser)", "start": 3964, "end": 4025, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 69 } } }, { "type": "CommentLine", "value": " Track if the window is visible", "start": 4067, "end": 4100, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 41 } } }, { "type": "CommentLine", "value": " Track if the app is paused (cordova)", "start": 4146, "end": 4185, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 47 } } }, { "type": "CommentBlock", "value": "* @type {TypedTrackedState} ", "start": 4238, "end": 4279, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 49 } } }, { "type": "CommentLine", "value": " Dimensions", "start": 4385, "end": 4398, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 21 } } }, { "type": "CommentLine", "value": " Store the timestamp where we last checked for a screen resize, since orientationchange is unreliable with cordova", "start": 4473, "end": 4589, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 124 } } }, { "type": "CommentLine", "value": " Store the mouse position, or null if not available", "start": 4639, "end": 4692, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 61 } } }, { "type": "CommentBlock", "value": "* @type {Vector|null} ", "start": 4702, "end": 4728, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializes all platform instances\r\n ", "start": 4821, "end": 4876, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } }, { "type": "CommentLine", "value": " Start with empty ad provider", "start": 5237, "end": 5268, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 39 } } }, { "type": "CommentBlock", "value": "*\r\n * Registers all game states\r\n ", "start": 5502, "end": 5548, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Registers all event listeners\r\n ", "start": 5805, "end": 5855, "loc": { "start": { "line": 146, "column": 4 }, "end": { "line": 148, "column": 7 } } }, { "type": "CommentLine", "value": " Unload events", "start": 6594, "end": 6610, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 24 } } }, { "type": "CommentLine", "value": " Track touches so we can update the focus appropriately", "start": 6896, "end": 6953, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks the focus after a touch\r\n * @param {TouchEvent} event\r\n ", "start": 7176, "end": 7261, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 177, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {HTMLElement} ", "start": 7332, "end": 7358, "loc": { "start": { "line": 179, "column": 23 }, "end": { "line": 179, "column": 49 } } }, { "type": "CommentLine", "value": " Safety check", "start": 7431, "end": 7446, "loc": { "start": { "line": 181, "column": 12 }, "end": { "line": 181, "column": 27 } } }, { "type": "CommentLine", "value": " When clicking an element which is not the currently focused one, defocus it", "start": 7561, "end": 7639, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 86 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 7703, "end": 7716, "loc": { "start": { "line": 188, "column": 12 }, "end": { "line": 188, "column": 25 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 7782, "end": 7795, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 29 } } }, { "type": "CommentLine", "value": " If we click an input field, focus it now", "start": 7881, "end": 7924, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 51 } } }, { "type": "CommentLine", "value": " We *really* need the focus", "start": 7995, "end": 8024, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 41 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles a page visibility change event\r\n * @param {Event} event\r\n ", "start": 8107, "end": 8195, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 205, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles a mouse move event\r\n * @param {MouseEvent} event\r\n ", "start": 8567, "end": 8648, "loc": { "start": { "line": 216, "column": 4 }, "end": { "line": 219, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal on focus handler\r\n ", "start": 8765, "end": 8811, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 226, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal blur handler\r\n ", "start": 8873, "end": 8915, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the app is currently visible\r\n ", "start": 8977, "end": 9037, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 240, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal unload handler\r\n ", "start": 9678, "end": 9722, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal before-unload handler\r\n ", "start": 10083, "end": 10134, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 280, "column": 7 } } }, { "type": "CommentLine", "value": " Need to show a \"Are you sure you want to exit\"", "start": 10422, "end": 10471, "loc": { "start": { "line": 287, "column": 16 }, "end": { "line": 287, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n * Boots the application\r\n ", "start": 10624, "end": 10666, "loc": { "start": { "line": 294, "column": 4 }, "end": { "line": 296, "column": 7 } } }, { "type": "CommentLine", "value": " Check for mobile", "start": 10851, "end": 10870, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 27 } } }, { "type": "CommentLine", "value": " Starting rendering", "start": 11055, "end": 11076, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Deinitializes the application\r\n ", "start": 11285, "end": 11335, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Background frame update callback\r\n * @param {number} dt\r\n ", "start": 11415, "end": 11495, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 330, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Frame update callback\r\n * @param {number} dt\r\n ", "start": 11760, "end": 11829, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 345, "column": 7 } } }, { "type": "CommentLine", "value": " Periodically check for resizes, this is expensive (takes 2-3ms so only do it once in a while!)", "start": 11979, "end": 12076, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 105 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if the app resized. Only does this once in a while\r\n * @param {boolean} forceUpdate Forced update of the dimensions\r\n ", "start": 12398, "end": 12545, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 368, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the effective ui sclae\r\n ", "start": 13230, "end": 13281, "loc": { "start": { "line": 386, "column": 4 }, "end": { "line": 388, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Callback after ui scale has changed\r\n ", "start": 13417, "end": 13473, "loc": { "start": { "line": 393, "column": 4 }, "end": { "line": 395, "column": 7 } } } ], "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": "AnimationFrame", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24, "end": 25, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 26, "end": 30, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "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/animation_frame", "start": 31, "end": 55, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 55, "end": 56, "loc": { "start": { "line": 1, "column": 55 }, "end": { "line": 1, "column": 56 } } }, { "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": 58, "end": 64, "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": 65, "end": 66, "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": "BackgroundResourcesLoader", "start": 67, "end": 92, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 93, "end": 94, "loc": { "start": { "line": 2, "column": 35 }, "end": { "line": 2, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 95, "end": 99, "loc": { "start": { "line": 2, "column": 37 }, "end": { "line": 2, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./core/background_resources_loader", "start": 100, "end": 136, "loc": { "start": { "line": 2, "column": 42 }, "end": { "line": 2, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 136, "end": 137, "loc": { "start": { "line": 2, "column": 78 }, "end": { "line": 2, "column": 79 } } }, { "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": 139, "end": 145, "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": 146, "end": 147, "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": "IS_MOBILE", "start": 148, "end": 157, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 158, "end": 159, "loc": { "start": { "line": 3, "column": 19 }, "end": { "line": 3, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 160, "end": 164, "loc": { "start": { "line": 3, "column": 21 }, "end": { "line": 3, "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/config", "start": 165, "end": 180, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 180, "end": 181, "loc": { "start": { "line": 3, "column": 41 }, "end": { "line": 3, "column": 42 } } }, { "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": 183, "end": 189, "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": 190, "end": 191, "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": "GLOBAL_APP", "start": 192, "end": 202, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 202, "end": 203, "loc": { "start": { "line": 4, "column": 19 }, "end": { "line": 4, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setGlobalApp", "start": 204, "end": 216, "loc": { "start": { "line": 4, "column": 21 }, "end": { "line": 4, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 217, "end": 218, "loc": { "start": { "line": 4, "column": 34 }, "end": { "line": 4, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 219, "end": 223, "loc": { "start": { "line": 4, "column": 36 }, "end": { "line": 4, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./core/globals", "start": 224, "end": 240, "loc": { "start": { "line": 4, "column": 41 }, "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": 240, "end": 241, "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": 243, "end": 249, "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": 250, "end": 251, "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": "InputDistributor", "start": 252, "end": 268, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 269, "end": 270, "loc": { "start": { "line": 5, "column": 26 }, "end": { "line": 5, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 271, "end": 275, "loc": { "start": { "line": 5, "column": 28 }, "end": { "line": 5, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./core/input_distributor", "start": 276, "end": 302, "loc": { "start": { "line": 5, "column": 33 }, "end": { "line": 5, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 302, "end": 303, "loc": { "start": { "line": 5, "column": 59 }, "end": { "line": 5, "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": 305, "end": 311, "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": 312, "end": 313, "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": "Loader", "start": 314, "end": 320, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 321, "end": 322, "loc": { "start": { "line": 6, "column": 16 }, "end": { "line": 6, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 323, "end": 327, "loc": { "start": { "line": 6, "column": 18 }, "end": { "line": 6, "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": 328, "end": 343, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 343, "end": 344, "loc": { "start": { "line": 6, "column": 38 }, "end": { "line": 6, "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": 346, "end": 352, "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": 353, "end": 354, "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": "createLogger", "start": 355, "end": 367, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 367, "end": 368, "loc": { "start": { "line": 7, "column": 21 }, "end": { "line": 7, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logSection", "start": 369, "end": 379, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 380, "end": 381, "loc": { "start": { "line": 7, "column": 34 }, "end": { "line": 7, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 382, "end": 386, "loc": { "start": { "line": 7, "column": 36 }, "end": { "line": 7, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./core/logging", "start": 387, "end": 403, "loc": { "start": { "line": 7, "column": 41 }, "end": { "line": 7, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 403, "end": 404, "loc": { "start": { "line": 7, "column": 57 }, "end": { "line": 7, "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": 406, "end": 412, "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": 413, "end": 414, "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": "StateManager", "start": 415, "end": 427, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 428, "end": 429, "loc": { "start": { "line": 8, "column": 22 }, "end": { "line": 8, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 430, "end": 434, "loc": { "start": { "line": 8, "column": 24 }, "end": { "line": 8, "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/state_manager", "start": 435, "end": 457, "loc": { "start": { "line": 8, "column": 29 }, "end": { "line": 8, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 457, "end": 458, "loc": { "start": { "line": 8, "column": 51 }, "end": { "line": 8, "column": 52 } } }, { "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": 460, "end": 466, "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": 467, "end": 468, "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": "TrackedState", "start": 469, "end": 481, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 482, "end": 483, "loc": { "start": { "line": 9, "column": 22 }, "end": { "line": 9, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 484, "end": 488, "loc": { "start": { "line": 9, "column": 24 }, "end": { "line": 9, "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/tracked_state", "start": 489, "end": 511, "loc": { "start": { "line": 9, "column": 29 }, "end": { "line": 9, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 511, "end": 512, "loc": { "start": { "line": 9, "column": 51 }, "end": { "line": 9, "column": 52 } } }, { "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": 514, "end": 520, "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": 521, "end": 522, "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": "getPlatformName", "start": 523, "end": 538, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 538, "end": 539, "loc": { "start": { "line": 10, "column": 24 }, "end": { "line": 10, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waitNextFrame", "start": 540, "end": 553, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 554, "end": 555, "loc": { "start": { "line": 10, "column": 40 }, "end": { "line": 10, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 556, "end": 560, "loc": { "start": { "line": 10, "column": 42 }, "end": { "line": 10, "column": 46 } } }, { "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": 561, "end": 575, "loc": { "start": { "line": 10, "column": 47 }, "end": { "line": 10, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 575, "end": 576, "loc": { "start": { "line": 10, "column": 61 }, "end": { "line": 10, "column": 62 } } }, { "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": 578, "end": 584, "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": 585, "end": 586, "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": "Vector", "start": 587, "end": 593, "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": 594, "end": 595, "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": 596, "end": 600, "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": "./core/vector", "start": 601, "end": 616, "loc": { "start": { "line": 11, "column": 23 }, "end": { "line": 11, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 616, "end": 617, "loc": { "start": { "line": 11, "column": 38 }, "end": { "line": 11, "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": 619, "end": 625, "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": 626, "end": 627, "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": "AdProviderInterface", "start": 628, "end": 647, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 648, "end": 649, "loc": { "start": { "line": 12, "column": 29 }, "end": { "line": 12, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 650, "end": 654, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/ad_provider", "start": 655, "end": 679, "loc": { "start": { "line": 12, "column": 36 }, "end": { "line": 12, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 679, "end": 680, "loc": { "start": { "line": 12, "column": 60 }, "end": { "line": 12, "column": 61 } } }, { "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": 682, "end": 688, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 689, "end": 690, "loc": { "start": { "line": 13, "column": 7 }, "end": { "line": 13, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "NoAdProvider", "start": 691, "end": 703, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 704, "end": 705, "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 706, "end": 710, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 13, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/ad_providers/no_ad_provider", "start": 711, "end": 751, "loc": { "start": { "line": 13, "column": 29 }, "end": { "line": 13, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 751, "end": 752, "loc": { "start": { "line": 13, "column": 69 }, "end": { "line": 13, "column": 70 } } }, { "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": 754, "end": 760, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 761, "end": 762, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 14, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "AnalyticsInterface", "start": 763, "end": 781, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 782, "end": 783, "loc": { "start": { "line": 14, "column": 28 }, "end": { "line": 14, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 784, "end": 788, "loc": { "start": { "line": 14, "column": 30 }, "end": { "line": 14, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/analytics", "start": 789, "end": 811, "loc": { "start": { "line": 14, "column": 35 }, "end": { "line": 14, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 811, "end": 812, "loc": { "start": { "line": 14, "column": 57 }, "end": { "line": 14, "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": 814, "end": 820, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 821, "end": 822, "loc": { "start": { "line": 15, "column": 7 }, "end": { "line": 15, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GoogleAnalyticsImpl", "start": 823, "end": 842, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 843, "end": 844, "loc": { "start": { "line": 15, "column": 29 }, "end": { "line": 15, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 845, "end": 849, "loc": { "start": { "line": 15, "column": 31 }, "end": { "line": 15, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/browser/google_analytics", "start": 850, "end": 887, "loc": { "start": { "line": 15, "column": 36 }, "end": { "line": 15, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 887, "end": 888, "loc": { "start": { "line": 15, "column": 73 }, "end": { "line": 15, "column": 74 } } }, { "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": 890, "end": 896, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 897, "end": 898, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SoundImplBrowser", "start": 899, "end": 915, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 916, "end": 917, "loc": { "start": { "line": 16, "column": 26 }, "end": { "line": 16, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 918, "end": 922, "loc": { "start": { "line": 16, "column": 28 }, "end": { "line": 16, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/browser/sound", "start": 923, "end": 949, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 949, "end": 950, "loc": { "start": { "line": 16, "column": 59 }, "end": { "line": 16, "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": 952, "end": 958, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 959, "end": 960, "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PlatformWrapperImplBrowser", "start": 961, "end": 987, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 988, "end": 989, "loc": { "start": { "line": 17, "column": 36 }, "end": { "line": 17, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 990, "end": 994, "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/browser/wrapper", "start": 995, "end": 1023, "loc": { "start": { "line": 17, "column": 43 }, "end": { "line": 17, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1023, "end": 1024, "loc": { "start": { "line": 17, "column": 71 }, "end": { "line": 17, "column": 72 } } }, { "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": 1026, "end": 1032, "loc": { "start": { "line": 18, "column": 0 }, "end": { "line": 18, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1033, "end": 1034, "loc": { "start": { "line": 18, "column": 7 }, "end": { "line": 18, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PlatformWrapperImplElectron", "start": 1035, "end": 1062, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1063, "end": 1064, "loc": { "start": { "line": 18, "column": 37 }, "end": { "line": 18, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1065, "end": 1069, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/electron/wrapper", "start": 1070, "end": 1099, "loc": { "start": { "line": 18, "column": 44 }, "end": { "line": 18, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1099, "end": 1100, "loc": { "start": { "line": 18, "column": 73 }, "end": { "line": 18, "column": 74 } } }, { "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": 1102, "end": 1108, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1109, "end": 1110, "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 19, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PlatformWrapperInterface", "start": 1111, "end": 1135, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1136, "end": 1137, "loc": { "start": { "line": 19, "column": 34 }, "end": { "line": 19, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1138, "end": 1142, "loc": { "start": { "line": 19, "column": 36 }, "end": { "line": 19, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/wrapper", "start": 1143, "end": 1163, "loc": { "start": { "line": 19, "column": 41 }, "end": { "line": 19, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1163, "end": 1164, "loc": { "start": { "line": 19, "column": 61 }, "end": { "line": 19, "column": 62 } } }, { "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": 1166, "end": 1172, "loc": { "start": { "line": 20, "column": 0 }, "end": { "line": 20, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1173, "end": 1174, "loc": { "start": { "line": 20, "column": 7 }, "end": { "line": 20, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ApplicationSettings", "start": 1175, "end": 1194, "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1195, "end": 1196, "loc": { "start": { "line": 20, "column": 29 }, "end": { "line": 20, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1197, "end": 1201, "loc": { "start": { "line": 20, "column": 31 }, "end": { "line": 20, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./profile/application_settings", "start": 1202, "end": 1234, "loc": { "start": { "line": 20, "column": 36 }, "end": { "line": 20, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1234, "end": 1235, "loc": { "start": { "line": 20, "column": 68 }, "end": { "line": 20, "column": 69 } } }, { "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": 1237, "end": 1243, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1244, "end": 1245, "loc": { "start": { "line": 21, "column": 7 }, "end": { "line": 21, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SavegameManager", "start": 1246, "end": 1261, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1262, "end": 1263, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1264, "end": 1268, "loc": { "start": { "line": 21, "column": 27 }, "end": { "line": 21, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./savegame/savegame_manager", "start": 1269, "end": 1298, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1298, "end": 1299, "loc": { "start": { "line": 21, "column": 61 }, "end": { "line": 21, "column": 62 } } }, { "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": 1301, "end": 1307, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1308, "end": 1309, "loc": { "start": { "line": 22, "column": 7 }, "end": { "line": 22, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "AboutState", "start": 1310, "end": 1320, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1321, "end": 1322, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1323, "end": 1327, "loc": { "start": { "line": 22, "column": 22 }, "end": { "line": 22, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./states/about", "start": 1328, "end": 1344, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1344, "end": 1345, "loc": { "start": { "line": 22, "column": 43 }, "end": { "line": 22, "column": 44 } } }, { "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": 1347, "end": 1353, "loc": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1354, "end": 1355, "loc": { "start": { "line": 23, "column": 7 }, "end": { "line": 23, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ChangelogState", "start": 1356, "end": 1370, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1371, "end": 1372, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1373, "end": 1377, "loc": { "start": { "line": 23, "column": 26 }, "end": { "line": 23, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./states/changelog", "start": 1378, "end": 1398, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1398, "end": 1399, "loc": { "start": { "line": 23, "column": 51 }, "end": { "line": 23, "column": 52 } } }, { "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": 1401, "end": 1407, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1408, "end": 1409, "loc": { "start": { "line": 24, "column": 7 }, "end": { "line": 24, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "InGameState", "start": 1410, "end": 1421, "loc": { "start": { "line": 24, "column": 9 }, "end": { "line": 24, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1422, "end": 1423, "loc": { "start": { "line": 24, "column": 21 }, "end": { "line": 24, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1424, "end": 1428, "loc": { "start": { "line": 24, "column": 23 }, "end": { "line": 24, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./states/ingame", "start": 1429, "end": 1446, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1446, "end": 1447, "loc": { "start": { "line": 24, "column": 45 }, "end": { "line": 24, "column": 46 } } }, { "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": 1449, "end": 1455, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1456, "end": 1457, "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 25, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeybindingsState", "start": 1458, "end": 1474, "loc": { "start": { "line": 25, "column": 9 }, "end": { "line": 25, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1475, "end": 1476, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1477, "end": 1481, "loc": { "start": { "line": 25, "column": 28 }, "end": { "line": 25, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./states/keybindings", "start": 1482, "end": 1504, "loc": { "start": { "line": 25, "column": 33 }, "end": { "line": 25, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1504, "end": 1505, "loc": { "start": { "line": 25, "column": 55 }, "end": { "line": 25, "column": 56 } } }, { "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": 1507, "end": 1513, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1514, "end": 1515, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MainMenuState", "start": 1516, "end": 1529, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1530, "end": 1531, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1532, "end": 1536, "loc": { "start": { "line": 26, "column": 25 }, "end": { "line": 26, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./states/main_menu", "start": 1537, "end": 1557, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1557, "end": 1558, "loc": { "start": { "line": 26, "column": 50 }, "end": { "line": 26, "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": 1560, "end": 1566, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 27, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1567, "end": 1568, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 27, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MobileWarningState", "start": 1569, "end": 1587, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1588, "end": 1589, "loc": { "start": { "line": 27, "column": 28 }, "end": { "line": 27, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1590, "end": 1594, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./states/mobile_warning", "start": 1595, "end": 1620, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1620, "end": 1621, "loc": { "start": { "line": 27, "column": 60 }, "end": { "line": 27, "column": 61 } } }, { "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": 1623, "end": 1629, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 28, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1630, "end": 1631, "loc": { "start": { "line": 28, "column": 7 }, "end": { "line": 28, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PreloadState", "start": 1632, "end": 1644, "loc": { "start": { "line": 28, "column": 9 }, "end": { "line": 28, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1645, "end": 1646, "loc": { "start": { "line": 28, "column": 22 }, "end": { "line": 28, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1647, "end": 1651, "loc": { "start": { "line": 28, "column": 24 }, "end": { "line": 28, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./states/preload", "start": 1652, "end": 1670, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1670, "end": 1671, "loc": { "start": { "line": 28, "column": 47 }, "end": { "line": 28, "column": 48 } } }, { "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": 1673, "end": 1679, "loc": { "start": { "line": 29, "column": 0 }, "end": { "line": 29, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1680, "end": 1681, "loc": { "start": { "line": 29, "column": 7 }, "end": { "line": 29, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SettingsState", "start": 1682, "end": 1695, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1696, "end": 1697, "loc": { "start": { "line": 29, "column": 23 }, "end": { "line": 29, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1698, "end": 1702, "loc": { "start": { "line": 29, "column": 25 }, "end": { "line": 29, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./states/settings", "start": 1703, "end": 1722, "loc": { "start": { "line": 29, "column": 30 }, "end": { "line": 29, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1722, "end": 1723, "loc": { "start": { "line": 29, "column": 49 }, "end": { "line": 29, "column": 50 } } }, { "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": 1725, "end": 1731, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 30, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1732, "end": 1733, "loc": { "start": { "line": 30, "column": 7 }, "end": { "line": 30, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapezGameAnalytics", "start": 1734, "end": 1753, "loc": { "start": { "line": 30, "column": 9 }, "end": { "line": 30, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1754, "end": 1755, "loc": { "start": { "line": 30, "column": 29 }, "end": { "line": 30, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1756, "end": 1760, "loc": { "start": { "line": 30, "column": 31 }, "end": { "line": 30, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./platform/browser/game_analytics", "start": 1761, "end": 1796, "loc": { "start": { "line": 30, "column": 36 }, "end": { "line": 30, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1796, "end": 1797, "loc": { "start": { "line": 30, "column": 71 }, "end": { "line": 30, "column": 72 } } }, { "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": 1799, "end": 1805, "loc": { "start": { "line": 31, "column": 0 }, "end": { "line": 31, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1806, "end": 1807, "loc": { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "RestrictionManager", "start": 1808, "end": 1826, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1827, "end": 1828, "loc": { "start": { "line": 31, "column": 28 }, "end": { "line": 31, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1829, "end": 1833, "loc": { "start": { "line": 31, "column": 30 }, "end": { "line": 31, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./core/restriction_manager", "start": 1834, "end": 1862, "loc": { "start": { "line": 31, "column": 35 }, "end": { "line": 31, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1862, "end": 1863, "loc": { "start": { "line": 31, "column": 63 }, "end": { "line": 31, "column": 64 } } }, { "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": 1867, "end": 1872, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 1873, "end": 1879, "loc": { "start": { "line": 33, "column": 6 }, "end": { "line": 33, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1880, "end": 1881, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 1882, "end": 1894, "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1894, "end": 1895, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "application", "start": 1895, "end": 1908, "loc": { "start": { "line": 33, "column": 28 }, "end": { "line": 33, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1908, "end": 1909, "loc": { "start": { "line": 33, "column": 41 }, "end": { "line": 33, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1909, "end": 1910, "loc": { "start": { "line": 33, "column": 42 }, "end": { "line": 33, "column": 43 } } }, { "type": "CommentLine", "value": " Set the name of the hidden property and the change event for visibility", "start": 1914, "end": 1988, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 74 } } }, { "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": 1990, "end": 1993, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 36, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageHiddenPropName", "start": 1994, "end": 2012, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2012, "end": 2013, "loc": { "start": { "line": 36, "column": 22 }, "end": { "line": 36, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisibilityEventName", "start": 2014, "end": 2037, "loc": { "start": { "line": 36, "column": 24 }, "end": { "line": 36, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2037, "end": 2038, "loc": { "start": { "line": 36, "column": 47 }, "end": { "line": 36, "column": 48 } } }, { "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": 2040, "end": 2042, "loc": { "start": { "line": 37, "column": 0 }, "end": { "line": 37, "column": 2 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2043, "end": 2044, "loc": { "start": { "line": 37, "column": 3 }, "end": { "line": 37, "column": 4 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 2044, "end": 2050, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 2051, "end": 2059, "loc": { "start": { "line": 37, "column": 11 }, "end": { "line": 37, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2059, "end": 2060, "loc": { "start": { "line": 37, "column": 19 }, "end": { "line": 37, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hidden", "start": 2060, "end": 2066, "loc": { "start": { "line": 37, "column": 20 }, "end": { "line": 37, "column": 26 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2067, "end": 2070, "loc": { "start": { "line": 37, "column": 27 }, "end": { "line": 37, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "undefined", "start": 2071, "end": 2082, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2082, "end": 2083, "loc": { "start": { "line": 37, "column": 42 }, "end": { "line": 37, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2084, "end": 2085, "loc": { "start": { "line": 37, "column": 44 }, "end": { "line": 37, "column": 45 } } }, { "type": "CommentLine", "value": " Opera 12.10 and Firefox 18 and later support", "start": 2091, "end": 2138, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageHiddenPropName", "start": 2144, "end": 2162, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2163, "end": 2164, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 39, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hidden", "start": 2165, "end": 2173, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2173, "end": 2174, "loc": { "start": { "line": 39, "column": 33 }, "end": { "line": 39, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisibilityEventName", "start": 2180, "end": 2203, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2204, "end": 2205, "loc": { "start": { "line": 40, "column": 28 }, "end": { "line": 40, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "visibilitychange", "start": 2206, "end": 2224, "loc": { "start": { "line": 40, "column": 30 }, "end": { "line": 40, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2224, "end": 2225, "loc": { "start": { "line": 40, "column": 48 }, "end": { "line": 40, "column": 49 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2231, "end": 2244, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2246, "end": 2247, "loc": { "start": { "line": 42, "column": 0 }, "end": { "line": 42, "column": 1 } } }, { "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": 2248, "end": 2252, "loc": { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 6 } } }, { "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": 2253, "end": 2255, "loc": { "start": { "line": 42, "column": 7 }, "end": { "line": 42, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2256, "end": 2257, "loc": { "start": { "line": 42, "column": 10 }, "end": { "line": 42, "column": 11 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 2257, "end": 2263, "loc": { "start": { "line": 42, "column": 11 }, "end": { "line": 42, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 2264, "end": 2272, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2272, "end": 2273, "loc": { "start": { "line": 42, "column": 26 }, "end": { "line": 42, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "msHidden", "start": 2273, "end": 2281, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2282, "end": 2285, "loc": { "start": { "line": 42, "column": 36 }, "end": { "line": 42, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "undefined", "start": 2286, "end": 2297, "loc": { "start": { "line": 42, "column": 40 }, "end": { "line": 42, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2297, "end": 2298, "loc": { "start": { "line": 42, "column": 51 }, "end": { "line": 42, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2299, "end": 2300, "loc": { "start": { "line": 42, "column": 53 }, "end": { "line": 42, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageHiddenPropName", "start": 2306, "end": 2324, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2325, "end": 2326, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 43, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "msHidden", "start": 2327, "end": 2337, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2337, "end": 2338, "loc": { "start": { "line": 43, "column": 35 }, "end": { "line": 43, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisibilityEventName", "start": 2344, "end": 2367, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2368, "end": 2369, "loc": { "start": { "line": 44, "column": 28 }, "end": { "line": 44, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "msvisibilitychange", "start": 2370, "end": 2390, "loc": { "start": { "line": 44, "column": 30 }, "end": { "line": 44, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2390, "end": 2391, "loc": { "start": { "line": 44, "column": 50 }, "end": { "line": 44, "column": 51 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 2397, "end": 2410, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2412, "end": 2413, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 46, "column": 1 } } }, { "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": 2414, "end": 2418, "loc": { "start": { "line": 46, "column": 2 }, "end": { "line": 46, "column": 6 } } }, { "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": 2419, "end": 2421, "loc": { "start": { "line": 46, "column": 7 }, "end": { "line": 46, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2422, "end": 2423, "loc": { "start": { "line": 46, "column": 10 }, "end": { "line": 46, "column": 11 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 2423, "end": 2429, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 2430, "end": 2438, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2438, "end": 2439, "loc": { "start": { "line": 46, "column": 26 }, "end": { "line": 46, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "webkitHidden", "start": 2439, "end": 2451, "loc": { "start": { "line": 46, "column": 27 }, "end": { "line": 46, "column": 39 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2452, "end": 2455, "loc": { "start": { "line": 46, "column": 40 }, "end": { "line": 46, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "undefined", "start": 2456, "end": 2467, "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 46, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2467, "end": 2468, "loc": { "start": { "line": 46, "column": 55 }, "end": { "line": 46, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2469, "end": 2470, "loc": { "start": { "line": 46, "column": 57 }, "end": { "line": 46, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageHiddenPropName", "start": 2476, "end": 2494, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2495, "end": 2496, "loc": { "start": { "line": 47, "column": 23 }, "end": { "line": 47, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "webkitHidden", "start": 2497, "end": 2511, "loc": { "start": { "line": 47, "column": 25 }, "end": { "line": 47, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2511, "end": 2512, "loc": { "start": { "line": 47, "column": 39 }, "end": { "line": 47, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisibilityEventName", "start": 2518, "end": 2541, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2542, "end": 2543, "loc": { "start": { "line": 48, "column": 28 }, "end": { "line": 48, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "webkitvisibilitychange", "start": 2544, "end": 2568, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2568, "end": 2569, "loc": { "start": { "line": 48, "column": 54 }, "end": { "line": 48, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2571, "end": 2572, "loc": { "start": { "line": 49, "column": 0 }, "end": { "line": 49, "column": 1 } } }, { "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": 2576, "end": 2582, "loc": { "start": { "line": 51, "column": 0 }, "end": { "line": 51, "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": 2583, "end": 2588, "loc": { "start": { "line": 51, "column": 7 }, "end": { "line": 51, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Application", "start": 2589, "end": 2600, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2601, "end": 2602, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 2608, "end": 2619, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2619, "end": 2620, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2620, "end": 2621, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2622, "end": 2623, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 2633, "end": 2639, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2639, "end": 2640, "loc": { "start": { "line": 53, "column": 14 }, "end": { "line": 53, "column": 15 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2640, "end": 2641, "loc": { "start": { "line": 53, "column": 15 }, "end": { "line": 53, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GLOBAL_APP", "start": 2641, "end": 2651, "loc": { "start": { "line": 53, "column": 16 }, "end": { "line": 53, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2651, "end": 2652, "loc": { "start": { "line": 53, "column": 26 }, "end": { "line": 53, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Tried to construct application twice", "start": 2653, "end": 2691, "loc": { "start": { "line": 53, "column": 28 }, "end": { "line": 53, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2691, "end": 2692, "loc": { "start": { "line": 53, "column": 66 }, "end": { "line": 53, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2692, "end": 2693, "loc": { "start": { "line": 53, "column": 67 }, "end": { "line": 53, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 2703, "end": 2709, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2709, "end": 2710, "loc": { "start": { "line": 54, "column": 14 }, "end": { "line": 54, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 2710, "end": 2713, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2713, "end": 2714, "loc": { "start": { "line": 54, "column": 18 }, "end": { "line": 54, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Creating application, platform =", "start": 2714, "end": 2748, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2748, "end": 2749, "loc": { "start": { "line": 54, "column": 53 }, "end": { "line": 54, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getPlatformName", "start": 2750, "end": 2765, "loc": { "start": { "line": 54, "column": 55 }, "end": { "line": 54, "column": 70 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2765, "end": 2766, "loc": { "start": { "line": 54, "column": 70 }, "end": { "line": 54, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2766, "end": 2767, "loc": { "start": { "line": 54, "column": 71 }, "end": { "line": 54, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2767, "end": 2768, "loc": { "start": { "line": 54, "column": 72 }, "end": { "line": 54, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2768, "end": 2769, "loc": { "start": { "line": 54, "column": 73 }, "end": { "line": 54, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setGlobalApp", "start": 2779, "end": 2791, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2791, "end": 2792, "loc": { "start": { "line": 55, "column": 20 }, "end": { "line": 55, "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": 2792, "end": 2796, "loc": { "start": { "line": 55, "column": 21 }, "end": { "line": 55, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2796, "end": 2797, "loc": { "start": { "line": 55, "column": 25 }, "end": { "line": 55, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2797, "end": 2798, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "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": 2810, "end": 2814, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2814, "end": 2815, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unloaded", "start": 2815, "end": 2823, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2824, "end": 2825, "loc": { "start": { "line": 57, "column": 22 }, "end": { "line": 57, "column": 23 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 2826, "end": 2831, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2831, "end": 2832, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 30 } } }, { "type": "CommentLine", "value": " Global stuff", "start": 2844, "end": 2859, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 23 } } }, { "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": 2869, "end": 2873, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2873, "end": 2874, "loc": { "start": { "line": 60, "column": 12 }, "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": "settings", "start": 2874, "end": 2882, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2883, "end": 2884, "loc": { "start": { "line": 60, "column": 22 }, "end": { "line": 60, "column": 23 } } }, { "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": 2885, "end": 2888, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ApplicationSettings", "start": 2889, "end": 2908, "loc": { "start": { "line": 60, "column": 28 }, "end": { "line": 60, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2908, "end": 2909, "loc": { "start": { "line": 60, "column": 47 }, "end": { "line": 60, "column": 48 } } }, { "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": 2909, "end": 2913, "loc": { "start": { "line": 60, "column": 48 }, "end": { "line": 60, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2913, "end": 2914, "loc": { "start": { "line": 60, "column": 52 }, "end": { "line": 60, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2914, "end": 2915, "loc": { "start": { "line": 60, "column": 53 }, "end": { "line": 60, "column": 54 } } }, { "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": 2925, "end": 2929, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2929, "end": 2930, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ticker", "start": 2930, "end": 2936, "loc": { "start": { "line": 61, "column": 13 }, "end": { "line": 61, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2937, "end": 2938, "loc": { "start": { "line": 61, "column": 20 }, "end": { "line": 61, "column": 21 } } }, { "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": 2939, "end": 2942, "loc": { "start": { "line": 61, "column": 22 }, "end": { "line": 61, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "AnimationFrame", "start": 2943, "end": 2957, "loc": { "start": { "line": 61, "column": 26 }, "end": { "line": 61, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2957, "end": 2958, "loc": { "start": { "line": 61, "column": 40 }, "end": { "line": 61, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2958, "end": 2959, "loc": { "start": { "line": 61, "column": 41 }, "end": { "line": 61, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2959, "end": 2960, "loc": { "start": { "line": 61, "column": 42 }, "end": { "line": 61, "column": 43 } } }, { "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": 2970, "end": 2974, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2974, "end": 2975, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 2975, "end": 2983, "loc": { "start": { "line": 62, "column": 13 }, "end": { "line": 62, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2984, "end": 2985, "loc": { "start": { "line": 62, "column": 22 }, "end": { "line": 62, "column": 23 } } }, { "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": 2986, "end": 2989, "loc": { "start": { "line": 62, "column": 24 }, "end": { "line": 62, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StateManager", "start": 2990, "end": 3002, "loc": { "start": { "line": 62, "column": 28 }, "end": { "line": 62, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3002, "end": 3003, "loc": { "start": { "line": 62, "column": 40 }, "end": { "line": 62, "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": 3003, "end": 3007, "loc": { "start": { "line": 62, "column": 41 }, "end": { "line": 62, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3007, "end": 3008, "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": 3008, "end": 3009, "loc": { "start": { "line": 62, "column": 46 }, "end": { "line": 62, "column": 47 } } }, { "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": 3019, "end": 3023, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3023, "end": 3024, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "savegameMgr", "start": 3024, "end": 3035, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3036, "end": 3037, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "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": 3038, "end": 3041, "loc": { "start": { "line": 63, "column": 27 }, "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": "SavegameManager", "start": 3042, "end": 3057, "loc": { "start": { "line": 63, "column": 31 }, "end": { "line": 63, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3057, "end": 3058, "loc": { "start": { "line": 63, "column": 46 }, "end": { "line": 63, "column": 47 } } }, { "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": 3058, "end": 3062, "loc": { "start": { "line": 63, "column": 47 }, "end": { "line": 63, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3062, "end": 3063, "loc": { "start": { "line": 63, "column": 51 }, "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": 3063, "end": 3064, "loc": { "start": { "line": 63, "column": 52 }, "end": { "line": 63, "column": 53 } } }, { "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": 3074, "end": 3078, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3078, "end": 3079, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputMgr", "start": 3079, "end": 3087, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3088, "end": 3089, "loc": { "start": { "line": 64, "column": 22 }, "end": { "line": 64, "column": 23 } } }, { "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": 3090, "end": 3093, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "InputDistributor", "start": 3094, "end": 3110, "loc": { "start": { "line": 64, "column": 28 }, "end": { "line": 64, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3110, "end": 3111, "loc": { "start": { "line": 64, "column": 44 }, "end": { "line": 64, "column": 45 } } }, { "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": 3111, "end": 3115, "loc": { "start": { "line": 64, "column": 45 }, "end": { "line": 64, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3115, "end": 3116, "loc": { "start": { "line": 64, "column": 49 }, "end": { "line": 64, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3116, "end": 3117, "loc": { "start": { "line": 64, "column": 50 }, "end": { "line": 64, "column": 51 } } }, { "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": 3127, "end": 3131, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3131, "end": 3132, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "backgroundResourceLoader", "start": 3132, "end": 3156, "loc": { "start": { "line": 65, "column": 13 }, "end": { "line": 65, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3157, "end": 3158, "loc": { "start": { "line": 65, "column": 38 }, "end": { "line": 65, "column": 39 } } }, { "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": 3159, "end": 3162, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 65, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BackgroundResourcesLoader", "start": 3163, "end": 3188, "loc": { "start": { "line": 65, "column": 44 }, "end": { "line": 65, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3188, "end": 3189, "loc": { "start": { "line": 65, "column": 69 }, "end": { "line": 65, "column": 70 } } }, { "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": 3189, "end": 3193, "loc": { "start": { "line": 65, "column": 70 }, "end": { "line": 65, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3193, "end": 3194, "loc": { "start": { "line": 65, "column": 74 }, "end": { "line": 65, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3194, "end": 3195, "loc": { "start": { "line": 65, "column": 75 }, "end": { "line": 65, "column": 76 } } }, { "type": "CommentLine", "value": " Restrictions (Like demo etc)", "start": 3207, "end": 3238, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "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": 3248, "end": 3252, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3252, "end": 3253, "loc": { "start": { "line": 68, "column": 12 }, "end": { "line": 68, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "restrictionMgr", "start": 3253, "end": 3267, "loc": { "start": { "line": 68, "column": 13 }, "end": { "line": 68, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3268, "end": 3269, "loc": { "start": { "line": 68, "column": 28 }, "end": { "line": 68, "column": 29 } } }, { "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": 3270, "end": 3273, "loc": { "start": { "line": 68, "column": 30 }, "end": { "line": 68, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "RestrictionManager", "start": 3274, "end": 3292, "loc": { "start": { "line": 68, "column": 34 }, "end": { "line": 68, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3292, "end": 3293, "loc": { "start": { "line": 68, "column": 52 }, "end": { "line": 68, "column": 53 } } }, { "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": 3293, "end": 3297, "loc": { "start": { "line": 68, "column": 53 }, "end": { "line": 68, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3297, "end": 3298, "loc": { "start": { "line": 68, "column": 57 }, "end": { "line": 68, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3298, "end": 3299, "loc": { "start": { "line": 68, "column": 58 }, "end": { "line": 68, "column": 59 } } }, { "type": "CommentLine", "value": " Platform dependent stuff", "start": 3311, "end": 3338, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 35 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./platform/storage\").StorageInterface} ", "start": 3350, "end": 3410, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 68 } } }, { "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": 3420, "end": 3424, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3424, "end": 3425, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "storage", "start": 3425, "end": 3432, "loc": { "start": { "line": 73, "column": 13 }, "end": { "line": 73, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3433, "end": 3434, "loc": { "start": { "line": 73, "column": 21 }, "end": { "line": 73, "column": 22 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3435, "end": 3439, "loc": { "start": { "line": 73, "column": 23 }, "end": { "line": 73, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3439, "end": 3440, "loc": { "start": { "line": 73, "column": 27 }, "end": { "line": 73, "column": 28 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./platform/sound\").SoundInterface} ", "start": 3452, "end": 3508, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 64 } } }, { "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": 3518, "end": 3522, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3522, "end": 3523, "loc": { "start": { "line": 76, "column": 12 }, "end": { "line": 76, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sound", "start": 3523, "end": 3528, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3529, "end": 3530, "loc": { "start": { "line": 76, "column": 19 }, "end": { "line": 76, "column": 20 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3531, "end": 3535, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3535, "end": 3536, "loc": { "start": { "line": 76, "column": 25 }, "end": { "line": 76, "column": 26 } } }, { "type": "CommentBlock", "value": "* @type {PlatformWrapperInterface} ", "start": 3548, "end": 3587, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 47 } } }, { "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": 3597, "end": 3601, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3601, "end": 3602, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platformWrapper", "start": 3602, "end": 3617, "loc": { "start": { "line": 79, "column": 13 }, "end": { "line": 79, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3618, "end": 3619, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 30 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3620, "end": 3624, "loc": { "start": { "line": 79, "column": 31 }, "end": { "line": 79, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3624, "end": 3625, "loc": { "start": { "line": 79, "column": 35 }, "end": { "line": 79, "column": 36 } } }, { "type": "CommentBlock", "value": "* @type {AdProviderInterface} ", "start": 3637, "end": 3671, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 42 } } }, { "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": 3681, "end": 3685, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3685, "end": 3686, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "adProvider", "start": 3686, "end": 3696, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3697, "end": 3698, "loc": { "start": { "line": 82, "column": 24 }, "end": { "line": 82, "column": 25 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3699, "end": 3703, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3703, "end": 3704, "loc": { "start": { "line": 82, "column": 30 }, "end": { "line": 82, "column": 31 } } }, { "type": "CommentBlock", "value": "* @type {AnalyticsInterface} ", "start": 3716, "end": 3749, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "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": 3759, "end": 3763, "loc": { "start": { "line": 85, "column": 8 }, "end": { "line": 85, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3763, "end": 3764, "loc": { "start": { "line": 85, "column": 12 }, "end": { "line": 85, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "analytics", "start": 3764, "end": 3773, "loc": { "start": { "line": 85, "column": 13 }, "end": { "line": 85, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3774, "end": 3775, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 24 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3776, "end": 3780, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3780, "end": 3781, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 30 } } }, { "type": "CommentBlock", "value": "* @type {import(\"./platform/game_analytics\").GameAnalyticsInterface} ", "start": 3793, "end": 3866, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 81 } } }, { "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": 3876, "end": 3880, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3880, "end": 3881, "loc": { "start": { "line": 88, "column": 12 }, "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": "gameAnalytics", "start": 3881, "end": 3894, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3895, "end": 3896, "loc": { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "column": 28 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3897, "end": 3901, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3901, "end": 3902, "loc": { "start": { "line": 88, "column": 33 }, "end": { "line": 88, "column": 34 } } }, { "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": 3914, "end": 3918, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3918, "end": 3919, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initPlatformDependentInstances", "start": 3919, "end": 3949, "loc": { "start": { "line": 90, "column": 13 }, "end": { "line": 90, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3949, "end": 3950, "loc": { "start": { "line": 90, "column": 43 }, "end": { "line": 90, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3950, "end": 3951, "loc": { "start": { "line": 90, "column": 44 }, "end": { "line": 90, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3951, "end": 3952, "loc": { "start": { "line": 90, "column": 45 }, "end": { "line": 90, "column": 46 } } }, { "type": "CommentLine", "value": " Track if the window is focused (only relevant for browser)", "start": 3964, "end": 4025, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 69 } } }, { "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": 4035, "end": 4039, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4039, "end": 4040, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focused", "start": 4040, "end": 4047, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4048, "end": 4049, "loc": { "start": { "line": 93, "column": 21 }, "end": { "line": 93, "column": 22 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 4050, "end": 4054, "loc": { "start": { "line": 93, "column": 23 }, "end": { "line": 93, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4054, "end": 4055, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 28 } } }, { "type": "CommentLine", "value": " Track if the window is visible", "start": 4067, "end": 4100, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "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": 4110, "end": 4114, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4114, "end": 4115, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisible", "start": 4115, "end": 4126, "loc": { "start": { "line": 96, "column": 13 }, "end": { "line": 96, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4127, "end": 4128, "loc": { "start": { "line": 96, "column": 25 }, "end": { "line": 96, "column": 26 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 4129, "end": 4133, "loc": { "start": { "line": 96, "column": 27 }, "end": { "line": 96, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4133, "end": 4134, "loc": { "start": { "line": 96, "column": 31 }, "end": { "line": 96, "column": 32 } } }, { "type": "CommentLine", "value": " Track if the app is paused (cordova)", "start": 4146, "end": 4185, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 47 } } }, { "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": 4195, "end": 4199, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4199, "end": 4200, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "applicationPaused", "start": 4200, "end": 4217, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4218, "end": 4219, "loc": { "start": { "line": 99, "column": 31 }, "end": { "line": 99, "column": 32 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 4220, "end": 4225, "loc": { "start": { "line": 99, "column": 33 }, "end": { "line": 99, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4225, "end": 4226, "loc": { "start": { "line": 99, "column": 38 }, "end": { "line": 99, "column": 39 } } }, { "type": "CommentBlock", "value": "* @type {TypedTrackedState} ", "start": 4238, "end": 4279, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 49 } } }, { "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": 4289, "end": 4293, "loc": { "start": { "line": 102, "column": 8 }, "end": { "line": 102, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4293, "end": 4294, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackedIsRenderable", "start": 4294, "end": 4313, "loc": { "start": { "line": 102, "column": 13 }, "end": { "line": 102, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4314, "end": 4315, "loc": { "start": { "line": 102, "column": 33 }, "end": { "line": 102, "column": 34 } } }, { "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": 4316, "end": 4319, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TrackedState", "start": 4320, "end": 4332, "loc": { "start": { "line": 102, "column": 39 }, "end": { "line": 102, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4332, "end": 4333, "loc": { "start": { "line": 102, "column": 51 }, "end": { "line": 102, "column": 52 } } }, { "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": 4333, "end": 4337, "loc": { "start": { "line": 102, "column": 52 }, "end": { "line": 102, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4337, "end": 4338, "loc": { "start": { "line": 102, "column": 56 }, "end": { "line": 102, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onAppRenderableStateChanged", "start": 4338, "end": 4365, "loc": { "start": { "line": 102, "column": 57 }, "end": { "line": 102, "column": 84 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4365, "end": 4366, "loc": { "start": { "line": 102, "column": 84 }, "end": { "line": 102, "column": 85 } } }, { "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": 4367, "end": 4371, "loc": { "start": { "line": 102, "column": 86 }, "end": { "line": 102, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4371, "end": 4372, "loc": { "start": { "line": 102, "column": 90 }, "end": { "line": 102, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4372, "end": 4373, "loc": { "start": { "line": 102, "column": 91 }, "end": { "line": 102, "column": 92 } } }, { "type": "CommentLine", "value": " Dimensions", "start": 4385, "end": 4398, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "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": 4408, "end": 4412, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4412, "end": 4413, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenWidth", "start": 4413, "end": 4424, "loc": { "start": { "line": 105, "column": 13 }, "end": { "line": 105, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4425, "end": 4426, "loc": { "start": { "line": 105, "column": 25 }, "end": { "line": 105, "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": 4427, "end": 4428, "loc": { "start": { "line": 105, "column": 27 }, "end": { "line": 105, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4428, "end": 4429, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "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": 4439, "end": 4443, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4443, "end": 4444, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenHeight", "start": 4444, "end": 4456, "loc": { "start": { "line": 106, "column": 13 }, "end": { "line": 106, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4457, "end": 4458, "loc": { "start": { "line": 106, "column": 26 }, "end": { "line": 106, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4459, "end": 4460, "loc": { "start": { "line": 106, "column": 28 }, "end": { "line": 106, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4460, "end": 4461, "loc": { "start": { "line": 106, "column": 29 }, "end": { "line": 106, "column": 30 } } }, { "type": "CommentLine", "value": " Store the timestamp where we last checked for a screen resize, since orientationchange is unreliable with cordova", "start": 4473, "end": 4589, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 124 } } }, { "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": 4599, "end": 4603, "loc": { "start": { "line": 109, "column": 8 }, "end": { "line": 109, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4603, "end": 4604, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastResizeCheck", "start": 4604, "end": 4619, "loc": { "start": { "line": 109, "column": 13 }, "end": { "line": 109, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4620, "end": 4621, "loc": { "start": { "line": 109, "column": 29 }, "end": { "line": 109, "column": 30 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 4622, "end": 4626, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4626, "end": 4627, "loc": { "start": { "line": 109, "column": 35 }, "end": { "line": 109, "column": 36 } } }, { "type": "CommentLine", "value": " Store the mouse position, or null if not available", "start": 4639, "end": 4692, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 61 } } }, { "type": "CommentBlock", "value": "* @type {Vector|null} ", "start": 4702, "end": 4728, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 34 } } }, { "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": 4738, "end": 4742, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4742, "end": 4743, "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": "mousePosition", "start": 4743, "end": 4756, "loc": { "start": { "line": 113, "column": 13 }, "end": { "line": 113, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4757, "end": 4758, "loc": { "start": { "line": 113, "column": 27 }, "end": { "line": 113, "column": 28 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 4759, "end": 4763, "loc": { "start": { "line": 113, "column": 29 }, "end": { "line": 113, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4763, "end": 4764, "loc": { "start": { "line": 113, "column": 33 }, "end": { "line": 113, "column": 34 } } }, { "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": 4774, "end": 4778, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4778, "end": 4779, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onAboutClicked", "start": 4779, "end": 4793, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4794, "end": 4795, "loc": { "start": { "line": 114, "column": 28 }, "end": { "line": 114, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 4796, "end": 4805, "loc": { "start": { "line": 114, "column": 30 }, "end": { "line": 114, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4805, "end": 4806, "loc": { "start": { "line": 114, "column": 39 }, "end": { "line": 114, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4812, "end": 4813, "loc": { "start": { "line": 115, "column": 4 }, "end": { "line": 115, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Initializes all platform instances\r\n ", "start": 4821, "end": 4876, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 119, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initPlatformDependentInstances", "start": 4882, "end": 4912, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 120, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4912, "end": 4913, "loc": { "start": { "line": 120, "column": 34 }, "end": { "line": 120, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4913, "end": 4914, "loc": { "start": { "line": 120, "column": 35 }, "end": { "line": 120, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4915, "end": 4916, "loc": { "start": { "line": 120, "column": 37 }, "end": { "line": 120, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 4926, "end": 4932, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4932, "end": 4933, "loc": { "start": { "line": 121, "column": 14 }, "end": { "line": 121, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 4933, "end": 4936, "loc": { "start": { "line": 121, "column": 15 }, "end": { "line": 121, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4936, "end": 4937, "loc": { "start": { "line": 121, "column": 18 }, "end": { "line": 121, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Creating platform dependent instances (standalone=", "start": 4937, "end": 4989, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4989, "end": 4990, "loc": { "start": { "line": 121, "column": 71 }, "end": { "line": 121, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_STANDALONE", "start": 4991, "end": 5006, "loc": { "start": { "line": 121, "column": 73 }, "end": { "line": 121, "column": 88 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5006, "end": 5007, "loc": { "start": { "line": 121, "column": 88 }, "end": { "line": 121, "column": 89 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ")", "start": 5008, "end": 5011, "loc": { "start": { "line": 121, "column": 90 }, "end": { "line": 121, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5011, "end": 5012, "loc": { "start": { "line": 121, "column": 93 }, "end": { "line": 121, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5012, "end": 5013, "loc": { "start": { "line": 121, "column": 94 }, "end": { "line": 121, "column": 95 } } }, { "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": 5025, "end": 5027, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5028, "end": 5029, "loc": { "start": { "line": 123, "column": 11 }, "end": { "line": 123, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_STANDALONE", "start": 5029, "end": 5044, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5044, "end": 5045, "loc": { "start": { "line": 123, "column": 27 }, "end": { "line": 123, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5046, "end": 5047, "loc": { "start": { "line": 123, "column": 29 }, "end": { "line": 123, "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": 5061, "end": 5065, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5065, "end": 5066, "loc": { "start": { "line": 124, "column": 16 }, "end": { "line": 124, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platformWrapper", "start": 5066, "end": 5081, "loc": { "start": { "line": 124, "column": 17 }, "end": { "line": 124, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5082, "end": 5083, "loc": { "start": { "line": 124, "column": 33 }, "end": { "line": 124, "column": 34 } } }, { "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": 5084, "end": 5087, "loc": { "start": { "line": 124, "column": 35 }, "end": { "line": 124, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PlatformWrapperImplElectron", "start": 5088, "end": 5115, "loc": { "start": { "line": 124, "column": 39 }, "end": { "line": 124, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5115, "end": 5116, "loc": { "start": { "line": 124, "column": 66 }, "end": { "line": 124, "column": 67 } } }, { "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": 5116, "end": 5120, "loc": { "start": { "line": 124, "column": 67 }, "end": { "line": 124, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5120, "end": 5121, "loc": { "start": { "line": 124, "column": 71 }, "end": { "line": 124, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5121, "end": 5122, "loc": { "start": { "line": 124, "column": 72 }, "end": { "line": 124, "column": 73 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5132, "end": 5133, "loc": { "start": { "line": 125, "column": 8 }, "end": { "line": 125, "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": 5134, "end": 5138, "loc": { "start": { "line": 125, "column": 10 }, "end": { "line": 125, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5139, "end": 5140, "loc": { "start": { "line": 125, "column": 15 }, "end": { "line": 125, "column": 16 } } }, { "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": 5154, "end": 5158, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5158, "end": 5159, "loc": { "start": { "line": 126, "column": 16 }, "end": { "line": 126, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platformWrapper", "start": 5159, "end": 5174, "loc": { "start": { "line": 126, "column": 17 }, "end": { "line": 126, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5175, "end": 5176, "loc": { "start": { "line": 126, "column": 33 }, "end": { "line": 126, "column": 34 } } }, { "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": 5177, "end": 5180, "loc": { "start": { "line": 126, "column": 35 }, "end": { "line": 126, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PlatformWrapperImplBrowser", "start": 5181, "end": 5207, "loc": { "start": { "line": 126, "column": 39 }, "end": { "line": 126, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5207, "end": 5208, "loc": { "start": { "line": 126, "column": 65 }, "end": { "line": 126, "column": 66 } } }, { "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": 5208, "end": 5212, "loc": { "start": { "line": 126, "column": 66 }, "end": { "line": 126, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5212, "end": 5213, "loc": { "start": { "line": 126, "column": 70 }, "end": { "line": 126, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5213, "end": 5214, "loc": { "start": { "line": 126, "column": 71 }, "end": { "line": 126, "column": 72 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5224, "end": 5225, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 9 } } }, { "type": "CommentLine", "value": " Start with empty ad provider", "start": 5237, "end": 5268, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "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": 5278, "end": 5282, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5282, "end": 5283, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "adProvider", "start": 5283, "end": 5293, "loc": { "start": { "line": 130, "column": 13 }, "end": { "line": 130, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5294, "end": 5295, "loc": { "start": { "line": 130, "column": 24 }, "end": { "line": 130, "column": 25 } } }, { "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": 5296, "end": 5299, "loc": { "start": { "line": 130, "column": 26 }, "end": { "line": 130, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "NoAdProvider", "start": 5300, "end": 5312, "loc": { "start": { "line": 130, "column": 30 }, "end": { "line": 130, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5312, "end": 5313, "loc": { "start": { "line": 130, "column": 42 }, "end": { "line": 130, "column": 43 } } }, { "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": 5313, "end": 5317, "loc": { "start": { "line": 130, "column": 43 }, "end": { "line": 130, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5317, "end": 5318, "loc": { "start": { "line": 130, "column": 47 }, "end": { "line": 130, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5318, "end": 5319, "loc": { "start": { "line": 130, "column": 48 }, "end": { "line": 130, "column": 49 } } }, { "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": 5329, "end": 5333, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5333, "end": 5334, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sound", "start": 5334, "end": 5339, "loc": { "start": { "line": 131, "column": 13 }, "end": { "line": 131, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5340, "end": 5341, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 20 } } }, { "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": 5342, "end": 5345, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SoundImplBrowser", "start": 5346, "end": 5362, "loc": { "start": { "line": 131, "column": 25 }, "end": { "line": 131, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5362, "end": 5363, "loc": { "start": { "line": 131, "column": 41 }, "end": { "line": 131, "column": 42 } } }, { "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": 5363, "end": 5367, "loc": { "start": { "line": 131, "column": 42 }, "end": { "line": 131, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5367, "end": 5368, "loc": { "start": { "line": 131, "column": 46 }, "end": { "line": 131, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5368, "end": 5369, "loc": { "start": { "line": 131, "column": 47 }, "end": { "line": 131, "column": 48 } } }, { "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": 5379, "end": 5383, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5383, "end": 5384, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "analytics", "start": 5384, "end": 5393, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5394, "end": 5395, "loc": { "start": { "line": 132, "column": 23 }, "end": { "line": 132, "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": 5396, "end": 5399, "loc": { "start": { "line": 132, "column": 25 }, "end": { "line": 132, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GoogleAnalyticsImpl", "start": 5400, "end": 5419, "loc": { "start": { "line": 132, "column": 29 }, "end": { "line": 132, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5419, "end": 5420, "loc": { "start": { "line": 132, "column": 48 }, "end": { "line": 132, "column": 49 } } }, { "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": 5420, "end": 5424, "loc": { "start": { "line": 132, "column": 49 }, "end": { "line": 132, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5424, "end": 5425, "loc": { "start": { "line": 132, "column": 53 }, "end": { "line": 132, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5425, "end": 5426, "loc": { "start": { "line": 132, "column": 54 }, "end": { "line": 132, "column": 55 } } }, { "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": 5436, "end": 5440, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5440, "end": 5441, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameAnalytics", "start": 5441, "end": 5454, "loc": { "start": { "line": 133, "column": 13 }, "end": { "line": 133, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5455, "end": 5456, "loc": { "start": { "line": 133, "column": 27 }, "end": { "line": 133, "column": 28 } } }, { "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": 5457, "end": 5460, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapezGameAnalytics", "start": 5461, "end": 5480, "loc": { "start": { "line": 133, "column": 33 }, "end": { "line": 133, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5480, "end": 5481, "loc": { "start": { "line": 133, "column": 52 }, "end": { "line": 133, "column": 53 } } }, { "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": 5481, "end": 5485, "loc": { "start": { "line": 133, "column": 53 }, "end": { "line": 133, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5485, "end": 5486, "loc": { "start": { "line": 133, "column": 57 }, "end": { "line": 133, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5486, "end": 5487, "loc": { "start": { "line": 133, "column": 58 }, "end": { "line": 133, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5493, "end": 5494, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Registers all game states\r\n ", "start": 5502, "end": 5548, "loc": { "start": { "line": 136, "column": 4 }, "end": { "line": 138, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStates", "start": 5554, "end": 5568, "loc": { "start": { "line": 139, "column": 4 }, "end": { "line": 139, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5568, "end": 5569, "loc": { "start": { "line": 139, "column": 18 }, "end": { "line": 139, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5569, "end": 5570, "loc": { "start": { "line": 139, "column": 19 }, "end": { "line": 139, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5571, "end": 5572, "loc": { "start": { "line": 139, "column": 21 }, "end": { "line": 139, "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": 5582, "end": 5585, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5586, "end": 5587, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 13 } } }, { "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": 5587, "end": 5592, "loc": { "start": { "line": 140, "column": 13 }, "end": { "line": 140, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateKey", "start": 5593, "end": 5601, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 27 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 5602, "end": 5604, "loc": { "start": { "line": 140, "column": 28 }, "end": { "line": 140, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Application", "start": 5605, "end": 5616, "loc": { "start": { "line": 140, "column": 31 }, "end": { "line": 140, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5616, "end": 5617, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "states", "start": 5617, "end": 5623, "loc": { "start": { "line": 140, "column": 43 }, "end": { "line": 140, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5623, "end": 5624, "loc": { "start": { "line": 140, "column": 49 }, "end": { "line": 140, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5625, "end": 5626, "loc": { "start": { "line": 140, "column": 51 }, "end": { "line": 140, "column": 52 } } }, { "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": 5640, "end": 5642, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5643, "end": 5644, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 5644, "end": 5645, "loc": { "start": { "line": 141, "column": 16 }, "end": { "line": 141, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 5645, "end": 5651, "loc": { "start": { "line": 141, "column": 17 }, "end": { "line": 141, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5651, "end": 5652, "loc": { "start": { "line": 141, "column": 23 }, "end": { "line": 141, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasOwnProperty", "start": 5652, "end": 5666, "loc": { "start": { "line": 141, "column": 24 }, "end": { "line": 141, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5666, "end": 5667, "loc": { "start": { "line": 141, "column": 38 }, "end": { "line": 141, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "call", "start": 5667, "end": 5671, "loc": { "start": { "line": 141, "column": 39 }, "end": { "line": 141, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5671, "end": 5672, "loc": { "start": { "line": 141, "column": 43 }, "end": { "line": 141, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Application", "start": 5672, "end": 5683, "loc": { "start": { "line": 141, "column": 44 }, "end": { "line": 141, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5683, "end": 5684, "loc": { "start": { "line": 141, "column": 55 }, "end": { "line": 141, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "states", "start": 5684, "end": 5690, "loc": { "start": { "line": 141, "column": 56 }, "end": { "line": 141, "column": 62 } } }, { "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": 141, "column": 62 }, "end": { "line": 141, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateKey", "start": 5692, "end": 5700, "loc": { "start": { "line": 141, "column": 64 }, "end": { "line": 141, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5700, "end": 5701, "loc": { "start": { "line": 141, "column": 72 }, "end": { "line": 141, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5701, "end": 5702, "loc": { "start": { "line": 141, "column": 73 }, "end": { "line": 141, "column": 74 } } }, { "type": { "label": "continue", "keyword": "continue", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "continue", "start": 5703, "end": 5711, "loc": { "start": { "line": 141, "column": 75 }, "end": { "line": 141, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5711, "end": 5712, "loc": { "start": { "line": 141, "column": 83 }, "end": { "line": 141, "column": 84 } } }, { "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": 5726, "end": 5730, "loc": { "start": { "line": 142, "column": 12 }, "end": { "line": 142, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5730, "end": 5731, "loc": { "start": { "line": 142, "column": 16 }, "end": { "line": 142, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 5731, "end": 5739, "loc": { "start": { "line": 142, "column": 17 }, "end": { "line": 142, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5739, "end": 5740, "loc": { "start": { "line": 142, "column": 25 }, "end": { "line": 142, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "register", "start": 5740, "end": 5748, "loc": { "start": { "line": 142, "column": 26 }, "end": { "line": 142, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5748, "end": 5749, "loc": { "start": { "line": 142, "column": 34 }, "end": { "line": 142, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Application", "start": 5749, "end": 5760, "loc": { "start": { "line": 142, "column": 35 }, "end": { "line": 142, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5760, "end": 5761, "loc": { "start": { "line": 142, "column": 46 }, "end": { "line": 142, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "states", "start": 5761, "end": 5767, "loc": { "start": { "line": 142, "column": 47 }, "end": { "line": 142, "column": 53 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5767, "end": 5768, "loc": { "start": { "line": 142, "column": 53 }, "end": { "line": 142, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateKey", "start": 5768, "end": 5776, "loc": { "start": { "line": 142, "column": 54 }, "end": { "line": 142, "column": 62 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5776, "end": 5777, "loc": { "start": { "line": 142, "column": 62 }, "end": { "line": 142, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5777, "end": 5778, "loc": { "start": { "line": 142, "column": 63 }, "end": { "line": 142, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5778, "end": 5779, "loc": { "start": { "line": 142, "column": 64 }, "end": { "line": 142, "column": 65 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5789, "end": 5790, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 143, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5796, "end": 5797, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 144, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Registers all event listeners\r\n ", "start": 5805, "end": 5855, "loc": { "start": { "line": 146, "column": 4 }, "end": { "line": 148, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerEventListeners", "start": 5861, "end": 5883, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5883, "end": 5884, "loc": { "start": { "line": 149, "column": 26 }, "end": { "line": 149, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5884, "end": 5885, "loc": { "start": { "line": 149, "column": 27 }, "end": { "line": 149, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5886, "end": 5887, "loc": { "start": { "line": 149, "column": 29 }, "end": { "line": 149, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5897, "end": 5903, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5903, "end": 5904, "loc": { "start": { "line": 150, "column": 14 }, "end": { "line": 150, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 5904, "end": 5920, "loc": { "start": { "line": 150, "column": 15 }, "end": { "line": 150, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5920, "end": 5921, "loc": { "start": { "line": 150, "column": 31 }, "end": { "line": 150, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "focus", "start": 5921, "end": 5928, "loc": { "start": { "line": 150, "column": 32 }, "end": { "line": 150, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5928, "end": 5929, "loc": { "start": { "line": 150, "column": 39 }, "end": { "line": 150, "column": 40 } } }, { "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": 5930, "end": 5934, "loc": { "start": { "line": 150, "column": 41 }, "end": { "line": 150, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5934, "end": 5935, "loc": { "start": { "line": 150, "column": 45 }, "end": { "line": 150, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onFocus", "start": 5935, "end": 5942, "loc": { "start": { "line": 150, "column": 46 }, "end": { "line": 150, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5942, "end": 5943, "loc": { "start": { "line": 150, "column": 53 }, "end": { "line": 150, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 5943, "end": 5947, "loc": { "start": { "line": 150, "column": 54 }, "end": { "line": 150, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5947, "end": 5948, "loc": { "start": { "line": 150, "column": 58 }, "end": { "line": 150, "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": 5948, "end": 5952, "loc": { "start": { "line": 150, "column": 59 }, "end": { "line": 150, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5952, "end": 5953, "loc": { "start": { "line": 150, "column": 63 }, "end": { "line": 150, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5953, "end": 5954, "loc": { "start": { "line": 150, "column": 64 }, "end": { "line": 150, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5954, "end": 5955, "loc": { "start": { "line": 150, "column": 65 }, "end": { "line": 150, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 5965, "end": 5971, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5971, "end": 5972, "loc": { "start": { "line": 151, "column": 14 }, "end": { "line": 151, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 5972, "end": 5988, "loc": { "start": { "line": 151, "column": 15 }, "end": { "line": 151, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5988, "end": 5989, "loc": { "start": { "line": 151, "column": 31 }, "end": { "line": 151, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "blur", "start": 5989, "end": 5995, "loc": { "start": { "line": 151, "column": 32 }, "end": { "line": 151, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5995, "end": 5996, "loc": { "start": { "line": 151, "column": 38 }, "end": { "line": 151, "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": 5997, "end": 6001, "loc": { "start": { "line": 151, "column": 40 }, "end": { "line": 151, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6001, "end": 6002, "loc": { "start": { "line": 151, "column": 44 }, "end": { "line": 151, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBlur", "start": 6002, "end": 6008, "loc": { "start": { "line": 151, "column": 45 }, "end": { "line": 151, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6008, "end": 6009, "loc": { "start": { "line": 151, "column": 51 }, "end": { "line": 151, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 6009, "end": 6013, "loc": { "start": { "line": 151, "column": 52 }, "end": { "line": 151, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6013, "end": 6014, "loc": { "start": { "line": 151, "column": 56 }, "end": { "line": 151, "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": 6014, "end": 6018, "loc": { "start": { "line": 151, "column": 57 }, "end": { "line": 151, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6018, "end": 6019, "loc": { "start": { "line": 151, "column": 61 }, "end": { "line": 151, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6019, "end": 6020, "loc": { "start": { "line": 151, "column": 62 }, "end": { "line": 151, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6020, "end": 6021, "loc": { "start": { "line": 151, "column": 63 }, "end": { "line": 151, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6033, "end": 6039, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6039, "end": 6040, "loc": { "start": { "line": 153, "column": 14 }, "end": { "line": 153, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6040, "end": 6056, "loc": { "start": { "line": 153, "column": 15 }, "end": { "line": 153, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6056, "end": 6057, "loc": { "start": { "line": 153, "column": 31 }, "end": { "line": 153, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "resize", "start": 6057, "end": 6065, "loc": { "start": { "line": 153, "column": 32 }, "end": { "line": 153, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6065, "end": 6066, "loc": { "start": { "line": 153, "column": 40 }, "end": { "line": 153, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6067, "end": 6068, "loc": { "start": { "line": 153, "column": 42 }, "end": { "line": 153, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6068, "end": 6069, "loc": { "start": { "line": 153, "column": 43 }, "end": { "line": 153, "column": 44 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6070, "end": 6072, "loc": { "start": { "line": 153, "column": 45 }, "end": { "line": 153, "column": 47 } } }, { "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": 6073, "end": 6077, "loc": { "start": { "line": 153, "column": 48 }, "end": { "line": 153, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6077, "end": 6078, "loc": { "start": { "line": 153, "column": 52 }, "end": { "line": 153, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkResize", "start": 6078, "end": 6089, "loc": { "start": { "line": 153, "column": 53 }, "end": { "line": 153, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6089, "end": 6090, "loc": { "start": { "line": 153, "column": 64 }, "end": { "line": 153, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6090, "end": 6091, "loc": { "start": { "line": 153, "column": 65 }, "end": { "line": 153, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6091, "end": 6092, "loc": { "start": { "line": 153, "column": 66 }, "end": { "line": 153, "column": 67 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 6093, "end": 6097, "loc": { "start": { "line": 153, "column": 68 }, "end": { "line": 153, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6097, "end": 6098, "loc": { "start": { "line": 153, "column": 72 }, "end": { "line": 153, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6098, "end": 6099, "loc": { "start": { "line": 153, "column": 73 }, "end": { "line": 153, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6109, "end": 6115, "loc": { "start": { "line": 154, "column": 8 }, "end": { "line": 154, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6115, "end": 6116, "loc": { "start": { "line": 154, "column": 14 }, "end": { "line": 154, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6116, "end": 6132, "loc": { "start": { "line": 154, "column": 15 }, "end": { "line": 154, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6132, "end": 6133, "loc": { "start": { "line": 154, "column": 31 }, "end": { "line": 154, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "orientationchange", "start": 6133, "end": 6152, "loc": { "start": { "line": 154, "column": 32 }, "end": { "line": 154, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6152, "end": 6153, "loc": { "start": { "line": 154, "column": 51 }, "end": { "line": 154, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6154, "end": 6155, "loc": { "start": { "line": 154, "column": 53 }, "end": { "line": 154, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6155, "end": 6156, "loc": { "start": { "line": 154, "column": 54 }, "end": { "line": 154, "column": 55 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6157, "end": 6159, "loc": { "start": { "line": 154, "column": 56 }, "end": { "line": 154, "column": 58 } } }, { "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": 6160, "end": 6164, "loc": { "start": { "line": 154, "column": 59 }, "end": { "line": 154, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6164, "end": 6165, "loc": { "start": { "line": 154, "column": 63 }, "end": { "line": 154, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkResize", "start": 6165, "end": 6176, "loc": { "start": { "line": 154, "column": 64 }, "end": { "line": 154, "column": 75 } } }, { "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": 154, "column": 75 }, "end": { "line": 154, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6177, "end": 6178, "loc": { "start": { "line": 154, "column": 76 }, "end": { "line": 154, "column": 77 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6178, "end": 6179, "loc": { "start": { "line": 154, "column": 77 }, "end": { "line": 154, "column": 78 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 6180, "end": 6184, "loc": { "start": { "line": 154, "column": 79 }, "end": { "line": 154, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6184, "end": 6185, "loc": { "start": { "line": 154, "column": 83 }, "end": { "line": 154, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6185, "end": 6186, "loc": { "start": { "line": 154, "column": 84 }, "end": { "line": 154, "column": 85 } } }, { "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": 6198, "end": 6200, "loc": { "start": { "line": 156, "column": 8 }, "end": { "line": 156, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6201, "end": 6202, "loc": { "start": { "line": 156, "column": 11 }, "end": { "line": 156, "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": 6202, "end": 6203, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_MOBILE_APP", "start": 6203, "end": 6218, "loc": { "start": { "line": 156, "column": 13 }, "end": { "line": 156, "column": 28 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 6219, "end": 6221, "loc": { "start": { "line": 156, "column": 29 }, "end": { "line": 156, "column": 31 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6222, "end": 6223, "loc": { "start": { "line": 156, "column": 32 }, "end": { "line": 156, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IS_MOBILE", "start": 6223, "end": 6232, "loc": { "start": { "line": 156, "column": 33 }, "end": { "line": 156, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6232, "end": 6233, "loc": { "start": { "line": 156, "column": 42 }, "end": { "line": 156, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6234, "end": 6235, "loc": { "start": { "line": 156, "column": 44 }, "end": { "line": 156, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6249, "end": 6255, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6255, "end": 6256, "loc": { "start": { "line": 157, "column": 18 }, "end": { "line": 157, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6256, "end": 6272, "loc": { "start": { "line": 157, "column": 19 }, "end": { "line": 157, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6272, "end": 6273, "loc": { "start": { "line": 157, "column": 35 }, "end": { "line": 157, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mousemove", "start": 6273, "end": 6284, "loc": { "start": { "line": 157, "column": 36 }, "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": 6284, "end": 6285, "loc": { "start": { "line": 157, "column": 47 }, "end": { "line": 157, "column": 48 } } }, { "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": 6286, "end": 6290, "loc": { "start": { "line": 157, "column": 49 }, "end": { "line": 157, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6290, "end": 6291, "loc": { "start": { "line": 157, "column": 53 }, "end": { "line": 157, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMousemove", "start": 6291, "end": 6306, "loc": { "start": { "line": 157, "column": 54 }, "end": { "line": 157, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6306, "end": 6307, "loc": { "start": { "line": 157, "column": 69 }, "end": { "line": 157, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 6307, "end": 6311, "loc": { "start": { "line": 157, "column": 70 }, "end": { "line": 157, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6311, "end": 6312, "loc": { "start": { "line": 157, "column": 74 }, "end": { "line": 157, "column": 75 } } }, { "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": 6312, "end": 6316, "loc": { "start": { "line": 157, "column": 75 }, "end": { "line": 157, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6316, "end": 6317, "loc": { "start": { "line": 157, "column": 79 }, "end": { "line": 157, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6317, "end": 6318, "loc": { "start": { "line": 157, "column": 80 }, "end": { "line": 157, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6318, "end": 6319, "loc": { "start": { "line": 157, "column": 81 }, "end": { "line": 157, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6333, "end": 6339, "loc": { "start": { "line": 158, "column": 12 }, "end": { "line": 158, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6339, "end": 6340, "loc": { "start": { "line": 158, "column": 18 }, "end": { "line": 158, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6340, "end": 6356, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6356, "end": 6357, "loc": { "start": { "line": 158, "column": 35 }, "end": { "line": 158, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mouseout", "start": 6357, "end": 6367, "loc": { "start": { "line": 158, "column": 36 }, "end": { "line": 158, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6367, "end": 6368, "loc": { "start": { "line": 158, "column": 46 }, "end": { "line": 158, "column": 47 } } }, { "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": 6369, "end": 6373, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6373, "end": 6374, "loc": { "start": { "line": 158, "column": 52 }, "end": { "line": 158, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMousemove", "start": 6374, "end": 6389, "loc": { "start": { "line": 158, "column": 53 }, "end": { "line": 158, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6389, "end": 6390, "loc": { "start": { "line": 158, "column": 68 }, "end": { "line": 158, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 6390, "end": 6394, "loc": { "start": { "line": 158, "column": 69 }, "end": { "line": 158, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6394, "end": 6395, "loc": { "start": { "line": 158, "column": 73 }, "end": { "line": 158, "column": 74 } } }, { "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": 6395, "end": 6399, "loc": { "start": { "line": 158, "column": 74 }, "end": { "line": 158, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6399, "end": 6400, "loc": { "start": { "line": 158, "column": 78 }, "end": { "line": 158, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6400, "end": 6401, "loc": { "start": { "line": 158, "column": 79 }, "end": { "line": 158, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6401, "end": 6402, "loc": { "start": { "line": 158, "column": 80 }, "end": { "line": 158, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6416, "end": 6422, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6422, "end": 6423, "loc": { "start": { "line": 159, "column": 18 }, "end": { "line": 159, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6423, "end": 6439, "loc": { "start": { "line": 159, "column": 19 }, "end": { "line": 159, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6439, "end": 6440, "loc": { "start": { "line": 159, "column": 35 }, "end": { "line": 159, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mouseover", "start": 6440, "end": 6451, "loc": { "start": { "line": 159, "column": 36 }, "end": { "line": 159, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6451, "end": 6452, "loc": { "start": { "line": 159, "column": 47 }, "end": { "line": 159, "column": 48 } } }, { "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": 6453, "end": 6457, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6457, "end": 6458, "loc": { "start": { "line": 159, "column": 53 }, "end": { "line": 159, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMousemove", "start": 6458, "end": 6473, "loc": { "start": { "line": 159, "column": 54 }, "end": { "line": 159, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6473, "end": 6474, "loc": { "start": { "line": 159, "column": 69 }, "end": { "line": 159, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 6474, "end": 6478, "loc": { "start": { "line": 159, "column": 70 }, "end": { "line": 159, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6478, "end": 6479, "loc": { "start": { "line": 159, "column": 74 }, "end": { "line": 159, "column": 75 } } }, { "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": 6479, "end": 6483, "loc": { "start": { "line": 159, "column": 75 }, "end": { "line": 159, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6483, "end": 6484, "loc": { "start": { "line": 159, "column": 79 }, "end": { "line": 159, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6484, "end": 6485, "loc": { "start": { "line": 159, "column": 80 }, "end": { "line": 159, "column": 81 } } }, { "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": 159, "column": 81 }, "end": { "line": 159, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6500, "end": 6506, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6506, "end": 6507, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6507, "end": 6523, "loc": { "start": { "line": 160, "column": 19 }, "end": { "line": 160, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6523, "end": 6524, "loc": { "start": { "line": 160, "column": 35 }, "end": { "line": 160, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mouseleave", "start": 6524, "end": 6536, "loc": { "start": { "line": 160, "column": 36 }, "end": { "line": 160, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6536, "end": 6537, "loc": { "start": { "line": 160, "column": 48 }, "end": { "line": 160, "column": 49 } } }, { "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": 6538, "end": 6542, "loc": { "start": { "line": 160, "column": 50 }, "end": { "line": 160, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6542, "end": 6543, "loc": { "start": { "line": 160, "column": 54 }, "end": { "line": 160, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMousemove", "start": 6543, "end": 6558, "loc": { "start": { "line": 160, "column": 55 }, "end": { "line": 160, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6558, "end": 6559, "loc": { "start": { "line": 160, "column": 70 }, "end": { "line": 160, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 6559, "end": 6563, "loc": { "start": { "line": 160, "column": 71 }, "end": { "line": 160, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6563, "end": 6564, "loc": { "start": { "line": 160, "column": 75 }, "end": { "line": 160, "column": 76 } } }, { "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": 6564, "end": 6568, "loc": { "start": { "line": 160, "column": 76 }, "end": { "line": 160, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6568, "end": 6569, "loc": { "start": { "line": 160, "column": 80 }, "end": { "line": 160, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6569, "end": 6570, "loc": { "start": { "line": 160, "column": 81 }, "end": { "line": 160, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6570, "end": 6571, "loc": { "start": { "line": 160, "column": 82 }, "end": { "line": 160, "column": 83 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6581, "end": 6582, "loc": { "start": { "line": 161, "column": 8 }, "end": { "line": 161, "column": 9 } } }, { "type": "CommentLine", "value": " Unload events", "start": 6594, "end": 6610, "loc": { "start": { "line": 163, "column": 8 }, "end": { "line": 163, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6620, "end": 6626, "loc": { "start": { "line": 164, "column": 8 }, "end": { "line": 164, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6626, "end": 6627, "loc": { "start": { "line": 164, "column": 14 }, "end": { "line": 164, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6627, "end": 6643, "loc": { "start": { "line": 164, "column": 15 }, "end": { "line": 164, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6643, "end": 6644, "loc": { "start": { "line": 164, "column": 31 }, "end": { "line": 164, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "beforeunload", "start": 6644, "end": 6658, "loc": { "start": { "line": 164, "column": 32 }, "end": { "line": 164, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6658, "end": 6659, "loc": { "start": { "line": 164, "column": 46 }, "end": { "line": 164, "column": 47 } } }, { "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": 6660, "end": 6664, "loc": { "start": { "line": 164, "column": 48 }, "end": { "line": 164, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6664, "end": 6665, "loc": { "start": { "line": 164, "column": 52 }, "end": { "line": 164, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBeforeUnload", "start": 6665, "end": 6679, "loc": { "start": { "line": 164, "column": 53 }, "end": { "line": 164, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6679, "end": 6680, "loc": { "start": { "line": 164, "column": 67 }, "end": { "line": 164, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 6680, "end": 6684, "loc": { "start": { "line": 164, "column": 68 }, "end": { "line": 164, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6684, "end": 6685, "loc": { "start": { "line": 164, "column": 72 }, "end": { "line": 164, "column": 73 } } }, { "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": 6685, "end": 6689, "loc": { "start": { "line": 164, "column": 73 }, "end": { "line": 164, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6689, "end": 6690, "loc": { "start": { "line": 164, "column": 77 }, "end": { "line": 164, "column": 78 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6690, "end": 6691, "loc": { "start": { "line": 164, "column": 78 }, "end": { "line": 164, "column": 79 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 6692, "end": 6696, "loc": { "start": { "line": 164, "column": 80 }, "end": { "line": 164, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6696, "end": 6697, "loc": { "start": { "line": 164, "column": 84 }, "end": { "line": 164, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6697, "end": 6698, "loc": { "start": { "line": 164, "column": 85 }, "end": { "line": 164, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 6708, "end": 6714, "loc": { "start": { "line": 165, "column": 8 }, "end": { "line": 165, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6714, "end": 6715, "loc": { "start": { "line": 165, "column": 14 }, "end": { "line": 165, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6715, "end": 6731, "loc": { "start": { "line": 165, "column": 15 }, "end": { "line": 165, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6731, "end": 6732, "loc": { "start": { "line": 165, "column": 31 }, "end": { "line": 165, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "unload", "start": 6732, "end": 6740, "loc": { "start": { "line": 165, "column": 32 }, "end": { "line": 165, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6740, "end": 6741, "loc": { "start": { "line": 165, "column": 40 }, "end": { "line": 165, "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": 6742, "end": 6746, "loc": { "start": { "line": 165, "column": 42 }, "end": { "line": 165, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6746, "end": 6747, "loc": { "start": { "line": 165, "column": 46 }, "end": { "line": 165, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onUnload", "start": 6747, "end": 6755, "loc": { "start": { "line": 165, "column": 47 }, "end": { "line": 165, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6755, "end": 6756, "loc": { "start": { "line": 165, "column": 55 }, "end": { "line": 165, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 6756, "end": 6760, "loc": { "start": { "line": 165, "column": 56 }, "end": { "line": 165, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6760, "end": 6761, "loc": { "start": { "line": 165, "column": 60 }, "end": { "line": 165, "column": 61 } } }, { "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": 6761, "end": 6765, "loc": { "start": { "line": 165, "column": 61 }, "end": { "line": 165, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6765, "end": 6766, "loc": { "start": { "line": 165, "column": 65 }, "end": { "line": 165, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6766, "end": 6767, "loc": { "start": { "line": 165, "column": 66 }, "end": { "line": 165, "column": 67 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 6768, "end": 6772, "loc": { "start": { "line": 165, "column": 68 }, "end": { "line": 165, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6772, "end": 6773, "loc": { "start": { "line": 165, "column": 72 }, "end": { "line": 165, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6773, "end": 6774, "loc": { "start": { "line": 165, "column": 73 }, "end": { "line": 165, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 6786, "end": 6794, "loc": { "start": { "line": 167, "column": 8 }, "end": { "line": 167, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6794, "end": 6795, "loc": { "start": { "line": 167, "column": 16 }, "end": { "line": 167, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6795, "end": 6811, "loc": { "start": { "line": 167, "column": 17 }, "end": { "line": 167, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6811, "end": 6812, "loc": { "start": { "line": 167, "column": 33 }, "end": { "line": 167, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisibilityEventName", "start": 6812, "end": 6835, "loc": { "start": { "line": 167, "column": 34 }, "end": { "line": 167, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6835, "end": 6836, "loc": { "start": { "line": 167, "column": 57 }, "end": { "line": 167, "column": 58 } } }, { "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": 6837, "end": 6841, "loc": { "start": { "line": 167, "column": 59 }, "end": { "line": 167, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6841, "end": 6842, "loc": { "start": { "line": 167, "column": 63 }, "end": { "line": 167, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleVisibilityChange", "start": 6842, "end": 6864, "loc": { "start": { "line": 167, "column": 64 }, "end": { "line": 167, "column": 86 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6864, "end": 6865, "loc": { "start": { "line": 167, "column": 86 }, "end": { "line": 167, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 6865, "end": 6869, "loc": { "start": { "line": 167, "column": 87 }, "end": { "line": 167, "column": 91 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6869, "end": 6870, "loc": { "start": { "line": 167, "column": 91 }, "end": { "line": 167, "column": 92 } } }, { "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": 6870, "end": 6874, "loc": { "start": { "line": 167, "column": 92 }, "end": { "line": 167, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6874, "end": 6875, "loc": { "start": { "line": 167, "column": 96 }, "end": { "line": 167, "column": 97 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6875, "end": 6876, "loc": { "start": { "line": 167, "column": 97 }, "end": { "line": 167, "column": 98 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 6877, "end": 6882, "loc": { "start": { "line": 167, "column": 99 }, "end": { "line": 167, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6882, "end": 6883, "loc": { "start": { "line": 167, "column": 104 }, "end": { "line": 167, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6883, "end": 6884, "loc": { "start": { "line": 167, "column": 105 }, "end": { "line": 167, "column": 106 } } }, { "type": "CommentLine", "value": " Track touches so we can update the focus appropriately", "start": 6896, "end": 6953, "loc": { "start": { "line": 169, "column": 8 }, "end": { "line": 169, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 6963, "end": 6971, "loc": { "start": { "line": 170, "column": 8 }, "end": { "line": 170, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6971, "end": 6972, "loc": { "start": { "line": 170, "column": 16 }, "end": { "line": 170, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 6972, "end": 6988, "loc": { "start": { "line": 170, "column": 17 }, "end": { "line": 170, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6988, "end": 6989, "loc": { "start": { "line": 170, "column": 33 }, "end": { "line": 170, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchstart", "start": 6989, "end": 7001, "loc": { "start": { "line": 170, "column": 34 }, "end": { "line": 170, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7001, "end": 7002, "loc": { "start": { "line": 170, "column": 46 }, "end": { "line": 170, "column": 47 } } }, { "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": 7003, "end": 7007, "loc": { "start": { "line": 170, "column": 48 }, "end": { "line": 170, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7007, "end": 7008, "loc": { "start": { "line": 170, "column": 52 }, "end": { "line": 170, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateFocusAfterUserInteraction", "start": 7008, "end": 7039, "loc": { "start": { "line": 170, "column": 53 }, "end": { "line": 170, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7039, "end": 7040, "loc": { "start": { "line": 170, "column": 84 }, "end": { "line": 170, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 7040, "end": 7044, "loc": { "start": { "line": 170, "column": 85 }, "end": { "line": 170, "column": 89 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7044, "end": 7045, "loc": { "start": { "line": 170, "column": 89 }, "end": { "line": 170, "column": 90 } } }, { "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": 7045, "end": 7049, "loc": { "start": { "line": 170, "column": 90 }, "end": { "line": 170, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7049, "end": 7050, "loc": { "start": { "line": 170, "column": 94 }, "end": { "line": 170, "column": 95 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7050, "end": 7051, "loc": { "start": { "line": 170, "column": 95 }, "end": { "line": 170, "column": 96 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 7052, "end": 7056, "loc": { "start": { "line": 170, "column": 97 }, "end": { "line": 170, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7056, "end": 7057, "loc": { "start": { "line": 170, "column": 101 }, "end": { "line": 170, "column": 102 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7057, "end": 7058, "loc": { "start": { "line": 170, "column": 102 }, "end": { "line": 170, "column": 103 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 7068, "end": 7076, "loc": { "start": { "line": 171, "column": 8 }, "end": { "line": 171, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7076, "end": 7077, "loc": { "start": { "line": 171, "column": 16 }, "end": { "line": 171, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 7077, "end": 7093, "loc": { "start": { "line": 171, "column": 17 }, "end": { "line": 171, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7093, "end": 7094, "loc": { "start": { "line": 171, "column": 33 }, "end": { "line": 171, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "touchend", "start": 7094, "end": 7104, "loc": { "start": { "line": 171, "column": 34 }, "end": { "line": 171, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7104, "end": 7105, "loc": { "start": { "line": 171, "column": 44 }, "end": { "line": 171, "column": 45 } } }, { "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": 7106, "end": 7110, "loc": { "start": { "line": 171, "column": 46 }, "end": { "line": 171, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7110, "end": 7111, "loc": { "start": { "line": 171, "column": 50 }, "end": { "line": 171, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateFocusAfterUserInteraction", "start": 7111, "end": 7142, "loc": { "start": { "line": 171, "column": 51 }, "end": { "line": 171, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7142, "end": 7143, "loc": { "start": { "line": 171, "column": 82 }, "end": { "line": 171, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 7143, "end": 7147, "loc": { "start": { "line": 171, "column": 83 }, "end": { "line": 171, "column": 87 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7147, "end": 7148, "loc": { "start": { "line": 171, "column": 87 }, "end": { "line": 171, "column": 88 } } }, { "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": 7148, "end": 7152, "loc": { "start": { "line": 171, "column": 88 }, "end": { "line": 171, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7152, "end": 7153, "loc": { "start": { "line": 171, "column": 92 }, "end": { "line": 171, "column": 93 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7153, "end": 7154, "loc": { "start": { "line": 171, "column": 93 }, "end": { "line": 171, "column": 94 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 7155, "end": 7159, "loc": { "start": { "line": 171, "column": 95 }, "end": { "line": 171, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7159, "end": 7160, "loc": { "start": { "line": 171, "column": 99 }, "end": { "line": 171, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7160, "end": 7161, "loc": { "start": { "line": 171, "column": 100 }, "end": { "line": 171, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7167, "end": 7168, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks the focus after a touch\r\n * @param {TouchEvent} event\r\n ", "start": 7176, "end": 7261, "loc": { "start": { "line": 174, "column": 4 }, "end": { "line": 177, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateFocusAfterUserInteraction", "start": 7267, "end": 7298, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 178, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7298, "end": 7299, "loc": { "start": { "line": 178, "column": 35 }, "end": { "line": 178, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 7299, "end": 7304, "loc": { "start": { "line": 178, "column": 36 }, "end": { "line": 178, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7304, "end": 7305, "loc": { "start": { "line": 178, "column": 41 }, "end": { "line": 178, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7306, "end": 7307, "loc": { "start": { "line": 178, "column": 43 }, "end": { "line": 178, "column": 44 } } }, { "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": 7317, "end": 7322, "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": "target", "start": 7323, "end": 7329, "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": 7330, "end": 7331, "loc": { "start": { "line": 179, "column": 21 }, "end": { "line": 179, "column": 22 } } }, { "type": "CommentBlock", "value": "* @type {HTMLElement} ", "start": 7332, "end": 7358, "loc": { "start": { "line": 179, "column": 23 }, "end": { "line": 179, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7359, "end": 7360, "loc": { "start": { "line": 179, "column": 50 }, "end": { "line": 179, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 7360, "end": 7365, "loc": { "start": { "line": 179, "column": 51 }, "end": { "line": 179, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7365, "end": 7366, "loc": { "start": { "line": 179, "column": 56 }, "end": { "line": 179, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 7366, "end": 7372, "loc": { "start": { "line": 179, "column": 57 }, "end": { "line": 179, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7372, "end": 7373, "loc": { "start": { "line": 179, "column": 63 }, "end": { "line": 179, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7373, "end": 7374, "loc": { "start": { "line": 179, "column": 64 }, "end": { "line": 179, "column": 65 } } }, { "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": 7384, "end": 7386, "loc": { "start": { "line": 180, "column": 8 }, "end": { "line": 180, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7387, "end": 7388, "loc": { "start": { "line": 180, "column": 11 }, "end": { "line": 180, "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": 7388, "end": 7389, "loc": { "start": { "line": 180, "column": 12 }, "end": { "line": 180, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 7389, "end": 7395, "loc": { "start": { "line": 180, "column": 13 }, "end": { "line": 180, "column": 19 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 7396, "end": 7398, "loc": { "start": { "line": 180, "column": 20 }, "end": { "line": 180, "column": 22 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 7399, "end": 7400, "loc": { "start": { "line": 180, "column": 23 }, "end": { "line": 180, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 7400, "end": 7406, "loc": { "start": { "line": 180, "column": 24 }, "end": { "line": 180, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7406, "end": 7407, "loc": { "start": { "line": 180, "column": 30 }, "end": { "line": 180, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 7407, "end": 7414, "loc": { "start": { "line": 180, "column": 31 }, "end": { "line": 180, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7414, "end": 7415, "loc": { "start": { "line": 180, "column": 38 }, "end": { "line": 180, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7416, "end": 7417, "loc": { "start": { "line": 180, "column": 40 }, "end": { "line": 180, "column": 41 } } }, { "type": "CommentLine", "value": " Safety check", "start": 7431, "end": 7446, "loc": { "start": { "line": 181, "column": 12 }, "end": { "line": 181, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 7460, "end": 7466, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7466, "end": 7467, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 7467, "end": 7471, "loc": { "start": { "line": 182, "column": 19 }, "end": { "line": 182, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7471, "end": 7472, "loc": { "start": { "line": 182, "column": 23 }, "end": { "line": 182, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Invalid touchstart/touchend event:", "start": 7472, "end": 7508, "loc": { "start": { "line": 182, "column": 24 }, "end": { "line": 182, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7508, "end": 7509, "loc": { "start": { "line": 182, "column": 60 }, "end": { "line": 182, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 7510, "end": 7515, "loc": { "start": { "line": 182, "column": 62 }, "end": { "line": 182, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7515, "end": 7516, "loc": { "start": { "line": 182, "column": 67 }, "end": { "line": 182, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7516, "end": 7517, "loc": { "start": { "line": 182, "column": 68 }, "end": { "line": 182, "column": 69 } } }, { "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": 7531, "end": 7537, "loc": { "start": { "line": 183, "column": 12 }, "end": { "line": 183, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7537, "end": 7538, "loc": { "start": { "line": 183, "column": 18 }, "end": { "line": 183, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7548, "end": 7549, "loc": { "start": { "line": 184, "column": 8 }, "end": { "line": 184, "column": 9 } } }, { "type": "CommentLine", "value": " When clicking an element which is not the currently focused one, defocus it", "start": 7561, "end": 7639, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 86 } } }, { "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": 7649, "end": 7651, "loc": { "start": { "line": 187, "column": 8 }, "end": { "line": 187, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7652, "end": 7653, "loc": { "start": { "line": 187, "column": 11 }, "end": { "line": 187, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 7653, "end": 7659, "loc": { "start": { "line": 187, "column": 12 }, "end": { "line": 187, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 7660, "end": 7663, "loc": { "start": { "line": 187, "column": 19 }, "end": { "line": 187, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 7664, "end": 7672, "loc": { "start": { "line": 187, "column": 23 }, "end": { "line": 187, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7672, "end": 7673, "loc": { "start": { "line": 187, "column": 31 }, "end": { "line": 187, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "activeElement", "start": 7673, "end": 7686, "loc": { "start": { "line": 187, "column": 32 }, "end": { "line": 187, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7686, "end": 7687, "loc": { "start": { "line": 187, "column": 45 }, "end": { "line": 187, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7688, "end": 7689, "loc": { "start": { "line": 187, "column": 47 }, "end": { "line": 187, "column": 48 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 7703, "end": 7716, "loc": { "start": { "line": 188, "column": 12 }, "end": { "line": 188, "column": 25 } } }, { "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": 7730, "end": 7732, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7733, "end": 7734, "loc": { "start": { "line": 189, "column": 15 }, "end": { "line": 189, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 7734, "end": 7742, "loc": { "start": { "line": 189, "column": 16 }, "end": { "line": 189, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7742, "end": 7743, "loc": { "start": { "line": 189, "column": 24 }, "end": { "line": 189, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "activeElement", "start": 7743, "end": 7756, "loc": { "start": { "line": 189, "column": 25 }, "end": { "line": 189, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7756, "end": 7757, "loc": { "start": { "line": 189, "column": 38 }, "end": { "line": 189, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blur", "start": 7757, "end": 7761, "loc": { "start": { "line": 189, "column": 39 }, "end": { "line": 189, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7761, "end": 7762, "loc": { "start": { "line": 189, "column": 43 }, "end": { "line": 189, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7763, "end": 7764, "loc": { "start": { "line": 189, "column": 45 }, "end": { "line": 189, "column": 46 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 7782, "end": 7795, "loc": { "start": { "line": 190, "column": 16 }, "end": { "line": 190, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 7813, "end": 7821, "loc": { "start": { "line": 191, "column": 16 }, "end": { "line": 191, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7821, "end": 7822, "loc": { "start": { "line": 191, "column": 24 }, "end": { "line": 191, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "activeElement", "start": 7822, "end": 7835, "loc": { "start": { "line": 191, "column": 25 }, "end": { "line": 191, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7835, "end": 7836, "loc": { "start": { "line": 191, "column": 38 }, "end": { "line": 191, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blur", "start": 7836, "end": 7840, "loc": { "start": { "line": 191, "column": 39 }, "end": { "line": 191, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7840, "end": 7841, "loc": { "start": { "line": 191, "column": 43 }, "end": { "line": 191, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7841, "end": 7842, "loc": { "start": { "line": 191, "column": 44 }, "end": { "line": 191, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7842, "end": 7843, "loc": { "start": { "line": 191, "column": 45 }, "end": { "line": 191, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7857, "end": 7858, "loc": { "start": { "line": 192, "column": 12 }, "end": { "line": 192, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7868, "end": 7869, "loc": { "start": { "line": 193, "column": 8 }, "end": { "line": 193, "column": 9 } } }, { "type": "CommentLine", "value": " If we click an input field, focus it now", "start": 7881, "end": 7924, "loc": { "start": { "line": 195, "column": 8 }, "end": { "line": 195, "column": 51 } } }, { "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": 7934, "end": 7936, "loc": { "start": { "line": 196, "column": 8 }, "end": { "line": 196, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7937, "end": 7938, "loc": { "start": { "line": 196, "column": 11 }, "end": { "line": 196, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 7938, "end": 7944, "loc": { "start": { "line": 196, "column": 12 }, "end": { "line": 196, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7944, "end": 7945, "loc": { "start": { "line": 196, "column": 18 }, "end": { "line": 196, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tagName", "start": 7945, "end": 7952, "loc": { "start": { "line": 196, "column": 19 }, "end": { "line": 196, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7952, "end": 7953, "loc": { "start": { "line": 196, "column": 26 }, "end": { "line": 196, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 7953, "end": 7964, "loc": { "start": { "line": 196, "column": 27 }, "end": { "line": 196, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7964, "end": 7965, "loc": { "start": { "line": 196, "column": 38 }, "end": { "line": 196, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7965, "end": 7966, "loc": { "start": { "line": 196, "column": 39 }, "end": { "line": 196, "column": 40 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 7967, "end": 7970, "loc": { "start": { "line": 196, "column": 41 }, "end": { "line": 196, "column": 44 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "input", "start": 7971, "end": 7978, "loc": { "start": { "line": 196, "column": 45 }, "end": { "line": 196, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7978, "end": 7979, "loc": { "start": { "line": 196, "column": 52 }, "end": { "line": 196, "column": 53 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7980, "end": 7981, "loc": { "start": { "line": 196, "column": 54 }, "end": { "line": 196, "column": 55 } } }, { "type": "CommentLine", "value": " We *really* need the focus", "start": 7995, "end": 8024, "loc": { "start": { "line": 197, "column": 12 }, "end": { "line": 197, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waitNextFrame", "start": 8038, "end": 8051, "loc": { "start": { "line": 198, "column": 12 }, "end": { "line": 198, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8051, "end": 8052, "loc": { "start": { "line": 198, "column": 25 }, "end": { "line": 198, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8052, "end": 8053, "loc": { "start": { "line": 198, "column": 26 }, "end": { "line": 198, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8053, "end": 8054, "loc": { "start": { "line": 198, "column": 27 }, "end": { "line": 198, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "then", "start": 8054, "end": 8058, "loc": { "start": { "line": 198, "column": 28 }, "end": { "line": 198, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8058, "end": 8059, "loc": { "start": { "line": 198, "column": 32 }, "end": { "line": 198, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8059, "end": 8060, "loc": { "start": { "line": 198, "column": 33 }, "end": { "line": 198, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8060, "end": 8061, "loc": { "start": { "line": 198, "column": 34 }, "end": { "line": 198, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8062, "end": 8064, "loc": { "start": { "line": 198, "column": 36 }, "end": { "line": 198, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 8065, "end": 8071, "loc": { "start": { "line": 198, "column": 39 }, "end": { "line": 198, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8071, "end": 8072, "loc": { "start": { "line": 198, "column": 45 }, "end": { "line": 198, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focus", "start": 8072, "end": 8077, "loc": { "start": { "line": 198, "column": 46 }, "end": { "line": 198, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8077, "end": 8078, "loc": { "start": { "line": 198, "column": 51 }, "end": { "line": 198, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8078, "end": 8079, "loc": { "start": { "line": 198, "column": 52 }, "end": { "line": 198, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8079, "end": 8080, "loc": { "start": { "line": 198, "column": 53 }, "end": { "line": 198, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8080, "end": 8081, "loc": { "start": { "line": 198, "column": 54 }, "end": { "line": 198, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8091, "end": 8092, "loc": { "start": { "line": 199, "column": 8 }, "end": { "line": 199, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8098, "end": 8099, "loc": { "start": { "line": 200, "column": 4 }, "end": { "line": 200, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles a page visibility change event\r\n * @param {Event} event\r\n ", "start": 8107, "end": 8195, "loc": { "start": { "line": 202, "column": 4 }, "end": { "line": 205, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleVisibilityChange", "start": 8201, "end": 8223, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8223, "end": 8224, "loc": { "start": { "line": 206, "column": 26 }, "end": { "line": 206, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 8224, "end": 8229, "loc": { "start": { "line": 206, "column": 27 }, "end": { "line": 206, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8229, "end": 8230, "loc": { "start": { "line": 206, "column": 32 }, "end": { "line": 206, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8231, "end": 8232, "loc": { "start": { "line": 206, "column": 34 }, "end": { "line": 206, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 8242, "end": 8248, "loc": { "start": { "line": 207, "column": 8 }, "end": { "line": 207, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8248, "end": 8249, "loc": { "start": { "line": 207, "column": 14 }, "end": { "line": 207, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focus", "start": 8249, "end": 8254, "loc": { "start": { "line": 207, "column": 15 }, "end": { "line": 207, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8254, "end": 8255, "loc": { "start": { "line": 207, "column": 20 }, "end": { "line": 207, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8255, "end": 8256, "loc": { "start": { "line": 207, "column": 21 }, "end": { "line": 207, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8256, "end": 8257, "loc": { "start": { "line": 207, "column": 22 }, "end": { "line": 207, "column": 23 } } }, { "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": 8267, "end": 8272, "loc": { "start": { "line": 208, "column": 8 }, "end": { "line": 208, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisible", "start": 8273, "end": 8284, "loc": { "start": { "line": 208, "column": 14 }, "end": { "line": 208, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8285, "end": 8286, "loc": { "start": { "line": 208, "column": 26 }, "end": { "line": 208, "column": 27 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 8287, "end": 8288, "loc": { "start": { "line": 208, "column": 28 }, "end": { "line": 208, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 8288, "end": 8296, "loc": { "start": { "line": 208, "column": 29 }, "end": { "line": 208, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8296, "end": 8297, "loc": { "start": { "line": 208, "column": 37 }, "end": { "line": 208, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageHiddenPropName", "start": 8297, "end": 8315, "loc": { "start": { "line": 208, "column": 38 }, "end": { "line": 208, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8315, "end": 8316, "loc": { "start": { "line": 208, "column": 56 }, "end": { "line": 208, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8316, "end": 8317, "loc": { "start": { "line": 208, "column": 57 }, "end": { "line": 208, "column": 58 } } }, { "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": 8327, "end": 8329, "loc": { "start": { "line": 209, "column": 8 }, "end": { "line": 209, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8330, "end": 8331, "loc": { "start": { "line": 209, "column": 11 }, "end": { "line": 209, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisible", "start": 8331, "end": 8342, "loc": { "start": { "line": 209, "column": 12 }, "end": { "line": 209, "column": 23 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 8343, "end": 8346, "loc": { "start": { "line": 209, "column": 24 }, "end": { "line": 209, "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": 8347, "end": 8351, "loc": { "start": { "line": 209, "column": 28 }, "end": { "line": 209, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8351, "end": 8352, "loc": { "start": { "line": 209, "column": 32 }, "end": { "line": 209, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisible", "start": 8352, "end": 8363, "loc": { "start": { "line": 209, "column": 33 }, "end": { "line": 209, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8363, "end": 8364, "loc": { "start": { "line": 209, "column": 44 }, "end": { "line": 209, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8365, "end": 8366, "loc": { "start": { "line": 209, "column": 46 }, "end": { "line": 209, "column": 47 } } }, { "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": 8380, "end": 8384, "loc": { "start": { "line": 210, "column": 12 }, "end": { "line": 210, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8384, "end": 8385, "loc": { "start": { "line": 210, "column": 16 }, "end": { "line": 210, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisible", "start": 8385, "end": 8396, "loc": { "start": { "line": 210, "column": 17 }, "end": { "line": 210, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8397, "end": 8398, "loc": { "start": { "line": 210, "column": 29 }, "end": { "line": 210, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisible", "start": 8399, "end": 8410, "loc": { "start": { "line": 210, "column": 31 }, "end": { "line": 210, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8410, "end": 8411, "loc": { "start": { "line": 210, "column": 42 }, "end": { "line": 210, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 8425, "end": 8431, "loc": { "start": { "line": 211, "column": 12 }, "end": { "line": 211, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8431, "end": 8432, "loc": { "start": { "line": 211, "column": 18 }, "end": { "line": 211, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8432, "end": 8435, "loc": { "start": { "line": 211, "column": 19 }, "end": { "line": 211, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8435, "end": 8436, "loc": { "start": { "line": 211, "column": 22 }, "end": { "line": 211, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Visibility changed:", "start": 8436, "end": 8457, "loc": { "start": { "line": 211, "column": 23 }, "end": { "line": 211, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8457, "end": 8458, "loc": { "start": { "line": 211, "column": 44 }, "end": { "line": 211, "column": 45 } } }, { "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": 8459, "end": 8463, "loc": { "start": { "line": 211, "column": 46 }, "end": { "line": 211, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8463, "end": 8464, "loc": { "start": { "line": 211, "column": 50 }, "end": { "line": 211, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisible", "start": 8464, "end": 8475, "loc": { "start": { "line": 211, "column": 51 }, "end": { "line": 211, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8475, "end": 8476, "loc": { "start": { "line": 211, "column": 62 }, "end": { "line": 211, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8476, "end": 8477, "loc": { "start": { "line": 211, "column": 63 }, "end": { "line": 211, "column": 64 } } }, { "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": 8491, "end": 8495, "loc": { "start": { "line": 212, "column": 12 }, "end": { "line": 212, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8495, "end": 8496, "loc": { "start": { "line": 212, "column": 16 }, "end": { "line": 212, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackedIsRenderable", "start": 8496, "end": 8515, "loc": { "start": { "line": 212, "column": 17 }, "end": { "line": 212, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8515, "end": 8516, "loc": { "start": { "line": 212, "column": 36 }, "end": { "line": 212, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 8516, "end": 8519, "loc": { "start": { "line": 212, "column": 37 }, "end": { "line": 212, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8519, "end": 8520, "loc": { "start": { "line": 212, "column": 40 }, "end": { "line": 212, "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": 8520, "end": 8524, "loc": { "start": { "line": 212, "column": 41 }, "end": { "line": 212, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8524, "end": 8525, "loc": { "start": { "line": 212, "column": 45 }, "end": { "line": 212, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isRenderable", "start": 8525, "end": 8537, "loc": { "start": { "line": 212, "column": 46 }, "end": { "line": 212, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8537, "end": 8538, "loc": { "start": { "line": 212, "column": 58 }, "end": { "line": 212, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8538, "end": 8539, "loc": { "start": { "line": 212, "column": 59 }, "end": { "line": 212, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8539, "end": 8540, "loc": { "start": { "line": 212, "column": 60 }, "end": { "line": 212, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8540, "end": 8541, "loc": { "start": { "line": 212, "column": 61 }, "end": { "line": 212, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8551, "end": 8552, "loc": { "start": { "line": 213, "column": 8 }, "end": { "line": 213, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8558, "end": 8559, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Handles a mouse move event\r\n * @param {MouseEvent} event\r\n ", "start": 8567, "end": 8648, "loc": { "start": { "line": 216, "column": 4 }, "end": { "line": 219, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMousemove", "start": 8654, "end": 8669, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8669, "end": 8670, "loc": { "start": { "line": 220, "column": 19 }, "end": { "line": 220, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 8670, "end": 8675, "loc": { "start": { "line": 220, "column": 20 }, "end": { "line": 220, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8675, "end": 8676, "loc": { "start": { "line": 220, "column": 25 }, "end": { "line": 220, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8677, "end": 8678, "loc": { "start": { "line": 220, "column": 27 }, "end": { "line": 220, "column": 28 } } }, { "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": 8688, "end": 8692, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8692, "end": 8693, "loc": { "start": { "line": 221, "column": 12 }, "end": { "line": 221, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 8693, "end": 8706, "loc": { "start": { "line": 221, "column": 13 }, "end": { "line": 221, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8707, "end": 8708, "loc": { "start": { "line": 221, "column": 27 }, "end": { "line": 221, "column": 28 } } }, { "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": 8709, "end": 8712, "loc": { "start": { "line": 221, "column": 29 }, "end": { "line": 221, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 8713, "end": 8719, "loc": { "start": { "line": 221, "column": 33 }, "end": { "line": 221, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8719, "end": 8720, "loc": { "start": { "line": 221, "column": 39 }, "end": { "line": 221, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 8720, "end": 8725, "loc": { "start": { "line": 221, "column": 40 }, "end": { "line": 221, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8725, "end": 8726, "loc": { "start": { "line": 221, "column": 45 }, "end": { "line": 221, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientX", "start": 8726, "end": 8733, "loc": { "start": { "line": 221, "column": 46 }, "end": { "line": 221, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8733, "end": 8734, "loc": { "start": { "line": 221, "column": 53 }, "end": { "line": 221, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 8735, "end": 8740, "loc": { "start": { "line": 221, "column": 55 }, "end": { "line": 221, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8740, "end": 8741, "loc": { "start": { "line": 221, "column": 60 }, "end": { "line": 221, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clientY", "start": 8741, "end": 8748, "loc": { "start": { "line": 221, "column": 61 }, "end": { "line": 221, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8748, "end": 8749, "loc": { "start": { "line": 221, "column": 68 }, "end": { "line": 221, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8749, "end": 8750, "loc": { "start": { "line": 221, "column": 69 }, "end": { "line": 221, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8756, "end": 8757, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal on focus handler\r\n ", "start": 8765, "end": 8811, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 226, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onFocus", "start": 8817, "end": 8824, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 227, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8824, "end": 8825, "loc": { "start": { "line": 227, "column": 11 }, "end": { "line": 227, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8825, "end": 8826, "loc": { "start": { "line": 227, "column": 12 }, "end": { "line": 227, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8827, "end": 8828, "loc": { "start": { "line": 227, "column": 14 }, "end": { "line": 227, "column": 15 } } }, { "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": 8838, "end": 8842, "loc": { "start": { "line": 228, "column": 8 }, "end": { "line": 228, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8842, "end": 8843, "loc": { "start": { "line": 228, "column": 12 }, "end": { "line": 228, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focused", "start": 8843, "end": 8850, "loc": { "start": { "line": 228, "column": 13 }, "end": { "line": 228, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8851, "end": 8852, "loc": { "start": { "line": 228, "column": 21 }, "end": { "line": 228, "column": 22 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 8853, "end": 8857, "loc": { "start": { "line": 228, "column": 23 }, "end": { "line": 228, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8857, "end": 8858, "loc": { "start": { "line": 228, "column": 27 }, "end": { "line": 228, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8864, "end": 8865, "loc": { "start": { "line": 229, "column": 4 }, "end": { "line": 229, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal blur handler\r\n ", "start": 8873, "end": 8915, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBlur", "start": 8921, "end": 8927, "loc": { "start": { "line": 234, "column": 4 }, "end": { "line": 234, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8927, "end": 8928, "loc": { "start": { "line": 234, "column": 10 }, "end": { "line": 234, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8928, "end": 8929, "loc": { "start": { "line": 234, "column": 11 }, "end": { "line": 234, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8930, "end": 8931, "loc": { "start": { "line": 234, "column": 13 }, "end": { "line": 234, "column": 14 } } }, { "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": 8941, "end": 8945, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8945, "end": 8946, "loc": { "start": { "line": 235, "column": 12 }, "end": { "line": 235, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focused", "start": 8946, "end": 8953, "loc": { "start": { "line": 235, "column": 13 }, "end": { "line": 235, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8954, "end": 8955, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 22 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 8956, "end": 8961, "loc": { "start": { "line": 235, "column": 23 }, "end": { "line": 235, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8961, "end": 8962, "loc": { "start": { "line": 235, "column": 28 }, "end": { "line": 235, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8968, "end": 8969, "loc": { "start": { "line": 236, "column": 4 }, "end": { "line": 236, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns if the app is currently visible\r\n ", "start": 8977, "end": 9037, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 240, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isRenderable", "start": 9043, "end": 9055, "loc": { "start": { "line": 241, "column": 4 }, "end": { "line": 241, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9055, "end": 9056, "loc": { "start": { "line": 241, "column": 16 }, "end": { "line": 241, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9056, "end": 9057, "loc": { "start": { "line": 241, "column": 17 }, "end": { "line": 241, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9058, "end": 9059, "loc": { "start": { "line": 241, "column": 19 }, "end": { "line": 241, "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": 9069, "end": 9075, "loc": { "start": { "line": 242, "column": 8 }, "end": { "line": 242, "column": 14 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 9076, "end": 9077, "loc": { "start": { "line": 242, "column": 15 }, "end": { "line": 242, "column": 16 } } }, { "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": 9077, "end": 9081, "loc": { "start": { "line": 242, "column": 16 }, "end": { "line": 242, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9081, "end": 9082, "loc": { "start": { "line": 242, "column": 20 }, "end": { "line": 242, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "applicationPaused", "start": 9082, "end": 9099, "loc": { "start": { "line": 242, "column": 21 }, "end": { "line": 242, "column": 38 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 9100, "end": 9102, "loc": { "start": { "line": 242, "column": 39 }, "end": { "line": 242, "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": 9103, "end": 9107, "loc": { "start": { "line": 242, "column": 42 }, "end": { "line": 242, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9107, "end": 9108, "loc": { "start": { "line": 242, "column": 46 }, "end": { "line": 242, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pageVisible", "start": 9108, "end": 9119, "loc": { "start": { "line": 242, "column": 47 }, "end": { "line": 242, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9119, "end": 9120, "loc": { "start": { "line": 242, "column": 58 }, "end": { "line": 242, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9126, "end": 9127, "loc": { "start": { "line": 243, "column": 4 }, "end": { "line": 243, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onAppRenderableStateChanged", "start": 9135, "end": 9162, "loc": { "start": { "line": 245, "column": 4 }, "end": { "line": 245, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9162, "end": 9163, "loc": { "start": { "line": 245, "column": 31 }, "end": { "line": 245, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "renderable", "start": 9163, "end": 9173, "loc": { "start": { "line": 245, "column": 32 }, "end": { "line": 245, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9173, "end": 9174, "loc": { "start": { "line": 245, "column": 42 }, "end": { "line": 245, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9175, "end": 9176, "loc": { "start": { "line": 245, "column": 44 }, "end": { "line": 245, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 9186, "end": 9192, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9192, "end": 9193, "loc": { "start": { "line": 246, "column": 14 }, "end": { "line": 246, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 9193, "end": 9196, "loc": { "start": { "line": 246, "column": 15 }, "end": { "line": 246, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9196, "end": 9197, "loc": { "start": { "line": 246, "column": 18 }, "end": { "line": 246, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Application renderable:", "start": 9197, "end": 9222, "loc": { "start": { "line": 246, "column": 19 }, "end": { "line": 246, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9222, "end": 9223, "loc": { "start": { "line": 246, "column": 44 }, "end": { "line": 246, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "renderable", "start": 9224, "end": 9234, "loc": { "start": { "line": 246, "column": 46 }, "end": { "line": 246, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9234, "end": 9235, "loc": { "start": { "line": 246, "column": 56 }, "end": { "line": 246, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9235, "end": 9236, "loc": { "start": { "line": 246, "column": 57 }, "end": { "line": 246, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 9246, "end": 9252, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9252, "end": 9253, "loc": { "start": { "line": 247, "column": 14 }, "end": { "line": 247, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focus", "start": 9253, "end": 9258, "loc": { "start": { "line": 247, "column": 15 }, "end": { "line": 247, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9258, "end": 9259, "loc": { "start": { "line": 247, "column": 20 }, "end": { "line": 247, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9259, "end": 9260, "loc": { "start": { "line": 247, "column": 21 }, "end": { "line": 247, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9260, "end": 9261, "loc": { "start": { "line": 247, "column": 22 }, "end": { "line": 247, "column": 23 } } }, { "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": 9271, "end": 9276, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 9277, "end": 9289, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9290, "end": 9291, "loc": { "start": { "line": 248, "column": 27 }, "end": { "line": 248, "column": 28 } } }, { "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": 9292, "end": 9296, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9296, "end": 9297, "loc": { "start": { "line": 248, "column": 33 }, "end": { "line": 248, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 9297, "end": 9305, "loc": { "start": { "line": 248, "column": 34 }, "end": { "line": 248, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9305, "end": 9306, "loc": { "start": { "line": 248, "column": 42 }, "end": { "line": 248, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentState", "start": 9306, "end": 9321, "loc": { "start": { "line": 248, "column": 43 }, "end": { "line": 248, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9321, "end": 9322, "loc": { "start": { "line": 248, "column": 58 }, "end": { "line": 248, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9322, "end": 9323, "loc": { "start": { "line": 248, "column": 59 }, "end": { "line": 248, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9323, "end": 9324, "loc": { "start": { "line": 248, "column": 60 }, "end": { "line": 248, "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": 9334, "end": 9336, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9337, "end": 9338, "loc": { "start": { "line": 249, "column": 11 }, "end": { "line": 249, "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": 9338, "end": 9339, "loc": { "start": { "line": 249, "column": 12 }, "end": { "line": 249, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "renderable", "start": 9339, "end": 9349, "loc": { "start": { "line": 249, "column": 13 }, "end": { "line": 249, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9349, "end": 9350, "loc": { "start": { "line": 249, "column": 23 }, "end": { "line": 249, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9351, "end": 9352, "loc": { "start": { "line": 249, "column": 25 }, "end": { "line": 249, "column": 26 } } }, { "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": 9366, "end": 9368, "loc": { "start": { "line": 250, "column": 12 }, "end": { "line": 250, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9369, "end": 9370, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 9370, "end": 9382, "loc": { "start": { "line": 250, "column": 16 }, "end": { "line": 250, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9382, "end": 9383, "loc": { "start": { "line": 250, "column": 28 }, "end": { "line": 250, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9384, "end": 9385, "loc": { "start": { "line": 250, "column": 30 }, "end": { "line": 250, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 9403, "end": 9415, "loc": { "start": { "line": 251, "column": 16 }, "end": { "line": 251, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9415, "end": 9416, "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onAppPause", "start": 9416, "end": 9426, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9426, "end": 9427, "loc": { "start": { "line": 251, "column": 39 }, "end": { "line": 251, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9427, "end": 9428, "loc": { "start": { "line": 251, "column": 40 }, "end": { "line": 251, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9428, "end": 9429, "loc": { "start": { "line": 251, "column": 41 }, "end": { "line": 251, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9443, "end": 9444, "loc": { "start": { "line": 252, "column": 12 }, "end": { "line": 252, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9454, "end": 9455, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "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": 9456, "end": 9460, "loc": { "start": { "line": 253, "column": 10 }, "end": { "line": 253, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9461, "end": 9462, "loc": { "start": { "line": 253, "column": 15 }, "end": { "line": 253, "column": 16 } } }, { "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": 9476, "end": 9478, "loc": { "start": { "line": 254, "column": 12 }, "end": { "line": 254, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9479, "end": 9480, "loc": { "start": { "line": 254, "column": 15 }, "end": { "line": 254, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 9480, "end": 9492, "loc": { "start": { "line": 254, "column": 16 }, "end": { "line": 254, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9492, "end": 9493, "loc": { "start": { "line": 254, "column": 28 }, "end": { "line": 254, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9494, "end": 9495, "loc": { "start": { "line": 254, "column": 30 }, "end": { "line": 254, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 9513, "end": 9525, "loc": { "start": { "line": 255, "column": 16 }, "end": { "line": 255, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9525, "end": 9526, "loc": { "start": { "line": 255, "column": 28 }, "end": { "line": 255, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onAppResume", "start": 9526, "end": 9537, "loc": { "start": { "line": 255, "column": 29 }, "end": { "line": 255, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9537, "end": 9538, "loc": { "start": { "line": 255, "column": 40 }, "end": { "line": 255, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9538, "end": 9539, "loc": { "start": { "line": 255, "column": 41 }, "end": { "line": 255, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9539, "end": 9540, "loc": { "start": { "line": 255, "column": 42 }, "end": { "line": 255, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9554, "end": 9555, "loc": { "start": { "line": 256, "column": 12 }, "end": { "line": 256, "column": 13 } } }, { "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": 9569, "end": 9573, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9573, "end": 9574, "loc": { "start": { "line": 257, "column": 16 }, "end": { "line": 257, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkResize", "start": 9574, "end": 9585, "loc": { "start": { "line": 257, "column": 17 }, "end": { "line": 257, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9585, "end": 9586, "loc": { "start": { "line": 257, "column": 28 }, "end": { "line": 257, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9586, "end": 9587, "loc": { "start": { "line": 257, "column": 29 }, "end": { "line": 257, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9587, "end": 9588, "loc": { "start": { "line": 257, "column": 30 }, "end": { "line": 257, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9598, "end": 9599, "loc": { "start": { "line": 258, "column": 8 }, "end": { "line": 258, "column": 9 } } }, { "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": 9611, "end": 9615, "loc": { "start": { "line": 260, "column": 8 }, "end": { "line": 260, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9615, "end": 9616, "loc": { "start": { "line": 260, "column": 12 }, "end": { "line": 260, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sound", "start": 9616, "end": 9621, "loc": { "start": { "line": 260, "column": 13 }, "end": { "line": 260, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9621, "end": 9622, "loc": { "start": { "line": 260, "column": 18 }, "end": { "line": 260, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onPageRenderableStateChanged", "start": 9622, "end": 9650, "loc": { "start": { "line": 260, "column": 19 }, "end": { "line": 260, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9650, "end": 9651, "loc": { "start": { "line": 260, "column": 47 }, "end": { "line": 260, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "renderable", "start": 9651, "end": 9661, "loc": { "start": { "line": 260, "column": 48 }, "end": { "line": 260, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9661, "end": 9662, "loc": { "start": { "line": 260, "column": 58 }, "end": { "line": 260, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9662, "end": 9663, "loc": { "start": { "line": 260, "column": 59 }, "end": { "line": 260, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9669, "end": 9670, "loc": { "start": { "line": 261, "column": 4 }, "end": { "line": 261, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal unload handler\r\n ", "start": 9678, "end": 9722, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 265, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onUnload", "start": 9728, "end": 9736, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9736, "end": 9737, "loc": { "start": { "line": 266, "column": 12 }, "end": { "line": 266, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 9737, "end": 9742, "loc": { "start": { "line": 266, "column": 13 }, "end": { "line": 266, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9742, "end": 9743, "loc": { "start": { "line": 266, "column": 18 }, "end": { "line": 266, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9744, "end": 9745, "loc": { "start": { "line": 266, "column": 20 }, "end": { "line": 266, "column": 21 } } }, { "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": 9755, "end": 9757, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9758, "end": 9759, "loc": { "start": { "line": 267, "column": 11 }, "end": { "line": 267, "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": 9759, "end": 9760, "loc": { "start": { "line": 267, "column": 12 }, "end": { "line": 267, "column": 13 } } }, { "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": 9760, "end": 9764, "loc": { "start": { "line": 267, "column": 13 }, "end": { "line": 267, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9764, "end": 9765, "loc": { "start": { "line": 267, "column": 17 }, "end": { "line": 267, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unloaded", "start": 9765, "end": 9773, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9773, "end": 9774, "loc": { "start": { "line": 267, "column": 26 }, "end": { "line": 267, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9775, "end": 9776, "loc": { "start": { "line": 267, "column": 28 }, "end": { "line": 267, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logSection", "start": 9790, "end": 9800, "loc": { "start": { "line": 268, "column": 12 }, "end": { "line": 268, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9800, "end": 9801, "loc": { "start": { "line": 268, "column": 22 }, "end": { "line": 268, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "UNLOAD HANDLER", "start": 9801, "end": 9817, "loc": { "start": { "line": 268, "column": 23 }, "end": { "line": 268, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9817, "end": 9818, "loc": { "start": { "line": 268, "column": 39 }, "end": { "line": 268, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "#f77", "start": 9819, "end": 9825, "loc": { "start": { "line": 268, "column": 41 }, "end": { "line": 268, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9825, "end": 9826, "loc": { "start": { "line": 268, "column": 47 }, "end": { "line": 268, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9826, "end": 9827, "loc": { "start": { "line": 268, "column": 48 }, "end": { "line": 268, "column": 49 } } }, { "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": 9841, "end": 9845, "loc": { "start": { "line": 269, "column": 12 }, "end": { "line": 269, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9845, "end": 9846, "loc": { "start": { "line": 269, "column": 16 }, "end": { "line": 269, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unloaded", "start": 9846, "end": 9854, "loc": { "start": { "line": 269, "column": 17 }, "end": { "line": 269, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9855, "end": 9856, "loc": { "start": { "line": 269, "column": 26 }, "end": { "line": 269, "column": 27 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 9857, "end": 9861, "loc": { "start": { "line": 269, "column": 28 }, "end": { "line": 269, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9861, "end": 9862, "loc": { "start": { "line": 269, "column": 32 }, "end": { "line": 269, "column": 33 } } }, { "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": 9876, "end": 9881, "loc": { "start": { "line": 270, "column": 12 }, "end": { "line": 270, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 9882, "end": 9894, "loc": { "start": { "line": 270, "column": 18 }, "end": { "line": 270, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9895, "end": 9896, "loc": { "start": { "line": 270, "column": 31 }, "end": { "line": 270, "column": 32 } } }, { "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": 9897, "end": 9901, "loc": { "start": { "line": 270, "column": 33 }, "end": { "line": 270, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9901, "end": 9902, "loc": { "start": { "line": 270, "column": 37 }, "end": { "line": 270, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 9902, "end": 9910, "loc": { "start": { "line": 270, "column": 38 }, "end": { "line": 270, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9910, "end": 9911, "loc": { "start": { "line": 270, "column": 46 }, "end": { "line": 270, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentState", "start": 9911, "end": 9926, "loc": { "start": { "line": 270, "column": 47 }, "end": { "line": 270, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9926, "end": 9927, "loc": { "start": { "line": 270, "column": 62 }, "end": { "line": 270, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9927, "end": 9928, "loc": { "start": { "line": 270, "column": 63 }, "end": { "line": 270, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9928, "end": 9929, "loc": { "start": { "line": 270, "column": 64 }, "end": { "line": 270, "column": 65 } } }, { "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": 9943, "end": 9945, "loc": { "start": { "line": 271, "column": 12 }, "end": { "line": 271, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9946, "end": 9947, "loc": { "start": { "line": 271, "column": 15 }, "end": { "line": 271, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 9947, "end": 9959, "loc": { "start": { "line": 271, "column": 16 }, "end": { "line": 271, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9959, "end": 9960, "loc": { "start": { "line": 271, "column": 28 }, "end": { "line": 271, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9961, "end": 9962, "loc": { "start": { "line": 271, "column": 30 }, "end": { "line": 271, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 9980, "end": 9992, "loc": { "start": { "line": 272, "column": 16 }, "end": { "line": 272, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9992, "end": 9993, "loc": { "start": { "line": 272, "column": 28 }, "end": { "line": 272, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBeforeExit", "start": 9993, "end": 10005, "loc": { "start": { "line": 272, "column": 29 }, "end": { "line": 272, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10005, "end": 10006, "loc": { "start": { "line": 272, "column": 41 }, "end": { "line": 272, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10006, "end": 10007, "loc": { "start": { "line": 272, "column": 42 }, "end": { "line": 272, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10007, "end": 10008, "loc": { "start": { "line": 272, "column": 43 }, "end": { "line": 272, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10022, "end": 10023, "loc": { "start": { "line": 273, "column": 12 }, "end": { "line": 273, "column": 13 } } }, { "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": 10037, "end": 10041, "loc": { "start": { "line": 274, "column": 12 }, "end": { "line": 274, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10041, "end": 10042, "loc": { "start": { "line": 274, "column": 16 }, "end": { "line": 274, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deinitialize", "start": 10042, "end": 10054, "loc": { "start": { "line": 274, "column": 17 }, "end": { "line": 274, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10054, "end": 10055, "loc": { "start": { "line": 274, "column": 29 }, "end": { "line": 274, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10055, "end": 10056, "loc": { "start": { "line": 274, "column": 30 }, "end": { "line": 274, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10056, "end": 10057, "loc": { "start": { "line": 274, "column": 31 }, "end": { "line": 274, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10067, "end": 10068, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10074, "end": 10075, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 276, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Internal before-unload handler\r\n ", "start": 10083, "end": 10134, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 280, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBeforeUnload", "start": 10140, "end": 10154, "loc": { "start": { "line": 281, "column": 4 }, "end": { "line": 281, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10154, "end": 10155, "loc": { "start": { "line": 281, "column": 18 }, "end": { "line": 281, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 10155, "end": 10160, "loc": { "start": { "line": 281, "column": 19 }, "end": { "line": 281, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10160, "end": 10161, "loc": { "start": { "line": 281, "column": 24 }, "end": { "line": 281, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10162, "end": 10163, "loc": { "start": { "line": 281, "column": 26 }, "end": { "line": 281, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logSection", "start": 10173, "end": 10183, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10183, "end": 10184, "loc": { "start": { "line": 282, "column": 18 }, "end": { "line": 282, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "BEFORE UNLOAD HANDLER", "start": 10184, "end": 10207, "loc": { "start": { "line": 282, "column": 19 }, "end": { "line": 282, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10207, "end": 10208, "loc": { "start": { "line": 282, "column": 42 }, "end": { "line": 282, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "#f77", "start": 10209, "end": 10215, "loc": { "start": { "line": 282, "column": 44 }, "end": { "line": 282, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10215, "end": 10216, "loc": { "start": { "line": 282, "column": 50 }, "end": { "line": 282, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10216, "end": 10217, "loc": { "start": { "line": 282, "column": 51 }, "end": { "line": 282, "column": 52 } } }, { "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": 10227, "end": 10232, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 10233, "end": 10245, "loc": { "start": { "line": 283, "column": 14 }, "end": { "line": 283, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10246, "end": 10247, "loc": { "start": { "line": 283, "column": 27 }, "end": { "line": 283, "column": 28 } } }, { "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": 10248, "end": 10252, "loc": { "start": { "line": 283, "column": 29 }, "end": { "line": 283, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10252, "end": 10253, "loc": { "start": { "line": 283, "column": 33 }, "end": { "line": 283, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 10253, "end": 10261, "loc": { "start": { "line": 283, "column": 34 }, "end": { "line": 283, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10261, "end": 10262, "loc": { "start": { "line": 283, "column": 42 }, "end": { "line": 283, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentState", "start": 10262, "end": 10277, "loc": { "start": { "line": 283, "column": 43 }, "end": { "line": 283, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10277, "end": 10278, "loc": { "start": { "line": 283, "column": 58 }, "end": { "line": 283, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10278, "end": 10279, "loc": { "start": { "line": 283, "column": 59 }, "end": { "line": 283, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10279, "end": 10280, "loc": { "start": { "line": 283, "column": 60 }, "end": { "line": 283, "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": 10292, "end": 10294, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10295, "end": 10296, "loc": { "start": { "line": 285, "column": 11 }, "end": { "line": 285, "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": 10296, "end": 10297, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 10297, "end": 10305, "loc": { "start": { "line": 285, "column": 13 }, "end": { "line": 285, "column": 21 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 10306, "end": 10308, "loc": { "start": { "line": 285, "column": 22 }, "end": { "line": 285, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 10309, "end": 10321, "loc": { "start": { "line": 285, "column": 25 }, "end": { "line": 285, "column": 37 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 10322, "end": 10324, "loc": { "start": { "line": 285, "column": 38 }, "end": { "line": 285, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 10325, "end": 10337, "loc": { "start": { "line": 285, "column": 41 }, "end": { "line": 285, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10337, "end": 10338, "loc": { "start": { "line": 285, "column": 53 }, "end": { "line": 285, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHasUnloadConfirmation", "start": 10338, "end": 10362, "loc": { "start": { "line": 285, "column": 54 }, "end": { "line": 285, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10362, "end": 10363, "loc": { "start": { "line": 285, "column": 78 }, "end": { "line": 285, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10363, "end": 10364, "loc": { "start": { "line": 285, "column": 79 }, "end": { "line": 285, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10364, "end": 10365, "loc": { "start": { "line": 285, "column": 80 }, "end": { "line": 285, "column": 81 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10366, "end": 10367, "loc": { "start": { "line": 285, "column": 82 }, "end": { "line": 285, "column": 83 } } }, { "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": 10381, "end": 10383, "loc": { "start": { "line": 286, "column": 12 }, "end": { "line": 286, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10384, "end": 10385, "loc": { "start": { "line": 286, "column": 15 }, "end": { "line": 286, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 10385, "end": 10386, "loc": { "start": { "line": 286, "column": 16 }, "end": { "line": 286, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_STANDALONE", "start": 10386, "end": 10401, "loc": { "start": { "line": 286, "column": 17 }, "end": { "line": 286, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10401, "end": 10402, "loc": { "start": { "line": 286, "column": 32 }, "end": { "line": 286, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10403, "end": 10404, "loc": { "start": { "line": 286, "column": 34 }, "end": { "line": 286, "column": 35 } } }, { "type": "CommentLine", "value": " Need to show a \"Are you sure you want to exit\"", "start": 10422, "end": 10471, "loc": { "start": { "line": 287, "column": 16 }, "end": { "line": 287, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 10489, "end": 10494, "loc": { "start": { "line": 288, "column": 16 }, "end": { "line": 288, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10494, "end": 10495, "loc": { "start": { "line": 288, "column": 21 }, "end": { "line": 288, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "preventDefault", "start": 10495, "end": 10509, "loc": { "start": { "line": 288, "column": 22 }, "end": { "line": 288, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10509, "end": 10510, "loc": { "start": { "line": 288, "column": 36 }, "end": { "line": 288, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10510, "end": 10511, "loc": { "start": { "line": 288, "column": 37 }, "end": { "line": 288, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10511, "end": 10512, "loc": { "start": { "line": 288, "column": 38 }, "end": { "line": 288, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "event", "start": 10530, "end": 10535, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10535, "end": 10536, "loc": { "start": { "line": 289, "column": 21 }, "end": { "line": 289, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "returnValue", "start": 10536, "end": 10547, "loc": { "start": { "line": 289, "column": 22 }, "end": { "line": 289, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10548, "end": 10549, "loc": { "start": { "line": 289, "column": 34 }, "end": { "line": 289, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Are you sure you want to exit?", "start": 10550, "end": 10582, "loc": { "start": { "line": 289, "column": 36 }, "end": { "line": 289, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10582, "end": 10583, "loc": { "start": { "line": 289, "column": 68 }, "end": { "line": 289, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10597, "end": 10598, "loc": { "start": { "line": 290, "column": 12 }, "end": { "line": 290, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10608, "end": 10609, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10615, "end": 10616, "loc": { "start": { "line": 292, "column": 4 }, "end": { "line": 292, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Boots the application\r\n ", "start": 10624, "end": 10666, "loc": { "start": { "line": 294, "column": 4 }, "end": { "line": 296, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "async", "start": 10672, "end": 10677, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "boot", "start": 10678, "end": 10682, "loc": { "start": { "line": 297, "column": 10 }, "end": { "line": 297, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10682, "end": 10683, "loc": { "start": { "line": 297, "column": 14 }, "end": { "line": 297, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10683, "end": 10684, "loc": { "start": { "line": 297, "column": 15 }, "end": { "line": 297, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10685, "end": 10686, "loc": { "start": { "line": 297, "column": 17 }, "end": { "line": 297, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 10696, "end": 10703, "loc": { "start": { "line": 298, "column": 8 }, "end": { "line": 298, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10703, "end": 10704, "loc": { "start": { "line": 298, "column": 15 }, "end": { "line": 298, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 10704, "end": 10707, "loc": { "start": { "line": 298, "column": 16 }, "end": { "line": 298, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10707, "end": 10708, "loc": { "start": { "line": 298, "column": 19 }, "end": { "line": 298, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Booting ...", "start": 10708, "end": 10721, "loc": { "start": { "line": 298, "column": 20 }, "end": { "line": 298, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10721, "end": 10722, "loc": { "start": { "line": 298, "column": 33 }, "end": { "line": 298, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10722, "end": 10723, "loc": { "start": { "line": 298, "column": 34 }, "end": { "line": 298, "column": 35 } } }, { "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": 10735, "end": 10739, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10739, "end": 10740, "loc": { "start": { "line": 300, "column": 12 }, "end": { "line": 300, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerStates", "start": 10740, "end": 10754, "loc": { "start": { "line": 300, "column": 13 }, "end": { "line": 300, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10754, "end": 10755, "loc": { "start": { "line": 300, "column": 27 }, "end": { "line": 300, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10755, "end": 10756, "loc": { "start": { "line": 300, "column": 28 }, "end": { "line": 300, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10756, "end": 10757, "loc": { "start": { "line": 300, "column": 29 }, "end": { "line": 300, "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": 10767, "end": 10771, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10771, "end": 10772, "loc": { "start": { "line": 301, "column": 12 }, "end": { "line": 301, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerEventListeners", "start": 10772, "end": 10794, "loc": { "start": { "line": 301, "column": 13 }, "end": { "line": 301, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10794, "end": 10795, "loc": { "start": { "line": 301, "column": 35 }, "end": { "line": 301, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10795, "end": 10796, "loc": { "start": { "line": 301, "column": 36 }, "end": { "line": 301, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10796, "end": 10797, "loc": { "start": { "line": 301, "column": 37 }, "end": { "line": 301, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 10809, "end": 10815, "loc": { "start": { "line": 303, "column": 8 }, "end": { "line": 303, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10815, "end": 10816, "loc": { "start": { "line": 303, "column": 14 }, "end": { "line": 303, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "linkAppAfterBoot", "start": 10816, "end": 10832, "loc": { "start": { "line": 303, "column": 15 }, "end": { "line": 303, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10832, "end": 10833, "loc": { "start": { "line": 303, "column": 31 }, "end": { "line": 303, "column": 32 } } }, { "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": 10833, "end": 10837, "loc": { "start": { "line": 303, "column": 32 }, "end": { "line": 303, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10837, "end": 10838, "loc": { "start": { "line": 303, "column": 36 }, "end": { "line": 303, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10838, "end": 10839, "loc": { "start": { "line": 303, "column": 37 }, "end": { "line": 303, "column": 38 } } }, { "type": "CommentLine", "value": " Check for mobile", "start": 10851, "end": 10870, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 27 } } }, { "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": 10880, "end": 10882, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10883, "end": 10884, "loc": { "start": { "line": 306, "column": 11 }, "end": { "line": 306, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IS_MOBILE", "start": 10884, "end": 10893, "loc": { "start": { "line": 306, "column": 12 }, "end": { "line": 306, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10893, "end": 10894, "loc": { "start": { "line": 306, "column": 21 }, "end": { "line": 306, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10895, "end": 10896, "loc": { "start": { "line": 306, "column": 23 }, "end": { "line": 306, "column": 24 } } }, { "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": 10910, "end": 10914, "loc": { "start": { "line": 307, "column": 12 }, "end": { "line": 307, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10914, "end": 10915, "loc": { "start": { "line": 307, "column": 16 }, "end": { "line": 307, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 10915, "end": 10923, "loc": { "start": { "line": 307, "column": 17 }, "end": { "line": 307, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10923, "end": 10924, "loc": { "start": { "line": 307, "column": 25 }, "end": { "line": 307, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveToState", "start": 10924, "end": 10935, "loc": { "start": { "line": 307, "column": 26 }, "end": { "line": 307, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10935, "end": 10936, "loc": { "start": { "line": 307, "column": 37 }, "end": { "line": 307, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "MobileWarningState", "start": 10936, "end": 10956, "loc": { "start": { "line": 307, "column": 38 }, "end": { "line": 307, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10956, "end": 10957, "loc": { "start": { "line": 307, "column": 58 }, "end": { "line": 307, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10957, "end": 10958, "loc": { "start": { "line": 307, "column": 59 }, "end": { "line": 307, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10968, "end": 10969, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "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": 10970, "end": 10974, "loc": { "start": { "line": 308, "column": 10 }, "end": { "line": 308, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10975, "end": 10976, "loc": { "start": { "line": 308, "column": 15 }, "end": { "line": 308, "column": 16 } } }, { "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": 10990, "end": 10994, "loc": { "start": { "line": 309, "column": 12 }, "end": { "line": 309, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10994, "end": 10995, "loc": { "start": { "line": 309, "column": 16 }, "end": { "line": 309, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 10995, "end": 11003, "loc": { "start": { "line": 309, "column": 17 }, "end": { "line": 309, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11003, "end": 11004, "loc": { "start": { "line": 309, "column": 25 }, "end": { "line": 309, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveToState", "start": 11004, "end": 11015, "loc": { "start": { "line": 309, "column": 26 }, "end": { "line": 309, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11015, "end": 11016, "loc": { "start": { "line": 309, "column": 37 }, "end": { "line": 309, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "PreloadState", "start": 11016, "end": 11030, "loc": { "start": { "line": 309, "column": 38 }, "end": { "line": 309, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11030, "end": 11031, "loc": { "start": { "line": 309, "column": 52 }, "end": { "line": 309, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11031, "end": 11032, "loc": { "start": { "line": 309, "column": 53 }, "end": { "line": 309, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11042, "end": 11043, "loc": { "start": { "line": 310, "column": 8 }, "end": { "line": 310, "column": 9 } } }, { "type": "CommentLine", "value": " Starting rendering", "start": 11055, "end": 11076, "loc": { "start": { "line": 312, "column": 8 }, "end": { "line": 312, "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": 11086, "end": 11090, "loc": { "start": { "line": 313, "column": 8 }, "end": { "line": 313, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11090, "end": 11091, "loc": { "start": { "line": 313, "column": 12 }, "end": { "line": 313, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ticker", "start": 11091, "end": 11097, "loc": { "start": { "line": 313, "column": 13 }, "end": { "line": 313, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11097, "end": 11098, "loc": { "start": { "line": 313, "column": 19 }, "end": { "line": 313, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "frameEmitted", "start": 11098, "end": 11110, "loc": { "start": { "line": 313, "column": 20 }, "end": { "line": 313, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11110, "end": 11111, "loc": { "start": { "line": 313, "column": 32 }, "end": { "line": 313, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11111, "end": 11114, "loc": { "start": { "line": 313, "column": 33 }, "end": { "line": 313, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11114, "end": 11115, "loc": { "start": { "line": 313, "column": 36 }, "end": { "line": 313, "column": 37 } } }, { "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": 11115, "end": 11119, "loc": { "start": { "line": 313, "column": 37 }, "end": { "line": 313, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11119, "end": 11120, "loc": { "start": { "line": 313, "column": 41 }, "end": { "line": 313, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onFrameEmitted", "start": 11120, "end": 11134, "loc": { "start": { "line": 313, "column": 42 }, "end": { "line": 313, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11134, "end": 11135, "loc": { "start": { "line": 313, "column": 56 }, "end": { "line": 313, "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": 11136, "end": 11140, "loc": { "start": { "line": 313, "column": 58 }, "end": { "line": 313, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11140, "end": 11141, "loc": { "start": { "line": 313, "column": 62 }, "end": { "line": 313, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11141, "end": 11142, "loc": { "start": { "line": 313, "column": 63 }, "end": { "line": 313, "column": 64 } } }, { "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": 11152, "end": 11156, "loc": { "start": { "line": 314, "column": 8 }, "end": { "line": 314, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11156, "end": 11157, "loc": { "start": { "line": 314, "column": 12 }, "end": { "line": 314, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ticker", "start": 11157, "end": 11163, "loc": { "start": { "line": 314, "column": 13 }, "end": { "line": 314, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11163, "end": 11164, "loc": { "start": { "line": 314, "column": 19 }, "end": { "line": 314, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bgFrameEmitted", "start": 11164, "end": 11178, "loc": { "start": { "line": 314, "column": 20 }, "end": { "line": 314, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11178, "end": 11179, "loc": { "start": { "line": 314, "column": 34 }, "end": { "line": 314, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 11179, "end": 11182, "loc": { "start": { "line": 314, "column": 35 }, "end": { "line": 314, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11182, "end": 11183, "loc": { "start": { "line": 314, "column": 38 }, "end": { "line": 314, "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": 11183, "end": 11187, "loc": { "start": { "line": 314, "column": 39 }, "end": { "line": 314, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11187, "end": 11188, "loc": { "start": { "line": 314, "column": 43 }, "end": { "line": 314, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBackgroundFrame", "start": 11188, "end": 11205, "loc": { "start": { "line": 314, "column": 44 }, "end": { "line": 314, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11205, "end": 11206, "loc": { "start": { "line": 314, "column": 61 }, "end": { "line": 314, "column": 62 } } }, { "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": 11207, "end": 11211, "loc": { "start": { "line": 314, "column": 63 }, "end": { "line": 314, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11211, "end": 11212, "loc": { "start": { "line": 314, "column": 67 }, "end": { "line": 314, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11212, "end": 11213, "loc": { "start": { "line": 314, "column": 68 }, "end": { "line": 314, "column": 69 } } }, { "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": 11223, "end": 11227, "loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11227, "end": 11228, "loc": { "start": { "line": 315, "column": 12 }, "end": { "line": 315, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ticker", "start": 11228, "end": 11234, "loc": { "start": { "line": 315, "column": 13 }, "end": { "line": 315, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11234, "end": 11235, "loc": { "start": { "line": 315, "column": 19 }, "end": { "line": 315, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 11235, "end": 11240, "loc": { "start": { "line": 315, "column": 20 }, "end": { "line": 315, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11240, "end": 11241, "loc": { "start": { "line": 315, "column": 25 }, "end": { "line": 315, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11241, "end": 11242, "loc": { "start": { "line": 315, "column": 26 }, "end": { "line": 315, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11242, "end": 11243, "loc": { "start": { "line": 315, "column": 27 }, "end": { "line": 315, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 11255, "end": 11261, "loc": { "start": { "line": 317, "column": 8 }, "end": { "line": 317, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11261, "end": 11262, "loc": { "start": { "line": 317, "column": 14 }, "end": { "line": 317, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focus", "start": 11262, "end": 11267, "loc": { "start": { "line": 317, "column": 15 }, "end": { "line": 317, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11267, "end": 11268, "loc": { "start": { "line": 317, "column": 20 }, "end": { "line": 317, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11268, "end": 11269, "loc": { "start": { "line": 317, "column": 21 }, "end": { "line": 317, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11269, "end": 11270, "loc": { "start": { "line": 317, "column": 22 }, "end": { "line": 317, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11276, "end": 11277, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Deinitializes the application\r\n ", "start": 11285, "end": 11335, "loc": { "start": { "line": 320, "column": 4 }, "end": { "line": 322, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deinitialize", "start": 11341, "end": 11353, "loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 323, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11353, "end": 11354, "loc": { "start": { "line": 323, "column": 16 }, "end": { "line": 323, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11354, "end": 11355, "loc": { "start": { "line": 323, "column": 17 }, "end": { "line": 323, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11356, "end": 11357, "loc": { "start": { "line": 323, "column": 19 }, "end": { "line": 323, "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": 11367, "end": 11373, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 14 } } }, { "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": 11374, "end": 11378, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11378, "end": 11379, "loc": { "start": { "line": 324, "column": 19 }, "end": { "line": 324, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sound", "start": 11379, "end": 11384, "loc": { "start": { "line": 324, "column": 20 }, "end": { "line": 324, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11384, "end": 11385, "loc": { "start": { "line": 324, "column": 25 }, "end": { "line": 324, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deinitialize", "start": 11385, "end": 11397, "loc": { "start": { "line": 324, "column": 26 }, "end": { "line": 324, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11397, "end": 11398, "loc": { "start": { "line": 324, "column": 38 }, "end": { "line": 324, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11398, "end": 11399, "loc": { "start": { "line": 324, "column": 39 }, "end": { "line": 324, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11399, "end": 11400, "loc": { "start": { "line": 324, "column": 40 }, "end": { "line": 324, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11406, "end": 11407, "loc": { "start": { "line": 325, "column": 4 }, "end": { "line": 325, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Background frame update callback\r\n * @param {number} dt\r\n ", "start": 11415, "end": 11495, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 330, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBackgroundFrame", "start": 11501, "end": 11518, "loc": { "start": { "line": 331, "column": 4 }, "end": { "line": 331, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11518, "end": 11519, "loc": { "start": { "line": 331, "column": 21 }, "end": { "line": 331, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 11519, "end": 11521, "loc": { "start": { "line": 331, "column": 22 }, "end": { "line": 331, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11521, "end": 11522, "loc": { "start": { "line": 331, "column": 24 }, "end": { "line": 331, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11523, "end": 11524, "loc": { "start": { "line": 331, "column": 26 }, "end": { "line": 331, "column": 27 } } }, { "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": 11534, "end": 11536, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 332, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11537, "end": 11538, "loc": { "start": { "line": 332, "column": 11 }, "end": { "line": 332, "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": 11538, "end": 11542, "loc": { "start": { "line": 332, "column": 12 }, "end": { "line": 332, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11542, "end": 11543, "loc": { "start": { "line": 332, "column": 16 }, "end": { "line": 332, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isRenderable", "start": 11543, "end": 11555, "loc": { "start": { "line": 332, "column": 17 }, "end": { "line": 332, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11555, "end": 11556, "loc": { "start": { "line": 332, "column": 29 }, "end": { "line": 332, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11556, "end": 11557, "loc": { "start": { "line": 332, "column": 30 }, "end": { "line": 332, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11557, "end": 11558, "loc": { "start": { "line": 332, "column": 31 }, "end": { "line": 332, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11559, "end": 11560, "loc": { "start": { "line": 332, "column": 33 }, "end": { "line": 332, "column": 34 } } }, { "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": 11574, "end": 11580, "loc": { "start": { "line": 333, "column": 12 }, "end": { "line": 333, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11580, "end": 11581, "loc": { "start": { "line": 333, "column": 18 }, "end": { "line": 333, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11591, "end": 11592, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "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": 11604, "end": 11609, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 11610, "end": 11622, "loc": { "start": { "line": 336, "column": 14 }, "end": { "line": 336, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11623, "end": 11624, "loc": { "start": { "line": 336, "column": 27 }, "end": { "line": 336, "column": 28 } } }, { "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": 11625, "end": 11629, "loc": { "start": { "line": 336, "column": 29 }, "end": { "line": 336, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11629, "end": 11630, "loc": { "start": { "line": 336, "column": 33 }, "end": { "line": 336, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 11630, "end": 11638, "loc": { "start": { "line": 336, "column": 34 }, "end": { "line": 336, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11638, "end": 11639, "loc": { "start": { "line": 336, "column": 42 }, "end": { "line": 336, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentState", "start": 11639, "end": 11654, "loc": { "start": { "line": 336, "column": 43 }, "end": { "line": 336, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11654, "end": 11655, "loc": { "start": { "line": 336, "column": 58 }, "end": { "line": 336, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11655, "end": 11656, "loc": { "start": { "line": 336, "column": 59 }, "end": { "line": 336, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11656, "end": 11657, "loc": { "start": { "line": 336, "column": 60 }, "end": { "line": 336, "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": 11667, "end": 11669, "loc": { "start": { "line": 337, "column": 8 }, "end": { "line": 337, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11670, "end": 11671, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 11671, "end": 11683, "loc": { "start": { "line": 337, "column": 12 }, "end": { "line": 337, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11683, "end": 11684, "loc": { "start": { "line": 337, "column": 24 }, "end": { "line": 337, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11685, "end": 11686, "loc": { "start": { "line": 337, "column": 26 }, "end": { "line": 337, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 11700, "end": 11712, "loc": { "start": { "line": 338, "column": 12 }, "end": { "line": 338, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11712, "end": 11713, "loc": { "start": { "line": 338, "column": 24 }, "end": { "line": 338, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onBackgroundTick", "start": 11713, "end": 11729, "loc": { "start": { "line": 338, "column": 25 }, "end": { "line": 338, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11729, "end": 11730, "loc": { "start": { "line": 338, "column": 41 }, "end": { "line": 338, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 11730, "end": 11732, "loc": { "start": { "line": 338, "column": 42 }, "end": { "line": 338, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11732, "end": 11733, "loc": { "start": { "line": 338, "column": 44 }, "end": { "line": 338, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11733, "end": 11734, "loc": { "start": { "line": 338, "column": 45 }, "end": { "line": 338, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11744, "end": 11745, "loc": { "start": { "line": 339, "column": 8 }, "end": { "line": 339, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11751, "end": 11752, "loc": { "start": { "line": 340, "column": 4 }, "end": { "line": 340, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Frame update callback\r\n * @param {number} dt\r\n ", "start": 11760, "end": 11829, "loc": { "start": { "line": 342, "column": 4 }, "end": { "line": 345, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onFrameEmitted", "start": 11835, "end": 11849, "loc": { "start": { "line": 346, "column": 4 }, "end": { "line": 346, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11849, "end": 11850, "loc": { "start": { "line": 346, "column": 18 }, "end": { "line": 346, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 11850, "end": 11852, "loc": { "start": { "line": 346, "column": 19 }, "end": { "line": 346, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11852, "end": 11853, "loc": { "start": { "line": 346, "column": 21 }, "end": { "line": 346, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11854, "end": 11855, "loc": { "start": { "line": 346, "column": 23 }, "end": { "line": 346, "column": 24 } } }, { "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": 11865, "end": 11867, "loc": { "start": { "line": 347, "column": 8 }, "end": { "line": 347, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11868, "end": 11869, "loc": { "start": { "line": 347, "column": 11 }, "end": { "line": 347, "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": 11869, "end": 11870, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 13 } } }, { "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": 11870, "end": 11874, "loc": { "start": { "line": 347, "column": 13 }, "end": { "line": 347, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11874, "end": 11875, "loc": { "start": { "line": 347, "column": 17 }, "end": { "line": 347, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isRenderable", "start": 11875, "end": 11887, "loc": { "start": { "line": 347, "column": 18 }, "end": { "line": 347, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11887, "end": 11888, "loc": { "start": { "line": 347, "column": 30 }, "end": { "line": 347, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11888, "end": 11889, "loc": { "start": { "line": 347, "column": 31 }, "end": { "line": 347, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11889, "end": 11890, "loc": { "start": { "line": 347, "column": 32 }, "end": { "line": 347, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11891, "end": 11892, "loc": { "start": { "line": 347, "column": 34 }, "end": { "line": 347, "column": 35 } } }, { "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": 11906, "end": 11912, "loc": { "start": { "line": 348, "column": 12 }, "end": { "line": 348, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11912, "end": 11913, "loc": { "start": { "line": 348, "column": 18 }, "end": { "line": 348, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11923, "end": 11924, "loc": { "start": { "line": 349, "column": 8 }, "end": { "line": 349, "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": 11936, "end": 11941, "loc": { "start": { "line": 351, "column": 8 }, "end": { "line": 351, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 11942, "end": 11946, "loc": { "start": { "line": 351, "column": 14 }, "end": { "line": 351, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11947, "end": 11948, "loc": { "start": { "line": 351, "column": 19 }, "end": { "line": 351, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performance", "start": 11949, "end": 11960, "loc": { "start": { "line": 351, "column": 21 }, "end": { "line": 351, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11960, "end": 11961, "loc": { "start": { "line": 351, "column": 32 }, "end": { "line": 351, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 11961, "end": 11964, "loc": { "start": { "line": 351, "column": 33 }, "end": { "line": 351, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11964, "end": 11965, "loc": { "start": { "line": 351, "column": 36 }, "end": { "line": 351, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11965, "end": 11966, "loc": { "start": { "line": 351, "column": 37 }, "end": { "line": 351, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11966, "end": 11967, "loc": { "start": { "line": 351, "column": 38 }, "end": { "line": 351, "column": 39 } } }, { "type": "CommentLine", "value": " Periodically check for resizes, this is expensive (takes 2-3ms so only do it once in a while!)", "start": 11979, "end": 12076, "loc": { "start": { "line": 353, "column": 8 }, "end": { "line": 353, "column": 105 } } }, { "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": 12086, "end": 12088, "loc": { "start": { "line": 354, "column": 8 }, "end": { "line": 354, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12089, "end": 12090, "loc": { "start": { "line": 354, "column": 11 }, "end": { "line": 354, "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": 12090, "end": 12091, "loc": { "start": { "line": 354, "column": 12 }, "end": { "line": 354, "column": 13 } } }, { "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": 12091, "end": 12095, "loc": { "start": { "line": 354, "column": 13 }, "end": { "line": 354, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12095, "end": 12096, "loc": { "start": { "line": 354, "column": 17 }, "end": { "line": 354, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastResizeCheck", "start": 12096, "end": 12111, "loc": { "start": { "line": 354, "column": 18 }, "end": { "line": 354, "column": 33 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12112, "end": 12114, "loc": { "start": { "line": 354, "column": 34 }, "end": { "line": 354, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 12115, "end": 12119, "loc": { "start": { "line": 354, "column": 37 }, "end": { "line": 354, "column": 41 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 12120, "end": 12121, "loc": { "start": { "line": 354, "column": 42 }, "end": { "line": 354, "column": 43 } } }, { "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": 12122, "end": 12126, "loc": { "start": { "line": 354, "column": 44 }, "end": { "line": 354, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12126, "end": 12127, "loc": { "start": { "line": 354, "column": 48 }, "end": { "line": 354, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastResizeCheck", "start": 12127, "end": 12142, "loc": { "start": { "line": 354, "column": 49 }, "end": { "line": 354, "column": 64 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 12143, "end": 12144, "loc": { "start": { "line": 354, "column": 65 }, "end": { "line": 354, "column": 66 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1000, "start": 12145, "end": 12149, "loc": { "start": { "line": 354, "column": 67 }, "end": { "line": 354, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12149, "end": 12150, "loc": { "start": { "line": 354, "column": 71 }, "end": { "line": 354, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12151, "end": 12152, "loc": { "start": { "line": 354, "column": 73 }, "end": { "line": 354, "column": 74 } } }, { "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": 12166, "end": 12170, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12170, "end": 12171, "loc": { "start": { "line": 355, "column": 16 }, "end": { "line": 355, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkResize", "start": 12171, "end": 12182, "loc": { "start": { "line": 355, "column": 17 }, "end": { "line": 355, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12182, "end": 12183, "loc": { "start": { "line": 355, "column": 28 }, "end": { "line": 355, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12183, "end": 12184, "loc": { "start": { "line": 355, "column": 29 }, "end": { "line": 355, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12184, "end": 12185, "loc": { "start": { "line": 355, "column": 30 }, "end": { "line": 355, "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": 12199, "end": 12203, "loc": { "start": { "line": 356, "column": 12 }, "end": { "line": 356, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12203, "end": 12204, "loc": { "start": { "line": 356, "column": 16 }, "end": { "line": 356, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastResizeCheck", "start": 12204, "end": 12219, "loc": { "start": { "line": 356, "column": 17 }, "end": { "line": 356, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12220, "end": 12221, "loc": { "start": { "line": 356, "column": 33 }, "end": { "line": 356, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 12222, "end": 12226, "loc": { "start": { "line": 356, "column": 35 }, "end": { "line": 356, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12226, "end": 12227, "loc": { "start": { "line": 356, "column": 39 }, "end": { "line": 356, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12237, "end": 12238, "loc": { "start": { "line": 357, "column": 8 }, "end": { "line": 357, "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": 12250, "end": 12255, "loc": { "start": { "line": 359, "column": 8 }, "end": { "line": 359, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 12256, "end": 12268, "loc": { "start": { "line": 359, "column": 14 }, "end": { "line": 359, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12269, "end": 12270, "loc": { "start": { "line": 359, "column": 27 }, "end": { "line": 359, "column": 28 } } }, { "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": 12271, "end": 12275, "loc": { "start": { "line": 359, "column": 29 }, "end": { "line": 359, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12275, "end": 12276, "loc": { "start": { "line": 359, "column": 33 }, "end": { "line": 359, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 12276, "end": 12284, "loc": { "start": { "line": 359, "column": 34 }, "end": { "line": 359, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12284, "end": 12285, "loc": { "start": { "line": 359, "column": 42 }, "end": { "line": 359, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentState", "start": 12285, "end": 12300, "loc": { "start": { "line": 359, "column": 43 }, "end": { "line": 359, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12300, "end": 12301, "loc": { "start": { "line": 359, "column": 58 }, "end": { "line": 359, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12301, "end": 12302, "loc": { "start": { "line": 359, "column": 59 }, "end": { "line": 359, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12302, "end": 12303, "loc": { "start": { "line": 359, "column": 60 }, "end": { "line": 359, "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": 12313, "end": 12315, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12316, "end": 12317, "loc": { "start": { "line": 360, "column": 11 }, "end": { "line": 360, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 12317, "end": 12329, "loc": { "start": { "line": 360, "column": 12 }, "end": { "line": 360, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12329, "end": 12330, "loc": { "start": { "line": 360, "column": 24 }, "end": { "line": 360, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12331, "end": 12332, "loc": { "start": { "line": 360, "column": 26 }, "end": { "line": 360, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 12346, "end": 12358, "loc": { "start": { "line": 361, "column": 12 }, "end": { "line": 361, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12358, "end": 12359, "loc": { "start": { "line": 361, "column": 24 }, "end": { "line": 361, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onRender", "start": 12359, "end": 12367, "loc": { "start": { "line": 361, "column": 25 }, "end": { "line": 361, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12367, "end": 12368, "loc": { "start": { "line": 361, "column": 33 }, "end": { "line": 361, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dt", "start": 12368, "end": 12370, "loc": { "start": { "line": 361, "column": 34 }, "end": { "line": 361, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12370, "end": 12371, "loc": { "start": { "line": 361, "column": 36 }, "end": { "line": 361, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12371, "end": 12372, "loc": { "start": { "line": 361, "column": 37 }, "end": { "line": 361, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12382, "end": 12383, "loc": { "start": { "line": 362, "column": 8 }, "end": { "line": 362, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12389, "end": 12390, "loc": { "start": { "line": 363, "column": 4 }, "end": { "line": 363, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if the app resized. Only does this once in a while\r\n * @param {boolean} forceUpdate Forced update of the dimensions\r\n ", "start": 12398, "end": 12545, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 368, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkResize", "start": 12551, "end": 12562, "loc": { "start": { "line": 369, "column": 4 }, "end": { "line": 369, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12562, "end": 12563, "loc": { "start": { "line": 369, "column": 15 }, "end": { "line": 369, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceUpdate", "start": 12563, "end": 12574, "loc": { "start": { "line": 369, "column": 16 }, "end": { "line": 369, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12575, "end": 12576, "loc": { "start": { "line": 369, "column": 28 }, "end": { "line": 369, "column": 29 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 12577, "end": 12582, "loc": { "start": { "line": 369, "column": 30 }, "end": { "line": 369, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12582, "end": 12583, "loc": { "start": { "line": 369, "column": 35 }, "end": { "line": 369, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12584, "end": 12585, "loc": { "start": { "line": 369, "column": 37 }, "end": { "line": 369, "column": 38 } } }, { "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": 12595, "end": 12600, "loc": { "start": { "line": 370, "column": 8 }, "end": { "line": 370, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 12601, "end": 12602, "loc": { "start": { "line": 370, "column": 14 }, "end": { "line": 370, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12603, "end": 12604, "loc": { "start": { "line": 370, "column": 16 }, "end": { "line": 370, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12605, "end": 12611, "loc": { "start": { "line": 370, "column": 18 }, "end": { "line": 370, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12611, "end": 12612, "loc": { "start": { "line": 370, "column": 24 }, "end": { "line": 370, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerWidth", "start": 12612, "end": 12622, "loc": { "start": { "line": 370, "column": 25 }, "end": { "line": 370, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12622, "end": 12623, "loc": { "start": { "line": 370, "column": 35 }, "end": { "line": 370, "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": 12633, "end": 12638, "loc": { "start": { "line": 371, "column": 8 }, "end": { "line": 371, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 12639, "end": 12640, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12641, "end": 12642, "loc": { "start": { "line": 371, "column": 16 }, "end": { "line": 371, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 12643, "end": 12649, "loc": { "start": { "line": 371, "column": 18 }, "end": { "line": 371, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12649, "end": 12650, "loc": { "start": { "line": 371, "column": 24 }, "end": { "line": 371, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHeight", "start": 12650, "end": 12661, "loc": { "start": { "line": 371, "column": 25 }, "end": { "line": 371, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12661, "end": 12662, "loc": { "start": { "line": 371, "column": 36 }, "end": { "line": 371, "column": 37 } } }, { "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": 12672, "end": 12674, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 372, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12675, "end": 12676, "loc": { "start": { "line": 372, "column": 11 }, "end": { "line": 372, "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": 12676, "end": 12680, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12680, "end": 12681, "loc": { "start": { "line": 372, "column": 16 }, "end": { "line": 372, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenWidth", "start": 12681, "end": 12692, "loc": { "start": { "line": 372, "column": 17 }, "end": { "line": 372, "column": 28 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 12693, "end": 12696, "loc": { "start": { "line": 372, "column": 29 }, "end": { "line": 372, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 12697, "end": 12698, "loc": { "start": { "line": 372, "column": 33 }, "end": { "line": 372, "column": 34 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12699, "end": 12701, "loc": { "start": { "line": 372, "column": 35 }, "end": { "line": 372, "column": 37 } } }, { "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": 12702, "end": 12706, "loc": { "start": { "line": 372, "column": 38 }, "end": { "line": 372, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12706, "end": 12707, "loc": { "start": { "line": 372, "column": 42 }, "end": { "line": 372, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenHeight", "start": 12707, "end": 12719, "loc": { "start": { "line": 372, "column": 43 }, "end": { "line": 372, "column": 55 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 12720, "end": 12723, "loc": { "start": { "line": 372, "column": 56 }, "end": { "line": 372, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 12724, "end": 12725, "loc": { "start": { "line": 372, "column": 60 }, "end": { "line": 372, "column": 61 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12726, "end": 12728, "loc": { "start": { "line": 372, "column": 62 }, "end": { "line": 372, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forceUpdate", "start": 12729, "end": 12740, "loc": { "start": { "line": 372, "column": 65 }, "end": { "line": 372, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12740, "end": 12741, "loc": { "start": { "line": 372, "column": 76 }, "end": { "line": 372, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12742, "end": 12743, "loc": { "start": { "line": 372, "column": 78 }, "end": { "line": 372, "column": 79 } } }, { "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": 12757, "end": 12761, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12761, "end": 12762, "loc": { "start": { "line": 373, "column": 16 }, "end": { "line": 373, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenWidth", "start": 12762, "end": 12773, "loc": { "start": { "line": 373, "column": 17 }, "end": { "line": 373, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12774, "end": 12775, "loc": { "start": { "line": 373, "column": 29 }, "end": { "line": 373, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 12776, "end": 12777, "loc": { "start": { "line": 373, "column": 31 }, "end": { "line": 373, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12777, "end": 12778, "loc": { "start": { "line": 373, "column": 32 }, "end": { "line": 373, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12792, "end": 12796, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12796, "end": 12797, "loc": { "start": { "line": 374, "column": 16 }, "end": { "line": 374, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenHeight", "start": 12797, "end": 12809, "loc": { "start": { "line": 374, "column": 17 }, "end": { "line": 374, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12810, "end": 12811, "loc": { "start": { "line": 374, "column": 30 }, "end": { "line": 374, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 12812, "end": 12813, "loc": { "start": { "line": 374, "column": 32 }, "end": { "line": 374, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12813, "end": 12814, "loc": { "start": { "line": 374, "column": 33 }, "end": { "line": 374, "column": 34 } } }, { "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": 12828, "end": 12833, "loc": { "start": { "line": 375, "column": 12 }, "end": { "line": 375, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 12834, "end": 12846, "loc": { "start": { "line": 375, "column": 18 }, "end": { "line": 375, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12847, "end": 12848, "loc": { "start": { "line": 375, "column": 31 }, "end": { "line": 375, "column": 32 } } }, { "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": 12849, "end": 12853, "loc": { "start": { "line": 375, "column": 33 }, "end": { "line": 375, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12853, "end": 12854, "loc": { "start": { "line": 375, "column": 37 }, "end": { "line": 375, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "stateMgr", "start": 12854, "end": 12862, "loc": { "start": { "line": 375, "column": 38 }, "end": { "line": 375, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12862, "end": 12863, "loc": { "start": { "line": 375, "column": 46 }, "end": { "line": 375, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCurrentState", "start": 12863, "end": 12878, "loc": { "start": { "line": 375, "column": 47 }, "end": { "line": 375, "column": 62 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12878, "end": 12879, "loc": { "start": { "line": 375, "column": 62 }, "end": { "line": 375, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12879, "end": 12880, "loc": { "start": { "line": 375, "column": 63 }, "end": { "line": 375, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12880, "end": 12881, "loc": { "start": { "line": 375, "column": 64 }, "end": { "line": 375, "column": 65 } } }, { "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": 12895, "end": 12897, "loc": { "start": { "line": 376, "column": 12 }, "end": { "line": 376, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12898, "end": 12899, "loc": { "start": { "line": 376, "column": 15 }, "end": { "line": 376, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 12899, "end": 12911, "loc": { "start": { "line": 376, "column": 16 }, "end": { "line": 376, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12911, "end": 12912, "loc": { "start": { "line": 376, "column": 28 }, "end": { "line": 376, "column": 29 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12913, "end": 12914, "loc": { "start": { "line": 376, "column": 30 }, "end": { "line": 376, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentState", "start": 12932, "end": 12944, "loc": { "start": { "line": 377, "column": 16 }, "end": { "line": 377, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12944, "end": 12945, "loc": { "start": { "line": 377, "column": 28 }, "end": { "line": 377, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "onResized", "start": 12945, "end": 12954, "loc": { "start": { "line": 377, "column": 29 }, "end": { "line": 377, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12954, "end": 12955, "loc": { "start": { "line": 377, "column": 38 }, "end": { "line": 377, "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": 12955, "end": 12959, "loc": { "start": { "line": 377, "column": 39 }, "end": { "line": 377, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12959, "end": 12960, "loc": { "start": { "line": 377, "column": 43 }, "end": { "line": 377, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenWidth", "start": 12960, "end": 12971, "loc": { "start": { "line": 377, "column": 44 }, "end": { "line": 377, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12971, "end": 12972, "loc": { "start": { "line": 377, "column": 55 }, "end": { "line": 377, "column": 56 } } }, { "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": 12973, "end": 12977, "loc": { "start": { "line": 377, "column": 57 }, "end": { "line": 377, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12977, "end": 12978, "loc": { "start": { "line": 377, "column": 61 }, "end": { "line": 377, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenHeight", "start": 12978, "end": 12990, "loc": { "start": { "line": 377, "column": 62 }, "end": { "line": 377, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12990, "end": 12991, "loc": { "start": { "line": 377, "column": 74 }, "end": { "line": 377, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12991, "end": 12992, "loc": { "start": { "line": 377, "column": 75 }, "end": { "line": 377, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13006, "end": 13007, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 13 } } }, { "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": 13023, "end": 13028, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 13029, "end": 13034, "loc": { "start": { "line": 380, "column": 18 }, "end": { "line": 380, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13035, "end": 13036, "loc": { "start": { "line": 380, "column": 24 }, "end": { "line": 380, "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": 13037, "end": 13041, "loc": { "start": { "line": 380, "column": 26 }, "end": { "line": 380, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13041, "end": 13042, "loc": { "start": { "line": 380, "column": 30 }, "end": { "line": 380, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveUiScale", "start": 13042, "end": 13061, "loc": { "start": { "line": 380, "column": 31 }, "end": { "line": 380, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13061, "end": 13062, "loc": { "start": { "line": 380, "column": 50 }, "end": { "line": 380, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13062, "end": 13063, "loc": { "start": { "line": 380, "column": 51 }, "end": { "line": 380, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13063, "end": 13064, "loc": { "start": { "line": 380, "column": 52 }, "end": { "line": 380, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "waitNextFrame", "start": 13078, "end": 13091, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13091, "end": 13092, "loc": { "start": { "line": 381, "column": 25 }, "end": { "line": 381, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13092, "end": 13093, "loc": { "start": { "line": 381, "column": 26 }, "end": { "line": 381, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13093, "end": 13094, "loc": { "start": { "line": 381, "column": 27 }, "end": { "line": 381, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "then", "start": 13094, "end": 13098, "loc": { "start": { "line": 381, "column": 28 }, "end": { "line": 381, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13098, "end": 13099, "loc": { "start": { "line": 381, "column": 32 }, "end": { "line": 381, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13099, "end": 13100, "loc": { "start": { "line": 381, "column": 33 }, "end": { "line": 381, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13100, "end": 13101, "loc": { "start": { "line": 381, "column": 34 }, "end": { "line": 381, "column": 35 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13102, "end": 13104, "loc": { "start": { "line": 381, "column": 36 }, "end": { "line": 381, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 13105, "end": 13113, "loc": { "start": { "line": 381, "column": 39 }, "end": { "line": 381, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13113, "end": 13114, "loc": { "start": { "line": 381, "column": 47 }, "end": { "line": 381, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "documentElement", "start": 13114, "end": 13129, "loc": { "start": { "line": 381, "column": 48 }, "end": { "line": 381, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13129, "end": 13130, "loc": { "start": { "line": 381, "column": 63 }, "end": { "line": 381, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "style", "start": 13130, "end": 13135, "loc": { "start": { "line": 381, "column": 64 }, "end": { "line": 381, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13135, "end": 13136, "loc": { "start": { "line": 381, "column": 69 }, "end": { "line": 381, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setProperty", "start": 13136, "end": 13147, "loc": { "start": { "line": 381, "column": 70 }, "end": { "line": 381, "column": 81 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13147, "end": 13148, "loc": { "start": { "line": 381, "column": 81 }, "end": { "line": 381, "column": 82 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "--ui-scale", "start": 13148, "end": 13160, "loc": { "start": { "line": 381, "column": 82 }, "end": { "line": 381, "column": 94 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13160, "end": 13161, "loc": { "start": { "line": 381, "column": 94 }, "end": { "line": 381, "column": 95 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13162, "end": 13163, "loc": { "start": { "line": 381, "column": 96 }, "end": { "line": 381, "column": 97 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13163, "end": 13163, "loc": { "start": { "line": 381, "column": 97 }, "end": { "line": 381, "column": 97 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13163, "end": 13165, "loc": { "start": { "line": 381, "column": 97 }, "end": { "line": 381, "column": 99 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 13165, "end": 13170, "loc": { "start": { "line": 381, "column": 99 }, "end": { "line": 381, "column": 104 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13170, "end": 13171, "loc": { "start": { "line": 381, "column": 104 }, "end": { "line": 381, "column": 105 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 13171, "end": 13171, "loc": { "start": { "line": 381, "column": 105 }, "end": { "line": 381, "column": 105 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13171, "end": 13172, "loc": { "start": { "line": 381, "column": 105 }, "end": { "line": 381, "column": 106 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13172, "end": 13173, "loc": { "start": { "line": 381, "column": 106 }, "end": { "line": 381, "column": 107 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13173, "end": 13174, "loc": { "start": { "line": 381, "column": 107 }, "end": { "line": 381, "column": 108 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13174, "end": 13175, "loc": { "start": { "line": 381, "column": 108 }, "end": { "line": 381, "column": 109 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 13189, "end": 13195, "loc": { "start": { "line": 382, "column": 12 }, "end": { "line": 382, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13195, "end": 13196, "loc": { "start": { "line": 382, "column": 18 }, "end": { "line": 382, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focus", "start": 13196, "end": 13201, "loc": { "start": { "line": 382, "column": 19 }, "end": { "line": 382, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13201, "end": 13202, "loc": { "start": { "line": 382, "column": 24 }, "end": { "line": 382, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13202, "end": 13203, "loc": { "start": { "line": 382, "column": 25 }, "end": { "line": 382, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13203, "end": 13204, "loc": { "start": { "line": 382, "column": 26 }, "end": { "line": 382, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13214, "end": 13215, "loc": { "start": { "line": 383, "column": 8 }, "end": { "line": 383, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13221, "end": 13222, "loc": { "start": { "line": 384, "column": 4 }, "end": { "line": 384, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the effective ui sclae\r\n ", "start": 13230, "end": 13281, "loc": { "start": { "line": 386, "column": 4 }, "end": { "line": 388, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getEffectiveUiScale", "start": 13287, "end": 13306, "loc": { "start": { "line": 389, "column": 4 }, "end": { "line": 389, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13306, "end": 13307, "loc": { "start": { "line": 389, "column": 23 }, "end": { "line": 389, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13307, "end": 13308, "loc": { "start": { "line": 389, "column": 24 }, "end": { "line": 389, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13309, "end": 13310, "loc": { "start": { "line": 389, "column": 26 }, "end": { "line": 389, "column": 27 } } }, { "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": 13320, "end": 13326, "loc": { "start": { "line": 390, "column": 8 }, "end": { "line": 390, "column": 14 } } }, { "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": 13327, "end": 13331, "loc": { "start": { "line": 390, "column": 15 }, "end": { "line": 390, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13331, "end": 13332, "loc": { "start": { "line": 390, "column": 19 }, "end": { "line": 390, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "platformWrapper", "start": 13332, "end": 13347, "loc": { "start": { "line": 390, "column": 20 }, "end": { "line": 390, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13347, "end": 13348, "loc": { "start": { "line": 390, "column": 35 }, "end": { "line": 390, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUiScale", "start": 13348, "end": 13358, "loc": { "start": { "line": 390, "column": 36 }, "end": { "line": 390, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13358, "end": 13359, "loc": { "start": { "line": 390, "column": 46 }, "end": { "line": 390, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13359, "end": 13360, "loc": { "start": { "line": 390, "column": 47 }, "end": { "line": 390, "column": 48 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 13361, "end": 13362, "loc": { "start": { "line": 390, "column": 49 }, "end": { "line": 390, "column": 50 } } }, { "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": 13363, "end": 13367, "loc": { "start": { "line": 390, "column": 51 }, "end": { "line": 390, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13367, "end": 13368, "loc": { "start": { "line": 390, "column": 55 }, "end": { "line": 390, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 13368, "end": 13376, "loc": { "start": { "line": 390, "column": 56 }, "end": { "line": 390, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13376, "end": 13377, "loc": { "start": { "line": 390, "column": 64 }, "end": { "line": 390, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getInterfaceScaleValue", "start": 13377, "end": 13399, "loc": { "start": { "line": 390, "column": 65 }, "end": { "line": 390, "column": 87 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13399, "end": 13400, "loc": { "start": { "line": 390, "column": 87 }, "end": { "line": 390, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13400, "end": 13401, "loc": { "start": { "line": 390, "column": 88 }, "end": { "line": 390, "column": 89 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13401, "end": 13402, "loc": { "start": { "line": 390, "column": 89 }, "end": { "line": 390, "column": 90 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13408, "end": 13409, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Callback after ui scale has changed\r\n ", "start": 13417, "end": 13473, "loc": { "start": { "line": 393, "column": 4 }, "end": { "line": 395, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateAfterUiScaleChanged", "start": 13479, "end": 13504, "loc": { "start": { "line": 396, "column": 4 }, "end": { "line": 396, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13504, "end": 13505, "loc": { "start": { "line": 396, "column": 29 }, "end": { "line": 396, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13505, "end": 13506, "loc": { "start": { "line": 396, "column": 30 }, "end": { "line": 396, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13507, "end": 13508, "loc": { "start": { "line": 396, "column": 32 }, "end": { "line": 396, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13518, "end": 13522, "loc": { "start": { "line": 397, "column": 8 }, "end": { "line": 397, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13522, "end": 13523, "loc": { "start": { "line": 397, "column": 12 }, "end": { "line": 397, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkResize", "start": 13523, "end": 13534, "loc": { "start": { "line": 397, "column": 13 }, "end": { "line": 397, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13534, "end": 13535, "loc": { "start": { "line": 397, "column": 24 }, "end": { "line": 397, "column": 25 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 13535, "end": 13539, "loc": { "start": { "line": 397, "column": 25 }, "end": { "line": 397, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13539, "end": 13540, "loc": { "start": { "line": 397, "column": 29 }, "end": { "line": 397, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13540, "end": 13541, "loc": { "start": { "line": 397, "column": 30 }, "end": { "line": 397, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13547, "end": 13548, "loc": { "start": { "line": 398, "column": 4 }, "end": { "line": 398, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13550, "end": 13551, "loc": { "start": { "line": 399, "column": 0 }, "end": { "line": 399, "column": 1 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Application", "start": 13555, "end": 13566, "loc": { "start": { "line": 401, "column": 0 }, "end": { "line": 401, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13566, "end": 13567, "loc": { "start": { "line": 401, "column": 11 }, "end": { "line": 401, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trackClicks", "start": 13567, "end": 13578, "loc": { "start": { "line": 401, "column": 12 }, "end": { "line": 401, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13579, "end": 13580, "loc": { "start": { "line": 401, "column": 24 }, "end": { "line": 401, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 13581, "end": 13590, "loc": { "start": { "line": 401, "column": 26 }, "end": { "line": 401, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13590, "end": 13591, "loc": { "start": { "line": 401, "column": 35 }, "end": { "line": 401, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Application", "start": 13595, "end": 13606, "loc": { "start": { "line": 403, "column": 0 }, "end": { "line": 403, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13606, "end": 13607, "loc": { "start": { "line": 403, "column": 11 }, "end": { "line": 403, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMainContentHTML", "start": 13607, "end": 13625, "loc": { "start": { "line": 403, "column": 12 }, "end": { "line": 403, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13626, "end": 13627, "loc": { "start": { "line": 403, "column": 31 }, "end": { "line": 403, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 13628, "end": 13637, "loc": { "start": { "line": 403, "column": 33 }, "end": { "line": 403, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13637, "end": 13638, "loc": { "start": { "line": 403, "column": 42 }, "end": { "line": 403, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Application", "start": 13642, "end": 13653, "loc": { "start": { "line": 405, "column": 0 }, "end": { "line": 405, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13653, "end": 13654, "loc": { "start": { "line": 405, "column": 11 }, "end": { "line": 405, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "states", "start": 13654, "end": 13660, "loc": { "start": { "line": 405, "column": 12 }, "end": { "line": 405, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13661, "end": 13662, "loc": { "start": { "line": 405, "column": 19 }, "end": { "line": 405, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13663, "end": 13664, "loc": { "start": { "line": 405, "column": 21 }, "end": { "line": 405, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PreloadState", "start": 13670, "end": 13682, "loc": { "start": { "line": 406, "column": 4 }, "end": { "line": 406, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13682, "end": 13683, "loc": { "start": { "line": 406, "column": 16 }, "end": { "line": 406, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MobileWarningState", "start": 13689, "end": 13707, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13707, "end": 13708, "loc": { "start": { "line": 407, "column": 22 }, "end": { "line": 407, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MainMenuState", "start": 13714, "end": 13727, "loc": { "start": { "line": 408, "column": 4 }, "end": { "line": 408, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13727, "end": 13728, "loc": { "start": { "line": 408, "column": 17 }, "end": { "line": 408, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "InGameState", "start": 13734, "end": 13745, "loc": { "start": { "line": 409, "column": 4 }, "end": { "line": 409, "column": 15 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13745, "end": 13746, "loc": { "start": { "line": 409, "column": 15 }, "end": { "line": 409, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SettingsState", "start": 13752, "end": 13765, "loc": { "start": { "line": 410, "column": 4 }, "end": { "line": 410, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13765, "end": 13766, "loc": { "start": { "line": 410, "column": 17 }, "end": { "line": 410, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KeybindingsState", "start": 13772, "end": 13788, "loc": { "start": { "line": 411, "column": 4 }, "end": { "line": 411, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13788, "end": 13789, "loc": { "start": { "line": 411, "column": 20 }, "end": { "line": 411, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "AboutState", "start": 13795, "end": 13805, "loc": { "start": { "line": 412, "column": 4 }, "end": { "line": 412, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13805, "end": 13806, "loc": { "start": { "line": 412, "column": 14 }, "end": { "line": 412, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ChangelogState", "start": 13812, "end": 13826, "loc": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13826, "end": 13827, "loc": { "start": { "line": 413, "column": 18 }, "end": { "line": 413, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13829, "end": 13830, "loc": { "start": { "line": 414, "column": 0 }, "end": { "line": 414, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13830, "end": 13831, "loc": { "start": { "line": 414, "column": 1 }, "end": { "line": 414, "column": 2 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13831, "end": 13831, "loc": { "start": { "line": 414, "column": 2 }, "end": { "line": 414, "column": 2 } } } ] }