From 5d4cddc641d5bb81c3a618567a8018e25a1995a6 Mon Sep 17 00:00:00 2001 From: xiazeyu_2011 Date: Sat, 13 Jan 2018 21:33:28 +0800 Subject: [PATCH] docs: added demo and doc --- ghpages/dev.html | 12 + ...anager.js.json => PlatformManager.js.json} | 9654 +++-- .../{_cDefine.js.json => cDefine.js.json} | 0 ghpages/docs/ast/source/cLive2DApp.js.json | 35020 +++++++++------- .../{_cManager.js.json => cManager.js.json} | 5125 ++- .../{_cModel.js.json => cModel.js.json} | 0 .../docs/ast/source/elementManager.js.json | 9571 ----- ...mework.js.json => Live2DFramework.js.json} | 14648 +++++-- .../MatrixStack.js.json} | 0 .../ModelSettingJson.js.json} | 0 ghpages/docs/badge.svg | 4 +- ghpages/docs/coverage.json | 171 +- ...anager.js.html => PlatformManager.js.html} | 31 +- .../src/{_cDefine.js.html => cDefine.js.html} | 22 +- ghpages/docs/file/src/cLive2DApp.js.html | 89 +- .../{_cManager.js.html => cManager.js.html} | 30 +- .../src/{_cModel.js.html => cModel.js.html} | 22 +- .../docs/file/src/config/configMgr.js.html | 18 +- .../file/src/config/configValidater.js.html | 18 +- ghpages/docs/file/src/elementManager.js.html | 134 - ghpages/docs/file/src/elementMgr.js.html | 18 +- ghpages/docs/file/src/index.js.html | 18 +- ...mework.js.html => Live2DFramework.js.html} | 52 +- .../src/lib/_Live2DFramework.official.js.html | 18 +- .../MatrixStack.js.html} | 22 +- .../ModelSettingJson.js.html} | 22 +- ghpages/docs/file/src/wpPublicPath.js.html | 18 +- ghpages/docs/function/index.html | 1116 +- ghpages/docs/identifiers.html | 450 +- ghpages/docs/index.json | 7369 ++-- ghpages/docs/script/search_index.js | 160 +- ghpages/docs/source.html | 113 +- ghpages/docs/variable/index.html | 18 +- ghpages/lib/clL2D.0.min.js | 3 + ghpages/lib/clL2D.0.min.js.map | 1 + ghpages/lib/clL2D.min.js | 3 + ghpages/lib/clL2D.min.js.map | 1 + ghpages/lib/manifest.json | 6 + ghpages/lib/stats.html | 208 + lib/clL2D.0.min.js | 4 +- lib/clL2D.0.min.js.map | 2 +- lib/clL2D.min.js | 4 +- lib/clL2D.min.js.map | 2 +- lib/stats.html | 2 +- src/PlatformManager.js | 9 +- src/cLive2DApp.js | 14 +- src/cManager.js | 2 +- 47 files changed, 44629 insertions(+), 39595 deletions(-) create mode 100644 ghpages/dev.html rename ghpages/docs/ast/source/{_PlatformManager.js.json => PlatformManager.js.json} (84%) rename ghpages/docs/ast/source/{_cDefine.js.json => cDefine.js.json} (100%) rename ghpages/docs/ast/source/{_cManager.js.json => cManager.js.json} (87%) rename ghpages/docs/ast/source/{_cModel.js.json => cModel.js.json} (100%) delete mode 100644 ghpages/docs/ast/source/elementManager.js.json rename ghpages/docs/ast/source/lib/{_Live2DFramework.js.json => Live2DFramework.js.json} (95%) rename ghpages/docs/ast/source/{_utils/_MatrixStack.js.json => utils/MatrixStack.js.json} (100%) rename ghpages/docs/ast/source/{_utils/_ModelSettingJson.js.json => utils/ModelSettingJson.js.json} (100%) rename ghpages/docs/file/src/{_PlatformManager.js.html => PlatformManager.js.html} (74%) rename ghpages/docs/file/src/{_cDefine.js.html => cDefine.js.html} (62%) rename ghpages/docs/file/src/{_cManager.js.html => cManager.js.html} (64%) rename ghpages/docs/file/src/{_cModel.js.html => cModel.js.html} (84%) delete mode 100644 ghpages/docs/file/src/elementManager.js.html rename ghpages/docs/file/src/lib/{_Live2DFramework.js.html => Live2DFramework.js.html} (94%) rename ghpages/docs/file/src/{_utils/_MatrixStack.js.html => utils/MatrixStack.js.html} (67%) rename ghpages/docs/file/src/{_utils/_ModelSettingJson.js.html => utils/ModelSettingJson.js.html} (81%) create mode 100644 ghpages/lib/clL2D.0.min.js create mode 100644 ghpages/lib/clL2D.0.min.js.map create mode 100644 ghpages/lib/clL2D.min.js create mode 100644 ghpages/lib/clL2D.min.js.map create mode 100644 ghpages/lib/manifest.json create mode 100644 ghpages/lib/stats.html diff --git a/ghpages/dev.html b/ghpages/dev.html new file mode 100644 index 0000000..4d15bd3 --- /dev/null +++ b/ghpages/dev.html @@ -0,0 +1,12 @@ + + + + + Live2d Test Env + + + + + + + diff --git a/ghpages/docs/ast/source/_PlatformManager.js.json b/ghpages/docs/ast/source/PlatformManager.js.json similarity index 84% rename from ghpages/docs/ast/source/_PlatformManager.js.json rename to ghpages/docs/ast/source/PlatformManager.js.json index e91e1e6..17e700c 100644 --- a/ghpages/docs/ast/source/_PlatformManager.js.json +++ b/ghpages/docs/ast/source/PlatformManager.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 5806, + "end": 5795, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 217, + "line": 216, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 5806, + "end": 5795, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 217, + "line": 216, "column": 0 } }, @@ -30,90 +30,90 @@ "body": [ { "type": "ImportDeclaration", - "start": 255, - "end": 299, + "start": 254, + "end": 295, "loc": { "start": { - "line": 17, + "line": 16, "column": 0 }, "end": { - "line": 17, - "column": 44 + "line": 16, + "column": 41 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 264, - "end": 274, + "start": 263, + "end": 272, "loc": { "start": { - "line": 17, + "line": 16, "column": 9 }, "end": { - "line": 17, - "column": 19 + "line": 16, + "column": 18 } }, "imported": { "type": "Identifier", - "start": 264, - "end": 274, + "start": 263, + "end": 272, "loc": { "start": { - "line": 17, + "line": 16, "column": 9 }, "end": { - "line": 17, - "column": 19 + "line": 16, + "column": 18 }, - "identifierName": "getContext" + "identifierName": "currWebGL" }, - "name": "getContext", + "name": "currWebGL", "leadingComments": null }, "local": { "type": "Identifier", - "start": 264, - "end": 274, + "start": 263, + "end": 272, "loc": { "start": { - "line": 17, + "line": 16, "column": 9 }, "end": { - "line": 17, - "column": 19 + "line": 16, + "column": 18 }, - "identifierName": "getContext" + "identifierName": "currWebGL" }, - "name": "getContext" + "name": "currWebGL" }, "leadingComments": null } ], "source": { "type": "StringLiteral", - "start": 282, - "end": 298, + "start": 280, + "end": 294, "loc": { "start": { - "line": 17, - "column": 27 + "line": 16, + "column": 26 }, "end": { - "line": 17, - "column": 43 + "line": 16, + "column": 40 } }, "extra": { - "rawValue": "./webGLContext", - "raw": "\"./webGLContext\"" + "rawValue": "./elementMgr", + "raw": "'./elementMgr'" }, - "value": "./webGLContext" + "value": "./elementMgr" }, "leadingComments": [ { @@ -168,44 +168,44 @@ }, { "type": "ImportDeclaration", - "start": 300, + "start": 296, "end": 349, "loc": { "start": { - "line": 18, + "line": 17, "column": 0 }, "end": { - "line": 18, - "column": 49 + "line": 17, + "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 309, - "end": 325, + "start": 305, + "end": 321, "loc": { "start": { - "line": 18, + "line": 17, "column": 9 }, "end": { - "line": 18, + "line": 17, "column": 25 } }, "imported": { "type": "Identifier", - "start": 309, - "end": 325, + "start": 305, + "end": 321, "loc": { "start": { - "line": 18, + "line": 17, "column": 9 }, "end": { - "line": 18, + "line": 17, "column": 25 }, "identifierName": "Live2DModelWebGL" @@ -214,15 +214,15 @@ }, "local": { "type": "Identifier", - "start": 309, - "end": 325, + "start": 305, + "end": 321, "loc": { "start": { - "line": 18, + "line": 17, "column": 9 }, "end": { - "line": 18, + "line": 17, "column": 25 }, "identifierName": "Live2DModelWebGL" @@ -233,23 +233,23 @@ ], "source": { "type": "StringLiteral", - "start": 333, + "start": 329, "end": 348, "loc": { "start": { - "line": 18, + "line": 17, "column": 33 }, "end": { - "line": 18, - "column": 48 + "line": 17, + "column": 52 } }, "extra": { - "rawValue": "./live2d.core", - "raw": "\"./live2d.core\"" + "rawValue": "./lib/live2d.core", + "raw": "\"./lib/live2d.core\"" }, - "value": "./live2d.core" + "value": "./lib/live2d.core" }, "trailingComments": [ { @@ -259,11 +259,11 @@ "end": 414, "loc": { "start": { - "line": 21, + "line": 20, "column": 0 }, "end": { - "line": 21, + "line": 20, "column": 62 } } @@ -275,11 +275,11 @@ "end": 477, "loc": { "start": { - "line": 22, + "line": 21, "column": 0 }, "end": { - "line": 22, + "line": 21, "column": 62 } } @@ -291,11 +291,11 @@ "end": 531, "loc": { "start": { - "line": 23, + "line": 22, "column": 0 }, "end": { - "line": 23, + "line": 22, "column": 53 } } @@ -307,11 +307,11 @@ "end": 594, "loc": { "start": { - "line": 24, + "line": 23, "column": 0 }, "end": { - "line": 24, + "line": 23, "column": 62 } } @@ -323,11 +323,11 @@ "end": 657, "loc": { "start": { - "line": 25, + "line": 24, "column": 0 }, "end": { - "line": 25, + "line": 24, "column": 62 } } @@ -339,11 +339,11 @@ "end": 794, "loc": { "start": { - "line": 27, + "line": 26, "column": 0 }, "end": { - "line": 32, + "line": 31, "column": 2 } } @@ -351,45 +351,47 @@ ] }, { - "type": "ExportDefaultDeclaration", + "type": "ExportNamedDeclaration", "start": 795, - "end": 841, + "end": 833, "loc": { "start": { - "line": 33, + "line": 32, "column": 0 }, "end": { - "line": 36, + "line": 35, "column": 1 } }, + "specifiers": [], + "source": null, "declaration": { "type": "FunctionDeclaration", - "start": 810, - "end": 841, + "start": 802, + "end": 833, "loc": { "start": { - "line": 33, - "column": 15 + "line": 32, + "column": 7 }, "end": { - "line": 36, + "line": 35, "column": 1 } }, "id": { "type": "Identifier", - "start": 819, - "end": 834, + "start": 811, + "end": 826, "loc": { "start": { - "line": 33, - "column": 24 + "line": 32, + "column": 16 }, "end": { - "line": 33, - "column": 39 + "line": 32, + "column": 31 }, "identifierName": "PlatformManager" }, @@ -402,15 +404,15 @@ "params": [], "body": { "type": "BlockStatement", - "start": 837, - "end": 841, + "start": 829, + "end": 833, "loc": { "start": { - "line": 34, + "line": 33, "column": 0 }, "end": { - "line": 36, + "line": 35, "column": 1 } }, @@ -427,11 +429,11 @@ "end": 414, "loc": { "start": { - "line": 21, + "line": 20, "column": 0 }, "end": { - "line": 21, + "line": 20, "column": 62 } } @@ -443,11 +445,11 @@ "end": 477, "loc": { "start": { - "line": 22, + "line": 21, "column": 0 }, "end": { - "line": 22, + "line": 21, "column": 62 } } @@ -459,11 +461,11 @@ "end": 531, "loc": { "start": { - "line": 23, + "line": 22, "column": 0 }, "end": { - "line": 23, + "line": 22, "column": 53 } } @@ -475,11 +477,11 @@ "end": 594, "loc": { "start": { - "line": 24, + "line": 23, "column": 0 }, "end": { - "line": 24, + "line": 23, "column": 62 } } @@ -491,11 +493,11 @@ "end": 657, "loc": { "start": { - "line": 25, + "line": 24, "column": 0 }, "end": { - "line": 25, + "line": 24, "column": 62 } } @@ -507,11 +509,11 @@ "end": 794, "loc": { "start": { - "line": 27, + "line": 26, "column": 0 }, "end": { - "line": 32, + "line": 31, "column": 2 } } @@ -521,15 +523,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 844, - "end": 906, + "start": 836, + "end": 898, "loc": { "start": { - "line": 39, + "line": 38, "column": 0 }, "end": { - "line": 39, + "line": 38, "column": 62 } } @@ -537,15 +539,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadBytes()", - "start": 907, - "end": 942, + "start": 899, + "end": 934, "loc": { "start": { - "line": 40, + "line": 39, "column": 0 }, "end": { - "line": 40, + "line": 39, "column": 35 } } @@ -553,15 +555,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 943, - "end": 1005, + "start": 935, + "end": 997, "loc": { "start": { - "line": 41, + "line": 40, "column": 0 }, "end": { - "line": 41, + "line": 40, "column": 62 } } @@ -569,15 +571,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadBytes\n* @desc load bytes from the path and callback\n* @param {String} path, {Function} callback\n* @returns callback {raw} context\n* @memberOf PlatformManager\n", - "start": 1007, - "end": 1183, + "start": 999, + "end": 1175, "loc": { "start": { - "line": 43, + "line": 42, "column": 0 }, "end": { - "line": 49, + "line": 48, "column": 2 } } @@ -592,11 +594,11 @@ "end": 414, "loc": { "start": { - "line": 21, + "line": 20, "column": 0 }, "end": { - "line": 21, + "line": 20, "column": 62 } } @@ -608,11 +610,11 @@ "end": 477, "loc": { "start": { - "line": 22, + "line": 21, "column": 0 }, "end": { - "line": 22, + "line": 21, "column": 62 } } @@ -624,11 +626,11 @@ "end": 531, "loc": { "start": { - "line": 23, + "line": 22, "column": 0 }, "end": { - "line": 23, + "line": 22, "column": 53 } } @@ -640,11 +642,11 @@ "end": 594, "loc": { "start": { - "line": 24, + "line": 23, "column": 0 }, "end": { - "line": 24, + "line": 23, "column": 62 } } @@ -656,11 +658,11 @@ "end": 657, "loc": { "start": { - "line": 25, + "line": 24, "column": 0 }, "end": { - "line": 25, + "line": 24, "column": 62 } } @@ -672,11 +674,11 @@ "end": 794, "loc": { "start": { - "line": 27, + "line": 26, "column": 0 }, "end": { - "line": 32, + "line": 31, "column": 2 } } @@ -686,15 +688,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 844, - "end": 906, + "start": 836, + "end": 898, "loc": { "start": { - "line": 39, + "line": 38, "column": 0 }, "end": { - "line": 39, + "line": 38, "column": 62 } } @@ -702,15 +704,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadBytes()", - "start": 907, - "end": 942, + "start": 899, + "end": 934, "loc": { "start": { - "line": 40, + "line": 39, "column": 0 }, "end": { - "line": 40, + "line": 39, "column": 35 } } @@ -718,15 +720,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 943, - "end": 1005, + "start": 935, + "end": 997, "loc": { "start": { - "line": 41, + "line": 40, "column": 0 }, "end": { - "line": 41, + "line": 40, "column": 62 } } @@ -734,15 +736,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadBytes\n* @desc load bytes from the path and callback\n* @param {String} path, {Function} callback\n* @returns callback {raw} context\n* @memberOf PlatformManager\n", - "start": 1007, - "end": 1183, + "start": 999, + "end": 1175, "loc": { "start": { - "line": 43, + "line": 42, "column": 0 }, "end": { - "line": 49, + "line": 48, "column": 2 } } @@ -751,72 +753,72 @@ }, { "type": "ExpressionStatement", - "start": 1185, - "end": 1707, + "start": 1177, + "end": 1699, "loc": { "start": { - "line": 51, + "line": 50, "column": 0 }, "end": { - "line": 68, + "line": 67, "column": 1 } }, "expression": { "type": "AssignmentExpression", - "start": 1185, - "end": 1707, + "start": 1177, + "end": 1699, "loc": { "start": { - "line": 51, + "line": 50, "column": 0 }, "end": { - "line": 68, + "line": 67, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1185, - "end": 1220, + "start": 1177, + "end": 1212, "loc": { "start": { - "line": 51, + "line": 50, "column": 0 }, "end": { - "line": 51, + "line": 50, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 1185, - "end": 1210, + "start": 1177, + "end": 1202, "loc": { "start": { - "line": 51, + "line": 50, "column": 0 }, "end": { - "line": 51, + "line": 50, "column": 25 } }, "object": { "type": "Identifier", - "start": 1185, - "end": 1200, + "start": 1177, + "end": 1192, "loc": { "start": { - "line": 51, + "line": 50, "column": 0 }, "end": { - "line": 51, + "line": 50, "column": 15 }, "identifierName": "PlatformManager" @@ -826,15 +828,15 @@ }, "property": { "type": "Identifier", - "start": 1201, - "end": 1210, + "start": 1193, + "end": 1202, "loc": { "start": { - "line": 51, + "line": 50, "column": 16 }, "end": { - "line": 51, + "line": 50, "column": 25 }, "identifierName": "prototype" @@ -846,15 +848,15 @@ }, "property": { "type": "Identifier", - "start": 1211, - "end": 1220, + "start": 1203, + "end": 1212, "loc": { "start": { - "line": 51, + "line": 50, "column": 26 }, "end": { - "line": 51, + "line": 50, "column": 35 }, "identifierName": "loadBytes" @@ -866,29 +868,29 @@ }, "right": { "type": "FunctionExpression", - "start": 1229, - "end": 1707, + "start": 1221, + "end": 1699, "loc": { "start": { - "line": 51, + "line": 50, "column": 44 }, "end": { - "line": 68, + "line": 67, "column": 1 } }, "id": { "type": "Identifier", - "start": 1211, - "end": 1220, + "start": 1203, + "end": 1212, "loc": { "start": { - "line": 51, + "line": 50, "column": 26 }, "end": { - "line": 51, + "line": 50, "column": 35 }, "identifierName": "loadBytes" @@ -901,15 +903,15 @@ "params": [ { "type": "Identifier", - "start": 1238, - "end": 1242, + "start": 1230, + "end": 1234, "loc": { "start": { - "line": 51, + "line": 50, "column": 53 }, "end": { - "line": 51, + "line": 50, "column": 57 }, "identifierName": "path" @@ -920,15 +922,15 @@ { "type": "CommentBlock", "value": "String", - "start": 1242, - "end": 1252, + "start": 1234, + "end": 1244, "loc": { "start": { - "line": 51, + "line": 50, "column": 57 }, "end": { - "line": 51, + "line": 50, "column": 67 } } @@ -937,15 +939,15 @@ }, { "type": "Identifier", - "start": 1254, - "end": 1262, + "start": 1246, + "end": 1254, "loc": { "start": { - "line": 51, + "line": 50, "column": 69 }, "end": { - "line": 51, + "line": 50, "column": 77 }, "identifierName": "callback" @@ -955,15 +957,15 @@ { "type": "CommentBlock", "value": "String", - "start": 1242, - "end": 1252, + "start": 1234, + "end": 1244, "loc": { "start": { - "line": 51, + "line": 50, "column": 57 }, "end": { - "line": 51, + "line": 50, "column": 67 } } @@ -973,59 +975,59 @@ ], "body": { "type": "BlockStatement", - "start": 1264, - "end": 1707, + "start": 1256, + "end": 1699, "loc": { "start": { - "line": 52, + "line": 51, "column": 0 }, "end": { - "line": 68, + "line": 67, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 1270, - "end": 1305, + "start": 1262, + "end": 1297, "loc": { "start": { - "line": 53, + "line": 52, "column": 4 }, "end": { - "line": 53, + "line": 52, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1274, - "end": 1304, + "start": 1266, + "end": 1296, "loc": { "start": { - "line": 53, + "line": 52, "column": 8 }, "end": { - "line": 53, + "line": 52, "column": 38 } }, "id": { "type": "Identifier", - "start": 1274, - "end": 1281, + "start": 1266, + "end": 1273, "loc": { "start": { - "line": 53, + "line": 52, "column": 8 }, "end": { - "line": 53, + "line": 52, "column": 15 }, "identifierName": "request" @@ -1034,29 +1036,29 @@ }, "init": { "type": "NewExpression", - "start": 1284, - "end": 1304, + "start": 1276, + "end": 1296, "loc": { "start": { - "line": 53, + "line": 52, "column": 18 }, "end": { - "line": 53, + "line": 52, "column": 38 } }, "callee": { "type": "Identifier", - "start": 1288, - "end": 1302, + "start": 1280, + "end": 1294, "loc": { "start": { - "line": 53, + "line": 52, "column": 22 }, "end": { - "line": 53, + "line": 52, "column": 36 }, "identifierName": "XMLHttpRequest" @@ -1071,57 +1073,57 @@ }, { "type": "ExpressionStatement", - "start": 1310, - "end": 1342, + "start": 1302, + "end": 1334, "loc": { "start": { - "line": 54, + "line": 53, "column": 4 }, "end": { - "line": 54, + "line": 53, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 1310, - "end": 1341, + "start": 1302, + "end": 1333, "loc": { "start": { - "line": 54, + "line": 53, "column": 4 }, "end": { - "line": 54, + "line": 53, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 1310, - "end": 1322, + "start": 1302, + "end": 1314, "loc": { "start": { - "line": 54, + "line": 53, "column": 4 }, "end": { - "line": 54, + "line": 53, "column": 16 } }, "object": { "type": "Identifier", - "start": 1310, - "end": 1317, + "start": 1302, + "end": 1309, "loc": { "start": { - "line": 54, + "line": 53, "column": 4 }, "end": { - "line": 54, + "line": 53, "column": 11 }, "identifierName": "request" @@ -1130,15 +1132,15 @@ }, "property": { "type": "Identifier", - "start": 1318, - "end": 1322, + "start": 1310, + "end": 1314, "loc": { "start": { - "line": 54, + "line": 53, "column": 12 }, "end": { - "line": 54, + "line": 53, "column": 16 }, "identifierName": "open" @@ -1150,15 +1152,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1323, - "end": 1328, + "start": 1315, + "end": 1320, "loc": { "start": { - "line": 54, + "line": 53, "column": 17 }, "end": { - "line": 54, + "line": 53, "column": 22 } }, @@ -1170,15 +1172,15 @@ }, { "type": "Identifier", - "start": 1330, - "end": 1334, + "start": 1322, + "end": 1326, "loc": { "start": { - "line": 54, + "line": 53, "column": 24 }, "end": { - "line": 54, + "line": 53, "column": 28 }, "identifierName": "path" @@ -1187,15 +1189,15 @@ }, { "type": "BooleanLiteral", - "start": 1336, - "end": 1340, + "start": 1328, + "end": 1332, "loc": { "start": { - "line": 54, + "line": 53, "column": 30 }, "end": { - "line": 54, + "line": 53, "column": 34 } }, @@ -1206,58 +1208,58 @@ }, { "type": "ExpressionStatement", - "start": 1347, - "end": 1384, + "start": 1339, + "end": 1376, "loc": { "start": { - "line": 55, + "line": 54, "column": 4 }, "end": { - "line": 55, + "line": 54, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 1347, - "end": 1383, + "start": 1339, + "end": 1375, "loc": { "start": { - "line": 55, + "line": 54, "column": 4 }, "end": { - "line": 55, + "line": 54, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1347, - "end": 1367, + "start": 1339, + "end": 1359, "loc": { "start": { - "line": 55, + "line": 54, "column": 4 }, "end": { - "line": 55, + "line": 54, "column": 24 } }, "object": { "type": "Identifier", - "start": 1347, - "end": 1354, + "start": 1339, + "end": 1346, "loc": { "start": { - "line": 55, + "line": 54, "column": 4 }, "end": { - "line": 55, + "line": 54, "column": 11 }, "identifierName": "request" @@ -1266,15 +1268,15 @@ }, "property": { "type": "Identifier", - "start": 1355, - "end": 1367, + "start": 1347, + "end": 1359, "loc": { "start": { - "line": 55, + "line": 54, "column": 12 }, "end": { - "line": 55, + "line": 54, "column": 24 }, "identifierName": "responseType" @@ -1285,15 +1287,15 @@ }, "right": { "type": "StringLiteral", - "start": 1370, - "end": 1383, + "start": 1362, + "end": 1375, "loc": { "start": { - "line": 55, + "line": 54, "column": 27 }, "end": { - "line": 55, + "line": 54, "column": 40 } }, @@ -1307,58 +1309,58 @@ }, { "type": "ExpressionStatement", - "start": 1389, - "end": 1658, + "start": 1381, + "end": 1650, "loc": { "start": { - "line": 56, + "line": 55, "column": 4 }, "end": { - "line": 65, + "line": 64, "column": 5 } }, "expression": { "type": "AssignmentExpression", - "start": 1389, - "end": 1658, + "start": 1381, + "end": 1650, "loc": { "start": { - "line": 56, + "line": 55, "column": 4 }, "end": { - "line": 65, + "line": 64, "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1389, - "end": 1403, + "start": 1381, + "end": 1395, "loc": { "start": { - "line": 56, + "line": 55, "column": 4 }, "end": { - "line": 56, + "line": 55, "column": 18 } }, "object": { "type": "Identifier", - "start": 1389, - "end": 1396, + "start": 1381, + "end": 1388, "loc": { "start": { - "line": 56, + "line": 55, "column": 4 }, "end": { - "line": 56, + "line": 55, "column": 11 }, "identifierName": "request" @@ -1367,15 +1369,15 @@ }, "property": { "type": "Identifier", - "start": 1397, - "end": 1403, + "start": 1389, + "end": 1395, "loc": { "start": { - "line": 56, + "line": 55, "column": 12 }, "end": { - "line": 56, + "line": 55, "column": 18 }, "identifierName": "onload" @@ -1386,15 +1388,15 @@ }, "right": { "type": "FunctionExpression", - "start": 1406, - "end": 1658, + "start": 1398, + "end": 1650, "loc": { "start": { - "line": 56, + "line": 55, "column": 21 }, "end": { - "line": 65, + "line": 64, "column": 5 } }, @@ -1405,58 +1407,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1416, - "end": 1658, + "start": 1408, + "end": 1650, "loc": { "start": { - "line": 56, + "line": 55, "column": 31 }, "end": { - "line": 65, + "line": 64, "column": 5 } }, "body": [ { "type": "SwitchStatement", - "start": 1426, - "end": 1652, + "start": 1418, + "end": 1644, "loc": { "start": { - "line": 57, + "line": 56, "column": 8 }, "end": { - "line": 64, + "line": 63, "column": 9 } }, "discriminant": { "type": "MemberExpression", - "start": 1433, - "end": 1447, + "start": 1425, + "end": 1439, "loc": { "start": { - "line": 57, + "line": 56, "column": 15 }, "end": { - "line": 57, + "line": 56, "column": 29 } }, "object": { "type": "Identifier", - "start": 1433, - "end": 1440, + "start": 1425, + "end": 1432, "loc": { "start": { - "line": 57, + "line": 56, "column": 15 }, "end": { - "line": 57, + "line": 56, "column": 22 }, "identifierName": "request" @@ -1465,15 +1467,15 @@ }, "property": { "type": "Identifier", - "start": 1441, - "end": 1447, + "start": 1433, + "end": 1439, "loc": { "start": { - "line": 57, + "line": 56, "column": 23 }, "end": { - "line": 57, + "line": 56, "column": 29 }, "identifierName": "status" @@ -1485,58 +1487,58 @@ "cases": [ { "type": "SwitchCase", - "start": 1458, - "end": 1526, + "start": 1450, + "end": 1518, "loc": { "start": { - "line": 58, + "line": 57, "column": 8 }, "end": { - "line": 60, + "line": 59, "column": 18 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 1480, - "end": 1507, + "start": 1472, + "end": 1499, "loc": { "start": { - "line": 59, + "line": 58, "column": 12 }, "end": { - "line": 59, + "line": 58, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 1480, - "end": 1506, + "start": 1472, + "end": 1498, "loc": { "start": { - "line": 59, + "line": 58, "column": 12 }, "end": { - "line": 59, + "line": 58, "column": 38 } }, "callee": { "type": "Identifier", - "start": 1480, - "end": 1488, + "start": 1472, + "end": 1480, "loc": { "start": { - "line": 59, + "line": 58, "column": 12 }, "end": { - "line": 59, + "line": 58, "column": 20 }, "identifierName": "callback" @@ -1546,29 +1548,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1489, - "end": 1505, + "start": 1481, + "end": 1497, "loc": { "start": { - "line": 59, + "line": 58, "column": 21 }, "end": { - "line": 59, + "line": 58, "column": 37 } }, "object": { "type": "Identifier", - "start": 1489, - "end": 1496, + "start": 1481, + "end": 1488, "loc": { "start": { - "line": 59, + "line": 58, "column": 21 }, "end": { - "line": 59, + "line": 58, "column": 28 }, "identifierName": "request" @@ -1577,15 +1579,15 @@ }, "property": { "type": "Identifier", - "start": 1497, - "end": 1505, + "start": 1489, + "end": 1497, "loc": { "start": { - "line": 59, + "line": 58, "column": 29 }, "end": { - "line": 59, + "line": 58, "column": 37 }, "identifierName": "response" @@ -1599,15 +1601,15 @@ }, { "type": "BreakStatement", - "start": 1520, - "end": 1526, + "start": 1512, + "end": 1518, "loc": { "start": { - "line": 60, + "line": 59, "column": 12 }, "end": { - "line": 60, + "line": 59, "column": 18 } }, @@ -1616,15 +1618,15 @@ ], "test": { "type": "NumericLiteral", - "start": 1463, - "end": 1466, + "start": 1455, + "end": 1458, "loc": { "start": { - "line": 58, + "line": 57, "column": 13 }, "end": { - "line": 58, + "line": 57, "column": 16 } }, @@ -1637,72 +1639,72 @@ }, { "type": "SwitchCase", - "start": 1535, - "end": 1642, + "start": 1527, + "end": 1634, "loc": { "start": { - "line": 61, + "line": 60, "column": 8 }, "end": { - "line": 63, + "line": 62, "column": 18 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 1556, - "end": 1623, + "start": 1548, + "end": 1615, "loc": { "start": { - "line": 62, + "line": 61, "column": 12 }, "end": { - "line": 62, + "line": 61, "column": 79 } }, "expression": { "type": "CallExpression", - "start": 1556, - "end": 1622, + "start": 1548, + "end": 1614, "loc": { "start": { - "line": 62, + "line": 61, "column": 12 }, "end": { - "line": 62, + "line": 61, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 1556, - "end": 1569, + "start": 1548, + "end": 1561, "loc": { "start": { - "line": 62, + "line": 61, "column": 12 }, "end": { - "line": 62, + "line": 61, "column": 25 } }, "object": { "type": "Identifier", - "start": 1556, - "end": 1563, + "start": 1548, + "end": 1555, "loc": { "start": { - "line": 62, + "line": 61, "column": 12 }, "end": { - "line": 62, + "line": 61, "column": 19 }, "identifierName": "console" @@ -1711,15 +1713,15 @@ }, "property": { "type": "Identifier", - "start": 1564, - "end": 1569, + "start": 1556, + "end": 1561, "loc": { "start": { - "line": 62, + "line": 61, "column": 20 }, "end": { - "line": 62, + "line": 61, "column": 25 }, "identifierName": "error" @@ -1731,57 +1733,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1570, - "end": 1621, + "start": 1562, + "end": 1613, "loc": { "start": { - "line": 62, + "line": 61, "column": 26 }, "end": { - "line": 62, + "line": 61, "column": 77 } }, "left": { "type": "BinaryExpression", - "start": 1570, - "end": 1614, + "start": 1562, + "end": 1606, "loc": { "start": { - "line": 62, + "line": 61, "column": 26 }, "end": { - "line": 62, + "line": 61, "column": 70 } }, "left": { "type": "BinaryExpression", - "start": 1570, - "end": 1605, + "start": 1562, + "end": 1597, "loc": { "start": { - "line": 62, + "line": 61, "column": 26 }, "end": { - "line": 62, + "line": 61, "column": 61 } }, "left": { "type": "StringLiteral", - "start": 1570, - "end": 1588, + "start": 1562, + "end": 1580, "loc": { "start": { - "line": 62, + "line": 61, "column": 26 }, "end": { - "line": 62, + "line": 61, "column": 44 } }, @@ -1794,29 +1796,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 1591, - "end": 1605, + "start": 1583, + "end": 1597, "loc": { "start": { - "line": 62, + "line": 61, "column": 47 }, "end": { - "line": 62, + "line": 61, "column": 61 } }, "object": { "type": "Identifier", - "start": 1591, - "end": 1598, + "start": 1583, + "end": 1590, "loc": { "start": { - "line": 62, + "line": 61, "column": 47 }, "end": { - "line": 62, + "line": 61, "column": 54 }, "identifierName": "request" @@ -1825,15 +1827,15 @@ }, "property": { "type": "Identifier", - "start": 1599, - "end": 1605, + "start": 1591, + "end": 1597, "loc": { "start": { - "line": 62, + "line": 61, "column": 55 }, "end": { - "line": 62, + "line": 61, "column": 61 }, "identifierName": "status" @@ -1846,15 +1848,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 1608, - "end": 1614, + "start": 1600, + "end": 1606, "loc": { "start": { - "line": 62, + "line": 61, "column": 64 }, "end": { - "line": 62, + "line": 61, "column": 70 } }, @@ -1868,15 +1870,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 1617, - "end": 1621, + "start": 1609, + "end": 1613, "loc": { "start": { - "line": 62, + "line": 61, "column": 73 }, "end": { - "line": 62, + "line": 61, "column": 77 }, "identifierName": "path" @@ -1889,15 +1891,15 @@ }, { "type": "BreakStatement", - "start": 1636, - "end": 1642, + "start": 1628, + "end": 1634, "loc": { "start": { - "line": 63, + "line": 62, "column": 12 }, "end": { - "line": 63, + "line": 62, "column": 18 } }, @@ -1916,57 +1918,57 @@ }, { "type": "ExpressionStatement", - "start": 1663, - "end": 1682, + "start": 1655, + "end": 1674, "loc": { "start": { - "line": 66, + "line": 65, "column": 4 }, "end": { - "line": 66, + "line": 65, "column": 23 } }, "expression": { "type": "CallExpression", - "start": 1663, - "end": 1681, + "start": 1655, + "end": 1673, "loc": { "start": { - "line": 66, + "line": 65, "column": 4 }, "end": { - "line": 66, + "line": 65, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 1663, - "end": 1675, + "start": 1655, + "end": 1667, "loc": { "start": { - "line": 66, + "line": 65, "column": 4 }, "end": { - "line": 66, + "line": 65, "column": 16 } }, "object": { "type": "Identifier", - "start": 1663, - "end": 1670, + "start": 1655, + "end": 1662, "loc": { "start": { - "line": 66, + "line": 65, "column": 4 }, "end": { - "line": 66, + "line": 65, "column": 11 }, "identifierName": "request" @@ -1975,15 +1977,15 @@ }, "property": { "type": "Identifier", - "start": 1671, - "end": 1675, + "start": 1663, + "end": 1667, "loc": { "start": { - "line": 66, + "line": 65, "column": 12 }, "end": { - "line": 66, + "line": 65, "column": 16 }, "identifierName": "send" @@ -1995,15 +1997,15 @@ "arguments": [ { "type": "NullLiteral", - "start": 1676, - "end": 1680, + "start": 1668, + "end": 1672, "loc": { "start": { - "line": 66, + "line": 65, "column": 17 }, "end": { - "line": 66, + "line": 65, "column": 21 } } @@ -2014,15 +2016,15 @@ { "type": "CommentLine", "value": " return request;", - "start": 1687, - "end": 1705, + "start": 1679, + "end": 1697, "loc": { "start": { - "line": 67, + "line": 66, "column": 4 }, "end": { - "line": 67, + "line": 66, "column": 22 } } @@ -2042,15 +2044,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 844, - "end": 906, + "start": 836, + "end": 898, "loc": { "start": { - "line": 39, + "line": 38, "column": 0 }, "end": { - "line": 39, + "line": 38, "column": 62 } } @@ -2058,15 +2060,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadBytes()", - "start": 907, - "end": 942, + "start": 899, + "end": 934, "loc": { "start": { - "line": 40, + "line": 39, "column": 0 }, "end": { - "line": 40, + "line": 39, "column": 35 } } @@ -2074,15 +2076,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 943, - "end": 1005, + "start": 935, + "end": 997, "loc": { "start": { - "line": 41, + "line": 40, "column": 0 }, "end": { - "line": 41, + "line": 40, "column": 62 } } @@ -2090,15 +2092,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadBytes\n* @desc load bytes from the path and callback\n* @param {String} path, {Function} callback\n* @returns callback {raw} context\n* @memberOf PlatformManager\n", - "start": 1007, - "end": 1183, + "start": 999, + "end": 1175, "loc": { "start": { - "line": 43, + "line": 42, "column": 0 }, "end": { - "line": 49, + "line": 48, "column": 2 } } @@ -2108,15 +2110,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 1710, - "end": 1772, + "start": 1702, + "end": 1764, "loc": { "start": { - "line": 71, + "line": 70, "column": 0 }, "end": { - "line": 71, + "line": 70, "column": 62 } } @@ -2124,15 +2126,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadString()", - "start": 1773, - "end": 1809, + "start": 1765, + "end": 1801, "loc": { "start": { - "line": 72, + "line": 71, "column": 0 }, "end": { - "line": 72, + "line": 71, "column": 36 } } @@ -2140,15 +2142,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 1810, - "end": 1872, + "start": 1802, + "end": 1864, "loc": { "start": { - "line": 73, + "line": 72, "column": 0 }, "end": { - "line": 73, + "line": 72, "column": 62 } } @@ -2156,15 +2158,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadString\n* @desc load bytes from the path and put it into buffer\n* @param {String} path\n* @returns buffer {raw} context\n* @memberOf PlatformManager\n", - "start": 1874, - "end": 2038, + "start": 1866, + "end": 2030, "loc": { "start": { - "line": 75, + "line": 74, "column": 0 }, "end": { - "line": 81, + "line": 80, "column": 2 } } @@ -2173,72 +2175,72 @@ }, { "type": "ExpressionStatement", - "start": 2039, - "end": 2182, + "start": 2031, + "end": 2174, "loc": { "start": { - "line": 82, + "line": 81, "column": 0 }, "end": { - "line": 89, + "line": 88, "column": 1 } }, "expression": { "type": "AssignmentExpression", - "start": 2039, - "end": 2182, + "start": 2031, + "end": 2174, "loc": { "start": { - "line": 82, + "line": 81, "column": 0 }, "end": { - "line": 89, + "line": 88, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2039, - "end": 2075, + "start": 2031, + "end": 2067, "loc": { "start": { - "line": 82, + "line": 81, "column": 0 }, "end": { - "line": 82, + "line": 81, "column": 36 } }, "object": { "type": "MemberExpression", - "start": 2039, - "end": 2064, + "start": 2031, + "end": 2056, "loc": { "start": { - "line": 82, + "line": 81, "column": 0 }, "end": { - "line": 82, + "line": 81, "column": 25 } }, "object": { "type": "Identifier", - "start": 2039, - "end": 2054, + "start": 2031, + "end": 2046, "loc": { "start": { - "line": 82, + "line": 81, "column": 0 }, "end": { - "line": 82, + "line": 81, "column": 15 }, "identifierName": "PlatformManager" @@ -2248,15 +2250,15 @@ }, "property": { "type": "Identifier", - "start": 2055, - "end": 2064, + "start": 2047, + "end": 2056, "loc": { "start": { - "line": 82, + "line": 81, "column": 16 }, "end": { - "line": 82, + "line": 81, "column": 25 }, "identifierName": "prototype" @@ -2268,15 +2270,15 @@ }, "property": { "type": "Identifier", - "start": 2065, - "end": 2075, + "start": 2057, + "end": 2067, "loc": { "start": { - "line": 82, + "line": 81, "column": 26 }, "end": { - "line": 82, + "line": 81, "column": 36 }, "identifierName": "loadString" @@ -2288,29 +2290,29 @@ }, "right": { "type": "FunctionExpression", - "start": 2083, - "end": 2182, + "start": 2075, + "end": 2174, "loc": { "start": { - "line": 82, + "line": 81, "column": 44 }, "end": { - "line": 89, + "line": 88, "column": 1 } }, "id": { "type": "Identifier", - "start": 2065, - "end": 2075, + "start": 2057, + "end": 2067, "loc": { "start": { - "line": 82, + "line": 81, "column": 26 }, "end": { - "line": 82, + "line": 81, "column": 36 }, "identifierName": "loadString" @@ -2323,15 +2325,15 @@ "params": [ { "type": "Identifier", - "start": 2092, - "end": 2096, + "start": 2084, + "end": 2088, "loc": { "start": { - "line": 82, + "line": 81, "column": 53 }, "end": { - "line": 82, + "line": 81, "column": 57 }, "identifierName": "path" @@ -2342,15 +2344,15 @@ { "type": "CommentBlock", "value": "String", - "start": 2096, - "end": 2106, + "start": 2088, + "end": 2098, "loc": { "start": { - "line": 82, + "line": 81, "column": 57 }, "end": { - "line": 82, + "line": 81, "column": 67 } } @@ -2360,72 +2362,72 @@ ], "body": { "type": "BlockStatement", - "start": 2108, - "end": 2182, + "start": 2100, + "end": 2174, "loc": { "start": { - "line": 83, + "line": 82, "column": 0 }, "end": { - "line": 89, + "line": 88, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 2115, - "end": 2179, + "start": 2107, + "end": 2171, "loc": { "start": { - "line": 85, + "line": 84, "column": 4 }, "end": { - "line": 87, + "line": 86, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 2115, - "end": 2178, + "start": 2107, + "end": 2170, "loc": { "start": { - "line": 85, + "line": 84, "column": 4 }, "end": { - "line": 87, + "line": 86, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 2115, - "end": 2129, + "start": 2107, + "end": 2121, "loc": { "start": { - "line": 85, + "line": 84, "column": 4 }, "end": { - "line": 85, + "line": 84, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2115, - "end": 2119, + "start": 2107, + "end": 2111, "loc": { "start": { - "line": 85, + "line": 84, "column": 4 }, "end": { - "line": 85, + "line": 84, "column": 8 } }, @@ -2433,15 +2435,15 @@ }, "property": { "type": "Identifier", - "start": 2120, - "end": 2129, + "start": 2112, + "end": 2121, "loc": { "start": { - "line": 85, + "line": 84, "column": 9 }, "end": { - "line": 85, + "line": 84, "column": 18 }, "identifierName": "loadBytes" @@ -2454,15 +2456,15 @@ "arguments": [ { "type": "Identifier", - "start": 2130, - "end": 2134, + "start": 2122, + "end": 2126, "loc": { "start": { - "line": 85, + "line": 84, "column": 19 }, "end": { - "line": 85, + "line": 84, "column": 23 }, "identifierName": "path" @@ -2471,15 +2473,15 @@ }, { "type": "FunctionExpression", - "start": 2136, - "end": 2177, + "start": 2128, + "end": 2169, "loc": { "start": { - "line": 85, + "line": 84, "column": 25 }, "end": { - "line": 87, + "line": 86, "column": 5 } }, @@ -2490,15 +2492,15 @@ "params": [ { "type": "Identifier", - "start": 2145, - "end": 2148, + "start": 2137, + "end": 2140, "loc": { "start": { - "line": 85, + "line": 84, "column": 34 }, "end": { - "line": 85, + "line": 84, "column": 37 }, "identifierName": "buf" @@ -2508,44 +2510,44 @@ ], "body": { "type": "BlockStatement", - "start": 2150, - "end": 2177, + "start": 2142, + "end": 2169, "loc": { "start": { - "line": 85, + "line": 84, "column": 39 }, "end": { - "line": 87, + "line": 86, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 2160, - "end": 2171, + "start": 2152, + "end": 2163, "loc": { "start": { - "line": 86, + "line": 85, "column": 8 }, "end": { - "line": 86, + "line": 85, "column": 19 } }, "argument": { "type": "Identifier", - "start": 2167, - "end": 2170, + "start": 2159, + "end": 2162, "loc": { "start": { - "line": 86, + "line": 85, "column": 15 }, "end": { - "line": 86, + "line": 85, "column": 18 }, "identifierName": "buf" @@ -2568,15 +2570,15 @@ { "type": "CommentBlock", "value": "String", - "start": 2096, - "end": 2106, + "start": 2088, + "end": 2098, "loc": { "start": { - "line": 82, + "line": 81, "column": 57 }, "end": { - "line": 82, + "line": 81, "column": 67 } } @@ -2593,15 +2595,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 1710, - "end": 1772, + "start": 1702, + "end": 1764, "loc": { "start": { - "line": 71, + "line": 70, "column": 0 }, "end": { - "line": 71, + "line": 70, "column": 62 } } @@ -2609,15 +2611,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadString()", - "start": 1773, - "end": 1809, + "start": 1765, + "end": 1801, "loc": { "start": { - "line": 72, + "line": 71, "column": 0 }, "end": { - "line": 72, + "line": 71, "column": 36 } } @@ -2625,15 +2627,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 1810, - "end": 1872, + "start": 1802, + "end": 1864, "loc": { "start": { - "line": 73, + "line": 72, "column": 0 }, "end": { - "line": 73, + "line": 72, "column": 62 } } @@ -2641,15 +2643,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadString\n* @desc load bytes from the path and put it into buffer\n* @param {String} path\n* @returns buffer {raw} context\n* @memberOf PlatformManager\n", - "start": 1874, - "end": 2038, + "start": 1866, + "end": 2030, "loc": { "start": { - "line": 75, + "line": 74, "column": 0 }, "end": { - "line": 81, + "line": 80, "column": 2 } } @@ -2659,15 +2661,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2185, - "end": 2247, + "start": 2177, + "end": 2239, "loc": { "start": { - "line": 92, + "line": 91, "column": 0 }, "end": { - "line": 92, + "line": 91, "column": 62 } } @@ -2675,15 +2677,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadLive2DModel()", - "start": 2248, - "end": 2289, + "start": 2240, + "end": 2281, "loc": { "start": { - "line": 93, + "line": 92, "column": 0 }, "end": { - "line": 93, + "line": 92, "column": 41 } } @@ -2691,15 +2693,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2290, - "end": 2352, + "start": 2282, + "end": 2344, "loc": { "start": { - "line": 94, + "line": 93, "column": 0 }, "end": { - "line": 94, + "line": 93, "column": 62 } } @@ -2707,15 +2709,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadLive2DModel\n* @desc load Live2DModel from the path and put it into buffer\n* @param {String} path, {function} callback\n* @returns callback loaded model\n* @memberOf PlatformManager\n", - "start": 2354, - "end": 2551, + "start": 2346, + "end": 2543, "loc": { "start": { - "line": 96, + "line": 95, "column": 0 }, "end": { - "line": 102, + "line": 101, "column": 2 } } @@ -2724,72 +2726,72 @@ }, { "type": "ExpressionStatement", - "start": 2552, - "end": 2796, + "start": 2544, + "end": 2788, "loc": { "start": { - "line": 103, + "line": 102, "column": 0 }, "end": { - "line": 113, + "line": 112, "column": 1 } }, "expression": { "type": "AssignmentExpression", - "start": 2552, - "end": 2796, + "start": 2544, + "end": 2788, "loc": { "start": { - "line": 103, + "line": 102, "column": 0 }, "end": { - "line": 113, + "line": 112, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2552, - "end": 2593, + "start": 2544, + "end": 2585, "loc": { "start": { - "line": 103, + "line": 102, "column": 0 }, "end": { - "line": 103, + "line": 102, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 2552, - "end": 2577, + "start": 2544, + "end": 2569, "loc": { "start": { - "line": 103, + "line": 102, "column": 0 }, "end": { - "line": 103, + "line": 102, "column": 25 } }, "object": { "type": "Identifier", - "start": 2552, - "end": 2567, + "start": 2544, + "end": 2559, "loc": { "start": { - "line": 103, + "line": 102, "column": 0 }, "end": { - "line": 103, + "line": 102, "column": 15 }, "identifierName": "PlatformManager" @@ -2799,15 +2801,15 @@ }, "property": { "type": "Identifier", - "start": 2568, - "end": 2577, + "start": 2560, + "end": 2569, "loc": { "start": { - "line": 103, + "line": 102, "column": 16 }, "end": { - "line": 103, + "line": 102, "column": 25 }, "identifierName": "prototype" @@ -2819,15 +2821,15 @@ }, "property": { "type": "Identifier", - "start": 2578, - "end": 2593, + "start": 2570, + "end": 2585, "loc": { "start": { - "line": 103, + "line": 102, "column": 26 }, "end": { - "line": 103, + "line": 102, "column": 41 }, "identifierName": "loadLive2DModel" @@ -2839,29 +2841,29 @@ }, "right": { "type": "FunctionExpression", - "start": 2596, - "end": 2796, + "start": 2588, + "end": 2788, "loc": { "start": { - "line": 103, + "line": 102, "column": 44 }, "end": { - "line": 113, + "line": 112, "column": 1 } }, "id": { "type": "Identifier", - "start": 2578, - "end": 2593, + "start": 2570, + "end": 2585, "loc": { "start": { - "line": 103, + "line": 102, "column": 26 }, "end": { - "line": 103, + "line": 102, "column": 41 }, "identifierName": "loadLive2DModel" @@ -2874,15 +2876,15 @@ "params": [ { "type": "Identifier", - "start": 2605, - "end": 2609, + "start": 2597, + "end": 2601, "loc": { "start": { - "line": 103, + "line": 102, "column": 53 }, "end": { - "line": 103, + "line": 102, "column": 57 }, "identifierName": "path" @@ -2893,15 +2895,15 @@ { "type": "CommentBlock", "value": "String", - "start": 2609, - "end": 2619, + "start": 2601, + "end": 2611, "loc": { "start": { - "line": 103, + "line": 102, "column": 57 }, "end": { - "line": 103, + "line": 102, "column": 67 } } @@ -2910,15 +2912,15 @@ }, { "type": "Identifier", - "start": 2621, - "end": 2629, + "start": 2613, + "end": 2621, "loc": { "start": { - "line": 103, + "line": 102, "column": 69 }, "end": { - "line": 103, + "line": 102, "column": 77 }, "identifierName": "callback" @@ -2928,15 +2930,15 @@ { "type": "CommentBlock", "value": "String", - "start": 2609, - "end": 2619, + "start": 2601, + "end": 2611, "loc": { "start": { - "line": 103, + "line": 102, "column": 57 }, "end": { - "line": 103, + "line": 102, "column": 67 } } @@ -2946,59 +2948,59 @@ ], "body": { "type": "BlockStatement", - "start": 2631, - "end": 2796, + "start": 2623, + "end": 2788, "loc": { "start": { - "line": 104, + "line": 103, "column": 0 }, "end": { - "line": 113, + "line": 112, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 2637, - "end": 2654, + "start": 2629, + "end": 2646, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2641, - "end": 2653, + "start": 2633, + "end": 2645, "loc": { "start": { - "line": 105, + "line": 104, "column": 8 }, "end": { - "line": 105, + "line": 104, "column": 20 } }, "id": { "type": "Identifier", - "start": 2641, - "end": 2646, + "start": 2633, + "end": 2638, "loc": { "start": { - "line": 105, + "line": 104, "column": 8 }, "end": { - "line": 105, + "line": 104, "column": 13 }, "identifierName": "model" @@ -3007,15 +3009,15 @@ }, "init": { "type": "NullLiteral", - "start": 2649, - "end": 2653, + "start": 2641, + "end": 2645, "loc": { "start": { - "line": 105, + "line": 104, "column": 16 }, "end": { - "line": 105, + "line": 104, "column": 20 } } @@ -3027,15 +3029,15 @@ { "type": "CommentLine", "value": " load moc", - "start": 2660, - "end": 2671, + "start": 2652, + "end": 2663, "loc": { "start": { - "line": 107, + "line": 106, "column": 4 }, "end": { - "line": 107, + "line": 106, "column": 15 } } @@ -3044,57 +3046,57 @@ }, { "type": "ExpressionStatement", - "start": 2676, - "end": 2793, + "start": 2668, + "end": 2785, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 7 } }, "expression": { "type": "CallExpression", - "start": 2676, - "end": 2792, + "start": 2668, + "end": 2784, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 2676, - "end": 2690, + "start": 2668, + "end": 2682, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 108, + "line": 107, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2676, - "end": 2680, + "start": 2668, + "end": 2672, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 108, + "line": 107, "column": 8 } }, @@ -3102,15 +3104,15 @@ }, "property": { "type": "Identifier", - "start": 2681, - "end": 2690, + "start": 2673, + "end": 2682, "loc": { "start": { - "line": 108, + "line": 107, "column": 9 }, "end": { - "line": 108, + "line": 107, "column": 18 }, "identifierName": "loadBytes" @@ -3123,15 +3125,15 @@ "arguments": [ { "type": "Identifier", - "start": 2691, - "end": 2695, + "start": 2683, + "end": 2687, "loc": { "start": { - "line": 108, + "line": 107, "column": 19 }, "end": { - "line": 108, + "line": 107, "column": 23 }, "identifierName": "path" @@ -3140,15 +3142,15 @@ }, { "type": "FunctionExpression", - "start": 2697, - "end": 2791, + "start": 2689, + "end": 2783, "loc": { "start": { - "line": 108, + "line": 107, "column": 25 }, "end": { - "line": 111, + "line": 110, "column": 5 } }, @@ -3159,15 +3161,15 @@ "params": [ { "type": "Identifier", - "start": 2706, - "end": 2709, + "start": 2698, + "end": 2701, "loc": { "start": { - "line": 108, + "line": 107, "column": 34 }, "end": { - "line": 108, + "line": 107, "column": 37 }, "identifierName": "buf" @@ -3177,59 +3179,59 @@ ], "body": { "type": "BlockStatement", - "start": 2710, - "end": 2791, + "start": 2702, + "end": 2783, "loc": { "start": { - "line": 108, + "line": 107, "column": 38 }, "end": { - "line": 111, + "line": 110, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2720, - "end": 2760, + "start": 2712, + "end": 2752, "loc": { "start": { - "line": 109, + "line": 108, "column": 8 }, "end": { - "line": 109, + "line": 108, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 2720, - "end": 2759, + "start": 2712, + "end": 2751, "loc": { "start": { - "line": 109, + "line": 108, "column": 8 }, "end": { - "line": 109, + "line": 108, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2720, - "end": 2725, + "start": 2712, + "end": 2717, "loc": { "start": { - "line": 109, + "line": 108, "column": 8 }, "end": { - "line": 109, + "line": 108, "column": 13 }, "identifierName": "model" @@ -3238,43 +3240,43 @@ }, "right": { "type": "CallExpression", - "start": 2728, - "end": 2759, + "start": 2720, + "end": 2751, "loc": { "start": { - "line": 109, + "line": 108, "column": 16 }, "end": { - "line": 109, + "line": 108, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 2728, - "end": 2754, + "start": 2720, + "end": 2746, "loc": { "start": { - "line": 109, + "line": 108, "column": 16 }, "end": { - "line": 109, + "line": 108, "column": 42 } }, "object": { "type": "Identifier", - "start": 2728, - "end": 2744, + "start": 2720, + "end": 2736, "loc": { "start": { - "line": 109, + "line": 108, "column": 16 }, "end": { - "line": 109, + "line": 108, "column": 32 }, "identifierName": "Live2DModelWebGL" @@ -3283,15 +3285,15 @@ }, "property": { "type": "Identifier", - "start": 2745, - "end": 2754, + "start": 2737, + "end": 2746, "loc": { "start": { - "line": 109, + "line": 108, "column": 33 }, "end": { - "line": 109, + "line": 108, "column": 42 }, "identifierName": "loadModel" @@ -3303,15 +3305,15 @@ "arguments": [ { "type": "Identifier", - "start": 2755, - "end": 2758, + "start": 2747, + "end": 2750, "loc": { "start": { - "line": 109, + "line": 108, "column": 43 }, "end": { - "line": 109, + "line": 108, "column": 46 }, "identifierName": "buf" @@ -3324,43 +3326,43 @@ }, { "type": "ExpressionStatement", - "start": 2769, - "end": 2785, + "start": 2761, + "end": 2777, "loc": { "start": { - "line": 110, + "line": 109, "column": 8 }, "end": { - "line": 110, + "line": 109, "column": 24 } }, "expression": { "type": "CallExpression", - "start": 2769, - "end": 2784, + "start": 2761, + "end": 2776, "loc": { "start": { - "line": 110, + "line": 109, "column": 8 }, "end": { - "line": 110, + "line": 109, "column": 23 } }, "callee": { "type": "Identifier", - "start": 2769, - "end": 2777, + "start": 2761, + "end": 2769, "loc": { "start": { - "line": 110, + "line": 109, "column": 8 }, "end": { - "line": 110, + "line": 109, "column": 16 }, "identifierName": "callback" @@ -3370,15 +3372,15 @@ "arguments": [ { "type": "Identifier", - "start": 2778, - "end": 2783, + "start": 2770, + "end": 2775, "loc": { "start": { - "line": 110, + "line": 109, "column": 17 }, "end": { - "line": 110, + "line": 109, "column": 22 }, "identifierName": "model" @@ -3399,15 +3401,15 @@ { "type": "CommentLine", "value": " load moc", - "start": 2660, - "end": 2671, + "start": 2652, + "end": 2663, "loc": { "start": { - "line": 107, + "line": 106, "column": 4 }, "end": { - "line": 107, + "line": 106, "column": 15 } } @@ -3427,15 +3429,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2185, - "end": 2247, + "start": 2177, + "end": 2239, "loc": { "start": { - "line": 92, + "line": 91, "column": 0 }, "end": { - "line": 92, + "line": 91, "column": 62 } } @@ -3443,15 +3445,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadLive2DModel()", - "start": 2248, - "end": 2289, + "start": 2240, + "end": 2281, "loc": { "start": { - "line": 93, + "line": 92, "column": 0 }, "end": { - "line": 93, + "line": 92, "column": 41 } } @@ -3459,15 +3461,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2290, - "end": 2352, + "start": 2282, + "end": 2344, "loc": { "start": { - "line": 94, + "line": 93, "column": 0 }, "end": { - "line": 94, + "line": 93, "column": 62 } } @@ -3475,15 +3477,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadLive2DModel\n* @desc load Live2DModel from the path and put it into buffer\n* @param {String} path, {function} callback\n* @returns callback loaded model\n* @memberOf PlatformManager\n", - "start": 2354, - "end": 2551, + "start": 2346, + "end": 2543, "loc": { "start": { - "line": 96, + "line": 95, "column": 0 }, "end": { - "line": 102, + "line": 101, "column": 2 } } @@ -3493,15 +3495,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2799, - "end": 2861, + "start": 2791, + "end": 2853, "loc": { "start": { - "line": 116, + "line": 115, "column": 0 }, "end": { - "line": 116, + "line": 115, "column": 62 } } @@ -3509,15 +3511,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadTexture()", - "start": 2862, - "end": 2899, + "start": 2854, + "end": 2891, "loc": { "start": { - "line": 117, + "line": 116, "column": 0 }, "end": { - "line": 117, + "line": 116, "column": 37 } } @@ -3525,15 +3527,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2900, - "end": 2962, + "start": 2892, + "end": 2954, "loc": { "start": { - "line": 118, + "line": 117, "column": 0 }, "end": { - "line": 118, + "line": 117, "column": 62 } } @@ -3541,15 +3543,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadTexture\n* @desc load Live2DModel's Texture and callback\n* @param {Live2DModelWebGL}model, {int}no, {string}path, {function}callback\n* @returns callback\n* @memberOf PlatformManager\n", - "start": 2964, - "end": 3162, + "start": 2956, + "end": 3154, "loc": { "start": { - "line": 120, + "line": 119, "column": 0 }, "end": { - "line": 126, + "line": 125, "column": 2 } } @@ -3558,72 +3560,72 @@ }, { "type": "ExpressionStatement", - "start": 3163, - "end": 4693, + "start": 3155, + "end": 4682, "loc": { "start": { - "line": 127, + "line": 126, "column": 0 }, "end": { - "line": 170, + "line": 169, "column": 1 } }, "expression": { "type": "AssignmentExpression", - "start": 3163, - "end": 4693, + "start": 3155, + "end": 4682, "loc": { "start": { - "line": 127, + "line": 126, "column": 0 }, "end": { - "line": 170, + "line": 169, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3163, - "end": 3200, + "start": 3155, + "end": 3192, "loc": { "start": { - "line": 127, + "line": 126, "column": 0 }, "end": { - "line": 127, + "line": 126, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 3163, - "end": 3188, + "start": 3155, + "end": 3180, "loc": { "start": { - "line": 127, + "line": 126, "column": 0 }, "end": { - "line": 127, + "line": 126, "column": 25 } }, "object": { "type": "Identifier", - "start": 3163, - "end": 3178, + "start": 3155, + "end": 3170, "loc": { "start": { - "line": 127, + "line": 126, "column": 0 }, "end": { - "line": 127, + "line": 126, "column": 15 }, "identifierName": "PlatformManager" @@ -3633,15 +3635,15 @@ }, "property": { "type": "Identifier", - "start": 3179, - "end": 3188, + "start": 3171, + "end": 3180, "loc": { "start": { - "line": 127, + "line": 126, "column": 16 }, "end": { - "line": 127, + "line": 126, "column": 25 }, "identifierName": "prototype" @@ -3653,15 +3655,15 @@ }, "property": { "type": "Identifier", - "start": 3189, - "end": 3200, + "start": 3181, + "end": 3192, "loc": { "start": { - "line": 127, + "line": 126, "column": 26 }, "end": { - "line": 127, + "line": 126, "column": 37 }, "identifierName": "loadTexture" @@ -3673,29 +3675,29 @@ }, "right": { "type": "FunctionExpression", - "start": 3207, - "end": 4693, + "start": 3199, + "end": 4682, "loc": { "start": { - "line": 127, + "line": 126, "column": 44 }, "end": { - "line": 170, + "line": 169, "column": 1 } }, "id": { "type": "Identifier", - "start": 3189, - "end": 3200, + "start": 3181, + "end": 3192, "loc": { "start": { - "line": 127, + "line": 126, "column": 26 }, "end": { - "line": 127, + "line": 126, "column": 37 }, "identifierName": "loadTexture" @@ -3708,15 +3710,15 @@ "params": [ { "type": "Identifier", - "start": 3216, - "end": 3221, + "start": 3208, + "end": 3213, "loc": { "start": { - "line": 127, + "line": 126, "column": 53 }, "end": { - "line": 127, + "line": 126, "column": 58 }, "identifierName": "model" @@ -3727,15 +3729,15 @@ { "type": "CommentBlock", "value": "ALive2DModel", - "start": 3221, - "end": 3237, + "start": 3213, + "end": 3229, "loc": { "start": { - "line": 127, + "line": 126, "column": 58 }, "end": { - "line": 127, + "line": 126, "column": 74 } } @@ -3744,15 +3746,15 @@ }, { "type": "Identifier", - "start": 3239, - "end": 3241, + "start": 3231, + "end": 3233, "loc": { "start": { - "line": 127, + "line": 126, "column": 76 }, "end": { - "line": 127, + "line": 126, "column": 78 }, "identifierName": "no" @@ -3762,15 +3764,15 @@ { "type": "CommentBlock", "value": "ALive2DModel", - "start": 3221, - "end": 3237, + "start": 3213, + "end": 3229, "loc": { "start": { - "line": 127, + "line": 126, "column": 58 }, "end": { - "line": 127, + "line": 126, "column": 74 } } @@ -3780,15 +3782,15 @@ { "type": "CommentBlock", "value": "int", - "start": 3241, - "end": 3248, + "start": 3233, + "end": 3240, "loc": { "start": { - "line": 127, + "line": 126, "column": 78 }, "end": { - "line": 127, + "line": 126, "column": 85 } } @@ -3797,15 +3799,15 @@ }, { "type": "Identifier", - "start": 3250, - "end": 3254, + "start": 3242, + "end": 3246, "loc": { "start": { - "line": 127, + "line": 126, "column": 87 }, "end": { - "line": 127, + "line": 126, "column": 91 }, "identifierName": "path" @@ -3815,15 +3817,15 @@ { "type": "CommentBlock", "value": "ALive2DModel", - "start": 3221, - "end": 3237, + "start": 3213, + "end": 3229, "loc": { "start": { - "line": 127, + "line": 126, "column": 58 }, "end": { - "line": 127, + "line": 126, "column": 74 } } @@ -3831,15 +3833,15 @@ { "type": "CommentBlock", "value": "int", - "start": 3241, - "end": 3248, + "start": 3233, + "end": 3240, "loc": { "start": { - "line": 127, + "line": 126, "column": 78 }, "end": { - "line": 127, + "line": 126, "column": 85 } } @@ -3849,15 +3851,15 @@ { "type": "CommentBlock", "value": "String", - "start": 3254, - "end": 3264, + "start": 3246, + "end": 3256, "loc": { "start": { - "line": 127, + "line": 126, "column": 91 }, "end": { - "line": 127, + "line": 126, "column": 101 } } @@ -3866,15 +3868,15 @@ }, { "type": "Identifier", - "start": 3266, - "end": 3274, + "start": 3258, + "end": 3266, "loc": { "start": { - "line": 127, + "line": 126, "column": 103 }, "end": { - "line": 127, + "line": 126, "column": 111 }, "identifierName": "callback" @@ -3884,15 +3886,15 @@ { "type": "CommentBlock", "value": "String", - "start": 3254, - "end": 3264, + "start": 3246, + "end": 3256, "loc": { "start": { - "line": 127, + "line": 126, "column": 91 }, "end": { - "line": 127, + "line": 126, "column": 101 } } @@ -3902,59 +3904,59 @@ ], "body": { "type": "BlockStatement", - "start": 3276, - "end": 4693, + "start": 3268, + "end": 4682, "loc": { "start": { - "line": 128, + "line": 127, "column": 0 }, "end": { - "line": 170, + "line": 169, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 3303, - "end": 3333, + "start": 3295, + "end": 3325, "loc": { "start": { - "line": 130, + "line": 129, "column": 4 }, "end": { - "line": 130, + "line": 129, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3307, - "end": 3332, + "start": 3299, + "end": 3324, "loc": { "start": { - "line": 130, + "line": 129, "column": 8 }, "end": { - "line": 130, + "line": 129, "column": 33 } }, "id": { "type": "Identifier", - "start": 3307, - "end": 3318, + "start": 3299, + "end": 3310, "loc": { "start": { - "line": 130, + "line": 129, "column": 8 }, "end": { - "line": 130, + "line": 129, "column": 19 }, "identifierName": "loadedImage" @@ -3964,29 +3966,29 @@ }, "init": { "type": "NewExpression", - "start": 3321, - "end": 3332, + "start": 3313, + "end": 3324, "loc": { "start": { - "line": 130, + "line": 129, "column": 22 }, "end": { - "line": 130, + "line": 129, "column": 33 } }, "callee": { "type": "Identifier", - "start": 3325, - "end": 3330, + "start": 3317, + "end": 3322, "loc": { "start": { - "line": 130, + "line": 129, "column": 26 }, "end": { - "line": 130, + "line": 129, "column": 31 }, "identifierName": "Image" @@ -4003,15 +4005,15 @@ { "type": "CommentLine", "value": " load textures", - "start": 3282, - "end": 3298, + "start": 3274, + "end": 3290, "loc": { "start": { - "line": 129, + "line": 128, "column": 4 }, "end": { - "line": 129, + "line": 128, "column": 20 } } @@ -4020,58 +4022,58 @@ }, { "type": "ExpressionStatement", - "start": 3338, - "end": 3361, + "start": 3330, + "end": 3353, "loc": { "start": { - "line": 131, + "line": 130, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 3338, - "end": 3360, + "start": 3330, + "end": 3352, "loc": { "start": { - "line": 131, + "line": 130, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3338, - "end": 3353, + "start": 3330, + "end": 3345, "loc": { "start": { - "line": 131, + "line": 130, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 19 } }, "object": { "type": "Identifier", - "start": 3338, - "end": 3349, + "start": 3330, + "end": 3341, "loc": { "start": { - "line": 131, + "line": 130, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 15 }, "identifierName": "loadedImage" @@ -4080,15 +4082,15 @@ }, "property": { "type": "Identifier", - "start": 3350, - "end": 3353, + "start": 3342, + "end": 3345, "loc": { "start": { - "line": 131, + "line": 130, "column": 16 }, "end": { - "line": 131, + "line": 130, "column": 19 }, "identifierName": "src" @@ -4099,15 +4101,15 @@ }, "right": { "type": "Identifier", - "start": 3356, - "end": 3360, + "start": 3348, + "end": 3352, "loc": { "start": { - "line": 131, + "line": 130, "column": 22 }, "end": { - "line": 131, + "line": 130, "column": 26 }, "identifierName": "path" @@ -4118,58 +4120,58 @@ }, { "type": "ExpressionStatement", - "start": 3366, - "end": 3394, + "start": 3358, + "end": 3386, "loc": { "start": { - "line": 132, + "line": 131, "column": 4 }, "end": { - "line": 132, + "line": 131, "column": 32 } }, "expression": { "type": "AssignmentExpression", - "start": 3366, - "end": 3393, + "start": 3358, + "end": 3385, "loc": { "start": { - "line": 132, + "line": 131, "column": 4 }, "end": { - "line": 132, + "line": 131, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3366, - "end": 3384, + "start": 3358, + "end": 3376, "loc": { "start": { - "line": 132, + "line": 131, "column": 4 }, "end": { - "line": 132, + "line": 131, "column": 22 } }, "object": { "type": "Identifier", - "start": 3366, - "end": 3377, + "start": 3358, + "end": 3369, "loc": { "start": { - "line": 132, + "line": 131, "column": 4 }, "end": { - "line": 132, + "line": 131, "column": 15 }, "identifierName": "loadedImage" @@ -4178,15 +4180,15 @@ }, "property": { "type": "Identifier", - "start": 3378, - "end": 3384, + "start": 3370, + "end": 3376, "loc": { "start": { - "line": 132, + "line": 131, "column": 16 }, "end": { - "line": 132, + "line": 131, "column": 22 }, "identifierName": "onload" @@ -4197,15 +4199,15 @@ }, "right": { "type": "Identifier", - "start": 3387, - "end": 3393, + "start": 3379, + "end": 3385, "loc": { "start": { - "line": 132, + "line": 131, "column": 25 }, "end": { - "line": 132, + "line": 131, "column": 31 }, "identifierName": "onload" @@ -4216,58 +4218,58 @@ }, { "type": "ExpressionStatement", - "start": 3399, - "end": 3429, + "start": 3391, + "end": 3421, "loc": { "start": { - "line": 133, + "line": 132, "column": 4 }, "end": { - "line": 133, + "line": 132, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 3399, - "end": 3428, + "start": 3391, + "end": 3420, "loc": { "start": { - "line": 133, + "line": 132, "column": 4 }, "end": { - "line": 133, + "line": 132, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3399, - "end": 3418, + "start": 3391, + "end": 3410, "loc": { "start": { - "line": 133, + "line": 132, "column": 4 }, "end": { - "line": 133, + "line": 132, "column": 23 } }, "object": { "type": "Identifier", - "start": 3399, - "end": 3410, + "start": 3391, + "end": 3402, "loc": { "start": { - "line": 133, + "line": 132, "column": 4 }, "end": { - "line": 133, + "line": 132, "column": 15 }, "identifierName": "loadedImage" @@ -4276,15 +4278,15 @@ }, "property": { "type": "Identifier", - "start": 3411, - "end": 3418, + "start": 3403, + "end": 3410, "loc": { "start": { - "line": 133, + "line": 132, "column": 16 }, "end": { - "line": 133, + "line": 132, "column": 23 }, "identifierName": "onerror" @@ -4295,15 +4297,15 @@ }, "right": { "type": "Identifier", - "start": 3421, - "end": 3428, + "start": 3413, + "end": 3420, "loc": { "start": { - "line": 133, + "line": 132, "column": 26 }, "end": { - "line": 133, + "line": 132, "column": 33 }, "identifierName": "onerror" @@ -4315,15 +4317,15 @@ { "type": "CommentLine", "value": " var thisRef = this;", - "start": 3435, - "end": 3457, + "start": 3427, + "end": 3449, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 26 } } @@ -4332,58 +4334,58 @@ }, { "type": "ExpressionStatement", - "start": 3462, - "end": 4588, + "start": 3454, + "end": 4577, "loc": { "start": { - "line": 136, + "line": 135, "column": 4 }, "end": { - "line": 165, + "line": 164, "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 3462, - "end": 4587, + "start": 3454, + "end": 4576, "loc": { "start": { - "line": 136, + "line": 135, "column": 4 }, "end": { - "line": 165, + "line": 164, "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3462, - "end": 3480, + "start": 3454, + "end": 3472, "loc": { "start": { - "line": 136, + "line": 135, "column": 4 }, "end": { - "line": 136, + "line": 135, "column": 22 } }, "object": { "type": "Identifier", - "start": 3462, - "end": 3473, + "start": 3454, + "end": 3465, "loc": { "start": { - "line": 136, + "line": 135, "column": 4 }, "end": { - "line": 136, + "line": 135, "column": 15 }, "identifierName": "loadedImage" @@ -4393,15 +4395,15 @@ }, "property": { "type": "Identifier", - "start": 3474, - "end": 3480, + "start": 3466, + "end": 3472, "loc": { "start": { - "line": 136, + "line": 135, "column": 16 }, "end": { - "line": 136, + "line": 135, "column": 22 }, "identifierName": "onload" @@ -4413,15 +4415,15 @@ }, "right": { "type": "FunctionExpression", - "start": 3483, - "end": 4587, + "start": 3475, + "end": 4576, "loc": { "start": { - "line": 136, + "line": 135, "column": 25 }, "end": { - "line": 165, + "line": 164, "column": 5 } }, @@ -4432,59 +4434,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3494, - "end": 4587, + "start": 3486, + "end": 4576, "loc": { "start": { - "line": 136, + "line": 135, "column": 36 }, "end": { - "line": 165, + "line": 164, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 3530, - "end": 3552, + "start": 3522, + "end": 3541, "loc": { "start": { - "line": 138, + "line": 137, "column": 8 }, "end": { - "line": 138, - "column": 30 + "line": 137, + "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3534, - "end": 3551, + "start": 3526, + "end": 3540, "loc": { "start": { - "line": 138, + "line": 137, "column": 12 }, "end": { - "line": 138, - "column": 29 + "line": 137, + "column": 26 } }, "id": { "type": "Identifier", - "start": 3534, - "end": 3536, + "start": 3526, + "end": 3528, "loc": { "start": { - "line": 138, + "line": 137, "column": 12 }, "end": { - "line": 138, + "line": 137, "column": 14 }, "identifierName": "gl" @@ -4493,37 +4495,21 @@ "leadingComments": null }, "init": { - "type": "CallExpression", - "start": 3539, - "end": 3551, + "type": "Identifier", + "start": 3531, + "end": 3540, "loc": { "start": { - "line": 138, + "line": 137, "column": 17 }, "end": { - "line": 138, - "column": 29 - } - }, - "callee": { - "type": "Identifier", - "start": 3539, - "end": 3549, - "loc": { - "start": { - "line": 138, - "column": 17 - }, - "end": { - "line": 138, - "column": 27 - }, - "identifierName": "getContext" + "line": 137, + "column": 26 }, - "name": "getContext" + "identifierName": "currWebGL" }, - "arguments": [] + "name": "currWebGL" }, "leadingComments": null } @@ -4533,15 +4519,15 @@ { "type": "CommentLine", "value": " create texture", - "start": 3504, - "end": 3521, + "start": 3496, + "end": 3513, "loc": { "start": { - "line": 137, + "line": 136, "column": 8 }, "end": { - "line": 137, + "line": 136, "column": 25 } } @@ -4550,44 +4536,44 @@ }, { "type": "VariableDeclaration", - "start": 3561, - "end": 3594, + "start": 3550, + "end": 3583, "loc": { "start": { - "line": 139, + "line": 138, "column": 8 }, "end": { - "line": 139, + "line": 138, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3565, - "end": 3593, + "start": 3554, + "end": 3582, "loc": { "start": { - "line": 139, + "line": 138, "column": 12 }, "end": { - "line": 139, + "line": 138, "column": 40 } }, "id": { "type": "Identifier", - "start": 3565, - "end": 3572, + "start": 3554, + "end": 3561, "loc": { "start": { - "line": 139, + "line": 138, "column": 12 }, "end": { - "line": 139, + "line": 138, "column": 19 }, "identifierName": "texture" @@ -4596,43 +4582,43 @@ }, "init": { "type": "CallExpression", - "start": 3575, - "end": 3593, + "start": 3564, + "end": 3582, "loc": { "start": { - "line": 139, + "line": 138, "column": 22 }, "end": { - "line": 139, + "line": 138, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 3575, - "end": 3591, + "start": 3564, + "end": 3580, "loc": { "start": { - "line": 139, + "line": 138, "column": 22 }, "end": { - "line": 139, + "line": 138, "column": 38 } }, "object": { "type": "Identifier", - "start": 3575, - "end": 3577, + "start": 3564, + "end": 3566, "loc": { "start": { - "line": 139, + "line": 138, "column": 22 }, "end": { - "line": 139, + "line": 138, "column": 24 }, "identifierName": "gl" @@ -4641,15 +4627,15 @@ }, "property": { "type": "Identifier", - "start": 3578, - "end": 3591, + "start": 3567, + "end": 3580, "loc": { "start": { - "line": 139, + "line": 138, "column": 25 }, "end": { - "line": 139, + "line": 138, "column": 38 }, "identifierName": "createTexture" @@ -4666,29 +4652,29 @@ }, { "type": "IfStatement", - "start": 3603, - "end": 3684, + "start": 3592, + "end": 3673, "loc": { "start": { - "line": 140, + "line": 139, "column": 8 }, "end": { - "line": 140, + "line": 139, "column": 89 } }, "test": { "type": "UnaryExpression", - "start": 3607, - "end": 3615, + "start": 3596, + "end": 3604, "loc": { "start": { - "line": 140, + "line": 139, "column": 12 }, "end": { - "line": 140, + "line": 139, "column": 20 } }, @@ -4696,15 +4682,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3608, - "end": 3615, + "start": 3597, + "end": 3604, "loc": { "start": { - "line": 140, + "line": 139, "column": 13 }, "end": { - "line": 140, + "line": 139, "column": 20 }, "identifierName": "texture" @@ -4717,72 +4703,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 3616, - "end": 3684, + "start": 3605, + "end": 3673, "loc": { "start": { - "line": 140, + "line": 139, "column": 21 }, "end": { - "line": 140, + "line": 139, "column": 89 } }, "body": [ { "type": "ExpressionStatement", - "start": 3618, - "end": 3671, + "start": 3607, + "end": 3660, "loc": { "start": { - "line": 140, + "line": 139, "column": 23 }, "end": { - "line": 140, + "line": 139, "column": 76 } }, "expression": { "type": "CallExpression", - "start": 3618, - "end": 3670, + "start": 3607, + "end": 3659, "loc": { "start": { - "line": 140, + "line": 139, "column": 23 }, "end": { - "line": 140, + "line": 139, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 3618, - "end": 3631, + "start": 3607, + "end": 3620, "loc": { "start": { - "line": 140, + "line": 139, "column": 23 }, "end": { - "line": 140, + "line": 139, "column": 36 } }, "object": { "type": "Identifier", - "start": 3618, - "end": 3625, + "start": 3607, + "end": 3614, "loc": { "start": { - "line": 140, + "line": 139, "column": 23 }, "end": { - "line": 140, + "line": 139, "column": 30 }, "identifierName": "console" @@ -4791,15 +4777,15 @@ }, "property": { "type": "Identifier", - "start": 3626, - "end": 3631, + "start": 3615, + "end": 3620, "loc": { "start": { - "line": 140, + "line": 139, "column": 31 }, "end": { - "line": 140, + "line": 139, "column": 36 }, "identifierName": "error" @@ -4811,15 +4797,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3632, - "end": 3669, + "start": 3621, + "end": 3658, "loc": { "start": { - "line": 140, + "line": 139, "column": 37 }, "end": { - "line": 140, + "line": 139, "column": 74 } }, @@ -4834,29 +4820,29 @@ }, { "type": "ReturnStatement", - "start": 3672, - "end": 3682, + "start": 3661, + "end": 3671, "loc": { "start": { - "line": 140, + "line": 139, "column": 77 }, "end": { - "line": 140, + "line": 139, "column": 87 } }, "argument": { "type": "UnaryExpression", - "start": 3679, - "end": 3681, + "start": 3668, + "end": 3670, "loc": { "start": { - "line": 140, + "line": 139, "column": 84 }, "end": { - "line": 140, + "line": 139, "column": 86 } }, @@ -4864,15 +4850,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 3680, - "end": 3681, + "start": 3669, + "end": 3670, "loc": { "start": { - "line": 140, + "line": 139, "column": 85 }, "end": { - "line": 140, + "line": 139, "column": 86 } }, @@ -4894,29 +4880,29 @@ }, { "type": "IfStatement", - "start": 3694, - "end": 3909, + "start": 3683, + "end": 3898, "loc": { "start": { - "line": 142, + "line": 141, "column": 8 }, "end": { - "line": 146, + "line": 145, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 3697, - "end": 3726, + "start": 3686, + "end": 3715, "loc": { "start": { - "line": 142, + "line": 141, "column": 11 }, "end": { - "line": 142, + "line": 141, "column": 40 } }, @@ -4924,43 +4910,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 3698, - "end": 3726, + "start": 3687, + "end": 3715, "loc": { "start": { - "line": 142, + "line": 141, "column": 12 }, "end": { - "line": 142, + "line": 141, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 3698, - "end": 3724, + "start": 3687, + "end": 3713, "loc": { "start": { - "line": 142, + "line": 141, "column": 12 }, "end": { - "line": 142, + "line": 141, "column": 38 } }, "object": { "type": "Identifier", - "start": 3698, - "end": 3703, + "start": 3687, + "end": 3692, "loc": { "start": { - "line": 142, + "line": 141, "column": 12 }, "end": { - "line": 142, + "line": 141, "column": 17 }, "identifierName": "model" @@ -4969,15 +4955,15 @@ }, "property": { "type": "Identifier", - "start": 3704, - "end": 3724, + "start": 3693, + "end": 3713, "loc": { "start": { - "line": 142, + "line": 141, "column": 18 }, "end": { - "line": 142, + "line": 141, "column": 38 }, "identifierName": "isPremultipliedAlpha" @@ -4994,72 +4980,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 3727, - "end": 3909, + "start": 3716, + "end": 3898, "loc": { "start": { - "line": 142, + "line": 141, "column": 41 }, "end": { - "line": 146, + "line": 145, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 3846, - "end": 3899, + "start": 3835, + "end": 3888, "loc": { "start": { - "line": 145, + "line": 144, "column": 12 }, "end": { - "line": 145, + "line": 144, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 3846, - "end": 3898, + "start": 3835, + "end": 3887, "loc": { "start": { - "line": 145, + "line": 144, "column": 12 }, "end": { - "line": 145, + "line": 144, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 3846, - "end": 3860, + "start": 3835, + "end": 3849, "loc": { "start": { - "line": 145, + "line": 144, "column": 12 }, "end": { - "line": 145, + "line": 144, "column": 26 } }, "object": { "type": "Identifier", - "start": 3846, - "end": 3848, + "start": 3835, + "end": 3837, "loc": { "start": { - "line": 145, + "line": 144, "column": 12 }, "end": { - "line": 145, + "line": 144, "column": 14 }, "identifierName": "gl" @@ -5069,15 +5055,15 @@ }, "property": { "type": "Identifier", - "start": 3849, - "end": 3860, + "start": 3838, + "end": 3849, "loc": { "start": { - "line": 145, + "line": 144, "column": 15 }, "end": { - "line": 145, + "line": 144, "column": 26 }, "identifierName": "pixelStorei" @@ -5090,29 +5076,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 3861, - "end": 3894, + "start": 3850, + "end": 3883, "loc": { "start": { - "line": 145, + "line": 144, "column": 27 }, "end": { - "line": 145, + "line": 144, "column": 60 } }, "object": { "type": "Identifier", - "start": 3861, - "end": 3863, + "start": 3850, + "end": 3852, "loc": { "start": { - "line": 145, + "line": 144, "column": 27 }, "end": { - "line": 145, + "line": 144, "column": 29 }, "identifierName": "gl" @@ -5121,15 +5107,15 @@ }, "property": { "type": "Identifier", - "start": 3864, - "end": 3894, + "start": 3853, + "end": 3883, "loc": { "start": { - "line": 145, + "line": 144, "column": 30 }, "end": { - "line": 145, + "line": 144, "column": 60 }, "identifierName": "UNPACK_PREMULTIPLY_ALPHA_WEBGL" @@ -5140,15 +5126,15 @@ }, { "type": "NumericLiteral", - "start": 3896, - "end": 3897, + "start": 3885, + "end": 3886, "loc": { "start": { - "line": 145, + "line": 144, "column": 62 }, "end": { - "line": 145, + "line": 144, "column": 63 } }, @@ -5165,15 +5151,15 @@ { "type": "CommentLine", "value": " 乗算済アルファテクスチャ以外の場合", - "start": 3741, - "end": 3761, + "start": 3730, + "end": 3750, "loc": { "start": { - "line": 143, + "line": 142, "column": 12 }, "end": { - "line": 143, + "line": 142, "column": 32 } } @@ -5181,15 +5167,15 @@ { "type": "CommentLine", "value": " emmmm, maybe do something for textures with alpha layer.", - "start": 3774, - "end": 3833, + "start": 3763, + "end": 3822, "loc": { "start": { - "line": 144, + "line": 143, "column": 12 }, "end": { - "line": 144, + "line": 143, "column": 71 } } @@ -5203,57 +5189,57 @@ }, { "type": "ExpressionStatement", - "start": 3918, - "end": 3960, + "start": 3907, + "end": 3949, "loc": { "start": { - "line": 147, + "line": 146, "column": 8 }, "end": { - "line": 147, + "line": 146, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 3918, - "end": 3959, + "start": 3907, + "end": 3948, "loc": { "start": { - "line": 147, + "line": 146, "column": 8 }, "end": { - "line": 147, + "line": 146, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 3918, - "end": 3932, + "start": 3907, + "end": 3921, "loc": { "start": { - "line": 147, + "line": 146, "column": 8 }, "end": { - "line": 147, + "line": 146, "column": 22 } }, "object": { "type": "Identifier", - "start": 3918, - "end": 3920, + "start": 3907, + "end": 3909, "loc": { "start": { - "line": 147, + "line": 146, "column": 8 }, "end": { - "line": 147, + "line": 146, "column": 10 }, "identifierName": "gl" @@ -5262,15 +5248,15 @@ }, "property": { "type": "Identifier", - "start": 3921, - "end": 3932, + "start": 3910, + "end": 3921, "loc": { "start": { - "line": 147, + "line": 146, "column": 11 }, "end": { - "line": 147, + "line": 146, "column": 22 }, "identifierName": "pixelStorei" @@ -5282,29 +5268,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 3933, - "end": 3955, + "start": 3922, + "end": 3944, "loc": { "start": { - "line": 147, + "line": 146, "column": 23 }, "end": { - "line": 147, + "line": 146, "column": 45 } }, "object": { "type": "Identifier", - "start": 3933, - "end": 3935, + "start": 3922, + "end": 3924, "loc": { "start": { - "line": 147, + "line": 146, "column": 23 }, "end": { - "line": 147, + "line": 146, "column": 25 }, "identifierName": "gl" @@ -5313,15 +5299,15 @@ }, "property": { "type": "Identifier", - "start": 3936, - "end": 3955, + "start": 3925, + "end": 3944, "loc": { "start": { - "line": 147, + "line": 146, "column": 26 }, "end": { - "line": 147, + "line": 146, "column": 45 }, "identifierName": "UNPACK_FLIP_Y_WEBGL" @@ -5332,15 +5318,15 @@ }, { "type": "NumericLiteral", - "start": 3957, - "end": 3958, + "start": 3946, + "end": 3947, "loc": { "start": { - "line": 147, + "line": 146, "column": 47 }, "end": { - "line": 147, + "line": 146, "column": 48 } }, @@ -5355,57 +5341,57 @@ }, { "type": "ExpressionStatement", - "start": 3969, - "end": 3999, + "start": 3958, + "end": 3988, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 3969, - "end": 3998, + "start": 3958, + "end": 3987, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3969, - "end": 3985, + "start": 3958, + "end": 3974, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 24 } }, "object": { "type": "Identifier", - "start": 3969, - "end": 3971, + "start": 3958, + "end": 3960, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 10 }, "identifierName": "gl" @@ -5414,15 +5400,15 @@ }, "property": { "type": "Identifier", - "start": 3972, - "end": 3985, + "start": 3961, + "end": 3974, "loc": { "start": { - "line": 148, + "line": 147, "column": 11 }, "end": { - "line": 148, + "line": 147, "column": 24 }, "identifierName": "activeTexture" @@ -5434,29 +5420,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 3986, - "end": 3997, + "start": 3975, + "end": 3986, "loc": { "start": { - "line": 148, + "line": 147, "column": 25 }, "end": { - "line": 148, + "line": 147, "column": 36 } }, "object": { "type": "Identifier", - "start": 3986, - "end": 3988, + "start": 3975, + "end": 3977, "loc": { "start": { - "line": 148, + "line": 147, "column": 25 }, "end": { - "line": 148, + "line": 147, "column": 27 }, "identifierName": "gl" @@ -5465,15 +5451,15 @@ }, "property": { "type": "Identifier", - "start": 3989, - "end": 3997, + "start": 3978, + "end": 3986, "loc": { "start": { - "line": 148, + "line": 147, "column": 28 }, "end": { - "line": 148, + "line": 147, "column": 36 }, "identifierName": "TEXTURE0" @@ -5487,57 +5473,57 @@ }, { "type": "ExpressionStatement", - "start": 4008, - "end": 4047, + "start": 3997, + "end": 4036, "loc": { "start": { - "line": 149, + "line": 148, "column": 8 }, "end": { - "line": 149, + "line": 148, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 4008, - "end": 4046, + "start": 3997, + "end": 4035, "loc": { "start": { - "line": 149, + "line": 148, "column": 8 }, "end": { - "line": 149, + "line": 148, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 4008, - "end": 4022, + "start": 3997, + "end": 4011, "loc": { "start": { - "line": 149, + "line": 148, "column": 8 }, "end": { - "line": 149, + "line": 148, "column": 22 } }, "object": { "type": "Identifier", - "start": 4008, - "end": 4010, + "start": 3997, + "end": 3999, "loc": { "start": { - "line": 149, + "line": 148, "column": 8 }, "end": { - "line": 149, + "line": 148, "column": 10 }, "identifierName": "gl" @@ -5546,15 +5532,15 @@ }, "property": { "type": "Identifier", - "start": 4011, - "end": 4022, + "start": 4000, + "end": 4011, "loc": { "start": { - "line": 149, + "line": 148, "column": 11 }, "end": { - "line": 149, + "line": 148, "column": 22 }, "identifierName": "bindTexture" @@ -5566,29 +5552,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4023, - "end": 4036, + "start": 4012, + "end": 4025, "loc": { "start": { - "line": 149, + "line": 148, "column": 23 }, "end": { - "line": 149, + "line": 148, "column": 36 } }, "object": { "type": "Identifier", - "start": 4023, - "end": 4025, + "start": 4012, + "end": 4014, "loc": { "start": { - "line": 149, + "line": 148, "column": 23 }, "end": { - "line": 149, + "line": 148, "column": 25 }, "identifierName": "gl" @@ -5597,15 +5583,15 @@ }, "property": { "type": "Identifier", - "start": 4026, - "end": 4036, + "start": 4015, + "end": 4025, "loc": { "start": { - "line": 149, + "line": 148, "column": 26 }, "end": { - "line": 149, + "line": 148, "column": 36 }, "identifierName": "TEXTURE_2D" @@ -5616,15 +5602,15 @@ }, { "type": "Identifier", - "start": 4038, - "end": 4045, + "start": 4027, + "end": 4034, "loc": { "start": { - "line": 149, + "line": 148, "column": 38 }, "end": { - "line": 149, + "line": 148, "column": 45 }, "identifierName": "texture" @@ -5636,57 +5622,57 @@ }, { "type": "ExpressionStatement", - "start": 4056, - "end": 4159, + "start": 4045, + "end": 4148, "loc": { "start": { - "line": 150, + "line": 149, "column": 8 }, "end": { - "line": 151, + "line": 150, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 4056, - "end": 4158, + "start": 4045, + "end": 4147, "loc": { "start": { - "line": 150, + "line": 149, "column": 8 }, "end": { - "line": 151, + "line": 150, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 4056, - "end": 4069, + "start": 4045, + "end": 4058, "loc": { "start": { - "line": 150, + "line": 149, "column": 8 }, "end": { - "line": 150, + "line": 149, "column": 21 } }, "object": { "type": "Identifier", - "start": 4056, - "end": 4058, + "start": 4045, + "end": 4047, "loc": { "start": { - "line": 150, + "line": 149, "column": 8 }, "end": { - "line": 150, + "line": 149, "column": 10 }, "identifierName": "gl" @@ -5695,15 +5681,15 @@ }, "property": { "type": "Identifier", - "start": 4059, - "end": 4069, + "start": 4048, + "end": 4058, "loc": { "start": { - "line": 150, + "line": 149, "column": 11 }, "end": { - "line": 150, + "line": 149, "column": 21 }, "identifierName": "texImage2D" @@ -5715,29 +5701,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4070, - "end": 4083, + "start": 4059, + "end": 4072, "loc": { "start": { - "line": 150, + "line": 149, "column": 22 }, "end": { - "line": 150, + "line": 149, "column": 35 } }, "object": { "type": "Identifier", - "start": 4070, - "end": 4072, + "start": 4059, + "end": 4061, "loc": { "start": { - "line": 150, + "line": 149, "column": 22 }, "end": { - "line": 150, + "line": 149, "column": 24 }, "identifierName": "gl" @@ -5746,15 +5732,15 @@ }, "property": { "type": "Identifier", - "start": 4073, - "end": 4083, + "start": 4062, + "end": 4072, "loc": { "start": { - "line": 150, + "line": 149, "column": 25 }, "end": { - "line": 150, + "line": 149, "column": 35 }, "identifierName": "TEXTURE_2D" @@ -5765,15 +5751,15 @@ }, { "type": "NumericLiteral", - "start": 4085, - "end": 4086, + "start": 4074, + "end": 4075, "loc": { "start": { - "line": 150, + "line": 149, "column": 37 }, "end": { - "line": 150, + "line": 149, "column": 38 } }, @@ -5785,29 +5771,29 @@ }, { "type": "MemberExpression", - "start": 4088, - "end": 4095, + "start": 4077, + "end": 4084, "loc": { "start": { - "line": 150, + "line": 149, "column": 40 }, "end": { - "line": 150, + "line": 149, "column": 47 } }, "object": { "type": "Identifier", - "start": 4088, - "end": 4090, + "start": 4077, + "end": 4079, "loc": { "start": { - "line": 150, + "line": 149, "column": 40 }, "end": { - "line": 150, + "line": 149, "column": 42 }, "identifierName": "gl" @@ -5816,15 +5802,15 @@ }, "property": { "type": "Identifier", - "start": 4091, - "end": 4095, + "start": 4080, + "end": 4084, "loc": { "start": { - "line": 150, + "line": 149, "column": 43 }, "end": { - "line": 150, + "line": 149, "column": 47 }, "identifierName": "RGBA" @@ -5835,29 +5821,29 @@ }, { "type": "MemberExpression", - "start": 4097, - "end": 4104, + "start": 4086, + "end": 4093, "loc": { "start": { - "line": 150, + "line": 149, "column": 49 }, "end": { - "line": 150, + "line": 149, "column": 56 } }, "object": { "type": "Identifier", - "start": 4097, - "end": 4099, + "start": 4086, + "end": 4088, "loc": { "start": { - "line": 150, + "line": 149, "column": 49 }, "end": { - "line": 150, + "line": 149, "column": 51 }, "identifierName": "gl" @@ -5866,15 +5852,15 @@ }, "property": { "type": "Identifier", - "start": 4100, - "end": 4104, + "start": 4089, + "end": 4093, "loc": { "start": { - "line": 150, + "line": 149, "column": 52 }, "end": { - "line": 150, + "line": 149, "column": 56 }, "identifierName": "RGBA" @@ -5885,29 +5871,29 @@ }, { "type": "MemberExpression", - "start": 4128, - "end": 4144, + "start": 4117, + "end": 4133, "loc": { "start": { - "line": 151, + "line": 150, "column": 22 }, "end": { - "line": 151, + "line": 150, "column": 38 } }, "object": { "type": "Identifier", - "start": 4128, - "end": 4130, + "start": 4117, + "end": 4119, "loc": { "start": { - "line": 151, + "line": 150, "column": 22 }, "end": { - "line": 151, + "line": 150, "column": 24 }, "identifierName": "gl" @@ -5916,15 +5902,15 @@ }, "property": { "type": "Identifier", - "start": 4131, - "end": 4144, + "start": 4120, + "end": 4133, "loc": { "start": { - "line": 151, + "line": 150, "column": 25 }, "end": { - "line": 151, + "line": 150, "column": 38 }, "identifierName": "UNSIGNED_BYTE" @@ -5935,15 +5921,15 @@ }, { "type": "Identifier", - "start": 4146, - "end": 4157, + "start": 4135, + "end": 4146, "loc": { "start": { - "line": 151, + "line": 150, "column": 40 }, "end": { - "line": 151, + "line": 150, "column": 51 }, "identifierName": "loadedImage" @@ -5955,57 +5941,57 @@ }, { "type": "ExpressionStatement", - "start": 4168, - "end": 4234, + "start": 4157, + "end": 4223, "loc": { "start": { - "line": 152, + "line": 151, "column": 8 }, "end": { - "line": 152, + "line": 151, "column": 74 } }, "expression": { "type": "CallExpression", - "start": 4168, - "end": 4233, + "start": 4157, + "end": 4222, "loc": { "start": { - "line": 152, + "line": 151, "column": 8 }, "end": { - "line": 152, + "line": 151, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 4168, - "end": 4184, + "start": 4157, + "end": 4173, "loc": { "start": { - "line": 152, + "line": 151, "column": 8 }, "end": { - "line": 152, + "line": 151, "column": 24 } }, "object": { "type": "Identifier", - "start": 4168, - "end": 4170, + "start": 4157, + "end": 4159, "loc": { "start": { - "line": 152, + "line": 151, "column": 8 }, "end": { - "line": 152, + "line": 151, "column": 10 }, "identifierName": "gl" @@ -6014,15 +6000,15 @@ }, "property": { "type": "Identifier", - "start": 4171, - "end": 4184, + "start": 4160, + "end": 4173, "loc": { "start": { - "line": 152, + "line": 151, "column": 11 }, "end": { - "line": 152, + "line": 151, "column": 24 }, "identifierName": "texParameteri" @@ -6034,29 +6020,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4185, - "end": 4198, + "start": 4174, + "end": 4187, "loc": { "start": { - "line": 152, + "line": 151, "column": 25 }, "end": { - "line": 152, + "line": 151, "column": 38 } }, "object": { "type": "Identifier", - "start": 4185, - "end": 4187, + "start": 4174, + "end": 4176, "loc": { "start": { - "line": 152, + "line": 151, "column": 25 }, "end": { - "line": 152, + "line": 151, "column": 27 }, "identifierName": "gl" @@ -6065,15 +6051,15 @@ }, "property": { "type": "Identifier", - "start": 4188, - "end": 4198, + "start": 4177, + "end": 4187, "loc": { "start": { - "line": 152, + "line": 151, "column": 28 }, "end": { - "line": 152, + "line": 151, "column": 38 }, "identifierName": "TEXTURE_2D" @@ -6084,29 +6070,29 @@ }, { "type": "MemberExpression", - "start": 4200, - "end": 4221, + "start": 4189, + "end": 4210, "loc": { "start": { - "line": 152, + "line": 151, "column": 40 }, "end": { - "line": 152, + "line": 151, "column": 61 } }, "object": { "type": "Identifier", - "start": 4200, - "end": 4202, + "start": 4189, + "end": 4191, "loc": { "start": { - "line": 152, + "line": 151, "column": 40 }, "end": { - "line": 152, + "line": 151, "column": 42 }, "identifierName": "gl" @@ -6115,15 +6101,15 @@ }, "property": { "type": "Identifier", - "start": 4203, - "end": 4221, + "start": 4192, + "end": 4210, "loc": { "start": { - "line": 152, + "line": 151, "column": 43 }, "end": { - "line": 152, + "line": 151, "column": 61 }, "identifierName": "TEXTURE_MAG_FILTER" @@ -6134,29 +6120,29 @@ }, { "type": "MemberExpression", - "start": 4223, - "end": 4232, + "start": 4212, + "end": 4221, "loc": { "start": { - "line": 152, + "line": 151, "column": 63 }, "end": { - "line": 152, + "line": 151, "column": 72 } }, "object": { "type": "Identifier", - "start": 4223, - "end": 4225, + "start": 4212, + "end": 4214, "loc": { "start": { - "line": 152, + "line": 151, "column": 63 }, "end": { - "line": 152, + "line": 151, "column": 65 }, "identifierName": "gl" @@ -6165,15 +6151,15 @@ }, "property": { "type": "Identifier", - "start": 4226, - "end": 4232, + "start": 4215, + "end": 4221, "loc": { "start": { - "line": 152, + "line": 151, "column": 66 }, "end": { - "line": 152, + "line": 151, "column": 72 }, "identifierName": "LINEAR" @@ -6187,57 +6173,57 @@ }, { "type": "ExpressionStatement", - "start": 4243, - "end": 4324, + "start": 4232, + "end": 4313, "loc": { "start": { - "line": 153, + "line": 152, "column": 8 }, "end": { - "line": 153, + "line": 152, "column": 89 } }, "expression": { "type": "CallExpression", - "start": 4243, - "end": 4323, + "start": 4232, + "end": 4312, "loc": { "start": { - "line": 153, + "line": 152, "column": 8 }, "end": { - "line": 153, + "line": 152, "column": 88 } }, "callee": { "type": "MemberExpression", - "start": 4243, - "end": 4259, + "start": 4232, + "end": 4248, "loc": { "start": { - "line": 153, + "line": 152, "column": 8 }, "end": { - "line": 153, + "line": 152, "column": 24 } }, "object": { "type": "Identifier", - "start": 4243, - "end": 4245, + "start": 4232, + "end": 4234, "loc": { "start": { - "line": 153, + "line": 152, "column": 8 }, "end": { - "line": 153, + "line": 152, "column": 10 }, "identifierName": "gl" @@ -6246,15 +6232,15 @@ }, "property": { "type": "Identifier", - "start": 4246, - "end": 4259, + "start": 4235, + "end": 4248, "loc": { "start": { - "line": 153, + "line": 152, "column": 11 }, "end": { - "line": 153, + "line": 152, "column": 24 }, "identifierName": "texParameteri" @@ -6266,29 +6252,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4260, - "end": 4273, + "start": 4249, + "end": 4262, "loc": { "start": { - "line": 153, + "line": 152, "column": 25 }, "end": { - "line": 153, + "line": 152, "column": 38 } }, "object": { "type": "Identifier", - "start": 4260, - "end": 4262, + "start": 4249, + "end": 4251, "loc": { "start": { - "line": 153, + "line": 152, "column": 25 }, "end": { - "line": 153, + "line": 152, "column": 27 }, "identifierName": "gl" @@ -6297,15 +6283,15 @@ }, "property": { "type": "Identifier", - "start": 4263, - "end": 4273, + "start": 4252, + "end": 4262, "loc": { "start": { - "line": 153, + "line": 152, "column": 28 }, "end": { - "line": 153, + "line": 152, "column": 38 }, "identifierName": "TEXTURE_2D" @@ -6316,29 +6302,29 @@ }, { "type": "MemberExpression", - "start": 4275, - "end": 4296, + "start": 4264, + "end": 4285, "loc": { "start": { - "line": 153, + "line": 152, "column": 40 }, "end": { - "line": 153, + "line": 152, "column": 61 } }, "object": { "type": "Identifier", - "start": 4275, - "end": 4277, + "start": 4264, + "end": 4266, "loc": { "start": { - "line": 153, + "line": 152, "column": 40 }, "end": { - "line": 153, + "line": 152, "column": 42 }, "identifierName": "gl" @@ -6347,15 +6333,15 @@ }, "property": { "type": "Identifier", - "start": 4278, - "end": 4296, + "start": 4267, + "end": 4285, "loc": { "start": { - "line": 153, + "line": 152, "column": 43 }, "end": { - "line": 153, + "line": 152, "column": 61 }, "identifierName": "TEXTURE_MIN_FILTER" @@ -6366,29 +6352,29 @@ }, { "type": "MemberExpression", - "start": 4298, - "end": 4322, + "start": 4287, + "end": 4311, "loc": { "start": { - "line": 153, + "line": 152, "column": 63 }, "end": { - "line": 153, + "line": 152, "column": 87 } }, "object": { "type": "Identifier", - "start": 4298, - "end": 4300, + "start": 4287, + "end": 4289, "loc": { "start": { - "line": 153, + "line": 152, "column": 63 }, "end": { - "line": 153, + "line": 152, "column": 65 }, "identifierName": "gl" @@ -6397,15 +6383,15 @@ }, "property": { "type": "Identifier", - "start": 4301, - "end": 4322, + "start": 4290, + "end": 4311, "loc": { "start": { - "line": 153, + "line": 152, "column": 66 }, "end": { - "line": 153, + "line": 152, "column": 87 }, "identifierName": "LINEAR_MIPMAP_NEAREST" @@ -6419,57 +6405,57 @@ }, { "type": "ExpressionStatement", - "start": 4333, - "end": 4366, + "start": 4322, + "end": 4355, "loc": { "start": { - "line": 154, + "line": 153, "column": 8 }, "end": { - "line": 154, + "line": 153, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 4333, - "end": 4365, + "start": 4322, + "end": 4354, "loc": { "start": { - "line": 154, + "line": 153, "column": 8 }, "end": { - "line": 154, + "line": 153, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 4333, - "end": 4350, + "start": 4322, + "end": 4339, "loc": { "start": { - "line": 154, + "line": 153, "column": 8 }, "end": { - "line": 154, + "line": 153, "column": 25 } }, "object": { "type": "Identifier", - "start": 4333, - "end": 4335, + "start": 4322, + "end": 4324, "loc": { "start": { - "line": 154, + "line": 153, "column": 8 }, "end": { - "line": 154, + "line": 153, "column": 10 }, "identifierName": "gl" @@ -6478,15 +6464,15 @@ }, "property": { "type": "Identifier", - "start": 4336, - "end": 4350, + "start": 4325, + "end": 4339, "loc": { "start": { - "line": 154, + "line": 153, "column": 11 }, "end": { - "line": 154, + "line": 153, "column": 25 }, "identifierName": "generateMipmap" @@ -6498,29 +6484,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4351, - "end": 4364, + "start": 4340, + "end": 4353, "loc": { "start": { - "line": 154, + "line": 153, "column": 26 }, "end": { - "line": 154, + "line": 153, "column": 39 } }, "object": { "type": "Identifier", - "start": 4351, - "end": 4353, + "start": 4340, + "end": 4342, "loc": { "start": { - "line": 154, + "line": 153, "column": 26 }, "end": { - "line": 154, + "line": 153, "column": 28 }, "identifierName": "gl" @@ -6529,15 +6515,15 @@ }, "property": { "type": "Identifier", - "start": 4354, - "end": 4364, + "start": 4343, + "end": 4353, "loc": { "start": { - "line": 154, + "line": 153, "column": 29 }, "end": { - "line": 154, + "line": 153, "column": 39 }, "identifierName": "TEXTURE_2D" @@ -6551,57 +6537,57 @@ }, { "type": "ExpressionStatement", - "start": 4378, - "end": 4408, + "start": 4367, + "end": 4397, "loc": { "start": { - "line": 158, + "line": 157, "column": 8 }, "end": { - "line": 158, + "line": 157, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 4378, - "end": 4407, + "start": 4367, + "end": 4396, "loc": { "start": { - "line": 158, + "line": 157, "column": 8 }, "end": { - "line": 158, + "line": 157, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 4378, - "end": 4394, + "start": 4367, + "end": 4383, "loc": { "start": { - "line": 158, + "line": 157, "column": 8 }, "end": { - "line": 158, + "line": 157, "column": 24 } }, "object": { "type": "Identifier", - "start": 4378, - "end": 4383, + "start": 4367, + "end": 4372, "loc": { "start": { - "line": 158, + "line": 157, "column": 8 }, "end": { - "line": 158, + "line": 157, "column": 13 }, "identifierName": "model" @@ -6610,15 +6596,15 @@ }, "property": { "type": "Identifier", - "start": 4384, - "end": 4394, + "start": 4373, + "end": 4383, "loc": { "start": { - "line": 158, + "line": 157, "column": 14 }, "end": { - "line": 158, + "line": 157, "column": 24 }, "identifierName": "setTexture" @@ -6630,15 +6616,15 @@ "arguments": [ { "type": "Identifier", - "start": 4395, - "end": 4397, + "start": 4384, + "end": 4386, "loc": { "start": { - "line": 158, + "line": 157, "column": 25 }, "end": { - "line": 158, + "line": 157, "column": 27 }, "identifierName": "no" @@ -6647,15 +6633,15 @@ }, { "type": "Identifier", - "start": 4399, - "end": 4406, + "start": 4388, + "end": 4395, "loc": { "start": { - "line": 158, + "line": 157, "column": 29 }, "end": { - "line": 158, + "line": 157, "column": 36 }, "identifierName": "texture" @@ -6668,15 +6654,15 @@ { "type": "CommentLine", "value": " テクスチャオブジェクトを解放", - "start": 4418, - "end": 4435, + "start": 4407, + "end": 4424, "loc": { "start": { - "line": 160, + "line": 159, "column": 8 }, "end": { - "line": 160, + "line": 159, "column": 25 } } @@ -6684,15 +6670,15 @@ { "type": "CommentLine", "value": " Release the texture object to prevent buffer overruns.", - "start": 4444, - "end": 4501, + "start": 4433, + "end": 4490, "loc": { "start": { - "line": 161, + "line": 160, "column": 8 }, "end": { - "line": 161, + "line": 160, "column": 65 } } @@ -6701,44 +6687,44 @@ }, { "type": "ExpressionStatement", - "start": 4510, - "end": 4525, + "start": 4499, + "end": 4514, "loc": { "start": { - "line": 162, + "line": 161, "column": 8 }, "end": { - "line": 162, + "line": 161, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 4510, - "end": 4524, + "start": 4499, + "end": 4513, "loc": { "start": { - "line": 162, + "line": 161, "column": 8 }, "end": { - "line": 162, + "line": 161, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4510, - "end": 4517, + "start": 4499, + "end": 4506, "loc": { "start": { - "line": 162, + "line": 161, "column": 8 }, "end": { - "line": 162, + "line": 161, "column": 15 }, "identifierName": "texture" @@ -6748,15 +6734,15 @@ }, "right": { "type": "NullLiteral", - "start": 4520, - "end": 4524, + "start": 4509, + "end": 4513, "loc": { "start": { - "line": 162, + "line": 161, "column": 18 }, "end": { - "line": 162, + "line": 161, "column": 22 } } @@ -6767,15 +6753,15 @@ { "type": "CommentLine", "value": " テクスチャオブジェクトを解放", - "start": 4418, - "end": 4435, + "start": 4407, + "end": 4424, "loc": { "start": { - "line": 160, + "line": 159, "column": 8 }, "end": { - "line": 160, + "line": 159, "column": 25 } } @@ -6783,15 +6769,15 @@ { "type": "CommentLine", "value": " Release the texture object to prevent buffer overruns.", - "start": 4444, - "end": 4501, + "start": 4433, + "end": 4490, "loc": { "start": { - "line": 161, + "line": 160, "column": 8 }, "end": { - "line": 161, + "line": 160, "column": 65 } } @@ -6800,43 +6786,43 @@ }, { "type": "IfStatement", - "start": 4535, - "end": 4581, + "start": 4524, + "end": 4570, "loc": { "start": { - "line": 164, + "line": 163, "column": 8 }, "end": { - "line": 164, + "line": 163, "column": 54 } }, "test": { "type": "BinaryExpression", - "start": 4539, - "end": 4568, + "start": 4528, + "end": 4557, "loc": { "start": { - "line": 164, + "line": 163, "column": 12 }, "end": { - "line": 164, + "line": 163, "column": 41 } }, "left": { "type": "UnaryExpression", - "start": 4539, - "end": 4554, + "start": 4528, + "end": 4543, "loc": { "start": { - "line": 164, + "line": 163, "column": 12 }, "end": { - "line": 164, + "line": 163, "column": 27 } }, @@ -6844,15 +6830,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 4546, - "end": 4554, + "start": 4535, + "end": 4543, "loc": { "start": { - "line": 164, + "line": 163, "column": 19 }, "end": { - "line": 164, + "line": 163, "column": 27 }, "identifierName": "callback" @@ -6866,15 +6852,15 @@ "operator": "==", "right": { "type": "StringLiteral", - "start": 4558, - "end": 4568, + "start": 4547, + "end": 4557, "loc": { "start": { - "line": 164, + "line": 163, "column": 31 }, "end": { - "line": 164, + "line": 163, "column": 41 } }, @@ -6887,43 +6873,43 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 4570, - "end": 4581, + "start": 4559, + "end": 4570, "loc": { "start": { - "line": 164, + "line": 163, "column": 43 }, "end": { - "line": 164, + "line": 163, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 4570, - "end": 4580, + "start": 4559, + "end": 4569, "loc": { "start": { - "line": 164, + "line": 163, "column": 43 }, "end": { - "line": 164, + "line": 163, "column": 53 } }, "callee": { "type": "Identifier", - "start": 4570, - "end": 4578, + "start": 4559, + "end": 4567, "loc": { "start": { - "line": 164, + "line": 163, "column": 43 }, "end": { - "line": 164, + "line": 163, "column": 51 }, "identifierName": "callback" @@ -6945,15 +6931,15 @@ { "type": "CommentLine", "value": " var thisRef = this;", - "start": 3435, - "end": 3457, + "start": 3427, + "end": 3449, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 26 } } @@ -6962,58 +6948,58 @@ }, { "type": "ExpressionStatement", - "start": 4594, - "end": 4691, + "start": 4583, + "end": 4680, "loc": { "start": { - "line": 167, + "line": 166, "column": 4 }, "end": { - "line": 169, + "line": 168, "column": 5 } }, "expression": { "type": "AssignmentExpression", - "start": 4594, - "end": 4691, + "start": 4583, + "end": 4680, "loc": { "start": { - "line": 167, + "line": 166, "column": 4 }, "end": { - "line": 169, + "line": 168, "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4594, - "end": 4613, + "start": 4583, + "end": 4602, "loc": { "start": { - "line": 167, + "line": 166, "column": 4 }, "end": { - "line": 167, + "line": 166, "column": 23 } }, "object": { "type": "Identifier", - "start": 4594, - "end": 4605, + "start": 4583, + "end": 4594, "loc": { "start": { - "line": 167, + "line": 166, "column": 4 }, "end": { - "line": 167, + "line": 166, "column": 15 }, "identifierName": "loadedImage" @@ -7022,15 +7008,15 @@ }, "property": { "type": "Identifier", - "start": 4606, - "end": 4613, + "start": 4595, + "end": 4602, "loc": { "start": { - "line": 167, + "line": 166, "column": 16 }, "end": { - "line": 167, + "line": 166, "column": 23 }, "identifierName": "onerror" @@ -7041,15 +7027,15 @@ }, "right": { "type": "FunctionExpression", - "start": 4616, - "end": 4691, + "start": 4605, + "end": 4680, "loc": { "start": { - "line": 167, + "line": 166, "column": 26 }, "end": { - "line": 169, + "line": 168, "column": 5 } }, @@ -7060,72 +7046,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4627, - "end": 4691, + "start": 4616, + "end": 4680, "loc": { "start": { - "line": 167, + "line": 166, "column": 37 }, "end": { - "line": 169, + "line": 168, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 4637, - "end": 4685, + "start": 4626, + "end": 4674, "loc": { "start": { - "line": 168, + "line": 167, "column": 8 }, "end": { - "line": 168, + "line": 167, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 4637, - "end": 4684, + "start": 4626, + "end": 4673, "loc": { "start": { - "line": 168, + "line": 167, "column": 8 }, "end": { - "line": 168, + "line": 167, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 4637, - "end": 4650, + "start": 4626, + "end": 4639, "loc": { "start": { - "line": 168, + "line": 167, "column": 8 }, "end": { - "line": 168, + "line": 167, "column": 21 } }, "object": { "type": "Identifier", - "start": 4637, - "end": 4644, + "start": 4626, + "end": 4633, "loc": { "start": { - "line": 168, + "line": 167, "column": 8 }, "end": { - "line": 168, + "line": 167, "column": 15 }, "identifierName": "console" @@ -7134,15 +7120,15 @@ }, "property": { "type": "Identifier", - "start": 4645, - "end": 4650, + "start": 4634, + "end": 4639, "loc": { "start": { - "line": 168, + "line": 167, "column": 16 }, "end": { - "line": 168, + "line": 167, "column": 21 }, "identifierName": "error" @@ -7154,29 +7140,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4651, - "end": 4683, + "start": 4640, + "end": 4672, "loc": { "start": { - "line": 168, + "line": 167, "column": 22 }, "end": { - "line": 168, + "line": 167, "column": 54 } }, "left": { "type": "StringLiteral", - "start": 4651, - "end": 4676, + "start": 4640, + "end": 4665, "loc": { "start": { - "line": 168, + "line": 167, "column": 22 }, "end": { - "line": 168, + "line": 167, "column": 47 } }, @@ -7189,15 +7175,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 4679, - "end": 4683, + "start": 4668, + "end": 4672, "loc": { "start": { - "line": 168, + "line": 167, "column": 50 }, "end": { - "line": 168, + "line": 167, "column": 54 }, "identifierName": "path" @@ -7227,15 +7213,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2799, - "end": 2861, + "start": 2791, + "end": 2853, "loc": { "start": { - "line": 116, + "line": 115, "column": 0 }, "end": { - "line": 116, + "line": 115, "column": 62 } } @@ -7243,15 +7229,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadTexture()", - "start": 2862, - "end": 2899, + "start": 2854, + "end": 2891, "loc": { "start": { - "line": 117, + "line": 116, "column": 0 }, "end": { - "line": 117, + "line": 116, "column": 37 } } @@ -7259,15 +7245,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2900, - "end": 2962, + "start": 2892, + "end": 2954, "loc": { "start": { - "line": 118, + "line": 117, "column": 0 }, "end": { - "line": 118, + "line": 117, "column": 62 } } @@ -7275,15 +7261,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadTexture\n* @desc load Live2DModel's Texture and callback\n* @param {Live2DModelWebGL}model, {int}no, {string}path, {function}callback\n* @returns callback\n* @memberOf PlatformManager\n", - "start": 2964, - "end": 3162, + "start": 2956, + "end": 3154, "loc": { "start": { - "line": 120, + "line": 119, "column": 0 }, "end": { - "line": 126, + "line": 125, "column": 2 } } @@ -7293,15 +7279,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 4696, - "end": 4758, + "start": 4685, + "end": 4747, "loc": { "start": { - "line": 173, + "line": 172, "column": 0 }, "end": { - "line": 173, + "line": 172, "column": 62 } } @@ -7309,15 +7295,15 @@ { "type": "CommentLine", "value": " PlatformManager # parseFromBytes(buf)", - "start": 4759, - "end": 4802, + "start": 4748, + "end": 4791, "loc": { "start": { - "line": 174, + "line": 173, "column": 0 }, "end": { - "line": 174, + "line": 173, "column": 43 } } @@ -7325,15 +7311,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 4804, - "end": 4866, + "start": 4793, + "end": 4855, "loc": { "start": { - "line": 176, + "line": 175, "column": 0 }, "end": { - "line": 176, + "line": 175, "column": 62 } } @@ -7341,15 +7327,15 @@ { "type": "CommentBlock", "value": "*\n* @name jsonParseFromBytes\n* @desc parse json file into arrays\n* @param {raw} buf\n* @returns {Array}jsonObj\n* @memberOf PlatformManager\n", - "start": 4868, - "end": 5010, + "start": 4857, + "end": 4999, "loc": { "start": { - "line": 178, + "line": 177, "column": 0 }, "end": { - "line": 184, + "line": 183, "column": 2 } } @@ -7358,72 +7344,72 @@ }, { "type": "ExpressionStatement", - "start": 5011, - "end": 5436, + "start": 5000, + "end": 5425, "loc": { "start": { - "line": 185, + "line": 184, "column": 0 }, "end": { - "line": 198, + "line": 197, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 5011, - "end": 5435, + "start": 5000, + "end": 5424, "loc": { "start": { - "line": 185, + "line": 184, "column": 0 }, "end": { - "line": 198, + "line": 197, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5011, - "end": 5055, + "start": 5000, + "end": 5044, "loc": { "start": { - "line": 185, + "line": 184, "column": 0 }, "end": { - "line": 185, + "line": 184, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 5011, - "end": 5036, + "start": 5000, + "end": 5025, "loc": { "start": { - "line": 185, + "line": 184, "column": 0 }, "end": { - "line": 185, + "line": 184, "column": 25 } }, "object": { "type": "Identifier", - "start": 5011, - "end": 5026, + "start": 5000, + "end": 5015, "loc": { "start": { - "line": 185, + "line": 184, "column": 0 }, "end": { - "line": 185, + "line": 184, "column": 15 }, "identifierName": "PlatformManager" @@ -7433,15 +7419,15 @@ }, "property": { "type": "Identifier", - "start": 5027, - "end": 5036, + "start": 5016, + "end": 5025, "loc": { "start": { - "line": 185, + "line": 184, "column": 16 }, "end": { - "line": 185, + "line": 184, "column": 25 }, "identifierName": "prototype" @@ -7453,15 +7439,15 @@ }, "property": { "type": "Identifier", - "start": 5037, - "end": 5055, + "start": 5026, + "end": 5044, "loc": { "start": { - "line": 185, + "line": 184, "column": 26 }, "end": { - "line": 185, + "line": 184, "column": 44 }, "identifierName": "jsonParseFromBytes" @@ -7473,29 +7459,29 @@ }, "right": { "type": "FunctionExpression", - "start": 5058, - "end": 5435, + "start": 5047, + "end": 5424, "loc": { "start": { - "line": 185, + "line": 184, "column": 47 }, "end": { - "line": 198, + "line": 197, "column": 1 } }, "id": { "type": "Identifier", - "start": 5037, - "end": 5055, + "start": 5026, + "end": 5044, "loc": { "start": { - "line": 185, + "line": 184, "column": 26 }, "end": { - "line": 185, + "line": 184, "column": 44 }, "identifierName": "jsonParseFromBytes" @@ -7508,15 +7494,15 @@ "params": [ { "type": "Identifier", - "start": 5067, - "end": 5070, + "start": 5056, + "end": 5059, "loc": { "start": { - "line": 185, + "line": 184, "column": 56 }, "end": { - "line": 185, + "line": 184, "column": 59 }, "identifierName": "buf" @@ -7526,59 +7512,59 @@ ], "body": { "type": "BlockStatement", - "start": 5071, - "end": 5435, + "start": 5060, + "end": 5424, "loc": { "start": { - "line": 185, + "line": 184, "column": 60 }, "end": { - "line": 198, + "line": 197, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 5078, - "end": 5090, + "start": 5067, + "end": 5079, "loc": { "start": { - "line": 187, + "line": 186, "column": 4 }, "end": { - "line": 187, + "line": 186, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5082, - "end": 5089, + "start": 5071, + "end": 5078, "loc": { "start": { - "line": 187, + "line": 186, "column": 8 }, "end": { - "line": 187, + "line": 186, "column": 15 } }, "id": { "type": "Identifier", - "start": 5082, - "end": 5089, + "start": 5071, + "end": 5078, "loc": { "start": { - "line": 187, + "line": 186, "column": 8 }, "end": { - "line": 187, + "line": 186, "column": 15 }, "identifierName": "jsonStr" @@ -7592,44 +7578,44 @@ }, { "type": "VariableDeclaration", - "start": 5095, - "end": 5135, + "start": 5084, + "end": 5124, "loc": { "start": { - "line": 188, + "line": 187, "column": 4 }, "end": { - "line": 188, + "line": 187, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5099, - "end": 5134, + "start": 5088, + "end": 5123, "loc": { "start": { - "line": 188, + "line": 187, "column": 8 }, "end": { - "line": 188, + "line": 187, "column": 43 } }, "id": { "type": "Identifier", - "start": 5099, - "end": 5106, + "start": 5088, + "end": 5095, "loc": { "start": { - "line": 188, + "line": 187, "column": 8 }, "end": { - "line": 188, + "line": 187, "column": 15 }, "identifierName": "bomCode" @@ -7638,29 +7624,29 @@ }, "init": { "type": "NewExpression", - "start": 5109, - "end": 5134, + "start": 5098, + "end": 5123, "loc": { "start": { - "line": 188, + "line": 187, "column": 18 }, "end": { - "line": 188, + "line": 187, "column": 43 } }, "callee": { "type": "Identifier", - "start": 5113, - "end": 5123, + "start": 5102, + "end": 5112, "loc": { "start": { - "line": 188, + "line": 187, "column": 22 }, "end": { - "line": 188, + "line": 187, "column": 32 }, "identifierName": "Uint8Array" @@ -7670,15 +7656,15 @@ "arguments": [ { "type": "Identifier", - "start": 5124, - "end": 5127, + "start": 5113, + "end": 5116, "loc": { "start": { - "line": 188, + "line": 187, "column": 33 }, "end": { - "line": 188, + "line": 187, "column": 36 }, "identifierName": "buf" @@ -7687,15 +7673,15 @@ }, { "type": "NumericLiteral", - "start": 5129, - "end": 5130, + "start": 5118, + "end": 5119, "loc": { "start": { - "line": 188, + "line": 187, "column": 38 }, "end": { - "line": 188, + "line": 187, "column": 39 } }, @@ -7707,15 +7693,15 @@ }, { "type": "NumericLiteral", - "start": 5132, - "end": 5133, + "start": 5121, + "end": 5122, "loc": { "start": { - "line": 188, + "line": 187, "column": 41 }, "end": { - "line": 188, + "line": 187, "column": 42 } }, @@ -7733,85 +7719,85 @@ }, { "type": "IfStatement", - "start": 5140, - "end": 5372, + "start": 5129, + "end": 5361, "loc": { "start": { - "line": 189, + "line": 188, "column": 4 }, "end": { - "line": 193, + "line": 192, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 5144, - "end": 5203, + "start": 5133, + "end": 5192, "loc": { "start": { - "line": 189, + "line": 188, "column": 8 }, "end": { - "line": 189, + "line": 188, "column": 67 } }, "left": { "type": "LogicalExpression", - "start": 5144, - "end": 5182, + "start": 5133, + "end": 5171, "loc": { "start": { - "line": 189, + "line": 188, "column": 8 }, "end": { - "line": 189, + "line": 188, "column": 46 } }, "left": { "type": "BinaryExpression", - "start": 5144, - "end": 5161, + "start": 5133, + "end": 5150, "loc": { "start": { - "line": 189, + "line": 188, "column": 8 }, "end": { - "line": 189, + "line": 188, "column": 25 } }, "left": { "type": "MemberExpression", - "start": 5144, - "end": 5154, + "start": 5133, + "end": 5143, "loc": { "start": { - "line": 189, + "line": 188, "column": 8 }, "end": { - "line": 189, + "line": 188, "column": 18 } }, "object": { "type": "Identifier", - "start": 5144, - "end": 5151, + "start": 5133, + "end": 5140, "loc": { "start": { - "line": 189, + "line": 188, "column": 8 }, "end": { - "line": 189, + "line": 188, "column": 15 }, "identifierName": "bomCode" @@ -7820,15 +7806,15 @@ }, "property": { "type": "NumericLiteral", - "start": 5152, - "end": 5153, + "start": 5141, + "end": 5142, "loc": { "start": { - "line": 189, + "line": 188, "column": 16 }, "end": { - "line": 189, + "line": 188, "column": 17 } }, @@ -7843,15 +7829,15 @@ "operator": "==", "right": { "type": "NumericLiteral", - "start": 5158, - "end": 5161, + "start": 5147, + "end": 5150, "loc": { "start": { - "line": 189, + "line": 188, "column": 22 }, "end": { - "line": 189, + "line": 188, "column": 25 } }, @@ -7865,43 +7851,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 5165, - "end": 5182, + "start": 5154, + "end": 5171, "loc": { "start": { - "line": 189, + "line": 188, "column": 29 }, "end": { - "line": 189, + "line": 188, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 5165, - "end": 5175, + "start": 5154, + "end": 5164, "loc": { "start": { - "line": 189, + "line": 188, "column": 29 }, "end": { - "line": 189, + "line": 188, "column": 39 } }, "object": { "type": "Identifier", - "start": 5165, - "end": 5172, + "start": 5154, + "end": 5161, "loc": { "start": { - "line": 189, + "line": 188, "column": 29 }, "end": { - "line": 189, + "line": 188, "column": 36 }, "identifierName": "bomCode" @@ -7910,15 +7896,15 @@ }, "property": { "type": "NumericLiteral", - "start": 5173, - "end": 5174, + "start": 5162, + "end": 5163, "loc": { "start": { - "line": 189, + "line": 188, "column": 37 }, "end": { - "line": 189, + "line": 188, "column": 38 } }, @@ -7933,15 +7919,15 @@ "operator": "==", "right": { "type": "NumericLiteral", - "start": 5179, - "end": 5182, + "start": 5168, + "end": 5171, "loc": { "start": { - "line": 189, + "line": 188, "column": 43 }, "end": { - "line": 189, + "line": 188, "column": 46 } }, @@ -7956,43 +7942,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 5186, - "end": 5203, + "start": 5175, + "end": 5192, "loc": { "start": { - "line": 189, + "line": 188, "column": 50 }, "end": { - "line": 189, + "line": 188, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 5186, - "end": 5196, + "start": 5175, + "end": 5185, "loc": { "start": { - "line": 189, + "line": 188, "column": 50 }, "end": { - "line": 189, + "line": 188, "column": 60 } }, "object": { "type": "Identifier", - "start": 5186, - "end": 5193, + "start": 5175, + "end": 5182, "loc": { "start": { - "line": 189, + "line": 188, "column": 50 }, "end": { - "line": 189, + "line": 188, "column": 57 }, "identifierName": "bomCode" @@ -8001,15 +7987,15 @@ }, "property": { "type": "NumericLiteral", - "start": 5194, - "end": 5195, + "start": 5183, + "end": 5184, "loc": { "start": { - "line": 189, + "line": 188, "column": 58 }, "end": { - "line": 189, + "line": 188, "column": 59 } }, @@ -8024,15 +8010,15 @@ "operator": "==", "right": { "type": "NumericLiteral", - "start": 5200, - "end": 5203, + "start": 5189, + "end": 5192, "loc": { "start": { - "line": 189, + "line": 188, "column": 64 }, "end": { - "line": 189, + "line": 188, "column": 67 } }, @@ -8046,59 +8032,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 5205, - "end": 5287, + "start": 5194, + "end": 5276, "loc": { "start": { - "line": 189, + "line": 188, "column": 69 }, "end": { - "line": 191, + "line": 190, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 5215, - "end": 5281, + "start": 5204, + "end": 5270, "loc": { "start": { - "line": 190, + "line": 189, "column": 8 }, "end": { - "line": 190, + "line": 189, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 5215, - "end": 5280, + "start": 5204, + "end": 5269, "loc": { "start": { - "line": 190, + "line": 189, "column": 8 }, "end": { - "line": 190, + "line": 189, "column": 73 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5215, - "end": 5222, + "start": 5204, + "end": 5211, "loc": { "start": { - "line": 190, + "line": 189, "column": 8 }, "end": { - "line": 190, + "line": 189, "column": 15 }, "identifierName": "jsonStr" @@ -8107,57 +8093,57 @@ }, "right": { "type": "CallExpression", - "start": 5225, - "end": 5280, + "start": 5214, + "end": 5269, "loc": { "start": { - "line": 190, + "line": 189, "column": 18 }, "end": { - "line": 190, + "line": 189, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 5225, - "end": 5250, + "start": 5214, + "end": 5239, "loc": { "start": { - "line": 190, + "line": 189, "column": 18 }, "end": { - "line": 190, + "line": 189, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 5225, - "end": 5244, + "start": 5214, + "end": 5233, "loc": { "start": { - "line": 190, + "line": 189, "column": 18 }, "end": { - "line": 190, + "line": 189, "column": 37 } }, "object": { "type": "Identifier", - "start": 5225, - "end": 5231, + "start": 5214, + "end": 5220, "loc": { "start": { - "line": 190, + "line": 189, "column": 18 }, "end": { - "line": 190, + "line": 189, "column": 24 }, "identifierName": "String" @@ -8166,15 +8152,15 @@ }, "property": { "type": "Identifier", - "start": 5232, - "end": 5244, + "start": 5221, + "end": 5233, "loc": { "start": { - "line": 190, + "line": 189, "column": 25 }, "end": { - "line": 190, + "line": 189, "column": 37 }, "identifierName": "fromCharCode" @@ -8185,15 +8171,15 @@ }, "property": { "type": "Identifier", - "start": 5245, - "end": 5250, + "start": 5234, + "end": 5239, "loc": { "start": { - "line": 190, + "line": 189, "column": 38 }, "end": { - "line": 190, + "line": 189, "column": 43 }, "identifierName": "apply" @@ -8205,44 +8191,44 @@ "arguments": [ { "type": "NullLiteral", - "start": 5251, - "end": 5255, + "start": 5240, + "end": 5244, "loc": { "start": { - "line": 190, + "line": 189, "column": 44 }, "end": { - "line": 190, + "line": 189, "column": 48 } } }, { "type": "NewExpression", - "start": 5257, - "end": 5279, + "start": 5246, + "end": 5268, "loc": { "start": { - "line": 190, + "line": 189, "column": 50 }, "end": { - "line": 190, + "line": 189, "column": 72 } }, "callee": { "type": "Identifier", - "start": 5261, - "end": 5271, + "start": 5250, + "end": 5260, "loc": { "start": { - "line": 190, + "line": 189, "column": 54 }, "end": { - "line": 190, + "line": 189, "column": 64 }, "identifierName": "Uint8Array" @@ -8252,15 +8238,15 @@ "arguments": [ { "type": "Identifier", - "start": 5272, - "end": 5275, + "start": 5261, + "end": 5264, "loc": { "start": { - "line": 190, + "line": 189, "column": 65 }, "end": { - "line": 190, + "line": 189, "column": 68 }, "identifierName": "buf" @@ -8269,15 +8255,15 @@ }, { "type": "NumericLiteral", - "start": 5277, - "end": 5278, + "start": 5266, + "end": 5267, "loc": { "start": { - "line": 190, + "line": 189, "column": 70 }, "end": { - "line": 190, + "line": 189, "column": 71 } }, @@ -8298,59 +8284,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 5293, - "end": 5372, + "start": 5282, + "end": 5361, "loc": { "start": { - "line": 191, + "line": 190, "column": 11 }, "end": { - "line": 193, + "line": 192, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 5303, - "end": 5366, + "start": 5292, + "end": 5355, "loc": { "start": { - "line": 192, + "line": 191, "column": 8 }, "end": { - "line": 192, + "line": 191, "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 5303, - "end": 5365, + "start": 5292, + "end": 5354, "loc": { "start": { - "line": 192, + "line": 191, "column": 8 }, "end": { - "line": 192, + "line": 191, "column": 70 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5303, - "end": 5310, + "start": 5292, + "end": 5299, "loc": { "start": { - "line": 192, + "line": 191, "column": 8 }, "end": { - "line": 192, + "line": 191, "column": 15 }, "identifierName": "jsonStr" @@ -8359,57 +8345,57 @@ }, "right": { "type": "CallExpression", - "start": 5313, - "end": 5365, + "start": 5302, + "end": 5354, "loc": { "start": { - "line": 192, + "line": 191, "column": 18 }, "end": { - "line": 192, + "line": 191, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 5313, - "end": 5338, + "start": 5302, + "end": 5327, "loc": { "start": { - "line": 192, + "line": 191, "column": 18 }, "end": { - "line": 192, + "line": 191, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 5313, - "end": 5332, + "start": 5302, + "end": 5321, "loc": { "start": { - "line": 192, + "line": 191, "column": 18 }, "end": { - "line": 192, + "line": 191, "column": 37 } }, "object": { "type": "Identifier", - "start": 5313, - "end": 5319, + "start": 5302, + "end": 5308, "loc": { "start": { - "line": 192, + "line": 191, "column": 18 }, "end": { - "line": 192, + "line": 191, "column": 24 }, "identifierName": "String" @@ -8418,15 +8404,15 @@ }, "property": { "type": "Identifier", - "start": 5320, - "end": 5332, + "start": 5309, + "end": 5321, "loc": { "start": { - "line": 192, + "line": 191, "column": 25 }, "end": { - "line": 192, + "line": 191, "column": 37 }, "identifierName": "fromCharCode" @@ -8437,15 +8423,15 @@ }, "property": { "type": "Identifier", - "start": 5333, - "end": 5338, + "start": 5322, + "end": 5327, "loc": { "start": { - "line": 192, + "line": 191, "column": 38 }, "end": { - "line": 192, + "line": 191, "column": 43 }, "identifierName": "apply" @@ -8457,44 +8443,44 @@ "arguments": [ { "type": "NullLiteral", - "start": 5339, - "end": 5343, + "start": 5328, + "end": 5332, "loc": { "start": { - "line": 192, + "line": 191, "column": 44 }, "end": { - "line": 192, + "line": 191, "column": 48 } } }, { "type": "NewExpression", - "start": 5345, - "end": 5364, + "start": 5334, + "end": 5353, "loc": { "start": { - "line": 192, + "line": 191, "column": 50 }, "end": { - "line": 192, + "line": 191, "column": 69 } }, "callee": { "type": "Identifier", - "start": 5349, - "end": 5359, + "start": 5338, + "end": 5348, "loc": { "start": { - "line": 192, + "line": 191, "column": 54 }, "end": { - "line": 192, + "line": 191, "column": 64 }, "identifierName": "Uint8Array" @@ -8504,15 +8490,15 @@ "arguments": [ { "type": "Identifier", - "start": 5360, - "end": 5363, + "start": 5349, + "end": 5352, "loc": { "start": { - "line": 192, + "line": 191, "column": 65 }, "end": { - "line": 192, + "line": 191, "column": 68 }, "identifierName": "buf" @@ -8531,44 +8517,44 @@ }, { "type": "VariableDeclaration", - "start": 5378, - "end": 5412, + "start": 5367, + "end": 5401, "loc": { "start": { - "line": 195, + "line": 194, "column": 4 }, "end": { - "line": 195, + "line": 194, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5382, - "end": 5411, + "start": 5371, + "end": 5400, "loc": { "start": { - "line": 195, + "line": 194, "column": 8 }, "end": { - "line": 195, + "line": 194, "column": 37 } }, "id": { "type": "Identifier", - "start": 5382, - "end": 5389, + "start": 5371, + "end": 5378, "loc": { "start": { - "line": 195, + "line": 194, "column": 8 }, "end": { - "line": 195, + "line": 194, "column": 15 }, "identifierName": "jsonObj" @@ -8577,43 +8563,43 @@ }, "init": { "type": "CallExpression", - "start": 5392, - "end": 5411, + "start": 5381, + "end": 5400, "loc": { "start": { - "line": 195, + "line": 194, "column": 18 }, "end": { - "line": 195, + "line": 194, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 5392, - "end": 5402, + "start": 5381, + "end": 5391, "loc": { "start": { - "line": 195, + "line": 194, "column": 18 }, "end": { - "line": 195, + "line": 194, "column": 28 } }, "object": { "type": "Identifier", - "start": 5392, - "end": 5396, + "start": 5381, + "end": 5385, "loc": { "start": { - "line": 195, + "line": 194, "column": 18 }, "end": { - "line": 195, + "line": 194, "column": 22 }, "identifierName": "JSON" @@ -8622,15 +8608,15 @@ }, "property": { "type": "Identifier", - "start": 5397, - "end": 5402, + "start": 5386, + "end": 5391, "loc": { "start": { - "line": 195, + "line": 194, "column": 23 }, "end": { - "line": 195, + "line": 194, "column": 28 }, "identifierName": "parse" @@ -8642,15 +8628,15 @@ "arguments": [ { "type": "Identifier", - "start": 5403, - "end": 5410, + "start": 5392, + "end": 5399, "loc": { "start": { - "line": 195, + "line": 194, "column": 29 }, "end": { - "line": 195, + "line": 194, "column": 36 }, "identifierName": "jsonStr" @@ -8665,29 +8651,29 @@ }, { "type": "ReturnStatement", - "start": 5418, - "end": 5433, + "start": 5407, + "end": 5422, "loc": { "start": { - "line": 197, + "line": 196, "column": 4 }, "end": { - "line": 197, + "line": 196, "column": 19 } }, "argument": { "type": "Identifier", - "start": 5425, - "end": 5432, + "start": 5414, + "end": 5421, "loc": { "start": { - "line": 197, + "line": 196, "column": 11 }, "end": { - "line": 197, + "line": 196, "column": 18 }, "identifierName": "jsonObj" @@ -8705,15 +8691,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 4696, - "end": 4758, + "start": 4685, + "end": 4747, "loc": { "start": { - "line": 173, + "line": 172, "column": 0 }, "end": { - "line": 173, + "line": 172, "column": 62 } } @@ -8721,15 +8707,15 @@ { "type": "CommentLine", "value": " PlatformManager # parseFromBytes(buf)", - "start": 4759, - "end": 4802, + "start": 4748, + "end": 4791, "loc": { "start": { - "line": 174, + "line": 173, "column": 0 }, "end": { - "line": 174, + "line": 173, "column": 43 } } @@ -8737,15 +8723,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 4804, - "end": 4866, + "start": 4793, + "end": 4855, "loc": { "start": { - "line": 176, + "line": 175, "column": 0 }, "end": { - "line": 176, + "line": 175, "column": 62 } } @@ -8753,15 +8739,15 @@ { "type": "CommentBlock", "value": "*\n* @name jsonParseFromBytes\n* @desc parse json file into arrays\n* @param {raw} buf\n* @returns {Array}jsonObj\n* @memberOf PlatformManager\n", - "start": 4868, - "end": 5010, + "start": 4857, + "end": 4999, "loc": { "start": { - "line": 178, + "line": 177, "column": 0 }, "end": { - "line": 184, + "line": 183, "column": 2 } } @@ -8771,15 +8757,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 5440, - "end": 5502, + "start": 5429, + "end": 5491, "loc": { "start": { - "line": 202, + "line": 201, "column": 0 }, "end": { - "line": 202, + "line": 201, "column": 62 } } @@ -8787,15 +8773,15 @@ { "type": "CommentLine", "value": " PlatformManager # log()", - "start": 5503, - "end": 5532, + "start": 5492, + "end": 5521, "loc": { "start": { - "line": 203, + "line": 202, "column": 0 }, "end": { - "line": 203, + "line": 202, "column": 29 } } @@ -8803,15 +8789,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 5533, - "end": 5595, + "start": 5522, + "end": 5584, "loc": { "start": { - "line": 204, + "line": 203, "column": 0 }, "end": { - "line": 204, + "line": 203, "column": 62 } } @@ -8819,15 +8805,15 @@ { "type": "CommentBlock", "value": "*\n* @name log\n* @desc output log in console\n* @param {string} txt\n* @returns null\n* @memberOf PlatformManager\n", - "start": 5597, - "end": 5711, + "start": 5586, + "end": 5700, "loc": { "start": { - "line": 206, + "line": 205, "column": 0 }, "end": { - "line": 212, + "line": 211, "column": 2 } } @@ -8836,72 +8822,72 @@ }, { "type": "ExpressionStatement", - "start": 5712, - "end": 5805, + "start": 5701, + "end": 5794, "loc": { "start": { - "line": 213, + "line": 212, "column": 0 }, "end": { - "line": 216, + "line": 215, "column": 1 } }, "expression": { "type": "AssignmentExpression", - "start": 5712, - "end": 5805, + "start": 5701, + "end": 5794, "loc": { "start": { - "line": 213, + "line": 212, "column": 0 }, "end": { - "line": 216, + "line": 215, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5712, - "end": 5741, + "start": 5701, + "end": 5730, "loc": { "start": { - "line": 213, + "line": 212, "column": 0 }, "end": { - "line": 213, + "line": 212, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 5712, - "end": 5737, + "start": 5701, + "end": 5726, "loc": { "start": { - "line": 213, + "line": 212, "column": 0 }, "end": { - "line": 213, + "line": 212, "column": 25 } }, "object": { "type": "Identifier", - "start": 5712, - "end": 5727, + "start": 5701, + "end": 5716, "loc": { "start": { - "line": 213, + "line": 212, "column": 0 }, "end": { - "line": 213, + "line": 212, "column": 15 }, "identifierName": "PlatformManager" @@ -8911,15 +8897,15 @@ }, "property": { "type": "Identifier", - "start": 5728, - "end": 5737, + "start": 5717, + "end": 5726, "loc": { "start": { - "line": 213, + "line": 212, "column": 16 }, "end": { - "line": 213, + "line": 212, "column": 25 }, "identifierName": "prototype" @@ -8931,15 +8917,15 @@ }, "property": { "type": "Identifier", - "start": 5738, - "end": 5741, + "start": 5727, + "end": 5730, "loc": { "start": { - "line": 213, + "line": 212, "column": 26 }, "end": { - "line": 213, + "line": 212, "column": 29 }, "identifierName": "log" @@ -8951,29 +8937,29 @@ }, "right": { "type": "FunctionExpression", - "start": 5756, - "end": 5805, + "start": 5745, + "end": 5794, "loc": { "start": { - "line": 213, + "line": 212, "column": 44 }, "end": { - "line": 216, + "line": 215, "column": 1 } }, "id": { "type": "Identifier", - "start": 5738, - "end": 5741, + "start": 5727, + "end": 5730, "loc": { "start": { - "line": 213, + "line": 212, "column": 26 }, "end": { - "line": 213, + "line": 212, "column": 29 }, "identifierName": "log" @@ -8986,15 +8972,15 @@ "params": [ { "type": "Identifier", - "start": 5765, - "end": 5768, + "start": 5754, + "end": 5757, "loc": { "start": { - "line": 213, + "line": 212, "column": 53 }, "end": { - "line": 213, + "line": 212, "column": 56 }, "identifierName": "txt" @@ -9005,15 +8991,15 @@ { "type": "CommentBlock", "value": "String", - "start": 5768, - "end": 5778, + "start": 5757, + "end": 5767, "loc": { "start": { - "line": 213, + "line": 212, "column": 56 }, "end": { - "line": 213, + "line": 212, "column": 66 } } @@ -9023,72 +9009,72 @@ ], "body": { "type": "BlockStatement", - "start": 5780, - "end": 5805, + "start": 5769, + "end": 5794, "loc": { "start": { - "line": 214, + "line": 213, "column": 0 }, "end": { - "line": 216, + "line": 215, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 5786, - "end": 5803, + "start": 5775, + "end": 5792, "loc": { "start": { - "line": 215, + "line": 214, "column": 4 }, "end": { - "line": 215, + "line": 214, "column": 21 } }, "expression": { "type": "CallExpression", - "start": 5786, - "end": 5802, + "start": 5775, + "end": 5791, "loc": { "start": { - "line": 215, + "line": 214, "column": 4 }, "end": { - "line": 215, + "line": 214, "column": 20 } }, "callee": { "type": "MemberExpression", - "start": 5786, - "end": 5797, + "start": 5775, + "end": 5786, "loc": { "start": { - "line": 215, + "line": 214, "column": 4 }, "end": { - "line": 215, + "line": 214, "column": 15 } }, "object": { "type": "Identifier", - "start": 5786, - "end": 5793, + "start": 5775, + "end": 5782, "loc": { "start": { - "line": 215, + "line": 214, "column": 4 }, "end": { - "line": 215, + "line": 214, "column": 11 }, "identifierName": "console" @@ -9098,15 +9084,15 @@ }, "property": { "type": "Identifier", - "start": 5794, - "end": 5797, + "start": 5783, + "end": 5786, "loc": { "start": { - "line": 215, + "line": 214, "column": 12 }, "end": { - "line": 215, + "line": 214, "column": 15 }, "identifierName": "log" @@ -9119,15 +9105,15 @@ "arguments": [ { "type": "Identifier", - "start": 5798, - "end": 5801, + "start": 5787, + "end": 5790, "loc": { "start": { - "line": 215, + "line": 214, "column": 16 }, "end": { - "line": 215, + "line": 214, "column": 19 }, "identifierName": "txt" @@ -9145,15 +9131,15 @@ { "type": "CommentBlock", "value": "String", - "start": 5768, - "end": 5778, + "start": 5757, + "end": 5767, "loc": { "start": { - "line": 213, + "line": 212, "column": 56 }, "end": { - "line": 213, + "line": 212, "column": 66 } } @@ -9167,15 +9153,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 5440, - "end": 5502, + "start": 5429, + "end": 5491, "loc": { "start": { - "line": 202, + "line": 201, "column": 0 }, "end": { - "line": 202, + "line": 201, "column": 62 } } @@ -9183,15 +9169,15 @@ { "type": "CommentLine", "value": " PlatformManager # log()", - "start": 5503, - "end": 5532, + "start": 5492, + "end": 5521, "loc": { "start": { - "line": 203, + "line": 202, "column": 0 }, "end": { - "line": 203, + "line": 202, "column": 29 } } @@ -9199,15 +9185,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 5533, - "end": 5595, + "start": 5522, + "end": 5584, "loc": { "start": { - "line": 204, + "line": 203, "column": 0 }, "end": { - "line": 204, + "line": 203, "column": 62 } } @@ -9215,15 +9201,15 @@ { "type": "CommentBlock", "value": "*\n* @name log\n* @desc output log in console\n* @param {string} txt\n* @returns null\n* @memberOf PlatformManager\n", - "start": 5597, - "end": 5711, + "start": 5586, + "end": 5700, "loc": { "start": { - "line": 206, + "line": 205, "column": 0 }, "end": { - "line": 212, + "line": 211, "column": 2 } } @@ -9289,11 +9275,11 @@ "end": 414, "loc": { "start": { - "line": 21, + "line": 20, "column": 0 }, "end": { - "line": 21, + "line": 20, "column": 62 } } @@ -9305,11 +9291,11 @@ "end": 477, "loc": { "start": { - "line": 22, + "line": 21, "column": 0 }, "end": { - "line": 22, + "line": 21, "column": 62 } } @@ -9321,11 +9307,11 @@ "end": 531, "loc": { "start": { - "line": 23, + "line": 22, "column": 0 }, "end": { - "line": 23, + "line": 22, "column": 53 } } @@ -9337,11 +9323,11 @@ "end": 594, "loc": { "start": { - "line": 24, + "line": 23, "column": 0 }, "end": { - "line": 24, + "line": 23, "column": 62 } } @@ -9353,11 +9339,11 @@ "end": 657, "loc": { "start": { - "line": 25, + "line": 24, "column": 0 }, "end": { - "line": 25, + "line": 24, "column": 62 } } @@ -9369,11 +9355,11 @@ "end": 794, "loc": { "start": { - "line": 27, + "line": 26, "column": 0 }, "end": { - "line": 32, + "line": 31, "column": 2 } } @@ -9381,15 +9367,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 844, - "end": 906, + "start": 836, + "end": 898, "loc": { "start": { - "line": 39, + "line": 38, "column": 0 }, "end": { - "line": 39, + "line": 38, "column": 62 } } @@ -9397,15 +9383,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadBytes()", - "start": 907, - "end": 942, + "start": 899, + "end": 934, "loc": { "start": { - "line": 40, + "line": 39, "column": 0 }, "end": { - "line": 40, + "line": 39, "column": 35 } } @@ -9413,15 +9399,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 943, - "end": 1005, + "start": 935, + "end": 997, "loc": { "start": { - "line": 41, + "line": 40, "column": 0 }, "end": { - "line": 41, + "line": 40, "column": 62 } } @@ -9429,15 +9415,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadBytes\n* @desc load bytes from the path and callback\n* @param {String} path, {Function} callback\n* @returns callback {raw} context\n* @memberOf PlatformManager\n", - "start": 1007, - "end": 1183, + "start": 999, + "end": 1175, "loc": { "start": { - "line": 43, + "line": 42, "column": 0 }, "end": { - "line": 49, + "line": 48, "column": 2 } } @@ -9445,15 +9431,15 @@ { "type": "CommentBlock", "value": "String", - "start": 1242, - "end": 1252, + "start": 1234, + "end": 1244, "loc": { "start": { - "line": 51, + "line": 50, "column": 57 }, "end": { - "line": 51, + "line": 50, "column": 67 } } @@ -9461,15 +9447,15 @@ { "type": "CommentLine", "value": " return request;", - "start": 1687, - "end": 1705, + "start": 1679, + "end": 1697, "loc": { "start": { - "line": 67, + "line": 66, "column": 4 }, "end": { - "line": 67, + "line": 66, "column": 22 } } @@ -9477,15 +9463,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 1710, - "end": 1772, + "start": 1702, + "end": 1764, "loc": { "start": { - "line": 71, + "line": 70, "column": 0 }, "end": { - "line": 71, + "line": 70, "column": 62 } } @@ -9493,15 +9479,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadString()", - "start": 1773, - "end": 1809, + "start": 1765, + "end": 1801, "loc": { "start": { - "line": 72, + "line": 71, "column": 0 }, "end": { - "line": 72, + "line": 71, "column": 36 } } @@ -9509,15 +9495,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 1810, - "end": 1872, + "start": 1802, + "end": 1864, "loc": { "start": { - "line": 73, + "line": 72, "column": 0 }, "end": { - "line": 73, + "line": 72, "column": 62 } } @@ -9525,15 +9511,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadString\n* @desc load bytes from the path and put it into buffer\n* @param {String} path\n* @returns buffer {raw} context\n* @memberOf PlatformManager\n", - "start": 1874, - "end": 2038, + "start": 1866, + "end": 2030, "loc": { "start": { - "line": 75, + "line": 74, "column": 0 }, "end": { - "line": 81, + "line": 80, "column": 2 } } @@ -9541,15 +9527,15 @@ { "type": "CommentBlock", "value": "String", - "start": 2096, - "end": 2106, + "start": 2088, + "end": 2098, "loc": { "start": { - "line": 82, + "line": 81, "column": 57 }, "end": { - "line": 82, + "line": 81, "column": 67 } } @@ -9557,15 +9543,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2185, - "end": 2247, + "start": 2177, + "end": 2239, "loc": { "start": { - "line": 92, + "line": 91, "column": 0 }, "end": { - "line": 92, + "line": 91, "column": 62 } } @@ -9573,15 +9559,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadLive2DModel()", - "start": 2248, - "end": 2289, + "start": 2240, + "end": 2281, "loc": { "start": { - "line": 93, + "line": 92, "column": 0 }, "end": { - "line": 93, + "line": 92, "column": 41 } } @@ -9589,15 +9575,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2290, - "end": 2352, + "start": 2282, + "end": 2344, "loc": { "start": { - "line": 94, + "line": 93, "column": 0 }, "end": { - "line": 94, + "line": 93, "column": 62 } } @@ -9605,15 +9591,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadLive2DModel\n* @desc load Live2DModel from the path and put it into buffer\n* @param {String} path, {function} callback\n* @returns callback loaded model\n* @memberOf PlatformManager\n", - "start": 2354, - "end": 2551, + "start": 2346, + "end": 2543, "loc": { "start": { - "line": 96, + "line": 95, "column": 0 }, "end": { - "line": 102, + "line": 101, "column": 2 } } @@ -9621,15 +9607,15 @@ { "type": "CommentBlock", "value": "String", - "start": 2609, - "end": 2619, + "start": 2601, + "end": 2611, "loc": { "start": { - "line": 103, + "line": 102, "column": 57 }, "end": { - "line": 103, + "line": 102, "column": 67 } } @@ -9637,15 +9623,15 @@ { "type": "CommentLine", "value": " load moc", - "start": 2660, - "end": 2671, + "start": 2652, + "end": 2663, "loc": { "start": { - "line": 107, + "line": 106, "column": 4 }, "end": { - "line": 107, + "line": 106, "column": 15 } } @@ -9653,15 +9639,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2799, - "end": 2861, + "start": 2791, + "end": 2853, "loc": { "start": { - "line": 116, + "line": 115, "column": 0 }, "end": { - "line": 116, + "line": 115, "column": 62 } } @@ -9669,15 +9655,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadTexture()", - "start": 2862, - "end": 2899, + "start": 2854, + "end": 2891, "loc": { "start": { - "line": 117, + "line": 116, "column": 0 }, "end": { - "line": 117, + "line": 116, "column": 37 } } @@ -9685,15 +9671,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2900, - "end": 2962, + "start": 2892, + "end": 2954, "loc": { "start": { - "line": 118, + "line": 117, "column": 0 }, "end": { - "line": 118, + "line": 117, "column": 62 } } @@ -9701,15 +9687,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadTexture\n* @desc load Live2DModel's Texture and callback\n* @param {Live2DModelWebGL}model, {int}no, {string}path, {function}callback\n* @returns callback\n* @memberOf PlatformManager\n", - "start": 2964, - "end": 3162, + "start": 2956, + "end": 3154, "loc": { "start": { - "line": 120, + "line": 119, "column": 0 }, "end": { - "line": 126, + "line": 125, "column": 2 } } @@ -9717,15 +9703,15 @@ { "type": "CommentBlock", "value": "ALive2DModel", - "start": 3221, - "end": 3237, + "start": 3213, + "end": 3229, "loc": { "start": { - "line": 127, + "line": 126, "column": 58 }, "end": { - "line": 127, + "line": 126, "column": 74 } } @@ -9733,15 +9719,15 @@ { "type": "CommentBlock", "value": "int", - "start": 3241, - "end": 3248, + "start": 3233, + "end": 3240, "loc": { "start": { - "line": 127, + "line": 126, "column": 78 }, "end": { - "line": 127, + "line": 126, "column": 85 } } @@ -9749,15 +9735,15 @@ { "type": "CommentBlock", "value": "String", - "start": 3254, - "end": 3264, + "start": 3246, + "end": 3256, "loc": { "start": { - "line": 127, + "line": 126, "column": 91 }, "end": { - "line": 127, + "line": 126, "column": 101 } } @@ -9765,15 +9751,15 @@ { "type": "CommentLine", "value": " load textures", - "start": 3282, - "end": 3298, + "start": 3274, + "end": 3290, "loc": { "start": { - "line": 129, + "line": 128, "column": 4 }, "end": { - "line": 129, + "line": 128, "column": 20 } } @@ -9781,15 +9767,15 @@ { "type": "CommentLine", "value": " var thisRef = this;", - "start": 3435, - "end": 3457, + "start": 3427, + "end": 3449, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 26 } } @@ -9797,15 +9783,15 @@ { "type": "CommentLine", "value": " create texture", - "start": 3504, - "end": 3521, + "start": 3496, + "end": 3513, "loc": { "start": { - "line": 137, + "line": 136, "column": 8 }, "end": { - "line": 137, + "line": 136, "column": 25 } } @@ -9813,15 +9799,15 @@ { "type": "CommentLine", "value": " 乗算済アルファテクスチャ以外の場合", - "start": 3741, - "end": 3761, + "start": 3730, + "end": 3750, "loc": { "start": { - "line": 143, + "line": 142, "column": 12 }, "end": { - "line": 143, + "line": 142, "column": 32 } } @@ -9829,15 +9815,15 @@ { "type": "CommentLine", "value": " emmmm, maybe do something for textures with alpha layer.", - "start": 3774, - "end": 3833, + "start": 3763, + "end": 3822, "loc": { "start": { - "line": 144, + "line": 143, "column": 12 }, "end": { - "line": 144, + "line": 143, "column": 71 } } @@ -9845,15 +9831,15 @@ { "type": "CommentLine", "value": " テクスチャオブジェクトを解放", - "start": 4418, - "end": 4435, + "start": 4407, + "end": 4424, "loc": { "start": { - "line": 160, + "line": 159, "column": 8 }, "end": { - "line": 160, + "line": 159, "column": 25 } } @@ -9861,15 +9847,15 @@ { "type": "CommentLine", "value": " Release the texture object to prevent buffer overruns.", - "start": 4444, - "end": 4501, + "start": 4433, + "end": 4490, "loc": { "start": { - "line": 161, + "line": 160, "column": 8 }, "end": { - "line": 161, + "line": 160, "column": 65 } } @@ -9877,15 +9863,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 4696, - "end": 4758, + "start": 4685, + "end": 4747, "loc": { "start": { - "line": 173, + "line": 172, "column": 0 }, "end": { - "line": 173, + "line": 172, "column": 62 } } @@ -9893,15 +9879,15 @@ { "type": "CommentLine", "value": " PlatformManager # parseFromBytes(buf)", - "start": 4759, - "end": 4802, + "start": 4748, + "end": 4791, "loc": { "start": { - "line": 174, + "line": 173, "column": 0 }, "end": { - "line": 174, + "line": 173, "column": 43 } } @@ -9909,15 +9895,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 4804, - "end": 4866, + "start": 4793, + "end": 4855, "loc": { "start": { - "line": 176, + "line": 175, "column": 0 }, "end": { - "line": 176, + "line": 175, "column": 62 } } @@ -9925,15 +9911,15 @@ { "type": "CommentBlock", "value": "*\n* @name jsonParseFromBytes\n* @desc parse json file into arrays\n* @param {raw} buf\n* @returns {Array}jsonObj\n* @memberOf PlatformManager\n", - "start": 4868, - "end": 5010, + "start": 4857, + "end": 4999, "loc": { "start": { - "line": 178, + "line": 177, "column": 0 }, "end": { - "line": 184, + "line": 183, "column": 2 } } @@ -9941,15 +9927,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 5440, - "end": 5502, + "start": 5429, + "end": 5491, "loc": { "start": { - "line": 202, + "line": 201, "column": 0 }, "end": { - "line": 202, + "line": 201, "column": 62 } } @@ -9957,15 +9943,15 @@ { "type": "CommentLine", "value": " PlatformManager # log()", - "start": 5503, - "end": 5532, + "start": 5492, + "end": 5521, "loc": { "start": { - "line": 203, + "line": 202, "column": 0 }, "end": { - "line": 203, + "line": 202, "column": 29 } } @@ -9973,15 +9959,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 5533, - "end": 5595, + "start": 5522, + "end": 5584, "loc": { "start": { - "line": 204, + "line": 203, "column": 0 }, "end": { - "line": 204, + "line": 203, "column": 62 } } @@ -9989,15 +9975,15 @@ { "type": "CommentBlock", "value": "*\n* @name log\n* @desc output log in console\n* @param {string} txt\n* @returns null\n* @memberOf PlatformManager\n", - "start": 5597, - "end": 5711, + "start": 5586, + "end": 5700, "loc": { "start": { - "line": 206, + "line": 205, "column": 0 }, "end": { - "line": 212, + "line": 211, "column": 2 } } @@ -10005,15 +9991,15 @@ { "type": "CommentBlock", "value": "String", - "start": 5768, - "end": 5778, + "start": 5757, + "end": 5767, "loc": { "start": { - "line": 213, + "line": 212, "column": 56 }, "end": { - "line": 213, + "line": 212, "column": 66 } } @@ -10083,15 +10069,15 @@ "updateContext": null }, "value": "import", - "start": 255, - "end": 261, + "start": 254, + "end": 260, "loc": { "start": { - "line": 17, + "line": 16, "column": 0 }, "end": { - "line": 17, + "line": 16, "column": 6 } } @@ -10108,15 +10094,15 @@ "postfix": false, "binop": null }, - "start": 262, - "end": 263, + "start": 261, + "end": 262, "loc": { "start": { - "line": 17, + "line": 16, "column": 7 }, "end": { - "line": 17, + "line": 16, "column": 8 } } @@ -10133,17 +10119,17 @@ "postfix": false, "binop": null }, - "value": "getContext", - "start": 264, - "end": 274, + "value": "currWebGL", + "start": 263, + "end": 272, "loc": { "start": { - "line": 17, + "line": 16, "column": 9 }, "end": { - "line": 17, - "column": 19 + "line": 16, + "column": 18 } } }, @@ -10159,16 +10145,16 @@ "postfix": false, "binop": null }, - "start": 275, - "end": 276, + "start": 273, + "end": 274, "loc": { "start": { - "line": 17, - "column": 20 + "line": 16, + "column": 19 }, "end": { - "line": 17, - "column": 21 + "line": 16, + "column": 20 } } }, @@ -10185,16 +10171,16 @@ "binop": null }, "value": "from", - "start": 277, - "end": 281, + "start": 275, + "end": 279, "loc": { "start": { - "line": 17, - "column": 22 + "line": 16, + "column": 21 }, "end": { - "line": 17, - "column": 26 + "line": 16, + "column": 25 } } }, @@ -10211,17 +10197,17 @@ "binop": null, "updateContext": null }, - "value": "./webGLContext", - "start": 282, - "end": 298, + "value": "./elementMgr", + "start": 280, + "end": 294, "loc": { "start": { - "line": 17, - "column": 27 + "line": 16, + "column": 26 }, "end": { - "line": 17, - "column": 43 + "line": 16, + "column": 40 } } }, @@ -10238,16 +10224,16 @@ "binop": null, "updateContext": null }, - "start": 298, - "end": 299, + "start": 294, + "end": 295, "loc": { "start": { - "line": 17, - "column": 43 + "line": 16, + "column": 40 }, "end": { - "line": 17, - "column": 44 + "line": 16, + "column": 41 } } }, @@ -10266,15 +10252,15 @@ "updateContext": null }, "value": "import", - "start": 300, - "end": 306, + "start": 296, + "end": 302, "loc": { "start": { - "line": 18, + "line": 17, "column": 0 }, "end": { - "line": 18, + "line": 17, "column": 6 } } @@ -10291,15 +10277,15 @@ "postfix": false, "binop": null }, - "start": 307, - "end": 308, + "start": 303, + "end": 304, "loc": { "start": { - "line": 18, + "line": 17, "column": 7 }, "end": { - "line": 18, + "line": 17, "column": 8 } } @@ -10317,15 +10303,15 @@ "binop": null }, "value": "Live2DModelWebGL", - "start": 309, - "end": 325, + "start": 305, + "end": 321, "loc": { "start": { - "line": 18, + "line": 17, "column": 9 }, "end": { - "line": 18, + "line": 17, "column": 25 } } @@ -10342,15 +10328,15 @@ "postfix": false, "binop": null }, - "start": 326, - "end": 327, + "start": 322, + "end": 323, "loc": { "start": { - "line": 18, + "line": 17, "column": 26 }, "end": { - "line": 18, + "line": 17, "column": 27 } } @@ -10368,15 +10354,15 @@ "binop": null }, "value": "from", - "start": 328, - "end": 332, + "start": 324, + "end": 328, "loc": { "start": { - "line": 18, + "line": 17, "column": 28 }, "end": { - "line": 18, + "line": 17, "column": 32 } } @@ -10394,17 +10380,17 @@ "binop": null, "updateContext": null }, - "value": "./live2d.core", - "start": 333, + "value": "./lib/live2d.core", + "start": 329, "end": 348, "loc": { "start": { - "line": 18, + "line": 17, "column": 33 }, "end": { - "line": 18, - "column": 48 + "line": 17, + "column": 52 } } }, @@ -10425,12 +10411,12 @@ "end": 349, "loc": { "start": { - "line": 18, - "column": 48 + "line": 17, + "column": 52 }, "end": { - "line": 18, - "column": 49 + "line": 17, + "column": 53 } } }, @@ -10441,11 +10427,11 @@ "end": 414, "loc": { "start": { - "line": 21, + "line": 20, "column": 0 }, "end": { - "line": 21, + "line": 20, "column": 62 } } @@ -10457,11 +10443,11 @@ "end": 477, "loc": { "start": { - "line": 22, + "line": 21, "column": 0 }, "end": { - "line": 22, + "line": 21, "column": 62 } } @@ -10473,11 +10459,11 @@ "end": 531, "loc": { "start": { - "line": 23, + "line": 22, "column": 0 }, "end": { - "line": 23, + "line": 22, "column": 53 } } @@ -10489,11 +10475,11 @@ "end": 594, "loc": { "start": { - "line": 24, + "line": 23, "column": 0 }, "end": { - "line": 24, + "line": 23, "column": 62 } } @@ -10505,11 +10491,11 @@ "end": 657, "loc": { "start": { - "line": 25, + "line": 24, "column": 0 }, "end": { - "line": 25, + "line": 24, "column": 62 } } @@ -10521,11 +10507,11 @@ "end": 794, "loc": { "start": { - "line": 27, + "line": 26, "column": 0 }, "end": { - "line": 32, + "line": 31, "column": 2 } } @@ -10549,43 +10535,15 @@ "end": 801, "loc": { "start": { - "line": 33, + "line": 32, "column": 0 }, "end": { - "line": 33, + "line": 32, "column": 6 } } }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 802, - "end": 809, - "loc": { - "start": { - "line": 33, - "column": 7 - }, - "end": { - "line": 33, - "column": 14 - } - } - }, { "type": { "label": "function", @@ -10600,16 +10558,16 @@ "binop": null }, "value": "function", - "start": 810, - "end": 818, + "start": 802, + "end": 810, "loc": { "start": { - "line": 33, - "column": 15 + "line": 32, + "column": 7 }, "end": { - "line": 33, - "column": 23 + "line": 32, + "column": 15 } } }, @@ -10626,16 +10584,16 @@ "binop": null }, "value": "PlatformManager", - "start": 819, - "end": 834, + "start": 811, + "end": 826, "loc": { "start": { - "line": 33, - "column": 24 + "line": 32, + "column": 16 }, "end": { - "line": 33, - "column": 39 + "line": 32, + "column": 31 } } }, @@ -10651,16 +10609,16 @@ "postfix": false, "binop": null }, - "start": 834, - "end": 835, + "start": 826, + "end": 827, "loc": { "start": { - "line": 33, - "column": 39 + "line": 32, + "column": 31 }, "end": { - "line": 33, - "column": 40 + "line": 32, + "column": 32 } } }, @@ -10676,16 +10634,16 @@ "postfix": false, "binop": null }, - "start": 835, - "end": 836, + "start": 827, + "end": 828, "loc": { "start": { - "line": 33, - "column": 40 + "line": 32, + "column": 32 }, "end": { - "line": 33, - "column": 41 + "line": 32, + "column": 33 } } }, @@ -10701,15 +10659,15 @@ "postfix": false, "binop": null }, - "start": 837, - "end": 838, + "start": 829, + "end": 830, "loc": { "start": { - "line": 34, + "line": 33, "column": 0 }, "end": { - "line": 34, + "line": 33, "column": 1 } } @@ -10726,15 +10684,15 @@ "postfix": false, "binop": null }, - "start": 840, - "end": 841, + "start": 832, + "end": 833, "loc": { "start": { - "line": 36, + "line": 35, "column": 0 }, "end": { - "line": 36, + "line": 35, "column": 1 } } @@ -10742,15 +10700,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 844, - "end": 906, + "start": 836, + "end": 898, "loc": { "start": { - "line": 39, + "line": 38, "column": 0 }, "end": { - "line": 39, + "line": 38, "column": 62 } } @@ -10758,15 +10716,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadBytes()", - "start": 907, - "end": 942, + "start": 899, + "end": 934, "loc": { "start": { - "line": 40, + "line": 39, "column": 0 }, "end": { - "line": 40, + "line": 39, "column": 35 } } @@ -10774,15 +10732,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 943, - "end": 1005, + "start": 935, + "end": 997, "loc": { "start": { - "line": 41, + "line": 40, "column": 0 }, "end": { - "line": 41, + "line": 40, "column": 62 } } @@ -10790,15 +10748,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadBytes\n* @desc load bytes from the path and callback\n* @param {String} path, {Function} callback\n* @returns callback {raw} context\n* @memberOf PlatformManager\n", - "start": 1007, - "end": 1183, + "start": 999, + "end": 1175, "loc": { "start": { - "line": 43, + "line": 42, "column": 0 }, "end": { - "line": 49, + "line": 48, "column": 2 } } @@ -10816,15 +10774,15 @@ "binop": null }, "value": "PlatformManager", - "start": 1185, - "end": 1200, + "start": 1177, + "end": 1192, "loc": { "start": { - "line": 51, + "line": 50, "column": 0 }, "end": { - "line": 51, + "line": 50, "column": 15 } } @@ -10842,15 +10800,15 @@ "binop": null, "updateContext": null }, - "start": 1200, - "end": 1201, + "start": 1192, + "end": 1193, "loc": { "start": { - "line": 51, + "line": 50, "column": 15 }, "end": { - "line": 51, + "line": 50, "column": 16 } } @@ -10868,15 +10826,15 @@ "binop": null }, "value": "prototype", - "start": 1201, - "end": 1210, + "start": 1193, + "end": 1202, "loc": { "start": { - "line": 51, + "line": 50, "column": 16 }, "end": { - "line": 51, + "line": 50, "column": 25 } } @@ -10894,15 +10852,15 @@ "binop": null, "updateContext": null }, - "start": 1210, - "end": 1211, + "start": 1202, + "end": 1203, "loc": { "start": { - "line": 51, + "line": 50, "column": 25 }, "end": { - "line": 51, + "line": 50, "column": 26 } } @@ -10920,15 +10878,15 @@ "binop": null }, "value": "loadBytes", - "start": 1211, - "end": 1220, + "start": 1203, + "end": 1212, "loc": { "start": { - "line": 51, + "line": 50, "column": 26 }, "end": { - "line": 51, + "line": 50, "column": 35 } } @@ -10947,15 +10905,15 @@ "updateContext": null }, "value": "=", - "start": 1227, - "end": 1228, + "start": 1219, + "end": 1220, "loc": { "start": { - "line": 51, + "line": 50, "column": 42 }, "end": { - "line": 51, + "line": 50, "column": 43 } } @@ -10974,15 +10932,15 @@ "binop": null }, "value": "function", - "start": 1229, - "end": 1237, + "start": 1221, + "end": 1229, "loc": { "start": { - "line": 51, + "line": 50, "column": 44 }, "end": { - "line": 51, + "line": 50, "column": 52 } } @@ -10999,15 +10957,15 @@ "postfix": false, "binop": null }, - "start": 1237, - "end": 1238, + "start": 1229, + "end": 1230, "loc": { "start": { - "line": 51, + "line": 50, "column": 52 }, "end": { - "line": 51, + "line": 50, "column": 53 } } @@ -11025,15 +10983,15 @@ "binop": null }, "value": "path", - "start": 1238, - "end": 1242, + "start": 1230, + "end": 1234, "loc": { "start": { - "line": 51, + "line": 50, "column": 53 }, "end": { - "line": 51, + "line": 50, "column": 57 } } @@ -11041,15 +10999,15 @@ { "type": "CommentBlock", "value": "String", - "start": 1242, - "end": 1252, + "start": 1234, + "end": 1244, "loc": { "start": { - "line": 51, + "line": 50, "column": 57 }, "end": { - "line": 51, + "line": 50, "column": 67 } } @@ -11067,15 +11025,15 @@ "binop": null, "updateContext": null }, - "start": 1252, - "end": 1253, + "start": 1244, + "end": 1245, "loc": { "start": { - "line": 51, + "line": 50, "column": 67 }, "end": { - "line": 51, + "line": 50, "column": 68 } } @@ -11093,15 +11051,15 @@ "binop": null }, "value": "callback", - "start": 1254, - "end": 1262, + "start": 1246, + "end": 1254, "loc": { "start": { - "line": 51, + "line": 50, "column": 69 }, "end": { - "line": 51, + "line": 50, "column": 77 } } @@ -11118,15 +11076,15 @@ "postfix": false, "binop": null }, - "start": 1262, - "end": 1263, + "start": 1254, + "end": 1255, "loc": { "start": { - "line": 51, + "line": 50, "column": 77 }, "end": { - "line": 51, + "line": 50, "column": 78 } } @@ -11143,15 +11101,15 @@ "postfix": false, "binop": null }, - "start": 1264, - "end": 1265, + "start": 1256, + "end": 1257, "loc": { "start": { - "line": 52, + "line": 51, "column": 0 }, "end": { - "line": 52, + "line": 51, "column": 1 } } @@ -11171,15 +11129,15 @@ "updateContext": null }, "value": "var", - "start": 1270, - "end": 1273, + "start": 1262, + "end": 1265, "loc": { "start": { - "line": 53, + "line": 52, "column": 4 }, "end": { - "line": 53, + "line": 52, "column": 7 } } @@ -11197,15 +11155,15 @@ "binop": null }, "value": "request", - "start": 1274, - "end": 1281, + "start": 1266, + "end": 1273, "loc": { "start": { - "line": 53, + "line": 52, "column": 8 }, "end": { - "line": 53, + "line": 52, "column": 15 } } @@ -11224,15 +11182,15 @@ "updateContext": null }, "value": "=", - "start": 1282, - "end": 1283, + "start": 1274, + "end": 1275, "loc": { "start": { - "line": 53, + "line": 52, "column": 16 }, "end": { - "line": 53, + "line": 52, "column": 17 } } @@ -11252,15 +11210,15 @@ "updateContext": null }, "value": "new", - "start": 1284, - "end": 1287, + "start": 1276, + "end": 1279, "loc": { "start": { - "line": 53, + "line": 52, "column": 18 }, "end": { - "line": 53, + "line": 52, "column": 21 } } @@ -11278,15 +11236,15 @@ "binop": null }, "value": "XMLHttpRequest", - "start": 1288, - "end": 1302, + "start": 1280, + "end": 1294, "loc": { "start": { - "line": 53, + "line": 52, "column": 22 }, "end": { - "line": 53, + "line": 52, "column": 36 } } @@ -11303,15 +11261,15 @@ "postfix": false, "binop": null }, - "start": 1302, - "end": 1303, + "start": 1294, + "end": 1295, "loc": { "start": { - "line": 53, + "line": 52, "column": 36 }, "end": { - "line": 53, + "line": 52, "column": 37 } } @@ -11328,15 +11286,15 @@ "postfix": false, "binop": null }, - "start": 1303, - "end": 1304, + "start": 1295, + "end": 1296, "loc": { "start": { - "line": 53, + "line": 52, "column": 37 }, "end": { - "line": 53, + "line": 52, "column": 38 } } @@ -11354,15 +11312,15 @@ "binop": null, "updateContext": null }, - "start": 1304, - "end": 1305, + "start": 1296, + "end": 1297, "loc": { "start": { - "line": 53, + "line": 52, "column": 38 }, "end": { - "line": 53, + "line": 52, "column": 39 } } @@ -11380,15 +11338,15 @@ "binop": null }, "value": "request", - "start": 1310, - "end": 1317, + "start": 1302, + "end": 1309, "loc": { "start": { - "line": 54, + "line": 53, "column": 4 }, "end": { - "line": 54, + "line": 53, "column": 11 } } @@ -11406,15 +11364,15 @@ "binop": null, "updateContext": null }, - "start": 1317, - "end": 1318, + "start": 1309, + "end": 1310, "loc": { "start": { - "line": 54, + "line": 53, "column": 11 }, "end": { - "line": 54, + "line": 53, "column": 12 } } @@ -11432,15 +11390,15 @@ "binop": null }, "value": "open", - "start": 1318, - "end": 1322, + "start": 1310, + "end": 1314, "loc": { "start": { - "line": 54, + "line": 53, "column": 12 }, "end": { - "line": 54, + "line": 53, "column": 16 } } @@ -11457,15 +11415,15 @@ "postfix": false, "binop": null }, - "start": 1322, - "end": 1323, + "start": 1314, + "end": 1315, "loc": { "start": { - "line": 54, + "line": 53, "column": 16 }, "end": { - "line": 54, + "line": 53, "column": 17 } } @@ -11484,15 +11442,15 @@ "updateContext": null }, "value": "GET", - "start": 1323, - "end": 1328, + "start": 1315, + "end": 1320, "loc": { "start": { - "line": 54, + "line": 53, "column": 17 }, "end": { - "line": 54, + "line": 53, "column": 22 } } @@ -11510,15 +11468,15 @@ "binop": null, "updateContext": null }, - "start": 1328, - "end": 1329, + "start": 1320, + "end": 1321, "loc": { "start": { - "line": 54, + "line": 53, "column": 22 }, "end": { - "line": 54, + "line": 53, "column": 23 } } @@ -11536,15 +11494,15 @@ "binop": null }, "value": "path", - "start": 1330, - "end": 1334, + "start": 1322, + "end": 1326, "loc": { "start": { - "line": 54, + "line": 53, "column": 24 }, "end": { - "line": 54, + "line": 53, "column": 28 } } @@ -11562,15 +11520,15 @@ "binop": null, "updateContext": null }, - "start": 1334, - "end": 1335, + "start": 1326, + "end": 1327, "loc": { "start": { - "line": 54, + "line": 53, "column": 28 }, "end": { - "line": 54, + "line": 53, "column": 29 } } @@ -11590,15 +11548,15 @@ "updateContext": null }, "value": "true", - "start": 1336, - "end": 1340, + "start": 1328, + "end": 1332, "loc": { "start": { - "line": 54, + "line": 53, "column": 30 }, "end": { - "line": 54, + "line": 53, "column": 34 } } @@ -11615,15 +11573,15 @@ "postfix": false, "binop": null }, - "start": 1340, - "end": 1341, + "start": 1332, + "end": 1333, "loc": { "start": { - "line": 54, + "line": 53, "column": 34 }, "end": { - "line": 54, + "line": 53, "column": 35 } } @@ -11641,15 +11599,15 @@ "binop": null, "updateContext": null }, - "start": 1341, - "end": 1342, + "start": 1333, + "end": 1334, "loc": { "start": { - "line": 54, + "line": 53, "column": 35 }, "end": { - "line": 54, + "line": 53, "column": 36 } } @@ -11667,15 +11625,15 @@ "binop": null }, "value": "request", - "start": 1347, - "end": 1354, + "start": 1339, + "end": 1346, "loc": { "start": { - "line": 55, + "line": 54, "column": 4 }, "end": { - "line": 55, + "line": 54, "column": 11 } } @@ -11693,15 +11651,15 @@ "binop": null, "updateContext": null }, - "start": 1354, - "end": 1355, + "start": 1346, + "end": 1347, "loc": { "start": { - "line": 55, + "line": 54, "column": 11 }, "end": { - "line": 55, + "line": 54, "column": 12 } } @@ -11719,15 +11677,15 @@ "binop": null }, "value": "responseType", - "start": 1355, - "end": 1367, + "start": 1347, + "end": 1359, "loc": { "start": { - "line": 55, + "line": 54, "column": 12 }, "end": { - "line": 55, + "line": 54, "column": 24 } } @@ -11746,15 +11704,15 @@ "updateContext": null }, "value": "=", - "start": 1368, - "end": 1369, + "start": 1360, + "end": 1361, "loc": { "start": { - "line": 55, + "line": 54, "column": 25 }, "end": { - "line": 55, + "line": 54, "column": 26 } } @@ -11773,15 +11731,15 @@ "updateContext": null }, "value": "arraybuffer", - "start": 1370, - "end": 1383, + "start": 1362, + "end": 1375, "loc": { "start": { - "line": 55, + "line": 54, "column": 27 }, "end": { - "line": 55, + "line": 54, "column": 40 } } @@ -11799,15 +11757,15 @@ "binop": null, "updateContext": null }, - "start": 1383, - "end": 1384, + "start": 1375, + "end": 1376, "loc": { "start": { - "line": 55, + "line": 54, "column": 40 }, "end": { - "line": 55, + "line": 54, "column": 41 } } @@ -11825,15 +11783,15 @@ "binop": null }, "value": "request", - "start": 1389, - "end": 1396, + "start": 1381, + "end": 1388, "loc": { "start": { - "line": 56, + "line": 55, "column": 4 }, "end": { - "line": 56, + "line": 55, "column": 11 } } @@ -11851,15 +11809,15 @@ "binop": null, "updateContext": null }, - "start": 1396, - "end": 1397, + "start": 1388, + "end": 1389, "loc": { "start": { - "line": 56, + "line": 55, "column": 11 }, "end": { - "line": 56, + "line": 55, "column": 12 } } @@ -11877,15 +11835,15 @@ "binop": null }, "value": "onload", - "start": 1397, - "end": 1403, + "start": 1389, + "end": 1395, "loc": { "start": { - "line": 56, + "line": 55, "column": 12 }, "end": { - "line": 56, + "line": 55, "column": 18 } } @@ -11904,15 +11862,15 @@ "updateContext": null }, "value": "=", - "start": 1404, - "end": 1405, + "start": 1396, + "end": 1397, "loc": { "start": { - "line": 56, + "line": 55, "column": 19 }, "end": { - "line": 56, + "line": 55, "column": 20 } } @@ -11931,15 +11889,15 @@ "binop": null }, "value": "function", - "start": 1406, - "end": 1414, + "start": 1398, + "end": 1406, "loc": { "start": { - "line": 56, + "line": 55, "column": 21 }, "end": { - "line": 56, + "line": 55, "column": 29 } } @@ -11956,15 +11914,15 @@ "postfix": false, "binop": null }, - "start": 1414, - "end": 1415, + "start": 1406, + "end": 1407, "loc": { "start": { - "line": 56, + "line": 55, "column": 29 }, "end": { - "line": 56, + "line": 55, "column": 30 } } @@ -11981,15 +11939,15 @@ "postfix": false, "binop": null }, - "start": 1415, - "end": 1416, + "start": 1407, + "end": 1408, "loc": { "start": { - "line": 56, + "line": 55, "column": 30 }, "end": { - "line": 56, + "line": 55, "column": 31 } } @@ -12006,15 +11964,15 @@ "postfix": false, "binop": null }, - "start": 1416, - "end": 1417, + "start": 1408, + "end": 1409, "loc": { "start": { - "line": 56, + "line": 55, "column": 31 }, "end": { - "line": 56, + "line": 55, "column": 32 } } @@ -12034,15 +11992,15 @@ "updateContext": null }, "value": "switch", - "start": 1426, - "end": 1432, + "start": 1418, + "end": 1424, "loc": { "start": { - "line": 57, + "line": 56, "column": 8 }, "end": { - "line": 57, + "line": 56, "column": 14 } } @@ -12059,15 +12017,15 @@ "postfix": false, "binop": null }, - "start": 1432, - "end": 1433, + "start": 1424, + "end": 1425, "loc": { "start": { - "line": 57, + "line": 56, "column": 14 }, "end": { - "line": 57, + "line": 56, "column": 15 } } @@ -12085,15 +12043,15 @@ "binop": null }, "value": "request", - "start": 1433, - "end": 1440, + "start": 1425, + "end": 1432, "loc": { "start": { - "line": 57, + "line": 56, "column": 15 }, "end": { - "line": 57, + "line": 56, "column": 22 } } @@ -12111,15 +12069,15 @@ "binop": null, "updateContext": null }, - "start": 1440, - "end": 1441, + "start": 1432, + "end": 1433, "loc": { "start": { - "line": 57, + "line": 56, "column": 22 }, "end": { - "line": 57, + "line": 56, "column": 23 } } @@ -12137,15 +12095,15 @@ "binop": null }, "value": "status", - "start": 1441, - "end": 1447, + "start": 1433, + "end": 1439, "loc": { "start": { - "line": 57, + "line": 56, "column": 23 }, "end": { - "line": 57, + "line": 56, "column": 29 } } @@ -12162,15 +12120,15 @@ "postfix": false, "binop": null }, - "start": 1447, - "end": 1448, + "start": 1439, + "end": 1440, "loc": { "start": { - "line": 57, + "line": 56, "column": 29 }, "end": { - "line": 57, + "line": 56, "column": 30 } } @@ -12187,15 +12145,15 @@ "postfix": false, "binop": null }, - "start": 1448, - "end": 1449, + "start": 1440, + "end": 1441, "loc": { "start": { - "line": 57, + "line": 56, "column": 30 }, "end": { - "line": 57, + "line": 56, "column": 31 } } @@ -12215,15 +12173,15 @@ "updateContext": null }, "value": "case", - "start": 1458, - "end": 1462, + "start": 1450, + "end": 1454, "loc": { "start": { - "line": 58, + "line": 57, "column": 8 }, "end": { - "line": 58, + "line": 57, "column": 12 } } @@ -12242,15 +12200,15 @@ "updateContext": null }, "value": 200, - "start": 1463, - "end": 1466, + "start": 1455, + "end": 1458, "loc": { "start": { - "line": 58, + "line": 57, "column": 13 }, "end": { - "line": 58, + "line": 57, "column": 16 } } @@ -12268,15 +12226,15 @@ "binop": null, "updateContext": null }, - "start": 1466, - "end": 1467, + "start": 1458, + "end": 1459, "loc": { "start": { - "line": 58, + "line": 57, "column": 16 }, "end": { - "line": 58, + "line": 57, "column": 17 } } @@ -12294,15 +12252,15 @@ "binop": null }, "value": "callback", - "start": 1480, - "end": 1488, + "start": 1472, + "end": 1480, "loc": { "start": { - "line": 59, + "line": 58, "column": 12 }, "end": { - "line": 59, + "line": 58, "column": 20 } } @@ -12319,15 +12277,15 @@ "postfix": false, "binop": null }, - "start": 1488, - "end": 1489, + "start": 1480, + "end": 1481, "loc": { "start": { - "line": 59, + "line": 58, "column": 20 }, "end": { - "line": 59, + "line": 58, "column": 21 } } @@ -12345,15 +12303,15 @@ "binop": null }, "value": "request", - "start": 1489, - "end": 1496, + "start": 1481, + "end": 1488, "loc": { "start": { - "line": 59, + "line": 58, "column": 21 }, "end": { - "line": 59, + "line": 58, "column": 28 } } @@ -12371,15 +12329,15 @@ "binop": null, "updateContext": null }, - "start": 1496, - "end": 1497, + "start": 1488, + "end": 1489, "loc": { "start": { - "line": 59, + "line": 58, "column": 28 }, "end": { - "line": 59, + "line": 58, "column": 29 } } @@ -12397,15 +12355,15 @@ "binop": null }, "value": "response", - "start": 1497, - "end": 1505, + "start": 1489, + "end": 1497, "loc": { "start": { - "line": 59, + "line": 58, "column": 29 }, "end": { - "line": 59, + "line": 58, "column": 37 } } @@ -12422,15 +12380,15 @@ "postfix": false, "binop": null }, - "start": 1505, - "end": 1506, + "start": 1497, + "end": 1498, "loc": { "start": { - "line": 59, + "line": 58, "column": 37 }, "end": { - "line": 59, + "line": 58, "column": 38 } } @@ -12448,15 +12406,15 @@ "binop": null, "updateContext": null }, - "start": 1506, - "end": 1507, + "start": 1498, + "end": 1499, "loc": { "start": { - "line": 59, + "line": 58, "column": 38 }, "end": { - "line": 59, + "line": 58, "column": 39 } } @@ -12476,15 +12434,15 @@ "updateContext": null }, "value": "break", - "start": 1520, - "end": 1525, + "start": 1512, + "end": 1517, "loc": { "start": { - "line": 60, + "line": 59, "column": 12 }, "end": { - "line": 60, + "line": 59, "column": 17 } } @@ -12502,15 +12460,15 @@ "binop": null, "updateContext": null }, - "start": 1525, - "end": 1526, + "start": 1517, + "end": 1518, "loc": { "start": { - "line": 60, + "line": 59, "column": 17 }, "end": { - "line": 60, + "line": 59, "column": 18 } } @@ -12530,15 +12488,15 @@ "updateContext": null }, "value": "default", - "start": 1535, - "end": 1542, + "start": 1527, + "end": 1534, "loc": { "start": { - "line": 61, + "line": 60, "column": 8 }, "end": { - "line": 61, + "line": 60, "column": 15 } } @@ -12556,15 +12514,15 @@ "binop": null, "updateContext": null }, - "start": 1542, - "end": 1543, + "start": 1534, + "end": 1535, "loc": { "start": { - "line": 61, + "line": 60, "column": 15 }, "end": { - "line": 61, + "line": 60, "column": 16 } } @@ -12582,15 +12540,15 @@ "binop": null }, "value": "console", - "start": 1556, - "end": 1563, + "start": 1548, + "end": 1555, "loc": { "start": { - "line": 62, + "line": 61, "column": 12 }, "end": { - "line": 62, + "line": 61, "column": 19 } } @@ -12608,15 +12566,15 @@ "binop": null, "updateContext": null }, - "start": 1563, - "end": 1564, + "start": 1555, + "end": 1556, "loc": { "start": { - "line": 62, + "line": 61, "column": 19 }, "end": { - "line": 62, + "line": 61, "column": 20 } } @@ -12634,15 +12592,15 @@ "binop": null }, "value": "error", - "start": 1564, - "end": 1569, + "start": 1556, + "end": 1561, "loc": { "start": { - "line": 62, + "line": 61, "column": 20 }, "end": { - "line": 62, + "line": 61, "column": 25 } } @@ -12659,15 +12617,15 @@ "postfix": false, "binop": null }, - "start": 1569, - "end": 1570, + "start": 1561, + "end": 1562, "loc": { "start": { - "line": 62, + "line": 61, "column": 25 }, "end": { - "line": 62, + "line": 61, "column": 26 } } @@ -12686,15 +12644,15 @@ "updateContext": null }, "value": "Failed to load (", - "start": 1570, - "end": 1588, + "start": 1562, + "end": 1580, "loc": { "start": { - "line": 62, + "line": 61, "column": 26 }, "end": { - "line": 62, + "line": 61, "column": 44 } } @@ -12713,15 +12671,15 @@ "updateContext": null }, "value": "+", - "start": 1589, - "end": 1590, + "start": 1581, + "end": 1582, "loc": { "start": { - "line": 62, + "line": 61, "column": 45 }, "end": { - "line": 62, + "line": 61, "column": 46 } } @@ -12739,15 +12697,15 @@ "binop": null }, "value": "request", - "start": 1591, - "end": 1598, + "start": 1583, + "end": 1590, "loc": { "start": { - "line": 62, + "line": 61, "column": 47 }, "end": { - "line": 62, + "line": 61, "column": 54 } } @@ -12765,15 +12723,15 @@ "binop": null, "updateContext": null }, - "start": 1598, - "end": 1599, + "start": 1590, + "end": 1591, "loc": { "start": { - "line": 62, + "line": 61, "column": 54 }, "end": { - "line": 62, + "line": 61, "column": 55 } } @@ -12791,15 +12749,15 @@ "binop": null }, "value": "status", - "start": 1599, - "end": 1605, + "start": 1591, + "end": 1597, "loc": { "start": { - "line": 62, + "line": 61, "column": 55 }, "end": { - "line": 62, + "line": 61, "column": 61 } } @@ -12818,15 +12776,15 @@ "updateContext": null }, "value": "+", - "start": 1606, - "end": 1607, + "start": 1598, + "end": 1599, "loc": { "start": { - "line": 62, + "line": 61, "column": 62 }, "end": { - "line": 62, + "line": 61, "column": 63 } } @@ -12845,15 +12803,15 @@ "updateContext": null }, "value": ") : ", - "start": 1608, - "end": 1614, + "start": 1600, + "end": 1606, "loc": { "start": { - "line": 62, + "line": 61, "column": 64 }, "end": { - "line": 62, + "line": 61, "column": 70 } } @@ -12872,15 +12830,15 @@ "updateContext": null }, "value": "+", - "start": 1615, - "end": 1616, + "start": 1607, + "end": 1608, "loc": { "start": { - "line": 62, + "line": 61, "column": 71 }, "end": { - "line": 62, + "line": 61, "column": 72 } } @@ -12898,15 +12856,15 @@ "binop": null }, "value": "path", - "start": 1617, - "end": 1621, + "start": 1609, + "end": 1613, "loc": { "start": { - "line": 62, + "line": 61, "column": 73 }, "end": { - "line": 62, + "line": 61, "column": 77 } } @@ -12923,15 +12881,15 @@ "postfix": false, "binop": null }, - "start": 1621, - "end": 1622, + "start": 1613, + "end": 1614, "loc": { "start": { - "line": 62, + "line": 61, "column": 77 }, "end": { - "line": 62, + "line": 61, "column": 78 } } @@ -12949,15 +12907,15 @@ "binop": null, "updateContext": null }, - "start": 1622, - "end": 1623, + "start": 1614, + "end": 1615, "loc": { "start": { - "line": 62, + "line": 61, "column": 78 }, "end": { - "line": 62, + "line": 61, "column": 79 } } @@ -12977,15 +12935,15 @@ "updateContext": null }, "value": "break", - "start": 1636, - "end": 1641, + "start": 1628, + "end": 1633, "loc": { "start": { - "line": 63, + "line": 62, "column": 12 }, "end": { - "line": 63, + "line": 62, "column": 17 } } @@ -13003,15 +12961,15 @@ "binop": null, "updateContext": null }, - "start": 1641, - "end": 1642, + "start": 1633, + "end": 1634, "loc": { "start": { - "line": 63, + "line": 62, "column": 17 }, "end": { - "line": 63, + "line": 62, "column": 18 } } @@ -13028,15 +12986,15 @@ "postfix": false, "binop": null }, - "start": 1651, - "end": 1652, + "start": 1643, + "end": 1644, "loc": { "start": { - "line": 64, + "line": 63, "column": 8 }, "end": { - "line": 64, + "line": 63, "column": 9 } } @@ -13053,15 +13011,15 @@ "postfix": false, "binop": null }, - "start": 1657, - "end": 1658, + "start": 1649, + "end": 1650, "loc": { "start": { - "line": 65, + "line": 64, "column": 4 }, "end": { - "line": 65, + "line": 64, "column": 5 } } @@ -13079,15 +13037,15 @@ "binop": null }, "value": "request", - "start": 1663, - "end": 1670, + "start": 1655, + "end": 1662, "loc": { "start": { - "line": 66, + "line": 65, "column": 4 }, "end": { - "line": 66, + "line": 65, "column": 11 } } @@ -13105,15 +13063,15 @@ "binop": null, "updateContext": null }, - "start": 1670, - "end": 1671, + "start": 1662, + "end": 1663, "loc": { "start": { - "line": 66, + "line": 65, "column": 11 }, "end": { - "line": 66, + "line": 65, "column": 12 } } @@ -13131,15 +13089,15 @@ "binop": null }, "value": "send", - "start": 1671, - "end": 1675, + "start": 1663, + "end": 1667, "loc": { "start": { - "line": 66, + "line": 65, "column": 12 }, "end": { - "line": 66, + "line": 65, "column": 16 } } @@ -13156,15 +13114,15 @@ "postfix": false, "binop": null }, - "start": 1675, - "end": 1676, + "start": 1667, + "end": 1668, "loc": { "start": { - "line": 66, + "line": 65, "column": 16 }, "end": { - "line": 66, + "line": 65, "column": 17 } } @@ -13184,15 +13142,15 @@ "updateContext": null }, "value": "null", - "start": 1676, - "end": 1680, + "start": 1668, + "end": 1672, "loc": { "start": { - "line": 66, + "line": 65, "column": 17 }, "end": { - "line": 66, + "line": 65, "column": 21 } } @@ -13209,15 +13167,15 @@ "postfix": false, "binop": null }, - "start": 1680, - "end": 1681, + "start": 1672, + "end": 1673, "loc": { "start": { - "line": 66, + "line": 65, "column": 21 }, "end": { - "line": 66, + "line": 65, "column": 22 } } @@ -13235,15 +13193,15 @@ "binop": null, "updateContext": null }, - "start": 1681, - "end": 1682, + "start": 1673, + "end": 1674, "loc": { "start": { - "line": 66, + "line": 65, "column": 22 }, "end": { - "line": 66, + "line": 65, "column": 23 } } @@ -13251,15 +13209,15 @@ { "type": "CommentLine", "value": " return request;", - "start": 1687, - "end": 1705, + "start": 1679, + "end": 1697, "loc": { "start": { - "line": 67, + "line": 66, "column": 4 }, "end": { - "line": 67, + "line": 66, "column": 22 } } @@ -13276,15 +13234,15 @@ "postfix": false, "binop": null }, - "start": 1706, - "end": 1707, + "start": 1698, + "end": 1699, "loc": { "start": { - "line": 68, + "line": 67, "column": 0 }, "end": { - "line": 68, + "line": 67, "column": 1 } } @@ -13292,15 +13250,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 1710, - "end": 1772, + "start": 1702, + "end": 1764, "loc": { "start": { - "line": 71, + "line": 70, "column": 0 }, "end": { - "line": 71, + "line": 70, "column": 62 } } @@ -13308,15 +13266,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadString()", - "start": 1773, - "end": 1809, + "start": 1765, + "end": 1801, "loc": { "start": { - "line": 72, + "line": 71, "column": 0 }, "end": { - "line": 72, + "line": 71, "column": 36 } } @@ -13324,15 +13282,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 1810, - "end": 1872, + "start": 1802, + "end": 1864, "loc": { "start": { - "line": 73, + "line": 72, "column": 0 }, "end": { - "line": 73, + "line": 72, "column": 62 } } @@ -13340,15 +13298,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadString\n* @desc load bytes from the path and put it into buffer\n* @param {String} path\n* @returns buffer {raw} context\n* @memberOf PlatformManager\n", - "start": 1874, - "end": 2038, + "start": 1866, + "end": 2030, "loc": { "start": { - "line": 75, + "line": 74, "column": 0 }, "end": { - "line": 81, + "line": 80, "column": 2 } } @@ -13366,15 +13324,15 @@ "binop": null }, "value": "PlatformManager", - "start": 2039, - "end": 2054, + "start": 2031, + "end": 2046, "loc": { "start": { - "line": 82, + "line": 81, "column": 0 }, "end": { - "line": 82, + "line": 81, "column": 15 } } @@ -13392,15 +13350,15 @@ "binop": null, "updateContext": null }, - "start": 2054, - "end": 2055, + "start": 2046, + "end": 2047, "loc": { "start": { - "line": 82, + "line": 81, "column": 15 }, "end": { - "line": 82, + "line": 81, "column": 16 } } @@ -13418,15 +13376,15 @@ "binop": null }, "value": "prototype", - "start": 2055, - "end": 2064, + "start": 2047, + "end": 2056, "loc": { "start": { - "line": 82, + "line": 81, "column": 16 }, "end": { - "line": 82, + "line": 81, "column": 25 } } @@ -13444,15 +13402,15 @@ "binop": null, "updateContext": null }, - "start": 2064, - "end": 2065, + "start": 2056, + "end": 2057, "loc": { "start": { - "line": 82, + "line": 81, "column": 25 }, "end": { - "line": 82, + "line": 81, "column": 26 } } @@ -13470,15 +13428,15 @@ "binop": null }, "value": "loadString", - "start": 2065, - "end": 2075, + "start": 2057, + "end": 2067, "loc": { "start": { - "line": 82, + "line": 81, "column": 26 }, "end": { - "line": 82, + "line": 81, "column": 36 } } @@ -13497,15 +13455,15 @@ "updateContext": null }, "value": "=", - "start": 2081, - "end": 2082, + "start": 2073, + "end": 2074, "loc": { "start": { - "line": 82, + "line": 81, "column": 42 }, "end": { - "line": 82, + "line": 81, "column": 43 } } @@ -13524,15 +13482,15 @@ "binop": null }, "value": "function", - "start": 2083, - "end": 2091, + "start": 2075, + "end": 2083, "loc": { "start": { - "line": 82, + "line": 81, "column": 44 }, "end": { - "line": 82, + "line": 81, "column": 52 } } @@ -13549,15 +13507,15 @@ "postfix": false, "binop": null }, - "start": 2091, - "end": 2092, + "start": 2083, + "end": 2084, "loc": { "start": { - "line": 82, + "line": 81, "column": 52 }, "end": { - "line": 82, + "line": 81, "column": 53 } } @@ -13575,15 +13533,15 @@ "binop": null }, "value": "path", - "start": 2092, - "end": 2096, + "start": 2084, + "end": 2088, "loc": { "start": { - "line": 82, + "line": 81, "column": 53 }, "end": { - "line": 82, + "line": 81, "column": 57 } } @@ -13591,15 +13549,15 @@ { "type": "CommentBlock", "value": "String", - "start": 2096, - "end": 2106, + "start": 2088, + "end": 2098, "loc": { "start": { - "line": 82, + "line": 81, "column": 57 }, "end": { - "line": 82, + "line": 81, "column": 67 } } @@ -13616,15 +13574,15 @@ "postfix": false, "binop": null }, - "start": 2106, - "end": 2107, + "start": 2098, + "end": 2099, "loc": { "start": { - "line": 82, + "line": 81, "column": 67 }, "end": { - "line": 82, + "line": 81, "column": 68 } } @@ -13641,15 +13599,15 @@ "postfix": false, "binop": null }, - "start": 2108, - "end": 2109, + "start": 2100, + "end": 2101, "loc": { "start": { - "line": 83, + "line": 82, "column": 0 }, "end": { - "line": 83, + "line": 82, "column": 1 } } @@ -13669,15 +13627,15 @@ "updateContext": null }, "value": "this", - "start": 2115, - "end": 2119, + "start": 2107, + "end": 2111, "loc": { "start": { - "line": 85, + "line": 84, "column": 4 }, "end": { - "line": 85, + "line": 84, "column": 8 } } @@ -13695,15 +13653,15 @@ "binop": null, "updateContext": null }, - "start": 2119, - "end": 2120, + "start": 2111, + "end": 2112, "loc": { "start": { - "line": 85, + "line": 84, "column": 8 }, "end": { - "line": 85, + "line": 84, "column": 9 } } @@ -13721,15 +13679,15 @@ "binop": null }, "value": "loadBytes", - "start": 2120, - "end": 2129, + "start": 2112, + "end": 2121, "loc": { "start": { - "line": 85, + "line": 84, "column": 9 }, "end": { - "line": 85, + "line": 84, "column": 18 } } @@ -13746,15 +13704,15 @@ "postfix": false, "binop": null }, - "start": 2129, - "end": 2130, + "start": 2121, + "end": 2122, "loc": { "start": { - "line": 85, + "line": 84, "column": 18 }, "end": { - "line": 85, + "line": 84, "column": 19 } } @@ -13772,15 +13730,15 @@ "binop": null }, "value": "path", - "start": 2130, - "end": 2134, + "start": 2122, + "end": 2126, "loc": { "start": { - "line": 85, + "line": 84, "column": 19 }, "end": { - "line": 85, + "line": 84, "column": 23 } } @@ -13798,15 +13756,15 @@ "binop": null, "updateContext": null }, - "start": 2134, - "end": 2135, + "start": 2126, + "end": 2127, "loc": { "start": { - "line": 85, + "line": 84, "column": 23 }, "end": { - "line": 85, + "line": 84, "column": 24 } } @@ -13825,15 +13783,15 @@ "binop": null }, "value": "function", - "start": 2136, - "end": 2144, + "start": 2128, + "end": 2136, "loc": { "start": { - "line": 85, + "line": 84, "column": 25 }, "end": { - "line": 85, + "line": 84, "column": 33 } } @@ -13850,15 +13808,15 @@ "postfix": false, "binop": null }, - "start": 2144, - "end": 2145, + "start": 2136, + "end": 2137, "loc": { "start": { - "line": 85, + "line": 84, "column": 33 }, "end": { - "line": 85, + "line": 84, "column": 34 } } @@ -13876,15 +13834,15 @@ "binop": null }, "value": "buf", - "start": 2145, - "end": 2148, + "start": 2137, + "end": 2140, "loc": { "start": { - "line": 85, + "line": 84, "column": 34 }, "end": { - "line": 85, + "line": 84, "column": 37 } } @@ -13901,15 +13859,15 @@ "postfix": false, "binop": null }, - "start": 2148, - "end": 2149, + "start": 2140, + "end": 2141, "loc": { "start": { - "line": 85, + "line": 84, "column": 37 }, "end": { - "line": 85, + "line": 84, "column": 38 } } @@ -13926,15 +13884,15 @@ "postfix": false, "binop": null }, - "start": 2150, - "end": 2151, + "start": 2142, + "end": 2143, "loc": { "start": { - "line": 85, + "line": 84, "column": 39 }, "end": { - "line": 85, + "line": 84, "column": 40 } } @@ -13954,15 +13912,15 @@ "updateContext": null }, "value": "return", - "start": 2160, - "end": 2166, + "start": 2152, + "end": 2158, "loc": { "start": { - "line": 86, + "line": 85, "column": 8 }, "end": { - "line": 86, + "line": 85, "column": 14 } } @@ -13980,15 +13938,15 @@ "binop": null }, "value": "buf", - "start": 2167, - "end": 2170, + "start": 2159, + "end": 2162, "loc": { "start": { - "line": 86, + "line": 85, "column": 15 }, "end": { - "line": 86, + "line": 85, "column": 18 } } @@ -14006,15 +13964,15 @@ "binop": null, "updateContext": null }, - "start": 2170, - "end": 2171, + "start": 2162, + "end": 2163, "loc": { "start": { - "line": 86, + "line": 85, "column": 18 }, "end": { - "line": 86, + "line": 85, "column": 19 } } @@ -14031,15 +13989,15 @@ "postfix": false, "binop": null }, - "start": 2176, - "end": 2177, + "start": 2168, + "end": 2169, "loc": { "start": { - "line": 87, + "line": 86, "column": 4 }, "end": { - "line": 87, + "line": 86, "column": 5 } } @@ -14056,15 +14014,15 @@ "postfix": false, "binop": null }, - "start": 2177, - "end": 2178, + "start": 2169, + "end": 2170, "loc": { "start": { - "line": 87, + "line": 86, "column": 5 }, "end": { - "line": 87, + "line": 86, "column": 6 } } @@ -14082,15 +14040,15 @@ "binop": null, "updateContext": null }, - "start": 2178, - "end": 2179, + "start": 2170, + "end": 2171, "loc": { "start": { - "line": 87, + "line": 86, "column": 6 }, "end": { - "line": 87, + "line": 86, "column": 7 } } @@ -14107,15 +14065,15 @@ "postfix": false, "binop": null }, - "start": 2181, - "end": 2182, + "start": 2173, + "end": 2174, "loc": { "start": { - "line": 89, + "line": 88, "column": 0 }, "end": { - "line": 89, + "line": 88, "column": 1 } } @@ -14123,15 +14081,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2185, - "end": 2247, + "start": 2177, + "end": 2239, "loc": { "start": { - "line": 92, + "line": 91, "column": 0 }, "end": { - "line": 92, + "line": 91, "column": 62 } } @@ -14139,15 +14097,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadLive2DModel()", - "start": 2248, - "end": 2289, + "start": 2240, + "end": 2281, "loc": { "start": { - "line": 93, + "line": 92, "column": 0 }, "end": { - "line": 93, + "line": 92, "column": 41 } } @@ -14155,15 +14113,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2290, - "end": 2352, + "start": 2282, + "end": 2344, "loc": { "start": { - "line": 94, + "line": 93, "column": 0 }, "end": { - "line": 94, + "line": 93, "column": 62 } } @@ -14171,15 +14129,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadLive2DModel\n* @desc load Live2DModel from the path and put it into buffer\n* @param {String} path, {function} callback\n* @returns callback loaded model\n* @memberOf PlatformManager\n", - "start": 2354, - "end": 2551, + "start": 2346, + "end": 2543, "loc": { "start": { - "line": 96, + "line": 95, "column": 0 }, "end": { - "line": 102, + "line": 101, "column": 2 } } @@ -14197,15 +14155,15 @@ "binop": null }, "value": "PlatformManager", - "start": 2552, - "end": 2567, + "start": 2544, + "end": 2559, "loc": { "start": { - "line": 103, + "line": 102, "column": 0 }, "end": { - "line": 103, + "line": 102, "column": 15 } } @@ -14223,15 +14181,15 @@ "binop": null, "updateContext": null }, - "start": 2567, - "end": 2568, + "start": 2559, + "end": 2560, "loc": { "start": { - "line": 103, + "line": 102, "column": 15 }, "end": { - "line": 103, + "line": 102, "column": 16 } } @@ -14249,15 +14207,15 @@ "binop": null }, "value": "prototype", - "start": 2568, - "end": 2577, + "start": 2560, + "end": 2569, "loc": { "start": { - "line": 103, + "line": 102, "column": 16 }, "end": { - "line": 103, + "line": 102, "column": 25 } } @@ -14275,15 +14233,15 @@ "binop": null, "updateContext": null }, - "start": 2577, - "end": 2578, + "start": 2569, + "end": 2570, "loc": { "start": { - "line": 103, + "line": 102, "column": 25 }, "end": { - "line": 103, + "line": 102, "column": 26 } } @@ -14301,15 +14259,15 @@ "binop": null }, "value": "loadLive2DModel", - "start": 2578, - "end": 2593, + "start": 2570, + "end": 2585, "loc": { "start": { - "line": 103, + "line": 102, "column": 26 }, "end": { - "line": 103, + "line": 102, "column": 41 } } @@ -14328,15 +14286,15 @@ "updateContext": null }, "value": "=", - "start": 2594, - "end": 2595, + "start": 2586, + "end": 2587, "loc": { "start": { - "line": 103, + "line": 102, "column": 42 }, "end": { - "line": 103, + "line": 102, "column": 43 } } @@ -14355,15 +14313,15 @@ "binop": null }, "value": "function", - "start": 2596, - "end": 2604, + "start": 2588, + "end": 2596, "loc": { "start": { - "line": 103, + "line": 102, "column": 44 }, "end": { - "line": 103, + "line": 102, "column": 52 } } @@ -14380,15 +14338,15 @@ "postfix": false, "binop": null }, - "start": 2604, - "end": 2605, + "start": 2596, + "end": 2597, "loc": { "start": { - "line": 103, + "line": 102, "column": 52 }, "end": { - "line": 103, + "line": 102, "column": 53 } } @@ -14406,15 +14364,15 @@ "binop": null }, "value": "path", - "start": 2605, - "end": 2609, + "start": 2597, + "end": 2601, "loc": { "start": { - "line": 103, + "line": 102, "column": 53 }, "end": { - "line": 103, + "line": 102, "column": 57 } } @@ -14422,15 +14380,15 @@ { "type": "CommentBlock", "value": "String", - "start": 2609, - "end": 2619, + "start": 2601, + "end": 2611, "loc": { "start": { - "line": 103, + "line": 102, "column": 57 }, "end": { - "line": 103, + "line": 102, "column": 67 } } @@ -14448,15 +14406,15 @@ "binop": null, "updateContext": null }, - "start": 2619, - "end": 2620, + "start": 2611, + "end": 2612, "loc": { "start": { - "line": 103, + "line": 102, "column": 67 }, "end": { - "line": 103, + "line": 102, "column": 68 } } @@ -14474,15 +14432,15 @@ "binop": null }, "value": "callback", - "start": 2621, - "end": 2629, + "start": 2613, + "end": 2621, "loc": { "start": { - "line": 103, + "line": 102, "column": 69 }, "end": { - "line": 103, + "line": 102, "column": 77 } } @@ -14499,15 +14457,15 @@ "postfix": false, "binop": null }, - "start": 2629, - "end": 2630, + "start": 2621, + "end": 2622, "loc": { "start": { - "line": 103, + "line": 102, "column": 77 }, "end": { - "line": 103, + "line": 102, "column": 78 } } @@ -14524,15 +14482,15 @@ "postfix": false, "binop": null }, - "start": 2631, - "end": 2632, + "start": 2623, + "end": 2624, "loc": { "start": { - "line": 104, + "line": 103, "column": 0 }, "end": { - "line": 104, + "line": 103, "column": 1 } } @@ -14552,15 +14510,15 @@ "updateContext": null }, "value": "var", - "start": 2637, - "end": 2640, + "start": 2629, + "end": 2632, "loc": { "start": { - "line": 105, + "line": 104, "column": 4 }, "end": { - "line": 105, + "line": 104, "column": 7 } } @@ -14578,15 +14536,15 @@ "binop": null }, "value": "model", - "start": 2641, - "end": 2646, + "start": 2633, + "end": 2638, "loc": { "start": { - "line": 105, + "line": 104, "column": 8 }, "end": { - "line": 105, + "line": 104, "column": 13 } } @@ -14605,15 +14563,15 @@ "updateContext": null }, "value": "=", - "start": 2647, - "end": 2648, + "start": 2639, + "end": 2640, "loc": { "start": { - "line": 105, + "line": 104, "column": 14 }, "end": { - "line": 105, + "line": 104, "column": 15 } } @@ -14633,15 +14591,15 @@ "updateContext": null }, "value": "null", - "start": 2649, - "end": 2653, + "start": 2641, + "end": 2645, "loc": { "start": { - "line": 105, + "line": 104, "column": 16 }, "end": { - "line": 105, + "line": 104, "column": 20 } } @@ -14659,15 +14617,15 @@ "binop": null, "updateContext": null }, - "start": 2653, - "end": 2654, + "start": 2645, + "end": 2646, "loc": { "start": { - "line": 105, + "line": 104, "column": 20 }, "end": { - "line": 105, + "line": 104, "column": 21 } } @@ -14675,15 +14633,15 @@ { "type": "CommentLine", "value": " load moc", - "start": 2660, - "end": 2671, + "start": 2652, + "end": 2663, "loc": { "start": { - "line": 107, + "line": 106, "column": 4 }, "end": { - "line": 107, + "line": 106, "column": 15 } } @@ -14703,15 +14661,15 @@ "updateContext": null }, "value": "this", - "start": 2676, - "end": 2680, + "start": 2668, + "end": 2672, "loc": { "start": { - "line": 108, + "line": 107, "column": 4 }, "end": { - "line": 108, + "line": 107, "column": 8 } } @@ -14729,15 +14687,15 @@ "binop": null, "updateContext": null }, - "start": 2680, - "end": 2681, + "start": 2672, + "end": 2673, "loc": { "start": { - "line": 108, + "line": 107, "column": 8 }, "end": { - "line": 108, + "line": 107, "column": 9 } } @@ -14755,15 +14713,15 @@ "binop": null }, "value": "loadBytes", - "start": 2681, - "end": 2690, + "start": 2673, + "end": 2682, "loc": { "start": { - "line": 108, + "line": 107, "column": 9 }, "end": { - "line": 108, + "line": 107, "column": 18 } } @@ -14780,15 +14738,15 @@ "postfix": false, "binop": null }, - "start": 2690, - "end": 2691, + "start": 2682, + "end": 2683, "loc": { "start": { - "line": 108, + "line": 107, "column": 18 }, "end": { - "line": 108, + "line": 107, "column": 19 } } @@ -14806,15 +14764,15 @@ "binop": null }, "value": "path", - "start": 2691, - "end": 2695, + "start": 2683, + "end": 2687, "loc": { "start": { - "line": 108, + "line": 107, "column": 19 }, "end": { - "line": 108, + "line": 107, "column": 23 } } @@ -14832,15 +14790,15 @@ "binop": null, "updateContext": null }, - "start": 2695, - "end": 2696, + "start": 2687, + "end": 2688, "loc": { "start": { - "line": 108, + "line": 107, "column": 23 }, "end": { - "line": 108, + "line": 107, "column": 24 } } @@ -14859,15 +14817,15 @@ "binop": null }, "value": "function", - "start": 2697, - "end": 2705, + "start": 2689, + "end": 2697, "loc": { "start": { - "line": 108, + "line": 107, "column": 25 }, "end": { - "line": 108, + "line": 107, "column": 33 } } @@ -14884,15 +14842,15 @@ "postfix": false, "binop": null }, - "start": 2705, - "end": 2706, + "start": 2697, + "end": 2698, "loc": { "start": { - "line": 108, + "line": 107, "column": 33 }, "end": { - "line": 108, + "line": 107, "column": 34 } } @@ -14910,15 +14868,15 @@ "binop": null }, "value": "buf", - "start": 2706, - "end": 2709, + "start": 2698, + "end": 2701, "loc": { "start": { - "line": 108, + "line": 107, "column": 34 }, "end": { - "line": 108, + "line": 107, "column": 37 } } @@ -14935,15 +14893,15 @@ "postfix": false, "binop": null }, - "start": 2709, - "end": 2710, + "start": 2701, + "end": 2702, "loc": { "start": { - "line": 108, + "line": 107, "column": 37 }, "end": { - "line": 108, + "line": 107, "column": 38 } } @@ -14960,15 +14918,15 @@ "postfix": false, "binop": null }, - "start": 2710, - "end": 2711, + "start": 2702, + "end": 2703, "loc": { "start": { - "line": 108, + "line": 107, "column": 38 }, "end": { - "line": 108, + "line": 107, "column": 39 } } @@ -14986,15 +14944,15 @@ "binop": null }, "value": "model", - "start": 2720, - "end": 2725, + "start": 2712, + "end": 2717, "loc": { "start": { - "line": 109, + "line": 108, "column": 8 }, "end": { - "line": 109, + "line": 108, "column": 13 } } @@ -15013,15 +14971,15 @@ "updateContext": null }, "value": "=", - "start": 2726, - "end": 2727, + "start": 2718, + "end": 2719, "loc": { "start": { - "line": 109, + "line": 108, "column": 14 }, "end": { - "line": 109, + "line": 108, "column": 15 } } @@ -15039,15 +14997,15 @@ "binop": null }, "value": "Live2DModelWebGL", - "start": 2728, - "end": 2744, + "start": 2720, + "end": 2736, "loc": { "start": { - "line": 109, + "line": 108, "column": 16 }, "end": { - "line": 109, + "line": 108, "column": 32 } } @@ -15065,15 +15023,15 @@ "binop": null, "updateContext": null }, - "start": 2744, - "end": 2745, + "start": 2736, + "end": 2737, "loc": { "start": { - "line": 109, + "line": 108, "column": 32 }, "end": { - "line": 109, + "line": 108, "column": 33 } } @@ -15091,15 +15049,15 @@ "binop": null }, "value": "loadModel", - "start": 2745, - "end": 2754, + "start": 2737, + "end": 2746, "loc": { "start": { - "line": 109, + "line": 108, "column": 33 }, "end": { - "line": 109, + "line": 108, "column": 42 } } @@ -15116,15 +15074,15 @@ "postfix": false, "binop": null }, - "start": 2754, - "end": 2755, + "start": 2746, + "end": 2747, "loc": { "start": { - "line": 109, + "line": 108, "column": 42 }, "end": { - "line": 109, + "line": 108, "column": 43 } } @@ -15142,15 +15100,15 @@ "binop": null }, "value": "buf", - "start": 2755, - "end": 2758, + "start": 2747, + "end": 2750, "loc": { "start": { - "line": 109, + "line": 108, "column": 43 }, "end": { - "line": 109, + "line": 108, "column": 46 } } @@ -15167,15 +15125,15 @@ "postfix": false, "binop": null }, - "start": 2758, - "end": 2759, + "start": 2750, + "end": 2751, "loc": { "start": { - "line": 109, + "line": 108, "column": 46 }, "end": { - "line": 109, + "line": 108, "column": 47 } } @@ -15193,15 +15151,15 @@ "binop": null, "updateContext": null }, - "start": 2759, - "end": 2760, + "start": 2751, + "end": 2752, "loc": { "start": { - "line": 109, + "line": 108, "column": 47 }, "end": { - "line": 109, + "line": 108, "column": 48 } } @@ -15219,15 +15177,15 @@ "binop": null }, "value": "callback", - "start": 2769, - "end": 2777, + "start": 2761, + "end": 2769, "loc": { "start": { - "line": 110, + "line": 109, "column": 8 }, "end": { - "line": 110, + "line": 109, "column": 16 } } @@ -15244,15 +15202,15 @@ "postfix": false, "binop": null }, - "start": 2777, - "end": 2778, + "start": 2769, + "end": 2770, "loc": { "start": { - "line": 110, + "line": 109, "column": 16 }, "end": { - "line": 110, + "line": 109, "column": 17 } } @@ -15270,15 +15228,15 @@ "binop": null }, "value": "model", - "start": 2778, - "end": 2783, + "start": 2770, + "end": 2775, "loc": { "start": { - "line": 110, + "line": 109, "column": 17 }, "end": { - "line": 110, + "line": 109, "column": 22 } } @@ -15295,15 +15253,15 @@ "postfix": false, "binop": null }, - "start": 2783, - "end": 2784, + "start": 2775, + "end": 2776, "loc": { "start": { - "line": 110, + "line": 109, "column": 22 }, "end": { - "line": 110, + "line": 109, "column": 23 } } @@ -15321,15 +15279,15 @@ "binop": null, "updateContext": null }, - "start": 2784, - "end": 2785, + "start": 2776, + "end": 2777, "loc": { "start": { - "line": 110, + "line": 109, "column": 23 }, "end": { - "line": 110, + "line": 109, "column": 24 } } @@ -15346,15 +15304,15 @@ "postfix": false, "binop": null }, - "start": 2790, - "end": 2791, + "start": 2782, + "end": 2783, "loc": { "start": { - "line": 111, + "line": 110, "column": 4 }, "end": { - "line": 111, + "line": 110, "column": 5 } } @@ -15371,15 +15329,15 @@ "postfix": false, "binop": null }, - "start": 2791, - "end": 2792, + "start": 2783, + "end": 2784, "loc": { "start": { - "line": 111, + "line": 110, "column": 5 }, "end": { - "line": 111, + "line": 110, "column": 6 } } @@ -15397,15 +15355,15 @@ "binop": null, "updateContext": null }, - "start": 2792, - "end": 2793, + "start": 2784, + "end": 2785, "loc": { "start": { - "line": 111, + "line": 110, "column": 6 }, "end": { - "line": 111, + "line": 110, "column": 7 } } @@ -15422,15 +15380,15 @@ "postfix": false, "binop": null }, - "start": 2795, - "end": 2796, + "start": 2787, + "end": 2788, "loc": { "start": { - "line": 113, + "line": 112, "column": 0 }, "end": { - "line": 113, + "line": 112, "column": 1 } } @@ -15438,15 +15396,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2799, - "end": 2861, + "start": 2791, + "end": 2853, "loc": { "start": { - "line": 116, + "line": 115, "column": 0 }, "end": { - "line": 116, + "line": 115, "column": 62 } } @@ -15454,15 +15412,15 @@ { "type": "CommentLine", "value": " PlatformManager # loadTexture()", - "start": 2862, - "end": 2899, + "start": 2854, + "end": 2891, "loc": { "start": { - "line": 117, + "line": 116, "column": 0 }, "end": { - "line": 117, + "line": 116, "column": 37 } } @@ -15470,15 +15428,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 2900, - "end": 2962, + "start": 2892, + "end": 2954, "loc": { "start": { - "line": 118, + "line": 117, "column": 0 }, "end": { - "line": 118, + "line": 117, "column": 62 } } @@ -15486,15 +15444,15 @@ { "type": "CommentBlock", "value": "*\n* @name loadTexture\n* @desc load Live2DModel's Texture and callback\n* @param {Live2DModelWebGL}model, {int}no, {string}path, {function}callback\n* @returns callback\n* @memberOf PlatformManager\n", - "start": 2964, - "end": 3162, + "start": 2956, + "end": 3154, "loc": { "start": { - "line": 120, + "line": 119, "column": 0 }, "end": { - "line": 126, + "line": 125, "column": 2 } } @@ -15512,15 +15470,15 @@ "binop": null }, "value": "PlatformManager", - "start": 3163, - "end": 3178, + "start": 3155, + "end": 3170, "loc": { "start": { - "line": 127, + "line": 126, "column": 0 }, "end": { - "line": 127, + "line": 126, "column": 15 } } @@ -15538,15 +15496,15 @@ "binop": null, "updateContext": null }, - "start": 3178, - "end": 3179, + "start": 3170, + "end": 3171, "loc": { "start": { - "line": 127, + "line": 126, "column": 15 }, "end": { - "line": 127, + "line": 126, "column": 16 } } @@ -15564,15 +15522,15 @@ "binop": null }, "value": "prototype", - "start": 3179, - "end": 3188, + "start": 3171, + "end": 3180, "loc": { "start": { - "line": 127, + "line": 126, "column": 16 }, "end": { - "line": 127, + "line": 126, "column": 25 } } @@ -15590,15 +15548,15 @@ "binop": null, "updateContext": null }, - "start": 3188, - "end": 3189, + "start": 3180, + "end": 3181, "loc": { "start": { - "line": 127, + "line": 126, "column": 25 }, "end": { - "line": 127, + "line": 126, "column": 26 } } @@ -15616,15 +15574,15 @@ "binop": null }, "value": "loadTexture", - "start": 3189, - "end": 3200, + "start": 3181, + "end": 3192, "loc": { "start": { - "line": 127, + "line": 126, "column": 26 }, "end": { - "line": 127, + "line": 126, "column": 37 } } @@ -15643,15 +15601,15 @@ "updateContext": null }, "value": "=", - "start": 3205, - "end": 3206, + "start": 3197, + "end": 3198, "loc": { "start": { - "line": 127, + "line": 126, "column": 42 }, "end": { - "line": 127, + "line": 126, "column": 43 } } @@ -15670,15 +15628,15 @@ "binop": null }, "value": "function", - "start": 3207, - "end": 3215, + "start": 3199, + "end": 3207, "loc": { "start": { - "line": 127, + "line": 126, "column": 44 }, "end": { - "line": 127, + "line": 126, "column": 52 } } @@ -15695,15 +15653,15 @@ "postfix": false, "binop": null }, - "start": 3215, - "end": 3216, + "start": 3207, + "end": 3208, "loc": { "start": { - "line": 127, + "line": 126, "column": 52 }, "end": { - "line": 127, + "line": 126, "column": 53 } } @@ -15721,15 +15679,15 @@ "binop": null }, "value": "model", - "start": 3216, - "end": 3221, + "start": 3208, + "end": 3213, "loc": { "start": { - "line": 127, + "line": 126, "column": 53 }, "end": { - "line": 127, + "line": 126, "column": 58 } } @@ -15737,15 +15695,15 @@ { "type": "CommentBlock", "value": "ALive2DModel", - "start": 3221, - "end": 3237, + "start": 3213, + "end": 3229, "loc": { "start": { - "line": 127, + "line": 126, "column": 58 }, "end": { - "line": 127, + "line": 126, "column": 74 } } @@ -15763,15 +15721,15 @@ "binop": null, "updateContext": null }, - "start": 3237, - "end": 3238, + "start": 3229, + "end": 3230, "loc": { "start": { - "line": 127, + "line": 126, "column": 74 }, "end": { - "line": 127, + "line": 126, "column": 75 } } @@ -15789,15 +15747,15 @@ "binop": null }, "value": "no", - "start": 3239, - "end": 3241, + "start": 3231, + "end": 3233, "loc": { "start": { - "line": 127, + "line": 126, "column": 76 }, "end": { - "line": 127, + "line": 126, "column": 78 } } @@ -15805,15 +15763,15 @@ { "type": "CommentBlock", "value": "int", - "start": 3241, - "end": 3248, + "start": 3233, + "end": 3240, "loc": { "start": { - "line": 127, + "line": 126, "column": 78 }, "end": { - "line": 127, + "line": 126, "column": 85 } } @@ -15831,15 +15789,15 @@ "binop": null, "updateContext": null }, - "start": 3248, - "end": 3249, + "start": 3240, + "end": 3241, "loc": { "start": { - "line": 127, + "line": 126, "column": 85 }, "end": { - "line": 127, + "line": 126, "column": 86 } } @@ -15857,15 +15815,15 @@ "binop": null }, "value": "path", - "start": 3250, - "end": 3254, + "start": 3242, + "end": 3246, "loc": { "start": { - "line": 127, + "line": 126, "column": 87 }, "end": { - "line": 127, + "line": 126, "column": 91 } } @@ -15873,15 +15831,15 @@ { "type": "CommentBlock", "value": "String", - "start": 3254, - "end": 3264, + "start": 3246, + "end": 3256, "loc": { "start": { - "line": 127, + "line": 126, "column": 91 }, "end": { - "line": 127, + "line": 126, "column": 101 } } @@ -15899,15 +15857,15 @@ "binop": null, "updateContext": null }, - "start": 3264, - "end": 3265, + "start": 3256, + "end": 3257, "loc": { "start": { - "line": 127, + "line": 126, "column": 101 }, "end": { - "line": 127, + "line": 126, "column": 102 } } @@ -15925,15 +15883,15 @@ "binop": null }, "value": "callback", - "start": 3266, - "end": 3274, + "start": 3258, + "end": 3266, "loc": { "start": { - "line": 127, + "line": 126, "column": 103 }, "end": { - "line": 127, + "line": 126, "column": 111 } } @@ -15950,15 +15908,15 @@ "postfix": false, "binop": null }, - "start": 3274, - "end": 3275, + "start": 3266, + "end": 3267, "loc": { "start": { - "line": 127, + "line": 126, "column": 111 }, "end": { - "line": 127, + "line": 126, "column": 112 } } @@ -15975,15 +15933,15 @@ "postfix": false, "binop": null }, - "start": 3276, - "end": 3277, + "start": 3268, + "end": 3269, "loc": { "start": { - "line": 128, + "line": 127, "column": 0 }, "end": { - "line": 128, + "line": 127, "column": 1 } } @@ -15991,15 +15949,15 @@ { "type": "CommentLine", "value": " load textures", - "start": 3282, - "end": 3298, + "start": 3274, + "end": 3290, "loc": { "start": { - "line": 129, + "line": 128, "column": 4 }, "end": { - "line": 129, + "line": 128, "column": 20 } } @@ -16019,15 +15977,15 @@ "updateContext": null }, "value": "var", - "start": 3303, - "end": 3306, + "start": 3295, + "end": 3298, "loc": { "start": { - "line": 130, + "line": 129, "column": 4 }, "end": { - "line": 130, + "line": 129, "column": 7 } } @@ -16045,15 +16003,15 @@ "binop": null }, "value": "loadedImage", - "start": 3307, - "end": 3318, + "start": 3299, + "end": 3310, "loc": { "start": { - "line": 130, + "line": 129, "column": 8 }, "end": { - "line": 130, + "line": 129, "column": 19 } } @@ -16072,15 +16030,15 @@ "updateContext": null }, "value": "=", - "start": 3319, - "end": 3320, + "start": 3311, + "end": 3312, "loc": { "start": { - "line": 130, + "line": 129, "column": 20 }, "end": { - "line": 130, + "line": 129, "column": 21 } } @@ -16100,15 +16058,15 @@ "updateContext": null }, "value": "new", - "start": 3321, - "end": 3324, + "start": 3313, + "end": 3316, "loc": { "start": { - "line": 130, + "line": 129, "column": 22 }, "end": { - "line": 130, + "line": 129, "column": 25 } } @@ -16126,15 +16084,15 @@ "binop": null }, "value": "Image", - "start": 3325, - "end": 3330, + "start": 3317, + "end": 3322, "loc": { "start": { - "line": 130, + "line": 129, "column": 26 }, "end": { - "line": 130, + "line": 129, "column": 31 } } @@ -16151,15 +16109,15 @@ "postfix": false, "binop": null }, - "start": 3330, - "end": 3331, + "start": 3322, + "end": 3323, "loc": { "start": { - "line": 130, + "line": 129, "column": 31 }, "end": { - "line": 130, + "line": 129, "column": 32 } } @@ -16176,15 +16134,15 @@ "postfix": false, "binop": null }, - "start": 3331, - "end": 3332, + "start": 3323, + "end": 3324, "loc": { "start": { - "line": 130, + "line": 129, "column": 32 }, "end": { - "line": 130, + "line": 129, "column": 33 } } @@ -16202,15 +16160,15 @@ "binop": null, "updateContext": null }, - "start": 3332, - "end": 3333, + "start": 3324, + "end": 3325, "loc": { "start": { - "line": 130, + "line": 129, "column": 33 }, "end": { - "line": 130, + "line": 129, "column": 34 } } @@ -16228,15 +16186,15 @@ "binop": null }, "value": "loadedImage", - "start": 3338, - "end": 3349, + "start": 3330, + "end": 3341, "loc": { "start": { - "line": 131, + "line": 130, "column": 4 }, "end": { - "line": 131, + "line": 130, "column": 15 } } @@ -16254,15 +16212,15 @@ "binop": null, "updateContext": null }, - "start": 3349, - "end": 3350, + "start": 3341, + "end": 3342, "loc": { "start": { - "line": 131, + "line": 130, "column": 15 }, "end": { - "line": 131, + "line": 130, "column": 16 } } @@ -16280,15 +16238,15 @@ "binop": null }, "value": "src", - "start": 3350, - "end": 3353, + "start": 3342, + "end": 3345, "loc": { "start": { - "line": 131, + "line": 130, "column": 16 }, "end": { - "line": 131, + "line": 130, "column": 19 } } @@ -16307,15 +16265,15 @@ "updateContext": null }, "value": "=", - "start": 3354, - "end": 3355, + "start": 3346, + "end": 3347, "loc": { "start": { - "line": 131, + "line": 130, "column": 20 }, "end": { - "line": 131, + "line": 130, "column": 21 } } @@ -16333,15 +16291,15 @@ "binop": null }, "value": "path", - "start": 3356, - "end": 3360, + "start": 3348, + "end": 3352, "loc": { "start": { - "line": 131, + "line": 130, "column": 22 }, "end": { - "line": 131, + "line": 130, "column": 26 } } @@ -16359,15 +16317,15 @@ "binop": null, "updateContext": null }, - "start": 3360, - "end": 3361, + "start": 3352, + "end": 3353, "loc": { "start": { - "line": 131, + "line": 130, "column": 26 }, "end": { - "line": 131, + "line": 130, "column": 27 } } @@ -16385,15 +16343,15 @@ "binop": null }, "value": "loadedImage", - "start": 3366, - "end": 3377, + "start": 3358, + "end": 3369, "loc": { "start": { - "line": 132, + "line": 131, "column": 4 }, "end": { - "line": 132, + "line": 131, "column": 15 } } @@ -16411,15 +16369,15 @@ "binop": null, "updateContext": null }, - "start": 3377, - "end": 3378, + "start": 3369, + "end": 3370, "loc": { "start": { - "line": 132, + "line": 131, "column": 15 }, "end": { - "line": 132, + "line": 131, "column": 16 } } @@ -16437,15 +16395,15 @@ "binop": null }, "value": "onload", - "start": 3378, - "end": 3384, + "start": 3370, + "end": 3376, "loc": { "start": { - "line": 132, + "line": 131, "column": 16 }, "end": { - "line": 132, + "line": 131, "column": 22 } } @@ -16464,15 +16422,15 @@ "updateContext": null }, "value": "=", - "start": 3385, - "end": 3386, + "start": 3377, + "end": 3378, "loc": { "start": { - "line": 132, + "line": 131, "column": 23 }, "end": { - "line": 132, + "line": 131, "column": 24 } } @@ -16490,15 +16448,15 @@ "binop": null }, "value": "onload", - "start": 3387, - "end": 3393, + "start": 3379, + "end": 3385, "loc": { "start": { - "line": 132, + "line": 131, "column": 25 }, "end": { - "line": 132, + "line": 131, "column": 31 } } @@ -16516,15 +16474,15 @@ "binop": null, "updateContext": null }, - "start": 3393, - "end": 3394, + "start": 3385, + "end": 3386, "loc": { "start": { - "line": 132, + "line": 131, "column": 31 }, "end": { - "line": 132, + "line": 131, "column": 32 } } @@ -16542,15 +16500,15 @@ "binop": null }, "value": "loadedImage", - "start": 3399, - "end": 3410, + "start": 3391, + "end": 3402, "loc": { "start": { - "line": 133, + "line": 132, "column": 4 }, "end": { - "line": 133, + "line": 132, "column": 15 } } @@ -16568,15 +16526,15 @@ "binop": null, "updateContext": null }, - "start": 3410, - "end": 3411, + "start": 3402, + "end": 3403, "loc": { "start": { - "line": 133, + "line": 132, "column": 15 }, "end": { - "line": 133, + "line": 132, "column": 16 } } @@ -16594,15 +16552,15 @@ "binop": null }, "value": "onerror", - "start": 3411, - "end": 3418, + "start": 3403, + "end": 3410, "loc": { "start": { - "line": 133, + "line": 132, "column": 16 }, "end": { - "line": 133, + "line": 132, "column": 23 } } @@ -16621,15 +16579,15 @@ "updateContext": null }, "value": "=", - "start": 3419, - "end": 3420, + "start": 3411, + "end": 3412, "loc": { "start": { - "line": 133, + "line": 132, "column": 24 }, "end": { - "line": 133, + "line": 132, "column": 25 } } @@ -16647,15 +16605,15 @@ "binop": null }, "value": "onerror", - "start": 3421, - "end": 3428, + "start": 3413, + "end": 3420, "loc": { "start": { - "line": 133, + "line": 132, "column": 26 }, "end": { - "line": 133, + "line": 132, "column": 33 } } @@ -16673,15 +16631,15 @@ "binop": null, "updateContext": null }, - "start": 3428, - "end": 3429, + "start": 3420, + "end": 3421, "loc": { "start": { - "line": 133, + "line": 132, "column": 33 }, "end": { - "line": 133, + "line": 132, "column": 34 } } @@ -16689,15 +16647,15 @@ { "type": "CommentLine", "value": " var thisRef = this;", - "start": 3435, - "end": 3457, + "start": 3427, + "end": 3449, "loc": { "start": { - "line": 135, + "line": 134, "column": 4 }, "end": { - "line": 135, + "line": 134, "column": 26 } } @@ -16715,15 +16673,15 @@ "binop": null }, "value": "loadedImage", - "start": 3462, - "end": 3473, + "start": 3454, + "end": 3465, "loc": { "start": { - "line": 136, + "line": 135, "column": 4 }, "end": { - "line": 136, + "line": 135, "column": 15 } } @@ -16741,15 +16699,15 @@ "binop": null, "updateContext": null }, - "start": 3473, - "end": 3474, + "start": 3465, + "end": 3466, "loc": { "start": { - "line": 136, + "line": 135, "column": 15 }, "end": { - "line": 136, + "line": 135, "column": 16 } } @@ -16767,15 +16725,15 @@ "binop": null }, "value": "onload", - "start": 3474, - "end": 3480, + "start": 3466, + "end": 3472, "loc": { "start": { - "line": 136, + "line": 135, "column": 16 }, "end": { - "line": 136, + "line": 135, "column": 22 } } @@ -16794,15 +16752,15 @@ "updateContext": null }, "value": "=", - "start": 3481, - "end": 3482, + "start": 3473, + "end": 3474, "loc": { "start": { - "line": 136, + "line": 135, "column": 23 }, "end": { - "line": 136, + "line": 135, "column": 24 } } @@ -16821,15 +16779,15 @@ "binop": null }, "value": "function", - "start": 3483, - "end": 3491, + "start": 3475, + "end": 3483, "loc": { "start": { - "line": 136, + "line": 135, "column": 25 }, "end": { - "line": 136, + "line": 135, "column": 33 } } @@ -16846,15 +16804,15 @@ "postfix": false, "binop": null }, - "start": 3491, - "end": 3492, + "start": 3483, + "end": 3484, "loc": { "start": { - "line": 136, + "line": 135, "column": 33 }, "end": { - "line": 136, + "line": 135, "column": 34 } } @@ -16871,15 +16829,15 @@ "postfix": false, "binop": null }, - "start": 3492, - "end": 3493, + "start": 3484, + "end": 3485, "loc": { "start": { - "line": 136, + "line": 135, "column": 34 }, "end": { - "line": 136, + "line": 135, "column": 35 } } @@ -16896,15 +16854,15 @@ "postfix": false, "binop": null }, - "start": 3494, - "end": 3495, + "start": 3486, + "end": 3487, "loc": { "start": { - "line": 136, + "line": 135, "column": 36 }, "end": { - "line": 136, + "line": 135, "column": 37 } } @@ -16912,15 +16870,15 @@ { "type": "CommentLine", "value": " create texture", - "start": 3504, - "end": 3521, + "start": 3496, + "end": 3513, "loc": { "start": { - "line": 137, + "line": 136, "column": 8 }, "end": { - "line": 137, + "line": 136, "column": 25 } } @@ -16940,15 +16898,15 @@ "updateContext": null }, "value": "var", - "start": 3530, - "end": 3533, + "start": 3522, + "end": 3525, "loc": { "start": { - "line": 138, + "line": 137, "column": 8 }, "end": { - "line": 138, + "line": 137, "column": 11 } } @@ -16966,15 +16924,15 @@ "binop": null }, "value": "gl", - "start": 3534, - "end": 3536, + "start": 3526, + "end": 3528, "loc": { "start": { - "line": 138, + "line": 137, "column": 12 }, "end": { - "line": 138, + "line": 137, "column": 14 } } @@ -16993,15 +16951,15 @@ "updateContext": null }, "value": "=", - "start": 3537, - "end": 3538, + "start": 3529, + "end": 3530, "loc": { "start": { - "line": 138, + "line": 137, "column": 15 }, "end": { - "line": 138, + "line": 137, "column": 16 } } @@ -17018,67 +16976,17 @@ "postfix": false, "binop": null }, - "value": "getContext", - "start": 3539, - "end": 3549, + "value": "currWebGL", + "start": 3531, + "end": 3540, "loc": { "start": { - "line": 138, + "line": 137, "column": 17 }, "end": { - "line": 138, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3549, - "end": 3550, - "loc": { - "start": { - "line": 138, - "column": 27 - }, - "end": { - "line": 138, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3550, - "end": 3551, - "loc": { - "start": { - "line": 138, - "column": 28 - }, - "end": { - "line": 138, - "column": 29 + "line": 137, + "column": 26 } } }, @@ -17095,16 +17003,16 @@ "binop": null, "updateContext": null }, - "start": 3551, - "end": 3552, + "start": 3540, + "end": 3541, "loc": { "start": { - "line": 138, - "column": 29 + "line": 137, + "column": 26 }, "end": { - "line": 138, - "column": 30 + "line": 137, + "column": 27 } } }, @@ -17123,15 +17031,15 @@ "updateContext": null }, "value": "var", - "start": 3561, - "end": 3564, + "start": 3550, + "end": 3553, "loc": { "start": { - "line": 139, + "line": 138, "column": 8 }, "end": { - "line": 139, + "line": 138, "column": 11 } } @@ -17149,15 +17057,15 @@ "binop": null }, "value": "texture", - "start": 3565, - "end": 3572, + "start": 3554, + "end": 3561, "loc": { "start": { - "line": 139, + "line": 138, "column": 12 }, "end": { - "line": 139, + "line": 138, "column": 19 } } @@ -17176,15 +17084,15 @@ "updateContext": null }, "value": "=", - "start": 3573, - "end": 3574, + "start": 3562, + "end": 3563, "loc": { "start": { - "line": 139, + "line": 138, "column": 20 }, "end": { - "line": 139, + "line": 138, "column": 21 } } @@ -17202,15 +17110,15 @@ "binop": null }, "value": "gl", - "start": 3575, - "end": 3577, + "start": 3564, + "end": 3566, "loc": { "start": { - "line": 139, + "line": 138, "column": 22 }, "end": { - "line": 139, + "line": 138, "column": 24 } } @@ -17228,15 +17136,15 @@ "binop": null, "updateContext": null }, - "start": 3577, - "end": 3578, + "start": 3566, + "end": 3567, "loc": { "start": { - "line": 139, + "line": 138, "column": 24 }, "end": { - "line": 139, + "line": 138, "column": 25 } } @@ -17254,15 +17162,15 @@ "binop": null }, "value": "createTexture", - "start": 3578, - "end": 3591, + "start": 3567, + "end": 3580, "loc": { "start": { - "line": 139, + "line": 138, "column": 25 }, "end": { - "line": 139, + "line": 138, "column": 38 } } @@ -17279,15 +17187,15 @@ "postfix": false, "binop": null }, - "start": 3591, - "end": 3592, + "start": 3580, + "end": 3581, "loc": { "start": { - "line": 139, + "line": 138, "column": 38 }, "end": { - "line": 139, + "line": 138, "column": 39 } } @@ -17304,15 +17212,15 @@ "postfix": false, "binop": null }, - "start": 3592, - "end": 3593, + "start": 3581, + "end": 3582, "loc": { "start": { - "line": 139, + "line": 138, "column": 39 }, "end": { - "line": 139, + "line": 138, "column": 40 } } @@ -17330,15 +17238,15 @@ "binop": null, "updateContext": null }, - "start": 3593, - "end": 3594, + "start": 3582, + "end": 3583, "loc": { "start": { - "line": 139, + "line": 138, "column": 40 }, "end": { - "line": 139, + "line": 138, "column": 41 } } @@ -17358,15 +17266,15 @@ "updateContext": null }, "value": "if", - "start": 3603, - "end": 3605, + "start": 3592, + "end": 3594, "loc": { "start": { - "line": 140, + "line": 139, "column": 8 }, "end": { - "line": 140, + "line": 139, "column": 10 } } @@ -17383,15 +17291,15 @@ "postfix": false, "binop": null }, - "start": 3606, - "end": 3607, + "start": 3595, + "end": 3596, "loc": { "start": { - "line": 140, + "line": 139, "column": 11 }, "end": { - "line": 140, + "line": 139, "column": 12 } } @@ -17410,15 +17318,15 @@ "updateContext": null }, "value": "!", - "start": 3607, - "end": 3608, + "start": 3596, + "end": 3597, "loc": { "start": { - "line": 140, + "line": 139, "column": 12 }, "end": { - "line": 140, + "line": 139, "column": 13 } } @@ -17436,15 +17344,15 @@ "binop": null }, "value": "texture", - "start": 3608, - "end": 3615, + "start": 3597, + "end": 3604, "loc": { "start": { - "line": 140, + "line": 139, "column": 13 }, "end": { - "line": 140, + "line": 139, "column": 20 } } @@ -17461,15 +17369,15 @@ "postfix": false, "binop": null }, - "start": 3615, - "end": 3616, + "start": 3604, + "end": 3605, "loc": { "start": { - "line": 140, + "line": 139, "column": 20 }, "end": { - "line": 140, + "line": 139, "column": 21 } } @@ -17486,15 +17394,15 @@ "postfix": false, "binop": null }, - "start": 3616, - "end": 3617, + "start": 3605, + "end": 3606, "loc": { "start": { - "line": 140, + "line": 139, "column": 21 }, "end": { - "line": 140, + "line": 139, "column": 22 } } @@ -17512,15 +17420,15 @@ "binop": null }, "value": "console", - "start": 3618, - "end": 3625, + "start": 3607, + "end": 3614, "loc": { "start": { - "line": 140, + "line": 139, "column": 23 }, "end": { - "line": 140, + "line": 139, "column": 30 } } @@ -17538,15 +17446,15 @@ "binop": null, "updateContext": null }, - "start": 3625, - "end": 3626, + "start": 3614, + "end": 3615, "loc": { "start": { - "line": 140, + "line": 139, "column": 30 }, "end": { - "line": 140, + "line": 139, "column": 31 } } @@ -17564,15 +17472,15 @@ "binop": null }, "value": "error", - "start": 3626, - "end": 3631, + "start": 3615, + "end": 3620, "loc": { "start": { - "line": 140, + "line": 139, "column": 31 }, "end": { - "line": 140, + "line": 139, "column": 36 } } @@ -17589,15 +17497,15 @@ "postfix": false, "binop": null }, - "start": 3631, - "end": 3632, + "start": 3620, + "end": 3621, "loc": { "start": { - "line": 140, + "line": 139, "column": 36 }, "end": { - "line": 140, + "line": 139, "column": 37 } } @@ -17616,15 +17524,15 @@ "updateContext": null }, "value": "Failed to generate gl texture name.", - "start": 3632, - "end": 3669, + "start": 3621, + "end": 3658, "loc": { "start": { - "line": 140, + "line": 139, "column": 37 }, "end": { - "line": 140, + "line": 139, "column": 74 } } @@ -17641,15 +17549,15 @@ "postfix": false, "binop": null }, - "start": 3669, - "end": 3670, + "start": 3658, + "end": 3659, "loc": { "start": { - "line": 140, + "line": 139, "column": 74 }, "end": { - "line": 140, + "line": 139, "column": 75 } } @@ -17667,15 +17575,15 @@ "binop": null, "updateContext": null }, - "start": 3670, - "end": 3671, + "start": 3659, + "end": 3660, "loc": { "start": { - "line": 140, + "line": 139, "column": 75 }, "end": { - "line": 140, + "line": 139, "column": 76 } } @@ -17695,15 +17603,15 @@ "updateContext": null }, "value": "return", - "start": 3672, - "end": 3678, + "start": 3661, + "end": 3667, "loc": { "start": { - "line": 140, + "line": 139, "column": 77 }, "end": { - "line": 140, + "line": 139, "column": 83 } } @@ -17722,15 +17630,15 @@ "updateContext": null }, "value": "-", - "start": 3679, - "end": 3680, + "start": 3668, + "end": 3669, "loc": { "start": { - "line": 140, + "line": 139, "column": 84 }, "end": { - "line": 140, + "line": 139, "column": 85 } } @@ -17749,15 +17657,15 @@ "updateContext": null }, "value": 1, - "start": 3680, - "end": 3681, + "start": 3669, + "end": 3670, "loc": { "start": { - "line": 140, + "line": 139, "column": 85 }, "end": { - "line": 140, + "line": 139, "column": 86 } } @@ -17775,15 +17683,15 @@ "binop": null, "updateContext": null }, - "start": 3681, - "end": 3682, + "start": 3670, + "end": 3671, "loc": { "start": { - "line": 140, + "line": 139, "column": 86 }, "end": { - "line": 140, + "line": 139, "column": 87 } } @@ -17800,15 +17708,15 @@ "postfix": false, "binop": null }, - "start": 3683, - "end": 3684, + "start": 3672, + "end": 3673, "loc": { "start": { - "line": 140, + "line": 139, "column": 88 }, "end": { - "line": 140, + "line": 139, "column": 89 } } @@ -17828,15 +17736,15 @@ "updateContext": null }, "value": "if", - "start": 3694, - "end": 3696, + "start": 3683, + "end": 3685, "loc": { "start": { - "line": 142, + "line": 141, "column": 8 }, "end": { - "line": 142, + "line": 141, "column": 10 } } @@ -17853,15 +17761,15 @@ "postfix": false, "binop": null }, - "start": 3696, - "end": 3697, + "start": 3685, + "end": 3686, "loc": { "start": { - "line": 142, + "line": 141, "column": 10 }, "end": { - "line": 142, + "line": 141, "column": 11 } } @@ -17880,15 +17788,15 @@ "updateContext": null }, "value": "!", - "start": 3697, - "end": 3698, + "start": 3686, + "end": 3687, "loc": { "start": { - "line": 142, + "line": 141, "column": 11 }, "end": { - "line": 142, + "line": 141, "column": 12 } } @@ -17906,15 +17814,15 @@ "binop": null }, "value": "model", - "start": 3698, - "end": 3703, + "start": 3687, + "end": 3692, "loc": { "start": { - "line": 142, + "line": 141, "column": 12 }, "end": { - "line": 142, + "line": 141, "column": 17 } } @@ -17932,15 +17840,15 @@ "binop": null, "updateContext": null }, - "start": 3703, - "end": 3704, + "start": 3692, + "end": 3693, "loc": { "start": { - "line": 142, + "line": 141, "column": 17 }, "end": { - "line": 142, + "line": 141, "column": 18 } } @@ -17958,15 +17866,15 @@ "binop": null }, "value": "isPremultipliedAlpha", - "start": 3704, - "end": 3724, + "start": 3693, + "end": 3713, "loc": { "start": { - "line": 142, + "line": 141, "column": 18 }, "end": { - "line": 142, + "line": 141, "column": 38 } } @@ -17983,15 +17891,15 @@ "postfix": false, "binop": null }, - "start": 3724, - "end": 3725, + "start": 3713, + "end": 3714, "loc": { "start": { - "line": 142, + "line": 141, "column": 38 }, "end": { - "line": 142, + "line": 141, "column": 39 } } @@ -18008,15 +17916,15 @@ "postfix": false, "binop": null }, - "start": 3725, - "end": 3726, + "start": 3714, + "end": 3715, "loc": { "start": { - "line": 142, + "line": 141, "column": 39 }, "end": { - "line": 142, + "line": 141, "column": 40 } } @@ -18033,15 +17941,15 @@ "postfix": false, "binop": null }, - "start": 3726, - "end": 3727, + "start": 3715, + "end": 3716, "loc": { "start": { - "line": 142, + "line": 141, "column": 40 }, "end": { - "line": 142, + "line": 141, "column": 41 } } @@ -18058,15 +17966,15 @@ "postfix": false, "binop": null }, - "start": 3727, - "end": 3728, + "start": 3716, + "end": 3717, "loc": { "start": { - "line": 142, + "line": 141, "column": 41 }, "end": { - "line": 142, + "line": 141, "column": 42 } } @@ -18074,15 +17982,15 @@ { "type": "CommentLine", "value": " 乗算済アルファテクスチャ以外の場合", - "start": 3741, - "end": 3761, + "start": 3730, + "end": 3750, "loc": { "start": { - "line": 143, + "line": 142, "column": 12 }, "end": { - "line": 143, + "line": 142, "column": 32 } } @@ -18090,15 +17998,15 @@ { "type": "CommentLine", "value": " emmmm, maybe do something for textures with alpha layer.", - "start": 3774, - "end": 3833, + "start": 3763, + "end": 3822, "loc": { "start": { - "line": 144, + "line": 143, "column": 12 }, "end": { - "line": 144, + "line": 143, "column": 71 } } @@ -18116,15 +18024,15 @@ "binop": null }, "value": "gl", - "start": 3846, - "end": 3848, + "start": 3835, + "end": 3837, "loc": { "start": { - "line": 145, + "line": 144, "column": 12 }, "end": { - "line": 145, + "line": 144, "column": 14 } } @@ -18142,15 +18050,15 @@ "binop": null, "updateContext": null }, - "start": 3848, - "end": 3849, + "start": 3837, + "end": 3838, "loc": { "start": { - "line": 145, + "line": 144, "column": 14 }, "end": { - "line": 145, + "line": 144, "column": 15 } } @@ -18168,15 +18076,15 @@ "binop": null }, "value": "pixelStorei", - "start": 3849, - "end": 3860, + "start": 3838, + "end": 3849, "loc": { "start": { - "line": 145, + "line": 144, "column": 15 }, "end": { - "line": 145, + "line": 144, "column": 26 } } @@ -18193,15 +18101,15 @@ "postfix": false, "binop": null }, - "start": 3860, - "end": 3861, + "start": 3849, + "end": 3850, "loc": { "start": { - "line": 145, + "line": 144, "column": 26 }, "end": { - "line": 145, + "line": 144, "column": 27 } } @@ -18219,15 +18127,15 @@ "binop": null }, "value": "gl", - "start": 3861, - "end": 3863, + "start": 3850, + "end": 3852, "loc": { "start": { - "line": 145, + "line": 144, "column": 27 }, "end": { - "line": 145, + "line": 144, "column": 29 } } @@ -18245,15 +18153,15 @@ "binop": null, "updateContext": null }, - "start": 3863, - "end": 3864, + "start": 3852, + "end": 3853, "loc": { "start": { - "line": 145, + "line": 144, "column": 29 }, "end": { - "line": 145, + "line": 144, "column": 30 } } @@ -18271,15 +18179,15 @@ "binop": null }, "value": "UNPACK_PREMULTIPLY_ALPHA_WEBGL", - "start": 3864, - "end": 3894, + "start": 3853, + "end": 3883, "loc": { "start": { - "line": 145, + "line": 144, "column": 30 }, "end": { - "line": 145, + "line": 144, "column": 60 } } @@ -18297,15 +18205,15 @@ "binop": null, "updateContext": null }, - "start": 3894, - "end": 3895, + "start": 3883, + "end": 3884, "loc": { "start": { - "line": 145, + "line": 144, "column": 60 }, "end": { - "line": 145, + "line": 144, "column": 61 } } @@ -18324,15 +18232,15 @@ "updateContext": null }, "value": 1, - "start": 3896, - "end": 3897, + "start": 3885, + "end": 3886, "loc": { "start": { - "line": 145, + "line": 144, "column": 62 }, "end": { - "line": 145, + "line": 144, "column": 63 } } @@ -18349,15 +18257,15 @@ "postfix": false, "binop": null }, - "start": 3897, - "end": 3898, + "start": 3886, + "end": 3887, "loc": { "start": { - "line": 145, + "line": 144, "column": 63 }, "end": { - "line": 145, + "line": 144, "column": 64 } } @@ -18375,15 +18283,15 @@ "binop": null, "updateContext": null }, - "start": 3898, - "end": 3899, + "start": 3887, + "end": 3888, "loc": { "start": { - "line": 145, + "line": 144, "column": 64 }, "end": { - "line": 145, + "line": 144, "column": 65 } } @@ -18400,15 +18308,15 @@ "postfix": false, "binop": null }, - "start": 3908, - "end": 3909, + "start": 3897, + "end": 3898, "loc": { "start": { - "line": 146, + "line": 145, "column": 8 }, "end": { - "line": 146, + "line": 145, "column": 9 } } @@ -18426,15 +18334,15 @@ "binop": null }, "value": "gl", - "start": 3918, - "end": 3920, + "start": 3907, + "end": 3909, "loc": { "start": { - "line": 147, + "line": 146, "column": 8 }, "end": { - "line": 147, + "line": 146, "column": 10 } } @@ -18452,15 +18360,15 @@ "binop": null, "updateContext": null }, - "start": 3920, - "end": 3921, + "start": 3909, + "end": 3910, "loc": { "start": { - "line": 147, + "line": 146, "column": 10 }, "end": { - "line": 147, + "line": 146, "column": 11 } } @@ -18478,15 +18386,15 @@ "binop": null }, "value": "pixelStorei", - "start": 3921, - "end": 3932, + "start": 3910, + "end": 3921, "loc": { "start": { - "line": 147, + "line": 146, "column": 11 }, "end": { - "line": 147, + "line": 146, "column": 22 } } @@ -18503,15 +18411,15 @@ "postfix": false, "binop": null }, - "start": 3932, - "end": 3933, + "start": 3921, + "end": 3922, "loc": { "start": { - "line": 147, + "line": 146, "column": 22 }, "end": { - "line": 147, + "line": 146, "column": 23 } } @@ -18529,15 +18437,15 @@ "binop": null }, "value": "gl", - "start": 3933, - "end": 3935, + "start": 3922, + "end": 3924, "loc": { "start": { - "line": 147, + "line": 146, "column": 23 }, "end": { - "line": 147, + "line": 146, "column": 25 } } @@ -18555,15 +18463,15 @@ "binop": null, "updateContext": null }, - "start": 3935, - "end": 3936, + "start": 3924, + "end": 3925, "loc": { "start": { - "line": 147, + "line": 146, "column": 25 }, "end": { - "line": 147, + "line": 146, "column": 26 } } @@ -18581,15 +18489,15 @@ "binop": null }, "value": "UNPACK_FLIP_Y_WEBGL", - "start": 3936, - "end": 3955, + "start": 3925, + "end": 3944, "loc": { "start": { - "line": 147, + "line": 146, "column": 26 }, "end": { - "line": 147, + "line": 146, "column": 45 } } @@ -18607,15 +18515,15 @@ "binop": null, "updateContext": null }, - "start": 3955, - "end": 3956, + "start": 3944, + "end": 3945, "loc": { "start": { - "line": 147, + "line": 146, "column": 45 }, "end": { - "line": 147, + "line": 146, "column": 46 } } @@ -18634,15 +18542,15 @@ "updateContext": null }, "value": 1, - "start": 3957, - "end": 3958, + "start": 3946, + "end": 3947, "loc": { "start": { - "line": 147, + "line": 146, "column": 47 }, "end": { - "line": 147, + "line": 146, "column": 48 } } @@ -18659,15 +18567,15 @@ "postfix": false, "binop": null }, - "start": 3958, - "end": 3959, + "start": 3947, + "end": 3948, "loc": { "start": { - "line": 147, + "line": 146, "column": 48 }, "end": { - "line": 147, + "line": 146, "column": 49 } } @@ -18685,15 +18593,15 @@ "binop": null, "updateContext": null }, - "start": 3959, - "end": 3960, + "start": 3948, + "end": 3949, "loc": { "start": { - "line": 147, + "line": 146, "column": 49 }, "end": { - "line": 147, + "line": 146, "column": 50 } } @@ -18711,15 +18619,15 @@ "binop": null }, "value": "gl", - "start": 3969, - "end": 3971, + "start": 3958, + "end": 3960, "loc": { "start": { - "line": 148, + "line": 147, "column": 8 }, "end": { - "line": 148, + "line": 147, "column": 10 } } @@ -18737,15 +18645,15 @@ "binop": null, "updateContext": null }, - "start": 3971, - "end": 3972, + "start": 3960, + "end": 3961, "loc": { "start": { - "line": 148, + "line": 147, "column": 10 }, "end": { - "line": 148, + "line": 147, "column": 11 } } @@ -18763,15 +18671,15 @@ "binop": null }, "value": "activeTexture", - "start": 3972, - "end": 3985, + "start": 3961, + "end": 3974, "loc": { "start": { - "line": 148, + "line": 147, "column": 11 }, "end": { - "line": 148, + "line": 147, "column": 24 } } @@ -18788,15 +18696,15 @@ "postfix": false, "binop": null }, - "start": 3985, - "end": 3986, + "start": 3974, + "end": 3975, "loc": { "start": { - "line": 148, + "line": 147, "column": 24 }, "end": { - "line": 148, + "line": 147, "column": 25 } } @@ -18814,15 +18722,15 @@ "binop": null }, "value": "gl", - "start": 3986, - "end": 3988, + "start": 3975, + "end": 3977, "loc": { "start": { - "line": 148, + "line": 147, "column": 25 }, "end": { - "line": 148, + "line": 147, "column": 27 } } @@ -18840,15 +18748,15 @@ "binop": null, "updateContext": null }, - "start": 3988, - "end": 3989, + "start": 3977, + "end": 3978, "loc": { "start": { - "line": 148, + "line": 147, "column": 27 }, "end": { - "line": 148, + "line": 147, "column": 28 } } @@ -18866,15 +18774,15 @@ "binop": null }, "value": "TEXTURE0", - "start": 3989, - "end": 3997, + "start": 3978, + "end": 3986, "loc": { "start": { - "line": 148, + "line": 147, "column": 28 }, "end": { - "line": 148, + "line": 147, "column": 36 } } @@ -18891,15 +18799,15 @@ "postfix": false, "binop": null }, - "start": 3997, - "end": 3998, + "start": 3986, + "end": 3987, "loc": { "start": { - "line": 148, + "line": 147, "column": 36 }, "end": { - "line": 148, + "line": 147, "column": 37 } } @@ -18917,15 +18825,15 @@ "binop": null, "updateContext": null }, - "start": 3998, - "end": 3999, + "start": 3987, + "end": 3988, "loc": { "start": { - "line": 148, + "line": 147, "column": 37 }, "end": { - "line": 148, + "line": 147, "column": 38 } } @@ -18943,15 +18851,15 @@ "binop": null }, "value": "gl", - "start": 4008, - "end": 4010, + "start": 3997, + "end": 3999, "loc": { "start": { - "line": 149, + "line": 148, "column": 8 }, "end": { - "line": 149, + "line": 148, "column": 10 } } @@ -18969,15 +18877,15 @@ "binop": null, "updateContext": null }, - "start": 4010, - "end": 4011, + "start": 3999, + "end": 4000, "loc": { "start": { - "line": 149, + "line": 148, "column": 10 }, "end": { - "line": 149, + "line": 148, "column": 11 } } @@ -18995,15 +18903,15 @@ "binop": null }, "value": "bindTexture", - "start": 4011, - "end": 4022, + "start": 4000, + "end": 4011, "loc": { "start": { - "line": 149, + "line": 148, "column": 11 }, "end": { - "line": 149, + "line": 148, "column": 22 } } @@ -19020,15 +18928,15 @@ "postfix": false, "binop": null }, - "start": 4022, - "end": 4023, + "start": 4011, + "end": 4012, "loc": { "start": { - "line": 149, + "line": 148, "column": 22 }, "end": { - "line": 149, + "line": 148, "column": 23 } } @@ -19046,15 +18954,15 @@ "binop": null }, "value": "gl", - "start": 4023, - "end": 4025, + "start": 4012, + "end": 4014, "loc": { "start": { - "line": 149, + "line": 148, "column": 23 }, "end": { - "line": 149, + "line": 148, "column": 25 } } @@ -19072,15 +18980,15 @@ "binop": null, "updateContext": null }, - "start": 4025, - "end": 4026, + "start": 4014, + "end": 4015, "loc": { "start": { - "line": 149, + "line": 148, "column": 25 }, "end": { - "line": 149, + "line": 148, "column": 26 } } @@ -19098,15 +19006,15 @@ "binop": null }, "value": "TEXTURE_2D", - "start": 4026, - "end": 4036, + "start": 4015, + "end": 4025, "loc": { "start": { - "line": 149, + "line": 148, "column": 26 }, "end": { - "line": 149, + "line": 148, "column": 36 } } @@ -19124,15 +19032,15 @@ "binop": null, "updateContext": null }, - "start": 4036, - "end": 4037, + "start": 4025, + "end": 4026, "loc": { "start": { - "line": 149, + "line": 148, "column": 36 }, "end": { - "line": 149, + "line": 148, "column": 37 } } @@ -19150,15 +19058,15 @@ "binop": null }, "value": "texture", - "start": 4038, - "end": 4045, + "start": 4027, + "end": 4034, "loc": { "start": { - "line": 149, + "line": 148, "column": 38 }, "end": { - "line": 149, + "line": 148, "column": 45 } } @@ -19175,15 +19083,15 @@ "postfix": false, "binop": null }, - "start": 4045, - "end": 4046, + "start": 4034, + "end": 4035, "loc": { "start": { - "line": 149, + "line": 148, "column": 45 }, "end": { - "line": 149, + "line": 148, "column": 46 } } @@ -19201,15 +19109,15 @@ "binop": null, "updateContext": null }, - "start": 4046, - "end": 4047, + "start": 4035, + "end": 4036, "loc": { "start": { - "line": 149, + "line": 148, "column": 46 }, "end": { - "line": 149, + "line": 148, "column": 47 } } @@ -19227,15 +19135,15 @@ "binop": null }, "value": "gl", - "start": 4056, - "end": 4058, + "start": 4045, + "end": 4047, "loc": { "start": { - "line": 150, + "line": 149, "column": 8 }, "end": { - "line": 150, + "line": 149, "column": 10 } } @@ -19253,15 +19161,15 @@ "binop": null, "updateContext": null }, - "start": 4058, - "end": 4059, + "start": 4047, + "end": 4048, "loc": { "start": { - "line": 150, + "line": 149, "column": 10 }, "end": { - "line": 150, + "line": 149, "column": 11 } } @@ -19279,15 +19187,15 @@ "binop": null }, "value": "texImage2D", - "start": 4059, - "end": 4069, + "start": 4048, + "end": 4058, "loc": { "start": { - "line": 150, + "line": 149, "column": 11 }, "end": { - "line": 150, + "line": 149, "column": 21 } } @@ -19304,15 +19212,15 @@ "postfix": false, "binop": null }, - "start": 4069, - "end": 4070, + "start": 4058, + "end": 4059, "loc": { "start": { - "line": 150, + "line": 149, "column": 21 }, "end": { - "line": 150, + "line": 149, "column": 22 } } @@ -19330,15 +19238,15 @@ "binop": null }, "value": "gl", - "start": 4070, - "end": 4072, + "start": 4059, + "end": 4061, "loc": { "start": { - "line": 150, + "line": 149, "column": 22 }, "end": { - "line": 150, + "line": 149, "column": 24 } } @@ -19356,15 +19264,15 @@ "binop": null, "updateContext": null }, - "start": 4072, - "end": 4073, + "start": 4061, + "end": 4062, "loc": { "start": { - "line": 150, + "line": 149, "column": 24 }, "end": { - "line": 150, + "line": 149, "column": 25 } } @@ -19382,15 +19290,15 @@ "binop": null }, "value": "TEXTURE_2D", - "start": 4073, - "end": 4083, + "start": 4062, + "end": 4072, "loc": { "start": { - "line": 150, + "line": 149, "column": 25 }, "end": { - "line": 150, + "line": 149, "column": 35 } } @@ -19408,15 +19316,15 @@ "binop": null, "updateContext": null }, - "start": 4083, - "end": 4084, + "start": 4072, + "end": 4073, "loc": { "start": { - "line": 150, + "line": 149, "column": 35 }, "end": { - "line": 150, + "line": 149, "column": 36 } } @@ -19435,15 +19343,15 @@ "updateContext": null }, "value": 0, - "start": 4085, - "end": 4086, + "start": 4074, + "end": 4075, "loc": { "start": { - "line": 150, + "line": 149, "column": 37 }, "end": { - "line": 150, + "line": 149, "column": 38 } } @@ -19461,15 +19369,15 @@ "binop": null, "updateContext": null }, - "start": 4086, - "end": 4087, + "start": 4075, + "end": 4076, "loc": { "start": { - "line": 150, + "line": 149, "column": 38 }, "end": { - "line": 150, + "line": 149, "column": 39 } } @@ -19487,15 +19395,15 @@ "binop": null }, "value": "gl", - "start": 4088, - "end": 4090, + "start": 4077, + "end": 4079, "loc": { "start": { - "line": 150, + "line": 149, "column": 40 }, "end": { - "line": 150, + "line": 149, "column": 42 } } @@ -19513,15 +19421,15 @@ "binop": null, "updateContext": null }, - "start": 4090, - "end": 4091, + "start": 4079, + "end": 4080, "loc": { "start": { - "line": 150, + "line": 149, "column": 42 }, "end": { - "line": 150, + "line": 149, "column": 43 } } @@ -19539,15 +19447,15 @@ "binop": null }, "value": "RGBA", - "start": 4091, - "end": 4095, + "start": 4080, + "end": 4084, "loc": { "start": { - "line": 150, + "line": 149, "column": 43 }, "end": { - "line": 150, + "line": 149, "column": 47 } } @@ -19565,15 +19473,15 @@ "binop": null, "updateContext": null }, - "start": 4095, - "end": 4096, + "start": 4084, + "end": 4085, "loc": { "start": { - "line": 150, + "line": 149, "column": 47 }, "end": { - "line": 150, + "line": 149, "column": 48 } } @@ -19591,15 +19499,15 @@ "binop": null }, "value": "gl", - "start": 4097, - "end": 4099, + "start": 4086, + "end": 4088, "loc": { "start": { - "line": 150, + "line": 149, "column": 49 }, "end": { - "line": 150, + "line": 149, "column": 51 } } @@ -19617,15 +19525,15 @@ "binop": null, "updateContext": null }, - "start": 4099, - "end": 4100, + "start": 4088, + "end": 4089, "loc": { "start": { - "line": 150, + "line": 149, "column": 51 }, "end": { - "line": 150, + "line": 149, "column": 52 } } @@ -19643,15 +19551,15 @@ "binop": null }, "value": "RGBA", - "start": 4100, - "end": 4104, + "start": 4089, + "end": 4093, "loc": { "start": { - "line": 150, + "line": 149, "column": 52 }, "end": { - "line": 150, + "line": 149, "column": 56 } } @@ -19669,15 +19577,15 @@ "binop": null, "updateContext": null }, - "start": 4104, - "end": 4105, + "start": 4093, + "end": 4094, "loc": { "start": { - "line": 150, + "line": 149, "column": 56 }, "end": { - "line": 150, + "line": 149, "column": 57 } } @@ -19695,15 +19603,15 @@ "binop": null }, "value": "gl", - "start": 4128, - "end": 4130, + "start": 4117, + "end": 4119, "loc": { "start": { - "line": 151, + "line": 150, "column": 22 }, "end": { - "line": 151, + "line": 150, "column": 24 } } @@ -19721,15 +19629,15 @@ "binop": null, "updateContext": null }, - "start": 4130, - "end": 4131, + "start": 4119, + "end": 4120, "loc": { "start": { - "line": 151, + "line": 150, "column": 24 }, "end": { - "line": 151, + "line": 150, "column": 25 } } @@ -19747,15 +19655,15 @@ "binop": null }, "value": "UNSIGNED_BYTE", - "start": 4131, - "end": 4144, + "start": 4120, + "end": 4133, "loc": { "start": { - "line": 151, + "line": 150, "column": 25 }, "end": { - "line": 151, + "line": 150, "column": 38 } } @@ -19773,15 +19681,15 @@ "binop": null, "updateContext": null }, - "start": 4144, - "end": 4145, + "start": 4133, + "end": 4134, "loc": { "start": { - "line": 151, + "line": 150, "column": 38 }, "end": { - "line": 151, + "line": 150, "column": 39 } } @@ -19799,15 +19707,15 @@ "binop": null }, "value": "loadedImage", - "start": 4146, - "end": 4157, + "start": 4135, + "end": 4146, "loc": { "start": { - "line": 151, + "line": 150, "column": 40 }, "end": { - "line": 151, + "line": 150, "column": 51 } } @@ -19824,15 +19732,15 @@ "postfix": false, "binop": null }, - "start": 4157, - "end": 4158, + "start": 4146, + "end": 4147, "loc": { "start": { - "line": 151, + "line": 150, "column": 51 }, "end": { - "line": 151, + "line": 150, "column": 52 } } @@ -19850,15 +19758,15 @@ "binop": null, "updateContext": null }, - "start": 4158, - "end": 4159, + "start": 4147, + "end": 4148, "loc": { "start": { - "line": 151, + "line": 150, "column": 52 }, "end": { - "line": 151, + "line": 150, "column": 53 } } @@ -19876,15 +19784,15 @@ "binop": null }, "value": "gl", - "start": 4168, - "end": 4170, + "start": 4157, + "end": 4159, "loc": { "start": { - "line": 152, + "line": 151, "column": 8 }, "end": { - "line": 152, + "line": 151, "column": 10 } } @@ -19902,15 +19810,15 @@ "binop": null, "updateContext": null }, - "start": 4170, - "end": 4171, + "start": 4159, + "end": 4160, "loc": { "start": { - "line": 152, + "line": 151, "column": 10 }, "end": { - "line": 152, + "line": 151, "column": 11 } } @@ -19928,15 +19836,15 @@ "binop": null }, "value": "texParameteri", - "start": 4171, - "end": 4184, + "start": 4160, + "end": 4173, "loc": { "start": { - "line": 152, + "line": 151, "column": 11 }, "end": { - "line": 152, + "line": 151, "column": 24 } } @@ -19953,15 +19861,15 @@ "postfix": false, "binop": null }, - "start": 4184, - "end": 4185, + "start": 4173, + "end": 4174, "loc": { "start": { - "line": 152, + "line": 151, "column": 24 }, "end": { - "line": 152, + "line": 151, "column": 25 } } @@ -19979,15 +19887,15 @@ "binop": null }, "value": "gl", - "start": 4185, - "end": 4187, + "start": 4174, + "end": 4176, "loc": { "start": { - "line": 152, + "line": 151, "column": 25 }, "end": { - "line": 152, + "line": 151, "column": 27 } } @@ -20005,15 +19913,15 @@ "binop": null, "updateContext": null }, - "start": 4187, - "end": 4188, + "start": 4176, + "end": 4177, "loc": { "start": { - "line": 152, + "line": 151, "column": 27 }, "end": { - "line": 152, + "line": 151, "column": 28 } } @@ -20031,15 +19939,15 @@ "binop": null }, "value": "TEXTURE_2D", - "start": 4188, - "end": 4198, + "start": 4177, + "end": 4187, "loc": { "start": { - "line": 152, + "line": 151, "column": 28 }, "end": { - "line": 152, + "line": 151, "column": 38 } } @@ -20057,15 +19965,15 @@ "binop": null, "updateContext": null }, - "start": 4198, - "end": 4199, + "start": 4187, + "end": 4188, "loc": { "start": { - "line": 152, + "line": 151, "column": 38 }, "end": { - "line": 152, + "line": 151, "column": 39 } } @@ -20083,15 +19991,15 @@ "binop": null }, "value": "gl", - "start": 4200, - "end": 4202, + "start": 4189, + "end": 4191, "loc": { "start": { - "line": 152, + "line": 151, "column": 40 }, "end": { - "line": 152, + "line": 151, "column": 42 } } @@ -20109,15 +20017,15 @@ "binop": null, "updateContext": null }, - "start": 4202, - "end": 4203, + "start": 4191, + "end": 4192, "loc": { "start": { - "line": 152, + "line": 151, "column": 42 }, "end": { - "line": 152, + "line": 151, "column": 43 } } @@ -20135,15 +20043,15 @@ "binop": null }, "value": "TEXTURE_MAG_FILTER", - "start": 4203, - "end": 4221, + "start": 4192, + "end": 4210, "loc": { "start": { - "line": 152, + "line": 151, "column": 43 }, "end": { - "line": 152, + "line": 151, "column": 61 } } @@ -20161,15 +20069,15 @@ "binop": null, "updateContext": null }, - "start": 4221, - "end": 4222, + "start": 4210, + "end": 4211, "loc": { "start": { - "line": 152, + "line": 151, "column": 61 }, "end": { - "line": 152, + "line": 151, "column": 62 } } @@ -20187,15 +20095,15 @@ "binop": null }, "value": "gl", - "start": 4223, - "end": 4225, + "start": 4212, + "end": 4214, "loc": { "start": { - "line": 152, + "line": 151, "column": 63 }, "end": { - "line": 152, + "line": 151, "column": 65 } } @@ -20213,15 +20121,15 @@ "binop": null, "updateContext": null }, - "start": 4225, - "end": 4226, + "start": 4214, + "end": 4215, "loc": { "start": { - "line": 152, + "line": 151, "column": 65 }, "end": { - "line": 152, + "line": 151, "column": 66 } } @@ -20239,15 +20147,15 @@ "binop": null }, "value": "LINEAR", - "start": 4226, - "end": 4232, + "start": 4215, + "end": 4221, "loc": { "start": { - "line": 152, + "line": 151, "column": 66 }, "end": { - "line": 152, + "line": 151, "column": 72 } } @@ -20264,15 +20172,15 @@ "postfix": false, "binop": null }, - "start": 4232, - "end": 4233, + "start": 4221, + "end": 4222, "loc": { "start": { - "line": 152, + "line": 151, "column": 72 }, "end": { - "line": 152, + "line": 151, "column": 73 } } @@ -20290,15 +20198,15 @@ "binop": null, "updateContext": null }, - "start": 4233, - "end": 4234, + "start": 4222, + "end": 4223, "loc": { "start": { - "line": 152, + "line": 151, "column": 73 }, "end": { - "line": 152, + "line": 151, "column": 74 } } @@ -20316,15 +20224,15 @@ "binop": null }, "value": "gl", - "start": 4243, - "end": 4245, + "start": 4232, + "end": 4234, "loc": { "start": { - "line": 153, + "line": 152, "column": 8 }, "end": { - "line": 153, + "line": 152, "column": 10 } } @@ -20342,15 +20250,15 @@ "binop": null, "updateContext": null }, - "start": 4245, - "end": 4246, + "start": 4234, + "end": 4235, "loc": { "start": { - "line": 153, + "line": 152, "column": 10 }, "end": { - "line": 153, + "line": 152, "column": 11 } } @@ -20368,15 +20276,15 @@ "binop": null }, "value": "texParameteri", - "start": 4246, - "end": 4259, + "start": 4235, + "end": 4248, "loc": { "start": { - "line": 153, + "line": 152, "column": 11 }, "end": { - "line": 153, + "line": 152, "column": 24 } } @@ -20393,15 +20301,15 @@ "postfix": false, "binop": null }, - "start": 4259, - "end": 4260, + "start": 4248, + "end": 4249, "loc": { "start": { - "line": 153, + "line": 152, "column": 24 }, "end": { - "line": 153, + "line": 152, "column": 25 } } @@ -20419,15 +20327,15 @@ "binop": null }, "value": "gl", - "start": 4260, - "end": 4262, + "start": 4249, + "end": 4251, "loc": { "start": { - "line": 153, + "line": 152, "column": 25 }, "end": { - "line": 153, + "line": 152, "column": 27 } } @@ -20445,15 +20353,15 @@ "binop": null, "updateContext": null }, - "start": 4262, - "end": 4263, + "start": 4251, + "end": 4252, "loc": { "start": { - "line": 153, + "line": 152, "column": 27 }, "end": { - "line": 153, + "line": 152, "column": 28 } } @@ -20471,15 +20379,15 @@ "binop": null }, "value": "TEXTURE_2D", - "start": 4263, - "end": 4273, + "start": 4252, + "end": 4262, "loc": { "start": { - "line": 153, + "line": 152, "column": 28 }, "end": { - "line": 153, + "line": 152, "column": 38 } } @@ -20497,15 +20405,15 @@ "binop": null, "updateContext": null }, - "start": 4273, - "end": 4274, + "start": 4262, + "end": 4263, "loc": { "start": { - "line": 153, + "line": 152, "column": 38 }, "end": { - "line": 153, + "line": 152, "column": 39 } } @@ -20523,15 +20431,15 @@ "binop": null }, "value": "gl", - "start": 4275, - "end": 4277, + "start": 4264, + "end": 4266, "loc": { "start": { - "line": 153, + "line": 152, "column": 40 }, "end": { - "line": 153, + "line": 152, "column": 42 } } @@ -20549,15 +20457,15 @@ "binop": null, "updateContext": null }, - "start": 4277, - "end": 4278, + "start": 4266, + "end": 4267, "loc": { "start": { - "line": 153, + "line": 152, "column": 42 }, "end": { - "line": 153, + "line": 152, "column": 43 } } @@ -20575,15 +20483,15 @@ "binop": null }, "value": "TEXTURE_MIN_FILTER", - "start": 4278, - "end": 4296, + "start": 4267, + "end": 4285, "loc": { "start": { - "line": 153, + "line": 152, "column": 43 }, "end": { - "line": 153, + "line": 152, "column": 61 } } @@ -20601,15 +20509,15 @@ "binop": null, "updateContext": null }, - "start": 4296, - "end": 4297, + "start": 4285, + "end": 4286, "loc": { "start": { - "line": 153, + "line": 152, "column": 61 }, "end": { - "line": 153, + "line": 152, "column": 62 } } @@ -20627,15 +20535,15 @@ "binop": null }, "value": "gl", - "start": 4298, - "end": 4300, + "start": 4287, + "end": 4289, "loc": { "start": { - "line": 153, + "line": 152, "column": 63 }, "end": { - "line": 153, + "line": 152, "column": 65 } } @@ -20653,15 +20561,15 @@ "binop": null, "updateContext": null }, - "start": 4300, - "end": 4301, + "start": 4289, + "end": 4290, "loc": { "start": { - "line": 153, + "line": 152, "column": 65 }, "end": { - "line": 153, + "line": 152, "column": 66 } } @@ -20679,15 +20587,15 @@ "binop": null }, "value": "LINEAR_MIPMAP_NEAREST", - "start": 4301, - "end": 4322, + "start": 4290, + "end": 4311, "loc": { "start": { - "line": 153, + "line": 152, "column": 66 }, "end": { - "line": 153, + "line": 152, "column": 87 } } @@ -20704,15 +20612,15 @@ "postfix": false, "binop": null }, - "start": 4322, - "end": 4323, + "start": 4311, + "end": 4312, "loc": { "start": { - "line": 153, + "line": 152, "column": 87 }, "end": { - "line": 153, + "line": 152, "column": 88 } } @@ -20730,15 +20638,15 @@ "binop": null, "updateContext": null }, - "start": 4323, - "end": 4324, + "start": 4312, + "end": 4313, "loc": { "start": { - "line": 153, + "line": 152, "column": 88 }, "end": { - "line": 153, + "line": 152, "column": 89 } } @@ -20756,15 +20664,15 @@ "binop": null }, "value": "gl", - "start": 4333, - "end": 4335, + "start": 4322, + "end": 4324, "loc": { "start": { - "line": 154, + "line": 153, "column": 8 }, "end": { - "line": 154, + "line": 153, "column": 10 } } @@ -20782,15 +20690,15 @@ "binop": null, "updateContext": null }, - "start": 4335, - "end": 4336, + "start": 4324, + "end": 4325, "loc": { "start": { - "line": 154, + "line": 153, "column": 10 }, "end": { - "line": 154, + "line": 153, "column": 11 } } @@ -20808,15 +20716,15 @@ "binop": null }, "value": "generateMipmap", - "start": 4336, - "end": 4350, + "start": 4325, + "end": 4339, "loc": { "start": { - "line": 154, + "line": 153, "column": 11 }, "end": { - "line": 154, + "line": 153, "column": 25 } } @@ -20833,15 +20741,15 @@ "postfix": false, "binop": null }, - "start": 4350, - "end": 4351, + "start": 4339, + "end": 4340, "loc": { "start": { - "line": 154, + "line": 153, "column": 25 }, "end": { - "line": 154, + "line": 153, "column": 26 } } @@ -20859,15 +20767,15 @@ "binop": null }, "value": "gl", - "start": 4351, - "end": 4353, + "start": 4340, + "end": 4342, "loc": { "start": { - "line": 154, + "line": 153, "column": 26 }, "end": { - "line": 154, + "line": 153, "column": 28 } } @@ -20885,15 +20793,15 @@ "binop": null, "updateContext": null }, - "start": 4353, - "end": 4354, + "start": 4342, + "end": 4343, "loc": { "start": { - "line": 154, + "line": 153, "column": 28 }, "end": { - "line": 154, + "line": 153, "column": 29 } } @@ -20911,15 +20819,15 @@ "binop": null }, "value": "TEXTURE_2D", - "start": 4354, - "end": 4364, + "start": 4343, + "end": 4353, "loc": { "start": { - "line": 154, + "line": 153, "column": 29 }, "end": { - "line": 154, + "line": 153, "column": 39 } } @@ -20936,15 +20844,15 @@ "postfix": false, "binop": null }, - "start": 4364, - "end": 4365, + "start": 4353, + "end": 4354, "loc": { "start": { - "line": 154, + "line": 153, "column": 39 }, "end": { - "line": 154, + "line": 153, "column": 40 } } @@ -20962,15 +20870,15 @@ "binop": null, "updateContext": null }, - "start": 4365, - "end": 4366, + "start": 4354, + "end": 4355, "loc": { "start": { - "line": 154, + "line": 153, "column": 40 }, "end": { - "line": 154, + "line": 153, "column": 41 } } @@ -20988,15 +20896,15 @@ "binop": null }, "value": "model", - "start": 4378, - "end": 4383, + "start": 4367, + "end": 4372, "loc": { "start": { - "line": 158, + "line": 157, "column": 8 }, "end": { - "line": 158, + "line": 157, "column": 13 } } @@ -21014,15 +20922,15 @@ "binop": null, "updateContext": null }, - "start": 4383, - "end": 4384, + "start": 4372, + "end": 4373, "loc": { "start": { - "line": 158, + "line": 157, "column": 13 }, "end": { - "line": 158, + "line": 157, "column": 14 } } @@ -21040,15 +20948,15 @@ "binop": null }, "value": "setTexture", - "start": 4384, - "end": 4394, + "start": 4373, + "end": 4383, "loc": { "start": { - "line": 158, + "line": 157, "column": 14 }, "end": { - "line": 158, + "line": 157, "column": 24 } } @@ -21065,15 +20973,15 @@ "postfix": false, "binop": null }, - "start": 4394, - "end": 4395, + "start": 4383, + "end": 4384, "loc": { "start": { - "line": 158, + "line": 157, "column": 24 }, "end": { - "line": 158, + "line": 157, "column": 25 } } @@ -21091,15 +20999,15 @@ "binop": null }, "value": "no", - "start": 4395, - "end": 4397, + "start": 4384, + "end": 4386, "loc": { "start": { - "line": 158, + "line": 157, "column": 25 }, "end": { - "line": 158, + "line": 157, "column": 27 } } @@ -21117,15 +21025,15 @@ "binop": null, "updateContext": null }, - "start": 4397, - "end": 4398, + "start": 4386, + "end": 4387, "loc": { "start": { - "line": 158, + "line": 157, "column": 27 }, "end": { - "line": 158, + "line": 157, "column": 28 } } @@ -21143,15 +21051,15 @@ "binop": null }, "value": "texture", - "start": 4399, - "end": 4406, + "start": 4388, + "end": 4395, "loc": { "start": { - "line": 158, + "line": 157, "column": 29 }, "end": { - "line": 158, + "line": 157, "column": 36 } } @@ -21168,15 +21076,15 @@ "postfix": false, "binop": null }, - "start": 4406, - "end": 4407, + "start": 4395, + "end": 4396, "loc": { "start": { - "line": 158, + "line": 157, "column": 36 }, "end": { - "line": 158, + "line": 157, "column": 37 } } @@ -21194,15 +21102,15 @@ "binop": null, "updateContext": null }, - "start": 4407, - "end": 4408, + "start": 4396, + "end": 4397, "loc": { "start": { - "line": 158, + "line": 157, "column": 37 }, "end": { - "line": 158, + "line": 157, "column": 38 } } @@ -21210,15 +21118,15 @@ { "type": "CommentLine", "value": " テクスチャオブジェクトを解放", - "start": 4418, - "end": 4435, + "start": 4407, + "end": 4424, "loc": { "start": { - "line": 160, + "line": 159, "column": 8 }, "end": { - "line": 160, + "line": 159, "column": 25 } } @@ -21226,15 +21134,15 @@ { "type": "CommentLine", "value": " Release the texture object to prevent buffer overruns.", - "start": 4444, - "end": 4501, + "start": 4433, + "end": 4490, "loc": { "start": { - "line": 161, + "line": 160, "column": 8 }, "end": { - "line": 161, + "line": 160, "column": 65 } } @@ -21252,15 +21160,15 @@ "binop": null }, "value": "texture", - "start": 4510, - "end": 4517, + "start": 4499, + "end": 4506, "loc": { "start": { - "line": 162, + "line": 161, "column": 8 }, "end": { - "line": 162, + "line": 161, "column": 15 } } @@ -21279,15 +21187,15 @@ "updateContext": null }, "value": "=", - "start": 4518, - "end": 4519, + "start": 4507, + "end": 4508, "loc": { "start": { - "line": 162, + "line": 161, "column": 16 }, "end": { - "line": 162, + "line": 161, "column": 17 } } @@ -21307,15 +21215,15 @@ "updateContext": null }, "value": "null", - "start": 4520, - "end": 4524, + "start": 4509, + "end": 4513, "loc": { "start": { - "line": 162, + "line": 161, "column": 18 }, "end": { - "line": 162, + "line": 161, "column": 22 } } @@ -21333,15 +21241,15 @@ "binop": null, "updateContext": null }, - "start": 4524, - "end": 4525, + "start": 4513, + "end": 4514, "loc": { "start": { - "line": 162, + "line": 161, "column": 22 }, "end": { - "line": 162, + "line": 161, "column": 23 } } @@ -21361,15 +21269,15 @@ "updateContext": null }, "value": "if", - "start": 4535, - "end": 4537, + "start": 4524, + "end": 4526, "loc": { "start": { - "line": 164, + "line": 163, "column": 8 }, "end": { - "line": 164, + "line": 163, "column": 10 } } @@ -21386,15 +21294,15 @@ "postfix": false, "binop": null }, - "start": 4538, - "end": 4539, + "start": 4527, + "end": 4528, "loc": { "start": { - "line": 164, + "line": 163, "column": 11 }, "end": { - "line": 164, + "line": 163, "column": 12 } } @@ -21414,15 +21322,15 @@ "updateContext": null }, "value": "typeof", - "start": 4539, - "end": 4545, + "start": 4528, + "end": 4534, "loc": { "start": { - "line": 164, + "line": 163, "column": 12 }, "end": { - "line": 164, + "line": 163, "column": 18 } } @@ -21440,15 +21348,15 @@ "binop": null }, "value": "callback", - "start": 4546, - "end": 4554, + "start": 4535, + "end": 4543, "loc": { "start": { - "line": 164, + "line": 163, "column": 19 }, "end": { - "line": 164, + "line": 163, "column": 27 } } @@ -21467,15 +21375,15 @@ "updateContext": null }, "value": "==", - "start": 4555, - "end": 4557, + "start": 4544, + "end": 4546, "loc": { "start": { - "line": 164, + "line": 163, "column": 28 }, "end": { - "line": 164, + "line": 163, "column": 30 } } @@ -21494,15 +21402,15 @@ "updateContext": null }, "value": "function", - "start": 4558, - "end": 4568, + "start": 4547, + "end": 4557, "loc": { "start": { - "line": 164, + "line": 163, "column": 31 }, "end": { - "line": 164, + "line": 163, "column": 41 } } @@ -21519,15 +21427,15 @@ "postfix": false, "binop": null }, - "start": 4568, - "end": 4569, + "start": 4557, + "end": 4558, "loc": { "start": { - "line": 164, + "line": 163, "column": 41 }, "end": { - "line": 164, + "line": 163, "column": 42 } } @@ -21545,15 +21453,15 @@ "binop": null }, "value": "callback", - "start": 4570, - "end": 4578, + "start": 4559, + "end": 4567, "loc": { "start": { - "line": 164, + "line": 163, "column": 43 }, "end": { - "line": 164, + "line": 163, "column": 51 } } @@ -21570,15 +21478,15 @@ "postfix": false, "binop": null }, - "start": 4578, - "end": 4579, + "start": 4567, + "end": 4568, "loc": { "start": { - "line": 164, + "line": 163, "column": 51 }, "end": { - "line": 164, + "line": 163, "column": 52 } } @@ -21595,15 +21503,15 @@ "postfix": false, "binop": null }, - "start": 4579, - "end": 4580, + "start": 4568, + "end": 4569, "loc": { "start": { - "line": 164, + "line": 163, "column": 52 }, "end": { - "line": 164, + "line": 163, "column": 53 } } @@ -21621,15 +21529,15 @@ "binop": null, "updateContext": null }, - "start": 4580, - "end": 4581, + "start": 4569, + "end": 4570, "loc": { "start": { - "line": 164, + "line": 163, "column": 53 }, "end": { - "line": 164, + "line": 163, "column": 54 } } @@ -21646,15 +21554,15 @@ "postfix": false, "binop": null }, - "start": 4586, - "end": 4587, + "start": 4575, + "end": 4576, "loc": { "start": { - "line": 165, + "line": 164, "column": 4 }, "end": { - "line": 165, + "line": 164, "column": 5 } } @@ -21672,15 +21580,15 @@ "binop": null, "updateContext": null }, - "start": 4587, - "end": 4588, + "start": 4576, + "end": 4577, "loc": { "start": { - "line": 165, + "line": 164, "column": 5 }, "end": { - "line": 165, + "line": 164, "column": 6 } } @@ -21698,15 +21606,15 @@ "binop": null }, "value": "loadedImage", - "start": 4594, - "end": 4605, + "start": 4583, + "end": 4594, "loc": { "start": { - "line": 167, + "line": 166, "column": 4 }, "end": { - "line": 167, + "line": 166, "column": 15 } } @@ -21724,15 +21632,15 @@ "binop": null, "updateContext": null }, - "start": 4605, - "end": 4606, + "start": 4594, + "end": 4595, "loc": { "start": { - "line": 167, + "line": 166, "column": 15 }, "end": { - "line": 167, + "line": 166, "column": 16 } } @@ -21750,15 +21658,15 @@ "binop": null }, "value": "onerror", - "start": 4606, - "end": 4613, + "start": 4595, + "end": 4602, "loc": { "start": { - "line": 167, + "line": 166, "column": 16 }, "end": { - "line": 167, + "line": 166, "column": 23 } } @@ -21777,15 +21685,15 @@ "updateContext": null }, "value": "=", - "start": 4614, - "end": 4615, + "start": 4603, + "end": 4604, "loc": { "start": { - "line": 167, + "line": 166, "column": 24 }, "end": { - "line": 167, + "line": 166, "column": 25 } } @@ -21804,15 +21712,15 @@ "binop": null }, "value": "function", - "start": 4616, - "end": 4624, + "start": 4605, + "end": 4613, "loc": { "start": { - "line": 167, + "line": 166, "column": 26 }, "end": { - "line": 167, + "line": 166, "column": 34 } } @@ -21829,15 +21737,15 @@ "postfix": false, "binop": null }, - "start": 4624, - "end": 4625, + "start": 4613, + "end": 4614, "loc": { "start": { - "line": 167, + "line": 166, "column": 34 }, "end": { - "line": 167, + "line": 166, "column": 35 } } @@ -21854,15 +21762,15 @@ "postfix": false, "binop": null }, - "start": 4625, - "end": 4626, + "start": 4614, + "end": 4615, "loc": { "start": { - "line": 167, + "line": 166, "column": 35 }, "end": { - "line": 167, + "line": 166, "column": 36 } } @@ -21879,15 +21787,15 @@ "postfix": false, "binop": null }, - "start": 4627, - "end": 4628, + "start": 4616, + "end": 4617, "loc": { "start": { - "line": 167, + "line": 166, "column": 37 }, "end": { - "line": 167, + "line": 166, "column": 38 } } @@ -21905,15 +21813,15 @@ "binop": null }, "value": "console", - "start": 4637, - "end": 4644, + "start": 4626, + "end": 4633, "loc": { "start": { - "line": 168, + "line": 167, "column": 8 }, "end": { - "line": 168, + "line": 167, "column": 15 } } @@ -21931,15 +21839,15 @@ "binop": null, "updateContext": null }, - "start": 4644, - "end": 4645, + "start": 4633, + "end": 4634, "loc": { "start": { - "line": 168, + "line": 167, "column": 15 }, "end": { - "line": 168, + "line": 167, "column": 16 } } @@ -21957,15 +21865,15 @@ "binop": null }, "value": "error", - "start": 4645, - "end": 4650, + "start": 4634, + "end": 4639, "loc": { "start": { - "line": 168, + "line": 167, "column": 16 }, "end": { - "line": 168, + "line": 167, "column": 21 } } @@ -21982,15 +21890,15 @@ "postfix": false, "binop": null }, - "start": 4650, - "end": 4651, + "start": 4639, + "end": 4640, "loc": { "start": { - "line": 168, + "line": 167, "column": 21 }, "end": { - "line": 168, + "line": 167, "column": 22 } } @@ -22009,15 +21917,15 @@ "updateContext": null }, "value": "Failed to load image : ", - "start": 4651, - "end": 4676, + "start": 4640, + "end": 4665, "loc": { "start": { - "line": 168, + "line": 167, "column": 22 }, "end": { - "line": 168, + "line": 167, "column": 47 } } @@ -22036,15 +21944,15 @@ "updateContext": null }, "value": "+", - "start": 4677, - "end": 4678, + "start": 4666, + "end": 4667, "loc": { "start": { - "line": 168, + "line": 167, "column": 48 }, "end": { - "line": 168, + "line": 167, "column": 49 } } @@ -22062,15 +21970,15 @@ "binop": null }, "value": "path", - "start": 4679, - "end": 4683, + "start": 4668, + "end": 4672, "loc": { "start": { - "line": 168, + "line": 167, "column": 50 }, "end": { - "line": 168, + "line": 167, "column": 54 } } @@ -22087,15 +21995,15 @@ "postfix": false, "binop": null }, - "start": 4683, - "end": 4684, + "start": 4672, + "end": 4673, "loc": { "start": { - "line": 168, + "line": 167, "column": 54 }, "end": { - "line": 168, + "line": 167, "column": 55 } } @@ -22113,15 +22021,15 @@ "binop": null, "updateContext": null }, - "start": 4684, - "end": 4685, + "start": 4673, + "end": 4674, "loc": { "start": { - "line": 168, + "line": 167, "column": 55 }, "end": { - "line": 168, + "line": 167, "column": 56 } } @@ -22138,15 +22046,15 @@ "postfix": false, "binop": null }, - "start": 4690, - "end": 4691, + "start": 4679, + "end": 4680, "loc": { "start": { - "line": 169, + "line": 168, "column": 4 }, "end": { - "line": 169, + "line": 168, "column": 5 } } @@ -22163,15 +22071,15 @@ "postfix": false, "binop": null }, - "start": 4692, - "end": 4693, + "start": 4681, + "end": 4682, "loc": { "start": { - "line": 170, + "line": 169, "column": 0 }, "end": { - "line": 170, + "line": 169, "column": 1 } } @@ -22179,15 +22087,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 4696, - "end": 4758, + "start": 4685, + "end": 4747, "loc": { "start": { - "line": 173, + "line": 172, "column": 0 }, "end": { - "line": 173, + "line": 172, "column": 62 } } @@ -22195,15 +22103,15 @@ { "type": "CommentLine", "value": " PlatformManager # parseFromBytes(buf)", - "start": 4759, - "end": 4802, + "start": 4748, + "end": 4791, "loc": { "start": { - "line": 174, + "line": 173, "column": 0 }, "end": { - "line": 174, + "line": 173, "column": 43 } } @@ -22211,15 +22119,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 4804, - "end": 4866, + "start": 4793, + "end": 4855, "loc": { "start": { - "line": 176, + "line": 175, "column": 0 }, "end": { - "line": 176, + "line": 175, "column": 62 } } @@ -22227,15 +22135,15 @@ { "type": "CommentBlock", "value": "*\n* @name jsonParseFromBytes\n* @desc parse json file into arrays\n* @param {raw} buf\n* @returns {Array}jsonObj\n* @memberOf PlatformManager\n", - "start": 4868, - "end": 5010, + "start": 4857, + "end": 4999, "loc": { "start": { - "line": 178, + "line": 177, "column": 0 }, "end": { - "line": 184, + "line": 183, "column": 2 } } @@ -22253,15 +22161,15 @@ "binop": null }, "value": "PlatformManager", - "start": 5011, - "end": 5026, + "start": 5000, + "end": 5015, "loc": { "start": { - "line": 185, + "line": 184, "column": 0 }, "end": { - "line": 185, + "line": 184, "column": 15 } } @@ -22279,15 +22187,15 @@ "binop": null, "updateContext": null }, - "start": 5026, - "end": 5027, + "start": 5015, + "end": 5016, "loc": { "start": { - "line": 185, + "line": 184, "column": 15 }, "end": { - "line": 185, + "line": 184, "column": 16 } } @@ -22305,15 +22213,15 @@ "binop": null }, "value": "prototype", - "start": 5027, - "end": 5036, + "start": 5016, + "end": 5025, "loc": { "start": { - "line": 185, + "line": 184, "column": 16 }, "end": { - "line": 185, + "line": 184, "column": 25 } } @@ -22331,15 +22239,15 @@ "binop": null, "updateContext": null }, - "start": 5036, - "end": 5037, + "start": 5025, + "end": 5026, "loc": { "start": { - "line": 185, + "line": 184, "column": 25 }, "end": { - "line": 185, + "line": 184, "column": 26 } } @@ -22357,15 +22265,15 @@ "binop": null }, "value": "jsonParseFromBytes", - "start": 5037, - "end": 5055, + "start": 5026, + "end": 5044, "loc": { "start": { - "line": 185, + "line": 184, "column": 26 }, "end": { - "line": 185, + "line": 184, "column": 44 } } @@ -22384,15 +22292,15 @@ "updateContext": null }, "value": "=", - "start": 5056, - "end": 5057, + "start": 5045, + "end": 5046, "loc": { "start": { - "line": 185, + "line": 184, "column": 45 }, "end": { - "line": 185, + "line": 184, "column": 46 } } @@ -22411,15 +22319,15 @@ "binop": null }, "value": "function", - "start": 5058, - "end": 5066, + "start": 5047, + "end": 5055, "loc": { "start": { - "line": 185, + "line": 184, "column": 47 }, "end": { - "line": 185, + "line": 184, "column": 55 } } @@ -22436,15 +22344,15 @@ "postfix": false, "binop": null }, - "start": 5066, - "end": 5067, + "start": 5055, + "end": 5056, "loc": { "start": { - "line": 185, + "line": 184, "column": 55 }, "end": { - "line": 185, + "line": 184, "column": 56 } } @@ -22462,15 +22370,15 @@ "binop": null }, "value": "buf", - "start": 5067, - "end": 5070, + "start": 5056, + "end": 5059, "loc": { "start": { - "line": 185, + "line": 184, "column": 56 }, "end": { - "line": 185, + "line": 184, "column": 59 } } @@ -22487,15 +22395,15 @@ "postfix": false, "binop": null }, - "start": 5070, - "end": 5071, + "start": 5059, + "end": 5060, "loc": { "start": { - "line": 185, + "line": 184, "column": 59 }, "end": { - "line": 185, + "line": 184, "column": 60 } } @@ -22512,15 +22420,15 @@ "postfix": false, "binop": null }, - "start": 5071, - "end": 5072, + "start": 5060, + "end": 5061, "loc": { "start": { - "line": 185, + "line": 184, "column": 60 }, "end": { - "line": 185, + "line": 184, "column": 61 } } @@ -22540,15 +22448,15 @@ "updateContext": null }, "value": "var", - "start": 5078, - "end": 5081, + "start": 5067, + "end": 5070, "loc": { "start": { - "line": 187, + "line": 186, "column": 4 }, "end": { - "line": 187, + "line": 186, "column": 7 } } @@ -22566,15 +22474,15 @@ "binop": null }, "value": "jsonStr", - "start": 5082, - "end": 5089, + "start": 5071, + "end": 5078, "loc": { "start": { - "line": 187, + "line": 186, "column": 8 }, "end": { - "line": 187, + "line": 186, "column": 15 } } @@ -22592,15 +22500,15 @@ "binop": null, "updateContext": null }, - "start": 5089, - "end": 5090, + "start": 5078, + "end": 5079, "loc": { "start": { - "line": 187, + "line": 186, "column": 15 }, "end": { - "line": 187, + "line": 186, "column": 16 } } @@ -22620,15 +22528,15 @@ "updateContext": null }, "value": "var", - "start": 5095, - "end": 5098, + "start": 5084, + "end": 5087, "loc": { "start": { - "line": 188, + "line": 187, "column": 4 }, "end": { - "line": 188, + "line": 187, "column": 7 } } @@ -22646,15 +22554,15 @@ "binop": null }, "value": "bomCode", - "start": 5099, - "end": 5106, + "start": 5088, + "end": 5095, "loc": { "start": { - "line": 188, + "line": 187, "column": 8 }, "end": { - "line": 188, + "line": 187, "column": 15 } } @@ -22673,15 +22581,15 @@ "updateContext": null }, "value": "=", - "start": 5107, - "end": 5108, + "start": 5096, + "end": 5097, "loc": { "start": { - "line": 188, + "line": 187, "column": 16 }, "end": { - "line": 188, + "line": 187, "column": 17 } } @@ -22701,15 +22609,15 @@ "updateContext": null }, "value": "new", - "start": 5109, - "end": 5112, + "start": 5098, + "end": 5101, "loc": { "start": { - "line": 188, + "line": 187, "column": 18 }, "end": { - "line": 188, + "line": 187, "column": 21 } } @@ -22727,15 +22635,15 @@ "binop": null }, "value": "Uint8Array", - "start": 5113, - "end": 5123, + "start": 5102, + "end": 5112, "loc": { "start": { - "line": 188, + "line": 187, "column": 22 }, "end": { - "line": 188, + "line": 187, "column": 32 } } @@ -22752,15 +22660,15 @@ "postfix": false, "binop": null }, - "start": 5123, - "end": 5124, + "start": 5112, + "end": 5113, "loc": { "start": { - "line": 188, + "line": 187, "column": 32 }, "end": { - "line": 188, + "line": 187, "column": 33 } } @@ -22778,15 +22686,15 @@ "binop": null }, "value": "buf", - "start": 5124, - "end": 5127, + "start": 5113, + "end": 5116, "loc": { "start": { - "line": 188, + "line": 187, "column": 33 }, "end": { - "line": 188, + "line": 187, "column": 36 } } @@ -22804,15 +22712,15 @@ "binop": null, "updateContext": null }, - "start": 5127, - "end": 5128, + "start": 5116, + "end": 5117, "loc": { "start": { - "line": 188, + "line": 187, "column": 36 }, "end": { - "line": 188, + "line": 187, "column": 37 } } @@ -22831,15 +22739,15 @@ "updateContext": null }, "value": 0, - "start": 5129, - "end": 5130, + "start": 5118, + "end": 5119, "loc": { "start": { - "line": 188, + "line": 187, "column": 38 }, "end": { - "line": 188, + "line": 187, "column": 39 } } @@ -22857,15 +22765,15 @@ "binop": null, "updateContext": null }, - "start": 5130, - "end": 5131, + "start": 5119, + "end": 5120, "loc": { "start": { - "line": 188, + "line": 187, "column": 39 }, "end": { - "line": 188, + "line": 187, "column": 40 } } @@ -22884,15 +22792,15 @@ "updateContext": null }, "value": 3, - "start": 5132, - "end": 5133, + "start": 5121, + "end": 5122, "loc": { "start": { - "line": 188, + "line": 187, "column": 41 }, "end": { - "line": 188, + "line": 187, "column": 42 } } @@ -22909,15 +22817,15 @@ "postfix": false, "binop": null }, - "start": 5133, - "end": 5134, + "start": 5122, + "end": 5123, "loc": { "start": { - "line": 188, + "line": 187, "column": 42 }, "end": { - "line": 188, + "line": 187, "column": 43 } } @@ -22935,15 +22843,15 @@ "binop": null, "updateContext": null }, - "start": 5134, - "end": 5135, + "start": 5123, + "end": 5124, "loc": { "start": { - "line": 188, + "line": 187, "column": 43 }, "end": { - "line": 188, + "line": 187, "column": 44 } } @@ -22963,15 +22871,15 @@ "updateContext": null }, "value": "if", - "start": 5140, - "end": 5142, + "start": 5129, + "end": 5131, "loc": { "start": { - "line": 189, + "line": 188, "column": 4 }, "end": { - "line": 189, + "line": 188, "column": 6 } } @@ -22988,15 +22896,15 @@ "postfix": false, "binop": null }, - "start": 5143, - "end": 5144, + "start": 5132, + "end": 5133, "loc": { "start": { - "line": 189, + "line": 188, "column": 7 }, "end": { - "line": 189, + "line": 188, "column": 8 } } @@ -23014,15 +22922,15 @@ "binop": null }, "value": "bomCode", - "start": 5144, - "end": 5151, + "start": 5133, + "end": 5140, "loc": { "start": { - "line": 189, + "line": 188, "column": 8 }, "end": { - "line": 189, + "line": 188, "column": 15 } } @@ -23040,15 +22948,15 @@ "binop": null, "updateContext": null }, - "start": 5151, - "end": 5152, + "start": 5140, + "end": 5141, "loc": { "start": { - "line": 189, + "line": 188, "column": 15 }, "end": { - "line": 189, + "line": 188, "column": 16 } } @@ -23067,15 +22975,15 @@ "updateContext": null }, "value": 0, - "start": 5152, - "end": 5153, + "start": 5141, + "end": 5142, "loc": { "start": { - "line": 189, + "line": 188, "column": 16 }, "end": { - "line": 189, + "line": 188, "column": 17 } } @@ -23093,15 +23001,15 @@ "binop": null, "updateContext": null }, - "start": 5153, - "end": 5154, + "start": 5142, + "end": 5143, "loc": { "start": { - "line": 189, + "line": 188, "column": 17 }, "end": { - "line": 189, + "line": 188, "column": 18 } } @@ -23120,15 +23028,15 @@ "updateContext": null }, "value": "==", - "start": 5155, - "end": 5157, + "start": 5144, + "end": 5146, "loc": { "start": { - "line": 189, + "line": 188, "column": 19 }, "end": { - "line": 189, + "line": 188, "column": 21 } } @@ -23147,15 +23055,15 @@ "updateContext": null }, "value": 239, - "start": 5158, - "end": 5161, + "start": 5147, + "end": 5150, "loc": { "start": { - "line": 189, + "line": 188, "column": 22 }, "end": { - "line": 189, + "line": 188, "column": 25 } } @@ -23174,15 +23082,15 @@ "updateContext": null }, "value": "&&", - "start": 5162, - "end": 5164, + "start": 5151, + "end": 5153, "loc": { "start": { - "line": 189, + "line": 188, "column": 26 }, "end": { - "line": 189, + "line": 188, "column": 28 } } @@ -23200,15 +23108,15 @@ "binop": null }, "value": "bomCode", - "start": 5165, - "end": 5172, + "start": 5154, + "end": 5161, "loc": { "start": { - "line": 189, + "line": 188, "column": 29 }, "end": { - "line": 189, + "line": 188, "column": 36 } } @@ -23226,15 +23134,15 @@ "binop": null, "updateContext": null }, - "start": 5172, - "end": 5173, + "start": 5161, + "end": 5162, "loc": { "start": { - "line": 189, + "line": 188, "column": 36 }, "end": { - "line": 189, + "line": 188, "column": 37 } } @@ -23253,15 +23161,15 @@ "updateContext": null }, "value": 1, - "start": 5173, - "end": 5174, + "start": 5162, + "end": 5163, "loc": { "start": { - "line": 189, + "line": 188, "column": 37 }, "end": { - "line": 189, + "line": 188, "column": 38 } } @@ -23279,15 +23187,15 @@ "binop": null, "updateContext": null }, - "start": 5174, - "end": 5175, + "start": 5163, + "end": 5164, "loc": { "start": { - "line": 189, + "line": 188, "column": 38 }, "end": { - "line": 189, + "line": 188, "column": 39 } } @@ -23306,15 +23214,15 @@ "updateContext": null }, "value": "==", - "start": 5176, - "end": 5178, + "start": 5165, + "end": 5167, "loc": { "start": { - "line": 189, + "line": 188, "column": 40 }, "end": { - "line": 189, + "line": 188, "column": 42 } } @@ -23333,15 +23241,15 @@ "updateContext": null }, "value": 187, - "start": 5179, - "end": 5182, + "start": 5168, + "end": 5171, "loc": { "start": { - "line": 189, + "line": 188, "column": 43 }, "end": { - "line": 189, + "line": 188, "column": 46 } } @@ -23360,15 +23268,15 @@ "updateContext": null }, "value": "&&", - "start": 5183, - "end": 5185, + "start": 5172, + "end": 5174, "loc": { "start": { - "line": 189, + "line": 188, "column": 47 }, "end": { - "line": 189, + "line": 188, "column": 49 } } @@ -23386,15 +23294,15 @@ "binop": null }, "value": "bomCode", - "start": 5186, - "end": 5193, + "start": 5175, + "end": 5182, "loc": { "start": { - "line": 189, + "line": 188, "column": 50 }, "end": { - "line": 189, + "line": 188, "column": 57 } } @@ -23412,15 +23320,15 @@ "binop": null, "updateContext": null }, - "start": 5193, - "end": 5194, + "start": 5182, + "end": 5183, "loc": { "start": { - "line": 189, + "line": 188, "column": 57 }, "end": { - "line": 189, + "line": 188, "column": 58 } } @@ -23439,15 +23347,15 @@ "updateContext": null }, "value": 2, - "start": 5194, - "end": 5195, + "start": 5183, + "end": 5184, "loc": { "start": { - "line": 189, + "line": 188, "column": 58 }, "end": { - "line": 189, + "line": 188, "column": 59 } } @@ -23465,15 +23373,15 @@ "binop": null, "updateContext": null }, - "start": 5195, - "end": 5196, + "start": 5184, + "end": 5185, "loc": { "start": { - "line": 189, + "line": 188, "column": 59 }, "end": { - "line": 189, + "line": 188, "column": 60 } } @@ -23492,15 +23400,15 @@ "updateContext": null }, "value": "==", - "start": 5197, - "end": 5199, + "start": 5186, + "end": 5188, "loc": { "start": { - "line": 189, + "line": 188, "column": 61 }, "end": { - "line": 189, + "line": 188, "column": 63 } } @@ -23519,15 +23427,15 @@ "updateContext": null }, "value": 191, - "start": 5200, - "end": 5203, + "start": 5189, + "end": 5192, "loc": { "start": { - "line": 189, + "line": 188, "column": 64 }, "end": { - "line": 189, + "line": 188, "column": 67 } } @@ -23544,15 +23452,15 @@ "postfix": false, "binop": null }, - "start": 5203, - "end": 5204, + "start": 5192, + "end": 5193, "loc": { "start": { - "line": 189, + "line": 188, "column": 67 }, "end": { - "line": 189, + "line": 188, "column": 68 } } @@ -23569,15 +23477,15 @@ "postfix": false, "binop": null }, - "start": 5205, - "end": 5206, + "start": 5194, + "end": 5195, "loc": { "start": { - "line": 189, + "line": 188, "column": 69 }, "end": { - "line": 189, + "line": 188, "column": 70 } } @@ -23595,15 +23503,15 @@ "binop": null }, "value": "jsonStr", - "start": 5215, - "end": 5222, + "start": 5204, + "end": 5211, "loc": { "start": { - "line": 190, + "line": 189, "column": 8 }, "end": { - "line": 190, + "line": 189, "column": 15 } } @@ -23622,15 +23530,15 @@ "updateContext": null }, "value": "=", - "start": 5223, - "end": 5224, + "start": 5212, + "end": 5213, "loc": { "start": { - "line": 190, + "line": 189, "column": 16 }, "end": { - "line": 190, + "line": 189, "column": 17 } } @@ -23648,15 +23556,15 @@ "binop": null }, "value": "String", - "start": 5225, - "end": 5231, + "start": 5214, + "end": 5220, "loc": { "start": { - "line": 190, + "line": 189, "column": 18 }, "end": { - "line": 190, + "line": 189, "column": 24 } } @@ -23674,15 +23582,15 @@ "binop": null, "updateContext": null }, - "start": 5231, - "end": 5232, + "start": 5220, + "end": 5221, "loc": { "start": { - "line": 190, + "line": 189, "column": 24 }, "end": { - "line": 190, + "line": 189, "column": 25 } } @@ -23700,15 +23608,15 @@ "binop": null }, "value": "fromCharCode", - "start": 5232, - "end": 5244, + "start": 5221, + "end": 5233, "loc": { "start": { - "line": 190, + "line": 189, "column": 25 }, "end": { - "line": 190, + "line": 189, "column": 37 } } @@ -23726,15 +23634,15 @@ "binop": null, "updateContext": null }, - "start": 5244, - "end": 5245, + "start": 5233, + "end": 5234, "loc": { "start": { - "line": 190, + "line": 189, "column": 37 }, "end": { - "line": 190, + "line": 189, "column": 38 } } @@ -23752,15 +23660,15 @@ "binop": null }, "value": "apply", - "start": 5245, - "end": 5250, + "start": 5234, + "end": 5239, "loc": { "start": { - "line": 190, + "line": 189, "column": 38 }, "end": { - "line": 190, + "line": 189, "column": 43 } } @@ -23777,15 +23685,15 @@ "postfix": false, "binop": null }, - "start": 5250, - "end": 5251, + "start": 5239, + "end": 5240, "loc": { "start": { - "line": 190, + "line": 189, "column": 43 }, "end": { - "line": 190, + "line": 189, "column": 44 } } @@ -23805,15 +23713,15 @@ "updateContext": null }, "value": "null", - "start": 5251, - "end": 5255, + "start": 5240, + "end": 5244, "loc": { "start": { - "line": 190, + "line": 189, "column": 44 }, "end": { - "line": 190, + "line": 189, "column": 48 } } @@ -23831,15 +23739,15 @@ "binop": null, "updateContext": null }, - "start": 5255, - "end": 5256, + "start": 5244, + "end": 5245, "loc": { "start": { - "line": 190, + "line": 189, "column": 48 }, "end": { - "line": 190, + "line": 189, "column": 49 } } @@ -23859,15 +23767,15 @@ "updateContext": null }, "value": "new", - "start": 5257, - "end": 5260, + "start": 5246, + "end": 5249, "loc": { "start": { - "line": 190, + "line": 189, "column": 50 }, "end": { - "line": 190, + "line": 189, "column": 53 } } @@ -23885,15 +23793,15 @@ "binop": null }, "value": "Uint8Array", - "start": 5261, - "end": 5271, + "start": 5250, + "end": 5260, "loc": { "start": { - "line": 190, + "line": 189, "column": 54 }, "end": { - "line": 190, + "line": 189, "column": 64 } } @@ -23910,15 +23818,15 @@ "postfix": false, "binop": null }, - "start": 5271, - "end": 5272, + "start": 5260, + "end": 5261, "loc": { "start": { - "line": 190, + "line": 189, "column": 64 }, "end": { - "line": 190, + "line": 189, "column": 65 } } @@ -23936,15 +23844,15 @@ "binop": null }, "value": "buf", - "start": 5272, - "end": 5275, + "start": 5261, + "end": 5264, "loc": { "start": { - "line": 190, + "line": 189, "column": 65 }, "end": { - "line": 190, + "line": 189, "column": 68 } } @@ -23962,15 +23870,15 @@ "binop": null, "updateContext": null }, - "start": 5275, - "end": 5276, + "start": 5264, + "end": 5265, "loc": { "start": { - "line": 190, + "line": 189, "column": 68 }, "end": { - "line": 190, + "line": 189, "column": 69 } } @@ -23989,15 +23897,15 @@ "updateContext": null }, "value": 3, - "start": 5277, - "end": 5278, + "start": 5266, + "end": 5267, "loc": { "start": { - "line": 190, + "line": 189, "column": 70 }, "end": { - "line": 190, + "line": 189, "column": 71 } } @@ -24014,15 +23922,15 @@ "postfix": false, "binop": null }, - "start": 5278, - "end": 5279, + "start": 5267, + "end": 5268, "loc": { "start": { - "line": 190, + "line": 189, "column": 71 }, "end": { - "line": 190, + "line": 189, "column": 72 } } @@ -24039,15 +23947,15 @@ "postfix": false, "binop": null }, - "start": 5279, - "end": 5280, + "start": 5268, + "end": 5269, "loc": { "start": { - "line": 190, + "line": 189, "column": 72 }, "end": { - "line": 190, + "line": 189, "column": 73 } } @@ -24065,15 +23973,15 @@ "binop": null, "updateContext": null }, - "start": 5280, - "end": 5281, + "start": 5269, + "end": 5270, "loc": { "start": { - "line": 190, + "line": 189, "column": 73 }, "end": { - "line": 190, + "line": 189, "column": 74 } } @@ -24090,15 +23998,15 @@ "postfix": false, "binop": null }, - "start": 5286, - "end": 5287, + "start": 5275, + "end": 5276, "loc": { "start": { - "line": 191, + "line": 190, "column": 4 }, "end": { - "line": 191, + "line": 190, "column": 5 } } @@ -24118,15 +24026,15 @@ "updateContext": null }, "value": "else", - "start": 5288, - "end": 5292, + "start": 5277, + "end": 5281, "loc": { "start": { - "line": 191, + "line": 190, "column": 6 }, "end": { - "line": 191, + "line": 190, "column": 10 } } @@ -24143,15 +24051,15 @@ "postfix": false, "binop": null }, - "start": 5293, - "end": 5294, + "start": 5282, + "end": 5283, "loc": { "start": { - "line": 191, + "line": 190, "column": 11 }, "end": { - "line": 191, + "line": 190, "column": 12 } } @@ -24169,15 +24077,15 @@ "binop": null }, "value": "jsonStr", - "start": 5303, - "end": 5310, + "start": 5292, + "end": 5299, "loc": { "start": { - "line": 192, + "line": 191, "column": 8 }, "end": { - "line": 192, + "line": 191, "column": 15 } } @@ -24196,15 +24104,15 @@ "updateContext": null }, "value": "=", - "start": 5311, - "end": 5312, + "start": 5300, + "end": 5301, "loc": { "start": { - "line": 192, + "line": 191, "column": 16 }, "end": { - "line": 192, + "line": 191, "column": 17 } } @@ -24222,15 +24130,15 @@ "binop": null }, "value": "String", - "start": 5313, - "end": 5319, + "start": 5302, + "end": 5308, "loc": { "start": { - "line": 192, + "line": 191, "column": 18 }, "end": { - "line": 192, + "line": 191, "column": 24 } } @@ -24248,15 +24156,15 @@ "binop": null, "updateContext": null }, - "start": 5319, - "end": 5320, + "start": 5308, + "end": 5309, "loc": { "start": { - "line": 192, + "line": 191, "column": 24 }, "end": { - "line": 192, + "line": 191, "column": 25 } } @@ -24274,15 +24182,15 @@ "binop": null }, "value": "fromCharCode", - "start": 5320, - "end": 5332, + "start": 5309, + "end": 5321, "loc": { "start": { - "line": 192, + "line": 191, "column": 25 }, "end": { - "line": 192, + "line": 191, "column": 37 } } @@ -24300,15 +24208,15 @@ "binop": null, "updateContext": null }, - "start": 5332, - "end": 5333, + "start": 5321, + "end": 5322, "loc": { "start": { - "line": 192, + "line": 191, "column": 37 }, "end": { - "line": 192, + "line": 191, "column": 38 } } @@ -24326,15 +24234,15 @@ "binop": null }, "value": "apply", - "start": 5333, - "end": 5338, + "start": 5322, + "end": 5327, "loc": { "start": { - "line": 192, + "line": 191, "column": 38 }, "end": { - "line": 192, + "line": 191, "column": 43 } } @@ -24351,15 +24259,15 @@ "postfix": false, "binop": null }, - "start": 5338, - "end": 5339, + "start": 5327, + "end": 5328, "loc": { "start": { - "line": 192, + "line": 191, "column": 43 }, "end": { - "line": 192, + "line": 191, "column": 44 } } @@ -24379,15 +24287,15 @@ "updateContext": null }, "value": "null", - "start": 5339, - "end": 5343, + "start": 5328, + "end": 5332, "loc": { "start": { - "line": 192, + "line": 191, "column": 44 }, "end": { - "line": 192, + "line": 191, "column": 48 } } @@ -24405,15 +24313,15 @@ "binop": null, "updateContext": null }, - "start": 5343, - "end": 5344, + "start": 5332, + "end": 5333, "loc": { "start": { - "line": 192, + "line": 191, "column": 48 }, "end": { - "line": 192, + "line": 191, "column": 49 } } @@ -24433,15 +24341,15 @@ "updateContext": null }, "value": "new", - "start": 5345, - "end": 5348, + "start": 5334, + "end": 5337, "loc": { "start": { - "line": 192, + "line": 191, "column": 50 }, "end": { - "line": 192, + "line": 191, "column": 53 } } @@ -24459,15 +24367,15 @@ "binop": null }, "value": "Uint8Array", - "start": 5349, - "end": 5359, + "start": 5338, + "end": 5348, "loc": { "start": { - "line": 192, + "line": 191, "column": 54 }, "end": { - "line": 192, + "line": 191, "column": 64 } } @@ -24484,15 +24392,15 @@ "postfix": false, "binop": null }, - "start": 5359, - "end": 5360, + "start": 5348, + "end": 5349, "loc": { "start": { - "line": 192, + "line": 191, "column": 64 }, "end": { - "line": 192, + "line": 191, "column": 65 } } @@ -24510,15 +24418,15 @@ "binop": null }, "value": "buf", - "start": 5360, - "end": 5363, + "start": 5349, + "end": 5352, "loc": { "start": { - "line": 192, + "line": 191, "column": 65 }, "end": { - "line": 192, + "line": 191, "column": 68 } } @@ -24535,15 +24443,15 @@ "postfix": false, "binop": null }, - "start": 5363, - "end": 5364, + "start": 5352, + "end": 5353, "loc": { "start": { - "line": 192, + "line": 191, "column": 68 }, "end": { - "line": 192, + "line": 191, "column": 69 } } @@ -24560,15 +24468,15 @@ "postfix": false, "binop": null }, - "start": 5364, - "end": 5365, + "start": 5353, + "end": 5354, "loc": { "start": { - "line": 192, + "line": 191, "column": 69 }, "end": { - "line": 192, + "line": 191, "column": 70 } } @@ -24586,15 +24494,15 @@ "binop": null, "updateContext": null }, - "start": 5365, - "end": 5366, + "start": 5354, + "end": 5355, "loc": { "start": { - "line": 192, + "line": 191, "column": 70 }, "end": { - "line": 192, + "line": 191, "column": 71 } } @@ -24611,15 +24519,15 @@ "postfix": false, "binop": null }, - "start": 5371, - "end": 5372, + "start": 5360, + "end": 5361, "loc": { "start": { - "line": 193, + "line": 192, "column": 4 }, "end": { - "line": 193, + "line": 192, "column": 5 } } @@ -24639,15 +24547,15 @@ "updateContext": null }, "value": "var", - "start": 5378, - "end": 5381, + "start": 5367, + "end": 5370, "loc": { "start": { - "line": 195, + "line": 194, "column": 4 }, "end": { - "line": 195, + "line": 194, "column": 7 } } @@ -24665,15 +24573,15 @@ "binop": null }, "value": "jsonObj", - "start": 5382, - "end": 5389, + "start": 5371, + "end": 5378, "loc": { "start": { - "line": 195, + "line": 194, "column": 8 }, "end": { - "line": 195, + "line": 194, "column": 15 } } @@ -24692,15 +24600,15 @@ "updateContext": null }, "value": "=", - "start": 5390, - "end": 5391, + "start": 5379, + "end": 5380, "loc": { "start": { - "line": 195, + "line": 194, "column": 16 }, "end": { - "line": 195, + "line": 194, "column": 17 } } @@ -24718,15 +24626,15 @@ "binop": null }, "value": "JSON", - "start": 5392, - "end": 5396, + "start": 5381, + "end": 5385, "loc": { "start": { - "line": 195, + "line": 194, "column": 18 }, "end": { - "line": 195, + "line": 194, "column": 22 } } @@ -24744,15 +24652,15 @@ "binop": null, "updateContext": null }, - "start": 5396, - "end": 5397, + "start": 5385, + "end": 5386, "loc": { "start": { - "line": 195, + "line": 194, "column": 22 }, "end": { - "line": 195, + "line": 194, "column": 23 } } @@ -24770,15 +24678,15 @@ "binop": null }, "value": "parse", - "start": 5397, - "end": 5402, + "start": 5386, + "end": 5391, "loc": { "start": { - "line": 195, + "line": 194, "column": 23 }, "end": { - "line": 195, + "line": 194, "column": 28 } } @@ -24795,15 +24703,15 @@ "postfix": false, "binop": null }, - "start": 5402, - "end": 5403, + "start": 5391, + "end": 5392, "loc": { "start": { - "line": 195, + "line": 194, "column": 28 }, "end": { - "line": 195, + "line": 194, "column": 29 } } @@ -24821,15 +24729,15 @@ "binop": null }, "value": "jsonStr", - "start": 5403, - "end": 5410, + "start": 5392, + "end": 5399, "loc": { "start": { - "line": 195, + "line": 194, "column": 29 }, "end": { - "line": 195, + "line": 194, "column": 36 } } @@ -24846,15 +24754,15 @@ "postfix": false, "binop": null }, - "start": 5410, - "end": 5411, + "start": 5399, + "end": 5400, "loc": { "start": { - "line": 195, + "line": 194, "column": 36 }, "end": { - "line": 195, + "line": 194, "column": 37 } } @@ -24872,15 +24780,15 @@ "binop": null, "updateContext": null }, - "start": 5411, - "end": 5412, + "start": 5400, + "end": 5401, "loc": { "start": { - "line": 195, + "line": 194, "column": 37 }, "end": { - "line": 195, + "line": 194, "column": 38 } } @@ -24900,15 +24808,15 @@ "updateContext": null }, "value": "return", - "start": 5418, - "end": 5424, + "start": 5407, + "end": 5413, "loc": { "start": { - "line": 197, + "line": 196, "column": 4 }, "end": { - "line": 197, + "line": 196, "column": 10 } } @@ -24926,15 +24834,15 @@ "binop": null }, "value": "jsonObj", - "start": 5425, - "end": 5432, + "start": 5414, + "end": 5421, "loc": { "start": { - "line": 197, + "line": 196, "column": 11 }, "end": { - "line": 197, + "line": 196, "column": 18 } } @@ -24952,15 +24860,15 @@ "binop": null, "updateContext": null }, - "start": 5432, - "end": 5433, + "start": 5421, + "end": 5422, "loc": { "start": { - "line": 197, + "line": 196, "column": 18 }, "end": { - "line": 197, + "line": 196, "column": 19 } } @@ -24977,15 +24885,15 @@ "postfix": false, "binop": null }, - "start": 5434, - "end": 5435, + "start": 5423, + "end": 5424, "loc": { "start": { - "line": 198, + "line": 197, "column": 0 }, "end": { - "line": 198, + "line": 197, "column": 1 } } @@ -25003,15 +24911,15 @@ "binop": null, "updateContext": null }, - "start": 5435, - "end": 5436, + "start": 5424, + "end": 5425, "loc": { "start": { - "line": 198, + "line": 197, "column": 1 }, "end": { - "line": 198, + "line": 197, "column": 2 } } @@ -25019,15 +24927,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 5440, - "end": 5502, + "start": 5429, + "end": 5491, "loc": { "start": { - "line": 202, + "line": 201, "column": 0 }, "end": { - "line": 202, + "line": 201, "column": 62 } } @@ -25035,15 +24943,15 @@ { "type": "CommentLine", "value": " PlatformManager # log()", - "start": 5503, - "end": 5532, + "start": 5492, + "end": 5521, "loc": { "start": { - "line": 203, + "line": 202, "column": 0 }, "end": { - "line": 203, + "line": 202, "column": 29 } } @@ -25051,15 +24959,15 @@ { "type": "CommentLine", "value": "============================================================", - "start": 5533, - "end": 5595, + "start": 5522, + "end": 5584, "loc": { "start": { - "line": 204, + "line": 203, "column": 0 }, "end": { - "line": 204, + "line": 203, "column": 62 } } @@ -25067,15 +24975,15 @@ { "type": "CommentBlock", "value": "*\n* @name log\n* @desc output log in console\n* @param {string} txt\n* @returns null\n* @memberOf PlatformManager\n", - "start": 5597, - "end": 5711, + "start": 5586, + "end": 5700, "loc": { "start": { - "line": 206, + "line": 205, "column": 0 }, "end": { - "line": 212, + "line": 211, "column": 2 } } @@ -25093,15 +25001,15 @@ "binop": null }, "value": "PlatformManager", - "start": 5712, - "end": 5727, + "start": 5701, + "end": 5716, "loc": { "start": { - "line": 213, + "line": 212, "column": 0 }, "end": { - "line": 213, + "line": 212, "column": 15 } } @@ -25119,15 +25027,15 @@ "binop": null, "updateContext": null }, - "start": 5727, - "end": 5728, + "start": 5716, + "end": 5717, "loc": { "start": { - "line": 213, + "line": 212, "column": 15 }, "end": { - "line": 213, + "line": 212, "column": 16 } } @@ -25145,15 +25053,15 @@ "binop": null }, "value": "prototype", - "start": 5728, - "end": 5737, + "start": 5717, + "end": 5726, "loc": { "start": { - "line": 213, + "line": 212, "column": 16 }, "end": { - "line": 213, + "line": 212, "column": 25 } } @@ -25171,15 +25079,15 @@ "binop": null, "updateContext": null }, - "start": 5737, - "end": 5738, + "start": 5726, + "end": 5727, "loc": { "start": { - "line": 213, + "line": 212, "column": 25 }, "end": { - "line": 213, + "line": 212, "column": 26 } } @@ -25197,15 +25105,15 @@ "binop": null }, "value": "log", - "start": 5738, - "end": 5741, + "start": 5727, + "end": 5730, "loc": { "start": { - "line": 213, + "line": 212, "column": 26 }, "end": { - "line": 213, + "line": 212, "column": 29 } } @@ -25224,15 +25132,15 @@ "updateContext": null }, "value": "=", - "start": 5754, - "end": 5755, + "start": 5743, + "end": 5744, "loc": { "start": { - "line": 213, + "line": 212, "column": 42 }, "end": { - "line": 213, + "line": 212, "column": 43 } } @@ -25251,15 +25159,15 @@ "binop": null }, "value": "function", - "start": 5756, - "end": 5764, + "start": 5745, + "end": 5753, "loc": { "start": { - "line": 213, + "line": 212, "column": 44 }, "end": { - "line": 213, + "line": 212, "column": 52 } } @@ -25276,15 +25184,15 @@ "postfix": false, "binop": null }, - "start": 5764, - "end": 5765, + "start": 5753, + "end": 5754, "loc": { "start": { - "line": 213, + "line": 212, "column": 52 }, "end": { - "line": 213, + "line": 212, "column": 53 } } @@ -25302,15 +25210,15 @@ "binop": null }, "value": "txt", - "start": 5765, - "end": 5768, + "start": 5754, + "end": 5757, "loc": { "start": { - "line": 213, + "line": 212, "column": 53 }, "end": { - "line": 213, + "line": 212, "column": 56 } } @@ -25318,15 +25226,15 @@ { "type": "CommentBlock", "value": "String", - "start": 5768, - "end": 5778, + "start": 5757, + "end": 5767, "loc": { "start": { - "line": 213, + "line": 212, "column": 56 }, "end": { - "line": 213, + "line": 212, "column": 66 } } @@ -25343,15 +25251,15 @@ "postfix": false, "binop": null }, - "start": 5778, - "end": 5779, + "start": 5767, + "end": 5768, "loc": { "start": { - "line": 213, + "line": 212, "column": 66 }, "end": { - "line": 213, + "line": 212, "column": 67 } } @@ -25368,15 +25276,15 @@ "postfix": false, "binop": null }, - "start": 5780, - "end": 5781, + "start": 5769, + "end": 5770, "loc": { "start": { - "line": 214, + "line": 213, "column": 0 }, "end": { - "line": 214, + "line": 213, "column": 1 } } @@ -25394,15 +25302,15 @@ "binop": null }, "value": "console", - "start": 5786, - "end": 5793, + "start": 5775, + "end": 5782, "loc": { "start": { - "line": 215, + "line": 214, "column": 4 }, "end": { - "line": 215, + "line": 214, "column": 11 } } @@ -25420,15 +25328,15 @@ "binop": null, "updateContext": null }, - "start": 5793, - "end": 5794, + "start": 5782, + "end": 5783, "loc": { "start": { - "line": 215, + "line": 214, "column": 11 }, "end": { - "line": 215, + "line": 214, "column": 12 } } @@ -25446,15 +25354,15 @@ "binop": null }, "value": "log", - "start": 5794, - "end": 5797, + "start": 5783, + "end": 5786, "loc": { "start": { - "line": 215, + "line": 214, "column": 12 }, "end": { - "line": 215, + "line": 214, "column": 15 } } @@ -25471,15 +25379,15 @@ "postfix": false, "binop": null }, - "start": 5797, - "end": 5798, + "start": 5786, + "end": 5787, "loc": { "start": { - "line": 215, + "line": 214, "column": 15 }, "end": { - "line": 215, + "line": 214, "column": 16 } } @@ -25497,15 +25405,15 @@ "binop": null }, "value": "txt", - "start": 5798, - "end": 5801, + "start": 5787, + "end": 5790, "loc": { "start": { - "line": 215, + "line": 214, "column": 16 }, "end": { - "line": 215, + "line": 214, "column": 19 } } @@ -25522,15 +25430,15 @@ "postfix": false, "binop": null }, - "start": 5801, - "end": 5802, + "start": 5790, + "end": 5791, "loc": { "start": { - "line": 215, + "line": 214, "column": 19 }, "end": { - "line": 215, + "line": 214, "column": 20 } } @@ -25548,15 +25456,15 @@ "binop": null, "updateContext": null }, - "start": 5802, - "end": 5803, + "start": 5791, + "end": 5792, "loc": { "start": { - "line": 215, + "line": 214, "column": 20 }, "end": { - "line": 215, + "line": 214, "column": 21 } } @@ -25573,15 +25481,15 @@ "postfix": false, "binop": null }, - "start": 5804, - "end": 5805, + "start": 5793, + "end": 5794, "loc": { "start": { - "line": 216, + "line": 215, "column": 0 }, "end": { - "line": 216, + "line": 215, "column": 1 } } @@ -25599,15 +25507,15 @@ "binop": null, "updateContext": null }, - "start": 5806, - "end": 5806, + "start": 5795, + "end": 5795, "loc": { "start": { - "line": 217, + "line": 216, "column": 0 }, "end": { - "line": 217, + "line": 216, "column": 0 } } diff --git a/ghpages/docs/ast/source/_cDefine.js.json b/ghpages/docs/ast/source/cDefine.js.json similarity index 100% rename from ghpages/docs/ast/source/_cDefine.js.json rename to ghpages/docs/ast/source/cDefine.js.json diff --git a/ghpages/docs/ast/source/cLive2DApp.js.json b/ghpages/docs/ast/source/cLive2DApp.js.json index 38156ad..5e0a470 100644 --- a/ghpages/docs/ast/source/cLive2DApp.js.json +++ b/ghpages/docs/ast/source/cLive2DApp.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 10241, + "end": 10034, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 405, + "line": 392, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 10241, + "end": 10034, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 405, + "line": 392, "column": 0 } }, @@ -31,750 +31,989 @@ { "type": "ImportDeclaration", "start": 57, - "end": 303, + "end": 101, "loc": { "start": { "line": 6, "column": 0 }, "end": { - "line": 22, - "column": 27 + "line": 6, + "column": 44 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 66, + "end": 72, + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 15 + } + }, + "imported": { + "type": "Identifier", + "start": 66, + "end": 72, + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 15 + }, + "identifierName": "config" + }, + "name": "config", + "leadingComments": null + }, + "local": { + "type": "Identifier", + "start": 66, + "end": 72, + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 15 + }, + "identifierName": "config" + }, + "name": "config" + }, + "leadingComments": null + } + ], + "source": { + "type": "StringLiteral", + "start": 80, + "end": 100, + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 43 + } + }, + "extra": { + "rawValue": "./config/configMgr", + "raw": "'./config/configMgr'" + }, + "value": "./config/configMgr" + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @description The main part of live2d-widget\n ", + "start": 0, + "end": 54, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ] + }, + { + "type": "ImportDeclaration", + "start": 102, + "end": 158, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 56 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 68, - "end": 76, + "start": 111, + "end": 124, "loc": { "start": { "line": 7, - "column": 2 + "column": 9 }, "end": { "line": 7, - "column": 10 + "column": 22 } }, "imported": { "type": "Identifier", - "start": 68, - "end": 76, + "start": 111, + "end": 124, "loc": { "start": { "line": 7, - "column": 2 + "column": 9 }, "end": { "line": 7, - "column": 10 + "column": 22 }, - "identifierName": "UtSystem" + "identifierName": "createElement" }, - "name": "UtSystem", - "leadingComments": null + "name": "createElement" }, "local": { "type": "Identifier", - "start": 68, - "end": 76, + "start": 111, + "end": 124, "loc": { "start": { "line": 7, - "column": 2 + "column": 9 }, "end": { "line": 7, - "column": 10 + "column": 22 }, - "identifierName": "UtSystem" + "identifierName": "createElement" }, - "name": "UtSystem" + "name": "createElement" + } + }, + { + "type": "ImportSpecifier", + "start": 126, + "end": 135, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 33 + } }, - "leadingComments": null + "imported": { + "type": "Identifier", + "start": 126, + "end": 135, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 33 + }, + "identifierName": "currWebGL" + }, + "name": "currWebGL" + }, + "local": { + "type": "Identifier", + "start": 126, + "end": 135, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 33 + }, + "identifierName": "currWebGL" + }, + "name": "currWebGL" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 143, + "end": 157, + "loc": { + "start": { + "line": 7, + "column": 41 + }, + "end": { + "line": 7, + "column": 55 + } + }, + "extra": { + "rawValue": "./elementMgr", + "raw": "'./elementMgr'" + }, + "value": "./elementMgr" + } + }, + { + "type": "ImportDeclaration", + "start": 159, + "end": 501, + "loc": { + "start": { + "line": 8, + "column": 0 }, + "end": { + "line": 22, + "column": 44 + } + }, + "specifiers": [ { "type": "ImportSpecifier", - "start": 80, - "end": 87, + "start": 168, + "end": 176, "loc": { "start": { "line": 8, - "column": 2 + "column": 9 }, "end": { "line": 8, - "column": 9 + "column": 17 } }, "imported": { "type": "Identifier", - "start": 80, - "end": 87, + "start": 168, + "end": 176, "loc": { "start": { "line": 8, - "column": 2 + "column": 9 }, "end": { "line": 8, - "column": 9 + "column": 17 }, - "identifierName": "UtDebug" + "identifierName": "UtSystem" }, - "name": "UtDebug" + "name": "UtSystem" }, "local": { "type": "Identifier", - "start": 80, - "end": 87, + "start": 168, + "end": 176, "loc": { "start": { "line": 8, - "column": 2 + "column": 9 }, "end": { "line": 8, - "column": 9 + "column": 17 }, - "identifierName": "UtDebug" + "identifierName": "UtSystem" }, - "name": "UtDebug" + "name": "UtSystem" } }, { "type": "ImportSpecifier", - "start": 91, - "end": 102, + "start": 187, + "end": 194, "loc": { "start": { "line": 9, - "column": 2 + "column": 9 }, "end": { "line": 9, - "column": 13 + "column": 16 } }, "imported": { "type": "Identifier", - "start": 91, - "end": 102, + "start": 187, + "end": 194, "loc": { "start": { "line": 9, - "column": 2 + "column": 9 }, "end": { "line": 9, - "column": 13 + "column": 16 }, - "identifierName": "LDTransform" + "identifierName": "UtDebug" }, - "name": "LDTransform" + "name": "UtDebug" }, "local": { "type": "Identifier", - "start": 91, - "end": 102, + "start": 187, + "end": 194, "loc": { "start": { "line": 9, - "column": 2 + "column": 9 }, "end": { "line": 9, - "column": 13 + "column": 16 }, - "identifierName": "LDTransform" + "identifierName": "UtDebug" }, - "name": "LDTransform" + "name": "UtDebug" } }, { "type": "ImportSpecifier", - "start": 106, - "end": 110, + "start": 205, + "end": 216, "loc": { "start": { "line": 10, - "column": 2 + "column": 9 }, "end": { "line": 10, - "column": 6 + "column": 20 } }, "imported": { "type": "Identifier", - "start": 106, - "end": 110, + "start": 205, + "end": 216, "loc": { "start": { "line": 10, - "column": 2 + "column": 9 }, "end": { "line": 10, - "column": 6 + "column": 20 }, - "identifierName": "LDGL" + "identifierName": "LDTransform" }, - "name": "LDGL" + "name": "LDTransform" }, "local": { "type": "Identifier", - "start": 106, - "end": 110, + "start": 205, + "end": 216, "loc": { "start": { "line": 10, - "column": 2 + "column": 9 }, "end": { "line": 10, - "column": 6 + "column": 20 }, - "identifierName": "LDGL" + "identifierName": "LDTransform" }, - "name": "LDGL" + "name": "LDTransform" } }, { "type": "ImportSpecifier", - "start": 114, - "end": 120, + "start": 227, + "end": 231, "loc": { "start": { "line": 11, - "column": 2 + "column": 9 }, "end": { "line": 11, - "column": 8 + "column": 13 } }, "imported": { "type": "Identifier", - "start": 114, - "end": 120, + "start": 227, + "end": 231, "loc": { "start": { "line": 11, - "column": 2 + "column": 9 }, "end": { "line": 11, - "column": 8 + "column": 13 }, - "identifierName": "Live2D" + "identifierName": "LDGL" }, - "name": "Live2D" + "name": "LDGL" }, "local": { "type": "Identifier", - "start": 114, - "end": 120, + "start": 227, + "end": 231, "loc": { "start": { "line": 11, - "column": 2 + "column": 9 }, "end": { "line": 11, - "column": 8 + "column": 13 }, - "identifierName": "Live2D" + "identifierName": "LDGL" }, - "name": "Live2D" + "name": "LDGL" } }, { "type": "ImportSpecifier", - "start": 124, - "end": 140, + "start": 242, + "end": 248, "loc": { "start": { "line": 12, - "column": 2 + "column": 9 }, "end": { "line": 12, - "column": 18 + "column": 15 } }, "imported": { "type": "Identifier", - "start": 124, - "end": 140, + "start": 242, + "end": 248, "loc": { "start": { "line": 12, - "column": 2 + "column": 9 }, "end": { "line": 12, - "column": 18 + "column": 15 }, - "identifierName": "Live2DModelWebGL" + "identifierName": "Live2D" }, - "name": "Live2DModelWebGL" + "name": "Live2D" }, "local": { "type": "Identifier", - "start": 124, - "end": 140, + "start": 242, + "end": 248, "loc": { "start": { "line": 12, - "column": 2 + "column": 9 }, "end": { "line": 12, - "column": 18 + "column": 15 }, - "identifierName": "Live2DModelWebGL" + "identifierName": "Live2D" }, - "name": "Live2DModelWebGL" + "name": "Live2D" } }, { "type": "ImportSpecifier", - "start": 144, - "end": 157, + "start": 259, + "end": 275, "loc": { "start": { "line": 13, - "column": 2 + "column": 9 }, "end": { "line": 13, - "column": 15 + "column": 25 } }, "imported": { "type": "Identifier", - "start": 144, - "end": 157, + "start": 259, + "end": 275, "loc": { "start": { "line": 13, - "column": 2 + "column": 9 }, "end": { "line": 13, - "column": 15 + "column": 25 }, - "identifierName": "Live2DModelJS" + "identifierName": "Live2DModelWebGL" }, - "name": "Live2DModelJS" + "name": "Live2DModelWebGL" }, "local": { "type": "Identifier", - "start": 144, - "end": 157, + "start": 259, + "end": 275, "loc": { "start": { "line": 13, - "column": 2 + "column": 9 }, "end": { "line": 13, - "column": 15 + "column": 25 }, - "identifierName": "Live2DModelJS" + "identifierName": "Live2DModelWebGL" }, - "name": "Live2DModelJS" + "name": "Live2DModelWebGL" } }, { "type": "ImportSpecifier", - "start": 161, - "end": 173, + "start": 286, + "end": 299, "loc": { "start": { "line": 14, - "column": 2 + "column": 9 }, "end": { "line": 14, - "column": 14 + "column": 22 } }, "imported": { "type": "Identifier", - "start": 161, - "end": 173, + "start": 286, + "end": 299, "loc": { "start": { "line": 14, - "column": 2 + "column": 9 }, "end": { "line": 14, - "column": 14 + "column": 22 }, - "identifierName": "Live2DMotion" + "identifierName": "Live2DModelJS" }, - "name": "Live2DMotion" + "name": "Live2DModelJS" }, "local": { "type": "Identifier", - "start": 161, - "end": 173, + "start": 286, + "end": 299, "loc": { "start": { "line": 14, - "column": 2 + "column": 9 }, "end": { "line": 14, - "column": 14 + "column": 22 }, - "identifierName": "Live2DMotion" + "identifierName": "Live2DModelJS" }, - "name": "Live2DMotion" + "name": "Live2DModelJS" } }, { "type": "ImportSpecifier", - "start": 177, - "end": 195, + "start": 310, + "end": 322, "loc": { "start": { "line": 15, - "column": 2 + "column": 9 }, "end": { "line": 15, - "column": 20 + "column": 21 } }, "imported": { "type": "Identifier", - "start": 177, - "end": 195, + "start": 310, + "end": 322, "loc": { "start": { "line": 15, - "column": 2 + "column": 9 }, "end": { "line": 15, - "column": 20 + "column": 21 }, - "identifierName": "MotionQueueManager" + "identifierName": "Live2DMotion" }, - "name": "MotionQueueManager" + "name": "Live2DMotion" }, "local": { "type": "Identifier", - "start": 177, - "end": 195, + "start": 310, + "end": 322, "loc": { "start": { "line": 15, - "column": 2 + "column": 9 }, "end": { "line": 15, - "column": 20 + "column": 21 }, - "identifierName": "MotionQueueManager" + "identifierName": "Live2DMotion" }, - "name": "MotionQueueManager" + "name": "Live2DMotion" } }, { "type": "ImportSpecifier", - "start": 199, - "end": 210, + "start": 333, + "end": 351, "loc": { "start": { "line": 16, - "column": 2 + "column": 9 }, "end": { "line": 16, - "column": 13 + "column": 27 } }, "imported": { "type": "Identifier", - "start": 199, - "end": 210, + "start": 333, + "end": 351, "loc": { "start": { "line": 16, - "column": 2 + "column": 9 }, "end": { "line": 16, - "column": 13 + "column": 27 }, - "identifierName": "PhysicsHair" + "identifierName": "MotionQueueManager" }, - "name": "PhysicsHair" + "name": "MotionQueueManager" }, "local": { "type": "Identifier", - "start": 199, - "end": 210, + "start": 333, + "end": 351, "loc": { "start": { "line": 16, - "column": 2 + "column": 9 }, "end": { "line": 16, - "column": 13 + "column": 27 }, - "identifierName": "PhysicsHair" + "identifierName": "MotionQueueManager" }, - "name": "PhysicsHair" + "name": "MotionQueueManager" } }, { "type": "ImportSpecifier", - "start": 214, - "end": 221, + "start": 362, + "end": 373, "loc": { "start": { "line": 17, - "column": 2 + "column": 9 }, "end": { "line": 17, - "column": 9 + "column": 20 } }, "imported": { "type": "Identifier", - "start": 214, - "end": 221, + "start": 362, + "end": 373, "loc": { "start": { "line": 17, - "column": 2 + "column": 9 }, "end": { "line": 17, - "column": 9 + "column": 20 }, - "identifierName": "AMotion" + "identifierName": "PhysicsHair" }, - "name": "AMotion" + "name": "PhysicsHair" }, "local": { "type": "Identifier", - "start": 214, - "end": 221, + "start": 362, + "end": 373, "loc": { "start": { "line": 17, - "column": 2 + "column": 9 }, "end": { "line": 17, - "column": 9 + "column": 20 }, - "identifierName": "AMotion" + "identifierName": "PhysicsHair" }, - "name": "AMotion" + "name": "PhysicsHair" } }, { "type": "ImportSpecifier", - "start": 225, - "end": 236, + "start": 384, + "end": 391, "loc": { "start": { "line": 18, - "column": 2 + "column": 9 }, "end": { "line": 18, - "column": 13 + "column": 16 } }, "imported": { "type": "Identifier", - "start": 225, - "end": 236, + "start": 384, + "end": 391, "loc": { "start": { "line": 18, - "column": 2 + "column": 9 }, "end": { "line": 18, - "column": 13 + "column": 16 }, - "identifierName": "PartsDataID" + "identifierName": "AMotion" }, - "name": "PartsDataID" + "name": "AMotion" }, "local": { "type": "Identifier", - "start": 225, - "end": 236, + "start": 384, + "end": 391, "loc": { "start": { "line": 18, - "column": 2 + "column": 9 }, "end": { "line": 18, - "column": 13 + "column": 16 }, - "identifierName": "PartsDataID" + "identifierName": "AMotion" }, - "name": "PartsDataID" + "name": "AMotion" } }, { "type": "ImportSpecifier", - "start": 240, - "end": 250, + "start": 402, + "end": 413, "loc": { "start": { "line": 19, - "column": 2 + "column": 9 }, "end": { "line": 19, - "column": 12 + "column": 20 } }, "imported": { "type": "Identifier", - "start": 240, - "end": 250, + "start": 402, + "end": 413, "loc": { "start": { "line": 19, - "column": 2 + "column": 9 }, "end": { "line": 19, - "column": 12 + "column": 20 }, - "identifierName": "DrawDataID" + "identifierName": "PartsDataID" }, - "name": "DrawDataID" + "name": "PartsDataID" }, "local": { "type": "Identifier", - "start": 240, - "end": 250, + "start": 402, + "end": 413, "loc": { "start": { "line": 19, - "column": 2 + "column": 9 }, "end": { "line": 19, - "column": 12 + "column": 20 }, - "identifierName": "DrawDataID" + "identifierName": "PartsDataID" }, - "name": "DrawDataID" + "name": "PartsDataID" } }, { "type": "ImportSpecifier", - "start": 254, - "end": 264, + "start": 424, + "end": 434, "loc": { "start": { "line": 20, - "column": 2 + "column": 9 }, "end": { "line": 20, - "column": 12 + "column": 19 } }, "imported": { "type": "Identifier", - "start": 254, - "end": 264, + "start": 424, + "end": 434, "loc": { "start": { "line": 20, - "column": 2 + "column": 9 }, "end": { "line": 20, - "column": 12 + "column": 19 }, - "identifierName": "BaseDataID" + "identifierName": "DrawDataID" }, - "name": "BaseDataID" + "name": "DrawDataID" }, "local": { "type": "Identifier", - "start": 254, - "end": 264, + "start": 424, + "end": 434, "loc": { "start": { "line": 20, - "column": 2 + "column": 9 }, "end": { "line": 20, - "column": 12 + "column": 19 }, - "identifierName": "BaseDataID" + "identifierName": "DrawDataID" }, - "name": "BaseDataID" + "name": "DrawDataID" } }, { "type": "ImportSpecifier", - "start": 268, - "end": 275, + "start": 445, + "end": 455, "loc": { "start": { "line": 21, - "column": 2 + "column": 9 }, "end": { "line": 21, - "column": 9 + "column": 19 } }, "imported": { "type": "Identifier", - "start": 268, - "end": 275, + "start": 445, + "end": 455, "loc": { "start": { "line": 21, - "column": 2 + "column": 9 }, "end": { "line": 21, - "column": 9 + "column": 19 }, - "identifierName": "ParamID" + "identifierName": "BaseDataID" }, - "name": "ParamID" + "name": "BaseDataID" }, "local": { "type": "Identifier", - "start": 268, - "end": 275, + "start": 445, + "end": 455, "loc": { "start": { "line": 21, - "column": 2 + "column": 9 }, "end": { "line": 21, + "column": 19 + }, + "identifierName": "BaseDataID" + }, + "name": "BaseDataID" + } + }, + { + "type": "ImportSpecifier", + "start": 466, + "end": 473, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 16 + } + }, + "imported": { + "type": "Identifier", + "start": 466, + "end": 473, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 16 + }, + "identifierName": "ParamID" + }, + "name": "ParamID" + }, + "local": { + "type": "Identifier", + "start": 466, + "end": 473, + "loc": { + "start": { + "line": 22, "column": 9 }, + "end": { + "line": 22, + "column": 16 + }, "identifierName": "ParamID" }, "name": "ParamID" @@ -783,16 +1022,16 @@ ], "source": { "type": "StringLiteral", - "start": 283, - "end": 302, + "start": 481, + "end": 500, "loc": { "start": { "line": 22, - "column": 7 + "column": 24 }, "end": { "line": 22, - "column": 26 + "column": 43 } }, "extra": { @@ -800,1111 +1039,1599 @@ "raw": "'./lib/live2d.core'" }, "value": "./lib/live2d.core" + } + }, + { + "type": "ImportDeclaration", + "start": 502, + "end": 585, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 83 + } }, - "leadingComments": [ + "specifiers": [ { - "type": "CommentBlock", - "value": "*\n * @description The main part of live2d-widget\n ", - "start": 0, - "end": 54, + "type": "ImportSpecifier", + "start": 511, + "end": 525, "loc": { "start": { - "line": 1, - "column": 0 + "line": 23, + "column": 9 }, "end": { - "line": 3, - "column": 3 + "line": 23, + "column": 23 } - } - } - ], - "trailingComments": [ + }, + "imported": { + "type": "Identifier", + "start": 511, + "end": 525, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 23 + }, + "identifierName": "L2DTargetPoint" + }, + "name": "L2DTargetPoint" + }, + "local": { + "type": "Identifier", + "start": 511, + "end": 525, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 23 + }, + "identifierName": "L2DTargetPoint" + }, + "name": "L2DTargetPoint" + } + }, { - "type": "CommentBlock", - "value": "\nimport { device } from 'current-device';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport cManager from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport { cDefine } from \"./cDefine\";\n\nconst live2DMgr = new cManager();\nlet isDrawStart = false;\nlet canvas = null;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n", - "start": 303, - "end": 853, + "type": "ImportSpecifier", + "start": 527, + "end": 540, "loc": { "start": { - "line": 22, - "column": 27 + "line": 23, + "column": 25 }, "end": { - "line": 42, - "column": 2 + "line": 23, + "column": 38 + } + }, + "imported": { + "type": "Identifier", + "start": 527, + "end": 540, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 38 + }, + "identifierName": "L2DViewMatrix" + }, + "name": "L2DViewMatrix" + }, + "local": { + "type": "Identifier", + "start": 527, + "end": 540, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 38 + }, + "identifierName": "L2DViewMatrix" + }, + "name": "L2DViewMatrix" + } + }, + { + "type": "ImportSpecifier", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 51 } + }, + "imported": { + "type": "Identifier", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 51 + }, + "identifierName": "L2DMatrix44" + }, + "name": "L2DMatrix44" + }, + "local": { + "type": "Identifier", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 51 + }, + "identifierName": "L2DMatrix44" + }, + "name": "L2DMatrix44" } } - ] + ], + "source": { + "type": "StringLiteral", + "start": 561, + "end": 584, + "loc": { + "start": { + "line": 23, + "column": 59 + }, + "end": { + "line": 23, + "column": 82 + } + }, + "extra": { + "rawValue": "./lib/Live2DFramework", + "raw": "\"./lib/Live2DFramework\"" + }, + "value": "./lib/Live2DFramework" + } }, { "type": "ImportDeclaration", - "start": 855, - "end": 899, + "start": 586, + "end": 624, "loc": { "start": { - "line": 44, + "line": 24, "column": 0 }, "end": { - "line": 44, - "column": 44 + "line": 24, + "column": 38 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 864, - "end": 870, + "start": 595, + "end": 603, "loc": { "start": { - "line": 44, + "line": 24, "column": 9 }, "end": { - "line": 44, - "column": 15 + "line": 24, + "column": 17 } }, "imported": { "type": "Identifier", - "start": 864, - "end": 870, + "start": 595, + "end": 603, "loc": { "start": { - "line": 44, + "line": 24, "column": 9 }, "end": { - "line": 44, - "column": 15 + "line": 24, + "column": 17 }, - "identifierName": "config" + "identifierName": "cManager" }, - "name": "config", - "leadingComments": null + "name": "cManager" }, "local": { "type": "Identifier", - "start": 864, - "end": 870, + "start": 595, + "end": 603, "loc": { "start": { - "line": 44, + "line": 24, "column": 9 }, "end": { - "line": 44, - "column": 15 + "line": 24, + "column": 17 }, - "identifierName": "config" + "identifierName": "cManager" }, - "name": "config" - }, - "leadingComments": null + "name": "cManager" + } } ], "source": { "type": "StringLiteral", - "start": 878, - "end": 898, + "start": 611, + "end": 623, "loc": { "start": { - "line": 44, - "column": 23 + "line": 24, + "column": 25 }, "end": { - "line": 44, - "column": 43 + "line": 24, + "column": 37 } }, "extra": { - "rawValue": "./config/configMgr", - "raw": "'./config/configMgr'" + "rawValue": "./cManager", + "raw": "\"./cManager\"" }, - "value": "./config/configMgr" - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "\nimport { device } from 'current-device';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport cManager from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport { cDefine } from \"./cDefine\";\n\nconst live2DMgr = new cManager();\nlet isDrawStart = false;\nlet canvas = null;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n", - "start": 303, - "end": 853, - "loc": { - "start": { - "line": 22, - "column": 27 - }, - "end": { - "line": 42, - "column": 2 - } - } - } - ] + "value": "./cManager" + } }, { "type": "ImportDeclaration", - "start": 900, - "end": 956, + "start": 625, + "end": 675, "loc": { "start": { - "line": 45, + "line": 25, "column": 0 }, "end": { - "line": 45, - "column": 56 + "line": 25, + "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", - "start": 909, - "end": 922, + "start": 634, + "end": 645, "loc": { "start": { - "line": 45, + "line": 25, "column": 9 }, "end": { - "line": 45, - "column": 22 + "line": 25, + "column": 20 } }, "imported": { "type": "Identifier", - "start": 909, - "end": 922, + "start": 634, + "end": 645, "loc": { "start": { - "line": 45, + "line": 25, "column": 9 }, "end": { - "line": 45, - "column": 22 + "line": 25, + "column": 20 }, - "identifierName": "createElement" + "identifierName": "MatrixStack" }, - "name": "createElement" + "name": "MatrixStack" }, "local": { "type": "Identifier", - "start": 909, - "end": 922, + "start": 634, + "end": 645, "loc": { "start": { - "line": 45, + "line": 25, "column": 9 }, "end": { - "line": 45, - "column": 22 + "line": 25, + "column": 20 }, - "identifierName": "createElement" + "identifierName": "MatrixStack" }, - "name": "createElement" + "name": "MatrixStack" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 653, + "end": 674, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 49 } }, + "extra": { + "rawValue": "./utils/MatrixStack", + "raw": "\"./utils/MatrixStack\"" + }, + "value": "./utils/MatrixStack" + } + }, + { + "type": "ImportDeclaration", + "start": 676, + "end": 708, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 26, + "column": 32 + } + }, + "specifiers": [ { - "type": "ImportSpecifier", - "start": 924, - "end": 933, + "type": "ImportDefaultSpecifier", + "start": 683, + "end": 690, "loc": { "start": { - "line": 45, - "column": 24 + "line": 26, + "column": 7 }, "end": { - "line": 45, - "column": 33 + "line": 26, + "column": 14 } }, - "imported": { - "type": "Identifier", - "start": 924, - "end": 933, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 33 - }, - "identifierName": "currWebGL" - }, - "name": "currWebGL" - }, "local": { "type": "Identifier", - "start": 924, - "end": 933, + "start": 683, + "end": 690, "loc": { "start": { - "line": 45, - "column": 24 + "line": 26, + "column": 7 }, "end": { - "line": 45, - "column": 33 + "line": 26, + "column": 14 }, - "identifierName": "currWebGL" + "identifierName": "cDefine" }, - "name": "currWebGL" + "name": "cDefine" } } ], "source": { "type": "StringLiteral", - "start": 941, - "end": 955, + "start": 696, + "end": 707, "loc": { "start": { - "line": 45, - "column": 41 + "line": 26, + "column": 20 }, "end": { - "line": 45, - "column": 55 + "line": 26, + "column": 31 } }, "extra": { - "rawValue": "./elementMgr", - "raw": "'./elementMgr'" + "rawValue": "./cDefine", + "raw": "\"./cDefine\"" }, - "value": "./elementMgr" + "value": "./cDefine" + } + }, + { + "type": "VariableDeclaration", + "start": 710, + "end": 734, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 24 + } }, - "trailingComments": [ + "declarations": [ { - "type": "CommentBlock", - "value": "*\n * Main function of live2d-widget\n * @return {null}\n ", - "start": 958, - "end": 1017, + "type": "VariableDeclarator", + "start": 714, + "end": 733, "loc": { "start": { - "line": 47, - "column": 0 + "line": 28, + "column": 4 }, "end": { - "line": 50, - "column": 3 + "line": 28, + "column": 23 } + }, + "id": { + "type": "Identifier", + "start": 714, + "end": 725, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 15 + }, + "identifierName": "isDrawStart" + }, + "name": "isDrawStart" + }, + "init": { + "type": "BooleanLiteral", + "start": 728, + "end": 733, + "loc": { + "start": { + "line": 28, + "column": 18 + }, + "end": { + "line": 28, + "column": 23 + } + }, + "value": false } } - ] + ], + "kind": "let" }, { - "type": "ExportDefaultDeclaration", - "start": 1019, - "end": 2188, + "type": "VariableDeclaration", + "start": 735, + "end": 754, "loc": { "start": { - "line": 52, + "line": 29, "column": 0 }, "end": { - "line": 92, - "column": 1 + "line": 29, + "column": 19 } }, - "declaration": { - "type": "ArrowFunctionExpression", - "start": 1034, - "end": 2188, - "loc": { - "start": { - "line": 52, - "column": 15 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 739, + "end": 753, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 18 + } }, - "end": { - "line": 92, - "column": 1 + "id": { + "type": "Identifier", + "start": 739, + "end": 746, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 11 + }, + "identifierName": "dragMgr" + }, + "name": "dragMgr" + }, + "init": { + "type": "NullLiteral", + "start": 749, + "end": 753, + "loc": { + "start": { + "line": 29, + "column": 14 + }, + "end": { + "line": 29, + "column": 18 + } + } } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 755, + "end": 777, + "loc": { + "start": { + "line": 30, + "column": 0 }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1040, - "end": 2188, + "end": { + "line": 30, + "column": 22 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 759, + "end": 776, "loc": { "start": { - "line": 52, + "line": 30, + "column": 4 + }, + "end": { + "line": 30, "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 759, + "end": 769, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 14 + }, + "identifierName": "viewMatrix" + }, + "name": "viewMatrix" + }, + "init": { + "type": "NullLiteral", + "start": 772, + "end": 776, + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 21 + } + } + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 778, + "end": 800, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 22 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 782, + "end": 799, + "loc": { + "start": { + "line": 31, + "column": 4 }, "end": { - "line": 92, - "column": 1 + "line": 31, + "column": 21 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1045, - "end": 1061, - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 18 - } + "id": { + "type": "Identifier", + "start": 782, + "end": 792, + "loc": { + "start": { + "line": 31, + "column": 4 }, - "expression": { - "type": "CallExpression", - "start": 1045, - "end": 1060, - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 17 - } - }, - "callee": { - "type": "Identifier", - "start": 1045, - "end": 1058, - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 15 - }, - "identifierName": "createElement" - }, - "name": "createElement", - "leadingComments": null - }, - "arguments": [], - "leadingComments": null + "end": { + "line": 31, + "column": 14 }, - "leadingComments": null + "identifierName": "projMatrix" }, - { - "type": "VariableDeclaration", - "start": 1065, - "end": 1090, - "loc": { - "start": { - "line": 56, - "column": 2 - }, - "end": { - "line": 56, - "column": 27 - } + "name": "projMatrix" + }, + "init": { + "type": "NullLiteral", + "start": 795, + "end": 799, + "loc": { + "start": { + "line": 31, + "column": 17 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1069, - "end": 1089, - "loc": { - "start": { - "line": 56, - "column": 6 - }, - "end": { - "line": 56, - "column": 26 - } - }, - "id": { - "type": "Identifier", - "start": 1069, - "end": 1074, - "loc": { - "start": { - "line": 56, - "column": 6 - }, - "end": { - "line": 56, - "column": 11 - }, - "identifierName": "width" - }, - "name": "width" - }, - "init": { - "type": "MemberExpression", - "start": 1077, - "end": 1089, - "loc": { - "start": { - "line": 56, - "column": 14 - }, - "end": { - "line": 56, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1077, - "end": 1083, - "loc": { - "start": { - "line": 56, - "column": 14 - }, - "end": { - "line": 56, - "column": 20 - }, - "identifierName": "canvas" - }, - "name": "canvas" - }, - "property": { - "type": "Identifier", - "start": 1084, - "end": 1089, - "loc": { - "start": { - "line": 56, - "column": 21 - }, - "end": { - "line": 56, - "column": 26 - }, - "identifierName": "width" - }, - "name": "width" - }, - "computed": false - } - } - ], - "kind": "let" + "end": { + "line": 31, + "column": 21 + } + } + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 801, + "end": 827, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 32, + "column": 26 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 805, + "end": 826, + "loc": { + "start": { + "line": 32, + "column": 4 }, - { - "type": "VariableDeclaration", - "start": 1093, - "end": 1120, - "loc": { - "start": { - "line": 57, - "column": 2 - }, - "end": { - "line": 57, - "column": 29 - } + "end": { + "line": 32, + "column": 25 + } + }, + "id": { + "type": "Identifier", + "start": 805, + "end": 819, + "loc": { + "start": { + "line": 32, + "column": 4 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1097, - "end": 1119, - "loc": { - "start": { - "line": 57, - "column": 6 - }, - "end": { - "line": 57, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 1097, - "end": 1103, - "loc": { - "start": { - "line": 57, - "column": 6 - }, - "end": { - "line": 57, - "column": 12 - }, - "identifierName": "height" + "end": { + "line": 32, + "column": 18 + }, + "identifierName": "deviceToScreen" + }, + "name": "deviceToScreen" + }, + "init": { + "type": "NullLiteral", + "start": 822, + "end": 826, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 25 + } + } + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 828, + "end": 845, + "loc": { + "start": { + "line": 33, + "column": 0 + }, + "end": { + "line": 33, + "column": 17 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 832, + "end": 844, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 16 + } + }, + "id": { + "type": "Identifier", + "start": 832, + "end": 836, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 8 + }, + "identifierName": "drag" + }, + "name": "drag" + }, + "init": { + "type": "BooleanLiteral", + "start": 839, + "end": 844, + "loc": { + "start": { + "line": 33, + "column": 11 + }, + "end": { + "line": 33, + "column": 16 + } + }, + "value": false + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 846, + "end": 865, + "loc": { + "start": { + "line": 34, + "column": 0 + }, + "end": { + "line": 34, + "column": 19 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 850, + "end": 864, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 850, + "end": 860, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 14 + }, + "identifierName": "lastMouseX" + }, + "name": "lastMouseX" + }, + "init": { + "type": "NumericLiteral", + "start": 863, + "end": 864, + "loc": { + "start": { + "line": 34, + "column": 17 + }, + "end": { + "line": 34, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 866, + "end": 885, + "loc": { + "start": { + "line": 35, + "column": 0 + }, + "end": { + "line": 35, + "column": 19 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 870, + "end": 884, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 870, + "end": 880, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 14 + }, + "identifierName": "lastMouseY" + }, + "name": "lastMouseY" + }, + "init": { + "type": "NumericLiteral", + "start": 883, + "end": 884, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 886, + "end": 904, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 890, + "end": 903, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 17 + } + }, + "id": { + "type": "Identifier", + "start": 890, + "end": 897, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 11 + }, + "identifierName": "headPos" + }, + "name": "headPos" + }, + "init": { + "type": "NumericLiteral", + "start": 900, + "end": 903, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 17 + } + }, + "extra": { + "rawValue": 0.5, + "raw": "0.5" + }, + "value": 0.5 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 905, + "end": 930, + "loc": { + "start": { + "line": 37, + "column": 0 + }, + "end": { + "line": 37, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 909, + "end": 929, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 909, + "end": 923, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 18 + }, + "identifierName": "opacityDefault" + }, + "name": "opacityDefault" + }, + "init": { + "type": "NumericLiteral", + "start": 926, + "end": 929, + "loc": { + "start": { + "line": 37, + "column": 21 + }, + "end": { + "line": 37, + "column": 24 + } + }, + "extra": { + "rawValue": 0.7, + "raw": "0.7" + }, + "value": 0.7 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 931, + "end": 952, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 21 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 935, + "end": 951, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 20 + } + }, + "id": { + "type": "Identifier", + "start": 935, + "end": 947, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 16 + }, + "identifierName": "opacityHover" + }, + "name": "opacityHover" + }, + "init": { + "type": "NumericLiteral", + "start": 950, + "end": 951, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 38, + "column": 20 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Main function of live2d-widget\n * @return {null}\n ", + "start": 956, + "end": 1015, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 45, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportDefaultDeclaration", + "start": 1017, + "end": 2007, + "loc": { + "start": { + "line": 47, + "column": 0 + }, + "end": { + "line": 80, + "column": 1 + } + }, + "declaration": { + "type": "ArrowFunctionExpression", + "start": 1032, + "end": 2007, + "loc": { + "start": { + "line": 47, + "column": 15 + }, + "end": { + "line": 80, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1038, + "end": 2007, + "loc": { + "start": { + "line": 47, + "column": 21 + }, + "end": { + "line": 80, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1043, + "end": 1059, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 18 + } + }, + "expression": { + "type": "CallExpression", + "start": 1043, + "end": 1058, + "loc": { + "start": { + "line": 49, + "column": 2 + }, + "end": { + "line": 49, + "column": 17 + } + }, + "callee": { + "type": "Identifier", + "start": 1043, + "end": 1056, + "loc": { + "start": { + "line": 49, + "column": 2 }, - "name": "height" + "end": { + "line": 49, + "column": 15 + }, + "identifierName": "createElement" }, - "init": { - "type": "MemberExpression", - "start": 1106, - "end": 1119, + "name": "createElement", + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": null + }, + { + "type": "ExpressionStatement", + "start": 1063, + "end": 1094, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1063, + "end": 1093, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1063, + "end": 1070, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 51, + "column": 9 + }, + "identifierName": "dragMgr" + }, + "name": "dragMgr" + }, + "right": { + "type": "NewExpression", + "start": 1073, + "end": 1093, + "loc": { + "start": { + "line": 51, + "column": 12 + }, + "end": { + "line": 51, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 1077, + "end": 1091, "loc": { "start": { - "line": 57, - "column": 15 + "line": 51, + "column": 16 }, "end": { - "line": 57, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1106, - "end": 1112, - "loc": { - "start": { - "line": 57, - "column": 15 - }, - "end": { - "line": 57, - "column": 21 - }, - "identifierName": "canvas" - }, - "name": "canvas" - }, - "property": { - "type": "Identifier", - "start": 1113, - "end": 1119, - "loc": { - "start": { - "line": 57, - "column": 22 - }, - "end": { - "line": 57, - "column": 28 - }, - "identifierName": "height" + "line": 51, + "column": 30 }, - "name": "height" + "identifierName": "L2DTargetPoint" }, - "computed": false - } + "name": "L2DTargetPoint" + }, + "arguments": [] } - ], - "kind": "let" + } }, { "type": "VariableDeclaration", - "start": 1123, - "end": 1165, + "start": 1097, + "end": 1154, "loc": { "start": { - "line": 58, + "line": 52, "column": 2 }, "end": { - "line": 58, - "column": 44 + "line": 52, + "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1127, - "end": 1164, + "start": 1101, + "end": 1153, "loc": { "start": { - "line": 58, + "line": 52, "column": 6 }, "end": { - "line": 58, - "column": 43 + "line": 52, + "column": 58 } }, "id": { "type": "Identifier", - "start": 1127, - "end": 1133, + "start": 1101, + "end": 1106, "loc": { "start": { - "line": 58, + "line": 52, "column": 6 }, "end": { - "line": 58, - "column": 12 + "line": 52, + "column": 11 }, - "identifierName": "sWidth" + "identifierName": "ratio" }, - "name": "sWidth" + "name": "ratio" }, "init": { - "type": "CallExpression", - "start": 1136, - "end": 1164, + "type": "BinaryExpression", + "start": 1109, + "end": 1153, "loc": { "start": { - "line": 58, - "column": 15 + "line": 52, + "column": 14 }, "end": { - "line": 58, - "column": 43 + "line": 52, + "column": 58 } }, - "callee": { - "type": "Identifier", - "start": 1136, - "end": 1144, + "left": { + "type": "MemberExpression", + "start": 1109, + "end": 1130, "loc": { "start": { - "line": 58, - "column": 15 + "line": 52, + "column": 14 }, "end": { - "line": 58, - "column": 23 - }, - "identifierName": "parseInt" + "line": 52, + "column": 35 + } }, - "name": "parseInt" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 1145, - "end": 1163, + "start": 1109, + "end": 1123, "loc": { "start": { - "line": 58, - "column": 24 + "line": 52, + "column": 14 }, "end": { - "line": 58, - "column": 42 + "line": 52, + "column": 28 } }, "object": { - "type": "MemberExpression", - "start": 1145, - "end": 1157, + "type": "Identifier", + "start": 1109, + "end": 1115, "loc": { "start": { - "line": 58, - "column": 24 + "line": 52, + "column": 14 }, "end": { - "line": 58, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 1145, - "end": 1151, - "loc": { - "start": { - "line": 58, - "column": 24 - }, - "end": { - "line": 58, - "column": 30 - }, - "identifierName": "canvas" - }, - "name": "canvas" - }, - "property": { - "type": "Identifier", - "start": 1152, - "end": 1157, - "loc": { - "start": { - "line": 58, - "column": 31 - }, - "end": { - "line": 58, - "column": 36 - }, - "identifierName": "style" + "line": 52, + "column": 20 }, - "name": "style" + "identifierName": "config" }, - "computed": false + "name": "config" }, "property": { "type": "Identifier", - "start": 1158, - "end": 1163, + "start": 1116, + "end": 1123, "loc": { "start": { - "line": 58, - "column": 37 + "line": 52, + "column": 21 }, "end": { - "line": 58, - "column": 42 + "line": 52, + "column": 28 }, - "identifierName": "width" + "identifierName": "display" }, - "name": "width" + "name": "display" }, "computed": false - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 1168, - "end": 1212, - "loc": { - "start": { - "line": 59, - "column": 2 - }, - "end": { - "line": 59, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1172, - "end": 1211, - "loc": { - "start": { - "line": 59, - "column": 6 - }, - "end": { - "line": 59, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 1172, - "end": 1179, - "loc": { - "start": { - "line": 59, - "column": 6 }, - "end": { - "line": 59, - "column": 13 - }, - "identifierName": "sHeight" - }, - "name": "sHeight" - }, - "init": { - "type": "CallExpression", - "start": 1182, - "end": 1211, - "loc": { - "start": { - "line": 59, - "column": 16 + "property": { + "type": "Identifier", + "start": 1124, + "end": 1130, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 35 + }, + "identifierName": "height" + }, + "name": "height" }, - "end": { - "line": 59, - "column": 45 - } + "computed": false }, - "callee": { - "type": "Identifier", - "start": 1182, - "end": 1190, + "operator": "/", + "right": { + "type": "MemberExpression", + "start": 1133, + "end": 1153, "loc": { "start": { - "line": 59, - "column": 16 + "line": 52, + "column": 38 }, "end": { - "line": 59, - "column": 24 - }, - "identifierName": "parseInt" + "line": 52, + "column": 58 + } }, - "name": "parseInt" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 1191, - "end": 1210, + "start": 1133, + "end": 1147, "loc": { "start": { - "line": 59, - "column": 25 + "line": 52, + "column": 38 }, "end": { - "line": 59, - "column": 44 + "line": 52, + "column": 52 } }, "object": { - "type": "MemberExpression", - "start": 1191, - "end": 1203, + "type": "Identifier", + "start": 1133, + "end": 1139, "loc": { "start": { - "line": 59, - "column": 25 + "line": 52, + "column": 38 }, "end": { - "line": 59, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 1191, - "end": 1197, - "loc": { - "start": { - "line": 59, - "column": 25 - }, - "end": { - "line": 59, - "column": 31 - }, - "identifierName": "canvas" - }, - "name": "canvas" - }, - "property": { - "type": "Identifier", - "start": 1198, - "end": 1203, - "loc": { - "start": { - "line": 59, - "column": 32 - }, - "end": { - "line": 59, - "column": 37 - }, - "identifierName": "style" + "line": 52, + "column": 44 }, - "name": "style" + "identifierName": "config" }, - "computed": false + "name": "config" }, "property": { "type": "Identifier", - "start": 1204, - "end": 1210, + "start": 1140, + "end": 1147, "loc": { "start": { - "line": 59, - "column": 38 + "line": 52, + "column": 45 }, "end": { - "line": 59, - "column": 44 + "line": 52, + "column": 52 }, - "identifierName": "height" + "identifierName": "display" }, - "name": "height" + "name": "display" }, "computed": false - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 1216, - "end": 1247, - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 61, - "column": 33 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1216, - "end": 1246, - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 61, - "column": 32 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1216, - "end": 1223, - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 61, - "column": 9 - }, - "identifierName": "dragMgr" - }, - "name": "dragMgr" - }, - "right": { - "type": "NewExpression", - "start": 1226, - "end": 1246, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 32 - } - }, - "callee": { - "type": "Identifier", - "start": 1230, - "end": 1244, - "loc": { - "start": { - "line": 61, - "column": 16 - }, - "end": { - "line": 61, - "column": 30 - }, - "identifierName": "L2DTargetPoint" - }, - "name": "L2DTargetPoint" - }, - "arguments": [] - } - } - }, - { - "type": "VariableDeclaration", - "start": 1250, - "end": 1277, - "loc": { - "start": { - "line": 62, - "column": 2 - }, - "end": { - "line": 62, - "column": 29 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1254, - "end": 1276, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 1254, - "end": 1259, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 11 - }, - "identifierName": "ratio" - }, - "name": "ratio" - }, - "init": { - "type": "BinaryExpression", - "start": 1262, - "end": 1276, - "loc": { - "start": { - "line": 62, - "column": 14 - }, - "end": { - "line": 62, - "column": 28 - } - }, - "left": { - "type": "Identifier", - "start": 1262, - "end": 1268, - "loc": { - "start": { - "line": 62, - "column": 14 - }, - "end": { - "line": 62, - "column": 20 - }, - "identifierName": "height" }, - "name": "height" - }, - "operator": "/", - "right": { - "type": "Identifier", - "start": 1271, - "end": 1276, - "loc": { - "start": { - "line": 62, - "column": 23 - }, - "end": { - "line": 62, - "column": 28 + "property": { + "type": "Identifier", + "start": 1148, + "end": 1153, + "loc": { + "start": { + "line": 52, + "column": 53 + }, + "end": { + "line": 52, + "column": 58 + }, + "identifierName": "width" }, - "identifierName": "width" + "name": "width" }, - "name": "width" + "computed": false } } } @@ -1913,44 +2640,44 @@ }, { "type": "VariableDeclaration", - "start": 1280, - "end": 1317, + "start": 1157, + "end": 1194, "loc": { "start": { - "line": 63, + "line": 53, "column": 2 }, "end": { - "line": 63, + "line": 53, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1284, - "end": 1316, + "start": 1161, + "end": 1193, "loc": { "start": { - "line": 63, + "line": 53, "column": 6 }, "end": { - "line": 63, + "line": 53, "column": 38 } }, "id": { "type": "Identifier", - "start": 1284, - "end": 1288, + "start": 1161, + "end": 1165, "loc": { "start": { - "line": 63, + "line": 53, "column": 6 }, "end": { - "line": 63, + "line": 53, "column": 10 }, "identifierName": "left" @@ -1959,29 +2686,29 @@ }, "init": { "type": "MemberExpression", - "start": 1291, - "end": 1316, + "start": 1168, + "end": 1193, "loc": { "start": { - "line": 63, + "line": 53, "column": 13 }, "end": { - "line": 63, + "line": 53, "column": 38 } }, "object": { "type": "Identifier", - "start": 1291, - "end": 1298, + "start": 1168, + "end": 1175, "loc": { "start": { - "line": 63, + "line": 53, "column": 13 }, "end": { - "line": 63, + "line": 53, "column": 20 }, "identifierName": "cDefine" @@ -1990,15 +2717,15 @@ }, "property": { "type": "Identifier", - "start": 1299, - "end": 1316, + "start": 1176, + "end": 1193, "loc": { "start": { - "line": 63, + "line": 53, "column": 21 }, "end": { - "line": 63, + "line": 53, "column": 38 }, "identifierName": "VIEW_LOGICAL_LEFT" @@ -2013,44 +2740,44 @@ }, { "type": "VariableDeclaration", - "start": 1320, - "end": 1359, + "start": 1197, + "end": 1236, "loc": { "start": { - "line": 64, + "line": 54, "column": 2 }, "end": { - "line": 64, + "line": 54, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1324, - "end": 1358, + "start": 1201, + "end": 1235, "loc": { "start": { - "line": 64, + "line": 54, "column": 6 }, "end": { - "line": 64, + "line": 54, "column": 40 } }, "id": { "type": "Identifier", - "start": 1324, - "end": 1329, + "start": 1201, + "end": 1206, "loc": { "start": { - "line": 64, + "line": 54, "column": 6 }, "end": { - "line": 64, + "line": 54, "column": 11 }, "identifierName": "right" @@ -2059,29 +2786,29 @@ }, "init": { "type": "MemberExpression", - "start": 1332, - "end": 1358, + "start": 1209, + "end": 1235, "loc": { "start": { - "line": 64, + "line": 54, "column": 14 }, "end": { - "line": 64, + "line": 54, "column": 40 } }, "object": { "type": "Identifier", - "start": 1332, - "end": 1339, + "start": 1209, + "end": 1216, "loc": { "start": { - "line": 64, + "line": 54, "column": 14 }, "end": { - "line": 64, + "line": 54, "column": 21 }, "identifierName": "cDefine" @@ -2090,15 +2817,15 @@ }, "property": { "type": "Identifier", - "start": 1340, - "end": 1358, + "start": 1217, + "end": 1235, "loc": { "start": { - "line": 64, + "line": 54, "column": 22 }, "end": { - "line": 64, + "line": 54, "column": 40 }, "identifierName": "VIEW_LOGICAL_RIGHT" @@ -2113,44 +2840,44 @@ }, { "type": "VariableDeclaration", - "start": 1362, - "end": 1382, + "start": 1239, + "end": 1259, "loc": { "start": { - "line": 65, + "line": 55, "column": 2 }, "end": { - "line": 65, + "line": 55, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1366, - "end": 1381, + "start": 1243, + "end": 1258, "loc": { "start": { - "line": 65, + "line": 55, "column": 6 }, "end": { - "line": 65, + "line": 55, "column": 21 } }, "id": { "type": "Identifier", - "start": 1366, - "end": 1372, + "start": 1243, + "end": 1249, "loc": { "start": { - "line": 65, + "line": 55, "column": 6 }, "end": { - "line": 65, + "line": 55, "column": 12 }, "identifierName": "bottom" @@ -2159,15 +2886,15 @@ }, "init": { "type": "UnaryExpression", - "start": 1375, - "end": 1381, + "start": 1252, + "end": 1258, "loc": { "start": { - "line": 65, + "line": 55, "column": 15 }, "end": { - "line": 65, + "line": 55, "column": 21 } }, @@ -2175,15 +2902,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 1376, - "end": 1381, + "start": 1253, + "end": 1258, "loc": { "start": { - "line": 65, + "line": 55, "column": 16 }, "end": { - "line": 65, + "line": 55, "column": 21 }, "identifierName": "ratio" @@ -2200,44 +2927,44 @@ }, { "type": "VariableDeclaration", - "start": 1385, - "end": 1401, + "start": 1262, + "end": 1278, "loc": { "start": { - "line": 66, + "line": 56, "column": 2 }, "end": { - "line": 66, + "line": 56, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1389, - "end": 1400, + "start": 1266, + "end": 1277, "loc": { "start": { - "line": 66, + "line": 56, "column": 6 }, "end": { - "line": 66, + "line": 56, "column": 17 } }, "id": { "type": "Identifier", - "start": 1389, - "end": 1392, + "start": 1266, + "end": 1269, "loc": { "start": { - "line": 66, + "line": 56, "column": 6 }, "end": { - "line": 66, + "line": 56, "column": 9 }, "identifierName": "top" @@ -2246,15 +2973,15 @@ }, "init": { "type": "Identifier", - "start": 1395, - "end": 1400, + "start": 1272, + "end": 1277, "loc": { "start": { - "line": 66, + "line": 56, "column": 12 }, "end": { - "line": 66, + "line": 56, "column": 17 }, "identifierName": "ratio" @@ -2267,44 +2994,44 @@ }, { "type": "ExpressionStatement", - "start": 1405, - "end": 1438, + "start": 1282, + "end": 1315, "loc": { "start": { - "line": 68, + "line": 58, "column": 2 }, "end": { - "line": 68, + "line": 58, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 1405, - "end": 1437, + "start": 1282, + "end": 1314, "loc": { "start": { - "line": 68, + "line": 58, "column": 2 }, "end": { - "line": 68, + "line": 58, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1405, - "end": 1415, + "start": 1282, + "end": 1292, "loc": { "start": { - "line": 68, + "line": 58, "column": 2 }, "end": { - "line": 68, + "line": 58, "column": 12 }, "identifierName": "viewMatrix" @@ -2313,29 +3040,29 @@ }, "right": { "type": "NewExpression", - "start": 1418, - "end": 1437, + "start": 1295, + "end": 1314, "loc": { "start": { - "line": 68, + "line": 58, "column": 15 }, "end": { - "line": 68, + "line": 58, "column": 34 } }, "callee": { "type": "Identifier", - "start": 1422, - "end": 1435, + "start": 1299, + "end": 1312, "loc": { "start": { - "line": 68, + "line": 58, "column": 19 }, "end": { - "line": 68, + "line": 58, "column": 32 }, "identifierName": "L2DViewMatrix" @@ -2348,57 +3075,57 @@ }, { "type": "ExpressionStatement", - "start": 1442, - "end": 1493, + "start": 1319, + "end": 1370, "loc": { "start": { - "line": 70, + "line": 60, "column": 2 }, "end": { - "line": 70, + "line": 60, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 1442, - "end": 1492, + "start": 1319, + "end": 1369, "loc": { "start": { - "line": 70, + "line": 60, "column": 2 }, "end": { - "line": 70, + "line": 60, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 1442, - "end": 1466, + "start": 1319, + "end": 1343, "loc": { "start": { - "line": 70, + "line": 60, "column": 2 }, "end": { - "line": 70, + "line": 60, "column": 26 } }, "object": { "type": "Identifier", - "start": 1442, - "end": 1452, + "start": 1319, + "end": 1329, "loc": { "start": { - "line": 70, + "line": 60, "column": 2 }, "end": { - "line": 70, + "line": 60, "column": 12 }, "identifierName": "viewMatrix" @@ -2407,15 +3134,15 @@ }, "property": { "type": "Identifier", - "start": 1453, - "end": 1466, + "start": 1330, + "end": 1343, "loc": { "start": { - "line": 70, + "line": 60, "column": 13 }, "end": { - "line": 70, + "line": 60, "column": 26 }, "identifierName": "setScreenRect" @@ -2427,15 +3154,15 @@ "arguments": [ { "type": "Identifier", - "start": 1467, - "end": 1471, + "start": 1344, + "end": 1348, "loc": { "start": { - "line": 70, + "line": 60, "column": 27 }, "end": { - "line": 70, + "line": 60, "column": 31 }, "identifierName": "left" @@ -2444,15 +3171,15 @@ }, { "type": "Identifier", - "start": 1473, - "end": 1478, + "start": 1350, + "end": 1355, "loc": { "start": { - "line": 70, + "line": 60, "column": 33 }, "end": { - "line": 70, + "line": 60, "column": 38 }, "identifierName": "right" @@ -2461,15 +3188,15 @@ }, { "type": "Identifier", - "start": 1480, - "end": 1486, + "start": 1357, + "end": 1363, "loc": { "start": { - "line": 70, + "line": 60, "column": 40 }, "end": { - "line": 70, + "line": 60, "column": 46 }, "identifierName": "bottom" @@ -2478,15 +3205,15 @@ }, { "type": "Identifier", - "start": 1488, - "end": 1491, + "start": 1365, + "end": 1368, "loc": { "start": { - "line": 70, + "line": 60, "column": 48 }, "end": { - "line": 70, + "line": 60, "column": 51 }, "identifierName": "top" @@ -2498,57 +3225,57 @@ }, { "type": "ExpressionStatement", - "start": 1497, - "end": 1663, + "start": 1374, + "end": 1540, "loc": { "start": { - "line": 72, + "line": 62, "column": 2 }, "end": { - "line": 75, + "line": 65, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 1497, - "end": 1662, + "start": 1374, + "end": 1539, "loc": { "start": { - "line": 72, + "line": 62, "column": 2 }, "end": { - "line": 75, + "line": 65, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 1497, - "end": 1524, + "start": 1374, + "end": 1401, "loc": { "start": { - "line": 72, + "line": 62, "column": 2 }, "end": { - "line": 72, + "line": 62, "column": 29 } }, "object": { "type": "Identifier", - "start": 1497, - "end": 1507, + "start": 1374, + "end": 1384, "loc": { "start": { - "line": 72, + "line": 62, "column": 2 }, "end": { - "line": 72, + "line": 62, "column": 12 }, "identifierName": "viewMatrix" @@ -2557,15 +3284,15 @@ }, "property": { "type": "Identifier", - "start": 1508, - "end": 1524, + "start": 1385, + "end": 1401, "loc": { "start": { - "line": 72, + "line": 62, "column": 13 }, "end": { - "line": 72, + "line": 62, "column": 29 }, "identifierName": "setMaxScreenRect" @@ -2577,29 +3304,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 1525, - "end": 1554, + "start": 1402, + "end": 1431, "loc": { "start": { - "line": 72, + "line": 62, "column": 30 }, "end": { - "line": 72, + "line": 62, "column": 59 } }, "object": { "type": "Identifier", - "start": 1525, - "end": 1532, + "start": 1402, + "end": 1409, "loc": { "start": { - "line": 72, + "line": 62, "column": 30 }, "end": { - "line": 72, + "line": 62, "column": 37 }, "identifierName": "cDefine" @@ -2608,15 +3335,15 @@ }, "property": { "type": "Identifier", - "start": 1533, - "end": 1554, + "start": 1410, + "end": 1431, "loc": { "start": { - "line": 72, + "line": 62, "column": 38 }, "end": { - "line": 72, + "line": 62, "column": 59 }, "identifierName": "VIEW_LOGICAL_MAX_LEFT" @@ -2627,29 +3354,29 @@ }, { "type": "MemberExpression", - "start": 1560, - "end": 1590, + "start": 1437, + "end": 1467, "loc": { "start": { - "line": 73, + "line": 63, "column": 4 }, "end": { - "line": 73, + "line": 63, "column": 34 } }, "object": { "type": "Identifier", - "start": 1560, - "end": 1567, + "start": 1437, + "end": 1444, "loc": { "start": { - "line": 73, + "line": 63, "column": 4 }, "end": { - "line": 73, + "line": 63, "column": 11 }, "identifierName": "cDefine" @@ -2658,15 +3385,15 @@ }, "property": { "type": "Identifier", - "start": 1568, - "end": 1590, + "start": 1445, + "end": 1467, "loc": { "start": { - "line": 73, + "line": 63, "column": 12 }, "end": { - "line": 73, + "line": 63, "column": 34 }, "identifierName": "VIEW_LOGICAL_MAX_RIGHT" @@ -2677,29 +3404,29 @@ }, { "type": "MemberExpression", - "start": 1596, - "end": 1627, + "start": 1473, + "end": 1504, "loc": { "start": { - "line": 74, + "line": 64, "column": 4 }, "end": { - "line": 74, + "line": 64, "column": 35 } }, "object": { "type": "Identifier", - "start": 1596, - "end": 1603, + "start": 1473, + "end": 1480, "loc": { "start": { - "line": 74, + "line": 64, "column": 4 }, "end": { - "line": 74, + "line": 64, "column": 11 }, "identifierName": "cDefine" @@ -2708,15 +3435,15 @@ }, "property": { "type": "Identifier", - "start": 1604, - "end": 1627, + "start": 1481, + "end": 1504, "loc": { "start": { - "line": 74, + "line": 64, "column": 12 }, "end": { - "line": 74, + "line": 64, "column": 35 }, "identifierName": "VIEW_LOGICAL_MAX_BOTTOM" @@ -2727,29 +3454,29 @@ }, { "type": "MemberExpression", - "start": 1633, - "end": 1661, + "start": 1510, + "end": 1538, "loc": { "start": { - "line": 75, + "line": 65, "column": 4 }, "end": { - "line": 75, + "line": 65, "column": 32 } }, "object": { "type": "Identifier", - "start": 1633, - "end": 1640, + "start": 1510, + "end": 1517, "loc": { "start": { - "line": 75, + "line": 65, "column": 4 }, "end": { - "line": 75, + "line": 65, "column": 11 }, "identifierName": "cDefine" @@ -2758,15 +3485,15 @@ }, "property": { "type": "Identifier", - "start": 1641, - "end": 1661, + "start": 1518, + "end": 1538, "loc": { "start": { - "line": 75, + "line": 65, "column": 12 }, "end": { - "line": 75, + "line": 65, "column": 32 }, "identifierName": "VIEW_LOGICAL_MAX_TOP" @@ -2780,44 +3507,44 @@ }, { "type": "ExpressionStatement", - "start": 1667, - "end": 1698, + "start": 1544, + "end": 1575, "loc": { "start": { - "line": 77, + "line": 67, "column": 2 }, "end": { - "line": 77, + "line": 67, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 1667, - "end": 1697, + "start": 1544, + "end": 1574, "loc": { "start": { - "line": 77, + "line": 67, "column": 2 }, "end": { - "line": 77, + "line": 67, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1667, - "end": 1677, + "start": 1544, + "end": 1554, "loc": { "start": { - "line": 77, + "line": 67, "column": 2 }, "end": { - "line": 77, + "line": 67, "column": 12 }, "identifierName": "projMatrix" @@ -2826,29 +3553,29 @@ }, "right": { "type": "NewExpression", - "start": 1680, - "end": 1697, + "start": 1557, + "end": 1574, "loc": { "start": { - "line": 77, + "line": 67, "column": 15 }, "end": { - "line": 77, + "line": 67, "column": 32 } }, "callee": { "type": "Identifier", - "start": 1684, - "end": 1695, + "start": 1561, + "end": 1572, "loc": { "start": { - "line": 77, + "line": 67, "column": 19 }, "end": { - "line": 77, + "line": 67, "column": 30 }, "identifierName": "L2DMatrix44" @@ -2861,57 +3588,57 @@ }, { "type": "ExpressionStatement", - "start": 1701, - "end": 1743, + "start": 1578, + "end": 1650, "loc": { "start": { - "line": 78, + "line": 68, "column": 2 }, "end": { - "line": 78, - "column": 44 + "line": 68, + "column": 74 } }, "expression": { "type": "CallExpression", - "start": 1701, - "end": 1742, + "start": 1578, + "end": 1649, "loc": { "start": { - "line": 78, + "line": 68, "column": 2 }, "end": { - "line": 78, - "column": 43 + "line": 68, + "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 1701, - "end": 1721, + "start": 1578, + "end": 1598, "loc": { "start": { - "line": 78, + "line": 68, "column": 2 }, "end": { - "line": 78, + "line": 68, "column": 22 } }, "object": { "type": "Identifier", - "start": 1701, - "end": 1711, + "start": 1578, + "end": 1588, "loc": { "start": { - "line": 78, + "line": 68, "column": 2 }, "end": { - "line": 78, + "line": 68, "column": 12 }, "identifierName": "projMatrix" @@ -2920,15 +3647,15 @@ }, "property": { "type": "Identifier", - "start": 1712, - "end": 1721, + "start": 1589, + "end": 1598, "loc": { "start": { - "line": 78, + "line": 68, "column": 13 }, "end": { - "line": 78, + "line": 68, "column": 22 }, "identifierName": "multScale" @@ -2940,15 +3667,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1722, - "end": 1723, + "start": 1599, + "end": 1600, "loc": { "start": { - "line": 78, + "line": 68, "column": 23 }, "end": { - "line": 78, + "line": 68, "column": 24 } }, @@ -2960,56 +3687,188 @@ }, { "type": "BinaryExpression", - "start": 1726, - "end": 1740, + "start": 1603, + "end": 1647, "loc": { "start": { - "line": 78, + "line": 68, "column": 27 }, "end": { - "line": 78, - "column": 41 + "line": 68, + "column": 71 } }, "left": { - "type": "Identifier", - "start": 1726, - "end": 1731, + "type": "MemberExpression", + "start": 1603, + "end": 1623, "loc": { "start": { - "line": 78, + "line": 68, "column": 27 }, "end": { - "line": 78, - "column": 32 + "line": 68, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 1603, + "end": 1617, + "loc": { + "start": { + "line": 68, + "column": 27 + }, + "end": { + "line": 68, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 1603, + "end": 1609, + "loc": { + "start": { + "line": 68, + "column": 27 + }, + "end": { + "line": 68, + "column": 33 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1610, + "end": 1617, + "loc": { + "start": { + "line": 68, + "column": 34 + }, + "end": { + "line": 68, + "column": 41 + }, + "identifierName": "display" + }, + "name": "display" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1618, + "end": 1623, + "loc": { + "start": { + "line": 68, + "column": 42 + }, + "end": { + "line": 68, + "column": 47 + }, + "identifierName": "width" }, - "identifierName": "width" + "name": "width" }, - "name": "width" + "computed": false }, "operator": "/", "right": { - "type": "Identifier", - "start": 1734, - "end": 1740, + "type": "MemberExpression", + "start": 1626, + "end": 1647, "loc": { "start": { - "line": 78, - "column": 35 + "line": 68, + "column": 50 }, "end": { - "line": 78, - "column": 41 + "line": 68, + "column": 71 + } + }, + "object": { + "type": "MemberExpression", + "start": 1626, + "end": 1640, + "loc": { + "start": { + "line": 68, + "column": 50 + }, + "end": { + "line": 68, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 1626, + "end": 1632, + "loc": { + "start": { + "line": 68, + "column": 50 + }, + "end": { + "line": 68, + "column": 56 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1633, + "end": 1640, + "loc": { + "start": { + "line": 68, + "column": 57 + }, + "end": { + "line": 68, + "column": 64 + }, + "identifierName": "display" + }, + "name": "display" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1641, + "end": 1647, + "loc": { + "start": { + "line": 68, + "column": 65 + }, + "end": { + "line": 68, + "column": 71 + }, + "identifierName": "height" }, - "identifierName": "height" + "name": "height" }, - "name": "height" + "computed": false }, "extra": { "parenthesized": true, - "parenStart": 1725 + "parenStart": 1602 } } ] @@ -3017,44 +3876,44 @@ }, { "type": "ExpressionStatement", - "start": 1747, - "end": 1782, + "start": 1654, + "end": 1689, "loc": { "start": { - "line": 80, + "line": 70, "column": 2 }, "end": { - "line": 80, + "line": 70, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 1747, - "end": 1781, + "start": 1654, + "end": 1688, "loc": { "start": { - "line": 80, + "line": 70, "column": 2 }, "end": { - "line": 80, + "line": 70, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1747, - "end": 1761, + "start": 1654, + "end": 1668, "loc": { "start": { - "line": 80, + "line": 70, "column": 2 }, "end": { - "line": 80, + "line": 70, "column": 16 }, "identifierName": "deviceToScreen" @@ -3063,29 +3922,29 @@ }, "right": { "type": "NewExpression", - "start": 1764, - "end": 1781, + "start": 1671, + "end": 1688, "loc": { "start": { - "line": 80, + "line": 70, "column": 19 }, "end": { - "line": 80, + "line": 70, "column": 36 } }, "callee": { "type": "Identifier", - "start": 1768, - "end": 1779, + "start": 1675, + "end": 1686, "loc": { "start": { - "line": 80, + "line": 70, "column": 23 }, "end": { - "line": 80, + "line": 70, "column": 34 }, "identifierName": "L2DMatrix44" @@ -3094,169 +3953,199 @@ }, "arguments": [] } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " deviceToScreen.multTranslate(-width / 2.0, -height / 2.0); // old codes", - "start": 1785, - "end": 1859, - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 81, - "column": 76 - } - } - }, - { - "type": "CommentLine", - "value": " deviceToScreen.multScale(2 / width, -2 / width); // old codes", - "start": 1862, - "end": 1926, - "loc": { - "start": { - "line": 82, - "column": 2 - }, - "end": { - "line": 82, - "column": 66 - } - } - } - ] + } }, { "type": "ExpressionStatement", - "start": 1929, - "end": 1989, + "start": 1692, + "end": 1780, "loc": { "start": { - "line": 83, + "line": 71, "column": 2 }, "end": { - "line": 83, - "column": 62 + "line": 71, + "column": 90 } }, "expression": { "type": "CallExpression", - "start": 1929, - "end": 1988, + "start": 1692, + "end": 1779, "loc": { "start": { - "line": 83, + "line": 71, "column": 2 }, "end": { - "line": 83, - "column": 61 + "line": 71, + "column": 89 } }, "callee": { "type": "MemberExpression", - "start": 1929, - "end": 1957, + "start": 1692, + "end": 1720, "loc": { "start": { - "line": 83, + "line": 71, "column": 2 }, "end": { - "line": 83, + "line": 71, "column": 30 } }, "object": { "type": "Identifier", - "start": 1929, - "end": 1943, + "start": 1692, + "end": 1706, "loc": { "start": { - "line": 83, + "line": 71, "column": 2 }, "end": { - "line": 83, + "line": 71, "column": 16 }, "identifierName": "deviceToScreen" }, - "name": "deviceToScreen", - "leadingComments": null + "name": "deviceToScreen" }, "property": { "type": "Identifier", - "start": 1944, - "end": 1957, + "start": 1707, + "end": 1720, "loc": { "start": { - "line": 83, + "line": 71, "column": 17 }, "end": { - "line": 83, + "line": 71, "column": 30 }, "identifierName": "multTranslate" }, "name": "multTranslate" }, - "computed": false, - "leadingComments": null + "computed": false }, "arguments": [ { "type": "BinaryExpression", - "start": 1958, - "end": 1971, + "start": 1721, + "end": 1748, "loc": { "start": { - "line": 83, + "line": 71, "column": 31 }, "end": { - "line": 83, - "column": 44 + "line": 71, + "column": 58 } }, "left": { "type": "UnaryExpression", - "start": 1958, - "end": 1965, + "start": 1721, + "end": 1742, "loc": { "start": { - "line": 83, + "line": 71, "column": 31 }, "end": { - "line": 83, - "column": 38 + "line": 71, + "column": 52 } }, "operator": "-", "prefix": true, "argument": { - "type": "Identifier", - "start": 1959, - "end": 1965, + "type": "MemberExpression", + "start": 1722, + "end": 1742, "loc": { "start": { - "line": 83, + "line": 71, "column": 32 }, "end": { - "line": 83, - "column": 38 + "line": 71, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 1722, + "end": 1736, + "loc": { + "start": { + "line": 71, + "column": 32 + }, + "end": { + "line": 71, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 1722, + "end": 1728, + "loc": { + "start": { + "line": 71, + "column": 32 + }, + "end": { + "line": 71, + "column": 38 + }, + "identifierName": "config" + }, + "name": "config" }, - "identifierName": "sWidth" + "property": { + "type": "Identifier", + "start": 1729, + "end": 1736, + "loc": { + "start": { + "line": 71, + "column": 39 + }, + "end": { + "line": 71, + "column": 46 + }, + "identifierName": "display" + }, + "name": "display" + }, + "computed": false }, - "name": "sWidth" + "property": { + "type": "Identifier", + "start": 1737, + "end": 1742, + "loc": { + "start": { + "line": 71, + "column": 47 + }, + "end": { + "line": 71, + "column": 52 + }, + "identifierName": "width" + }, + "name": "width" + }, + "computed": false }, "extra": { "parenthesizedArgument": false @@ -3265,16 +4154,16 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 1968, - "end": 1971, + "start": 1745, + "end": 1748, "loc": { "start": { - "line": 83, - "column": 41 + "line": 71, + "column": 55 }, "end": { - "line": 83, - "column": 44 + "line": 71, + "column": 58 } }, "extra": { @@ -3286,50 +4175,116 @@ }, { "type": "BinaryExpression", - "start": 1973, - "end": 1987, + "start": 1750, + "end": 1778, "loc": { "start": { - "line": 83, - "column": 46 + "line": 71, + "column": 60 }, "end": { - "line": 83, - "column": 60 + "line": 71, + "column": 88 } }, "left": { "type": "UnaryExpression", - "start": 1973, - "end": 1981, + "start": 1750, + "end": 1772, "loc": { "start": { - "line": 83, - "column": 46 + "line": 71, + "column": 60 }, "end": { - "line": 83, - "column": 54 + "line": 71, + "column": 82 } }, "operator": "-", "prefix": true, "argument": { - "type": "Identifier", - "start": 1974, - "end": 1981, + "type": "MemberExpression", + "start": 1751, + "end": 1772, "loc": { "start": { - "line": 83, - "column": 47 + "line": 71, + "column": 61 }, "end": { - "line": 83, - "column": 54 + "line": 71, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 1751, + "end": 1765, + "loc": { + "start": { + "line": 71, + "column": 61 + }, + "end": { + "line": 71, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 1751, + "end": 1757, + "loc": { + "start": { + "line": 71, + "column": 61 + }, + "end": { + "line": 71, + "column": 67 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1758, + "end": 1765, + "loc": { + "start": { + "line": 71, + "column": 68 + }, + "end": { + "line": 71, + "column": 75 + }, + "identifierName": "display" + }, + "name": "display" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1766, + "end": 1772, + "loc": { + "start": { + "line": 71, + "column": 76 + }, + "end": { + "line": 71, + "column": 82 + }, + "identifierName": "height" }, - "identifierName": "sHeight" + "name": "height" }, - "name": "sHeight" + "computed": false }, "extra": { "parenthesizedArgument": false @@ -3338,16 +4293,16 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 1984, - "end": 1987, + "start": 1775, + "end": 1778, "loc": { "start": { - "line": 83, - "column": 57 + "line": 71, + "column": 85 }, "end": { - "line": 83, - "column": 60 + "line": 71, + "column": 88 } }, "extra": { @@ -3357,57 +4312,22 @@ "value": 2 } } - ], - "leadingComments": null + ] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " deviceToScreen.multTranslate(-width / 2.0, -height / 2.0); // old codes", - "start": 1785, - "end": 1859, - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 81, - "column": 76 - } - } - }, - { - "type": "CommentLine", - "value": " deviceToScreen.multScale(2 / width, -2 / width); // old codes", - "start": 1862, - "end": 1926, - "loc": { - "start": { - "line": 82, - "column": 2 - }, - "end": { - "line": 82, - "column": 66 - } - } - } - ], "trailingComments": [ { "type": "CommentLine", "value": " #32", - "start": 1991, - "end": 1997, + "start": 1782, + "end": 1788, "loc": { "start": { - "line": 83, - "column": 64 + "line": 71, + "column": 92 }, "end": { - "line": 83, - "column": 70 + "line": 71, + "column": 98 } } } @@ -3415,57 +4335,57 @@ }, { "type": "ExpressionStatement", - "start": 2000, - "end": 2051, + "start": 1791, + "end": 1870, "loc": { "start": { - "line": 84, + "line": 72, "column": 2 }, "end": { - "line": 84, - "column": 53 + "line": 72, + "column": 81 } }, "expression": { "type": "CallExpression", - "start": 2000, - "end": 2050, + "start": 1791, + "end": 1869, "loc": { "start": { - "line": 84, + "line": 72, "column": 2 }, "end": { - "line": 84, - "column": 52 + "line": 72, + "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 2000, - "end": 2024, + "start": 1791, + "end": 1815, "loc": { "start": { - "line": 84, + "line": 72, "column": 2 }, "end": { - "line": 84, + "line": 72, "column": 26 } }, "object": { "type": "Identifier", - "start": 2000, - "end": 2014, + "start": 1791, + "end": 1805, "loc": { "start": { - "line": 84, + "line": 72, "column": 2 }, "end": { - "line": 84, + "line": 72, "column": 16 }, "identifierName": "deviceToScreen" @@ -3475,15 +4395,15 @@ }, "property": { "type": "Identifier", - "start": 2015, - "end": 2024, + "start": 1806, + "end": 1815, "loc": { "start": { - "line": 84, + "line": 72, "column": 17 }, "end": { - "line": 84, + "line": 72, "column": 26 }, "identifierName": "multScale" @@ -3496,29 +4416,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2025, - "end": 2035, + "start": 1816, + "end": 1840, "loc": { "start": { - "line": 84, + "line": 72, "column": 27 }, "end": { - "line": 84, - "column": 37 + "line": 72, + "column": 51 } }, "left": { "type": "NumericLiteral", - "start": 2025, - "end": 2026, + "start": 1816, + "end": 1817, "loc": { "start": { - "line": 84, + "line": 72, "column": 27 }, "end": { - "line": 84, + "line": 72, "column": 28 } }, @@ -3530,65 +4450,131 @@ }, "operator": "/", "right": { - "type": "Identifier", - "start": 2029, - "end": 2035, + "type": "MemberExpression", + "start": 1820, + "end": 1840, "loc": { "start": { - "line": 84, + "line": 72, "column": 31 }, "end": { - "line": 84, - "column": 37 + "line": 72, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 1820, + "end": 1834, + "loc": { + "start": { + "line": 72, + "column": 31 + }, + "end": { + "line": 72, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 1820, + "end": 1826, + "loc": { + "start": { + "line": 72, + "column": 31 + }, + "end": { + "line": 72, + "column": 37 + }, + "identifierName": "config" + }, + "name": "config" }, - "identifierName": "sWidth" + "property": { + "type": "Identifier", + "start": 1827, + "end": 1834, + "loc": { + "start": { + "line": 72, + "column": 38 + }, + "end": { + "line": 72, + "column": 45 + }, + "identifierName": "display" + }, + "name": "display" + }, + "computed": false }, - "name": "sWidth" + "property": { + "type": "Identifier", + "start": 1835, + "end": 1840, + "loc": { + "start": { + "line": 72, + "column": 46 + }, + "end": { + "line": 72, + "column": 51 + }, + "identifierName": "width" + }, + "name": "width" + }, + "computed": false } }, { "type": "BinaryExpression", - "start": 2037, - "end": 2049, + "start": 1842, + "end": 1868, "loc": { "start": { - "line": 84, - "column": 39 + "line": 72, + "column": 53 }, "end": { - "line": 84, - "column": 51 + "line": 72, + "column": 79 } }, "left": { "type": "UnaryExpression", - "start": 2037, - "end": 2039, + "start": 1842, + "end": 1844, "loc": { "start": { - "line": 84, - "column": 39 + "line": 72, + "column": 53 }, "end": { - "line": 84, - "column": 41 + "line": 72, + "column": 55 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", - "start": 2038, - "end": 2039, + "start": 1843, + "end": 1844, "loc": { "start": { - "line": 84, - "column": 40 + "line": 72, + "column": 54 }, "end": { - "line": 84, - "column": 41 + "line": 72, + "column": 55 } }, "extra": { @@ -3603,21 +4589,87 @@ }, "operator": "/", "right": { - "type": "Identifier", - "start": 2042, - "end": 2049, + "type": "MemberExpression", + "start": 1847, + "end": 1868, "loc": { "start": { - "line": 84, - "column": 44 + "line": 72, + "column": 58 }, "end": { - "line": 84, - "column": 51 + "line": 72, + "column": 79 + } + }, + "object": { + "type": "MemberExpression", + "start": 1847, + "end": 1861, + "loc": { + "start": { + "line": 72, + "column": 58 + }, + "end": { + "line": 72, + "column": 72 + } + }, + "object": { + "type": "Identifier", + "start": 1847, + "end": 1853, + "loc": { + "start": { + "line": 72, + "column": 58 + }, + "end": { + "line": 72, + "column": 64 + }, + "identifierName": "config" + }, + "name": "config" }, - "identifierName": "sHeight" + "property": { + "type": "Identifier", + "start": 1854, + "end": 1861, + "loc": { + "start": { + "line": 72, + "column": 65 + }, + "end": { + "line": 72, + "column": 72 + }, + "identifierName": "display" + }, + "name": "display" + }, + "computed": false }, - "name": "sHeight" + "property": { + "type": "Identifier", + "start": 1862, + "end": 1868, + "loc": { + "start": { + "line": 72, + "column": 73 + }, + "end": { + "line": 72, + "column": 79 + }, + "identifierName": "height" + }, + "name": "height" + }, + "computed": false } } ], @@ -3627,16 +4679,16 @@ { "type": "CommentLine", "value": " #32", - "start": 1991, - "end": 1997, + "start": 1782, + "end": 1788, "loc": { "start": { - "line": 83, - "column": 64 + "line": 71, + "column": 92 }, "end": { - "line": 83, - "column": 70 + "line": 71, + "column": 98 } } } @@ -3645,16 +4697,16 @@ { "type": "CommentLine", "value": " #32", - "start": 2053, - "end": 2059, + "start": 1872, + "end": 1878, "loc": { "start": { - "line": 84, - "column": 55 + "line": 72, + "column": 83 }, "end": { - "line": 84, - "column": 61 + "line": 72, + "column": 89 } } } @@ -3662,57 +4714,57 @@ }, { "type": "ExpressionStatement", - "start": 2064, - "end": 2088, + "start": 1883, + "end": 1907, "loc": { "start": { - "line": 87, + "line": 75, "column": 2 }, "end": { - "line": 87, + "line": 75, "column": 26 } }, "expression": { "type": "CallExpression", - "start": 2064, - "end": 2087, + "start": 1883, + "end": 1906, "loc": { "start": { - "line": 87, + "line": 75, "column": 2 }, "end": { - "line": 87, + "line": 75, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 2064, - "end": 2076, + "start": 1883, + "end": 1895, "loc": { "start": { - "line": 87, + "line": 75, "column": 2 }, "end": { - "line": 87, + "line": 75, "column": 14 } }, "object": { "type": "Identifier", - "start": 2064, - "end": 2070, + "start": 1883, + "end": 1889, "loc": { "start": { - "line": 87, + "line": 75, "column": 2 }, "end": { - "line": 87, + "line": 75, "column": 8 }, "identifierName": "Live2D" @@ -3722,15 +4774,15 @@ }, "property": { "type": "Identifier", - "start": 2071, - "end": 2076, + "start": 1890, + "end": 1895, "loc": { "start": { - "line": 87, + "line": 75, "column": 9 }, "end": { - "line": 87, + "line": 75, "column": 14 }, "identifierName": "setGL" @@ -3743,15 +4795,15 @@ "arguments": [ { "type": "Identifier", - "start": 2077, - "end": 2086, + "start": 1896, + "end": 1905, "loc": { "start": { - "line": 87, + "line": 75, "column": 15 }, "end": { - "line": 87, + "line": 75, "column": 24 }, "identifierName": "currWebGL" @@ -3765,16 +4817,16 @@ { "type": "CommentLine", "value": " #32", - "start": 2053, - "end": 2059, + "start": 1872, + "end": 1878, "loc": { "start": { - "line": 84, - "column": 55 + "line": 72, + "column": 83 }, "end": { - "line": 84, - "column": 61 + "line": 72, + "column": 89 } } } @@ -3782,57 +4834,57 @@ }, { "type": "ExpressionStatement", - "start": 2091, - "end": 2132, + "start": 1910, + "end": 1951, "loc": { "start": { - "line": 88, + "line": 76, "column": 2 }, "end": { - "line": 88, + "line": 76, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 2091, - "end": 2131, + "start": 1910, + "end": 1950, "loc": { "start": { - "line": 88, + "line": 76, "column": 2 }, "end": { - "line": 88, + "line": 76, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 2091, - "end": 2111, + "start": 1910, + "end": 1930, "loc": { "start": { - "line": 88, + "line": 76, "column": 2 }, "end": { - "line": 88, + "line": 76, "column": 22 } }, "object": { "type": "Identifier", - "start": 2091, - "end": 2100, + "start": 1910, + "end": 1919, "loc": { "start": { - "line": 88, + "line": 76, "column": 2 }, "end": { - "line": 88, + "line": 76, "column": 11 }, "identifierName": "currWebGL" @@ -3841,15 +4893,15 @@ }, "property": { "type": "Identifier", - "start": 2101, - "end": 2111, + "start": 1920, + "end": 1930, "loc": { "start": { - "line": 88, + "line": 76, "column": 12 }, "end": { - "line": 88, + "line": 76, "column": 22 }, "identifierName": "clearColor" @@ -3861,15 +4913,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2112, - "end": 2115, + "start": 1931, + "end": 1934, "loc": { "start": { - "line": 88, + "line": 76, "column": 23 }, "end": { - "line": 88, + "line": 76, "column": 26 } }, @@ -3881,15 +4933,15 @@ }, { "type": "NumericLiteral", - "start": 2117, - "end": 2120, + "start": 1936, + "end": 1939, "loc": { "start": { - "line": 88, + "line": 76, "column": 28 }, "end": { - "line": 88, + "line": 76, "column": 31 } }, @@ -3901,15 +4953,15 @@ }, { "type": "NumericLiteral", - "start": 2122, - "end": 2125, + "start": 1941, + "end": 1944, "loc": { "start": { - "line": 88, + "line": 76, "column": 33 }, "end": { - "line": 88, + "line": 76, "column": 36 } }, @@ -3921,15 +4973,15 @@ }, { "type": "NumericLiteral", - "start": 2127, - "end": 2130, + "start": 1946, + "end": 1949, "loc": { "start": { - "line": 88, + "line": 76, "column": 38 }, "end": { - "line": 88, + "line": 76, "column": 41 } }, @@ -3944,43 +4996,43 @@ }, { "type": "ExpressionStatement", - "start": 2135, - "end": 2170, + "start": 1954, + "end": 1989, "loc": { "start": { - "line": 89, + "line": 77, "column": 2 }, "end": { - "line": 89, + "line": 77, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 2135, - "end": 2169, + "start": 1954, + "end": 1988, "loc": { "start": { - "line": 89, + "line": 77, "column": 2 }, "end": { - "line": 89, + "line": 77, "column": 36 } }, "callee": { "type": "Identifier", - "start": 2135, - "end": 2146, + "start": 1954, + "end": 1965, "loc": { "start": { - "line": 89, + "line": 77, "column": 2 }, "end": { - "line": 89, + "line": 77, "column": 13 }, "identifierName": "changeModel" @@ -3990,43 +5042,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 2147, - "end": 2168, + "start": 1966, + "end": 1987, "loc": { "start": { - "line": 89, + "line": 77, "column": 14 }, "end": { - "line": 89, + "line": 77, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 2147, - "end": 2159, + "start": 1966, + "end": 1978, "loc": { "start": { - "line": 89, + "line": 77, "column": 14 }, "end": { - "line": 89, + "line": 77, "column": 26 } }, "object": { "type": "Identifier", - "start": 2147, - "end": 2153, + "start": 1966, + "end": 1972, "loc": { "start": { - "line": 89, + "line": 77, "column": 14 }, "end": { - "line": 89, + "line": 77, "column": 20 }, "identifierName": "config" @@ -4035,15 +5087,15 @@ }, "property": { "type": "Identifier", - "start": 2154, - "end": 2159, + "start": 1973, + "end": 1978, "loc": { "start": { - "line": 89, + "line": 77, "column": 21 }, "end": { - "line": 89, + "line": 77, "column": 26 }, "identifierName": "model" @@ -4054,15 +5106,15 @@ }, "property": { "type": "Identifier", - "start": 2160, - "end": 2168, + "start": 1979, + "end": 1987, "loc": { "start": { - "line": 89, + "line": 77, "column": 27 }, "end": { - "line": 89, + "line": 77, "column": 35 }, "identifierName": "jsonPath" @@ -4076,43 +5128,43 @@ }, { "type": "ExpressionStatement", - "start": 2173, - "end": 2185, + "start": 1992, + "end": 2004, "loc": { "start": { - "line": 90, + "line": 78, "column": 2 }, "end": { - "line": 90, + "line": 78, "column": 14 } }, "expression": { "type": "CallExpression", - "start": 2173, - "end": 2184, + "start": 1992, + "end": 2003, "loc": { "start": { - "line": 90, + "line": 78, "column": 2 }, "end": { - "line": 90, + "line": 78, "column": 13 } }, "callee": { "type": "Identifier", - "start": 2173, - "end": 2182, + "start": 1992, + "end": 2001, "loc": { "start": { - "line": 90, + "line": 78, "column": 2 }, "end": { - "line": 90, + "line": 78, "column": 11 }, "identifierName": "startDraw" @@ -4130,15 +5182,15 @@ { "type": "CommentBlock", "value": "*\n * Main function of live2d-widget\n * @return {null}\n ", - "start": 958, - "end": 1017, + "start": 956, + "end": 1015, "loc": { "start": { - "line": 47, + "line": 42, "column": 0 }, "end": { - "line": 50, + "line": 45, "column": 3 } } @@ -4150,15 +5202,15 @@ { "type": "CommentBlock", "value": "*\n * Main function of live2d-widget\n * @return {null}\n ", - "start": 958, - "end": 1017, + "start": 956, + "end": 1015, "loc": { "start": { - "line": 47, + "line": 42, "column": 0 }, "end": { - "line": 50, + "line": 45, "column": 3 } } @@ -4167,29 +5219,29 @@ }, { "type": "FunctionDeclaration", - "start": 2191, - "end": 2730, + "start": 2010, + "end": 2507, "loc": { "start": { - "line": 95, + "line": 83, "column": 0 }, "end": { - "line": 107, + "line": 94, "column": 1 } }, "id": { "type": "Identifier", - "start": 2200, - "end": 2209, + "start": 2019, + "end": 2028, "loc": { "start": { - "line": 95, + "line": 83, "column": 9 }, "end": { - "line": 95, + "line": 83, "column": 18 }, "identifierName": "initEvent" @@ -4202,15 +5254,15 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2211, - "end": 2730, + "start": 2030, + "end": 2507, "loc": { "start": { - "line": 95, + "line": 83, "column": 20 }, "end": { - "line": 107, + "line": 94, "column": 1 } }, @@ -4220,16 +5272,16 @@ "innerComments": [ { "type": "CommentBlock", - "value": "\n canvas = document.getElementById(canvasId);\n if (canvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }", - "start": 2212, - "end": 2728, + "value": "\n if (currCanvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }", + "start": 2031, + "end": 2505, "loc": { "start": { - "line": 95, + "line": 83, "column": 21 }, "end": { - "line": 106, + "line": 93, "column": 5 } } @@ -4239,29 +5291,29 @@ }, { "type": "FunctionDeclaration", - "start": 2732, - "end": 3100, + "start": 2509, + "end": 2881, "loc": { "start": { - "line": 109, + "line": 96, "column": 0 }, "end": { - "line": 123, + "line": 110, "column": 1 } }, "id": { "type": "Identifier", - "start": 2741, - "end": 2750, + "start": 2518, + "end": 2527, "loc": { "start": { - "line": 109, + "line": 96, "column": 9 }, "end": { - "line": 109, + "line": 96, "column": 18 }, "identifierName": "startDraw" @@ -4274,44 +5326,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2753, - "end": 3100, + "start": 2530, + "end": 2881, "loc": { "start": { - "line": 109, + "line": 96, "column": 21 }, "end": { - "line": 123, + "line": 110, "column": 1 } }, "body": [ { "type": "IfStatement", - "start": 2757, - "end": 3098, + "start": 2534, + "end": 2879, "loc": { "start": { - "line": 110, + "line": 97, "column": 2 }, "end": { - "line": 122, + "line": 109, "column": 3 } }, "test": { "type": "UnaryExpression", - "start": 2761, - "end": 2773, + "start": 2538, + "end": 2550, "loc": { "start": { - "line": 110, + "line": 97, "column": 6 }, "end": { - "line": 110, + "line": 97, "column": 18 } }, @@ -4319,15 +5371,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 2762, - "end": 2773, + "start": 2539, + "end": 2550, "loc": { "start": { - "line": 110, + "line": 97, "column": 7 }, "end": { - "line": 110, + "line": 97, "column": 18 }, "identifierName": "isDrawStart" @@ -4340,59 +5392,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2775, - "end": 3098, + "start": 2552, + "end": 2879, "loc": { "start": { - "line": 110, + "line": 97, "column": 20 }, "end": { - "line": 122, + "line": 109, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 2781, - "end": 2800, + "start": 2558, + "end": 2577, "loc": { "start": { - "line": 111, + "line": 98, "column": 4 }, "end": { - "line": 111, + "line": 98, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 2781, - "end": 2799, + "start": 2558, + "end": 2576, "loc": { "start": { - "line": 111, + "line": 98, "column": 4 }, "end": { - "line": 111, + "line": 98, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2781, - "end": 2792, + "start": 2558, + "end": 2569, "loc": { "start": { - "line": 111, + "line": 98, "column": 4 }, "end": { - "line": 111, + "line": 98, "column": 15 }, "identifierName": "isDrawStart" @@ -4401,15 +5453,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 2795, - "end": 2799, + "start": 2572, + "end": 2576, "loc": { "start": { - "line": 111, + "line": 98, "column": 18 }, "end": { - "line": 111, + "line": 98, "column": 22 } }, @@ -4419,57 +5471,57 @@ }, { "type": "ExpressionStatement", - "start": 2805, - "end": 3094, + "start": 2582, + "end": 2875, "loc": { "start": { - "line": 112, + "line": 99, "column": 4 }, "end": { - "line": 121, + "line": 108, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 2805, - "end": 3093, + "start": 2582, + "end": 2874, "loc": { "start": { - "line": 112, + "line": 99, "column": 4 }, "end": { - "line": 121, + "line": 108, "column": 8 } }, "callee": { "type": "FunctionExpression", - "start": 2806, - "end": 3090, + "start": 2583, + "end": 2871, "loc": { "start": { - "line": 112, + "line": 99, "column": 5 }, "end": { - "line": 121, + "line": 108, "column": 5 } }, "id": { "type": "Identifier", - "start": 2815, - "end": 2819, + "start": 2592, + "end": 2596, "loc": { "start": { - "line": 112, + "line": 99, "column": 14 }, "end": { - "line": 112, + "line": 99, "column": 18 }, "identifierName": "tick" @@ -4482,58 +5534,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2822, - "end": 3090, + "start": 2599, + "end": 2871, "loc": { "start": { - "line": 112, + "line": 99, "column": 21 }, "end": { - "line": 121, + "line": 108, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2830, - "end": 2837, + "start": 2607, + "end": 2614, "loc": { "start": { - "line": 113, + "line": 100, "column": 6 }, "end": { - "line": 113, + "line": 100, "column": 13 } }, "expression": { "type": "CallExpression", - "start": 2830, - "end": 2836, + "start": 2607, + "end": 2613, "loc": { "start": { - "line": 113, + "line": 100, "column": 6 }, "end": { - "line": 113, + "line": 100, "column": 12 } }, "callee": { "type": "Identifier", - "start": 2830, - "end": 2834, + "start": 2607, + "end": 2611, "loc": { "start": { - "line": 113, + "line": 100, "column": 6 }, "end": { - "line": 113, + "line": 100, "column": 10 }, "identifierName": "draw" @@ -4545,44 +5597,44 @@ }, { "type": "VariableDeclaration", - "start": 2844, - "end": 3040, + "start": 2621, + "end": 2817, "loc": { "start": { - "line": 114, + "line": 101, "column": 6 }, "end": { - "line": 118, + "line": 105, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2848, - "end": 3039, + "start": 2625, + "end": 2816, "loc": { "start": { - "line": 114, + "line": 101, "column": 10 }, "end": { - "line": 118, + "line": 105, "column": 38 } }, "id": { "type": "Identifier", - "start": 2848, - "end": 2869, + "start": 2625, + "end": 2646, "loc": { "start": { - "line": 114, + "line": 101, "column": 10 }, "end": { - "line": 114, + "line": 101, "column": 31 }, "identifierName": "requestAnimationFrame" @@ -4591,71 +5643,71 @@ }, "init": { "type": "LogicalExpression", - "start": 2880, - "end": 3039, + "start": 2657, + "end": 2816, "loc": { "start": { - "line": 115, + "line": 102, "column": 8 }, "end": { - "line": 118, + "line": 105, "column": 38 } }, "left": { "type": "LogicalExpression", - "start": 2880, - "end": 2997, + "start": 2657, + "end": 2774, "loc": { "start": { - "line": 115, + "line": 102, "column": 8 }, "end": { - "line": 117, + "line": 104, "column": 42 } }, "left": { "type": "LogicalExpression", - "start": 2880, - "end": 2951, + "start": 2657, + "end": 2728, "loc": { "start": { - "line": 115, + "line": 102, "column": 8 }, "end": { - "line": 116, + "line": 103, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 2880, - "end": 2908, + "start": 2657, + "end": 2685, "loc": { "start": { - "line": 115, + "line": 102, "column": 8 }, "end": { - "line": 115, + "line": 102, "column": 36 } }, "object": { "type": "Identifier", - "start": 2880, - "end": 2886, + "start": 2657, + "end": 2663, "loc": { "start": { - "line": 115, + "line": 102, "column": 8 }, "end": { - "line": 115, + "line": 102, "column": 14 }, "identifierName": "window" @@ -4664,15 +5716,15 @@ }, "property": { "type": "Identifier", - "start": 2887, - "end": 2908, + "start": 2664, + "end": 2685, "loc": { "start": { - "line": 115, + "line": 102, "column": 15 }, "end": { - "line": 115, + "line": 102, "column": 36 }, "identifierName": "requestAnimationFrame" @@ -4684,29 +5736,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 2920, - "end": 2951, + "start": 2697, + "end": 2728, "loc": { "start": { - "line": 116, + "line": 103, "column": 8 }, "end": { - "line": 116, + "line": 103, "column": 39 } }, "object": { "type": "Identifier", - "start": 2920, - "end": 2926, + "start": 2697, + "end": 2703, "loc": { "start": { - "line": 116, + "line": 103, "column": 8 }, "end": { - "line": 116, + "line": 103, "column": 14 }, "identifierName": "window" @@ -4715,15 +5767,15 @@ }, "property": { "type": "Identifier", - "start": 2927, - "end": 2951, + "start": 2704, + "end": 2728, "loc": { "start": { - "line": 116, + "line": 103, "column": 15 }, "end": { - "line": 116, + "line": 103, "column": 39 }, "identifierName": "mozRequestAnimationFrame" @@ -4736,29 +5788,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 2963, - "end": 2997, + "start": 2740, + "end": 2774, "loc": { "start": { - "line": 117, + "line": 104, "column": 8 }, "end": { - "line": 117, + "line": 104, "column": 42 } }, "object": { "type": "Identifier", - "start": 2963, - "end": 2969, + "start": 2740, + "end": 2746, "loc": { "start": { - "line": 117, + "line": 104, "column": 8 }, "end": { - "line": 117, + "line": 104, "column": 14 }, "identifierName": "window" @@ -4767,15 +5819,15 @@ }, "property": { "type": "Identifier", - "start": 2970, - "end": 2997, + "start": 2747, + "end": 2774, "loc": { "start": { - "line": 117, + "line": 104, "column": 15 }, "end": { - "line": 117, + "line": 104, "column": 42 }, "identifierName": "webkitRequestAnimationFrame" @@ -4788,29 +5840,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 3009, - "end": 3039, + "start": 2786, + "end": 2816, "loc": { "start": { - "line": 118, + "line": 105, "column": 8 }, "end": { - "line": 118, + "line": 105, "column": 38 } }, "object": { "type": "Identifier", - "start": 3009, - "end": 3015, + "start": 2786, + "end": 2792, "loc": { "start": { - "line": 118, + "line": 105, "column": 8 }, "end": { - "line": 118, + "line": 105, "column": 14 }, "identifierName": "window" @@ -4819,15 +5871,15 @@ }, "property": { "type": "Identifier", - "start": 3016, - "end": 3039, + "start": 2793, + "end": 2816, "loc": { "start": { - "line": 118, + "line": 105, "column": 15 }, "end": { - "line": 118, + "line": 105, "column": 38 }, "identifierName": "msRequestAnimationFrame" @@ -4843,43 +5895,43 @@ }, { "type": "ExpressionStatement", - "start": 3048, - "end": 3084, + "start": 2825, + "end": 2865, "loc": { "start": { - "line": 120, + "line": 107, "column": 6 }, "end": { - "line": 120, - "column": 42 + "line": 107, + "column": 46 } }, "expression": { "type": "CallExpression", - "start": 3048, - "end": 3083, + "start": 2825, + "end": 2864, "loc": { "start": { - "line": 120, + "line": 107, "column": 6 }, "end": { - "line": 120, - "column": 41 + "line": 107, + "column": 45 } }, "callee": { "type": "Identifier", - "start": 3048, - "end": 3069, + "start": 2825, + "end": 2846, "loc": { "start": { - "line": 120, + "line": 107, "column": 6 }, "end": { - "line": 120, + "line": 107, "column": 27 }, "identifierName": "requestAnimationFrame" @@ -4889,15 +5941,15 @@ "arguments": [ { "type": "Identifier", - "start": 3070, - "end": 3074, + "start": 2847, + "end": 2851, "loc": { "start": { - "line": 120, + "line": 107, "column": 28 }, "end": { - "line": 120, + "line": 107, "column": 32 }, "identifierName": "tick" @@ -4906,20 +5958,20 @@ }, { "type": "Identifier", - "start": 3076, - "end": 3082, + "start": 2853, + "end": 2863, "loc": { "start": { - "line": 120, + "line": 107, "column": 34 }, "end": { - "line": 120, - "column": 40 + "line": 107, + "column": 44 }, - "identifierName": "canvas" + "identifierName": "currCanvas" }, - "name": "canvas" + "name": "currCanvas" } ] } @@ -4929,7 +5981,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 2805 + "parenStart": 2582 } }, "arguments": [] @@ -4946,29 +5998,29 @@ }, { "type": "FunctionDeclaration", - "start": 3102, - "end": 3732, + "start": 2883, + "end": 3513, "loc": { "start": { - "line": 125, + "line": 112, "column": 0 }, "end": { - "line": 151, + "line": 138, "column": 1 } }, "id": { "type": "Identifier", - "start": 3111, - "end": 3115, + "start": 2892, + "end": 2896, "loc": { "start": { - "line": 125, + "line": 112, "column": 9 }, "end": { - "line": 125, + "line": 112, "column": 13 }, "identifierName": "draw" @@ -4981,72 +6033,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3118, - "end": 3732, + "start": 2899, + "end": 3513, "loc": { "start": { - "line": 126, + "line": 113, "column": 0 }, "end": { - "line": 151, + "line": 138, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 3124, - "end": 3144, + "start": 2905, + "end": 2925, "loc": { "start": { - "line": 127, + "line": 114, "column": 4 }, "end": { - "line": 127, + "line": 114, "column": 24 } }, "expression": { "type": "CallExpression", - "start": 3124, - "end": 3143, + "start": 2905, + "end": 2924, "loc": { "start": { - "line": 127, + "line": 114, "column": 4 }, "end": { - "line": 127, + "line": 114, "column": 23 } }, "callee": { "type": "MemberExpression", - "start": 3124, - "end": 3141, + "start": 2905, + "end": 2922, "loc": { "start": { - "line": 127, + "line": 114, "column": 4 }, "end": { - "line": 127, + "line": 114, "column": 21 } }, "object": { "type": "Identifier", - "start": 3124, - "end": 3135, + "start": 2905, + "end": 2916, "loc": { "start": { - "line": 127, + "line": 114, "column": 4 }, "end": { - "line": 127, + "line": 114, "column": 15 }, "identifierName": "MatrixStack" @@ -5055,15 +6107,15 @@ }, "property": { "type": "Identifier", - "start": 3136, - "end": 3141, + "start": 2917, + "end": 2922, "loc": { "start": { - "line": 127, + "line": 114, "column": 16 }, "end": { - "line": 127, + "line": 114, "column": 21 }, "identifierName": "reset" @@ -5077,57 +6129,57 @@ }, { "type": "ExpressionStatement", - "start": 3149, - "end": 3176, + "start": 2930, + "end": 2957, "loc": { "start": { - "line": 128, + "line": 115, "column": 4 }, "end": { - "line": 128, + "line": 115, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 3149, - "end": 3175, + "start": 2930, + "end": 2956, "loc": { "start": { - "line": 128, + "line": 115, "column": 4 }, "end": { - "line": 128, + "line": 115, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 3149, - "end": 3173, + "start": 2930, + "end": 2954, "loc": { "start": { - "line": 128, + "line": 115, "column": 4 }, "end": { - "line": 128, + "line": 115, "column": 28 } }, "object": { "type": "Identifier", - "start": 3149, - "end": 3160, + "start": 2930, + "end": 2941, "loc": { "start": { - "line": 128, + "line": 115, "column": 4 }, "end": { - "line": 128, + "line": 115, "column": 15 }, "identifierName": "MatrixStack" @@ -5136,15 +6188,15 @@ }, "property": { "type": "Identifier", - "start": 3161, - "end": 3173, + "start": 2942, + "end": 2954, "loc": { "start": { - "line": 128, + "line": 115, "column": 16 }, "end": { - "line": 128, + "line": 115, "column": 28 }, "identifierName": "loadIdentity" @@ -5158,57 +6210,57 @@ }, { "type": "ExpressionStatement", - "start": 3181, - "end": 3198, + "start": 2962, + "end": 2979, "loc": { "start": { - "line": 129, + "line": 116, "column": 4 }, "end": { - "line": 129, + "line": 116, "column": 21 } }, "expression": { "type": "CallExpression", - "start": 3181, - "end": 3197, + "start": 2962, + "end": 2978, "loc": { "start": { - "line": 129, + "line": 116, "column": 4 }, "end": { - "line": 129, + "line": 116, "column": 20 } }, "callee": { "type": "MemberExpression", - "start": 3181, - "end": 3195, + "start": 2962, + "end": 2976, "loc": { "start": { - "line": 129, + "line": 116, "column": 4 }, "end": { - "line": 129, + "line": 116, "column": 18 } }, "object": { "type": "Identifier", - "start": 3181, - "end": 3188, + "start": 2962, + "end": 2969, "loc": { "start": { - "line": 129, + "line": 116, "column": 4 }, "end": { - "line": 129, + "line": 116, "column": 11 }, "identifierName": "dragMgr" @@ -5217,15 +6269,15 @@ }, "property": { "type": "Identifier", - "start": 3189, - "end": 3195, + "start": 2970, + "end": 2976, "loc": { "start": { - "line": 129, + "line": 116, "column": 12 }, "end": { - "line": 129, + "line": 116, "column": 18 }, "identifierName": "update" @@ -5239,57 +6291,57 @@ }, { "type": "ExpressionStatement", - "start": 3203, - "end": 3253, + "start": 2984, + "end": 3034, "loc": { "start": { - "line": 130, + "line": 117, "column": 4 }, "end": { - "line": 130, + "line": 117, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 3203, - "end": 3252, + "start": 2984, + "end": 3033, "loc": { "start": { - "line": 130, + "line": 117, "column": 4 }, "end": { - "line": 130, + "line": 117, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 3203, - "end": 3220, + "start": 2984, + "end": 3001, "loc": { "start": { - "line": 130, + "line": 117, "column": 4 }, "end": { - "line": 130, + "line": 117, "column": 21 } }, "object": { "type": "Identifier", - "start": 3203, - "end": 3212, + "start": 2984, + "end": 2993, "loc": { "start": { - "line": 130, + "line": 117, "column": 4 }, "end": { - "line": 130, + "line": 117, "column": 13 }, "identifierName": "live2DMgr" @@ -5298,15 +6350,15 @@ }, "property": { "type": "Identifier", - "start": 3213, - "end": 3220, + "start": 2994, + "end": 3001, "loc": { "start": { - "line": 130, + "line": 117, "column": 14 }, "end": { - "line": 130, + "line": 117, "column": 21 }, "identifierName": "setDrag" @@ -5318,43 +6370,43 @@ "arguments": [ { "type": "CallExpression", - "start": 3221, - "end": 3235, + "start": 3002, + "end": 3016, "loc": { "start": { - "line": 130, + "line": 117, "column": 22 }, "end": { - "line": 130, + "line": 117, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 3221, - "end": 3233, + "start": 3002, + "end": 3014, "loc": { "start": { - "line": 130, + "line": 117, "column": 22 }, "end": { - "line": 130, + "line": 117, "column": 34 } }, "object": { "type": "Identifier", - "start": 3221, - "end": 3228, + "start": 3002, + "end": 3009, "loc": { "start": { - "line": 130, + "line": 117, "column": 22 }, "end": { - "line": 130, + "line": 117, "column": 29 }, "identifierName": "dragMgr" @@ -5363,15 +6415,15 @@ }, "property": { "type": "Identifier", - "start": 3229, - "end": 3233, + "start": 3010, + "end": 3014, "loc": { "start": { - "line": 130, + "line": 117, "column": 30 }, "end": { - "line": 130, + "line": 117, "column": 34 }, "identifierName": "getX" @@ -5384,43 +6436,43 @@ }, { "type": "CallExpression", - "start": 3237, - "end": 3251, + "start": 3018, + "end": 3032, "loc": { "start": { - "line": 130, + "line": 117, "column": 38 }, "end": { - "line": 130, + "line": 117, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 3237, - "end": 3249, + "start": 3018, + "end": 3030, "loc": { "start": { - "line": 130, + "line": 117, "column": 38 }, "end": { - "line": 130, + "line": 117, "column": 50 } }, "object": { "type": "Identifier", - "start": 3237, - "end": 3244, + "start": 3018, + "end": 3025, "loc": { "start": { - "line": 130, + "line": 117, "column": 38 }, "end": { - "line": 130, + "line": 117, "column": 45 }, "identifierName": "dragMgr" @@ -5429,15 +6481,15 @@ }, "property": { "type": "Identifier", - "start": 3245, - "end": 3249, + "start": 3026, + "end": 3030, "loc": { "start": { - "line": 130, + "line": 117, "column": 46 }, "end": { - "line": 130, + "line": 117, "column": 50 }, "identifierName": "getY" @@ -5453,57 +6505,57 @@ }, { "type": "ExpressionStatement", - "start": 3259, - "end": 3303, + "start": 3040, + "end": 3084, "loc": { "start": { - "line": 132, + "line": 119, "column": 4 }, "end": { - "line": 132, + "line": 119, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 3259, - "end": 3302, + "start": 3040, + "end": 3083, "loc": { "start": { - "line": 132, + "line": 119, "column": 4 }, "end": { - "line": 132, + "line": 119, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 3259, - "end": 3274, + "start": 3040, + "end": 3055, "loc": { "start": { - "line": 132, + "line": 119, "column": 4 }, "end": { - "line": 132, + "line": 119, "column": 19 } }, "object": { "type": "Identifier", - "start": 3259, - "end": 3268, + "start": 3040, + "end": 3049, "loc": { "start": { - "line": 132, + "line": 119, "column": 4 }, "end": { - "line": 132, + "line": 119, "column": 13 }, "identifierName": "currWebGL" @@ -5512,15 +6564,15 @@ }, "property": { "type": "Identifier", - "start": 3269, - "end": 3274, + "start": 3050, + "end": 3055, "loc": { "start": { - "line": 132, + "line": 119, "column": 14 }, "end": { - "line": 132, + "line": 119, "column": 19 }, "identifierName": "clear" @@ -5532,29 +6584,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 3275, - "end": 3301, + "start": 3056, + "end": 3082, "loc": { "start": { - "line": 132, + "line": 119, "column": 20 }, "end": { - "line": 132, + "line": 119, "column": 46 } }, "object": { "type": "Identifier", - "start": 3275, - "end": 3284, + "start": 3056, + "end": 3065, "loc": { "start": { - "line": 132, + "line": 119, "column": 20 }, "end": { - "line": 132, + "line": 119, "column": 29 }, "identifierName": "currWebGL" @@ -5563,15 +6615,15 @@ }, "property": { "type": "Identifier", - "start": 3285, - "end": 3301, + "start": 3066, + "end": 3082, "loc": { "start": { - "line": 132, + "line": 119, "column": 30 }, "end": { - "line": 132, + "line": 119, "column": 46 }, "identifierName": "COLOR_BUFFER_BIT" @@ -5585,57 +6637,57 @@ }, { "type": "ExpressionStatement", - "start": 3309, - "end": 3355, + "start": 3090, + "end": 3136, "loc": { "start": { - "line": 134, + "line": 121, "column": 4 }, "end": { - "line": 134, + "line": 121, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 3309, - "end": 3354, + "start": 3090, + "end": 3135, "loc": { "start": { - "line": 134, + "line": 121, "column": 4 }, "end": { - "line": 134, + "line": 121, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 3309, - "end": 3331, + "start": 3090, + "end": 3112, "loc": { "start": { - "line": 134, + "line": 121, "column": 4 }, "end": { - "line": 134, + "line": 121, "column": 26 } }, "object": { "type": "Identifier", - "start": 3309, - "end": 3320, + "start": 3090, + "end": 3101, "loc": { "start": { - "line": 134, + "line": 121, "column": 4 }, "end": { - "line": 134, + "line": 121, "column": 15 }, "identifierName": "MatrixStack" @@ -5644,15 +6696,15 @@ }, "property": { "type": "Identifier", - "start": 3321, - "end": 3331, + "start": 3102, + "end": 3112, "loc": { "start": { - "line": 134, + "line": 121, "column": 16 }, "end": { - "line": 134, + "line": 121, "column": 26 }, "identifierName": "multMatrix" @@ -5664,43 +6716,43 @@ "arguments": [ { "type": "CallExpression", - "start": 3332, - "end": 3353, + "start": 3113, + "end": 3134, "loc": { "start": { - "line": 134, + "line": 121, "column": 27 }, "end": { - "line": 134, + "line": 121, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 3332, - "end": 3351, + "start": 3113, + "end": 3132, "loc": { "start": { - "line": 134, + "line": 121, "column": 27 }, "end": { - "line": 134, + "line": 121, "column": 46 } }, "object": { "type": "Identifier", - "start": 3332, - "end": 3342, + "start": 3113, + "end": 3123, "loc": { "start": { - "line": 134, + "line": 121, "column": 27 }, "end": { - "line": 134, + "line": 121, "column": 37 }, "identifierName": "projMatrix" @@ -5709,15 +6761,15 @@ }, "property": { "type": "Identifier", - "start": 3343, - "end": 3351, + "start": 3124, + "end": 3132, "loc": { "start": { - "line": 134, + "line": 121, "column": 38 }, "end": { - "line": 134, + "line": 121, "column": 46 }, "identifierName": "getArray" @@ -5733,57 +6785,57 @@ }, { "type": "ExpressionStatement", - "start": 3360, - "end": 3406, + "start": 3141, + "end": 3187, "loc": { "start": { - "line": 135, + "line": 122, "column": 4 }, "end": { - "line": 135, + "line": 122, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 3360, - "end": 3405, + "start": 3141, + "end": 3186, "loc": { "start": { - "line": 135, + "line": 122, "column": 4 }, "end": { - "line": 135, + "line": 122, "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 3360, - "end": 3382, + "start": 3141, + "end": 3163, "loc": { "start": { - "line": 135, + "line": 122, "column": 4 }, "end": { - "line": 135, + "line": 122, "column": 26 } }, "object": { "type": "Identifier", - "start": 3360, - "end": 3371, + "start": 3141, + "end": 3152, "loc": { "start": { - "line": 135, + "line": 122, "column": 4 }, "end": { - "line": 135, + "line": 122, "column": 15 }, "identifierName": "MatrixStack" @@ -5792,15 +6844,15 @@ }, "property": { "type": "Identifier", - "start": 3372, - "end": 3382, + "start": 3153, + "end": 3163, "loc": { "start": { - "line": 135, + "line": 122, "column": 16 }, "end": { - "line": 135, + "line": 122, "column": 26 }, "identifierName": "multMatrix" @@ -5812,43 +6864,43 @@ "arguments": [ { "type": "CallExpression", - "start": 3383, - "end": 3404, + "start": 3164, + "end": 3185, "loc": { "start": { - "line": 135, + "line": 122, "column": 27 }, "end": { - "line": 135, + "line": 122, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 3383, - "end": 3402, + "start": 3164, + "end": 3183, "loc": { "start": { - "line": 135, + "line": 122, "column": 27 }, "end": { - "line": 135, + "line": 122, "column": 46 } }, "object": { "type": "Identifier", - "start": 3383, - "end": 3393, + "start": 3164, + "end": 3174, "loc": { "start": { - "line": 135, + "line": 122, "column": 27 }, "end": { - "line": 135, + "line": 122, "column": 37 }, "identifierName": "viewMatrix" @@ -5857,15 +6909,15 @@ }, "property": { "type": "Identifier", - "start": 3394, - "end": 3402, + "start": 3175, + "end": 3183, "loc": { "start": { - "line": 135, + "line": 122, "column": 38 }, "end": { - "line": 135, + "line": 122, "column": 46 }, "identifierName": "getArray" @@ -5881,57 +6933,57 @@ }, { "type": "ExpressionStatement", - "start": 3411, - "end": 3430, + "start": 3192, + "end": 3211, "loc": { "start": { - "line": 136, + "line": 123, "column": 4 }, "end": { - "line": 136, + "line": 123, "column": 23 } }, "expression": { "type": "CallExpression", - "start": 3411, - "end": 3429, + "start": 3192, + "end": 3210, "loc": { "start": { - "line": 136, + "line": 123, "column": 4 }, "end": { - "line": 136, + "line": 123, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 3411, - "end": 3427, + "start": 3192, + "end": 3208, "loc": { "start": { - "line": 136, + "line": 123, "column": 4 }, "end": { - "line": 136, + "line": 123, "column": 20 } }, "object": { "type": "Identifier", - "start": 3411, - "end": 3422, + "start": 3192, + "end": 3203, "loc": { "start": { - "line": 136, + "line": 123, "column": 4 }, "end": { - "line": 136, + "line": 123, "column": 15 }, "identifierName": "MatrixStack" @@ -5940,15 +6992,15 @@ }, "property": { "type": "Identifier", - "start": 3423, - "end": 3427, + "start": 3204, + "end": 3208, "loc": { "start": { - "line": 136, + "line": 123, "column": 16 }, "end": { - "line": 136, + "line": 123, "column": 20 }, "identifierName": "push" @@ -5962,58 +7014,58 @@ }, { "type": "ForStatement", - "start": 3436, - "end": 3707, + "start": 3217, + "end": 3488, "loc": { "start": { - "line": 138, + "line": 125, "column": 4 }, "end": { - "line": 149, + "line": 136, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 3441, - "end": 3450, + "start": 3222, + "end": 3231, "loc": { "start": { - "line": 138, + "line": 125, "column": 9 }, "end": { - "line": 138, + "line": 125, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3445, - "end": 3450, + "start": 3226, + "end": 3231, "loc": { "start": { - "line": 138, + "line": 125, "column": 13 }, "end": { - "line": 138, + "line": 125, "column": 18 } }, "id": { "type": "Identifier", - "start": 3445, - "end": 3446, + "start": 3226, + "end": 3227, "loc": { "start": { - "line": 138, + "line": 125, "column": 13 }, "end": { - "line": 138, + "line": 125, "column": 14 }, "identifierName": "i" @@ -6022,15 +7074,15 @@ }, "init": { "type": "NumericLiteral", - "start": 3449, - "end": 3450, + "start": 3230, + "end": 3231, "loc": { "start": { - "line": 138, + "line": 125, "column": 17 }, "end": { - "line": 138, + "line": 125, "column": 18 } }, @@ -6046,29 +7098,29 @@ }, "test": { "type": "BinaryExpression", - "start": 3452, - "end": 3477, + "start": 3233, + "end": 3258, "loc": { "start": { - "line": 138, + "line": 125, "column": 20 }, "end": { - "line": 138, + "line": 125, "column": 45 } }, "left": { "type": "Identifier", - "start": 3452, - "end": 3453, + "start": 3233, + "end": 3234, "loc": { "start": { - "line": 138, + "line": 125, "column": 20 }, "end": { - "line": 138, + "line": 125, "column": 21 }, "identifierName": "i" @@ -6078,43 +7130,43 @@ "operator": "<", "right": { "type": "CallExpression", - "start": 3456, - "end": 3477, + "start": 3237, + "end": 3258, "loc": { "start": { - "line": 138, + "line": 125, "column": 24 }, "end": { - "line": 138, + "line": 125, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 3456, - "end": 3475, + "start": 3237, + "end": 3256, "loc": { "start": { - "line": 138, + "line": 125, "column": 24 }, "end": { - "line": 138, + "line": 125, "column": 43 } }, "object": { "type": "Identifier", - "start": 3456, - "end": 3465, + "start": 3237, + "end": 3246, "loc": { "start": { - "line": 138, + "line": 125, "column": 24 }, "end": { - "line": 138, + "line": 125, "column": 33 }, "identifierName": "live2DMgr" @@ -6123,15 +7175,15 @@ }, "property": { "type": "Identifier", - "start": 3466, - "end": 3475, + "start": 3247, + "end": 3256, "loc": { "start": { - "line": 138, + "line": 125, "column": 34 }, "end": { - "line": 138, + "line": 125, "column": 43 }, "identifierName": "numModels" @@ -6145,15 +7197,15 @@ }, "update": { "type": "UpdateExpression", - "start": 3479, - "end": 3482, + "start": 3260, + "end": 3263, "loc": { "start": { - "line": 138, + "line": 125, "column": 47 }, "end": { - "line": 138, + "line": 125, "column": 50 } }, @@ -6161,15 +7213,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 3479, - "end": 3480, + "start": 3260, + "end": 3261, "loc": { "start": { - "line": 138, + "line": 125, "column": 47 }, "end": { - "line": 138, + "line": 125, "column": 48 }, "identifierName": "i" @@ -6179,59 +7231,59 @@ }, "body": { "type": "BlockStatement", - "start": 3488, - "end": 3707, + "start": 3269, + "end": 3488, "loc": { "start": { - "line": 139, + "line": 126, "column": 4 }, "end": { - "line": 149, + "line": 136, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 3498, - "end": 3532, + "start": 3279, + "end": 3313, "loc": { "start": { - "line": 140, + "line": 127, "column": 8 }, "end": { - "line": 140, + "line": 127, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3502, - "end": 3531, + "start": 3283, + "end": 3312, "loc": { "start": { - "line": 140, + "line": 127, "column": 12 }, "end": { - "line": 140, + "line": 127, "column": 41 } }, "id": { "type": "Identifier", - "start": 3502, - "end": 3507, + "start": 3283, + "end": 3288, "loc": { "start": { - "line": 140, + "line": 127, "column": 12 }, "end": { - "line": 140, + "line": 127, "column": 17 }, "identifierName": "model" @@ -6240,43 +7292,43 @@ }, "init": { "type": "CallExpression", - "start": 3510, - "end": 3531, + "start": 3291, + "end": 3312, "loc": { "start": { - "line": 140, + "line": 127, "column": 20 }, "end": { - "line": 140, + "line": 127, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 3510, - "end": 3528, + "start": 3291, + "end": 3309, "loc": { "start": { - "line": 140, + "line": 127, "column": 20 }, "end": { - "line": 140, + "line": 127, "column": 38 } }, "object": { "type": "Identifier", - "start": 3510, - "end": 3519, + "start": 3291, + "end": 3300, "loc": { "start": { - "line": 140, + "line": 127, "column": 20 }, "end": { - "line": 140, + "line": 127, "column": 29 }, "identifierName": "live2DMgr" @@ -6285,15 +7337,15 @@ }, "property": { "type": "Identifier", - "start": 3520, - "end": 3528, + "start": 3301, + "end": 3309, "loc": { "start": { - "line": 140, + "line": 127, "column": 30 }, "end": { - "line": 140, + "line": 127, "column": 38 }, "identifierName": "getModel" @@ -6305,15 +7357,15 @@ "arguments": [ { "type": "Identifier", - "start": 3529, - "end": 3530, + "start": 3310, + "end": 3311, "loc": { "start": { - "line": 140, + "line": 127, "column": 39 }, "end": { - "line": 140, + "line": 127, "column": 40 }, "identifierName": "i" @@ -6328,43 +7380,43 @@ }, { "type": "IfStatement", - "start": 3542, - "end": 3567, + "start": 3323, + "end": 3348, "loc": { "start": { - "line": 142, + "line": 129, "column": 8 }, "end": { - "line": 142, + "line": 129, "column": 33 } }, "test": { "type": "BinaryExpression", - "start": 3545, - "end": 3558, + "start": 3326, + "end": 3339, "loc": { "start": { - "line": 142, + "line": 129, "column": 11 }, "end": { - "line": 142, + "line": 129, "column": 24 } }, "left": { "type": "Identifier", - "start": 3545, - "end": 3550, + "start": 3326, + "end": 3331, "loc": { "start": { - "line": 142, + "line": 129, "column": 11 }, "end": { - "line": 142, + "line": 129, "column": 16 }, "identifierName": "model" @@ -6374,15 +7426,15 @@ "operator": "==", "right": { "type": "NullLiteral", - "start": 3554, - "end": 3558, + "start": 3335, + "end": 3339, "loc": { "start": { - "line": 142, + "line": 129, "column": 20 }, "end": { - "line": 142, + "line": 129, "column": 24 } } @@ -6390,15 +7442,15 @@ }, "consequent": { "type": "ReturnStatement", - "start": 3560, - "end": 3567, + "start": 3341, + "end": 3348, "loc": { "start": { - "line": 142, + "line": 129, "column": 26 }, "end": { - "line": 142, + "line": 129, "column": 33 } }, @@ -6408,57 +7460,57 @@ }, { "type": "IfStatement", - "start": 3577, - "end": 3701, + "start": 3358, + "end": 3482, "loc": { "start": { - "line": 144, + "line": 131, "column": 8 }, "end": { - "line": 148, + "line": 135, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 3581, - "end": 3617, + "start": 3362, + "end": 3398, "loc": { "start": { - "line": 144, + "line": 131, "column": 12 }, "end": { - "line": 144, + "line": 131, "column": 48 } }, "left": { "type": "MemberExpression", - "start": 3581, - "end": 3598, + "start": 3362, + "end": 3379, "loc": { "start": { - "line": 144, + "line": 131, "column": 12 }, "end": { - "line": 144, + "line": 131, "column": 29 } }, "object": { "type": "Identifier", - "start": 3581, - "end": 3586, + "start": 3362, + "end": 3367, "loc": { "start": { - "line": 144, + "line": 131, "column": 12 }, "end": { - "line": 144, + "line": 131, "column": 17 }, "identifierName": "model" @@ -6467,15 +7519,15 @@ }, "property": { "type": "Identifier", - "start": 3587, - "end": 3598, + "start": 3368, + "end": 3379, "loc": { "start": { - "line": 144, + "line": 131, "column": 18 }, "end": { - "line": 144, + "line": 131, "column": 29 }, "identifierName": "initialized" @@ -6487,15 +7539,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 3602, - "end": 3617, + "start": 3383, + "end": 3398, "loc": { "start": { - "line": 144, + "line": 131, "column": 33 }, "end": { - "line": 144, + "line": 131, "column": 48 } }, @@ -6503,29 +7555,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 3603, - "end": 3617, + "start": 3384, + "end": 3398, "loc": { "start": { - "line": 144, + "line": 131, "column": 34 }, "end": { - "line": 144, + "line": 131, "column": 48 } }, "object": { "type": "Identifier", - "start": 3603, - "end": 3608, + "start": 3384, + "end": 3389, "loc": { "start": { - "line": 144, + "line": 131, "column": 34 }, "end": { - "line": 144, + "line": 131, "column": 39 }, "identifierName": "model" @@ -6534,15 +7586,15 @@ }, "property": { "type": "Identifier", - "start": 3609, - "end": 3617, + "start": 3390, + "end": 3398, "loc": { "start": { - "line": 144, + "line": 131, "column": 40 }, "end": { - "line": 144, + "line": 131, "column": 48 }, "identifierName": "updating" @@ -6558,72 +7610,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 3627, - "end": 3701, + "start": 3408, + "end": 3482, "loc": { "start": { - "line": 145, + "line": 132, "column": 8 }, "end": { - "line": 148, + "line": 135, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 3641, - "end": 3656, + "start": 3422, + "end": 3437, "loc": { "start": { - "line": 146, + "line": 133, "column": 12 }, "end": { - "line": 146, + "line": 133, "column": 27 } }, "expression": { "type": "CallExpression", - "start": 3641, - "end": 3655, + "start": 3422, + "end": 3436, "loc": { "start": { - "line": 146, + "line": 133, "column": 12 }, "end": { - "line": 146, + "line": 133, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 3641, - "end": 3653, + "start": 3422, + "end": 3434, "loc": { "start": { - "line": 146, + "line": 133, "column": 12 }, "end": { - "line": 146, + "line": 133, "column": 24 } }, "object": { "type": "Identifier", - "start": 3641, - "end": 3646, + "start": 3422, + "end": 3427, "loc": { "start": { - "line": 146, + "line": 133, "column": 12 }, "end": { - "line": 146, + "line": 133, "column": 17 }, "identifierName": "model" @@ -6632,15 +7684,15 @@ }, "property": { "type": "Identifier", - "start": 3647, - "end": 3653, + "start": 3428, + "end": 3434, "loc": { "start": { - "line": 146, + "line": 133, "column": 18 }, "end": { - "line": 146, + "line": 133, "column": 24 }, "identifierName": "update" @@ -6654,57 +7706,57 @@ }, { "type": "ExpressionStatement", - "start": 3669, - "end": 3691, + "start": 3450, + "end": 3472, "loc": { "start": { - "line": 147, + "line": 134, "column": 12 }, "end": { - "line": 147, + "line": 134, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 3669, - "end": 3690, + "start": 3450, + "end": 3471, "loc": { "start": { - "line": 147, + "line": 134, "column": 12 }, "end": { - "line": 147, + "line": 134, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 3669, - "end": 3679, + "start": 3450, + "end": 3460, "loc": { "start": { - "line": 147, + "line": 134, "column": 12 }, "end": { - "line": 147, + "line": 134, "column": 22 } }, "object": { "type": "Identifier", - "start": 3669, - "end": 3674, + "start": 3450, + "end": 3455, "loc": { "start": { - "line": 147, + "line": 134, "column": 12 }, "end": { - "line": 147, + "line": 134, "column": 17 }, "identifierName": "model" @@ -6713,15 +7765,15 @@ }, "property": { "type": "Identifier", - "start": 3675, - "end": 3679, + "start": 3456, + "end": 3460, "loc": { "start": { - "line": 147, + "line": 134, "column": 18 }, "end": { - "line": 147, + "line": 134, "column": 22 }, "identifierName": "draw" @@ -6733,15 +7785,15 @@ "arguments": [ { "type": "Identifier", - "start": 3680, - "end": 3689, + "start": 3461, + "end": 3470, "loc": { "start": { - "line": 147, + "line": 134, "column": 23 }, "end": { - "line": 147, + "line": 134, "column": 32 }, "identifierName": "currWebGL" @@ -6762,57 +7814,57 @@ }, { "type": "ExpressionStatement", - "start": 3712, - "end": 3730, + "start": 3493, + "end": 3511, "loc": { "start": { - "line": 150, + "line": 137, "column": 4 }, "end": { - "line": 150, + "line": 137, "column": 22 } }, "expression": { "type": "CallExpression", - "start": 3712, - "end": 3729, + "start": 3493, + "end": 3510, "loc": { "start": { - "line": 150, + "line": 137, "column": 4 }, "end": { - "line": 150, + "line": 137, "column": 21 } }, "callee": { "type": "MemberExpression", - "start": 3712, - "end": 3727, + "start": 3493, + "end": 3508, "loc": { "start": { - "line": 150, + "line": 137, "column": 4 }, "end": { - "line": 150, + "line": 137, "column": 19 } }, "object": { "type": "Identifier", - "start": 3712, - "end": 3723, + "start": 3493, + "end": 3504, "loc": { "start": { - "line": 150, + "line": 137, "column": 4 }, "end": { - "line": 150, + "line": 137, "column": 15 }, "identifierName": "MatrixStack" @@ -6821,15 +7873,15 @@ }, "property": { "type": "Identifier", - "start": 3724, - "end": 3727, + "start": 3505, + "end": 3508, "loc": { "start": { - "line": 150, + "line": 137, "column": 16 }, "end": { - "line": 150, + "line": 137, "column": 19 }, "identifierName": "pop" @@ -6847,29 +7899,29 @@ }, { "type": "FunctionDeclaration", - "start": 3734, - "end": 3899, + "start": 3515, + "end": 3680, "loc": { "start": { - "line": 153, + "line": 140, "column": 0 }, "end": { - "line": 158, + "line": 145, "column": 1 } }, "id": { "type": "Identifier", - "start": 3743, - "end": 3754, + "start": 3524, + "end": 3535, "loc": { "start": { - "line": 153, + "line": 140, "column": 9 }, "end": { - "line": 153, + "line": 140, "column": 20 }, "identifierName": "changeModel" @@ -6882,15 +7934,15 @@ "params": [ { "type": "Identifier", - "start": 3755, - "end": 3763, + "start": 3536, + "end": 3544, "loc": { "start": { - "line": 153, + "line": 140, "column": 21 }, "end": { - "line": 153, + "line": 140, "column": 29 }, "identifierName": "modelurl" @@ -6900,73 +7952,73 @@ ], "body": { "type": "BlockStatement", - "start": 3773, - "end": 3899, + "start": 3554, + "end": 3680, "loc": { "start": { - "line": 154, + "line": 141, "column": 0 }, "end": { - "line": 158, + "line": 145, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 3779, - "end": 3806, + "start": 3560, + "end": 3587, "loc": { "start": { - "line": 155, + "line": 142, "column": 4 }, "end": { - "line": 155, + "line": 142, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 3779, - "end": 3805, + "start": 3560, + "end": 3586, "loc": { "start": { - "line": 155, + "line": 142, "column": 4 }, "end": { - "line": 155, + "line": 142, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3779, - "end": 3798, + "start": 3560, + "end": 3579, "loc": { "start": { - "line": 155, + "line": 142, "column": 4 }, "end": { - "line": 155, + "line": 142, "column": 23 } }, "object": { "type": "Identifier", - "start": 3779, - "end": 3788, + "start": 3560, + "end": 3569, "loc": { "start": { - "line": 155, + "line": 142, "column": 4 }, "end": { - "line": 155, + "line": 142, "column": 13 }, "identifierName": "live2DMgr" @@ -6976,15 +8028,15 @@ }, "property": { "type": "Identifier", - "start": 3789, - "end": 3798, + "start": 3570, + "end": 3579, "loc": { "start": { - "line": 155, + "line": 142, "column": 14 }, "end": { - "line": 155, + "line": 142, "column": 23 }, "identifierName": "reloadFlg" @@ -6996,15 +8048,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 3801, - "end": 3805, + "start": 3582, + "end": 3586, "loc": { "start": { - "line": 155, + "line": 142, "column": 26 }, "end": { - "line": 155, + "line": 142, "column": 30 } }, @@ -7016,29 +8068,29 @@ }, { "type": "ExpressionStatement", - "start": 3811, - "end": 3829, + "start": 3592, + "end": 3610, "loc": { "start": { - "line": 156, + "line": 143, "column": 4 }, "end": { - "line": 156, + "line": 143, "column": 22 } }, "expression": { "type": "UpdateExpression", - "start": 3811, - "end": 3828, + "start": 3592, + "end": 3609, "loc": { "start": { - "line": 156, + "line": 143, "column": 4 }, "end": { - "line": 156, + "line": 143, "column": 21 } }, @@ -7046,29 +8098,29 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 3811, - "end": 3826, + "start": 3592, + "end": 3607, "loc": { "start": { - "line": 156, + "line": 143, "column": 4 }, "end": { - "line": 156, + "line": 143, "column": 19 } }, "object": { "type": "Identifier", - "start": 3811, - "end": 3820, + "start": 3592, + "end": 3601, "loc": { "start": { - "line": 156, + "line": 143, "column": 4 }, "end": { - "line": 156, + "line": 143, "column": 13 }, "identifierName": "live2DMgr" @@ -7077,15 +8129,15 @@ }, "property": { "type": "Identifier", - "start": 3821, - "end": 3826, + "start": 3602, + "end": 3607, "loc": { "start": { - "line": 156, + "line": 143, "column": 14 }, "end": { - "line": 156, + "line": 143, "column": 19 }, "identifierName": "count" @@ -7099,15 +8151,15 @@ { "type": "CommentLine", "value": " 现在仍有多模型支持,稍后可以精简", - "start": 3830, - "end": 3849, + "start": 3611, + "end": 3630, "loc": { "start": { - "line": 156, + "line": 143, "column": 23 }, "end": { - "line": 156, + "line": 143, "column": 42 } } @@ -7116,57 +8168,57 @@ }, { "type": "ExpressionStatement", - "start": 3854, - "end": 3897, + "start": 3635, + "end": 3678, "loc": { "start": { - "line": 157, + "line": 144, "column": 4 }, "end": { - "line": 157, + "line": 144, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 3854, - "end": 3896, + "start": 3635, + "end": 3677, "loc": { "start": { - "line": 157, + "line": 144, "column": 4 }, "end": { - "line": 157, + "line": 144, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 3854, - "end": 3875, + "start": 3635, + "end": 3656, "loc": { "start": { - "line": 157, + "line": 144, "column": 4 }, "end": { - "line": 157, + "line": 144, "column": 25 } }, "object": { "type": "Identifier", - "start": 3854, - "end": 3863, + "start": 3635, + "end": 3644, "loc": { "start": { - "line": 157, + "line": 144, "column": 4 }, "end": { - "line": 157, + "line": 144, "column": 13 }, "identifierName": "live2DMgr" @@ -7176,15 +8228,15 @@ }, "property": { "type": "Identifier", - "start": 3864, - "end": 3875, + "start": 3645, + "end": 3656, "loc": { "start": { - "line": 157, + "line": 144, "column": 14 }, "end": { - "line": 157, + "line": 144, "column": 25 }, "identifierName": "changeModel" @@ -7197,15 +8249,15 @@ "arguments": [ { "type": "Identifier", - "start": 3876, - "end": 3885, + "start": 3657, + "end": 3666, "loc": { "start": { - "line": 157, + "line": 144, "column": 26 }, "end": { - "line": 157, + "line": 144, "column": 35 }, "identifierName": "currWebGL" @@ -7214,15 +8266,15 @@ }, { "type": "Identifier", - "start": 3887, - "end": 3895, + "start": 3668, + "end": 3676, "loc": { "start": { - "line": 157, + "line": 144, "column": 37 }, "end": { - "line": 157, + "line": 144, "column": 45 }, "identifierName": "modelurl" @@ -7236,15 +8288,15 @@ { "type": "CommentLine", "value": " 现在仍有多模型支持,稍后可以精简", - "start": 3830, - "end": 3849, + "start": 3611, + "end": 3630, "loc": { "start": { - "line": 156, + "line": 143, "column": 23 }, "end": { - "line": 156, + "line": 143, "column": 42 } } @@ -7257,15 +8309,15 @@ { "type": "CommentLine", "value": " 更换模型", - "start": 3765, - "end": 3772, + "start": 3546, + "end": 3553, "loc": { "start": { - "line": 153, + "line": 140, "column": 31 }, "end": { - "line": 153, + "line": 140, "column": 38 } } @@ -7275,29 +8327,29 @@ }, { "type": "FunctionDeclaration", - "start": 3901, - "end": 3972, + "start": 3682, + "end": 3753, "loc": { "start": { - "line": 160, + "line": 147, "column": 0 }, "end": { - "line": 162, + "line": 149, "column": 1 } }, "id": { "type": "Identifier", - "start": 3910, - "end": 3922, + "start": 3691, + "end": 3703, "loc": { "start": { - "line": 160, + "line": 147, "column": 9 }, "end": { - "line": 160, + "line": 147, "column": 21 }, "identifierName": "modelScaling" @@ -7310,15 +8362,15 @@ "params": [ { "type": "Identifier", - "start": 3923, - "end": 3928, + "start": 3704, + "end": 3709, "loc": { "start": { - "line": 160, + "line": 147, "column": 22 }, "end": { - "line": 160, + "line": 147, "column": 27 }, "identifierName": "scale" @@ -7328,72 +8380,72 @@ ], "body": { "type": "BlockStatement", - "start": 3930, - "end": 3972, + "start": 3711, + "end": 3753, "loc": { "start": { - "line": 160, + "line": 147, "column": 29 }, "end": { - "line": 162, + "line": 149, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 3934, - "end": 3970, + "start": 3715, + "end": 3751, "loc": { "start": { - "line": 161, + "line": 148, "column": 2 }, "end": { - "line": 161, + "line": 148, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 3934, - "end": 3969, + "start": 3715, + "end": 3750, "loc": { "start": { - "line": 161, + "line": 148, "column": 2 }, "end": { - "line": 161, + "line": 148, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 3934, - "end": 3956, + "start": 3715, + "end": 3737, "loc": { "start": { - "line": 161, + "line": 148, "column": 2 }, "end": { - "line": 161, + "line": 148, "column": 24 } }, "object": { "type": "Identifier", - "start": 3934, - "end": 3944, + "start": 3715, + "end": 3725, "loc": { "start": { - "line": 161, + "line": 148, "column": 2 }, "end": { - "line": 161, + "line": 148, "column": 12 }, "identifierName": "viewMatrix" @@ -7402,15 +8454,15 @@ }, "property": { "type": "Identifier", - "start": 3945, - "end": 3956, + "start": 3726, + "end": 3737, "loc": { "start": { - "line": 161, + "line": 148, "column": 13 }, "end": { - "line": 161, + "line": 148, "column": 24 }, "identifierName": "adjustScale" @@ -7422,15 +8474,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3957, - "end": 3958, + "start": 3738, + "end": 3739, "loc": { "start": { - "line": 161, + "line": 148, "column": 25 }, "end": { - "line": 161, + "line": 148, "column": 26 } }, @@ -7442,15 +8494,15 @@ }, { "type": "NumericLiteral", - "start": 3960, - "end": 3961, + "start": 3741, + "end": 3742, "loc": { "start": { - "line": 161, + "line": 148, "column": 28 }, "end": { - "line": 161, + "line": 148, "column": 29 } }, @@ -7462,15 +8514,15 @@ }, { "type": "Identifier", - "start": 3963, - "end": 3968, + "start": 3744, + "end": 3749, "loc": { "start": { - "line": 161, + "line": 148, "column": 31 }, "end": { - "line": 161, + "line": 148, "column": 36 }, "identifierName": "scale" @@ -7488,15 +8540,15 @@ { "type": "CommentBlock", "value": "\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n", - "start": 3973, - "end": 4373, + "start": 3754, + "end": 4154, "loc": { "start": { - "line": 163, + "line": 150, "column": 0 }, "end": { - "line": 181, + "line": 168, "column": 2 } } @@ -7505,29 +8557,29 @@ }, { "type": "FunctionDeclaration", - "start": 4374, - "end": 4429, + "start": 4155, + "end": 4210, "loc": { "start": { - "line": 182, + "line": 169, "column": 0 }, "end": { - "line": 185, + "line": 172, "column": 1 } }, "id": { "type": "Identifier", - "start": 4383, - "end": 4386, + "start": 4164, + "end": 4167, "loc": { "start": { - "line": 182, + "line": 169, "column": 9 }, "end": { - "line": 182, + "line": 169, "column": 12 }, "identifierName": "dot" @@ -7541,15 +8593,15 @@ "params": [ { "type": "Identifier", - "start": 4387, - "end": 4388, + "start": 4168, + "end": 4169, "loc": { "start": { - "line": 182, + "line": 169, "column": 13 }, "end": { - "line": 182, + "line": 169, "column": 14 }, "identifierName": "A" @@ -7558,15 +8610,15 @@ }, { "type": "Identifier", - "start": 4389, - "end": 4390, + "start": 4170, + "end": 4171, "loc": { "start": { - "line": 182, + "line": 169, "column": 15 }, "end": { - "line": 182, + "line": 169, "column": 16 }, "identifierName": "B" @@ -7576,86 +8628,86 @@ ], "body": { "type": "BlockStatement", - "start": 4392, - "end": 4429, + "start": 4173, + "end": 4210, "loc": { "start": { - "line": 183, + "line": 170, "column": 0 }, "end": { - "line": 185, + "line": 172, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 4398, - "end": 4427, + "start": 4179, + "end": 4208, "loc": { "start": { - "line": 184, + "line": 171, "column": 4 }, "end": { - "line": 184, + "line": 171, "column": 33 } }, "argument": { "type": "BinaryExpression", - "start": 4405, - "end": 4426, + "start": 4186, + "end": 4207, "loc": { "start": { - "line": 184, + "line": 171, "column": 11 }, "end": { - "line": 184, + "line": 171, "column": 32 } }, "left": { "type": "BinaryExpression", - "start": 4405, - "end": 4414, + "start": 4186, + "end": 4195, "loc": { "start": { - "line": 184, + "line": 171, "column": 11 }, "end": { - "line": 184, + "line": 171, "column": 20 } }, "left": { "type": "MemberExpression", - "start": 4405, - "end": 4408, + "start": 4186, + "end": 4189, "loc": { "start": { - "line": 184, + "line": 171, "column": 11 }, "end": { - "line": 184, + "line": 171, "column": 14 } }, "object": { "type": "Identifier", - "start": 4405, - "end": 4406, + "start": 4186, + "end": 4187, "loc": { "start": { - "line": 184, + "line": 171, "column": 11 }, "end": { - "line": 184, + "line": 171, "column": 12 }, "identifierName": "A" @@ -7664,15 +8716,15 @@ }, "property": { "type": "Identifier", - "start": 4407, - "end": 4408, + "start": 4188, + "end": 4189, "loc": { "start": { - "line": 184, + "line": 171, "column": 13 }, "end": { - "line": 184, + "line": 171, "column": 14 }, "identifierName": "x" @@ -7684,29 +8736,29 @@ "operator": "*", "right": { "type": "MemberExpression", - "start": 4411, - "end": 4414, + "start": 4192, + "end": 4195, "loc": { "start": { - "line": 184, + "line": 171, "column": 17 }, "end": { - "line": 184, + "line": 171, "column": 20 } }, "object": { "type": "Identifier", - "start": 4411, - "end": 4412, + "start": 4192, + "end": 4193, "loc": { "start": { - "line": 184, + "line": 171, "column": 17 }, "end": { - "line": 184, + "line": 171, "column": 18 }, "identifierName": "B" @@ -7715,15 +8767,15 @@ }, "property": { "type": "Identifier", - "start": 4413, - "end": 4414, + "start": 4194, + "end": 4195, "loc": { "start": { - "line": 184, + "line": 171, "column": 19 }, "end": { - "line": 184, + "line": 171, "column": 20 }, "identifierName": "x" @@ -7736,43 +8788,43 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4417, - "end": 4426, + "start": 4198, + "end": 4207, "loc": { "start": { - "line": 184, + "line": 171, "column": 23 }, "end": { - "line": 184, + "line": 171, "column": 32 } }, "left": { "type": "MemberExpression", - "start": 4417, - "end": 4420, + "start": 4198, + "end": 4201, "loc": { "start": { - "line": 184, + "line": 171, "column": 23 }, "end": { - "line": 184, + "line": 171, "column": 26 } }, "object": { "type": "Identifier", - "start": 4417, - "end": 4418, + "start": 4198, + "end": 4199, "loc": { "start": { - "line": 184, + "line": 171, "column": 23 }, "end": { - "line": 184, + "line": 171, "column": 24 }, "identifierName": "A" @@ -7781,15 +8833,15 @@ }, "property": { "type": "Identifier", - "start": 4419, - "end": 4420, + "start": 4200, + "end": 4201, "loc": { "start": { - "line": 184, + "line": 171, "column": 25 }, "end": { - "line": 184, + "line": 171, "column": 26 }, "identifierName": "y" @@ -7801,29 +8853,29 @@ "operator": "*", "right": { "type": "MemberExpression", - "start": 4423, - "end": 4426, + "start": 4204, + "end": 4207, "loc": { "start": { - "line": 184, + "line": 171, "column": 29 }, "end": { - "line": 184, + "line": 171, "column": 32 } }, "object": { "type": "Identifier", - "start": 4423, - "end": 4424, + "start": 4204, + "end": 4205, "loc": { "start": { - "line": 184, + "line": 171, "column": 29 }, "end": { - "line": 184, + "line": 171, "column": 30 }, "identifierName": "B" @@ -7832,15 +8884,15 @@ }, "property": { "type": "Identifier", - "start": 4425, - "end": 4426, + "start": 4206, + "end": 4207, "loc": { "start": { - "line": 184, + "line": 171, "column": 31 }, "end": { - "line": 184, + "line": 171, "column": 32 }, "identifierName": "y" @@ -7859,15 +8911,15 @@ { "type": "CommentBlock", "value": "\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n", - "start": 3973, - "end": 4373, + "start": 3754, + "end": 4154, "loc": { "start": { - "line": 163, + "line": 150, "column": 0 }, "end": { - "line": 181, + "line": 168, "column": 2 } } @@ -7876,29 +8928,29 @@ }, { "type": "FunctionDeclaration", - "start": 4431, - "end": 4564, + "start": 4212, + "end": 4345, "loc": { "start": { - "line": 187, + "line": 174, "column": 0 }, "end": { - "line": 194, + "line": 181, "column": 1 } }, "id": { "type": "Identifier", - "start": 4440, - "end": 4449, + "start": 4221, + "end": 4230, "loc": { "start": { - "line": 187, + "line": 174, "column": 9 }, "end": { - "line": 187, + "line": 174, "column": 18 }, "identifierName": "normalize" @@ -7911,15 +8963,15 @@ "params": [ { "type": "Identifier", - "start": 4450, - "end": 4451, + "start": 4231, + "end": 4232, "loc": { "start": { - "line": 187, + "line": 174, "column": 19 }, "end": { - "line": 187, + "line": 174, "column": 20 }, "identifierName": "x" @@ -7928,15 +8980,15 @@ }, { "type": "Identifier", - "start": 4452, - "end": 4453, + "start": 4233, + "end": 4234, "loc": { "start": { - "line": 187, + "line": 174, "column": 21 }, "end": { - "line": 187, + "line": 174, "column": 22 }, "identifierName": "y" @@ -7946,59 +8998,59 @@ ], "body": { "type": "BlockStatement", - "start": 4455, - "end": 4564, + "start": 4236, + "end": 4345, "loc": { "start": { - "line": 188, + "line": 175, "column": 0 }, "end": { - "line": 194, + "line": 181, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 4461, - "end": 4498, + "start": 4242, + "end": 4279, "loc": { "start": { - "line": 189, + "line": 176, "column": 4 }, "end": { - "line": 189, + "line": 176, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4465, - "end": 4498, + "start": 4246, + "end": 4279, "loc": { "start": { - "line": 189, + "line": 176, "column": 8 }, "end": { - "line": 189, + "line": 176, "column": 41 } }, "id": { "type": "Identifier", - "start": 4465, - "end": 4471, + "start": 4246, + "end": 4252, "loc": { "start": { - "line": 189, + "line": 176, "column": 8 }, "end": { - "line": 189, + "line": 176, "column": 14 }, "identifierName": "length" @@ -8007,43 +9059,43 @@ }, "init": { "type": "CallExpression", - "start": 4474, - "end": 4498, + "start": 4255, + "end": 4279, "loc": { "start": { - "line": 189, + "line": 176, "column": 17 }, "end": { - "line": 189, + "line": 176, "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 4474, - "end": 4483, + "start": 4255, + "end": 4264, "loc": { "start": { - "line": 189, + "line": 176, "column": 17 }, "end": { - "line": 189, + "line": 176, "column": 26 } }, "object": { "type": "Identifier", - "start": 4474, - "end": 4478, + "start": 4255, + "end": 4259, "loc": { "start": { - "line": 189, + "line": 176, "column": 17 }, "end": { - "line": 189, + "line": 176, "column": 21 }, "identifierName": "Math" @@ -8052,15 +9104,15 @@ }, "property": { "type": "Identifier", - "start": 4479, - "end": 4483, + "start": 4260, + "end": 4264, "loc": { "start": { - "line": 189, + "line": 176, "column": 22 }, "end": { - "line": 189, + "line": 176, "column": 26 }, "identifierName": "sqrt" @@ -8072,43 +9124,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4484, - "end": 4497, + "start": 4265, + "end": 4278, "loc": { "start": { - "line": 189, + "line": 176, "column": 27 }, "end": { - "line": 189, + "line": 176, "column": 40 } }, "left": { "type": "BinaryExpression", - "start": 4484, - "end": 4489, + "start": 4265, + "end": 4270, "loc": { "start": { - "line": 189, + "line": 176, "column": 27 }, "end": { - "line": 189, + "line": 176, "column": 32 } }, "left": { "type": "Identifier", - "start": 4484, - "end": 4485, + "start": 4265, + "end": 4266, "loc": { "start": { - "line": 189, + "line": 176, "column": 27 }, "end": { - "line": 189, + "line": 176, "column": 28 }, "identifierName": "x" @@ -8118,15 +9170,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 4488, - "end": 4489, + "start": 4269, + "end": 4270, "loc": { "start": { - "line": 189, + "line": 176, "column": 31 }, "end": { - "line": 189, + "line": 176, "column": 32 }, "identifierName": "x" @@ -8137,29 +9189,29 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 4492, - "end": 4497, + "start": 4273, + "end": 4278, "loc": { "start": { - "line": 189, + "line": 176, "column": 35 }, "end": { - "line": 189, + "line": 176, "column": 40 } }, "left": { "type": "Identifier", - "start": 4492, - "end": 4493, + "start": 4273, + "end": 4274, "loc": { "start": { - "line": 189, + "line": 176, "column": 35 }, "end": { - "line": 189, + "line": 176, "column": 36 }, "identifierName": "y" @@ -8169,15 +9221,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 4496, - "end": 4497, + "start": 4277, + "end": 4278, "loc": { "start": { - "line": 189, + "line": 176, "column": 39 }, "end": { - "line": 189, + "line": 176, "column": 40 }, "identifierName": "y" @@ -8194,44 +9246,44 @@ }, { "type": "ReturnStatement", - "start": 4503, - "end": 4562, + "start": 4284, + "end": 4343, "loc": { "start": { - "line": 190, + "line": 177, "column": 4 }, "end": { - "line": 193, + "line": 180, "column": 5 } }, "argument": { "type": "ObjectExpression", - "start": 4510, - "end": 4562, + "start": 4291, + "end": 4343, "loc": { "start": { - "line": 190, + "line": 177, "column": 11 }, "end": { - "line": 193, + "line": 180, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 4520, - "end": 4533, + "start": 4301, + "end": 4314, "loc": { "start": { - "line": 191, + "line": 178, "column": 8 }, "end": { - "line": 191, + "line": 178, "column": 21 } }, @@ -8240,15 +9292,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4520, - "end": 4521, + "start": 4301, + "end": 4302, "loc": { "start": { - "line": 191, + "line": 178, "column": 8 }, "end": { - "line": 191, + "line": 178, "column": 9 }, "identifierName": "x" @@ -8257,29 +9309,29 @@ }, "value": { "type": "BinaryExpression", - "start": 4523, - "end": 4533, + "start": 4304, + "end": 4314, "loc": { "start": { - "line": 191, + "line": 178, "column": 11 }, "end": { - "line": 191, + "line": 178, "column": 21 } }, "left": { "type": "Identifier", - "start": 4523, - "end": 4524, + "start": 4304, + "end": 4305, "loc": { "start": { - "line": 191, + "line": 178, "column": 11 }, "end": { - "line": 191, + "line": 178, "column": 12 }, "identifierName": "x" @@ -8289,15 +9341,15 @@ "operator": "/", "right": { "type": "Identifier", - "start": 4527, - "end": 4533, + "start": 4308, + "end": 4314, "loc": { "start": { - "line": 191, + "line": 178, "column": 15 }, "end": { - "line": 191, + "line": 178, "column": 21 }, "identifierName": "length" @@ -8308,15 +9360,15 @@ }, { "type": "ObjectProperty", - "start": 4543, - "end": 4556, + "start": 4324, + "end": 4337, "loc": { "start": { - "line": 192, + "line": 179, "column": 8 }, "end": { - "line": 192, + "line": 179, "column": 21 } }, @@ -8325,15 +9377,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4543, - "end": 4544, + "start": 4324, + "end": 4325, "loc": { "start": { - "line": 192, + "line": 179, "column": 8 }, "end": { - "line": 192, + "line": 179, "column": 9 }, "identifierName": "y" @@ -8342,29 +9394,29 @@ }, "value": { "type": "BinaryExpression", - "start": 4546, - "end": 4556, + "start": 4327, + "end": 4337, "loc": { "start": { - "line": 192, + "line": 179, "column": 11 }, "end": { - "line": 192, + "line": 179, "column": 21 } }, "left": { "type": "Identifier", - "start": 4546, - "end": 4547, + "start": 4327, + "end": 4328, "loc": { "start": { - "line": 192, + "line": 179, "column": 11 }, "end": { - "line": 192, + "line": 179, "column": 12 }, "identifierName": "y" @@ -8374,15 +9426,15 @@ "operator": "/", "right": { "type": "Identifier", - "start": 4550, - "end": 4556, + "start": 4331, + "end": 4337, "loc": { "start": { - "line": 192, + "line": 179, "column": 15 }, "end": { - "line": 192, + "line": 179, "column": 21 }, "identifierName": "length" @@ -8400,29 +9452,29 @@ }, { "type": "FunctionDeclaration", - "start": 4566, - "end": 6585, + "start": 4347, + "end": 6366, "loc": { "start": { - "line": 196, + "line": 183, "column": 0 }, "end": { - "line": 258, + "line": 245, "column": 1 } }, "id": { "type": "Identifier", - "start": 4575, - "end": 4588, + "start": 4356, + "end": 4369, "loc": { "start": { - "line": 196, + "line": 183, "column": 9 }, "end": { - "line": 196, + "line": 183, "column": 22 }, "identifierName": "transformRect" @@ -8435,15 +9487,15 @@ "params": [ { "type": "Identifier", - "start": 4589, - "end": 4595, + "start": 4370, + "end": 4376, "loc": { "start": { - "line": 196, + "line": 183, "column": 23 }, "end": { - "line": 196, + "line": 183, "column": 29 }, "identifierName": "center" @@ -8452,15 +9504,15 @@ }, { "type": "Identifier", - "start": 4597, - "end": 4606, + "start": 4378, + "end": 4387, "loc": { "start": { - "line": 196, + "line": 183, "column": 31 }, "end": { - "line": 196, + "line": 183, "column": 40 }, "identifierName": "transform" @@ -8469,15 +9521,15 @@ }, { "type": "Identifier", - "start": 4608, - "end": 4612, + "start": 4389, + "end": 4393, "loc": { "start": { - "line": 196, + "line": 183, "column": 42 }, "end": { - "line": 196, + "line": 183, "column": 46 }, "identifierName": "rect" @@ -8487,114 +9539,114 @@ ], "body": { "type": "BlockStatement", - "start": 4614, - "end": 6585, + "start": 4395, + "end": 6366, "loc": { "start": { - "line": 197, + "line": 184, "column": 0 }, "end": { - "line": 258, + "line": 245, "column": 1 } }, "body": [ { "type": "IfStatement", - "start": 4620, - "end": 4780, + "start": 4401, + "end": 4561, "loc": { "start": { - "line": 198, + "line": 185, "column": 4 }, "end": { - "line": 199, + "line": 186, "column": 76 } }, "test": { "type": "LogicalExpression", - "start": 4624, - "end": 4761, + "start": 4405, + "end": 4542, "loc": { "start": { - "line": 198, + "line": 185, "column": 8 }, "end": { - "line": 199, + "line": 186, "column": 57 } }, "left": { "type": "LogicalExpression", - "start": 4624, - "end": 4735, + "start": 4405, + "end": 4516, "loc": { "start": { - "line": 198, + "line": 185, "column": 8 }, "end": { - "line": 199, + "line": 186, "column": 31 } }, "left": { "type": "LogicalExpression", - "start": 4624, - "end": 4700, + "start": 4405, + "end": 4481, "loc": { "start": { - "line": 198, + "line": 185, "column": 8 }, "end": { - "line": 198, + "line": 185, "column": 84 } }, "left": { "type": "BinaryExpression", - "start": 4624, - "end": 4660, + "start": 4405, + "end": 4441, "loc": { "start": { - "line": 198, + "line": 185, "column": 8 }, "end": { - "line": 198, + "line": 185, "column": 44 } }, "left": { "type": "MemberExpression", - "start": 4624, - "end": 4635, + "start": 4405, + "end": 4416, "loc": { "start": { - "line": 198, + "line": 185, "column": 8 }, "end": { - "line": 198, + "line": 185, "column": 19 } }, "object": { "type": "Identifier", - "start": 4624, - "end": 4633, + "start": 4405, + "end": 4414, "loc": { "start": { - "line": 198, + "line": 185, "column": 8 }, "end": { - "line": 198, + "line": 185, "column": 17 }, "identifierName": "transform" @@ -8603,15 +9655,15 @@ }, "property": { "type": "Identifier", - "start": 4634, - "end": 4635, + "start": 4415, + "end": 4416, "loc": { "start": { - "line": 198, + "line": 185, "column": 18 }, "end": { - "line": 198, + "line": 185, "column": 19 }, "identifierName": "x" @@ -8623,43 +9675,43 @@ "operator": "<", "right": { "type": "BinaryExpression", - "start": 4638, - "end": 4660, + "start": 4419, + "end": 4441, "loc": { "start": { - "line": 198, + "line": 185, "column": 22 }, "end": { - "line": 198, + "line": 185, "column": 44 } }, "left": { "type": "MemberExpression", - "start": 4638, - "end": 4647, + "start": 4419, + "end": 4428, "loc": { "start": { - "line": 198, + "line": 185, "column": 22 }, "end": { - "line": 198, + "line": 185, "column": 31 } }, "object": { "type": "Identifier", - "start": 4638, - "end": 4642, + "start": 4419, + "end": 4423, "loc": { "start": { - "line": 198, + "line": 185, "column": 22 }, "end": { - "line": 198, + "line": 185, "column": 26 }, "identifierName": "rect" @@ -8668,15 +9720,15 @@ }, "property": { "type": "Identifier", - "start": 4643, - "end": 4647, + "start": 4424, + "end": 4428, "loc": { "start": { - "line": 198, + "line": 185, "column": 27 }, "end": { - "line": 198, + "line": 185, "column": 31 }, "identifierName": "left" @@ -8688,29 +9740,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 4650, - "end": 4660, + "start": 4431, + "end": 4441, "loc": { "start": { - "line": 198, + "line": 185, "column": 34 }, "end": { - "line": 198, + "line": 185, "column": 44 } }, "object": { "type": "Identifier", - "start": 4650, - "end": 4654, + "start": 4431, + "end": 4435, "loc": { "start": { - "line": 198, + "line": 185, "column": 34 }, "end": { - "line": 198, + "line": 185, "column": 38 }, "identifierName": "rect" @@ -8719,15 +9771,15 @@ }, "property": { "type": "Identifier", - "start": 4655, - "end": 4660, + "start": 4436, + "end": 4441, "loc": { "start": { - "line": 198, + "line": 185, "column": 39 }, "end": { - "line": 198, + "line": 185, "column": 44 }, "identifierName": "width" @@ -8741,43 +9793,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4664, - "end": 4700, + "start": 4445, + "end": 4481, "loc": { "start": { - "line": 198, + "line": 185, "column": 48 }, "end": { - "line": 198, + "line": 185, "column": 84 } }, "left": { "type": "MemberExpression", - "start": 4664, - "end": 4675, + "start": 4445, + "end": 4456, "loc": { "start": { - "line": 198, + "line": 185, "column": 48 }, "end": { - "line": 198, + "line": 185, "column": 59 } }, "object": { "type": "Identifier", - "start": 4664, - "end": 4673, + "start": 4445, + "end": 4454, "loc": { "start": { - "line": 198, + "line": 185, "column": 48 }, "end": { - "line": 198, + "line": 185, "column": 57 }, "identifierName": "transform" @@ -8786,15 +9838,15 @@ }, "property": { "type": "Identifier", - "start": 4674, - "end": 4675, + "start": 4455, + "end": 4456, "loc": { "start": { - "line": 198, + "line": 185, "column": 58 }, "end": { - "line": 198, + "line": 185, "column": 59 }, "identifierName": "y" @@ -8806,43 +9858,43 @@ "operator": "<", "right": { "type": "BinaryExpression", - "start": 4678, - "end": 4700, + "start": 4459, + "end": 4481, "loc": { "start": { - "line": 198, + "line": 185, "column": 62 }, "end": { - "line": 198, + "line": 185, "column": 84 } }, "left": { "type": "MemberExpression", - "start": 4678, - "end": 4686, + "start": 4459, + "end": 4467, "loc": { "start": { - "line": 198, + "line": 185, "column": 62 }, "end": { - "line": 198, + "line": 185, "column": 70 } }, "object": { "type": "Identifier", - "start": 4678, - "end": 4682, + "start": 4459, + "end": 4463, "loc": { "start": { - "line": 198, + "line": 185, "column": 62 }, "end": { - "line": 198, + "line": 185, "column": 66 }, "identifierName": "rect" @@ -8851,15 +9903,15 @@ }, "property": { "type": "Identifier", - "start": 4683, - "end": 4686, + "start": 4464, + "end": 4467, "loc": { "start": { - "line": 198, + "line": 185, "column": 67 }, "end": { - "line": 198, + "line": 185, "column": 70 }, "identifierName": "top" @@ -8871,29 +9923,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 4689, - "end": 4700, + "start": 4470, + "end": 4481, "loc": { "start": { - "line": 198, + "line": 185, "column": 73 }, "end": { - "line": 198, + "line": 185, "column": 84 } }, "object": { "type": "Identifier", - "start": 4689, - "end": 4693, + "start": 4470, + "end": 4474, "loc": { "start": { - "line": 198, + "line": 185, "column": 73 }, "end": { - "line": 198, + "line": 185, "column": 77 }, "identifierName": "rect" @@ -8902,15 +9954,15 @@ }, "property": { "type": "Identifier", - "start": 4694, - "end": 4700, + "start": 4475, + "end": 4481, "loc": { "start": { - "line": 198, + "line": 185, "column": 78 }, "end": { - "line": 198, + "line": 185, "column": 84 }, "identifierName": "height" @@ -8925,43 +9977,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4712, - "end": 4735, + "start": 4493, + "end": 4516, "loc": { "start": { - "line": 199, + "line": 186, "column": 8 }, "end": { - "line": 199, + "line": 186, "column": 31 } }, "left": { "type": "MemberExpression", - "start": 4712, - "end": 4723, + "start": 4493, + "end": 4504, "loc": { "start": { - "line": 199, + "line": 186, "column": 8 }, "end": { - "line": 199, + "line": 186, "column": 19 } }, "object": { "type": "Identifier", - "start": 4712, - "end": 4721, + "start": 4493, + "end": 4502, "loc": { "start": { - "line": 199, + "line": 186, "column": 8 }, "end": { - "line": 199, + "line": 186, "column": 17 }, "identifierName": "transform" @@ -8970,15 +10022,15 @@ }, "property": { "type": "Identifier", - "start": 4722, - "end": 4723, + "start": 4503, + "end": 4504, "loc": { "start": { - "line": 199, + "line": 186, "column": 18 }, "end": { - "line": 199, + "line": 186, "column": 19 }, "identifierName": "x" @@ -8990,29 +10042,29 @@ "operator": ">", "right": { "type": "MemberExpression", - "start": 4726, - "end": 4735, + "start": 4507, + "end": 4516, "loc": { "start": { - "line": 199, + "line": 186, "column": 22 }, "end": { - "line": 199, + "line": 186, "column": 31 } }, "object": { "type": "Identifier", - "start": 4726, - "end": 4730, + "start": 4507, + "end": 4511, "loc": { "start": { - "line": 199, + "line": 186, "column": 22 }, "end": { - "line": 199, + "line": 186, "column": 26 }, "identifierName": "rect" @@ -9021,15 +10073,15 @@ }, "property": { "type": "Identifier", - "start": 4731, - "end": 4735, + "start": 4512, + "end": 4516, "loc": { "start": { - "line": 199, + "line": 186, "column": 27 }, "end": { - "line": 199, + "line": 186, "column": 31 }, "identifierName": "left" @@ -9043,43 +10095,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 4739, - "end": 4761, + "start": 4520, + "end": 4542, "loc": { "start": { - "line": 199, + "line": 186, "column": 35 }, "end": { - "line": 199, + "line": 186, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 4739, - "end": 4750, + "start": 4520, + "end": 4531, "loc": { "start": { - "line": 199, + "line": 186, "column": 35 }, "end": { - "line": 199, + "line": 186, "column": 46 } }, "object": { "type": "Identifier", - "start": 4739, - "end": 4748, + "start": 4520, + "end": 4529, "loc": { "start": { - "line": 199, + "line": 186, "column": 35 }, "end": { - "line": 199, + "line": 186, "column": 44 }, "identifierName": "transform" @@ -9088,15 +10140,15 @@ }, "property": { "type": "Identifier", - "start": 4749, - "end": 4750, + "start": 4530, + "end": 4531, "loc": { "start": { - "line": 199, + "line": 186, "column": 45 }, "end": { - "line": 199, + "line": 186, "column": 46 }, "identifierName": "y" @@ -9108,29 +10160,29 @@ "operator": ">", "right": { "type": "MemberExpression", - "start": 4753, - "end": 4761, + "start": 4534, + "end": 4542, "loc": { "start": { - "line": 199, + "line": 186, "column": 49 }, "end": { - "line": 199, + "line": 186, "column": 57 } }, "object": { "type": "Identifier", - "start": 4753, - "end": 4757, + "start": 4534, + "end": 4538, "loc": { "start": { - "line": 199, + "line": 186, "column": 49 }, "end": { - "line": 199, + "line": 186, "column": 53 }, "identifierName": "rect" @@ -9139,15 +10191,15 @@ }, "property": { "type": "Identifier", - "start": 4758, - "end": 4761, + "start": 4539, + "end": 4542, "loc": { "start": { - "line": 199, + "line": 186, "column": 54 }, "end": { - "line": 199, + "line": 186, "column": 57 }, "identifierName": "top" @@ -9160,29 +10212,29 @@ }, "consequent": { "type": "ReturnStatement", - "start": 4763, - "end": 4780, + "start": 4544, + "end": 4561, "loc": { "start": { - "line": 199, + "line": 186, "column": 59 }, "end": { - "line": 199, + "line": 186, "column": 76 } }, "argument": { "type": "Identifier", - "start": 4770, - "end": 4779, + "start": 4551, + "end": 4560, "loc": { "start": { - "line": 199, + "line": 186, "column": 66 }, "end": { - "line": 199, + "line": 186, "column": 75 }, "identifierName": "transform" @@ -9194,44 +10246,44 @@ }, { "type": "VariableDeclaration", - "start": 4785, - "end": 4820, + "start": 4566, + "end": 4601, "loc": { "start": { - "line": 200, + "line": 187, "column": 4 }, "end": { - "line": 200, + "line": 187, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4789, - "end": 4819, + "start": 4570, + "end": 4600, "loc": { "start": { - "line": 200, + "line": 187, "column": 8 }, "end": { - "line": 200, + "line": 187, "column": 38 } }, "id": { "type": "Identifier", - "start": 4789, - "end": 4794, + "start": 4570, + "end": 4575, "loc": { "start": { - "line": 200, + "line": 187, "column": 8 }, "end": { - "line": 200, + "line": 187, "column": 13 }, "identifierName": "Len_X" @@ -9240,43 +10292,43 @@ }, "init": { "type": "BinaryExpression", - "start": 4797, - "end": 4819, + "start": 4578, + "end": 4600, "loc": { "start": { - "line": 200, + "line": 187, "column": 16 }, "end": { - "line": 200, + "line": 187, "column": 38 } }, "left": { "type": "MemberExpression", - "start": 4797, - "end": 4805, + "start": 4578, + "end": 4586, "loc": { "start": { - "line": 200, + "line": 187, "column": 16 }, "end": { - "line": 200, + "line": 187, "column": 24 } }, "object": { "type": "Identifier", - "start": 4797, - "end": 4803, + "start": 4578, + "end": 4584, "loc": { "start": { - "line": 200, + "line": 187, "column": 16 }, "end": { - "line": 200, + "line": 187, "column": 22 }, "identifierName": "center" @@ -9285,15 +10337,15 @@ }, "property": { "type": "Identifier", - "start": 4804, - "end": 4805, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 200, + "line": 187, "column": 23 }, "end": { - "line": 200, + "line": 187, "column": 24 }, "identifierName": "x" @@ -9305,29 +10357,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 4808, - "end": 4819, + "start": 4589, + "end": 4600, "loc": { "start": { - "line": 200, + "line": 187, "column": 27 }, "end": { - "line": 200, + "line": 187, "column": 38 } }, "object": { "type": "Identifier", - "start": 4808, - "end": 4817, + "start": 4589, + "end": 4598, "loc": { "start": { - "line": 200, + "line": 187, "column": 27 }, "end": { - "line": 200, + "line": 187, "column": 36 }, "identifierName": "transform" @@ -9336,15 +10388,15 @@ }, "property": { "type": "Identifier", - "start": 4818, - "end": 4819, + "start": 4599, + "end": 4600, "loc": { "start": { - "line": 200, + "line": 187, "column": 37 }, "end": { - "line": 200, + "line": 187, "column": 38 }, "identifierName": "x" @@ -9360,44 +10412,44 @@ }, { "type": "VariableDeclaration", - "start": 4825, - "end": 4860, + "start": 4606, + "end": 4641, "loc": { "start": { - "line": 201, + "line": 188, "column": 4 }, "end": { - "line": 201, + "line": 188, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4829, - "end": 4859, + "start": 4610, + "end": 4640, "loc": { "start": { - "line": 201, + "line": 188, "column": 8 }, "end": { - "line": 201, + "line": 188, "column": 38 } }, "id": { "type": "Identifier", - "start": 4829, - "end": 4834, + "start": 4610, + "end": 4615, "loc": { "start": { - "line": 201, + "line": 188, "column": 8 }, "end": { - "line": 201, + "line": 188, "column": 13 }, "identifierName": "Len_Y" @@ -9406,43 +10458,43 @@ }, "init": { "type": "BinaryExpression", - "start": 4837, - "end": 4859, + "start": 4618, + "end": 4640, "loc": { "start": { - "line": 201, + "line": 188, "column": 16 }, "end": { - "line": 201, + "line": 188, "column": 38 } }, "left": { "type": "MemberExpression", - "start": 4837, - "end": 4845, + "start": 4618, + "end": 4626, "loc": { "start": { - "line": 201, + "line": 188, "column": 16 }, "end": { - "line": 201, + "line": 188, "column": 24 } }, "object": { "type": "Identifier", - "start": 4837, - "end": 4843, + "start": 4618, + "end": 4624, "loc": { "start": { - "line": 201, + "line": 188, "column": 16 }, "end": { - "line": 201, + "line": 188, "column": 22 }, "identifierName": "center" @@ -9451,15 +10503,15 @@ }, "property": { "type": "Identifier", - "start": 4844, - "end": 4845, + "start": 4625, + "end": 4626, "loc": { "start": { - "line": 201, + "line": 188, "column": 23 }, "end": { - "line": 201, + "line": 188, "column": 24 }, "identifierName": "y" @@ -9471,29 +10523,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 4848, - "end": 4859, + "start": 4629, + "end": 4640, "loc": { "start": { - "line": 201, + "line": 188, "column": 27 }, "end": { - "line": 201, + "line": 188, "column": 38 } }, "object": { "type": "Identifier", - "start": 4848, - "end": 4857, + "start": 4629, + "end": 4638, "loc": { "start": { - "line": 201, + "line": 188, "column": 27 }, "end": { - "line": 201, + "line": 188, "column": 36 }, "identifierName": "transform" @@ -9502,15 +10554,15 @@ }, "property": { "type": "Identifier", - "start": 4858, - "end": 4859, + "start": 4639, + "end": 4640, "loc": { "start": { - "line": 201, + "line": 188, "column": 37 }, "end": { - "line": 201, + "line": 188, "column": 38 }, "identifierName": "y" @@ -9526,29 +10578,29 @@ }, { "type": "FunctionDeclaration", - "start": 4866, - "end": 5025, + "start": 4647, + "end": 4806, "loc": { "start": { - "line": 203, + "line": 190, "column": 4 }, "end": { - "line": 209, + "line": 196, "column": 5 } }, "id": { "type": "Identifier", - "start": 4875, - "end": 4880, + "start": 4656, + "end": 4661, "loc": { "start": { - "line": 203, + "line": 190, "column": 13 }, "end": { - "line": 203, + "line": 190, "column": 18 }, "identifierName": "angle" @@ -9561,15 +10613,15 @@ "params": [ { "type": "Identifier", - "start": 4881, - "end": 4886, + "start": 4662, + "end": 4667, "loc": { "start": { - "line": 203, + "line": 190, "column": 19 }, "end": { - "line": 203, + "line": 190, "column": 24 }, "identifierName": "Len_X" @@ -9578,15 +10630,15 @@ }, { "type": "Identifier", - "start": 4888, - "end": 4893, + "start": 4669, + "end": 4674, "loc": { "start": { - "line": 203, + "line": 190, "column": 26 }, "end": { - "line": 203, + "line": 190, "column": 31 }, "identifierName": "Len_Y" @@ -9596,100 +10648,100 @@ ], "body": { "type": "BlockStatement", - "start": 4899, - "end": 5025, + "start": 4680, + "end": 4806, "loc": { "start": { - "line": 204, + "line": 191, "column": 4 }, "end": { - "line": 209, + "line": 196, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 4909, - "end": 5019, + "start": 4690, + "end": 4800, "loc": { "start": { - "line": 205, + "line": 192, "column": 8 }, "end": { - "line": 208, + "line": 195, "column": 52 } }, "argument": { "type": "BinaryExpression", - "start": 4916, - "end": 5019, + "start": 4697, + "end": 4800, "loc": { "start": { - "line": 205, + "line": 192, "column": 15 }, "end": { - "line": 208, + "line": 195, "column": 52 } }, "left": { "type": "BinaryExpression", - "start": 4916, - "end": 5009, + "start": 4697, + "end": 4790, "loc": { "start": { - "line": 205, + "line": 192, "column": 15 }, "end": { - "line": 208, + "line": 195, "column": 42 } }, "left": { "type": "CallExpression", - "start": 4916, - "end": 5003, + "start": 4697, + "end": 4784, "loc": { "start": { - "line": 205, + "line": 192, "column": 15 }, "end": { - "line": 208, + "line": 195, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 4916, - "end": 4925, + "start": 4697, + "end": 4706, "loc": { "start": { - "line": 205, + "line": 192, "column": 15 }, "end": { - "line": 205, + "line": 192, "column": 24 } }, "object": { "type": "Identifier", - "start": 4916, - "end": 4920, + "start": 4697, + "end": 4701, "loc": { "start": { - "line": 205, + "line": 192, "column": 15 }, "end": { - "line": 205, + "line": 192, "column": 19 }, "identifierName": "Math" @@ -9698,15 +10750,15 @@ }, "property": { "type": "Identifier", - "start": 4921, - "end": 4925, + "start": 4702, + "end": 4706, "loc": { "start": { - "line": 205, + "line": 192, "column": 20 }, "end": { - "line": 205, + "line": 192, "column": 24 }, "identifierName": "acos" @@ -9718,29 +10770,29 @@ "arguments": [ { "type": "CallExpression", - "start": 4926, - "end": 5002, + "start": 4707, + "end": 4783, "loc": { "start": { - "line": 205, + "line": 192, "column": 25 }, "end": { - "line": 208, + "line": 195, "column": 35 } }, "callee": { "type": "Identifier", - "start": 4926, - "end": 4929, + "start": 4707, + "end": 4710, "loc": { "start": { - "line": 205, + "line": 192, "column": 25 }, "end": { - "line": 205, + "line": 192, "column": 28 }, "identifierName": "dot" @@ -9750,30 +10802,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 4930, - "end": 4976, + "start": 4711, + "end": 4757, "loc": { "start": { - "line": 205, + "line": 192, "column": 29 }, "end": { - "line": 208, + "line": 195, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 4944, - "end": 4948, + "start": 4725, + "end": 4729, "loc": { "start": { - "line": 206, + "line": 193, "column": 12 }, "end": { - "line": 206, + "line": 193, "column": 16 } }, @@ -9782,15 +10834,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4944, - "end": 4945, + "start": 4725, + "end": 4726, "loc": { "start": { - "line": 206, + "line": 193, "column": 12 }, "end": { - "line": 206, + "line": 193, "column": 13 }, "identifierName": "x" @@ -9799,15 +10851,15 @@ }, "value": { "type": "NumericLiteral", - "start": 4947, - "end": 4948, + "start": 4728, + "end": 4729, "loc": { "start": { - "line": 206, + "line": 193, "column": 15 }, "end": { - "line": 206, + "line": 193, "column": 16 } }, @@ -9820,15 +10872,15 @@ }, { "type": "ObjectProperty", - "start": 4962, - "end": 4966, + "start": 4743, + "end": 4747, "loc": { "start": { - "line": 207, + "line": 194, "column": 12 }, "end": { - "line": 207, + "line": 194, "column": 16 } }, @@ -9837,15 +10889,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4962, - "end": 4963, + "start": 4743, + "end": 4744, "loc": { "start": { - "line": 207, + "line": 194, "column": 12 }, "end": { - "line": 207, + "line": 194, "column": 13 }, "identifierName": "y" @@ -9854,15 +10906,15 @@ }, "value": { "type": "NumericLiteral", - "start": 4965, - "end": 4966, + "start": 4746, + "end": 4747, "loc": { "start": { - "line": 207, + "line": 194, "column": 15 }, "end": { - "line": 207, + "line": 194, "column": 16 } }, @@ -9877,29 +10929,29 @@ }, { "type": "CallExpression", - "start": 4978, - "end": 5001, + "start": 4759, + "end": 4782, "loc": { "start": { - "line": 208, + "line": 195, "column": 11 }, "end": { - "line": 208, + "line": 195, "column": 34 } }, "callee": { "type": "Identifier", - "start": 4978, - "end": 4987, + "start": 4759, + "end": 4768, "loc": { "start": { - "line": 208, + "line": 195, "column": 11 }, "end": { - "line": 208, + "line": 195, "column": 20 }, "identifierName": "normalize" @@ -9909,15 +10961,15 @@ "arguments": [ { "type": "Identifier", - "start": 4988, - "end": 4993, + "start": 4769, + "end": 4774, "loc": { "start": { - "line": 208, + "line": 195, "column": 21 }, "end": { - "line": 208, + "line": 195, "column": 26 }, "identifierName": "Len_X" @@ -9926,15 +10978,15 @@ }, { "type": "Identifier", - "start": 4995, - "end": 5000, + "start": 4776, + "end": 4781, "loc": { "start": { - "line": 208, + "line": 195, "column": 28 }, "end": { - "line": 208, + "line": 195, "column": 33 }, "identifierName": "Len_Y" @@ -9950,15 +11002,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 5006, - "end": 5009, + "start": 4787, + "end": 4790, "loc": { "start": { - "line": 208, + "line": 195, "column": 39 }, "end": { - "line": 208, + "line": 195, "column": 42 } }, @@ -9972,29 +11024,29 @@ "operator": "/", "right": { "type": "MemberExpression", - "start": 5012, - "end": 5019, + "start": 4793, + "end": 4800, "loc": { "start": { - "line": 208, + "line": 195, "column": 45 }, "end": { - "line": 208, + "line": 195, "column": 52 } }, "object": { "type": "Identifier", - "start": 5012, - "end": 5016, + "start": 4793, + "end": 4797, "loc": { "start": { - "line": 208, + "line": 195, "column": 45 }, "end": { - "line": 208, + "line": 195, "column": 49 }, "identifierName": "Math" @@ -10003,15 +11055,15 @@ }, "property": { "type": "Identifier", - "start": 5017, - "end": 5019, + "start": 4798, + "end": 4800, "loc": { "start": { - "line": 208, + "line": 195, "column": 50 }, "end": { - "line": 208, + "line": 195, "column": 52 }, "identifierName": "PI" @@ -10028,44 +11080,44 @@ }, { "type": "VariableDeclaration", - "start": 5031, - "end": 5069, + "start": 4812, + "end": 4850, "loc": { "start": { - "line": 211, + "line": 198, "column": 4 }, "end": { - "line": 211, + "line": 198, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5035, - "end": 5068, + "start": 4816, + "end": 4849, "loc": { "start": { - "line": 211, + "line": 198, "column": 8 }, "end": { - "line": 211, + "line": 198, "column": 41 } }, "id": { "type": "Identifier", - "start": 5035, - "end": 5046, + "start": 4816, + "end": 4827, "loc": { "start": { - "line": 211, + "line": 198, "column": 8 }, "end": { - "line": 211, + "line": 198, "column": 19 }, "identifierName": "angleTarget" @@ -10074,29 +11126,29 @@ }, "init": { "type": "CallExpression", - "start": 5049, - "end": 5068, + "start": 4830, + "end": 4849, "loc": { "start": { - "line": 211, + "line": 198, "column": 22 }, "end": { - "line": 211, + "line": 198, "column": 41 } }, "callee": { "type": "Identifier", - "start": 5049, - "end": 5054, + "start": 4830, + "end": 4835, "loc": { "start": { - "line": 211, + "line": 198, "column": 22 }, "end": { - "line": 211, + "line": 198, "column": 27 }, "identifierName": "angle" @@ -10106,15 +11158,15 @@ "arguments": [ { "type": "Identifier", - "start": 5055, - "end": 5060, + "start": 4836, + "end": 4841, "loc": { "start": { - "line": 211, + "line": 198, "column": 28 }, "end": { - "line": 211, + "line": 198, "column": 33 }, "identifierName": "Len_X" @@ -10123,15 +11175,15 @@ }, { "type": "Identifier", - "start": 5062, - "end": 5067, + "start": 4843, + "end": 4848, "loc": { "start": { - "line": 211, + "line": 198, "column": 35 }, "end": { - "line": 211, + "line": 198, "column": 40 }, "identifierName": "Len_Y" @@ -10146,57 +11198,57 @@ }, { "type": "IfStatement", - "start": 5074, - "end": 5134, + "start": 4855, + "end": 4915, "loc": { "start": { - "line": 212, + "line": 199, "column": 4 }, "end": { - "line": 212, + "line": 199, "column": 64 } }, "test": { "type": "BinaryExpression", - "start": 5078, - "end": 5100, + "start": 4859, + "end": 4881, "loc": { "start": { - "line": 212, + "line": 199, "column": 8 }, "end": { - "line": 212, + "line": 199, "column": 30 } }, "left": { "type": "MemberExpression", - "start": 5078, - "end": 5089, + "start": 4859, + "end": 4870, "loc": { "start": { - "line": 212, + "line": 199, "column": 8 }, "end": { - "line": 212, + "line": 199, "column": 19 } }, "object": { "type": "Identifier", - "start": 5078, - "end": 5087, + "start": 4859, + "end": 4868, "loc": { "start": { - "line": 212, + "line": 199, "column": 8 }, "end": { - "line": 212, + "line": 199, "column": 17 }, "identifierName": "transform" @@ -10205,15 +11257,15 @@ }, "property": { "type": "Identifier", - "start": 5088, - "end": 5089, + "start": 4869, + "end": 4870, "loc": { "start": { - "line": 212, + "line": 199, "column": 18 }, "end": { - "line": 212, + "line": 199, "column": 19 }, "identifierName": "x" @@ -10225,29 +11277,29 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 5092, - "end": 5100, + "start": 4873, + "end": 4881, "loc": { "start": { - "line": 212, + "line": 199, "column": 22 }, "end": { - "line": 212, + "line": 199, "column": 30 } }, "object": { "type": "Identifier", - "start": 5092, - "end": 5098, + "start": 4873, + "end": 4879, "loc": { "start": { - "line": 212, + "line": 199, "column": 22 }, "end": { - "line": 212, + "line": 199, "column": 28 }, "identifierName": "center" @@ -10256,15 +11308,15 @@ }, "property": { "type": "Identifier", - "start": 5099, - "end": 5100, + "start": 4880, + "end": 4881, "loc": { "start": { - "line": 212, + "line": 199, "column": 29 }, "end": { - "line": 212, + "line": 199, "column": 30 }, "identifierName": "x" @@ -10276,44 +11328,44 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 5102, - "end": 5134, + "start": 4883, + "end": 4915, "loc": { "start": { - "line": 212, + "line": 199, "column": 32 }, "end": { - "line": 212, + "line": 199, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 5102, - "end": 5133, + "start": 4883, + "end": 4914, "loc": { "start": { - "line": 212, + "line": 199, "column": 32 }, "end": { - "line": 212, + "line": 199, "column": 63 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5102, - "end": 5113, + "start": 4883, + "end": 4894, "loc": { "start": { - "line": 212, + "line": 199, "column": 32 }, "end": { - "line": 212, + "line": 199, "column": 43 }, "identifierName": "angleTarget" @@ -10322,29 +11374,29 @@ }, "right": { "type": "BinaryExpression", - "start": 5116, - "end": 5133, + "start": 4897, + "end": 4914, "loc": { "start": { - "line": 212, + "line": 199, "column": 46 }, "end": { - "line": 212, + "line": 199, "column": 63 } }, "left": { "type": "NumericLiteral", - "start": 5116, - "end": 5119, + "start": 4897, + "end": 4900, "loc": { "start": { - "line": 212, + "line": 199, "column": 46 }, "end": { - "line": 212, + "line": 199, "column": 49 } }, @@ -10357,15 +11409,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 5122, - "end": 5133, + "start": 4903, + "end": 4914, "loc": { "start": { - "line": 212, + "line": 199, "column": 52 }, "end": { - "line": 212, + "line": 199, "column": 63 }, "identifierName": "angleTarget" @@ -10379,44 +11431,44 @@ }, { "type": "VariableDeclaration", - "start": 5139, - "end": 5220, + "start": 4920, + "end": 5001, "loc": { "start": { - "line": 213, + "line": 200, "column": 4 }, "end": { - "line": 213, + "line": 200, "column": 85 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5143, - "end": 5219, + "start": 4924, + "end": 5000, "loc": { "start": { - "line": 213, + "line": 200, "column": 8 }, "end": { - "line": 213, + "line": 200, "column": 84 } }, "id": { "type": "Identifier", - "start": 5143, - "end": 5155, + "start": 4924, + "end": 4936, "loc": { "start": { - "line": 213, + "line": 200, "column": 8 }, "end": { - "line": 213, + "line": 200, "column": 20 }, "identifierName": "angleLeftTop" @@ -10425,29 +11477,29 @@ }, "init": { "type": "BinaryExpression", - "start": 5158, - "end": 5219, + "start": 4939, + "end": 5000, "loc": { "start": { - "line": 213, + "line": 200, "column": 23 }, "end": { - "line": 213, + "line": 200, "column": 84 } }, "left": { "type": "NumericLiteral", - "start": 5158, - "end": 5161, + "start": 4939, + "end": 4942, "loc": { "start": { - "line": 213, + "line": 200, "column": 23 }, "end": { - "line": 213, + "line": 200, "column": 26 } }, @@ -10460,29 +11512,29 @@ "operator": "-", "right": { "type": "CallExpression", - "start": 5164, - "end": 5219, + "start": 4945, + "end": 5000, "loc": { "start": { - "line": 213, + "line": 200, "column": 29 }, "end": { - "line": 213, + "line": 200, "column": 84 } }, "callee": { "type": "Identifier", - "start": 5164, - "end": 5169, + "start": 4945, + "end": 4950, "loc": { "start": { - "line": 213, + "line": 200, "column": 29 }, "end": { - "line": 213, + "line": 200, "column": 34 }, "identifierName": "angle" @@ -10492,43 +11544,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 5170, - "end": 5190, + "start": 4951, + "end": 4971, "loc": { "start": { - "line": 213, + "line": 200, "column": 35 }, "end": { - "line": 213, + "line": 200, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 5170, - "end": 5179, + "start": 4951, + "end": 4960, "loc": { "start": { - "line": 213, + "line": 200, "column": 35 }, "end": { - "line": 213, + "line": 200, "column": 44 } }, "object": { "type": "Identifier", - "start": 5170, - "end": 5174, + "start": 4951, + "end": 4955, "loc": { "start": { - "line": 213, + "line": 200, "column": 35 }, "end": { - "line": 213, + "line": 200, "column": 39 }, "identifierName": "rect" @@ -10537,15 +11589,15 @@ }, "property": { "type": "Identifier", - "start": 5175, - "end": 5179, + "start": 4956, + "end": 4960, "loc": { "start": { - "line": 213, + "line": 200, "column": 40 }, "end": { - "line": 213, + "line": 200, "column": 44 }, "identifierName": "left" @@ -10557,29 +11609,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5182, - "end": 5190, + "start": 4963, + "end": 4971, "loc": { "start": { - "line": 213, + "line": 200, "column": 47 }, "end": { - "line": 213, + "line": 200, "column": 55 } }, "object": { "type": "Identifier", - "start": 5182, - "end": 5188, + "start": 4963, + "end": 4969, "loc": { "start": { - "line": 213, + "line": 200, "column": 47 }, "end": { - "line": 213, + "line": 200, "column": 53 }, "identifierName": "center" @@ -10588,15 +11640,15 @@ }, "property": { "type": "Identifier", - "start": 5189, - "end": 5190, + "start": 4970, + "end": 4971, "loc": { "start": { - "line": 213, + "line": 200, "column": 54 }, "end": { - "line": 213, + "line": 200, "column": 55 }, "identifierName": "x" @@ -10608,57 +11660,57 @@ }, { "type": "BinaryExpression", - "start": 5192, - "end": 5218, + "start": 4973, + "end": 4999, "loc": { "start": { - "line": 213, + "line": 200, "column": 57 }, "end": { - "line": 213, + "line": 200, "column": 83 } }, "left": { "type": "BinaryExpression", - "start": 5193, - "end": 5212, + "start": 4974, + "end": 4993, "loc": { "start": { - "line": 213, + "line": 200, "column": 58 }, "end": { - "line": 213, + "line": 200, "column": 77 } }, "left": { "type": "MemberExpression", - "start": 5193, - "end": 5201, + "start": 4974, + "end": 4982, "loc": { "start": { - "line": 213, + "line": 200, "column": 58 }, "end": { - "line": 213, + "line": 200, "column": 66 } }, "object": { "type": "Identifier", - "start": 5193, - "end": 5197, + "start": 4974, + "end": 4978, "loc": { "start": { - "line": 213, + "line": 200, "column": 58 }, "end": { - "line": 213, + "line": 200, "column": 62 }, "identifierName": "rect" @@ -10667,15 +11719,15 @@ }, "property": { "type": "Identifier", - "start": 5198, - "end": 5201, + "start": 4979, + "end": 4982, "loc": { "start": { - "line": 213, + "line": 200, "column": 63 }, "end": { - "line": 213, + "line": 200, "column": 66 }, "identifierName": "top" @@ -10687,29 +11739,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5204, - "end": 5212, + "start": 4985, + "end": 4993, "loc": { "start": { - "line": 213, + "line": 200, "column": 69 }, "end": { - "line": 213, + "line": 200, "column": 77 } }, "object": { "type": "Identifier", - "start": 5204, - "end": 5210, + "start": 4985, + "end": 4991, "loc": { "start": { - "line": 213, + "line": 200, "column": 69 }, "end": { - "line": 213, + "line": 200, "column": 75 }, "identifierName": "center" @@ -10718,15 +11770,15 @@ }, "property": { "type": "Identifier", - "start": 5211, - "end": 5212, + "start": 4992, + "end": 4993, "loc": { "start": { - "line": 213, + "line": 200, "column": 76 }, "end": { - "line": 213, + "line": 200, "column": 77 }, "identifierName": "y" @@ -10737,21 +11789,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 5192 + "parenStart": 4973 } }, "operator": "*", "right": { "type": "UnaryExpression", - "start": 5216, - "end": 5218, + "start": 4997, + "end": 4999, "loc": { "start": { - "line": 213, + "line": 200, "column": 81 }, "end": { - "line": 213, + "line": 200, "column": 83 } }, @@ -10759,15 +11811,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 5217, - "end": 5218, + "start": 4998, + "end": 4999, "loc": { "start": { - "line": 213, + "line": 200, "column": 82 }, "end": { - "line": 213, + "line": 200, "column": 83 } }, @@ -10791,44 +11843,44 @@ }, { "type": "VariableDeclaration", - "start": 5225, - "end": 5323, + "start": 5006, + "end": 5104, "loc": { "start": { - "line": 214, + "line": 201, "column": 4 }, "end": { - "line": 214, + "line": 201, "column": 102 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5229, - "end": 5322, + "start": 5010, + "end": 5103, "loc": { "start": { - "line": 214, + "line": 201, "column": 8 }, "end": { - "line": 214, + "line": 201, "column": 101 } }, "id": { "type": "Identifier", - "start": 5229, - "end": 5244, + "start": 5010, + "end": 5025, "loc": { "start": { - "line": 214, + "line": 201, "column": 8 }, "end": { - "line": 214, + "line": 201, "column": 23 }, "identifierName": "angleLeftBottom" @@ -10837,29 +11889,29 @@ }, "init": { "type": "BinaryExpression", - "start": 5247, - "end": 5322, + "start": 5028, + "end": 5103, "loc": { "start": { - "line": 214, + "line": 201, "column": 26 }, "end": { - "line": 214, + "line": 201, "column": 101 } }, "left": { "type": "NumericLiteral", - "start": 5247, - "end": 5250, + "start": 5028, + "end": 5031, "loc": { "start": { - "line": 214, + "line": 201, "column": 26 }, "end": { - "line": 214, + "line": 201, "column": 29 } }, @@ -10872,29 +11924,29 @@ "operator": "-", "right": { "type": "CallExpression", - "start": 5253, - "end": 5322, + "start": 5034, + "end": 5103, "loc": { "start": { - "line": 214, + "line": 201, "column": 32 }, "end": { - "line": 214, + "line": 201, "column": 101 } }, "callee": { "type": "Identifier", - "start": 5253, - "end": 5258, + "start": 5034, + "end": 5039, "loc": { "start": { - "line": 214, + "line": 201, "column": 32 }, "end": { - "line": 214, + "line": 201, "column": 37 }, "identifierName": "angle" @@ -10904,43 +11956,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 5259, - "end": 5279, + "start": 5040, + "end": 5060, "loc": { "start": { - "line": 214, + "line": 201, "column": 38 }, "end": { - "line": 214, + "line": 201, "column": 58 } }, "left": { "type": "MemberExpression", - "start": 5259, - "end": 5268, + "start": 5040, + "end": 5049, "loc": { "start": { - "line": 214, + "line": 201, "column": 38 }, "end": { - "line": 214, + "line": 201, "column": 47 } }, "object": { "type": "Identifier", - "start": 5259, - "end": 5263, + "start": 5040, + "end": 5044, "loc": { "start": { - "line": 214, + "line": 201, "column": 38 }, "end": { - "line": 214, + "line": 201, "column": 42 }, "identifierName": "rect" @@ -10949,15 +12001,15 @@ }, "property": { "type": "Identifier", - "start": 5264, - "end": 5268, + "start": 5045, + "end": 5049, "loc": { "start": { - "line": 214, + "line": 201, "column": 43 }, "end": { - "line": 214, + "line": 201, "column": 47 }, "identifierName": "left" @@ -10969,29 +12021,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5271, - "end": 5279, + "start": 5052, + "end": 5060, "loc": { "start": { - "line": 214, + "line": 201, "column": 50 }, "end": { - "line": 214, + "line": 201, "column": 58 } }, "object": { "type": "Identifier", - "start": 5271, - "end": 5277, + "start": 5052, + "end": 5058, "loc": { "start": { - "line": 214, + "line": 201, "column": 50 }, "end": { - "line": 214, + "line": 201, "column": 56 }, "identifierName": "center" @@ -11000,15 +12052,15 @@ }, "property": { "type": "Identifier", - "start": 5278, - "end": 5279, + "start": 5059, + "end": 5060, "loc": { "start": { - "line": 214, + "line": 201, "column": 57 }, "end": { - "line": 214, + "line": 201, "column": 58 }, "identifierName": "x" @@ -11020,71 +12072,71 @@ }, { "type": "BinaryExpression", - "start": 5281, - "end": 5321, + "start": 5062, + "end": 5102, "loc": { "start": { - "line": 214, + "line": 201, "column": 60 }, "end": { - "line": 214, + "line": 201, "column": 100 } }, "left": { "type": "BinaryExpression", - "start": 5282, - "end": 5315, + "start": 5063, + "end": 5096, "loc": { "start": { - "line": 214, + "line": 201, "column": 61 }, "end": { - "line": 214, + "line": 201, "column": 94 } }, "left": { "type": "BinaryExpression", - "start": 5282, - "end": 5304, + "start": 5063, + "end": 5085, "loc": { "start": { - "line": 214, + "line": 201, "column": 61 }, "end": { - "line": 214, + "line": 201, "column": 83 } }, "left": { "type": "MemberExpression", - "start": 5282, - "end": 5290, + "start": 5063, + "end": 5071, "loc": { "start": { - "line": 214, + "line": 201, "column": 61 }, "end": { - "line": 214, + "line": 201, "column": 69 } }, "object": { "type": "Identifier", - "start": 5282, - "end": 5286, + "start": 5063, + "end": 5067, "loc": { "start": { - "line": 214, + "line": 201, "column": 61 }, "end": { - "line": 214, + "line": 201, "column": 65 }, "identifierName": "rect" @@ -11093,15 +12145,15 @@ }, "property": { "type": "Identifier", - "start": 5287, - "end": 5290, + "start": 5068, + "end": 5071, "loc": { "start": { - "line": 214, + "line": 201, "column": 66 }, "end": { - "line": 214, + "line": 201, "column": 69 }, "identifierName": "top" @@ -11113,29 +12165,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5293, - "end": 5304, + "start": 5074, + "end": 5085, "loc": { "start": { - "line": 214, + "line": 201, "column": 72 }, "end": { - "line": 214, + "line": 201, "column": 83 } }, "object": { "type": "Identifier", - "start": 5293, - "end": 5297, + "start": 5074, + "end": 5078, "loc": { "start": { - "line": 214, + "line": 201, "column": 72 }, "end": { - "line": 214, + "line": 201, "column": 76 }, "identifierName": "rect" @@ -11144,15 +12196,15 @@ }, "property": { "type": "Identifier", - "start": 5298, - "end": 5304, + "start": 5079, + "end": 5085, "loc": { "start": { - "line": 214, + "line": 201, "column": 77 }, "end": { - "line": 214, + "line": 201, "column": 83 }, "identifierName": "height" @@ -11165,29 +12217,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5307, - "end": 5315, + "start": 5088, + "end": 5096, "loc": { "start": { - "line": 214, + "line": 201, "column": 86 }, "end": { - "line": 214, + "line": 201, "column": 94 } }, "object": { "type": "Identifier", - "start": 5307, - "end": 5313, + "start": 5088, + "end": 5094, "loc": { "start": { - "line": 214, + "line": 201, "column": 86 }, "end": { - "line": 214, + "line": 201, "column": 92 }, "identifierName": "center" @@ -11196,15 +12248,15 @@ }, "property": { "type": "Identifier", - "start": 5314, - "end": 5315, + "start": 5095, + "end": 5096, "loc": { "start": { - "line": 214, + "line": 201, "column": 93 }, "end": { - "line": 214, + "line": 201, "column": 94 }, "identifierName": "y" @@ -11215,21 +12267,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 5281 + "parenStart": 5062 } }, "operator": "*", "right": { "type": "UnaryExpression", - "start": 5319, - "end": 5321, + "start": 5100, + "end": 5102, "loc": { "start": { - "line": 214, + "line": 201, "column": 98 }, "end": { - "line": 214, + "line": 201, "column": 100 } }, @@ -11237,15 +12289,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 5320, - "end": 5321, + "start": 5101, + "end": 5102, "loc": { "start": { - "line": 214, + "line": 201, "column": 99 }, "end": { - "line": 214, + "line": 201, "column": 100 } }, @@ -11269,44 +12321,44 @@ }, { "type": "VariableDeclaration", - "start": 5328, - "end": 5417, + "start": 5109, + "end": 5198, "loc": { "start": { - "line": 215, + "line": 202, "column": 4 }, "end": { - "line": 215, + "line": 202, "column": 93 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5332, - "end": 5416, + "start": 5113, + "end": 5197, "loc": { "start": { - "line": 215, + "line": 202, "column": 8 }, "end": { - "line": 215, + "line": 202, "column": 92 } }, "id": { "type": "Identifier", - "start": 5332, - "end": 5345, + "start": 5113, + "end": 5126, "loc": { "start": { - "line": 215, + "line": 202, "column": 8 }, "end": { - "line": 215, + "line": 202, "column": 21 }, "identifierName": "angleRightTop" @@ -11315,29 +12367,29 @@ }, "init": { "type": "CallExpression", - "start": 5348, - "end": 5416, + "start": 5129, + "end": 5197, "loc": { "start": { - "line": 215, + "line": 202, "column": 24 }, "end": { - "line": 215, + "line": 202, "column": 92 } }, "callee": { "type": "Identifier", - "start": 5348, - "end": 5353, + "start": 5129, + "end": 5134, "loc": { "start": { - "line": 215, + "line": 202, "column": 24 }, "end": { - "line": 215, + "line": 202, "column": 29 }, "identifierName": "angle" @@ -11347,57 +12399,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 5354, - "end": 5387, + "start": 5135, + "end": 5168, "loc": { "start": { - "line": 215, + "line": 202, "column": 30 }, "end": { - "line": 215, + "line": 202, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 5354, - "end": 5376, + "start": 5135, + "end": 5157, "loc": { "start": { - "line": 215, + "line": 202, "column": 30 }, "end": { - "line": 215, + "line": 202, "column": 52 } }, "left": { "type": "MemberExpression", - "start": 5354, - "end": 5363, + "start": 5135, + "end": 5144, "loc": { "start": { - "line": 215, + "line": 202, "column": 30 }, "end": { - "line": 215, + "line": 202, "column": 39 } }, "object": { "type": "Identifier", - "start": 5354, - "end": 5358, + "start": 5135, + "end": 5139, "loc": { "start": { - "line": 215, + "line": 202, "column": 30 }, "end": { - "line": 215, + "line": 202, "column": 34 }, "identifierName": "rect" @@ -11406,15 +12458,15 @@ }, "property": { "type": "Identifier", - "start": 5359, - "end": 5363, + "start": 5140, + "end": 5144, "loc": { "start": { - "line": 215, + "line": 202, "column": 35 }, "end": { - "line": 215, + "line": 202, "column": 39 }, "identifierName": "left" @@ -11426,29 +12478,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5366, - "end": 5376, + "start": 5147, + "end": 5157, "loc": { "start": { - "line": 215, + "line": 202, "column": 42 }, "end": { - "line": 215, + "line": 202, "column": 52 } }, "object": { "type": "Identifier", - "start": 5366, - "end": 5370, + "start": 5147, + "end": 5151, "loc": { "start": { - "line": 215, + "line": 202, "column": 42 }, "end": { - "line": 215, + "line": 202, "column": 46 }, "identifierName": "rect" @@ -11457,15 +12509,15 @@ }, "property": { "type": "Identifier", - "start": 5371, - "end": 5376, + "start": 5152, + "end": 5157, "loc": { "start": { - "line": 215, + "line": 202, "column": 47 }, "end": { - "line": 215, + "line": 202, "column": 52 }, "identifierName": "width" @@ -11478,29 +12530,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5379, - "end": 5387, + "start": 5160, + "end": 5168, "loc": { "start": { - "line": 215, + "line": 202, "column": 55 }, "end": { - "line": 215, + "line": 202, "column": 63 } }, "object": { "type": "Identifier", - "start": 5379, - "end": 5385, + "start": 5160, + "end": 5166, "loc": { "start": { - "line": 215, + "line": 202, "column": 55 }, "end": { - "line": 215, + "line": 202, "column": 61 }, "identifierName": "center" @@ -11509,15 +12561,15 @@ }, "property": { "type": "Identifier", - "start": 5386, - "end": 5387, + "start": 5167, + "end": 5168, "loc": { "start": { - "line": 215, + "line": 202, "column": 62 }, "end": { - "line": 215, + "line": 202, "column": 63 }, "identifierName": "x" @@ -11529,57 +12581,57 @@ }, { "type": "BinaryExpression", - "start": 5389, - "end": 5415, + "start": 5170, + "end": 5196, "loc": { "start": { - "line": 215, + "line": 202, "column": 65 }, "end": { - "line": 215, + "line": 202, "column": 91 } }, "left": { "type": "BinaryExpression", - "start": 5390, - "end": 5409, + "start": 5171, + "end": 5190, "loc": { "start": { - "line": 215, + "line": 202, "column": 66 }, "end": { - "line": 215, + "line": 202, "column": 85 } }, "left": { "type": "MemberExpression", - "start": 5390, - "end": 5398, + "start": 5171, + "end": 5179, "loc": { "start": { - "line": 215, + "line": 202, "column": 66 }, "end": { - "line": 215, + "line": 202, "column": 74 } }, "object": { "type": "Identifier", - "start": 5390, - "end": 5394, + "start": 5171, + "end": 5175, "loc": { "start": { - "line": 215, + "line": 202, "column": 66 }, "end": { - "line": 215, + "line": 202, "column": 70 }, "identifierName": "rect" @@ -11588,15 +12640,15 @@ }, "property": { "type": "Identifier", - "start": 5395, - "end": 5398, + "start": 5176, + "end": 5179, "loc": { "start": { - "line": 215, + "line": 202, "column": 71 }, "end": { - "line": 215, + "line": 202, "column": 74 }, "identifierName": "top" @@ -11608,29 +12660,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5401, - "end": 5409, + "start": 5182, + "end": 5190, "loc": { "start": { - "line": 215, + "line": 202, "column": 77 }, "end": { - "line": 215, + "line": 202, "column": 85 } }, "object": { "type": "Identifier", - "start": 5401, - "end": 5407, + "start": 5182, + "end": 5188, "loc": { "start": { - "line": 215, + "line": 202, "column": 77 }, "end": { - "line": 215, + "line": 202, "column": 83 }, "identifierName": "center" @@ -11639,15 +12691,15 @@ }, "property": { "type": "Identifier", - "start": 5408, - "end": 5409, + "start": 5189, + "end": 5190, "loc": { "start": { - "line": 215, + "line": 202, "column": 84 }, "end": { - "line": 215, + "line": 202, "column": 85 }, "identifierName": "y" @@ -11658,21 +12710,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 5389 + "parenStart": 5170 } }, "operator": "*", "right": { "type": "UnaryExpression", - "start": 5413, - "end": 5415, + "start": 5194, + "end": 5196, "loc": { "start": { - "line": 215, + "line": 202, "column": 89 }, "end": { - "line": 215, + "line": 202, "column": 91 } }, @@ -11680,15 +12732,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 5414, - "end": 5415, + "start": 5195, + "end": 5196, "loc": { "start": { - "line": 215, + "line": 202, "column": 90 }, "end": { - "line": 215, + "line": 202, "column": 91 } }, @@ -11711,44 +12763,44 @@ }, { "type": "VariableDeclaration", - "start": 5422, - "end": 5528, + "start": 5203, + "end": 5309, "loc": { "start": { - "line": 216, + "line": 203, "column": 4 }, "end": { - "line": 216, + "line": 203, "column": 110 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5426, - "end": 5527, + "start": 5207, + "end": 5308, "loc": { "start": { - "line": 216, + "line": 203, "column": 8 }, "end": { - "line": 216, + "line": 203, "column": 109 } }, "id": { "type": "Identifier", - "start": 5426, - "end": 5442, + "start": 5207, + "end": 5223, "loc": { "start": { - "line": 216, + "line": 203, "column": 8 }, "end": { - "line": 216, + "line": 203, "column": 24 }, "identifierName": "angleRightBottom" @@ -11757,29 +12809,29 @@ }, "init": { "type": "CallExpression", - "start": 5445, - "end": 5527, + "start": 5226, + "end": 5308, "loc": { "start": { - "line": 216, + "line": 203, "column": 27 }, "end": { - "line": 216, + "line": 203, "column": 109 } }, "callee": { "type": "Identifier", - "start": 5445, - "end": 5450, + "start": 5226, + "end": 5231, "loc": { "start": { - "line": 216, + "line": 203, "column": 27 }, "end": { - "line": 216, + "line": 203, "column": 32 }, "identifierName": "angle" @@ -11789,57 +12841,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 5451, - "end": 5484, + "start": 5232, + "end": 5265, "loc": { "start": { - "line": 216, + "line": 203, "column": 33 }, "end": { - "line": 216, + "line": 203, "column": 66 } }, "left": { "type": "BinaryExpression", - "start": 5451, - "end": 5473, + "start": 5232, + "end": 5254, "loc": { "start": { - "line": 216, + "line": 203, "column": 33 }, "end": { - "line": 216, + "line": 203, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 5451, - "end": 5460, + "start": 5232, + "end": 5241, "loc": { "start": { - "line": 216, + "line": 203, "column": 33 }, "end": { - "line": 216, + "line": 203, "column": 42 } }, "object": { "type": "Identifier", - "start": 5451, - "end": 5455, + "start": 5232, + "end": 5236, "loc": { "start": { - "line": 216, + "line": 203, "column": 33 }, "end": { - "line": 216, + "line": 203, "column": 37 }, "identifierName": "rect" @@ -11848,15 +12900,15 @@ }, "property": { "type": "Identifier", - "start": 5456, - "end": 5460, + "start": 5237, + "end": 5241, "loc": { "start": { - "line": 216, + "line": 203, "column": 38 }, "end": { - "line": 216, + "line": 203, "column": 42 }, "identifierName": "left" @@ -11868,29 +12920,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5463, - "end": 5473, + "start": 5244, + "end": 5254, "loc": { "start": { - "line": 216, + "line": 203, "column": 45 }, "end": { - "line": 216, + "line": 203, "column": 55 } }, "object": { "type": "Identifier", - "start": 5463, - "end": 5467, + "start": 5244, + "end": 5248, "loc": { "start": { - "line": 216, + "line": 203, "column": 45 }, "end": { - "line": 216, + "line": 203, "column": 49 }, "identifierName": "rect" @@ -11899,15 +12951,15 @@ }, "property": { "type": "Identifier", - "start": 5468, - "end": 5473, + "start": 5249, + "end": 5254, "loc": { "start": { - "line": 216, + "line": 203, "column": 50 }, "end": { - "line": 216, + "line": 203, "column": 55 }, "identifierName": "width" @@ -11920,29 +12972,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5476, - "end": 5484, + "start": 5257, + "end": 5265, "loc": { "start": { - "line": 216, + "line": 203, "column": 58 }, "end": { - "line": 216, + "line": 203, "column": 66 } }, "object": { "type": "Identifier", - "start": 5476, - "end": 5482, + "start": 5257, + "end": 5263, "loc": { "start": { - "line": 216, + "line": 203, "column": 58 }, "end": { - "line": 216, + "line": 203, "column": 64 }, "identifierName": "center" @@ -11951,15 +13003,15 @@ }, "property": { "type": "Identifier", - "start": 5483, - "end": 5484, + "start": 5264, + "end": 5265, "loc": { "start": { - "line": 216, + "line": 203, "column": 65 }, "end": { - "line": 216, + "line": 203, "column": 66 }, "identifierName": "x" @@ -11971,71 +13023,71 @@ }, { "type": "BinaryExpression", - "start": 5486, - "end": 5526, + "start": 5267, + "end": 5307, "loc": { "start": { - "line": 216, + "line": 203, "column": 68 }, "end": { - "line": 216, + "line": 203, "column": 108 } }, "left": { "type": "BinaryExpression", - "start": 5487, - "end": 5520, + "start": 5268, + "end": 5301, "loc": { "start": { - "line": 216, + "line": 203, "column": 69 }, "end": { - "line": 216, + "line": 203, "column": 102 } }, "left": { "type": "BinaryExpression", - "start": 5487, - "end": 5509, + "start": 5268, + "end": 5290, "loc": { "start": { - "line": 216, + "line": 203, "column": 69 }, "end": { - "line": 216, + "line": 203, "column": 91 } }, "left": { "type": "MemberExpression", - "start": 5487, - "end": 5495, + "start": 5268, + "end": 5276, "loc": { "start": { - "line": 216, + "line": 203, "column": 69 }, "end": { - "line": 216, + "line": 203, "column": 77 } }, "object": { "type": "Identifier", - "start": 5487, - "end": 5491, + "start": 5268, + "end": 5272, "loc": { "start": { - "line": 216, + "line": 203, "column": 69 }, "end": { - "line": 216, + "line": 203, "column": 73 }, "identifierName": "rect" @@ -12044,15 +13096,15 @@ }, "property": { "type": "Identifier", - "start": 5492, - "end": 5495, + "start": 5273, + "end": 5276, "loc": { "start": { - "line": 216, + "line": 203, "column": 74 }, "end": { - "line": 216, + "line": 203, "column": 77 }, "identifierName": "top" @@ -12064,29 +13116,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5498, - "end": 5509, + "start": 5279, + "end": 5290, "loc": { "start": { - "line": 216, + "line": 203, "column": 80 }, "end": { - "line": 216, + "line": 203, "column": 91 } }, "object": { "type": "Identifier", - "start": 5498, - "end": 5502, + "start": 5279, + "end": 5283, "loc": { "start": { - "line": 216, + "line": 203, "column": 80 }, "end": { - "line": 216, + "line": 203, "column": 84 }, "identifierName": "rect" @@ -12095,15 +13147,15 @@ }, "property": { "type": "Identifier", - "start": 5503, - "end": 5509, + "start": 5284, + "end": 5290, "loc": { "start": { - "line": 216, + "line": 203, "column": 85 }, "end": { - "line": 216, + "line": 203, "column": 91 }, "identifierName": "height" @@ -12116,29 +13168,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5512, - "end": 5520, + "start": 5293, + "end": 5301, "loc": { "start": { - "line": 216, + "line": 203, "column": 94 }, "end": { - "line": 216, + "line": 203, "column": 102 } }, "object": { "type": "Identifier", - "start": 5512, - "end": 5518, + "start": 5293, + "end": 5299, "loc": { "start": { - "line": 216, + "line": 203, "column": 94 }, "end": { - "line": 216, + "line": 203, "column": 100 }, "identifierName": "center" @@ -12147,15 +13199,15 @@ }, "property": { "type": "Identifier", - "start": 5519, - "end": 5520, + "start": 5300, + "end": 5301, "loc": { "start": { - "line": 216, + "line": 203, "column": 101 }, "end": { - "line": 216, + "line": 203, "column": 102 }, "identifierName": "y" @@ -12166,21 +13218,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 5486 + "parenStart": 5267 } }, "operator": "*", "right": { "type": "UnaryExpression", - "start": 5524, - "end": 5526, + "start": 5305, + "end": 5307, "loc": { "start": { - "line": 216, + "line": 203, "column": 106 }, "end": { - "line": 216, + "line": 203, "column": 108 } }, @@ -12188,15 +13240,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 5525, - "end": 5526, + "start": 5306, + "end": 5307, "loc": { "start": { - "line": 216, + "line": 203, "column": 107 }, "end": { - "line": 216, + "line": 203, "column": 108 } }, @@ -12219,44 +13271,44 @@ }, { "type": "VariableDeclaration", - "start": 5533, - "end": 5559, + "start": 5314, + "end": 5340, "loc": { "start": { - "line": 217, + "line": 204, "column": 4 }, "end": { - "line": 217, + "line": 204, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5537, - "end": 5558, + "start": 5318, + "end": 5339, "loc": { "start": { - "line": 217, + "line": 204, "column": 8 }, "end": { - "line": 217, + "line": 204, "column": 29 } }, "id": { "type": "Identifier", - "start": 5537, - "end": 5542, + "start": 5318, + "end": 5323, "loc": { "start": { - "line": 217, + "line": 204, "column": 8 }, "end": { - "line": 217, + "line": 204, "column": 13 }, "identifierName": "scale" @@ -12265,29 +13317,29 @@ }, "init": { "type": "BinaryExpression", - "start": 5545, - "end": 5558, + "start": 5326, + "end": 5339, "loc": { "start": { - "line": 217, + "line": 204, "column": 16 }, "end": { - "line": 217, + "line": 204, "column": 29 } }, "left": { "type": "Identifier", - "start": 5545, - "end": 5550, + "start": 5326, + "end": 5331, "loc": { "start": { - "line": 217, + "line": 204, "column": 16 }, "end": { - "line": 217, + "line": 204, "column": 21 }, "identifierName": "Len_Y" @@ -12297,15 +13349,15 @@ "operator": "/", "right": { "type": "Identifier", - "start": 5553, - "end": 5558, + "start": 5334, + "end": 5339, "loc": { "start": { - "line": 217, + "line": 204, "column": 24 }, "end": { - "line": 217, + "line": 204, "column": 29 }, "identifierName": "Len_X" @@ -12319,44 +13371,44 @@ }, { "type": "VariableDeclaration", - "start": 5564, - "end": 5577, + "start": 5345, + "end": 5358, "loc": { "start": { - "line": 218, + "line": 205, "column": 4 }, "end": { - "line": 218, + "line": 205, "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5568, - "end": 5576, + "start": 5349, + "end": 5357, "loc": { "start": { - "line": 218, + "line": 205, "column": 8 }, "end": { - "line": 218, + "line": 205, "column": 16 } }, "id": { "type": "Identifier", - "start": 5568, - "end": 5571, + "start": 5349, + "end": 5352, "loc": { "start": { - "line": 218, + "line": 205, "column": 8 }, "end": { - "line": 218, + "line": 205, "column": 11 }, "identifierName": "res" @@ -12365,15 +13417,15 @@ }, "init": { "type": "ObjectExpression", - "start": 5574, - "end": 5576, + "start": 5355, + "end": 5357, "loc": { "start": { - "line": 218, + "line": 205, "column": 14 }, "end": { - "line": 218, + "line": 205, "column": 16 } }, @@ -12385,43 +13437,43 @@ }, { "type": "IfStatement", - "start": 5583, - "end": 6566, + "start": 5364, + "end": 6347, "loc": { "start": { - "line": 220, + "line": 207, "column": 4 }, "end": { - "line": 255, + "line": 242, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 5587, - "end": 5614, + "start": 5368, + "end": 5395, "loc": { "start": { - "line": 220, + "line": 207, "column": 8 }, "end": { - "line": 220, + "line": 207, "column": 35 } }, "left": { "type": "Identifier", - "start": 5587, - "end": 5598, + "start": 5368, + "end": 5379, "loc": { "start": { - "line": 220, + "line": 207, "column": 8 }, "end": { - "line": 220, + "line": 207, "column": 19 }, "identifierName": "angleTarget" @@ -12431,15 +13483,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 5601, - "end": 5614, + "start": 5382, + "end": 5395, "loc": { "start": { - "line": 220, + "line": 207, "column": 22 }, "end": { - "line": 220, + "line": 207, "column": 35 }, "identifierName": "angleRightTop" @@ -12449,59 +13501,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 5616, - "end": 5775, + "start": 5397, + "end": 5556, "loc": { "start": { - "line": 220, + "line": 207, "column": 37 }, "end": { - "line": 227, + "line": 214, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 5626, - "end": 5655, + "start": 5407, + "end": 5436, "loc": { "start": { - "line": 221, + "line": 208, "column": 8 }, "end": { - "line": 221, + "line": 208, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5630, - "end": 5654, + "start": 5411, + "end": 5435, "loc": { "start": { - "line": 221, + "line": 208, "column": 12 }, "end": { - "line": 221, + "line": 208, "column": 36 } }, "id": { "type": "Identifier", - "start": 5630, - "end": 5632, + "start": 5411, + "end": 5413, "loc": { "start": { - "line": 221, + "line": 208, "column": 12 }, "end": { - "line": 221, + "line": 208, "column": 14 }, "identifierName": "y3" @@ -12510,43 +13562,43 @@ }, "init": { "type": "BinaryExpression", - "start": 5635, - "end": 5654, + "start": 5416, + "end": 5435, "loc": { "start": { - "line": 221, + "line": 208, "column": 17 }, "end": { - "line": 221, + "line": 208, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 5635, - "end": 5643, + "start": 5416, + "end": 5424, "loc": { "start": { - "line": 221, + "line": 208, "column": 17 }, "end": { - "line": 221, + "line": 208, "column": 25 } }, "object": { "type": "Identifier", - "start": 5635, - "end": 5639, + "start": 5416, + "end": 5420, "loc": { "start": { - "line": 221, + "line": 208, "column": 17 }, "end": { - "line": 221, + "line": 208, "column": 21 }, "identifierName": "rect" @@ -12555,15 +13607,15 @@ }, "property": { "type": "Identifier", - "start": 5640, - "end": 5643, + "start": 5421, + "end": 5424, "loc": { "start": { - "line": 221, + "line": 208, "column": 22 }, "end": { - "line": 221, + "line": 208, "column": 25 }, "identifierName": "top" @@ -12575,29 +13627,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5646, - "end": 5654, + "start": 5427, + "end": 5435, "loc": { "start": { - "line": 221, + "line": 208, "column": 28 }, "end": { - "line": 221, + "line": 208, "column": 36 } }, "object": { "type": "Identifier", - "start": 5646, - "end": 5652, + "start": 5427, + "end": 5433, "loc": { "start": { - "line": 221, + "line": 208, "column": 28 }, "end": { - "line": 221, + "line": 208, "column": 34 }, "identifierName": "center" @@ -12606,15 +13658,15 @@ }, "property": { "type": "Identifier", - "start": 5653, - "end": 5654, + "start": 5434, + "end": 5435, "loc": { "start": { - "line": 221, + "line": 208, "column": 35 }, "end": { - "line": 221, + "line": 208, "column": 36 }, "identifierName": "y" @@ -12630,44 +13682,44 @@ }, { "type": "VariableDeclaration", - "start": 5664, - "end": 5684, + "start": 5445, + "end": 5465, "loc": { "start": { - "line": 222, + "line": 209, "column": 8 }, "end": { - "line": 222, + "line": 209, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5668, - "end": 5683, + "start": 5449, + "end": 5464, "loc": { "start": { - "line": 222, + "line": 209, "column": 12 }, "end": { - "line": 222, + "line": 209, "column": 27 } }, "id": { "type": "Identifier", - "start": 5668, - "end": 5670, + "start": 5449, + "end": 5451, "loc": { "start": { - "line": 222, + "line": 209, "column": 12 }, "end": { - "line": 222, + "line": 209, "column": 14 }, "identifierName": "x3" @@ -12676,29 +13728,29 @@ }, "init": { "type": "BinaryExpression", - "start": 5673, - "end": 5683, + "start": 5454, + "end": 5464, "loc": { "start": { - "line": 222, + "line": 209, "column": 17 }, "end": { - "line": 222, + "line": 209, "column": 27 } }, "left": { "type": "Identifier", - "start": 5673, - "end": 5675, + "start": 5454, + "end": 5456, "loc": { "start": { - "line": 222, + "line": 209, "column": 17 }, "end": { - "line": 222, + "line": 209, "column": 19 }, "identifierName": "y3" @@ -12708,15 +13760,15 @@ "operator": "/", "right": { "type": "Identifier", - "start": 5678, - "end": 5683, + "start": 5459, + "end": 5464, "loc": { "start": { - "line": 222, + "line": 209, "column": 22 }, "end": { - "line": 222, + "line": 209, "column": 27 }, "identifierName": "scale" @@ -12730,44 +13782,44 @@ }, { "type": "ExpressionStatement", - "start": 5693, - "end": 5769, + "start": 5474, + "end": 5550, "loc": { "start": { - "line": 223, + "line": 210, "column": 8 }, "end": { - "line": 226, + "line": 213, "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 5693, - "end": 5769, + "start": 5474, + "end": 5550, "loc": { "start": { - "line": 223, + "line": 210, "column": 8 }, "end": { - "line": 226, + "line": 213, "column": 9 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5693, - "end": 5696, + "start": 5474, + "end": 5477, "loc": { "start": { - "line": 223, + "line": 210, "column": 8 }, "end": { - "line": 223, + "line": 210, "column": 11 }, "identifierName": "res" @@ -12776,30 +13828,30 @@ }, "right": { "type": "ObjectExpression", - "start": 5699, - "end": 5769, + "start": 5480, + "end": 5550, "loc": { "start": { - "line": 223, + "line": 210, "column": 14 }, "end": { - "line": 226, + "line": 213, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 5713, - "end": 5729, + "start": 5494, + "end": 5510, "loc": { "start": { - "line": 224, + "line": 211, "column": 12 }, "end": { - "line": 224, + "line": 211, "column": 28 } }, @@ -12808,15 +13860,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5713, - "end": 5714, + "start": 5494, + "end": 5495, "loc": { "start": { - "line": 224, + "line": 211, "column": 12 }, "end": { - "line": 224, + "line": 211, "column": 13 }, "identifierName": "y" @@ -12825,43 +13877,43 @@ }, "value": { "type": "BinaryExpression", - "start": 5716, - "end": 5729, + "start": 5497, + "end": 5510, "loc": { "start": { - "line": 224, + "line": 211, "column": 15 }, "end": { - "line": 224, + "line": 211, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 5716, - "end": 5724, + "start": 5497, + "end": 5505, "loc": { "start": { - "line": 224, + "line": 211, "column": 15 }, "end": { - "line": 224, + "line": 211, "column": 23 } }, "object": { "type": "Identifier", - "start": 5716, - "end": 5722, + "start": 5497, + "end": 5503, "loc": { "start": { - "line": 224, + "line": 211, "column": 15 }, "end": { - "line": 224, + "line": 211, "column": 21 }, "identifierName": "center" @@ -12870,15 +13922,15 @@ }, "property": { "type": "Identifier", - "start": 5723, - "end": 5724, + "start": 5504, + "end": 5505, "loc": { "start": { - "line": 224, + "line": 211, "column": 22 }, "end": { - "line": 224, + "line": 211, "column": 23 }, "identifierName": "y" @@ -12890,15 +13942,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 5727, - "end": 5729, + "start": 5508, + "end": 5510, "loc": { "start": { - "line": 224, + "line": 211, "column": 26 }, "end": { - "line": 224, + "line": 211, "column": 28 }, "identifierName": "y3" @@ -12909,15 +13961,15 @@ }, { "type": "ObjectProperty", - "start": 5743, - "end": 5759, + "start": 5524, + "end": 5540, "loc": { "start": { - "line": 225, + "line": 212, "column": 12 }, "end": { - "line": 225, + "line": 212, "column": 28 } }, @@ -12926,15 +13978,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5743, - "end": 5744, + "start": 5524, + "end": 5525, "loc": { "start": { - "line": 225, + "line": 212, "column": 12 }, "end": { - "line": 225, + "line": 212, "column": 13 }, "identifierName": "x" @@ -12943,43 +13995,43 @@ }, "value": { "type": "BinaryExpression", - "start": 5746, - "end": 5759, + "start": 5527, + "end": 5540, "loc": { "start": { - "line": 225, + "line": 212, "column": 15 }, "end": { - "line": 225, + "line": 212, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 5746, - "end": 5754, + "start": 5527, + "end": 5535, "loc": { "start": { - "line": 225, + "line": 212, "column": 15 }, "end": { - "line": 225, + "line": 212, "column": 23 } }, "object": { "type": "Identifier", - "start": 5746, - "end": 5752, + "start": 5527, + "end": 5533, "loc": { "start": { - "line": 225, + "line": 212, "column": 15 }, "end": { - "line": 225, + "line": 212, "column": 21 }, "identifierName": "center" @@ -12988,15 +14040,15 @@ }, "property": { "type": "Identifier", - "start": 5753, - "end": 5754, + "start": 5534, + "end": 5535, "loc": { "start": { - "line": 225, + "line": 212, "column": 22 }, "end": { - "line": 225, + "line": 212, "column": 23 }, "identifierName": "x" @@ -13008,15 +14060,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 5757, - "end": 5759, + "start": 5538, + "end": 5540, "loc": { "start": { - "line": 225, + "line": 212, "column": 26 }, "end": { - "line": 225, + "line": 212, "column": 28 }, "identifierName": "x3" @@ -13034,43 +14086,43 @@ }, "alternate": { "type": "IfStatement", - "start": 5781, - "end": 6566, + "start": 5562, + "end": 6347, "loc": { "start": { - "line": 227, + "line": 214, "column": 11 }, "end": { - "line": 255, + "line": 242, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 5784, - "end": 5814, + "start": 5565, + "end": 5595, "loc": { "start": { - "line": 227, + "line": 214, "column": 14 }, "end": { - "line": 227, + "line": 214, "column": 44 } }, "left": { "type": "Identifier", - "start": 5784, - "end": 5795, + "start": 5565, + "end": 5576, "loc": { "start": { - "line": 227, + "line": 214, "column": 14 }, "end": { - "line": 227, + "line": 214, "column": 25 }, "identifierName": "angleTarget" @@ -13080,15 +14132,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 5798, - "end": 5814, + "start": 5579, + "end": 5595, "loc": { "start": { - "line": 227, + "line": 214, "column": 28 }, "end": { - "line": 227, + "line": 214, "column": 44 }, "identifierName": "angleRightBottom" @@ -13098,59 +14150,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 5816, - "end": 5989, + "start": 5597, + "end": 5770, "loc": { "start": { - "line": 227, + "line": 214, "column": 46 }, "end": { - "line": 234, + "line": 221, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 5826, - "end": 5869, + "start": 5607, + "end": 5650, "loc": { "start": { - "line": 228, + "line": 215, "column": 8 }, "end": { - "line": 228, + "line": 215, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5830, - "end": 5868, + "start": 5611, + "end": 5649, "loc": { "start": { - "line": 228, + "line": 215, "column": 12 }, "end": { - "line": 228, + "line": 215, "column": 50 } }, "id": { "type": "Identifier", - "start": 5830, - "end": 5832, + "start": 5611, + "end": 5613, "loc": { "start": { - "line": 228, + "line": 215, "column": 12 }, "end": { - "line": 228, + "line": 215, "column": 14 }, "identifierName": "x3" @@ -13159,57 +14211,57 @@ }, "init": { "type": "BinaryExpression", - "start": 5835, - "end": 5868, + "start": 5616, + "end": 5649, "loc": { "start": { - "line": 228, + "line": 215, "column": 17 }, "end": { - "line": 228, + "line": 215, "column": 50 } }, "left": { "type": "BinaryExpression", - "start": 5835, - "end": 5857, + "start": 5616, + "end": 5638, "loc": { "start": { - "line": 228, + "line": 215, "column": 17 }, "end": { - "line": 228, + "line": 215, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 5835, - "end": 5844, + "start": 5616, + "end": 5625, "loc": { "start": { - "line": 228, + "line": 215, "column": 17 }, "end": { - "line": 228, + "line": 215, "column": 26 } }, "object": { "type": "Identifier", - "start": 5835, - "end": 5839, + "start": 5616, + "end": 5620, "loc": { "start": { - "line": 228, + "line": 215, "column": 17 }, "end": { - "line": 228, + "line": 215, "column": 21 }, "identifierName": "rect" @@ -13218,15 +14270,15 @@ }, "property": { "type": "Identifier", - "start": 5840, - "end": 5844, + "start": 5621, + "end": 5625, "loc": { "start": { - "line": 228, + "line": 215, "column": 22 }, "end": { - "line": 228, + "line": 215, "column": 26 }, "identifierName": "left" @@ -13238,29 +14290,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 5847, - "end": 5857, + "start": 5628, + "end": 5638, "loc": { "start": { - "line": 228, + "line": 215, "column": 29 }, "end": { - "line": 228, + "line": 215, "column": 39 } }, "object": { "type": "Identifier", - "start": 5847, - "end": 5851, + "start": 5628, + "end": 5632, "loc": { "start": { - "line": 228, + "line": 215, "column": 29 }, "end": { - "line": 228, + "line": 215, "column": 33 }, "identifierName": "rect" @@ -13269,15 +14321,15 @@ }, "property": { "type": "Identifier", - "start": 5852, - "end": 5857, + "start": 5633, + "end": 5638, "loc": { "start": { - "line": 228, + "line": 215, "column": 34 }, "end": { - "line": 228, + "line": 215, "column": 39 }, "identifierName": "width" @@ -13290,29 +14342,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 5860, - "end": 5868, + "start": 5641, + "end": 5649, "loc": { "start": { - "line": 228, + "line": 215, "column": 42 }, "end": { - "line": 228, + "line": 215, "column": 50 } }, "object": { "type": "Identifier", - "start": 5860, - "end": 5866, + "start": 5641, + "end": 5647, "loc": { "start": { - "line": 228, + "line": 215, "column": 42 }, "end": { - "line": 228, + "line": 215, "column": 48 }, "identifierName": "center" @@ -13321,15 +14373,15 @@ }, "property": { "type": "Identifier", - "start": 5867, - "end": 5868, + "start": 5648, + "end": 5649, "loc": { "start": { - "line": 228, + "line": 215, "column": 49 }, "end": { - "line": 228, + "line": 215, "column": 50 }, "identifierName": "x" @@ -13345,44 +14397,44 @@ }, { "type": "VariableDeclaration", - "start": 5878, - "end": 5898, + "start": 5659, + "end": 5679, "loc": { "start": { - "line": 229, + "line": 216, "column": 8 }, "end": { - "line": 229, + "line": 216, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5882, - "end": 5897, + "start": 5663, + "end": 5678, "loc": { "start": { - "line": 229, + "line": 216, "column": 12 }, "end": { - "line": 229, + "line": 216, "column": 27 } }, "id": { "type": "Identifier", - "start": 5882, - "end": 5884, + "start": 5663, + "end": 5665, "loc": { "start": { - "line": 229, + "line": 216, "column": 12 }, "end": { - "line": 229, + "line": 216, "column": 14 }, "identifierName": "y3" @@ -13391,29 +14443,29 @@ }, "init": { "type": "BinaryExpression", - "start": 5887, - "end": 5897, + "start": 5668, + "end": 5678, "loc": { "start": { - "line": 229, + "line": 216, "column": 17 }, "end": { - "line": 229, + "line": 216, "column": 27 } }, "left": { "type": "Identifier", - "start": 5887, - "end": 5889, + "start": 5668, + "end": 5670, "loc": { "start": { - "line": 229, + "line": 216, "column": 17 }, "end": { - "line": 229, + "line": 216, "column": 19 }, "identifierName": "x3" @@ -13423,15 +14475,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 5892, - "end": 5897, + "start": 5673, + "end": 5678, "loc": { "start": { - "line": 229, + "line": 216, "column": 22 }, "end": { - "line": 229, + "line": 216, "column": 27 }, "identifierName": "scale" @@ -13445,44 +14497,44 @@ }, { "type": "ExpressionStatement", - "start": 5907, - "end": 5983, + "start": 5688, + "end": 5764, "loc": { "start": { - "line": 230, + "line": 217, "column": 8 }, "end": { - "line": 233, + "line": 220, "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 5907, - "end": 5983, + "start": 5688, + "end": 5764, "loc": { "start": { - "line": 230, + "line": 217, "column": 8 }, "end": { - "line": 233, + "line": 220, "column": 9 } }, "operator": "=", "left": { "type": "Identifier", - "start": 5907, - "end": 5910, + "start": 5688, + "end": 5691, "loc": { "start": { - "line": 230, + "line": 217, "column": 8 }, "end": { - "line": 230, + "line": 217, "column": 11 }, "identifierName": "res" @@ -13491,30 +14543,30 @@ }, "right": { "type": "ObjectExpression", - "start": 5913, - "end": 5983, + "start": 5694, + "end": 5764, "loc": { "start": { - "line": 230, + "line": 217, "column": 14 }, "end": { - "line": 233, + "line": 220, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 5927, - "end": 5943, + "start": 5708, + "end": 5724, "loc": { "start": { - "line": 231, + "line": 218, "column": 12 }, "end": { - "line": 231, + "line": 218, "column": 28 } }, @@ -13523,15 +14575,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5927, - "end": 5928, + "start": 5708, + "end": 5709, "loc": { "start": { - "line": 231, + "line": 218, "column": 12 }, "end": { - "line": 231, + "line": 218, "column": 13 }, "identifierName": "y" @@ -13540,43 +14592,43 @@ }, "value": { "type": "BinaryExpression", - "start": 5930, - "end": 5943, + "start": 5711, + "end": 5724, "loc": { "start": { - "line": 231, + "line": 218, "column": 15 }, "end": { - "line": 231, + "line": 218, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 5930, - "end": 5938, + "start": 5711, + "end": 5719, "loc": { "start": { - "line": 231, + "line": 218, "column": 15 }, "end": { - "line": 231, + "line": 218, "column": 23 } }, "object": { "type": "Identifier", - "start": 5930, - "end": 5936, + "start": 5711, + "end": 5717, "loc": { "start": { - "line": 231, + "line": 218, "column": 15 }, "end": { - "line": 231, + "line": 218, "column": 21 }, "identifierName": "center" @@ -13585,15 +14637,15 @@ }, "property": { "type": "Identifier", - "start": 5937, - "end": 5938, + "start": 5718, + "end": 5719, "loc": { "start": { - "line": 231, + "line": 218, "column": 22 }, "end": { - "line": 231, + "line": 218, "column": 23 }, "identifierName": "y" @@ -13605,15 +14657,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 5941, - "end": 5943, + "start": 5722, + "end": 5724, "loc": { "start": { - "line": 231, + "line": 218, "column": 26 }, "end": { - "line": 231, + "line": 218, "column": 28 }, "identifierName": "y3" @@ -13624,15 +14676,15 @@ }, { "type": "ObjectProperty", - "start": 5957, - "end": 5973, + "start": 5738, + "end": 5754, "loc": { "start": { - "line": 232, + "line": 219, "column": 12 }, "end": { - "line": 232, + "line": 219, "column": 28 } }, @@ -13641,15 +14693,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5957, - "end": 5958, + "start": 5738, + "end": 5739, "loc": { "start": { - "line": 232, + "line": 219, "column": 12 }, "end": { - "line": 232, + "line": 219, "column": 13 }, "identifierName": "x" @@ -13658,43 +14710,43 @@ }, "value": { "type": "BinaryExpression", - "start": 5960, - "end": 5973, + "start": 5741, + "end": 5754, "loc": { "start": { - "line": 232, + "line": 219, "column": 15 }, "end": { - "line": 232, + "line": 219, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 5960, - "end": 5968, + "start": 5741, + "end": 5749, "loc": { "start": { - "line": 232, + "line": 219, "column": 15 }, "end": { - "line": 232, + "line": 219, "column": 23 } }, "object": { "type": "Identifier", - "start": 5960, - "end": 5966, + "start": 5741, + "end": 5747, "loc": { "start": { - "line": 232, + "line": 219, "column": 15 }, "end": { - "line": 232, + "line": 219, "column": 21 }, "identifierName": "center" @@ -13703,15 +14755,15 @@ }, "property": { "type": "Identifier", - "start": 5967, - "end": 5968, + "start": 5748, + "end": 5749, "loc": { "start": { - "line": 232, + "line": 219, "column": 22 }, "end": { - "line": 232, + "line": 219, "column": 23 }, "identifierName": "x" @@ -13723,15 +14775,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 5971, - "end": 5973, + "start": 5752, + "end": 5754, "loc": { "start": { - "line": 232, + "line": 219, "column": 26 }, "end": { - "line": 232, + "line": 219, "column": 28 }, "identifierName": "x3" @@ -13749,43 +14801,43 @@ }, "alternate": { "type": "IfStatement", - "start": 5995, - "end": 6566, + "start": 5776, + "end": 6347, "loc": { "start": { - "line": 234, + "line": 221, "column": 11 }, "end": { - "line": 255, + "line": 242, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 5999, - "end": 6028, + "start": 5780, + "end": 5809, "loc": { "start": { - "line": 234, + "line": 221, "column": 15 }, "end": { - "line": 234, + "line": 221, "column": 44 } }, "left": { "type": "Identifier", - "start": 5999, - "end": 6010, + "start": 5780, + "end": 5791, "loc": { "start": { - "line": 234, + "line": 221, "column": 15 }, "end": { - "line": 234, + "line": 221, "column": 26 }, "identifierName": "angleTarget" @@ -13795,15 +14847,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 6013, - "end": 6028, + "start": 5794, + "end": 5809, "loc": { "start": { - "line": 234, + "line": 221, "column": 29 }, "end": { - "line": 234, + "line": 221, "column": 44 }, "identifierName": "angleLeftBottom" @@ -13813,59 +14865,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6030, - "end": 6203, + "start": 5811, + "end": 5984, "loc": { "start": { - "line": 234, + "line": 221, "column": 46 }, "end": { - "line": 241, + "line": 228, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 6040, - "end": 6083, + "start": 5821, + "end": 5864, "loc": { "start": { - "line": 235, + "line": 222, "column": 8 }, "end": { - "line": 235, + "line": 222, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6044, - "end": 6082, + "start": 5825, + "end": 5863, "loc": { "start": { - "line": 235, + "line": 222, "column": 12 }, "end": { - "line": 235, + "line": 222, "column": 50 } }, "id": { "type": "Identifier", - "start": 6044, - "end": 6046, + "start": 5825, + "end": 5827, "loc": { "start": { - "line": 235, + "line": 222, "column": 12 }, "end": { - "line": 235, + "line": 222, "column": 14 }, "identifierName": "y3" @@ -13874,57 +14926,57 @@ }, "init": { "type": "BinaryExpression", - "start": 6049, - "end": 6082, + "start": 5830, + "end": 5863, "loc": { "start": { - "line": 235, + "line": 222, "column": 17 }, "end": { - "line": 235, + "line": 222, "column": 50 } }, "left": { "type": "BinaryExpression", - "start": 6049, - "end": 6071, + "start": 5830, + "end": 5852, "loc": { "start": { - "line": 235, + "line": 222, "column": 17 }, "end": { - "line": 235, + "line": 222, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 6049, - "end": 6057, + "start": 5830, + "end": 5838, "loc": { "start": { - "line": 235, + "line": 222, "column": 17 }, "end": { - "line": 235, + "line": 222, "column": 25 } }, "object": { "type": "Identifier", - "start": 6049, - "end": 6053, + "start": 5830, + "end": 5834, "loc": { "start": { - "line": 235, + "line": 222, "column": 17 }, "end": { - "line": 235, + "line": 222, "column": 21 }, "identifierName": "rect" @@ -13933,15 +14985,15 @@ }, "property": { "type": "Identifier", - "start": 6054, - "end": 6057, + "start": 5835, + "end": 5838, "loc": { "start": { - "line": 235, + "line": 222, "column": 22 }, "end": { - "line": 235, + "line": 222, "column": 25 }, "identifierName": "top" @@ -13953,29 +15005,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 6060, - "end": 6071, + "start": 5841, + "end": 5852, "loc": { "start": { - "line": 235, + "line": 222, "column": 28 }, "end": { - "line": 235, + "line": 222, "column": 39 } }, "object": { "type": "Identifier", - "start": 6060, - "end": 6064, + "start": 5841, + "end": 5845, "loc": { "start": { - "line": 235, + "line": 222, "column": 28 }, "end": { - "line": 235, + "line": 222, "column": 32 }, "identifierName": "rect" @@ -13984,15 +15036,15 @@ }, "property": { "type": "Identifier", - "start": 6065, - "end": 6071, + "start": 5846, + "end": 5852, "loc": { "start": { - "line": 235, + "line": 222, "column": 33 }, "end": { - "line": 235, + "line": 222, "column": 39 }, "identifierName": "height" @@ -14005,29 +15057,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 6074, - "end": 6082, + "start": 5855, + "end": 5863, "loc": { "start": { - "line": 235, + "line": 222, "column": 42 }, "end": { - "line": 235, + "line": 222, "column": 50 } }, "object": { "type": "Identifier", - "start": 6074, - "end": 6080, + "start": 5855, + "end": 5861, "loc": { "start": { - "line": 235, + "line": 222, "column": 42 }, "end": { - "line": 235, + "line": 222, "column": 48 }, "identifierName": "center" @@ -14036,15 +15088,15 @@ }, "property": { "type": "Identifier", - "start": 6081, - "end": 6082, + "start": 5862, + "end": 5863, "loc": { "start": { - "line": 235, + "line": 222, "column": 49 }, "end": { - "line": 235, + "line": 222, "column": 50 }, "identifierName": "y" @@ -14060,44 +15112,44 @@ }, { "type": "VariableDeclaration", - "start": 6092, - "end": 6112, + "start": 5873, + "end": 5893, "loc": { "start": { - "line": 236, + "line": 223, "column": 8 }, "end": { - "line": 236, + "line": 223, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6096, - "end": 6111, + "start": 5877, + "end": 5892, "loc": { "start": { - "line": 236, + "line": 223, "column": 12 }, "end": { - "line": 236, + "line": 223, "column": 27 } }, "id": { "type": "Identifier", - "start": 6096, - "end": 6098, + "start": 5877, + "end": 5879, "loc": { "start": { - "line": 236, + "line": 223, "column": 12 }, "end": { - "line": 236, + "line": 223, "column": 14 }, "identifierName": "x3" @@ -14106,29 +15158,29 @@ }, "init": { "type": "BinaryExpression", - "start": 6101, - "end": 6111, + "start": 5882, + "end": 5892, "loc": { "start": { - "line": 236, + "line": 223, "column": 17 }, "end": { - "line": 236, + "line": 223, "column": 27 } }, "left": { "type": "Identifier", - "start": 6101, - "end": 6103, + "start": 5882, + "end": 5884, "loc": { "start": { - "line": 236, + "line": 223, "column": 17 }, "end": { - "line": 236, + "line": 223, "column": 19 }, "identifierName": "y3" @@ -14138,15 +15190,15 @@ "operator": "/", "right": { "type": "Identifier", - "start": 6106, - "end": 6111, + "start": 5887, + "end": 5892, "loc": { "start": { - "line": 236, + "line": 223, "column": 22 }, "end": { - "line": 236, + "line": 223, "column": 27 }, "identifierName": "scale" @@ -14160,44 +15212,44 @@ }, { "type": "ExpressionStatement", - "start": 6121, - "end": 6197, + "start": 5902, + "end": 5978, "loc": { "start": { - "line": 237, + "line": 224, "column": 8 }, "end": { - "line": 240, + "line": 227, "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 6121, - "end": 6197, + "start": 5902, + "end": 5978, "loc": { "start": { - "line": 237, + "line": 224, "column": 8 }, "end": { - "line": 240, + "line": 227, "column": 9 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6121, - "end": 6124, + "start": 5902, + "end": 5905, "loc": { "start": { - "line": 237, + "line": 224, "column": 8 }, "end": { - "line": 237, + "line": 224, "column": 11 }, "identifierName": "res" @@ -14206,30 +15258,30 @@ }, "right": { "type": "ObjectExpression", - "start": 6127, - "end": 6197, + "start": 5908, + "end": 5978, "loc": { "start": { - "line": 237, + "line": 224, "column": 14 }, "end": { - "line": 240, + "line": 227, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 6141, - "end": 6157, + "start": 5922, + "end": 5938, "loc": { "start": { - "line": 238, + "line": 225, "column": 12 }, "end": { - "line": 238, + "line": 225, "column": 28 } }, @@ -14238,15 +15290,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6141, - "end": 6142, + "start": 5922, + "end": 5923, "loc": { "start": { - "line": 238, + "line": 225, "column": 12 }, "end": { - "line": 238, + "line": 225, "column": 13 }, "identifierName": "y" @@ -14255,43 +15307,43 @@ }, "value": { "type": "BinaryExpression", - "start": 6144, - "end": 6157, + "start": 5925, + "end": 5938, "loc": { "start": { - "line": 238, + "line": 225, "column": 15 }, "end": { - "line": 238, + "line": 225, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 6144, - "end": 6152, + "start": 5925, + "end": 5933, "loc": { "start": { - "line": 238, + "line": 225, "column": 15 }, "end": { - "line": 238, + "line": 225, "column": 23 } }, "object": { "type": "Identifier", - "start": 6144, - "end": 6150, + "start": 5925, + "end": 5931, "loc": { "start": { - "line": 238, + "line": 225, "column": 15 }, "end": { - "line": 238, + "line": 225, "column": 21 }, "identifierName": "center" @@ -14300,15 +15352,15 @@ }, "property": { "type": "Identifier", - "start": 6151, - "end": 6152, + "start": 5932, + "end": 5933, "loc": { "start": { - "line": 238, + "line": 225, "column": 22 }, "end": { - "line": 238, + "line": 225, "column": 23 }, "identifierName": "y" @@ -14320,15 +15372,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6155, - "end": 6157, + "start": 5936, + "end": 5938, "loc": { "start": { - "line": 238, + "line": 225, "column": 26 }, "end": { - "line": 238, + "line": 225, "column": 28 }, "identifierName": "y3" @@ -14339,15 +15391,15 @@ }, { "type": "ObjectProperty", - "start": 6171, - "end": 6187, + "start": 5952, + "end": 5968, "loc": { "start": { - "line": 239, + "line": 226, "column": 12 }, "end": { - "line": 239, + "line": 226, "column": 28 } }, @@ -14356,15 +15408,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6171, - "end": 6172, + "start": 5952, + "end": 5953, "loc": { "start": { - "line": 239, + "line": 226, "column": 12 }, "end": { - "line": 239, + "line": 226, "column": 13 }, "identifierName": "x" @@ -14373,43 +15425,43 @@ }, "value": { "type": "BinaryExpression", - "start": 6174, - "end": 6187, + "start": 5955, + "end": 5968, "loc": { "start": { - "line": 239, + "line": 226, "column": 15 }, "end": { - "line": 239, + "line": 226, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 6174, - "end": 6182, + "start": 5955, + "end": 5963, "loc": { "start": { - "line": 239, + "line": 226, "column": 15 }, "end": { - "line": 239, + "line": 226, "column": 23 } }, "object": { "type": "Identifier", - "start": 6174, - "end": 6180, + "start": 5955, + "end": 5961, "loc": { "start": { - "line": 239, + "line": 226, "column": 15 }, "end": { - "line": 239, + "line": 226, "column": 21 }, "identifierName": "center" @@ -14418,15 +15470,15 @@ }, "property": { "type": "Identifier", - "start": 6181, - "end": 6182, + "start": 5962, + "end": 5963, "loc": { "start": { - "line": 239, + "line": 226, "column": 22 }, "end": { - "line": 239, + "line": 226, "column": 23 }, "identifierName": "x" @@ -14438,15 +15490,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6185, - "end": 6187, + "start": 5966, + "end": 5968, "loc": { "start": { - "line": 239, + "line": 226, "column": 26 }, "end": { - "line": 239, + "line": 226, "column": 28 }, "identifierName": "x3" @@ -14464,43 +15516,43 @@ }, "alternate": { "type": "IfStatement", - "start": 6209, - "end": 6566, + "start": 5990, + "end": 6347, "loc": { "start": { - "line": 241, + "line": 228, "column": 11 }, "end": { - "line": 255, + "line": 242, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 6213, - "end": 6239, + "start": 5994, + "end": 6020, "loc": { "start": { - "line": 241, + "line": 228, "column": 15 }, "end": { - "line": 241, + "line": 228, "column": 41 } }, "left": { "type": "Identifier", - "start": 6213, - "end": 6224, + "start": 5994, + "end": 6005, "loc": { "start": { - "line": 241, + "line": 228, "column": 15 }, "end": { - "line": 241, + "line": 228, "column": 26 }, "identifierName": "angleTarget" @@ -14510,15 +15562,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 6227, - "end": 6239, + "start": 6008, + "end": 6020, "loc": { "start": { - "line": 241, + "line": 228, "column": 29 }, "end": { - "line": 241, + "line": 228, "column": 41 }, "identifierName": "angleLeftTop" @@ -14528,59 +15580,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6241, - "end": 6401, + "start": 6022, + "end": 6182, "loc": { "start": { - "line": 241, + "line": 228, "column": 43 }, "end": { - "line": 248, + "line": 235, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 6251, - "end": 6281, + "start": 6032, + "end": 6062, "loc": { "start": { - "line": 242, + "line": 229, "column": 8 }, "end": { - "line": 242, + "line": 229, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6255, - "end": 6280, + "start": 6036, + "end": 6061, "loc": { "start": { - "line": 242, + "line": 229, "column": 12 }, "end": { - "line": 242, + "line": 229, "column": 37 } }, "id": { "type": "Identifier", - "start": 6255, - "end": 6257, + "start": 6036, + "end": 6038, "loc": { "start": { - "line": 242, + "line": 229, "column": 12 }, "end": { - "line": 242, + "line": 229, "column": 14 }, "identifierName": "x3" @@ -14589,43 +15641,43 @@ }, "init": { "type": "BinaryExpression", - "start": 6260, - "end": 6280, + "start": 6041, + "end": 6061, "loc": { "start": { - "line": 242, + "line": 229, "column": 17 }, "end": { - "line": 242, + "line": 229, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 6260, - "end": 6268, + "start": 6041, + "end": 6049, "loc": { "start": { - "line": 242, + "line": 229, "column": 17 }, "end": { - "line": 242, + "line": 229, "column": 25 } }, "object": { "type": "Identifier", - "start": 6260, - "end": 6266, + "start": 6041, + "end": 6047, "loc": { "start": { - "line": 242, + "line": 229, "column": 17 }, "end": { - "line": 242, + "line": 229, "column": 23 }, "identifierName": "center" @@ -14634,15 +15686,15 @@ }, "property": { "type": "Identifier", - "start": 6267, - "end": 6268, + "start": 6048, + "end": 6049, "loc": { "start": { - "line": 242, + "line": 229, "column": 24 }, "end": { - "line": 242, + "line": 229, "column": 25 }, "identifierName": "x" @@ -14654,29 +15706,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 6271, - "end": 6280, + "start": 6052, + "end": 6061, "loc": { "start": { - "line": 242, + "line": 229, "column": 28 }, "end": { - "line": 242, + "line": 229, "column": 37 } }, "object": { "type": "Identifier", - "start": 6271, - "end": 6275, + "start": 6052, + "end": 6056, "loc": { "start": { - "line": 242, + "line": 229, "column": 28 }, "end": { - "line": 242, + "line": 229, "column": 32 }, "identifierName": "rect" @@ -14685,15 +15737,15 @@ }, "property": { "type": "Identifier", - "start": 6276, - "end": 6280, + "start": 6057, + "end": 6061, "loc": { "start": { - "line": 242, + "line": 229, "column": 33 }, "end": { - "line": 242, + "line": 229, "column": 37 }, "identifierName": "left" @@ -14709,44 +15761,44 @@ }, { "type": "VariableDeclaration", - "start": 6290, - "end": 6310, + "start": 6071, + "end": 6091, "loc": { "start": { - "line": 243, + "line": 230, "column": 8 }, "end": { - "line": 243, + "line": 230, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6294, - "end": 6309, + "start": 6075, + "end": 6090, "loc": { "start": { - "line": 243, + "line": 230, "column": 12 }, "end": { - "line": 243, + "line": 230, "column": 27 } }, "id": { "type": "Identifier", - "start": 6294, - "end": 6296, + "start": 6075, + "end": 6077, "loc": { "start": { - "line": 243, + "line": 230, "column": 12 }, "end": { - "line": 243, + "line": 230, "column": 14 }, "identifierName": "y3" @@ -14755,29 +15807,29 @@ }, "init": { "type": "BinaryExpression", - "start": 6299, - "end": 6309, + "start": 6080, + "end": 6090, "loc": { "start": { - "line": 243, + "line": 230, "column": 17 }, "end": { - "line": 243, + "line": 230, "column": 27 } }, "left": { "type": "Identifier", - "start": 6299, - "end": 6301, + "start": 6080, + "end": 6082, "loc": { "start": { - "line": 243, + "line": 230, "column": 17 }, "end": { - "line": 243, + "line": 230, "column": 19 }, "identifierName": "x3" @@ -14787,15 +15839,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 6304, - "end": 6309, + "start": 6085, + "end": 6090, "loc": { "start": { - "line": 243, + "line": 230, "column": 22 }, "end": { - "line": 243, + "line": 230, "column": 27 }, "identifierName": "scale" @@ -14809,44 +15861,44 @@ }, { "type": "ExpressionStatement", - "start": 6319, - "end": 6395, + "start": 6100, + "end": 6176, "loc": { "start": { - "line": 244, + "line": 231, "column": 8 }, "end": { - "line": 247, + "line": 234, "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 6319, - "end": 6395, + "start": 6100, + "end": 6176, "loc": { "start": { - "line": 244, + "line": 231, "column": 8 }, "end": { - "line": 247, + "line": 234, "column": 9 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6319, - "end": 6322, + "start": 6100, + "end": 6103, "loc": { "start": { - "line": 244, + "line": 231, "column": 8 }, "end": { - "line": 244, + "line": 231, "column": 11 }, "identifierName": "res" @@ -14855,30 +15907,30 @@ }, "right": { "type": "ObjectExpression", - "start": 6325, - "end": 6395, + "start": 6106, + "end": 6176, "loc": { "start": { - "line": 244, + "line": 231, "column": 14 }, "end": { - "line": 247, + "line": 234, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 6339, - "end": 6355, + "start": 6120, + "end": 6136, "loc": { "start": { - "line": 245, + "line": 232, "column": 12 }, "end": { - "line": 245, + "line": 232, "column": 28 } }, @@ -14887,15 +15939,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6339, - "end": 6340, + "start": 6120, + "end": 6121, "loc": { "start": { - "line": 245, + "line": 232, "column": 12 }, "end": { - "line": 245, + "line": 232, "column": 13 }, "identifierName": "y" @@ -14904,43 +15956,43 @@ }, "value": { "type": "BinaryExpression", - "start": 6342, - "end": 6355, + "start": 6123, + "end": 6136, "loc": { "start": { - "line": 245, + "line": 232, "column": 15 }, "end": { - "line": 245, + "line": 232, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 6342, - "end": 6350, + "start": 6123, + "end": 6131, "loc": { "start": { - "line": 245, + "line": 232, "column": 15 }, "end": { - "line": 245, + "line": 232, "column": 23 } }, "object": { "type": "Identifier", - "start": 6342, - "end": 6348, + "start": 6123, + "end": 6129, "loc": { "start": { - "line": 245, + "line": 232, "column": 15 }, "end": { - "line": 245, + "line": 232, "column": 21 }, "identifierName": "center" @@ -14949,15 +16001,15 @@ }, "property": { "type": "Identifier", - "start": 6349, - "end": 6350, + "start": 6130, + "end": 6131, "loc": { "start": { - "line": 245, + "line": 232, "column": 22 }, "end": { - "line": 245, + "line": 232, "column": 23 }, "identifierName": "y" @@ -14969,15 +16021,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 6353, - "end": 6355, + "start": 6134, + "end": 6136, "loc": { "start": { - "line": 245, + "line": 232, "column": 26 }, "end": { - "line": 245, + "line": 232, "column": 28 }, "identifierName": "y3" @@ -14988,15 +16040,15 @@ }, { "type": "ObjectProperty", - "start": 6369, - "end": 6385, + "start": 6150, + "end": 6166, "loc": { "start": { - "line": 246, + "line": 233, "column": 12 }, "end": { - "line": 246, + "line": 233, "column": 28 } }, @@ -15005,15 +16057,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6369, - "end": 6370, + "start": 6150, + "end": 6151, "loc": { "start": { - "line": 246, + "line": 233, "column": 12 }, "end": { - "line": 246, + "line": 233, "column": 13 }, "identifierName": "x" @@ -15022,43 +16074,43 @@ }, "value": { "type": "BinaryExpression", - "start": 6372, - "end": 6385, + "start": 6153, + "end": 6166, "loc": { "start": { - "line": 246, + "line": 233, "column": 15 }, "end": { - "line": 246, + "line": 233, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 6372, - "end": 6380, + "start": 6153, + "end": 6161, "loc": { "start": { - "line": 246, + "line": 233, "column": 15 }, "end": { - "line": 246, + "line": 233, "column": 23 } }, "object": { "type": "Identifier", - "start": 6372, - "end": 6378, + "start": 6153, + "end": 6159, "loc": { "start": { - "line": 246, + "line": 233, "column": 15 }, "end": { - "line": 246, + "line": 233, "column": 21 }, "identifierName": "center" @@ -15067,15 +16119,15 @@ }, "property": { "type": "Identifier", - "start": 6379, - "end": 6380, + "start": 6160, + "end": 6161, "loc": { "start": { - "line": 246, + "line": 233, "column": 22 }, "end": { - "line": 246, + "line": 233, "column": 23 }, "identifierName": "x" @@ -15087,15 +16139,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 6383, - "end": 6385, + "start": 6164, + "end": 6166, "loc": { "start": { - "line": 246, + "line": 233, "column": 26 }, "end": { - "line": 246, + "line": 233, "column": 28 }, "identifierName": "x3" @@ -15113,59 +16165,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 6407, - "end": 6566, + "start": 6188, + "end": 6347, "loc": { "start": { - "line": 248, + "line": 235, "column": 11 }, "end": { - "line": 255, + "line": 242, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 6417, - "end": 6446, + "start": 6198, + "end": 6227, "loc": { "start": { - "line": 249, + "line": 236, "column": 8 }, "end": { - "line": 249, + "line": 236, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6421, - "end": 6445, + "start": 6202, + "end": 6226, "loc": { "start": { - "line": 249, + "line": 236, "column": 12 }, "end": { - "line": 249, + "line": 236, "column": 36 } }, "id": { "type": "Identifier", - "start": 6421, - "end": 6423, + "start": 6202, + "end": 6204, "loc": { "start": { - "line": 249, + "line": 236, "column": 12 }, "end": { - "line": 249, + "line": 236, "column": 14 }, "identifierName": "y3" @@ -15174,43 +16226,43 @@ }, "init": { "type": "BinaryExpression", - "start": 6426, - "end": 6445, + "start": 6207, + "end": 6226, "loc": { "start": { - "line": 249, + "line": 236, "column": 17 }, "end": { - "line": 249, + "line": 236, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 6426, - "end": 6434, + "start": 6207, + "end": 6215, "loc": { "start": { - "line": 249, + "line": 236, "column": 17 }, "end": { - "line": 249, + "line": 236, "column": 25 } }, "object": { "type": "Identifier", - "start": 6426, - "end": 6430, + "start": 6207, + "end": 6211, "loc": { "start": { - "line": 249, + "line": 236, "column": 17 }, "end": { - "line": 249, + "line": 236, "column": 21 }, "identifierName": "rect" @@ -15219,15 +16271,15 @@ }, "property": { "type": "Identifier", - "start": 6431, - "end": 6434, + "start": 6212, + "end": 6215, "loc": { "start": { - "line": 249, + "line": 236, "column": 22 }, "end": { - "line": 249, + "line": 236, "column": 25 }, "identifierName": "top" @@ -15239,29 +16291,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 6437, - "end": 6445, + "start": 6218, + "end": 6226, "loc": { "start": { - "line": 249, + "line": 236, "column": 28 }, "end": { - "line": 249, + "line": 236, "column": 36 } }, "object": { "type": "Identifier", - "start": 6437, - "end": 6443, + "start": 6218, + "end": 6224, "loc": { "start": { - "line": 249, + "line": 236, "column": 28 }, "end": { - "line": 249, + "line": 236, "column": 34 }, "identifierName": "center" @@ -15270,15 +16322,15 @@ }, "property": { "type": "Identifier", - "start": 6444, - "end": 6445, + "start": 6225, + "end": 6226, "loc": { "start": { - "line": 249, + "line": 236, "column": 35 }, "end": { - "line": 249, + "line": 236, "column": 36 }, "identifierName": "y" @@ -15294,44 +16346,44 @@ }, { "type": "VariableDeclaration", - "start": 6455, - "end": 6475, + "start": 6236, + "end": 6256, "loc": { "start": { - "line": 250, + "line": 237, "column": 8 }, "end": { - "line": 250, + "line": 237, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6459, - "end": 6474, + "start": 6240, + "end": 6255, "loc": { "start": { - "line": 250, + "line": 237, "column": 12 }, "end": { - "line": 250, + "line": 237, "column": 27 } }, "id": { "type": "Identifier", - "start": 6459, - "end": 6461, + "start": 6240, + "end": 6242, "loc": { "start": { - "line": 250, + "line": 237, "column": 12 }, "end": { - "line": 250, + "line": 237, "column": 14 }, "identifierName": "x3" @@ -15340,29 +16392,29 @@ }, "init": { "type": "BinaryExpression", - "start": 6464, - "end": 6474, + "start": 6245, + "end": 6255, "loc": { "start": { - "line": 250, + "line": 237, "column": 17 }, "end": { - "line": 250, + "line": 237, "column": 27 } }, "left": { "type": "Identifier", - "start": 6464, - "end": 6466, + "start": 6245, + "end": 6247, "loc": { "start": { - "line": 250, + "line": 237, "column": 17 }, "end": { - "line": 250, + "line": 237, "column": 19 }, "identifierName": "y3" @@ -15372,15 +16424,15 @@ "operator": "/", "right": { "type": "Identifier", - "start": 6469, - "end": 6474, + "start": 6250, + "end": 6255, "loc": { "start": { - "line": 250, + "line": 237, "column": 22 }, "end": { - "line": 250, + "line": 237, "column": 27 }, "identifierName": "scale" @@ -15394,44 +16446,44 @@ }, { "type": "ExpressionStatement", - "start": 6484, - "end": 6560, + "start": 6265, + "end": 6341, "loc": { "start": { - "line": 251, + "line": 238, "column": 8 }, "end": { - "line": 254, + "line": 241, "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 6484, - "end": 6560, + "start": 6265, + "end": 6341, "loc": { "start": { - "line": 251, + "line": 238, "column": 8 }, "end": { - "line": 254, + "line": 241, "column": 9 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6484, - "end": 6487, + "start": 6265, + "end": 6268, "loc": { "start": { - "line": 251, + "line": 238, "column": 8 }, "end": { - "line": 251, + "line": 238, "column": 11 }, "identifierName": "res" @@ -15440,30 +16492,30 @@ }, "right": { "type": "ObjectExpression", - "start": 6490, - "end": 6560, + "start": 6271, + "end": 6341, "loc": { "start": { - "line": 251, + "line": 238, "column": 14 }, "end": { - "line": 254, + "line": 241, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 6504, - "end": 6520, + "start": 6285, + "end": 6301, "loc": { "start": { - "line": 252, + "line": 239, "column": 12 }, "end": { - "line": 252, + "line": 239, "column": 28 } }, @@ -15472,15 +16524,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6504, - "end": 6505, + "start": 6285, + "end": 6286, "loc": { "start": { - "line": 252, + "line": 239, "column": 12 }, "end": { - "line": 252, + "line": 239, "column": 13 }, "identifierName": "y" @@ -15489,43 +16541,43 @@ }, "value": { "type": "BinaryExpression", - "start": 6507, - "end": 6520, + "start": 6288, + "end": 6301, "loc": { "start": { - "line": 252, + "line": 239, "column": 15 }, "end": { - "line": 252, + "line": 239, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 6507, - "end": 6515, + "start": 6288, + "end": 6296, "loc": { "start": { - "line": 252, + "line": 239, "column": 15 }, "end": { - "line": 252, + "line": 239, "column": 23 } }, "object": { "type": "Identifier", - "start": 6507, - "end": 6513, + "start": 6288, + "end": 6294, "loc": { "start": { - "line": 252, + "line": 239, "column": 15 }, "end": { - "line": 252, + "line": 239, "column": 21 }, "identifierName": "center" @@ -15534,15 +16586,15 @@ }, "property": { "type": "Identifier", - "start": 6514, - "end": 6515, + "start": 6295, + "end": 6296, "loc": { "start": { - "line": 252, + "line": 239, "column": 22 }, "end": { - "line": 252, + "line": 239, "column": 23 }, "identifierName": "y" @@ -15554,15 +16606,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6518, - "end": 6520, + "start": 6299, + "end": 6301, "loc": { "start": { - "line": 252, + "line": 239, "column": 26 }, "end": { - "line": 252, + "line": 239, "column": 28 }, "identifierName": "y3" @@ -15573,15 +16625,15 @@ }, { "type": "ObjectProperty", - "start": 6534, - "end": 6550, + "start": 6315, + "end": 6331, "loc": { "start": { - "line": 253, + "line": 240, "column": 12 }, "end": { - "line": 253, + "line": 240, "column": 28 } }, @@ -15590,15 +16642,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6534, - "end": 6535, + "start": 6315, + "end": 6316, "loc": { "start": { - "line": 253, + "line": 240, "column": 12 }, "end": { - "line": 253, + "line": 240, "column": 13 }, "identifierName": "x" @@ -15607,43 +16659,43 @@ }, "value": { "type": "BinaryExpression", - "start": 6537, - "end": 6550, + "start": 6318, + "end": 6331, "loc": { "start": { - "line": 253, + "line": 240, "column": 15 }, "end": { - "line": 253, + "line": 240, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 6537, - "end": 6545, + "start": 6318, + "end": 6326, "loc": { "start": { - "line": 253, + "line": 240, "column": 15 }, "end": { - "line": 253, + "line": 240, "column": 23 } }, "object": { "type": "Identifier", - "start": 6537, - "end": 6543, + "start": 6318, + "end": 6324, "loc": { "start": { - "line": 253, + "line": 240, "column": 15 }, "end": { - "line": 253, + "line": 240, "column": 21 }, "identifierName": "center" @@ -15652,15 +16704,15 @@ }, "property": { "type": "Identifier", - "start": 6544, - "end": 6545, + "start": 6325, + "end": 6326, "loc": { "start": { - "line": 253, + "line": 240, "column": 22 }, "end": { - "line": 253, + "line": 240, "column": 23 }, "identifierName": "x" @@ -15672,15 +16724,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 6548, - "end": 6550, + "start": 6329, + "end": 6331, "loc": { "start": { - "line": 253, + "line": 240, "column": 26 }, "end": { - "line": 253, + "line": 240, "column": 28 }, "identifierName": "x3" @@ -15702,29 +16754,29 @@ }, { "type": "ReturnStatement", - "start": 6572, - "end": 6583, + "start": 6353, + "end": 6364, "loc": { "start": { - "line": 257, + "line": 244, "column": 4 }, "end": { - "line": 257, + "line": 244, "column": 15 } }, "argument": { "type": "Identifier", - "start": 6579, - "end": 6582, + "start": 6360, + "end": 6363, "loc": { "start": { - "line": 257, + "line": 244, "column": 11 }, "end": { - "line": 257, + "line": 244, "column": 14 }, "identifierName": "res" @@ -15738,29 +16790,29 @@ }, { "type": "FunctionDeclaration", - "start": 6587, - "end": 7340, + "start": 6368, + "end": 7125, "loc": { "start": { - "line": 260, + "line": 247, "column": 0 }, "end": { - "line": 285, + "line": 272, "column": 1 } }, "id": { "type": "Identifier", - "start": 6596, - "end": 6609, + "start": 6377, + "end": 6390, "loc": { "start": { - "line": 260, + "line": 247, "column": 9 }, "end": { - "line": 260, + "line": 247, "column": 22 }, "identifierName": "modelTurnHead" @@ -15773,15 +16825,15 @@ "params": [ { "type": "Identifier", - "start": 6610, - "end": 6615, + "start": 6391, + "end": 6396, "loc": { "start": { - "line": 260, + "line": 247, "column": 23 }, "end": { - "line": 260, + "line": 247, "column": 28 }, "identifierName": "event" @@ -15791,59 +16843,59 @@ ], "body": { "type": "BlockStatement", - "start": 6617, - "end": 7340, + "start": 6398, + "end": 7125, "loc": { "start": { - "line": 261, + "line": 248, "column": 0 }, "end": { - "line": 285, + "line": 272, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 6623, - "end": 6635, + "start": 6404, + "end": 6416, "loc": { "start": { - "line": 262, + "line": 249, "column": 4 }, "end": { - "line": 262, + "line": 249, "column": 16 } }, "expression": { "type": "AssignmentExpression", - "start": 6623, - "end": 6634, + "start": 6404, + "end": 6415, "loc": { "start": { - "line": 262, + "line": 249, "column": 4 }, "end": { - "line": 262, + "line": 249, "column": 15 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6623, - "end": 6627, + "start": 6404, + "end": 6408, "loc": { "start": { - "line": 262, + "line": 249, "column": 4 }, "end": { - "line": 262, + "line": 249, "column": 8 }, "identifierName": "drag" @@ -15852,15 +16904,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 6630, - "end": 6634, + "start": 6411, + "end": 6415, "loc": { "start": { - "line": 262, + "line": 249, "column": 11 }, "end": { - "line": 262, + "line": 249, "column": 15 } }, @@ -15870,44 +16922,44 @@ }, { "type": "VariableDeclaration", - "start": 6641, - "end": 6683, + "start": 6422, + "end": 6468, "loc": { "start": { - "line": 264, + "line": 251, "column": 4 }, "end": { - "line": 264, - "column": 46 + "line": 251, + "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6645, - "end": 6682, + "start": 6426, + "end": 6467, "loc": { "start": { - "line": 264, + "line": 251, "column": 8 }, "end": { - "line": 264, - "column": 45 + "line": 251, + "column": 49 } }, "id": { "type": "Identifier", - "start": 6645, - "end": 6649, + "start": 6426, + "end": 6430, "loc": { "start": { - "line": 264, + "line": 251, "column": 8 }, "end": { - "line": 264, + "line": 251, "column": 12 }, "identifierName": "rect" @@ -15916,61 +16968,61 @@ }, "init": { "type": "CallExpression", - "start": 6652, - "end": 6682, + "start": 6433, + "end": 6467, "loc": { "start": { - "line": 264, + "line": 251, "column": 15 }, "end": { - "line": 264, - "column": 45 + "line": 251, + "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 6652, - "end": 6680, + "start": 6433, + "end": 6465, "loc": { "start": { - "line": 264, + "line": 251, "column": 15 }, "end": { - "line": 264, - "column": 43 + "line": 251, + "column": 47 } }, "object": { "type": "Identifier", - "start": 6652, - "end": 6658, + "start": 6433, + "end": 6443, "loc": { "start": { - "line": 264, + "line": 251, "column": 15 }, "end": { - "line": 264, - "column": 21 + "line": 251, + "column": 25 }, - "identifierName": "canvas" + "identifierName": "currCanvas" }, - "name": "canvas" + "name": "currCanvas" }, "property": { "type": "Identifier", - "start": 6659, - "end": 6680, + "start": 6444, + "end": 6465, "loc": { "start": { - "line": 264, - "column": 22 + "line": 251, + "column": 26 }, "end": { - "line": 264, - "column": 43 + "line": 251, + "column": 47 }, "identifierName": "getBoundingClientRect" }, @@ -15986,44 +17038,44 @@ }, { "type": "VariableDeclaration", - "start": 6689, - "end": 6742, + "start": 6474, + "end": 6527, "loc": { "start": { - "line": 266, + "line": 253, "column": 4 }, "end": { - "line": 266, + "line": 253, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6693, - "end": 6741, + "start": 6478, + "end": 6526, "loc": { "start": { - "line": 266, + "line": 253, "column": 8 }, "end": { - "line": 266, + "line": 253, "column": 56 } }, "id": { "type": "Identifier", - "start": 6693, - "end": 6695, + "start": 6478, + "end": 6480, "loc": { "start": { - "line": 266, + "line": 253, "column": 8 }, "end": { - "line": 266, + "line": 253, "column": 10 }, "identifierName": "sx" @@ -16032,29 +17084,29 @@ }, "init": { "type": "CallExpression", - "start": 6698, - "end": 6741, + "start": 6483, + "end": 6526, "loc": { "start": { - "line": 266, + "line": 253, "column": 13 }, "end": { - "line": 266, + "line": 253, "column": 56 } }, "callee": { "type": "Identifier", - "start": 6698, - "end": 6714, + "start": 6483, + "end": 6499, "loc": { "start": { - "line": 266, + "line": 253, "column": 13 }, "end": { - "line": 266, + "line": 253, "column": 29 }, "identifierName": "transformScreenX" @@ -16064,43 +17116,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 6715, - "end": 6740, + "start": 6500, + "end": 6525, "loc": { "start": { - "line": 266, + "line": 253, "column": 30 }, "end": { - "line": 266, + "line": 253, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 6715, - "end": 6728, + "start": 6500, + "end": 6513, "loc": { "start": { - "line": 266, + "line": 253, "column": 30 }, "end": { - "line": 266, + "line": 253, "column": 43 } }, "object": { "type": "Identifier", - "start": 6715, - "end": 6720, + "start": 6500, + "end": 6505, "loc": { "start": { - "line": 266, + "line": 253, "column": 30 }, "end": { - "line": 266, + "line": 253, "column": 35 }, "identifierName": "event" @@ -16109,15 +17161,15 @@ }, "property": { "type": "Identifier", - "start": 6721, - "end": 6728, + "start": 6506, + "end": 6513, "loc": { "start": { - "line": 266, + "line": 253, "column": 36 }, "end": { - "line": 266, + "line": 253, "column": 43 }, "identifierName": "clientX" @@ -16129,29 +17181,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 6731, - "end": 6740, + "start": 6516, + "end": 6525, "loc": { "start": { - "line": 266, + "line": 253, "column": 46 }, "end": { - "line": 266, + "line": 253, "column": 55 } }, "object": { "type": "Identifier", - "start": 6731, - "end": 6735, + "start": 6516, + "end": 6520, "loc": { "start": { - "line": 266, + "line": 253, "column": 46 }, "end": { - "line": 266, + "line": 253, "column": 50 }, "identifierName": "rect" @@ -16160,15 +17212,15 @@ }, "property": { "type": "Identifier", - "start": 6736, - "end": 6740, + "start": 6521, + "end": 6525, "loc": { "start": { - "line": 266, + "line": 253, "column": 51 }, "end": { - "line": 266, + "line": 253, "column": 55 }, "identifierName": "left" @@ -16186,44 +17238,44 @@ }, { "type": "VariableDeclaration", - "start": 6747, - "end": 6799, + "start": 6532, + "end": 6584, "loc": { "start": { - "line": 267, + "line": 254, "column": 4 }, "end": { - "line": 267, + "line": 254, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6751, - "end": 6798, + "start": 6536, + "end": 6583, "loc": { "start": { - "line": 267, + "line": 254, "column": 8 }, "end": { - "line": 267, + "line": 254, "column": 55 } }, "id": { "type": "Identifier", - "start": 6751, - "end": 6753, + "start": 6536, + "end": 6538, "loc": { "start": { - "line": 267, + "line": 254, "column": 8 }, "end": { - "line": 267, + "line": 254, "column": 10 }, "identifierName": "sy" @@ -16232,29 +17284,29 @@ }, "init": { "type": "CallExpression", - "start": 6756, - "end": 6798, + "start": 6541, + "end": 6583, "loc": { "start": { - "line": 267, + "line": 254, "column": 13 }, "end": { - "line": 267, + "line": 254, "column": 55 } }, "callee": { "type": "Identifier", - "start": 6756, - "end": 6772, + "start": 6541, + "end": 6557, "loc": { "start": { - "line": 267, + "line": 254, "column": 13 }, "end": { - "line": 267, + "line": 254, "column": 29 }, "identifierName": "transformScreenY" @@ -16264,43 +17316,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 6773, - "end": 6797, + "start": 6558, + "end": 6582, "loc": { "start": { - "line": 267, + "line": 254, "column": 30 }, "end": { - "line": 267, + "line": 254, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 6773, - "end": 6786, + "start": 6558, + "end": 6571, "loc": { "start": { - "line": 267, + "line": 254, "column": 30 }, "end": { - "line": 267, + "line": 254, "column": 43 } }, "object": { "type": "Identifier", - "start": 6773, - "end": 6778, + "start": 6558, + "end": 6563, "loc": { "start": { - "line": 267, + "line": 254, "column": 30 }, "end": { - "line": 267, + "line": 254, "column": 35 }, "identifierName": "event" @@ -16309,15 +17361,15 @@ }, "property": { "type": "Identifier", - "start": 6779, - "end": 6786, + "start": 6564, + "end": 6571, "loc": { "start": { - "line": 267, + "line": 254, "column": 36 }, "end": { - "line": 267, + "line": 254, "column": 43 }, "identifierName": "clientY" @@ -16329,29 +17381,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 6789, - "end": 6797, + "start": 6574, + "end": 6582, "loc": { "start": { - "line": 267, + "line": 254, "column": 46 }, "end": { - "line": 267, + "line": 254, "column": 54 } }, "object": { "type": "Identifier", - "start": 6789, - "end": 6793, + "start": 6574, + "end": 6578, "loc": { "start": { - "line": 267, + "line": 254, "column": 46 }, "end": { - "line": 267, + "line": 254, "column": 50 }, "identifierName": "rect" @@ -16360,15 +17412,15 @@ }, "property": { "type": "Identifier", - "start": 6794, - "end": 6797, + "start": 6579, + "end": 6582, "loc": { "start": { - "line": 267, + "line": 254, "column": 51 }, "end": { - "line": 267, + "line": 254, "column": 54 }, "identifierName": "top" @@ -16386,44 +17438,44 @@ }, { "type": "VariableDeclaration", - "start": 6804, - "end": 6988, + "start": 6589, + "end": 6773, "loc": { "start": { - "line": 268, + "line": 255, "column": 4 }, "end": { - "line": 274, + "line": 261, "column": 12 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6808, - "end": 6988, + "start": 6593, + "end": 6773, "loc": { "start": { - "line": 268, + "line": 255, "column": 8 }, "end": { - "line": 274, + "line": 261, "column": 12 } }, "id": { "type": "Identifier", - "start": 6808, - "end": 6814, + "start": 6593, + "end": 6599, "loc": { "start": { - "line": 268, + "line": 255, "column": 8 }, "end": { - "line": 268, + "line": 255, "column": 14 }, "identifierName": "target" @@ -16432,29 +17484,29 @@ }, "init": { "type": "CallExpression", - "start": 6817, - "end": 6988, + "start": 6602, + "end": 6773, "loc": { "start": { - "line": 268, + "line": 255, "column": 17 }, "end": { - "line": 274, + "line": 261, "column": 12 } }, "callee": { "type": "Identifier", - "start": 6817, - "end": 6830, + "start": 6602, + "end": 6615, "loc": { "start": { - "line": 268, + "line": 255, "column": 17 }, "end": { - "line": 268, + "line": 255, "column": 30 }, "identifierName": "transformRect" @@ -16464,30 +17516,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 6831, - "end": 6921, + "start": 6616, + "end": 6706, "loc": { "start": { - "line": 268, + "line": 255, "column": 31 }, "end": { - "line": 271, + "line": 258, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 6841, - "end": 6870, + "start": 6626, + "end": 6655, "loc": { "start": { - "line": 269, + "line": 256, "column": 8 }, "end": { - "line": 269, + "line": 256, "column": 37 } }, @@ -16496,15 +17548,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6841, - "end": 6842, + "start": 6626, + "end": 6627, "loc": { "start": { - "line": 269, + "line": 256, "column": 8 }, "end": { - "line": 269, + "line": 256, "column": 9 }, "identifierName": "x" @@ -16513,43 +17565,43 @@ }, "value": { "type": "BinaryExpression", - "start": 6844, - "end": 6870, + "start": 6629, + "end": 6655, "loc": { "start": { - "line": 269, + "line": 256, "column": 11 }, "end": { - "line": 269, + "line": 256, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 6844, - "end": 6853, + "start": 6629, + "end": 6638, "loc": { "start": { - "line": 269, + "line": 256, "column": 11 }, "end": { - "line": 269, + "line": 256, "column": 20 } }, "object": { "type": "Identifier", - "start": 6844, - "end": 6848, + "start": 6629, + "end": 6633, "loc": { "start": { - "line": 269, + "line": 256, "column": 11 }, "end": { - "line": 269, + "line": 256, "column": 15 }, "identifierName": "rect" @@ -16558,15 +17610,15 @@ }, "property": { "type": "Identifier", - "start": 6849, - "end": 6853, + "start": 6634, + "end": 6638, "loc": { "start": { - "line": 269, + "line": 256, "column": 16 }, "end": { - "line": 269, + "line": 256, "column": 20 }, "identifierName": "left" @@ -16578,43 +17630,43 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 6856, - "end": 6870, + "start": 6641, + "end": 6655, "loc": { "start": { - "line": 269, + "line": 256, "column": 23 }, "end": { - "line": 269, + "line": 256, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 6856, - "end": 6866, + "start": 6641, + "end": 6651, "loc": { "start": { - "line": 269, + "line": 256, "column": 23 }, "end": { - "line": 269, + "line": 256, "column": 33 } }, "object": { "type": "Identifier", - "start": 6856, - "end": 6860, + "start": 6641, + "end": 6645, "loc": { "start": { - "line": 269, + "line": 256, "column": 23 }, "end": { - "line": 269, + "line": 256, "column": 27 }, "identifierName": "rect" @@ -16623,15 +17675,15 @@ }, "property": { "type": "Identifier", - "start": 6861, - "end": 6866, + "start": 6646, + "end": 6651, "loc": { "start": { - "line": 269, + "line": 256, "column": 28 }, "end": { - "line": 269, + "line": 256, "column": 33 }, "identifierName": "width" @@ -16643,15 +17695,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 6869, - "end": 6870, + "start": 6654, + "end": 6655, "loc": { "start": { - "line": 269, + "line": 256, "column": 36 }, "end": { - "line": 269, + "line": 256, "column": 37 } }, @@ -16666,15 +17718,15 @@ }, { "type": "ObjectProperty", - "start": 6880, - "end": 6915, + "start": 6665, + "end": 6700, "loc": { "start": { - "line": 270, + "line": 257, "column": 8 }, "end": { - "line": 270, + "line": 257, "column": 43 } }, @@ -16683,15 +17735,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6880, - "end": 6881, + "start": 6665, + "end": 6666, "loc": { "start": { - "line": 270, + "line": 257, "column": 8 }, "end": { - "line": 270, + "line": 257, "column": 9 }, "identifierName": "y" @@ -16700,43 +17752,43 @@ }, "value": { "type": "BinaryExpression", - "start": 6883, - "end": 6915, + "start": 6668, + "end": 6700, "loc": { "start": { - "line": 270, + "line": 257, "column": 11 }, "end": { - "line": 270, + "line": 257, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 6883, - "end": 6891, + "start": 6668, + "end": 6676, "loc": { "start": { - "line": 270, + "line": 257, "column": 11 }, "end": { - "line": 270, + "line": 257, "column": 19 } }, "object": { "type": "Identifier", - "start": 6883, - "end": 6887, + "start": 6668, + "end": 6672, "loc": { "start": { - "line": 270, + "line": 257, "column": 11 }, "end": { - "line": 270, + "line": 257, "column": 15 }, "identifierName": "rect" @@ -16745,15 +17797,15 @@ }, "property": { "type": "Identifier", - "start": 6888, - "end": 6891, + "start": 6673, + "end": 6676, "loc": { "start": { - "line": 270, + "line": 257, "column": 16 }, "end": { - "line": 270, + "line": 257, "column": 19 }, "identifierName": "top" @@ -16765,43 +17817,43 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 6894, - "end": 6915, + "start": 6679, + "end": 6700, "loc": { "start": { - "line": 270, + "line": 257, "column": 22 }, "end": { - "line": 270, + "line": 257, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 6894, - "end": 6905, + "start": 6679, + "end": 6690, "loc": { "start": { - "line": 270, + "line": 257, "column": 22 }, "end": { - "line": 270, + "line": 257, "column": 33 } }, "object": { "type": "Identifier", - "start": 6894, - "end": 6898, + "start": 6679, + "end": 6683, "loc": { "start": { - "line": 270, + "line": 257, "column": 22 }, "end": { - "line": 270, + "line": 257, "column": 26 }, "identifierName": "rect" @@ -16810,15 +17862,15 @@ }, "property": { "type": "Identifier", - "start": 6899, - "end": 6905, + "start": 6684, + "end": 6690, "loc": { "start": { - "line": 270, + "line": 257, "column": 27 }, "end": { - "line": 270, + "line": 257, "column": 33 }, "identifierName": "height" @@ -16830,15 +17882,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 6908, - "end": 6915, + "start": 6693, + "end": 6700, "loc": { "start": { - "line": 270, + "line": 257, "column": 36 }, "end": { - "line": 270, + "line": 257, "column": 43 }, "identifierName": "headPos" @@ -16852,30 +17904,30 @@ }, { "type": "ObjectExpression", - "start": 6923, - "end": 6981, + "start": 6708, + "end": 6766, "loc": { "start": { - "line": 271, + "line": 258, "column": 7 }, "end": { - "line": 274, + "line": 261, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 6933, - "end": 6949, + "start": 6718, + "end": 6734, "loc": { "start": { - "line": 272, + "line": 259, "column": 8 }, "end": { - "line": 272, + "line": 259, "column": 24 } }, @@ -16884,15 +17936,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6933, - "end": 6934, + "start": 6718, + "end": 6719, "loc": { "start": { - "line": 272, + "line": 259, "column": 8 }, "end": { - "line": 272, + "line": 259, "column": 9 }, "identifierName": "x" @@ -16901,29 +17953,29 @@ }, "value": { "type": "MemberExpression", - "start": 6936, - "end": 6949, + "start": 6721, + "end": 6734, "loc": { "start": { - "line": 272, + "line": 259, "column": 11 }, "end": { - "line": 272, + "line": 259, "column": 24 } }, "object": { "type": "Identifier", - "start": 6936, - "end": 6941, + "start": 6721, + "end": 6726, "loc": { "start": { - "line": 272, + "line": 259, "column": 11 }, "end": { - "line": 272, + "line": 259, "column": 16 }, "identifierName": "event" @@ -16932,15 +17984,15 @@ }, "property": { "type": "Identifier", - "start": 6942, - "end": 6949, + "start": 6727, + "end": 6734, "loc": { "start": { - "line": 272, + "line": 259, "column": 17 }, "end": { - "line": 272, + "line": 259, "column": 24 }, "identifierName": "clientX" @@ -16952,15 +18004,15 @@ }, { "type": "ObjectProperty", - "start": 6959, - "end": 6975, + "start": 6744, + "end": 6760, "loc": { "start": { - "line": 273, + "line": 260, "column": 8 }, "end": { - "line": 273, + "line": 260, "column": 24 } }, @@ -16969,15 +18021,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 6959, - "end": 6960, + "start": 6744, + "end": 6745, "loc": { "start": { - "line": 273, + "line": 260, "column": 8 }, "end": { - "line": 273, + "line": 260, "column": 9 }, "identifierName": "y" @@ -16986,29 +18038,29 @@ }, "value": { "type": "MemberExpression", - "start": 6962, - "end": 6975, + "start": 6747, + "end": 6760, "loc": { "start": { - "line": 273, + "line": 260, "column": 11 }, "end": { - "line": 273, + "line": 260, "column": 24 } }, "object": { "type": "Identifier", - "start": 6962, - "end": 6967, + "start": 6747, + "end": 6752, "loc": { "start": { - "line": 273, + "line": 260, "column": 11 }, "end": { - "line": 273, + "line": 260, "column": 16 }, "identifierName": "event" @@ -17017,15 +18069,15 @@ }, "property": { "type": "Identifier", - "start": 6968, - "end": 6975, + "start": 6753, + "end": 6760, "loc": { "start": { - "line": 273, + "line": 260, "column": 17 }, "end": { - "line": 273, + "line": 260, "column": 24 }, "identifierName": "clientY" @@ -17039,15 +18091,15 @@ }, { "type": "Identifier", - "start": 6983, - "end": 6987, + "start": 6768, + "end": 6772, "loc": { "start": { - "line": 274, + "line": 261, "column": 7 }, "end": { - "line": 274, + "line": 261, "column": 11 }, "identifierName": "rect" @@ -17062,44 +18114,44 @@ }, { "type": "VariableDeclaration", - "start": 6993, - "end": 7039, + "start": 6778, + "end": 6824, "loc": { "start": { - "line": 275, + "line": 262, "column": 4 }, "end": { - "line": 275, + "line": 262, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6997, - "end": 7038, + "start": 6782, + "end": 6823, "loc": { "start": { - "line": 275, + "line": 262, "column": 8 }, "end": { - "line": 275, + "line": 262, "column": 49 } }, "id": { "type": "Identifier", - "start": 6997, - "end": 6999, + "start": 6782, + "end": 6784, "loc": { "start": { - "line": 275, + "line": 262, "column": 8 }, "end": { - "line": 275, + "line": 262, "column": 10 }, "identifierName": "vx" @@ -17108,29 +18160,29 @@ }, "init": { "type": "CallExpression", - "start": 7002, - "end": 7038, + "start": 6787, + "end": 6823, "loc": { "start": { - "line": 275, + "line": 262, "column": 13 }, "end": { - "line": 275, + "line": 262, "column": 49 } }, "callee": { "type": "Identifier", - "start": 7002, - "end": 7016, + "start": 6787, + "end": 6801, "loc": { "start": { - "line": 275, + "line": 262, "column": 13 }, "end": { - "line": 275, + "line": 262, "column": 27 }, "identifierName": "transformViewX" @@ -17140,43 +18192,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7017, - "end": 7037, + "start": 6802, + "end": 6822, "loc": { "start": { - "line": 275, + "line": 262, "column": 28 }, "end": { - "line": 275, + "line": 262, "column": 48 } }, "left": { "type": "MemberExpression", - "start": 7017, - "end": 7025, + "start": 6802, + "end": 6810, "loc": { "start": { - "line": 275, + "line": 262, "column": 28 }, "end": { - "line": 275, + "line": 262, "column": 36 } }, "object": { "type": "Identifier", - "start": 7017, - "end": 7023, + "start": 6802, + "end": 6808, "loc": { "start": { - "line": 275, + "line": 262, "column": 28 }, "end": { - "line": 275, + "line": 262, "column": 34 }, "identifierName": "target" @@ -17185,15 +18237,15 @@ }, "property": { "type": "Identifier", - "start": 7024, - "end": 7025, + "start": 6809, + "end": 6810, "loc": { "start": { - "line": 275, + "line": 262, "column": 35 }, "end": { - "line": 275, + "line": 262, "column": 36 }, "identifierName": "x" @@ -17205,29 +18257,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 7028, - "end": 7037, + "start": 6813, + "end": 6822, "loc": { "start": { - "line": 275, + "line": 262, "column": 39 }, "end": { - "line": 275, + "line": 262, "column": 48 } }, "object": { "type": "Identifier", - "start": 7028, - "end": 7032, + "start": 6813, + "end": 6817, "loc": { "start": { - "line": 275, + "line": 262, "column": 39 }, "end": { - "line": 275, + "line": 262, "column": 43 }, "identifierName": "rect" @@ -17236,15 +18288,15 @@ }, "property": { "type": "Identifier", - "start": 7033, - "end": 7037, + "start": 6818, + "end": 6822, "loc": { "start": { - "line": 275, + "line": 262, "column": 44 }, "end": { - "line": 275, + "line": 262, "column": 48 }, "identifierName": "left" @@ -17262,44 +18314,44 @@ }, { "type": "VariableDeclaration", - "start": 7044, - "end": 7089, + "start": 6829, + "end": 6874, "loc": { "start": { - "line": 276, + "line": 263, "column": 4 }, "end": { - "line": 276, + "line": 263, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7048, - "end": 7088, + "start": 6833, + "end": 6873, "loc": { "start": { - "line": 276, + "line": 263, "column": 8 }, "end": { - "line": 276, + "line": 263, "column": 48 } }, "id": { "type": "Identifier", - "start": 7048, - "end": 7050, + "start": 6833, + "end": 6835, "loc": { "start": { - "line": 276, + "line": 263, "column": 8 }, "end": { - "line": 276, + "line": 263, "column": 10 }, "identifierName": "vy" @@ -17308,29 +18360,29 @@ }, "init": { "type": "CallExpression", - "start": 7053, - "end": 7088, + "start": 6838, + "end": 6873, "loc": { "start": { - "line": 276, + "line": 263, "column": 13 }, "end": { - "line": 276, + "line": 263, "column": 48 } }, "callee": { "type": "Identifier", - "start": 7053, - "end": 7067, + "start": 6838, + "end": 6852, "loc": { "start": { - "line": 276, + "line": 263, "column": 13 }, "end": { - "line": 276, + "line": 263, "column": 27 }, "identifierName": "transformViewY" @@ -17340,43 +18392,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7068, - "end": 7087, + "start": 6853, + "end": 6872, "loc": { "start": { - "line": 276, + "line": 263, "column": 28 }, "end": { - "line": 276, + "line": 263, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 7068, - "end": 7076, + "start": 6853, + "end": 6861, "loc": { "start": { - "line": 276, + "line": 263, "column": 28 }, "end": { - "line": 276, + "line": 263, "column": 36 } }, "object": { "type": "Identifier", - "start": 7068, - "end": 7074, + "start": 6853, + "end": 6859, "loc": { "start": { - "line": 276, + "line": 263, "column": 28 }, "end": { - "line": 276, + "line": 263, "column": 34 }, "identifierName": "target" @@ -17385,15 +18437,15 @@ }, "property": { "type": "Identifier", - "start": 7075, - "end": 7076, + "start": 6860, + "end": 6861, "loc": { "start": { - "line": 276, + "line": 263, "column": 35 }, "end": { - "line": 276, + "line": 263, "column": 36 }, "identifierName": "y" @@ -17405,29 +18457,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 7079, - "end": 7087, + "start": 6864, + "end": 6872, "loc": { "start": { - "line": 276, + "line": 263, "column": 39 }, "end": { - "line": 276, + "line": 263, "column": 47 } }, "object": { "type": "Identifier", - "start": 7079, - "end": 7083, + "start": 6864, + "end": 6868, "loc": { "start": { - "line": 276, + "line": 263, "column": 39 }, "end": { - "line": 276, + "line": 263, "column": 43 }, "identifierName": "rect" @@ -17436,15 +18488,15 @@ }, "property": { "type": "Identifier", - "start": 7084, - "end": 7087, + "start": 6869, + "end": 6872, "loc": { "start": { - "line": 276, + "line": 263, "column": 44 }, "end": { - "line": 276, + "line": 263, "column": 47 }, "identifierName": "top" @@ -17462,43 +18514,43 @@ }, { "type": "IfStatement", - "start": 7095, - "end": 7264, + "start": 6880, + "end": 7049, "loc": { "start": { - "line": 278, + "line": 265, "column": 4 }, "end": { - "line": 279, + "line": 266, "column": 140 } }, "test": { "type": "MemberExpression", - "start": 7099, - "end": 7122, + "start": 6884, + "end": 6907, "loc": { "start": { - "line": 278, + "line": 265, "column": 8 }, "end": { - "line": 278, + "line": 265, "column": 31 } }, "object": { "type": "Identifier", - "start": 7099, - "end": 7106, + "start": 6884, + "end": 6891, "loc": { "start": { - "line": 278, + "line": 265, "column": 8 }, "end": { - "line": 278, + "line": 265, "column": 15 }, "identifierName": "cDefine" @@ -17507,15 +18559,15 @@ }, "property": { "type": "Identifier", - "start": 7107, - "end": 7122, + "start": 6892, + "end": 6907, "loc": { "start": { - "line": 278, + "line": 265, "column": 16 }, "end": { - "line": 278, + "line": 265, "column": 31 }, "identifierName": "DEBUG_MOUSE_LOG" @@ -17526,57 +18578,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 7132, - "end": 7264, + "start": 6917, + "end": 7049, "loc": { "start": { - "line": 279, + "line": 266, "column": 8 }, "end": { - "line": 279, + "line": 266, "column": 140 } }, "expression": { "type": "CallExpression", - "start": 7132, - "end": 7263, + "start": 6917, + "end": 7048, "loc": { "start": { - "line": 279, + "line": 266, "column": 8 }, "end": { - "line": 279, + "line": 266, "column": 139 } }, "callee": { "type": "MemberExpression", - "start": 7132, - "end": 7143, + "start": 6917, + "end": 6928, "loc": { "start": { - "line": 279, + "line": 266, "column": 8 }, "end": { - "line": 279, + "line": 266, "column": 19 } }, "object": { "type": "Identifier", - "start": 7132, - "end": 7139, + "start": 6917, + "end": 6924, "loc": { "start": { - "line": 279, + "line": 266, "column": 8 }, "end": { - "line": 279, + "line": 266, "column": 15 }, "identifierName": "console" @@ -17585,15 +18637,15 @@ }, "property": { "type": "Identifier", - "start": 7140, - "end": 7143, + "start": 6925, + "end": 6928, "loc": { "start": { - "line": 279, + "line": 266, "column": 16 }, "end": { - "line": 279, + "line": 266, "column": 19 }, "identifierName": "log" @@ -17605,127 +18657,127 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7144, - "end": 7262, + "start": 6929, + "end": 7047, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 138 } }, "left": { "type": "BinaryExpression", - "start": 7144, - "end": 7256, + "start": 6929, + "end": 7041, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 132 } }, "left": { "type": "BinaryExpression", - "start": 7144, - "end": 7251, + "start": 6929, + "end": 7036, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 127 } }, "left": { "type": "BinaryExpression", - "start": 7144, - "end": 7243, + "start": 6929, + "end": 7028, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 119 } }, "left": { "type": "BinaryExpression", - "start": 7144, - "end": 7238, + "start": 6929, + "end": 7023, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 114 } }, "left": { "type": "BinaryExpression", - "start": 7144, - "end": 7222, + "start": 6929, + "end": 7007, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 7144, - "end": 7206, + "start": 6929, + "end": 6991, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 82 } }, "left": { "type": "BinaryExpression", - "start": 7144, - "end": 7198, + "start": 6929, + "end": 6983, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 74 } }, "left": { "type": "StringLiteral", - "start": 7144, - "end": 7182, + "start": 6929, + "end": 6967, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 58 } }, @@ -17738,29 +18790,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 7185, - "end": 7198, + "start": 6970, + "end": 6983, "loc": { "start": { - "line": 279, + "line": 266, "column": 61 }, "end": { - "line": 279, + "line": 266, "column": 74 } }, "object": { "type": "Identifier", - "start": 7185, - "end": 7190, + "start": 6970, + "end": 6975, "loc": { "start": { - "line": 279, + "line": 266, "column": 61 }, "end": { - "line": 279, + "line": 266, "column": 66 }, "identifierName": "event" @@ -17769,15 +18821,15 @@ }, "property": { "type": "Identifier", - "start": 7191, - "end": 7198, + "start": 6976, + "end": 6983, "loc": { "start": { - "line": 279, + "line": 266, "column": 67 }, "end": { - "line": 279, + "line": 266, "column": 74 }, "identifierName": "clientX" @@ -17790,15 +18842,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 7201, - "end": 7206, + "start": 6986, + "end": 6991, "loc": { "start": { - "line": 279, + "line": 266, "column": 77 }, "end": { - "line": 279, + "line": 266, "column": 82 } }, @@ -17812,29 +18864,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 7209, - "end": 7222, + "start": 6994, + "end": 7007, "loc": { "start": { - "line": 279, + "line": 266, "column": 85 }, "end": { - "line": 279, + "line": 266, "column": 98 } }, "object": { "type": "Identifier", - "start": 7209, - "end": 7214, + "start": 6994, + "end": 6999, "loc": { "start": { - "line": 279, + "line": 266, "column": 85 }, "end": { - "line": 279, + "line": 266, "column": 90 }, "identifierName": "event" @@ -17843,15 +18895,15 @@ }, "property": { "type": "Identifier", - "start": 7215, - "end": 7222, + "start": 7000, + "end": 7007, "loc": { "start": { - "line": 279, + "line": 266, "column": 91 }, "end": { - "line": 279, + "line": 266, "column": 98 }, "identifierName": "clientY" @@ -17864,15 +18916,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 7225, - "end": 7238, + "start": 7010, + "end": 7023, "loc": { "start": { - "line": 279, + "line": 266, "column": 101 }, "end": { - "line": 279, + "line": 266, "column": 114 } }, @@ -17886,15 +18938,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 7241, - "end": 7243, + "start": 7026, + "end": 7028, "loc": { "start": { - "line": 279, + "line": 266, "column": 117 }, "end": { - "line": 279, + "line": 266, "column": 119 }, "identifierName": "vx" @@ -17905,15 +18957,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 7246, - "end": 7251, + "start": 7031, + "end": 7036, "loc": { "start": { - "line": 279, + "line": 266, "column": 122 }, "end": { - "line": 279, + "line": 266, "column": 127 } }, @@ -17927,15 +18979,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 7254, - "end": 7256, + "start": 7039, + "end": 7041, "loc": { "start": { - "line": 279, + "line": 266, "column": 130 }, "end": { - "line": 279, + "line": 266, "column": 132 }, "identifierName": "vy" @@ -17946,15 +18998,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 7259, - "end": 7262, + "start": 7044, + "end": 7047, "loc": { "start": { - "line": 279, + "line": 266, "column": 135 }, "end": { - "line": 279, + "line": 266, "column": 138 } }, @@ -17972,44 +19024,44 @@ }, { "type": "ExpressionStatement", - "start": 7270, - "end": 7286, + "start": 7055, + "end": 7071, "loc": { "start": { - "line": 281, + "line": 268, "column": 4 }, "end": { - "line": 281, + "line": 268, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 7270, - "end": 7285, + "start": 7055, + "end": 7070, "loc": { "start": { - "line": 281, + "line": 268, "column": 4 }, "end": { - "line": 281, + "line": 268, "column": 19 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7270, - "end": 7280, + "start": 7055, + "end": 7065, "loc": { "start": { - "line": 281, + "line": 268, "column": 4 }, "end": { - "line": 281, + "line": 268, "column": 14 }, "identifierName": "lastMouseX" @@ -18018,15 +19070,15 @@ }, "right": { "type": "Identifier", - "start": 7283, - "end": 7285, + "start": 7068, + "end": 7070, "loc": { "start": { - "line": 281, + "line": 268, "column": 17 }, "end": { - "line": 281, + "line": 268, "column": 19 }, "identifierName": "sx" @@ -18037,44 +19089,44 @@ }, { "type": "ExpressionStatement", - "start": 7291, - "end": 7307, + "start": 7076, + "end": 7092, "loc": { "start": { - "line": 282, + "line": 269, "column": 4 }, "end": { - "line": 282, + "line": 269, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 7291, - "end": 7306, + "start": 7076, + "end": 7091, "loc": { "start": { - "line": 282, + "line": 269, "column": 4 }, "end": { - "line": 282, + "line": 269, "column": 19 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7291, - "end": 7301, + "start": 7076, + "end": 7086, "loc": { "start": { - "line": 282, + "line": 269, "column": 4 }, "end": { - "line": 282, + "line": 269, "column": 14 }, "identifierName": "lastMouseY" @@ -18083,15 +19135,15 @@ }, "right": { "type": "Identifier", - "start": 7304, - "end": 7306, + "start": 7089, + "end": 7091, "loc": { "start": { - "line": 282, + "line": 269, "column": 17 }, "end": { - "line": 282, + "line": 269, "column": 19 }, "identifierName": "sy" @@ -18102,57 +19154,57 @@ }, { "type": "ExpressionStatement", - "start": 7313, - "end": 7338, + "start": 7098, + "end": 7123, "loc": { "start": { - "line": 284, + "line": 271, "column": 4 }, "end": { - "line": 284, + "line": 271, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 7313, - "end": 7337, + "start": 7098, + "end": 7122, "loc": { "start": { - "line": 284, + "line": 271, "column": 4 }, "end": { - "line": 284, + "line": 271, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 7313, - "end": 7329, + "start": 7098, + "end": 7114, "loc": { "start": { - "line": 284, + "line": 271, "column": 4 }, "end": { - "line": 284, + "line": 271, "column": 20 } }, "object": { "type": "Identifier", - "start": 7313, - "end": 7320, + "start": 7098, + "end": 7105, "loc": { "start": { - "line": 284, + "line": 271, "column": 4 }, "end": { - "line": 284, + "line": 271, "column": 11 }, "identifierName": "dragMgr" @@ -18161,15 +19213,15 @@ }, "property": { "type": "Identifier", - "start": 7321, - "end": 7329, + "start": 7106, + "end": 7114, "loc": { "start": { - "line": 284, + "line": 271, "column": 12 }, "end": { - "line": 284, + "line": 271, "column": 20 }, "identifierName": "setPoint" @@ -18181,15 +19233,15 @@ "arguments": [ { "type": "Identifier", - "start": 7330, - "end": 7332, + "start": 7115, + "end": 7117, "loc": { "start": { - "line": 284, + "line": 271, "column": 21 }, "end": { - "line": 284, + "line": 271, "column": 23 }, "identifierName": "vx" @@ -18198,15 +19250,15 @@ }, { "type": "Identifier", - "start": 7334, - "end": 7336, + "start": 7119, + "end": 7121, "loc": { "start": { - "line": 284, + "line": 271, "column": 25 }, "end": { - "line": 284, + "line": 271, "column": 27 }, "identifierName": "vy" @@ -18222,29 +19274,29 @@ }, { "type": "FunctionDeclaration", - "start": 7342, - "end": 8097, + "start": 7127, + "end": 7886, "loc": { "start": { - "line": 287, + "line": 274, "column": 0 }, "end": { - "line": 312, + "line": 299, "column": 1 } }, "id": { "type": "Identifier", - "start": 7351, - "end": 7364, + "start": 7136, + "end": 7149, "loc": { "start": { - "line": 287, + "line": 274, "column": 9 }, "end": { - "line": 287, + "line": 274, "column": 22 }, "identifierName": "modelTapEvent" @@ -18257,15 +19309,15 @@ "params": [ { "type": "Identifier", - "start": 7365, - "end": 7370, + "start": 7150, + "end": 7155, "loc": { "start": { - "line": 287, + "line": 274, "column": 23 }, "end": { - "line": 287, + "line": 274, "column": 28 }, "identifierName": "event" @@ -18275,59 +19327,59 @@ ], "body": { "type": "BlockStatement", - "start": 7372, - "end": 8097, + "start": 7157, + "end": 7886, "loc": { "start": { - "line": 288, + "line": 275, "column": 0 }, "end": { - "line": 312, + "line": 299, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 7378, - "end": 7390, + "start": 7163, + "end": 7175, "loc": { "start": { - "line": 289, + "line": 276, "column": 4 }, "end": { - "line": 289, + "line": 276, "column": 16 } }, "expression": { "type": "AssignmentExpression", - "start": 7378, - "end": 7389, + "start": 7163, + "end": 7174, "loc": { "start": { - "line": 289, + "line": 276, "column": 4 }, "end": { - "line": 289, + "line": 276, "column": 15 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7378, - "end": 7382, + "start": 7163, + "end": 7167, "loc": { "start": { - "line": 289, + "line": 276, "column": 4 }, "end": { - "line": 289, + "line": 276, "column": 8 }, "identifierName": "drag" @@ -18336,15 +19388,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 7385, - "end": 7389, + "start": 7170, + "end": 7174, "loc": { "start": { - "line": 289, + "line": 276, "column": 11 }, "end": { - "line": 289, + "line": 276, "column": 15 } }, @@ -18354,44 +19406,44 @@ }, { "type": "VariableDeclaration", - "start": 7396, - "end": 7438, + "start": 7181, + "end": 7227, "loc": { "start": { - "line": 291, + "line": 278, "column": 4 }, "end": { - "line": 291, - "column": 46 + "line": 278, + "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7400, - "end": 7437, + "start": 7185, + "end": 7226, "loc": { "start": { - "line": 291, + "line": 278, "column": 8 }, "end": { - "line": 291, - "column": 45 + "line": 278, + "column": 49 } }, "id": { "type": "Identifier", - "start": 7400, - "end": 7404, + "start": 7185, + "end": 7189, "loc": { "start": { - "line": 291, + "line": 278, "column": 8 }, "end": { - "line": 291, + "line": 278, "column": 12 }, "identifierName": "rect" @@ -18400,61 +19452,61 @@ }, "init": { "type": "CallExpression", - "start": 7407, - "end": 7437, + "start": 7192, + "end": 7226, "loc": { "start": { - "line": 291, + "line": 278, "column": 15 }, "end": { - "line": 291, - "column": 45 + "line": 278, + "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 7407, - "end": 7435, + "start": 7192, + "end": 7224, "loc": { "start": { - "line": 291, + "line": 278, "column": 15 }, "end": { - "line": 291, - "column": 43 + "line": 278, + "column": 47 } }, "object": { "type": "Identifier", - "start": 7407, - "end": 7413, + "start": 7192, + "end": 7202, "loc": { "start": { - "line": 291, + "line": 278, "column": 15 }, "end": { - "line": 291, - "column": 21 + "line": 278, + "column": 25 }, - "identifierName": "canvas" + "identifierName": "currCanvas" }, - "name": "canvas" + "name": "currCanvas" }, "property": { "type": "Identifier", - "start": 7414, - "end": 7435, + "start": 7203, + "end": 7224, "loc": { "start": { - "line": 291, - "column": 22 + "line": 278, + "column": 26 }, "end": { - "line": 291, - "column": 43 + "line": 278, + "column": 47 }, "identifierName": "getBoundingClientRect" }, @@ -18470,44 +19522,44 @@ }, { "type": "VariableDeclaration", - "start": 7444, - "end": 7497, + "start": 7233, + "end": 7286, "loc": { "start": { - "line": 293, + "line": 280, "column": 4 }, "end": { - "line": 293, + "line": 280, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7448, - "end": 7496, + "start": 7237, + "end": 7285, "loc": { "start": { - "line": 293, + "line": 280, "column": 8 }, "end": { - "line": 293, + "line": 280, "column": 56 } }, "id": { "type": "Identifier", - "start": 7448, - "end": 7450, + "start": 7237, + "end": 7239, "loc": { "start": { - "line": 293, + "line": 280, "column": 8 }, "end": { - "line": 293, + "line": 280, "column": 10 }, "identifierName": "sx" @@ -18516,29 +19568,29 @@ }, "init": { "type": "CallExpression", - "start": 7453, - "end": 7496, + "start": 7242, + "end": 7285, "loc": { "start": { - "line": 293, + "line": 280, "column": 13 }, "end": { - "line": 293, + "line": 280, "column": 56 } }, "callee": { "type": "Identifier", - "start": 7453, - "end": 7469, + "start": 7242, + "end": 7258, "loc": { "start": { - "line": 293, + "line": 280, "column": 13 }, "end": { - "line": 293, + "line": 280, "column": 29 }, "identifierName": "transformScreenX" @@ -18548,43 +19600,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7470, - "end": 7495, + "start": 7259, + "end": 7284, "loc": { "start": { - "line": 293, + "line": 280, "column": 30 }, "end": { - "line": 293, + "line": 280, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 7470, - "end": 7483, + "start": 7259, + "end": 7272, "loc": { "start": { - "line": 293, + "line": 280, "column": 30 }, "end": { - "line": 293, + "line": 280, "column": 43 } }, "object": { "type": "Identifier", - "start": 7470, - "end": 7475, + "start": 7259, + "end": 7264, "loc": { "start": { - "line": 293, + "line": 280, "column": 30 }, "end": { - "line": 293, + "line": 280, "column": 35 }, "identifierName": "event" @@ -18593,15 +19645,15 @@ }, "property": { "type": "Identifier", - "start": 7476, - "end": 7483, + "start": 7265, + "end": 7272, "loc": { "start": { - "line": 293, + "line": 280, "column": 36 }, "end": { - "line": 293, + "line": 280, "column": 43 }, "identifierName": "clientX" @@ -18613,29 +19665,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 7486, - "end": 7495, + "start": 7275, + "end": 7284, "loc": { "start": { - "line": 293, + "line": 280, "column": 46 }, "end": { - "line": 293, + "line": 280, "column": 55 } }, "object": { "type": "Identifier", - "start": 7486, - "end": 7490, + "start": 7275, + "end": 7279, "loc": { "start": { - "line": 293, + "line": 280, "column": 46 }, "end": { - "line": 293, + "line": 280, "column": 50 }, "identifierName": "rect" @@ -18644,15 +19696,15 @@ }, "property": { "type": "Identifier", - "start": 7491, - "end": 7495, + "start": 7280, + "end": 7284, "loc": { "start": { - "line": 293, + "line": 280, "column": 51 }, "end": { - "line": 293, + "line": 280, "column": 55 }, "identifierName": "left" @@ -18670,44 +19722,44 @@ }, { "type": "VariableDeclaration", - "start": 7502, - "end": 7554, + "start": 7291, + "end": 7343, "loc": { "start": { - "line": 294, + "line": 281, "column": 4 }, "end": { - "line": 294, + "line": 281, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7506, - "end": 7553, + "start": 7295, + "end": 7342, "loc": { "start": { - "line": 294, + "line": 281, "column": 8 }, "end": { - "line": 294, + "line": 281, "column": 55 } }, "id": { "type": "Identifier", - "start": 7506, - "end": 7508, + "start": 7295, + "end": 7297, "loc": { "start": { - "line": 294, + "line": 281, "column": 8 }, "end": { - "line": 294, + "line": 281, "column": 10 }, "identifierName": "sy" @@ -18716,29 +19768,29 @@ }, "init": { "type": "CallExpression", - "start": 7511, - "end": 7553, + "start": 7300, + "end": 7342, "loc": { "start": { - "line": 294, + "line": 281, "column": 13 }, "end": { - "line": 294, + "line": 281, "column": 55 } }, "callee": { "type": "Identifier", - "start": 7511, - "end": 7527, + "start": 7300, + "end": 7316, "loc": { "start": { - "line": 294, + "line": 281, "column": 13 }, "end": { - "line": 294, + "line": 281, "column": 29 }, "identifierName": "transformScreenY" @@ -18748,43 +19800,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7528, - "end": 7552, + "start": 7317, + "end": 7341, "loc": { "start": { - "line": 294, + "line": 281, "column": 30 }, "end": { - "line": 294, + "line": 281, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 7528, - "end": 7541, + "start": 7317, + "end": 7330, "loc": { "start": { - "line": 294, + "line": 281, "column": 30 }, "end": { - "line": 294, + "line": 281, "column": 43 } }, "object": { "type": "Identifier", - "start": 7528, - "end": 7533, + "start": 7317, + "end": 7322, "loc": { "start": { - "line": 294, + "line": 281, "column": 30 }, "end": { - "line": 294, + "line": 281, "column": 35 }, "identifierName": "event" @@ -18793,15 +19845,15 @@ }, "property": { "type": "Identifier", - "start": 7534, - "end": 7541, + "start": 7323, + "end": 7330, "loc": { "start": { - "line": 294, + "line": 281, "column": 36 }, "end": { - "line": 294, + "line": 281, "column": 43 }, "identifierName": "clientY" @@ -18813,29 +19865,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 7544, - "end": 7552, + "start": 7333, + "end": 7341, "loc": { "start": { - "line": 294, + "line": 281, "column": 46 }, "end": { - "line": 294, + "line": 281, "column": 54 } }, "object": { "type": "Identifier", - "start": 7544, - "end": 7548, + "start": 7333, + "end": 7337, "loc": { "start": { - "line": 294, + "line": 281, "column": 46 }, "end": { - "line": 294, + "line": 281, "column": 50 }, "identifierName": "rect" @@ -18844,15 +19896,15 @@ }, "property": { "type": "Identifier", - "start": 7549, - "end": 7552, + "start": 7338, + "end": 7341, "loc": { "start": { - "line": 294, + "line": 281, "column": 51 }, "end": { - "line": 294, + "line": 281, "column": 54 }, "identifierName": "top" @@ -18870,44 +19922,44 @@ }, { "type": "VariableDeclaration", - "start": 7559, - "end": 7743, + "start": 7348, + "end": 7532, "loc": { "start": { - "line": 295, + "line": 282, "column": 4 }, "end": { - "line": 301, + "line": 288, "column": 12 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7563, - "end": 7743, + "start": 7352, + "end": 7532, "loc": { "start": { - "line": 295, + "line": 282, "column": 8 }, "end": { - "line": 301, + "line": 288, "column": 12 } }, "id": { "type": "Identifier", - "start": 7563, - "end": 7569, + "start": 7352, + "end": 7358, "loc": { "start": { - "line": 295, + "line": 282, "column": 8 }, "end": { - "line": 295, + "line": 282, "column": 14 }, "identifierName": "target" @@ -18916,29 +19968,29 @@ }, "init": { "type": "CallExpression", - "start": 7572, - "end": 7743, + "start": 7361, + "end": 7532, "loc": { "start": { - "line": 295, + "line": 282, "column": 17 }, "end": { - "line": 301, + "line": 288, "column": 12 } }, "callee": { "type": "Identifier", - "start": 7572, - "end": 7585, + "start": 7361, + "end": 7374, "loc": { "start": { - "line": 295, + "line": 282, "column": 17 }, "end": { - "line": 295, + "line": 282, "column": 30 }, "identifierName": "transformRect" @@ -18948,30 +20000,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 7586, - "end": 7676, + "start": 7375, + "end": 7465, "loc": { "start": { - "line": 295, + "line": 282, "column": 31 }, "end": { - "line": 298, + "line": 285, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 7596, - "end": 7625, + "start": 7385, + "end": 7414, "loc": { "start": { - "line": 296, + "line": 283, "column": 8 }, "end": { - "line": 296, + "line": 283, "column": 37 } }, @@ -18980,15 +20032,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7596, - "end": 7597, + "start": 7385, + "end": 7386, "loc": { "start": { - "line": 296, + "line": 283, "column": 8 }, "end": { - "line": 296, + "line": 283, "column": 9 }, "identifierName": "x" @@ -18997,43 +20049,43 @@ }, "value": { "type": "BinaryExpression", - "start": 7599, - "end": 7625, + "start": 7388, + "end": 7414, "loc": { "start": { - "line": 296, + "line": 283, "column": 11 }, "end": { - "line": 296, + "line": 283, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 7599, - "end": 7608, + "start": 7388, + "end": 7397, "loc": { "start": { - "line": 296, + "line": 283, "column": 11 }, "end": { - "line": 296, + "line": 283, "column": 20 } }, "object": { "type": "Identifier", - "start": 7599, - "end": 7603, + "start": 7388, + "end": 7392, "loc": { "start": { - "line": 296, + "line": 283, "column": 11 }, "end": { - "line": 296, + "line": 283, "column": 15 }, "identifierName": "rect" @@ -19042,15 +20094,15 @@ }, "property": { "type": "Identifier", - "start": 7604, - "end": 7608, + "start": 7393, + "end": 7397, "loc": { "start": { - "line": 296, + "line": 283, "column": 16 }, "end": { - "line": 296, + "line": 283, "column": 20 }, "identifierName": "left" @@ -19062,43 +20114,43 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 7611, - "end": 7625, + "start": 7400, + "end": 7414, "loc": { "start": { - "line": 296, + "line": 283, "column": 23 }, "end": { - "line": 296, + "line": 283, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 7611, - "end": 7621, + "start": 7400, + "end": 7410, "loc": { "start": { - "line": 296, + "line": 283, "column": 23 }, "end": { - "line": 296, + "line": 283, "column": 33 } }, "object": { "type": "Identifier", - "start": 7611, - "end": 7615, + "start": 7400, + "end": 7404, "loc": { "start": { - "line": 296, + "line": 283, "column": 23 }, "end": { - "line": 296, + "line": 283, "column": 27 }, "identifierName": "rect" @@ -19107,15 +20159,15 @@ }, "property": { "type": "Identifier", - "start": 7616, - "end": 7621, + "start": 7405, + "end": 7410, "loc": { "start": { - "line": 296, + "line": 283, "column": 28 }, "end": { - "line": 296, + "line": 283, "column": 33 }, "identifierName": "width" @@ -19127,15 +20179,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 7624, - "end": 7625, + "start": 7413, + "end": 7414, "loc": { "start": { - "line": 296, + "line": 283, "column": 36 }, "end": { - "line": 296, + "line": 283, "column": 37 } }, @@ -19150,15 +20202,15 @@ }, { "type": "ObjectProperty", - "start": 7635, - "end": 7670, + "start": 7424, + "end": 7459, "loc": { "start": { - "line": 297, + "line": 284, "column": 8 }, "end": { - "line": 297, + "line": 284, "column": 43 } }, @@ -19167,15 +20219,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7635, - "end": 7636, + "start": 7424, + "end": 7425, "loc": { "start": { - "line": 297, + "line": 284, "column": 8 }, "end": { - "line": 297, + "line": 284, "column": 9 }, "identifierName": "y" @@ -19184,43 +20236,43 @@ }, "value": { "type": "BinaryExpression", - "start": 7638, - "end": 7670, + "start": 7427, + "end": 7459, "loc": { "start": { - "line": 297, + "line": 284, "column": 11 }, "end": { - "line": 297, + "line": 284, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 7638, - "end": 7646, + "start": 7427, + "end": 7435, "loc": { "start": { - "line": 297, + "line": 284, "column": 11 }, "end": { - "line": 297, + "line": 284, "column": 19 } }, "object": { "type": "Identifier", - "start": 7638, - "end": 7642, + "start": 7427, + "end": 7431, "loc": { "start": { - "line": 297, + "line": 284, "column": 11 }, "end": { - "line": 297, + "line": 284, "column": 15 }, "identifierName": "rect" @@ -19229,15 +20281,15 @@ }, "property": { "type": "Identifier", - "start": 7643, - "end": 7646, + "start": 7432, + "end": 7435, "loc": { "start": { - "line": 297, + "line": 284, "column": 16 }, "end": { - "line": 297, + "line": 284, "column": 19 }, "identifierName": "top" @@ -19249,43 +20301,43 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 7649, - "end": 7670, + "start": 7438, + "end": 7459, "loc": { "start": { - "line": 297, + "line": 284, "column": 22 }, "end": { - "line": 297, + "line": 284, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 7649, - "end": 7660, + "start": 7438, + "end": 7449, "loc": { "start": { - "line": 297, + "line": 284, "column": 22 }, "end": { - "line": 297, + "line": 284, "column": 33 } }, "object": { "type": "Identifier", - "start": 7649, - "end": 7653, + "start": 7438, + "end": 7442, "loc": { "start": { - "line": 297, + "line": 284, "column": 22 }, "end": { - "line": 297, + "line": 284, "column": 26 }, "identifierName": "rect" @@ -19294,15 +20346,15 @@ }, "property": { "type": "Identifier", - "start": 7654, - "end": 7660, + "start": 7443, + "end": 7449, "loc": { "start": { - "line": 297, + "line": 284, "column": 27 }, "end": { - "line": 297, + "line": 284, "column": 33 }, "identifierName": "height" @@ -19314,15 +20366,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 7663, - "end": 7670, + "start": 7452, + "end": 7459, "loc": { "start": { - "line": 297, + "line": 284, "column": 36 }, "end": { - "line": 297, + "line": 284, "column": 43 }, "identifierName": "headPos" @@ -19336,30 +20388,30 @@ }, { "type": "ObjectExpression", - "start": 7678, - "end": 7736, + "start": 7467, + "end": 7525, "loc": { "start": { - "line": 298, + "line": 285, "column": 7 }, "end": { - "line": 301, + "line": 288, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 7688, - "end": 7704, + "start": 7477, + "end": 7493, "loc": { "start": { - "line": 299, + "line": 286, "column": 8 }, "end": { - "line": 299, + "line": 286, "column": 24 } }, @@ -19368,15 +20420,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7688, - "end": 7689, + "start": 7477, + "end": 7478, "loc": { "start": { - "line": 299, + "line": 286, "column": 8 }, "end": { - "line": 299, + "line": 286, "column": 9 }, "identifierName": "x" @@ -19385,29 +20437,29 @@ }, "value": { "type": "MemberExpression", - "start": 7691, - "end": 7704, + "start": 7480, + "end": 7493, "loc": { "start": { - "line": 299, + "line": 286, "column": 11 }, "end": { - "line": 299, + "line": 286, "column": 24 } }, "object": { "type": "Identifier", - "start": 7691, - "end": 7696, + "start": 7480, + "end": 7485, "loc": { "start": { - "line": 299, + "line": 286, "column": 11 }, "end": { - "line": 299, + "line": 286, "column": 16 }, "identifierName": "event" @@ -19416,15 +20468,15 @@ }, "property": { "type": "Identifier", - "start": 7697, - "end": 7704, + "start": 7486, + "end": 7493, "loc": { "start": { - "line": 299, + "line": 286, "column": 17 }, "end": { - "line": 299, + "line": 286, "column": 24 }, "identifierName": "clientX" @@ -19436,15 +20488,15 @@ }, { "type": "ObjectProperty", - "start": 7714, - "end": 7730, + "start": 7503, + "end": 7519, "loc": { "start": { - "line": 300, + "line": 287, "column": 8 }, "end": { - "line": 300, + "line": 287, "column": 24 } }, @@ -19453,15 +20505,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 7714, - "end": 7715, + "start": 7503, + "end": 7504, "loc": { "start": { - "line": 300, + "line": 287, "column": 8 }, "end": { - "line": 300, + "line": 287, "column": 9 }, "identifierName": "y" @@ -19470,29 +20522,29 @@ }, "value": { "type": "MemberExpression", - "start": 7717, - "end": 7730, + "start": 7506, + "end": 7519, "loc": { "start": { - "line": 300, + "line": 287, "column": 11 }, "end": { - "line": 300, + "line": 287, "column": 24 } }, "object": { "type": "Identifier", - "start": 7717, - "end": 7722, + "start": 7506, + "end": 7511, "loc": { "start": { - "line": 300, + "line": 287, "column": 11 }, "end": { - "line": 300, + "line": 287, "column": 16 }, "identifierName": "event" @@ -19501,15 +20553,15 @@ }, "property": { "type": "Identifier", - "start": 7723, - "end": 7730, + "start": 7512, + "end": 7519, "loc": { "start": { - "line": 300, + "line": 287, "column": 17 }, "end": { - "line": 300, + "line": 287, "column": 24 }, "identifierName": "clientY" @@ -19523,15 +20575,15 @@ }, { "type": "Identifier", - "start": 7738, - "end": 7742, + "start": 7527, + "end": 7531, "loc": { "start": { - "line": 301, + "line": 288, "column": 7 }, "end": { - "line": 301, + "line": 288, "column": 11 }, "identifierName": "rect" @@ -19546,44 +20598,44 @@ }, { "type": "VariableDeclaration", - "start": 7748, - "end": 7794, + "start": 7537, + "end": 7583, "loc": { "start": { - "line": 302, + "line": 289, "column": 4 }, "end": { - "line": 302, + "line": 289, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7752, - "end": 7793, + "start": 7541, + "end": 7582, "loc": { "start": { - "line": 302, + "line": 289, "column": 8 }, "end": { - "line": 302, + "line": 289, "column": 49 } }, "id": { "type": "Identifier", - "start": 7752, - "end": 7754, + "start": 7541, + "end": 7543, "loc": { "start": { - "line": 302, + "line": 289, "column": 8 }, "end": { - "line": 302, + "line": 289, "column": 10 }, "identifierName": "vx" @@ -19592,29 +20644,29 @@ }, "init": { "type": "CallExpression", - "start": 7757, - "end": 7793, + "start": 7546, + "end": 7582, "loc": { "start": { - "line": 302, + "line": 289, "column": 13 }, "end": { - "line": 302, + "line": 289, "column": 49 } }, "callee": { "type": "Identifier", - "start": 7757, - "end": 7771, + "start": 7546, + "end": 7560, "loc": { "start": { - "line": 302, + "line": 289, "column": 13 }, "end": { - "line": 302, + "line": 289, "column": 27 }, "identifierName": "transformViewX" @@ -19624,43 +20676,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7772, - "end": 7792, + "start": 7561, + "end": 7581, "loc": { "start": { - "line": 302, + "line": 289, "column": 28 }, "end": { - "line": 302, + "line": 289, "column": 48 } }, "left": { "type": "MemberExpression", - "start": 7772, - "end": 7780, + "start": 7561, + "end": 7569, "loc": { "start": { - "line": 302, + "line": 289, "column": 28 }, "end": { - "line": 302, + "line": 289, "column": 36 } }, "object": { "type": "Identifier", - "start": 7772, - "end": 7778, + "start": 7561, + "end": 7567, "loc": { "start": { - "line": 302, + "line": 289, "column": 28 }, "end": { - "line": 302, + "line": 289, "column": 34 }, "identifierName": "target" @@ -19669,15 +20721,15 @@ }, "property": { "type": "Identifier", - "start": 7779, - "end": 7780, + "start": 7568, + "end": 7569, "loc": { "start": { - "line": 302, + "line": 289, "column": 35 }, "end": { - "line": 302, + "line": 289, "column": 36 }, "identifierName": "x" @@ -19689,29 +20741,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 7783, - "end": 7792, + "start": 7572, + "end": 7581, "loc": { "start": { - "line": 302, + "line": 289, "column": 39 }, "end": { - "line": 302, + "line": 289, "column": 48 } }, "object": { "type": "Identifier", - "start": 7783, - "end": 7787, + "start": 7572, + "end": 7576, "loc": { "start": { - "line": 302, + "line": 289, "column": 39 }, "end": { - "line": 302, + "line": 289, "column": 43 }, "identifierName": "rect" @@ -19720,15 +20772,15 @@ }, "property": { "type": "Identifier", - "start": 7788, - "end": 7792, + "start": 7577, + "end": 7581, "loc": { "start": { - "line": 302, + "line": 289, "column": 44 }, "end": { - "line": 302, + "line": 289, "column": 48 }, "identifierName": "left" @@ -19746,44 +20798,44 @@ }, { "type": "VariableDeclaration", - "start": 7799, - "end": 7844, + "start": 7588, + "end": 7633, "loc": { "start": { - "line": 303, + "line": 290, "column": 4 }, "end": { - "line": 303, + "line": 290, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7803, - "end": 7843, + "start": 7592, + "end": 7632, "loc": { "start": { - "line": 303, + "line": 290, "column": 8 }, "end": { - "line": 303, + "line": 290, "column": 48 } }, "id": { "type": "Identifier", - "start": 7803, - "end": 7805, + "start": 7592, + "end": 7594, "loc": { "start": { - "line": 303, + "line": 290, "column": 8 }, "end": { - "line": 303, + "line": 290, "column": 10 }, "identifierName": "vy" @@ -19792,29 +20844,29 @@ }, "init": { "type": "CallExpression", - "start": 7808, - "end": 7843, + "start": 7597, + "end": 7632, "loc": { "start": { - "line": 303, + "line": 290, "column": 13 }, "end": { - "line": 303, + "line": 290, "column": 48 } }, "callee": { "type": "Identifier", - "start": 7808, - "end": 7822, + "start": 7597, + "end": 7611, "loc": { "start": { - "line": 303, + "line": 290, "column": 13 }, "end": { - "line": 303, + "line": 290, "column": 27 }, "identifierName": "transformViewY" @@ -19824,43 +20876,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7823, - "end": 7842, + "start": 7612, + "end": 7631, "loc": { "start": { - "line": 303, + "line": 290, "column": 28 }, "end": { - "line": 303, + "line": 290, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 7823, - "end": 7831, + "start": 7612, + "end": 7620, "loc": { "start": { - "line": 303, + "line": 290, "column": 28 }, "end": { - "line": 303, + "line": 290, "column": 36 } }, "object": { "type": "Identifier", - "start": 7823, - "end": 7829, + "start": 7612, + "end": 7618, "loc": { "start": { - "line": 303, + "line": 290, "column": 28 }, "end": { - "line": 303, + "line": 290, "column": 34 }, "identifierName": "target" @@ -19869,15 +20921,15 @@ }, "property": { "type": "Identifier", - "start": 7830, - "end": 7831, + "start": 7619, + "end": 7620, "loc": { "start": { - "line": 303, + "line": 290, "column": 35 }, "end": { - "line": 303, + "line": 290, "column": 36 }, "identifierName": "y" @@ -19889,29 +20941,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 7834, - "end": 7842, + "start": 7623, + "end": 7631, "loc": { "start": { - "line": 303, + "line": 290, "column": 39 }, "end": { - "line": 303, + "line": 290, "column": 47 } }, "object": { "type": "Identifier", - "start": 7834, - "end": 7838, + "start": 7623, + "end": 7627, "loc": { "start": { - "line": 303, + "line": 290, "column": 39 }, "end": { - "line": 303, + "line": 290, "column": 43 }, "identifierName": "rect" @@ -19920,15 +20972,15 @@ }, "property": { "type": "Identifier", - "start": 7839, - "end": 7842, + "start": 7628, + "end": 7631, "loc": { "start": { - "line": 303, + "line": 290, "column": 44 }, "end": { - "line": 303, + "line": 290, "column": 47 }, "identifierName": "top" @@ -19946,43 +20998,43 @@ }, { "type": "IfStatement", - "start": 7850, - "end": 8019, + "start": 7639, + "end": 7808, "loc": { "start": { - "line": 305, + "line": 292, "column": 4 }, "end": { - "line": 306, + "line": 293, "column": 140 } }, "test": { "type": "MemberExpression", - "start": 7854, - "end": 7877, + "start": 7643, + "end": 7666, "loc": { "start": { - "line": 305, + "line": 292, "column": 8 }, "end": { - "line": 305, + "line": 292, "column": 31 } }, "object": { "type": "Identifier", - "start": 7854, - "end": 7861, + "start": 7643, + "end": 7650, "loc": { "start": { - "line": 305, + "line": 292, "column": 8 }, "end": { - "line": 305, + "line": 292, "column": 15 }, "identifierName": "cDefine" @@ -19991,15 +21043,15 @@ }, "property": { "type": "Identifier", - "start": 7862, - "end": 7877, + "start": 7651, + "end": 7666, "loc": { "start": { - "line": 305, + "line": 292, "column": 16 }, "end": { - "line": 305, + "line": 292, "column": 31 }, "identifierName": "DEBUG_MOUSE_LOG" @@ -20010,57 +21062,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 7887, - "end": 8019, + "start": 7676, + "end": 7808, "loc": { "start": { - "line": 306, + "line": 293, "column": 8 }, "end": { - "line": 306, + "line": 293, "column": 140 } }, "expression": { "type": "CallExpression", - "start": 7887, - "end": 8018, + "start": 7676, + "end": 7807, "loc": { "start": { - "line": 306, + "line": 293, "column": 8 }, "end": { - "line": 306, + "line": 293, "column": 139 } }, "callee": { "type": "MemberExpression", - "start": 7887, - "end": 7898, + "start": 7676, + "end": 7687, "loc": { "start": { - "line": 306, + "line": 293, "column": 8 }, "end": { - "line": 306, + "line": 293, "column": 19 } }, "object": { "type": "Identifier", - "start": 7887, - "end": 7894, + "start": 7676, + "end": 7683, "loc": { "start": { - "line": 306, + "line": 293, "column": 8 }, "end": { - "line": 306, + "line": 293, "column": 15 }, "identifierName": "console" @@ -20069,15 +21121,15 @@ }, "property": { "type": "Identifier", - "start": 7895, - "end": 7898, + "start": 7684, + "end": 7687, "loc": { "start": { - "line": 306, + "line": 293, "column": 16 }, "end": { - "line": 306, + "line": 293, "column": 19 }, "identifierName": "log" @@ -20089,127 +21141,127 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7899, - "end": 8017, + "start": 7688, + "end": 7806, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 138 } }, "left": { "type": "BinaryExpression", - "start": 7899, - "end": 8011, + "start": 7688, + "end": 7800, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 132 } }, "left": { "type": "BinaryExpression", - "start": 7899, - "end": 8006, + "start": 7688, + "end": 7795, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 127 } }, "left": { "type": "BinaryExpression", - "start": 7899, - "end": 7998, + "start": 7688, + "end": 7787, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 119 } }, "left": { "type": "BinaryExpression", - "start": 7899, - "end": 7993, + "start": 7688, + "end": 7782, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 114 } }, "left": { "type": "BinaryExpression", - "start": 7899, - "end": 7977, + "start": 7688, + "end": 7766, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 7899, - "end": 7961, + "start": 7688, + "end": 7750, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 82 } }, "left": { "type": "BinaryExpression", - "start": 7899, - "end": 7953, + "start": 7688, + "end": 7742, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 74 } }, "left": { "type": "StringLiteral", - "start": 7899, - "end": 7937, + "start": 7688, + "end": 7726, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 58 } }, @@ -20222,29 +21274,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 7940, - "end": 7953, + "start": 7729, + "end": 7742, "loc": { "start": { - "line": 306, + "line": 293, "column": 61 }, "end": { - "line": 306, + "line": 293, "column": 74 } }, "object": { "type": "Identifier", - "start": 7940, - "end": 7945, + "start": 7729, + "end": 7734, "loc": { "start": { - "line": 306, + "line": 293, "column": 61 }, "end": { - "line": 306, + "line": 293, "column": 66 }, "identifierName": "event" @@ -20253,15 +21305,15 @@ }, "property": { "type": "Identifier", - "start": 7946, - "end": 7953, + "start": 7735, + "end": 7742, "loc": { "start": { - "line": 306, + "line": 293, "column": 67 }, "end": { - "line": 306, + "line": 293, "column": 74 }, "identifierName": "clientX" @@ -20274,15 +21326,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 7956, - "end": 7961, + "start": 7745, + "end": 7750, "loc": { "start": { - "line": 306, + "line": 293, "column": 77 }, "end": { - "line": 306, + "line": 293, "column": 82 } }, @@ -20296,29 +21348,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 7964, - "end": 7977, + "start": 7753, + "end": 7766, "loc": { "start": { - "line": 306, + "line": 293, "column": 85 }, "end": { - "line": 306, + "line": 293, "column": 98 } }, "object": { "type": "Identifier", - "start": 7964, - "end": 7969, + "start": 7753, + "end": 7758, "loc": { "start": { - "line": 306, + "line": 293, "column": 85 }, "end": { - "line": 306, + "line": 293, "column": 90 }, "identifierName": "event" @@ -20327,15 +21379,15 @@ }, "property": { "type": "Identifier", - "start": 7970, - "end": 7977, + "start": 7759, + "end": 7766, "loc": { "start": { - "line": 306, + "line": 293, "column": 91 }, "end": { - "line": 306, + "line": 293, "column": 98 }, "identifierName": "clientY" @@ -20348,15 +21400,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 7980, - "end": 7993, + "start": 7769, + "end": 7782, "loc": { "start": { - "line": 306, + "line": 293, "column": 101 }, "end": { - "line": 306, + "line": 293, "column": 114 } }, @@ -20370,15 +21422,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 7996, - "end": 7998, + "start": 7785, + "end": 7787, "loc": { "start": { - "line": 306, + "line": 293, "column": 117 }, "end": { - "line": 306, + "line": 293, "column": 119 }, "identifierName": "vx" @@ -20389,15 +21441,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 8001, - "end": 8006, + "start": 7790, + "end": 7795, "loc": { "start": { - "line": 306, + "line": 293, "column": 122 }, "end": { - "line": 306, + "line": 293, "column": 127 } }, @@ -20411,15 +21463,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 8009, - "end": 8011, + "start": 7798, + "end": 7800, "loc": { "start": { - "line": 306, + "line": 293, "column": 130 }, "end": { - "line": 306, + "line": 293, "column": 132 }, "identifierName": "vy" @@ -20430,15 +21482,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 8014, - "end": 8017, + "start": 7803, + "end": 7806, "loc": { "start": { - "line": 306, + "line": 293, "column": 135 }, "end": { - "line": 306, + "line": 293, "column": 138 } }, @@ -20456,44 +21508,44 @@ }, { "type": "ExpressionStatement", - "start": 8025, - "end": 8041, + "start": 7814, + "end": 7830, "loc": { "start": { - "line": 308, + "line": 295, "column": 4 }, "end": { - "line": 308, + "line": 295, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 8025, - "end": 8040, + "start": 7814, + "end": 7829, "loc": { "start": { - "line": 308, + "line": 295, "column": 4 }, "end": { - "line": 308, + "line": 295, "column": 19 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8025, - "end": 8035, + "start": 7814, + "end": 7824, "loc": { "start": { - "line": 308, + "line": 295, "column": 4 }, "end": { - "line": 308, + "line": 295, "column": 14 }, "identifierName": "lastMouseX" @@ -20502,15 +21554,15 @@ }, "right": { "type": "Identifier", - "start": 8038, - "end": 8040, + "start": 7827, + "end": 7829, "loc": { "start": { - "line": 308, + "line": 295, "column": 17 }, "end": { - "line": 308, + "line": 295, "column": 19 }, "identifierName": "sx" @@ -20521,44 +21573,44 @@ }, { "type": "ExpressionStatement", - "start": 8046, - "end": 8062, + "start": 7835, + "end": 7851, "loc": { "start": { - "line": 309, + "line": 296, "column": 4 }, "end": { - "line": 309, + "line": 296, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 8046, - "end": 8061, + "start": 7835, + "end": 7850, "loc": { "start": { - "line": 309, + "line": 296, "column": 4 }, "end": { - "line": 309, + "line": 296, "column": 19 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8046, - "end": 8056, + "start": 7835, + "end": 7845, "loc": { "start": { - "line": 309, + "line": 296, "column": 4 }, "end": { - "line": 309, + "line": 296, "column": 14 }, "identifierName": "lastMouseY" @@ -20567,15 +21619,15 @@ }, "right": { "type": "Identifier", - "start": 8059, - "end": 8061, + "start": 7848, + "end": 7850, "loc": { "start": { - "line": 309, + "line": 296, "column": 17 }, "end": { - "line": 309, + "line": 296, "column": 19 }, "identifierName": "sy" @@ -20586,57 +21638,57 @@ }, { "type": "ExpressionStatement", - "start": 8068, - "end": 8095, + "start": 7857, + "end": 7884, "loc": { "start": { - "line": 311, + "line": 298, "column": 4 }, "end": { - "line": 311, + "line": 298, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 8068, - "end": 8094, + "start": 7857, + "end": 7883, "loc": { "start": { - "line": 311, + "line": 298, "column": 4 }, "end": { - "line": 311, + "line": 298, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 8068, - "end": 8086, + "start": 7857, + "end": 7875, "loc": { "start": { - "line": 311, + "line": 298, "column": 4 }, "end": { - "line": 311, + "line": 298, "column": 22 } }, "object": { "type": "Identifier", - "start": 8068, - "end": 8077, + "start": 7857, + "end": 7866, "loc": { "start": { - "line": 311, + "line": 298, "column": 4 }, "end": { - "line": 311, + "line": 298, "column": 13 }, "identifierName": "live2DMgr" @@ -20645,15 +21697,15 @@ }, "property": { "type": "Identifier", - "start": 8078, - "end": 8086, + "start": 7867, + "end": 7875, "loc": { "start": { - "line": 311, + "line": 298, "column": 14 }, "end": { - "line": 311, + "line": 298, "column": 22 }, "identifierName": "tapEvent" @@ -20665,15 +21717,15 @@ "arguments": [ { "type": "Identifier", - "start": 8087, - "end": 8089, + "start": 7876, + "end": 7878, "loc": { "start": { - "line": 311, + "line": 298, "column": 23 }, "end": { - "line": 311, + "line": 298, "column": 25 }, "identifierName": "vx" @@ -20682,15 +21734,15 @@ }, { "type": "Identifier", - "start": 8091, - "end": 8093, + "start": 7880, + "end": 7882, "loc": { "start": { - "line": 311, + "line": 298, "column": 27 }, "end": { - "line": 311, + "line": 298, "column": 29 }, "identifierName": "vy" @@ -20706,29 +21758,29 @@ }, { "type": "FunctionDeclaration", - "start": 8099, - "end": 9011, + "start": 7888, + "end": 8804, "loc": { "start": { - "line": 314, + "line": 301, "column": 0 }, "end": { - "line": 343, + "line": 330, "column": 1 } }, "id": { "type": "Identifier", - "start": 8108, - "end": 8121, + "start": 7897, + "end": 7910, "loc": { "start": { - "line": 314, + "line": 301, "column": 9 }, "end": { - "line": 314, + "line": 301, "column": 22 }, "identifierName": "followPointer" @@ -20741,15 +21793,15 @@ "params": [ { "type": "Identifier", - "start": 8122, - "end": 8127, + "start": 7911, + "end": 7916, "loc": { "start": { - "line": 314, + "line": 301, "column": 23 }, "end": { - "line": 314, + "line": 301, "column": 28 }, "identifierName": "event" @@ -20759,59 +21811,59 @@ ], "body": { "type": "BlockStatement", - "start": 8129, - "end": 9011, + "start": 7918, + "end": 8804, "loc": { "start": { - "line": 315, + "line": 302, "column": 0 }, "end": { - "line": 343, + "line": 330, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 8135, - "end": 8177, + "start": 7924, + "end": 7970, "loc": { "start": { - "line": 316, + "line": 303, "column": 4 }, "end": { - "line": 316, - "column": 46 + "line": 303, + "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8139, - "end": 8176, + "start": 7928, + "end": 7969, "loc": { "start": { - "line": 316, + "line": 303, "column": 8 }, "end": { - "line": 316, - "column": 45 + "line": 303, + "column": 49 } }, "id": { "type": "Identifier", - "start": 8139, - "end": 8143, + "start": 7928, + "end": 7932, "loc": { "start": { - "line": 316, + "line": 303, "column": 8 }, "end": { - "line": 316, + "line": 303, "column": 12 }, "identifierName": "rect" @@ -20820,61 +21872,61 @@ }, "init": { "type": "CallExpression", - "start": 8146, - "end": 8176, + "start": 7935, + "end": 7969, "loc": { "start": { - "line": 316, + "line": 303, "column": 15 }, "end": { - "line": 316, - "column": 45 + "line": 303, + "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 8146, - "end": 8174, + "start": 7935, + "end": 7967, "loc": { "start": { - "line": 316, + "line": 303, "column": 15 }, "end": { - "line": 316, - "column": 43 + "line": 303, + "column": 47 } }, "object": { "type": "Identifier", - "start": 8146, - "end": 8152, + "start": 7935, + "end": 7945, "loc": { "start": { - "line": 316, + "line": 303, "column": 15 }, "end": { - "line": 316, - "column": 21 + "line": 303, + "column": 25 }, - "identifierName": "canvas" + "identifierName": "currCanvas" }, - "name": "canvas" + "name": "currCanvas" }, "property": { "type": "Identifier", - "start": 8153, - "end": 8174, + "start": 7946, + "end": 7967, "loc": { "start": { - "line": 316, - "column": 22 + "line": 303, + "column": 26 }, "end": { - "line": 316, - "column": 43 + "line": 303, + "column": 47 }, "identifierName": "getBoundingClientRect" }, @@ -20890,44 +21942,44 @@ }, { "type": "VariableDeclaration", - "start": 8183, - "end": 8236, + "start": 7976, + "end": 8029, "loc": { "start": { - "line": 318, + "line": 305, "column": 4 }, "end": { - "line": 318, + "line": 305, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8187, - "end": 8235, + "start": 7980, + "end": 8028, "loc": { "start": { - "line": 318, + "line": 305, "column": 8 }, "end": { - "line": 318, + "line": 305, "column": 56 } }, "id": { "type": "Identifier", - "start": 8187, - "end": 8189, + "start": 7980, + "end": 7982, "loc": { "start": { - "line": 318, + "line": 305, "column": 8 }, "end": { - "line": 318, + "line": 305, "column": 10 }, "identifierName": "sx" @@ -20936,29 +21988,29 @@ }, "init": { "type": "CallExpression", - "start": 8192, - "end": 8235, + "start": 7985, + "end": 8028, "loc": { "start": { - "line": 318, + "line": 305, "column": 13 }, "end": { - "line": 318, + "line": 305, "column": 56 } }, "callee": { "type": "Identifier", - "start": 8192, - "end": 8208, + "start": 7985, + "end": 8001, "loc": { "start": { - "line": 318, + "line": 305, "column": 13 }, "end": { - "line": 318, + "line": 305, "column": 29 }, "identifierName": "transformScreenX" @@ -20968,43 +22020,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8209, - "end": 8234, + "start": 8002, + "end": 8027, "loc": { "start": { - "line": 318, + "line": 305, "column": 30 }, "end": { - "line": 318, + "line": 305, "column": 55 } }, "left": { "type": "MemberExpression", - "start": 8209, - "end": 8222, + "start": 8002, + "end": 8015, "loc": { "start": { - "line": 318, + "line": 305, "column": 30 }, "end": { - "line": 318, + "line": 305, "column": 43 } }, "object": { "type": "Identifier", - "start": 8209, - "end": 8214, + "start": 8002, + "end": 8007, "loc": { "start": { - "line": 318, + "line": 305, "column": 30 }, "end": { - "line": 318, + "line": 305, "column": 35 }, "identifierName": "event" @@ -21013,15 +22065,15 @@ }, "property": { "type": "Identifier", - "start": 8215, - "end": 8222, + "start": 8008, + "end": 8015, "loc": { "start": { - "line": 318, + "line": 305, "column": 36 }, "end": { - "line": 318, + "line": 305, "column": 43 }, "identifierName": "clientX" @@ -21033,29 +22085,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 8225, - "end": 8234, + "start": 8018, + "end": 8027, "loc": { "start": { - "line": 318, + "line": 305, "column": 46 }, "end": { - "line": 318, + "line": 305, "column": 55 } }, "object": { "type": "Identifier", - "start": 8225, - "end": 8229, + "start": 8018, + "end": 8022, "loc": { "start": { - "line": 318, + "line": 305, "column": 46 }, "end": { - "line": 318, + "line": 305, "column": 50 }, "identifierName": "rect" @@ -21064,15 +22116,15 @@ }, "property": { "type": "Identifier", - "start": 8230, - "end": 8234, + "start": 8023, + "end": 8027, "loc": { "start": { - "line": 318, + "line": 305, "column": 51 }, "end": { - "line": 318, + "line": 305, "column": 55 }, "identifierName": "left" @@ -21090,44 +22142,44 @@ }, { "type": "VariableDeclaration", - "start": 8241, - "end": 8293, + "start": 8034, + "end": 8086, "loc": { "start": { - "line": 319, + "line": 306, "column": 4 }, "end": { - "line": 319, + "line": 306, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8245, - "end": 8292, + "start": 8038, + "end": 8085, "loc": { "start": { - "line": 319, + "line": 306, "column": 8 }, "end": { - "line": 319, + "line": 306, "column": 55 } }, "id": { "type": "Identifier", - "start": 8245, - "end": 8247, + "start": 8038, + "end": 8040, "loc": { "start": { - "line": 319, + "line": 306, "column": 8 }, "end": { - "line": 319, + "line": 306, "column": 10 }, "identifierName": "sy" @@ -21136,29 +22188,29 @@ }, "init": { "type": "CallExpression", - "start": 8250, - "end": 8292, + "start": 8043, + "end": 8085, "loc": { "start": { - "line": 319, + "line": 306, "column": 13 }, "end": { - "line": 319, + "line": 306, "column": 55 } }, "callee": { "type": "Identifier", - "start": 8250, - "end": 8266, + "start": 8043, + "end": 8059, "loc": { "start": { - "line": 319, + "line": 306, "column": 13 }, "end": { - "line": 319, + "line": 306, "column": 29 }, "identifierName": "transformScreenY" @@ -21168,43 +22220,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8267, - "end": 8291, + "start": 8060, + "end": 8084, "loc": { "start": { - "line": 319, + "line": 306, "column": 30 }, "end": { - "line": 319, + "line": 306, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 8267, - "end": 8280, + "start": 8060, + "end": 8073, "loc": { "start": { - "line": 319, + "line": 306, "column": 30 }, "end": { - "line": 319, + "line": 306, "column": 43 } }, "object": { "type": "Identifier", - "start": 8267, - "end": 8272, + "start": 8060, + "end": 8065, "loc": { "start": { - "line": 319, + "line": 306, "column": 30 }, "end": { - "line": 319, + "line": 306, "column": 35 }, "identifierName": "event" @@ -21213,15 +22265,15 @@ }, "property": { "type": "Identifier", - "start": 8273, - "end": 8280, + "start": 8066, + "end": 8073, "loc": { "start": { - "line": 319, + "line": 306, "column": 36 }, "end": { - "line": 319, + "line": 306, "column": 43 }, "identifierName": "clientY" @@ -21233,29 +22285,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 8283, - "end": 8291, + "start": 8076, + "end": 8084, "loc": { "start": { - "line": 319, + "line": 306, "column": 46 }, "end": { - "line": 319, + "line": 306, "column": 54 } }, "object": { "type": "Identifier", - "start": 8283, - "end": 8287, + "start": 8076, + "end": 8080, "loc": { "start": { - "line": 319, + "line": 306, "column": 46 }, "end": { - "line": 319, + "line": 306, "column": 50 }, "identifierName": "rect" @@ -21264,15 +22316,15 @@ }, "property": { "type": "Identifier", - "start": 8288, - "end": 8291, + "start": 8081, + "end": 8084, "loc": { "start": { - "line": 319, + "line": 306, "column": 51 }, "end": { - "line": 319, + "line": 306, "column": 54 }, "identifierName": "top" @@ -21291,15 +22343,15 @@ { "type": "CommentLine", "value": " log but seems ok", - "start": 8299, - "end": 8318, + "start": 8092, + "end": 8111, "loc": { "start": { - "line": 321, + "line": 308, "column": 4 }, "end": { - "line": 321, + "line": 308, "column": 23 } } @@ -21307,15 +22359,15 @@ { "type": "CommentLine", "value": " console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);", - "start": 8323, - "end": 8416, + "start": 8116, + "end": 8209, "loc": { "start": { - "line": 322, + "line": 309, "column": 4 }, "end": { - "line": 322, + "line": 309, "column": 97 } } @@ -21324,44 +22376,44 @@ }, { "type": "VariableDeclaration", - "start": 8422, - "end": 8622, + "start": 8215, + "end": 8415, "loc": { "start": { - "line": 324, + "line": 311, "column": 4 }, "end": { - "line": 330, + "line": 317, "column": 12 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8426, - "end": 8622, + "start": 8219, + "end": 8415, "loc": { "start": { - "line": 324, + "line": 311, "column": 8 }, "end": { - "line": 330, + "line": 317, "column": 12 } }, "id": { "type": "Identifier", - "start": 8426, - "end": 8432, + "start": 8219, + "end": 8225, "loc": { "start": { - "line": 324, + "line": 311, "column": 8 }, "end": { - "line": 324, + "line": 311, "column": 14 }, "identifierName": "target" @@ -21371,29 +22423,29 @@ }, "init": { "type": "CallExpression", - "start": 8435, - "end": 8622, + "start": 8228, + "end": 8415, "loc": { "start": { - "line": 324, + "line": 311, "column": 17 }, "end": { - "line": 330, + "line": 317, "column": 12 } }, "callee": { "type": "Identifier", - "start": 8435, - "end": 8448, + "start": 8228, + "end": 8241, "loc": { "start": { - "line": 324, + "line": 311, "column": 17 }, "end": { - "line": 324, + "line": 311, "column": 30 }, "identifierName": "transformRect" @@ -21403,30 +22455,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 8449, - "end": 8555, + "start": 8242, + "end": 8348, "loc": { "start": { - "line": 324, + "line": 311, "column": 31 }, "end": { - "line": 327, + "line": 314, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 8475, - "end": 8504, + "start": 8268, + "end": 8297, "loc": { "start": { - "line": 325, + "line": 312, "column": 8 }, "end": { - "line": 325, + "line": 312, "column": 37 } }, @@ -21435,15 +22487,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8475, - "end": 8476, + "start": 8268, + "end": 8269, "loc": { "start": { - "line": 325, + "line": 312, "column": 8 }, "end": { - "line": 325, + "line": 312, "column": 9 }, "identifierName": "x" @@ -21453,43 +22505,43 @@ }, "value": { "type": "BinaryExpression", - "start": 8478, - "end": 8504, + "start": 8271, + "end": 8297, "loc": { "start": { - "line": 325, + "line": 312, "column": 11 }, "end": { - "line": 325, + "line": 312, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 8478, - "end": 8487, + "start": 8271, + "end": 8280, "loc": { "start": { - "line": 325, + "line": 312, "column": 11 }, "end": { - "line": 325, + "line": 312, "column": 20 } }, "object": { "type": "Identifier", - "start": 8478, - "end": 8482, + "start": 8271, + "end": 8275, "loc": { "start": { - "line": 325, + "line": 312, "column": 11 }, "end": { - "line": 325, + "line": 312, "column": 15 }, "identifierName": "rect" @@ -21498,15 +22550,15 @@ }, "property": { "type": "Identifier", - "start": 8483, - "end": 8487, + "start": 8276, + "end": 8280, "loc": { "start": { - "line": 325, + "line": 312, "column": 16 }, "end": { - "line": 325, + "line": 312, "column": 20 }, "identifierName": "left" @@ -21518,43 +22570,43 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 8490, - "end": 8504, + "start": 8283, + "end": 8297, "loc": { "start": { - "line": 325, + "line": 312, "column": 23 }, "end": { - "line": 325, + "line": 312, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 8490, - "end": 8500, + "start": 8283, + "end": 8293, "loc": { "start": { - "line": 325, + "line": 312, "column": 23 }, "end": { - "line": 325, + "line": 312, "column": 33 } }, "object": { "type": "Identifier", - "start": 8490, - "end": 8494, + "start": 8283, + "end": 8287, "loc": { "start": { - "line": 325, + "line": 312, "column": 23 }, "end": { - "line": 325, + "line": 312, "column": 27 }, "identifierName": "rect" @@ -21563,15 +22615,15 @@ }, "property": { "type": "Identifier", - "start": 8495, - "end": 8500, + "start": 8288, + "end": 8293, "loc": { "start": { - "line": 325, + "line": 312, "column": 28 }, "end": { - "line": 325, + "line": 312, "column": 33 }, "identifierName": "width" @@ -21583,15 +22635,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 8503, - "end": 8504, + "start": 8296, + "end": 8297, "loc": { "start": { - "line": 325, + "line": 312, "column": 36 }, "end": { - "line": 325, + "line": 312, "column": 37 } }, @@ -21607,15 +22659,15 @@ { "type": "CommentLine", "value": " seems ok here", - "start": 8450, - "end": 8466, + "start": 8243, + "end": 8259, "loc": { "start": { - "line": 324, + "line": 311, "column": 32 }, "end": { - "line": 324, + "line": 311, "column": 48 } } @@ -21624,15 +22676,15 @@ }, { "type": "ObjectProperty", - "start": 8514, - "end": 8549, + "start": 8307, + "end": 8342, "loc": { "start": { - "line": 326, + "line": 313, "column": 8 }, "end": { - "line": 326, + "line": 313, "column": 43 } }, @@ -21641,15 +22693,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8514, - "end": 8515, + "start": 8307, + "end": 8308, "loc": { "start": { - "line": 326, + "line": 313, "column": 8 }, "end": { - "line": 326, + "line": 313, "column": 9 }, "identifierName": "y" @@ -21658,43 +22710,43 @@ }, "value": { "type": "BinaryExpression", - "start": 8517, - "end": 8549, + "start": 8310, + "end": 8342, "loc": { "start": { - "line": 326, + "line": 313, "column": 11 }, "end": { - "line": 326, + "line": 313, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 8517, - "end": 8525, + "start": 8310, + "end": 8318, "loc": { "start": { - "line": 326, + "line": 313, "column": 11 }, "end": { - "line": 326, + "line": 313, "column": 19 } }, "object": { "type": "Identifier", - "start": 8517, - "end": 8521, + "start": 8310, + "end": 8314, "loc": { "start": { - "line": 326, + "line": 313, "column": 11 }, "end": { - "line": 326, + "line": 313, "column": 15 }, "identifierName": "rect" @@ -21703,15 +22755,15 @@ }, "property": { "type": "Identifier", - "start": 8522, - "end": 8525, + "start": 8315, + "end": 8318, "loc": { "start": { - "line": 326, + "line": 313, "column": 16 }, "end": { - "line": 326, + "line": 313, "column": 19 }, "identifierName": "top" @@ -21723,43 +22775,43 @@ "operator": "+", "right": { "type": "BinaryExpression", - "start": 8528, - "end": 8549, + "start": 8321, + "end": 8342, "loc": { "start": { - "line": 326, + "line": 313, "column": 22 }, "end": { - "line": 326, + "line": 313, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 8528, - "end": 8539, + "start": 8321, + "end": 8332, "loc": { "start": { - "line": 326, + "line": 313, "column": 22 }, "end": { - "line": 326, + "line": 313, "column": 33 } }, "object": { "type": "Identifier", - "start": 8528, - "end": 8532, + "start": 8321, + "end": 8325, "loc": { "start": { - "line": 326, + "line": 313, "column": 22 }, "end": { - "line": 326, + "line": 313, "column": 26 }, "identifierName": "rect" @@ -21768,15 +22820,15 @@ }, "property": { "type": "Identifier", - "start": 8533, - "end": 8539, + "start": 8326, + "end": 8332, "loc": { "start": { - "line": 326, + "line": 313, "column": 27 }, "end": { - "line": 326, + "line": 313, "column": 33 }, "identifierName": "height" @@ -21788,15 +22840,15 @@ "operator": "*", "right": { "type": "Identifier", - "start": 8542, - "end": 8549, + "start": 8335, + "end": 8342, "loc": { "start": { - "line": 326, + "line": 313, "column": 36 }, "end": { - "line": 326, + "line": 313, "column": 43 }, "identifierName": "headPos" @@ -21810,30 +22862,30 @@ }, { "type": "ObjectExpression", - "start": 8557, - "end": 8615, + "start": 8350, + "end": 8408, "loc": { "start": { - "line": 327, + "line": 314, "column": 7 }, "end": { - "line": 330, + "line": 317, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 8567, - "end": 8583, + "start": 8360, + "end": 8376, "loc": { "start": { - "line": 328, + "line": 315, "column": 8 }, "end": { - "line": 328, + "line": 315, "column": 24 } }, @@ -21842,15 +22894,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8567, - "end": 8568, + "start": 8360, + "end": 8361, "loc": { "start": { - "line": 328, + "line": 315, "column": 8 }, "end": { - "line": 328, + "line": 315, "column": 9 }, "identifierName": "x" @@ -21859,29 +22911,29 @@ }, "value": { "type": "MemberExpression", - "start": 8570, - "end": 8583, + "start": 8363, + "end": 8376, "loc": { "start": { - "line": 328, + "line": 315, "column": 11 }, "end": { - "line": 328, + "line": 315, "column": 24 } }, "object": { "type": "Identifier", - "start": 8570, - "end": 8575, + "start": 8363, + "end": 8368, "loc": { "start": { - "line": 328, + "line": 315, "column": 11 }, "end": { - "line": 328, + "line": 315, "column": 16 }, "identifierName": "event" @@ -21890,15 +22942,15 @@ }, "property": { "type": "Identifier", - "start": 8576, - "end": 8583, + "start": 8369, + "end": 8376, "loc": { "start": { - "line": 328, + "line": 315, "column": 17 }, "end": { - "line": 328, + "line": 315, "column": 24 }, "identifierName": "clientX" @@ -21910,15 +22962,15 @@ }, { "type": "ObjectProperty", - "start": 8593, - "end": 8609, + "start": 8386, + "end": 8402, "loc": { "start": { - "line": 329, + "line": 316, "column": 8 }, "end": { - "line": 329, + "line": 316, "column": 24 } }, @@ -21927,15 +22979,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 8593, - "end": 8594, + "start": 8386, + "end": 8387, "loc": { "start": { - "line": 329, + "line": 316, "column": 8 }, "end": { - "line": 329, + "line": 316, "column": 9 }, "identifierName": "y" @@ -21944,29 +22996,29 @@ }, "value": { "type": "MemberExpression", - "start": 8596, - "end": 8609, + "start": 8389, + "end": 8402, "loc": { "start": { - "line": 329, + "line": 316, "column": 11 }, "end": { - "line": 329, + "line": 316, "column": 24 } }, "object": { "type": "Identifier", - "start": 8596, - "end": 8601, + "start": 8389, + "end": 8394, "loc": { "start": { - "line": 329, + "line": 316, "column": 11 }, "end": { - "line": 329, + "line": 316, "column": 16 }, "identifierName": "event" @@ -21975,15 +23027,15 @@ }, "property": { "type": "Identifier", - "start": 8602, - "end": 8609, + "start": 8395, + "end": 8402, "loc": { "start": { - "line": 329, + "line": 316, "column": 17 }, "end": { - "line": 329, + "line": 316, "column": 24 }, "identifierName": "clientY" @@ -21997,15 +23049,15 @@ }, { "type": "Identifier", - "start": 8617, - "end": 8621, + "start": 8410, + "end": 8414, "loc": { "start": { - "line": 330, + "line": 317, "column": 7 }, "end": { - "line": 330, + "line": 317, "column": 11 }, "identifierName": "rect" @@ -22022,15 +23074,15 @@ { "type": "CommentLine", "value": " log but seems ok", - "start": 8299, - "end": 8318, + "start": 8092, + "end": 8111, "loc": { "start": { - "line": 321, + "line": 308, "column": 4 }, "end": { - "line": 321, + "line": 308, "column": 23 } } @@ -22038,15 +23090,15 @@ { "type": "CommentLine", "value": " console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);", - "start": 8323, - "end": 8416, + "start": 8116, + "end": 8209, "loc": { "start": { - "line": 322, + "line": 309, "column": 4 }, "end": { - "line": 322, + "line": 309, "column": 97 } } @@ -22055,44 +23107,44 @@ }, { "type": "VariableDeclaration", - "start": 8627, - "end": 8673, + "start": 8420, + "end": 8466, "loc": { "start": { - "line": 331, + "line": 318, "column": 4 }, "end": { - "line": 331, + "line": 318, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8631, - "end": 8672, + "start": 8424, + "end": 8465, "loc": { "start": { - "line": 331, + "line": 318, "column": 8 }, "end": { - "line": 331, + "line": 318, "column": 49 } }, "id": { "type": "Identifier", - "start": 8631, - "end": 8633, + "start": 8424, + "end": 8426, "loc": { "start": { - "line": 331, + "line": 318, "column": 8 }, "end": { - "line": 331, + "line": 318, "column": 10 }, "identifierName": "vx" @@ -22101,29 +23153,29 @@ }, "init": { "type": "CallExpression", - "start": 8636, - "end": 8672, + "start": 8429, + "end": 8465, "loc": { "start": { - "line": 331, + "line": 318, "column": 13 }, "end": { - "line": 331, + "line": 318, "column": 49 } }, "callee": { "type": "Identifier", - "start": 8636, - "end": 8650, + "start": 8429, + "end": 8443, "loc": { "start": { - "line": 331, + "line": 318, "column": 13 }, "end": { - "line": 331, + "line": 318, "column": 27 }, "identifierName": "transformViewX" @@ -22133,43 +23185,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8651, - "end": 8671, + "start": 8444, + "end": 8464, "loc": { "start": { - "line": 331, + "line": 318, "column": 28 }, "end": { - "line": 331, + "line": 318, "column": 48 } }, "left": { "type": "MemberExpression", - "start": 8651, - "end": 8659, + "start": 8444, + "end": 8452, "loc": { "start": { - "line": 331, + "line": 318, "column": 28 }, "end": { - "line": 331, + "line": 318, "column": 36 } }, "object": { "type": "Identifier", - "start": 8651, - "end": 8657, + "start": 8444, + "end": 8450, "loc": { "start": { - "line": 331, + "line": 318, "column": 28 }, "end": { - "line": 331, + "line": 318, "column": 34 }, "identifierName": "target" @@ -22178,15 +23230,15 @@ }, "property": { "type": "Identifier", - "start": 8658, - "end": 8659, + "start": 8451, + "end": 8452, "loc": { "start": { - "line": 331, + "line": 318, "column": 35 }, "end": { - "line": 331, + "line": 318, "column": 36 }, "identifierName": "x" @@ -22198,29 +23250,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 8662, - "end": 8671, + "start": 8455, + "end": 8464, "loc": { "start": { - "line": 331, + "line": 318, "column": 39 }, "end": { - "line": 331, + "line": 318, "column": 48 } }, "object": { "type": "Identifier", - "start": 8662, - "end": 8666, + "start": 8455, + "end": 8459, "loc": { "start": { - "line": 331, + "line": 318, "column": 39 }, "end": { - "line": 331, + "line": 318, "column": 43 }, "identifierName": "rect" @@ -22229,15 +23281,15 @@ }, "property": { "type": "Identifier", - "start": 8667, - "end": 8671, + "start": 8460, + "end": 8464, "loc": { "start": { - "line": 331, + "line": 318, "column": 44 }, "end": { - "line": 331, + "line": 318, "column": 48 }, "identifierName": "left" @@ -22255,44 +23307,44 @@ }, { "type": "VariableDeclaration", - "start": 8678, - "end": 8723, + "start": 8471, + "end": 8516, "loc": { "start": { - "line": 332, + "line": 319, "column": 4 }, "end": { - "line": 332, + "line": 319, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8682, - "end": 8722, + "start": 8475, + "end": 8515, "loc": { "start": { - "line": 332, + "line": 319, "column": 8 }, "end": { - "line": 332, + "line": 319, "column": 48 } }, "id": { "type": "Identifier", - "start": 8682, - "end": 8684, + "start": 8475, + "end": 8477, "loc": { "start": { - "line": 332, + "line": 319, "column": 8 }, "end": { - "line": 332, + "line": 319, "column": 10 }, "identifierName": "vy" @@ -22301,29 +23353,29 @@ }, "init": { "type": "CallExpression", - "start": 8687, - "end": 8722, + "start": 8480, + "end": 8515, "loc": { "start": { - "line": 332, + "line": 319, "column": 13 }, "end": { - "line": 332, + "line": 319, "column": 48 } }, "callee": { "type": "Identifier", - "start": 8687, - "end": 8701, + "start": 8480, + "end": 8494, "loc": { "start": { - "line": 332, + "line": 319, "column": 13 }, "end": { - "line": 332, + "line": 319, "column": 27 }, "identifierName": "transformViewY" @@ -22333,43 +23385,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8702, - "end": 8721, + "start": 8495, + "end": 8514, "loc": { "start": { - "line": 332, + "line": 319, "column": 28 }, "end": { - "line": 332, + "line": 319, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 8702, - "end": 8710, + "start": 8495, + "end": 8503, "loc": { "start": { - "line": 332, + "line": 319, "column": 28 }, "end": { - "line": 332, + "line": 319, "column": 36 } }, "object": { "type": "Identifier", - "start": 8702, - "end": 8708, + "start": 8495, + "end": 8501, "loc": { "start": { - "line": 332, + "line": 319, "column": 28 }, "end": { - "line": 332, + "line": 319, "column": 34 }, "identifierName": "target" @@ -22378,15 +23430,15 @@ }, "property": { "type": "Identifier", - "start": 8709, - "end": 8710, + "start": 8502, + "end": 8503, "loc": { "start": { - "line": 332, + "line": 319, "column": 35 }, "end": { - "line": 332, + "line": 319, "column": 36 }, "identifierName": "y" @@ -22398,29 +23450,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 8713, - "end": 8721, + "start": 8506, + "end": 8514, "loc": { "start": { - "line": 332, + "line": 319, "column": 39 }, "end": { - "line": 332, + "line": 319, "column": 47 } }, "object": { "type": "Identifier", - "start": 8713, - "end": 8717, + "start": 8506, + "end": 8510, "loc": { "start": { - "line": 332, + "line": 319, "column": 39 }, "end": { - "line": 332, + "line": 319, "column": 43 }, "identifierName": "rect" @@ -22429,15 +23481,15 @@ }, "property": { "type": "Identifier", - "start": 8718, - "end": 8721, + "start": 8511, + "end": 8514, "loc": { "start": { - "line": 332, + "line": 319, "column": 44 }, "end": { - "line": 332, + "line": 319, "column": 47 }, "identifierName": "top" @@ -22455,43 +23507,43 @@ }, { "type": "IfStatement", - "start": 8729, - "end": 8898, + "start": 8522, + "end": 8691, "loc": { "start": { - "line": 334, + "line": 321, "column": 4 }, "end": { - "line": 335, + "line": 322, "column": 140 } }, "test": { "type": "MemberExpression", - "start": 8733, - "end": 8756, + "start": 8526, + "end": 8549, "loc": { "start": { - "line": 334, + "line": 321, "column": 8 }, "end": { - "line": 334, + "line": 321, "column": 31 } }, "object": { "type": "Identifier", - "start": 8733, - "end": 8740, + "start": 8526, + "end": 8533, "loc": { "start": { - "line": 334, + "line": 321, "column": 8 }, "end": { - "line": 334, + "line": 321, "column": 15 }, "identifierName": "cDefine" @@ -22500,15 +23552,15 @@ }, "property": { "type": "Identifier", - "start": 8741, - "end": 8756, + "start": 8534, + "end": 8549, "loc": { "start": { - "line": 334, + "line": 321, "column": 16 }, "end": { - "line": 334, + "line": 321, "column": 31 }, "identifierName": "DEBUG_MOUSE_LOG" @@ -22519,57 +23571,57 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 8766, - "end": 8898, + "start": 8559, + "end": 8691, "loc": { "start": { - "line": 335, + "line": 322, "column": 8 }, "end": { - "line": 335, + "line": 322, "column": 140 } }, "expression": { "type": "CallExpression", - "start": 8766, - "end": 8897, + "start": 8559, + "end": 8690, "loc": { "start": { - "line": 335, + "line": 322, "column": 8 }, "end": { - "line": 335, + "line": 322, "column": 139 } }, "callee": { "type": "MemberExpression", - "start": 8766, - "end": 8777, + "start": 8559, + "end": 8570, "loc": { "start": { - "line": 335, + "line": 322, "column": 8 }, "end": { - "line": 335, + "line": 322, "column": 19 } }, "object": { "type": "Identifier", - "start": 8766, - "end": 8773, + "start": 8559, + "end": 8566, "loc": { "start": { - "line": 335, + "line": 322, "column": 8 }, "end": { - "line": 335, + "line": 322, "column": 15 }, "identifierName": "console" @@ -22578,15 +23630,15 @@ }, "property": { "type": "Identifier", - "start": 8774, - "end": 8777, + "start": 8567, + "end": 8570, "loc": { "start": { - "line": 335, + "line": 322, "column": 16 }, "end": { - "line": 335, + "line": 322, "column": 19 }, "identifierName": "log" @@ -22598,127 +23650,127 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8778, - "end": 8896, + "start": 8571, + "end": 8689, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 138 } }, "left": { "type": "BinaryExpression", - "start": 8778, - "end": 8890, + "start": 8571, + "end": 8683, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 132 } }, "left": { "type": "BinaryExpression", - "start": 8778, - "end": 8885, + "start": 8571, + "end": 8678, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 127 } }, "left": { "type": "BinaryExpression", - "start": 8778, - "end": 8877, + "start": 8571, + "end": 8670, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 119 } }, "left": { "type": "BinaryExpression", - "start": 8778, - "end": 8872, + "start": 8571, + "end": 8665, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 114 } }, "left": { "type": "BinaryExpression", - "start": 8778, - "end": 8856, + "start": 8571, + "end": 8649, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 98 } }, "left": { "type": "BinaryExpression", - "start": 8778, - "end": 8840, + "start": 8571, + "end": 8633, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 82 } }, "left": { "type": "BinaryExpression", - "start": 8778, - "end": 8832, + "start": 8571, + "end": 8625, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 74 } }, "left": { "type": "StringLiteral", - "start": 8778, - "end": 8816, + "start": 8571, + "end": 8609, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 58 } }, @@ -22731,29 +23783,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 8819, - "end": 8832, + "start": 8612, + "end": 8625, "loc": { "start": { - "line": 335, + "line": 322, "column": 61 }, "end": { - "line": 335, + "line": 322, "column": 74 } }, "object": { "type": "Identifier", - "start": 8819, - "end": 8824, + "start": 8612, + "end": 8617, "loc": { "start": { - "line": 335, + "line": 322, "column": 61 }, "end": { - "line": 335, + "line": 322, "column": 66 }, "identifierName": "event" @@ -22762,15 +23814,15 @@ }, "property": { "type": "Identifier", - "start": 8825, - "end": 8832, + "start": 8618, + "end": 8625, "loc": { "start": { - "line": 335, + "line": 322, "column": 67 }, "end": { - "line": 335, + "line": 322, "column": 74 }, "identifierName": "clientX" @@ -22783,15 +23835,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 8835, - "end": 8840, + "start": 8628, + "end": 8633, "loc": { "start": { - "line": 335, + "line": 322, "column": 77 }, "end": { - "line": 335, + "line": 322, "column": 82 } }, @@ -22805,29 +23857,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 8843, - "end": 8856, + "start": 8636, + "end": 8649, "loc": { "start": { - "line": 335, + "line": 322, "column": 85 }, "end": { - "line": 335, + "line": 322, "column": 98 } }, "object": { "type": "Identifier", - "start": 8843, - "end": 8848, + "start": 8636, + "end": 8641, "loc": { "start": { - "line": 335, + "line": 322, "column": 85 }, "end": { - "line": 335, + "line": 322, "column": 90 }, "identifierName": "event" @@ -22836,15 +23888,15 @@ }, "property": { "type": "Identifier", - "start": 8849, - "end": 8856, + "start": 8642, + "end": 8649, "loc": { "start": { - "line": 335, + "line": 322, "column": 91 }, "end": { - "line": 335, + "line": 322, "column": 98 }, "identifierName": "clientY" @@ -22857,15 +23909,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 8859, - "end": 8872, + "start": 8652, + "end": 8665, "loc": { "start": { - "line": 335, + "line": 322, "column": 101 }, "end": { - "line": 335, + "line": 322, "column": 114 } }, @@ -22879,15 +23931,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 8875, - "end": 8877, + "start": 8668, + "end": 8670, "loc": { "start": { - "line": 335, + "line": 322, "column": 117 }, "end": { - "line": 335, + "line": 322, "column": 119 }, "identifierName": "vx" @@ -22898,15 +23950,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 8880, - "end": 8885, + "start": 8673, + "end": 8678, "loc": { "start": { - "line": 335, + "line": 322, "column": 122 }, "end": { - "line": 335, + "line": 322, "column": 127 } }, @@ -22920,15 +23972,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 8888, - "end": 8890, + "start": 8681, + "end": 8683, "loc": { "start": { - "line": 335, + "line": 322, "column": 130 }, "end": { - "line": 335, + "line": 322, "column": 132 }, "identifierName": "vy" @@ -22939,15 +23991,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 8893, - "end": 8896, + "start": 8686, + "end": 8689, "loc": { "start": { - "line": 335, + "line": 322, "column": 135 }, "end": { - "line": 335, + "line": 322, "column": 138 } }, @@ -22965,29 +24017,29 @@ }, { "type": "IfStatement", - "start": 8904, - "end": 9009, + "start": 8697, + "end": 8802, "loc": { "start": { - "line": 337, + "line": 324, "column": 4 }, "end": { - "line": 342, + "line": 329, "column": 5 } }, "test": { "type": "Identifier", - "start": 8908, - "end": 8912, + "start": 8701, + "end": 8705, "loc": { "start": { - "line": 337, + "line": 324, "column": 8 }, "end": { - "line": 337, + "line": 324, "column": 12 }, "identifierName": "drag" @@ -22996,59 +24048,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8918, - "end": 9009, + "start": 8711, + "end": 8802, "loc": { "start": { - "line": 338, + "line": 325, "column": 4 }, "end": { - "line": 342, + "line": 329, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 8928, - "end": 8944, + "start": 8721, + "end": 8737, "loc": { "start": { - "line": 339, + "line": 326, "column": 8 }, "end": { - "line": 339, + "line": 326, "column": 24 } }, "expression": { "type": "AssignmentExpression", - "start": 8928, - "end": 8943, + "start": 8721, + "end": 8736, "loc": { "start": { - "line": 339, + "line": 326, "column": 8 }, "end": { - "line": 339, + "line": 326, "column": 23 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8928, - "end": 8938, + "start": 8721, + "end": 8731, "loc": { "start": { - "line": 339, + "line": 326, "column": 8 }, "end": { - "line": 339, + "line": 326, "column": 18 }, "identifierName": "lastMouseX" @@ -23057,15 +24109,15 @@ }, "right": { "type": "Identifier", - "start": 8941, - "end": 8943, + "start": 8734, + "end": 8736, "loc": { "start": { - "line": 339, + "line": 326, "column": 21 }, "end": { - "line": 339, + "line": 326, "column": 23 }, "identifierName": "sx" @@ -23076,44 +24128,44 @@ }, { "type": "ExpressionStatement", - "start": 8953, - "end": 8969, + "start": 8746, + "end": 8762, "loc": { "start": { - "line": 340, + "line": 327, "column": 8 }, "end": { - "line": 340, + "line": 327, "column": 24 } }, "expression": { "type": "AssignmentExpression", - "start": 8953, - "end": 8968, + "start": 8746, + "end": 8761, "loc": { "start": { - "line": 340, + "line": 327, "column": 8 }, "end": { - "line": 340, + "line": 327, "column": 23 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8953, - "end": 8963, + "start": 8746, + "end": 8756, "loc": { "start": { - "line": 340, + "line": 327, "column": 8 }, "end": { - "line": 340, + "line": 327, "column": 18 }, "identifierName": "lastMouseY" @@ -23122,15 +24174,15 @@ }, "right": { "type": "Identifier", - "start": 8966, - "end": 8968, + "start": 8759, + "end": 8761, "loc": { "start": { - "line": 340, + "line": 327, "column": 21 }, "end": { - "line": 340, + "line": 327, "column": 23 }, "identifierName": "sy" @@ -23141,57 +24193,57 @@ }, { "type": "ExpressionStatement", - "start": 8978, - "end": 9003, + "start": 8771, + "end": 8796, "loc": { "start": { - "line": 341, + "line": 328, "column": 8 }, "end": { - "line": 341, + "line": 328, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 8978, - "end": 9002, + "start": 8771, + "end": 8795, "loc": { "start": { - "line": 341, + "line": 328, "column": 8 }, "end": { - "line": 341, + "line": 328, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 8978, - "end": 8994, + "start": 8771, + "end": 8787, "loc": { "start": { - "line": 341, + "line": 328, "column": 8 }, "end": { - "line": 341, + "line": 328, "column": 24 } }, "object": { "type": "Identifier", - "start": 8978, - "end": 8985, + "start": 8771, + "end": 8778, "loc": { "start": { - "line": 341, + "line": 328, "column": 8 }, "end": { - "line": 341, + "line": 328, "column": 15 }, "identifierName": "dragMgr" @@ -23200,15 +24252,15 @@ }, "property": { "type": "Identifier", - "start": 8986, - "end": 8994, + "start": 8779, + "end": 8787, "loc": { "start": { - "line": 341, + "line": 328, "column": 16 }, "end": { - "line": 341, + "line": 328, "column": 24 }, "identifierName": "setPoint" @@ -23220,15 +24272,15 @@ "arguments": [ { "type": "Identifier", - "start": 8995, - "end": 8997, + "start": 8788, + "end": 8790, "loc": { "start": { - "line": 341, + "line": 328, "column": 25 }, "end": { - "line": 341, + "line": 328, "column": 27 }, "identifierName": "vx" @@ -23237,15 +24289,15 @@ }, { "type": "Identifier", - "start": 8999, - "end": 9001, + "start": 8792, + "end": 8794, "loc": { "start": { - "line": 341, + "line": 328, "column": 29 }, "end": { - "line": 341, + "line": 328, "column": 31 }, "identifierName": "vy" @@ -23266,29 +24318,29 @@ }, { "type": "FunctionDeclaration", - "start": 9013, - "end": 9109, + "start": 8806, + "end": 8902, "loc": { "start": { - "line": 345, + "line": 332, "column": 0 }, "end": { - "line": 351, + "line": 338, "column": 1 } }, "id": { "type": "Identifier", - "start": 9022, - "end": 9031, + "start": 8815, + "end": 8824, "loc": { "start": { - "line": 345, + "line": 332, "column": 9 }, "end": { - "line": 345, + "line": 332, "column": 18 }, "identifierName": "lookFront" @@ -23301,44 +24353,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 9034, - "end": 9109, + "start": 8827, + "end": 8902, "loc": { "start": { - "line": 346, + "line": 333, "column": 0 }, "end": { - "line": 351, + "line": 338, "column": 1 } }, "body": [ { "type": "IfStatement", - "start": 9040, - "end": 9079, + "start": 8833, + "end": 8872, "loc": { "start": { - "line": 347, + "line": 334, "column": 4 }, "end": { - "line": 349, + "line": 336, "column": 5 } }, "test": { "type": "Identifier", - "start": 9044, - "end": 9048, + "start": 8837, + "end": 8841, "loc": { "start": { - "line": 347, + "line": 334, "column": 8 }, "end": { - "line": 347, + "line": 334, "column": 12 }, "identifierName": "drag" @@ -23347,59 +24399,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 9050, - "end": 9079, + "start": 8843, + "end": 8872, "loc": { "start": { - "line": 347, + "line": 334, "column": 14 }, "end": { - "line": 349, + "line": 336, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 9060, - "end": 9073, + "start": 8853, + "end": 8866, "loc": { "start": { - "line": 348, + "line": 335, "column": 8 }, "end": { - "line": 348, + "line": 335, "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 9060, - "end": 9072, + "start": 8853, + "end": 8865, "loc": { "start": { - "line": 348, + "line": 335, "column": 8 }, "end": { - "line": 348, + "line": 335, "column": 20 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9060, - "end": 9064, + "start": 8853, + "end": 8857, "loc": { "start": { - "line": 348, + "line": 335, "column": 8 }, "end": { - "line": 348, + "line": 335, "column": 12 }, "identifierName": "drag" @@ -23408,15 +24460,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 9067, - "end": 9072, + "start": 8860, + "end": 8865, "loc": { "start": { - "line": 348, + "line": 335, "column": 15 }, "end": { - "line": 348, + "line": 335, "column": 20 } }, @@ -23431,57 +24483,57 @@ }, { "type": "ExpressionStatement", - "start": 9084, - "end": 9107, + "start": 8877, + "end": 8900, "loc": { "start": { - "line": 350, + "line": 337, "column": 4 }, "end": { - "line": 350, + "line": 337, "column": 27 } }, "expression": { "type": "CallExpression", - "start": 9084, - "end": 9106, + "start": 8877, + "end": 8899, "loc": { "start": { - "line": 350, + "line": 337, "column": 4 }, "end": { - "line": 350, + "line": 337, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 9084, - "end": 9100, + "start": 8877, + "end": 8893, "loc": { "start": { - "line": 350, + "line": 337, "column": 4 }, "end": { - "line": 350, + "line": 337, "column": 20 } }, "object": { "type": "Identifier", - "start": 9084, - "end": 9091, + "start": 8877, + "end": 8884, "loc": { "start": { - "line": 350, + "line": 337, "column": 4 }, "end": { - "line": 350, + "line": 337, "column": 11 }, "identifierName": "dragMgr" @@ -23490,15 +24542,15 @@ }, "property": { "type": "Identifier", - "start": 9092, - "end": 9100, + "start": 8885, + "end": 8893, "loc": { "start": { - "line": 350, + "line": 337, "column": 12 }, "end": { - "line": 350, + "line": 337, "column": 20 }, "identifierName": "setPoint" @@ -23510,15 +24562,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 9101, - "end": 9102, + "start": 8894, + "end": 8895, "loc": { "start": { - "line": 350, + "line": 337, "column": 21 }, "end": { - "line": 350, + "line": 337, "column": 22 } }, @@ -23530,15 +24582,15 @@ }, { "type": "NumericLiteral", - "start": 9104, - "end": 9105, + "start": 8897, + "end": 8898, "loc": { "start": { - "line": 350, + "line": 337, "column": 24 }, "end": { - "line": 350, + "line": 337, "column": 25 } }, @@ -23557,29 +24609,29 @@ }, { "type": "FunctionDeclaration", - "start": 9111, - "end": 9469, + "start": 8904, + "end": 9262, "loc": { "start": { - "line": 353, + "line": 340, "column": 0 }, "end": { - "line": 366, + "line": 353, "column": 1 } }, "id": { "type": "Identifier", - "start": 9120, - "end": 9130, + "start": 8913, + "end": 8923, "loc": { "start": { - "line": 353, + "line": 340, "column": 9 }, "end": { - "line": 353, + "line": 340, "column": 19 }, "identifierName": "mouseEvent" @@ -23592,15 +24644,15 @@ "params": [ { "type": "Identifier", - "start": 9131, - "end": 9132, + "start": 8924, + "end": 8925, "loc": { "start": { - "line": 353, + "line": 340, "column": 20 }, "end": { - "line": 353, + "line": 340, "column": 21 }, "identifierName": "e" @@ -23610,72 +24662,72 @@ ], "body": { "type": "BlockStatement", - "start": 9134, - "end": 9469, + "start": 8927, + "end": 9262, "loc": { "start": { - "line": 354, + "line": 341, "column": 0 }, "end": { - "line": 366, + "line": 353, "column": 1 } }, "body": [ { "type": "IfStatement", - "start": 9166, - "end": 9467, + "start": 8959, + "end": 9260, "loc": { "start": { - "line": 356, + "line": 343, "column": 4 }, "end": { - "line": 365, + "line": 352, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9170, - "end": 9191, + "start": 8963, + "end": 8984, "loc": { "start": { - "line": 356, + "line": 343, "column": 8 }, "end": { - "line": 356, + "line": 343, "column": 29 } }, "left": { "type": "MemberExpression", - "start": 9170, - "end": 9176, + "start": 8963, + "end": 8969, "loc": { "start": { - "line": 356, + "line": 343, "column": 8 }, "end": { - "line": 356, + "line": 343, "column": 14 } }, "object": { "type": "Identifier", - "start": 9170, - "end": 9171, + "start": 8963, + "end": 8964, "loc": { "start": { - "line": 356, + "line": 343, "column": 8 }, "end": { - "line": 356, + "line": 343, "column": 9 }, "identifierName": "e" @@ -23685,15 +24737,15 @@ }, "property": { "type": "Identifier", - "start": 9172, - "end": 9176, + "start": 8965, + "end": 8969, "loc": { "start": { - "line": 356, + "line": 343, "column": 10 }, "end": { - "line": 356, + "line": 343, "column": 14 }, "identifierName": "type" @@ -23706,15 +24758,15 @@ "operator": "==", "right": { "type": "StringLiteral", - "start": 9180, - "end": 9191, + "start": 8973, + "end": 8984, "loc": { "start": { - "line": 356, + "line": 343, "column": 18 }, "end": { - "line": 356, + "line": 343, "column": 29 } }, @@ -23728,58 +24780,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9193, - "end": 9226, + "start": 8986, + "end": 9019, "loc": { "start": { - "line": 356, + "line": 343, "column": 31 }, "end": { - "line": 358, + "line": 345, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 9203, - "end": 9220, + "start": 8996, + "end": 9013, "loc": { "start": { - "line": 357, + "line": 344, "column": 8 }, "end": { - "line": 357, + "line": 344, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 9203, - "end": 9219, + "start": 8996, + "end": 9012, "loc": { "start": { - "line": 357, + "line": 344, "column": 8 }, "end": { - "line": 357, + "line": 344, "column": 24 } }, "callee": { "type": "Identifier", - "start": 9203, - "end": 9216, + "start": 8996, + "end": 9009, "loc": { "start": { - "line": 357, + "line": 344, "column": 8 }, "end": { - "line": 357, + "line": 344, "column": 21 }, "identifierName": "modelTapEvent" @@ -23789,15 +24841,15 @@ "arguments": [ { "type": "Identifier", - "start": 9217, - "end": 9218, + "start": 9010, + "end": 9011, "loc": { "start": { - "line": 357, + "line": 344, "column": 22 }, "end": { - "line": 357, + "line": 344, "column": 23 }, "identifierName": "e" @@ -23812,57 +24864,57 @@ }, "alternate": { "type": "IfStatement", - "start": 9232, - "end": 9467, + "start": 9025, + "end": 9260, "loc": { "start": { - "line": 358, + "line": 345, "column": 11 }, "end": { - "line": 365, + "line": 352, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9236, - "end": 9257, + "start": 9029, + "end": 9050, "loc": { "start": { - "line": 358, + "line": 345, "column": 15 }, "end": { - "line": 358, + "line": 345, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 9236, - "end": 9242, + "start": 9029, + "end": 9035, "loc": { "start": { - "line": 358, + "line": 345, "column": 15 }, "end": { - "line": 358, + "line": 345, "column": 21 } }, "object": { "type": "Identifier", - "start": 9236, - "end": 9237, + "start": 9029, + "end": 9030, "loc": { "start": { - "line": 358, + "line": 345, "column": 15 }, "end": { - "line": 358, + "line": 345, "column": 16 }, "identifierName": "e" @@ -23871,15 +24923,15 @@ }, "property": { "type": "Identifier", - "start": 9238, - "end": 9242, + "start": 9031, + "end": 9035, "loc": { "start": { - "line": 358, + "line": 345, "column": 17 }, "end": { - "line": 358, + "line": 345, "column": 21 }, "identifierName": "type" @@ -23891,15 +24943,15 @@ "operator": "==", "right": { "type": "StringLiteral", - "start": 9246, - "end": 9257, + "start": 9039, + "end": 9050, "loc": { "start": { - "line": 358, + "line": 345, "column": 25 }, "end": { - "line": 358, + "line": 345, "column": 36 } }, @@ -23912,58 +24964,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9259, - "end": 9292, + "start": 9052, + "end": 9085, "loc": { "start": { - "line": 358, + "line": 345, "column": 38 }, "end": { - "line": 360, + "line": 347, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 9269, - "end": 9286, + "start": 9062, + "end": 9079, "loc": { "start": { - "line": 359, + "line": 346, "column": 8 }, "end": { - "line": 359, + "line": 346, "column": 25 } }, "expression": { "type": "CallExpression", - "start": 9269, - "end": 9285, + "start": 9062, + "end": 9078, "loc": { "start": { - "line": 359, + "line": 346, "column": 8 }, "end": { - "line": 359, + "line": 346, "column": 24 } }, "callee": { "type": "Identifier", - "start": 9269, - "end": 9282, + "start": 9062, + "end": 9075, "loc": { "start": { - "line": 359, + "line": 346, "column": 8 }, "end": { - "line": 359, + "line": 346, "column": 21 }, "identifierName": "modelTurnHead" @@ -23973,15 +25025,15 @@ "arguments": [ { "type": "Identifier", - "start": 9283, - "end": 9284, + "start": 9076, + "end": 9077, "loc": { "start": { - "line": 359, + "line": 346, "column": 22 }, "end": { - "line": 359, + "line": 346, "column": 23 }, "identifierName": "e" @@ -23996,57 +25048,57 @@ }, "alternate": { "type": "IfStatement", - "start": 9298, - "end": 9467, + "start": 9091, + "end": 9260, "loc": { "start": { - "line": 360, + "line": 347, "column": 11 }, "end": { - "line": 365, + "line": 352, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9302, - "end": 9321, + "start": 9095, + "end": 9114, "loc": { "start": { - "line": 360, + "line": 347, "column": 15 }, "end": { - "line": 360, + "line": 347, "column": 34 } }, "left": { "type": "MemberExpression", - "start": 9302, - "end": 9308, + "start": 9095, + "end": 9101, "loc": { "start": { - "line": 360, + "line": 347, "column": 15 }, "end": { - "line": 360, + "line": 347, "column": 21 } }, "object": { "type": "Identifier", - "start": 9302, - "end": 9303, + "start": 9095, + "end": 9096, "loc": { "start": { - "line": 360, + "line": 347, "column": 15 }, "end": { - "line": 360, + "line": 347, "column": 16 }, "identifierName": "e" @@ -24055,15 +25107,15 @@ }, "property": { "type": "Identifier", - "start": 9304, - "end": 9308, + "start": 9097, + "end": 9101, "loc": { "start": { - "line": 360, + "line": 347, "column": 17 }, "end": { - "line": 360, + "line": 347, "column": 21 }, "identifierName": "type" @@ -24075,15 +25127,15 @@ "operator": "==", "right": { "type": "StringLiteral", - "start": 9312, - "end": 9321, + "start": 9105, + "end": 9114, "loc": { "start": { - "line": 360, + "line": 347, "column": 25 }, "end": { - "line": 360, + "line": 347, "column": 34 } }, @@ -24096,72 +25148,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 9323, - "end": 9405, + "start": 9116, + "end": 9198, "loc": { "start": { - "line": 360, + "line": 347, "column": 36 }, "end": { - "line": 363, + "line": 350, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9333, - "end": 9375, + "start": 9126, + "end": 9168, "loc": { "start": { - "line": 361, + "line": 348, "column": 8 }, "end": { - "line": 361, + "line": 348, "column": 50 } }, "test": { "type": "LogicalExpression", - "start": 9336, - "end": 9366, + "start": 9129, + "end": 9159, "loc": { "start": { - "line": 361, + "line": 348, "column": 11 }, "end": { - "line": 361, + "line": 348, "column": 41 } }, "left": { "type": "BinaryExpression", - "start": 9336, - "end": 9349, + "start": 9129, + "end": 9142, "loc": { "start": { - "line": 361, + "line": 348, "column": 11 }, "end": { - "line": 361, + "line": 348, "column": 24 } }, "left": { "type": "StringLiteral", - "start": 9336, - "end": 9344, + "start": 9129, + "end": 9137, "loc": { "start": { - "line": 361, + "line": 348, "column": 11 }, "end": { - "line": 361, + "line": 348, "column": 19 } }, @@ -24174,15 +25226,15 @@ "operator": "in", "right": { "type": "Identifier", - "start": 9348, - "end": 9349, + "start": 9141, + "end": 9142, "loc": { "start": { - "line": 361, + "line": 348, "column": 23 }, "end": { - "line": 361, + "line": 348, "column": 24 }, "identifierName": "e" @@ -24193,43 +25245,43 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 9353, - "end": 9366, + "start": 9146, + "end": 9159, "loc": { "start": { - "line": 361, + "line": 348, "column": 28 }, "end": { - "line": 361, + "line": 348, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 9353, - "end": 9361, + "start": 9146, + "end": 9154, "loc": { "start": { - "line": 361, + "line": 348, "column": 28 }, "end": { - "line": 361, + "line": 348, "column": 36 } }, "object": { "type": "Identifier", - "start": 9353, - "end": 9354, + "start": 9146, + "end": 9147, "loc": { "start": { - "line": 361, + "line": 348, "column": 28 }, "end": { - "line": 361, + "line": 348, "column": 29 }, "identifierName": "e" @@ -24238,15 +25290,15 @@ }, "property": { "type": "Identifier", - "start": 9355, - "end": 9361, + "start": 9148, + "end": 9154, "loc": { "start": { - "line": 361, + "line": 348, "column": 30 }, "end": { - "line": 361, + "line": 348, "column": 36 }, "identifierName": "button" @@ -24258,15 +25310,15 @@ "operator": "!=", "right": { "type": "NumericLiteral", - "start": 9365, - "end": 9366, + "start": 9158, + "end": 9159, "loc": { "start": { - "line": 361, + "line": 348, "column": 40 }, "end": { - "line": 361, + "line": 348, "column": 41 } }, @@ -24280,15 +25332,15 @@ }, "consequent": { "type": "ReturnStatement", - "start": 9368, - "end": 9375, + "start": 9161, + "end": 9168, "loc": { "start": { - "line": 361, + "line": 348, "column": 43 }, "end": { - "line": 361, + "line": 348, "column": 50 } }, @@ -24301,15 +25353,15 @@ { "type": "CommentLine", "value": " lookFront();", - "start": 9384, - "end": 9399, + "start": 9177, + "end": 9192, "loc": { "start": { - "line": 362, + "line": 349, "column": 8 }, "end": { - "line": 362, + "line": 349, "column": 23 } } @@ -24321,57 +25373,57 @@ }, "alternate": { "type": "IfStatement", - "start": 9411, - "end": 9467, + "start": 9204, + "end": 9260, "loc": { "start": { - "line": 363, + "line": 350, "column": 11 }, "end": { - "line": 365, + "line": 352, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9415, - "end": 9437, + "start": 9208, + "end": 9230, "loc": { "start": { - "line": 363, + "line": 350, "column": 15 }, "end": { - "line": 363, + "line": 350, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 9415, - "end": 9421, + "start": 9208, + "end": 9214, "loc": { "start": { - "line": 363, + "line": 350, "column": 15 }, "end": { - "line": 363, + "line": 350, "column": 21 } }, "object": { "type": "Identifier", - "start": 9415, - "end": 9416, + "start": 9208, + "end": 9209, "loc": { "start": { - "line": 363, + "line": 350, "column": 15 }, "end": { - "line": 363, + "line": 350, "column": 16 }, "identifierName": "e" @@ -24380,15 +25432,15 @@ }, "property": { "type": "Identifier", - "start": 9417, - "end": 9421, + "start": 9210, + "end": 9214, "loc": { "start": { - "line": 363, + "line": 350, "column": 17 }, "end": { - "line": 363, + "line": 350, "column": 21 }, "identifierName": "type" @@ -24400,15 +25452,15 @@ "operator": "==", "right": { "type": "StringLiteral", - "start": 9425, - "end": 9437, + "start": 9218, + "end": 9230, "loc": { "start": { - "line": 363, + "line": 350, "column": 25 }, "end": { - "line": 363, + "line": 350, "column": 37 } }, @@ -24421,58 +25473,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9439, - "end": 9467, + "start": 9232, + "end": 9260, "loc": { "start": { - "line": 363, + "line": 350, "column": 39 }, "end": { - "line": 365, + "line": 352, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 9449, - "end": 9461, + "start": 9242, + "end": 9254, "loc": { "start": { - "line": 364, + "line": 351, "column": 8 }, "end": { - "line": 364, + "line": 351, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 9449, - "end": 9460, + "start": 9242, + "end": 9253, "loc": { "start": { - "line": 364, + "line": 351, "column": 8 }, "end": { - "line": 364, + "line": 351, "column": 19 } }, "callee": { "type": "Identifier", - "start": 9449, - "end": 9458, + "start": 9242, + "end": 9251, "loc": { "start": { - "line": 364, + "line": 351, "column": 8 }, "end": { - "line": 364, + "line": 351, "column": 17 }, "identifierName": "lookFront" @@ -24493,15 +25545,15 @@ { "type": "CommentLine", "value": "e.preventDefault();", - "start": 9140, - "end": 9161, + "start": 8933, + "end": 8954, "loc": { "start": { - "line": 355, + "line": 342, "column": 4 }, "end": { - "line": 355, + "line": 342, "column": 25 } } @@ -24514,29 +25566,29 @@ }, { "type": "FunctionDeclaration", - "start": 9471, - "end": 9781, + "start": 9264, + "end": 9574, "loc": { "start": { - "line": 368, + "line": 355, "column": 0 }, "end": { - "line": 379, + "line": 366, "column": 1 } }, "id": { "type": "Identifier", - "start": 9480, - "end": 9490, + "start": 9273, + "end": 9283, "loc": { "start": { - "line": 368, + "line": 355, "column": 9 }, "end": { - "line": 368, + "line": 355, "column": 19 }, "identifierName": "touchEvent" @@ -24549,15 +25601,15 @@ "params": [ { "type": "Identifier", - "start": 9491, - "end": 9492, + "start": 9284, + "end": 9285, "loc": { "start": { - "line": 368, + "line": 355, "column": 20 }, "end": { - "line": 368, + "line": 355, "column": 21 }, "identifierName": "e" @@ -24567,59 +25619,59 @@ ], "body": { "type": "BlockStatement", - "start": 9494, - "end": 9781, + "start": 9287, + "end": 9574, "loc": { "start": { - "line": 369, + "line": 356, "column": 0 }, "end": { - "line": 379, + "line": 366, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 9500, - "end": 9525, + "start": 9293, + "end": 9318, "loc": { "start": { - "line": 370, + "line": 357, "column": 4 }, "end": { - "line": 370, + "line": 357, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9504, - "end": 9524, + "start": 9297, + "end": 9317, "loc": { "start": { - "line": 370, + "line": 357, "column": 8 }, "end": { - "line": 370, + "line": 357, "column": 28 } }, "id": { "type": "Identifier", - "start": 9504, - "end": 9509, + "start": 9297, + "end": 9302, "loc": { "start": { - "line": 370, + "line": 357, "column": 8 }, "end": { - "line": 370, + "line": 357, "column": 13 }, "identifierName": "touch" @@ -24628,43 +25680,43 @@ }, "init": { "type": "MemberExpression", - "start": 9512, - "end": 9524, + "start": 9305, + "end": 9317, "loc": { "start": { - "line": 370, + "line": 357, "column": 16 }, "end": { - "line": 370, + "line": 357, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 9512, - "end": 9521, + "start": 9305, + "end": 9314, "loc": { "start": { - "line": 370, + "line": 357, "column": 16 }, "end": { - "line": 370, + "line": 357, "column": 25 } }, "object": { "type": "Identifier", - "start": 9512, - "end": 9513, + "start": 9305, + "end": 9306, "loc": { "start": { - "line": 370, + "line": 357, "column": 16 }, "end": { - "line": 370, + "line": 357, "column": 17 }, "identifierName": "e" @@ -24673,15 +25725,15 @@ }, "property": { "type": "Identifier", - "start": 9514, - "end": 9521, + "start": 9307, + "end": 9314, "loc": { "start": { - "line": 370, + "line": 357, "column": 18 }, "end": { - "line": 370, + "line": 357, "column": 25 }, "identifierName": "touches" @@ -24692,15 +25744,15 @@ }, "property": { "type": "NumericLiteral", - "start": 9522, - "end": 9523, + "start": 9315, + "end": 9316, "loc": { "start": { - "line": 370, + "line": 357, "column": 26 }, "end": { - "line": 370, + "line": 357, "column": 27 } }, @@ -24718,57 +25770,57 @@ }, { "type": "IfStatement", - "start": 9530, - "end": 9779, + "start": 9323, + "end": 9572, "loc": { "start": { - "line": 371, + "line": 358, "column": 4 }, "end": { - "line": 378, + "line": 365, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9534, - "end": 9556, + "start": 9327, + "end": 9349, "loc": { "start": { - "line": 371, + "line": 358, "column": 8 }, "end": { - "line": 371, + "line": 358, "column": 30 } }, "left": { "type": "MemberExpression", - "start": 9534, - "end": 9540, + "start": 9327, + "end": 9333, "loc": { "start": { - "line": 371, + "line": 358, "column": 8 }, "end": { - "line": 371, + "line": 358, "column": 14 } }, "object": { "type": "Identifier", - "start": 9534, - "end": 9535, + "start": 9327, + "end": 9328, "loc": { "start": { - "line": 371, + "line": 358, "column": 8 }, "end": { - "line": 371, + "line": 358, "column": 9 }, "identifierName": "e" @@ -24777,15 +25829,15 @@ }, "property": { "type": "Identifier", - "start": 9536, - "end": 9540, + "start": 9329, + "end": 9333, "loc": { "start": { - "line": 371, + "line": 358, "column": 10 }, "end": { - "line": 371, + "line": 358, "column": 14 }, "identifierName": "type" @@ -24797,15 +25849,15 @@ "operator": "==", "right": { "type": "StringLiteral", - "start": 9544, - "end": 9556, + "start": 9337, + "end": 9349, "loc": { "start": { - "line": 371, + "line": 358, "column": 18 }, "end": { - "line": 371, + "line": 358, "column": 30 } }, @@ -24818,86 +25870,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 9558, - "end": 9649, + "start": 9351, + "end": 9442, "loc": { "start": { - "line": 371, + "line": 358, "column": 32 }, "end": { - "line": 374, + "line": 361, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 9568, - "end": 9616, + "start": 9361, + "end": 9409, "loc": { "start": { - "line": 372, + "line": 359, "column": 8 }, "end": { - "line": 372, + "line": 359, "column": 56 } }, "test": { "type": "BinaryExpression", - "start": 9572, - "end": 9593, + "start": 9365, + "end": 9386, "loc": { "start": { - "line": 372, + "line": 359, "column": 12 }, "end": { - "line": 372, + "line": 359, "column": 33 } }, "left": { "type": "MemberExpression", - "start": 9572, - "end": 9588, + "start": 9365, + "end": 9381, "loc": { "start": { - "line": 372, + "line": 359, "column": 12 }, "end": { - "line": 372, + "line": 359, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 9572, - "end": 9581, + "start": 9365, + "end": 9374, "loc": { "start": { - "line": 372, + "line": 359, "column": 12 }, "end": { - "line": 372, + "line": 359, "column": 21 } }, "object": { "type": "Identifier", - "start": 9572, - "end": 9573, + "start": 9365, + "end": 9366, "loc": { "start": { - "line": 372, + "line": 359, "column": 12 }, "end": { - "line": 372, + "line": 359, "column": 13 }, "identifierName": "e" @@ -24906,15 +25958,15 @@ }, "property": { "type": "Identifier", - "start": 9574, - "end": 9581, + "start": 9367, + "end": 9374, "loc": { "start": { - "line": 372, + "line": 359, "column": 14 }, "end": { - "line": 372, + "line": 359, "column": 21 }, "identifierName": "touches" @@ -24925,15 +25977,15 @@ }, "property": { "type": "Identifier", - "start": 9582, - "end": 9588, + "start": 9375, + "end": 9381, "loc": { "start": { - "line": 372, + "line": 359, "column": 22 }, "end": { - "line": 372, + "line": 359, "column": 28 }, "identifierName": "length" @@ -24945,15 +25997,15 @@ "operator": "==", "right": { "type": "NumericLiteral", - "start": 9592, - "end": 9593, + "start": 9385, + "end": 9386, "loc": { "start": { - "line": 372, + "line": 359, "column": 32 }, "end": { - "line": 372, + "line": 359, "column": 33 } }, @@ -24966,43 +26018,43 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 9595, - "end": 9616, + "start": 9388, + "end": 9409, "loc": { "start": { - "line": 372, + "line": 359, "column": 35 }, "end": { - "line": 372, + "line": 359, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 9595, - "end": 9615, + "start": 9388, + "end": 9408, "loc": { "start": { - "line": 372, + "line": 359, "column": 35 }, "end": { - "line": 372, + "line": 359, "column": 55 } }, "callee": { "type": "Identifier", - "start": 9595, - "end": 9608, + "start": 9388, + "end": 9401, "loc": { "start": { - "line": 372, + "line": 359, "column": 35 }, "end": { - "line": 372, + "line": 359, "column": 48 }, "identifierName": "modelTapEvent" @@ -25012,15 +26064,15 @@ "arguments": [ { "type": "Identifier", - "start": 9609, - "end": 9614, + "start": 9402, + "end": 9407, "loc": { "start": { - "line": 372, + "line": 359, "column": 49 }, "end": { - "line": 372, + "line": 359, "column": 54 }, "identifierName": "touch" @@ -25036,15 +26088,15 @@ { "type": "CommentLine", "value": " onClick(touch);", - "start": 9625, - "end": 9643, + "start": 9418, + "end": 9436, "loc": { "start": { - "line": 373, + "line": 360, "column": 8 }, "end": { - "line": 373, + "line": 360, "column": 26 } } @@ -25056,57 +26108,57 @@ }, "alternate": { "type": "IfStatement", - "start": 9655, - "end": 9779, + "start": 9448, + "end": 9572, "loc": { "start": { - "line": 374, + "line": 361, "column": 11 }, "end": { - "line": 378, + "line": 365, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9659, - "end": 9680, + "start": 9452, + "end": 9473, "loc": { "start": { - "line": 374, + "line": 361, "column": 15 }, "end": { - "line": 374, + "line": 361, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 9659, - "end": 9665, + "start": 9452, + "end": 9458, "loc": { "start": { - "line": 374, + "line": 361, "column": 15 }, "end": { - "line": 374, + "line": 361, "column": 21 } }, "object": { "type": "Identifier", - "start": 9659, - "end": 9660, + "start": 9452, + "end": 9453, "loc": { "start": { - "line": 374, + "line": 361, "column": 15 }, "end": { - "line": 374, + "line": 361, "column": 16 }, "identifierName": "e" @@ -25115,15 +26167,15 @@ }, "property": { "type": "Identifier", - "start": 9661, - "end": 9665, + "start": 9454, + "end": 9458, "loc": { "start": { - "line": 374, + "line": 361, "column": 17 }, "end": { - "line": 374, + "line": 361, "column": 21 }, "identifierName": "type" @@ -25135,15 +26187,15 @@ "operator": "==", "right": { "type": "StringLiteral", - "start": 9669, - "end": 9680, + "start": 9462, + "end": 9473, "loc": { "start": { - "line": 374, + "line": 361, "column": 25 }, "end": { - "line": 374, + "line": 361, "column": 36 } }, @@ -25156,58 +26208,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9682, - "end": 9719, + "start": 9475, + "end": 9512, "loc": { "start": { - "line": 374, + "line": 361, "column": 38 }, "end": { - "line": 376, + "line": 363, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 9692, - "end": 9713, + "start": 9485, + "end": 9506, "loc": { "start": { - "line": 375, + "line": 362, "column": 8 }, "end": { - "line": 375, + "line": 362, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 9692, - "end": 9712, + "start": 9485, + "end": 9505, "loc": { "start": { - "line": 375, + "line": 362, "column": 8 }, "end": { - "line": 375, + "line": 362, "column": 28 } }, "callee": { "type": "Identifier", - "start": 9692, - "end": 9705, + "start": 9485, + "end": 9498, "loc": { "start": { - "line": 375, + "line": 362, "column": 8 }, "end": { - "line": 375, + "line": 362, "column": 21 }, "identifierName": "followPointer" @@ -25217,15 +26269,15 @@ "arguments": [ { "type": "Identifier", - "start": 9706, - "end": 9711, + "start": 9499, + "end": 9504, "loc": { "start": { - "line": 375, + "line": 362, "column": 22 }, "end": { - "line": 375, + "line": 362, "column": 27 }, "identifierName": "touch" @@ -25240,57 +26292,57 @@ }, "alternate": { "type": "IfStatement", - "start": 9725, - "end": 9779, + "start": 9518, + "end": 9572, "loc": { "start": { - "line": 376, + "line": 363, "column": 11 }, "end": { - "line": 378, + "line": 365, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 9729, - "end": 9749, + "start": 9522, + "end": 9542, "loc": { "start": { - "line": 376, + "line": 363, "column": 15 }, "end": { - "line": 376, + "line": 363, "column": 35 } }, "left": { "type": "MemberExpression", - "start": 9729, - "end": 9735, + "start": 9522, + "end": 9528, "loc": { "start": { - "line": 376, + "line": 363, "column": 15 }, "end": { - "line": 376, + "line": 363, "column": 21 } }, "object": { "type": "Identifier", - "start": 9729, - "end": 9730, + "start": 9522, + "end": 9523, "loc": { "start": { - "line": 376, + "line": 363, "column": 15 }, "end": { - "line": 376, + "line": 363, "column": 16 }, "identifierName": "e" @@ -25299,15 +26351,15 @@ }, "property": { "type": "Identifier", - "start": 9731, - "end": 9735, + "start": 9524, + "end": 9528, "loc": { "start": { - "line": 376, + "line": 363, "column": 17 }, "end": { - "line": 376, + "line": 363, "column": 21 }, "identifierName": "type" @@ -25319,15 +26371,15 @@ "operator": "==", "right": { "type": "StringLiteral", - "start": 9739, - "end": 9749, + "start": 9532, + "end": 9542, "loc": { "start": { - "line": 376, + "line": 363, "column": 25 }, "end": { - "line": 376, + "line": 363, "column": 35 } }, @@ -25340,58 +26392,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9751, - "end": 9779, + "start": 9544, + "end": 9572, "loc": { "start": { - "line": 376, + "line": 363, "column": 37 }, "end": { - "line": 378, + "line": 365, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 9761, - "end": 9773, + "start": 9554, + "end": 9566, "loc": { "start": { - "line": 377, + "line": 364, "column": 8 }, "end": { - "line": 377, + "line": 364, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 9761, - "end": 9772, + "start": 9554, + "end": 9565, "loc": { "start": { - "line": 377, + "line": 364, "column": 8 }, "end": { - "line": 377, + "line": 364, "column": 19 } }, "callee": { "type": "Identifier", - "start": 9761, - "end": 9770, + "start": 9554, + "end": 9563, "loc": { "start": { - "line": 377, + "line": 364, "column": 8 }, "end": { - "line": 377, + "line": 364, "column": 17 }, "identifierName": "lookFront" @@ -25414,29 +26466,29 @@ }, { "type": "FunctionDeclaration", - "start": 9783, - "end": 9922, + "start": 9576, + "end": 9715, "loc": { "start": { - "line": 381, + "line": 368, "column": 0 }, "end": { - "line": 385, + "line": 372, "column": 1 } }, "id": { "type": "Identifier", - "start": 9792, - "end": 9806, + "start": 9585, + "end": 9599, "loc": { "start": { - "line": 381, + "line": 368, "column": 9 }, "end": { - "line": 381, + "line": 368, "column": 23 }, "identifierName": "transformViewX" @@ -25449,15 +26501,15 @@ "params": [ { "type": "Identifier", - "start": 9807, - "end": 9814, + "start": 9600, + "end": 9607, "loc": { "start": { - "line": 381, + "line": 368, "column": 24 }, "end": { - "line": 381, + "line": 368, "column": 31 }, "identifierName": "deviceX" @@ -25467,59 +26519,59 @@ ], "body": { "type": "BlockStatement", - "start": 9816, - "end": 9922, + "start": 9609, + "end": 9715, "loc": { "start": { - "line": 382, + "line": 369, "column": 0 }, "end": { - "line": 385, + "line": 372, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 9822, - "end": 9871, + "start": 9615, + "end": 9664, "loc": { "start": { - "line": 383, + "line": 370, "column": 4 }, "end": { - "line": 383, + "line": 370, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9826, - "end": 9870, + "start": 9619, + "end": 9663, "loc": { "start": { - "line": 383, + "line": 370, "column": 8 }, "end": { - "line": 383, + "line": 370, "column": 52 } }, "id": { "type": "Identifier", - "start": 9826, - "end": 9833, + "start": 9619, + "end": 9626, "loc": { "start": { - "line": 383, + "line": 370, "column": 8 }, "end": { - "line": 383, + "line": 370, "column": 15 }, "identifierName": "screenX" @@ -25528,43 +26580,43 @@ }, "init": { "type": "CallExpression", - "start": 9836, - "end": 9870, + "start": 9629, + "end": 9663, "loc": { "start": { - "line": 383, + "line": 370, "column": 18 }, "end": { - "line": 383, + "line": 370, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 9836, - "end": 9861, + "start": 9629, + "end": 9654, "loc": { "start": { - "line": 383, + "line": 370, "column": 18 }, "end": { - "line": 383, + "line": 370, "column": 43 } }, "object": { "type": "Identifier", - "start": 9836, - "end": 9850, + "start": 9629, + "end": 9643, "loc": { "start": { - "line": 383, + "line": 370, "column": 18 }, "end": { - "line": 383, + "line": 370, "column": 32 }, "identifierName": "deviceToScreen" @@ -25573,15 +26625,15 @@ }, "property": { "type": "Identifier", - "start": 9851, - "end": 9861, + "start": 9644, + "end": 9654, "loc": { "start": { - "line": 383, + "line": 370, "column": 33 }, "end": { - "line": 383, + "line": 370, "column": 43 }, "identifierName": "transformX" @@ -25593,15 +26645,15 @@ "arguments": [ { "type": "Identifier", - "start": 9862, - "end": 9869, + "start": 9655, + "end": 9662, "loc": { "start": { - "line": 383, + "line": 370, "column": 44 }, "end": { - "line": 383, + "line": 370, "column": 51 }, "identifierName": "deviceX" @@ -25616,57 +26668,57 @@ }, { "type": "ReturnStatement", - "start": 9876, - "end": 9920, + "start": 9669, + "end": 9713, "loc": { "start": { - "line": 384, + "line": 371, "column": 4 }, "end": { - "line": 384, + "line": 371, "column": 48 } }, "argument": { "type": "CallExpression", - "start": 9883, - "end": 9919, + "start": 9676, + "end": 9712, "loc": { "start": { - "line": 384, + "line": 371, "column": 11 }, "end": { - "line": 384, + "line": 371, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 9883, - "end": 9910, + "start": 9676, + "end": 9703, "loc": { "start": { - "line": 384, + "line": 371, "column": 11 }, "end": { - "line": 384, + "line": 371, "column": 38 } }, "object": { "type": "Identifier", - "start": 9883, - "end": 9893, + "start": 9676, + "end": 9686, "loc": { "start": { - "line": 384, + "line": 371, "column": 11 }, "end": { - "line": 384, + "line": 371, "column": 21 }, "identifierName": "viewMatrix" @@ -25675,15 +26727,15 @@ }, "property": { "type": "Identifier", - "start": 9894, - "end": 9910, + "start": 9687, + "end": 9703, "loc": { "start": { - "line": 384, + "line": 371, "column": 22 }, "end": { - "line": 384, + "line": 371, "column": 38 }, "identifierName": "invertTransformX" @@ -25695,15 +26747,15 @@ "arguments": [ { "type": "Identifier", - "start": 9911, - "end": 9918, + "start": 9704, + "end": 9711, "loc": { "start": { - "line": 384, + "line": 371, "column": 39 }, "end": { - "line": 384, + "line": 371, "column": 46 }, "identifierName": "screenX" @@ -25719,29 +26771,29 @@ }, { "type": "FunctionDeclaration", - "start": 9925, - "end": 10064, + "start": 9718, + "end": 9857, "loc": { "start": { - "line": 388, + "line": 375, "column": 0 }, "end": { - "line": 392, + "line": 379, "column": 1 } }, "id": { "type": "Identifier", - "start": 9934, - "end": 9948, + "start": 9727, + "end": 9741, "loc": { "start": { - "line": 388, + "line": 375, "column": 9 }, "end": { - "line": 388, + "line": 375, "column": 23 }, "identifierName": "transformViewY" @@ -25754,15 +26806,15 @@ "params": [ { "type": "Identifier", - "start": 9949, - "end": 9956, + "start": 9742, + "end": 9749, "loc": { "start": { - "line": 388, + "line": 375, "column": 24 }, "end": { - "line": 388, + "line": 375, "column": 31 }, "identifierName": "deviceY" @@ -25772,59 +26824,59 @@ ], "body": { "type": "BlockStatement", - "start": 9958, - "end": 10064, + "start": 9751, + "end": 9857, "loc": { "start": { - "line": 389, + "line": 376, "column": 0 }, "end": { - "line": 392, + "line": 379, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 9964, - "end": 10013, + "start": 9757, + "end": 9806, "loc": { "start": { - "line": 390, + "line": 377, "column": 4 }, "end": { - "line": 390, + "line": 377, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9968, - "end": 10012, + "start": 9761, + "end": 9805, "loc": { "start": { - "line": 390, + "line": 377, "column": 8 }, "end": { - "line": 390, + "line": 377, "column": 52 } }, "id": { "type": "Identifier", - "start": 9968, - "end": 9975, + "start": 9761, + "end": 9768, "loc": { "start": { - "line": 390, + "line": 377, "column": 8 }, "end": { - "line": 390, + "line": 377, "column": 15 }, "identifierName": "screenY" @@ -25833,43 +26885,43 @@ }, "init": { "type": "CallExpression", - "start": 9978, - "end": 10012, + "start": 9771, + "end": 9805, "loc": { "start": { - "line": 390, + "line": 377, "column": 18 }, "end": { - "line": 390, + "line": 377, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 9978, - "end": 10003, + "start": 9771, + "end": 9796, "loc": { "start": { - "line": 390, + "line": 377, "column": 18 }, "end": { - "line": 390, + "line": 377, "column": 43 } }, "object": { "type": "Identifier", - "start": 9978, - "end": 9992, + "start": 9771, + "end": 9785, "loc": { "start": { - "line": 390, + "line": 377, "column": 18 }, "end": { - "line": 390, + "line": 377, "column": 32 }, "identifierName": "deviceToScreen" @@ -25878,15 +26930,15 @@ }, "property": { "type": "Identifier", - "start": 9993, - "end": 10003, + "start": 9786, + "end": 9796, "loc": { "start": { - "line": 390, + "line": 377, "column": 33 }, "end": { - "line": 390, + "line": 377, "column": 43 }, "identifierName": "transformY" @@ -25898,15 +26950,15 @@ "arguments": [ { "type": "Identifier", - "start": 10004, - "end": 10011, + "start": 9797, + "end": 9804, "loc": { "start": { - "line": 390, + "line": 377, "column": 44 }, "end": { - "line": 390, + "line": 377, "column": 51 }, "identifierName": "deviceY" @@ -25921,57 +26973,57 @@ }, { "type": "ReturnStatement", - "start": 10018, - "end": 10062, + "start": 9811, + "end": 9855, "loc": { "start": { - "line": 391, + "line": 378, "column": 4 }, "end": { - "line": 391, + "line": 378, "column": 48 } }, "argument": { "type": "CallExpression", - "start": 10025, - "end": 10061, + "start": 9818, + "end": 9854, "loc": { "start": { - "line": 391, + "line": 378, "column": 11 }, "end": { - "line": 391, + "line": 378, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 10025, - "end": 10052, + "start": 9818, + "end": 9845, "loc": { "start": { - "line": 391, + "line": 378, "column": 11 }, "end": { - "line": 391, + "line": 378, "column": 38 } }, "object": { "type": "Identifier", - "start": 10025, - "end": 10035, + "start": 9818, + "end": 9828, "loc": { "start": { - "line": 391, + "line": 378, "column": 11 }, "end": { - "line": 391, + "line": 378, "column": 21 }, "identifierName": "viewMatrix" @@ -25980,15 +27032,15 @@ }, "property": { "type": "Identifier", - "start": 10036, - "end": 10052, + "start": 9829, + "end": 9845, "loc": { "start": { - "line": 391, + "line": 378, "column": 22 }, "end": { - "line": 391, + "line": 378, "column": 38 }, "identifierName": "invertTransformY" @@ -26000,15 +27052,15 @@ "arguments": [ { "type": "Identifier", - "start": 10053, - "end": 10060, + "start": 9846, + "end": 9853, "loc": { "start": { - "line": 391, + "line": 378, "column": 39 }, "end": { - "line": 391, + "line": 378, "column": 46 }, "identifierName": "screenY" @@ -26024,29 +27076,29 @@ }, { "type": "FunctionDeclaration", - "start": 10067, - "end": 10152, + "start": 9860, + "end": 9945, "loc": { "start": { - "line": 395, + "line": 382, "column": 0 }, "end": { - "line": 398, + "line": 385, "column": 1 } }, "id": { "type": "Identifier", - "start": 10076, - "end": 10092, + "start": 9869, + "end": 9885, "loc": { "start": { - "line": 395, + "line": 382, "column": 9 }, "end": { - "line": 395, + "line": 382, "column": 25 }, "identifierName": "transformScreenX" @@ -26059,15 +27111,15 @@ "params": [ { "type": "Identifier", - "start": 10093, - "end": 10100, + "start": 9886, + "end": 9893, "loc": { "start": { - "line": 395, + "line": 382, "column": 26 }, "end": { - "line": 395, + "line": 382, "column": 33 }, "identifierName": "deviceX" @@ -26077,72 +27129,72 @@ ], "body": { "type": "BlockStatement", - "start": 10102, - "end": 10152, + "start": 9895, + "end": 9945, "loc": { "start": { - "line": 396, + "line": 383, "column": 0 }, "end": { - "line": 398, + "line": 385, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 10108, - "end": 10150, + "start": 9901, + "end": 9943, "loc": { "start": { - "line": 397, + "line": 384, "column": 4 }, "end": { - "line": 397, + "line": 384, "column": 46 } }, "argument": { "type": "CallExpression", - "start": 10115, - "end": 10149, + "start": 9908, + "end": 9942, "loc": { "start": { - "line": 397, + "line": 384, "column": 11 }, "end": { - "line": 397, + "line": 384, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 10115, - "end": 10140, + "start": 9908, + "end": 9933, "loc": { "start": { - "line": 397, + "line": 384, "column": 11 }, "end": { - "line": 397, + "line": 384, "column": 36 } }, "object": { "type": "Identifier", - "start": 10115, - "end": 10129, + "start": 9908, + "end": 9922, "loc": { "start": { - "line": 397, + "line": 384, "column": 11 }, "end": { - "line": 397, + "line": 384, "column": 25 }, "identifierName": "deviceToScreen" @@ -26151,15 +27203,15 @@ }, "property": { "type": "Identifier", - "start": 10130, - "end": 10140, + "start": 9923, + "end": 9933, "loc": { "start": { - "line": 397, + "line": 384, "column": 26 }, "end": { - "line": 397, + "line": 384, "column": 36 }, "identifierName": "transformX" @@ -26171,15 +27223,15 @@ "arguments": [ { "type": "Identifier", - "start": 10141, - "end": 10148, + "start": 9934, + "end": 9941, "loc": { "start": { - "line": 397, + "line": 384, "column": 37 }, "end": { - "line": 397, + "line": 384, "column": 44 }, "identifierName": "deviceX" @@ -26195,29 +27247,29 @@ }, { "type": "FunctionDeclaration", - "start": 10155, - "end": 10240, + "start": 9948, + "end": 10033, "loc": { "start": { - "line": 401, + "line": 388, "column": 0 }, "end": { - "line": 404, + "line": 391, "column": 1 } }, "id": { "type": "Identifier", - "start": 10164, - "end": 10180, + "start": 9957, + "end": 9973, "loc": { "start": { - "line": 401, + "line": 388, "column": 9 }, "end": { - "line": 401, + "line": 388, "column": 25 }, "identifierName": "transformScreenY" @@ -26230,15 +27282,15 @@ "params": [ { "type": "Identifier", - "start": 10181, - "end": 10188, + "start": 9974, + "end": 9981, "loc": { "start": { - "line": 401, + "line": 388, "column": 26 }, "end": { - "line": 401, + "line": 388, "column": 33 }, "identifierName": "deviceY" @@ -26248,72 +27300,72 @@ ], "body": { "type": "BlockStatement", - "start": 10190, - "end": 10240, + "start": 9983, + "end": 10033, "loc": { "start": { - "line": 402, + "line": 389, "column": 0 }, "end": { - "line": 404, + "line": 391, "column": 1 } }, "body": [ { "type": "ReturnStatement", - "start": 10196, - "end": 10238, + "start": 9989, + "end": 10031, "loc": { "start": { - "line": 403, + "line": 390, "column": 4 }, "end": { - "line": 403, + "line": 390, "column": 46 } }, "argument": { "type": "CallExpression", - "start": 10203, - "end": 10237, + "start": 9996, + "end": 10030, "loc": { "start": { - "line": 403, + "line": 390, "column": 11 }, "end": { - "line": 403, + "line": 390, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 10203, - "end": 10228, + "start": 9996, + "end": 10021, "loc": { "start": { - "line": 403, + "line": 390, "column": 11 }, "end": { - "line": 403, + "line": 390, "column": 36 } }, "object": { "type": "Identifier", - "start": 10203, - "end": 10217, + "start": 9996, + "end": 10010, "loc": { "start": { - "line": 403, + "line": 390, "column": 11 }, "end": { - "line": 403, + "line": 390, "column": 25 }, "identifierName": "deviceToScreen" @@ -26322,15 +27374,15 @@ }, "property": { "type": "Identifier", - "start": 10218, - "end": 10228, + "start": 10011, + "end": 10021, "loc": { "start": { - "line": 403, + "line": 390, "column": 26 }, "end": { - "line": 403, + "line": 390, "column": 36 }, "identifierName": "transformY" @@ -26342,15 +27394,15 @@ "arguments": [ { "type": "Identifier", - "start": 10229, - "end": 10236, + "start": 10022, + "end": 10029, "loc": { "start": { - "line": 403, + "line": 390, "column": 37 }, "end": { - "line": 403, + "line": 390, "column": 44 }, "identifierName": "deviceY" @@ -26386,361 +27438,2485 @@ }, { "type": "CommentBlock", - "value": "\nimport { device } from 'current-device';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport cManager from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport { cDefine } from \"./cDefine\";\n\nconst live2DMgr = new cManager();\nlet isDrawStart = false;\nlet canvas = null;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n", - "start": 303, - "end": 853, + "value": "*\n * Main function of live2d-widget\n * @return {null}\n ", + "start": 956, + "end": 1015, "loc": { "start": { - "line": 22, - "column": 27 + "line": 42, + "column": 0 }, "end": { - "line": 42, + "line": 45, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " #32", + "start": 1782, + "end": 1788, + "loc": { + "start": { + "line": 71, + "column": 92 + }, + "end": { + "line": 71, + "column": 98 + } + } + }, + { + "type": "CommentLine", + "value": " #32", + "start": 1872, + "end": 1878, + "loc": { + "start": { + "line": 72, + "column": 83 + }, + "end": { + "line": 72, + "column": 89 + } + } + }, + { + "type": "CommentBlock", + "value": "\n if (currCanvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }", + "start": 2031, + "end": 2505, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 93, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " 更换模型", + "start": 3546, + "end": 3553, + "loc": { + "start": { + "line": 140, + "column": 31 + }, + "end": { + "line": 140, + "column": 38 + } + } + }, + { + "type": "CommentLine", + "value": " 现在仍有多模型支持,稍后可以精简", + "start": 3611, + "end": 3630, + "loc": { + "start": { + "line": 143, + "column": 23 + }, + "end": { + "line": 143, + "column": 42 + } + } + }, + { + "type": "CommentBlock", + "value": "\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n", + "start": 3754, + "end": 4154, + "loc": { + "start": { + "line": 150, + "column": 0 + }, + "end": { + "line": 168, "column": 2 } } }, + { + "type": "CommentLine", + "value": " log but seems ok", + "start": 8092, + "end": 8111, + "loc": { + "start": { + "line": 308, + "column": 4 + }, + "end": { + "line": 308, + "column": 23 + } + } + }, + { + "type": "CommentLine", + "value": " console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);", + "start": 8116, + "end": 8209, + "loc": { + "start": { + "line": 309, + "column": 4 + }, + "end": { + "line": 309, + "column": 97 + } + } + }, + { + "type": "CommentLine", + "value": " seems ok here", + "start": 8243, + "end": 8259, + "loc": { + "start": { + "line": 311, + "column": 32 + }, + "end": { + "line": 311, + "column": 48 + } + } + }, + { + "type": "CommentLine", + "value": "e.preventDefault();", + "start": 8933, + "end": 8954, + "loc": { + "start": { + "line": 342, + "column": 4 + }, + "end": { + "line": 342, + "column": 25 + } + } + }, + { + "type": "CommentLine", + "value": " lookFront();", + "start": 9177, + "end": 9192, + "loc": { + "start": { + "line": 349, + "column": 8 + }, + "end": { + "line": 349, + "column": 23 + } + } + }, + { + "type": "CommentLine", + "value": " onClick(touch);", + "start": 9418, + "end": 9436, + "loc": { + "start": { + "line": 360, + "column": 8 + }, + "end": { + "line": 360, + "column": 26 + } + } + } + ], + "tokens": [ { "type": "CommentBlock", - "value": "*\n * Main function of live2d-widget\n * @return {null}\n ", - "start": 958, - "end": 1017, + "value": "*\n * @description The main part of live2d-widget\n ", + "start": 0, + "end": 54, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + }, + { + "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": 57, + "end": 63, + "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": 64, + "end": 65, + "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": "config", + "start": 66, + "end": 72, + "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": 73, + "end": 74, + "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": 75, + "end": 79, + "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": "./config/configMgr", + "start": 80, + "end": 100, + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 100, + "end": 101, + "loc": { + "start": { + "line": 6, + "column": 43 + }, + "end": { + "line": 6, + "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": 102, + "end": 108, + "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": 109, + "end": 110, + "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": "createElement", + "start": 111, + "end": 124, + "loc": { + "start": { + "line": 7, + "column": 9 + }, + "end": { + "line": 7, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 124, + "end": 125, + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currWebGL", + "start": 126, + "end": 135, + "loc": { + "start": { + "line": 7, + "column": 24 + }, + "end": { + "line": 7, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 136, + "end": 137, + "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": 138, + "end": 142, + "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": "./elementMgr", + "start": 143, + "end": 157, + "loc": { + "start": { + "line": 7, + "column": 41 + }, + "end": { + "line": 7, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 157, + "end": 158, + "loc": { + "start": { + "line": 7, + "column": 55 + }, + "end": { + "line": 7, + "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": 159, + "end": 165, + "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": 166, + "end": 167, + "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": "UtSystem", + "start": 168, + "end": 176, + "loc": { + "start": { + "line": 8, + "column": 9 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 176, + "end": 177, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "UtDebug", + "start": 187, + "end": 194, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 194, + "end": 195, + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LDTransform", + "start": 205, + "end": 216, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 216, + "end": 217, + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LDGL", + "start": 227, + "end": 231, + "loc": { + "start": { + "line": 11, + "column": 9 + }, + "end": { + "line": 11, + "column": 13 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Live2D", + "start": 242, + "end": 248, + "loc": { + "start": { + "line": 12, + "column": 9 + }, + "end": { + "line": 12, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 248, + "end": 249, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Live2DModelWebGL", + "start": 259, + "end": 275, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 275, + "end": 276, + "loc": { + "start": { + "line": 13, + "column": 25 + }, + "end": { + "line": 13, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Live2DModelJS", + "start": 286, + "end": 299, + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 299, + "end": 300, + "loc": { + "start": { + "line": 14, + "column": 22 + }, + "end": { + "line": 14, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Live2DMotion", + "start": 310, + "end": 322, + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 322, + "end": 323, + "loc": { + "start": { + "line": 15, + "column": 21 + }, + "end": { + "line": 15, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MotionQueueManager", + "start": 333, + "end": 351, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 351, + "end": 352, + "loc": { + "start": { + "line": 16, + "column": 27 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PhysicsHair", + "start": 362, + "end": 373, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 373, + "end": 374, + "loc": { + "start": { + "line": 17, + "column": 20 + }, + "end": { + "line": 17, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "AMotion", + "start": 384, + "end": 391, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 391, + "end": 392, + "loc": { + "start": { + "line": 18, + "column": 16 + }, + "end": { + "line": 18, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PartsDataID", + "start": 402, + "end": 413, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DrawDataID", + "start": 424, + "end": 434, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 434, + "end": 435, + "loc": { + "start": { + "line": 20, + "column": 19 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BaseDataID", + "start": 445, + "end": 455, + "loc": { + "start": { + "line": 21, + "column": 9 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 455, + "end": 456, + "loc": { + "start": { + "line": 21, + "column": 19 + }, + "end": { + "line": 21, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ParamID", + "start": 466, + "end": 473, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 474, + "end": 475, + "loc": { + "start": { + "line": 22, + "column": 17 + }, + "end": { + "line": 22, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 476, + "end": 480, + "loc": { + "start": { + "line": 22, + "column": 19 + }, + "end": { + "line": 22, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./lib/live2d.core", + "start": 481, + "end": 500, + "loc": { + "start": { + "line": 22, + "column": 24 + }, + "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": 500, + "end": 501, + "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": 502, + "end": 508, + "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": 509, + "end": 510, + "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": "L2DTargetPoint", + "start": 511, + "end": 525, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 525, + "end": 526, + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "L2DViewMatrix", + "start": 527, + "end": 540, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 540, + "end": 541, + "loc": { + "start": { + "line": 23, + "column": 38 + }, + "end": { + "line": 23, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "L2DMatrix44", + "start": 542, + "end": 553, + "loc": { + "start": { + "line": 23, + "column": 40 + }, + "end": { + "line": 23, + "column": 51 + } + } + }, + { + "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": 23, + "column": 52 + }, + "end": { + "line": 23, + "column": 53 + } + } + }, + { + "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": 23, + "column": 54 + }, + "end": { + "line": 23, + "column": 58 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./lib/Live2DFramework", + "start": 561, + "end": 584, + "loc": { + "start": { + "line": 23, + "column": 59 + }, + "end": { + "line": 23, + "column": 82 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 584, + "end": 585, + "loc": { + "start": { + "line": 23, + "column": 82 + }, + "end": { + "line": 23, + "column": 83 + } + } + }, + { + "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": 586, + "end": 592, + "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": 593, + "end": 594, + "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": "cManager", + "start": 595, + "end": 603, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 606, + "end": 610, + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 24, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./cManager", + "start": 611, + "end": 623, "loc": { "start": { - "line": 47, - "column": 0 + "line": 24, + "column": 25 }, "end": { - "line": 50, - "column": 3 + "line": 24, + "column": 37 } } }, { - "type": "CommentLine", - "value": " deviceToScreen.multTranslate(-width / 2.0, -height / 2.0); // old codes", - "start": 1785, - "end": 1859, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 623, + "end": 624, "loc": { "start": { - "line": 81, - "column": 2 + "line": 24, + "column": 37 }, "end": { - "line": 81, - "column": 76 + "line": 24, + "column": 38 } } }, { - "type": "CommentLine", - "value": " deviceToScreen.multScale(2 / width, -2 / width); // old codes", - "start": 1862, - "end": 1926, + "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": 625, + "end": 631, "loc": { "start": { - "line": 82, - "column": 2 + "line": 25, + "column": 0 }, "end": { - "line": 82, - "column": 66 + "line": 25, + "column": 6 } } }, { - "type": "CommentLine", - "value": " #32", - "start": 1991, - "end": 1997, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 632, + "end": 633, "loc": { "start": { - "line": 83, - "column": 64 + "line": 25, + "column": 7 }, "end": { - "line": 83, - "column": 70 + "line": 25, + "column": 8 } } }, { - "type": "CommentLine", - "value": " #32", - "start": 2053, - "end": 2059, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MatrixStack", + "start": 634, + "end": 645, "loc": { "start": { - "line": 84, - "column": 55 + "line": 25, + "column": 9 }, "end": { - "line": 84, - "column": 61 + "line": 25, + "column": 20 } } }, { - "type": "CommentBlock", - "value": "\n canvas = document.getElementById(canvasId);\n if (canvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }", - "start": 2212, - "end": 2728, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 646, + "end": 647, "loc": { "start": { - "line": 95, + "line": 25, "column": 21 }, "end": { - "line": 106, - "column": 5 + "line": 25, + "column": 22 } } }, { - "type": "CommentLine", - "value": " 更换模型", - "start": 3765, - "end": 3772, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 648, + "end": 652, "loc": { "start": { - "line": 153, - "column": 31 + "line": 25, + "column": 23 }, "end": { - "line": 153, - "column": 38 + "line": 25, + "column": 27 } } }, { - "type": "CommentLine", - "value": " 现在仍有多模型支持,稍后可以精简", - "start": 3830, - "end": 3849, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./utils/MatrixStack", + "start": 653, + "end": 674, "loc": { "start": { - "line": 156, - "column": 23 + "line": 25, + "column": 28 }, "end": { - "line": 156, - "column": 42 + "line": 25, + "column": 49 } } }, { - "type": "CommentBlock", - "value": "\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n", - "start": 3973, - "end": 4373, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 674, + "end": 675, "loc": { "start": { - "line": 163, - "column": 0 + "line": 25, + "column": 49 }, "end": { - "line": 181, - "column": 2 + "line": 25, + "column": 50 } } }, { - "type": "CommentLine", - "value": " log but seems ok", - "start": 8299, - "end": 8318, + "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": 676, + "end": 682, "loc": { "start": { - "line": 321, - "column": 4 + "line": 26, + "column": 0 }, "end": { - "line": 321, - "column": 23 + "line": 26, + "column": 6 } } }, { - "type": "CommentLine", - "value": " console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);", - "start": 8323, - "end": 8416, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cDefine", + "start": 683, + "end": 690, "loc": { "start": { - "line": 322, - "column": 4 + "line": 26, + "column": 7 }, "end": { - "line": 322, - "column": 97 + "line": 26, + "column": 14 } } }, { - "type": "CommentLine", - "value": " seems ok here", - "start": 8450, - "end": 8466, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 691, + "end": 695, "loc": { "start": { - "line": 324, - "column": 32 + "line": 26, + "column": 15 }, "end": { - "line": 324, - "column": 48 + "line": 26, + "column": 19 } } }, { - "type": "CommentLine", - "value": "e.preventDefault();", - "start": 9140, - "end": 9161, + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./cDefine", + "start": 696, + "end": 707, "loc": { "start": { - "line": 355, - "column": 4 + "line": 26, + "column": 20 }, "end": { - "line": 355, - "column": 25 + "line": 26, + "column": 31 } } }, { - "type": "CommentLine", - "value": " lookFront();", - "start": 9384, - "end": 9399, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 707, + "end": 708, "loc": { "start": { - "line": 362, - "column": 8 + "line": 26, + "column": 31 }, "end": { - "line": 362, - "column": 23 + "line": 26, + "column": 32 } } }, { - "type": "CommentLine", - "value": " onClick(touch);", - "start": 9625, - "end": 9643, + "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": 710, + "end": 713, "loc": { "start": { - "line": 373, - "column": 8 + "line": 28, + "column": 0 }, "end": { - "line": 373, - "column": 26 + "line": 28, + "column": 3 } } - } - ], - "tokens": [ + }, { - "type": "CommentBlock", - "value": "*\n * @description The main part of live2d-widget\n ", - "start": 0, - "end": 54, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isDrawStart", + "start": 714, + "end": 725, "loc": { "start": { - "line": 1, - "column": 0 + "line": 28, + "column": 4 }, "end": { - "line": 3, - "column": 3 + "line": 28, + "column": 15 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "import", - "start": 57, - "end": 63, + "value": "=", + "start": 726, + "end": 727, "loc": { "start": { - "line": 6, - "column": 0 + "line": 28, + "column": 16 }, "end": { - "line": 6, - "column": 6 + "line": 28, + "column": 17 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "false", + "keyword": "false", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 64, - "end": 65, + "value": "false", + "start": 728, + "end": 733, "loc": { "start": { - "line": 6, - "column": 7 + "line": 28, + "column": 18 }, "end": { - "line": 6, - "column": 8 + "line": 28, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "UtSystem", - "start": 68, - "end": 76, + "start": 733, + "end": 734, "loc": { "start": { - "line": 7, - "column": 2 + "line": 28, + "column": 23 }, "end": { - "line": 7, - "column": 10 + "line": 28, + "column": 24 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26750,16 +29926,17 @@ "binop": null, "updateContext": null }, - "start": 76, - "end": 77, + "value": "let", + "start": 735, + "end": 738, "loc": { "start": { - "line": 7, - "column": 10 + "line": 29, + "column": 0 }, "end": { - "line": 7, - "column": 11 + "line": 29, + "column": 3 } } }, @@ -26775,49 +29952,51 @@ "postfix": false, "binop": null }, - "value": "UtDebug", - "start": 80, - "end": 87, + "value": "dragMgr", + "start": 739, + "end": 746, "loc": { "start": { - "line": 8, - "column": 2 + "line": 29, + "column": 4 }, "end": { - "line": 8, - "column": 9 + "line": 29, + "column": 11 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 87, - "end": 88, + "value": "=", + "start": 747, + "end": 748, "loc": { "start": { - "line": 8, - "column": 9 + "line": 29, + "column": 12 }, "end": { - "line": 8, - "column": 10 + "line": 29, + "column": 13 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26825,25 +30004,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "LDTransform", - "start": 91, - "end": 102, + "value": "null", + "start": 749, + "end": 753, "loc": { "start": { - "line": 9, - "column": 2 + "line": 29, + "column": 14 }, "end": { - "line": 9, - "column": 13 + "line": 29, + "column": 18 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -26854,16 +30034,44 @@ "binop": null, "updateContext": null }, - "start": 102, - "end": 103, + "start": 753, + "end": 754, "loc": { "start": { - "line": 9, - "column": 13 + "line": 29, + "column": 18 }, "end": { - "line": 9, - "column": 14 + "line": 29, + "column": 19 + } + } + }, + { + "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": 755, + "end": 758, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 3 } } }, @@ -26879,49 +30087,51 @@ "postfix": false, "binop": null }, - "value": "LDGL", - "start": 106, - "end": 110, + "value": "viewMatrix", + "start": 759, + "end": 769, "loc": { "start": { - "line": 10, - "column": 2 + "line": 30, + "column": 4 }, "end": { - "line": 10, - "column": 6 + "line": 30, + "column": 14 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 110, - "end": 111, + "value": "=", + "start": 770, + "end": 771, "loc": { "start": { - "line": 10, - "column": 6 + "line": 30, + "column": 15 }, "end": { - "line": 10, - "column": 7 + "line": 30, + "column": 16 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26929,25 +30139,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Live2D", - "start": 114, - "end": 120, + "value": "null", + "start": 772, + "end": 776, "loc": { "start": { - "line": 11, - "column": 2 + "line": 30, + "column": 17 }, "end": { - "line": 11, - "column": 8 + "line": 30, + "column": 21 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -26958,16 +30169,44 @@ "binop": null, "updateContext": null }, - "start": 120, - "end": 121, + "start": 776, + "end": 777, "loc": { "start": { - "line": 11, - "column": 8 + "line": 30, + "column": 21 }, "end": { - "line": 11, - "column": 9 + "line": 30, + "column": 22 + } + } + }, + { + "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": 778, + "end": 781, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 3 } } }, @@ -26983,49 +30222,51 @@ "postfix": false, "binop": null }, - "value": "Live2DModelWebGL", - "start": 124, - "end": 140, + "value": "projMatrix", + "start": 782, + "end": 792, "loc": { "start": { - "line": 12, - "column": 2 + "line": 31, + "column": 4 }, "end": { - "line": 12, - "column": 18 + "line": 31, + "column": 14 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 140, - "end": 141, + "value": "=", + "start": 793, + "end": 794, "loc": { "start": { - "line": 12, - "column": 18 + "line": 31, + "column": 15 }, "end": { - "line": 12, - "column": 19 + "line": 31, + "column": 16 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27033,25 +30274,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Live2DModelJS", - "start": 144, - "end": 157, + "value": "null", + "start": 795, + "end": 799, "loc": { "start": { - "line": 13, - "column": 2 + "line": 31, + "column": 17 }, "end": { - "line": 13, - "column": 15 + "line": 31, + "column": 21 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27062,102 +30304,106 @@ "binop": null, "updateContext": null }, - "start": 157, - "end": 158, + "start": 799, + "end": 800, "loc": { "start": { - "line": 13, - "column": 15 + "line": 31, + "column": 21 }, "end": { - "line": 13, - "column": 16 + "line": 31, + "column": 22 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Live2DMotion", - "start": 161, - "end": 173, + "value": "let", + "start": 801, + "end": 804, "loc": { "start": { - "line": 14, - "column": 2 + "line": 32, + "column": 0 }, "end": { - "line": 14, - "column": 14 + "line": 32, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 173, - "end": 174, + "value": "deviceToScreen", + "start": 805, + "end": 819, "loc": { "start": { - "line": 14, - "column": 14 + "line": 32, + "column": 4 }, "end": { - "line": 14, - "column": 15 + "line": 32, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "MotionQueueManager", - "start": 177, - "end": 195, + "value": "=", + "start": 820, + "end": 821, "loc": { "start": { - "line": 15, - "column": 2 + "line": 32, + "column": 19 }, "end": { - "line": 15, + "line": 32, "column": 20 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27166,49 +30412,51 @@ "binop": null, "updateContext": null }, - "start": 195, - "end": 196, + "value": "null", + "start": 822, + "end": 826, "loc": { "start": { - "line": 15, - "column": 20 + "line": 32, + "column": 21 }, "end": { - "line": 15, - "column": 21 + "line": 32, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "PhysicsHair", - "start": 199, - "end": 210, + "start": 826, + "end": 827, "loc": { "start": { - "line": 16, - "column": 2 + "line": 32, + "column": 25 }, "end": { - "line": 16, - "column": 13 + "line": 32, + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27218,16 +30466,17 @@ "binop": null, "updateContext": null }, - "start": 210, - "end": 211, + "value": "let", + "start": 828, + "end": 831, "loc": { "start": { - "line": 16, - "column": 13 + "line": 33, + "column": 0 }, "end": { - "line": 16, - "column": 14 + "line": 33, + "column": 3 } } }, @@ -27243,49 +30492,51 @@ "postfix": false, "binop": null }, - "value": "AMotion", - "start": 214, - "end": 221, + "value": "drag", + "start": 832, + "end": 836, "loc": { "start": { - "line": 17, - "column": 2 + "line": 33, + "column": 4 }, "end": { - "line": 17, - "column": 9 + "line": 33, + "column": 8 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "value": "=", + "start": 837, + "end": 838, "loc": { "start": { - "line": 17, + "line": 33, "column": 9 }, "end": { - "line": 17, + "line": 33, "column": 10 } } }, { "type": { - "label": "name", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27293,25 +30544,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "PartsDataID", - "start": 225, - "end": 236, + "value": "false", + "start": 839, + "end": 844, "loc": { "start": { - "line": 18, - "column": 2 + "line": 33, + "column": 11 }, "end": { - "line": 18, - "column": 13 + "line": 33, + "column": 16 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27322,49 +30574,24 @@ "binop": null, "updateContext": null }, - "start": 236, - "end": 237, + "start": 844, + "end": 845, "loc": { "start": { - "line": 18, - "column": 13 + "line": 33, + "column": 16 }, "end": { - "line": 18, - "column": 14 + "line": 33, + "column": 17 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "DrawDataID", - "start": 240, - "end": 250, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 12 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27374,16 +30601,17 @@ "binop": null, "updateContext": null }, - "start": 250, - "end": 251, + "value": "let", + "start": 846, + "end": 849, "loc": { "start": { - "line": 19, - "column": 12 + "line": 34, + "column": 0 }, "end": { - "line": 19, - "column": 13 + "line": 34, + "column": 3 } } }, @@ -27399,49 +30627,50 @@ "postfix": false, "binop": null }, - "value": "BaseDataID", - "start": 254, - "end": 264, + "value": "lastMouseX", + "start": 850, + "end": 860, "loc": { "start": { - "line": 20, - "column": 2 + "line": 34, + "column": 4 }, "end": { - "line": 20, - "column": 12 + "line": 34, + "column": 14 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 264, - "end": 265, + "value": "=", + "start": 861, + "end": 862, "loc": { "start": { - "line": 20, - "column": 12 + "line": 34, + "column": 15 }, "end": { - "line": 20, - "column": 13 + "line": 34, + "column": 16 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27449,76 +30678,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ParamID", - "start": 268, - "end": 275, + "value": 0, + "start": 863, + "end": 864, "loc": { "start": { - "line": 21, - "column": 2 + "line": 34, + "column": 17 }, "end": { - "line": 21, - "column": 9 + "line": 34, + "column": 18 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 276, - "end": 277, + "start": 864, + "end": 865, "loc": { "start": { - "line": 22, - "column": 0 + "line": 34, + "column": 18 }, "end": { - "line": 22, - "column": 1 + "line": 34, + "column": 19 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 278, - "end": 282, + "value": "let", + "start": 866, + "end": 869, "loc": { "start": { - "line": 22, - "column": 2 + "line": 35, + "column": 0 }, "end": { - "line": 22, - "column": 6 + "line": 35, + "column": 3 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27526,71 +30759,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./lib/live2d.core", - "start": 283, - "end": 302, + "value": "lastMouseY", + "start": 870, + "end": 880, "loc": { "start": { - "line": 22, - "column": 7 + "line": 35, + "column": 4 }, "end": { - "line": 22, - "column": 26 + "line": 35, + "column": 14 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 302, - "end": 303, + "value": "=", + "start": 881, + "end": 882, "loc": { "start": { - "line": 22, - "column": 26 + "line": 35, + "column": 15 }, "end": { - "line": 22, - "column": 27 + "line": 35, + "column": 16 } } }, { - "type": "CommentBlock", - "value": "\nimport { device } from 'current-device';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport cManager from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport { cDefine } from \"./cDefine\";\n\nconst live2DMgr = new cManager();\nlet isDrawStart = false;\nlet canvas = null;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n", - "start": 303, - "end": 853, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 883, + "end": 884, "loc": { "start": { - "line": 22, - "column": 27 + "line": 35, + "column": 17 }, "end": { - "line": 42, - "column": 2 + "line": 35, + "column": 18 } } }, { "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27599,42 +30842,44 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 855, - "end": 861, + "start": 884, + "end": 885, "loc": { "start": { - "line": 44, - "column": 0 + "line": 35, + "column": 18 }, "end": { - "line": 44, - "column": 6 + "line": 35, + "column": 19 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 862, - "end": 863, + "value": "let", + "start": 886, + "end": 889, "loc": { "start": { - "line": 44, - "column": 7 + "line": 36, + "column": 0 }, "end": { - "line": 44, - "column": 8 + "line": 36, + "column": 3 } } }, @@ -27650,48 +30895,50 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 864, - "end": 870, + "value": "headPos", + "start": 890, + "end": 897, "loc": { "start": { - "line": 44, - "column": 9 + "line": 36, + "column": 4 }, "end": { - "line": 44, - "column": 15 + "line": 36, + "column": 11 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 871, - "end": 872, + "value": "=", + "start": 898, + "end": 899, "loc": { "start": { - "line": 44, - "column": 16 + "line": 36, + "column": 12 }, "end": { - "line": 44, - "column": 17 + "line": 36, + "column": 13 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27699,27 +30946,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 873, - "end": 877, + "value": 0.5, + "start": 900, + "end": 903, "loc": { "start": { - "line": 44, - "column": 18 + "line": 36, + "column": 14 }, "end": { - "line": 44, - "column": 22 + "line": 36, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27728,24 +30976,24 @@ "binop": null, "updateContext": null }, - "value": "./config/configMgr", - "start": 878, - "end": 898, + "start": 903, + "end": 904, "loc": { "start": { - "line": 44, - "column": 23 + "line": 36, + "column": 17 }, "end": { - "line": 44, - "column": 43 + "line": 36, + "column": 18 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27755,23 +31003,23 @@ "binop": null, "updateContext": null }, - "start": 898, - "end": 899, + "value": "let", + "start": 905, + "end": 908, "loc": { "start": { - "line": 44, - "column": 43 + "line": 37, + "column": 0 }, "end": { - "line": 44, - "column": 44 + "line": 37, + "column": 3 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27779,51 +31027,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 900, - "end": 906, + "value": "opacityDefault", + "start": 909, + "end": 923, "loc": { "start": { - "line": 45, - "column": 0 + "line": 37, + "column": 4 }, "end": { - "line": 45, - "column": 6 + "line": 37, + "column": 18 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 907, - "end": 908, + "value": "=", + "start": 924, + "end": 925, "loc": { "start": { - "line": 45, - "column": 7 + "line": 37, + "column": 19 }, "end": { - "line": 45, - "column": 8 + "line": 37, + "column": 20 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27831,25 +31080,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "createElement", - "start": 909, - "end": 922, + "value": 0.7, + "start": 926, + "end": 929, "loc": { "start": { - "line": 45, - "column": 9 + "line": 37, + "column": 21 }, "end": { - "line": 45, - "column": 22 + "line": 37, + "column": 24 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27860,50 +31110,52 @@ "binop": null, "updateContext": null }, - "start": 922, - "end": 923, + "start": 929, + "end": 930, "loc": { "start": { - "line": 45, - "column": 22 + "line": 37, + "column": 24 }, "end": { - "line": 45, - "column": 23 + "line": 37, + "column": 25 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "currWebGL", - "start": 924, - "end": 933, + "value": "let", + "start": 931, + "end": 934, "loc": { "start": { - "line": 45, - "column": 24 + "line": 38, + "column": 0 }, "end": { - "line": 45, - "column": 33 + "line": 38, + "column": 3 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27911,48 +31163,50 @@ "postfix": false, "binop": null }, - "start": 934, - "end": 935, + "value": "opacityHover", + "start": 935, + "end": 947, "loc": { "start": { - "line": 45, - "column": 34 + "line": 38, + "column": 4 }, "end": { - "line": 45, - "column": 35 + "line": 38, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 936, - "end": 940, + "value": "=", + "start": 948, + "end": 949, "loc": { "start": { - "line": 45, - "column": 36 + "line": 38, + "column": 17 }, "end": { - "line": 45, - "column": 40 + "line": 38, + "column": 18 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27963,17 +31217,17 @@ "binop": null, "updateContext": null }, - "value": "./elementMgr", - "start": 941, - "end": 955, + "value": 1, + "start": 950, + "end": 951, "loc": { "start": { - "line": 45, - "column": 41 + "line": 38, + "column": 19 }, "end": { - "line": 45, - "column": 55 + "line": 38, + "column": 20 } } }, @@ -27990,31 +31244,31 @@ "binop": null, "updateContext": null }, - "start": 955, - "end": 956, + "start": 951, + "end": 952, "loc": { "start": { - "line": 45, - "column": 55 + "line": 38, + "column": 20 }, "end": { - "line": 45, - "column": 56 + "line": 38, + "column": 21 } } }, { "type": "CommentBlock", "value": "*\n * Main function of live2d-widget\n * @return {null}\n ", - "start": 958, - "end": 1017, + "start": 956, + "end": 1015, "loc": { "start": { - "line": 47, + "line": 42, "column": 0 }, "end": { - "line": 50, + "line": 45, "column": 3 } } @@ -28034,15 +31288,15 @@ "updateContext": null }, "value": "export", - "start": 1019, - "end": 1025, + "start": 1017, + "end": 1023, "loc": { "start": { - "line": 52, + "line": 47, "column": 0 }, "end": { - "line": 52, + "line": 47, "column": 6 } } @@ -28062,15 +31316,15 @@ "updateContext": null }, "value": "default", - "start": 1026, - "end": 1033, + "start": 1024, + "end": 1031, "loc": { "start": { - "line": 52, + "line": 47, "column": 7 }, "end": { - "line": 52, + "line": 47, "column": 14 } } @@ -28087,15 +31341,15 @@ "postfix": false, "binop": null }, - "start": 1034, - "end": 1035, + "start": 1032, + "end": 1033, "loc": { "start": { - "line": 52, + "line": 47, "column": 15 }, "end": { - "line": 52, + "line": 47, "column": 16 } } @@ -28112,15 +31366,15 @@ "postfix": false, "binop": null }, - "start": 1035, - "end": 1036, + "start": 1033, + "end": 1034, "loc": { "start": { - "line": 52, + "line": 47, "column": 16 }, "end": { - "line": 52, + "line": 47, "column": 17 } } @@ -28138,15 +31392,15 @@ "binop": null, "updateContext": null }, - "start": 1037, - "end": 1039, + "start": 1035, + "end": 1037, "loc": { "start": { - "line": 52, + "line": 47, "column": 18 }, "end": { - "line": 52, + "line": 47, "column": 20 } } @@ -28163,15 +31417,15 @@ "postfix": false, "binop": null }, - "start": 1040, - "end": 1041, + "start": 1038, + "end": 1039, "loc": { "start": { - "line": 52, + "line": 47, "column": 21 }, "end": { - "line": 52, + "line": 47, "column": 22 } } @@ -28189,15 +31443,15 @@ "binop": null }, "value": "createElement", - "start": 1045, - "end": 1058, + "start": 1043, + "end": 1056, "loc": { "start": { - "line": 54, + "line": 49, "column": 2 }, "end": { - "line": 54, + "line": 49, "column": 15 } } @@ -28214,15 +31468,15 @@ "postfix": false, "binop": null }, - "start": 1058, - "end": 1059, + "start": 1056, + "end": 1057, "loc": { "start": { - "line": 54, + "line": 49, "column": 15 }, "end": { - "line": 54, + "line": 49, "column": 16 } } @@ -28239,15 +31493,15 @@ "postfix": false, "binop": null }, - "start": 1059, - "end": 1060, + "start": 1057, + "end": 1058, "loc": { "start": { - "line": 54, + "line": 49, "column": 16 }, "end": { - "line": 54, + "line": 49, "column": 17 } } @@ -28265,97 +31519,97 @@ "binop": null, "updateContext": null }, - "start": 1060, - "end": 1061, + "start": 1058, + "end": 1059, "loc": { "start": { - "line": 54, + "line": 49, "column": 17 }, "end": { - "line": 54, + "line": 49, "column": 18 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 1065, - "end": 1068, + "value": "dragMgr", + "start": 1063, + "end": 1070, "loc": { "start": { - "line": 56, + "line": 51, "column": 2 }, "end": { - "line": 56, - "column": 5 + "line": 51, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "width", - "start": 1069, - "end": 1074, + "value": "=", + "start": 1071, + "end": 1072, "loc": { "start": { - "line": 56, - "column": 6 + "line": 51, + "column": 10 }, "end": { - "line": 56, + "line": 51, "column": 11 } } }, { "type": { - "label": "=", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1075, + "value": "new", + "start": 1073, "end": 1076, "loc": { "start": { - "line": 56, + "line": 51, "column": 12 }, "end": { - "line": 56, - "column": 13 + "line": 51, + "column": 15 } } }, @@ -28371,51 +31625,50 @@ "postfix": false, "binop": null }, - "value": "canvas", + "value": "L2DTargetPoint", "start": 1077, - "end": 1083, + "end": 1091, "loc": { "start": { - "line": 56, - "column": 14 + "line": 51, + "column": 16 }, "end": { - "line": 56, - "column": 20 + "line": 51, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1083, - "end": 1084, + "start": 1091, + "end": 1092, "loc": { "start": { - "line": 56, - "column": 20 + "line": 51, + "column": 30 }, "end": { - "line": 56, - "column": 21 + "line": 51, + "column": 31 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28423,17 +31676,16 @@ "postfix": false, "binop": null }, - "value": "width", - "start": 1084, - "end": 1089, + "start": 1092, + "end": 1093, "loc": { "start": { - "line": 56, - "column": 21 + "line": 51, + "column": 31 }, "end": { - "line": 56, - "column": 26 + "line": 51, + "column": 32 } } }, @@ -28450,16 +31702,16 @@ "binop": null, "updateContext": null }, - "start": 1089, - "end": 1090, + "start": 1093, + "end": 1094, "loc": { "start": { - "line": 56, - "column": 26 + "line": 51, + "column": 32 }, "end": { - "line": 56, - "column": 27 + "line": 51, + "column": 33 } } }, @@ -28478,15 +31730,15 @@ "updateContext": null }, "value": "let", - "start": 1093, - "end": 1096, + "start": 1097, + "end": 1100, "loc": { "start": { - "line": 57, + "line": 52, "column": 2 }, "end": { - "line": 57, + "line": 52, "column": 5 } } @@ -28503,17 +31755,17 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 1097, - "end": 1103, + "value": "ratio", + "start": 1101, + "end": 1106, "loc": { "start": { - "line": 57, + "line": 52, "column": 6 }, "end": { - "line": 57, - "column": 12 + "line": 52, + "column": 11 } } }, @@ -28531,16 +31783,16 @@ "updateContext": null }, "value": "=", - "start": 1104, - "end": 1105, + "start": 1107, + "end": 1108, "loc": { "start": { - "line": 57, - "column": 13 + "line": 52, + "column": 12 }, "end": { - "line": 57, - "column": 14 + "line": 52, + "column": 13 } } }, @@ -28556,17 +31808,17 @@ "postfix": false, "binop": null }, - "value": "canvas", - "start": 1106, - "end": 1112, + "value": "config", + "start": 1109, + "end": 1115, "loc": { "start": { - "line": 57, - "column": 15 + "line": 52, + "column": 14 }, "end": { - "line": 57, - "column": 21 + "line": 52, + "column": 20 } } }, @@ -28583,16 +31835,16 @@ "binop": null, "updateContext": null }, - "start": 1112, - "end": 1113, + "start": 1115, + "end": 1116, "loc": { "start": { - "line": 57, - "column": 21 + "line": 52, + "column": 20 }, "end": { - "line": 57, - "column": 22 + "line": 52, + "column": 21 } } }, @@ -28608,50 +31860,23 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 1113, - "end": 1119, + "value": "display", + "start": 1116, + "end": 1123, "loc": { "start": { - "line": 57, - "column": 22 + "line": 52, + "column": 21 }, "end": { - "line": 57, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1119, - "end": 1120, - "loc": { - "start": { - "line": 57, + "line": 52, "column": 28 - }, - "end": { - "line": 57, - "column": 29 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28662,17 +31887,16 @@ "binop": null, "updateContext": null }, - "value": "let", "start": 1123, - "end": 1126, + "end": 1124, "loc": { "start": { - "line": 58, - "column": 2 + "line": 52, + "column": 28 }, "end": { - "line": 58, - "column": 5 + "line": 52, + "column": 29 } } }, @@ -28688,44 +31912,44 @@ "postfix": false, "binop": null }, - "value": "sWidth", - "start": 1127, - "end": 1133, + "value": "height", + "start": 1124, + "end": 1130, "loc": { "start": { - "line": 58, - "column": 6 + "line": 52, + "column": 29 }, "end": { - "line": 58, - "column": 12 + "line": 52, + "column": 35 } } }, { "type": { - "label": "=", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "=", - "start": 1134, - "end": 1135, + "value": "/", + "start": 1131, + "end": 1132, "loc": { "start": { - "line": 58, - "column": 13 + "line": 52, + "column": 36 }, "end": { - "line": 58, - "column": 14 + "line": 52, + "column": 37 } } }, @@ -28741,42 +31965,43 @@ "postfix": false, "binop": null }, - "value": "parseInt", - "start": 1136, - "end": 1144, + "value": "config", + "start": 1133, + "end": 1139, "loc": { "start": { - "line": 58, - "column": 15 + "line": 52, + "column": 38 }, "end": { - "line": 58, - "column": 23 + "line": 52, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1144, - "end": 1145, + "start": 1139, + "end": 1140, "loc": { "start": { - "line": 58, - "column": 23 + "line": 52, + "column": 44 }, "end": { - "line": 58, - "column": 24 + "line": 52, + "column": 45 } } }, @@ -28792,17 +32017,17 @@ "postfix": false, "binop": null }, - "value": "canvas", - "start": 1145, - "end": 1151, + "value": "display", + "start": 1140, + "end": 1147, "loc": { "start": { - "line": 58, - "column": 24 + "line": 52, + "column": 45 }, "end": { - "line": 58, - "column": 30 + "line": 52, + "column": 52 } } }, @@ -28819,16 +32044,16 @@ "binop": null, "updateContext": null }, - "start": 1151, - "end": 1152, + "start": 1147, + "end": 1148, "loc": { "start": { - "line": 58, - "column": 30 + "line": 52, + "column": 52 }, "end": { - "line": 58, - "column": 31 + "line": 52, + "column": 53 } } }, @@ -28844,24 +32069,24 @@ "postfix": false, "binop": null }, - "value": "style", - "start": 1152, - "end": 1157, + "value": "width", + "start": 1148, + "end": 1153, "loc": { "start": { - "line": 58, - "column": 31 + "line": 52, + "column": 53 }, "end": { - "line": 58, - "column": 36 + "line": 52, + "column": 58 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28871,50 +32096,52 @@ "binop": null, "updateContext": null }, - "start": 1157, - "end": 1158, + "start": 1153, + "end": 1154, "loc": { "start": { - "line": 58, - "column": 36 + "line": 52, + "column": 58 }, "end": { - "line": 58, - "column": 37 + "line": 52, + "column": 59 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "width", - "start": 1158, - "end": 1163, + "value": "let", + "start": 1157, + "end": 1160, "loc": { "start": { - "line": 58, - "column": 37 + "line": 53, + "column": 2 }, "end": { - "line": 58, - "column": 42 + "line": 53, + "column": 5 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28922,174 +32149,176 @@ "postfix": false, "binop": null }, - "start": 1163, - "end": 1164, + "value": "left", + "start": 1161, + "end": 1165, "loc": { "start": { - "line": 58, - "column": 42 + "line": 53, + "column": 6 }, "end": { - "line": 58, - "column": 43 + "line": 53, + "column": 10 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1164, - "end": 1165, + "value": "=", + "start": 1166, + "end": 1167, "loc": { "start": { - "line": 58, - "column": 43 + "line": 53, + "column": 11 }, "end": { - "line": 58, - "column": 44 + "line": 53, + "column": 12 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", + "value": "cDefine", "start": 1168, - "end": 1171, + "end": 1175, "loc": { "start": { - "line": 59, - "column": 2 + "line": 53, + "column": 13 }, "end": { - "line": 59, - "column": 5 + "line": 53, + "column": 20 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "sHeight", - "start": 1172, - "end": 1179, + "start": 1175, + "end": 1176, "loc": { "start": { - "line": 59, - "column": 6 + "line": 53, + "column": 20 }, "end": { - "line": 59, - "column": 13 + "line": 53, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1180, - "end": 1181, + "value": "VIEW_LOGICAL_LEFT", + "start": 1176, + "end": 1193, "loc": { "start": { - "line": 59, - "column": 14 + "line": 53, + "column": 21 }, "end": { - "line": 59, - "column": 15 + "line": 53, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parseInt", - "start": 1182, - "end": 1190, + "start": 1193, + "end": 1194, "loc": { "start": { - "line": 59, - "column": 16 + "line": 53, + "column": 38 }, "end": { - "line": 59, - "column": 24 + "line": 53, + "column": 39 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1190, - "end": 1191, + "value": "let", + "start": 1197, + "end": 1200, "loc": { "start": { - "line": 59, - "column": 24 + "line": 54, + "column": 2 }, "end": { - "line": 59, - "column": 25 + "line": 54, + "column": 5 } } }, @@ -29105,43 +32334,44 @@ "postfix": false, "binop": null }, - "value": "canvas", - "start": 1191, - "end": 1197, + "value": "right", + "start": 1201, + "end": 1206, "loc": { "start": { - "line": 59, - "column": 25 + "line": 54, + "column": 6 }, "end": { - "line": 59, - "column": 31 + "line": 54, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1197, - "end": 1198, + "value": "=", + "start": 1207, + "end": 1208, "loc": { "start": { - "line": 59, - "column": 31 + "line": 54, + "column": 12 }, "end": { - "line": 59, - "column": 32 + "line": 54, + "column": 13 } } }, @@ -29157,17 +32387,17 @@ "postfix": false, "binop": null }, - "value": "style", - "start": 1198, - "end": 1203, + "value": "cDefine", + "start": 1209, + "end": 1216, "loc": { "start": { - "line": 59, - "column": 32 + "line": 54, + "column": 14 }, "end": { - "line": 59, - "column": 37 + "line": 54, + "column": 21 } } }, @@ -29184,16 +32414,16 @@ "binop": null, "updateContext": null }, - "start": 1203, - "end": 1204, + "start": 1216, + "end": 1217, "loc": { "start": { - "line": 59, - "column": 37 + "line": 54, + "column": 21 }, "end": { - "line": 59, - "column": 38 + "line": 54, + "column": 22 } } }, @@ -29209,49 +32439,51 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 1204, - "end": 1210, + "value": "VIEW_LOGICAL_RIGHT", + "start": 1217, + "end": 1235, "loc": { "start": { - "line": 59, - "column": 38 + "line": 54, + "column": 22 }, "end": { - "line": 59, - "column": 44 + "line": 54, + "column": 40 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1210, - "end": 1211, + "start": 1235, + "end": 1236, "loc": { "start": { - "line": 59, - "column": 44 + "line": 54, + "column": 40 }, "end": { - "line": 59, - "column": 45 + "line": 54, + "column": 41 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -29261,16 +32493,17 @@ "binop": null, "updateContext": null }, - "start": 1211, - "end": 1212, + "value": "let", + "start": 1239, + "end": 1242, "loc": { "start": { - "line": 59, - "column": 45 + "line": 55, + "column": 2 }, "end": { - "line": 59, - "column": 46 + "line": 55, + "column": 5 } } }, @@ -29286,17 +32519,17 @@ "postfix": false, "binop": null }, - "value": "dragMgr", - "start": 1216, - "end": 1223, + "value": "bottom", + "start": 1243, + "end": 1249, "loc": { "start": { - "line": 61, - "column": 2 + "line": 55, + "column": 6 }, "end": { - "line": 61, - "column": 9 + "line": 55, + "column": 12 } } }, @@ -29314,44 +32547,43 @@ "updateContext": null }, "value": "=", - "start": 1224, - "end": 1225, + "start": 1250, + "end": 1251, "loc": { "start": { - "line": 61, - "column": 10 + "line": 55, + "column": 13 }, "end": { - "line": 61, - "column": 11 + "line": 55, + "column": 14 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "new", - "start": 1226, - "end": 1229, + "value": "-", + "start": 1252, + "end": 1253, "loc": { "start": { - "line": 61, - "column": 12 + "line": 55, + "column": 15 }, "end": { - "line": 61, - "column": 15 + "line": 55, + "column": 16 } } }, @@ -29367,48 +32599,50 @@ "postfix": false, "binop": null }, - "value": "L2DTargetPoint", - "start": 1230, - "end": 1244, + "value": "ratio", + "start": 1253, + "end": 1258, "loc": { "start": { - "line": 61, + "line": 55, "column": 16 }, "end": { - "line": 61, - "column": 30 + "line": 55, + "column": 21 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1244, - "end": 1245, + "start": 1258, + "end": 1259, "loc": { "start": { - "line": 61, - "column": 30 + "line": 55, + "column": 21 }, "end": { - "line": 61, - "column": 31 + "line": 55, + "column": 22 } } }, { "type": { - "label": ")", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29416,72 +32650,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1245, - "end": 1246, + "value": "let", + "start": 1262, + "end": 1265, "loc": { "start": { - "line": 61, - "column": 31 + "line": 56, + "column": 2 }, "end": { - "line": 61, - "column": 32 + "line": 56, + "column": 5 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1246, - "end": 1247, + "value": "top", + "start": 1266, + "end": 1269, "loc": { "start": { - "line": 61, - "column": 32 + "line": 56, + "column": 6 }, "end": { - "line": 61, - "column": 33 + "line": 56, + "column": 9 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "let", - "start": 1250, - "end": 1253, + "value": "=", + "start": 1270, + "end": 1271, "loc": { "start": { - "line": 62, - "column": 2 + "line": 56, + "column": 10 }, "end": { - "line": 62, - "column": 5 + "line": 56, + "column": 11 } } }, @@ -29498,43 +32733,42 @@ "binop": null }, "value": "ratio", - "start": 1254, - "end": 1259, + "start": 1272, + "end": 1277, "loc": { "start": { - "line": 62, - "column": 6 + "line": 56, + "column": 12 }, "end": { - "line": 62, - "column": 11 + "line": 56, + "column": 17 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1260, - "end": 1261, + "start": 1277, + "end": 1278, "loc": { "start": { - "line": 62, - "column": 12 + "line": 56, + "column": 17 }, "end": { - "line": 62, - "column": 13 + "line": 56, + "column": 18 } } }, @@ -29550,132 +32784,131 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 1262, - "end": 1268, + "value": "viewMatrix", + "start": 1282, + "end": 1292, "loc": { "start": { - "line": 62, - "column": 14 + "line": 58, + "column": 2 }, "end": { - "line": 62, - "column": 20 + "line": 58, + "column": 12 } } }, { "type": { - "label": "/", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 1269, - "end": 1270, + "value": "=", + "start": 1293, + "end": 1294, "loc": { "start": { - "line": 62, - "column": 21 + "line": 58, + "column": 13 }, "end": { - "line": 62, - "column": 22 + "line": 58, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "width", - "start": 1271, - "end": 1276, + "value": "new", + "start": 1295, + "end": 1298, "loc": { "start": { - "line": 62, - "column": 23 + "line": 58, + "column": 15 }, "end": { - "line": 62, - "column": 28 + "line": 58, + "column": 18 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1276, - "end": 1277, + "value": "L2DViewMatrix", + "start": 1299, + "end": 1312, "loc": { "start": { - "line": 62, - "column": 28 + "line": 58, + "column": 19 }, "end": { - "line": 62, - "column": 29 + "line": 58, + "column": 32 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 1280, - "end": 1283, + "start": 1312, + "end": 1313, "loc": { "start": { - "line": 63, - "column": 2 + "line": 58, + "column": 32 }, "end": { - "line": 63, - "column": 5 + "line": 58, + "column": 33 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29683,44 +32916,42 @@ "postfix": false, "binop": null }, - "value": "left", - "start": 1284, - "end": 1288, + "start": 1313, + "end": 1314, "loc": { "start": { - "line": 63, - "column": 6 + "line": 58, + "column": 33 }, "end": { - "line": 63, - "column": 10 + "line": 58, + "column": 34 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1289, - "end": 1290, + "start": 1314, + "end": 1315, "loc": { "start": { - "line": 63, - "column": 11 + "line": 58, + "column": 34 }, "end": { - "line": 63, - "column": 12 + "line": 58, + "column": 35 } } }, @@ -29736,17 +32967,17 @@ "postfix": false, "binop": null }, - "value": "cDefine", - "start": 1291, - "end": 1298, + "value": "viewMatrix", + "start": 1319, + "end": 1329, "loc": { "start": { - "line": 63, - "column": 13 + "line": 60, + "column": 2 }, "end": { - "line": 63, - "column": 20 + "line": 60, + "column": 12 } } }, @@ -29763,16 +32994,16 @@ "binop": null, "updateContext": null }, - "start": 1298, - "end": 1299, + "start": 1329, + "end": 1330, "loc": { "start": { - "line": 63, - "column": 20 + "line": 60, + "column": 12 }, "end": { - "line": 63, - "column": 21 + "line": 60, + "column": 13 } } }, @@ -29788,51 +33019,75 @@ "postfix": false, "binop": null }, - "value": "VIEW_LOGICAL_LEFT", - "start": 1299, - "end": 1316, + "value": "setScreenRect", + "start": 1330, + "end": 1343, "loc": { "start": { - "line": 63, - "column": 21 + "line": 60, + "column": 13 }, "end": { - "line": 63, - "column": 38 + "line": 60, + "column": 26 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1316, - "end": 1317, + "start": 1343, + "end": 1344, "loc": { "start": { - "line": 63, - "column": 38 + "line": 60, + "column": 26 }, "end": { - "line": 63, - "column": 39 + "line": 60, + "column": 27 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "left", + "start": 1344, + "end": 1348, + "loc": { + "start": { + "line": 60, + "column": 27 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -29842,17 +33097,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1320, - "end": 1323, + "start": 1348, + "end": 1349, "loc": { "start": { - "line": 64, - "column": 2 + "line": 60, + "column": 31 }, "end": { - "line": 64, - "column": 5 + "line": 60, + "column": 32 } } }, @@ -29869,43 +33123,42 @@ "binop": null }, "value": "right", - "start": 1324, - "end": 1329, + "start": 1350, + "end": 1355, "loc": { "start": { - "line": 64, - "column": 6 + "line": 60, + "column": 33 }, "end": { - "line": 64, - "column": 11 + "line": 60, + "column": 38 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1330, - "end": 1331, + "start": 1355, + "end": 1356, "loc": { "start": { - "line": 64, - "column": 12 + "line": 60, + "column": 38 }, "end": { - "line": 64, - "column": 13 + "line": 60, + "column": 39 } } }, @@ -29921,24 +33174,24 @@ "postfix": false, "binop": null }, - "value": "cDefine", - "start": 1332, - "end": 1339, + "value": "bottom", + "start": 1357, + "end": 1363, "loc": { "start": { - "line": 64, - "column": 14 + "line": 60, + "column": 40 }, "end": { - "line": 64, - "column": 21 + "line": 60, + "column": 46 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -29948,16 +33201,16 @@ "binop": null, "updateContext": null }, - "start": 1339, - "end": 1340, + "start": 1363, + "end": 1364, "loc": { "start": { - "line": 64, - "column": 21 + "line": 60, + "column": 46 }, "end": { - "line": 64, - "column": 22 + "line": 60, + "column": 47 } } }, @@ -29973,51 +33226,49 @@ "postfix": false, "binop": null }, - "value": "VIEW_LOGICAL_RIGHT", - "start": 1340, - "end": 1358, + "value": "top", + "start": 1365, + "end": 1368, "loc": { "start": { - "line": 64, - "column": 22 + "line": 60, + "column": 48 }, "end": { - "line": 64, - "column": 40 + "line": 60, + "column": 51 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1358, - "end": 1359, + "start": 1368, + "end": 1369, "loc": { "start": { - "line": 64, - "column": 40 + "line": 60, + "column": 51 }, "end": { - "line": 64, - "column": 41 + "line": 60, + "column": 52 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30027,17 +33278,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1362, - "end": 1365, + "start": 1369, + "end": 1370, "loc": { "start": { - "line": 65, - "column": 2 + "line": 60, + "column": 52 }, "end": { - "line": 65, - "column": 5 + "line": 60, + "column": 53 } } }, @@ -30053,78 +33303,76 @@ "postfix": false, "binop": null }, - "value": "bottom", - "start": 1366, - "end": 1372, + "value": "viewMatrix", + "start": 1374, + "end": 1384, "loc": { "start": { - "line": 65, - "column": 6 + "line": 62, + "column": 2 }, "end": { - "line": 65, + "line": 62, "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1373, - "end": 1374, + "start": 1384, + "end": 1385, "loc": { "start": { - "line": 65, - "column": 13 + "line": 62, + "column": 12 }, "end": { - "line": 65, - "column": 14 + "line": 62, + "column": 13 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "-", - "start": 1375, - "end": 1376, + "value": "setMaxScreenRect", + "start": 1385, + "end": 1401, "loc": { "start": { - "line": 65, - "column": 15 + "line": 62, + "column": 13 }, "end": { - "line": 65, - "column": 16 + "line": 62, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30133,50 +33381,48 @@ "postfix": false, "binop": null }, - "value": "ratio", - "start": 1376, - "end": 1381, + "start": 1401, + "end": 1402, "loc": { "start": { - "line": 65, - "column": 16 + "line": 62, + "column": 29 }, "end": { - "line": 65, - "column": 21 + "line": 62, + "column": 30 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1381, - "end": 1382, + "value": "cDefine", + "start": 1402, + "end": 1409, "loc": { "start": { - "line": 65, - "column": 21 + "line": 62, + "column": 30 }, "end": { - "line": 65, - "column": 22 + "line": 62, + "column": 37 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30187,17 +33433,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1385, - "end": 1388, + "start": 1409, + "end": 1410, "loc": { "start": { - "line": 66, - "column": 2 + "line": 62, + "column": 37 }, "end": { - "line": 66, - "column": 5 + "line": 62, + "column": 38 } } }, @@ -30213,44 +33458,43 @@ "postfix": false, "binop": null }, - "value": "top", - "start": 1389, - "end": 1392, + "value": "VIEW_LOGICAL_MAX_LEFT", + "start": 1410, + "end": 1431, "loc": { "start": { - "line": 66, - "column": 6 + "line": 62, + "column": 38 }, "end": { - "line": 66, - "column": 9 + "line": 62, + "column": 59 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1393, - "end": 1394, + "start": 1431, + "end": 1432, "loc": { "start": { - "line": 66, - "column": 10 + "line": 62, + "column": 59 }, "end": { - "line": 66, - "column": 11 + "line": 62, + "column": 60 } } }, @@ -30266,24 +33510,24 @@ "postfix": false, "binop": null }, - "value": "ratio", - "start": 1395, - "end": 1400, + "value": "cDefine", + "start": 1437, + "end": 1444, "loc": { "start": { - "line": 66, - "column": 12 + "line": 63, + "column": 4 }, "end": { - "line": 66, - "column": 17 + "line": 63, + "column": 11 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30293,16 +33537,16 @@ "binop": null, "updateContext": null }, - "start": 1400, - "end": 1401, + "start": 1444, + "end": 1445, "loc": { "start": { - "line": 66, - "column": 17 + "line": 63, + "column": 11 }, "end": { - "line": 66, - "column": 18 + "line": 63, + "column": 12 } } }, @@ -30318,53 +33562,25 @@ "postfix": false, "binop": null }, - "value": "viewMatrix", - "start": 1405, - "end": 1415, + "value": "VIEW_LOGICAL_MAX_RIGHT", + "start": 1445, + "end": 1467, "loc": { "start": { - "line": 68, - "column": 2 - }, - "end": { - "line": 68, + "line": 63, "column": 12 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1416, - "end": 1417, - "loc": { - "start": { - "line": 68, - "column": 13 }, "end": { - "line": 68, - "column": 14 + "line": 63, + "column": 34 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30373,17 +33589,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 1418, - "end": 1421, + "start": 1467, + "end": 1468, "loc": { "start": { - "line": 68, - "column": 15 + "line": 63, + "column": 34 }, "end": { - "line": 68, - "column": 18 + "line": 63, + "column": 35 } } }, @@ -30399,50 +33614,51 @@ "postfix": false, "binop": null }, - "value": "L2DViewMatrix", - "start": 1422, - "end": 1435, + "value": "cDefine", + "start": 1473, + "end": 1480, "loc": { "start": { - "line": 68, - "column": 19 + "line": 64, + "column": 4 }, "end": { - "line": 68, - "column": 32 + "line": 64, + "column": 11 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1435, - "end": 1436, + "start": 1480, + "end": 1481, "loc": { "start": { - "line": 68, - "column": 32 + "line": 64, + "column": 11 }, "end": { - "line": 68, - "column": 33 + "line": 64, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30450,22 +33666,23 @@ "postfix": false, "binop": null }, - "start": 1436, - "end": 1437, + "value": "VIEW_LOGICAL_MAX_BOTTOM", + "start": 1481, + "end": 1504, "loc": { "start": { - "line": 68, - "column": 33 + "line": 64, + "column": 12 }, "end": { - "line": 68, - "column": 34 + "line": 64, + "column": 35 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -30476,16 +33693,16 @@ "binop": null, "updateContext": null }, - "start": 1437, - "end": 1438, + "start": 1504, + "end": 1505, "loc": { "start": { - "line": 68, - "column": 34 + "line": 64, + "column": 35 }, "end": { - "line": 68, - "column": 35 + "line": 64, + "column": 36 } } }, @@ -30501,17 +33718,17 @@ "postfix": false, "binop": null }, - "value": "viewMatrix", - "start": 1442, - "end": 1452, + "value": "cDefine", + "start": 1510, + "end": 1517, "loc": { "start": { - "line": 70, - "column": 2 + "line": 65, + "column": 4 }, "end": { - "line": 70, - "column": 12 + "line": 65, + "column": 11 } } }, @@ -30528,16 +33745,16 @@ "binop": null, "updateContext": null }, - "start": 1452, - "end": 1453, + "start": 1517, + "end": 1518, "loc": { "start": { - "line": 70, - "column": 12 + "line": 65, + "column": 11 }, "end": { - "line": 70, - "column": 13 + "line": 65, + "column": 12 } } }, @@ -30553,50 +33770,25 @@ "postfix": false, "binop": null }, - "value": "setScreenRect", - "start": 1453, - "end": 1466, - "loc": { - "start": { - "line": 70, - "column": 13 - }, - "end": { - "line": 70, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1466, - "end": 1467, + "value": "VIEW_LOGICAL_MAX_TOP", + "start": 1518, + "end": 1538, "loc": { "start": { - "line": 70, - "column": 26 + "line": 65, + "column": 12 }, "end": { - "line": 70, - "column": 27 + "line": 65, + "column": 32 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30604,23 +33796,22 @@ "postfix": false, "binop": null }, - "value": "left", - "start": 1467, - "end": 1471, + "start": 1538, + "end": 1539, "loc": { "start": { - "line": 70, - "column": 27 + "line": 65, + "column": 32 }, "end": { - "line": 70, - "column": 31 + "line": 65, + "column": 33 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -30631,16 +33822,16 @@ "binop": null, "updateContext": null }, - "start": 1471, - "end": 1472, + "start": 1539, + "end": 1540, "loc": { "start": { - "line": 70, - "column": 31 + "line": 65, + "column": 33 }, "end": { - "line": 70, - "column": 32 + "line": 65, + "column": 34 } } }, @@ -30656,102 +33847,105 @@ "postfix": false, "binop": null }, - "value": "right", - "start": 1473, - "end": 1478, + "value": "projMatrix", + "start": 1544, + "end": 1554, "loc": { "start": { - "line": 70, - "column": 33 + "line": 67, + "column": 2 }, "end": { - "line": 70, - "column": 38 + "line": 67, + "column": 12 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1478, - "end": 1479, + "value": "=", + "start": 1555, + "end": 1556, "loc": { "start": { - "line": 70, - "column": 38 + "line": 67, + "column": 13 }, "end": { - "line": 70, - "column": 39 + "line": 67, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "bottom", - "start": 1480, - "end": 1486, + "value": "new", + "start": 1557, + "end": 1560, "loc": { "start": { - "line": 70, - "column": 40 + "line": 67, + "column": 15 }, "end": { - "line": 70, - "column": 46 + "line": 67, + "column": 18 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1486, - "end": 1487, + "value": "L2DMatrix44", + "start": 1561, + "end": 1572, "loc": { "start": { - "line": 70, - "column": 46 + "line": 67, + "column": 19 }, "end": { - "line": 70, - "column": 47 + "line": 67, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30760,17 +33954,16 @@ "postfix": false, "binop": null }, - "value": "top", - "start": 1488, - "end": 1491, + "start": 1572, + "end": 1573, "loc": { "start": { - "line": 70, - "column": 48 + "line": 67, + "column": 30 }, "end": { - "line": 70, - "column": 51 + "line": 67, + "column": 31 } } }, @@ -30786,16 +33979,16 @@ "postfix": false, "binop": null }, - "start": 1491, - "end": 1492, + "start": 1573, + "end": 1574, "loc": { "start": { - "line": 70, - "column": 51 + "line": 67, + "column": 31 }, "end": { - "line": 70, - "column": 52 + "line": 67, + "column": 32 } } }, @@ -30812,16 +34005,16 @@ "binop": null, "updateContext": null }, - "start": 1492, - "end": 1493, + "start": 1574, + "end": 1575, "loc": { "start": { - "line": 70, - "column": 52 + "line": 67, + "column": 32 }, "end": { - "line": 70, - "column": 53 + "line": 67, + "column": 33 } } }, @@ -30837,16 +34030,16 @@ "postfix": false, "binop": null }, - "value": "viewMatrix", - "start": 1497, - "end": 1507, + "value": "projMatrix", + "start": 1578, + "end": 1588, "loc": { "start": { - "line": 72, + "line": 68, "column": 2 }, "end": { - "line": 72, + "line": 68, "column": 12 } } @@ -30864,15 +34057,15 @@ "binop": null, "updateContext": null }, - "start": 1507, - "end": 1508, + "start": 1588, + "end": 1589, "loc": { "start": { - "line": 72, + "line": 68, "column": 12 }, "end": { - "line": 72, + "line": 68, "column": 13 } } @@ -30889,17 +34082,17 @@ "postfix": false, "binop": null }, - "value": "setMaxScreenRect", - "start": 1508, - "end": 1524, + "value": "multScale", + "start": 1589, + "end": 1598, "loc": { "start": { - "line": 72, + "line": 68, "column": 13 }, "end": { - "line": 72, - "column": 29 + "line": 68, + "column": 22 } } }, @@ -30915,22 +34108,22 @@ "postfix": false, "binop": null }, - "start": 1524, - "end": 1525, + "start": 1598, + "end": 1599, "loc": { "start": { - "line": 72, - "column": 29 + "line": 68, + "column": 22 }, "end": { - "line": 72, - "column": 30 + "line": 68, + "column": 23 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30938,26 +34131,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "cDefine", - "start": 1525, - "end": 1532, + "value": 1, + "start": 1599, + "end": 1600, "loc": { "start": { - "line": 72, - "column": 30 + "line": 68, + "column": 23 }, "end": { - "line": 72, - "column": 37 + "line": 68, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30967,16 +34161,41 @@ "binop": null, "updateContext": null }, - "start": 1532, - "end": 1533, + "start": 1600, + "end": 1601, "loc": { "start": { - "line": 72, - "column": 37 + "line": 68, + "column": 24 }, "end": { - "line": 72, - "column": 38 + "line": 68, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1602, + "end": 1603, + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 27 } } }, @@ -30992,24 +34211,24 @@ "postfix": false, "binop": null }, - "value": "VIEW_LOGICAL_MAX_LEFT", - "start": 1533, - "end": 1554, + "value": "config", + "start": 1603, + "end": 1609, "loc": { "start": { - "line": 72, - "column": 38 + "line": 68, + "column": 27 }, "end": { - "line": 72, - "column": 59 + "line": 68, + "column": 33 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -31019,16 +34238,16 @@ "binop": null, "updateContext": null }, - "start": 1554, - "end": 1555, + "start": 1609, + "end": 1610, "loc": { "start": { - "line": 72, - "column": 59 + "line": 68, + "column": 33 }, "end": { - "line": 72, - "column": 60 + "line": 68, + "column": 34 } } }, @@ -31044,17 +34263,17 @@ "postfix": false, "binop": null }, - "value": "cDefine", - "start": 1560, - "end": 1567, + "value": "display", + "start": 1610, + "end": 1617, "loc": { "start": { - "line": 73, - "column": 4 + "line": 68, + "column": 34 }, "end": { - "line": 73, - "column": 11 + "line": 68, + "column": 41 } } }, @@ -31071,16 +34290,16 @@ "binop": null, "updateContext": null }, - "start": 1567, - "end": 1568, + "start": 1617, + "end": 1618, "loc": { "start": { - "line": 73, - "column": 11 + "line": 68, + "column": 41 }, "end": { - "line": 73, - "column": 12 + "line": 68, + "column": 42 } } }, @@ -31096,23 +34315,23 @@ "postfix": false, "binop": null }, - "value": "VIEW_LOGICAL_MAX_RIGHT", - "start": 1568, - "end": 1590, + "value": "width", + "start": 1618, + "end": 1623, "loc": { "start": { - "line": 73, - "column": 12 + "line": 68, + "column": 42 }, "end": { - "line": 73, - "column": 34 + "line": 68, + "column": 47 } } }, { "type": { - "label": ",", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -31120,19 +34339,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 1590, - "end": 1591, + "value": "/", + "start": 1624, + "end": 1625, "loc": { "start": { - "line": 73, - "column": 34 + "line": 68, + "column": 48 }, "end": { - "line": 73, - "column": 35 + "line": 68, + "column": 49 } } }, @@ -31148,17 +34368,17 @@ "postfix": false, "binop": null }, - "value": "cDefine", - "start": 1596, - "end": 1603, + "value": "config", + "start": 1626, + "end": 1632, "loc": { "start": { - "line": 74, - "column": 4 + "line": 68, + "column": 50 }, "end": { - "line": 74, - "column": 11 + "line": 68, + "column": 56 } } }, @@ -31175,16 +34395,16 @@ "binop": null, "updateContext": null }, - "start": 1603, - "end": 1604, + "start": 1632, + "end": 1633, "loc": { "start": { - "line": 74, - "column": 11 + "line": 68, + "column": 56 }, "end": { - "line": 74, - "column": 12 + "line": 68, + "column": 57 } } }, @@ -31200,24 +34420,24 @@ "postfix": false, "binop": null }, - "value": "VIEW_LOGICAL_MAX_BOTTOM", - "start": 1604, - "end": 1627, + "value": "display", + "start": 1633, + "end": 1640, "loc": { "start": { - "line": 74, - "column": 12 + "line": 68, + "column": 57 }, "end": { - "line": 74, - "column": 35 + "line": 68, + "column": 64 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -31227,76 +34447,50 @@ "binop": null, "updateContext": null }, - "start": 1627, - "end": 1628, - "loc": { - "start": { - "line": 74, - "column": 35 - }, - "end": { - "line": 74, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "cDefine", - "start": 1633, - "end": 1640, + "start": 1640, + "end": 1641, "loc": { - "start": { - "line": 75, - "column": 4 + "start": { + "line": 68, + "column": 64 }, "end": { - "line": 75, - "column": 11 + "line": 68, + "column": 65 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1640, - "end": 1641, + "value": "height", + "start": 1641, + "end": 1647, "loc": { "start": { - "line": 75, - "column": 11 + "line": 68, + "column": 65 }, "end": { - "line": 75, - "column": 12 + "line": 68, + "column": 71 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31304,17 +34498,16 @@ "postfix": false, "binop": null }, - "value": "VIEW_LOGICAL_MAX_TOP", - "start": 1641, - "end": 1661, + "start": 1647, + "end": 1648, "loc": { "start": { - "line": 75, - "column": 12 + "line": 68, + "column": 71 }, "end": { - "line": 75, - "column": 32 + "line": 68, + "column": 72 } } }, @@ -31330,16 +34523,16 @@ "postfix": false, "binop": null }, - "start": 1661, - "end": 1662, + "start": 1648, + "end": 1649, "loc": { "start": { - "line": 75, - "column": 32 + "line": 68, + "column": 72 }, "end": { - "line": 75, - "column": 33 + "line": 68, + "column": 73 } } }, @@ -31356,16 +34549,16 @@ "binop": null, "updateContext": null }, - "start": 1662, - "end": 1663, + "start": 1649, + "end": 1650, "loc": { "start": { - "line": 75, - "column": 33 + "line": 68, + "column": 73 }, "end": { - "line": 75, - "column": 34 + "line": 68, + "column": 74 } } }, @@ -31381,17 +34574,17 @@ "postfix": false, "binop": null }, - "value": "projMatrix", - "start": 1667, - "end": 1677, + "value": "deviceToScreen", + "start": 1654, + "end": 1668, "loc": { "start": { - "line": 77, + "line": 70, "column": 2 }, "end": { - "line": 77, - "column": 12 + "line": 70, + "column": 16 } } }, @@ -31409,16 +34602,16 @@ "updateContext": null }, "value": "=", - "start": 1678, - "end": 1679, + "start": 1669, + "end": 1670, "loc": { "start": { - "line": 77, - "column": 13 + "line": 70, + "column": 17 }, "end": { - "line": 77, - "column": 14 + "line": 70, + "column": 18 } } }, @@ -31437,16 +34630,16 @@ "updateContext": null }, "value": "new", - "start": 1680, - "end": 1683, + "start": 1671, + "end": 1674, "loc": { "start": { - "line": 77, - "column": 15 + "line": 70, + "column": 19 }, "end": { - "line": 77, - "column": 18 + "line": 70, + "column": 22 } } }, @@ -31463,16 +34656,16 @@ "binop": null }, "value": "L2DMatrix44", - "start": 1684, - "end": 1695, + "start": 1675, + "end": 1686, "loc": { "start": { - "line": 77, - "column": 19 + "line": 70, + "column": 23 }, "end": { - "line": 77, - "column": 30 + "line": 70, + "column": 34 } } }, @@ -31488,16 +34681,16 @@ "postfix": false, "binop": null }, - "start": 1695, - "end": 1696, + "start": 1686, + "end": 1687, "loc": { "start": { - "line": 77, - "column": 30 + "line": 70, + "column": 34 }, "end": { - "line": 77, - "column": 31 + "line": 70, + "column": 35 } } }, @@ -31513,16 +34706,16 @@ "postfix": false, "binop": null }, - "start": 1696, - "end": 1697, + "start": 1687, + "end": 1688, "loc": { "start": { - "line": 77, - "column": 31 + "line": 70, + "column": 35 }, "end": { - "line": 77, - "column": 32 + "line": 70, + "column": 36 } } }, @@ -31539,16 +34732,16 @@ "binop": null, "updateContext": null }, - "start": 1697, - "end": 1698, + "start": 1688, + "end": 1689, "loc": { "start": { - "line": 77, - "column": 32 + "line": 70, + "column": 36 }, "end": { - "line": 77, - "column": 33 + "line": 70, + "column": 37 } } }, @@ -31564,17 +34757,17 @@ "postfix": false, "binop": null }, - "value": "projMatrix", - "start": 1701, - "end": 1711, + "value": "deviceToScreen", + "start": 1692, + "end": 1706, "loc": { "start": { - "line": 78, + "line": 71, "column": 2 }, "end": { - "line": 78, - "column": 12 + "line": 71, + "column": 16 } } }, @@ -31591,16 +34784,16 @@ "binop": null, "updateContext": null }, - "start": 1711, - "end": 1712, + "start": 1706, + "end": 1707, "loc": { "start": { - "line": 78, - "column": 12 + "line": 71, + "column": 16 }, "end": { - "line": 78, - "column": 13 + "line": 71, + "column": 17 } } }, @@ -31616,17 +34809,17 @@ "postfix": false, "binop": null }, - "value": "multScale", - "start": 1712, - "end": 1721, + "value": "multTranslate", + "start": 1707, + "end": 1720, "loc": { "start": { - "line": 78, - "column": 13 + "line": 71, + "column": 17 }, "end": { - "line": 78, - "column": 22 + "line": 71, + "column": 30 } } }, @@ -31642,94 +34835,43 @@ "postfix": false, "binop": null }, - "start": 1721, - "end": 1722, - "loc": { - "start": { - "line": 78, - "column": 22 - }, - "end": { - "line": 78, - "column": 23 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1722, - "end": 1723, - "loc": { - "start": { - "line": 78, - "column": 23 - }, - "end": { - "line": 78, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1723, - "end": 1724, + "start": 1720, + "end": 1721, "loc": { "start": { - "line": 78, - "column": 24 + "line": 71, + "column": 30 }, "end": { - "line": 78, - "column": 25 + "line": 71, + "column": 31 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 1725, - "end": 1726, + "value": "-", + "start": 1721, + "end": 1722, "loc": { "start": { - "line": 78, - "column": 26 + "line": 71, + "column": 31 }, "end": { - "line": 78, - "column": 27 + "line": 71, + "column": 32 } } }, @@ -31745,44 +34887,43 @@ "postfix": false, "binop": null }, - "value": "width", - "start": 1726, - "end": 1731, + "value": "config", + "start": 1722, + "end": 1728, "loc": { "start": { - "line": 78, - "column": 27 + "line": 71, + "column": 32 }, "end": { - "line": 78, - "column": 32 + "line": 71, + "column": 38 } } }, { "type": { - "label": "/", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 1732, - "end": 1733, + "start": 1728, + "end": 1729, "loc": { "start": { - "line": 78, - "column": 33 + "line": 71, + "column": 38 }, "end": { - "line": 78, - "column": 34 + "line": 71, + "column": 39 } } }, @@ -31798,23 +34939,23 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 1734, - "end": 1740, + "value": "display", + "start": 1729, + "end": 1736, "loc": { "start": { - "line": 78, - "column": 35 + "line": 71, + "column": 39 }, "end": { - "line": 78, - "column": 41 + "line": 71, + "column": 46 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31822,26 +34963,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1740, - "end": 1741, + "start": 1736, + "end": 1737, "loc": { "start": { - "line": 78, - "column": 41 + "line": 71, + "column": 46 }, "end": { - "line": 78, - "column": 42 + "line": 71, + "column": 47 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31849,22 +34991,23 @@ "postfix": false, "binop": null }, - "start": 1741, + "value": "width", + "start": 1737, "end": 1742, "loc": { "start": { - "line": 78, - "column": 42 + "line": 71, + "column": 47 }, "end": { - "line": 78, - "column": 43 + "line": 71, + "column": 52 } } }, { "type": { - "label": ";", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -31872,25 +35015,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 1742, - "end": 1743, + "value": "/", + "start": 1743, + "end": 1744, "loc": { "start": { - "line": 78, - "column": 43 + "line": 71, + "column": 53 }, "end": { - "line": 78, - "column": 44 + "line": 71, + "column": 54 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31898,74 +35042,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "deviceToScreen", - "start": 1747, - "end": 1761, + "value": 2, + "start": 1745, + "end": 1748, "loc": { "start": { - "line": 80, - "column": 2 + "line": 71, + "column": 55 }, "end": { - "line": 80, - "column": 16 + "line": 71, + "column": 58 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1762, - "end": 1763, + "start": 1748, + "end": 1749, "loc": { "start": { - "line": 80, - "column": 17 + "line": 71, + "column": 58 }, "end": { - "line": 80, - "column": 18 + "line": 71, + "column": 59 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "new", - "start": 1764, - "end": 1767, + "value": "-", + "start": 1750, + "end": 1751, "loc": { "start": { - "line": 80, - "column": 19 + "line": 71, + "column": 60 }, "end": { - "line": 80, - "column": 22 + "line": 71, + "column": 61 } } }, @@ -31981,48 +35124,23 @@ "postfix": false, "binop": null }, - "value": "L2DMatrix44", - "start": 1768, - "end": 1779, - "loc": { - "start": { - "line": 80, - "column": 23 - }, - "end": { - "line": 80, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1779, - "end": 1780, + "value": "config", + "start": 1751, + "end": 1757, "loc": { "start": { - "line": 80, - "column": 34 + "line": 71, + "column": 61 }, "end": { - "line": 80, - "column": 35 + "line": 71, + "column": 67 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32030,76 +35148,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 1780, - "end": 1781, - "loc": { - "start": { - "line": 80, - "column": 35 - }, - "end": { - "line": 80, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 1781, - "end": 1782, - "loc": { - "start": { - "line": 80, - "column": 36 - }, - "end": { - "line": 80, - "column": 37 - } - } - }, - { - "type": "CommentLine", - "value": " deviceToScreen.multTranslate(-width / 2.0, -height / 2.0); // old codes", - "start": 1785, - "end": 1859, - "loc": { - "start": { - "line": 81, - "column": 2 - }, - "end": { - "line": 81, - "column": 76 - } - } - }, - { - "type": "CommentLine", - "value": " deviceToScreen.multScale(2 / width, -2 / width); // old codes", - "start": 1862, - "end": 1926, + "start": 1757, + "end": 1758, "loc": { "start": { - "line": 82, - "column": 2 + "line": 71, + "column": 67 }, "end": { - "line": 82, - "column": 66 + "line": 71, + "column": 68 } } }, @@ -32115,17 +35176,17 @@ "postfix": false, "binop": null }, - "value": "deviceToScreen", - "start": 1929, - "end": 1943, + "value": "display", + "start": 1758, + "end": 1765, "loc": { "start": { - "line": 83, - "column": 2 + "line": 71, + "column": 68 }, "end": { - "line": 83, - "column": 16 + "line": 71, + "column": 75 } } }, @@ -32142,16 +35203,16 @@ "binop": null, "updateContext": null }, - "start": 1943, - "end": 1944, + "start": 1765, + "end": 1766, "loc": { "start": { - "line": 83, - "column": 16 + "line": 71, + "column": 75 }, "end": { - "line": 83, - "column": 17 + "line": 71, + "column": 76 } } }, @@ -32167,77 +35228,79 @@ "postfix": false, "binop": null }, - "value": "multTranslate", - "start": 1944, - "end": 1957, + "value": "height", + "start": 1766, + "end": 1772, "loc": { "start": { - "line": 83, - "column": 17 + "line": 71, + "column": 76 }, "end": { - "line": 83, - "column": 30 + "line": 71, + "column": 82 } } }, { "type": { - "label": "(", + "label": "/", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 1957, - "end": 1958, + "value": "/", + "start": 1773, + "end": 1774, "loc": { "start": { - "line": 83, - "column": 30 + "line": 71, + "column": 83 }, "end": { - "line": 83, - "column": 31 + "line": 71, + "column": 84 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 1958, - "end": 1959, + "value": 2, + "start": 1775, + "end": 1778, "loc": { "start": { - "line": 83, - "column": 31 + "line": 71, + "column": 85 }, "end": { - "line": 83, - "column": 32 + "line": 71, + "column": 88 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32245,23 +35308,22 @@ "postfix": false, "binop": null }, - "value": "sWidth", - "start": 1959, - "end": 1965, + "start": 1778, + "end": 1779, "loc": { "start": { - "line": 83, - "column": 32 + "line": 71, + "column": 88 }, "end": { - "line": 83, - "column": 38 + "line": 71, + "column": 89 } } }, { "type": { - "label": "/", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32269,100 +35331,87 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 1966, - "end": 1967, + "start": 1779, + "end": 1780, "loc": { "start": { - "line": 83, - "column": 39 + "line": 71, + "column": 89 }, "end": { - "line": 83, - "column": 40 + "line": 71, + "column": 90 } } }, { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 1968, - "end": 1971, + "type": "CommentLine", + "value": " #32", + "start": 1782, + "end": 1788, "loc": { "start": { - "line": 83, - "column": 41 + "line": 71, + "column": 92 }, "end": { - "line": 83, - "column": 44 + "line": 71, + "column": 98 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1971, - "end": 1972, + "value": "deviceToScreen", + "start": 1791, + "end": 1805, "loc": { "start": { - "line": 83, - "column": 44 + "line": 72, + "column": 2 }, "end": { - "line": 83, - "column": 45 + "line": 72, + "column": 16 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 1973, - "end": 1974, + "start": 1805, + "end": 1806, "loc": { "start": { - "line": 83, - "column": 46 + "line": 72, + "column": 16 }, "end": { - "line": 83, - "column": 47 + "line": 72, + "column": 17 } } }, @@ -32378,44 +35427,42 @@ "postfix": false, "binop": null }, - "value": "sHeight", - "start": 1974, - "end": 1981, + "value": "multScale", + "start": 1806, + "end": 1815, "loc": { "start": { - "line": 83, - "column": 47 + "line": 72, + "column": 17 }, "end": { - "line": 83, - "column": 54 + "line": 72, + "column": 26 } } }, { "type": { - "label": "/", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "/", - "start": 1982, - "end": 1983, + "start": 1815, + "end": 1816, "loc": { "start": { - "line": 83, - "column": 55 + "line": 72, + "column": 26 }, "end": { - "line": 83, - "column": 56 + "line": 72, + "column": 27 } } }, @@ -32433,83 +35480,95 @@ "updateContext": null }, "value": 2, - "start": 1984, - "end": 1987, + "start": 1816, + "end": 1817, "loc": { "start": { - "line": 83, - "column": 57 + "line": 72, + "column": 27 }, "end": { - "line": 83, - "column": 60 + "line": 72, + "column": 28 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "/", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 1987, - "end": 1988, + "value": "/", + "start": 1818, + "end": 1819, "loc": { "start": { - "line": 83, - "column": 60 + "line": 72, + "column": 29 }, "end": { - "line": 83, - "column": 61 + "line": 72, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1988, - "end": 1989, + "value": "config", + "start": 1820, + "end": 1826, "loc": { "start": { - "line": 83, - "column": 61 + "line": 72, + "column": 31 }, "end": { - "line": 83, - "column": 62 + "line": 72, + "column": 37 } } }, { - "type": "CommentLine", - "value": " #32", - "start": 1991, - "end": 1997, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1826, + "end": 1827, "loc": { "start": { - "line": 83, - "column": 64 + "line": 72, + "column": 37 }, "end": { - "line": 83, - "column": 70 + "line": 72, + "column": 38 } } }, @@ -32525,17 +35584,17 @@ "postfix": false, "binop": null }, - "value": "deviceToScreen", - "start": 2000, - "end": 2014, + "value": "display", + "start": 1827, + "end": 1834, "loc": { "start": { - "line": 84, - "column": 2 + "line": 72, + "column": 38 }, "end": { - "line": 84, - "column": 16 + "line": 72, + "column": 45 } } }, @@ -32552,16 +35611,16 @@ "binop": null, "updateContext": null }, - "start": 2014, - "end": 2015, + "start": 1834, + "end": 1835, "loc": { "start": { - "line": 84, - "column": 16 + "line": 72, + "column": 45 }, "end": { - "line": 84, - "column": 17 + "line": 72, + "column": 46 } } }, @@ -32577,42 +35636,70 @@ "postfix": false, "binop": null }, - "value": "multScale", - "start": 2015, - "end": 2024, + "value": "width", + "start": 1835, + "end": 1840, "loc": { "start": { - "line": 84, - "column": 17 + "line": 72, + "column": 46 }, "end": { - "line": 84, - "column": 26 + "line": 72, + "column": 51 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2024, - "end": 2025, + "start": 1840, + "end": 1841, "loc": { "start": { - "line": 84, - "column": 26 + "line": 72, + "column": 51 }, "end": { - "line": 84, - "column": 27 + "line": 72, + "column": 52 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 1842, + "end": 1843, + "loc": { + "start": { + "line": 72, + "column": 53 + }, + "end": { + "line": 72, + "column": 54 } } }, @@ -32630,16 +35717,16 @@ "updateContext": null }, "value": 2, - "start": 2025, - "end": 2026, + "start": 1843, + "end": 1844, "loc": { "start": { - "line": 84, - "column": 27 + "line": 72, + "column": 54 }, "end": { - "line": 84, - "column": 28 + "line": 72, + "column": 55 } } }, @@ -32657,16 +35744,16 @@ "updateContext": null }, "value": "/", - "start": 2027, - "end": 2028, + "start": 1845, + "end": 1846, "loc": { "start": { - "line": 84, - "column": 29 + "line": 72, + "column": 56 }, "end": { - "line": 84, - "column": 30 + "line": 72, + "column": 57 } } }, @@ -32682,24 +35769,24 @@ "postfix": false, "binop": null }, - "value": "sWidth", - "start": 2029, - "end": 2035, + "value": "config", + "start": 1847, + "end": 1853, "loc": { "start": { - "line": 84, - "column": 31 + "line": 72, + "column": 58 }, "end": { - "line": 84, - "column": 37 + "line": 72, + "column": 64 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -32709,49 +35796,22 @@ "binop": null, "updateContext": null }, - "start": 2035, - "end": 2036, - "loc": { - "start": { - "line": 84, - "column": 37 - }, - "end": { - "line": 84, - "column": 38 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 2037, - "end": 2038, + "start": 1853, + "end": 1854, "loc": { "start": { - "line": 84, - "column": 39 + "line": 72, + "column": 64 }, "end": { - "line": 84, - "column": 40 + "line": 72, + "column": 65 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32759,47 +35819,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2, - "start": 2038, - "end": 2039, + "value": "display", + "start": 1854, + "end": 1861, "loc": { "start": { - "line": 84, - "column": 40 + "line": 72, + "column": 65 }, "end": { - "line": 84, - "column": 41 + "line": 72, + "column": 72 } } }, { "type": { - "label": "/", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 2040, - "end": 2041, + "start": 1861, + "end": 1862, "loc": { "start": { - "line": 84, - "column": 42 + "line": 72, + "column": 72 }, "end": { - "line": 84, - "column": 43 + "line": 72, + "column": 73 } } }, @@ -32815,17 +35873,17 @@ "postfix": false, "binop": null }, - "value": "sHeight", - "start": 2042, - "end": 2049, + "value": "height", + "start": 1862, + "end": 1868, "loc": { "start": { - "line": 84, - "column": 44 + "line": 72, + "column": 73 }, "end": { - "line": 84, - "column": 51 + "line": 72, + "column": 79 } } }, @@ -32841,16 +35899,16 @@ "postfix": false, "binop": null }, - "start": 2049, - "end": 2050, + "start": 1868, + "end": 1869, "loc": { "start": { - "line": 84, - "column": 51 + "line": 72, + "column": 79 }, "end": { - "line": 84, - "column": 52 + "line": 72, + "column": 80 } } }, @@ -32867,32 +35925,32 @@ "binop": null, "updateContext": null }, - "start": 2050, - "end": 2051, + "start": 1869, + "end": 1870, "loc": { "start": { - "line": 84, - "column": 52 + "line": 72, + "column": 80 }, "end": { - "line": 84, - "column": 53 + "line": 72, + "column": 81 } } }, { "type": "CommentLine", "value": " #32", - "start": 2053, - "end": 2059, + "start": 1872, + "end": 1878, "loc": { "start": { - "line": 84, - "column": 55 + "line": 72, + "column": 83 }, "end": { - "line": 84, - "column": 61 + "line": 72, + "column": 89 } } }, @@ -32909,15 +35967,15 @@ "binop": null }, "value": "Live2D", - "start": 2064, - "end": 2070, + "start": 1883, + "end": 1889, "loc": { "start": { - "line": 87, + "line": 75, "column": 2 }, "end": { - "line": 87, + "line": 75, "column": 8 } } @@ -32935,15 +35993,15 @@ "binop": null, "updateContext": null }, - "start": 2070, - "end": 2071, + "start": 1889, + "end": 1890, "loc": { "start": { - "line": 87, + "line": 75, "column": 8 }, "end": { - "line": 87, + "line": 75, "column": 9 } } @@ -32961,15 +36019,15 @@ "binop": null }, "value": "setGL", - "start": 2071, - "end": 2076, + "start": 1890, + "end": 1895, "loc": { "start": { - "line": 87, + "line": 75, "column": 9 }, "end": { - "line": 87, + "line": 75, "column": 14 } } @@ -32986,15 +36044,15 @@ "postfix": false, "binop": null }, - "start": 2076, - "end": 2077, + "start": 1895, + "end": 1896, "loc": { "start": { - "line": 87, + "line": 75, "column": 14 }, "end": { - "line": 87, + "line": 75, "column": 15 } } @@ -33012,15 +36070,15 @@ "binop": null }, "value": "currWebGL", - "start": 2077, - "end": 2086, + "start": 1896, + "end": 1905, "loc": { "start": { - "line": 87, + "line": 75, "column": 15 }, "end": { - "line": 87, + "line": 75, "column": 24 } } @@ -33037,15 +36095,15 @@ "postfix": false, "binop": null }, - "start": 2086, - "end": 2087, + "start": 1905, + "end": 1906, "loc": { "start": { - "line": 87, + "line": 75, "column": 24 }, "end": { - "line": 87, + "line": 75, "column": 25 } } @@ -33063,15 +36121,15 @@ "binop": null, "updateContext": null }, - "start": 2087, - "end": 2088, + "start": 1906, + "end": 1907, "loc": { "start": { - "line": 87, + "line": 75, "column": 25 }, "end": { - "line": 87, + "line": 75, "column": 26 } } @@ -33089,15 +36147,15 @@ "binop": null }, "value": "currWebGL", - "start": 2091, - "end": 2100, + "start": 1910, + "end": 1919, "loc": { "start": { - "line": 88, + "line": 76, "column": 2 }, "end": { - "line": 88, + "line": 76, "column": 11 } } @@ -33115,15 +36173,15 @@ "binop": null, "updateContext": null }, - "start": 2100, - "end": 2101, + "start": 1919, + "end": 1920, "loc": { "start": { - "line": 88, + "line": 76, "column": 11 }, "end": { - "line": 88, + "line": 76, "column": 12 } } @@ -33141,15 +36199,15 @@ "binop": null }, "value": "clearColor", - "start": 2101, - "end": 2111, + "start": 1920, + "end": 1930, "loc": { "start": { - "line": 88, + "line": 76, "column": 12 }, "end": { - "line": 88, + "line": 76, "column": 22 } } @@ -33166,15 +36224,15 @@ "postfix": false, "binop": null }, - "start": 2111, - "end": 2112, + "start": 1930, + "end": 1931, "loc": { "start": { - "line": 88, + "line": 76, "column": 22 }, "end": { - "line": 88, + "line": 76, "column": 23 } } @@ -33193,15 +36251,15 @@ "updateContext": null }, "value": 0, - "start": 2112, - "end": 2115, + "start": 1931, + "end": 1934, "loc": { "start": { - "line": 88, + "line": 76, "column": 23 }, "end": { - "line": 88, + "line": 76, "column": 26 } } @@ -33219,15 +36277,15 @@ "binop": null, "updateContext": null }, - "start": 2115, - "end": 2116, + "start": 1934, + "end": 1935, "loc": { "start": { - "line": 88, + "line": 76, "column": 26 }, "end": { - "line": 88, + "line": 76, "column": 27 } } @@ -33246,15 +36304,15 @@ "updateContext": null }, "value": 0, - "start": 2117, - "end": 2120, + "start": 1936, + "end": 1939, "loc": { "start": { - "line": 88, + "line": 76, "column": 28 }, "end": { - "line": 88, + "line": 76, "column": 31 } } @@ -33272,15 +36330,15 @@ "binop": null, "updateContext": null }, - "start": 2120, - "end": 2121, + "start": 1939, + "end": 1940, "loc": { "start": { - "line": 88, + "line": 76, "column": 31 }, "end": { - "line": 88, + "line": 76, "column": 32 } } @@ -33299,15 +36357,15 @@ "updateContext": null }, "value": 0, - "start": 2122, - "end": 2125, + "start": 1941, + "end": 1944, "loc": { "start": { - "line": 88, + "line": 76, "column": 33 }, "end": { - "line": 88, + "line": 76, "column": 36 } } @@ -33325,15 +36383,15 @@ "binop": null, "updateContext": null }, - "start": 2125, - "end": 2126, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 88, + "line": 76, "column": 36 }, "end": { - "line": 88, + "line": 76, "column": 37 } } @@ -33352,15 +36410,15 @@ "updateContext": null }, "value": 0, - "start": 2127, - "end": 2130, + "start": 1946, + "end": 1949, "loc": { "start": { - "line": 88, + "line": 76, "column": 38 }, "end": { - "line": 88, + "line": 76, "column": 41 } } @@ -33377,15 +36435,15 @@ "postfix": false, "binop": null }, - "start": 2130, - "end": 2131, + "start": 1949, + "end": 1950, "loc": { "start": { - "line": 88, + "line": 76, "column": 41 }, "end": { - "line": 88, + "line": 76, "column": 42 } } @@ -33403,15 +36461,15 @@ "binop": null, "updateContext": null }, - "start": 2131, - "end": 2132, + "start": 1950, + "end": 1951, "loc": { "start": { - "line": 88, + "line": 76, "column": 42 }, "end": { - "line": 88, + "line": 76, "column": 43 } } @@ -33429,15 +36487,15 @@ "binop": null }, "value": "changeModel", - "start": 2135, - "end": 2146, + "start": 1954, + "end": 1965, "loc": { "start": { - "line": 89, + "line": 77, "column": 2 }, "end": { - "line": 89, + "line": 77, "column": 13 } } @@ -33454,15 +36512,15 @@ "postfix": false, "binop": null }, - "start": 2146, - "end": 2147, + "start": 1965, + "end": 1966, "loc": { "start": { - "line": 89, + "line": 77, "column": 13 }, "end": { - "line": 89, + "line": 77, "column": 14 } } @@ -33480,15 +36538,15 @@ "binop": null }, "value": "config", - "start": 2147, - "end": 2153, + "start": 1966, + "end": 1972, "loc": { "start": { - "line": 89, + "line": 77, "column": 14 }, "end": { - "line": 89, + "line": 77, "column": 20 } } @@ -33506,15 +36564,15 @@ "binop": null, "updateContext": null }, - "start": 2153, - "end": 2154, + "start": 1972, + "end": 1973, "loc": { "start": { - "line": 89, + "line": 77, "column": 20 }, "end": { - "line": 89, + "line": 77, "column": 21 } } @@ -33532,15 +36590,15 @@ "binop": null }, "value": "model", - "start": 2154, - "end": 2159, + "start": 1973, + "end": 1978, "loc": { "start": { - "line": 89, + "line": 77, "column": 21 }, "end": { - "line": 89, + "line": 77, "column": 26 } } @@ -33558,15 +36616,15 @@ "binop": null, "updateContext": null }, - "start": 2159, - "end": 2160, + "start": 1978, + "end": 1979, "loc": { "start": { - "line": 89, + "line": 77, "column": 26 }, "end": { - "line": 89, + "line": 77, "column": 27 } } @@ -33584,15 +36642,15 @@ "binop": null }, "value": "jsonPath", - "start": 2160, - "end": 2168, + "start": 1979, + "end": 1987, "loc": { "start": { - "line": 89, + "line": 77, "column": 27 }, "end": { - "line": 89, + "line": 77, "column": 35 } } @@ -33609,15 +36667,15 @@ "postfix": false, "binop": null }, - "start": 2168, - "end": 2169, + "start": 1987, + "end": 1988, "loc": { "start": { - "line": 89, + "line": 77, "column": 35 }, "end": { - "line": 89, + "line": 77, "column": 36 } } @@ -33635,15 +36693,15 @@ "binop": null, "updateContext": null }, - "start": 2169, - "end": 2170, + "start": 1988, + "end": 1989, "loc": { "start": { - "line": 89, + "line": 77, "column": 36 }, "end": { - "line": 89, + "line": 77, "column": 37 } } @@ -33661,15 +36719,15 @@ "binop": null }, "value": "startDraw", - "start": 2173, - "end": 2182, + "start": 1992, + "end": 2001, "loc": { "start": { - "line": 90, + "line": 78, "column": 2 }, "end": { - "line": 90, + "line": 78, "column": 11 } } @@ -33686,15 +36744,15 @@ "postfix": false, "binop": null }, - "start": 2182, - "end": 2183, + "start": 2001, + "end": 2002, "loc": { "start": { - "line": 90, + "line": 78, "column": 11 }, "end": { - "line": 90, + "line": 78, "column": 12 } } @@ -33711,15 +36769,15 @@ "postfix": false, "binop": null }, - "start": 2183, - "end": 2184, + "start": 2002, + "end": 2003, "loc": { "start": { - "line": 90, + "line": 78, "column": 12 }, "end": { - "line": 90, + "line": 78, "column": 13 } } @@ -33737,15 +36795,15 @@ "binop": null, "updateContext": null }, - "start": 2184, - "end": 2185, + "start": 2003, + "end": 2004, "loc": { "start": { - "line": 90, + "line": 78, "column": 13 }, "end": { - "line": 90, + "line": 78, "column": 14 } } @@ -33762,15 +36820,15 @@ "postfix": false, "binop": null }, - "start": 2187, - "end": 2188, + "start": 2006, + "end": 2007, "loc": { "start": { - "line": 92, + "line": 80, "column": 0 }, "end": { - "line": 92, + "line": 80, "column": 1 } } @@ -33789,15 +36847,15 @@ "binop": null }, "value": "function", - "start": 2191, - "end": 2199, + "start": 2010, + "end": 2018, "loc": { "start": { - "line": 95, + "line": 83, "column": 0 }, "end": { - "line": 95, + "line": 83, "column": 8 } } @@ -33815,15 +36873,15 @@ "binop": null }, "value": "initEvent", - "start": 2200, - "end": 2209, + "start": 2019, + "end": 2028, "loc": { "start": { - "line": 95, + "line": 83, "column": 9 }, "end": { - "line": 95, + "line": 83, "column": 18 } } @@ -33840,15 +36898,15 @@ "postfix": false, "binop": null }, - "start": 2209, - "end": 2210, + "start": 2028, + "end": 2029, "loc": { "start": { - "line": 95, + "line": 83, "column": 18 }, "end": { - "line": 95, + "line": 83, "column": 19 } } @@ -33865,15 +36923,15 @@ "postfix": false, "binop": null }, - "start": 2210, - "end": 2211, + "start": 2029, + "end": 2030, "loc": { "start": { - "line": 95, + "line": 83, "column": 19 }, "end": { - "line": 95, + "line": 83, "column": 20 } } @@ -33890,31 +36948,31 @@ "postfix": false, "binop": null }, - "start": 2211, - "end": 2212, + "start": 2030, + "end": 2031, "loc": { "start": { - "line": 95, + "line": 83, "column": 20 }, "end": { - "line": 95, + "line": 83, "column": 21 } } }, { "type": "CommentBlock", - "value": "\n canvas = document.getElementById(canvasId);\n if (canvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }", - "start": 2212, - "end": 2728, + "value": "\n if (currCanvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }", + "start": 2031, + "end": 2505, "loc": { "start": { - "line": 95, + "line": 83, "column": 21 }, "end": { - "line": 106, + "line": 93, "column": 5 } } @@ -33931,15 +36989,15 @@ "postfix": false, "binop": null }, - "start": 2729, - "end": 2730, + "start": 2506, + "end": 2507, "loc": { "start": { - "line": 107, + "line": 94, "column": 0 }, "end": { - "line": 107, + "line": 94, "column": 1 } } @@ -33958,15 +37016,15 @@ "binop": null }, "value": "function", - "start": 2732, - "end": 2740, + "start": 2509, + "end": 2517, "loc": { "start": { - "line": 109, + "line": 96, "column": 0 }, "end": { - "line": 109, + "line": 96, "column": 8 } } @@ -33984,15 +37042,15 @@ "binop": null }, "value": "startDraw", - "start": 2741, - "end": 2750, + "start": 2518, + "end": 2527, "loc": { "start": { - "line": 109, + "line": 96, "column": 9 }, "end": { - "line": 109, + "line": 96, "column": 18 } } @@ -34009,15 +37067,15 @@ "postfix": false, "binop": null }, - "start": 2750, - "end": 2751, + "start": 2527, + "end": 2528, "loc": { "start": { - "line": 109, + "line": 96, "column": 18 }, "end": { - "line": 109, + "line": 96, "column": 19 } } @@ -34034,15 +37092,15 @@ "postfix": false, "binop": null }, - "start": 2751, - "end": 2752, + "start": 2528, + "end": 2529, "loc": { "start": { - "line": 109, + "line": 96, "column": 19 }, "end": { - "line": 109, + "line": 96, "column": 20 } } @@ -34059,15 +37117,15 @@ "postfix": false, "binop": null }, - "start": 2753, - "end": 2754, + "start": 2530, + "end": 2531, "loc": { "start": { - "line": 109, + "line": 96, "column": 21 }, "end": { - "line": 109, + "line": 96, "column": 22 } } @@ -34087,15 +37145,15 @@ "updateContext": null }, "value": "if", - "start": 2757, - "end": 2759, + "start": 2534, + "end": 2536, "loc": { "start": { - "line": 110, + "line": 97, "column": 2 }, "end": { - "line": 110, + "line": 97, "column": 4 } } @@ -34112,15 +37170,15 @@ "postfix": false, "binop": null }, - "start": 2760, - "end": 2761, + "start": 2537, + "end": 2538, "loc": { "start": { - "line": 110, + "line": 97, "column": 5 }, "end": { - "line": 110, + "line": 97, "column": 6 } } @@ -34139,15 +37197,15 @@ "updateContext": null }, "value": "!", - "start": 2761, - "end": 2762, + "start": 2538, + "end": 2539, "loc": { "start": { - "line": 110, + "line": 97, "column": 6 }, "end": { - "line": 110, + "line": 97, "column": 7 } } @@ -34165,15 +37223,15 @@ "binop": null }, "value": "isDrawStart", - "start": 2762, - "end": 2773, + "start": 2539, + "end": 2550, "loc": { "start": { - "line": 110, + "line": 97, "column": 7 }, "end": { - "line": 110, + "line": 97, "column": 18 } } @@ -34190,15 +37248,15 @@ "postfix": false, "binop": null }, - "start": 2773, - "end": 2774, + "start": 2550, + "end": 2551, "loc": { "start": { - "line": 110, + "line": 97, "column": 18 }, "end": { - "line": 110, + "line": 97, "column": 19 } } @@ -34215,15 +37273,15 @@ "postfix": false, "binop": null }, - "start": 2775, - "end": 2776, + "start": 2552, + "end": 2553, "loc": { "start": { - "line": 110, + "line": 97, "column": 20 }, "end": { - "line": 110, + "line": 97, "column": 21 } } @@ -34241,15 +37299,15 @@ "binop": null }, "value": "isDrawStart", - "start": 2781, - "end": 2792, + "start": 2558, + "end": 2569, "loc": { "start": { - "line": 111, + "line": 98, "column": 4 }, "end": { - "line": 111, + "line": 98, "column": 15 } } @@ -34268,15 +37326,15 @@ "updateContext": null }, "value": "=", - "start": 2793, - "end": 2794, + "start": 2570, + "end": 2571, "loc": { "start": { - "line": 111, + "line": 98, "column": 16 }, "end": { - "line": 111, + "line": 98, "column": 17 } } @@ -34296,15 +37354,15 @@ "updateContext": null }, "value": "true", - "start": 2795, - "end": 2799, + "start": 2572, + "end": 2576, "loc": { "start": { - "line": 111, + "line": 98, "column": 18 }, "end": { - "line": 111, + "line": 98, "column": 22 } } @@ -34322,15 +37380,15 @@ "binop": null, "updateContext": null }, - "start": 2799, - "end": 2800, + "start": 2576, + "end": 2577, "loc": { "start": { - "line": 111, + "line": 98, "column": 22 }, "end": { - "line": 111, + "line": 98, "column": 23 } } @@ -34347,15 +37405,15 @@ "postfix": false, "binop": null }, - "start": 2805, - "end": 2806, + "start": 2582, + "end": 2583, "loc": { "start": { - "line": 112, + "line": 99, "column": 4 }, "end": { - "line": 112, + "line": 99, "column": 5 } } @@ -34374,15 +37432,15 @@ "binop": null }, "value": "function", - "start": 2806, - "end": 2814, + "start": 2583, + "end": 2591, "loc": { "start": { - "line": 112, + "line": 99, "column": 5 }, "end": { - "line": 112, + "line": 99, "column": 13 } } @@ -34400,15 +37458,15 @@ "binop": null }, "value": "tick", - "start": 2815, - "end": 2819, + "start": 2592, + "end": 2596, "loc": { "start": { - "line": 112, + "line": 99, "column": 14 }, "end": { - "line": 112, + "line": 99, "column": 18 } } @@ -34425,15 +37483,15 @@ "postfix": false, "binop": null }, - "start": 2819, - "end": 2820, + "start": 2596, + "end": 2597, "loc": { "start": { - "line": 112, + "line": 99, "column": 18 }, "end": { - "line": 112, + "line": 99, "column": 19 } } @@ -34450,15 +37508,15 @@ "postfix": false, "binop": null }, - "start": 2820, - "end": 2821, + "start": 2597, + "end": 2598, "loc": { "start": { - "line": 112, + "line": 99, "column": 19 }, "end": { - "line": 112, + "line": 99, "column": 20 } } @@ -34475,15 +37533,15 @@ "postfix": false, "binop": null }, - "start": 2822, - "end": 2823, + "start": 2599, + "end": 2600, "loc": { "start": { - "line": 112, + "line": 99, "column": 21 }, "end": { - "line": 112, + "line": 99, "column": 22 } } @@ -34501,15 +37559,15 @@ "binop": null }, "value": "draw", - "start": 2830, - "end": 2834, + "start": 2607, + "end": 2611, "loc": { "start": { - "line": 113, + "line": 100, "column": 6 }, "end": { - "line": 113, + "line": 100, "column": 10 } } @@ -34526,15 +37584,15 @@ "postfix": false, "binop": null }, - "start": 2834, - "end": 2835, + "start": 2611, + "end": 2612, "loc": { "start": { - "line": 113, + "line": 100, "column": 10 }, "end": { - "line": 113, + "line": 100, "column": 11 } } @@ -34551,15 +37609,15 @@ "postfix": false, "binop": null }, - "start": 2835, - "end": 2836, + "start": 2612, + "end": 2613, "loc": { "start": { - "line": 113, + "line": 100, "column": 11 }, "end": { - "line": 113, + "line": 100, "column": 12 } } @@ -34577,15 +37635,15 @@ "binop": null, "updateContext": null }, - "start": 2836, - "end": 2837, + "start": 2613, + "end": 2614, "loc": { "start": { - "line": 113, + "line": 100, "column": 12 }, "end": { - "line": 113, + "line": 100, "column": 13 } } @@ -34605,15 +37663,15 @@ "updateContext": null }, "value": "let", - "start": 2844, - "end": 2847, + "start": 2621, + "end": 2624, "loc": { "start": { - "line": 114, + "line": 101, "column": 6 }, "end": { - "line": 114, + "line": 101, "column": 9 } } @@ -34631,15 +37689,15 @@ "binop": null }, "value": "requestAnimationFrame", - "start": 2848, - "end": 2869, + "start": 2625, + "end": 2646, "loc": { "start": { - "line": 114, + "line": 101, "column": 10 }, "end": { - "line": 114, + "line": 101, "column": 31 } } @@ -34658,15 +37716,15 @@ "updateContext": null }, "value": "=", - "start": 2870, - "end": 2871, + "start": 2647, + "end": 2648, "loc": { "start": { - "line": 114, + "line": 101, "column": 32 }, "end": { - "line": 114, + "line": 101, "column": 33 } } @@ -34684,15 +37742,15 @@ "binop": null }, "value": "window", - "start": 2880, - "end": 2886, + "start": 2657, + "end": 2663, "loc": { "start": { - "line": 115, + "line": 102, "column": 8 }, "end": { - "line": 115, + "line": 102, "column": 14 } } @@ -34710,15 +37768,15 @@ "binop": null, "updateContext": null }, - "start": 2886, - "end": 2887, + "start": 2663, + "end": 2664, "loc": { "start": { - "line": 115, + "line": 102, "column": 14 }, "end": { - "line": 115, + "line": 102, "column": 15 } } @@ -34736,15 +37794,15 @@ "binop": null }, "value": "requestAnimationFrame", - "start": 2887, - "end": 2908, + "start": 2664, + "end": 2685, "loc": { "start": { - "line": 115, + "line": 102, "column": 15 }, "end": { - "line": 115, + "line": 102, "column": 36 } } @@ -34763,15 +37821,15 @@ "updateContext": null }, "value": "||", - "start": 2909, - "end": 2911, + "start": 2686, + "end": 2688, "loc": { "start": { - "line": 115, + "line": 102, "column": 37 }, "end": { - "line": 115, + "line": 102, "column": 39 } } @@ -34789,15 +37847,15 @@ "binop": null }, "value": "window", - "start": 2920, - "end": 2926, + "start": 2697, + "end": 2703, "loc": { "start": { - "line": 116, + "line": 103, "column": 8 }, "end": { - "line": 116, + "line": 103, "column": 14 } } @@ -34815,15 +37873,15 @@ "binop": null, "updateContext": null }, - "start": 2926, - "end": 2927, + "start": 2703, + "end": 2704, "loc": { "start": { - "line": 116, + "line": 103, "column": 14 }, "end": { - "line": 116, + "line": 103, "column": 15 } } @@ -34841,15 +37899,15 @@ "binop": null }, "value": "mozRequestAnimationFrame", - "start": 2927, - "end": 2951, + "start": 2704, + "end": 2728, "loc": { "start": { - "line": 116, + "line": 103, "column": 15 }, "end": { - "line": 116, + "line": 103, "column": 39 } } @@ -34868,15 +37926,15 @@ "updateContext": null }, "value": "||", - "start": 2952, - "end": 2954, + "start": 2729, + "end": 2731, "loc": { "start": { - "line": 116, + "line": 103, "column": 40 }, "end": { - "line": 116, + "line": 103, "column": 42 } } @@ -34894,15 +37952,15 @@ "binop": null }, "value": "window", - "start": 2963, - "end": 2969, + "start": 2740, + "end": 2746, "loc": { "start": { - "line": 117, + "line": 104, "column": 8 }, "end": { - "line": 117, + "line": 104, "column": 14 } } @@ -34920,15 +37978,15 @@ "binop": null, "updateContext": null }, - "start": 2969, - "end": 2970, + "start": 2746, + "end": 2747, "loc": { "start": { - "line": 117, + "line": 104, "column": 14 }, "end": { - "line": 117, + "line": 104, "column": 15 } } @@ -34946,15 +38004,15 @@ "binop": null }, "value": "webkitRequestAnimationFrame", - "start": 2970, - "end": 2997, + "start": 2747, + "end": 2774, "loc": { "start": { - "line": 117, + "line": 104, "column": 15 }, "end": { - "line": 117, + "line": 104, "column": 42 } } @@ -34973,15 +38031,15 @@ "updateContext": null }, "value": "||", - "start": 2998, - "end": 3000, + "start": 2775, + "end": 2777, "loc": { "start": { - "line": 117, + "line": 104, "column": 43 }, "end": { - "line": 117, + "line": 104, "column": 45 } } @@ -34999,15 +38057,15 @@ "binop": null }, "value": "window", - "start": 3009, - "end": 3015, + "start": 2786, + "end": 2792, "loc": { "start": { - "line": 118, + "line": 105, "column": 8 }, "end": { - "line": 118, + "line": 105, "column": 14 } } @@ -35025,15 +38083,15 @@ "binop": null, "updateContext": null }, - "start": 3015, - "end": 3016, + "start": 2792, + "end": 2793, "loc": { "start": { - "line": 118, + "line": 105, "column": 14 }, "end": { - "line": 118, + "line": 105, "column": 15 } } @@ -35051,15 +38109,15 @@ "binop": null }, "value": "msRequestAnimationFrame", - "start": 3016, - "end": 3039, + "start": 2793, + "end": 2816, "loc": { "start": { - "line": 118, + "line": 105, "column": 15 }, "end": { - "line": 118, + "line": 105, "column": 38 } } @@ -35077,15 +38135,15 @@ "binop": null, "updateContext": null }, - "start": 3039, - "end": 3040, + "start": 2816, + "end": 2817, "loc": { "start": { - "line": 118, + "line": 105, "column": 38 }, "end": { - "line": 118, + "line": 105, "column": 39 } } @@ -35103,15 +38161,15 @@ "binop": null }, "value": "requestAnimationFrame", - "start": 3048, - "end": 3069, + "start": 2825, + "end": 2846, "loc": { "start": { - "line": 120, + "line": 107, "column": 6 }, "end": { - "line": 120, + "line": 107, "column": 27 } } @@ -35128,15 +38186,15 @@ "postfix": false, "binop": null }, - "start": 3069, - "end": 3070, + "start": 2846, + "end": 2847, "loc": { "start": { - "line": 120, + "line": 107, "column": 27 }, "end": { - "line": 120, + "line": 107, "column": 28 } } @@ -35154,15 +38212,15 @@ "binop": null }, "value": "tick", - "start": 3070, - "end": 3074, + "start": 2847, + "end": 2851, "loc": { "start": { - "line": 120, + "line": 107, "column": 28 }, "end": { - "line": 120, + "line": 107, "column": 32 } } @@ -35180,15 +38238,15 @@ "binop": null, "updateContext": null }, - "start": 3074, - "end": 3075, + "start": 2851, + "end": 2852, "loc": { "start": { - "line": 120, + "line": 107, "column": 32 }, "end": { - "line": 120, + "line": 107, "column": 33 } } @@ -35205,17 +38263,17 @@ "postfix": false, "binop": null }, - "value": "canvas", - "start": 3076, - "end": 3082, + "value": "currCanvas", + "start": 2853, + "end": 2863, "loc": { "start": { - "line": 120, + "line": 107, "column": 34 }, "end": { - "line": 120, - "column": 40 + "line": 107, + "column": 44 } } }, @@ -35231,16 +38289,16 @@ "postfix": false, "binop": null }, - "start": 3082, - "end": 3083, + "start": 2863, + "end": 2864, "loc": { "start": { - "line": 120, - "column": 40 + "line": 107, + "column": 44 }, "end": { - "line": 120, - "column": 41 + "line": 107, + "column": 45 } } }, @@ -35257,16 +38315,16 @@ "binop": null, "updateContext": null }, - "start": 3083, - "end": 3084, + "start": 2864, + "end": 2865, "loc": { "start": { - "line": 120, - "column": 41 + "line": 107, + "column": 45 }, "end": { - "line": 120, - "column": 42 + "line": 107, + "column": 46 } } }, @@ -35282,15 +38340,15 @@ "postfix": false, "binop": null }, - "start": 3089, - "end": 3090, + "start": 2870, + "end": 2871, "loc": { "start": { - "line": 121, + "line": 108, "column": 4 }, "end": { - "line": 121, + "line": 108, "column": 5 } } @@ -35307,15 +38365,15 @@ "postfix": false, "binop": null }, - "start": 3090, - "end": 3091, + "start": 2871, + "end": 2872, "loc": { "start": { - "line": 121, + "line": 108, "column": 5 }, "end": { - "line": 121, + "line": 108, "column": 6 } } @@ -35332,15 +38390,15 @@ "postfix": false, "binop": null }, - "start": 3091, - "end": 3092, + "start": 2872, + "end": 2873, "loc": { "start": { - "line": 121, + "line": 108, "column": 6 }, "end": { - "line": 121, + "line": 108, "column": 7 } } @@ -35357,15 +38415,15 @@ "postfix": false, "binop": null }, - "start": 3092, - "end": 3093, + "start": 2873, + "end": 2874, "loc": { "start": { - "line": 121, + "line": 108, "column": 7 }, "end": { - "line": 121, + "line": 108, "column": 8 } } @@ -35383,15 +38441,15 @@ "binop": null, "updateContext": null }, - "start": 3093, - "end": 3094, + "start": 2874, + "end": 2875, "loc": { "start": { - "line": 121, + "line": 108, "column": 8 }, "end": { - "line": 121, + "line": 108, "column": 9 } } @@ -35408,15 +38466,15 @@ "postfix": false, "binop": null }, - "start": 3097, - "end": 3098, + "start": 2878, + "end": 2879, "loc": { "start": { - "line": 122, + "line": 109, "column": 2 }, "end": { - "line": 122, + "line": 109, "column": 3 } } @@ -35433,15 +38491,15 @@ "postfix": false, "binop": null }, - "start": 3099, - "end": 3100, + "start": 2880, + "end": 2881, "loc": { "start": { - "line": 123, + "line": 110, "column": 0 }, "end": { - "line": 123, + "line": 110, "column": 1 } } @@ -35460,15 +38518,15 @@ "binop": null }, "value": "function", - "start": 3102, - "end": 3110, + "start": 2883, + "end": 2891, "loc": { "start": { - "line": 125, + "line": 112, "column": 0 }, "end": { - "line": 125, + "line": 112, "column": 8 } } @@ -35486,15 +38544,15 @@ "binop": null }, "value": "draw", - "start": 3111, - "end": 3115, + "start": 2892, + "end": 2896, "loc": { "start": { - "line": 125, + "line": 112, "column": 9 }, "end": { - "line": 125, + "line": 112, "column": 13 } } @@ -35511,15 +38569,15 @@ "postfix": false, "binop": null }, - "start": 3115, - "end": 3116, + "start": 2896, + "end": 2897, "loc": { "start": { - "line": 125, + "line": 112, "column": 13 }, "end": { - "line": 125, + "line": 112, "column": 14 } } @@ -35536,15 +38594,15 @@ "postfix": false, "binop": null }, - "start": 3116, - "end": 3117, + "start": 2897, + "end": 2898, "loc": { "start": { - "line": 125, + "line": 112, "column": 14 }, "end": { - "line": 125, + "line": 112, "column": 15 } } @@ -35561,15 +38619,15 @@ "postfix": false, "binop": null }, - "start": 3118, - "end": 3119, + "start": 2899, + "end": 2900, "loc": { "start": { - "line": 126, + "line": 113, "column": 0 }, "end": { - "line": 126, + "line": 113, "column": 1 } } @@ -35587,15 +38645,15 @@ "binop": null }, "value": "MatrixStack", - "start": 3124, - "end": 3135, + "start": 2905, + "end": 2916, "loc": { "start": { - "line": 127, + "line": 114, "column": 4 }, "end": { - "line": 127, + "line": 114, "column": 15 } } @@ -35613,15 +38671,15 @@ "binop": null, "updateContext": null }, - "start": 3135, - "end": 3136, + "start": 2916, + "end": 2917, "loc": { "start": { - "line": 127, + "line": 114, "column": 15 }, "end": { - "line": 127, + "line": 114, "column": 16 } } @@ -35639,15 +38697,15 @@ "binop": null }, "value": "reset", - "start": 3136, - "end": 3141, + "start": 2917, + "end": 2922, "loc": { "start": { - "line": 127, + "line": 114, "column": 16 }, "end": { - "line": 127, + "line": 114, "column": 21 } } @@ -35664,15 +38722,15 @@ "postfix": false, "binop": null }, - "start": 3141, - "end": 3142, + "start": 2922, + "end": 2923, "loc": { "start": { - "line": 127, + "line": 114, "column": 21 }, "end": { - "line": 127, + "line": 114, "column": 22 } } @@ -35689,15 +38747,15 @@ "postfix": false, "binop": null }, - "start": 3142, - "end": 3143, + "start": 2923, + "end": 2924, "loc": { "start": { - "line": 127, + "line": 114, "column": 22 }, "end": { - "line": 127, + "line": 114, "column": 23 } } @@ -35715,15 +38773,15 @@ "binop": null, "updateContext": null }, - "start": 3143, - "end": 3144, + "start": 2924, + "end": 2925, "loc": { "start": { - "line": 127, + "line": 114, "column": 23 }, "end": { - "line": 127, + "line": 114, "column": 24 } } @@ -35741,15 +38799,15 @@ "binop": null }, "value": "MatrixStack", - "start": 3149, - "end": 3160, + "start": 2930, + "end": 2941, "loc": { "start": { - "line": 128, + "line": 115, "column": 4 }, "end": { - "line": 128, + "line": 115, "column": 15 } } @@ -35767,15 +38825,15 @@ "binop": null, "updateContext": null }, - "start": 3160, - "end": 3161, + "start": 2941, + "end": 2942, "loc": { "start": { - "line": 128, + "line": 115, "column": 15 }, "end": { - "line": 128, + "line": 115, "column": 16 } } @@ -35793,15 +38851,15 @@ "binop": null }, "value": "loadIdentity", - "start": 3161, - "end": 3173, + "start": 2942, + "end": 2954, "loc": { "start": { - "line": 128, + "line": 115, "column": 16 }, "end": { - "line": 128, + "line": 115, "column": 28 } } @@ -35818,15 +38876,15 @@ "postfix": false, "binop": null }, - "start": 3173, - "end": 3174, + "start": 2954, + "end": 2955, "loc": { "start": { - "line": 128, + "line": 115, "column": 28 }, "end": { - "line": 128, + "line": 115, "column": 29 } } @@ -35843,15 +38901,15 @@ "postfix": false, "binop": null }, - "start": 3174, - "end": 3175, + "start": 2955, + "end": 2956, "loc": { "start": { - "line": 128, + "line": 115, "column": 29 }, "end": { - "line": 128, + "line": 115, "column": 30 } } @@ -35869,15 +38927,15 @@ "binop": null, "updateContext": null }, - "start": 3175, - "end": 3176, + "start": 2956, + "end": 2957, "loc": { "start": { - "line": 128, + "line": 115, "column": 30 }, "end": { - "line": 128, + "line": 115, "column": 31 } } @@ -35895,15 +38953,15 @@ "binop": null }, "value": "dragMgr", - "start": 3181, - "end": 3188, + "start": 2962, + "end": 2969, "loc": { "start": { - "line": 129, + "line": 116, "column": 4 }, "end": { - "line": 129, + "line": 116, "column": 11 } } @@ -35921,15 +38979,15 @@ "binop": null, "updateContext": null }, - "start": 3188, - "end": 3189, + "start": 2969, + "end": 2970, "loc": { "start": { - "line": 129, + "line": 116, "column": 11 }, "end": { - "line": 129, + "line": 116, "column": 12 } } @@ -35947,15 +39005,15 @@ "binop": null }, "value": "update", - "start": 3189, - "end": 3195, + "start": 2970, + "end": 2976, "loc": { "start": { - "line": 129, + "line": 116, "column": 12 }, "end": { - "line": 129, + "line": 116, "column": 18 } } @@ -35972,15 +39030,15 @@ "postfix": false, "binop": null }, - "start": 3195, - "end": 3196, + "start": 2976, + "end": 2977, "loc": { "start": { - "line": 129, + "line": 116, "column": 18 }, "end": { - "line": 129, + "line": 116, "column": 19 } } @@ -35997,15 +39055,15 @@ "postfix": false, "binop": null }, - "start": 3196, - "end": 3197, + "start": 2977, + "end": 2978, "loc": { "start": { - "line": 129, + "line": 116, "column": 19 }, "end": { - "line": 129, + "line": 116, "column": 20 } } @@ -36023,15 +39081,15 @@ "binop": null, "updateContext": null }, - "start": 3197, - "end": 3198, + "start": 2978, + "end": 2979, "loc": { "start": { - "line": 129, + "line": 116, "column": 20 }, "end": { - "line": 129, + "line": 116, "column": 21 } } @@ -36049,15 +39107,15 @@ "binop": null }, "value": "live2DMgr", - "start": 3203, - "end": 3212, + "start": 2984, + "end": 2993, "loc": { "start": { - "line": 130, + "line": 117, "column": 4 }, "end": { - "line": 130, + "line": 117, "column": 13 } } @@ -36075,15 +39133,15 @@ "binop": null, "updateContext": null }, - "start": 3212, - "end": 3213, + "start": 2993, + "end": 2994, "loc": { "start": { - "line": 130, + "line": 117, "column": 13 }, "end": { - "line": 130, + "line": 117, "column": 14 } } @@ -36101,15 +39159,15 @@ "binop": null }, "value": "setDrag", - "start": 3213, - "end": 3220, + "start": 2994, + "end": 3001, "loc": { "start": { - "line": 130, + "line": 117, "column": 14 }, "end": { - "line": 130, + "line": 117, "column": 21 } } @@ -36126,15 +39184,15 @@ "postfix": false, "binop": null }, - "start": 3220, - "end": 3221, + "start": 3001, + "end": 3002, "loc": { "start": { - "line": 130, + "line": 117, "column": 21 }, "end": { - "line": 130, + "line": 117, "column": 22 } } @@ -36152,15 +39210,15 @@ "binop": null }, "value": "dragMgr", - "start": 3221, - "end": 3228, + "start": 3002, + "end": 3009, "loc": { "start": { - "line": 130, + "line": 117, "column": 22 }, "end": { - "line": 130, + "line": 117, "column": 29 } } @@ -36178,15 +39236,15 @@ "binop": null, "updateContext": null }, - "start": 3228, - "end": 3229, + "start": 3009, + "end": 3010, "loc": { "start": { - "line": 130, + "line": 117, "column": 29 }, "end": { - "line": 130, + "line": 117, "column": 30 } } @@ -36204,15 +39262,15 @@ "binop": null }, "value": "getX", - "start": 3229, - "end": 3233, + "start": 3010, + "end": 3014, "loc": { "start": { - "line": 130, + "line": 117, "column": 30 }, "end": { - "line": 130, + "line": 117, "column": 34 } } @@ -36229,15 +39287,15 @@ "postfix": false, "binop": null }, - "start": 3233, - "end": 3234, + "start": 3014, + "end": 3015, "loc": { "start": { - "line": 130, + "line": 117, "column": 34 }, "end": { - "line": 130, + "line": 117, "column": 35 } } @@ -36254,15 +39312,15 @@ "postfix": false, "binop": null }, - "start": 3234, - "end": 3235, + "start": 3015, + "end": 3016, "loc": { "start": { - "line": 130, + "line": 117, "column": 35 }, "end": { - "line": 130, + "line": 117, "column": 36 } } @@ -36280,15 +39338,15 @@ "binop": null, "updateContext": null }, - "start": 3235, - "end": 3236, + "start": 3016, + "end": 3017, "loc": { "start": { - "line": 130, + "line": 117, "column": 36 }, "end": { - "line": 130, + "line": 117, "column": 37 } } @@ -36306,15 +39364,15 @@ "binop": null }, "value": "dragMgr", - "start": 3237, - "end": 3244, + "start": 3018, + "end": 3025, "loc": { "start": { - "line": 130, + "line": 117, "column": 38 }, "end": { - "line": 130, + "line": 117, "column": 45 } } @@ -36332,15 +39390,15 @@ "binop": null, "updateContext": null }, - "start": 3244, - "end": 3245, + "start": 3025, + "end": 3026, "loc": { "start": { - "line": 130, + "line": 117, "column": 45 }, "end": { - "line": 130, + "line": 117, "column": 46 } } @@ -36358,15 +39416,15 @@ "binop": null }, "value": "getY", - "start": 3245, - "end": 3249, + "start": 3026, + "end": 3030, "loc": { "start": { - "line": 130, + "line": 117, "column": 46 }, "end": { - "line": 130, + "line": 117, "column": 50 } } @@ -36383,15 +39441,15 @@ "postfix": false, "binop": null }, - "start": 3249, - "end": 3250, + "start": 3030, + "end": 3031, "loc": { "start": { - "line": 130, + "line": 117, "column": 50 }, "end": { - "line": 130, + "line": 117, "column": 51 } } @@ -36408,15 +39466,15 @@ "postfix": false, "binop": null }, - "start": 3250, - "end": 3251, + "start": 3031, + "end": 3032, "loc": { "start": { - "line": 130, + "line": 117, "column": 51 }, "end": { - "line": 130, + "line": 117, "column": 52 } } @@ -36433,15 +39491,15 @@ "postfix": false, "binop": null }, - "start": 3251, - "end": 3252, + "start": 3032, + "end": 3033, "loc": { "start": { - "line": 130, + "line": 117, "column": 52 }, "end": { - "line": 130, + "line": 117, "column": 53 } } @@ -36459,15 +39517,15 @@ "binop": null, "updateContext": null }, - "start": 3252, - "end": 3253, + "start": 3033, + "end": 3034, "loc": { "start": { - "line": 130, + "line": 117, "column": 53 }, "end": { - "line": 130, + "line": 117, "column": 54 } } @@ -36485,15 +39543,15 @@ "binop": null }, "value": "currWebGL", - "start": 3259, - "end": 3268, + "start": 3040, + "end": 3049, "loc": { "start": { - "line": 132, + "line": 119, "column": 4 }, "end": { - "line": 132, + "line": 119, "column": 13 } } @@ -36511,15 +39569,15 @@ "binop": null, "updateContext": null }, - "start": 3268, - "end": 3269, + "start": 3049, + "end": 3050, "loc": { "start": { - "line": 132, + "line": 119, "column": 13 }, "end": { - "line": 132, + "line": 119, "column": 14 } } @@ -36537,15 +39595,15 @@ "binop": null }, "value": "clear", - "start": 3269, - "end": 3274, + "start": 3050, + "end": 3055, "loc": { "start": { - "line": 132, + "line": 119, "column": 14 }, "end": { - "line": 132, + "line": 119, "column": 19 } } @@ -36562,15 +39620,15 @@ "postfix": false, "binop": null }, - "start": 3274, - "end": 3275, + "start": 3055, + "end": 3056, "loc": { "start": { - "line": 132, + "line": 119, "column": 19 }, "end": { - "line": 132, + "line": 119, "column": 20 } } @@ -36588,15 +39646,15 @@ "binop": null }, "value": "currWebGL", - "start": 3275, - "end": 3284, + "start": 3056, + "end": 3065, "loc": { "start": { - "line": 132, + "line": 119, "column": 20 }, "end": { - "line": 132, + "line": 119, "column": 29 } } @@ -36614,15 +39672,15 @@ "binop": null, "updateContext": null }, - "start": 3284, - "end": 3285, + "start": 3065, + "end": 3066, "loc": { "start": { - "line": 132, + "line": 119, "column": 29 }, "end": { - "line": 132, + "line": 119, "column": 30 } } @@ -36640,15 +39698,15 @@ "binop": null }, "value": "COLOR_BUFFER_BIT", - "start": 3285, - "end": 3301, + "start": 3066, + "end": 3082, "loc": { "start": { - "line": 132, + "line": 119, "column": 30 }, "end": { - "line": 132, + "line": 119, "column": 46 } } @@ -36665,15 +39723,15 @@ "postfix": false, "binop": null }, - "start": 3301, - "end": 3302, + "start": 3082, + "end": 3083, "loc": { "start": { - "line": 132, + "line": 119, "column": 46 }, "end": { - "line": 132, + "line": 119, "column": 47 } } @@ -36691,15 +39749,15 @@ "binop": null, "updateContext": null }, - "start": 3302, - "end": 3303, + "start": 3083, + "end": 3084, "loc": { "start": { - "line": 132, + "line": 119, "column": 47 }, "end": { - "line": 132, + "line": 119, "column": 48 } } @@ -36717,15 +39775,15 @@ "binop": null }, "value": "MatrixStack", - "start": 3309, - "end": 3320, + "start": 3090, + "end": 3101, "loc": { "start": { - "line": 134, + "line": 121, "column": 4 }, "end": { - "line": 134, + "line": 121, "column": 15 } } @@ -36743,15 +39801,15 @@ "binop": null, "updateContext": null }, - "start": 3320, - "end": 3321, + "start": 3101, + "end": 3102, "loc": { "start": { - "line": 134, + "line": 121, "column": 15 }, "end": { - "line": 134, + "line": 121, "column": 16 } } @@ -36769,15 +39827,15 @@ "binop": null }, "value": "multMatrix", - "start": 3321, - "end": 3331, + "start": 3102, + "end": 3112, "loc": { "start": { - "line": 134, + "line": 121, "column": 16 }, "end": { - "line": 134, + "line": 121, "column": 26 } } @@ -36794,15 +39852,15 @@ "postfix": false, "binop": null }, - "start": 3331, - "end": 3332, + "start": 3112, + "end": 3113, "loc": { "start": { - "line": 134, + "line": 121, "column": 26 }, "end": { - "line": 134, + "line": 121, "column": 27 } } @@ -36820,15 +39878,15 @@ "binop": null }, "value": "projMatrix", - "start": 3332, - "end": 3342, + "start": 3113, + "end": 3123, "loc": { "start": { - "line": 134, + "line": 121, "column": 27 }, "end": { - "line": 134, + "line": 121, "column": 37 } } @@ -36846,15 +39904,15 @@ "binop": null, "updateContext": null }, - "start": 3342, - "end": 3343, + "start": 3123, + "end": 3124, "loc": { "start": { - "line": 134, + "line": 121, "column": 37 }, "end": { - "line": 134, + "line": 121, "column": 38 } } @@ -36872,15 +39930,15 @@ "binop": null }, "value": "getArray", - "start": 3343, - "end": 3351, + "start": 3124, + "end": 3132, "loc": { "start": { - "line": 134, + "line": 121, "column": 38 }, "end": { - "line": 134, + "line": 121, "column": 46 } } @@ -36897,15 +39955,15 @@ "postfix": false, "binop": null }, - "start": 3351, - "end": 3352, + "start": 3132, + "end": 3133, "loc": { "start": { - "line": 134, + "line": 121, "column": 46 }, "end": { - "line": 134, + "line": 121, "column": 47 } } @@ -36922,15 +39980,15 @@ "postfix": false, "binop": null }, - "start": 3352, - "end": 3353, + "start": 3133, + "end": 3134, "loc": { "start": { - "line": 134, + "line": 121, "column": 47 }, "end": { - "line": 134, + "line": 121, "column": 48 } } @@ -36947,15 +40005,15 @@ "postfix": false, "binop": null }, - "start": 3353, - "end": 3354, + "start": 3134, + "end": 3135, "loc": { "start": { - "line": 134, + "line": 121, "column": 48 }, "end": { - "line": 134, + "line": 121, "column": 49 } } @@ -36973,15 +40031,15 @@ "binop": null, "updateContext": null }, - "start": 3354, - "end": 3355, + "start": 3135, + "end": 3136, "loc": { "start": { - "line": 134, + "line": 121, "column": 49 }, "end": { - "line": 134, + "line": 121, "column": 50 } } @@ -36999,15 +40057,15 @@ "binop": null }, "value": "MatrixStack", - "start": 3360, - "end": 3371, + "start": 3141, + "end": 3152, "loc": { "start": { - "line": 135, + "line": 122, "column": 4 }, "end": { - "line": 135, + "line": 122, "column": 15 } } @@ -37025,15 +40083,15 @@ "binop": null, "updateContext": null }, - "start": 3371, - "end": 3372, + "start": 3152, + "end": 3153, "loc": { "start": { - "line": 135, + "line": 122, "column": 15 }, "end": { - "line": 135, + "line": 122, "column": 16 } } @@ -37051,15 +40109,15 @@ "binop": null }, "value": "multMatrix", - "start": 3372, - "end": 3382, + "start": 3153, + "end": 3163, "loc": { "start": { - "line": 135, + "line": 122, "column": 16 }, "end": { - "line": 135, + "line": 122, "column": 26 } } @@ -37076,15 +40134,15 @@ "postfix": false, "binop": null }, - "start": 3382, - "end": 3383, + "start": 3163, + "end": 3164, "loc": { "start": { - "line": 135, + "line": 122, "column": 26 }, "end": { - "line": 135, + "line": 122, "column": 27 } } @@ -37102,15 +40160,15 @@ "binop": null }, "value": "viewMatrix", - "start": 3383, - "end": 3393, + "start": 3164, + "end": 3174, "loc": { "start": { - "line": 135, + "line": 122, "column": 27 }, "end": { - "line": 135, + "line": 122, "column": 37 } } @@ -37128,15 +40186,15 @@ "binop": null, "updateContext": null }, - "start": 3393, - "end": 3394, + "start": 3174, + "end": 3175, "loc": { "start": { - "line": 135, + "line": 122, "column": 37 }, "end": { - "line": 135, + "line": 122, "column": 38 } } @@ -37154,15 +40212,15 @@ "binop": null }, "value": "getArray", - "start": 3394, - "end": 3402, + "start": 3175, + "end": 3183, "loc": { "start": { - "line": 135, + "line": 122, "column": 38 }, "end": { - "line": 135, + "line": 122, "column": 46 } } @@ -37179,15 +40237,15 @@ "postfix": false, "binop": null }, - "start": 3402, - "end": 3403, + "start": 3183, + "end": 3184, "loc": { "start": { - "line": 135, + "line": 122, "column": 46 }, "end": { - "line": 135, + "line": 122, "column": 47 } } @@ -37204,15 +40262,15 @@ "postfix": false, "binop": null }, - "start": 3403, - "end": 3404, + "start": 3184, + "end": 3185, "loc": { "start": { - "line": 135, + "line": 122, "column": 47 }, "end": { - "line": 135, + "line": 122, "column": 48 } } @@ -37229,15 +40287,15 @@ "postfix": false, "binop": null }, - "start": 3404, - "end": 3405, + "start": 3185, + "end": 3186, "loc": { "start": { - "line": 135, + "line": 122, "column": 48 }, "end": { - "line": 135, + "line": 122, "column": 49 } } @@ -37255,15 +40313,15 @@ "binop": null, "updateContext": null }, - "start": 3405, - "end": 3406, + "start": 3186, + "end": 3187, "loc": { "start": { - "line": 135, + "line": 122, "column": 49 }, "end": { - "line": 135, + "line": 122, "column": 50 } } @@ -37281,15 +40339,15 @@ "binop": null }, "value": "MatrixStack", - "start": 3411, - "end": 3422, + "start": 3192, + "end": 3203, "loc": { "start": { - "line": 136, + "line": 123, "column": 4 }, "end": { - "line": 136, + "line": 123, "column": 15 } } @@ -37307,15 +40365,15 @@ "binop": null, "updateContext": null }, - "start": 3422, - "end": 3423, + "start": 3203, + "end": 3204, "loc": { "start": { - "line": 136, + "line": 123, "column": 15 }, "end": { - "line": 136, + "line": 123, "column": 16 } } @@ -37333,15 +40391,15 @@ "binop": null }, "value": "push", - "start": 3423, - "end": 3427, + "start": 3204, + "end": 3208, "loc": { "start": { - "line": 136, + "line": 123, "column": 16 }, "end": { - "line": 136, + "line": 123, "column": 20 } } @@ -37358,15 +40416,15 @@ "postfix": false, "binop": null }, - "start": 3427, - "end": 3428, + "start": 3208, + "end": 3209, "loc": { "start": { - "line": 136, + "line": 123, "column": 20 }, "end": { - "line": 136, + "line": 123, "column": 21 } } @@ -37383,15 +40441,15 @@ "postfix": false, "binop": null }, - "start": 3428, - "end": 3429, + "start": 3209, + "end": 3210, "loc": { "start": { - "line": 136, + "line": 123, "column": 21 }, "end": { - "line": 136, + "line": 123, "column": 22 } } @@ -37409,15 +40467,15 @@ "binop": null, "updateContext": null }, - "start": 3429, - "end": 3430, + "start": 3210, + "end": 3211, "loc": { "start": { - "line": 136, + "line": 123, "column": 22 }, "end": { - "line": 136, + "line": 123, "column": 23 } } @@ -37437,15 +40495,15 @@ "updateContext": null }, "value": "for", - "start": 3436, - "end": 3439, + "start": 3217, + "end": 3220, "loc": { "start": { - "line": 138, + "line": 125, "column": 4 }, "end": { - "line": 138, + "line": 125, "column": 7 } } @@ -37462,15 +40520,15 @@ "postfix": false, "binop": null }, - "start": 3440, - "end": 3441, + "start": 3221, + "end": 3222, "loc": { "start": { - "line": 138, + "line": 125, "column": 8 }, "end": { - "line": 138, + "line": 125, "column": 9 } } @@ -37490,15 +40548,15 @@ "updateContext": null }, "value": "let", - "start": 3441, - "end": 3444, + "start": 3222, + "end": 3225, "loc": { "start": { - "line": 138, + "line": 125, "column": 9 }, "end": { - "line": 138, + "line": 125, "column": 12 } } @@ -37516,15 +40574,15 @@ "binop": null }, "value": "i", - "start": 3445, - "end": 3446, + "start": 3226, + "end": 3227, "loc": { "start": { - "line": 138, + "line": 125, "column": 13 }, "end": { - "line": 138, + "line": 125, "column": 14 } } @@ -37543,15 +40601,15 @@ "updateContext": null }, "value": "=", - "start": 3447, - "end": 3448, + "start": 3228, + "end": 3229, "loc": { "start": { - "line": 138, + "line": 125, "column": 15 }, "end": { - "line": 138, + "line": 125, "column": 16 } } @@ -37570,15 +40628,15 @@ "updateContext": null }, "value": 0, - "start": 3449, - "end": 3450, + "start": 3230, + "end": 3231, "loc": { "start": { - "line": 138, + "line": 125, "column": 17 }, "end": { - "line": 138, + "line": 125, "column": 18 } } @@ -37596,15 +40654,15 @@ "binop": null, "updateContext": null }, - "start": 3450, - "end": 3451, + "start": 3231, + "end": 3232, "loc": { "start": { - "line": 138, + "line": 125, "column": 18 }, "end": { - "line": 138, + "line": 125, "column": 19 } } @@ -37622,15 +40680,15 @@ "binop": null }, "value": "i", - "start": 3452, - "end": 3453, + "start": 3233, + "end": 3234, "loc": { "start": { - "line": 138, + "line": 125, "column": 20 }, "end": { - "line": 138, + "line": 125, "column": 21 } } @@ -37649,15 +40707,15 @@ "updateContext": null }, "value": "<", - "start": 3454, - "end": 3455, + "start": 3235, + "end": 3236, "loc": { "start": { - "line": 138, + "line": 125, "column": 22 }, "end": { - "line": 138, + "line": 125, "column": 23 } } @@ -37675,15 +40733,15 @@ "binop": null }, "value": "live2DMgr", - "start": 3456, - "end": 3465, + "start": 3237, + "end": 3246, "loc": { "start": { - "line": 138, + "line": 125, "column": 24 }, "end": { - "line": 138, + "line": 125, "column": 33 } } @@ -37701,15 +40759,15 @@ "binop": null, "updateContext": null }, - "start": 3465, - "end": 3466, + "start": 3246, + "end": 3247, "loc": { "start": { - "line": 138, + "line": 125, "column": 33 }, "end": { - "line": 138, + "line": 125, "column": 34 } } @@ -37727,15 +40785,15 @@ "binop": null }, "value": "numModels", - "start": 3466, - "end": 3475, + "start": 3247, + "end": 3256, "loc": { "start": { - "line": 138, + "line": 125, "column": 34 }, "end": { - "line": 138, + "line": 125, "column": 43 } } @@ -37752,15 +40810,15 @@ "postfix": false, "binop": null }, - "start": 3475, - "end": 3476, + "start": 3256, + "end": 3257, "loc": { "start": { - "line": 138, + "line": 125, "column": 43 }, "end": { - "line": 138, + "line": 125, "column": 44 } } @@ -37777,15 +40835,15 @@ "postfix": false, "binop": null }, - "start": 3476, - "end": 3477, + "start": 3257, + "end": 3258, "loc": { "start": { - "line": 138, + "line": 125, "column": 44 }, "end": { - "line": 138, + "line": 125, "column": 45 } } @@ -37803,15 +40861,15 @@ "binop": null, "updateContext": null }, - "start": 3477, - "end": 3478, + "start": 3258, + "end": 3259, "loc": { "start": { - "line": 138, + "line": 125, "column": 45 }, "end": { - "line": 138, + "line": 125, "column": 46 } } @@ -37829,15 +40887,15 @@ "binop": null }, "value": "i", - "start": 3479, - "end": 3480, + "start": 3260, + "end": 3261, "loc": { "start": { - "line": 138, + "line": 125, "column": 47 }, "end": { - "line": 138, + "line": 125, "column": 48 } } @@ -37855,15 +40913,15 @@ "binop": null }, "value": "++", - "start": 3480, - "end": 3482, + "start": 3261, + "end": 3263, "loc": { "start": { - "line": 138, + "line": 125, "column": 48 }, "end": { - "line": 138, + "line": 125, "column": 50 } } @@ -37880,15 +40938,15 @@ "postfix": false, "binop": null }, - "start": 3482, - "end": 3483, + "start": 3263, + "end": 3264, "loc": { "start": { - "line": 138, + "line": 125, "column": 50 }, "end": { - "line": 138, + "line": 125, "column": 51 } } @@ -37905,15 +40963,15 @@ "postfix": false, "binop": null }, - "start": 3488, - "end": 3489, + "start": 3269, + "end": 3270, "loc": { "start": { - "line": 139, + "line": 126, "column": 4 }, "end": { - "line": 139, + "line": 126, "column": 5 } } @@ -37933,15 +40991,15 @@ "updateContext": null }, "value": "let", - "start": 3498, - "end": 3501, + "start": 3279, + "end": 3282, "loc": { "start": { - "line": 140, + "line": 127, "column": 8 }, "end": { - "line": 140, + "line": 127, "column": 11 } } @@ -37959,15 +41017,15 @@ "binop": null }, "value": "model", - "start": 3502, - "end": 3507, + "start": 3283, + "end": 3288, "loc": { "start": { - "line": 140, + "line": 127, "column": 12 }, "end": { - "line": 140, + "line": 127, "column": 17 } } @@ -37986,15 +41044,15 @@ "updateContext": null }, "value": "=", - "start": 3508, - "end": 3509, + "start": 3289, + "end": 3290, "loc": { "start": { - "line": 140, + "line": 127, "column": 18 }, "end": { - "line": 140, + "line": 127, "column": 19 } } @@ -38012,15 +41070,15 @@ "binop": null }, "value": "live2DMgr", - "start": 3510, - "end": 3519, + "start": 3291, + "end": 3300, "loc": { "start": { - "line": 140, + "line": 127, "column": 20 }, "end": { - "line": 140, + "line": 127, "column": 29 } } @@ -38038,15 +41096,15 @@ "binop": null, "updateContext": null }, - "start": 3519, - "end": 3520, + "start": 3300, + "end": 3301, "loc": { "start": { - "line": 140, + "line": 127, "column": 29 }, "end": { - "line": 140, + "line": 127, "column": 30 } } @@ -38064,15 +41122,15 @@ "binop": null }, "value": "getModel", - "start": 3520, - "end": 3528, + "start": 3301, + "end": 3309, "loc": { "start": { - "line": 140, + "line": 127, "column": 30 }, "end": { - "line": 140, + "line": 127, "column": 38 } } @@ -38089,15 +41147,15 @@ "postfix": false, "binop": null }, - "start": 3528, - "end": 3529, + "start": 3309, + "end": 3310, "loc": { "start": { - "line": 140, + "line": 127, "column": 38 }, "end": { - "line": 140, + "line": 127, "column": 39 } } @@ -38115,15 +41173,15 @@ "binop": null }, "value": "i", - "start": 3529, - "end": 3530, + "start": 3310, + "end": 3311, "loc": { "start": { - "line": 140, + "line": 127, "column": 39 }, "end": { - "line": 140, + "line": 127, "column": 40 } } @@ -38140,15 +41198,15 @@ "postfix": false, "binop": null }, - "start": 3530, - "end": 3531, + "start": 3311, + "end": 3312, "loc": { "start": { - "line": 140, + "line": 127, "column": 40 }, "end": { - "line": 140, + "line": 127, "column": 41 } } @@ -38166,15 +41224,15 @@ "binop": null, "updateContext": null }, - "start": 3531, - "end": 3532, + "start": 3312, + "end": 3313, "loc": { "start": { - "line": 140, + "line": 127, "column": 41 }, "end": { - "line": 140, + "line": 127, "column": 42 } } @@ -38194,15 +41252,15 @@ "updateContext": null }, "value": "if", - "start": 3542, - "end": 3544, + "start": 3323, + "end": 3325, "loc": { "start": { - "line": 142, + "line": 129, "column": 8 }, "end": { - "line": 142, + "line": 129, "column": 10 } } @@ -38219,15 +41277,15 @@ "postfix": false, "binop": null }, - "start": 3544, - "end": 3545, + "start": 3325, + "end": 3326, "loc": { "start": { - "line": 142, + "line": 129, "column": 10 }, "end": { - "line": 142, + "line": 129, "column": 11 } } @@ -38245,15 +41303,15 @@ "binop": null }, "value": "model", - "start": 3545, - "end": 3550, + "start": 3326, + "end": 3331, "loc": { "start": { - "line": 142, + "line": 129, "column": 11 }, "end": { - "line": 142, + "line": 129, "column": 16 } } @@ -38272,15 +41330,15 @@ "updateContext": null }, "value": "==", - "start": 3551, - "end": 3553, + "start": 3332, + "end": 3334, "loc": { "start": { - "line": 142, + "line": 129, "column": 17 }, "end": { - "line": 142, + "line": 129, "column": 19 } } @@ -38300,15 +41358,15 @@ "updateContext": null }, "value": "null", - "start": 3554, - "end": 3558, + "start": 3335, + "end": 3339, "loc": { "start": { - "line": 142, + "line": 129, "column": 20 }, "end": { - "line": 142, + "line": 129, "column": 24 } } @@ -38325,15 +41383,15 @@ "postfix": false, "binop": null }, - "start": 3558, - "end": 3559, + "start": 3339, + "end": 3340, "loc": { "start": { - "line": 142, + "line": 129, "column": 24 }, "end": { - "line": 142, + "line": 129, "column": 25 } } @@ -38353,15 +41411,15 @@ "updateContext": null }, "value": "return", - "start": 3560, - "end": 3566, + "start": 3341, + "end": 3347, "loc": { "start": { - "line": 142, + "line": 129, "column": 26 }, "end": { - "line": 142, + "line": 129, "column": 32 } } @@ -38379,15 +41437,15 @@ "binop": null, "updateContext": null }, - "start": 3566, - "end": 3567, + "start": 3347, + "end": 3348, "loc": { "start": { - "line": 142, + "line": 129, "column": 32 }, "end": { - "line": 142, + "line": 129, "column": 33 } } @@ -38407,15 +41465,15 @@ "updateContext": null }, "value": "if", - "start": 3577, - "end": 3579, + "start": 3358, + "end": 3360, "loc": { "start": { - "line": 144, + "line": 131, "column": 8 }, "end": { - "line": 144, + "line": 131, "column": 10 } } @@ -38432,15 +41490,15 @@ "postfix": false, "binop": null }, - "start": 3580, - "end": 3581, + "start": 3361, + "end": 3362, "loc": { "start": { - "line": 144, + "line": 131, "column": 11 }, "end": { - "line": 144, + "line": 131, "column": 12 } } @@ -38458,15 +41516,15 @@ "binop": null }, "value": "model", - "start": 3581, - "end": 3586, + "start": 3362, + "end": 3367, "loc": { "start": { - "line": 144, + "line": 131, "column": 12 }, "end": { - "line": 144, + "line": 131, "column": 17 } } @@ -38484,15 +41542,15 @@ "binop": null, "updateContext": null }, - "start": 3586, - "end": 3587, + "start": 3367, + "end": 3368, "loc": { "start": { - "line": 144, + "line": 131, "column": 17 }, "end": { - "line": 144, + "line": 131, "column": 18 } } @@ -38510,15 +41568,15 @@ "binop": null }, "value": "initialized", - "start": 3587, - "end": 3598, + "start": 3368, + "end": 3379, "loc": { "start": { - "line": 144, + "line": 131, "column": 18 }, "end": { - "line": 144, + "line": 131, "column": 29 } } @@ -38537,15 +41595,15 @@ "updateContext": null }, "value": "&&", - "start": 3599, - "end": 3601, + "start": 3380, + "end": 3382, "loc": { "start": { - "line": 144, + "line": 131, "column": 30 }, "end": { - "line": 144, + "line": 131, "column": 32 } } @@ -38564,15 +41622,15 @@ "updateContext": null }, "value": "!", - "start": 3602, - "end": 3603, + "start": 3383, + "end": 3384, "loc": { "start": { - "line": 144, + "line": 131, "column": 33 }, "end": { - "line": 144, + "line": 131, "column": 34 } } @@ -38590,15 +41648,15 @@ "binop": null }, "value": "model", - "start": 3603, - "end": 3608, + "start": 3384, + "end": 3389, "loc": { "start": { - "line": 144, + "line": 131, "column": 34 }, "end": { - "line": 144, + "line": 131, "column": 39 } } @@ -38616,15 +41674,15 @@ "binop": null, "updateContext": null }, - "start": 3608, - "end": 3609, + "start": 3389, + "end": 3390, "loc": { "start": { - "line": 144, + "line": 131, "column": 39 }, "end": { - "line": 144, + "line": 131, "column": 40 } } @@ -38642,15 +41700,15 @@ "binop": null }, "value": "updating", - "start": 3609, - "end": 3617, + "start": 3390, + "end": 3398, "loc": { "start": { - "line": 144, + "line": 131, "column": 40 }, "end": { - "line": 144, + "line": 131, "column": 48 } } @@ -38667,15 +41725,15 @@ "postfix": false, "binop": null }, - "start": 3617, - "end": 3618, + "start": 3398, + "end": 3399, "loc": { "start": { - "line": 144, + "line": 131, "column": 48 }, "end": { - "line": 144, + "line": 131, "column": 49 } } @@ -38692,15 +41750,15 @@ "postfix": false, "binop": null }, - "start": 3627, - "end": 3628, + "start": 3408, + "end": 3409, "loc": { "start": { - "line": 145, + "line": 132, "column": 8 }, "end": { - "line": 145, + "line": 132, "column": 9 } } @@ -38718,15 +41776,15 @@ "binop": null }, "value": "model", - "start": 3641, - "end": 3646, + "start": 3422, + "end": 3427, "loc": { "start": { - "line": 146, + "line": 133, "column": 12 }, "end": { - "line": 146, + "line": 133, "column": 17 } } @@ -38744,15 +41802,15 @@ "binop": null, "updateContext": null }, - "start": 3646, - "end": 3647, + "start": 3427, + "end": 3428, "loc": { "start": { - "line": 146, + "line": 133, "column": 17 }, "end": { - "line": 146, + "line": 133, "column": 18 } } @@ -38770,15 +41828,15 @@ "binop": null }, "value": "update", - "start": 3647, - "end": 3653, + "start": 3428, + "end": 3434, "loc": { "start": { - "line": 146, + "line": 133, "column": 18 }, "end": { - "line": 146, + "line": 133, "column": 24 } } @@ -38795,15 +41853,15 @@ "postfix": false, "binop": null }, - "start": 3653, - "end": 3654, + "start": 3434, + "end": 3435, "loc": { "start": { - "line": 146, + "line": 133, "column": 24 }, "end": { - "line": 146, + "line": 133, "column": 25 } } @@ -38820,15 +41878,15 @@ "postfix": false, "binop": null }, - "start": 3654, - "end": 3655, + "start": 3435, + "end": 3436, "loc": { "start": { - "line": 146, + "line": 133, "column": 25 }, "end": { - "line": 146, + "line": 133, "column": 26 } } @@ -38846,15 +41904,15 @@ "binop": null, "updateContext": null }, - "start": 3655, - "end": 3656, + "start": 3436, + "end": 3437, "loc": { "start": { - "line": 146, + "line": 133, "column": 26 }, "end": { - "line": 146, + "line": 133, "column": 27 } } @@ -38872,15 +41930,15 @@ "binop": null }, "value": "model", - "start": 3669, - "end": 3674, + "start": 3450, + "end": 3455, "loc": { "start": { - "line": 147, + "line": 134, "column": 12 }, "end": { - "line": 147, + "line": 134, "column": 17 } } @@ -38898,15 +41956,15 @@ "binop": null, "updateContext": null }, - "start": 3674, - "end": 3675, + "start": 3455, + "end": 3456, "loc": { "start": { - "line": 147, + "line": 134, "column": 17 }, "end": { - "line": 147, + "line": 134, "column": 18 } } @@ -38924,15 +41982,15 @@ "binop": null }, "value": "draw", - "start": 3675, - "end": 3679, + "start": 3456, + "end": 3460, "loc": { "start": { - "line": 147, + "line": 134, "column": 18 }, "end": { - "line": 147, + "line": 134, "column": 22 } } @@ -38949,15 +42007,15 @@ "postfix": false, "binop": null }, - "start": 3679, - "end": 3680, + "start": 3460, + "end": 3461, "loc": { "start": { - "line": 147, + "line": 134, "column": 22 }, "end": { - "line": 147, + "line": 134, "column": 23 } } @@ -38975,15 +42033,15 @@ "binop": null }, "value": "currWebGL", - "start": 3680, - "end": 3689, + "start": 3461, + "end": 3470, "loc": { "start": { - "line": 147, + "line": 134, "column": 23 }, "end": { - "line": 147, + "line": 134, "column": 32 } } @@ -39000,15 +42058,15 @@ "postfix": false, "binop": null }, - "start": 3689, - "end": 3690, + "start": 3470, + "end": 3471, "loc": { "start": { - "line": 147, + "line": 134, "column": 32 }, "end": { - "line": 147, + "line": 134, "column": 33 } } @@ -39026,15 +42084,15 @@ "binop": null, "updateContext": null }, - "start": 3690, - "end": 3691, + "start": 3471, + "end": 3472, "loc": { "start": { - "line": 147, + "line": 134, "column": 33 }, "end": { - "line": 147, + "line": 134, "column": 34 } } @@ -39051,15 +42109,15 @@ "postfix": false, "binop": null }, - "start": 3700, - "end": 3701, + "start": 3481, + "end": 3482, "loc": { "start": { - "line": 148, + "line": 135, "column": 8 }, "end": { - "line": 148, + "line": 135, "column": 9 } } @@ -39076,15 +42134,15 @@ "postfix": false, "binop": null }, - "start": 3706, - "end": 3707, + "start": 3487, + "end": 3488, "loc": { "start": { - "line": 149, + "line": 136, "column": 4 }, "end": { - "line": 149, + "line": 136, "column": 5 } } @@ -39102,15 +42160,15 @@ "binop": null }, "value": "MatrixStack", - "start": 3712, - "end": 3723, + "start": 3493, + "end": 3504, "loc": { "start": { - "line": 150, + "line": 137, "column": 4 }, "end": { - "line": 150, + "line": 137, "column": 15 } } @@ -39128,15 +42186,15 @@ "binop": null, "updateContext": null }, - "start": 3723, - "end": 3724, + "start": 3504, + "end": 3505, "loc": { "start": { - "line": 150, + "line": 137, "column": 15 }, "end": { - "line": 150, + "line": 137, "column": 16 } } @@ -39154,15 +42212,15 @@ "binop": null }, "value": "pop", - "start": 3724, - "end": 3727, + "start": 3505, + "end": 3508, "loc": { "start": { - "line": 150, + "line": 137, "column": 16 }, "end": { - "line": 150, + "line": 137, "column": 19 } } @@ -39179,15 +42237,15 @@ "postfix": false, "binop": null }, - "start": 3727, - "end": 3728, + "start": 3508, + "end": 3509, "loc": { "start": { - "line": 150, + "line": 137, "column": 19 }, "end": { - "line": 150, + "line": 137, "column": 20 } } @@ -39204,15 +42262,15 @@ "postfix": false, "binop": null }, - "start": 3728, - "end": 3729, + "start": 3509, + "end": 3510, "loc": { "start": { - "line": 150, + "line": 137, "column": 20 }, "end": { - "line": 150, + "line": 137, "column": 21 } } @@ -39230,15 +42288,15 @@ "binop": null, "updateContext": null }, - "start": 3729, - "end": 3730, + "start": 3510, + "end": 3511, "loc": { "start": { - "line": 150, + "line": 137, "column": 21 }, "end": { - "line": 150, + "line": 137, "column": 22 } } @@ -39255,15 +42313,15 @@ "postfix": false, "binop": null }, - "start": 3731, - "end": 3732, + "start": 3512, + "end": 3513, "loc": { "start": { - "line": 151, + "line": 138, "column": 0 }, "end": { - "line": 151, + "line": 138, "column": 1 } } @@ -39282,15 +42340,15 @@ "binop": null }, "value": "function", - "start": 3734, - "end": 3742, + "start": 3515, + "end": 3523, "loc": { "start": { - "line": 153, + "line": 140, "column": 0 }, "end": { - "line": 153, + "line": 140, "column": 8 } } @@ -39308,15 +42366,15 @@ "binop": null }, "value": "changeModel", - "start": 3743, - "end": 3754, + "start": 3524, + "end": 3535, "loc": { "start": { - "line": 153, + "line": 140, "column": 9 }, "end": { - "line": 153, + "line": 140, "column": 20 } } @@ -39333,15 +42391,15 @@ "postfix": false, "binop": null }, - "start": 3754, - "end": 3755, + "start": 3535, + "end": 3536, "loc": { "start": { - "line": 153, + "line": 140, "column": 20 }, "end": { - "line": 153, + "line": 140, "column": 21 } } @@ -39359,15 +42417,15 @@ "binop": null }, "value": "modelurl", - "start": 3755, - "end": 3763, + "start": 3536, + "end": 3544, "loc": { "start": { - "line": 153, + "line": 140, "column": 21 }, "end": { - "line": 153, + "line": 140, "column": 29 } } @@ -39384,15 +42442,15 @@ "postfix": false, "binop": null }, - "start": 3763, - "end": 3764, + "start": 3544, + "end": 3545, "loc": { "start": { - "line": 153, + "line": 140, "column": 29 }, "end": { - "line": 153, + "line": 140, "column": 30 } } @@ -39400,15 +42458,15 @@ { "type": "CommentLine", "value": " 更换模型", - "start": 3765, - "end": 3772, + "start": 3546, + "end": 3553, "loc": { "start": { - "line": 153, + "line": 140, "column": 31 }, "end": { - "line": 153, + "line": 140, "column": 38 } } @@ -39425,15 +42483,15 @@ "postfix": false, "binop": null }, - "start": 3773, - "end": 3774, + "start": 3554, + "end": 3555, "loc": { "start": { - "line": 154, + "line": 141, "column": 0 }, "end": { - "line": 154, + "line": 141, "column": 1 } } @@ -39451,15 +42509,15 @@ "binop": null }, "value": "live2DMgr", - "start": 3779, - "end": 3788, + "start": 3560, + "end": 3569, "loc": { "start": { - "line": 155, + "line": 142, "column": 4 }, "end": { - "line": 155, + "line": 142, "column": 13 } } @@ -39477,15 +42535,15 @@ "binop": null, "updateContext": null }, - "start": 3788, - "end": 3789, + "start": 3569, + "end": 3570, "loc": { "start": { - "line": 155, + "line": 142, "column": 13 }, "end": { - "line": 155, + "line": 142, "column": 14 } } @@ -39503,15 +42561,15 @@ "binop": null }, "value": "reloadFlg", - "start": 3789, - "end": 3798, + "start": 3570, + "end": 3579, "loc": { "start": { - "line": 155, + "line": 142, "column": 14 }, "end": { - "line": 155, + "line": 142, "column": 23 } } @@ -39530,15 +42588,15 @@ "updateContext": null }, "value": "=", - "start": 3799, - "end": 3800, + "start": 3580, + "end": 3581, "loc": { "start": { - "line": 155, + "line": 142, "column": 24 }, "end": { - "line": 155, + "line": 142, "column": 25 } } @@ -39558,15 +42616,15 @@ "updateContext": null }, "value": "true", - "start": 3801, - "end": 3805, + "start": 3582, + "end": 3586, "loc": { "start": { - "line": 155, + "line": 142, "column": 26 }, "end": { - "line": 155, + "line": 142, "column": 30 } } @@ -39584,15 +42642,15 @@ "binop": null, "updateContext": null }, - "start": 3805, - "end": 3806, + "start": 3586, + "end": 3587, "loc": { "start": { - "line": 155, + "line": 142, "column": 30 }, "end": { - "line": 155, + "line": 142, "column": 31 } } @@ -39610,15 +42668,15 @@ "binop": null }, "value": "live2DMgr", - "start": 3811, - "end": 3820, + "start": 3592, + "end": 3601, "loc": { "start": { - "line": 156, + "line": 143, "column": 4 }, "end": { - "line": 156, + "line": 143, "column": 13 } } @@ -39636,15 +42694,15 @@ "binop": null, "updateContext": null }, - "start": 3820, - "end": 3821, + "start": 3601, + "end": 3602, "loc": { "start": { - "line": 156, + "line": 143, "column": 13 }, "end": { - "line": 156, + "line": 143, "column": 14 } } @@ -39662,15 +42720,15 @@ "binop": null }, "value": "count", - "start": 3821, - "end": 3826, + "start": 3602, + "end": 3607, "loc": { "start": { - "line": 156, + "line": 143, "column": 14 }, "end": { - "line": 156, + "line": 143, "column": 19 } } @@ -39688,15 +42746,15 @@ "binop": null }, "value": "++", - "start": 3826, - "end": 3828, + "start": 3607, + "end": 3609, "loc": { "start": { - "line": 156, + "line": 143, "column": 19 }, "end": { - "line": 156, + "line": 143, "column": 21 } } @@ -39714,15 +42772,15 @@ "binop": null, "updateContext": null }, - "start": 3828, - "end": 3829, + "start": 3609, + "end": 3610, "loc": { "start": { - "line": 156, + "line": 143, "column": 21 }, "end": { - "line": 156, + "line": 143, "column": 22 } } @@ -39730,15 +42788,15 @@ { "type": "CommentLine", "value": " 现在仍有多模型支持,稍后可以精简", - "start": 3830, - "end": 3849, + "start": 3611, + "end": 3630, "loc": { "start": { - "line": 156, + "line": 143, "column": 23 }, "end": { - "line": 156, + "line": 143, "column": 42 } } @@ -39756,15 +42814,15 @@ "binop": null }, "value": "live2DMgr", - "start": 3854, - "end": 3863, + "start": 3635, + "end": 3644, "loc": { "start": { - "line": 157, + "line": 144, "column": 4 }, "end": { - "line": 157, + "line": 144, "column": 13 } } @@ -39782,15 +42840,15 @@ "binop": null, "updateContext": null }, - "start": 3863, - "end": 3864, + "start": 3644, + "end": 3645, "loc": { "start": { - "line": 157, + "line": 144, "column": 13 }, "end": { - "line": 157, + "line": 144, "column": 14 } } @@ -39808,15 +42866,15 @@ "binop": null }, "value": "changeModel", - "start": 3864, - "end": 3875, + "start": 3645, + "end": 3656, "loc": { "start": { - "line": 157, + "line": 144, "column": 14 }, "end": { - "line": 157, + "line": 144, "column": 25 } } @@ -39833,15 +42891,15 @@ "postfix": false, "binop": null }, - "start": 3875, - "end": 3876, + "start": 3656, + "end": 3657, "loc": { "start": { - "line": 157, + "line": 144, "column": 25 }, "end": { - "line": 157, + "line": 144, "column": 26 } } @@ -39859,15 +42917,15 @@ "binop": null }, "value": "currWebGL", - "start": 3876, - "end": 3885, + "start": 3657, + "end": 3666, "loc": { "start": { - "line": 157, + "line": 144, "column": 26 }, "end": { - "line": 157, + "line": 144, "column": 35 } } @@ -39885,15 +42943,15 @@ "binop": null, "updateContext": null }, - "start": 3885, - "end": 3886, + "start": 3666, + "end": 3667, "loc": { "start": { - "line": 157, + "line": 144, "column": 35 }, "end": { - "line": 157, + "line": 144, "column": 36 } } @@ -39911,15 +42969,15 @@ "binop": null }, "value": "modelurl", - "start": 3887, - "end": 3895, + "start": 3668, + "end": 3676, "loc": { "start": { - "line": 157, + "line": 144, "column": 37 }, "end": { - "line": 157, + "line": 144, "column": 45 } } @@ -39936,15 +42994,15 @@ "postfix": false, "binop": null }, - "start": 3895, - "end": 3896, + "start": 3676, + "end": 3677, "loc": { "start": { - "line": 157, + "line": 144, "column": 45 }, "end": { - "line": 157, + "line": 144, "column": 46 } } @@ -39962,15 +43020,15 @@ "binop": null, "updateContext": null }, - "start": 3896, - "end": 3897, + "start": 3677, + "end": 3678, "loc": { "start": { - "line": 157, + "line": 144, "column": 46 }, "end": { - "line": 157, + "line": 144, "column": 47 } } @@ -39987,15 +43045,15 @@ "postfix": false, "binop": null }, - "start": 3898, - "end": 3899, + "start": 3679, + "end": 3680, "loc": { "start": { - "line": 158, + "line": 145, "column": 0 }, "end": { - "line": 158, + "line": 145, "column": 1 } } @@ -40014,15 +43072,15 @@ "binop": null }, "value": "function", - "start": 3901, - "end": 3909, + "start": 3682, + "end": 3690, "loc": { "start": { - "line": 160, + "line": 147, "column": 0 }, "end": { - "line": 160, + "line": 147, "column": 8 } } @@ -40040,15 +43098,15 @@ "binop": null }, "value": "modelScaling", - "start": 3910, - "end": 3922, + "start": 3691, + "end": 3703, "loc": { "start": { - "line": 160, + "line": 147, "column": 9 }, "end": { - "line": 160, + "line": 147, "column": 21 } } @@ -40065,15 +43123,15 @@ "postfix": false, "binop": null }, - "start": 3922, - "end": 3923, + "start": 3703, + "end": 3704, "loc": { "start": { - "line": 160, + "line": 147, "column": 21 }, "end": { - "line": 160, + "line": 147, "column": 22 } } @@ -40091,15 +43149,15 @@ "binop": null }, "value": "scale", - "start": 3923, - "end": 3928, + "start": 3704, + "end": 3709, "loc": { "start": { - "line": 160, + "line": 147, "column": 22 }, "end": { - "line": 160, + "line": 147, "column": 27 } } @@ -40116,15 +43174,15 @@ "postfix": false, "binop": null }, - "start": 3928, - "end": 3929, + "start": 3709, + "end": 3710, "loc": { "start": { - "line": 160, + "line": 147, "column": 27 }, "end": { - "line": 160, + "line": 147, "column": 28 } } @@ -40141,15 +43199,15 @@ "postfix": false, "binop": null }, - "start": 3930, - "end": 3931, + "start": 3711, + "end": 3712, "loc": { "start": { - "line": 160, + "line": 147, "column": 29 }, "end": { - "line": 160, + "line": 147, "column": 30 } } @@ -40167,15 +43225,15 @@ "binop": null }, "value": "viewMatrix", - "start": 3934, - "end": 3944, + "start": 3715, + "end": 3725, "loc": { "start": { - "line": 161, + "line": 148, "column": 2 }, "end": { - "line": 161, + "line": 148, "column": 12 } } @@ -40193,15 +43251,15 @@ "binop": null, "updateContext": null }, - "start": 3944, - "end": 3945, + "start": 3725, + "end": 3726, "loc": { "start": { - "line": 161, + "line": 148, "column": 12 }, "end": { - "line": 161, + "line": 148, "column": 13 } } @@ -40219,15 +43277,15 @@ "binop": null }, "value": "adjustScale", - "start": 3945, - "end": 3956, + "start": 3726, + "end": 3737, "loc": { "start": { - "line": 161, + "line": 148, "column": 13 }, "end": { - "line": 161, + "line": 148, "column": 24 } } @@ -40244,15 +43302,15 @@ "postfix": false, "binop": null }, - "start": 3956, - "end": 3957, + "start": 3737, + "end": 3738, "loc": { "start": { - "line": 161, + "line": 148, "column": 24 }, "end": { - "line": 161, + "line": 148, "column": 25 } } @@ -40271,15 +43329,15 @@ "updateContext": null }, "value": 0, - "start": 3957, - "end": 3958, + "start": 3738, + "end": 3739, "loc": { "start": { - "line": 161, + "line": 148, "column": 25 }, "end": { - "line": 161, + "line": 148, "column": 26 } } @@ -40297,15 +43355,15 @@ "binop": null, "updateContext": null }, - "start": 3958, - "end": 3959, + "start": 3739, + "end": 3740, "loc": { "start": { - "line": 161, + "line": 148, "column": 26 }, "end": { - "line": 161, + "line": 148, "column": 27 } } @@ -40324,15 +43382,15 @@ "updateContext": null }, "value": 0, - "start": 3960, - "end": 3961, + "start": 3741, + "end": 3742, "loc": { "start": { - "line": 161, + "line": 148, "column": 28 }, "end": { - "line": 161, + "line": 148, "column": 29 } } @@ -40350,15 +43408,15 @@ "binop": null, "updateContext": null }, - "start": 3961, - "end": 3962, + "start": 3742, + "end": 3743, "loc": { "start": { - "line": 161, + "line": 148, "column": 29 }, "end": { - "line": 161, + "line": 148, "column": 30 } } @@ -40376,15 +43434,15 @@ "binop": null }, "value": "scale", - "start": 3963, - "end": 3968, + "start": 3744, + "end": 3749, "loc": { "start": { - "line": 161, + "line": 148, "column": 31 }, "end": { - "line": 161, + "line": 148, "column": 36 } } @@ -40401,15 +43459,15 @@ "postfix": false, "binop": null }, - "start": 3968, - "end": 3969, + "start": 3749, + "end": 3750, "loc": { "start": { - "line": 161, + "line": 148, "column": 36 }, "end": { - "line": 161, + "line": 148, "column": 37 } } @@ -40427,15 +43485,15 @@ "binop": null, "updateContext": null }, - "start": 3969, - "end": 3970, + "start": 3750, + "end": 3751, "loc": { "start": { - "line": 161, + "line": 148, "column": 37 }, "end": { - "line": 161, + "line": 148, "column": 38 } } @@ -40452,15 +43510,15 @@ "postfix": false, "binop": null }, - "start": 3971, - "end": 3972, + "start": 3752, + "end": 3753, "loc": { "start": { - "line": 162, + "line": 149, "column": 0 }, "end": { - "line": 162, + "line": 149, "column": 1 } } @@ -40468,15 +43526,15 @@ { "type": "CommentBlock", "value": "\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n", - "start": 3973, - "end": 4373, + "start": 3754, + "end": 4154, "loc": { "start": { - "line": 163, + "line": 150, "column": 0 }, "end": { - "line": 181, + "line": 168, "column": 2 } } @@ -40495,15 +43553,15 @@ "binop": null }, "value": "function", - "start": 4374, - "end": 4382, + "start": 4155, + "end": 4163, "loc": { "start": { - "line": 182, + "line": 169, "column": 0 }, "end": { - "line": 182, + "line": 169, "column": 8 } } @@ -40521,15 +43579,15 @@ "binop": null }, "value": "dot", - "start": 4383, - "end": 4386, + "start": 4164, + "end": 4167, "loc": { "start": { - "line": 182, + "line": 169, "column": 9 }, "end": { - "line": 182, + "line": 169, "column": 12 } } @@ -40546,15 +43604,15 @@ "postfix": false, "binop": null }, - "start": 4386, - "end": 4387, + "start": 4167, + "end": 4168, "loc": { "start": { - "line": 182, + "line": 169, "column": 12 }, "end": { - "line": 182, + "line": 169, "column": 13 } } @@ -40572,15 +43630,15 @@ "binop": null }, "value": "A", - "start": 4387, - "end": 4388, + "start": 4168, + "end": 4169, "loc": { "start": { - "line": 182, + "line": 169, "column": 13 }, "end": { - "line": 182, + "line": 169, "column": 14 } } @@ -40598,15 +43656,15 @@ "binop": null, "updateContext": null }, - "start": 4388, - "end": 4389, + "start": 4169, + "end": 4170, "loc": { "start": { - "line": 182, + "line": 169, "column": 14 }, "end": { - "line": 182, + "line": 169, "column": 15 } } @@ -40624,15 +43682,15 @@ "binop": null }, "value": "B", - "start": 4389, - "end": 4390, + "start": 4170, + "end": 4171, "loc": { "start": { - "line": 182, + "line": 169, "column": 15 }, "end": { - "line": 182, + "line": 169, "column": 16 } } @@ -40649,15 +43707,15 @@ "postfix": false, "binop": null }, - "start": 4390, - "end": 4391, + "start": 4171, + "end": 4172, "loc": { "start": { - "line": 182, + "line": 169, "column": 16 }, "end": { - "line": 182, + "line": 169, "column": 17 } } @@ -40674,15 +43732,15 @@ "postfix": false, "binop": null }, - "start": 4392, - "end": 4393, + "start": 4173, + "end": 4174, "loc": { "start": { - "line": 183, + "line": 170, "column": 0 }, "end": { - "line": 183, + "line": 170, "column": 1 } } @@ -40702,15 +43760,15 @@ "updateContext": null }, "value": "return", - "start": 4398, - "end": 4404, + "start": 4179, + "end": 4185, "loc": { "start": { - "line": 184, + "line": 171, "column": 4 }, "end": { - "line": 184, + "line": 171, "column": 10 } } @@ -40728,15 +43786,15 @@ "binop": null }, "value": "A", - "start": 4405, - "end": 4406, + "start": 4186, + "end": 4187, "loc": { "start": { - "line": 184, + "line": 171, "column": 11 }, "end": { - "line": 184, + "line": 171, "column": 12 } } @@ -40754,15 +43812,15 @@ "binop": null, "updateContext": null }, - "start": 4406, - "end": 4407, + "start": 4187, + "end": 4188, "loc": { "start": { - "line": 184, + "line": 171, "column": 12 }, "end": { - "line": 184, + "line": 171, "column": 13 } } @@ -40780,15 +43838,15 @@ "binop": null }, "value": "x", - "start": 4407, - "end": 4408, + "start": 4188, + "end": 4189, "loc": { "start": { - "line": 184, + "line": 171, "column": 13 }, "end": { - "line": 184, + "line": 171, "column": 14 } } @@ -40807,15 +43865,15 @@ "updateContext": null }, "value": "*", - "start": 4409, - "end": 4410, + "start": 4190, + "end": 4191, "loc": { "start": { - "line": 184, + "line": 171, "column": 15 }, "end": { - "line": 184, + "line": 171, "column": 16 } } @@ -40833,15 +43891,15 @@ "binop": null }, "value": "B", - "start": 4411, - "end": 4412, + "start": 4192, + "end": 4193, "loc": { "start": { - "line": 184, + "line": 171, "column": 17 }, "end": { - "line": 184, + "line": 171, "column": 18 } } @@ -40859,15 +43917,15 @@ "binop": null, "updateContext": null }, - "start": 4412, - "end": 4413, + "start": 4193, + "end": 4194, "loc": { "start": { - "line": 184, + "line": 171, "column": 18 }, "end": { - "line": 184, + "line": 171, "column": 19 } } @@ -40885,15 +43943,15 @@ "binop": null }, "value": "x", - "start": 4413, - "end": 4414, + "start": 4194, + "end": 4195, "loc": { "start": { - "line": 184, + "line": 171, "column": 19 }, "end": { - "line": 184, + "line": 171, "column": 20 } } @@ -40912,15 +43970,15 @@ "updateContext": null }, "value": "+", - "start": 4415, - "end": 4416, + "start": 4196, + "end": 4197, "loc": { "start": { - "line": 184, + "line": 171, "column": 21 }, "end": { - "line": 184, + "line": 171, "column": 22 } } @@ -40938,15 +43996,15 @@ "binop": null }, "value": "A", - "start": 4417, - "end": 4418, + "start": 4198, + "end": 4199, "loc": { "start": { - "line": 184, + "line": 171, "column": 23 }, "end": { - "line": 184, + "line": 171, "column": 24 } } @@ -40964,15 +44022,15 @@ "binop": null, "updateContext": null }, - "start": 4418, - "end": 4419, + "start": 4199, + "end": 4200, "loc": { "start": { - "line": 184, + "line": 171, "column": 24 }, "end": { - "line": 184, + "line": 171, "column": 25 } } @@ -40990,15 +44048,15 @@ "binop": null }, "value": "y", - "start": 4419, - "end": 4420, + "start": 4200, + "end": 4201, "loc": { "start": { - "line": 184, + "line": 171, "column": 25 }, "end": { - "line": 184, + "line": 171, "column": 26 } } @@ -41017,15 +44075,15 @@ "updateContext": null }, "value": "*", - "start": 4421, - "end": 4422, + "start": 4202, + "end": 4203, "loc": { "start": { - "line": 184, + "line": 171, "column": 27 }, "end": { - "line": 184, + "line": 171, "column": 28 } } @@ -41043,15 +44101,15 @@ "binop": null }, "value": "B", - "start": 4423, - "end": 4424, + "start": 4204, + "end": 4205, "loc": { "start": { - "line": 184, + "line": 171, "column": 29 }, "end": { - "line": 184, + "line": 171, "column": 30 } } @@ -41069,15 +44127,15 @@ "binop": null, "updateContext": null }, - "start": 4424, - "end": 4425, + "start": 4205, + "end": 4206, "loc": { "start": { - "line": 184, + "line": 171, "column": 30 }, "end": { - "line": 184, + "line": 171, "column": 31 } } @@ -41095,15 +44153,15 @@ "binop": null }, "value": "y", - "start": 4425, - "end": 4426, + "start": 4206, + "end": 4207, "loc": { "start": { - "line": 184, + "line": 171, "column": 31 }, "end": { - "line": 184, + "line": 171, "column": 32 } } @@ -41121,15 +44179,15 @@ "binop": null, "updateContext": null }, - "start": 4426, - "end": 4427, + "start": 4207, + "end": 4208, "loc": { "start": { - "line": 184, + "line": 171, "column": 32 }, "end": { - "line": 184, + "line": 171, "column": 33 } } @@ -41146,15 +44204,15 @@ "postfix": false, "binop": null }, - "start": 4428, - "end": 4429, + "start": 4209, + "end": 4210, "loc": { "start": { - "line": 185, + "line": 172, "column": 0 }, "end": { - "line": 185, + "line": 172, "column": 1 } } @@ -41173,15 +44231,15 @@ "binop": null }, "value": "function", - "start": 4431, - "end": 4439, + "start": 4212, + "end": 4220, "loc": { "start": { - "line": 187, + "line": 174, "column": 0 }, "end": { - "line": 187, + "line": 174, "column": 8 } } @@ -41199,15 +44257,15 @@ "binop": null }, "value": "normalize", - "start": 4440, - "end": 4449, + "start": 4221, + "end": 4230, "loc": { "start": { - "line": 187, + "line": 174, "column": 9 }, "end": { - "line": 187, + "line": 174, "column": 18 } } @@ -41224,15 +44282,15 @@ "postfix": false, "binop": null }, - "start": 4449, - "end": 4450, + "start": 4230, + "end": 4231, "loc": { "start": { - "line": 187, + "line": 174, "column": 18 }, "end": { - "line": 187, + "line": 174, "column": 19 } } @@ -41250,15 +44308,15 @@ "binop": null }, "value": "x", - "start": 4450, - "end": 4451, + "start": 4231, + "end": 4232, "loc": { "start": { - "line": 187, + "line": 174, "column": 19 }, "end": { - "line": 187, + "line": 174, "column": 20 } } @@ -41276,15 +44334,15 @@ "binop": null, "updateContext": null }, - "start": 4451, - "end": 4452, + "start": 4232, + "end": 4233, "loc": { "start": { - "line": 187, + "line": 174, "column": 20 }, "end": { - "line": 187, + "line": 174, "column": 21 } } @@ -41302,15 +44360,15 @@ "binop": null }, "value": "y", - "start": 4452, - "end": 4453, + "start": 4233, + "end": 4234, "loc": { "start": { - "line": 187, + "line": 174, "column": 21 }, "end": { - "line": 187, + "line": 174, "column": 22 } } @@ -41327,15 +44385,15 @@ "postfix": false, "binop": null }, - "start": 4453, - "end": 4454, + "start": 4234, + "end": 4235, "loc": { "start": { - "line": 187, + "line": 174, "column": 22 }, "end": { - "line": 187, + "line": 174, "column": 23 } } @@ -41352,15 +44410,15 @@ "postfix": false, "binop": null }, - "start": 4455, - "end": 4456, + "start": 4236, + "end": 4237, "loc": { "start": { - "line": 188, + "line": 175, "column": 0 }, "end": { - "line": 188, + "line": 175, "column": 1 } } @@ -41380,15 +44438,15 @@ "updateContext": null }, "value": "let", - "start": 4461, - "end": 4464, + "start": 4242, + "end": 4245, "loc": { "start": { - "line": 189, + "line": 176, "column": 4 }, "end": { - "line": 189, + "line": 176, "column": 7 } } @@ -41406,15 +44464,15 @@ "binop": null }, "value": "length", - "start": 4465, - "end": 4471, + "start": 4246, + "end": 4252, "loc": { "start": { - "line": 189, + "line": 176, "column": 8 }, "end": { - "line": 189, + "line": 176, "column": 14 } } @@ -41433,15 +44491,15 @@ "updateContext": null }, "value": "=", - "start": 4472, - "end": 4473, + "start": 4253, + "end": 4254, "loc": { "start": { - "line": 189, + "line": 176, "column": 15 }, "end": { - "line": 189, + "line": 176, "column": 16 } } @@ -41459,15 +44517,15 @@ "binop": null }, "value": "Math", - "start": 4474, - "end": 4478, + "start": 4255, + "end": 4259, "loc": { "start": { - "line": 189, + "line": 176, "column": 17 }, "end": { - "line": 189, + "line": 176, "column": 21 } } @@ -41485,15 +44543,15 @@ "binop": null, "updateContext": null }, - "start": 4478, - "end": 4479, + "start": 4259, + "end": 4260, "loc": { "start": { - "line": 189, + "line": 176, "column": 21 }, "end": { - "line": 189, + "line": 176, "column": 22 } } @@ -41511,15 +44569,15 @@ "binop": null }, "value": "sqrt", - "start": 4479, - "end": 4483, + "start": 4260, + "end": 4264, "loc": { "start": { - "line": 189, + "line": 176, "column": 22 }, "end": { - "line": 189, + "line": 176, "column": 26 } } @@ -41536,15 +44594,15 @@ "postfix": false, "binop": null }, - "start": 4483, - "end": 4484, + "start": 4264, + "end": 4265, "loc": { "start": { - "line": 189, + "line": 176, "column": 26 }, "end": { - "line": 189, + "line": 176, "column": 27 } } @@ -41562,15 +44620,15 @@ "binop": null }, "value": "x", - "start": 4484, - "end": 4485, + "start": 4265, + "end": 4266, "loc": { "start": { - "line": 189, + "line": 176, "column": 27 }, "end": { - "line": 189, + "line": 176, "column": 28 } } @@ -41589,15 +44647,15 @@ "updateContext": null }, "value": "*", - "start": 4486, - "end": 4487, + "start": 4267, + "end": 4268, "loc": { "start": { - "line": 189, + "line": 176, "column": 29 }, "end": { - "line": 189, + "line": 176, "column": 30 } } @@ -41615,15 +44673,15 @@ "binop": null }, "value": "x", - "start": 4488, - "end": 4489, + "start": 4269, + "end": 4270, "loc": { "start": { - "line": 189, + "line": 176, "column": 31 }, "end": { - "line": 189, + "line": 176, "column": 32 } } @@ -41642,15 +44700,15 @@ "updateContext": null }, "value": "+", - "start": 4490, - "end": 4491, + "start": 4271, + "end": 4272, "loc": { "start": { - "line": 189, + "line": 176, "column": 33 }, "end": { - "line": 189, + "line": 176, "column": 34 } } @@ -41668,15 +44726,15 @@ "binop": null }, "value": "y", - "start": 4492, - "end": 4493, + "start": 4273, + "end": 4274, "loc": { "start": { - "line": 189, + "line": 176, "column": 35 }, "end": { - "line": 189, + "line": 176, "column": 36 } } @@ -41695,15 +44753,15 @@ "updateContext": null }, "value": "*", - "start": 4494, - "end": 4495, + "start": 4275, + "end": 4276, "loc": { "start": { - "line": 189, + "line": 176, "column": 37 }, "end": { - "line": 189, + "line": 176, "column": 38 } } @@ -41721,15 +44779,15 @@ "binop": null }, "value": "y", - "start": 4496, - "end": 4497, + "start": 4277, + "end": 4278, "loc": { "start": { - "line": 189, + "line": 176, "column": 39 }, "end": { - "line": 189, + "line": 176, "column": 40 } } @@ -41746,15 +44804,15 @@ "postfix": false, "binop": null }, - "start": 4497, - "end": 4498, + "start": 4278, + "end": 4279, "loc": { "start": { - "line": 189, + "line": 176, "column": 40 }, "end": { - "line": 189, + "line": 176, "column": 41 } } @@ -41774,15 +44832,15 @@ "updateContext": null }, "value": "return", - "start": 4503, - "end": 4509, + "start": 4284, + "end": 4290, "loc": { "start": { - "line": 190, + "line": 177, "column": 4 }, "end": { - "line": 190, + "line": 177, "column": 10 } } @@ -41799,15 +44857,15 @@ "postfix": false, "binop": null }, - "start": 4510, - "end": 4511, + "start": 4291, + "end": 4292, "loc": { "start": { - "line": 190, + "line": 177, "column": 11 }, "end": { - "line": 190, + "line": 177, "column": 12 } } @@ -41825,15 +44883,15 @@ "binop": null }, "value": "x", - "start": 4520, - "end": 4521, + "start": 4301, + "end": 4302, "loc": { "start": { - "line": 191, + "line": 178, "column": 8 }, "end": { - "line": 191, + "line": 178, "column": 9 } } @@ -41851,15 +44909,15 @@ "binop": null, "updateContext": null }, - "start": 4521, - "end": 4522, + "start": 4302, + "end": 4303, "loc": { "start": { - "line": 191, + "line": 178, "column": 9 }, "end": { - "line": 191, + "line": 178, "column": 10 } } @@ -41877,15 +44935,15 @@ "binop": null }, "value": "x", - "start": 4523, - "end": 4524, + "start": 4304, + "end": 4305, "loc": { "start": { - "line": 191, + "line": 178, "column": 11 }, "end": { - "line": 191, + "line": 178, "column": 12 } } @@ -41904,15 +44962,15 @@ "updateContext": null }, "value": "/", - "start": 4525, - "end": 4526, + "start": 4306, + "end": 4307, "loc": { "start": { - "line": 191, + "line": 178, "column": 13 }, "end": { - "line": 191, + "line": 178, "column": 14 } } @@ -41930,15 +44988,15 @@ "binop": null }, "value": "length", - "start": 4527, - "end": 4533, + "start": 4308, + "end": 4314, "loc": { "start": { - "line": 191, + "line": 178, "column": 15 }, "end": { - "line": 191, + "line": 178, "column": 21 } } @@ -41956,15 +45014,15 @@ "binop": null, "updateContext": null }, - "start": 4533, - "end": 4534, + "start": 4314, + "end": 4315, "loc": { "start": { - "line": 191, + "line": 178, "column": 21 }, "end": { - "line": 191, + "line": 178, "column": 22 } } @@ -41982,15 +45040,15 @@ "binop": null }, "value": "y", - "start": 4543, - "end": 4544, + "start": 4324, + "end": 4325, "loc": { "start": { - "line": 192, + "line": 179, "column": 8 }, "end": { - "line": 192, + "line": 179, "column": 9 } } @@ -42008,15 +45066,15 @@ "binop": null, "updateContext": null }, - "start": 4544, - "end": 4545, + "start": 4325, + "end": 4326, "loc": { "start": { - "line": 192, + "line": 179, "column": 9 }, "end": { - "line": 192, + "line": 179, "column": 10 } } @@ -42034,15 +45092,15 @@ "binop": null }, "value": "y", - "start": 4546, - "end": 4547, + "start": 4327, + "end": 4328, "loc": { "start": { - "line": 192, + "line": 179, "column": 11 }, "end": { - "line": 192, + "line": 179, "column": 12 } } @@ -42061,15 +45119,15 @@ "updateContext": null }, "value": "/", - "start": 4548, - "end": 4549, + "start": 4329, + "end": 4330, "loc": { "start": { - "line": 192, + "line": 179, "column": 13 }, "end": { - "line": 192, + "line": 179, "column": 14 } } @@ -42087,15 +45145,15 @@ "binop": null }, "value": "length", - "start": 4550, - "end": 4556, + "start": 4331, + "end": 4337, "loc": { "start": { - "line": 192, + "line": 179, "column": 15 }, "end": { - "line": 192, + "line": 179, "column": 21 } } @@ -42112,15 +45170,15 @@ "postfix": false, "binop": null }, - "start": 4561, - "end": 4562, + "start": 4342, + "end": 4343, "loc": { "start": { - "line": 193, + "line": 180, "column": 4 }, "end": { - "line": 193, + "line": 180, "column": 5 } } @@ -42137,15 +45195,15 @@ "postfix": false, "binop": null }, - "start": 4563, - "end": 4564, + "start": 4344, + "end": 4345, "loc": { "start": { - "line": 194, + "line": 181, "column": 0 }, "end": { - "line": 194, + "line": 181, "column": 1 } } @@ -42164,15 +45222,15 @@ "binop": null }, "value": "function", - "start": 4566, - "end": 4574, + "start": 4347, + "end": 4355, "loc": { "start": { - "line": 196, + "line": 183, "column": 0 }, "end": { - "line": 196, + "line": 183, "column": 8 } } @@ -42190,15 +45248,15 @@ "binop": null }, "value": "transformRect", - "start": 4575, - "end": 4588, + "start": 4356, + "end": 4369, "loc": { "start": { - "line": 196, + "line": 183, "column": 9 }, "end": { - "line": 196, + "line": 183, "column": 22 } } @@ -42215,15 +45273,15 @@ "postfix": false, "binop": null }, - "start": 4588, - "end": 4589, + "start": 4369, + "end": 4370, "loc": { "start": { - "line": 196, + "line": 183, "column": 22 }, "end": { - "line": 196, + "line": 183, "column": 23 } } @@ -42241,15 +45299,15 @@ "binop": null }, "value": "center", - "start": 4589, - "end": 4595, + "start": 4370, + "end": 4376, "loc": { "start": { - "line": 196, + "line": 183, "column": 23 }, "end": { - "line": 196, + "line": 183, "column": 29 } } @@ -42267,15 +45325,15 @@ "binop": null, "updateContext": null }, - "start": 4595, - "end": 4596, + "start": 4376, + "end": 4377, "loc": { "start": { - "line": 196, + "line": 183, "column": 29 }, "end": { - "line": 196, + "line": 183, "column": 30 } } @@ -42293,15 +45351,15 @@ "binop": null }, "value": "transform", - "start": 4597, - "end": 4606, + "start": 4378, + "end": 4387, "loc": { "start": { - "line": 196, + "line": 183, "column": 31 }, "end": { - "line": 196, + "line": 183, "column": 40 } } @@ -42319,15 +45377,15 @@ "binop": null, "updateContext": null }, - "start": 4606, - "end": 4607, + "start": 4387, + "end": 4388, "loc": { "start": { - "line": 196, + "line": 183, "column": 40 }, "end": { - "line": 196, + "line": 183, "column": 41 } } @@ -42345,15 +45403,15 @@ "binop": null }, "value": "rect", - "start": 4608, - "end": 4612, + "start": 4389, + "end": 4393, "loc": { "start": { - "line": 196, + "line": 183, "column": 42 }, "end": { - "line": 196, + "line": 183, "column": 46 } } @@ -42370,15 +45428,15 @@ "postfix": false, "binop": null }, - "start": 4612, - "end": 4613, + "start": 4393, + "end": 4394, "loc": { "start": { - "line": 196, + "line": 183, "column": 46 }, "end": { - "line": 196, + "line": 183, "column": 47 } } @@ -42395,15 +45453,15 @@ "postfix": false, "binop": null }, - "start": 4614, - "end": 4615, + "start": 4395, + "end": 4396, "loc": { "start": { - "line": 197, + "line": 184, "column": 0 }, "end": { - "line": 197, + "line": 184, "column": 1 } } @@ -42423,15 +45481,15 @@ "updateContext": null }, "value": "if", - "start": 4620, - "end": 4622, + "start": 4401, + "end": 4403, "loc": { "start": { - "line": 198, + "line": 185, "column": 4 }, "end": { - "line": 198, + "line": 185, "column": 6 } } @@ -42448,15 +45506,15 @@ "postfix": false, "binop": null }, - "start": 4623, - "end": 4624, + "start": 4404, + "end": 4405, "loc": { "start": { - "line": 198, + "line": 185, "column": 7 }, "end": { - "line": 198, + "line": 185, "column": 8 } } @@ -42474,15 +45532,15 @@ "binop": null }, "value": "transform", - "start": 4624, - "end": 4633, + "start": 4405, + "end": 4414, "loc": { "start": { - "line": 198, + "line": 185, "column": 8 }, "end": { - "line": 198, + "line": 185, "column": 17 } } @@ -42500,15 +45558,15 @@ "binop": null, "updateContext": null }, - "start": 4633, - "end": 4634, + "start": 4414, + "end": 4415, "loc": { "start": { - "line": 198, + "line": 185, "column": 17 }, "end": { - "line": 198, + "line": 185, "column": 18 } } @@ -42526,15 +45584,15 @@ "binop": null }, "value": "x", - "start": 4634, - "end": 4635, + "start": 4415, + "end": 4416, "loc": { "start": { - "line": 198, + "line": 185, "column": 18 }, "end": { - "line": 198, + "line": 185, "column": 19 } } @@ -42553,15 +45611,15 @@ "updateContext": null }, "value": "<", - "start": 4636, - "end": 4637, + "start": 4417, + "end": 4418, "loc": { "start": { - "line": 198, + "line": 185, "column": 20 }, "end": { - "line": 198, + "line": 185, "column": 21 } } @@ -42579,15 +45637,15 @@ "binop": null }, "value": "rect", - "start": 4638, - "end": 4642, + "start": 4419, + "end": 4423, "loc": { "start": { - "line": 198, + "line": 185, "column": 22 }, "end": { - "line": 198, + "line": 185, "column": 26 } } @@ -42605,15 +45663,15 @@ "binop": null, "updateContext": null }, - "start": 4642, - "end": 4643, + "start": 4423, + "end": 4424, "loc": { "start": { - "line": 198, + "line": 185, "column": 26 }, "end": { - "line": 198, + "line": 185, "column": 27 } } @@ -42631,15 +45689,15 @@ "binop": null }, "value": "left", - "start": 4643, - "end": 4647, + "start": 4424, + "end": 4428, "loc": { "start": { - "line": 198, + "line": 185, "column": 27 }, "end": { - "line": 198, + "line": 185, "column": 31 } } @@ -42658,15 +45716,15 @@ "updateContext": null }, "value": "+", - "start": 4648, - "end": 4649, + "start": 4429, + "end": 4430, "loc": { "start": { - "line": 198, + "line": 185, "column": 32 }, "end": { - "line": 198, + "line": 185, "column": 33 } } @@ -42684,15 +45742,15 @@ "binop": null }, "value": "rect", - "start": 4650, - "end": 4654, + "start": 4431, + "end": 4435, "loc": { "start": { - "line": 198, + "line": 185, "column": 34 }, "end": { - "line": 198, + "line": 185, "column": 38 } } @@ -42710,15 +45768,15 @@ "binop": null, "updateContext": null }, - "start": 4654, - "end": 4655, + "start": 4435, + "end": 4436, "loc": { "start": { - "line": 198, + "line": 185, "column": 38 }, "end": { - "line": 198, + "line": 185, "column": 39 } } @@ -42736,15 +45794,15 @@ "binop": null }, "value": "width", - "start": 4655, - "end": 4660, + "start": 4436, + "end": 4441, "loc": { "start": { - "line": 198, + "line": 185, "column": 39 }, "end": { - "line": 198, + "line": 185, "column": 44 } } @@ -42763,15 +45821,15 @@ "updateContext": null }, "value": "&&", - "start": 4661, - "end": 4663, + "start": 4442, + "end": 4444, "loc": { "start": { - "line": 198, + "line": 185, "column": 45 }, "end": { - "line": 198, + "line": 185, "column": 47 } } @@ -42789,15 +45847,15 @@ "binop": null }, "value": "transform", - "start": 4664, - "end": 4673, + "start": 4445, + "end": 4454, "loc": { "start": { - "line": 198, + "line": 185, "column": 48 }, "end": { - "line": 198, + "line": 185, "column": 57 } } @@ -42815,15 +45873,15 @@ "binop": null, "updateContext": null }, - "start": 4673, - "end": 4674, + "start": 4454, + "end": 4455, "loc": { "start": { - "line": 198, + "line": 185, "column": 57 }, "end": { - "line": 198, + "line": 185, "column": 58 } } @@ -42841,15 +45899,15 @@ "binop": null }, "value": "y", - "start": 4674, - "end": 4675, + "start": 4455, + "end": 4456, "loc": { "start": { - "line": 198, + "line": 185, "column": 58 }, "end": { - "line": 198, + "line": 185, "column": 59 } } @@ -42868,15 +45926,15 @@ "updateContext": null }, "value": "<", - "start": 4676, - "end": 4677, + "start": 4457, + "end": 4458, "loc": { "start": { - "line": 198, + "line": 185, "column": 60 }, "end": { - "line": 198, + "line": 185, "column": 61 } } @@ -42894,15 +45952,15 @@ "binop": null }, "value": "rect", - "start": 4678, - "end": 4682, + "start": 4459, + "end": 4463, "loc": { "start": { - "line": 198, + "line": 185, "column": 62 }, "end": { - "line": 198, + "line": 185, "column": 66 } } @@ -42920,15 +45978,15 @@ "binop": null, "updateContext": null }, - "start": 4682, - "end": 4683, + "start": 4463, + "end": 4464, "loc": { "start": { - "line": 198, + "line": 185, "column": 66 }, "end": { - "line": 198, + "line": 185, "column": 67 } } @@ -42946,15 +46004,15 @@ "binop": null }, "value": "top", - "start": 4683, - "end": 4686, + "start": 4464, + "end": 4467, "loc": { "start": { - "line": 198, + "line": 185, "column": 67 }, "end": { - "line": 198, + "line": 185, "column": 70 } } @@ -42973,15 +46031,15 @@ "updateContext": null }, "value": "+", - "start": 4687, - "end": 4688, + "start": 4468, + "end": 4469, "loc": { "start": { - "line": 198, + "line": 185, "column": 71 }, "end": { - "line": 198, + "line": 185, "column": 72 } } @@ -42999,15 +46057,15 @@ "binop": null }, "value": "rect", - "start": 4689, - "end": 4693, + "start": 4470, + "end": 4474, "loc": { "start": { - "line": 198, + "line": 185, "column": 73 }, "end": { - "line": 198, + "line": 185, "column": 77 } } @@ -43025,15 +46083,15 @@ "binop": null, "updateContext": null }, - "start": 4693, - "end": 4694, + "start": 4474, + "end": 4475, "loc": { "start": { - "line": 198, + "line": 185, "column": 77 }, "end": { - "line": 198, + "line": 185, "column": 78 } } @@ -43051,15 +46109,15 @@ "binop": null }, "value": "height", - "start": 4694, - "end": 4700, + "start": 4475, + "end": 4481, "loc": { "start": { - "line": 198, + "line": 185, "column": 78 }, "end": { - "line": 198, + "line": 185, "column": 84 } } @@ -43078,15 +46136,15 @@ "updateContext": null }, "value": "&&", - "start": 4701, - "end": 4703, + "start": 4482, + "end": 4484, "loc": { "start": { - "line": 198, + "line": 185, "column": 85 }, "end": { - "line": 198, + "line": 185, "column": 87 } } @@ -43104,15 +46162,15 @@ "binop": null }, "value": "transform", - "start": 4712, - "end": 4721, + "start": 4493, + "end": 4502, "loc": { "start": { - "line": 199, + "line": 186, "column": 8 }, "end": { - "line": 199, + "line": 186, "column": 17 } } @@ -43130,15 +46188,15 @@ "binop": null, "updateContext": null }, - "start": 4721, - "end": 4722, + "start": 4502, + "end": 4503, "loc": { "start": { - "line": 199, + "line": 186, "column": 17 }, "end": { - "line": 199, + "line": 186, "column": 18 } } @@ -43156,15 +46214,15 @@ "binop": null }, "value": "x", - "start": 4722, - "end": 4723, + "start": 4503, + "end": 4504, "loc": { "start": { - "line": 199, + "line": 186, "column": 18 }, "end": { - "line": 199, + "line": 186, "column": 19 } } @@ -43183,15 +46241,15 @@ "updateContext": null }, "value": ">", - "start": 4724, - "end": 4725, + "start": 4505, + "end": 4506, "loc": { "start": { - "line": 199, + "line": 186, "column": 20 }, "end": { - "line": 199, + "line": 186, "column": 21 } } @@ -43209,15 +46267,15 @@ "binop": null }, "value": "rect", - "start": 4726, - "end": 4730, + "start": 4507, + "end": 4511, "loc": { "start": { - "line": 199, + "line": 186, "column": 22 }, "end": { - "line": 199, + "line": 186, "column": 26 } } @@ -43235,15 +46293,15 @@ "binop": null, "updateContext": null }, - "start": 4730, - "end": 4731, + "start": 4511, + "end": 4512, "loc": { "start": { - "line": 199, + "line": 186, "column": 26 }, "end": { - "line": 199, + "line": 186, "column": 27 } } @@ -43261,15 +46319,15 @@ "binop": null }, "value": "left", - "start": 4731, - "end": 4735, + "start": 4512, + "end": 4516, "loc": { "start": { - "line": 199, + "line": 186, "column": 27 }, "end": { - "line": 199, + "line": 186, "column": 31 } } @@ -43288,15 +46346,15 @@ "updateContext": null }, "value": "&&", - "start": 4736, - "end": 4738, + "start": 4517, + "end": 4519, "loc": { "start": { - "line": 199, + "line": 186, "column": 32 }, "end": { - "line": 199, + "line": 186, "column": 34 } } @@ -43314,15 +46372,15 @@ "binop": null }, "value": "transform", - "start": 4739, - "end": 4748, + "start": 4520, + "end": 4529, "loc": { "start": { - "line": 199, + "line": 186, "column": 35 }, "end": { - "line": 199, + "line": 186, "column": 44 } } @@ -43340,15 +46398,15 @@ "binop": null, "updateContext": null }, - "start": 4748, - "end": 4749, + "start": 4529, + "end": 4530, "loc": { "start": { - "line": 199, + "line": 186, "column": 44 }, "end": { - "line": 199, + "line": 186, "column": 45 } } @@ -43366,15 +46424,15 @@ "binop": null }, "value": "y", - "start": 4749, - "end": 4750, + "start": 4530, + "end": 4531, "loc": { "start": { - "line": 199, + "line": 186, "column": 45 }, "end": { - "line": 199, + "line": 186, "column": 46 } } @@ -43393,15 +46451,15 @@ "updateContext": null }, "value": ">", - "start": 4751, - "end": 4752, + "start": 4532, + "end": 4533, "loc": { "start": { - "line": 199, + "line": 186, "column": 47 }, "end": { - "line": 199, + "line": 186, "column": 48 } } @@ -43419,15 +46477,15 @@ "binop": null }, "value": "rect", - "start": 4753, - "end": 4757, + "start": 4534, + "end": 4538, "loc": { "start": { - "line": 199, + "line": 186, "column": 49 }, "end": { - "line": 199, + "line": 186, "column": 53 } } @@ -43445,15 +46503,15 @@ "binop": null, "updateContext": null }, - "start": 4757, - "end": 4758, + "start": 4538, + "end": 4539, "loc": { "start": { - "line": 199, + "line": 186, "column": 53 }, "end": { - "line": 199, + "line": 186, "column": 54 } } @@ -43471,15 +46529,15 @@ "binop": null }, "value": "top", - "start": 4758, - "end": 4761, + "start": 4539, + "end": 4542, "loc": { "start": { - "line": 199, + "line": 186, "column": 54 }, "end": { - "line": 199, + "line": 186, "column": 57 } } @@ -43496,15 +46554,15 @@ "postfix": false, "binop": null }, - "start": 4761, - "end": 4762, + "start": 4542, + "end": 4543, "loc": { "start": { - "line": 199, + "line": 186, "column": 57 }, "end": { - "line": 199, + "line": 186, "column": 58 } } @@ -43524,15 +46582,15 @@ "updateContext": null }, "value": "return", - "start": 4763, - "end": 4769, + "start": 4544, + "end": 4550, "loc": { "start": { - "line": 199, + "line": 186, "column": 59 }, "end": { - "line": 199, + "line": 186, "column": 65 } } @@ -43550,15 +46608,15 @@ "binop": null }, "value": "transform", - "start": 4770, - "end": 4779, + "start": 4551, + "end": 4560, "loc": { "start": { - "line": 199, + "line": 186, "column": 66 }, "end": { - "line": 199, + "line": 186, "column": 75 } } @@ -43576,15 +46634,15 @@ "binop": null, "updateContext": null }, - "start": 4779, - "end": 4780, + "start": 4560, + "end": 4561, "loc": { "start": { - "line": 199, + "line": 186, "column": 75 }, "end": { - "line": 199, + "line": 186, "column": 76 } } @@ -43604,15 +46662,15 @@ "updateContext": null }, "value": "let", - "start": 4785, - "end": 4788, + "start": 4566, + "end": 4569, "loc": { "start": { - "line": 200, + "line": 187, "column": 4 }, "end": { - "line": 200, + "line": 187, "column": 7 } } @@ -43630,15 +46688,15 @@ "binop": null }, "value": "Len_X", - "start": 4789, - "end": 4794, + "start": 4570, + "end": 4575, "loc": { "start": { - "line": 200, + "line": 187, "column": 8 }, "end": { - "line": 200, + "line": 187, "column": 13 } } @@ -43657,15 +46715,15 @@ "updateContext": null }, "value": "=", - "start": 4795, - "end": 4796, + "start": 4576, + "end": 4577, "loc": { "start": { - "line": 200, + "line": 187, "column": 14 }, "end": { - "line": 200, + "line": 187, "column": 15 } } @@ -43683,15 +46741,15 @@ "binop": null }, "value": "center", - "start": 4797, - "end": 4803, + "start": 4578, + "end": 4584, "loc": { "start": { - "line": 200, + "line": 187, "column": 16 }, "end": { - "line": 200, + "line": 187, "column": 22 } } @@ -43709,15 +46767,15 @@ "binop": null, "updateContext": null }, - "start": 4803, - "end": 4804, + "start": 4584, + "end": 4585, "loc": { "start": { - "line": 200, + "line": 187, "column": 22 }, "end": { - "line": 200, + "line": 187, "column": 23 } } @@ -43735,15 +46793,15 @@ "binop": null }, "value": "x", - "start": 4804, - "end": 4805, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 200, + "line": 187, "column": 23 }, "end": { - "line": 200, + "line": 187, "column": 24 } } @@ -43762,15 +46820,15 @@ "updateContext": null }, "value": "-", - "start": 4806, - "end": 4807, + "start": 4587, + "end": 4588, "loc": { "start": { - "line": 200, + "line": 187, "column": 25 }, "end": { - "line": 200, + "line": 187, "column": 26 } } @@ -43788,15 +46846,15 @@ "binop": null }, "value": "transform", - "start": 4808, - "end": 4817, + "start": 4589, + "end": 4598, "loc": { "start": { - "line": 200, + "line": 187, "column": 27 }, "end": { - "line": 200, + "line": 187, "column": 36 } } @@ -43814,15 +46872,15 @@ "binop": null, "updateContext": null }, - "start": 4817, - "end": 4818, + "start": 4598, + "end": 4599, "loc": { "start": { - "line": 200, + "line": 187, "column": 36 }, "end": { - "line": 200, + "line": 187, "column": 37 } } @@ -43840,15 +46898,15 @@ "binop": null }, "value": "x", - "start": 4818, - "end": 4819, + "start": 4599, + "end": 4600, "loc": { "start": { - "line": 200, + "line": 187, "column": 37 }, "end": { - "line": 200, + "line": 187, "column": 38 } } @@ -43866,15 +46924,15 @@ "binop": null, "updateContext": null }, - "start": 4819, - "end": 4820, + "start": 4600, + "end": 4601, "loc": { "start": { - "line": 200, + "line": 187, "column": 38 }, "end": { - "line": 200, + "line": 187, "column": 39 } } @@ -43894,15 +46952,15 @@ "updateContext": null }, "value": "let", - "start": 4825, - "end": 4828, + "start": 4606, + "end": 4609, "loc": { "start": { - "line": 201, + "line": 188, "column": 4 }, "end": { - "line": 201, + "line": 188, "column": 7 } } @@ -43920,15 +46978,15 @@ "binop": null }, "value": "Len_Y", - "start": 4829, - "end": 4834, + "start": 4610, + "end": 4615, "loc": { "start": { - "line": 201, + "line": 188, "column": 8 }, "end": { - "line": 201, + "line": 188, "column": 13 } } @@ -43947,15 +47005,15 @@ "updateContext": null }, "value": "=", - "start": 4835, - "end": 4836, + "start": 4616, + "end": 4617, "loc": { "start": { - "line": 201, + "line": 188, "column": 14 }, "end": { - "line": 201, + "line": 188, "column": 15 } } @@ -43973,15 +47031,15 @@ "binop": null }, "value": "center", - "start": 4837, - "end": 4843, + "start": 4618, + "end": 4624, "loc": { "start": { - "line": 201, + "line": 188, "column": 16 }, "end": { - "line": 201, + "line": 188, "column": 22 } } @@ -43999,15 +47057,15 @@ "binop": null, "updateContext": null }, - "start": 4843, - "end": 4844, + "start": 4624, + "end": 4625, "loc": { "start": { - "line": 201, + "line": 188, "column": 22 }, "end": { - "line": 201, + "line": 188, "column": 23 } } @@ -44025,15 +47083,15 @@ "binop": null }, "value": "y", - "start": 4844, - "end": 4845, + "start": 4625, + "end": 4626, "loc": { "start": { - "line": 201, + "line": 188, "column": 23 }, "end": { - "line": 201, + "line": 188, "column": 24 } } @@ -44052,15 +47110,15 @@ "updateContext": null }, "value": "-", - "start": 4846, - "end": 4847, + "start": 4627, + "end": 4628, "loc": { "start": { - "line": 201, + "line": 188, "column": 25 }, "end": { - "line": 201, + "line": 188, "column": 26 } } @@ -44078,15 +47136,15 @@ "binop": null }, "value": "transform", - "start": 4848, - "end": 4857, + "start": 4629, + "end": 4638, "loc": { "start": { - "line": 201, + "line": 188, "column": 27 }, "end": { - "line": 201, + "line": 188, "column": 36 } } @@ -44104,15 +47162,15 @@ "binop": null, "updateContext": null }, - "start": 4857, - "end": 4858, + "start": 4638, + "end": 4639, "loc": { "start": { - "line": 201, + "line": 188, "column": 36 }, "end": { - "line": 201, + "line": 188, "column": 37 } } @@ -44130,15 +47188,15 @@ "binop": null }, "value": "y", - "start": 4858, - "end": 4859, + "start": 4639, + "end": 4640, "loc": { "start": { - "line": 201, + "line": 188, "column": 37 }, "end": { - "line": 201, + "line": 188, "column": 38 } } @@ -44156,15 +47214,15 @@ "binop": null, "updateContext": null }, - "start": 4859, - "end": 4860, + "start": 4640, + "end": 4641, "loc": { "start": { - "line": 201, + "line": 188, "column": 38 }, "end": { - "line": 201, + "line": 188, "column": 39 } } @@ -44183,15 +47241,15 @@ "binop": null }, "value": "function", - "start": 4866, - "end": 4874, + "start": 4647, + "end": 4655, "loc": { "start": { - "line": 203, + "line": 190, "column": 4 }, "end": { - "line": 203, + "line": 190, "column": 12 } } @@ -44209,15 +47267,15 @@ "binop": null }, "value": "angle", - "start": 4875, - "end": 4880, + "start": 4656, + "end": 4661, "loc": { "start": { - "line": 203, + "line": 190, "column": 13 }, "end": { - "line": 203, + "line": 190, "column": 18 } } @@ -44234,15 +47292,15 @@ "postfix": false, "binop": null }, - "start": 4880, - "end": 4881, + "start": 4661, + "end": 4662, "loc": { "start": { - "line": 203, + "line": 190, "column": 18 }, "end": { - "line": 203, + "line": 190, "column": 19 } } @@ -44260,15 +47318,15 @@ "binop": null }, "value": "Len_X", - "start": 4881, - "end": 4886, + "start": 4662, + "end": 4667, "loc": { "start": { - "line": 203, + "line": 190, "column": 19 }, "end": { - "line": 203, + "line": 190, "column": 24 } } @@ -44286,15 +47344,15 @@ "binop": null, "updateContext": null }, - "start": 4886, - "end": 4887, + "start": 4667, + "end": 4668, "loc": { "start": { - "line": 203, + "line": 190, "column": 24 }, "end": { - "line": 203, + "line": 190, "column": 25 } } @@ -44312,15 +47370,15 @@ "binop": null }, "value": "Len_Y", - "start": 4888, - "end": 4893, + "start": 4669, + "end": 4674, "loc": { "start": { - "line": 203, + "line": 190, "column": 26 }, "end": { - "line": 203, + "line": 190, "column": 31 } } @@ -44337,15 +47395,15 @@ "postfix": false, "binop": null }, - "start": 4893, - "end": 4894, + "start": 4674, + "end": 4675, "loc": { "start": { - "line": 203, + "line": 190, "column": 31 }, "end": { - "line": 203, + "line": 190, "column": 32 } } @@ -44362,15 +47420,15 @@ "postfix": false, "binop": null }, - "start": 4899, - "end": 4900, + "start": 4680, + "end": 4681, "loc": { "start": { - "line": 204, + "line": 191, "column": 4 }, "end": { - "line": 204, + "line": 191, "column": 5 } } @@ -44390,15 +47448,15 @@ "updateContext": null }, "value": "return", - "start": 4909, - "end": 4915, + "start": 4690, + "end": 4696, "loc": { "start": { - "line": 205, + "line": 192, "column": 8 }, "end": { - "line": 205, + "line": 192, "column": 14 } } @@ -44416,15 +47474,15 @@ "binop": null }, "value": "Math", - "start": 4916, - "end": 4920, + "start": 4697, + "end": 4701, "loc": { "start": { - "line": 205, + "line": 192, "column": 15 }, "end": { - "line": 205, + "line": 192, "column": 19 } } @@ -44442,15 +47500,15 @@ "binop": null, "updateContext": null }, - "start": 4920, - "end": 4921, + "start": 4701, + "end": 4702, "loc": { "start": { - "line": 205, + "line": 192, "column": 19 }, "end": { - "line": 205, + "line": 192, "column": 20 } } @@ -44468,15 +47526,15 @@ "binop": null }, "value": "acos", - "start": 4921, - "end": 4925, + "start": 4702, + "end": 4706, "loc": { "start": { - "line": 205, + "line": 192, "column": 20 }, "end": { - "line": 205, + "line": 192, "column": 24 } } @@ -44493,15 +47551,15 @@ "postfix": false, "binop": null }, - "start": 4925, - "end": 4926, + "start": 4706, + "end": 4707, "loc": { "start": { - "line": 205, + "line": 192, "column": 24 }, "end": { - "line": 205, + "line": 192, "column": 25 } } @@ -44519,15 +47577,15 @@ "binop": null }, "value": "dot", - "start": 4926, - "end": 4929, + "start": 4707, + "end": 4710, "loc": { "start": { - "line": 205, + "line": 192, "column": 25 }, "end": { - "line": 205, + "line": 192, "column": 28 } } @@ -44544,15 +47602,15 @@ "postfix": false, "binop": null }, - "start": 4929, - "end": 4930, + "start": 4710, + "end": 4711, "loc": { "start": { - "line": 205, + "line": 192, "column": 28 }, "end": { - "line": 205, + "line": 192, "column": 29 } } @@ -44569,15 +47627,15 @@ "postfix": false, "binop": null }, - "start": 4930, - "end": 4931, + "start": 4711, + "end": 4712, "loc": { "start": { - "line": 205, + "line": 192, "column": 29 }, "end": { - "line": 205, + "line": 192, "column": 30 } } @@ -44595,15 +47653,15 @@ "binop": null }, "value": "x", - "start": 4944, - "end": 4945, + "start": 4725, + "end": 4726, "loc": { "start": { - "line": 206, + "line": 193, "column": 12 }, "end": { - "line": 206, + "line": 193, "column": 13 } } @@ -44621,15 +47679,15 @@ "binop": null, "updateContext": null }, - "start": 4945, - "end": 4946, + "start": 4726, + "end": 4727, "loc": { "start": { - "line": 206, + "line": 193, "column": 13 }, "end": { - "line": 206, + "line": 193, "column": 14 } } @@ -44648,15 +47706,15 @@ "updateContext": null }, "value": 0, - "start": 4947, - "end": 4948, + "start": 4728, + "end": 4729, "loc": { "start": { - "line": 206, + "line": 193, "column": 15 }, "end": { - "line": 206, + "line": 193, "column": 16 } } @@ -44674,15 +47732,15 @@ "binop": null, "updateContext": null }, - "start": 4948, - "end": 4949, + "start": 4729, + "end": 4730, "loc": { "start": { - "line": 206, + "line": 193, "column": 16 }, "end": { - "line": 206, + "line": 193, "column": 17 } } @@ -44700,15 +47758,15 @@ "binop": null }, "value": "y", - "start": 4962, - "end": 4963, + "start": 4743, + "end": 4744, "loc": { "start": { - "line": 207, + "line": 194, "column": 12 }, "end": { - "line": 207, + "line": 194, "column": 13 } } @@ -44726,15 +47784,15 @@ "binop": null, "updateContext": null }, - "start": 4963, - "end": 4964, + "start": 4744, + "end": 4745, "loc": { "start": { - "line": 207, + "line": 194, "column": 13 }, "end": { - "line": 207, + "line": 194, "column": 14 } } @@ -44753,15 +47811,15 @@ "updateContext": null }, "value": 1, - "start": 4965, - "end": 4966, + "start": 4746, + "end": 4747, "loc": { "start": { - "line": 207, + "line": 194, "column": 15 }, "end": { - "line": 207, + "line": 194, "column": 16 } } @@ -44778,15 +47836,15 @@ "postfix": false, "binop": null }, - "start": 4975, - "end": 4976, + "start": 4756, + "end": 4757, "loc": { "start": { - "line": 208, + "line": 195, "column": 8 }, "end": { - "line": 208, + "line": 195, "column": 9 } } @@ -44804,15 +47862,15 @@ "binop": null, "updateContext": null }, - "start": 4976, - "end": 4977, + "start": 4757, + "end": 4758, "loc": { "start": { - "line": 208, + "line": 195, "column": 9 }, "end": { - "line": 208, + "line": 195, "column": 10 } } @@ -44830,15 +47888,15 @@ "binop": null }, "value": "normalize", - "start": 4978, - "end": 4987, + "start": 4759, + "end": 4768, "loc": { "start": { - "line": 208, + "line": 195, "column": 11 }, "end": { - "line": 208, + "line": 195, "column": 20 } } @@ -44855,15 +47913,15 @@ "postfix": false, "binop": null }, - "start": 4987, - "end": 4988, + "start": 4768, + "end": 4769, "loc": { "start": { - "line": 208, + "line": 195, "column": 20 }, "end": { - "line": 208, + "line": 195, "column": 21 } } @@ -44881,15 +47939,15 @@ "binop": null }, "value": "Len_X", - "start": 4988, - "end": 4993, + "start": 4769, + "end": 4774, "loc": { "start": { - "line": 208, + "line": 195, "column": 21 }, "end": { - "line": 208, + "line": 195, "column": 26 } } @@ -44907,15 +47965,15 @@ "binop": null, "updateContext": null }, - "start": 4993, - "end": 4994, + "start": 4774, + "end": 4775, "loc": { "start": { - "line": 208, + "line": 195, "column": 26 }, "end": { - "line": 208, + "line": 195, "column": 27 } } @@ -44933,15 +47991,15 @@ "binop": null }, "value": "Len_Y", - "start": 4995, - "end": 5000, + "start": 4776, + "end": 4781, "loc": { "start": { - "line": 208, + "line": 195, "column": 28 }, "end": { - "line": 208, + "line": 195, "column": 33 } } @@ -44958,15 +48016,15 @@ "postfix": false, "binop": null }, - "start": 5000, - "end": 5001, + "start": 4781, + "end": 4782, "loc": { "start": { - "line": 208, + "line": 195, "column": 33 }, "end": { - "line": 208, + "line": 195, "column": 34 } } @@ -44983,15 +48041,15 @@ "postfix": false, "binop": null }, - "start": 5001, - "end": 5002, + "start": 4782, + "end": 4783, "loc": { "start": { - "line": 208, + "line": 195, "column": 34 }, "end": { - "line": 208, + "line": 195, "column": 35 } } @@ -45008,15 +48066,15 @@ "postfix": false, "binop": null }, - "start": 5002, - "end": 5003, + "start": 4783, + "end": 4784, "loc": { "start": { - "line": 208, + "line": 195, "column": 35 }, "end": { - "line": 208, + "line": 195, "column": 36 } } @@ -45035,15 +48093,15 @@ "updateContext": null }, "value": "*", - "start": 5004, - "end": 5005, + "start": 4785, + "end": 4786, "loc": { "start": { - "line": 208, + "line": 195, "column": 37 }, "end": { - "line": 208, + "line": 195, "column": 38 } } @@ -45062,15 +48120,15 @@ "updateContext": null }, "value": 180, - "start": 5006, - "end": 5009, + "start": 4787, + "end": 4790, "loc": { "start": { - "line": 208, + "line": 195, "column": 39 }, "end": { - "line": 208, + "line": 195, "column": 42 } } @@ -45089,15 +48147,15 @@ "updateContext": null }, "value": "/", - "start": 5010, - "end": 5011, + "start": 4791, + "end": 4792, "loc": { "start": { - "line": 208, + "line": 195, "column": 43 }, "end": { - "line": 208, + "line": 195, "column": 44 } } @@ -45115,15 +48173,15 @@ "binop": null }, "value": "Math", - "start": 5012, - "end": 5016, + "start": 4793, + "end": 4797, "loc": { "start": { - "line": 208, + "line": 195, "column": 45 }, "end": { - "line": 208, + "line": 195, "column": 49 } } @@ -45141,15 +48199,15 @@ "binop": null, "updateContext": null }, - "start": 5016, - "end": 5017, + "start": 4797, + "end": 4798, "loc": { "start": { - "line": 208, + "line": 195, "column": 49 }, "end": { - "line": 208, + "line": 195, "column": 50 } } @@ -45167,15 +48225,15 @@ "binop": null }, "value": "PI", - "start": 5017, - "end": 5019, + "start": 4798, + "end": 4800, "loc": { "start": { - "line": 208, + "line": 195, "column": 50 }, "end": { - "line": 208, + "line": 195, "column": 52 } } @@ -45192,15 +48250,15 @@ "postfix": false, "binop": null }, - "start": 5024, - "end": 5025, + "start": 4805, + "end": 4806, "loc": { "start": { - "line": 209, + "line": 196, "column": 4 }, "end": { - "line": 209, + "line": 196, "column": 5 } } @@ -45220,15 +48278,15 @@ "updateContext": null }, "value": "let", - "start": 5031, - "end": 5034, + "start": 4812, + "end": 4815, "loc": { "start": { - "line": 211, + "line": 198, "column": 4 }, "end": { - "line": 211, + "line": 198, "column": 7 } } @@ -45246,15 +48304,15 @@ "binop": null }, "value": "angleTarget", - "start": 5035, - "end": 5046, + "start": 4816, + "end": 4827, "loc": { "start": { - "line": 211, + "line": 198, "column": 8 }, "end": { - "line": 211, + "line": 198, "column": 19 } } @@ -45273,15 +48331,15 @@ "updateContext": null }, "value": "=", - "start": 5047, - "end": 5048, + "start": 4828, + "end": 4829, "loc": { "start": { - "line": 211, + "line": 198, "column": 20 }, "end": { - "line": 211, + "line": 198, "column": 21 } } @@ -45299,15 +48357,15 @@ "binop": null }, "value": "angle", - "start": 5049, - "end": 5054, + "start": 4830, + "end": 4835, "loc": { "start": { - "line": 211, + "line": 198, "column": 22 }, "end": { - "line": 211, + "line": 198, "column": 27 } } @@ -45324,15 +48382,15 @@ "postfix": false, "binop": null }, - "start": 5054, - "end": 5055, + "start": 4835, + "end": 4836, "loc": { "start": { - "line": 211, + "line": 198, "column": 27 }, "end": { - "line": 211, + "line": 198, "column": 28 } } @@ -45350,15 +48408,15 @@ "binop": null }, "value": "Len_X", - "start": 5055, - "end": 5060, + "start": 4836, + "end": 4841, "loc": { "start": { - "line": 211, + "line": 198, "column": 28 }, "end": { - "line": 211, + "line": 198, "column": 33 } } @@ -45376,15 +48434,15 @@ "binop": null, "updateContext": null }, - "start": 5060, - "end": 5061, + "start": 4841, + "end": 4842, "loc": { "start": { - "line": 211, + "line": 198, "column": 33 }, "end": { - "line": 211, + "line": 198, "column": 34 } } @@ -45402,15 +48460,15 @@ "binop": null }, "value": "Len_Y", - "start": 5062, - "end": 5067, + "start": 4843, + "end": 4848, "loc": { "start": { - "line": 211, + "line": 198, "column": 35 }, "end": { - "line": 211, + "line": 198, "column": 40 } } @@ -45427,15 +48485,15 @@ "postfix": false, "binop": null }, - "start": 5067, - "end": 5068, + "start": 4848, + "end": 4849, "loc": { "start": { - "line": 211, + "line": 198, "column": 40 }, "end": { - "line": 211, + "line": 198, "column": 41 } } @@ -45453,15 +48511,15 @@ "binop": null, "updateContext": null }, - "start": 5068, - "end": 5069, + "start": 4849, + "end": 4850, "loc": { "start": { - "line": 211, + "line": 198, "column": 41 }, "end": { - "line": 211, + "line": 198, "column": 42 } } @@ -45481,15 +48539,15 @@ "updateContext": null }, "value": "if", - "start": 5074, - "end": 5076, + "start": 4855, + "end": 4857, "loc": { "start": { - "line": 212, + "line": 199, "column": 4 }, "end": { - "line": 212, + "line": 199, "column": 6 } } @@ -45506,15 +48564,15 @@ "postfix": false, "binop": null }, - "start": 5077, - "end": 5078, + "start": 4858, + "end": 4859, "loc": { "start": { - "line": 212, + "line": 199, "column": 7 }, "end": { - "line": 212, + "line": 199, "column": 8 } } @@ -45532,15 +48590,15 @@ "binop": null }, "value": "transform", - "start": 5078, - "end": 5087, + "start": 4859, + "end": 4868, "loc": { "start": { - "line": 212, + "line": 199, "column": 8 }, "end": { - "line": 212, + "line": 199, "column": 17 } } @@ -45558,15 +48616,15 @@ "binop": null, "updateContext": null }, - "start": 5087, - "end": 5088, + "start": 4868, + "end": 4869, "loc": { "start": { - "line": 212, + "line": 199, "column": 17 }, "end": { - "line": 212, + "line": 199, "column": 18 } } @@ -45584,15 +48642,15 @@ "binop": null }, "value": "x", - "start": 5088, - "end": 5089, + "start": 4869, + "end": 4870, "loc": { "start": { - "line": 212, + "line": 199, "column": 18 }, "end": { - "line": 212, + "line": 199, "column": 19 } } @@ -45611,15 +48669,15 @@ "updateContext": null }, "value": "<", - "start": 5090, - "end": 5091, + "start": 4871, + "end": 4872, "loc": { "start": { - "line": 212, + "line": 199, "column": 20 }, "end": { - "line": 212, + "line": 199, "column": 21 } } @@ -45637,15 +48695,15 @@ "binop": null }, "value": "center", - "start": 5092, - "end": 5098, + "start": 4873, + "end": 4879, "loc": { "start": { - "line": 212, + "line": 199, "column": 22 }, "end": { - "line": 212, + "line": 199, "column": 28 } } @@ -45663,15 +48721,15 @@ "binop": null, "updateContext": null }, - "start": 5098, - "end": 5099, + "start": 4879, + "end": 4880, "loc": { "start": { - "line": 212, + "line": 199, "column": 28 }, "end": { - "line": 212, + "line": 199, "column": 29 } } @@ -45689,15 +48747,15 @@ "binop": null }, "value": "x", - "start": 5099, - "end": 5100, + "start": 4880, + "end": 4881, "loc": { "start": { - "line": 212, + "line": 199, "column": 29 }, "end": { - "line": 212, + "line": 199, "column": 30 } } @@ -45714,15 +48772,15 @@ "postfix": false, "binop": null }, - "start": 5100, - "end": 5101, + "start": 4881, + "end": 4882, "loc": { "start": { - "line": 212, + "line": 199, "column": 30 }, "end": { - "line": 212, + "line": 199, "column": 31 } } @@ -45740,15 +48798,15 @@ "binop": null }, "value": "angleTarget", - "start": 5102, - "end": 5113, + "start": 4883, + "end": 4894, "loc": { "start": { - "line": 212, + "line": 199, "column": 32 }, "end": { - "line": 212, + "line": 199, "column": 43 } } @@ -45767,15 +48825,15 @@ "updateContext": null }, "value": "=", - "start": 5114, - "end": 5115, + "start": 4895, + "end": 4896, "loc": { "start": { - "line": 212, + "line": 199, "column": 44 }, "end": { - "line": 212, + "line": 199, "column": 45 } } @@ -45794,15 +48852,15 @@ "updateContext": null }, "value": 360, - "start": 5116, - "end": 5119, + "start": 4897, + "end": 4900, "loc": { "start": { - "line": 212, + "line": 199, "column": 46 }, "end": { - "line": 212, + "line": 199, "column": 49 } } @@ -45821,15 +48879,15 @@ "updateContext": null }, "value": "-", - "start": 5120, - "end": 5121, + "start": 4901, + "end": 4902, "loc": { "start": { - "line": 212, + "line": 199, "column": 50 }, "end": { - "line": 212, + "line": 199, "column": 51 } } @@ -45847,15 +48905,15 @@ "binop": null }, "value": "angleTarget", - "start": 5122, - "end": 5133, + "start": 4903, + "end": 4914, "loc": { "start": { - "line": 212, + "line": 199, "column": 52 }, "end": { - "line": 212, + "line": 199, "column": 63 } } @@ -45873,15 +48931,15 @@ "binop": null, "updateContext": null }, - "start": 5133, - "end": 5134, + "start": 4914, + "end": 4915, "loc": { "start": { - "line": 212, + "line": 199, "column": 63 }, "end": { - "line": 212, + "line": 199, "column": 64 } } @@ -45901,15 +48959,15 @@ "updateContext": null }, "value": "let", - "start": 5139, - "end": 5142, + "start": 4920, + "end": 4923, "loc": { "start": { - "line": 213, + "line": 200, "column": 4 }, "end": { - "line": 213, + "line": 200, "column": 7 } } @@ -45927,15 +48985,15 @@ "binop": null }, "value": "angleLeftTop", - "start": 5143, - "end": 5155, + "start": 4924, + "end": 4936, "loc": { "start": { - "line": 213, + "line": 200, "column": 8 }, "end": { - "line": 213, + "line": 200, "column": 20 } } @@ -45954,15 +49012,15 @@ "updateContext": null }, "value": "=", - "start": 5156, - "end": 5157, + "start": 4937, + "end": 4938, "loc": { "start": { - "line": 213, + "line": 200, "column": 21 }, "end": { - "line": 213, + "line": 200, "column": 22 } } @@ -45981,15 +49039,15 @@ "updateContext": null }, "value": 360, - "start": 5158, - "end": 5161, + "start": 4939, + "end": 4942, "loc": { "start": { - "line": 213, + "line": 200, "column": 23 }, "end": { - "line": 213, + "line": 200, "column": 26 } } @@ -46008,15 +49066,15 @@ "updateContext": null }, "value": "-", - "start": 5162, - "end": 5163, + "start": 4943, + "end": 4944, "loc": { "start": { - "line": 213, + "line": 200, "column": 27 }, "end": { - "line": 213, + "line": 200, "column": 28 } } @@ -46034,15 +49092,15 @@ "binop": null }, "value": "angle", - "start": 5164, - "end": 5169, + "start": 4945, + "end": 4950, "loc": { "start": { - "line": 213, + "line": 200, "column": 29 }, "end": { - "line": 213, + "line": 200, "column": 34 } } @@ -46059,15 +49117,15 @@ "postfix": false, "binop": null }, - "start": 5169, - "end": 5170, + "start": 4950, + "end": 4951, "loc": { "start": { - "line": 213, + "line": 200, "column": 34 }, "end": { - "line": 213, + "line": 200, "column": 35 } } @@ -46085,15 +49143,15 @@ "binop": null }, "value": "rect", - "start": 5170, - "end": 5174, + "start": 4951, + "end": 4955, "loc": { "start": { - "line": 213, + "line": 200, "column": 35 }, "end": { - "line": 213, + "line": 200, "column": 39 } } @@ -46111,15 +49169,15 @@ "binop": null, "updateContext": null }, - "start": 5174, - "end": 5175, + "start": 4955, + "end": 4956, "loc": { "start": { - "line": 213, + "line": 200, "column": 39 }, "end": { - "line": 213, + "line": 200, "column": 40 } } @@ -46137,15 +49195,15 @@ "binop": null }, "value": "left", - "start": 5175, - "end": 5179, + "start": 4956, + "end": 4960, "loc": { "start": { - "line": 213, + "line": 200, "column": 40 }, "end": { - "line": 213, + "line": 200, "column": 44 } } @@ -46164,15 +49222,15 @@ "updateContext": null }, "value": "-", - "start": 5180, - "end": 5181, + "start": 4961, + "end": 4962, "loc": { "start": { - "line": 213, + "line": 200, "column": 45 }, "end": { - "line": 213, + "line": 200, "column": 46 } } @@ -46190,15 +49248,15 @@ "binop": null }, "value": "center", - "start": 5182, - "end": 5188, + "start": 4963, + "end": 4969, "loc": { "start": { - "line": 213, + "line": 200, "column": 47 }, "end": { - "line": 213, + "line": 200, "column": 53 } } @@ -46216,15 +49274,15 @@ "binop": null, "updateContext": null }, - "start": 5188, - "end": 5189, + "start": 4969, + "end": 4970, "loc": { "start": { - "line": 213, + "line": 200, "column": 53 }, "end": { - "line": 213, + "line": 200, "column": 54 } } @@ -46242,15 +49300,15 @@ "binop": null }, "value": "x", - "start": 5189, - "end": 5190, + "start": 4970, + "end": 4971, "loc": { "start": { - "line": 213, + "line": 200, "column": 54 }, "end": { - "line": 213, + "line": 200, "column": 55 } } @@ -46268,15 +49326,15 @@ "binop": null, "updateContext": null }, - "start": 5190, - "end": 5191, + "start": 4971, + "end": 4972, "loc": { "start": { - "line": 213, + "line": 200, "column": 55 }, "end": { - "line": 213, + "line": 200, "column": 56 } } @@ -46293,15 +49351,15 @@ "postfix": false, "binop": null }, - "start": 5192, - "end": 5193, + "start": 4973, + "end": 4974, "loc": { "start": { - "line": 213, + "line": 200, "column": 57 }, "end": { - "line": 213, + "line": 200, "column": 58 } } @@ -46319,15 +49377,15 @@ "binop": null }, "value": "rect", - "start": 5193, - "end": 5197, + "start": 4974, + "end": 4978, "loc": { "start": { - "line": 213, + "line": 200, "column": 58 }, "end": { - "line": 213, + "line": 200, "column": 62 } } @@ -46345,15 +49403,15 @@ "binop": null, "updateContext": null }, - "start": 5197, - "end": 5198, + "start": 4978, + "end": 4979, "loc": { "start": { - "line": 213, + "line": 200, "column": 62 }, "end": { - "line": 213, + "line": 200, "column": 63 } } @@ -46371,15 +49429,15 @@ "binop": null }, "value": "top", - "start": 5198, - "end": 5201, + "start": 4979, + "end": 4982, "loc": { "start": { - "line": 213, + "line": 200, "column": 63 }, "end": { - "line": 213, + "line": 200, "column": 66 } } @@ -46398,15 +49456,15 @@ "updateContext": null }, "value": "-", - "start": 5202, - "end": 5203, + "start": 4983, + "end": 4984, "loc": { "start": { - "line": 213, + "line": 200, "column": 67 }, "end": { - "line": 213, + "line": 200, "column": 68 } } @@ -46424,15 +49482,15 @@ "binop": null }, "value": "center", - "start": 5204, - "end": 5210, + "start": 4985, + "end": 4991, "loc": { "start": { - "line": 213, + "line": 200, "column": 69 }, "end": { - "line": 213, + "line": 200, "column": 75 } } @@ -46450,15 +49508,15 @@ "binop": null, "updateContext": null }, - "start": 5210, - "end": 5211, + "start": 4991, + "end": 4992, "loc": { "start": { - "line": 213, + "line": 200, "column": 75 }, "end": { - "line": 213, + "line": 200, "column": 76 } } @@ -46476,15 +49534,15 @@ "binop": null }, "value": "y", - "start": 5211, - "end": 5212, + "start": 4992, + "end": 4993, "loc": { "start": { - "line": 213, + "line": 200, "column": 76 }, "end": { - "line": 213, + "line": 200, "column": 77 } } @@ -46501,15 +49559,15 @@ "postfix": false, "binop": null }, - "start": 5212, - "end": 5213, + "start": 4993, + "end": 4994, "loc": { "start": { - "line": 213, + "line": 200, "column": 77 }, "end": { - "line": 213, + "line": 200, "column": 78 } } @@ -46528,15 +49586,15 @@ "updateContext": null }, "value": "*", - "start": 5214, - "end": 5215, + "start": 4995, + "end": 4996, "loc": { "start": { - "line": 213, + "line": 200, "column": 79 }, "end": { - "line": 213, + "line": 200, "column": 80 } } @@ -46555,15 +49613,15 @@ "updateContext": null }, "value": "-", - "start": 5216, - "end": 5217, + "start": 4997, + "end": 4998, "loc": { "start": { - "line": 213, + "line": 200, "column": 81 }, "end": { - "line": 213, + "line": 200, "column": 82 } } @@ -46582,15 +49640,15 @@ "updateContext": null }, "value": 1, - "start": 5217, - "end": 5218, + "start": 4998, + "end": 4999, "loc": { "start": { - "line": 213, + "line": 200, "column": 82 }, "end": { - "line": 213, + "line": 200, "column": 83 } } @@ -46607,15 +49665,15 @@ "postfix": false, "binop": null }, - "start": 5218, - "end": 5219, + "start": 4999, + "end": 5000, "loc": { "start": { - "line": 213, + "line": 200, "column": 83 }, "end": { - "line": 213, + "line": 200, "column": 84 } } @@ -46633,15 +49691,15 @@ "binop": null, "updateContext": null }, - "start": 5219, - "end": 5220, + "start": 5000, + "end": 5001, "loc": { "start": { - "line": 213, + "line": 200, "column": 84 }, "end": { - "line": 213, + "line": 200, "column": 85 } } @@ -46661,15 +49719,15 @@ "updateContext": null }, "value": "let", - "start": 5225, - "end": 5228, + "start": 5006, + "end": 5009, "loc": { "start": { - "line": 214, + "line": 201, "column": 4 }, "end": { - "line": 214, + "line": 201, "column": 7 } } @@ -46687,15 +49745,15 @@ "binop": null }, "value": "angleLeftBottom", - "start": 5229, - "end": 5244, + "start": 5010, + "end": 5025, "loc": { "start": { - "line": 214, + "line": 201, "column": 8 }, "end": { - "line": 214, + "line": 201, "column": 23 } } @@ -46714,15 +49772,15 @@ "updateContext": null }, "value": "=", - "start": 5245, - "end": 5246, + "start": 5026, + "end": 5027, "loc": { "start": { - "line": 214, + "line": 201, "column": 24 }, "end": { - "line": 214, + "line": 201, "column": 25 } } @@ -46741,15 +49799,15 @@ "updateContext": null }, "value": 360, - "start": 5247, - "end": 5250, + "start": 5028, + "end": 5031, "loc": { "start": { - "line": 214, + "line": 201, "column": 26 }, "end": { - "line": 214, + "line": 201, "column": 29 } } @@ -46768,15 +49826,15 @@ "updateContext": null }, "value": "-", - "start": 5251, - "end": 5252, + "start": 5032, + "end": 5033, "loc": { "start": { - "line": 214, + "line": 201, "column": 30 }, "end": { - "line": 214, + "line": 201, "column": 31 } } @@ -46794,15 +49852,15 @@ "binop": null }, "value": "angle", - "start": 5253, - "end": 5258, + "start": 5034, + "end": 5039, "loc": { "start": { - "line": 214, + "line": 201, "column": 32 }, "end": { - "line": 214, + "line": 201, "column": 37 } } @@ -46819,15 +49877,15 @@ "postfix": false, "binop": null }, - "start": 5258, - "end": 5259, + "start": 5039, + "end": 5040, "loc": { "start": { - "line": 214, + "line": 201, "column": 37 }, "end": { - "line": 214, + "line": 201, "column": 38 } } @@ -46845,15 +49903,15 @@ "binop": null }, "value": "rect", - "start": 5259, - "end": 5263, + "start": 5040, + "end": 5044, "loc": { "start": { - "line": 214, + "line": 201, "column": 38 }, "end": { - "line": 214, + "line": 201, "column": 42 } } @@ -46871,15 +49929,15 @@ "binop": null, "updateContext": null }, - "start": 5263, - "end": 5264, + "start": 5044, + "end": 5045, "loc": { "start": { - "line": 214, + "line": 201, "column": 42 }, "end": { - "line": 214, + "line": 201, "column": 43 } } @@ -46897,15 +49955,15 @@ "binop": null }, "value": "left", - "start": 5264, - "end": 5268, + "start": 5045, + "end": 5049, "loc": { "start": { - "line": 214, + "line": 201, "column": 43 }, "end": { - "line": 214, + "line": 201, "column": 47 } } @@ -46924,15 +49982,15 @@ "updateContext": null }, "value": "-", - "start": 5269, - "end": 5270, + "start": 5050, + "end": 5051, "loc": { "start": { - "line": 214, + "line": 201, "column": 48 }, "end": { - "line": 214, + "line": 201, "column": 49 } } @@ -46950,15 +50008,15 @@ "binop": null }, "value": "center", - "start": 5271, - "end": 5277, + "start": 5052, + "end": 5058, "loc": { "start": { - "line": 214, + "line": 201, "column": 50 }, "end": { - "line": 214, + "line": 201, "column": 56 } } @@ -46976,15 +50034,15 @@ "binop": null, "updateContext": null }, - "start": 5277, - "end": 5278, + "start": 5058, + "end": 5059, "loc": { "start": { - "line": 214, + "line": 201, "column": 56 }, "end": { - "line": 214, + "line": 201, "column": 57 } } @@ -47002,15 +50060,15 @@ "binop": null }, "value": "x", - "start": 5278, - "end": 5279, + "start": 5059, + "end": 5060, "loc": { "start": { - "line": 214, + "line": 201, "column": 57 }, "end": { - "line": 214, + "line": 201, "column": 58 } } @@ -47028,15 +50086,15 @@ "binop": null, "updateContext": null }, - "start": 5279, - "end": 5280, + "start": 5060, + "end": 5061, "loc": { "start": { - "line": 214, + "line": 201, "column": 58 }, "end": { - "line": 214, + "line": 201, "column": 59 } } @@ -47053,15 +50111,15 @@ "postfix": false, "binop": null }, - "start": 5281, - "end": 5282, + "start": 5062, + "end": 5063, "loc": { "start": { - "line": 214, + "line": 201, "column": 60 }, "end": { - "line": 214, + "line": 201, "column": 61 } } @@ -47079,15 +50137,15 @@ "binop": null }, "value": "rect", - "start": 5282, - "end": 5286, + "start": 5063, + "end": 5067, "loc": { "start": { - "line": 214, + "line": 201, "column": 61 }, "end": { - "line": 214, + "line": 201, "column": 65 } } @@ -47105,15 +50163,15 @@ "binop": null, "updateContext": null }, - "start": 5286, - "end": 5287, + "start": 5067, + "end": 5068, "loc": { "start": { - "line": 214, + "line": 201, "column": 65 }, "end": { - "line": 214, + "line": 201, "column": 66 } } @@ -47131,15 +50189,15 @@ "binop": null }, "value": "top", - "start": 5287, - "end": 5290, + "start": 5068, + "end": 5071, "loc": { "start": { - "line": 214, + "line": 201, "column": 66 }, "end": { - "line": 214, + "line": 201, "column": 69 } } @@ -47158,15 +50216,15 @@ "updateContext": null }, "value": "+", - "start": 5291, - "end": 5292, + "start": 5072, + "end": 5073, "loc": { "start": { - "line": 214, + "line": 201, "column": 70 }, "end": { - "line": 214, + "line": 201, "column": 71 } } @@ -47184,15 +50242,15 @@ "binop": null }, "value": "rect", - "start": 5293, - "end": 5297, + "start": 5074, + "end": 5078, "loc": { "start": { - "line": 214, + "line": 201, "column": 72 }, "end": { - "line": 214, + "line": 201, "column": 76 } } @@ -47210,15 +50268,15 @@ "binop": null, "updateContext": null }, - "start": 5297, - "end": 5298, + "start": 5078, + "end": 5079, "loc": { "start": { - "line": 214, + "line": 201, "column": 76 }, "end": { - "line": 214, + "line": 201, "column": 77 } } @@ -47236,15 +50294,15 @@ "binop": null }, "value": "height", - "start": 5298, - "end": 5304, + "start": 5079, + "end": 5085, "loc": { "start": { - "line": 214, + "line": 201, "column": 77 }, "end": { - "line": 214, + "line": 201, "column": 83 } } @@ -47263,15 +50321,15 @@ "updateContext": null }, "value": "-", - "start": 5305, - "end": 5306, + "start": 5086, + "end": 5087, "loc": { "start": { - "line": 214, + "line": 201, "column": 84 }, "end": { - "line": 214, + "line": 201, "column": 85 } } @@ -47289,15 +50347,15 @@ "binop": null }, "value": "center", - "start": 5307, - "end": 5313, + "start": 5088, + "end": 5094, "loc": { "start": { - "line": 214, + "line": 201, "column": 86 }, "end": { - "line": 214, + "line": 201, "column": 92 } } @@ -47315,15 +50373,15 @@ "binop": null, "updateContext": null }, - "start": 5313, - "end": 5314, + "start": 5094, + "end": 5095, "loc": { "start": { - "line": 214, + "line": 201, "column": 92 }, "end": { - "line": 214, + "line": 201, "column": 93 } } @@ -47341,15 +50399,15 @@ "binop": null }, "value": "y", - "start": 5314, - "end": 5315, + "start": 5095, + "end": 5096, "loc": { "start": { - "line": 214, + "line": 201, "column": 93 }, "end": { - "line": 214, + "line": 201, "column": 94 } } @@ -47366,15 +50424,15 @@ "postfix": false, "binop": null }, - "start": 5315, - "end": 5316, + "start": 5096, + "end": 5097, "loc": { "start": { - "line": 214, + "line": 201, "column": 94 }, "end": { - "line": 214, + "line": 201, "column": 95 } } @@ -47393,15 +50451,15 @@ "updateContext": null }, "value": "*", - "start": 5317, - "end": 5318, + "start": 5098, + "end": 5099, "loc": { "start": { - "line": 214, + "line": 201, "column": 96 }, "end": { - "line": 214, + "line": 201, "column": 97 } } @@ -47420,15 +50478,15 @@ "updateContext": null }, "value": "-", - "start": 5319, - "end": 5320, + "start": 5100, + "end": 5101, "loc": { "start": { - "line": 214, + "line": 201, "column": 98 }, "end": { - "line": 214, + "line": 201, "column": 99 } } @@ -47447,15 +50505,15 @@ "updateContext": null }, "value": 1, - "start": 5320, - "end": 5321, + "start": 5101, + "end": 5102, "loc": { "start": { - "line": 214, + "line": 201, "column": 99 }, "end": { - "line": 214, + "line": 201, "column": 100 } } @@ -47472,15 +50530,15 @@ "postfix": false, "binop": null }, - "start": 5321, - "end": 5322, + "start": 5102, + "end": 5103, "loc": { "start": { - "line": 214, + "line": 201, "column": 100 }, "end": { - "line": 214, + "line": 201, "column": 101 } } @@ -47498,15 +50556,15 @@ "binop": null, "updateContext": null }, - "start": 5322, - "end": 5323, + "start": 5103, + "end": 5104, "loc": { "start": { - "line": 214, + "line": 201, "column": 101 }, "end": { - "line": 214, + "line": 201, "column": 102 } } @@ -47526,15 +50584,15 @@ "updateContext": null }, "value": "let", - "start": 5328, - "end": 5331, + "start": 5109, + "end": 5112, "loc": { "start": { - "line": 215, + "line": 202, "column": 4 }, "end": { - "line": 215, + "line": 202, "column": 7 } } @@ -47552,15 +50610,15 @@ "binop": null }, "value": "angleRightTop", - "start": 5332, - "end": 5345, + "start": 5113, + "end": 5126, "loc": { "start": { - "line": 215, + "line": 202, "column": 8 }, "end": { - "line": 215, + "line": 202, "column": 21 } } @@ -47579,15 +50637,15 @@ "updateContext": null }, "value": "=", - "start": 5346, - "end": 5347, + "start": 5127, + "end": 5128, "loc": { "start": { - "line": 215, + "line": 202, "column": 22 }, "end": { - "line": 215, + "line": 202, "column": 23 } } @@ -47605,15 +50663,15 @@ "binop": null }, "value": "angle", - "start": 5348, - "end": 5353, + "start": 5129, + "end": 5134, "loc": { "start": { - "line": 215, + "line": 202, "column": 24 }, "end": { - "line": 215, + "line": 202, "column": 29 } } @@ -47630,15 +50688,15 @@ "postfix": false, "binop": null }, - "start": 5353, - "end": 5354, + "start": 5134, + "end": 5135, "loc": { "start": { - "line": 215, + "line": 202, "column": 29 }, "end": { - "line": 215, + "line": 202, "column": 30 } } @@ -47656,15 +50714,15 @@ "binop": null }, "value": "rect", - "start": 5354, - "end": 5358, + "start": 5135, + "end": 5139, "loc": { "start": { - "line": 215, + "line": 202, "column": 30 }, "end": { - "line": 215, + "line": 202, "column": 34 } } @@ -47682,15 +50740,15 @@ "binop": null, "updateContext": null }, - "start": 5358, - "end": 5359, + "start": 5139, + "end": 5140, "loc": { "start": { - "line": 215, + "line": 202, "column": 34 }, "end": { - "line": 215, + "line": 202, "column": 35 } } @@ -47708,15 +50766,15 @@ "binop": null }, "value": "left", - "start": 5359, - "end": 5363, + "start": 5140, + "end": 5144, "loc": { "start": { - "line": 215, + "line": 202, "column": 35 }, "end": { - "line": 215, + "line": 202, "column": 39 } } @@ -47735,15 +50793,15 @@ "updateContext": null }, "value": "+", - "start": 5364, - "end": 5365, + "start": 5145, + "end": 5146, "loc": { "start": { - "line": 215, + "line": 202, "column": 40 }, "end": { - "line": 215, + "line": 202, "column": 41 } } @@ -47761,15 +50819,15 @@ "binop": null }, "value": "rect", - "start": 5366, - "end": 5370, + "start": 5147, + "end": 5151, "loc": { "start": { - "line": 215, + "line": 202, "column": 42 }, "end": { - "line": 215, + "line": 202, "column": 46 } } @@ -47787,15 +50845,15 @@ "binop": null, "updateContext": null }, - "start": 5370, - "end": 5371, + "start": 5151, + "end": 5152, "loc": { "start": { - "line": 215, + "line": 202, "column": 46 }, "end": { - "line": 215, + "line": 202, "column": 47 } } @@ -47813,15 +50871,15 @@ "binop": null }, "value": "width", - "start": 5371, - "end": 5376, + "start": 5152, + "end": 5157, "loc": { "start": { - "line": 215, + "line": 202, "column": 47 }, "end": { - "line": 215, + "line": 202, "column": 52 } } @@ -47840,15 +50898,15 @@ "updateContext": null }, "value": "-", - "start": 5377, - "end": 5378, + "start": 5158, + "end": 5159, "loc": { "start": { - "line": 215, + "line": 202, "column": 53 }, "end": { - "line": 215, + "line": 202, "column": 54 } } @@ -47866,15 +50924,15 @@ "binop": null }, "value": "center", - "start": 5379, - "end": 5385, + "start": 5160, + "end": 5166, "loc": { "start": { - "line": 215, + "line": 202, "column": 55 }, "end": { - "line": 215, + "line": 202, "column": 61 } } @@ -47892,15 +50950,15 @@ "binop": null, "updateContext": null }, - "start": 5385, - "end": 5386, + "start": 5166, + "end": 5167, "loc": { "start": { - "line": 215, + "line": 202, "column": 61 }, "end": { - "line": 215, + "line": 202, "column": 62 } } @@ -47918,15 +50976,15 @@ "binop": null }, "value": "x", - "start": 5386, - "end": 5387, + "start": 5167, + "end": 5168, "loc": { "start": { - "line": 215, + "line": 202, "column": 62 }, "end": { - "line": 215, + "line": 202, "column": 63 } } @@ -47944,15 +51002,15 @@ "binop": null, "updateContext": null }, - "start": 5387, - "end": 5388, + "start": 5168, + "end": 5169, "loc": { "start": { - "line": 215, + "line": 202, "column": 63 }, "end": { - "line": 215, + "line": 202, "column": 64 } } @@ -47969,15 +51027,15 @@ "postfix": false, "binop": null }, - "start": 5389, - "end": 5390, + "start": 5170, + "end": 5171, "loc": { "start": { - "line": 215, + "line": 202, "column": 65 }, "end": { - "line": 215, + "line": 202, "column": 66 } } @@ -47995,15 +51053,15 @@ "binop": null }, "value": "rect", - "start": 5390, - "end": 5394, + "start": 5171, + "end": 5175, "loc": { "start": { - "line": 215, + "line": 202, "column": 66 }, "end": { - "line": 215, + "line": 202, "column": 70 } } @@ -48021,15 +51079,15 @@ "binop": null, "updateContext": null }, - "start": 5394, - "end": 5395, + "start": 5175, + "end": 5176, "loc": { "start": { - "line": 215, + "line": 202, "column": 70 }, "end": { - "line": 215, + "line": 202, "column": 71 } } @@ -48047,15 +51105,15 @@ "binop": null }, "value": "top", - "start": 5395, - "end": 5398, + "start": 5176, + "end": 5179, "loc": { "start": { - "line": 215, + "line": 202, "column": 71 }, "end": { - "line": 215, + "line": 202, "column": 74 } } @@ -48074,15 +51132,15 @@ "updateContext": null }, "value": "-", - "start": 5399, - "end": 5400, + "start": 5180, + "end": 5181, "loc": { "start": { - "line": 215, + "line": 202, "column": 75 }, "end": { - "line": 215, + "line": 202, "column": 76 } } @@ -48100,15 +51158,15 @@ "binop": null }, "value": "center", - "start": 5401, - "end": 5407, + "start": 5182, + "end": 5188, "loc": { "start": { - "line": 215, + "line": 202, "column": 77 }, "end": { - "line": 215, + "line": 202, "column": 83 } } @@ -48126,15 +51184,15 @@ "binop": null, "updateContext": null }, - "start": 5407, - "end": 5408, + "start": 5188, + "end": 5189, "loc": { "start": { - "line": 215, + "line": 202, "column": 83 }, "end": { - "line": 215, + "line": 202, "column": 84 } } @@ -48152,15 +51210,15 @@ "binop": null }, "value": "y", - "start": 5408, - "end": 5409, + "start": 5189, + "end": 5190, "loc": { "start": { - "line": 215, + "line": 202, "column": 84 }, "end": { - "line": 215, + "line": 202, "column": 85 } } @@ -48177,15 +51235,15 @@ "postfix": false, "binop": null }, - "start": 5409, - "end": 5410, + "start": 5190, + "end": 5191, "loc": { "start": { - "line": 215, + "line": 202, "column": 85 }, "end": { - "line": 215, + "line": 202, "column": 86 } } @@ -48204,15 +51262,15 @@ "updateContext": null }, "value": "*", - "start": 5411, - "end": 5412, + "start": 5192, + "end": 5193, "loc": { "start": { - "line": 215, + "line": 202, "column": 87 }, "end": { - "line": 215, + "line": 202, "column": 88 } } @@ -48231,15 +51289,15 @@ "updateContext": null }, "value": "-", - "start": 5413, - "end": 5414, + "start": 5194, + "end": 5195, "loc": { "start": { - "line": 215, + "line": 202, "column": 89 }, "end": { - "line": 215, + "line": 202, "column": 90 } } @@ -48258,15 +51316,15 @@ "updateContext": null }, "value": 1, - "start": 5414, - "end": 5415, + "start": 5195, + "end": 5196, "loc": { "start": { - "line": 215, + "line": 202, "column": 90 }, "end": { - "line": 215, + "line": 202, "column": 91 } } @@ -48283,15 +51341,15 @@ "postfix": false, "binop": null }, - "start": 5415, - "end": 5416, + "start": 5196, + "end": 5197, "loc": { "start": { - "line": 215, + "line": 202, "column": 91 }, "end": { - "line": 215, + "line": 202, "column": 92 } } @@ -48309,15 +51367,15 @@ "binop": null, "updateContext": null }, - "start": 5416, - "end": 5417, + "start": 5197, + "end": 5198, "loc": { "start": { - "line": 215, + "line": 202, "column": 92 }, "end": { - "line": 215, + "line": 202, "column": 93 } } @@ -48337,15 +51395,15 @@ "updateContext": null }, "value": "let", - "start": 5422, - "end": 5425, + "start": 5203, + "end": 5206, "loc": { "start": { - "line": 216, + "line": 203, "column": 4 }, "end": { - "line": 216, + "line": 203, "column": 7 } } @@ -48363,15 +51421,15 @@ "binop": null }, "value": "angleRightBottom", - "start": 5426, - "end": 5442, + "start": 5207, + "end": 5223, "loc": { "start": { - "line": 216, + "line": 203, "column": 8 }, "end": { - "line": 216, + "line": 203, "column": 24 } } @@ -48390,15 +51448,15 @@ "updateContext": null }, "value": "=", - "start": 5443, - "end": 5444, + "start": 5224, + "end": 5225, "loc": { "start": { - "line": 216, + "line": 203, "column": 25 }, "end": { - "line": 216, + "line": 203, "column": 26 } } @@ -48416,15 +51474,15 @@ "binop": null }, "value": "angle", - "start": 5445, - "end": 5450, + "start": 5226, + "end": 5231, "loc": { "start": { - "line": 216, + "line": 203, "column": 27 }, "end": { - "line": 216, + "line": 203, "column": 32 } } @@ -48441,15 +51499,15 @@ "postfix": false, "binop": null }, - "start": 5450, - "end": 5451, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 216, + "line": 203, "column": 32 }, "end": { - "line": 216, + "line": 203, "column": 33 } } @@ -48467,15 +51525,15 @@ "binop": null }, "value": "rect", - "start": 5451, - "end": 5455, + "start": 5232, + "end": 5236, "loc": { "start": { - "line": 216, + "line": 203, "column": 33 }, "end": { - "line": 216, + "line": 203, "column": 37 } } @@ -48493,15 +51551,15 @@ "binop": null, "updateContext": null }, - "start": 5455, - "end": 5456, + "start": 5236, + "end": 5237, "loc": { "start": { - "line": 216, + "line": 203, "column": 37 }, "end": { - "line": 216, + "line": 203, "column": 38 } } @@ -48519,15 +51577,15 @@ "binop": null }, "value": "left", - "start": 5456, - "end": 5460, + "start": 5237, + "end": 5241, "loc": { "start": { - "line": 216, + "line": 203, "column": 38 }, "end": { - "line": 216, + "line": 203, "column": 42 } } @@ -48546,15 +51604,15 @@ "updateContext": null }, "value": "+", - "start": 5461, - "end": 5462, + "start": 5242, + "end": 5243, "loc": { "start": { - "line": 216, + "line": 203, "column": 43 }, "end": { - "line": 216, + "line": 203, "column": 44 } } @@ -48572,15 +51630,15 @@ "binop": null }, "value": "rect", - "start": 5463, - "end": 5467, + "start": 5244, + "end": 5248, "loc": { "start": { - "line": 216, + "line": 203, "column": 45 }, "end": { - "line": 216, + "line": 203, "column": 49 } } @@ -48598,15 +51656,15 @@ "binop": null, "updateContext": null }, - "start": 5467, - "end": 5468, + "start": 5248, + "end": 5249, "loc": { "start": { - "line": 216, + "line": 203, "column": 49 }, "end": { - "line": 216, + "line": 203, "column": 50 } } @@ -48624,15 +51682,15 @@ "binop": null }, "value": "width", - "start": 5468, - "end": 5473, + "start": 5249, + "end": 5254, "loc": { "start": { - "line": 216, + "line": 203, "column": 50 }, "end": { - "line": 216, + "line": 203, "column": 55 } } @@ -48651,15 +51709,15 @@ "updateContext": null }, "value": "-", - "start": 5474, - "end": 5475, + "start": 5255, + "end": 5256, "loc": { "start": { - "line": 216, + "line": 203, "column": 56 }, "end": { - "line": 216, + "line": 203, "column": 57 } } @@ -48677,15 +51735,15 @@ "binop": null }, "value": "center", - "start": 5476, - "end": 5482, + "start": 5257, + "end": 5263, "loc": { "start": { - "line": 216, + "line": 203, "column": 58 }, "end": { - "line": 216, + "line": 203, "column": 64 } } @@ -48703,15 +51761,15 @@ "binop": null, "updateContext": null }, - "start": 5482, - "end": 5483, + "start": 5263, + "end": 5264, "loc": { "start": { - "line": 216, + "line": 203, "column": 64 }, "end": { - "line": 216, + "line": 203, "column": 65 } } @@ -48729,15 +51787,15 @@ "binop": null }, "value": "x", - "start": 5483, - "end": 5484, + "start": 5264, + "end": 5265, "loc": { "start": { - "line": 216, + "line": 203, "column": 65 }, "end": { - "line": 216, + "line": 203, "column": 66 } } @@ -48755,15 +51813,15 @@ "binop": null, "updateContext": null }, - "start": 5484, - "end": 5485, + "start": 5265, + "end": 5266, "loc": { "start": { - "line": 216, + "line": 203, "column": 66 }, "end": { - "line": 216, + "line": 203, "column": 67 } } @@ -48780,15 +51838,15 @@ "postfix": false, "binop": null }, - "start": 5486, - "end": 5487, + "start": 5267, + "end": 5268, "loc": { "start": { - "line": 216, + "line": 203, "column": 68 }, "end": { - "line": 216, + "line": 203, "column": 69 } } @@ -48806,15 +51864,15 @@ "binop": null }, "value": "rect", - "start": 5487, - "end": 5491, + "start": 5268, + "end": 5272, "loc": { "start": { - "line": 216, + "line": 203, "column": 69 }, "end": { - "line": 216, + "line": 203, "column": 73 } } @@ -48832,15 +51890,15 @@ "binop": null, "updateContext": null }, - "start": 5491, - "end": 5492, + "start": 5272, + "end": 5273, "loc": { "start": { - "line": 216, + "line": 203, "column": 73 }, "end": { - "line": 216, + "line": 203, "column": 74 } } @@ -48858,15 +51916,15 @@ "binop": null }, "value": "top", - "start": 5492, - "end": 5495, + "start": 5273, + "end": 5276, "loc": { "start": { - "line": 216, + "line": 203, "column": 74 }, "end": { - "line": 216, + "line": 203, "column": 77 } } @@ -48885,15 +51943,15 @@ "updateContext": null }, "value": "+", - "start": 5496, - "end": 5497, + "start": 5277, + "end": 5278, "loc": { "start": { - "line": 216, + "line": 203, "column": 78 }, "end": { - "line": 216, + "line": 203, "column": 79 } } @@ -48911,15 +51969,15 @@ "binop": null }, "value": "rect", - "start": 5498, - "end": 5502, + "start": 5279, + "end": 5283, "loc": { "start": { - "line": 216, + "line": 203, "column": 80 }, "end": { - "line": 216, + "line": 203, "column": 84 } } @@ -48937,15 +51995,15 @@ "binop": null, "updateContext": null }, - "start": 5502, - "end": 5503, + "start": 5283, + "end": 5284, "loc": { "start": { - "line": 216, + "line": 203, "column": 84 }, "end": { - "line": 216, + "line": 203, "column": 85 } } @@ -48963,15 +52021,15 @@ "binop": null }, "value": "height", - "start": 5503, - "end": 5509, + "start": 5284, + "end": 5290, "loc": { "start": { - "line": 216, + "line": 203, "column": 85 }, "end": { - "line": 216, + "line": 203, "column": 91 } } @@ -48990,15 +52048,15 @@ "updateContext": null }, "value": "-", - "start": 5510, - "end": 5511, + "start": 5291, + "end": 5292, "loc": { "start": { - "line": 216, + "line": 203, "column": 92 }, "end": { - "line": 216, + "line": 203, "column": 93 } } @@ -49016,15 +52074,15 @@ "binop": null }, "value": "center", - "start": 5512, - "end": 5518, + "start": 5293, + "end": 5299, "loc": { "start": { - "line": 216, + "line": 203, "column": 94 }, "end": { - "line": 216, + "line": 203, "column": 100 } } @@ -49042,15 +52100,15 @@ "binop": null, "updateContext": null }, - "start": 5518, - "end": 5519, + "start": 5299, + "end": 5300, "loc": { "start": { - "line": 216, + "line": 203, "column": 100 }, "end": { - "line": 216, + "line": 203, "column": 101 } } @@ -49068,15 +52126,15 @@ "binop": null }, "value": "y", - "start": 5519, - "end": 5520, + "start": 5300, + "end": 5301, "loc": { "start": { - "line": 216, + "line": 203, "column": 101 }, "end": { - "line": 216, + "line": 203, "column": 102 } } @@ -49093,15 +52151,15 @@ "postfix": false, "binop": null }, - "start": 5520, - "end": 5521, + "start": 5301, + "end": 5302, "loc": { "start": { - "line": 216, + "line": 203, "column": 102 }, "end": { - "line": 216, + "line": 203, "column": 103 } } @@ -49120,15 +52178,15 @@ "updateContext": null }, "value": "*", - "start": 5522, - "end": 5523, + "start": 5303, + "end": 5304, "loc": { "start": { - "line": 216, + "line": 203, "column": 104 }, "end": { - "line": 216, + "line": 203, "column": 105 } } @@ -49147,15 +52205,15 @@ "updateContext": null }, "value": "-", - "start": 5524, - "end": 5525, + "start": 5305, + "end": 5306, "loc": { "start": { - "line": 216, + "line": 203, "column": 106 }, "end": { - "line": 216, + "line": 203, "column": 107 } } @@ -49174,15 +52232,15 @@ "updateContext": null }, "value": 1, - "start": 5525, - "end": 5526, + "start": 5306, + "end": 5307, "loc": { "start": { - "line": 216, + "line": 203, "column": 107 }, "end": { - "line": 216, + "line": 203, "column": 108 } } @@ -49199,15 +52257,15 @@ "postfix": false, "binop": null }, - "start": 5526, - "end": 5527, + "start": 5307, + "end": 5308, "loc": { "start": { - "line": 216, + "line": 203, "column": 108 }, "end": { - "line": 216, + "line": 203, "column": 109 } } @@ -49225,15 +52283,15 @@ "binop": null, "updateContext": null }, - "start": 5527, - "end": 5528, + "start": 5308, + "end": 5309, "loc": { "start": { - "line": 216, + "line": 203, "column": 109 }, "end": { - "line": 216, + "line": 203, "column": 110 } } @@ -49253,15 +52311,15 @@ "updateContext": null }, "value": "let", - "start": 5533, - "end": 5536, + "start": 5314, + "end": 5317, "loc": { "start": { - "line": 217, + "line": 204, "column": 4 }, "end": { - "line": 217, + "line": 204, "column": 7 } } @@ -49279,15 +52337,15 @@ "binop": null }, "value": "scale", - "start": 5537, - "end": 5542, + "start": 5318, + "end": 5323, "loc": { "start": { - "line": 217, + "line": 204, "column": 8 }, "end": { - "line": 217, + "line": 204, "column": 13 } } @@ -49306,15 +52364,15 @@ "updateContext": null }, "value": "=", - "start": 5543, - "end": 5544, + "start": 5324, + "end": 5325, "loc": { "start": { - "line": 217, + "line": 204, "column": 14 }, "end": { - "line": 217, + "line": 204, "column": 15 } } @@ -49332,15 +52390,15 @@ "binop": null }, "value": "Len_Y", - "start": 5545, - "end": 5550, + "start": 5326, + "end": 5331, "loc": { "start": { - "line": 217, + "line": 204, "column": 16 }, "end": { - "line": 217, + "line": 204, "column": 21 } } @@ -49359,15 +52417,15 @@ "updateContext": null }, "value": "/", - "start": 5551, - "end": 5552, + "start": 5332, + "end": 5333, "loc": { "start": { - "line": 217, + "line": 204, "column": 22 }, "end": { - "line": 217, + "line": 204, "column": 23 } } @@ -49385,15 +52443,15 @@ "binop": null }, "value": "Len_X", - "start": 5553, - "end": 5558, + "start": 5334, + "end": 5339, "loc": { "start": { - "line": 217, + "line": 204, "column": 24 }, "end": { - "line": 217, + "line": 204, "column": 29 } } @@ -49411,15 +52469,15 @@ "binop": null, "updateContext": null }, - "start": 5558, - "end": 5559, + "start": 5339, + "end": 5340, "loc": { "start": { - "line": 217, + "line": 204, "column": 29 }, "end": { - "line": 217, + "line": 204, "column": 30 } } @@ -49439,15 +52497,15 @@ "updateContext": null }, "value": "let", - "start": 5564, - "end": 5567, + "start": 5345, + "end": 5348, "loc": { "start": { - "line": 218, + "line": 205, "column": 4 }, "end": { - "line": 218, + "line": 205, "column": 7 } } @@ -49465,15 +52523,15 @@ "binop": null }, "value": "res", - "start": 5568, - "end": 5571, + "start": 5349, + "end": 5352, "loc": { "start": { - "line": 218, + "line": 205, "column": 8 }, "end": { - "line": 218, + "line": 205, "column": 11 } } @@ -49492,15 +52550,15 @@ "updateContext": null }, "value": "=", - "start": 5572, - "end": 5573, + "start": 5353, + "end": 5354, "loc": { "start": { - "line": 218, + "line": 205, "column": 12 }, "end": { - "line": 218, + "line": 205, "column": 13 } } @@ -49517,15 +52575,15 @@ "postfix": false, "binop": null }, - "start": 5574, - "end": 5575, + "start": 5355, + "end": 5356, "loc": { "start": { - "line": 218, + "line": 205, "column": 14 }, "end": { - "line": 218, + "line": 205, "column": 15 } } @@ -49542,15 +52600,15 @@ "postfix": false, "binop": null }, - "start": 5575, - "end": 5576, + "start": 5356, + "end": 5357, "loc": { "start": { - "line": 218, + "line": 205, "column": 15 }, "end": { - "line": 218, + "line": 205, "column": 16 } } @@ -49568,15 +52626,15 @@ "binop": null, "updateContext": null }, - "start": 5576, - "end": 5577, + "start": 5357, + "end": 5358, "loc": { "start": { - "line": 218, + "line": 205, "column": 16 }, "end": { - "line": 218, + "line": 205, "column": 17 } } @@ -49596,15 +52654,15 @@ "updateContext": null }, "value": "if", - "start": 5583, - "end": 5585, + "start": 5364, + "end": 5366, "loc": { "start": { - "line": 220, + "line": 207, "column": 4 }, "end": { - "line": 220, + "line": 207, "column": 6 } } @@ -49621,15 +52679,15 @@ "postfix": false, "binop": null }, - "start": 5586, - "end": 5587, + "start": 5367, + "end": 5368, "loc": { "start": { - "line": 220, + "line": 207, "column": 7 }, "end": { - "line": 220, + "line": 207, "column": 8 } } @@ -49647,15 +52705,15 @@ "binop": null }, "value": "angleTarget", - "start": 5587, - "end": 5598, + "start": 5368, + "end": 5379, "loc": { "start": { - "line": 220, + "line": 207, "column": 8 }, "end": { - "line": 220, + "line": 207, "column": 19 } } @@ -49674,15 +52732,15 @@ "updateContext": null }, "value": "<", - "start": 5599, - "end": 5600, + "start": 5380, + "end": 5381, "loc": { "start": { - "line": 220, + "line": 207, "column": 20 }, "end": { - "line": 220, + "line": 207, "column": 21 } } @@ -49700,15 +52758,15 @@ "binop": null }, "value": "angleRightTop", - "start": 5601, - "end": 5614, + "start": 5382, + "end": 5395, "loc": { "start": { - "line": 220, + "line": 207, "column": 22 }, "end": { - "line": 220, + "line": 207, "column": 35 } } @@ -49725,15 +52783,15 @@ "postfix": false, "binop": null }, - "start": 5614, - "end": 5615, + "start": 5395, + "end": 5396, "loc": { "start": { - "line": 220, + "line": 207, "column": 35 }, "end": { - "line": 220, + "line": 207, "column": 36 } } @@ -49750,15 +52808,15 @@ "postfix": false, "binop": null }, - "start": 5616, - "end": 5617, + "start": 5397, + "end": 5398, "loc": { "start": { - "line": 220, + "line": 207, "column": 37 }, "end": { - "line": 220, + "line": 207, "column": 38 } } @@ -49778,15 +52836,15 @@ "updateContext": null }, "value": "let", - "start": 5626, - "end": 5629, + "start": 5407, + "end": 5410, "loc": { "start": { - "line": 221, + "line": 208, "column": 8 }, "end": { - "line": 221, + "line": 208, "column": 11 } } @@ -49804,15 +52862,15 @@ "binop": null }, "value": "y3", - "start": 5630, - "end": 5632, + "start": 5411, + "end": 5413, "loc": { "start": { - "line": 221, + "line": 208, "column": 12 }, "end": { - "line": 221, + "line": 208, "column": 14 } } @@ -49831,15 +52889,15 @@ "updateContext": null }, "value": "=", - "start": 5633, - "end": 5634, + "start": 5414, + "end": 5415, "loc": { "start": { - "line": 221, + "line": 208, "column": 15 }, "end": { - "line": 221, + "line": 208, "column": 16 } } @@ -49857,15 +52915,15 @@ "binop": null }, "value": "rect", - "start": 5635, - "end": 5639, + "start": 5416, + "end": 5420, "loc": { "start": { - "line": 221, + "line": 208, "column": 17 }, "end": { - "line": 221, + "line": 208, "column": 21 } } @@ -49883,15 +52941,15 @@ "binop": null, "updateContext": null }, - "start": 5639, - "end": 5640, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 221, + "line": 208, "column": 21 }, "end": { - "line": 221, + "line": 208, "column": 22 } } @@ -49909,15 +52967,15 @@ "binop": null }, "value": "top", - "start": 5640, - "end": 5643, + "start": 5421, + "end": 5424, "loc": { "start": { - "line": 221, + "line": 208, "column": 22 }, "end": { - "line": 221, + "line": 208, "column": 25 } } @@ -49936,15 +52994,15 @@ "updateContext": null }, "value": "-", - "start": 5644, - "end": 5645, + "start": 5425, + "end": 5426, "loc": { "start": { - "line": 221, + "line": 208, "column": 26 }, "end": { - "line": 221, + "line": 208, "column": 27 } } @@ -49962,15 +53020,15 @@ "binop": null }, "value": "center", - "start": 5646, - "end": 5652, + "start": 5427, + "end": 5433, "loc": { "start": { - "line": 221, + "line": 208, "column": 28 }, "end": { - "line": 221, + "line": 208, "column": 34 } } @@ -49988,15 +53046,15 @@ "binop": null, "updateContext": null }, - "start": 5652, - "end": 5653, + "start": 5433, + "end": 5434, "loc": { "start": { - "line": 221, + "line": 208, "column": 34 }, "end": { - "line": 221, + "line": 208, "column": 35 } } @@ -50014,15 +53072,15 @@ "binop": null }, "value": "y", - "start": 5653, - "end": 5654, + "start": 5434, + "end": 5435, "loc": { "start": { - "line": 221, + "line": 208, "column": 35 }, "end": { - "line": 221, + "line": 208, "column": 36 } } @@ -50040,15 +53098,15 @@ "binop": null, "updateContext": null }, - "start": 5654, - "end": 5655, + "start": 5435, + "end": 5436, "loc": { "start": { - "line": 221, + "line": 208, "column": 36 }, "end": { - "line": 221, + "line": 208, "column": 37 } } @@ -50068,15 +53126,15 @@ "updateContext": null }, "value": "let", - "start": 5664, - "end": 5667, + "start": 5445, + "end": 5448, "loc": { "start": { - "line": 222, + "line": 209, "column": 8 }, "end": { - "line": 222, + "line": 209, "column": 11 } } @@ -50094,15 +53152,15 @@ "binop": null }, "value": "x3", - "start": 5668, - "end": 5670, + "start": 5449, + "end": 5451, "loc": { "start": { - "line": 222, + "line": 209, "column": 12 }, "end": { - "line": 222, + "line": 209, "column": 14 } } @@ -50121,15 +53179,15 @@ "updateContext": null }, "value": "=", - "start": 5671, - "end": 5672, + "start": 5452, + "end": 5453, "loc": { "start": { - "line": 222, + "line": 209, "column": 15 }, "end": { - "line": 222, + "line": 209, "column": 16 } } @@ -50147,15 +53205,15 @@ "binop": null }, "value": "y3", - "start": 5673, - "end": 5675, + "start": 5454, + "end": 5456, "loc": { "start": { - "line": 222, + "line": 209, "column": 17 }, "end": { - "line": 222, + "line": 209, "column": 19 } } @@ -50174,15 +53232,15 @@ "updateContext": null }, "value": "/", - "start": 5676, - "end": 5677, + "start": 5457, + "end": 5458, "loc": { "start": { - "line": 222, + "line": 209, "column": 20 }, "end": { - "line": 222, + "line": 209, "column": 21 } } @@ -50200,15 +53258,15 @@ "binop": null }, "value": "scale", - "start": 5678, - "end": 5683, + "start": 5459, + "end": 5464, "loc": { "start": { - "line": 222, + "line": 209, "column": 22 }, "end": { - "line": 222, + "line": 209, "column": 27 } } @@ -50226,15 +53284,15 @@ "binop": null, "updateContext": null }, - "start": 5683, - "end": 5684, + "start": 5464, + "end": 5465, "loc": { "start": { - "line": 222, + "line": 209, "column": 27 }, "end": { - "line": 222, + "line": 209, "column": 28 } } @@ -50252,15 +53310,15 @@ "binop": null }, "value": "res", - "start": 5693, - "end": 5696, + "start": 5474, + "end": 5477, "loc": { "start": { - "line": 223, + "line": 210, "column": 8 }, "end": { - "line": 223, + "line": 210, "column": 11 } } @@ -50279,15 +53337,15 @@ "updateContext": null }, "value": "=", - "start": 5697, - "end": 5698, + "start": 5478, + "end": 5479, "loc": { "start": { - "line": 223, + "line": 210, "column": 12 }, "end": { - "line": 223, + "line": 210, "column": 13 } } @@ -50304,15 +53362,15 @@ "postfix": false, "binop": null }, - "start": 5699, - "end": 5700, + "start": 5480, + "end": 5481, "loc": { "start": { - "line": 223, + "line": 210, "column": 14 }, "end": { - "line": 223, + "line": 210, "column": 15 } } @@ -50330,15 +53388,15 @@ "binop": null }, "value": "y", - "start": 5713, - "end": 5714, + "start": 5494, + "end": 5495, "loc": { "start": { - "line": 224, + "line": 211, "column": 12 }, "end": { - "line": 224, + "line": 211, "column": 13 } } @@ -50356,15 +53414,15 @@ "binop": null, "updateContext": null }, - "start": 5714, - "end": 5715, + "start": 5495, + "end": 5496, "loc": { "start": { - "line": 224, + "line": 211, "column": 13 }, "end": { - "line": 224, + "line": 211, "column": 14 } } @@ -50382,15 +53440,15 @@ "binop": null }, "value": "center", - "start": 5716, - "end": 5722, + "start": 5497, + "end": 5503, "loc": { "start": { - "line": 224, + "line": 211, "column": 15 }, "end": { - "line": 224, + "line": 211, "column": 21 } } @@ -50408,15 +53466,15 @@ "binop": null, "updateContext": null }, - "start": 5722, - "end": 5723, + "start": 5503, + "end": 5504, "loc": { "start": { - "line": 224, + "line": 211, "column": 21 }, "end": { - "line": 224, + "line": 211, "column": 22 } } @@ -50434,15 +53492,15 @@ "binop": null }, "value": "y", - "start": 5723, - "end": 5724, + "start": 5504, + "end": 5505, "loc": { "start": { - "line": 224, + "line": 211, "column": 22 }, "end": { - "line": 224, + "line": 211, "column": 23 } } @@ -50461,15 +53519,15 @@ "updateContext": null }, "value": "+", - "start": 5725, - "end": 5726, + "start": 5506, + "end": 5507, "loc": { "start": { - "line": 224, + "line": 211, "column": 24 }, "end": { - "line": 224, + "line": 211, "column": 25 } } @@ -50487,15 +53545,15 @@ "binop": null }, "value": "y3", - "start": 5727, - "end": 5729, + "start": 5508, + "end": 5510, "loc": { "start": { - "line": 224, + "line": 211, "column": 26 }, "end": { - "line": 224, + "line": 211, "column": 28 } } @@ -50513,15 +53571,15 @@ "binop": null, "updateContext": null }, - "start": 5729, - "end": 5730, + "start": 5510, + "end": 5511, "loc": { "start": { - "line": 224, + "line": 211, "column": 28 }, "end": { - "line": 224, + "line": 211, "column": 29 } } @@ -50539,15 +53597,15 @@ "binop": null }, "value": "x", - "start": 5743, - "end": 5744, + "start": 5524, + "end": 5525, "loc": { "start": { - "line": 225, + "line": 212, "column": 12 }, "end": { - "line": 225, + "line": 212, "column": 13 } } @@ -50565,15 +53623,15 @@ "binop": null, "updateContext": null }, - "start": 5744, - "end": 5745, + "start": 5525, + "end": 5526, "loc": { "start": { - "line": 225, + "line": 212, "column": 13 }, "end": { - "line": 225, + "line": 212, "column": 14 } } @@ -50591,15 +53649,15 @@ "binop": null }, "value": "center", - "start": 5746, - "end": 5752, + "start": 5527, + "end": 5533, "loc": { "start": { - "line": 225, + "line": 212, "column": 15 }, "end": { - "line": 225, + "line": 212, "column": 21 } } @@ -50617,15 +53675,15 @@ "binop": null, "updateContext": null }, - "start": 5752, - "end": 5753, + "start": 5533, + "end": 5534, "loc": { "start": { - "line": 225, + "line": 212, "column": 21 }, "end": { - "line": 225, + "line": 212, "column": 22 } } @@ -50643,15 +53701,15 @@ "binop": null }, "value": "x", - "start": 5753, - "end": 5754, + "start": 5534, + "end": 5535, "loc": { "start": { - "line": 225, + "line": 212, "column": 22 }, "end": { - "line": 225, + "line": 212, "column": 23 } } @@ -50670,15 +53728,15 @@ "updateContext": null }, "value": "+", - "start": 5755, - "end": 5756, + "start": 5536, + "end": 5537, "loc": { "start": { - "line": 225, + "line": 212, "column": 24 }, "end": { - "line": 225, + "line": 212, "column": 25 } } @@ -50696,15 +53754,15 @@ "binop": null }, "value": "x3", - "start": 5757, - "end": 5759, + "start": 5538, + "end": 5540, "loc": { "start": { - "line": 225, + "line": 212, "column": 26 }, "end": { - "line": 225, + "line": 212, "column": 28 } } @@ -50721,15 +53779,15 @@ "postfix": false, "binop": null }, - "start": 5768, - "end": 5769, + "start": 5549, + "end": 5550, "loc": { "start": { - "line": 226, + "line": 213, "column": 8 }, "end": { - "line": 226, + "line": 213, "column": 9 } } @@ -50746,15 +53804,15 @@ "postfix": false, "binop": null }, - "start": 5774, - "end": 5775, + "start": 5555, + "end": 5556, "loc": { "start": { - "line": 227, + "line": 214, "column": 4 }, "end": { - "line": 227, + "line": 214, "column": 5 } } @@ -50774,15 +53832,15 @@ "updateContext": null }, "value": "else", - "start": 5776, - "end": 5780, + "start": 5557, + "end": 5561, "loc": { "start": { - "line": 227, + "line": 214, "column": 6 }, "end": { - "line": 227, + "line": 214, "column": 10 } } @@ -50802,15 +53860,15 @@ "updateContext": null }, "value": "if", - "start": 5781, - "end": 5783, + "start": 5562, + "end": 5564, "loc": { "start": { - "line": 227, + "line": 214, "column": 11 }, "end": { - "line": 227, + "line": 214, "column": 13 } } @@ -50827,15 +53885,15 @@ "postfix": false, "binop": null }, - "start": 5783, - "end": 5784, + "start": 5564, + "end": 5565, "loc": { "start": { - "line": 227, + "line": 214, "column": 13 }, "end": { - "line": 227, + "line": 214, "column": 14 } } @@ -50853,15 +53911,15 @@ "binop": null }, "value": "angleTarget", - "start": 5784, - "end": 5795, + "start": 5565, + "end": 5576, "loc": { "start": { - "line": 227, + "line": 214, "column": 14 }, "end": { - "line": 227, + "line": 214, "column": 25 } } @@ -50880,15 +53938,15 @@ "updateContext": null }, "value": "<", - "start": 5796, - "end": 5797, + "start": 5577, + "end": 5578, "loc": { "start": { - "line": 227, + "line": 214, "column": 26 }, "end": { - "line": 227, + "line": 214, "column": 27 } } @@ -50906,15 +53964,15 @@ "binop": null }, "value": "angleRightBottom", - "start": 5798, - "end": 5814, + "start": 5579, + "end": 5595, "loc": { "start": { - "line": 227, + "line": 214, "column": 28 }, "end": { - "line": 227, + "line": 214, "column": 44 } } @@ -50931,15 +53989,15 @@ "postfix": false, "binop": null }, - "start": 5814, - "end": 5815, + "start": 5595, + "end": 5596, "loc": { "start": { - "line": 227, + "line": 214, "column": 44 }, "end": { - "line": 227, + "line": 214, "column": 45 } } @@ -50956,15 +54014,15 @@ "postfix": false, "binop": null }, - "start": 5816, - "end": 5817, + "start": 5597, + "end": 5598, "loc": { "start": { - "line": 227, + "line": 214, "column": 46 }, "end": { - "line": 227, + "line": 214, "column": 47 } } @@ -50984,15 +54042,15 @@ "updateContext": null }, "value": "let", - "start": 5826, - "end": 5829, + "start": 5607, + "end": 5610, "loc": { "start": { - "line": 228, + "line": 215, "column": 8 }, "end": { - "line": 228, + "line": 215, "column": 11 } } @@ -51010,15 +54068,15 @@ "binop": null }, "value": "x3", - "start": 5830, - "end": 5832, + "start": 5611, + "end": 5613, "loc": { "start": { - "line": 228, + "line": 215, "column": 12 }, "end": { - "line": 228, + "line": 215, "column": 14 } } @@ -51037,15 +54095,15 @@ "updateContext": null }, "value": "=", - "start": 5833, - "end": 5834, + "start": 5614, + "end": 5615, "loc": { "start": { - "line": 228, + "line": 215, "column": 15 }, "end": { - "line": 228, + "line": 215, "column": 16 } } @@ -51063,15 +54121,15 @@ "binop": null }, "value": "rect", - "start": 5835, - "end": 5839, + "start": 5616, + "end": 5620, "loc": { "start": { - "line": 228, + "line": 215, "column": 17 }, "end": { - "line": 228, + "line": 215, "column": 21 } } @@ -51089,15 +54147,15 @@ "binop": null, "updateContext": null }, - "start": 5839, - "end": 5840, + "start": 5620, + "end": 5621, "loc": { "start": { - "line": 228, + "line": 215, "column": 21 }, "end": { - "line": 228, + "line": 215, "column": 22 } } @@ -51115,15 +54173,15 @@ "binop": null }, "value": "left", - "start": 5840, - "end": 5844, + "start": 5621, + "end": 5625, "loc": { "start": { - "line": 228, + "line": 215, "column": 22 }, "end": { - "line": 228, + "line": 215, "column": 26 } } @@ -51142,15 +54200,15 @@ "updateContext": null }, "value": "+", - "start": 5845, - "end": 5846, + "start": 5626, + "end": 5627, "loc": { "start": { - "line": 228, + "line": 215, "column": 27 }, "end": { - "line": 228, + "line": 215, "column": 28 } } @@ -51168,15 +54226,15 @@ "binop": null }, "value": "rect", - "start": 5847, - "end": 5851, + "start": 5628, + "end": 5632, "loc": { "start": { - "line": 228, + "line": 215, "column": 29 }, "end": { - "line": 228, + "line": 215, "column": 33 } } @@ -51194,15 +54252,15 @@ "binop": null, "updateContext": null }, - "start": 5851, - "end": 5852, + "start": 5632, + "end": 5633, "loc": { "start": { - "line": 228, + "line": 215, "column": 33 }, "end": { - "line": 228, + "line": 215, "column": 34 } } @@ -51220,15 +54278,15 @@ "binop": null }, "value": "width", - "start": 5852, - "end": 5857, + "start": 5633, + "end": 5638, "loc": { "start": { - "line": 228, + "line": 215, "column": 34 }, "end": { - "line": 228, + "line": 215, "column": 39 } } @@ -51247,15 +54305,15 @@ "updateContext": null }, "value": "-", - "start": 5858, - "end": 5859, + "start": 5639, + "end": 5640, "loc": { "start": { - "line": 228, + "line": 215, "column": 40 }, "end": { - "line": 228, + "line": 215, "column": 41 } } @@ -51273,15 +54331,15 @@ "binop": null }, "value": "center", - "start": 5860, - "end": 5866, + "start": 5641, + "end": 5647, "loc": { "start": { - "line": 228, + "line": 215, "column": 42 }, "end": { - "line": 228, + "line": 215, "column": 48 } } @@ -51299,15 +54357,15 @@ "binop": null, "updateContext": null }, - "start": 5866, - "end": 5867, + "start": 5647, + "end": 5648, "loc": { "start": { - "line": 228, + "line": 215, "column": 48 }, "end": { - "line": 228, + "line": 215, "column": 49 } } @@ -51325,15 +54383,15 @@ "binop": null }, "value": "x", - "start": 5867, - "end": 5868, + "start": 5648, + "end": 5649, "loc": { "start": { - "line": 228, + "line": 215, "column": 49 }, "end": { - "line": 228, + "line": 215, "column": 50 } } @@ -51351,15 +54409,15 @@ "binop": null, "updateContext": null }, - "start": 5868, - "end": 5869, + "start": 5649, + "end": 5650, "loc": { "start": { - "line": 228, + "line": 215, "column": 50 }, "end": { - "line": 228, + "line": 215, "column": 51 } } @@ -51379,15 +54437,15 @@ "updateContext": null }, "value": "let", - "start": 5878, - "end": 5881, + "start": 5659, + "end": 5662, "loc": { "start": { - "line": 229, + "line": 216, "column": 8 }, "end": { - "line": 229, + "line": 216, "column": 11 } } @@ -51405,15 +54463,15 @@ "binop": null }, "value": "y3", - "start": 5882, - "end": 5884, + "start": 5663, + "end": 5665, "loc": { "start": { - "line": 229, + "line": 216, "column": 12 }, "end": { - "line": 229, + "line": 216, "column": 14 } } @@ -51432,15 +54490,15 @@ "updateContext": null }, "value": "=", - "start": 5885, - "end": 5886, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 229, + "line": 216, "column": 15 }, "end": { - "line": 229, + "line": 216, "column": 16 } } @@ -51458,15 +54516,15 @@ "binop": null }, "value": "x3", - "start": 5887, - "end": 5889, + "start": 5668, + "end": 5670, "loc": { "start": { - "line": 229, + "line": 216, "column": 17 }, "end": { - "line": 229, + "line": 216, "column": 19 } } @@ -51485,15 +54543,15 @@ "updateContext": null }, "value": "*", - "start": 5890, - "end": 5891, + "start": 5671, + "end": 5672, "loc": { "start": { - "line": 229, + "line": 216, "column": 20 }, "end": { - "line": 229, + "line": 216, "column": 21 } } @@ -51511,15 +54569,15 @@ "binop": null }, "value": "scale", - "start": 5892, - "end": 5897, + "start": 5673, + "end": 5678, "loc": { "start": { - "line": 229, + "line": 216, "column": 22 }, "end": { - "line": 229, + "line": 216, "column": 27 } } @@ -51537,15 +54595,15 @@ "binop": null, "updateContext": null }, - "start": 5897, - "end": 5898, + "start": 5678, + "end": 5679, "loc": { "start": { - "line": 229, + "line": 216, "column": 27 }, "end": { - "line": 229, + "line": 216, "column": 28 } } @@ -51563,15 +54621,15 @@ "binop": null }, "value": "res", - "start": 5907, - "end": 5910, + "start": 5688, + "end": 5691, "loc": { "start": { - "line": 230, + "line": 217, "column": 8 }, "end": { - "line": 230, + "line": 217, "column": 11 } } @@ -51590,15 +54648,15 @@ "updateContext": null }, "value": "=", - "start": 5911, - "end": 5912, + "start": 5692, + "end": 5693, "loc": { "start": { - "line": 230, + "line": 217, "column": 12 }, "end": { - "line": 230, + "line": 217, "column": 13 } } @@ -51615,15 +54673,15 @@ "postfix": false, "binop": null }, - "start": 5913, - "end": 5914, + "start": 5694, + "end": 5695, "loc": { "start": { - "line": 230, + "line": 217, "column": 14 }, "end": { - "line": 230, + "line": 217, "column": 15 } } @@ -51641,15 +54699,15 @@ "binop": null }, "value": "y", - "start": 5927, - "end": 5928, + "start": 5708, + "end": 5709, "loc": { "start": { - "line": 231, + "line": 218, "column": 12 }, "end": { - "line": 231, + "line": 218, "column": 13 } } @@ -51667,15 +54725,15 @@ "binop": null, "updateContext": null }, - "start": 5928, - "end": 5929, + "start": 5709, + "end": 5710, "loc": { "start": { - "line": 231, + "line": 218, "column": 13 }, "end": { - "line": 231, + "line": 218, "column": 14 } } @@ -51693,15 +54751,15 @@ "binop": null }, "value": "center", - "start": 5930, - "end": 5936, + "start": 5711, + "end": 5717, "loc": { "start": { - "line": 231, + "line": 218, "column": 15 }, "end": { - "line": 231, + "line": 218, "column": 21 } } @@ -51719,15 +54777,15 @@ "binop": null, "updateContext": null }, - "start": 5936, - "end": 5937, + "start": 5717, + "end": 5718, "loc": { "start": { - "line": 231, + "line": 218, "column": 21 }, "end": { - "line": 231, + "line": 218, "column": 22 } } @@ -51745,15 +54803,15 @@ "binop": null }, "value": "y", - "start": 5937, - "end": 5938, + "start": 5718, + "end": 5719, "loc": { "start": { - "line": 231, + "line": 218, "column": 22 }, "end": { - "line": 231, + "line": 218, "column": 23 } } @@ -51772,15 +54830,15 @@ "updateContext": null }, "value": "+", - "start": 5939, - "end": 5940, + "start": 5720, + "end": 5721, "loc": { "start": { - "line": 231, + "line": 218, "column": 24 }, "end": { - "line": 231, + "line": 218, "column": 25 } } @@ -51798,15 +54856,15 @@ "binop": null }, "value": "y3", - "start": 5941, - "end": 5943, + "start": 5722, + "end": 5724, "loc": { "start": { - "line": 231, + "line": 218, "column": 26 }, "end": { - "line": 231, + "line": 218, "column": 28 } } @@ -51824,15 +54882,15 @@ "binop": null, "updateContext": null }, - "start": 5943, - "end": 5944, + "start": 5724, + "end": 5725, "loc": { "start": { - "line": 231, + "line": 218, "column": 28 }, "end": { - "line": 231, + "line": 218, "column": 29 } } @@ -51850,15 +54908,15 @@ "binop": null }, "value": "x", - "start": 5957, - "end": 5958, + "start": 5738, + "end": 5739, "loc": { "start": { - "line": 232, + "line": 219, "column": 12 }, "end": { - "line": 232, + "line": 219, "column": 13 } } @@ -51876,15 +54934,15 @@ "binop": null, "updateContext": null }, - "start": 5958, - "end": 5959, + "start": 5739, + "end": 5740, "loc": { "start": { - "line": 232, + "line": 219, "column": 13 }, "end": { - "line": 232, + "line": 219, "column": 14 } } @@ -51902,15 +54960,15 @@ "binop": null }, "value": "center", - "start": 5960, - "end": 5966, + "start": 5741, + "end": 5747, "loc": { "start": { - "line": 232, + "line": 219, "column": 15 }, "end": { - "line": 232, + "line": 219, "column": 21 } } @@ -51928,15 +54986,15 @@ "binop": null, "updateContext": null }, - "start": 5966, - "end": 5967, + "start": 5747, + "end": 5748, "loc": { "start": { - "line": 232, + "line": 219, "column": 21 }, "end": { - "line": 232, + "line": 219, "column": 22 } } @@ -51954,15 +55012,15 @@ "binop": null }, "value": "x", - "start": 5967, - "end": 5968, + "start": 5748, + "end": 5749, "loc": { "start": { - "line": 232, + "line": 219, "column": 22 }, "end": { - "line": 232, + "line": 219, "column": 23 } } @@ -51981,15 +55039,15 @@ "updateContext": null }, "value": "+", - "start": 5969, - "end": 5970, + "start": 5750, + "end": 5751, "loc": { "start": { - "line": 232, + "line": 219, "column": 24 }, "end": { - "line": 232, + "line": 219, "column": 25 } } @@ -52007,15 +55065,15 @@ "binop": null }, "value": "x3", - "start": 5971, - "end": 5973, + "start": 5752, + "end": 5754, "loc": { "start": { - "line": 232, + "line": 219, "column": 26 }, "end": { - "line": 232, + "line": 219, "column": 28 } } @@ -52032,15 +55090,15 @@ "postfix": false, "binop": null }, - "start": 5982, - "end": 5983, + "start": 5763, + "end": 5764, "loc": { "start": { - "line": 233, + "line": 220, "column": 8 }, "end": { - "line": 233, + "line": 220, "column": 9 } } @@ -52057,15 +55115,15 @@ "postfix": false, "binop": null }, - "start": 5988, - "end": 5989, + "start": 5769, + "end": 5770, "loc": { "start": { - "line": 234, + "line": 221, "column": 4 }, "end": { - "line": 234, + "line": 221, "column": 5 } } @@ -52085,15 +55143,15 @@ "updateContext": null }, "value": "else", - "start": 5990, - "end": 5994, + "start": 5771, + "end": 5775, "loc": { "start": { - "line": 234, + "line": 221, "column": 6 }, "end": { - "line": 234, + "line": 221, "column": 10 } } @@ -52113,15 +55171,15 @@ "updateContext": null }, "value": "if", - "start": 5995, - "end": 5997, + "start": 5776, + "end": 5778, "loc": { "start": { - "line": 234, + "line": 221, "column": 11 }, "end": { - "line": 234, + "line": 221, "column": 13 } } @@ -52138,15 +55196,15 @@ "postfix": false, "binop": null }, - "start": 5998, - "end": 5999, + "start": 5779, + "end": 5780, "loc": { "start": { - "line": 234, + "line": 221, "column": 14 }, "end": { - "line": 234, + "line": 221, "column": 15 } } @@ -52164,15 +55222,15 @@ "binop": null }, "value": "angleTarget", - "start": 5999, - "end": 6010, + "start": 5780, + "end": 5791, "loc": { "start": { - "line": 234, + "line": 221, "column": 15 }, "end": { - "line": 234, + "line": 221, "column": 26 } } @@ -52191,15 +55249,15 @@ "updateContext": null }, "value": "<", - "start": 6011, - "end": 6012, + "start": 5792, + "end": 5793, "loc": { "start": { - "line": 234, + "line": 221, "column": 27 }, "end": { - "line": 234, + "line": 221, "column": 28 } } @@ -52217,15 +55275,15 @@ "binop": null }, "value": "angleLeftBottom", - "start": 6013, - "end": 6028, + "start": 5794, + "end": 5809, "loc": { "start": { - "line": 234, + "line": 221, "column": 29 }, "end": { - "line": 234, + "line": 221, "column": 44 } } @@ -52242,15 +55300,15 @@ "postfix": false, "binop": null }, - "start": 6028, - "end": 6029, + "start": 5809, + "end": 5810, "loc": { "start": { - "line": 234, + "line": 221, "column": 44 }, "end": { - "line": 234, + "line": 221, "column": 45 } } @@ -52267,15 +55325,15 @@ "postfix": false, "binop": null }, - "start": 6030, - "end": 6031, + "start": 5811, + "end": 5812, "loc": { "start": { - "line": 234, + "line": 221, "column": 46 }, "end": { - "line": 234, + "line": 221, "column": 47 } } @@ -52295,15 +55353,15 @@ "updateContext": null }, "value": "let", - "start": 6040, - "end": 6043, + "start": 5821, + "end": 5824, "loc": { "start": { - "line": 235, + "line": 222, "column": 8 }, "end": { - "line": 235, + "line": 222, "column": 11 } } @@ -52321,15 +55379,15 @@ "binop": null }, "value": "y3", - "start": 6044, - "end": 6046, + "start": 5825, + "end": 5827, "loc": { "start": { - "line": 235, + "line": 222, "column": 12 }, "end": { - "line": 235, + "line": 222, "column": 14 } } @@ -52348,15 +55406,15 @@ "updateContext": null }, "value": "=", - "start": 6047, - "end": 6048, + "start": 5828, + "end": 5829, "loc": { "start": { - "line": 235, + "line": 222, "column": 15 }, "end": { - "line": 235, + "line": 222, "column": 16 } } @@ -52374,15 +55432,15 @@ "binop": null }, "value": "rect", - "start": 6049, - "end": 6053, + "start": 5830, + "end": 5834, "loc": { "start": { - "line": 235, + "line": 222, "column": 17 }, "end": { - "line": 235, + "line": 222, "column": 21 } } @@ -52400,15 +55458,15 @@ "binop": null, "updateContext": null }, - "start": 6053, - "end": 6054, + "start": 5834, + "end": 5835, "loc": { "start": { - "line": 235, + "line": 222, "column": 21 }, "end": { - "line": 235, + "line": 222, "column": 22 } } @@ -52426,15 +55484,15 @@ "binop": null }, "value": "top", - "start": 6054, - "end": 6057, + "start": 5835, + "end": 5838, "loc": { "start": { - "line": 235, + "line": 222, "column": 22 }, "end": { - "line": 235, + "line": 222, "column": 25 } } @@ -52453,15 +55511,15 @@ "updateContext": null }, "value": "+", - "start": 6058, - "end": 6059, + "start": 5839, + "end": 5840, "loc": { "start": { - "line": 235, + "line": 222, "column": 26 }, "end": { - "line": 235, + "line": 222, "column": 27 } } @@ -52479,15 +55537,15 @@ "binop": null }, "value": "rect", - "start": 6060, - "end": 6064, + "start": 5841, + "end": 5845, "loc": { "start": { - "line": 235, + "line": 222, "column": 28 }, "end": { - "line": 235, + "line": 222, "column": 32 } } @@ -52505,15 +55563,15 @@ "binop": null, "updateContext": null }, - "start": 6064, - "end": 6065, + "start": 5845, + "end": 5846, "loc": { "start": { - "line": 235, + "line": 222, "column": 32 }, "end": { - "line": 235, + "line": 222, "column": 33 } } @@ -52531,15 +55589,15 @@ "binop": null }, "value": "height", - "start": 6065, - "end": 6071, + "start": 5846, + "end": 5852, "loc": { "start": { - "line": 235, + "line": 222, "column": 33 }, "end": { - "line": 235, + "line": 222, "column": 39 } } @@ -52558,15 +55616,15 @@ "updateContext": null }, "value": "-", - "start": 6072, - "end": 6073, + "start": 5853, + "end": 5854, "loc": { "start": { - "line": 235, + "line": 222, "column": 40 }, "end": { - "line": 235, + "line": 222, "column": 41 } } @@ -52584,15 +55642,15 @@ "binop": null }, "value": "center", - "start": 6074, - "end": 6080, + "start": 5855, + "end": 5861, "loc": { "start": { - "line": 235, + "line": 222, "column": 42 }, "end": { - "line": 235, + "line": 222, "column": 48 } } @@ -52610,15 +55668,15 @@ "binop": null, "updateContext": null }, - "start": 6080, - "end": 6081, + "start": 5861, + "end": 5862, "loc": { "start": { - "line": 235, + "line": 222, "column": 48 }, "end": { - "line": 235, + "line": 222, "column": 49 } } @@ -52636,15 +55694,15 @@ "binop": null }, "value": "y", - "start": 6081, - "end": 6082, + "start": 5862, + "end": 5863, "loc": { "start": { - "line": 235, + "line": 222, "column": 49 }, "end": { - "line": 235, + "line": 222, "column": 50 } } @@ -52662,15 +55720,15 @@ "binop": null, "updateContext": null }, - "start": 6082, - "end": 6083, + "start": 5863, + "end": 5864, "loc": { "start": { - "line": 235, + "line": 222, "column": 50 }, "end": { - "line": 235, + "line": 222, "column": 51 } } @@ -52690,15 +55748,15 @@ "updateContext": null }, "value": "let", - "start": 6092, - "end": 6095, + "start": 5873, + "end": 5876, "loc": { "start": { - "line": 236, + "line": 223, "column": 8 }, "end": { - "line": 236, + "line": 223, "column": 11 } } @@ -52716,15 +55774,15 @@ "binop": null }, "value": "x3", - "start": 6096, - "end": 6098, + "start": 5877, + "end": 5879, "loc": { "start": { - "line": 236, + "line": 223, "column": 12 }, "end": { - "line": 236, + "line": 223, "column": 14 } } @@ -52743,15 +55801,15 @@ "updateContext": null }, "value": "=", - "start": 6099, - "end": 6100, + "start": 5880, + "end": 5881, "loc": { "start": { - "line": 236, + "line": 223, "column": 15 }, "end": { - "line": 236, + "line": 223, "column": 16 } } @@ -52769,15 +55827,15 @@ "binop": null }, "value": "y3", - "start": 6101, - "end": 6103, + "start": 5882, + "end": 5884, "loc": { "start": { - "line": 236, + "line": 223, "column": 17 }, "end": { - "line": 236, + "line": 223, "column": 19 } } @@ -52796,15 +55854,15 @@ "updateContext": null }, "value": "/", - "start": 6104, - "end": 6105, + "start": 5885, + "end": 5886, "loc": { "start": { - "line": 236, + "line": 223, "column": 20 }, "end": { - "line": 236, + "line": 223, "column": 21 } } @@ -52822,15 +55880,15 @@ "binop": null }, "value": "scale", - "start": 6106, - "end": 6111, + "start": 5887, + "end": 5892, "loc": { "start": { - "line": 236, + "line": 223, "column": 22 }, "end": { - "line": 236, + "line": 223, "column": 27 } } @@ -52848,15 +55906,15 @@ "binop": null, "updateContext": null }, - "start": 6111, - "end": 6112, + "start": 5892, + "end": 5893, "loc": { "start": { - "line": 236, + "line": 223, "column": 27 }, "end": { - "line": 236, + "line": 223, "column": 28 } } @@ -52874,15 +55932,15 @@ "binop": null }, "value": "res", - "start": 6121, - "end": 6124, + "start": 5902, + "end": 5905, "loc": { "start": { - "line": 237, + "line": 224, "column": 8 }, "end": { - "line": 237, + "line": 224, "column": 11 } } @@ -52901,15 +55959,15 @@ "updateContext": null }, "value": "=", - "start": 6125, - "end": 6126, + "start": 5906, + "end": 5907, "loc": { "start": { - "line": 237, + "line": 224, "column": 12 }, "end": { - "line": 237, + "line": 224, "column": 13 } } @@ -52926,15 +55984,15 @@ "postfix": false, "binop": null }, - "start": 6127, - "end": 6128, + "start": 5908, + "end": 5909, "loc": { "start": { - "line": 237, + "line": 224, "column": 14 }, "end": { - "line": 237, + "line": 224, "column": 15 } } @@ -52952,15 +56010,15 @@ "binop": null }, "value": "y", - "start": 6141, - "end": 6142, + "start": 5922, + "end": 5923, "loc": { "start": { - "line": 238, + "line": 225, "column": 12 }, "end": { - "line": 238, + "line": 225, "column": 13 } } @@ -52978,15 +56036,15 @@ "binop": null, "updateContext": null }, - "start": 6142, - "end": 6143, + "start": 5923, + "end": 5924, "loc": { "start": { - "line": 238, + "line": 225, "column": 13 }, "end": { - "line": 238, + "line": 225, "column": 14 } } @@ -53004,15 +56062,15 @@ "binop": null }, "value": "center", - "start": 6144, - "end": 6150, + "start": 5925, + "end": 5931, "loc": { "start": { - "line": 238, + "line": 225, "column": 15 }, "end": { - "line": 238, + "line": 225, "column": 21 } } @@ -53030,15 +56088,15 @@ "binop": null, "updateContext": null }, - "start": 6150, - "end": 6151, + "start": 5931, + "end": 5932, "loc": { "start": { - "line": 238, + "line": 225, "column": 21 }, "end": { - "line": 238, + "line": 225, "column": 22 } } @@ -53056,15 +56114,15 @@ "binop": null }, "value": "y", - "start": 6151, - "end": 6152, + "start": 5932, + "end": 5933, "loc": { "start": { - "line": 238, + "line": 225, "column": 22 }, "end": { - "line": 238, + "line": 225, "column": 23 } } @@ -53083,15 +56141,15 @@ "updateContext": null }, "value": "+", - "start": 6153, - "end": 6154, + "start": 5934, + "end": 5935, "loc": { "start": { - "line": 238, + "line": 225, "column": 24 }, "end": { - "line": 238, + "line": 225, "column": 25 } } @@ -53109,15 +56167,15 @@ "binop": null }, "value": "y3", - "start": 6155, - "end": 6157, + "start": 5936, + "end": 5938, "loc": { "start": { - "line": 238, + "line": 225, "column": 26 }, "end": { - "line": 238, + "line": 225, "column": 28 } } @@ -53135,15 +56193,15 @@ "binop": null, "updateContext": null }, - "start": 6157, - "end": 6158, + "start": 5938, + "end": 5939, "loc": { "start": { - "line": 238, + "line": 225, "column": 28 }, "end": { - "line": 238, + "line": 225, "column": 29 } } @@ -53161,15 +56219,15 @@ "binop": null }, "value": "x", - "start": 6171, - "end": 6172, + "start": 5952, + "end": 5953, "loc": { "start": { - "line": 239, + "line": 226, "column": 12 }, "end": { - "line": 239, + "line": 226, "column": 13 } } @@ -53187,15 +56245,15 @@ "binop": null, "updateContext": null }, - "start": 6172, - "end": 6173, + "start": 5953, + "end": 5954, "loc": { "start": { - "line": 239, + "line": 226, "column": 13 }, "end": { - "line": 239, + "line": 226, "column": 14 } } @@ -53213,15 +56271,15 @@ "binop": null }, "value": "center", - "start": 6174, - "end": 6180, + "start": 5955, + "end": 5961, "loc": { "start": { - "line": 239, + "line": 226, "column": 15 }, "end": { - "line": 239, + "line": 226, "column": 21 } } @@ -53239,15 +56297,15 @@ "binop": null, "updateContext": null }, - "start": 6180, - "end": 6181, + "start": 5961, + "end": 5962, "loc": { "start": { - "line": 239, + "line": 226, "column": 21 }, "end": { - "line": 239, + "line": 226, "column": 22 } } @@ -53265,15 +56323,15 @@ "binop": null }, "value": "x", - "start": 6181, - "end": 6182, + "start": 5962, + "end": 5963, "loc": { "start": { - "line": 239, + "line": 226, "column": 22 }, "end": { - "line": 239, + "line": 226, "column": 23 } } @@ -53292,15 +56350,15 @@ "updateContext": null }, "value": "+", - "start": 6183, - "end": 6184, + "start": 5964, + "end": 5965, "loc": { "start": { - "line": 239, + "line": 226, "column": 24 }, "end": { - "line": 239, + "line": 226, "column": 25 } } @@ -53318,15 +56376,15 @@ "binop": null }, "value": "x3", - "start": 6185, - "end": 6187, + "start": 5966, + "end": 5968, "loc": { "start": { - "line": 239, + "line": 226, "column": 26 }, "end": { - "line": 239, + "line": 226, "column": 28 } } @@ -53343,15 +56401,15 @@ "postfix": false, "binop": null }, - "start": 6196, - "end": 6197, + "start": 5977, + "end": 5978, "loc": { "start": { - "line": 240, + "line": 227, "column": 8 }, "end": { - "line": 240, + "line": 227, "column": 9 } } @@ -53368,15 +56426,15 @@ "postfix": false, "binop": null }, - "start": 6202, - "end": 6203, + "start": 5983, + "end": 5984, "loc": { "start": { - "line": 241, + "line": 228, "column": 4 }, "end": { - "line": 241, + "line": 228, "column": 5 } } @@ -53396,15 +56454,15 @@ "updateContext": null }, "value": "else", - "start": 6204, - "end": 6208, + "start": 5985, + "end": 5989, "loc": { "start": { - "line": 241, + "line": 228, "column": 6 }, "end": { - "line": 241, + "line": 228, "column": 10 } } @@ -53424,15 +56482,15 @@ "updateContext": null }, "value": "if", - "start": 6209, - "end": 6211, + "start": 5990, + "end": 5992, "loc": { "start": { - "line": 241, + "line": 228, "column": 11 }, "end": { - "line": 241, + "line": 228, "column": 13 } } @@ -53449,15 +56507,15 @@ "postfix": false, "binop": null }, - "start": 6212, - "end": 6213, + "start": 5993, + "end": 5994, "loc": { "start": { - "line": 241, + "line": 228, "column": 14 }, "end": { - "line": 241, + "line": 228, "column": 15 } } @@ -53475,15 +56533,15 @@ "binop": null }, "value": "angleTarget", - "start": 6213, - "end": 6224, + "start": 5994, + "end": 6005, "loc": { "start": { - "line": 241, + "line": 228, "column": 15 }, "end": { - "line": 241, + "line": 228, "column": 26 } } @@ -53502,15 +56560,15 @@ "updateContext": null }, "value": "<", - "start": 6225, - "end": 6226, + "start": 6006, + "end": 6007, "loc": { "start": { - "line": 241, + "line": 228, "column": 27 }, "end": { - "line": 241, + "line": 228, "column": 28 } } @@ -53528,15 +56586,15 @@ "binop": null }, "value": "angleLeftTop", - "start": 6227, - "end": 6239, + "start": 6008, + "end": 6020, "loc": { "start": { - "line": 241, + "line": 228, "column": 29 }, "end": { - "line": 241, + "line": 228, "column": 41 } } @@ -53553,15 +56611,15 @@ "postfix": false, "binop": null }, - "start": 6239, - "end": 6240, + "start": 6020, + "end": 6021, "loc": { "start": { - "line": 241, + "line": 228, "column": 41 }, "end": { - "line": 241, + "line": 228, "column": 42 } } @@ -53578,15 +56636,15 @@ "postfix": false, "binop": null }, - "start": 6241, - "end": 6242, + "start": 6022, + "end": 6023, "loc": { "start": { - "line": 241, + "line": 228, "column": 43 }, "end": { - "line": 241, + "line": 228, "column": 44 } } @@ -53606,15 +56664,15 @@ "updateContext": null }, "value": "let", - "start": 6251, - "end": 6254, + "start": 6032, + "end": 6035, "loc": { "start": { - "line": 242, + "line": 229, "column": 8 }, "end": { - "line": 242, + "line": 229, "column": 11 } } @@ -53632,15 +56690,15 @@ "binop": null }, "value": "x3", - "start": 6255, - "end": 6257, + "start": 6036, + "end": 6038, "loc": { "start": { - "line": 242, + "line": 229, "column": 12 }, "end": { - "line": 242, + "line": 229, "column": 14 } } @@ -53659,15 +56717,15 @@ "updateContext": null }, "value": "=", - "start": 6258, - "end": 6259, + "start": 6039, + "end": 6040, "loc": { "start": { - "line": 242, + "line": 229, "column": 15 }, "end": { - "line": 242, + "line": 229, "column": 16 } } @@ -53685,15 +56743,15 @@ "binop": null }, "value": "center", - "start": 6260, - "end": 6266, + "start": 6041, + "end": 6047, "loc": { "start": { - "line": 242, + "line": 229, "column": 17 }, "end": { - "line": 242, + "line": 229, "column": 23 } } @@ -53711,15 +56769,15 @@ "binop": null, "updateContext": null }, - "start": 6266, - "end": 6267, + "start": 6047, + "end": 6048, "loc": { "start": { - "line": 242, + "line": 229, "column": 23 }, "end": { - "line": 242, + "line": 229, "column": 24 } } @@ -53737,15 +56795,15 @@ "binop": null }, "value": "x", - "start": 6267, - "end": 6268, + "start": 6048, + "end": 6049, "loc": { "start": { - "line": 242, + "line": 229, "column": 24 }, "end": { - "line": 242, + "line": 229, "column": 25 } } @@ -53764,15 +56822,15 @@ "updateContext": null }, "value": "-", - "start": 6269, - "end": 6270, + "start": 6050, + "end": 6051, "loc": { "start": { - "line": 242, + "line": 229, "column": 26 }, "end": { - "line": 242, + "line": 229, "column": 27 } } @@ -53790,15 +56848,15 @@ "binop": null }, "value": "rect", - "start": 6271, - "end": 6275, + "start": 6052, + "end": 6056, "loc": { "start": { - "line": 242, + "line": 229, "column": 28 }, "end": { - "line": 242, + "line": 229, "column": 32 } } @@ -53816,15 +56874,15 @@ "binop": null, "updateContext": null }, - "start": 6275, - "end": 6276, + "start": 6056, + "end": 6057, "loc": { "start": { - "line": 242, + "line": 229, "column": 32 }, "end": { - "line": 242, + "line": 229, "column": 33 } } @@ -53842,15 +56900,15 @@ "binop": null }, "value": "left", - "start": 6276, - "end": 6280, + "start": 6057, + "end": 6061, "loc": { "start": { - "line": 242, + "line": 229, "column": 33 }, "end": { - "line": 242, + "line": 229, "column": 37 } } @@ -53868,15 +56926,15 @@ "binop": null, "updateContext": null }, - "start": 6280, - "end": 6281, + "start": 6061, + "end": 6062, "loc": { "start": { - "line": 242, + "line": 229, "column": 37 }, "end": { - "line": 242, + "line": 229, "column": 38 } } @@ -53896,15 +56954,15 @@ "updateContext": null }, "value": "let", - "start": 6290, - "end": 6293, + "start": 6071, + "end": 6074, "loc": { "start": { - "line": 243, + "line": 230, "column": 8 }, "end": { - "line": 243, + "line": 230, "column": 11 } } @@ -53922,15 +56980,15 @@ "binop": null }, "value": "y3", - "start": 6294, - "end": 6296, + "start": 6075, + "end": 6077, "loc": { "start": { - "line": 243, + "line": 230, "column": 12 }, "end": { - "line": 243, + "line": 230, "column": 14 } } @@ -53949,15 +57007,15 @@ "updateContext": null }, "value": "=", - "start": 6297, - "end": 6298, + "start": 6078, + "end": 6079, "loc": { "start": { - "line": 243, + "line": 230, "column": 15 }, "end": { - "line": 243, + "line": 230, "column": 16 } } @@ -53975,15 +57033,15 @@ "binop": null }, "value": "x3", - "start": 6299, - "end": 6301, + "start": 6080, + "end": 6082, "loc": { "start": { - "line": 243, + "line": 230, "column": 17 }, "end": { - "line": 243, + "line": 230, "column": 19 } } @@ -54002,15 +57060,15 @@ "updateContext": null }, "value": "*", - "start": 6302, - "end": 6303, + "start": 6083, + "end": 6084, "loc": { "start": { - "line": 243, + "line": 230, "column": 20 }, "end": { - "line": 243, + "line": 230, "column": 21 } } @@ -54028,15 +57086,15 @@ "binop": null }, "value": "scale", - "start": 6304, - "end": 6309, + "start": 6085, + "end": 6090, "loc": { "start": { - "line": 243, + "line": 230, "column": 22 }, "end": { - "line": 243, + "line": 230, "column": 27 } } @@ -54054,15 +57112,15 @@ "binop": null, "updateContext": null }, - "start": 6309, - "end": 6310, + "start": 6090, + "end": 6091, "loc": { "start": { - "line": 243, + "line": 230, "column": 27 }, "end": { - "line": 243, + "line": 230, "column": 28 } } @@ -54080,15 +57138,15 @@ "binop": null }, "value": "res", - "start": 6319, - "end": 6322, + "start": 6100, + "end": 6103, "loc": { "start": { - "line": 244, + "line": 231, "column": 8 }, "end": { - "line": 244, + "line": 231, "column": 11 } } @@ -54107,15 +57165,15 @@ "updateContext": null }, "value": "=", - "start": 6323, - "end": 6324, + "start": 6104, + "end": 6105, "loc": { "start": { - "line": 244, + "line": 231, "column": 12 }, "end": { - "line": 244, + "line": 231, "column": 13 } } @@ -54132,15 +57190,15 @@ "postfix": false, "binop": null }, - "start": 6325, - "end": 6326, + "start": 6106, + "end": 6107, "loc": { "start": { - "line": 244, + "line": 231, "column": 14 }, "end": { - "line": 244, + "line": 231, "column": 15 } } @@ -54158,15 +57216,15 @@ "binop": null }, "value": "y", - "start": 6339, - "end": 6340, + "start": 6120, + "end": 6121, "loc": { "start": { - "line": 245, + "line": 232, "column": 12 }, "end": { - "line": 245, + "line": 232, "column": 13 } } @@ -54184,15 +57242,15 @@ "binop": null, "updateContext": null }, - "start": 6340, - "end": 6341, + "start": 6121, + "end": 6122, "loc": { "start": { - "line": 245, + "line": 232, "column": 13 }, "end": { - "line": 245, + "line": 232, "column": 14 } } @@ -54210,15 +57268,15 @@ "binop": null }, "value": "center", - "start": 6342, - "end": 6348, + "start": 6123, + "end": 6129, "loc": { "start": { - "line": 245, + "line": 232, "column": 15 }, "end": { - "line": 245, + "line": 232, "column": 21 } } @@ -54236,15 +57294,15 @@ "binop": null, "updateContext": null }, - "start": 6348, - "end": 6349, + "start": 6129, + "end": 6130, "loc": { "start": { - "line": 245, + "line": 232, "column": 21 }, "end": { - "line": 245, + "line": 232, "column": 22 } } @@ -54262,15 +57320,15 @@ "binop": null }, "value": "y", - "start": 6349, - "end": 6350, + "start": 6130, + "end": 6131, "loc": { "start": { - "line": 245, + "line": 232, "column": 22 }, "end": { - "line": 245, + "line": 232, "column": 23 } } @@ -54289,15 +57347,15 @@ "updateContext": null }, "value": "-", - "start": 6351, - "end": 6352, + "start": 6132, + "end": 6133, "loc": { "start": { - "line": 245, + "line": 232, "column": 24 }, "end": { - "line": 245, + "line": 232, "column": 25 } } @@ -54315,15 +57373,15 @@ "binop": null }, "value": "y3", - "start": 6353, - "end": 6355, + "start": 6134, + "end": 6136, "loc": { "start": { - "line": 245, + "line": 232, "column": 26 }, "end": { - "line": 245, + "line": 232, "column": 28 } } @@ -54341,15 +57399,15 @@ "binop": null, "updateContext": null }, - "start": 6355, - "end": 6356, + "start": 6136, + "end": 6137, "loc": { "start": { - "line": 245, + "line": 232, "column": 28 }, "end": { - "line": 245, + "line": 232, "column": 29 } } @@ -54367,15 +57425,15 @@ "binop": null }, "value": "x", - "start": 6369, - "end": 6370, + "start": 6150, + "end": 6151, "loc": { "start": { - "line": 246, + "line": 233, "column": 12 }, "end": { - "line": 246, + "line": 233, "column": 13 } } @@ -54393,15 +57451,15 @@ "binop": null, "updateContext": null }, - "start": 6370, - "end": 6371, + "start": 6151, + "end": 6152, "loc": { "start": { - "line": 246, + "line": 233, "column": 13 }, "end": { - "line": 246, + "line": 233, "column": 14 } } @@ -54419,15 +57477,15 @@ "binop": null }, "value": "center", - "start": 6372, - "end": 6378, + "start": 6153, + "end": 6159, "loc": { "start": { - "line": 246, + "line": 233, "column": 15 }, "end": { - "line": 246, + "line": 233, "column": 21 } } @@ -54445,15 +57503,15 @@ "binop": null, "updateContext": null }, - "start": 6378, - "end": 6379, + "start": 6159, + "end": 6160, "loc": { "start": { - "line": 246, + "line": 233, "column": 21 }, "end": { - "line": 246, + "line": 233, "column": 22 } } @@ -54471,15 +57529,15 @@ "binop": null }, "value": "x", - "start": 6379, - "end": 6380, + "start": 6160, + "end": 6161, "loc": { "start": { - "line": 246, + "line": 233, "column": 22 }, "end": { - "line": 246, + "line": 233, "column": 23 } } @@ -54498,15 +57556,15 @@ "updateContext": null }, "value": "-", - "start": 6381, - "end": 6382, + "start": 6162, + "end": 6163, "loc": { "start": { - "line": 246, + "line": 233, "column": 24 }, "end": { - "line": 246, + "line": 233, "column": 25 } } @@ -54524,15 +57582,15 @@ "binop": null }, "value": "x3", - "start": 6383, - "end": 6385, + "start": 6164, + "end": 6166, "loc": { "start": { - "line": 246, + "line": 233, "column": 26 }, "end": { - "line": 246, + "line": 233, "column": 28 } } @@ -54549,15 +57607,15 @@ "postfix": false, "binop": null }, - "start": 6394, - "end": 6395, + "start": 6175, + "end": 6176, "loc": { "start": { - "line": 247, + "line": 234, "column": 8 }, "end": { - "line": 247, + "line": 234, "column": 9 } } @@ -54574,15 +57632,15 @@ "postfix": false, "binop": null }, - "start": 6400, - "end": 6401, + "start": 6181, + "end": 6182, "loc": { "start": { - "line": 248, + "line": 235, "column": 4 }, "end": { - "line": 248, + "line": 235, "column": 5 } } @@ -54602,15 +57660,15 @@ "updateContext": null }, "value": "else", - "start": 6402, - "end": 6406, + "start": 6183, + "end": 6187, "loc": { "start": { - "line": 248, + "line": 235, "column": 6 }, "end": { - "line": 248, + "line": 235, "column": 10 } } @@ -54627,15 +57685,15 @@ "postfix": false, "binop": null }, - "start": 6407, - "end": 6408, + "start": 6188, + "end": 6189, "loc": { "start": { - "line": 248, + "line": 235, "column": 11 }, "end": { - "line": 248, + "line": 235, "column": 12 } } @@ -54655,15 +57713,15 @@ "updateContext": null }, "value": "let", - "start": 6417, - "end": 6420, + "start": 6198, + "end": 6201, "loc": { "start": { - "line": 249, + "line": 236, "column": 8 }, "end": { - "line": 249, + "line": 236, "column": 11 } } @@ -54681,15 +57739,15 @@ "binop": null }, "value": "y3", - "start": 6421, - "end": 6423, + "start": 6202, + "end": 6204, "loc": { "start": { - "line": 249, + "line": 236, "column": 12 }, "end": { - "line": 249, + "line": 236, "column": 14 } } @@ -54708,15 +57766,15 @@ "updateContext": null }, "value": "=", - "start": 6424, - "end": 6425, + "start": 6205, + "end": 6206, "loc": { "start": { - "line": 249, + "line": 236, "column": 15 }, "end": { - "line": 249, + "line": 236, "column": 16 } } @@ -54734,15 +57792,15 @@ "binop": null }, "value": "rect", - "start": 6426, - "end": 6430, + "start": 6207, + "end": 6211, "loc": { "start": { - "line": 249, + "line": 236, "column": 17 }, "end": { - "line": 249, + "line": 236, "column": 21 } } @@ -54760,15 +57818,15 @@ "binop": null, "updateContext": null }, - "start": 6430, - "end": 6431, + "start": 6211, + "end": 6212, "loc": { "start": { - "line": 249, + "line": 236, "column": 21 }, "end": { - "line": 249, + "line": 236, "column": 22 } } @@ -54786,15 +57844,15 @@ "binop": null }, "value": "top", - "start": 6431, - "end": 6434, + "start": 6212, + "end": 6215, "loc": { "start": { - "line": 249, + "line": 236, "column": 22 }, "end": { - "line": 249, + "line": 236, "column": 25 } } @@ -54813,15 +57871,15 @@ "updateContext": null }, "value": "-", - "start": 6435, - "end": 6436, + "start": 6216, + "end": 6217, "loc": { "start": { - "line": 249, + "line": 236, "column": 26 }, "end": { - "line": 249, + "line": 236, "column": 27 } } @@ -54839,15 +57897,15 @@ "binop": null }, "value": "center", - "start": 6437, - "end": 6443, + "start": 6218, + "end": 6224, "loc": { "start": { - "line": 249, + "line": 236, "column": 28 }, "end": { - "line": 249, + "line": 236, "column": 34 } } @@ -54865,15 +57923,15 @@ "binop": null, "updateContext": null }, - "start": 6443, - "end": 6444, + "start": 6224, + "end": 6225, "loc": { "start": { - "line": 249, + "line": 236, "column": 34 }, "end": { - "line": 249, + "line": 236, "column": 35 } } @@ -54891,15 +57949,15 @@ "binop": null }, "value": "y", - "start": 6444, - "end": 6445, + "start": 6225, + "end": 6226, "loc": { "start": { - "line": 249, + "line": 236, "column": 35 }, "end": { - "line": 249, + "line": 236, "column": 36 } } @@ -54917,15 +57975,15 @@ "binop": null, "updateContext": null }, - "start": 6445, - "end": 6446, + "start": 6226, + "end": 6227, "loc": { "start": { - "line": 249, + "line": 236, "column": 36 }, "end": { - "line": 249, + "line": 236, "column": 37 } } @@ -54945,15 +58003,15 @@ "updateContext": null }, "value": "let", - "start": 6455, - "end": 6458, + "start": 6236, + "end": 6239, "loc": { "start": { - "line": 250, + "line": 237, "column": 8 }, "end": { - "line": 250, + "line": 237, "column": 11 } } @@ -54971,15 +58029,15 @@ "binop": null }, "value": "x3", - "start": 6459, - "end": 6461, + "start": 6240, + "end": 6242, "loc": { "start": { - "line": 250, + "line": 237, "column": 12 }, "end": { - "line": 250, + "line": 237, "column": 14 } } @@ -54998,15 +58056,15 @@ "updateContext": null }, "value": "=", - "start": 6462, - "end": 6463, + "start": 6243, + "end": 6244, "loc": { "start": { - "line": 250, + "line": 237, "column": 15 }, "end": { - "line": 250, + "line": 237, "column": 16 } } @@ -55024,15 +58082,15 @@ "binop": null }, "value": "y3", - "start": 6464, - "end": 6466, + "start": 6245, + "end": 6247, "loc": { "start": { - "line": 250, + "line": 237, "column": 17 }, "end": { - "line": 250, + "line": 237, "column": 19 } } @@ -55051,15 +58109,15 @@ "updateContext": null }, "value": "/", - "start": 6467, - "end": 6468, + "start": 6248, + "end": 6249, "loc": { "start": { - "line": 250, + "line": 237, "column": 20 }, "end": { - "line": 250, + "line": 237, "column": 21 } } @@ -55077,15 +58135,15 @@ "binop": null }, "value": "scale", - "start": 6469, - "end": 6474, + "start": 6250, + "end": 6255, "loc": { "start": { - "line": 250, + "line": 237, "column": 22 }, "end": { - "line": 250, + "line": 237, "column": 27 } } @@ -55103,15 +58161,15 @@ "binop": null, "updateContext": null }, - "start": 6474, - "end": 6475, + "start": 6255, + "end": 6256, "loc": { "start": { - "line": 250, + "line": 237, "column": 27 }, "end": { - "line": 250, + "line": 237, "column": 28 } } @@ -55129,15 +58187,15 @@ "binop": null }, "value": "res", - "start": 6484, - "end": 6487, + "start": 6265, + "end": 6268, "loc": { "start": { - "line": 251, + "line": 238, "column": 8 }, "end": { - "line": 251, + "line": 238, "column": 11 } } @@ -55156,15 +58214,15 @@ "updateContext": null }, "value": "=", - "start": 6488, - "end": 6489, + "start": 6269, + "end": 6270, "loc": { "start": { - "line": 251, + "line": 238, "column": 12 }, "end": { - "line": 251, + "line": 238, "column": 13 } } @@ -55181,15 +58239,15 @@ "postfix": false, "binop": null }, - "start": 6490, - "end": 6491, + "start": 6271, + "end": 6272, "loc": { "start": { - "line": 251, + "line": 238, "column": 14 }, "end": { - "line": 251, + "line": 238, "column": 15 } } @@ -55207,15 +58265,15 @@ "binop": null }, "value": "y", - "start": 6504, - "end": 6505, + "start": 6285, + "end": 6286, "loc": { "start": { - "line": 252, + "line": 239, "column": 12 }, "end": { - "line": 252, + "line": 239, "column": 13 } } @@ -55233,15 +58291,15 @@ "binop": null, "updateContext": null }, - "start": 6505, - "end": 6506, + "start": 6286, + "end": 6287, "loc": { "start": { - "line": 252, + "line": 239, "column": 13 }, "end": { - "line": 252, + "line": 239, "column": 14 } } @@ -55259,15 +58317,15 @@ "binop": null }, "value": "center", - "start": 6507, - "end": 6513, + "start": 6288, + "end": 6294, "loc": { "start": { - "line": 252, + "line": 239, "column": 15 }, "end": { - "line": 252, + "line": 239, "column": 21 } } @@ -55285,15 +58343,15 @@ "binop": null, "updateContext": null }, - "start": 6513, - "end": 6514, + "start": 6294, + "end": 6295, "loc": { "start": { - "line": 252, + "line": 239, "column": 21 }, "end": { - "line": 252, + "line": 239, "column": 22 } } @@ -55311,15 +58369,15 @@ "binop": null }, "value": "y", - "start": 6514, - "end": 6515, + "start": 6295, + "end": 6296, "loc": { "start": { - "line": 252, + "line": 239, "column": 22 }, "end": { - "line": 252, + "line": 239, "column": 23 } } @@ -55338,15 +58396,15 @@ "updateContext": null }, "value": "+", - "start": 6516, - "end": 6517, + "start": 6297, + "end": 6298, "loc": { "start": { - "line": 252, + "line": 239, "column": 24 }, "end": { - "line": 252, + "line": 239, "column": 25 } } @@ -55364,15 +58422,15 @@ "binop": null }, "value": "y3", - "start": 6518, - "end": 6520, + "start": 6299, + "end": 6301, "loc": { "start": { - "line": 252, + "line": 239, "column": 26 }, "end": { - "line": 252, + "line": 239, "column": 28 } } @@ -55390,15 +58448,15 @@ "binop": null, "updateContext": null }, - "start": 6520, - "end": 6521, + "start": 6301, + "end": 6302, "loc": { "start": { - "line": 252, + "line": 239, "column": 28 }, "end": { - "line": 252, + "line": 239, "column": 29 } } @@ -55416,15 +58474,15 @@ "binop": null }, "value": "x", - "start": 6534, - "end": 6535, + "start": 6315, + "end": 6316, "loc": { "start": { - "line": 253, + "line": 240, "column": 12 }, "end": { - "line": 253, + "line": 240, "column": 13 } } @@ -55442,15 +58500,15 @@ "binop": null, "updateContext": null }, - "start": 6535, - "end": 6536, + "start": 6316, + "end": 6317, "loc": { "start": { - "line": 253, + "line": 240, "column": 13 }, "end": { - "line": 253, + "line": 240, "column": 14 } } @@ -55468,15 +58526,15 @@ "binop": null }, "value": "center", - "start": 6537, - "end": 6543, + "start": 6318, + "end": 6324, "loc": { "start": { - "line": 253, + "line": 240, "column": 15 }, "end": { - "line": 253, + "line": 240, "column": 21 } } @@ -55494,15 +58552,15 @@ "binop": null, "updateContext": null }, - "start": 6543, - "end": 6544, + "start": 6324, + "end": 6325, "loc": { "start": { - "line": 253, + "line": 240, "column": 21 }, "end": { - "line": 253, + "line": 240, "column": 22 } } @@ -55520,15 +58578,15 @@ "binop": null }, "value": "x", - "start": 6544, - "end": 6545, + "start": 6325, + "end": 6326, "loc": { "start": { - "line": 253, + "line": 240, "column": 22 }, "end": { - "line": 253, + "line": 240, "column": 23 } } @@ -55547,15 +58605,15 @@ "updateContext": null }, "value": "+", - "start": 6546, - "end": 6547, + "start": 6327, + "end": 6328, "loc": { "start": { - "line": 253, + "line": 240, "column": 24 }, "end": { - "line": 253, + "line": 240, "column": 25 } } @@ -55573,15 +58631,15 @@ "binop": null }, "value": "x3", - "start": 6548, - "end": 6550, + "start": 6329, + "end": 6331, "loc": { "start": { - "line": 253, + "line": 240, "column": 26 }, "end": { - "line": 253, + "line": 240, "column": 28 } } @@ -55598,15 +58656,15 @@ "postfix": false, "binop": null }, - "start": 6559, - "end": 6560, + "start": 6340, + "end": 6341, "loc": { "start": { - "line": 254, + "line": 241, "column": 8 }, "end": { - "line": 254, + "line": 241, "column": 9 } } @@ -55623,15 +58681,15 @@ "postfix": false, "binop": null }, - "start": 6565, - "end": 6566, + "start": 6346, + "end": 6347, "loc": { "start": { - "line": 255, + "line": 242, "column": 4 }, "end": { - "line": 255, + "line": 242, "column": 5 } } @@ -55651,15 +58709,15 @@ "updateContext": null }, "value": "return", - "start": 6572, - "end": 6578, + "start": 6353, + "end": 6359, "loc": { "start": { - "line": 257, + "line": 244, "column": 4 }, "end": { - "line": 257, + "line": 244, "column": 10 } } @@ -55677,15 +58735,15 @@ "binop": null }, "value": "res", - "start": 6579, - "end": 6582, + "start": 6360, + "end": 6363, "loc": { "start": { - "line": 257, + "line": 244, "column": 11 }, "end": { - "line": 257, + "line": 244, "column": 14 } } @@ -55703,15 +58761,15 @@ "binop": null, "updateContext": null }, - "start": 6582, - "end": 6583, + "start": 6363, + "end": 6364, "loc": { "start": { - "line": 257, + "line": 244, "column": 14 }, "end": { - "line": 257, + "line": 244, "column": 15 } } @@ -55728,15 +58786,15 @@ "postfix": false, "binop": null }, - "start": 6584, - "end": 6585, + "start": 6365, + "end": 6366, "loc": { "start": { - "line": 258, + "line": 245, "column": 0 }, "end": { - "line": 258, + "line": 245, "column": 1 } } @@ -55755,15 +58813,15 @@ "binop": null }, "value": "function", - "start": 6587, - "end": 6595, + "start": 6368, + "end": 6376, "loc": { "start": { - "line": 260, + "line": 247, "column": 0 }, "end": { - "line": 260, + "line": 247, "column": 8 } } @@ -55781,15 +58839,15 @@ "binop": null }, "value": "modelTurnHead", - "start": 6596, - "end": 6609, + "start": 6377, + "end": 6390, "loc": { "start": { - "line": 260, + "line": 247, "column": 9 }, "end": { - "line": 260, + "line": 247, "column": 22 } } @@ -55806,15 +58864,15 @@ "postfix": false, "binop": null }, - "start": 6609, - "end": 6610, + "start": 6390, + "end": 6391, "loc": { "start": { - "line": 260, + "line": 247, "column": 22 }, "end": { - "line": 260, + "line": 247, "column": 23 } } @@ -55832,15 +58890,15 @@ "binop": null }, "value": "event", - "start": 6610, - "end": 6615, + "start": 6391, + "end": 6396, "loc": { "start": { - "line": 260, + "line": 247, "column": 23 }, "end": { - "line": 260, + "line": 247, "column": 28 } } @@ -55857,15 +58915,15 @@ "postfix": false, "binop": null }, - "start": 6615, - "end": 6616, + "start": 6396, + "end": 6397, "loc": { "start": { - "line": 260, + "line": 247, "column": 28 }, "end": { - "line": 260, + "line": 247, "column": 29 } } @@ -55882,15 +58940,15 @@ "postfix": false, "binop": null }, - "start": 6617, - "end": 6618, + "start": 6398, + "end": 6399, "loc": { "start": { - "line": 261, + "line": 248, "column": 0 }, "end": { - "line": 261, + "line": 248, "column": 1 } } @@ -55908,15 +58966,15 @@ "binop": null }, "value": "drag", - "start": 6623, - "end": 6627, + "start": 6404, + "end": 6408, "loc": { "start": { - "line": 262, + "line": 249, "column": 4 }, "end": { - "line": 262, + "line": 249, "column": 8 } } @@ -55935,15 +58993,15 @@ "updateContext": null }, "value": "=", - "start": 6628, - "end": 6629, + "start": 6409, + "end": 6410, "loc": { "start": { - "line": 262, + "line": 249, "column": 9 }, "end": { - "line": 262, + "line": 249, "column": 10 } } @@ -55963,15 +59021,15 @@ "updateContext": null }, "value": "true", - "start": 6630, - "end": 6634, + "start": 6411, + "end": 6415, "loc": { "start": { - "line": 262, + "line": 249, "column": 11 }, "end": { - "line": 262, + "line": 249, "column": 15 } } @@ -55989,15 +59047,15 @@ "binop": null, "updateContext": null }, - "start": 6634, - "end": 6635, + "start": 6415, + "end": 6416, "loc": { "start": { - "line": 262, + "line": 249, "column": 15 }, "end": { - "line": 262, + "line": 249, "column": 16 } } @@ -56017,15 +59075,15 @@ "updateContext": null }, "value": "let", - "start": 6641, - "end": 6644, + "start": 6422, + "end": 6425, "loc": { "start": { - "line": 264, + "line": 251, "column": 4 }, "end": { - "line": 264, + "line": 251, "column": 7 } } @@ -56043,15 +59101,15 @@ "binop": null }, "value": "rect", - "start": 6645, - "end": 6649, + "start": 6426, + "end": 6430, "loc": { "start": { - "line": 264, + "line": 251, "column": 8 }, "end": { - "line": 264, + "line": 251, "column": 12 } } @@ -56070,15 +59128,15 @@ "updateContext": null }, "value": "=", - "start": 6650, - "end": 6651, + "start": 6431, + "end": 6432, "loc": { "start": { - "line": 264, + "line": 251, "column": 13 }, "end": { - "line": 264, + "line": 251, "column": 14 } } @@ -56095,17 +59153,17 @@ "postfix": false, "binop": null }, - "value": "canvas", - "start": 6652, - "end": 6658, + "value": "currCanvas", + "start": 6433, + "end": 6443, "loc": { "start": { - "line": 264, + "line": 251, "column": 15 }, "end": { - "line": 264, - "column": 21 + "line": 251, + "column": 25 } } }, @@ -56122,16 +59180,16 @@ "binop": null, "updateContext": null }, - "start": 6658, - "end": 6659, + "start": 6443, + "end": 6444, "loc": { "start": { - "line": 264, - "column": 21 + "line": 251, + "column": 25 }, "end": { - "line": 264, - "column": 22 + "line": 251, + "column": 26 } } }, @@ -56148,16 +59206,16 @@ "binop": null }, "value": "getBoundingClientRect", - "start": 6659, - "end": 6680, + "start": 6444, + "end": 6465, "loc": { "start": { - "line": 264, - "column": 22 + "line": 251, + "column": 26 }, "end": { - "line": 264, - "column": 43 + "line": 251, + "column": 47 } } }, @@ -56173,16 +59231,16 @@ "postfix": false, "binop": null }, - "start": 6680, - "end": 6681, + "start": 6465, + "end": 6466, "loc": { "start": { - "line": 264, - "column": 43 + "line": 251, + "column": 47 }, "end": { - "line": 264, - "column": 44 + "line": 251, + "column": 48 } } }, @@ -56198,16 +59256,16 @@ "postfix": false, "binop": null }, - "start": 6681, - "end": 6682, + "start": 6466, + "end": 6467, "loc": { "start": { - "line": 264, - "column": 44 + "line": 251, + "column": 48 }, "end": { - "line": 264, - "column": 45 + "line": 251, + "column": 49 } } }, @@ -56224,16 +59282,16 @@ "binop": null, "updateContext": null }, - "start": 6682, - "end": 6683, + "start": 6467, + "end": 6468, "loc": { "start": { - "line": 264, - "column": 45 + "line": 251, + "column": 49 }, "end": { - "line": 264, - "column": 46 + "line": 251, + "column": 50 } } }, @@ -56252,15 +59310,15 @@ "updateContext": null }, "value": "let", - "start": 6689, - "end": 6692, + "start": 6474, + "end": 6477, "loc": { "start": { - "line": 266, + "line": 253, "column": 4 }, "end": { - "line": 266, + "line": 253, "column": 7 } } @@ -56278,15 +59336,15 @@ "binop": null }, "value": "sx", - "start": 6693, - "end": 6695, + "start": 6478, + "end": 6480, "loc": { "start": { - "line": 266, + "line": 253, "column": 8 }, "end": { - "line": 266, + "line": 253, "column": 10 } } @@ -56305,15 +59363,15 @@ "updateContext": null }, "value": "=", - "start": 6696, - "end": 6697, + "start": 6481, + "end": 6482, "loc": { "start": { - "line": 266, + "line": 253, "column": 11 }, "end": { - "line": 266, + "line": 253, "column": 12 } } @@ -56331,15 +59389,15 @@ "binop": null }, "value": "transformScreenX", - "start": 6698, - "end": 6714, + "start": 6483, + "end": 6499, "loc": { "start": { - "line": 266, + "line": 253, "column": 13 }, "end": { - "line": 266, + "line": 253, "column": 29 } } @@ -56356,15 +59414,15 @@ "postfix": false, "binop": null }, - "start": 6714, - "end": 6715, + "start": 6499, + "end": 6500, "loc": { "start": { - "line": 266, + "line": 253, "column": 29 }, "end": { - "line": 266, + "line": 253, "column": 30 } } @@ -56382,15 +59440,15 @@ "binop": null }, "value": "event", - "start": 6715, - "end": 6720, + "start": 6500, + "end": 6505, "loc": { "start": { - "line": 266, + "line": 253, "column": 30 }, "end": { - "line": 266, + "line": 253, "column": 35 } } @@ -56408,15 +59466,15 @@ "binop": null, "updateContext": null }, - "start": 6720, - "end": 6721, + "start": 6505, + "end": 6506, "loc": { "start": { - "line": 266, + "line": 253, "column": 35 }, "end": { - "line": 266, + "line": 253, "column": 36 } } @@ -56434,15 +59492,15 @@ "binop": null }, "value": "clientX", - "start": 6721, - "end": 6728, + "start": 6506, + "end": 6513, "loc": { "start": { - "line": 266, + "line": 253, "column": 36 }, "end": { - "line": 266, + "line": 253, "column": 43 } } @@ -56461,15 +59519,15 @@ "updateContext": null }, "value": "-", - "start": 6729, - "end": 6730, + "start": 6514, + "end": 6515, "loc": { "start": { - "line": 266, + "line": 253, "column": 44 }, "end": { - "line": 266, + "line": 253, "column": 45 } } @@ -56487,15 +59545,15 @@ "binop": null }, "value": "rect", - "start": 6731, - "end": 6735, + "start": 6516, + "end": 6520, "loc": { "start": { - "line": 266, + "line": 253, "column": 46 }, "end": { - "line": 266, + "line": 253, "column": 50 } } @@ -56513,15 +59571,15 @@ "binop": null, "updateContext": null }, - "start": 6735, - "end": 6736, + "start": 6520, + "end": 6521, "loc": { "start": { - "line": 266, + "line": 253, "column": 50 }, "end": { - "line": 266, + "line": 253, "column": 51 } } @@ -56539,15 +59597,15 @@ "binop": null }, "value": "left", - "start": 6736, - "end": 6740, + "start": 6521, + "end": 6525, "loc": { "start": { - "line": 266, + "line": 253, "column": 51 }, "end": { - "line": 266, + "line": 253, "column": 55 } } @@ -56564,15 +59622,15 @@ "postfix": false, "binop": null }, - "start": 6740, - "end": 6741, + "start": 6525, + "end": 6526, "loc": { "start": { - "line": 266, + "line": 253, "column": 55 }, "end": { - "line": 266, + "line": 253, "column": 56 } } @@ -56590,15 +59648,15 @@ "binop": null, "updateContext": null }, - "start": 6741, - "end": 6742, + "start": 6526, + "end": 6527, "loc": { "start": { - "line": 266, + "line": 253, "column": 56 }, "end": { - "line": 266, + "line": 253, "column": 57 } } @@ -56618,15 +59676,15 @@ "updateContext": null }, "value": "let", - "start": 6747, - "end": 6750, + "start": 6532, + "end": 6535, "loc": { "start": { - "line": 267, + "line": 254, "column": 4 }, "end": { - "line": 267, + "line": 254, "column": 7 } } @@ -56644,15 +59702,15 @@ "binop": null }, "value": "sy", - "start": 6751, - "end": 6753, + "start": 6536, + "end": 6538, "loc": { "start": { - "line": 267, + "line": 254, "column": 8 }, "end": { - "line": 267, + "line": 254, "column": 10 } } @@ -56671,15 +59729,15 @@ "updateContext": null }, "value": "=", - "start": 6754, - "end": 6755, + "start": 6539, + "end": 6540, "loc": { "start": { - "line": 267, + "line": 254, "column": 11 }, "end": { - "line": 267, + "line": 254, "column": 12 } } @@ -56697,15 +59755,15 @@ "binop": null }, "value": "transformScreenY", - "start": 6756, - "end": 6772, + "start": 6541, + "end": 6557, "loc": { "start": { - "line": 267, + "line": 254, "column": 13 }, "end": { - "line": 267, + "line": 254, "column": 29 } } @@ -56722,15 +59780,15 @@ "postfix": false, "binop": null }, - "start": 6772, - "end": 6773, + "start": 6557, + "end": 6558, "loc": { "start": { - "line": 267, + "line": 254, "column": 29 }, "end": { - "line": 267, + "line": 254, "column": 30 } } @@ -56748,15 +59806,15 @@ "binop": null }, "value": "event", - "start": 6773, - "end": 6778, + "start": 6558, + "end": 6563, "loc": { "start": { - "line": 267, + "line": 254, "column": 30 }, "end": { - "line": 267, + "line": 254, "column": 35 } } @@ -56774,15 +59832,15 @@ "binop": null, "updateContext": null }, - "start": 6778, - "end": 6779, + "start": 6563, + "end": 6564, "loc": { "start": { - "line": 267, + "line": 254, "column": 35 }, "end": { - "line": 267, + "line": 254, "column": 36 } } @@ -56800,15 +59858,15 @@ "binop": null }, "value": "clientY", - "start": 6779, - "end": 6786, + "start": 6564, + "end": 6571, "loc": { "start": { - "line": 267, + "line": 254, "column": 36 }, "end": { - "line": 267, + "line": 254, "column": 43 } } @@ -56827,15 +59885,15 @@ "updateContext": null }, "value": "-", - "start": 6787, - "end": 6788, + "start": 6572, + "end": 6573, "loc": { "start": { - "line": 267, + "line": 254, "column": 44 }, "end": { - "line": 267, + "line": 254, "column": 45 } } @@ -56853,15 +59911,15 @@ "binop": null }, "value": "rect", - "start": 6789, - "end": 6793, + "start": 6574, + "end": 6578, "loc": { "start": { - "line": 267, + "line": 254, "column": 46 }, "end": { - "line": 267, + "line": 254, "column": 50 } } @@ -56879,15 +59937,15 @@ "binop": null, "updateContext": null }, - "start": 6793, - "end": 6794, + "start": 6578, + "end": 6579, "loc": { "start": { - "line": 267, + "line": 254, "column": 50 }, "end": { - "line": 267, + "line": 254, "column": 51 } } @@ -56905,15 +59963,15 @@ "binop": null }, "value": "top", - "start": 6794, - "end": 6797, + "start": 6579, + "end": 6582, "loc": { "start": { - "line": 267, + "line": 254, "column": 51 }, "end": { - "line": 267, + "line": 254, "column": 54 } } @@ -56930,15 +59988,15 @@ "postfix": false, "binop": null }, - "start": 6797, - "end": 6798, + "start": 6582, + "end": 6583, "loc": { "start": { - "line": 267, + "line": 254, "column": 54 }, "end": { - "line": 267, + "line": 254, "column": 55 } } @@ -56956,15 +60014,15 @@ "binop": null, "updateContext": null }, - "start": 6798, - "end": 6799, + "start": 6583, + "end": 6584, "loc": { "start": { - "line": 267, + "line": 254, "column": 55 }, "end": { - "line": 267, + "line": 254, "column": 56 } } @@ -56984,15 +60042,15 @@ "updateContext": null }, "value": "let", - "start": 6804, - "end": 6807, + "start": 6589, + "end": 6592, "loc": { "start": { - "line": 268, + "line": 255, "column": 4 }, "end": { - "line": 268, + "line": 255, "column": 7 } } @@ -57010,15 +60068,15 @@ "binop": null }, "value": "target", - "start": 6808, - "end": 6814, + "start": 6593, + "end": 6599, "loc": { "start": { - "line": 268, + "line": 255, "column": 8 }, "end": { - "line": 268, + "line": 255, "column": 14 } } @@ -57037,15 +60095,15 @@ "updateContext": null }, "value": "=", - "start": 6815, - "end": 6816, + "start": 6600, + "end": 6601, "loc": { "start": { - "line": 268, + "line": 255, "column": 15 }, "end": { - "line": 268, + "line": 255, "column": 16 } } @@ -57063,15 +60121,15 @@ "binop": null }, "value": "transformRect", - "start": 6817, - "end": 6830, + "start": 6602, + "end": 6615, "loc": { "start": { - "line": 268, + "line": 255, "column": 17 }, "end": { - "line": 268, + "line": 255, "column": 30 } } @@ -57088,15 +60146,15 @@ "postfix": false, "binop": null }, - "start": 6830, - "end": 6831, + "start": 6615, + "end": 6616, "loc": { "start": { - "line": 268, + "line": 255, "column": 30 }, "end": { - "line": 268, + "line": 255, "column": 31 } } @@ -57113,15 +60171,15 @@ "postfix": false, "binop": null }, - "start": 6831, - "end": 6832, + "start": 6616, + "end": 6617, "loc": { "start": { - "line": 268, + "line": 255, "column": 31 }, "end": { - "line": 268, + "line": 255, "column": 32 } } @@ -57139,15 +60197,15 @@ "binop": null }, "value": "x", - "start": 6841, - "end": 6842, + "start": 6626, + "end": 6627, "loc": { "start": { - "line": 269, + "line": 256, "column": 8 }, "end": { - "line": 269, + "line": 256, "column": 9 } } @@ -57165,15 +60223,15 @@ "binop": null, "updateContext": null }, - "start": 6842, - "end": 6843, + "start": 6627, + "end": 6628, "loc": { "start": { - "line": 269, + "line": 256, "column": 9 }, "end": { - "line": 269, + "line": 256, "column": 10 } } @@ -57191,15 +60249,15 @@ "binop": null }, "value": "rect", - "start": 6844, - "end": 6848, + "start": 6629, + "end": 6633, "loc": { "start": { - "line": 269, + "line": 256, "column": 11 }, "end": { - "line": 269, + "line": 256, "column": 15 } } @@ -57217,15 +60275,15 @@ "binop": null, "updateContext": null }, - "start": 6848, - "end": 6849, + "start": 6633, + "end": 6634, "loc": { "start": { - "line": 269, + "line": 256, "column": 15 }, "end": { - "line": 269, + "line": 256, "column": 16 } } @@ -57243,15 +60301,15 @@ "binop": null }, "value": "left", - "start": 6849, - "end": 6853, + "start": 6634, + "end": 6638, "loc": { "start": { - "line": 269, + "line": 256, "column": 16 }, "end": { - "line": 269, + "line": 256, "column": 20 } } @@ -57270,15 +60328,15 @@ "updateContext": null }, "value": "+", - "start": 6854, - "end": 6855, + "start": 6639, + "end": 6640, "loc": { "start": { - "line": 269, + "line": 256, "column": 21 }, "end": { - "line": 269, + "line": 256, "column": 22 } } @@ -57296,15 +60354,15 @@ "binop": null }, "value": "rect", - "start": 6856, - "end": 6860, + "start": 6641, + "end": 6645, "loc": { "start": { - "line": 269, + "line": 256, "column": 23 }, "end": { - "line": 269, + "line": 256, "column": 27 } } @@ -57322,15 +60380,15 @@ "binop": null, "updateContext": null }, - "start": 6860, - "end": 6861, + "start": 6645, + "end": 6646, "loc": { "start": { - "line": 269, + "line": 256, "column": 27 }, "end": { - "line": 269, + "line": 256, "column": 28 } } @@ -57348,15 +60406,15 @@ "binop": null }, "value": "width", - "start": 6861, - "end": 6866, + "start": 6646, + "end": 6651, "loc": { "start": { - "line": 269, + "line": 256, "column": 28 }, "end": { - "line": 269, + "line": 256, "column": 33 } } @@ -57375,15 +60433,15 @@ "updateContext": null }, "value": "/", - "start": 6867, - "end": 6868, + "start": 6652, + "end": 6653, "loc": { "start": { - "line": 269, + "line": 256, "column": 34 }, "end": { - "line": 269, + "line": 256, "column": 35 } } @@ -57402,15 +60460,15 @@ "updateContext": null }, "value": 2, - "start": 6869, - "end": 6870, + "start": 6654, + "end": 6655, "loc": { "start": { - "line": 269, + "line": 256, "column": 36 }, "end": { - "line": 269, + "line": 256, "column": 37 } } @@ -57428,15 +60486,15 @@ "binop": null, "updateContext": null }, - "start": 6870, - "end": 6871, + "start": 6655, + "end": 6656, "loc": { "start": { - "line": 269, + "line": 256, "column": 37 }, "end": { - "line": 269, + "line": 256, "column": 38 } } @@ -57454,15 +60512,15 @@ "binop": null }, "value": "y", - "start": 6880, - "end": 6881, + "start": 6665, + "end": 6666, "loc": { "start": { - "line": 270, + "line": 257, "column": 8 }, "end": { - "line": 270, + "line": 257, "column": 9 } } @@ -57480,15 +60538,15 @@ "binop": null, "updateContext": null }, - "start": 6881, - "end": 6882, + "start": 6666, + "end": 6667, "loc": { "start": { - "line": 270, + "line": 257, "column": 9 }, "end": { - "line": 270, + "line": 257, "column": 10 } } @@ -57506,15 +60564,15 @@ "binop": null }, "value": "rect", - "start": 6883, - "end": 6887, + "start": 6668, + "end": 6672, "loc": { "start": { - "line": 270, + "line": 257, "column": 11 }, "end": { - "line": 270, + "line": 257, "column": 15 } } @@ -57532,15 +60590,15 @@ "binop": null, "updateContext": null }, - "start": 6887, - "end": 6888, + "start": 6672, + "end": 6673, "loc": { "start": { - "line": 270, + "line": 257, "column": 15 }, "end": { - "line": 270, + "line": 257, "column": 16 } } @@ -57558,15 +60616,15 @@ "binop": null }, "value": "top", - "start": 6888, - "end": 6891, + "start": 6673, + "end": 6676, "loc": { "start": { - "line": 270, + "line": 257, "column": 16 }, "end": { - "line": 270, + "line": 257, "column": 19 } } @@ -57585,15 +60643,15 @@ "updateContext": null }, "value": "+", - "start": 6892, - "end": 6893, + "start": 6677, + "end": 6678, "loc": { "start": { - "line": 270, + "line": 257, "column": 20 }, "end": { - "line": 270, + "line": 257, "column": 21 } } @@ -57611,15 +60669,15 @@ "binop": null }, "value": "rect", - "start": 6894, - "end": 6898, + "start": 6679, + "end": 6683, "loc": { "start": { - "line": 270, + "line": 257, "column": 22 }, "end": { - "line": 270, + "line": 257, "column": 26 } } @@ -57637,15 +60695,15 @@ "binop": null, "updateContext": null }, - "start": 6898, - "end": 6899, + "start": 6683, + "end": 6684, "loc": { "start": { - "line": 270, + "line": 257, "column": 26 }, "end": { - "line": 270, + "line": 257, "column": 27 } } @@ -57663,15 +60721,15 @@ "binop": null }, "value": "height", - "start": 6899, - "end": 6905, + "start": 6684, + "end": 6690, "loc": { "start": { - "line": 270, + "line": 257, "column": 27 }, "end": { - "line": 270, + "line": 257, "column": 33 } } @@ -57690,15 +60748,15 @@ "updateContext": null }, "value": "*", - "start": 6906, - "end": 6907, + "start": 6691, + "end": 6692, "loc": { "start": { - "line": 270, + "line": 257, "column": 34 }, "end": { - "line": 270, + "line": 257, "column": 35 } } @@ -57716,15 +60774,15 @@ "binop": null }, "value": "headPos", - "start": 6908, - "end": 6915, + "start": 6693, + "end": 6700, "loc": { "start": { - "line": 270, + "line": 257, "column": 36 }, "end": { - "line": 270, + "line": 257, "column": 43 } } @@ -57741,15 +60799,15 @@ "postfix": false, "binop": null }, - "start": 6920, - "end": 6921, + "start": 6705, + "end": 6706, "loc": { "start": { - "line": 271, + "line": 258, "column": 4 }, "end": { - "line": 271, + "line": 258, "column": 5 } } @@ -57767,15 +60825,15 @@ "binop": null, "updateContext": null }, - "start": 6921, - "end": 6922, + "start": 6706, + "end": 6707, "loc": { "start": { - "line": 271, + "line": 258, "column": 5 }, "end": { - "line": 271, + "line": 258, "column": 6 } } @@ -57792,15 +60850,15 @@ "postfix": false, "binop": null }, - "start": 6923, - "end": 6924, + "start": 6708, + "end": 6709, "loc": { "start": { - "line": 271, + "line": 258, "column": 7 }, "end": { - "line": 271, + "line": 258, "column": 8 } } @@ -57818,15 +60876,15 @@ "binop": null }, "value": "x", - "start": 6933, - "end": 6934, + "start": 6718, + "end": 6719, "loc": { "start": { - "line": 272, + "line": 259, "column": 8 }, "end": { - "line": 272, + "line": 259, "column": 9 } } @@ -57844,15 +60902,15 @@ "binop": null, "updateContext": null }, - "start": 6934, - "end": 6935, + "start": 6719, + "end": 6720, "loc": { "start": { - "line": 272, + "line": 259, "column": 9 }, "end": { - "line": 272, + "line": 259, "column": 10 } } @@ -57870,15 +60928,15 @@ "binop": null }, "value": "event", - "start": 6936, - "end": 6941, + "start": 6721, + "end": 6726, "loc": { "start": { - "line": 272, + "line": 259, "column": 11 }, "end": { - "line": 272, + "line": 259, "column": 16 } } @@ -57896,15 +60954,15 @@ "binop": null, "updateContext": null }, - "start": 6941, - "end": 6942, + "start": 6726, + "end": 6727, "loc": { "start": { - "line": 272, + "line": 259, "column": 16 }, "end": { - "line": 272, + "line": 259, "column": 17 } } @@ -57922,15 +60980,15 @@ "binop": null }, "value": "clientX", - "start": 6942, - "end": 6949, + "start": 6727, + "end": 6734, "loc": { "start": { - "line": 272, + "line": 259, "column": 17 }, "end": { - "line": 272, + "line": 259, "column": 24 } } @@ -57948,15 +61006,15 @@ "binop": null, "updateContext": null }, - "start": 6949, - "end": 6950, + "start": 6734, + "end": 6735, "loc": { "start": { - "line": 272, + "line": 259, "column": 24 }, "end": { - "line": 272, + "line": 259, "column": 25 } } @@ -57974,15 +61032,15 @@ "binop": null }, "value": "y", - "start": 6959, - "end": 6960, + "start": 6744, + "end": 6745, "loc": { "start": { - "line": 273, + "line": 260, "column": 8 }, "end": { - "line": 273, + "line": 260, "column": 9 } } @@ -58000,15 +61058,15 @@ "binop": null, "updateContext": null }, - "start": 6960, - "end": 6961, + "start": 6745, + "end": 6746, "loc": { "start": { - "line": 273, + "line": 260, "column": 9 }, "end": { - "line": 273, + "line": 260, "column": 10 } } @@ -58026,15 +61084,15 @@ "binop": null }, "value": "event", - "start": 6962, - "end": 6967, + "start": 6747, + "end": 6752, "loc": { "start": { - "line": 273, + "line": 260, "column": 11 }, "end": { - "line": 273, + "line": 260, "column": 16 } } @@ -58052,15 +61110,15 @@ "binop": null, "updateContext": null }, - "start": 6967, - "end": 6968, + "start": 6752, + "end": 6753, "loc": { "start": { - "line": 273, + "line": 260, "column": 16 }, "end": { - "line": 273, + "line": 260, "column": 17 } } @@ -58078,15 +61136,15 @@ "binop": null }, "value": "clientY", - "start": 6968, - "end": 6975, + "start": 6753, + "end": 6760, "loc": { "start": { - "line": 273, + "line": 260, "column": 17 }, "end": { - "line": 273, + "line": 260, "column": 24 } } @@ -58103,15 +61161,15 @@ "postfix": false, "binop": null }, - "start": 6980, - "end": 6981, + "start": 6765, + "end": 6766, "loc": { "start": { - "line": 274, + "line": 261, "column": 4 }, "end": { - "line": 274, + "line": 261, "column": 5 } } @@ -58129,15 +61187,15 @@ "binop": null, "updateContext": null }, - "start": 6981, - "end": 6982, + "start": 6766, + "end": 6767, "loc": { "start": { - "line": 274, + "line": 261, "column": 5 }, "end": { - "line": 274, + "line": 261, "column": 6 } } @@ -58155,15 +61213,15 @@ "binop": null }, "value": "rect", - "start": 6983, - "end": 6987, + "start": 6768, + "end": 6772, "loc": { "start": { - "line": 274, + "line": 261, "column": 7 }, "end": { - "line": 274, + "line": 261, "column": 11 } } @@ -58180,15 +61238,15 @@ "postfix": false, "binop": null }, - "start": 6987, - "end": 6988, + "start": 6772, + "end": 6773, "loc": { "start": { - "line": 274, + "line": 261, "column": 11 }, "end": { - "line": 274, + "line": 261, "column": 12 } } @@ -58208,15 +61266,15 @@ "updateContext": null }, "value": "let", - "start": 6993, - "end": 6996, + "start": 6778, + "end": 6781, "loc": { "start": { - "line": 275, + "line": 262, "column": 4 }, "end": { - "line": 275, + "line": 262, "column": 7 } } @@ -58234,15 +61292,15 @@ "binop": null }, "value": "vx", - "start": 6997, - "end": 6999, + "start": 6782, + "end": 6784, "loc": { "start": { - "line": 275, + "line": 262, "column": 8 }, "end": { - "line": 275, + "line": 262, "column": 10 } } @@ -58261,15 +61319,15 @@ "updateContext": null }, "value": "=", - "start": 7000, - "end": 7001, + "start": 6785, + "end": 6786, "loc": { "start": { - "line": 275, + "line": 262, "column": 11 }, "end": { - "line": 275, + "line": 262, "column": 12 } } @@ -58287,15 +61345,15 @@ "binop": null }, "value": "transformViewX", - "start": 7002, - "end": 7016, + "start": 6787, + "end": 6801, "loc": { "start": { - "line": 275, + "line": 262, "column": 13 }, "end": { - "line": 275, + "line": 262, "column": 27 } } @@ -58312,15 +61370,15 @@ "postfix": false, "binop": null }, - "start": 7016, - "end": 7017, + "start": 6801, + "end": 6802, "loc": { "start": { - "line": 275, + "line": 262, "column": 27 }, "end": { - "line": 275, + "line": 262, "column": 28 } } @@ -58338,15 +61396,15 @@ "binop": null }, "value": "target", - "start": 7017, - "end": 7023, + "start": 6802, + "end": 6808, "loc": { "start": { - "line": 275, + "line": 262, "column": 28 }, "end": { - "line": 275, + "line": 262, "column": 34 } } @@ -58364,15 +61422,15 @@ "binop": null, "updateContext": null }, - "start": 7023, - "end": 7024, + "start": 6808, + "end": 6809, "loc": { "start": { - "line": 275, + "line": 262, "column": 34 }, "end": { - "line": 275, + "line": 262, "column": 35 } } @@ -58390,15 +61448,15 @@ "binop": null }, "value": "x", - "start": 7024, - "end": 7025, + "start": 6809, + "end": 6810, "loc": { "start": { - "line": 275, + "line": 262, "column": 35 }, "end": { - "line": 275, + "line": 262, "column": 36 } } @@ -58417,15 +61475,15 @@ "updateContext": null }, "value": "-", - "start": 7026, - "end": 7027, + "start": 6811, + "end": 6812, "loc": { "start": { - "line": 275, + "line": 262, "column": 37 }, "end": { - "line": 275, + "line": 262, "column": 38 } } @@ -58443,15 +61501,15 @@ "binop": null }, "value": "rect", - "start": 7028, - "end": 7032, + "start": 6813, + "end": 6817, "loc": { "start": { - "line": 275, + "line": 262, "column": 39 }, "end": { - "line": 275, + "line": 262, "column": 43 } } @@ -58469,15 +61527,15 @@ "binop": null, "updateContext": null }, - "start": 7032, - "end": 7033, + "start": 6817, + "end": 6818, "loc": { "start": { - "line": 275, + "line": 262, "column": 43 }, "end": { - "line": 275, + "line": 262, "column": 44 } } @@ -58495,15 +61553,15 @@ "binop": null }, "value": "left", - "start": 7033, - "end": 7037, + "start": 6818, + "end": 6822, "loc": { "start": { - "line": 275, + "line": 262, "column": 44 }, "end": { - "line": 275, + "line": 262, "column": 48 } } @@ -58520,15 +61578,15 @@ "postfix": false, "binop": null }, - "start": 7037, - "end": 7038, + "start": 6822, + "end": 6823, "loc": { "start": { - "line": 275, + "line": 262, "column": 48 }, "end": { - "line": 275, + "line": 262, "column": 49 } } @@ -58546,15 +61604,15 @@ "binop": null, "updateContext": null }, - "start": 7038, - "end": 7039, + "start": 6823, + "end": 6824, "loc": { "start": { - "line": 275, + "line": 262, "column": 49 }, "end": { - "line": 275, + "line": 262, "column": 50 } } @@ -58574,15 +61632,15 @@ "updateContext": null }, "value": "let", - "start": 7044, - "end": 7047, + "start": 6829, + "end": 6832, "loc": { "start": { - "line": 276, + "line": 263, "column": 4 }, "end": { - "line": 276, + "line": 263, "column": 7 } } @@ -58600,15 +61658,15 @@ "binop": null }, "value": "vy", - "start": 7048, - "end": 7050, + "start": 6833, + "end": 6835, "loc": { "start": { - "line": 276, + "line": 263, "column": 8 }, "end": { - "line": 276, + "line": 263, "column": 10 } } @@ -58627,15 +61685,15 @@ "updateContext": null }, "value": "=", - "start": 7051, - "end": 7052, + "start": 6836, + "end": 6837, "loc": { "start": { - "line": 276, + "line": 263, "column": 11 }, "end": { - "line": 276, + "line": 263, "column": 12 } } @@ -58653,15 +61711,15 @@ "binop": null }, "value": "transformViewY", - "start": 7053, - "end": 7067, + "start": 6838, + "end": 6852, "loc": { "start": { - "line": 276, + "line": 263, "column": 13 }, "end": { - "line": 276, + "line": 263, "column": 27 } } @@ -58678,15 +61736,15 @@ "postfix": false, "binop": null }, - "start": 7067, - "end": 7068, + "start": 6852, + "end": 6853, "loc": { "start": { - "line": 276, + "line": 263, "column": 27 }, "end": { - "line": 276, + "line": 263, "column": 28 } } @@ -58704,15 +61762,15 @@ "binop": null }, "value": "target", - "start": 7068, - "end": 7074, + "start": 6853, + "end": 6859, "loc": { "start": { - "line": 276, + "line": 263, "column": 28 }, "end": { - "line": 276, + "line": 263, "column": 34 } } @@ -58730,15 +61788,15 @@ "binop": null, "updateContext": null }, - "start": 7074, - "end": 7075, + "start": 6859, + "end": 6860, "loc": { "start": { - "line": 276, + "line": 263, "column": 34 }, "end": { - "line": 276, + "line": 263, "column": 35 } } @@ -58756,15 +61814,15 @@ "binop": null }, "value": "y", - "start": 7075, - "end": 7076, + "start": 6860, + "end": 6861, "loc": { "start": { - "line": 276, + "line": 263, "column": 35 }, "end": { - "line": 276, + "line": 263, "column": 36 } } @@ -58783,15 +61841,15 @@ "updateContext": null }, "value": "-", - "start": 7077, - "end": 7078, + "start": 6862, + "end": 6863, "loc": { "start": { - "line": 276, + "line": 263, "column": 37 }, "end": { - "line": 276, + "line": 263, "column": 38 } } @@ -58809,15 +61867,15 @@ "binop": null }, "value": "rect", - "start": 7079, - "end": 7083, + "start": 6864, + "end": 6868, "loc": { "start": { - "line": 276, + "line": 263, "column": 39 }, "end": { - "line": 276, + "line": 263, "column": 43 } } @@ -58835,15 +61893,15 @@ "binop": null, "updateContext": null }, - "start": 7083, - "end": 7084, + "start": 6868, + "end": 6869, "loc": { "start": { - "line": 276, + "line": 263, "column": 43 }, "end": { - "line": 276, + "line": 263, "column": 44 } } @@ -58861,15 +61919,15 @@ "binop": null }, "value": "top", - "start": 7084, - "end": 7087, + "start": 6869, + "end": 6872, "loc": { "start": { - "line": 276, + "line": 263, "column": 44 }, "end": { - "line": 276, + "line": 263, "column": 47 } } @@ -58886,15 +61944,15 @@ "postfix": false, "binop": null }, - "start": 7087, - "end": 7088, + "start": 6872, + "end": 6873, "loc": { "start": { - "line": 276, + "line": 263, "column": 47 }, "end": { - "line": 276, + "line": 263, "column": 48 } } @@ -58912,15 +61970,15 @@ "binop": null, "updateContext": null }, - "start": 7088, - "end": 7089, + "start": 6873, + "end": 6874, "loc": { "start": { - "line": 276, + "line": 263, "column": 48 }, "end": { - "line": 276, + "line": 263, "column": 49 } } @@ -58940,15 +61998,15 @@ "updateContext": null }, "value": "if", - "start": 7095, - "end": 7097, + "start": 6880, + "end": 6882, "loc": { "start": { - "line": 278, + "line": 265, "column": 4 }, "end": { - "line": 278, + "line": 265, "column": 6 } } @@ -58965,15 +62023,15 @@ "postfix": false, "binop": null }, - "start": 7098, - "end": 7099, + "start": 6883, + "end": 6884, "loc": { "start": { - "line": 278, + "line": 265, "column": 7 }, "end": { - "line": 278, + "line": 265, "column": 8 } } @@ -58991,15 +62049,15 @@ "binop": null }, "value": "cDefine", - "start": 7099, - "end": 7106, + "start": 6884, + "end": 6891, "loc": { "start": { - "line": 278, + "line": 265, "column": 8 }, "end": { - "line": 278, + "line": 265, "column": 15 } } @@ -59017,15 +62075,15 @@ "binop": null, "updateContext": null }, - "start": 7106, - "end": 7107, + "start": 6891, + "end": 6892, "loc": { "start": { - "line": 278, + "line": 265, "column": 15 }, "end": { - "line": 278, + "line": 265, "column": 16 } } @@ -59043,15 +62101,15 @@ "binop": null }, "value": "DEBUG_MOUSE_LOG", - "start": 7107, - "end": 7122, + "start": 6892, + "end": 6907, "loc": { "start": { - "line": 278, + "line": 265, "column": 16 }, "end": { - "line": 278, + "line": 265, "column": 31 } } @@ -59068,15 +62126,15 @@ "postfix": false, "binop": null }, - "start": 7122, - "end": 7123, + "start": 6907, + "end": 6908, "loc": { "start": { - "line": 278, + "line": 265, "column": 31 }, "end": { - "line": 278, + "line": 265, "column": 32 } } @@ -59094,15 +62152,15 @@ "binop": null }, "value": "console", - "start": 7132, - "end": 7139, + "start": 6917, + "end": 6924, "loc": { "start": { - "line": 279, + "line": 266, "column": 8 }, "end": { - "line": 279, + "line": 266, "column": 15 } } @@ -59120,15 +62178,15 @@ "binop": null, "updateContext": null }, - "start": 7139, - "end": 7140, + "start": 6924, + "end": 6925, "loc": { "start": { - "line": 279, + "line": 266, "column": 15 }, "end": { - "line": 279, + "line": 266, "column": 16 } } @@ -59146,15 +62204,15 @@ "binop": null }, "value": "log", - "start": 7140, - "end": 7143, + "start": 6925, + "end": 6928, "loc": { "start": { - "line": 279, + "line": 266, "column": 16 }, "end": { - "line": 279, + "line": 266, "column": 19 } } @@ -59171,15 +62229,15 @@ "postfix": false, "binop": null }, - "start": 7143, - "end": 7144, + "start": 6928, + "end": 6929, "loc": { "start": { - "line": 279, + "line": 266, "column": 19 }, "end": { - "line": 279, + "line": 266, "column": 20 } } @@ -59198,15 +62256,15 @@ "updateContext": null }, "value": "modelTurnHead onMouseMove device( x:", - "start": 7144, - "end": 7182, + "start": 6929, + "end": 6967, "loc": { "start": { - "line": 279, + "line": 266, "column": 20 }, "end": { - "line": 279, + "line": 266, "column": 58 } } @@ -59225,15 +62283,15 @@ "updateContext": null }, "value": "+", - "start": 7183, - "end": 7184, + "start": 6968, + "end": 6969, "loc": { "start": { - "line": 279, + "line": 266, "column": 59 }, "end": { - "line": 279, + "line": 266, "column": 60 } } @@ -59251,15 +62309,15 @@ "binop": null }, "value": "event", - "start": 7185, - "end": 7190, + "start": 6970, + "end": 6975, "loc": { "start": { - "line": 279, + "line": 266, "column": 61 }, "end": { - "line": 279, + "line": 266, "column": 66 } } @@ -59277,15 +62335,15 @@ "binop": null, "updateContext": null }, - "start": 7190, - "end": 7191, + "start": 6975, + "end": 6976, "loc": { "start": { - "line": 279, + "line": 266, "column": 66 }, "end": { - "line": 279, + "line": 266, "column": 67 } } @@ -59303,15 +62361,15 @@ "binop": null }, "value": "clientX", - "start": 7191, - "end": 7198, + "start": 6976, + "end": 6983, "loc": { "start": { - "line": 279, + "line": 266, "column": 67 }, "end": { - "line": 279, + "line": 266, "column": 74 } } @@ -59330,15 +62388,15 @@ "updateContext": null }, "value": "+", - "start": 7199, - "end": 7200, + "start": 6984, + "end": 6985, "loc": { "start": { - "line": 279, + "line": 266, "column": 75 }, "end": { - "line": 279, + "line": 266, "column": 76 } } @@ -59357,15 +62415,15 @@ "updateContext": null }, "value": " y:", - "start": 7201, - "end": 7206, + "start": 6986, + "end": 6991, "loc": { "start": { - "line": 279, + "line": 266, "column": 77 }, "end": { - "line": 279, + "line": 266, "column": 82 } } @@ -59384,15 +62442,15 @@ "updateContext": null }, "value": "+", - "start": 7207, - "end": 7208, + "start": 6992, + "end": 6993, "loc": { "start": { - "line": 279, + "line": 266, "column": 83 }, "end": { - "line": 279, + "line": 266, "column": 84 } } @@ -59410,15 +62468,15 @@ "binop": null }, "value": "event", - "start": 7209, - "end": 7214, + "start": 6994, + "end": 6999, "loc": { "start": { - "line": 279, + "line": 266, "column": 85 }, "end": { - "line": 279, + "line": 266, "column": 90 } } @@ -59436,15 +62494,15 @@ "binop": null, "updateContext": null }, - "start": 7214, - "end": 7215, + "start": 6999, + "end": 7000, "loc": { "start": { - "line": 279, + "line": 266, "column": 90 }, "end": { - "line": 279, + "line": 266, "column": 91 } } @@ -59462,15 +62520,15 @@ "binop": null }, "value": "clientY", - "start": 7215, - "end": 7222, + "start": 7000, + "end": 7007, "loc": { "start": { - "line": 279, + "line": 266, "column": 91 }, "end": { - "line": 279, + "line": 266, "column": 98 } } @@ -59489,15 +62547,15 @@ "updateContext": null }, "value": "+", - "start": 7223, - "end": 7224, + "start": 7008, + "end": 7009, "loc": { "start": { - "line": 279, + "line": 266, "column": 99 }, "end": { - "line": 279, + "line": 266, "column": 100 } } @@ -59516,15 +62574,15 @@ "updateContext": null }, "value": " ) view( x:", - "start": 7225, - "end": 7238, + "start": 7010, + "end": 7023, "loc": { "start": { - "line": 279, + "line": 266, "column": 101 }, "end": { - "line": 279, + "line": 266, "column": 114 } } @@ -59543,15 +62601,15 @@ "updateContext": null }, "value": "+", - "start": 7239, - "end": 7240, + "start": 7024, + "end": 7025, "loc": { "start": { - "line": 279, + "line": 266, "column": 115 }, "end": { - "line": 279, + "line": 266, "column": 116 } } @@ -59569,15 +62627,15 @@ "binop": null }, "value": "vx", - "start": 7241, - "end": 7243, + "start": 7026, + "end": 7028, "loc": { "start": { - "line": 279, + "line": 266, "column": 117 }, "end": { - "line": 279, + "line": 266, "column": 119 } } @@ -59596,15 +62654,15 @@ "updateContext": null }, "value": "+", - "start": 7244, - "end": 7245, + "start": 7029, + "end": 7030, "loc": { "start": { - "line": 279, + "line": 266, "column": 120 }, "end": { - "line": 279, + "line": 266, "column": 121 } } @@ -59623,15 +62681,15 @@ "updateContext": null }, "value": " y:", - "start": 7246, - "end": 7251, + "start": 7031, + "end": 7036, "loc": { "start": { - "line": 279, + "line": 266, "column": 122 }, "end": { - "line": 279, + "line": 266, "column": 127 } } @@ -59650,15 +62708,15 @@ "updateContext": null }, "value": "+", - "start": 7252, - "end": 7253, + "start": 7037, + "end": 7038, "loc": { "start": { - "line": 279, + "line": 266, "column": 128 }, "end": { - "line": 279, + "line": 266, "column": 129 } } @@ -59676,15 +62734,15 @@ "binop": null }, "value": "vy", - "start": 7254, - "end": 7256, + "start": 7039, + "end": 7041, "loc": { "start": { - "line": 279, + "line": 266, "column": 130 }, "end": { - "line": 279, + "line": 266, "column": 132 } } @@ -59703,15 +62761,15 @@ "updateContext": null }, "value": "+", - "start": 7257, - "end": 7258, + "start": 7042, + "end": 7043, "loc": { "start": { - "line": 279, + "line": 266, "column": 133 }, "end": { - "line": 279, + "line": 266, "column": 134 } } @@ -59730,15 +62788,15 @@ "updateContext": null }, "value": ")", - "start": 7259, - "end": 7262, + "start": 7044, + "end": 7047, "loc": { "start": { - "line": 279, + "line": 266, "column": 135 }, "end": { - "line": 279, + "line": 266, "column": 138 } } @@ -59755,15 +62813,15 @@ "postfix": false, "binop": null }, - "start": 7262, - "end": 7263, + "start": 7047, + "end": 7048, "loc": { "start": { - "line": 279, + "line": 266, "column": 138 }, "end": { - "line": 279, + "line": 266, "column": 139 } } @@ -59781,15 +62839,15 @@ "binop": null, "updateContext": null }, - "start": 7263, - "end": 7264, + "start": 7048, + "end": 7049, "loc": { "start": { - "line": 279, + "line": 266, "column": 139 }, "end": { - "line": 279, + "line": 266, "column": 140 } } @@ -59807,15 +62865,15 @@ "binop": null }, "value": "lastMouseX", - "start": 7270, - "end": 7280, + "start": 7055, + "end": 7065, "loc": { "start": { - "line": 281, + "line": 268, "column": 4 }, "end": { - "line": 281, + "line": 268, "column": 14 } } @@ -59834,15 +62892,15 @@ "updateContext": null }, "value": "=", - "start": 7281, - "end": 7282, + "start": 7066, + "end": 7067, "loc": { "start": { - "line": 281, + "line": 268, "column": 15 }, "end": { - "line": 281, + "line": 268, "column": 16 } } @@ -59860,15 +62918,15 @@ "binop": null }, "value": "sx", - "start": 7283, - "end": 7285, + "start": 7068, + "end": 7070, "loc": { "start": { - "line": 281, + "line": 268, "column": 17 }, "end": { - "line": 281, + "line": 268, "column": 19 } } @@ -59886,15 +62944,15 @@ "binop": null, "updateContext": null }, - "start": 7285, - "end": 7286, + "start": 7070, + "end": 7071, "loc": { "start": { - "line": 281, + "line": 268, "column": 19 }, "end": { - "line": 281, + "line": 268, "column": 20 } } @@ -59912,15 +62970,15 @@ "binop": null }, "value": "lastMouseY", - "start": 7291, - "end": 7301, + "start": 7076, + "end": 7086, "loc": { "start": { - "line": 282, + "line": 269, "column": 4 }, "end": { - "line": 282, + "line": 269, "column": 14 } } @@ -59939,15 +62997,15 @@ "updateContext": null }, "value": "=", - "start": 7302, - "end": 7303, + "start": 7087, + "end": 7088, "loc": { "start": { - "line": 282, + "line": 269, "column": 15 }, "end": { - "line": 282, + "line": 269, "column": 16 } } @@ -59965,15 +63023,15 @@ "binop": null }, "value": "sy", - "start": 7304, - "end": 7306, + "start": 7089, + "end": 7091, "loc": { "start": { - "line": 282, + "line": 269, "column": 17 }, "end": { - "line": 282, + "line": 269, "column": 19 } } @@ -59991,15 +63049,15 @@ "binop": null, "updateContext": null }, - "start": 7306, - "end": 7307, + "start": 7091, + "end": 7092, "loc": { "start": { - "line": 282, + "line": 269, "column": 19 }, "end": { - "line": 282, + "line": 269, "column": 20 } } @@ -60017,15 +63075,15 @@ "binop": null }, "value": "dragMgr", - "start": 7313, - "end": 7320, + "start": 7098, + "end": 7105, "loc": { "start": { - "line": 284, + "line": 271, "column": 4 }, "end": { - "line": 284, + "line": 271, "column": 11 } } @@ -60043,15 +63101,15 @@ "binop": null, "updateContext": null }, - "start": 7320, - "end": 7321, + "start": 7105, + "end": 7106, "loc": { "start": { - "line": 284, + "line": 271, "column": 11 }, "end": { - "line": 284, + "line": 271, "column": 12 } } @@ -60069,15 +63127,15 @@ "binop": null }, "value": "setPoint", - "start": 7321, - "end": 7329, + "start": 7106, + "end": 7114, "loc": { "start": { - "line": 284, + "line": 271, "column": 12 }, "end": { - "line": 284, + "line": 271, "column": 20 } } @@ -60094,15 +63152,15 @@ "postfix": false, "binop": null }, - "start": 7329, - "end": 7330, + "start": 7114, + "end": 7115, "loc": { "start": { - "line": 284, + "line": 271, "column": 20 }, "end": { - "line": 284, + "line": 271, "column": 21 } } @@ -60120,15 +63178,15 @@ "binop": null }, "value": "vx", - "start": 7330, - "end": 7332, + "start": 7115, + "end": 7117, "loc": { "start": { - "line": 284, + "line": 271, "column": 21 }, "end": { - "line": 284, + "line": 271, "column": 23 } } @@ -60146,15 +63204,15 @@ "binop": null, "updateContext": null }, - "start": 7332, - "end": 7333, + "start": 7117, + "end": 7118, "loc": { "start": { - "line": 284, + "line": 271, "column": 23 }, "end": { - "line": 284, + "line": 271, "column": 24 } } @@ -60172,15 +63230,15 @@ "binop": null }, "value": "vy", - "start": 7334, - "end": 7336, + "start": 7119, + "end": 7121, "loc": { "start": { - "line": 284, + "line": 271, "column": 25 }, "end": { - "line": 284, + "line": 271, "column": 27 } } @@ -60197,15 +63255,15 @@ "postfix": false, "binop": null }, - "start": 7336, - "end": 7337, + "start": 7121, + "end": 7122, "loc": { "start": { - "line": 284, + "line": 271, "column": 27 }, "end": { - "line": 284, + "line": 271, "column": 28 } } @@ -60223,15 +63281,15 @@ "binop": null, "updateContext": null }, - "start": 7337, - "end": 7338, + "start": 7122, + "end": 7123, "loc": { "start": { - "line": 284, + "line": 271, "column": 28 }, "end": { - "line": 284, + "line": 271, "column": 29 } } @@ -60248,15 +63306,15 @@ "postfix": false, "binop": null }, - "start": 7339, - "end": 7340, + "start": 7124, + "end": 7125, "loc": { "start": { - "line": 285, + "line": 272, "column": 0 }, "end": { - "line": 285, + "line": 272, "column": 1 } } @@ -60275,15 +63333,15 @@ "binop": null }, "value": "function", - "start": 7342, - "end": 7350, + "start": 7127, + "end": 7135, "loc": { "start": { - "line": 287, + "line": 274, "column": 0 }, "end": { - "line": 287, + "line": 274, "column": 8 } } @@ -60301,15 +63359,15 @@ "binop": null }, "value": "modelTapEvent", - "start": 7351, - "end": 7364, + "start": 7136, + "end": 7149, "loc": { "start": { - "line": 287, + "line": 274, "column": 9 }, "end": { - "line": 287, + "line": 274, "column": 22 } } @@ -60326,15 +63384,15 @@ "postfix": false, "binop": null }, - "start": 7364, - "end": 7365, + "start": 7149, + "end": 7150, "loc": { "start": { - "line": 287, + "line": 274, "column": 22 }, "end": { - "line": 287, + "line": 274, "column": 23 } } @@ -60352,15 +63410,15 @@ "binop": null }, "value": "event", - "start": 7365, - "end": 7370, + "start": 7150, + "end": 7155, "loc": { "start": { - "line": 287, + "line": 274, "column": 23 }, "end": { - "line": 287, + "line": 274, "column": 28 } } @@ -60377,15 +63435,15 @@ "postfix": false, "binop": null }, - "start": 7370, - "end": 7371, + "start": 7155, + "end": 7156, "loc": { "start": { - "line": 287, + "line": 274, "column": 28 }, "end": { - "line": 287, + "line": 274, "column": 29 } } @@ -60402,15 +63460,15 @@ "postfix": false, "binop": null }, - "start": 7372, - "end": 7373, + "start": 7157, + "end": 7158, "loc": { "start": { - "line": 288, + "line": 275, "column": 0 }, "end": { - "line": 288, + "line": 275, "column": 1 } } @@ -60428,15 +63486,15 @@ "binop": null }, "value": "drag", - "start": 7378, - "end": 7382, + "start": 7163, + "end": 7167, "loc": { "start": { - "line": 289, + "line": 276, "column": 4 }, "end": { - "line": 289, + "line": 276, "column": 8 } } @@ -60455,15 +63513,15 @@ "updateContext": null }, "value": "=", - "start": 7383, - "end": 7384, + "start": 7168, + "end": 7169, "loc": { "start": { - "line": 289, + "line": 276, "column": 9 }, "end": { - "line": 289, + "line": 276, "column": 10 } } @@ -60483,15 +63541,15 @@ "updateContext": null }, "value": "true", - "start": 7385, - "end": 7389, + "start": 7170, + "end": 7174, "loc": { "start": { - "line": 289, + "line": 276, "column": 11 }, "end": { - "line": 289, + "line": 276, "column": 15 } } @@ -60509,15 +63567,15 @@ "binop": null, "updateContext": null }, - "start": 7389, - "end": 7390, + "start": 7174, + "end": 7175, "loc": { "start": { - "line": 289, + "line": 276, "column": 15 }, "end": { - "line": 289, + "line": 276, "column": 16 } } @@ -60537,15 +63595,15 @@ "updateContext": null }, "value": "let", - "start": 7396, - "end": 7399, + "start": 7181, + "end": 7184, "loc": { "start": { - "line": 291, + "line": 278, "column": 4 }, "end": { - "line": 291, + "line": 278, "column": 7 } } @@ -60563,15 +63621,15 @@ "binop": null }, "value": "rect", - "start": 7400, - "end": 7404, + "start": 7185, + "end": 7189, "loc": { "start": { - "line": 291, + "line": 278, "column": 8 }, "end": { - "line": 291, + "line": 278, "column": 12 } } @@ -60590,15 +63648,15 @@ "updateContext": null }, "value": "=", - "start": 7405, - "end": 7406, + "start": 7190, + "end": 7191, "loc": { "start": { - "line": 291, + "line": 278, "column": 13 }, "end": { - "line": 291, + "line": 278, "column": 14 } } @@ -60615,17 +63673,17 @@ "postfix": false, "binop": null }, - "value": "canvas", - "start": 7407, - "end": 7413, + "value": "currCanvas", + "start": 7192, + "end": 7202, "loc": { "start": { - "line": 291, + "line": 278, "column": 15 }, "end": { - "line": 291, - "column": 21 + "line": 278, + "column": 25 } } }, @@ -60642,16 +63700,16 @@ "binop": null, "updateContext": null }, - "start": 7413, - "end": 7414, + "start": 7202, + "end": 7203, "loc": { "start": { - "line": 291, - "column": 21 + "line": 278, + "column": 25 }, "end": { - "line": 291, - "column": 22 + "line": 278, + "column": 26 } } }, @@ -60668,16 +63726,16 @@ "binop": null }, "value": "getBoundingClientRect", - "start": 7414, - "end": 7435, + "start": 7203, + "end": 7224, "loc": { "start": { - "line": 291, - "column": 22 + "line": 278, + "column": 26 }, "end": { - "line": 291, - "column": 43 + "line": 278, + "column": 47 } } }, @@ -60693,16 +63751,16 @@ "postfix": false, "binop": null }, - "start": 7435, - "end": 7436, + "start": 7224, + "end": 7225, "loc": { "start": { - "line": 291, - "column": 43 + "line": 278, + "column": 47 }, "end": { - "line": 291, - "column": 44 + "line": 278, + "column": 48 } } }, @@ -60718,16 +63776,16 @@ "postfix": false, "binop": null }, - "start": 7436, - "end": 7437, + "start": 7225, + "end": 7226, "loc": { "start": { - "line": 291, - "column": 44 + "line": 278, + "column": 48 }, "end": { - "line": 291, - "column": 45 + "line": 278, + "column": 49 } } }, @@ -60744,16 +63802,16 @@ "binop": null, "updateContext": null }, - "start": 7437, - "end": 7438, + "start": 7226, + "end": 7227, "loc": { "start": { - "line": 291, - "column": 45 + "line": 278, + "column": 49 }, "end": { - "line": 291, - "column": 46 + "line": 278, + "column": 50 } } }, @@ -60772,15 +63830,15 @@ "updateContext": null }, "value": "let", - "start": 7444, - "end": 7447, + "start": 7233, + "end": 7236, "loc": { "start": { - "line": 293, + "line": 280, "column": 4 }, "end": { - "line": 293, + "line": 280, "column": 7 } } @@ -60798,15 +63856,15 @@ "binop": null }, "value": "sx", - "start": 7448, - "end": 7450, + "start": 7237, + "end": 7239, "loc": { "start": { - "line": 293, + "line": 280, "column": 8 }, "end": { - "line": 293, + "line": 280, "column": 10 } } @@ -60825,15 +63883,15 @@ "updateContext": null }, "value": "=", - "start": 7451, - "end": 7452, + "start": 7240, + "end": 7241, "loc": { "start": { - "line": 293, + "line": 280, "column": 11 }, "end": { - "line": 293, + "line": 280, "column": 12 } } @@ -60851,15 +63909,15 @@ "binop": null }, "value": "transformScreenX", - "start": 7453, - "end": 7469, + "start": 7242, + "end": 7258, "loc": { "start": { - "line": 293, + "line": 280, "column": 13 }, "end": { - "line": 293, + "line": 280, "column": 29 } } @@ -60876,15 +63934,15 @@ "postfix": false, "binop": null }, - "start": 7469, - "end": 7470, + "start": 7258, + "end": 7259, "loc": { "start": { - "line": 293, + "line": 280, "column": 29 }, "end": { - "line": 293, + "line": 280, "column": 30 } } @@ -60902,15 +63960,15 @@ "binop": null }, "value": "event", - "start": 7470, - "end": 7475, + "start": 7259, + "end": 7264, "loc": { "start": { - "line": 293, + "line": 280, "column": 30 }, "end": { - "line": 293, + "line": 280, "column": 35 } } @@ -60928,15 +63986,15 @@ "binop": null, "updateContext": null }, - "start": 7475, - "end": 7476, + "start": 7264, + "end": 7265, "loc": { "start": { - "line": 293, + "line": 280, "column": 35 }, "end": { - "line": 293, + "line": 280, "column": 36 } } @@ -60954,15 +64012,15 @@ "binop": null }, "value": "clientX", - "start": 7476, - "end": 7483, + "start": 7265, + "end": 7272, "loc": { "start": { - "line": 293, + "line": 280, "column": 36 }, "end": { - "line": 293, + "line": 280, "column": 43 } } @@ -60981,15 +64039,15 @@ "updateContext": null }, "value": "-", - "start": 7484, - "end": 7485, + "start": 7273, + "end": 7274, "loc": { "start": { - "line": 293, + "line": 280, "column": 44 }, "end": { - "line": 293, + "line": 280, "column": 45 } } @@ -61007,15 +64065,15 @@ "binop": null }, "value": "rect", - "start": 7486, - "end": 7490, + "start": 7275, + "end": 7279, "loc": { "start": { - "line": 293, + "line": 280, "column": 46 }, "end": { - "line": 293, + "line": 280, "column": 50 } } @@ -61033,15 +64091,15 @@ "binop": null, "updateContext": null }, - "start": 7490, - "end": 7491, + "start": 7279, + "end": 7280, "loc": { "start": { - "line": 293, + "line": 280, "column": 50 }, "end": { - "line": 293, + "line": 280, "column": 51 } } @@ -61059,15 +64117,15 @@ "binop": null }, "value": "left", - "start": 7491, - "end": 7495, + "start": 7280, + "end": 7284, "loc": { "start": { - "line": 293, + "line": 280, "column": 51 }, "end": { - "line": 293, + "line": 280, "column": 55 } } @@ -61084,15 +64142,15 @@ "postfix": false, "binop": null }, - "start": 7495, - "end": 7496, + "start": 7284, + "end": 7285, "loc": { "start": { - "line": 293, + "line": 280, "column": 55 }, "end": { - "line": 293, + "line": 280, "column": 56 } } @@ -61110,15 +64168,15 @@ "binop": null, "updateContext": null }, - "start": 7496, - "end": 7497, + "start": 7285, + "end": 7286, "loc": { "start": { - "line": 293, + "line": 280, "column": 56 }, "end": { - "line": 293, + "line": 280, "column": 57 } } @@ -61138,15 +64196,15 @@ "updateContext": null }, "value": "let", - "start": 7502, - "end": 7505, + "start": 7291, + "end": 7294, "loc": { "start": { - "line": 294, + "line": 281, "column": 4 }, "end": { - "line": 294, + "line": 281, "column": 7 } } @@ -61164,15 +64222,15 @@ "binop": null }, "value": "sy", - "start": 7506, - "end": 7508, + "start": 7295, + "end": 7297, "loc": { "start": { - "line": 294, + "line": 281, "column": 8 }, "end": { - "line": 294, + "line": 281, "column": 10 } } @@ -61191,15 +64249,15 @@ "updateContext": null }, "value": "=", - "start": 7509, - "end": 7510, + "start": 7298, + "end": 7299, "loc": { "start": { - "line": 294, + "line": 281, "column": 11 }, "end": { - "line": 294, + "line": 281, "column": 12 } } @@ -61217,15 +64275,15 @@ "binop": null }, "value": "transformScreenY", - "start": 7511, - "end": 7527, + "start": 7300, + "end": 7316, "loc": { "start": { - "line": 294, + "line": 281, "column": 13 }, "end": { - "line": 294, + "line": 281, "column": 29 } } @@ -61242,15 +64300,15 @@ "postfix": false, "binop": null }, - "start": 7527, - "end": 7528, + "start": 7316, + "end": 7317, "loc": { "start": { - "line": 294, + "line": 281, "column": 29 }, "end": { - "line": 294, + "line": 281, "column": 30 } } @@ -61268,15 +64326,15 @@ "binop": null }, "value": "event", - "start": 7528, - "end": 7533, + "start": 7317, + "end": 7322, "loc": { "start": { - "line": 294, + "line": 281, "column": 30 }, "end": { - "line": 294, + "line": 281, "column": 35 } } @@ -61294,15 +64352,15 @@ "binop": null, "updateContext": null }, - "start": 7533, - "end": 7534, + "start": 7322, + "end": 7323, "loc": { "start": { - "line": 294, + "line": 281, "column": 35 }, "end": { - "line": 294, + "line": 281, "column": 36 } } @@ -61320,15 +64378,15 @@ "binop": null }, "value": "clientY", - "start": 7534, - "end": 7541, + "start": 7323, + "end": 7330, "loc": { "start": { - "line": 294, + "line": 281, "column": 36 }, "end": { - "line": 294, + "line": 281, "column": 43 } } @@ -61347,15 +64405,15 @@ "updateContext": null }, "value": "-", - "start": 7542, - "end": 7543, + "start": 7331, + "end": 7332, "loc": { "start": { - "line": 294, + "line": 281, "column": 44 }, "end": { - "line": 294, + "line": 281, "column": 45 } } @@ -61373,15 +64431,15 @@ "binop": null }, "value": "rect", - "start": 7544, - "end": 7548, + "start": 7333, + "end": 7337, "loc": { "start": { - "line": 294, + "line": 281, "column": 46 }, "end": { - "line": 294, + "line": 281, "column": 50 } } @@ -61399,15 +64457,15 @@ "binop": null, "updateContext": null }, - "start": 7548, - "end": 7549, + "start": 7337, + "end": 7338, "loc": { "start": { - "line": 294, + "line": 281, "column": 50 }, "end": { - "line": 294, + "line": 281, "column": 51 } } @@ -61425,15 +64483,15 @@ "binop": null }, "value": "top", - "start": 7549, - "end": 7552, + "start": 7338, + "end": 7341, "loc": { "start": { - "line": 294, + "line": 281, "column": 51 }, "end": { - "line": 294, + "line": 281, "column": 54 } } @@ -61450,15 +64508,15 @@ "postfix": false, "binop": null }, - "start": 7552, - "end": 7553, + "start": 7341, + "end": 7342, "loc": { "start": { - "line": 294, + "line": 281, "column": 54 }, "end": { - "line": 294, + "line": 281, "column": 55 } } @@ -61476,15 +64534,15 @@ "binop": null, "updateContext": null }, - "start": 7553, - "end": 7554, + "start": 7342, + "end": 7343, "loc": { "start": { - "line": 294, + "line": 281, "column": 55 }, "end": { - "line": 294, + "line": 281, "column": 56 } } @@ -61504,15 +64562,15 @@ "updateContext": null }, "value": "let", - "start": 7559, - "end": 7562, + "start": 7348, + "end": 7351, "loc": { "start": { - "line": 295, + "line": 282, "column": 4 }, "end": { - "line": 295, + "line": 282, "column": 7 } } @@ -61530,15 +64588,15 @@ "binop": null }, "value": "target", - "start": 7563, - "end": 7569, + "start": 7352, + "end": 7358, "loc": { "start": { - "line": 295, + "line": 282, "column": 8 }, "end": { - "line": 295, + "line": 282, "column": 14 } } @@ -61557,15 +64615,15 @@ "updateContext": null }, "value": "=", - "start": 7570, - "end": 7571, + "start": 7359, + "end": 7360, "loc": { "start": { - "line": 295, + "line": 282, "column": 15 }, "end": { - "line": 295, + "line": 282, "column": 16 } } @@ -61583,15 +64641,15 @@ "binop": null }, "value": "transformRect", - "start": 7572, - "end": 7585, + "start": 7361, + "end": 7374, "loc": { "start": { - "line": 295, + "line": 282, "column": 17 }, "end": { - "line": 295, + "line": 282, "column": 30 } } @@ -61608,15 +64666,15 @@ "postfix": false, "binop": null }, - "start": 7585, - "end": 7586, + "start": 7374, + "end": 7375, "loc": { "start": { - "line": 295, + "line": 282, "column": 30 }, "end": { - "line": 295, + "line": 282, "column": 31 } } @@ -61633,15 +64691,15 @@ "postfix": false, "binop": null }, - "start": 7586, - "end": 7587, + "start": 7375, + "end": 7376, "loc": { "start": { - "line": 295, + "line": 282, "column": 31 }, "end": { - "line": 295, + "line": 282, "column": 32 } } @@ -61659,15 +64717,15 @@ "binop": null }, "value": "x", - "start": 7596, - "end": 7597, + "start": 7385, + "end": 7386, "loc": { "start": { - "line": 296, + "line": 283, "column": 8 }, "end": { - "line": 296, + "line": 283, "column": 9 } } @@ -61685,15 +64743,15 @@ "binop": null, "updateContext": null }, - "start": 7597, - "end": 7598, + "start": 7386, + "end": 7387, "loc": { "start": { - "line": 296, + "line": 283, "column": 9 }, "end": { - "line": 296, + "line": 283, "column": 10 } } @@ -61711,15 +64769,15 @@ "binop": null }, "value": "rect", - "start": 7599, - "end": 7603, + "start": 7388, + "end": 7392, "loc": { "start": { - "line": 296, + "line": 283, "column": 11 }, "end": { - "line": 296, + "line": 283, "column": 15 } } @@ -61737,15 +64795,15 @@ "binop": null, "updateContext": null }, - "start": 7603, - "end": 7604, + "start": 7392, + "end": 7393, "loc": { "start": { - "line": 296, + "line": 283, "column": 15 }, "end": { - "line": 296, + "line": 283, "column": 16 } } @@ -61763,15 +64821,15 @@ "binop": null }, "value": "left", - "start": 7604, - "end": 7608, + "start": 7393, + "end": 7397, "loc": { "start": { - "line": 296, + "line": 283, "column": 16 }, "end": { - "line": 296, + "line": 283, "column": 20 } } @@ -61790,15 +64848,15 @@ "updateContext": null }, "value": "+", - "start": 7609, - "end": 7610, + "start": 7398, + "end": 7399, "loc": { "start": { - "line": 296, + "line": 283, "column": 21 }, "end": { - "line": 296, + "line": 283, "column": 22 } } @@ -61816,15 +64874,15 @@ "binop": null }, "value": "rect", - "start": 7611, - "end": 7615, + "start": 7400, + "end": 7404, "loc": { "start": { - "line": 296, + "line": 283, "column": 23 }, "end": { - "line": 296, + "line": 283, "column": 27 } } @@ -61842,15 +64900,15 @@ "binop": null, "updateContext": null }, - "start": 7615, - "end": 7616, + "start": 7404, + "end": 7405, "loc": { "start": { - "line": 296, + "line": 283, "column": 27 }, "end": { - "line": 296, + "line": 283, "column": 28 } } @@ -61868,15 +64926,15 @@ "binop": null }, "value": "width", - "start": 7616, - "end": 7621, + "start": 7405, + "end": 7410, "loc": { "start": { - "line": 296, + "line": 283, "column": 28 }, "end": { - "line": 296, + "line": 283, "column": 33 } } @@ -61895,15 +64953,15 @@ "updateContext": null }, "value": "/", - "start": 7622, - "end": 7623, + "start": 7411, + "end": 7412, "loc": { "start": { - "line": 296, + "line": 283, "column": 34 }, "end": { - "line": 296, + "line": 283, "column": 35 } } @@ -61922,15 +64980,15 @@ "updateContext": null }, "value": 2, - "start": 7624, - "end": 7625, + "start": 7413, + "end": 7414, "loc": { "start": { - "line": 296, + "line": 283, "column": 36 }, "end": { - "line": 296, + "line": 283, "column": 37 } } @@ -61948,15 +65006,15 @@ "binop": null, "updateContext": null }, - "start": 7625, - "end": 7626, + "start": 7414, + "end": 7415, "loc": { "start": { - "line": 296, + "line": 283, "column": 37 }, "end": { - "line": 296, + "line": 283, "column": 38 } } @@ -61974,15 +65032,15 @@ "binop": null }, "value": "y", - "start": 7635, - "end": 7636, + "start": 7424, + "end": 7425, "loc": { "start": { - "line": 297, + "line": 284, "column": 8 }, "end": { - "line": 297, + "line": 284, "column": 9 } } @@ -62000,15 +65058,15 @@ "binop": null, "updateContext": null }, - "start": 7636, - "end": 7637, + "start": 7425, + "end": 7426, "loc": { "start": { - "line": 297, + "line": 284, "column": 9 }, "end": { - "line": 297, + "line": 284, "column": 10 } } @@ -62026,15 +65084,15 @@ "binop": null }, "value": "rect", - "start": 7638, - "end": 7642, + "start": 7427, + "end": 7431, "loc": { "start": { - "line": 297, + "line": 284, "column": 11 }, "end": { - "line": 297, + "line": 284, "column": 15 } } @@ -62052,15 +65110,15 @@ "binop": null, "updateContext": null }, - "start": 7642, - "end": 7643, + "start": 7431, + "end": 7432, "loc": { "start": { - "line": 297, + "line": 284, "column": 15 }, "end": { - "line": 297, + "line": 284, "column": 16 } } @@ -62078,15 +65136,15 @@ "binop": null }, "value": "top", - "start": 7643, - "end": 7646, + "start": 7432, + "end": 7435, "loc": { "start": { - "line": 297, + "line": 284, "column": 16 }, "end": { - "line": 297, + "line": 284, "column": 19 } } @@ -62105,15 +65163,15 @@ "updateContext": null }, "value": "+", - "start": 7647, - "end": 7648, + "start": 7436, + "end": 7437, "loc": { "start": { - "line": 297, + "line": 284, "column": 20 }, "end": { - "line": 297, + "line": 284, "column": 21 } } @@ -62131,15 +65189,15 @@ "binop": null }, "value": "rect", - "start": 7649, - "end": 7653, + "start": 7438, + "end": 7442, "loc": { "start": { - "line": 297, + "line": 284, "column": 22 }, "end": { - "line": 297, + "line": 284, "column": 26 } } @@ -62157,15 +65215,15 @@ "binop": null, "updateContext": null }, - "start": 7653, - "end": 7654, + "start": 7442, + "end": 7443, "loc": { "start": { - "line": 297, + "line": 284, "column": 26 }, "end": { - "line": 297, + "line": 284, "column": 27 } } @@ -62183,15 +65241,15 @@ "binop": null }, "value": "height", - "start": 7654, - "end": 7660, + "start": 7443, + "end": 7449, "loc": { "start": { - "line": 297, + "line": 284, "column": 27 }, "end": { - "line": 297, + "line": 284, "column": 33 } } @@ -62210,15 +65268,15 @@ "updateContext": null }, "value": "*", - "start": 7661, - "end": 7662, + "start": 7450, + "end": 7451, "loc": { "start": { - "line": 297, + "line": 284, "column": 34 }, "end": { - "line": 297, + "line": 284, "column": 35 } } @@ -62236,15 +65294,15 @@ "binop": null }, "value": "headPos", - "start": 7663, - "end": 7670, + "start": 7452, + "end": 7459, "loc": { "start": { - "line": 297, + "line": 284, "column": 36 }, "end": { - "line": 297, + "line": 284, "column": 43 } } @@ -62261,15 +65319,15 @@ "postfix": false, "binop": null }, - "start": 7675, - "end": 7676, + "start": 7464, + "end": 7465, "loc": { "start": { - "line": 298, + "line": 285, "column": 4 }, "end": { - "line": 298, + "line": 285, "column": 5 } } @@ -62287,15 +65345,15 @@ "binop": null, "updateContext": null }, - "start": 7676, - "end": 7677, + "start": 7465, + "end": 7466, "loc": { "start": { - "line": 298, + "line": 285, "column": 5 }, "end": { - "line": 298, + "line": 285, "column": 6 } } @@ -62312,15 +65370,15 @@ "postfix": false, "binop": null }, - "start": 7678, - "end": 7679, + "start": 7467, + "end": 7468, "loc": { "start": { - "line": 298, + "line": 285, "column": 7 }, "end": { - "line": 298, + "line": 285, "column": 8 } } @@ -62338,15 +65396,15 @@ "binop": null }, "value": "x", - "start": 7688, - "end": 7689, + "start": 7477, + "end": 7478, "loc": { "start": { - "line": 299, + "line": 286, "column": 8 }, "end": { - "line": 299, + "line": 286, "column": 9 } } @@ -62364,15 +65422,15 @@ "binop": null, "updateContext": null }, - "start": 7689, - "end": 7690, + "start": 7478, + "end": 7479, "loc": { "start": { - "line": 299, + "line": 286, "column": 9 }, "end": { - "line": 299, + "line": 286, "column": 10 } } @@ -62390,15 +65448,15 @@ "binop": null }, "value": "event", - "start": 7691, - "end": 7696, + "start": 7480, + "end": 7485, "loc": { "start": { - "line": 299, + "line": 286, "column": 11 }, "end": { - "line": 299, + "line": 286, "column": 16 } } @@ -62416,15 +65474,15 @@ "binop": null, "updateContext": null }, - "start": 7696, - "end": 7697, + "start": 7485, + "end": 7486, "loc": { "start": { - "line": 299, + "line": 286, "column": 16 }, "end": { - "line": 299, + "line": 286, "column": 17 } } @@ -62442,15 +65500,15 @@ "binop": null }, "value": "clientX", - "start": 7697, - "end": 7704, + "start": 7486, + "end": 7493, "loc": { "start": { - "line": 299, + "line": 286, "column": 17 }, "end": { - "line": 299, + "line": 286, "column": 24 } } @@ -62468,15 +65526,15 @@ "binop": null, "updateContext": null }, - "start": 7704, - "end": 7705, + "start": 7493, + "end": 7494, "loc": { "start": { - "line": 299, + "line": 286, "column": 24 }, "end": { - "line": 299, + "line": 286, "column": 25 } } @@ -62494,15 +65552,15 @@ "binop": null }, "value": "y", - "start": 7714, - "end": 7715, + "start": 7503, + "end": 7504, "loc": { "start": { - "line": 300, + "line": 287, "column": 8 }, "end": { - "line": 300, + "line": 287, "column": 9 } } @@ -62520,15 +65578,15 @@ "binop": null, "updateContext": null }, - "start": 7715, - "end": 7716, + "start": 7504, + "end": 7505, "loc": { "start": { - "line": 300, + "line": 287, "column": 9 }, "end": { - "line": 300, + "line": 287, "column": 10 } } @@ -62546,15 +65604,15 @@ "binop": null }, "value": "event", - "start": 7717, - "end": 7722, + "start": 7506, + "end": 7511, "loc": { "start": { - "line": 300, + "line": 287, "column": 11 }, "end": { - "line": 300, + "line": 287, "column": 16 } } @@ -62572,15 +65630,15 @@ "binop": null, "updateContext": null }, - "start": 7722, - "end": 7723, + "start": 7511, + "end": 7512, "loc": { "start": { - "line": 300, + "line": 287, "column": 16 }, "end": { - "line": 300, + "line": 287, "column": 17 } } @@ -62598,15 +65656,15 @@ "binop": null }, "value": "clientY", - "start": 7723, - "end": 7730, + "start": 7512, + "end": 7519, "loc": { "start": { - "line": 300, + "line": 287, "column": 17 }, "end": { - "line": 300, + "line": 287, "column": 24 } } @@ -62623,15 +65681,15 @@ "postfix": false, "binop": null }, - "start": 7735, - "end": 7736, + "start": 7524, + "end": 7525, "loc": { "start": { - "line": 301, + "line": 288, "column": 4 }, "end": { - "line": 301, + "line": 288, "column": 5 } } @@ -62649,15 +65707,15 @@ "binop": null, "updateContext": null }, - "start": 7736, - "end": 7737, + "start": 7525, + "end": 7526, "loc": { "start": { - "line": 301, + "line": 288, "column": 5 }, "end": { - "line": 301, + "line": 288, "column": 6 } } @@ -62675,15 +65733,15 @@ "binop": null }, "value": "rect", - "start": 7738, - "end": 7742, + "start": 7527, + "end": 7531, "loc": { "start": { - "line": 301, + "line": 288, "column": 7 }, "end": { - "line": 301, + "line": 288, "column": 11 } } @@ -62700,15 +65758,15 @@ "postfix": false, "binop": null }, - "start": 7742, - "end": 7743, + "start": 7531, + "end": 7532, "loc": { "start": { - "line": 301, + "line": 288, "column": 11 }, "end": { - "line": 301, + "line": 288, "column": 12 } } @@ -62728,15 +65786,15 @@ "updateContext": null }, "value": "let", - "start": 7748, - "end": 7751, + "start": 7537, + "end": 7540, "loc": { "start": { - "line": 302, + "line": 289, "column": 4 }, "end": { - "line": 302, + "line": 289, "column": 7 } } @@ -62754,15 +65812,15 @@ "binop": null }, "value": "vx", - "start": 7752, - "end": 7754, + "start": 7541, + "end": 7543, "loc": { "start": { - "line": 302, + "line": 289, "column": 8 }, "end": { - "line": 302, + "line": 289, "column": 10 } } @@ -62781,15 +65839,15 @@ "updateContext": null }, "value": "=", - "start": 7755, - "end": 7756, + "start": 7544, + "end": 7545, "loc": { "start": { - "line": 302, + "line": 289, "column": 11 }, "end": { - "line": 302, + "line": 289, "column": 12 } } @@ -62807,15 +65865,15 @@ "binop": null }, "value": "transformViewX", - "start": 7757, - "end": 7771, + "start": 7546, + "end": 7560, "loc": { "start": { - "line": 302, + "line": 289, "column": 13 }, "end": { - "line": 302, + "line": 289, "column": 27 } } @@ -62832,15 +65890,15 @@ "postfix": false, "binop": null }, - "start": 7771, - "end": 7772, + "start": 7560, + "end": 7561, "loc": { "start": { - "line": 302, + "line": 289, "column": 27 }, "end": { - "line": 302, + "line": 289, "column": 28 } } @@ -62858,15 +65916,15 @@ "binop": null }, "value": "target", - "start": 7772, - "end": 7778, + "start": 7561, + "end": 7567, "loc": { "start": { - "line": 302, + "line": 289, "column": 28 }, "end": { - "line": 302, + "line": 289, "column": 34 } } @@ -62884,15 +65942,15 @@ "binop": null, "updateContext": null }, - "start": 7778, - "end": 7779, + "start": 7567, + "end": 7568, "loc": { "start": { - "line": 302, + "line": 289, "column": 34 }, "end": { - "line": 302, + "line": 289, "column": 35 } } @@ -62910,15 +65968,15 @@ "binop": null }, "value": "x", - "start": 7779, - "end": 7780, + "start": 7568, + "end": 7569, "loc": { "start": { - "line": 302, + "line": 289, "column": 35 }, "end": { - "line": 302, + "line": 289, "column": 36 } } @@ -62937,15 +65995,15 @@ "updateContext": null }, "value": "-", - "start": 7781, - "end": 7782, + "start": 7570, + "end": 7571, "loc": { "start": { - "line": 302, + "line": 289, "column": 37 }, "end": { - "line": 302, + "line": 289, "column": 38 } } @@ -62963,15 +66021,15 @@ "binop": null }, "value": "rect", - "start": 7783, - "end": 7787, + "start": 7572, + "end": 7576, "loc": { "start": { - "line": 302, + "line": 289, "column": 39 }, "end": { - "line": 302, + "line": 289, "column": 43 } } @@ -62989,15 +66047,15 @@ "binop": null, "updateContext": null }, - "start": 7787, - "end": 7788, + "start": 7576, + "end": 7577, "loc": { "start": { - "line": 302, + "line": 289, "column": 43 }, "end": { - "line": 302, + "line": 289, "column": 44 } } @@ -63015,15 +66073,15 @@ "binop": null }, "value": "left", - "start": 7788, - "end": 7792, + "start": 7577, + "end": 7581, "loc": { "start": { - "line": 302, + "line": 289, "column": 44 }, "end": { - "line": 302, + "line": 289, "column": 48 } } @@ -63040,15 +66098,15 @@ "postfix": false, "binop": null }, - "start": 7792, - "end": 7793, + "start": 7581, + "end": 7582, "loc": { "start": { - "line": 302, + "line": 289, "column": 48 }, "end": { - "line": 302, + "line": 289, "column": 49 } } @@ -63066,15 +66124,15 @@ "binop": null, "updateContext": null }, - "start": 7793, - "end": 7794, + "start": 7582, + "end": 7583, "loc": { "start": { - "line": 302, + "line": 289, "column": 49 }, "end": { - "line": 302, + "line": 289, "column": 50 } } @@ -63094,15 +66152,15 @@ "updateContext": null }, "value": "let", - "start": 7799, - "end": 7802, + "start": 7588, + "end": 7591, "loc": { "start": { - "line": 303, + "line": 290, "column": 4 }, "end": { - "line": 303, + "line": 290, "column": 7 } } @@ -63120,15 +66178,15 @@ "binop": null }, "value": "vy", - "start": 7803, - "end": 7805, + "start": 7592, + "end": 7594, "loc": { "start": { - "line": 303, + "line": 290, "column": 8 }, "end": { - "line": 303, + "line": 290, "column": 10 } } @@ -63147,15 +66205,15 @@ "updateContext": null }, "value": "=", - "start": 7806, - "end": 7807, + "start": 7595, + "end": 7596, "loc": { "start": { - "line": 303, + "line": 290, "column": 11 }, "end": { - "line": 303, + "line": 290, "column": 12 } } @@ -63173,15 +66231,15 @@ "binop": null }, "value": "transformViewY", - "start": 7808, - "end": 7822, + "start": 7597, + "end": 7611, "loc": { "start": { - "line": 303, + "line": 290, "column": 13 }, "end": { - "line": 303, + "line": 290, "column": 27 } } @@ -63198,15 +66256,15 @@ "postfix": false, "binop": null }, - "start": 7822, - "end": 7823, + "start": 7611, + "end": 7612, "loc": { "start": { - "line": 303, + "line": 290, "column": 27 }, "end": { - "line": 303, + "line": 290, "column": 28 } } @@ -63224,15 +66282,15 @@ "binop": null }, "value": "target", - "start": 7823, - "end": 7829, + "start": 7612, + "end": 7618, "loc": { "start": { - "line": 303, + "line": 290, "column": 28 }, "end": { - "line": 303, + "line": 290, "column": 34 } } @@ -63250,15 +66308,15 @@ "binop": null, "updateContext": null }, - "start": 7829, - "end": 7830, + "start": 7618, + "end": 7619, "loc": { "start": { - "line": 303, + "line": 290, "column": 34 }, "end": { - "line": 303, + "line": 290, "column": 35 } } @@ -63276,15 +66334,15 @@ "binop": null }, "value": "y", - "start": 7830, - "end": 7831, + "start": 7619, + "end": 7620, "loc": { "start": { - "line": 303, + "line": 290, "column": 35 }, "end": { - "line": 303, + "line": 290, "column": 36 } } @@ -63303,15 +66361,15 @@ "updateContext": null }, "value": "-", - "start": 7832, - "end": 7833, + "start": 7621, + "end": 7622, "loc": { "start": { - "line": 303, + "line": 290, "column": 37 }, "end": { - "line": 303, + "line": 290, "column": 38 } } @@ -63329,15 +66387,15 @@ "binop": null }, "value": "rect", - "start": 7834, - "end": 7838, + "start": 7623, + "end": 7627, "loc": { "start": { - "line": 303, + "line": 290, "column": 39 }, "end": { - "line": 303, + "line": 290, "column": 43 } } @@ -63355,15 +66413,15 @@ "binop": null, "updateContext": null }, - "start": 7838, - "end": 7839, + "start": 7627, + "end": 7628, "loc": { "start": { - "line": 303, + "line": 290, "column": 43 }, "end": { - "line": 303, + "line": 290, "column": 44 } } @@ -63381,15 +66439,15 @@ "binop": null }, "value": "top", - "start": 7839, - "end": 7842, + "start": 7628, + "end": 7631, "loc": { "start": { - "line": 303, + "line": 290, "column": 44 }, "end": { - "line": 303, + "line": 290, "column": 47 } } @@ -63406,15 +66464,15 @@ "postfix": false, "binop": null }, - "start": 7842, - "end": 7843, + "start": 7631, + "end": 7632, "loc": { "start": { - "line": 303, + "line": 290, "column": 47 }, "end": { - "line": 303, + "line": 290, "column": 48 } } @@ -63432,15 +66490,15 @@ "binop": null, "updateContext": null }, - "start": 7843, - "end": 7844, + "start": 7632, + "end": 7633, "loc": { "start": { - "line": 303, + "line": 290, "column": 48 }, "end": { - "line": 303, + "line": 290, "column": 49 } } @@ -63460,15 +66518,15 @@ "updateContext": null }, "value": "if", - "start": 7850, - "end": 7852, + "start": 7639, + "end": 7641, "loc": { "start": { - "line": 305, + "line": 292, "column": 4 }, "end": { - "line": 305, + "line": 292, "column": 6 } } @@ -63485,15 +66543,15 @@ "postfix": false, "binop": null }, - "start": 7853, - "end": 7854, + "start": 7642, + "end": 7643, "loc": { "start": { - "line": 305, + "line": 292, "column": 7 }, "end": { - "line": 305, + "line": 292, "column": 8 } } @@ -63511,15 +66569,15 @@ "binop": null }, "value": "cDefine", - "start": 7854, - "end": 7861, + "start": 7643, + "end": 7650, "loc": { "start": { - "line": 305, + "line": 292, "column": 8 }, "end": { - "line": 305, + "line": 292, "column": 15 } } @@ -63537,15 +66595,15 @@ "binop": null, "updateContext": null }, - "start": 7861, - "end": 7862, + "start": 7650, + "end": 7651, "loc": { "start": { - "line": 305, + "line": 292, "column": 15 }, "end": { - "line": 305, + "line": 292, "column": 16 } } @@ -63563,15 +66621,15 @@ "binop": null }, "value": "DEBUG_MOUSE_LOG", - "start": 7862, - "end": 7877, + "start": 7651, + "end": 7666, "loc": { "start": { - "line": 305, + "line": 292, "column": 16 }, "end": { - "line": 305, + "line": 292, "column": 31 } } @@ -63588,15 +66646,15 @@ "postfix": false, "binop": null }, - "start": 7877, - "end": 7878, + "start": 7666, + "end": 7667, "loc": { "start": { - "line": 305, + "line": 292, "column": 31 }, "end": { - "line": 305, + "line": 292, "column": 32 } } @@ -63614,15 +66672,15 @@ "binop": null }, "value": "console", - "start": 7887, - "end": 7894, + "start": 7676, + "end": 7683, "loc": { "start": { - "line": 306, + "line": 293, "column": 8 }, "end": { - "line": 306, + "line": 293, "column": 15 } } @@ -63640,15 +66698,15 @@ "binop": null, "updateContext": null }, - "start": 7894, - "end": 7895, + "start": 7683, + "end": 7684, "loc": { "start": { - "line": 306, + "line": 293, "column": 15 }, "end": { - "line": 306, + "line": 293, "column": 16 } } @@ -63666,15 +66724,15 @@ "binop": null }, "value": "log", - "start": 7895, - "end": 7898, + "start": 7684, + "end": 7687, "loc": { "start": { - "line": 306, + "line": 293, "column": 16 }, "end": { - "line": 306, + "line": 293, "column": 19 } } @@ -63691,15 +66749,15 @@ "postfix": false, "binop": null }, - "start": 7898, - "end": 7899, + "start": 7687, + "end": 7688, "loc": { "start": { - "line": 306, + "line": 293, "column": 19 }, "end": { - "line": 306, + "line": 293, "column": 20 } } @@ -63718,15 +66776,15 @@ "updateContext": null }, "value": "modelTapEvent onMouseDown device( x:", - "start": 7899, - "end": 7937, + "start": 7688, + "end": 7726, "loc": { "start": { - "line": 306, + "line": 293, "column": 20 }, "end": { - "line": 306, + "line": 293, "column": 58 } } @@ -63745,15 +66803,15 @@ "updateContext": null }, "value": "+", - "start": 7938, - "end": 7939, + "start": 7727, + "end": 7728, "loc": { "start": { - "line": 306, + "line": 293, "column": 59 }, "end": { - "line": 306, + "line": 293, "column": 60 } } @@ -63771,15 +66829,15 @@ "binop": null }, "value": "event", - "start": 7940, - "end": 7945, + "start": 7729, + "end": 7734, "loc": { "start": { - "line": 306, + "line": 293, "column": 61 }, "end": { - "line": 306, + "line": 293, "column": 66 } } @@ -63797,15 +66855,15 @@ "binop": null, "updateContext": null }, - "start": 7945, - "end": 7946, + "start": 7734, + "end": 7735, "loc": { "start": { - "line": 306, + "line": 293, "column": 66 }, "end": { - "line": 306, + "line": 293, "column": 67 } } @@ -63823,15 +66881,15 @@ "binop": null }, "value": "clientX", - "start": 7946, - "end": 7953, + "start": 7735, + "end": 7742, "loc": { "start": { - "line": 306, + "line": 293, "column": 67 }, "end": { - "line": 306, + "line": 293, "column": 74 } } @@ -63850,15 +66908,15 @@ "updateContext": null }, "value": "+", - "start": 7954, - "end": 7955, + "start": 7743, + "end": 7744, "loc": { "start": { - "line": 306, + "line": 293, "column": 75 }, "end": { - "line": 306, + "line": 293, "column": 76 } } @@ -63877,15 +66935,15 @@ "updateContext": null }, "value": " y:", - "start": 7956, - "end": 7961, + "start": 7745, + "end": 7750, "loc": { "start": { - "line": 306, + "line": 293, "column": 77 }, "end": { - "line": 306, + "line": 293, "column": 82 } } @@ -63904,15 +66962,15 @@ "updateContext": null }, "value": "+", - "start": 7962, - "end": 7963, + "start": 7751, + "end": 7752, "loc": { "start": { - "line": 306, + "line": 293, "column": 83 }, "end": { - "line": 306, + "line": 293, "column": 84 } } @@ -63930,15 +66988,15 @@ "binop": null }, "value": "event", - "start": 7964, - "end": 7969, + "start": 7753, + "end": 7758, "loc": { "start": { - "line": 306, + "line": 293, "column": 85 }, "end": { - "line": 306, + "line": 293, "column": 90 } } @@ -63956,15 +67014,15 @@ "binop": null, "updateContext": null }, - "start": 7969, - "end": 7970, + "start": 7758, + "end": 7759, "loc": { "start": { - "line": 306, + "line": 293, "column": 90 }, "end": { - "line": 306, + "line": 293, "column": 91 } } @@ -63982,15 +67040,15 @@ "binop": null }, "value": "clientY", - "start": 7970, - "end": 7977, + "start": 7759, + "end": 7766, "loc": { "start": { - "line": 306, + "line": 293, "column": 91 }, "end": { - "line": 306, + "line": 293, "column": 98 } } @@ -64009,15 +67067,15 @@ "updateContext": null }, "value": "+", - "start": 7978, - "end": 7979, + "start": 7767, + "end": 7768, "loc": { "start": { - "line": 306, + "line": 293, "column": 99 }, "end": { - "line": 306, + "line": 293, "column": 100 } } @@ -64036,15 +67094,15 @@ "updateContext": null }, "value": " ) view( x:", - "start": 7980, - "end": 7993, + "start": 7769, + "end": 7782, "loc": { "start": { - "line": 306, + "line": 293, "column": 101 }, "end": { - "line": 306, + "line": 293, "column": 114 } } @@ -64063,15 +67121,15 @@ "updateContext": null }, "value": "+", - "start": 7994, - "end": 7995, + "start": 7783, + "end": 7784, "loc": { "start": { - "line": 306, + "line": 293, "column": 115 }, "end": { - "line": 306, + "line": 293, "column": 116 } } @@ -64089,15 +67147,15 @@ "binop": null }, "value": "vx", - "start": 7996, - "end": 7998, + "start": 7785, + "end": 7787, "loc": { "start": { - "line": 306, + "line": 293, "column": 117 }, "end": { - "line": 306, + "line": 293, "column": 119 } } @@ -64116,15 +67174,15 @@ "updateContext": null }, "value": "+", - "start": 7999, - "end": 8000, + "start": 7788, + "end": 7789, "loc": { "start": { - "line": 306, + "line": 293, "column": 120 }, "end": { - "line": 306, + "line": 293, "column": 121 } } @@ -64143,15 +67201,15 @@ "updateContext": null }, "value": " y:", - "start": 8001, - "end": 8006, + "start": 7790, + "end": 7795, "loc": { "start": { - "line": 306, + "line": 293, "column": 122 }, "end": { - "line": 306, + "line": 293, "column": 127 } } @@ -64170,15 +67228,15 @@ "updateContext": null }, "value": "+", - "start": 8007, - "end": 8008, + "start": 7796, + "end": 7797, "loc": { "start": { - "line": 306, + "line": 293, "column": 128 }, "end": { - "line": 306, + "line": 293, "column": 129 } } @@ -64196,15 +67254,15 @@ "binop": null }, "value": "vy", - "start": 8009, - "end": 8011, + "start": 7798, + "end": 7800, "loc": { "start": { - "line": 306, + "line": 293, "column": 130 }, "end": { - "line": 306, + "line": 293, "column": 132 } } @@ -64223,15 +67281,15 @@ "updateContext": null }, "value": "+", - "start": 8012, - "end": 8013, + "start": 7801, + "end": 7802, "loc": { "start": { - "line": 306, + "line": 293, "column": 133 }, "end": { - "line": 306, + "line": 293, "column": 134 } } @@ -64250,15 +67308,15 @@ "updateContext": null }, "value": ")", - "start": 8014, - "end": 8017, + "start": 7803, + "end": 7806, "loc": { "start": { - "line": 306, + "line": 293, "column": 135 }, "end": { - "line": 306, + "line": 293, "column": 138 } } @@ -64275,15 +67333,15 @@ "postfix": false, "binop": null }, - "start": 8017, - "end": 8018, + "start": 7806, + "end": 7807, "loc": { "start": { - "line": 306, + "line": 293, "column": 138 }, "end": { - "line": 306, + "line": 293, "column": 139 } } @@ -64301,15 +67359,15 @@ "binop": null, "updateContext": null }, - "start": 8018, - "end": 8019, + "start": 7807, + "end": 7808, "loc": { "start": { - "line": 306, + "line": 293, "column": 139 }, "end": { - "line": 306, + "line": 293, "column": 140 } } @@ -64327,15 +67385,15 @@ "binop": null }, "value": "lastMouseX", - "start": 8025, - "end": 8035, + "start": 7814, + "end": 7824, "loc": { "start": { - "line": 308, + "line": 295, "column": 4 }, "end": { - "line": 308, + "line": 295, "column": 14 } } @@ -64354,15 +67412,15 @@ "updateContext": null }, "value": "=", - "start": 8036, - "end": 8037, + "start": 7825, + "end": 7826, "loc": { "start": { - "line": 308, + "line": 295, "column": 15 }, "end": { - "line": 308, + "line": 295, "column": 16 } } @@ -64380,15 +67438,15 @@ "binop": null }, "value": "sx", - "start": 8038, - "end": 8040, + "start": 7827, + "end": 7829, "loc": { "start": { - "line": 308, + "line": 295, "column": 17 }, "end": { - "line": 308, + "line": 295, "column": 19 } } @@ -64406,15 +67464,15 @@ "binop": null, "updateContext": null }, - "start": 8040, - "end": 8041, + "start": 7829, + "end": 7830, "loc": { "start": { - "line": 308, + "line": 295, "column": 19 }, "end": { - "line": 308, + "line": 295, "column": 20 } } @@ -64432,15 +67490,15 @@ "binop": null }, "value": "lastMouseY", - "start": 8046, - "end": 8056, + "start": 7835, + "end": 7845, "loc": { "start": { - "line": 309, + "line": 296, "column": 4 }, "end": { - "line": 309, + "line": 296, "column": 14 } } @@ -64459,15 +67517,15 @@ "updateContext": null }, "value": "=", - "start": 8057, - "end": 8058, + "start": 7846, + "end": 7847, "loc": { "start": { - "line": 309, + "line": 296, "column": 15 }, "end": { - "line": 309, + "line": 296, "column": 16 } } @@ -64485,15 +67543,15 @@ "binop": null }, "value": "sy", - "start": 8059, - "end": 8061, + "start": 7848, + "end": 7850, "loc": { "start": { - "line": 309, + "line": 296, "column": 17 }, "end": { - "line": 309, + "line": 296, "column": 19 } } @@ -64511,15 +67569,15 @@ "binop": null, "updateContext": null }, - "start": 8061, - "end": 8062, + "start": 7850, + "end": 7851, "loc": { "start": { - "line": 309, + "line": 296, "column": 19 }, "end": { - "line": 309, + "line": 296, "column": 20 } } @@ -64537,15 +67595,15 @@ "binop": null }, "value": "live2DMgr", - "start": 8068, - "end": 8077, + "start": 7857, + "end": 7866, "loc": { "start": { - "line": 311, + "line": 298, "column": 4 }, "end": { - "line": 311, + "line": 298, "column": 13 } } @@ -64563,15 +67621,15 @@ "binop": null, "updateContext": null }, - "start": 8077, - "end": 8078, + "start": 7866, + "end": 7867, "loc": { "start": { - "line": 311, + "line": 298, "column": 13 }, "end": { - "line": 311, + "line": 298, "column": 14 } } @@ -64589,15 +67647,15 @@ "binop": null }, "value": "tapEvent", - "start": 8078, - "end": 8086, + "start": 7867, + "end": 7875, "loc": { "start": { - "line": 311, + "line": 298, "column": 14 }, "end": { - "line": 311, + "line": 298, "column": 22 } } @@ -64614,15 +67672,15 @@ "postfix": false, "binop": null }, - "start": 8086, - "end": 8087, + "start": 7875, + "end": 7876, "loc": { "start": { - "line": 311, + "line": 298, "column": 22 }, "end": { - "line": 311, + "line": 298, "column": 23 } } @@ -64640,15 +67698,15 @@ "binop": null }, "value": "vx", - "start": 8087, - "end": 8089, + "start": 7876, + "end": 7878, "loc": { "start": { - "line": 311, + "line": 298, "column": 23 }, "end": { - "line": 311, + "line": 298, "column": 25 } } @@ -64666,15 +67724,15 @@ "binop": null, "updateContext": null }, - "start": 8089, - "end": 8090, + "start": 7878, + "end": 7879, "loc": { "start": { - "line": 311, + "line": 298, "column": 25 }, "end": { - "line": 311, + "line": 298, "column": 26 } } @@ -64692,15 +67750,15 @@ "binop": null }, "value": "vy", - "start": 8091, - "end": 8093, + "start": 7880, + "end": 7882, "loc": { "start": { - "line": 311, + "line": 298, "column": 27 }, "end": { - "line": 311, + "line": 298, "column": 29 } } @@ -64717,15 +67775,15 @@ "postfix": false, "binop": null }, - "start": 8093, - "end": 8094, + "start": 7882, + "end": 7883, "loc": { "start": { - "line": 311, + "line": 298, "column": 29 }, "end": { - "line": 311, + "line": 298, "column": 30 } } @@ -64743,15 +67801,15 @@ "binop": null, "updateContext": null }, - "start": 8094, - "end": 8095, + "start": 7883, + "end": 7884, "loc": { "start": { - "line": 311, + "line": 298, "column": 30 }, "end": { - "line": 311, + "line": 298, "column": 31 } } @@ -64768,15 +67826,15 @@ "postfix": false, "binop": null }, - "start": 8096, - "end": 8097, + "start": 7885, + "end": 7886, "loc": { "start": { - "line": 312, + "line": 299, "column": 0 }, "end": { - "line": 312, + "line": 299, "column": 1 } } @@ -64795,15 +67853,15 @@ "binop": null }, "value": "function", - "start": 8099, - "end": 8107, + "start": 7888, + "end": 7896, "loc": { "start": { - "line": 314, + "line": 301, "column": 0 }, "end": { - "line": 314, + "line": 301, "column": 8 } } @@ -64821,15 +67879,15 @@ "binop": null }, "value": "followPointer", - "start": 8108, - "end": 8121, + "start": 7897, + "end": 7910, "loc": { "start": { - "line": 314, + "line": 301, "column": 9 }, "end": { - "line": 314, + "line": 301, "column": 22 } } @@ -64846,15 +67904,15 @@ "postfix": false, "binop": null }, - "start": 8121, - "end": 8122, + "start": 7910, + "end": 7911, "loc": { "start": { - "line": 314, + "line": 301, "column": 22 }, "end": { - "line": 314, + "line": 301, "column": 23 } } @@ -64872,15 +67930,15 @@ "binop": null }, "value": "event", - "start": 8122, - "end": 8127, + "start": 7911, + "end": 7916, "loc": { "start": { - "line": 314, + "line": 301, "column": 23 }, "end": { - "line": 314, + "line": 301, "column": 28 } } @@ -64897,15 +67955,15 @@ "postfix": false, "binop": null }, - "start": 8127, - "end": 8128, + "start": 7916, + "end": 7917, "loc": { "start": { - "line": 314, + "line": 301, "column": 28 }, "end": { - "line": 314, + "line": 301, "column": 29 } } @@ -64922,15 +67980,15 @@ "postfix": false, "binop": null }, - "start": 8129, - "end": 8130, + "start": 7918, + "end": 7919, "loc": { "start": { - "line": 315, + "line": 302, "column": 0 }, "end": { - "line": 315, + "line": 302, "column": 1 } } @@ -64950,15 +68008,15 @@ "updateContext": null }, "value": "let", - "start": 8135, - "end": 8138, + "start": 7924, + "end": 7927, "loc": { "start": { - "line": 316, + "line": 303, "column": 4 }, "end": { - "line": 316, + "line": 303, "column": 7 } } @@ -64976,15 +68034,15 @@ "binop": null }, "value": "rect", - "start": 8139, - "end": 8143, + "start": 7928, + "end": 7932, "loc": { "start": { - "line": 316, + "line": 303, "column": 8 }, "end": { - "line": 316, + "line": 303, "column": 12 } } @@ -65003,15 +68061,15 @@ "updateContext": null }, "value": "=", - "start": 8144, - "end": 8145, + "start": 7933, + "end": 7934, "loc": { "start": { - "line": 316, + "line": 303, "column": 13 }, "end": { - "line": 316, + "line": 303, "column": 14 } } @@ -65028,17 +68086,17 @@ "postfix": false, "binop": null }, - "value": "canvas", - "start": 8146, - "end": 8152, + "value": "currCanvas", + "start": 7935, + "end": 7945, "loc": { "start": { - "line": 316, + "line": 303, "column": 15 }, "end": { - "line": 316, - "column": 21 + "line": 303, + "column": 25 } } }, @@ -65055,16 +68113,16 @@ "binop": null, "updateContext": null }, - "start": 8152, - "end": 8153, + "start": 7945, + "end": 7946, "loc": { "start": { - "line": 316, - "column": 21 + "line": 303, + "column": 25 }, "end": { - "line": 316, - "column": 22 + "line": 303, + "column": 26 } } }, @@ -65081,16 +68139,16 @@ "binop": null }, "value": "getBoundingClientRect", - "start": 8153, - "end": 8174, + "start": 7946, + "end": 7967, "loc": { "start": { - "line": 316, - "column": 22 + "line": 303, + "column": 26 }, "end": { - "line": 316, - "column": 43 + "line": 303, + "column": 47 } } }, @@ -65106,16 +68164,16 @@ "postfix": false, "binop": null }, - "start": 8174, - "end": 8175, + "start": 7967, + "end": 7968, "loc": { "start": { - "line": 316, - "column": 43 + "line": 303, + "column": 47 }, "end": { - "line": 316, - "column": 44 + "line": 303, + "column": 48 } } }, @@ -65131,16 +68189,16 @@ "postfix": false, "binop": null }, - "start": 8175, - "end": 8176, + "start": 7968, + "end": 7969, "loc": { "start": { - "line": 316, - "column": 44 + "line": 303, + "column": 48 }, "end": { - "line": 316, - "column": 45 + "line": 303, + "column": 49 } } }, @@ -65157,16 +68215,16 @@ "binop": null, "updateContext": null }, - "start": 8176, - "end": 8177, + "start": 7969, + "end": 7970, "loc": { "start": { - "line": 316, - "column": 45 + "line": 303, + "column": 49 }, "end": { - "line": 316, - "column": 46 + "line": 303, + "column": 50 } } }, @@ -65185,15 +68243,15 @@ "updateContext": null }, "value": "let", - "start": 8183, - "end": 8186, + "start": 7976, + "end": 7979, "loc": { "start": { - "line": 318, + "line": 305, "column": 4 }, "end": { - "line": 318, + "line": 305, "column": 7 } } @@ -65211,15 +68269,15 @@ "binop": null }, "value": "sx", - "start": 8187, - "end": 8189, + "start": 7980, + "end": 7982, "loc": { "start": { - "line": 318, + "line": 305, "column": 8 }, "end": { - "line": 318, + "line": 305, "column": 10 } } @@ -65238,15 +68296,15 @@ "updateContext": null }, "value": "=", - "start": 8190, - "end": 8191, + "start": 7983, + "end": 7984, "loc": { "start": { - "line": 318, + "line": 305, "column": 11 }, "end": { - "line": 318, + "line": 305, "column": 12 } } @@ -65264,15 +68322,15 @@ "binop": null }, "value": "transformScreenX", - "start": 8192, - "end": 8208, + "start": 7985, + "end": 8001, "loc": { "start": { - "line": 318, + "line": 305, "column": 13 }, "end": { - "line": 318, + "line": 305, "column": 29 } } @@ -65289,15 +68347,15 @@ "postfix": false, "binop": null }, - "start": 8208, - "end": 8209, + "start": 8001, + "end": 8002, "loc": { "start": { - "line": 318, + "line": 305, "column": 29 }, "end": { - "line": 318, + "line": 305, "column": 30 } } @@ -65315,15 +68373,15 @@ "binop": null }, "value": "event", - "start": 8209, - "end": 8214, + "start": 8002, + "end": 8007, "loc": { "start": { - "line": 318, + "line": 305, "column": 30 }, "end": { - "line": 318, + "line": 305, "column": 35 } } @@ -65341,15 +68399,15 @@ "binop": null, "updateContext": null }, - "start": 8214, - "end": 8215, + "start": 8007, + "end": 8008, "loc": { "start": { - "line": 318, + "line": 305, "column": 35 }, "end": { - "line": 318, + "line": 305, "column": 36 } } @@ -65367,15 +68425,15 @@ "binop": null }, "value": "clientX", - "start": 8215, - "end": 8222, + "start": 8008, + "end": 8015, "loc": { "start": { - "line": 318, + "line": 305, "column": 36 }, "end": { - "line": 318, + "line": 305, "column": 43 } } @@ -65394,15 +68452,15 @@ "updateContext": null }, "value": "-", - "start": 8223, - "end": 8224, + "start": 8016, + "end": 8017, "loc": { "start": { - "line": 318, + "line": 305, "column": 44 }, "end": { - "line": 318, + "line": 305, "column": 45 } } @@ -65420,15 +68478,15 @@ "binop": null }, "value": "rect", - "start": 8225, - "end": 8229, + "start": 8018, + "end": 8022, "loc": { "start": { - "line": 318, + "line": 305, "column": 46 }, "end": { - "line": 318, + "line": 305, "column": 50 } } @@ -65446,15 +68504,15 @@ "binop": null, "updateContext": null }, - "start": 8229, - "end": 8230, + "start": 8022, + "end": 8023, "loc": { "start": { - "line": 318, + "line": 305, "column": 50 }, "end": { - "line": 318, + "line": 305, "column": 51 } } @@ -65472,15 +68530,15 @@ "binop": null }, "value": "left", - "start": 8230, - "end": 8234, + "start": 8023, + "end": 8027, "loc": { "start": { - "line": 318, + "line": 305, "column": 51 }, "end": { - "line": 318, + "line": 305, "column": 55 } } @@ -65497,15 +68555,15 @@ "postfix": false, "binop": null }, - "start": 8234, - "end": 8235, + "start": 8027, + "end": 8028, "loc": { "start": { - "line": 318, + "line": 305, "column": 55 }, "end": { - "line": 318, + "line": 305, "column": 56 } } @@ -65523,15 +68581,15 @@ "binop": null, "updateContext": null }, - "start": 8235, - "end": 8236, + "start": 8028, + "end": 8029, "loc": { "start": { - "line": 318, + "line": 305, "column": 56 }, "end": { - "line": 318, + "line": 305, "column": 57 } } @@ -65551,15 +68609,15 @@ "updateContext": null }, "value": "let", - "start": 8241, - "end": 8244, + "start": 8034, + "end": 8037, "loc": { "start": { - "line": 319, + "line": 306, "column": 4 }, "end": { - "line": 319, + "line": 306, "column": 7 } } @@ -65577,15 +68635,15 @@ "binop": null }, "value": "sy", - "start": 8245, - "end": 8247, + "start": 8038, + "end": 8040, "loc": { "start": { - "line": 319, + "line": 306, "column": 8 }, "end": { - "line": 319, + "line": 306, "column": 10 } } @@ -65604,15 +68662,15 @@ "updateContext": null }, "value": "=", - "start": 8248, - "end": 8249, + "start": 8041, + "end": 8042, "loc": { "start": { - "line": 319, + "line": 306, "column": 11 }, "end": { - "line": 319, + "line": 306, "column": 12 } } @@ -65630,15 +68688,15 @@ "binop": null }, "value": "transformScreenY", - "start": 8250, - "end": 8266, + "start": 8043, + "end": 8059, "loc": { "start": { - "line": 319, + "line": 306, "column": 13 }, "end": { - "line": 319, + "line": 306, "column": 29 } } @@ -65655,15 +68713,15 @@ "postfix": false, "binop": null }, - "start": 8266, - "end": 8267, + "start": 8059, + "end": 8060, "loc": { "start": { - "line": 319, + "line": 306, "column": 29 }, "end": { - "line": 319, + "line": 306, "column": 30 } } @@ -65681,15 +68739,15 @@ "binop": null }, "value": "event", - "start": 8267, - "end": 8272, + "start": 8060, + "end": 8065, "loc": { "start": { - "line": 319, + "line": 306, "column": 30 }, "end": { - "line": 319, + "line": 306, "column": 35 } } @@ -65707,15 +68765,15 @@ "binop": null, "updateContext": null }, - "start": 8272, - "end": 8273, + "start": 8065, + "end": 8066, "loc": { "start": { - "line": 319, + "line": 306, "column": 35 }, "end": { - "line": 319, + "line": 306, "column": 36 } } @@ -65733,15 +68791,15 @@ "binop": null }, "value": "clientY", - "start": 8273, - "end": 8280, + "start": 8066, + "end": 8073, "loc": { "start": { - "line": 319, + "line": 306, "column": 36 }, "end": { - "line": 319, + "line": 306, "column": 43 } } @@ -65760,15 +68818,15 @@ "updateContext": null }, "value": "-", - "start": 8281, - "end": 8282, + "start": 8074, + "end": 8075, "loc": { "start": { - "line": 319, + "line": 306, "column": 44 }, "end": { - "line": 319, + "line": 306, "column": 45 } } @@ -65786,15 +68844,15 @@ "binop": null }, "value": "rect", - "start": 8283, - "end": 8287, + "start": 8076, + "end": 8080, "loc": { "start": { - "line": 319, + "line": 306, "column": 46 }, "end": { - "line": 319, + "line": 306, "column": 50 } } @@ -65812,15 +68870,15 @@ "binop": null, "updateContext": null }, - "start": 8287, - "end": 8288, + "start": 8080, + "end": 8081, "loc": { "start": { - "line": 319, + "line": 306, "column": 50 }, "end": { - "line": 319, + "line": 306, "column": 51 } } @@ -65838,15 +68896,15 @@ "binop": null }, "value": "top", - "start": 8288, - "end": 8291, + "start": 8081, + "end": 8084, "loc": { "start": { - "line": 319, + "line": 306, "column": 51 }, "end": { - "line": 319, + "line": 306, "column": 54 } } @@ -65863,15 +68921,15 @@ "postfix": false, "binop": null }, - "start": 8291, - "end": 8292, + "start": 8084, + "end": 8085, "loc": { "start": { - "line": 319, + "line": 306, "column": 54 }, "end": { - "line": 319, + "line": 306, "column": 55 } } @@ -65889,15 +68947,15 @@ "binop": null, "updateContext": null }, - "start": 8292, - "end": 8293, + "start": 8085, + "end": 8086, "loc": { "start": { - "line": 319, + "line": 306, "column": 55 }, "end": { - "line": 319, + "line": 306, "column": 56 } } @@ -65905,15 +68963,15 @@ { "type": "CommentLine", "value": " log but seems ok", - "start": 8299, - "end": 8318, + "start": 8092, + "end": 8111, "loc": { "start": { - "line": 321, + "line": 308, "column": 4 }, "end": { - "line": 321, + "line": 308, "column": 23 } } @@ -65921,15 +68979,15 @@ { "type": "CommentLine", "value": " console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);", - "start": 8323, - "end": 8416, + "start": 8116, + "end": 8209, "loc": { "start": { - "line": 322, + "line": 309, "column": 4 }, "end": { - "line": 322, + "line": 309, "column": 97 } } @@ -65949,15 +69007,15 @@ "updateContext": null }, "value": "let", - "start": 8422, - "end": 8425, + "start": 8215, + "end": 8218, "loc": { "start": { - "line": 324, + "line": 311, "column": 4 }, "end": { - "line": 324, + "line": 311, "column": 7 } } @@ -65975,15 +69033,15 @@ "binop": null }, "value": "target", - "start": 8426, - "end": 8432, + "start": 8219, + "end": 8225, "loc": { "start": { - "line": 324, + "line": 311, "column": 8 }, "end": { - "line": 324, + "line": 311, "column": 14 } } @@ -66002,15 +69060,15 @@ "updateContext": null }, "value": "=", - "start": 8433, - "end": 8434, + "start": 8226, + "end": 8227, "loc": { "start": { - "line": 324, + "line": 311, "column": 15 }, "end": { - "line": 324, + "line": 311, "column": 16 } } @@ -66028,15 +69086,15 @@ "binop": null }, "value": "transformRect", - "start": 8435, - "end": 8448, + "start": 8228, + "end": 8241, "loc": { "start": { - "line": 324, + "line": 311, "column": 17 }, "end": { - "line": 324, + "line": 311, "column": 30 } } @@ -66053,15 +69111,15 @@ "postfix": false, "binop": null }, - "start": 8448, - "end": 8449, + "start": 8241, + "end": 8242, "loc": { "start": { - "line": 324, + "line": 311, "column": 30 }, "end": { - "line": 324, + "line": 311, "column": 31 } } @@ -66078,15 +69136,15 @@ "postfix": false, "binop": null }, - "start": 8449, - "end": 8450, + "start": 8242, + "end": 8243, "loc": { "start": { - "line": 324, + "line": 311, "column": 31 }, "end": { - "line": 324, + "line": 311, "column": 32 } } @@ -66094,15 +69152,15 @@ { "type": "CommentLine", "value": " seems ok here", - "start": 8450, - "end": 8466, + "start": 8243, + "end": 8259, "loc": { "start": { - "line": 324, + "line": 311, "column": 32 }, "end": { - "line": 324, + "line": 311, "column": 48 } } @@ -66120,15 +69178,15 @@ "binop": null }, "value": "x", - "start": 8475, - "end": 8476, + "start": 8268, + "end": 8269, "loc": { "start": { - "line": 325, + "line": 312, "column": 8 }, "end": { - "line": 325, + "line": 312, "column": 9 } } @@ -66146,15 +69204,15 @@ "binop": null, "updateContext": null }, - "start": 8476, - "end": 8477, + "start": 8269, + "end": 8270, "loc": { "start": { - "line": 325, + "line": 312, "column": 9 }, "end": { - "line": 325, + "line": 312, "column": 10 } } @@ -66172,15 +69230,15 @@ "binop": null }, "value": "rect", - "start": 8478, - "end": 8482, + "start": 8271, + "end": 8275, "loc": { "start": { - "line": 325, + "line": 312, "column": 11 }, "end": { - "line": 325, + "line": 312, "column": 15 } } @@ -66198,15 +69256,15 @@ "binop": null, "updateContext": null }, - "start": 8482, - "end": 8483, + "start": 8275, + "end": 8276, "loc": { "start": { - "line": 325, + "line": 312, "column": 15 }, "end": { - "line": 325, + "line": 312, "column": 16 } } @@ -66224,15 +69282,15 @@ "binop": null }, "value": "left", - "start": 8483, - "end": 8487, + "start": 8276, + "end": 8280, "loc": { "start": { - "line": 325, + "line": 312, "column": 16 }, "end": { - "line": 325, + "line": 312, "column": 20 } } @@ -66251,15 +69309,15 @@ "updateContext": null }, "value": "+", - "start": 8488, - "end": 8489, + "start": 8281, + "end": 8282, "loc": { "start": { - "line": 325, + "line": 312, "column": 21 }, "end": { - "line": 325, + "line": 312, "column": 22 } } @@ -66277,15 +69335,15 @@ "binop": null }, "value": "rect", - "start": 8490, - "end": 8494, + "start": 8283, + "end": 8287, "loc": { "start": { - "line": 325, + "line": 312, "column": 23 }, "end": { - "line": 325, + "line": 312, "column": 27 } } @@ -66303,15 +69361,15 @@ "binop": null, "updateContext": null }, - "start": 8494, - "end": 8495, + "start": 8287, + "end": 8288, "loc": { "start": { - "line": 325, + "line": 312, "column": 27 }, "end": { - "line": 325, + "line": 312, "column": 28 } } @@ -66329,15 +69387,15 @@ "binop": null }, "value": "width", - "start": 8495, - "end": 8500, + "start": 8288, + "end": 8293, "loc": { "start": { - "line": 325, + "line": 312, "column": 28 }, "end": { - "line": 325, + "line": 312, "column": 33 } } @@ -66356,15 +69414,15 @@ "updateContext": null }, "value": "/", - "start": 8501, - "end": 8502, + "start": 8294, + "end": 8295, "loc": { "start": { - "line": 325, + "line": 312, "column": 34 }, "end": { - "line": 325, + "line": 312, "column": 35 } } @@ -66383,15 +69441,15 @@ "updateContext": null }, "value": 2, - "start": 8503, - "end": 8504, + "start": 8296, + "end": 8297, "loc": { "start": { - "line": 325, + "line": 312, "column": 36 }, "end": { - "line": 325, + "line": 312, "column": 37 } } @@ -66409,15 +69467,15 @@ "binop": null, "updateContext": null }, - "start": 8504, - "end": 8505, + "start": 8297, + "end": 8298, "loc": { "start": { - "line": 325, + "line": 312, "column": 37 }, "end": { - "line": 325, + "line": 312, "column": 38 } } @@ -66435,15 +69493,15 @@ "binop": null }, "value": "y", - "start": 8514, - "end": 8515, + "start": 8307, + "end": 8308, "loc": { "start": { - "line": 326, + "line": 313, "column": 8 }, "end": { - "line": 326, + "line": 313, "column": 9 } } @@ -66461,15 +69519,15 @@ "binop": null, "updateContext": null }, - "start": 8515, - "end": 8516, + "start": 8308, + "end": 8309, "loc": { "start": { - "line": 326, + "line": 313, "column": 9 }, "end": { - "line": 326, + "line": 313, "column": 10 } } @@ -66487,15 +69545,15 @@ "binop": null }, "value": "rect", - "start": 8517, - "end": 8521, + "start": 8310, + "end": 8314, "loc": { "start": { - "line": 326, + "line": 313, "column": 11 }, "end": { - "line": 326, + "line": 313, "column": 15 } } @@ -66513,15 +69571,15 @@ "binop": null, "updateContext": null }, - "start": 8521, - "end": 8522, + "start": 8314, + "end": 8315, "loc": { "start": { - "line": 326, + "line": 313, "column": 15 }, "end": { - "line": 326, + "line": 313, "column": 16 } } @@ -66539,15 +69597,15 @@ "binop": null }, "value": "top", - "start": 8522, - "end": 8525, + "start": 8315, + "end": 8318, "loc": { "start": { - "line": 326, + "line": 313, "column": 16 }, "end": { - "line": 326, + "line": 313, "column": 19 } } @@ -66566,15 +69624,15 @@ "updateContext": null }, "value": "+", - "start": 8526, - "end": 8527, + "start": 8319, + "end": 8320, "loc": { "start": { - "line": 326, + "line": 313, "column": 20 }, "end": { - "line": 326, + "line": 313, "column": 21 } } @@ -66592,15 +69650,15 @@ "binop": null }, "value": "rect", - "start": 8528, - "end": 8532, + "start": 8321, + "end": 8325, "loc": { "start": { - "line": 326, + "line": 313, "column": 22 }, "end": { - "line": 326, + "line": 313, "column": 26 } } @@ -66618,15 +69676,15 @@ "binop": null, "updateContext": null }, - "start": 8532, - "end": 8533, + "start": 8325, + "end": 8326, "loc": { "start": { - "line": 326, + "line": 313, "column": 26 }, "end": { - "line": 326, + "line": 313, "column": 27 } } @@ -66644,15 +69702,15 @@ "binop": null }, "value": "height", - "start": 8533, - "end": 8539, + "start": 8326, + "end": 8332, "loc": { "start": { - "line": 326, + "line": 313, "column": 27 }, "end": { - "line": 326, + "line": 313, "column": 33 } } @@ -66671,15 +69729,15 @@ "updateContext": null }, "value": "*", - "start": 8540, - "end": 8541, + "start": 8333, + "end": 8334, "loc": { "start": { - "line": 326, + "line": 313, "column": 34 }, "end": { - "line": 326, + "line": 313, "column": 35 } } @@ -66697,15 +69755,15 @@ "binop": null }, "value": "headPos", - "start": 8542, - "end": 8549, + "start": 8335, + "end": 8342, "loc": { "start": { - "line": 326, + "line": 313, "column": 36 }, "end": { - "line": 326, + "line": 313, "column": 43 } } @@ -66722,15 +69780,15 @@ "postfix": false, "binop": null }, - "start": 8554, - "end": 8555, + "start": 8347, + "end": 8348, "loc": { "start": { - "line": 327, + "line": 314, "column": 4 }, "end": { - "line": 327, + "line": 314, "column": 5 } } @@ -66748,15 +69806,15 @@ "binop": null, "updateContext": null }, - "start": 8555, - "end": 8556, + "start": 8348, + "end": 8349, "loc": { "start": { - "line": 327, + "line": 314, "column": 5 }, "end": { - "line": 327, + "line": 314, "column": 6 } } @@ -66773,15 +69831,15 @@ "postfix": false, "binop": null }, - "start": 8557, - "end": 8558, + "start": 8350, + "end": 8351, "loc": { "start": { - "line": 327, + "line": 314, "column": 7 }, "end": { - "line": 327, + "line": 314, "column": 8 } } @@ -66799,15 +69857,15 @@ "binop": null }, "value": "x", - "start": 8567, - "end": 8568, + "start": 8360, + "end": 8361, "loc": { "start": { - "line": 328, + "line": 315, "column": 8 }, "end": { - "line": 328, + "line": 315, "column": 9 } } @@ -66825,15 +69883,15 @@ "binop": null, "updateContext": null }, - "start": 8568, - "end": 8569, + "start": 8361, + "end": 8362, "loc": { "start": { - "line": 328, + "line": 315, "column": 9 }, "end": { - "line": 328, + "line": 315, "column": 10 } } @@ -66851,15 +69909,15 @@ "binop": null }, "value": "event", - "start": 8570, - "end": 8575, + "start": 8363, + "end": 8368, "loc": { "start": { - "line": 328, + "line": 315, "column": 11 }, "end": { - "line": 328, + "line": 315, "column": 16 } } @@ -66877,15 +69935,15 @@ "binop": null, "updateContext": null }, - "start": 8575, - "end": 8576, + "start": 8368, + "end": 8369, "loc": { "start": { - "line": 328, + "line": 315, "column": 16 }, "end": { - "line": 328, + "line": 315, "column": 17 } } @@ -66903,15 +69961,15 @@ "binop": null }, "value": "clientX", - "start": 8576, - "end": 8583, + "start": 8369, + "end": 8376, "loc": { "start": { - "line": 328, + "line": 315, "column": 17 }, "end": { - "line": 328, + "line": 315, "column": 24 } } @@ -66929,15 +69987,15 @@ "binop": null, "updateContext": null }, - "start": 8583, - "end": 8584, + "start": 8376, + "end": 8377, "loc": { "start": { - "line": 328, + "line": 315, "column": 24 }, "end": { - "line": 328, + "line": 315, "column": 25 } } @@ -66955,15 +70013,15 @@ "binop": null }, "value": "y", - "start": 8593, - "end": 8594, + "start": 8386, + "end": 8387, "loc": { "start": { - "line": 329, + "line": 316, "column": 8 }, "end": { - "line": 329, + "line": 316, "column": 9 } } @@ -66981,15 +70039,15 @@ "binop": null, "updateContext": null }, - "start": 8594, - "end": 8595, + "start": 8387, + "end": 8388, "loc": { "start": { - "line": 329, + "line": 316, "column": 9 }, "end": { - "line": 329, + "line": 316, "column": 10 } } @@ -67007,15 +70065,15 @@ "binop": null }, "value": "event", - "start": 8596, - "end": 8601, + "start": 8389, + "end": 8394, "loc": { "start": { - "line": 329, + "line": 316, "column": 11 }, "end": { - "line": 329, + "line": 316, "column": 16 } } @@ -67033,15 +70091,15 @@ "binop": null, "updateContext": null }, - "start": 8601, - "end": 8602, + "start": 8394, + "end": 8395, "loc": { "start": { - "line": 329, + "line": 316, "column": 16 }, "end": { - "line": 329, + "line": 316, "column": 17 } } @@ -67059,15 +70117,15 @@ "binop": null }, "value": "clientY", - "start": 8602, - "end": 8609, + "start": 8395, + "end": 8402, "loc": { "start": { - "line": 329, + "line": 316, "column": 17 }, "end": { - "line": 329, + "line": 316, "column": 24 } } @@ -67084,15 +70142,15 @@ "postfix": false, "binop": null }, - "start": 8614, - "end": 8615, + "start": 8407, + "end": 8408, "loc": { "start": { - "line": 330, + "line": 317, "column": 4 }, "end": { - "line": 330, + "line": 317, "column": 5 } } @@ -67110,15 +70168,15 @@ "binop": null, "updateContext": null }, - "start": 8615, - "end": 8616, + "start": 8408, + "end": 8409, "loc": { "start": { - "line": 330, + "line": 317, "column": 5 }, "end": { - "line": 330, + "line": 317, "column": 6 } } @@ -67136,15 +70194,15 @@ "binop": null }, "value": "rect", - "start": 8617, - "end": 8621, + "start": 8410, + "end": 8414, "loc": { "start": { - "line": 330, + "line": 317, "column": 7 }, "end": { - "line": 330, + "line": 317, "column": 11 } } @@ -67161,15 +70219,15 @@ "postfix": false, "binop": null }, - "start": 8621, - "end": 8622, + "start": 8414, + "end": 8415, "loc": { "start": { - "line": 330, + "line": 317, "column": 11 }, "end": { - "line": 330, + "line": 317, "column": 12 } } @@ -67189,15 +70247,15 @@ "updateContext": null }, "value": "let", - "start": 8627, - "end": 8630, + "start": 8420, + "end": 8423, "loc": { "start": { - "line": 331, + "line": 318, "column": 4 }, "end": { - "line": 331, + "line": 318, "column": 7 } } @@ -67215,15 +70273,15 @@ "binop": null }, "value": "vx", - "start": 8631, - "end": 8633, + "start": 8424, + "end": 8426, "loc": { "start": { - "line": 331, + "line": 318, "column": 8 }, "end": { - "line": 331, + "line": 318, "column": 10 } } @@ -67242,15 +70300,15 @@ "updateContext": null }, "value": "=", - "start": 8634, - "end": 8635, + "start": 8427, + "end": 8428, "loc": { "start": { - "line": 331, + "line": 318, "column": 11 }, "end": { - "line": 331, + "line": 318, "column": 12 } } @@ -67268,15 +70326,15 @@ "binop": null }, "value": "transformViewX", - "start": 8636, - "end": 8650, + "start": 8429, + "end": 8443, "loc": { "start": { - "line": 331, + "line": 318, "column": 13 }, "end": { - "line": 331, + "line": 318, "column": 27 } } @@ -67293,15 +70351,15 @@ "postfix": false, "binop": null }, - "start": 8650, - "end": 8651, + "start": 8443, + "end": 8444, "loc": { "start": { - "line": 331, + "line": 318, "column": 27 }, "end": { - "line": 331, + "line": 318, "column": 28 } } @@ -67319,15 +70377,15 @@ "binop": null }, "value": "target", - "start": 8651, - "end": 8657, + "start": 8444, + "end": 8450, "loc": { "start": { - "line": 331, + "line": 318, "column": 28 }, "end": { - "line": 331, + "line": 318, "column": 34 } } @@ -67345,15 +70403,15 @@ "binop": null, "updateContext": null }, - "start": 8657, - "end": 8658, + "start": 8450, + "end": 8451, "loc": { "start": { - "line": 331, + "line": 318, "column": 34 }, "end": { - "line": 331, + "line": 318, "column": 35 } } @@ -67371,15 +70429,15 @@ "binop": null }, "value": "x", - "start": 8658, - "end": 8659, + "start": 8451, + "end": 8452, "loc": { "start": { - "line": 331, + "line": 318, "column": 35 }, "end": { - "line": 331, + "line": 318, "column": 36 } } @@ -67398,15 +70456,15 @@ "updateContext": null }, "value": "-", - "start": 8660, - "end": 8661, + "start": 8453, + "end": 8454, "loc": { "start": { - "line": 331, + "line": 318, "column": 37 }, "end": { - "line": 331, + "line": 318, "column": 38 } } @@ -67424,15 +70482,15 @@ "binop": null }, "value": "rect", - "start": 8662, - "end": 8666, + "start": 8455, + "end": 8459, "loc": { "start": { - "line": 331, + "line": 318, "column": 39 }, "end": { - "line": 331, + "line": 318, "column": 43 } } @@ -67450,15 +70508,15 @@ "binop": null, "updateContext": null }, - "start": 8666, - "end": 8667, + "start": 8459, + "end": 8460, "loc": { "start": { - "line": 331, + "line": 318, "column": 43 }, "end": { - "line": 331, + "line": 318, "column": 44 } } @@ -67476,15 +70534,15 @@ "binop": null }, "value": "left", - "start": 8667, - "end": 8671, + "start": 8460, + "end": 8464, "loc": { "start": { - "line": 331, + "line": 318, "column": 44 }, "end": { - "line": 331, + "line": 318, "column": 48 } } @@ -67501,15 +70559,15 @@ "postfix": false, "binop": null }, - "start": 8671, - "end": 8672, + "start": 8464, + "end": 8465, "loc": { "start": { - "line": 331, + "line": 318, "column": 48 }, "end": { - "line": 331, + "line": 318, "column": 49 } } @@ -67527,15 +70585,15 @@ "binop": null, "updateContext": null }, - "start": 8672, - "end": 8673, + "start": 8465, + "end": 8466, "loc": { "start": { - "line": 331, + "line": 318, "column": 49 }, "end": { - "line": 331, + "line": 318, "column": 50 } } @@ -67555,15 +70613,15 @@ "updateContext": null }, "value": "let", - "start": 8678, - "end": 8681, + "start": 8471, + "end": 8474, "loc": { "start": { - "line": 332, + "line": 319, "column": 4 }, "end": { - "line": 332, + "line": 319, "column": 7 } } @@ -67581,15 +70639,15 @@ "binop": null }, "value": "vy", - "start": 8682, - "end": 8684, + "start": 8475, + "end": 8477, "loc": { "start": { - "line": 332, + "line": 319, "column": 8 }, "end": { - "line": 332, + "line": 319, "column": 10 } } @@ -67608,15 +70666,15 @@ "updateContext": null }, "value": "=", - "start": 8685, - "end": 8686, + "start": 8478, + "end": 8479, "loc": { "start": { - "line": 332, + "line": 319, "column": 11 }, "end": { - "line": 332, + "line": 319, "column": 12 } } @@ -67634,15 +70692,15 @@ "binop": null }, "value": "transformViewY", - "start": 8687, - "end": 8701, + "start": 8480, + "end": 8494, "loc": { "start": { - "line": 332, + "line": 319, "column": 13 }, "end": { - "line": 332, + "line": 319, "column": 27 } } @@ -67659,15 +70717,15 @@ "postfix": false, "binop": null }, - "start": 8701, - "end": 8702, + "start": 8494, + "end": 8495, "loc": { "start": { - "line": 332, + "line": 319, "column": 27 }, "end": { - "line": 332, + "line": 319, "column": 28 } } @@ -67685,15 +70743,15 @@ "binop": null }, "value": "target", - "start": 8702, - "end": 8708, + "start": 8495, + "end": 8501, "loc": { "start": { - "line": 332, + "line": 319, "column": 28 }, "end": { - "line": 332, + "line": 319, "column": 34 } } @@ -67711,15 +70769,15 @@ "binop": null, "updateContext": null }, - "start": 8708, - "end": 8709, + "start": 8501, + "end": 8502, "loc": { "start": { - "line": 332, + "line": 319, "column": 34 }, "end": { - "line": 332, + "line": 319, "column": 35 } } @@ -67737,15 +70795,15 @@ "binop": null }, "value": "y", - "start": 8709, - "end": 8710, + "start": 8502, + "end": 8503, "loc": { "start": { - "line": 332, + "line": 319, "column": 35 }, "end": { - "line": 332, + "line": 319, "column": 36 } } @@ -67764,15 +70822,15 @@ "updateContext": null }, "value": "-", - "start": 8711, - "end": 8712, + "start": 8504, + "end": 8505, "loc": { "start": { - "line": 332, + "line": 319, "column": 37 }, "end": { - "line": 332, + "line": 319, "column": 38 } } @@ -67790,15 +70848,15 @@ "binop": null }, "value": "rect", - "start": 8713, - "end": 8717, + "start": 8506, + "end": 8510, "loc": { "start": { - "line": 332, + "line": 319, "column": 39 }, "end": { - "line": 332, + "line": 319, "column": 43 } } @@ -67816,15 +70874,15 @@ "binop": null, "updateContext": null }, - "start": 8717, - "end": 8718, + "start": 8510, + "end": 8511, "loc": { "start": { - "line": 332, + "line": 319, "column": 43 }, "end": { - "line": 332, + "line": 319, "column": 44 } } @@ -67842,15 +70900,15 @@ "binop": null }, "value": "top", - "start": 8718, - "end": 8721, + "start": 8511, + "end": 8514, "loc": { "start": { - "line": 332, + "line": 319, "column": 44 }, "end": { - "line": 332, + "line": 319, "column": 47 } } @@ -67867,15 +70925,15 @@ "postfix": false, "binop": null }, - "start": 8721, - "end": 8722, + "start": 8514, + "end": 8515, "loc": { "start": { - "line": 332, + "line": 319, "column": 47 }, "end": { - "line": 332, + "line": 319, "column": 48 } } @@ -67893,15 +70951,15 @@ "binop": null, "updateContext": null }, - "start": 8722, - "end": 8723, + "start": 8515, + "end": 8516, "loc": { "start": { - "line": 332, + "line": 319, "column": 48 }, "end": { - "line": 332, + "line": 319, "column": 49 } } @@ -67921,15 +70979,15 @@ "updateContext": null }, "value": "if", - "start": 8729, - "end": 8731, + "start": 8522, + "end": 8524, "loc": { "start": { - "line": 334, + "line": 321, "column": 4 }, "end": { - "line": 334, + "line": 321, "column": 6 } } @@ -67946,15 +71004,15 @@ "postfix": false, "binop": null }, - "start": 8732, - "end": 8733, + "start": 8525, + "end": 8526, "loc": { "start": { - "line": 334, + "line": 321, "column": 7 }, "end": { - "line": 334, + "line": 321, "column": 8 } } @@ -67972,15 +71030,15 @@ "binop": null }, "value": "cDefine", - "start": 8733, - "end": 8740, + "start": 8526, + "end": 8533, "loc": { "start": { - "line": 334, + "line": 321, "column": 8 }, "end": { - "line": 334, + "line": 321, "column": 15 } } @@ -67998,15 +71056,15 @@ "binop": null, "updateContext": null }, - "start": 8740, - "end": 8741, + "start": 8533, + "end": 8534, "loc": { "start": { - "line": 334, + "line": 321, "column": 15 }, "end": { - "line": 334, + "line": 321, "column": 16 } } @@ -68024,15 +71082,15 @@ "binop": null }, "value": "DEBUG_MOUSE_LOG", - "start": 8741, - "end": 8756, + "start": 8534, + "end": 8549, "loc": { "start": { - "line": 334, + "line": 321, "column": 16 }, "end": { - "line": 334, + "line": 321, "column": 31 } } @@ -68049,15 +71107,15 @@ "postfix": false, "binop": null }, - "start": 8756, - "end": 8757, + "start": 8549, + "end": 8550, "loc": { "start": { - "line": 334, + "line": 321, "column": 31 }, "end": { - "line": 334, + "line": 321, "column": 32 } } @@ -68075,15 +71133,15 @@ "binop": null }, "value": "console", - "start": 8766, - "end": 8773, + "start": 8559, + "end": 8566, "loc": { "start": { - "line": 335, + "line": 322, "column": 8 }, "end": { - "line": 335, + "line": 322, "column": 15 } } @@ -68101,15 +71159,15 @@ "binop": null, "updateContext": null }, - "start": 8773, - "end": 8774, + "start": 8566, + "end": 8567, "loc": { "start": { - "line": 335, + "line": 322, "column": 15 }, "end": { - "line": 335, + "line": 322, "column": 16 } } @@ -68127,15 +71185,15 @@ "binop": null }, "value": "log", - "start": 8774, - "end": 8777, + "start": 8567, + "end": 8570, "loc": { "start": { - "line": 335, + "line": 322, "column": 16 }, "end": { - "line": 335, + "line": 322, "column": 19 } } @@ -68152,15 +71210,15 @@ "postfix": false, "binop": null }, - "start": 8777, - "end": 8778, + "start": 8570, + "end": 8571, "loc": { "start": { - "line": 335, + "line": 322, "column": 19 }, "end": { - "line": 335, + "line": 322, "column": 20 } } @@ -68179,15 +71237,15 @@ "updateContext": null }, "value": "followPointer onMouseMove device( x:", - "start": 8778, - "end": 8816, + "start": 8571, + "end": 8609, "loc": { "start": { - "line": 335, + "line": 322, "column": 20 }, "end": { - "line": 335, + "line": 322, "column": 58 } } @@ -68206,15 +71264,15 @@ "updateContext": null }, "value": "+", - "start": 8817, - "end": 8818, + "start": 8610, + "end": 8611, "loc": { "start": { - "line": 335, + "line": 322, "column": 59 }, "end": { - "line": 335, + "line": 322, "column": 60 } } @@ -68232,15 +71290,15 @@ "binop": null }, "value": "event", - "start": 8819, - "end": 8824, + "start": 8612, + "end": 8617, "loc": { "start": { - "line": 335, + "line": 322, "column": 61 }, "end": { - "line": 335, + "line": 322, "column": 66 } } @@ -68258,15 +71316,15 @@ "binop": null, "updateContext": null }, - "start": 8824, - "end": 8825, + "start": 8617, + "end": 8618, "loc": { "start": { - "line": 335, + "line": 322, "column": 66 }, "end": { - "line": 335, + "line": 322, "column": 67 } } @@ -68284,15 +71342,15 @@ "binop": null }, "value": "clientX", - "start": 8825, - "end": 8832, + "start": 8618, + "end": 8625, "loc": { "start": { - "line": 335, + "line": 322, "column": 67 }, "end": { - "line": 335, + "line": 322, "column": 74 } } @@ -68311,15 +71369,15 @@ "updateContext": null }, "value": "+", - "start": 8833, - "end": 8834, + "start": 8626, + "end": 8627, "loc": { "start": { - "line": 335, + "line": 322, "column": 75 }, "end": { - "line": 335, + "line": 322, "column": 76 } } @@ -68338,15 +71396,15 @@ "updateContext": null }, "value": " y:", - "start": 8835, - "end": 8840, + "start": 8628, + "end": 8633, "loc": { "start": { - "line": 335, + "line": 322, "column": 77 }, "end": { - "line": 335, + "line": 322, "column": 82 } } @@ -68365,15 +71423,15 @@ "updateContext": null }, "value": "+", - "start": 8841, - "end": 8842, + "start": 8634, + "end": 8635, "loc": { "start": { - "line": 335, + "line": 322, "column": 83 }, "end": { - "line": 335, + "line": 322, "column": 84 } } @@ -68391,15 +71449,15 @@ "binop": null }, "value": "event", - "start": 8843, - "end": 8848, + "start": 8636, + "end": 8641, "loc": { "start": { - "line": 335, + "line": 322, "column": 85 }, "end": { - "line": 335, + "line": 322, "column": 90 } } @@ -68417,15 +71475,15 @@ "binop": null, "updateContext": null }, - "start": 8848, - "end": 8849, + "start": 8641, + "end": 8642, "loc": { "start": { - "line": 335, + "line": 322, "column": 90 }, "end": { - "line": 335, + "line": 322, "column": 91 } } @@ -68443,15 +71501,15 @@ "binop": null }, "value": "clientY", - "start": 8849, - "end": 8856, + "start": 8642, + "end": 8649, "loc": { "start": { - "line": 335, + "line": 322, "column": 91 }, "end": { - "line": 335, + "line": 322, "column": 98 } } @@ -68470,15 +71528,15 @@ "updateContext": null }, "value": "+", - "start": 8857, - "end": 8858, + "start": 8650, + "end": 8651, "loc": { "start": { - "line": 335, + "line": 322, "column": 99 }, "end": { - "line": 335, + "line": 322, "column": 100 } } @@ -68497,15 +71555,15 @@ "updateContext": null }, "value": " ) view( x:", - "start": 8859, - "end": 8872, + "start": 8652, + "end": 8665, "loc": { "start": { - "line": 335, + "line": 322, "column": 101 }, "end": { - "line": 335, + "line": 322, "column": 114 } } @@ -68524,15 +71582,15 @@ "updateContext": null }, "value": "+", - "start": 8873, - "end": 8874, + "start": 8666, + "end": 8667, "loc": { "start": { - "line": 335, + "line": 322, "column": 115 }, "end": { - "line": 335, + "line": 322, "column": 116 } } @@ -68550,15 +71608,15 @@ "binop": null }, "value": "vx", - "start": 8875, - "end": 8877, + "start": 8668, + "end": 8670, "loc": { "start": { - "line": 335, + "line": 322, "column": 117 }, "end": { - "line": 335, + "line": 322, "column": 119 } } @@ -68577,15 +71635,15 @@ "updateContext": null }, "value": "+", - "start": 8878, - "end": 8879, + "start": 8671, + "end": 8672, "loc": { "start": { - "line": 335, + "line": 322, "column": 120 }, "end": { - "line": 335, + "line": 322, "column": 121 } } @@ -68604,15 +71662,15 @@ "updateContext": null }, "value": " y:", - "start": 8880, - "end": 8885, + "start": 8673, + "end": 8678, "loc": { "start": { - "line": 335, + "line": 322, "column": 122 }, "end": { - "line": 335, + "line": 322, "column": 127 } } @@ -68631,15 +71689,15 @@ "updateContext": null }, "value": "+", - "start": 8886, - "end": 8887, + "start": 8679, + "end": 8680, "loc": { "start": { - "line": 335, + "line": 322, "column": 128 }, "end": { - "line": 335, + "line": 322, "column": 129 } } @@ -68657,15 +71715,15 @@ "binop": null }, "value": "vy", - "start": 8888, - "end": 8890, + "start": 8681, + "end": 8683, "loc": { "start": { - "line": 335, + "line": 322, "column": 130 }, "end": { - "line": 335, + "line": 322, "column": 132 } } @@ -68684,15 +71742,15 @@ "updateContext": null }, "value": "+", - "start": 8891, - "end": 8892, + "start": 8684, + "end": 8685, "loc": { "start": { - "line": 335, + "line": 322, "column": 133 }, "end": { - "line": 335, + "line": 322, "column": 134 } } @@ -68711,15 +71769,15 @@ "updateContext": null }, "value": ")", - "start": 8893, - "end": 8896, + "start": 8686, + "end": 8689, "loc": { "start": { - "line": 335, + "line": 322, "column": 135 }, "end": { - "line": 335, + "line": 322, "column": 138 } } @@ -68736,15 +71794,15 @@ "postfix": false, "binop": null }, - "start": 8896, - "end": 8897, + "start": 8689, + "end": 8690, "loc": { "start": { - "line": 335, + "line": 322, "column": 138 }, "end": { - "line": 335, + "line": 322, "column": 139 } } @@ -68762,15 +71820,15 @@ "binop": null, "updateContext": null }, - "start": 8897, - "end": 8898, + "start": 8690, + "end": 8691, "loc": { "start": { - "line": 335, + "line": 322, "column": 139 }, "end": { - "line": 335, + "line": 322, "column": 140 } } @@ -68790,15 +71848,15 @@ "updateContext": null }, "value": "if", - "start": 8904, - "end": 8906, + "start": 8697, + "end": 8699, "loc": { "start": { - "line": 337, + "line": 324, "column": 4 }, "end": { - "line": 337, + "line": 324, "column": 6 } } @@ -68815,15 +71873,15 @@ "postfix": false, "binop": null }, - "start": 8907, - "end": 8908, + "start": 8700, + "end": 8701, "loc": { "start": { - "line": 337, + "line": 324, "column": 7 }, "end": { - "line": 337, + "line": 324, "column": 8 } } @@ -68841,15 +71899,15 @@ "binop": null }, "value": "drag", - "start": 8908, - "end": 8912, + "start": 8701, + "end": 8705, "loc": { "start": { - "line": 337, + "line": 324, "column": 8 }, "end": { - "line": 337, + "line": 324, "column": 12 } } @@ -68866,15 +71924,15 @@ "postfix": false, "binop": null }, - "start": 8912, - "end": 8913, + "start": 8705, + "end": 8706, "loc": { "start": { - "line": 337, + "line": 324, "column": 12 }, "end": { - "line": 337, + "line": 324, "column": 13 } } @@ -68891,15 +71949,15 @@ "postfix": false, "binop": null }, - "start": 8918, - "end": 8919, + "start": 8711, + "end": 8712, "loc": { "start": { - "line": 338, + "line": 325, "column": 4 }, "end": { - "line": 338, + "line": 325, "column": 5 } } @@ -68917,15 +71975,15 @@ "binop": null }, "value": "lastMouseX", - "start": 8928, - "end": 8938, + "start": 8721, + "end": 8731, "loc": { "start": { - "line": 339, + "line": 326, "column": 8 }, "end": { - "line": 339, + "line": 326, "column": 18 } } @@ -68944,15 +72002,15 @@ "updateContext": null }, "value": "=", - "start": 8939, - "end": 8940, + "start": 8732, + "end": 8733, "loc": { "start": { - "line": 339, + "line": 326, "column": 19 }, "end": { - "line": 339, + "line": 326, "column": 20 } } @@ -68970,15 +72028,15 @@ "binop": null }, "value": "sx", - "start": 8941, - "end": 8943, + "start": 8734, + "end": 8736, "loc": { "start": { - "line": 339, + "line": 326, "column": 21 }, "end": { - "line": 339, + "line": 326, "column": 23 } } @@ -68996,15 +72054,15 @@ "binop": null, "updateContext": null }, - "start": 8943, - "end": 8944, + "start": 8736, + "end": 8737, "loc": { "start": { - "line": 339, + "line": 326, "column": 23 }, "end": { - "line": 339, + "line": 326, "column": 24 } } @@ -69022,15 +72080,15 @@ "binop": null }, "value": "lastMouseY", - "start": 8953, - "end": 8963, + "start": 8746, + "end": 8756, "loc": { "start": { - "line": 340, + "line": 327, "column": 8 }, "end": { - "line": 340, + "line": 327, "column": 18 } } @@ -69049,15 +72107,15 @@ "updateContext": null }, "value": "=", - "start": 8964, - "end": 8965, + "start": 8757, + "end": 8758, "loc": { "start": { - "line": 340, + "line": 327, "column": 19 }, "end": { - "line": 340, + "line": 327, "column": 20 } } @@ -69075,15 +72133,15 @@ "binop": null }, "value": "sy", - "start": 8966, - "end": 8968, + "start": 8759, + "end": 8761, "loc": { "start": { - "line": 340, + "line": 327, "column": 21 }, "end": { - "line": 340, + "line": 327, "column": 23 } } @@ -69101,15 +72159,15 @@ "binop": null, "updateContext": null }, - "start": 8968, - "end": 8969, + "start": 8761, + "end": 8762, "loc": { "start": { - "line": 340, + "line": 327, "column": 23 }, "end": { - "line": 340, + "line": 327, "column": 24 } } @@ -69127,15 +72185,15 @@ "binop": null }, "value": "dragMgr", - "start": 8978, - "end": 8985, + "start": 8771, + "end": 8778, "loc": { "start": { - "line": 341, + "line": 328, "column": 8 }, "end": { - "line": 341, + "line": 328, "column": 15 } } @@ -69153,15 +72211,15 @@ "binop": null, "updateContext": null }, - "start": 8985, - "end": 8986, + "start": 8778, + "end": 8779, "loc": { "start": { - "line": 341, + "line": 328, "column": 15 }, "end": { - "line": 341, + "line": 328, "column": 16 } } @@ -69179,15 +72237,15 @@ "binop": null }, "value": "setPoint", - "start": 8986, - "end": 8994, + "start": 8779, + "end": 8787, "loc": { "start": { - "line": 341, + "line": 328, "column": 16 }, "end": { - "line": 341, + "line": 328, "column": 24 } } @@ -69204,15 +72262,15 @@ "postfix": false, "binop": null }, - "start": 8994, - "end": 8995, + "start": 8787, + "end": 8788, "loc": { "start": { - "line": 341, + "line": 328, "column": 24 }, "end": { - "line": 341, + "line": 328, "column": 25 } } @@ -69230,15 +72288,15 @@ "binop": null }, "value": "vx", - "start": 8995, - "end": 8997, + "start": 8788, + "end": 8790, "loc": { "start": { - "line": 341, + "line": 328, "column": 25 }, "end": { - "line": 341, + "line": 328, "column": 27 } } @@ -69256,15 +72314,15 @@ "binop": null, "updateContext": null }, - "start": 8997, - "end": 8998, + "start": 8790, + "end": 8791, "loc": { "start": { - "line": 341, + "line": 328, "column": 27 }, "end": { - "line": 341, + "line": 328, "column": 28 } } @@ -69282,15 +72340,15 @@ "binop": null }, "value": "vy", - "start": 8999, - "end": 9001, + "start": 8792, + "end": 8794, "loc": { "start": { - "line": 341, + "line": 328, "column": 29 }, "end": { - "line": 341, + "line": 328, "column": 31 } } @@ -69307,15 +72365,15 @@ "postfix": false, "binop": null }, - "start": 9001, - "end": 9002, + "start": 8794, + "end": 8795, "loc": { "start": { - "line": 341, + "line": 328, "column": 31 }, "end": { - "line": 341, + "line": 328, "column": 32 } } @@ -69333,15 +72391,15 @@ "binop": null, "updateContext": null }, - "start": 9002, - "end": 9003, + "start": 8795, + "end": 8796, "loc": { "start": { - "line": 341, + "line": 328, "column": 32 }, "end": { - "line": 341, + "line": 328, "column": 33 } } @@ -69358,15 +72416,15 @@ "postfix": false, "binop": null }, - "start": 9008, - "end": 9009, + "start": 8801, + "end": 8802, "loc": { "start": { - "line": 342, + "line": 329, "column": 4 }, "end": { - "line": 342, + "line": 329, "column": 5 } } @@ -69383,15 +72441,15 @@ "postfix": false, "binop": null }, - "start": 9010, - "end": 9011, + "start": 8803, + "end": 8804, "loc": { "start": { - "line": 343, + "line": 330, "column": 0 }, "end": { - "line": 343, + "line": 330, "column": 1 } } @@ -69410,15 +72468,15 @@ "binop": null }, "value": "function", - "start": 9013, - "end": 9021, + "start": 8806, + "end": 8814, "loc": { "start": { - "line": 345, + "line": 332, "column": 0 }, "end": { - "line": 345, + "line": 332, "column": 8 } } @@ -69436,15 +72494,15 @@ "binop": null }, "value": "lookFront", - "start": 9022, - "end": 9031, + "start": 8815, + "end": 8824, "loc": { "start": { - "line": 345, + "line": 332, "column": 9 }, "end": { - "line": 345, + "line": 332, "column": 18 } } @@ -69461,15 +72519,15 @@ "postfix": false, "binop": null }, - "start": 9031, - "end": 9032, + "start": 8824, + "end": 8825, "loc": { "start": { - "line": 345, + "line": 332, "column": 18 }, "end": { - "line": 345, + "line": 332, "column": 19 } } @@ -69486,15 +72544,15 @@ "postfix": false, "binop": null }, - "start": 9032, - "end": 9033, + "start": 8825, + "end": 8826, "loc": { "start": { - "line": 345, + "line": 332, "column": 19 }, "end": { - "line": 345, + "line": 332, "column": 20 } } @@ -69511,15 +72569,15 @@ "postfix": false, "binop": null }, - "start": 9034, - "end": 9035, + "start": 8827, + "end": 8828, "loc": { "start": { - "line": 346, + "line": 333, "column": 0 }, "end": { - "line": 346, + "line": 333, "column": 1 } } @@ -69539,15 +72597,15 @@ "updateContext": null }, "value": "if", - "start": 9040, - "end": 9042, + "start": 8833, + "end": 8835, "loc": { "start": { - "line": 347, + "line": 334, "column": 4 }, "end": { - "line": 347, + "line": 334, "column": 6 } } @@ -69564,15 +72622,15 @@ "postfix": false, "binop": null }, - "start": 9043, - "end": 9044, + "start": 8836, + "end": 8837, "loc": { "start": { - "line": 347, + "line": 334, "column": 7 }, "end": { - "line": 347, + "line": 334, "column": 8 } } @@ -69590,15 +72648,15 @@ "binop": null }, "value": "drag", - "start": 9044, - "end": 9048, + "start": 8837, + "end": 8841, "loc": { "start": { - "line": 347, + "line": 334, "column": 8 }, "end": { - "line": 347, + "line": 334, "column": 12 } } @@ -69615,15 +72673,15 @@ "postfix": false, "binop": null }, - "start": 9048, - "end": 9049, + "start": 8841, + "end": 8842, "loc": { "start": { - "line": 347, + "line": 334, "column": 12 }, "end": { - "line": 347, + "line": 334, "column": 13 } } @@ -69640,15 +72698,15 @@ "postfix": false, "binop": null }, - "start": 9050, - "end": 9051, + "start": 8843, + "end": 8844, "loc": { "start": { - "line": 347, + "line": 334, "column": 14 }, "end": { - "line": 347, + "line": 334, "column": 15 } } @@ -69666,15 +72724,15 @@ "binop": null }, "value": "drag", - "start": 9060, - "end": 9064, + "start": 8853, + "end": 8857, "loc": { "start": { - "line": 348, + "line": 335, "column": 8 }, "end": { - "line": 348, + "line": 335, "column": 12 } } @@ -69693,15 +72751,15 @@ "updateContext": null }, "value": "=", - "start": 9065, - "end": 9066, + "start": 8858, + "end": 8859, "loc": { "start": { - "line": 348, + "line": 335, "column": 13 }, "end": { - "line": 348, + "line": 335, "column": 14 } } @@ -69721,15 +72779,15 @@ "updateContext": null }, "value": "false", - "start": 9067, - "end": 9072, + "start": 8860, + "end": 8865, "loc": { "start": { - "line": 348, + "line": 335, "column": 15 }, "end": { - "line": 348, + "line": 335, "column": 20 } } @@ -69747,15 +72805,15 @@ "binop": null, "updateContext": null }, - "start": 9072, - "end": 9073, + "start": 8865, + "end": 8866, "loc": { "start": { - "line": 348, + "line": 335, "column": 20 }, "end": { - "line": 348, + "line": 335, "column": 21 } } @@ -69772,15 +72830,15 @@ "postfix": false, "binop": null }, - "start": 9078, - "end": 9079, + "start": 8871, + "end": 8872, "loc": { "start": { - "line": 349, + "line": 336, "column": 4 }, "end": { - "line": 349, + "line": 336, "column": 5 } } @@ -69798,15 +72856,15 @@ "binop": null }, "value": "dragMgr", - "start": 9084, - "end": 9091, + "start": 8877, + "end": 8884, "loc": { "start": { - "line": 350, + "line": 337, "column": 4 }, "end": { - "line": 350, + "line": 337, "column": 11 } } @@ -69824,15 +72882,15 @@ "binop": null, "updateContext": null }, - "start": 9091, - "end": 9092, + "start": 8884, + "end": 8885, "loc": { "start": { - "line": 350, + "line": 337, "column": 11 }, "end": { - "line": 350, + "line": 337, "column": 12 } } @@ -69850,15 +72908,15 @@ "binop": null }, "value": "setPoint", - "start": 9092, - "end": 9100, + "start": 8885, + "end": 8893, "loc": { "start": { - "line": 350, + "line": 337, "column": 12 }, "end": { - "line": 350, + "line": 337, "column": 20 } } @@ -69875,15 +72933,15 @@ "postfix": false, "binop": null }, - "start": 9100, - "end": 9101, + "start": 8893, + "end": 8894, "loc": { "start": { - "line": 350, + "line": 337, "column": 20 }, "end": { - "line": 350, + "line": 337, "column": 21 } } @@ -69902,15 +72960,15 @@ "updateContext": null }, "value": 0, - "start": 9101, - "end": 9102, + "start": 8894, + "end": 8895, "loc": { "start": { - "line": 350, + "line": 337, "column": 21 }, "end": { - "line": 350, + "line": 337, "column": 22 } } @@ -69928,15 +72986,15 @@ "binop": null, "updateContext": null }, - "start": 9102, - "end": 9103, + "start": 8895, + "end": 8896, "loc": { "start": { - "line": 350, + "line": 337, "column": 22 }, "end": { - "line": 350, + "line": 337, "column": 23 } } @@ -69955,15 +73013,15 @@ "updateContext": null }, "value": 0, - "start": 9104, - "end": 9105, + "start": 8897, + "end": 8898, "loc": { "start": { - "line": 350, + "line": 337, "column": 24 }, "end": { - "line": 350, + "line": 337, "column": 25 } } @@ -69980,15 +73038,15 @@ "postfix": false, "binop": null }, - "start": 9105, - "end": 9106, + "start": 8898, + "end": 8899, "loc": { "start": { - "line": 350, + "line": 337, "column": 25 }, "end": { - "line": 350, + "line": 337, "column": 26 } } @@ -70006,15 +73064,15 @@ "binop": null, "updateContext": null }, - "start": 9106, - "end": 9107, + "start": 8899, + "end": 8900, "loc": { "start": { - "line": 350, + "line": 337, "column": 26 }, "end": { - "line": 350, + "line": 337, "column": 27 } } @@ -70031,15 +73089,15 @@ "postfix": false, "binop": null }, - "start": 9108, - "end": 9109, + "start": 8901, + "end": 8902, "loc": { "start": { - "line": 351, + "line": 338, "column": 0 }, "end": { - "line": 351, + "line": 338, "column": 1 } } @@ -70058,15 +73116,15 @@ "binop": null }, "value": "function", - "start": 9111, - "end": 9119, + "start": 8904, + "end": 8912, "loc": { "start": { - "line": 353, + "line": 340, "column": 0 }, "end": { - "line": 353, + "line": 340, "column": 8 } } @@ -70084,15 +73142,15 @@ "binop": null }, "value": "mouseEvent", - "start": 9120, - "end": 9130, + "start": 8913, + "end": 8923, "loc": { "start": { - "line": 353, + "line": 340, "column": 9 }, "end": { - "line": 353, + "line": 340, "column": 19 } } @@ -70109,15 +73167,15 @@ "postfix": false, "binop": null }, - "start": 9130, - "end": 9131, + "start": 8923, + "end": 8924, "loc": { "start": { - "line": 353, + "line": 340, "column": 19 }, "end": { - "line": 353, + "line": 340, "column": 20 } } @@ -70135,15 +73193,15 @@ "binop": null }, "value": "e", - "start": 9131, - "end": 9132, + "start": 8924, + "end": 8925, "loc": { "start": { - "line": 353, + "line": 340, "column": 20 }, "end": { - "line": 353, + "line": 340, "column": 21 } } @@ -70160,15 +73218,15 @@ "postfix": false, "binop": null }, - "start": 9132, - "end": 9133, + "start": 8925, + "end": 8926, "loc": { "start": { - "line": 353, + "line": 340, "column": 21 }, "end": { - "line": 353, + "line": 340, "column": 22 } } @@ -70185,15 +73243,15 @@ "postfix": false, "binop": null }, - "start": 9134, - "end": 9135, + "start": 8927, + "end": 8928, "loc": { "start": { - "line": 354, + "line": 341, "column": 0 }, "end": { - "line": 354, + "line": 341, "column": 1 } } @@ -70201,15 +73259,15 @@ { "type": "CommentLine", "value": "e.preventDefault();", - "start": 9140, - "end": 9161, + "start": 8933, + "end": 8954, "loc": { "start": { - "line": 355, + "line": 342, "column": 4 }, "end": { - "line": 355, + "line": 342, "column": 25 } } @@ -70229,15 +73287,15 @@ "updateContext": null }, "value": "if", - "start": 9166, - "end": 9168, + "start": 8959, + "end": 8961, "loc": { "start": { - "line": 356, + "line": 343, "column": 4 }, "end": { - "line": 356, + "line": 343, "column": 6 } } @@ -70254,15 +73312,15 @@ "postfix": false, "binop": null }, - "start": 9169, - "end": 9170, + "start": 8962, + "end": 8963, "loc": { "start": { - "line": 356, + "line": 343, "column": 7 }, "end": { - "line": 356, + "line": 343, "column": 8 } } @@ -70280,15 +73338,15 @@ "binop": null }, "value": "e", - "start": 9170, - "end": 9171, + "start": 8963, + "end": 8964, "loc": { "start": { - "line": 356, + "line": 343, "column": 8 }, "end": { - "line": 356, + "line": 343, "column": 9 } } @@ -70306,15 +73364,15 @@ "binop": null, "updateContext": null }, - "start": 9171, - "end": 9172, + "start": 8964, + "end": 8965, "loc": { "start": { - "line": 356, + "line": 343, "column": 9 }, "end": { - "line": 356, + "line": 343, "column": 10 } } @@ -70332,15 +73390,15 @@ "binop": null }, "value": "type", - "start": 9172, - "end": 9176, + "start": 8965, + "end": 8969, "loc": { "start": { - "line": 356, + "line": 343, "column": 10 }, "end": { - "line": 356, + "line": 343, "column": 14 } } @@ -70359,15 +73417,15 @@ "updateContext": null }, "value": "==", - "start": 9177, - "end": 9179, + "start": 8970, + "end": 8972, "loc": { "start": { - "line": 356, + "line": 343, "column": 15 }, "end": { - "line": 356, + "line": 343, "column": 17 } } @@ -70386,15 +73444,15 @@ "updateContext": null }, "value": "mousedown", - "start": 9180, - "end": 9191, + "start": 8973, + "end": 8984, "loc": { "start": { - "line": 356, + "line": 343, "column": 18 }, "end": { - "line": 356, + "line": 343, "column": 29 } } @@ -70411,15 +73469,15 @@ "postfix": false, "binop": null }, - "start": 9191, - "end": 9192, + "start": 8984, + "end": 8985, "loc": { "start": { - "line": 356, + "line": 343, "column": 29 }, "end": { - "line": 356, + "line": 343, "column": 30 } } @@ -70436,15 +73494,15 @@ "postfix": false, "binop": null }, - "start": 9193, - "end": 9194, + "start": 8986, + "end": 8987, "loc": { "start": { - "line": 356, + "line": 343, "column": 31 }, "end": { - "line": 356, + "line": 343, "column": 32 } } @@ -70462,15 +73520,15 @@ "binop": null }, "value": "modelTapEvent", - "start": 9203, - "end": 9216, + "start": 8996, + "end": 9009, "loc": { "start": { - "line": 357, + "line": 344, "column": 8 }, "end": { - "line": 357, + "line": 344, "column": 21 } } @@ -70487,15 +73545,15 @@ "postfix": false, "binop": null }, - "start": 9216, - "end": 9217, + "start": 9009, + "end": 9010, "loc": { "start": { - "line": 357, + "line": 344, "column": 21 }, "end": { - "line": 357, + "line": 344, "column": 22 } } @@ -70513,15 +73571,15 @@ "binop": null }, "value": "e", - "start": 9217, - "end": 9218, + "start": 9010, + "end": 9011, "loc": { "start": { - "line": 357, + "line": 344, "column": 22 }, "end": { - "line": 357, + "line": 344, "column": 23 } } @@ -70538,15 +73596,15 @@ "postfix": false, "binop": null }, - "start": 9218, - "end": 9219, + "start": 9011, + "end": 9012, "loc": { "start": { - "line": 357, + "line": 344, "column": 23 }, "end": { - "line": 357, + "line": 344, "column": 24 } } @@ -70564,15 +73622,15 @@ "binop": null, "updateContext": null }, - "start": 9219, - "end": 9220, + "start": 9012, + "end": 9013, "loc": { "start": { - "line": 357, + "line": 344, "column": 24 }, "end": { - "line": 357, + "line": 344, "column": 25 } } @@ -70589,15 +73647,15 @@ "postfix": false, "binop": null }, - "start": 9225, - "end": 9226, + "start": 9018, + "end": 9019, "loc": { "start": { - "line": 358, + "line": 345, "column": 4 }, "end": { - "line": 358, + "line": 345, "column": 5 } } @@ -70617,15 +73675,15 @@ "updateContext": null }, "value": "else", - "start": 9227, - "end": 9231, + "start": 9020, + "end": 9024, "loc": { "start": { - "line": 358, + "line": 345, "column": 6 }, "end": { - "line": 358, + "line": 345, "column": 10 } } @@ -70645,15 +73703,15 @@ "updateContext": null }, "value": "if", - "start": 9232, - "end": 9234, + "start": 9025, + "end": 9027, "loc": { "start": { - "line": 358, + "line": 345, "column": 11 }, "end": { - "line": 358, + "line": 345, "column": 13 } } @@ -70670,15 +73728,15 @@ "postfix": false, "binop": null }, - "start": 9235, - "end": 9236, + "start": 9028, + "end": 9029, "loc": { "start": { - "line": 358, + "line": 345, "column": 14 }, "end": { - "line": 358, + "line": 345, "column": 15 } } @@ -70696,15 +73754,15 @@ "binop": null }, "value": "e", - "start": 9236, - "end": 9237, + "start": 9029, + "end": 9030, "loc": { "start": { - "line": 358, + "line": 345, "column": 15 }, "end": { - "line": 358, + "line": 345, "column": 16 } } @@ -70722,15 +73780,15 @@ "binop": null, "updateContext": null }, - "start": 9237, - "end": 9238, + "start": 9030, + "end": 9031, "loc": { "start": { - "line": 358, + "line": 345, "column": 16 }, "end": { - "line": 358, + "line": 345, "column": 17 } } @@ -70748,15 +73806,15 @@ "binop": null }, "value": "type", - "start": 9238, - "end": 9242, + "start": 9031, + "end": 9035, "loc": { "start": { - "line": 358, + "line": 345, "column": 17 }, "end": { - "line": 358, + "line": 345, "column": 21 } } @@ -70775,15 +73833,15 @@ "updateContext": null }, "value": "==", - "start": 9243, - "end": 9245, + "start": 9036, + "end": 9038, "loc": { "start": { - "line": 358, + "line": 345, "column": 22 }, "end": { - "line": 358, + "line": 345, "column": 24 } } @@ -70802,15 +73860,15 @@ "updateContext": null }, "value": "mousemove", - "start": 9246, - "end": 9257, + "start": 9039, + "end": 9050, "loc": { "start": { - "line": 358, + "line": 345, "column": 25 }, "end": { - "line": 358, + "line": 345, "column": 36 } } @@ -70827,15 +73885,15 @@ "postfix": false, "binop": null }, - "start": 9257, - "end": 9258, + "start": 9050, + "end": 9051, "loc": { "start": { - "line": 358, + "line": 345, "column": 36 }, "end": { - "line": 358, + "line": 345, "column": 37 } } @@ -70852,15 +73910,15 @@ "postfix": false, "binop": null }, - "start": 9259, - "end": 9260, + "start": 9052, + "end": 9053, "loc": { "start": { - "line": 358, + "line": 345, "column": 38 }, "end": { - "line": 358, + "line": 345, "column": 39 } } @@ -70878,15 +73936,15 @@ "binop": null }, "value": "modelTurnHead", - "start": 9269, - "end": 9282, + "start": 9062, + "end": 9075, "loc": { "start": { - "line": 359, + "line": 346, "column": 8 }, "end": { - "line": 359, + "line": 346, "column": 21 } } @@ -70903,15 +73961,15 @@ "postfix": false, "binop": null }, - "start": 9282, - "end": 9283, + "start": 9075, + "end": 9076, "loc": { "start": { - "line": 359, + "line": 346, "column": 21 }, "end": { - "line": 359, + "line": 346, "column": 22 } } @@ -70929,15 +73987,15 @@ "binop": null }, "value": "e", - "start": 9283, - "end": 9284, + "start": 9076, + "end": 9077, "loc": { "start": { - "line": 359, + "line": 346, "column": 22 }, "end": { - "line": 359, + "line": 346, "column": 23 } } @@ -70954,15 +74012,15 @@ "postfix": false, "binop": null }, - "start": 9284, - "end": 9285, + "start": 9077, + "end": 9078, "loc": { "start": { - "line": 359, + "line": 346, "column": 23 }, "end": { - "line": 359, + "line": 346, "column": 24 } } @@ -70980,15 +74038,15 @@ "binop": null, "updateContext": null }, - "start": 9285, - "end": 9286, + "start": 9078, + "end": 9079, "loc": { "start": { - "line": 359, + "line": 346, "column": 24 }, "end": { - "line": 359, + "line": 346, "column": 25 } } @@ -71005,15 +74063,15 @@ "postfix": false, "binop": null }, - "start": 9291, - "end": 9292, + "start": 9084, + "end": 9085, "loc": { "start": { - "line": 360, + "line": 347, "column": 4 }, "end": { - "line": 360, + "line": 347, "column": 5 } } @@ -71033,15 +74091,15 @@ "updateContext": null }, "value": "else", - "start": 9293, - "end": 9297, + "start": 9086, + "end": 9090, "loc": { "start": { - "line": 360, + "line": 347, "column": 6 }, "end": { - "line": 360, + "line": 347, "column": 10 } } @@ -71061,15 +74119,15 @@ "updateContext": null }, "value": "if", - "start": 9298, - "end": 9300, + "start": 9091, + "end": 9093, "loc": { "start": { - "line": 360, + "line": 347, "column": 11 }, "end": { - "line": 360, + "line": 347, "column": 13 } } @@ -71086,15 +74144,15 @@ "postfix": false, "binop": null }, - "start": 9301, - "end": 9302, + "start": 9094, + "end": 9095, "loc": { "start": { - "line": 360, + "line": 347, "column": 14 }, "end": { - "line": 360, + "line": 347, "column": 15 } } @@ -71112,15 +74170,15 @@ "binop": null }, "value": "e", - "start": 9302, - "end": 9303, + "start": 9095, + "end": 9096, "loc": { "start": { - "line": 360, + "line": 347, "column": 15 }, "end": { - "line": 360, + "line": 347, "column": 16 } } @@ -71138,15 +74196,15 @@ "binop": null, "updateContext": null }, - "start": 9303, - "end": 9304, + "start": 9096, + "end": 9097, "loc": { "start": { - "line": 360, + "line": 347, "column": 16 }, "end": { - "line": 360, + "line": 347, "column": 17 } } @@ -71164,15 +74222,15 @@ "binop": null }, "value": "type", - "start": 9304, - "end": 9308, + "start": 9097, + "end": 9101, "loc": { "start": { - "line": 360, + "line": 347, "column": 17 }, "end": { - "line": 360, + "line": 347, "column": 21 } } @@ -71191,15 +74249,15 @@ "updateContext": null }, "value": "==", - "start": 9309, - "end": 9311, + "start": 9102, + "end": 9104, "loc": { "start": { - "line": 360, + "line": 347, "column": 22 }, "end": { - "line": 360, + "line": 347, "column": 24 } } @@ -71218,15 +74276,15 @@ "updateContext": null }, "value": "mouseup", - "start": 9312, - "end": 9321, + "start": 9105, + "end": 9114, "loc": { "start": { - "line": 360, + "line": 347, "column": 25 }, "end": { - "line": 360, + "line": 347, "column": 34 } } @@ -71243,15 +74301,15 @@ "postfix": false, "binop": null }, - "start": 9321, - "end": 9322, + "start": 9114, + "end": 9115, "loc": { "start": { - "line": 360, + "line": 347, "column": 34 }, "end": { - "line": 360, + "line": 347, "column": 35 } } @@ -71268,15 +74326,15 @@ "postfix": false, "binop": null }, - "start": 9323, - "end": 9324, + "start": 9116, + "end": 9117, "loc": { "start": { - "line": 360, + "line": 347, "column": 36 }, "end": { - "line": 360, + "line": 347, "column": 37 } } @@ -71296,15 +74354,15 @@ "updateContext": null }, "value": "if", - "start": 9333, - "end": 9335, + "start": 9126, + "end": 9128, "loc": { "start": { - "line": 361, + "line": 348, "column": 8 }, "end": { - "line": 361, + "line": 348, "column": 10 } } @@ -71321,15 +74379,15 @@ "postfix": false, "binop": null }, - "start": 9335, - "end": 9336, + "start": 9128, + "end": 9129, "loc": { "start": { - "line": 361, + "line": 348, "column": 10 }, "end": { - "line": 361, + "line": 348, "column": 11 } } @@ -71348,15 +74406,15 @@ "updateContext": null }, "value": "button", - "start": 9336, - "end": 9344, + "start": 9129, + "end": 9137, "loc": { "start": { - "line": 361, + "line": 348, "column": 11 }, "end": { - "line": 361, + "line": 348, "column": 19 } } @@ -71376,15 +74434,15 @@ "updateContext": null }, "value": "in", - "start": 9345, - "end": 9347, + "start": 9138, + "end": 9140, "loc": { "start": { - "line": 361, + "line": 348, "column": 20 }, "end": { - "line": 361, + "line": 348, "column": 22 } } @@ -71402,15 +74460,15 @@ "binop": null }, "value": "e", - "start": 9348, - "end": 9349, + "start": 9141, + "end": 9142, "loc": { "start": { - "line": 361, + "line": 348, "column": 23 }, "end": { - "line": 361, + "line": 348, "column": 24 } } @@ -71429,15 +74487,15 @@ "updateContext": null }, "value": "&&", - "start": 9350, - "end": 9352, + "start": 9143, + "end": 9145, "loc": { "start": { - "line": 361, + "line": 348, "column": 25 }, "end": { - "line": 361, + "line": 348, "column": 27 } } @@ -71455,15 +74513,15 @@ "binop": null }, "value": "e", - "start": 9353, - "end": 9354, + "start": 9146, + "end": 9147, "loc": { "start": { - "line": 361, + "line": 348, "column": 28 }, "end": { - "line": 361, + "line": 348, "column": 29 } } @@ -71481,15 +74539,15 @@ "binop": null, "updateContext": null }, - "start": 9354, - "end": 9355, + "start": 9147, + "end": 9148, "loc": { "start": { - "line": 361, + "line": 348, "column": 29 }, "end": { - "line": 361, + "line": 348, "column": 30 } } @@ -71507,15 +74565,15 @@ "binop": null }, "value": "button", - "start": 9355, - "end": 9361, + "start": 9148, + "end": 9154, "loc": { "start": { - "line": 361, + "line": 348, "column": 30 }, "end": { - "line": 361, + "line": 348, "column": 36 } } @@ -71534,15 +74592,15 @@ "updateContext": null }, "value": "!=", - "start": 9362, - "end": 9364, + "start": 9155, + "end": 9157, "loc": { "start": { - "line": 361, + "line": 348, "column": 37 }, "end": { - "line": 361, + "line": 348, "column": 39 } } @@ -71561,15 +74619,15 @@ "updateContext": null }, "value": 0, - "start": 9365, - "end": 9366, + "start": 9158, + "end": 9159, "loc": { "start": { - "line": 361, + "line": 348, "column": 40 }, "end": { - "line": 361, + "line": 348, "column": 41 } } @@ -71586,15 +74644,15 @@ "postfix": false, "binop": null }, - "start": 9366, - "end": 9367, + "start": 9159, + "end": 9160, "loc": { "start": { - "line": 361, + "line": 348, "column": 41 }, "end": { - "line": 361, + "line": 348, "column": 42 } } @@ -71614,15 +74672,15 @@ "updateContext": null }, "value": "return", - "start": 9368, - "end": 9374, + "start": 9161, + "end": 9167, "loc": { "start": { - "line": 361, + "line": 348, "column": 43 }, "end": { - "line": 361, + "line": 348, "column": 49 } } @@ -71640,15 +74698,15 @@ "binop": null, "updateContext": null }, - "start": 9374, - "end": 9375, + "start": 9167, + "end": 9168, "loc": { "start": { - "line": 361, + "line": 348, "column": 49 }, "end": { - "line": 361, + "line": 348, "column": 50 } } @@ -71656,15 +74714,15 @@ { "type": "CommentLine", "value": " lookFront();", - "start": 9384, - "end": 9399, + "start": 9177, + "end": 9192, "loc": { "start": { - "line": 362, + "line": 349, "column": 8 }, "end": { - "line": 362, + "line": 349, "column": 23 } } @@ -71681,15 +74739,15 @@ "postfix": false, "binop": null }, - "start": 9404, - "end": 9405, + "start": 9197, + "end": 9198, "loc": { "start": { - "line": 363, + "line": 350, "column": 4 }, "end": { - "line": 363, + "line": 350, "column": 5 } } @@ -71709,15 +74767,15 @@ "updateContext": null }, "value": "else", - "start": 9406, - "end": 9410, + "start": 9199, + "end": 9203, "loc": { "start": { - "line": 363, + "line": 350, "column": 6 }, "end": { - "line": 363, + "line": 350, "column": 10 } } @@ -71737,15 +74795,15 @@ "updateContext": null }, "value": "if", - "start": 9411, - "end": 9413, + "start": 9204, + "end": 9206, "loc": { "start": { - "line": 363, + "line": 350, "column": 11 }, "end": { - "line": 363, + "line": 350, "column": 13 } } @@ -71762,15 +74820,15 @@ "postfix": false, "binop": null }, - "start": 9414, - "end": 9415, + "start": 9207, + "end": 9208, "loc": { "start": { - "line": 363, + "line": 350, "column": 14 }, "end": { - "line": 363, + "line": 350, "column": 15 } } @@ -71788,15 +74846,15 @@ "binop": null }, "value": "e", - "start": 9415, - "end": 9416, + "start": 9208, + "end": 9209, "loc": { "start": { - "line": 363, + "line": 350, "column": 15 }, "end": { - "line": 363, + "line": 350, "column": 16 } } @@ -71814,15 +74872,15 @@ "binop": null, "updateContext": null }, - "start": 9416, - "end": 9417, + "start": 9209, + "end": 9210, "loc": { "start": { - "line": 363, + "line": 350, "column": 16 }, "end": { - "line": 363, + "line": 350, "column": 17 } } @@ -71840,15 +74898,15 @@ "binop": null }, "value": "type", - "start": 9417, - "end": 9421, + "start": 9210, + "end": 9214, "loc": { "start": { - "line": 363, + "line": 350, "column": 17 }, "end": { - "line": 363, + "line": 350, "column": 21 } } @@ -71867,15 +74925,15 @@ "updateContext": null }, "value": "==", - "start": 9422, - "end": 9424, + "start": 9215, + "end": 9217, "loc": { "start": { - "line": 363, + "line": 350, "column": 22 }, "end": { - "line": 363, + "line": 350, "column": 24 } } @@ -71894,15 +74952,15 @@ "updateContext": null }, "value": "mouseleave", - "start": 9425, - "end": 9437, + "start": 9218, + "end": 9230, "loc": { "start": { - "line": 363, + "line": 350, "column": 25 }, "end": { - "line": 363, + "line": 350, "column": 37 } } @@ -71919,15 +74977,15 @@ "postfix": false, "binop": null }, - "start": 9437, - "end": 9438, + "start": 9230, + "end": 9231, "loc": { "start": { - "line": 363, + "line": 350, "column": 37 }, "end": { - "line": 363, + "line": 350, "column": 38 } } @@ -71944,15 +75002,15 @@ "postfix": false, "binop": null }, - "start": 9439, - "end": 9440, + "start": 9232, + "end": 9233, "loc": { "start": { - "line": 363, + "line": 350, "column": 39 }, "end": { - "line": 363, + "line": 350, "column": 40 } } @@ -71970,15 +75028,15 @@ "binop": null }, "value": "lookFront", - "start": 9449, - "end": 9458, + "start": 9242, + "end": 9251, "loc": { "start": { - "line": 364, + "line": 351, "column": 8 }, "end": { - "line": 364, + "line": 351, "column": 17 } } @@ -71995,15 +75053,15 @@ "postfix": false, "binop": null }, - "start": 9458, - "end": 9459, + "start": 9251, + "end": 9252, "loc": { "start": { - "line": 364, + "line": 351, "column": 17 }, "end": { - "line": 364, + "line": 351, "column": 18 } } @@ -72020,15 +75078,15 @@ "postfix": false, "binop": null }, - "start": 9459, - "end": 9460, + "start": 9252, + "end": 9253, "loc": { "start": { - "line": 364, + "line": 351, "column": 18 }, "end": { - "line": 364, + "line": 351, "column": 19 } } @@ -72046,15 +75104,15 @@ "binop": null, "updateContext": null }, - "start": 9460, - "end": 9461, + "start": 9253, + "end": 9254, "loc": { "start": { - "line": 364, + "line": 351, "column": 19 }, "end": { - "line": 364, + "line": 351, "column": 20 } } @@ -72071,15 +75129,15 @@ "postfix": false, "binop": null }, - "start": 9466, - "end": 9467, + "start": 9259, + "end": 9260, "loc": { "start": { - "line": 365, + "line": 352, "column": 4 }, "end": { - "line": 365, + "line": 352, "column": 5 } } @@ -72096,15 +75154,15 @@ "postfix": false, "binop": null }, - "start": 9468, - "end": 9469, + "start": 9261, + "end": 9262, "loc": { "start": { - "line": 366, + "line": 353, "column": 0 }, "end": { - "line": 366, + "line": 353, "column": 1 } } @@ -72123,15 +75181,15 @@ "binop": null }, "value": "function", - "start": 9471, - "end": 9479, + "start": 9264, + "end": 9272, "loc": { "start": { - "line": 368, + "line": 355, "column": 0 }, "end": { - "line": 368, + "line": 355, "column": 8 } } @@ -72149,15 +75207,15 @@ "binop": null }, "value": "touchEvent", - "start": 9480, - "end": 9490, + "start": 9273, + "end": 9283, "loc": { "start": { - "line": 368, + "line": 355, "column": 9 }, "end": { - "line": 368, + "line": 355, "column": 19 } } @@ -72174,15 +75232,15 @@ "postfix": false, "binop": null }, - "start": 9490, - "end": 9491, + "start": 9283, + "end": 9284, "loc": { "start": { - "line": 368, + "line": 355, "column": 19 }, "end": { - "line": 368, + "line": 355, "column": 20 } } @@ -72200,15 +75258,15 @@ "binop": null }, "value": "e", - "start": 9491, - "end": 9492, + "start": 9284, + "end": 9285, "loc": { "start": { - "line": 368, + "line": 355, "column": 20 }, "end": { - "line": 368, + "line": 355, "column": 21 } } @@ -72225,15 +75283,15 @@ "postfix": false, "binop": null }, - "start": 9492, - "end": 9493, + "start": 9285, + "end": 9286, "loc": { "start": { - "line": 368, + "line": 355, "column": 21 }, "end": { - "line": 368, + "line": 355, "column": 22 } } @@ -72250,15 +75308,15 @@ "postfix": false, "binop": null }, - "start": 9494, - "end": 9495, + "start": 9287, + "end": 9288, "loc": { "start": { - "line": 369, + "line": 356, "column": 0 }, "end": { - "line": 369, + "line": 356, "column": 1 } } @@ -72278,15 +75336,15 @@ "updateContext": null }, "value": "var", - "start": 9500, - "end": 9503, + "start": 9293, + "end": 9296, "loc": { "start": { - "line": 370, + "line": 357, "column": 4 }, "end": { - "line": 370, + "line": 357, "column": 7 } } @@ -72304,15 +75362,15 @@ "binop": null }, "value": "touch", - "start": 9504, - "end": 9509, + "start": 9297, + "end": 9302, "loc": { "start": { - "line": 370, + "line": 357, "column": 8 }, "end": { - "line": 370, + "line": 357, "column": 13 } } @@ -72331,15 +75389,15 @@ "updateContext": null }, "value": "=", - "start": 9510, - "end": 9511, + "start": 9303, + "end": 9304, "loc": { "start": { - "line": 370, + "line": 357, "column": 14 }, "end": { - "line": 370, + "line": 357, "column": 15 } } @@ -72357,15 +75415,15 @@ "binop": null }, "value": "e", - "start": 9512, - "end": 9513, + "start": 9305, + "end": 9306, "loc": { "start": { - "line": 370, + "line": 357, "column": 16 }, "end": { - "line": 370, + "line": 357, "column": 17 } } @@ -72383,15 +75441,15 @@ "binop": null, "updateContext": null }, - "start": 9513, - "end": 9514, + "start": 9306, + "end": 9307, "loc": { "start": { - "line": 370, + "line": 357, "column": 17 }, "end": { - "line": 370, + "line": 357, "column": 18 } } @@ -72409,15 +75467,15 @@ "binop": null }, "value": "touches", - "start": 9514, - "end": 9521, + "start": 9307, + "end": 9314, "loc": { "start": { - "line": 370, + "line": 357, "column": 18 }, "end": { - "line": 370, + "line": 357, "column": 25 } } @@ -72435,15 +75493,15 @@ "binop": null, "updateContext": null }, - "start": 9521, - "end": 9522, + "start": 9314, + "end": 9315, "loc": { "start": { - "line": 370, + "line": 357, "column": 25 }, "end": { - "line": 370, + "line": 357, "column": 26 } } @@ -72462,15 +75520,15 @@ "updateContext": null }, "value": 0, - "start": 9522, - "end": 9523, + "start": 9315, + "end": 9316, "loc": { "start": { - "line": 370, + "line": 357, "column": 26 }, "end": { - "line": 370, + "line": 357, "column": 27 } } @@ -72488,15 +75546,15 @@ "binop": null, "updateContext": null }, - "start": 9523, - "end": 9524, + "start": 9316, + "end": 9317, "loc": { "start": { - "line": 370, + "line": 357, "column": 27 }, "end": { - "line": 370, + "line": 357, "column": 28 } } @@ -72514,15 +75572,15 @@ "binop": null, "updateContext": null }, - "start": 9524, - "end": 9525, + "start": 9317, + "end": 9318, "loc": { "start": { - "line": 370, + "line": 357, "column": 28 }, "end": { - "line": 370, + "line": 357, "column": 29 } } @@ -72542,15 +75600,15 @@ "updateContext": null }, "value": "if", - "start": 9530, - "end": 9532, + "start": 9323, + "end": 9325, "loc": { "start": { - "line": 371, + "line": 358, "column": 4 }, "end": { - "line": 371, + "line": 358, "column": 6 } } @@ -72567,15 +75625,15 @@ "postfix": false, "binop": null }, - "start": 9533, - "end": 9534, + "start": 9326, + "end": 9327, "loc": { "start": { - "line": 371, + "line": 358, "column": 7 }, "end": { - "line": 371, + "line": 358, "column": 8 } } @@ -72593,15 +75651,15 @@ "binop": null }, "value": "e", - "start": 9534, - "end": 9535, + "start": 9327, + "end": 9328, "loc": { "start": { - "line": 371, + "line": 358, "column": 8 }, "end": { - "line": 371, + "line": 358, "column": 9 } } @@ -72619,15 +75677,15 @@ "binop": null, "updateContext": null }, - "start": 9535, - "end": 9536, + "start": 9328, + "end": 9329, "loc": { "start": { - "line": 371, + "line": 358, "column": 9 }, "end": { - "line": 371, + "line": 358, "column": 10 } } @@ -72645,15 +75703,15 @@ "binop": null }, "value": "type", - "start": 9536, - "end": 9540, + "start": 9329, + "end": 9333, "loc": { "start": { - "line": 371, + "line": 358, "column": 10 }, "end": { - "line": 371, + "line": 358, "column": 14 } } @@ -72672,15 +75730,15 @@ "updateContext": null }, "value": "==", - "start": 9541, - "end": 9543, + "start": 9334, + "end": 9336, "loc": { "start": { - "line": 371, + "line": 358, "column": 15 }, "end": { - "line": 371, + "line": 358, "column": 17 } } @@ -72699,15 +75757,15 @@ "updateContext": null }, "value": "touchstart", - "start": 9544, - "end": 9556, + "start": 9337, + "end": 9349, "loc": { "start": { - "line": 371, + "line": 358, "column": 18 }, "end": { - "line": 371, + "line": 358, "column": 30 } } @@ -72724,15 +75782,15 @@ "postfix": false, "binop": null }, - "start": 9556, - "end": 9557, + "start": 9349, + "end": 9350, "loc": { "start": { - "line": 371, + "line": 358, "column": 30 }, "end": { - "line": 371, + "line": 358, "column": 31 } } @@ -72749,15 +75807,15 @@ "postfix": false, "binop": null }, - "start": 9558, - "end": 9559, + "start": 9351, + "end": 9352, "loc": { "start": { - "line": 371, + "line": 358, "column": 32 }, "end": { - "line": 371, + "line": 358, "column": 33 } } @@ -72777,15 +75835,15 @@ "updateContext": null }, "value": "if", - "start": 9568, - "end": 9570, + "start": 9361, + "end": 9363, "loc": { "start": { - "line": 372, + "line": 359, "column": 8 }, "end": { - "line": 372, + "line": 359, "column": 10 } } @@ -72802,15 +75860,15 @@ "postfix": false, "binop": null }, - "start": 9571, - "end": 9572, + "start": 9364, + "end": 9365, "loc": { "start": { - "line": 372, + "line": 359, "column": 11 }, "end": { - "line": 372, + "line": 359, "column": 12 } } @@ -72828,15 +75886,15 @@ "binop": null }, "value": "e", - "start": 9572, - "end": 9573, + "start": 9365, + "end": 9366, "loc": { "start": { - "line": 372, + "line": 359, "column": 12 }, "end": { - "line": 372, + "line": 359, "column": 13 } } @@ -72854,15 +75912,15 @@ "binop": null, "updateContext": null }, - "start": 9573, - "end": 9574, + "start": 9366, + "end": 9367, "loc": { "start": { - "line": 372, + "line": 359, "column": 13 }, "end": { - "line": 372, + "line": 359, "column": 14 } } @@ -72880,15 +75938,15 @@ "binop": null }, "value": "touches", - "start": 9574, - "end": 9581, + "start": 9367, + "end": 9374, "loc": { "start": { - "line": 372, + "line": 359, "column": 14 }, "end": { - "line": 372, + "line": 359, "column": 21 } } @@ -72906,15 +75964,15 @@ "binop": null, "updateContext": null }, - "start": 9581, - "end": 9582, + "start": 9374, + "end": 9375, "loc": { "start": { - "line": 372, + "line": 359, "column": 21 }, "end": { - "line": 372, + "line": 359, "column": 22 } } @@ -72932,15 +75990,15 @@ "binop": null }, "value": "length", - "start": 9582, - "end": 9588, + "start": 9375, + "end": 9381, "loc": { "start": { - "line": 372, + "line": 359, "column": 22 }, "end": { - "line": 372, + "line": 359, "column": 28 } } @@ -72959,15 +76017,15 @@ "updateContext": null }, "value": "==", - "start": 9589, - "end": 9591, + "start": 9382, + "end": 9384, "loc": { "start": { - "line": 372, + "line": 359, "column": 29 }, "end": { - "line": 372, + "line": 359, "column": 31 } } @@ -72986,15 +76044,15 @@ "updateContext": null }, "value": 1, - "start": 9592, - "end": 9593, + "start": 9385, + "end": 9386, "loc": { "start": { - "line": 372, + "line": 359, "column": 32 }, "end": { - "line": 372, + "line": 359, "column": 33 } } @@ -73011,15 +76069,15 @@ "postfix": false, "binop": null }, - "start": 9593, - "end": 9594, + "start": 9386, + "end": 9387, "loc": { "start": { - "line": 372, + "line": 359, "column": 33 }, "end": { - "line": 372, + "line": 359, "column": 34 } } @@ -73037,15 +76095,15 @@ "binop": null }, "value": "modelTapEvent", - "start": 9595, - "end": 9608, + "start": 9388, + "end": 9401, "loc": { "start": { - "line": 372, + "line": 359, "column": 35 }, "end": { - "line": 372, + "line": 359, "column": 48 } } @@ -73062,15 +76120,15 @@ "postfix": false, "binop": null }, - "start": 9608, - "end": 9609, + "start": 9401, + "end": 9402, "loc": { "start": { - "line": 372, + "line": 359, "column": 48 }, "end": { - "line": 372, + "line": 359, "column": 49 } } @@ -73088,15 +76146,15 @@ "binop": null }, "value": "touch", - "start": 9609, - "end": 9614, + "start": 9402, + "end": 9407, "loc": { "start": { - "line": 372, + "line": 359, "column": 49 }, "end": { - "line": 372, + "line": 359, "column": 54 } } @@ -73113,15 +76171,15 @@ "postfix": false, "binop": null }, - "start": 9614, - "end": 9615, + "start": 9407, + "end": 9408, "loc": { "start": { - "line": 372, + "line": 359, "column": 54 }, "end": { - "line": 372, + "line": 359, "column": 55 } } @@ -73139,15 +76197,15 @@ "binop": null, "updateContext": null }, - "start": 9615, - "end": 9616, + "start": 9408, + "end": 9409, "loc": { "start": { - "line": 372, + "line": 359, "column": 55 }, "end": { - "line": 372, + "line": 359, "column": 56 } } @@ -73155,15 +76213,15 @@ { "type": "CommentLine", "value": " onClick(touch);", - "start": 9625, - "end": 9643, + "start": 9418, + "end": 9436, "loc": { "start": { - "line": 373, + "line": 360, "column": 8 }, "end": { - "line": 373, + "line": 360, "column": 26 } } @@ -73180,15 +76238,15 @@ "postfix": false, "binop": null }, - "start": 9648, - "end": 9649, + "start": 9441, + "end": 9442, "loc": { "start": { - "line": 374, + "line": 361, "column": 4 }, "end": { - "line": 374, + "line": 361, "column": 5 } } @@ -73208,15 +76266,15 @@ "updateContext": null }, "value": "else", - "start": 9650, - "end": 9654, + "start": 9443, + "end": 9447, "loc": { "start": { - "line": 374, + "line": 361, "column": 6 }, "end": { - "line": 374, + "line": 361, "column": 10 } } @@ -73236,15 +76294,15 @@ "updateContext": null }, "value": "if", - "start": 9655, - "end": 9657, + "start": 9448, + "end": 9450, "loc": { "start": { - "line": 374, + "line": 361, "column": 11 }, "end": { - "line": 374, + "line": 361, "column": 13 } } @@ -73261,15 +76319,15 @@ "postfix": false, "binop": null }, - "start": 9658, - "end": 9659, + "start": 9451, + "end": 9452, "loc": { "start": { - "line": 374, + "line": 361, "column": 14 }, "end": { - "line": 374, + "line": 361, "column": 15 } } @@ -73287,15 +76345,15 @@ "binop": null }, "value": "e", - "start": 9659, - "end": 9660, + "start": 9452, + "end": 9453, "loc": { "start": { - "line": 374, + "line": 361, "column": 15 }, "end": { - "line": 374, + "line": 361, "column": 16 } } @@ -73313,15 +76371,15 @@ "binop": null, "updateContext": null }, - "start": 9660, - "end": 9661, + "start": 9453, + "end": 9454, "loc": { "start": { - "line": 374, + "line": 361, "column": 16 }, "end": { - "line": 374, + "line": 361, "column": 17 } } @@ -73339,15 +76397,15 @@ "binop": null }, "value": "type", - "start": 9661, - "end": 9665, + "start": 9454, + "end": 9458, "loc": { "start": { - "line": 374, + "line": 361, "column": 17 }, "end": { - "line": 374, + "line": 361, "column": 21 } } @@ -73366,15 +76424,15 @@ "updateContext": null }, "value": "==", - "start": 9666, - "end": 9668, + "start": 9459, + "end": 9461, "loc": { "start": { - "line": 374, + "line": 361, "column": 22 }, "end": { - "line": 374, + "line": 361, "column": 24 } } @@ -73393,15 +76451,15 @@ "updateContext": null }, "value": "touchmove", - "start": 9669, - "end": 9680, + "start": 9462, + "end": 9473, "loc": { "start": { - "line": 374, + "line": 361, "column": 25 }, "end": { - "line": 374, + "line": 361, "column": 36 } } @@ -73418,15 +76476,15 @@ "postfix": false, "binop": null }, - "start": 9680, - "end": 9681, + "start": 9473, + "end": 9474, "loc": { "start": { - "line": 374, + "line": 361, "column": 36 }, "end": { - "line": 374, + "line": 361, "column": 37 } } @@ -73443,15 +76501,15 @@ "postfix": false, "binop": null }, - "start": 9682, - "end": 9683, + "start": 9475, + "end": 9476, "loc": { "start": { - "line": 374, + "line": 361, "column": 38 }, "end": { - "line": 374, + "line": 361, "column": 39 } } @@ -73469,15 +76527,15 @@ "binop": null }, "value": "followPointer", - "start": 9692, - "end": 9705, + "start": 9485, + "end": 9498, "loc": { "start": { - "line": 375, + "line": 362, "column": 8 }, "end": { - "line": 375, + "line": 362, "column": 21 } } @@ -73494,15 +76552,15 @@ "postfix": false, "binop": null }, - "start": 9705, - "end": 9706, + "start": 9498, + "end": 9499, "loc": { "start": { - "line": 375, + "line": 362, "column": 21 }, "end": { - "line": 375, + "line": 362, "column": 22 } } @@ -73520,15 +76578,15 @@ "binop": null }, "value": "touch", - "start": 9706, - "end": 9711, + "start": 9499, + "end": 9504, "loc": { "start": { - "line": 375, + "line": 362, "column": 22 }, "end": { - "line": 375, + "line": 362, "column": 27 } } @@ -73545,15 +76603,15 @@ "postfix": false, "binop": null }, - "start": 9711, - "end": 9712, + "start": 9504, + "end": 9505, "loc": { "start": { - "line": 375, + "line": 362, "column": 27 }, "end": { - "line": 375, + "line": 362, "column": 28 } } @@ -73571,15 +76629,15 @@ "binop": null, "updateContext": null }, - "start": 9712, - "end": 9713, + "start": 9505, + "end": 9506, "loc": { "start": { - "line": 375, + "line": 362, "column": 28 }, "end": { - "line": 375, + "line": 362, "column": 29 } } @@ -73596,15 +76654,15 @@ "postfix": false, "binop": null }, - "start": 9718, - "end": 9719, + "start": 9511, + "end": 9512, "loc": { "start": { - "line": 376, + "line": 363, "column": 4 }, "end": { - "line": 376, + "line": 363, "column": 5 } } @@ -73624,15 +76682,15 @@ "updateContext": null }, "value": "else", - "start": 9720, - "end": 9724, + "start": 9513, + "end": 9517, "loc": { "start": { - "line": 376, + "line": 363, "column": 6 }, "end": { - "line": 376, + "line": 363, "column": 10 } } @@ -73652,15 +76710,15 @@ "updateContext": null }, "value": "if", - "start": 9725, - "end": 9727, + "start": 9518, + "end": 9520, "loc": { "start": { - "line": 376, + "line": 363, "column": 11 }, "end": { - "line": 376, + "line": 363, "column": 13 } } @@ -73677,15 +76735,15 @@ "postfix": false, "binop": null }, - "start": 9728, - "end": 9729, + "start": 9521, + "end": 9522, "loc": { "start": { - "line": 376, + "line": 363, "column": 14 }, "end": { - "line": 376, + "line": 363, "column": 15 } } @@ -73703,15 +76761,15 @@ "binop": null }, "value": "e", - "start": 9729, - "end": 9730, + "start": 9522, + "end": 9523, "loc": { "start": { - "line": 376, + "line": 363, "column": 15 }, "end": { - "line": 376, + "line": 363, "column": 16 } } @@ -73729,15 +76787,15 @@ "binop": null, "updateContext": null }, - "start": 9730, - "end": 9731, + "start": 9523, + "end": 9524, "loc": { "start": { - "line": 376, + "line": 363, "column": 16 }, "end": { - "line": 376, + "line": 363, "column": 17 } } @@ -73755,15 +76813,15 @@ "binop": null }, "value": "type", - "start": 9731, - "end": 9735, + "start": 9524, + "end": 9528, "loc": { "start": { - "line": 376, + "line": 363, "column": 17 }, "end": { - "line": 376, + "line": 363, "column": 21 } } @@ -73782,15 +76840,15 @@ "updateContext": null }, "value": "==", - "start": 9736, - "end": 9738, + "start": 9529, + "end": 9531, "loc": { "start": { - "line": 376, + "line": 363, "column": 22 }, "end": { - "line": 376, + "line": 363, "column": 24 } } @@ -73809,15 +76867,15 @@ "updateContext": null }, "value": "touchend", - "start": 9739, - "end": 9749, + "start": 9532, + "end": 9542, "loc": { "start": { - "line": 376, + "line": 363, "column": 25 }, "end": { - "line": 376, + "line": 363, "column": 35 } } @@ -73834,15 +76892,15 @@ "postfix": false, "binop": null }, - "start": 9749, - "end": 9750, + "start": 9542, + "end": 9543, "loc": { "start": { - "line": 376, + "line": 363, "column": 35 }, "end": { - "line": 376, + "line": 363, "column": 36 } } @@ -73859,15 +76917,15 @@ "postfix": false, "binop": null }, - "start": 9751, - "end": 9752, + "start": 9544, + "end": 9545, "loc": { "start": { - "line": 376, + "line": 363, "column": 37 }, "end": { - "line": 376, + "line": 363, "column": 38 } } @@ -73885,15 +76943,15 @@ "binop": null }, "value": "lookFront", - "start": 9761, - "end": 9770, + "start": 9554, + "end": 9563, "loc": { "start": { - "line": 377, + "line": 364, "column": 8 }, "end": { - "line": 377, + "line": 364, "column": 17 } } @@ -73910,15 +76968,15 @@ "postfix": false, "binop": null }, - "start": 9770, - "end": 9771, + "start": 9563, + "end": 9564, "loc": { "start": { - "line": 377, + "line": 364, "column": 17 }, "end": { - "line": 377, + "line": 364, "column": 18 } } @@ -73935,15 +76993,15 @@ "postfix": false, "binop": null }, - "start": 9771, - "end": 9772, + "start": 9564, + "end": 9565, "loc": { "start": { - "line": 377, + "line": 364, "column": 18 }, "end": { - "line": 377, + "line": 364, "column": 19 } } @@ -73961,15 +77019,15 @@ "binop": null, "updateContext": null }, - "start": 9772, - "end": 9773, + "start": 9565, + "end": 9566, "loc": { "start": { - "line": 377, + "line": 364, "column": 19 }, "end": { - "line": 377, + "line": 364, "column": 20 } } @@ -73986,15 +77044,15 @@ "postfix": false, "binop": null }, - "start": 9778, - "end": 9779, + "start": 9571, + "end": 9572, "loc": { "start": { - "line": 378, + "line": 365, "column": 4 }, "end": { - "line": 378, + "line": 365, "column": 5 } } @@ -74011,15 +77069,15 @@ "postfix": false, "binop": null }, - "start": 9780, - "end": 9781, + "start": 9573, + "end": 9574, "loc": { "start": { - "line": 379, + "line": 366, "column": 0 }, "end": { - "line": 379, + "line": 366, "column": 1 } } @@ -74038,15 +77096,15 @@ "binop": null }, "value": "function", - "start": 9783, - "end": 9791, + "start": 9576, + "end": 9584, "loc": { "start": { - "line": 381, + "line": 368, "column": 0 }, "end": { - "line": 381, + "line": 368, "column": 8 } } @@ -74064,15 +77122,15 @@ "binop": null }, "value": "transformViewX", - "start": 9792, - "end": 9806, + "start": 9585, + "end": 9599, "loc": { "start": { - "line": 381, + "line": 368, "column": 9 }, "end": { - "line": 381, + "line": 368, "column": 23 } } @@ -74089,15 +77147,15 @@ "postfix": false, "binop": null }, - "start": 9806, - "end": 9807, + "start": 9599, + "end": 9600, "loc": { "start": { - "line": 381, + "line": 368, "column": 23 }, "end": { - "line": 381, + "line": 368, "column": 24 } } @@ -74115,15 +77173,15 @@ "binop": null }, "value": "deviceX", - "start": 9807, - "end": 9814, + "start": 9600, + "end": 9607, "loc": { "start": { - "line": 381, + "line": 368, "column": 24 }, "end": { - "line": 381, + "line": 368, "column": 31 } } @@ -74140,15 +77198,15 @@ "postfix": false, "binop": null }, - "start": 9814, - "end": 9815, + "start": 9607, + "end": 9608, "loc": { "start": { - "line": 381, + "line": 368, "column": 31 }, "end": { - "line": 381, + "line": 368, "column": 32 } } @@ -74165,15 +77223,15 @@ "postfix": false, "binop": null }, - "start": 9816, - "end": 9817, + "start": 9609, + "end": 9610, "loc": { "start": { - "line": 382, + "line": 369, "column": 0 }, "end": { - "line": 382, + "line": 369, "column": 1 } } @@ -74193,15 +77251,15 @@ "updateContext": null }, "value": "var", - "start": 9822, - "end": 9825, + "start": 9615, + "end": 9618, "loc": { "start": { - "line": 383, + "line": 370, "column": 4 }, "end": { - "line": 383, + "line": 370, "column": 7 } } @@ -74219,15 +77277,15 @@ "binop": null }, "value": "screenX", - "start": 9826, - "end": 9833, + "start": 9619, + "end": 9626, "loc": { "start": { - "line": 383, + "line": 370, "column": 8 }, "end": { - "line": 383, + "line": 370, "column": 15 } } @@ -74246,15 +77304,15 @@ "updateContext": null }, "value": "=", - "start": 9834, - "end": 9835, + "start": 9627, + "end": 9628, "loc": { "start": { - "line": 383, + "line": 370, "column": 16 }, "end": { - "line": 383, + "line": 370, "column": 17 } } @@ -74272,15 +77330,15 @@ "binop": null }, "value": "deviceToScreen", - "start": 9836, - "end": 9850, + "start": 9629, + "end": 9643, "loc": { "start": { - "line": 383, + "line": 370, "column": 18 }, "end": { - "line": 383, + "line": 370, "column": 32 } } @@ -74298,15 +77356,15 @@ "binop": null, "updateContext": null }, - "start": 9850, - "end": 9851, + "start": 9643, + "end": 9644, "loc": { "start": { - "line": 383, + "line": 370, "column": 32 }, "end": { - "line": 383, + "line": 370, "column": 33 } } @@ -74324,15 +77382,15 @@ "binop": null }, "value": "transformX", - "start": 9851, - "end": 9861, + "start": 9644, + "end": 9654, "loc": { "start": { - "line": 383, + "line": 370, "column": 33 }, "end": { - "line": 383, + "line": 370, "column": 43 } } @@ -74349,15 +77407,15 @@ "postfix": false, "binop": null }, - "start": 9861, - "end": 9862, + "start": 9654, + "end": 9655, "loc": { "start": { - "line": 383, + "line": 370, "column": 43 }, "end": { - "line": 383, + "line": 370, "column": 44 } } @@ -74375,15 +77433,15 @@ "binop": null }, "value": "deviceX", - "start": 9862, - "end": 9869, + "start": 9655, + "end": 9662, "loc": { "start": { - "line": 383, + "line": 370, "column": 44 }, "end": { - "line": 383, + "line": 370, "column": 51 } } @@ -74400,15 +77458,15 @@ "postfix": false, "binop": null }, - "start": 9869, - "end": 9870, + "start": 9662, + "end": 9663, "loc": { "start": { - "line": 383, + "line": 370, "column": 51 }, "end": { - "line": 383, + "line": 370, "column": 52 } } @@ -74426,15 +77484,15 @@ "binop": null, "updateContext": null }, - "start": 9870, - "end": 9871, + "start": 9663, + "end": 9664, "loc": { "start": { - "line": 383, + "line": 370, "column": 52 }, "end": { - "line": 383, + "line": 370, "column": 53 } } @@ -74454,15 +77512,15 @@ "updateContext": null }, "value": "return", - "start": 9876, - "end": 9882, + "start": 9669, + "end": 9675, "loc": { "start": { - "line": 384, + "line": 371, "column": 4 }, "end": { - "line": 384, + "line": 371, "column": 10 } } @@ -74480,15 +77538,15 @@ "binop": null }, "value": "viewMatrix", - "start": 9883, - "end": 9893, + "start": 9676, + "end": 9686, "loc": { "start": { - "line": 384, + "line": 371, "column": 11 }, "end": { - "line": 384, + "line": 371, "column": 21 } } @@ -74506,15 +77564,15 @@ "binop": null, "updateContext": null }, - "start": 9893, - "end": 9894, + "start": 9686, + "end": 9687, "loc": { "start": { - "line": 384, + "line": 371, "column": 21 }, "end": { - "line": 384, + "line": 371, "column": 22 } } @@ -74532,15 +77590,15 @@ "binop": null }, "value": "invertTransformX", - "start": 9894, - "end": 9910, + "start": 9687, + "end": 9703, "loc": { "start": { - "line": 384, + "line": 371, "column": 22 }, "end": { - "line": 384, + "line": 371, "column": 38 } } @@ -74557,15 +77615,15 @@ "postfix": false, "binop": null }, - "start": 9910, - "end": 9911, + "start": 9703, + "end": 9704, "loc": { "start": { - "line": 384, + "line": 371, "column": 38 }, "end": { - "line": 384, + "line": 371, "column": 39 } } @@ -74583,15 +77641,15 @@ "binop": null }, "value": "screenX", - "start": 9911, - "end": 9918, + "start": 9704, + "end": 9711, "loc": { "start": { - "line": 384, + "line": 371, "column": 39 }, "end": { - "line": 384, + "line": 371, "column": 46 } } @@ -74608,15 +77666,15 @@ "postfix": false, "binop": null }, - "start": 9918, - "end": 9919, + "start": 9711, + "end": 9712, "loc": { "start": { - "line": 384, + "line": 371, "column": 46 }, "end": { - "line": 384, + "line": 371, "column": 47 } } @@ -74634,15 +77692,15 @@ "binop": null, "updateContext": null }, - "start": 9919, - "end": 9920, + "start": 9712, + "end": 9713, "loc": { "start": { - "line": 384, + "line": 371, "column": 47 }, "end": { - "line": 384, + "line": 371, "column": 48 } } @@ -74659,15 +77717,15 @@ "postfix": false, "binop": null }, - "start": 9921, - "end": 9922, + "start": 9714, + "end": 9715, "loc": { "start": { - "line": 385, + "line": 372, "column": 0 }, "end": { - "line": 385, + "line": 372, "column": 1 } } @@ -74686,15 +77744,15 @@ "binop": null }, "value": "function", - "start": 9925, - "end": 9933, + "start": 9718, + "end": 9726, "loc": { "start": { - "line": 388, + "line": 375, "column": 0 }, "end": { - "line": 388, + "line": 375, "column": 8 } } @@ -74712,15 +77770,15 @@ "binop": null }, "value": "transformViewY", - "start": 9934, - "end": 9948, + "start": 9727, + "end": 9741, "loc": { "start": { - "line": 388, + "line": 375, "column": 9 }, "end": { - "line": 388, + "line": 375, "column": 23 } } @@ -74737,15 +77795,15 @@ "postfix": false, "binop": null }, - "start": 9948, - "end": 9949, + "start": 9741, + "end": 9742, "loc": { "start": { - "line": 388, + "line": 375, "column": 23 }, "end": { - "line": 388, + "line": 375, "column": 24 } } @@ -74763,15 +77821,15 @@ "binop": null }, "value": "deviceY", - "start": 9949, - "end": 9956, + "start": 9742, + "end": 9749, "loc": { "start": { - "line": 388, + "line": 375, "column": 24 }, "end": { - "line": 388, + "line": 375, "column": 31 } } @@ -74788,15 +77846,15 @@ "postfix": false, "binop": null }, - "start": 9956, - "end": 9957, + "start": 9749, + "end": 9750, "loc": { "start": { - "line": 388, + "line": 375, "column": 31 }, "end": { - "line": 388, + "line": 375, "column": 32 } } @@ -74813,15 +77871,15 @@ "postfix": false, "binop": null }, - "start": 9958, - "end": 9959, + "start": 9751, + "end": 9752, "loc": { "start": { - "line": 389, + "line": 376, "column": 0 }, "end": { - "line": 389, + "line": 376, "column": 1 } } @@ -74841,15 +77899,15 @@ "updateContext": null }, "value": "var", - "start": 9964, - "end": 9967, + "start": 9757, + "end": 9760, "loc": { "start": { - "line": 390, + "line": 377, "column": 4 }, "end": { - "line": 390, + "line": 377, "column": 7 } } @@ -74867,15 +77925,15 @@ "binop": null }, "value": "screenY", - "start": 9968, - "end": 9975, + "start": 9761, + "end": 9768, "loc": { "start": { - "line": 390, + "line": 377, "column": 8 }, "end": { - "line": 390, + "line": 377, "column": 15 } } @@ -74894,15 +77952,15 @@ "updateContext": null }, "value": "=", - "start": 9976, - "end": 9977, + "start": 9769, + "end": 9770, "loc": { "start": { - "line": 390, + "line": 377, "column": 16 }, "end": { - "line": 390, + "line": 377, "column": 17 } } @@ -74920,15 +77978,15 @@ "binop": null }, "value": "deviceToScreen", - "start": 9978, - "end": 9992, + "start": 9771, + "end": 9785, "loc": { "start": { - "line": 390, + "line": 377, "column": 18 }, "end": { - "line": 390, + "line": 377, "column": 32 } } @@ -74946,15 +78004,15 @@ "binop": null, "updateContext": null }, - "start": 9992, - "end": 9993, + "start": 9785, + "end": 9786, "loc": { "start": { - "line": 390, + "line": 377, "column": 32 }, "end": { - "line": 390, + "line": 377, "column": 33 } } @@ -74972,15 +78030,15 @@ "binop": null }, "value": "transformY", - "start": 9993, - "end": 10003, + "start": 9786, + "end": 9796, "loc": { "start": { - "line": 390, + "line": 377, "column": 33 }, "end": { - "line": 390, + "line": 377, "column": 43 } } @@ -74997,15 +78055,15 @@ "postfix": false, "binop": null }, - "start": 10003, - "end": 10004, + "start": 9796, + "end": 9797, "loc": { "start": { - "line": 390, + "line": 377, "column": 43 }, "end": { - "line": 390, + "line": 377, "column": 44 } } @@ -75023,15 +78081,15 @@ "binop": null }, "value": "deviceY", - "start": 10004, - "end": 10011, + "start": 9797, + "end": 9804, "loc": { "start": { - "line": 390, + "line": 377, "column": 44 }, "end": { - "line": 390, + "line": 377, "column": 51 } } @@ -75048,15 +78106,15 @@ "postfix": false, "binop": null }, - "start": 10011, - "end": 10012, + "start": 9804, + "end": 9805, "loc": { "start": { - "line": 390, + "line": 377, "column": 51 }, "end": { - "line": 390, + "line": 377, "column": 52 } } @@ -75074,15 +78132,15 @@ "binop": null, "updateContext": null }, - "start": 10012, - "end": 10013, + "start": 9805, + "end": 9806, "loc": { "start": { - "line": 390, + "line": 377, "column": 52 }, "end": { - "line": 390, + "line": 377, "column": 53 } } @@ -75102,15 +78160,15 @@ "updateContext": null }, "value": "return", - "start": 10018, - "end": 10024, + "start": 9811, + "end": 9817, "loc": { "start": { - "line": 391, + "line": 378, "column": 4 }, "end": { - "line": 391, + "line": 378, "column": 10 } } @@ -75128,15 +78186,15 @@ "binop": null }, "value": "viewMatrix", - "start": 10025, - "end": 10035, + "start": 9818, + "end": 9828, "loc": { "start": { - "line": 391, + "line": 378, "column": 11 }, "end": { - "line": 391, + "line": 378, "column": 21 } } @@ -75154,15 +78212,15 @@ "binop": null, "updateContext": null }, - "start": 10035, - "end": 10036, + "start": 9828, + "end": 9829, "loc": { "start": { - "line": 391, + "line": 378, "column": 21 }, "end": { - "line": 391, + "line": 378, "column": 22 } } @@ -75180,15 +78238,15 @@ "binop": null }, "value": "invertTransformY", - "start": 10036, - "end": 10052, + "start": 9829, + "end": 9845, "loc": { "start": { - "line": 391, + "line": 378, "column": 22 }, "end": { - "line": 391, + "line": 378, "column": 38 } } @@ -75205,15 +78263,15 @@ "postfix": false, "binop": null }, - "start": 10052, - "end": 10053, + "start": 9845, + "end": 9846, "loc": { "start": { - "line": 391, + "line": 378, "column": 38 }, "end": { - "line": 391, + "line": 378, "column": 39 } } @@ -75231,15 +78289,15 @@ "binop": null }, "value": "screenY", - "start": 10053, - "end": 10060, + "start": 9846, + "end": 9853, "loc": { "start": { - "line": 391, + "line": 378, "column": 39 }, "end": { - "line": 391, + "line": 378, "column": 46 } } @@ -75256,15 +78314,15 @@ "postfix": false, "binop": null }, - "start": 10060, - "end": 10061, + "start": 9853, + "end": 9854, "loc": { "start": { - "line": 391, + "line": 378, "column": 46 }, "end": { - "line": 391, + "line": 378, "column": 47 } } @@ -75282,15 +78340,15 @@ "binop": null, "updateContext": null }, - "start": 10061, - "end": 10062, + "start": 9854, + "end": 9855, "loc": { "start": { - "line": 391, + "line": 378, "column": 47 }, "end": { - "line": 391, + "line": 378, "column": 48 } } @@ -75307,15 +78365,15 @@ "postfix": false, "binop": null }, - "start": 10063, - "end": 10064, + "start": 9856, + "end": 9857, "loc": { "start": { - "line": 392, + "line": 379, "column": 0 }, "end": { - "line": 392, + "line": 379, "column": 1 } } @@ -75334,15 +78392,15 @@ "binop": null }, "value": "function", - "start": 10067, - "end": 10075, + "start": 9860, + "end": 9868, "loc": { "start": { - "line": 395, + "line": 382, "column": 0 }, "end": { - "line": 395, + "line": 382, "column": 8 } } @@ -75360,15 +78418,15 @@ "binop": null }, "value": "transformScreenX", - "start": 10076, - "end": 10092, + "start": 9869, + "end": 9885, "loc": { "start": { - "line": 395, + "line": 382, "column": 9 }, "end": { - "line": 395, + "line": 382, "column": 25 } } @@ -75385,15 +78443,15 @@ "postfix": false, "binop": null }, - "start": 10092, - "end": 10093, + "start": 9885, + "end": 9886, "loc": { "start": { - "line": 395, + "line": 382, "column": 25 }, "end": { - "line": 395, + "line": 382, "column": 26 } } @@ -75411,15 +78469,15 @@ "binop": null }, "value": "deviceX", - "start": 10093, - "end": 10100, + "start": 9886, + "end": 9893, "loc": { "start": { - "line": 395, + "line": 382, "column": 26 }, "end": { - "line": 395, + "line": 382, "column": 33 } } @@ -75436,15 +78494,15 @@ "postfix": false, "binop": null }, - "start": 10100, - "end": 10101, + "start": 9893, + "end": 9894, "loc": { "start": { - "line": 395, + "line": 382, "column": 33 }, "end": { - "line": 395, + "line": 382, "column": 34 } } @@ -75461,15 +78519,15 @@ "postfix": false, "binop": null }, - "start": 10102, - "end": 10103, + "start": 9895, + "end": 9896, "loc": { "start": { - "line": 396, + "line": 383, "column": 0 }, "end": { - "line": 396, + "line": 383, "column": 1 } } @@ -75489,15 +78547,15 @@ "updateContext": null }, "value": "return", - "start": 10108, - "end": 10114, + "start": 9901, + "end": 9907, "loc": { "start": { - "line": 397, + "line": 384, "column": 4 }, "end": { - "line": 397, + "line": 384, "column": 10 } } @@ -75515,15 +78573,15 @@ "binop": null }, "value": "deviceToScreen", - "start": 10115, - "end": 10129, + "start": 9908, + "end": 9922, "loc": { "start": { - "line": 397, + "line": 384, "column": 11 }, "end": { - "line": 397, + "line": 384, "column": 25 } } @@ -75541,15 +78599,15 @@ "binop": null, "updateContext": null }, - "start": 10129, - "end": 10130, + "start": 9922, + "end": 9923, "loc": { "start": { - "line": 397, + "line": 384, "column": 25 }, "end": { - "line": 397, + "line": 384, "column": 26 } } @@ -75567,15 +78625,15 @@ "binop": null }, "value": "transformX", - "start": 10130, - "end": 10140, + "start": 9923, + "end": 9933, "loc": { "start": { - "line": 397, + "line": 384, "column": 26 }, "end": { - "line": 397, + "line": 384, "column": 36 } } @@ -75592,15 +78650,15 @@ "postfix": false, "binop": null }, - "start": 10140, - "end": 10141, + "start": 9933, + "end": 9934, "loc": { "start": { - "line": 397, + "line": 384, "column": 36 }, "end": { - "line": 397, + "line": 384, "column": 37 } } @@ -75618,15 +78676,15 @@ "binop": null }, "value": "deviceX", - "start": 10141, - "end": 10148, + "start": 9934, + "end": 9941, "loc": { "start": { - "line": 397, + "line": 384, "column": 37 }, "end": { - "line": 397, + "line": 384, "column": 44 } } @@ -75643,15 +78701,15 @@ "postfix": false, "binop": null }, - "start": 10148, - "end": 10149, + "start": 9941, + "end": 9942, "loc": { "start": { - "line": 397, + "line": 384, "column": 44 }, "end": { - "line": 397, + "line": 384, "column": 45 } } @@ -75669,15 +78727,15 @@ "binop": null, "updateContext": null }, - "start": 10149, - "end": 10150, + "start": 9942, + "end": 9943, "loc": { "start": { - "line": 397, + "line": 384, "column": 45 }, "end": { - "line": 397, + "line": 384, "column": 46 } } @@ -75694,15 +78752,15 @@ "postfix": false, "binop": null }, - "start": 10151, - "end": 10152, + "start": 9944, + "end": 9945, "loc": { "start": { - "line": 398, + "line": 385, "column": 0 }, "end": { - "line": 398, + "line": 385, "column": 1 } } @@ -75721,15 +78779,15 @@ "binop": null }, "value": "function", - "start": 10155, - "end": 10163, + "start": 9948, + "end": 9956, "loc": { "start": { - "line": 401, + "line": 388, "column": 0 }, "end": { - "line": 401, + "line": 388, "column": 8 } } @@ -75747,15 +78805,15 @@ "binop": null }, "value": "transformScreenY", - "start": 10164, - "end": 10180, + "start": 9957, + "end": 9973, "loc": { "start": { - "line": 401, + "line": 388, "column": 9 }, "end": { - "line": 401, + "line": 388, "column": 25 } } @@ -75772,15 +78830,15 @@ "postfix": false, "binop": null }, - "start": 10180, - "end": 10181, + "start": 9973, + "end": 9974, "loc": { "start": { - "line": 401, + "line": 388, "column": 25 }, "end": { - "line": 401, + "line": 388, "column": 26 } } @@ -75798,15 +78856,15 @@ "binop": null }, "value": "deviceY", - "start": 10181, - "end": 10188, + "start": 9974, + "end": 9981, "loc": { "start": { - "line": 401, + "line": 388, "column": 26 }, "end": { - "line": 401, + "line": 388, "column": 33 } } @@ -75823,15 +78881,15 @@ "postfix": false, "binop": null }, - "start": 10188, - "end": 10189, + "start": 9981, + "end": 9982, "loc": { "start": { - "line": 401, + "line": 388, "column": 33 }, "end": { - "line": 401, + "line": 388, "column": 34 } } @@ -75848,15 +78906,15 @@ "postfix": false, "binop": null }, - "start": 10190, - "end": 10191, + "start": 9983, + "end": 9984, "loc": { "start": { - "line": 402, + "line": 389, "column": 0 }, "end": { - "line": 402, + "line": 389, "column": 1 } } @@ -75876,15 +78934,15 @@ "updateContext": null }, "value": "return", - "start": 10196, - "end": 10202, + "start": 9989, + "end": 9995, "loc": { "start": { - "line": 403, + "line": 390, "column": 4 }, "end": { - "line": 403, + "line": 390, "column": 10 } } @@ -75902,15 +78960,15 @@ "binop": null }, "value": "deviceToScreen", - "start": 10203, - "end": 10217, + "start": 9996, + "end": 10010, "loc": { "start": { - "line": 403, + "line": 390, "column": 11 }, "end": { - "line": 403, + "line": 390, "column": 25 } } @@ -75928,15 +78986,15 @@ "binop": null, "updateContext": null }, - "start": 10217, - "end": 10218, + "start": 10010, + "end": 10011, "loc": { "start": { - "line": 403, + "line": 390, "column": 25 }, "end": { - "line": 403, + "line": 390, "column": 26 } } @@ -75954,15 +79012,15 @@ "binop": null }, "value": "transformY", - "start": 10218, - "end": 10228, + "start": 10011, + "end": 10021, "loc": { "start": { - "line": 403, + "line": 390, "column": 26 }, "end": { - "line": 403, + "line": 390, "column": 36 } } @@ -75979,15 +79037,15 @@ "postfix": false, "binop": null }, - "start": 10228, - "end": 10229, + "start": 10021, + "end": 10022, "loc": { "start": { - "line": 403, + "line": 390, "column": 36 }, "end": { - "line": 403, + "line": 390, "column": 37 } } @@ -76005,15 +79063,15 @@ "binop": null }, "value": "deviceY", - "start": 10229, - "end": 10236, + "start": 10022, + "end": 10029, "loc": { "start": { - "line": 403, + "line": 390, "column": 37 }, "end": { - "line": 403, + "line": 390, "column": 44 } } @@ -76030,15 +79088,15 @@ "postfix": false, "binop": null }, - "start": 10236, - "end": 10237, + "start": 10029, + "end": 10030, "loc": { "start": { - "line": 403, + "line": 390, "column": 44 }, "end": { - "line": 403, + "line": 390, "column": 45 } } @@ -76056,15 +79114,15 @@ "binop": null, "updateContext": null }, - "start": 10237, - "end": 10238, + "start": 10030, + "end": 10031, "loc": { "start": { - "line": 403, + "line": 390, "column": 45 }, "end": { - "line": 403, + "line": 390, "column": 46 } } @@ -76081,15 +79139,15 @@ "postfix": false, "binop": null }, - "start": 10239, - "end": 10240, + "start": 10032, + "end": 10033, "loc": { "start": { - "line": 404, + "line": 391, "column": 0 }, "end": { - "line": 404, + "line": 391, "column": 1 } } @@ -76107,15 +79165,15 @@ "binop": null, "updateContext": null }, - "start": 10241, - "end": 10241, + "start": 10034, + "end": 10034, "loc": { "start": { - "line": 405, + "line": 392, "column": 0 }, "end": { - "line": 405, + "line": 392, "column": 0 } } diff --git a/ghpages/docs/ast/source/_cManager.js.json b/ghpages/docs/ast/source/cManager.js.json similarity index 87% rename from ghpages/docs/ast/source/_cManager.js.json rename to ghpages/docs/ast/source/cManager.js.json index 8c6df0e..ffa167f 100644 --- a/ghpages/docs/ast/source/_cManager.js.json +++ b/ghpages/docs/ast/source/cManager.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 2077, + "end": 2089, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 101, + "line": 105, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2077, + "end": 2089, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 101, + "line": 105, "column": 0 } }, @@ -117,7 +117,7 @@ { "type": "ImportDeclaration", "start": 57, - "end": 109, + "end": 113, "loc": { "start": { "line": 2, @@ -125,36 +125,53 @@ }, "end": { "line": 2, - "column": 52 + "column": 56 } }, "specifiers": [ { - "type": "ImportDefaultSpecifier", - "start": 64, - "end": 79, + "type": "ImportSpecifier", + "start": 66, + "end": 81, "loc": { "start": { "line": 2, - "column": 7 + "column": 9 }, "end": { "line": 2, - "column": 22 + "column": 24 } }, + "imported": { + "type": "Identifier", + "start": 66, + "end": 81, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 24 + }, + "identifierName": "PlatformManager" + }, + "name": "PlatformManager" + }, "local": { "type": "Identifier", - "start": 64, - "end": 79, + "start": 66, + "end": 81, "loc": { "start": { "line": 2, - "column": 7 + "column": 9 }, "end": { "line": 2, - "column": 22 + "column": 24 }, "identifierName": "PlatformManager" }, @@ -164,16 +181,16 @@ ], "source": { "type": "StringLiteral", - "start": 85, - "end": 108, + "start": 89, + "end": 112, "loc": { "start": { "line": 2, - "column": 28 + "column": 32 }, "end": { "line": 2, - "column": 51 + "column": 55 } }, "extra": { @@ -185,8 +202,8 @@ }, { "type": "ImportDeclaration", - "start": 110, - "end": 144, + "start": 114, + "end": 148, "loc": { "start": { "line": 3, @@ -200,8 +217,8 @@ "specifiers": [ { "type": "ImportSpecifier", - "start": 119, - "end": 125, + "start": 123, + "end": 129, "loc": { "start": { "line": 3, @@ -214,8 +231,8 @@ }, "imported": { "type": "Identifier", - "start": 119, - "end": 125, + "start": 123, + "end": 129, "loc": { "start": { "line": 3, @@ -231,8 +248,8 @@ }, "local": { "type": "Identifier", - "start": 119, - "end": 125, + "start": 123, + "end": 129, "loc": { "start": { "line": 3, @@ -250,8 +267,8 @@ ], "source": { "type": "StringLiteral", - "start": 133, - "end": 143, + "start": 137, + "end": 147, "loc": { "start": { "line": 3, @@ -271,8 +288,8 @@ }, { "type": "ImportDeclaration", - "start": 145, - "end": 181, + "start": 149, + "end": 185, "loc": { "start": { "line": 4, @@ -286,8 +303,8 @@ "specifiers": [ { "type": "ImportSpecifier", - "start": 154, - "end": 161, + "start": 158, + "end": 165, "loc": { "start": { "line": 4, @@ -300,8 +317,8 @@ }, "imported": { "type": "Identifier", - "start": 154, - "end": 161, + "start": 158, + "end": 165, "loc": { "start": { "line": 4, @@ -317,8 +334,8 @@ }, "local": { "type": "Identifier", - "start": 154, - "end": 161, + "start": 158, + "end": 165, "loc": { "start": { "line": 4, @@ -336,8 +353,8 @@ ], "source": { "type": "StringLiteral", - "start": 169, - "end": 180, + "start": 173, + "end": 184, "loc": { "start": { "line": 4, @@ -356,9 +373,9 @@ } }, { - "type": "ExportDefaultDeclaration", - "start": 183, - "end": 401, + "type": "Identifier", + "start": 187, + "end": 390, "loc": { "start": { "line": 6, @@ -369,60 +386,60 @@ "column": 1 } }, - "declaration": { - "type": "FunctionDeclaration", - "start": 198, - "end": 401, + "id": { + "type": "Identifier", + "start": 196, + "end": 204, + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 17 + }, + "identifierName": "cManager" + }, + "name": "cManager" + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 207, + "end": 390, "loc": { "start": { "line": 6, - "column": 15 + "column": 20 }, "end": { "line": 16, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 207, - "end": 215, - "loc": { - "start": { - "line": 6, - "column": 24 - }, - "end": { - "line": 6, - "column": 32 - }, - "identifierName": "cManager" - }, - "name": "cManager" - }, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 218, - "end": 401, - "loc": { - "start": { - "line": 6, - "column": 35 + "body": [ + { + "type": "ExpressionStatement", + "start": 248, + "end": 265, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 19 + } }, - "end": { - "line": 16, - "column": 1 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 259, - "end": 276, + "expression": { + "type": "AssignmentExpression", + "start": 248, + "end": 264, "loc": { "start": { "line": 9, @@ -430,13 +447,14 @@ }, "end": { "line": 9, - "column": 19 + "column": 18 } }, - "expression": { - "type": "AssignmentExpression", - "start": 259, - "end": 275, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 248, + "end": 259, "loc": { "start": { "line": 9, @@ -444,14 +462,13 @@ }, "end": { "line": 9, - "column": 18 + "column": 13 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 259, - "end": 270, + "object": { + "type": "ThisExpression", + "start": 248, + "end": 252, "loc": { "start": { "line": 9, @@ -459,86 +476,86 @@ }, "end": { "line": 9, - "column": 13 + "column": 6 } }, - "object": { - "type": "ThisExpression", - "start": 259, - "end": 263, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 9, - "column": 6 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 264, - "end": 270, - "loc": { - "start": { - "line": 9, - "column": 7 - }, - "end": { - "line": 9, - "column": 13 - }, - "identifierName": "models" - }, - "name": "models" - }, - "computed": false, "leadingComments": null }, - "right": { - "type": "ArrayExpression", - "start": 273, - "end": 275, + "property": { + "type": "Identifier", + "start": 253, + "end": 259, "loc": { "start": { "line": 9, - "column": 16 + "column": 7 }, "end": { "line": 9, - "column": 18 - } + "column": 13 + }, + "identifierName": "models" }, - "elements": [] + "name": "models" }, + "computed": false, "leadingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " console.log(\"--> cManager()\");", - "start": 222, - "end": 255, - "loc": { - "start": { - "line": 7, - "column": 2 - }, - "end": { - "line": 7, - "column": 35 - } + "right": { + "type": "ArrayExpression", + "start": 262, + "end": 264, + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 18 + } + }, + "elements": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " console.log(\"--> cManager()\");", + "start": 211, + "end": 244, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 35 } } - ] + } + ] + }, + { + "type": "ExpressionStatement", + "start": 268, + "end": 284, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 18 + } }, - { - "type": "ExpressionStatement", - "start": 279, - "end": 295, + "expression": { + "type": "AssignmentExpression", + "start": 268, + "end": 283, "loc": { "start": { "line": 10, @@ -546,13 +563,14 @@ }, "end": { "line": 10, - "column": 18 + "column": 17 } }, - "expression": { - "type": "AssignmentExpression", - "start": 279, - "end": 294, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 268, + "end": 278, "loc": { "start": { "line": 10, @@ -560,14 +578,13 @@ }, "end": { "line": 10, - "column": 17 + "column": 12 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 279, - "end": 289, + "object": { + "type": "ThisExpression", + "start": 268, + "end": 272, "loc": { "start": { "line": 10, @@ -575,184 +592,184 @@ }, "end": { "line": 10, - "column": 12 - } - }, - "object": { - "type": "ThisExpression", - "start": 279, - "end": 283, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 6 - } + "column": 6 } - }, - "property": { - "type": "Identifier", - "start": 284, - "end": 289, - "loc": { - "start": { - "line": 10, - "column": 7 - }, - "end": { - "line": 10, - "column": 12 - }, - "identifierName": "count" - }, - "name": "count" - }, - "computed": false + } }, - "right": { - "type": "UnaryExpression", - "start": 292, - "end": 294, + "property": { + "type": "Identifier", + "start": 273, + "end": 278, "loc": { "start": { "line": 10, - "column": 15 + "column": 7 }, "end": { "line": 10, - "column": 17 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 293, - "end": 294, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 17 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "column": 12 }, - "value": 1 + "identifierName": "count" }, - "extra": { - "parenthesizedArgument": false - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 298, - "end": 321, - "loc": { - "start": { - "line": 11, - "column": 2 + "name": "count" }, - "end": { - "line": 11, - "column": 25 - } + "computed": false }, - "expression": { - "type": "AssignmentExpression", - "start": 298, - "end": 320, + "right": { + "type": "UnaryExpression", + "start": 281, + "end": 283, "loc": { "start": { - "line": 11, - "column": 2 + "line": 10, + "column": 15 }, "end": { - "line": 11, - "column": 24 + "line": 10, + "column": 17 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 298, - "end": 312, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 282, + "end": 283, "loc": { "start": { - "line": 11, - "column": 2 + "line": 10, + "column": 16 }, "end": { - "line": 11, - "column": 16 + "line": 10, + "column": 17 } }, - "object": { - "type": "ThisExpression", - "start": 298, - "end": 302, - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 6 - } - } + "extra": { + "rawValue": 1, + "raw": "1" }, - "property": { - "type": "Identifier", - "start": 303, - "end": 312, - "loc": { - "start": { - "line": 11, - "column": 7 - }, - "end": { - "line": 11, - "column": 16 - }, - "identifierName": "reloadFlg" - }, - "name": "reloadFlg" + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 287, + "end": 310, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 287, + "end": 309, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 287, + "end": 301, + "loc": { + "start": { + "line": 11, + "column": 2 }, - "computed": false + "end": { + "line": 11, + "column": 16 + } }, - "right": { - "type": "BooleanLiteral", - "start": 315, - "end": 320, + "object": { + "type": "ThisExpression", + "start": 287, + "end": 291, "loc": { "start": { "line": 11, - "column": 19 + "column": 2 }, "end": { "line": 11, - "column": 24 + "column": 6 } + } + }, + "property": { + "type": "Identifier", + "start": 292, + "end": 301, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 16 + }, + "identifierName": "reloadFlg" }, - "value": false - } + "name": "reloadFlg" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 304, + "end": 309, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 24 + } + }, + "value": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 314, + "end": 328, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 16 } }, - { - "type": "ExpressionStatement", - "start": 325, - "end": 339, + "expression": { + "type": "CallExpression", + "start": 314, + "end": 327, "loc": { "start": { "line": 13, @@ -760,13 +777,13 @@ }, "end": { "line": 13, - "column": 16 + "column": 15 } }, - "expression": { - "type": "CallExpression", - "start": 325, - "end": 338, + "callee": { + "type": "MemberExpression", + "start": 314, + "end": 325, "loc": { "start": { "line": 13, @@ -774,13 +791,13 @@ }, "end": { "line": 13, - "column": 15 + "column": 13 } }, - "callee": { - "type": "MemberExpression", - "start": 325, - "end": 336, + "object": { + "type": "Identifier", + "start": 314, + "end": 320, "loc": { "start": { "line": 13, @@ -788,52 +805,52 @@ }, "end": { "line": 13, - "column": 13 - } - }, - "object": { - "type": "Identifier", - "start": 325, - "end": 331, - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 13, - "column": 8 - }, - "identifierName": "Live2D" + "column": 8 }, - "name": "Live2D" + "identifierName": "Live2D" }, - "property": { - "type": "Identifier", - "start": 332, - "end": 336, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 13 - }, - "identifierName": "init" + "name": "Live2D" + }, + "property": { + "type": "Identifier", + "start": 321, + "end": 325, + "loc": { + "start": { + "line": 13, + "column": 9 }, - "name": "init" + "end": { + "line": 13, + "column": 13 + }, + "identifierName": "init" }, - "computed": false + "name": "init" }, - "arguments": [] + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 331, + "end": 387, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 58 } }, - { - "type": "ExpressionStatement", - "start": 342, - "end": 398, + "expression": { + "type": "CallExpression", + "start": 331, + "end": 386, "loc": { "start": { "line": 14, @@ -841,13 +858,13 @@ }, "end": { "line": 14, - "column": 58 + "column": 57 } }, - "expression": { - "type": "CallExpression", - "start": 342, - "end": 397, + "callee": { + "type": "MemberExpression", + "start": 331, + "end": 365, "loc": { "start": { "line": 14, @@ -855,13 +872,13 @@ }, "end": { "line": 14, - "column": 57 + "column": 36 } }, - "callee": { - "type": "MemberExpression", - "start": 342, - "end": 376, + "object": { + "type": "Identifier", + "start": 331, + "end": 346, "loc": { "start": { "line": 14, @@ -869,93 +886,79 @@ }, "end": { "line": 14, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 342, - "end": 357, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 14, - "column": 17 - }, - "identifierName": "Live2DFramework" + "column": 17 }, - "name": "Live2DFramework" + "identifierName": "Live2DFramework" }, - "property": { - "type": "Identifier", - "start": 358, - "end": 376, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 36 - }, - "identifierName": "setPlatformManager" + "name": "Live2DFramework" + }, + "property": { + "type": "Identifier", + "start": 347, + "end": 365, + "loc": { + "start": { + "line": 14, + "column": 18 }, - "name": "setPlatformManager" + "end": { + "line": 14, + "column": 36 + }, + "identifierName": "setPlatformManager" }, - "computed": false + "name": "setPlatformManager" }, - "arguments": [ - { - "type": "NewExpression", - "start": 377, - "end": 396, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 366, + "end": 385, + "loc": { + "start": { + "line": 14, + "column": 37 + }, + "end": { + "line": 14, + "column": 56 + } + }, + "callee": { + "type": "Identifier", + "start": 370, + "end": 385, "loc": { "start": { "line": 14, - "column": 37 + "column": 41 }, "end": { "line": 14, "column": 56 - } - }, - "callee": { - "type": "Identifier", - "start": 381, - "end": 396, - "loc": { - "start": { - "line": 14, - "column": 41 - }, - "end": { - "line": 14, - "column": 56 - }, - "identifierName": "PlatformManager" }, - "name": "PlatformManager" + "identifierName": "PlatformManager" }, - "arguments": [] - } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [], - "trailingComments": [] - } + "name": "PlatformManager" + }, + "arguments": [] + } + ] + } + } + ], + "directives": [] + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] }, { "type": "ExpressionStatement", - "start": 403, - "end": 525, + "start": 392, + "end": 514, "loc": { "start": { "line": 18, @@ -968,8 +971,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 403, - "end": 525, + "start": 392, + "end": 514, "loc": { "start": { "line": 18, @@ -983,8 +986,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 403, - "end": 433, + "start": 392, + "end": 422, "loc": { "start": { "line": 18, @@ -997,8 +1000,8 @@ }, "object": { "type": "MemberExpression", - "start": 403, - "end": 421, + "start": 392, + "end": 410, "loc": { "start": { "line": 18, @@ -1011,8 +1014,8 @@ }, "object": { "type": "Identifier", - "start": 403, - "end": 411, + "start": 392, + "end": 400, "loc": { "start": { "line": 18, @@ -1028,8 +1031,8 @@ }, "property": { "type": "Identifier", - "start": 412, - "end": 421, + "start": 401, + "end": 410, "loc": { "start": { "line": 18, @@ -1047,8 +1050,8 @@ }, "property": { "type": "Identifier", - "start": 422, - "end": 433, + "start": 411, + "end": 422, "loc": { "start": { "line": 18, @@ -1066,8 +1069,8 @@ }, "right": { "type": "FunctionExpression", - "start": 436, - "end": 525, + "start": 425, + "end": 514, "loc": { "start": { "line": 18, @@ -1080,8 +1083,8 @@ }, "id": { "type": "Identifier", - "start": 422, - "end": 433, + "start": 411, + "end": 422, "loc": { "start": { "line": 18, @@ -1101,8 +1104,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 448, - "end": 525, + "start": 437, + "end": 514, "loc": { "start": { "line": 18, @@ -1116,8 +1119,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 453, - "end": 478, + "start": 442, + "end": 467, "loc": { "start": { "line": 20, @@ -1131,8 +1134,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 457, - "end": 477, + "start": 446, + "end": 466, "loc": { "start": { "line": 20, @@ -1145,8 +1148,8 @@ }, "id": { "type": "Identifier", - "start": 457, - "end": 462, + "start": 446, + "end": 451, "loc": { "start": { "line": 20, @@ -1162,8 +1165,8 @@ }, "init": { "type": "NewExpression", - "start": 465, - "end": 477, + "start": 454, + "end": 466, "loc": { "start": { "line": 20, @@ -1176,8 +1179,8 @@ }, "callee": { "type": "Identifier", - "start": 469, - "end": 475, + "start": 458, + "end": 464, "loc": { "start": { "line": 20, @@ -1199,8 +1202,8 @@ }, { "type": "ExpressionStatement", - "start": 481, - "end": 505, + "start": 470, + "end": 494, "loc": { "start": { "line": 21, @@ -1213,8 +1216,8 @@ }, "expression": { "type": "CallExpression", - "start": 481, - "end": 504, + "start": 470, + "end": 493, "loc": { "start": { "line": 21, @@ -1227,8 +1230,8 @@ }, "callee": { "type": "MemberExpression", - "start": 481, - "end": 497, + "start": 470, + "end": 486, "loc": { "start": { "line": 21, @@ -1241,8 +1244,8 @@ }, "object": { "type": "MemberExpression", - "start": 481, - "end": 492, + "start": 470, + "end": 481, "loc": { "start": { "line": 21, @@ -1255,8 +1258,8 @@ }, "object": { "type": "ThisExpression", - "start": 481, - "end": 485, + "start": 470, + "end": 474, "loc": { "start": { "line": 21, @@ -1270,8 +1273,8 @@ }, "property": { "type": "Identifier", - "start": 486, - "end": 492, + "start": 475, + "end": 481, "loc": { "start": { "line": 21, @@ -1289,8 +1292,8 @@ }, "property": { "type": "Identifier", - "start": 493, - "end": 497, + "start": 482, + "end": 486, "loc": { "start": { "line": 21, @@ -1309,8 +1312,8 @@ "arguments": [ { "type": "Identifier", - "start": 498, - "end": 503, + "start": 487, + "end": 492, "loc": { "start": { "line": 21, @@ -1329,8 +1332,8 @@ }, { "type": "ReturnStatement", - "start": 509, - "end": 522, + "start": 498, + "end": 511, "loc": { "start": { "line": 23, @@ -1343,8 +1346,8 @@ }, "argument": { "type": "Identifier", - "start": 516, - "end": 521, + "start": 505, + "end": 510, "loc": { "start": { "line": 23, @@ -1367,8 +1370,8 @@ }, { "type": "ExpressionStatement", - "start": 528, - "end": 785, + "start": 517, + "end": 774, "loc": { "start": { "line": 28, @@ -1381,8 +1384,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 528, - "end": 784, + "start": 517, + "end": 773, "loc": { "start": { "line": 28, @@ -1396,8 +1399,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 528, - "end": 558, + "start": 517, + "end": 547, "loc": { "start": { "line": 28, @@ -1410,8 +1413,8 @@ }, "object": { "type": "MemberExpression", - "start": 528, - "end": 546, + "start": 517, + "end": 535, "loc": { "start": { "line": 28, @@ -1424,8 +1427,8 @@ }, "object": { "type": "Identifier", - "start": 528, - "end": 536, + "start": 517, + "end": 525, "loc": { "start": { "line": 28, @@ -1441,8 +1444,8 @@ }, "property": { "type": "Identifier", - "start": 537, - "end": 546, + "start": 526, + "end": 535, "loc": { "start": { "line": 28, @@ -1460,8 +1463,8 @@ }, "property": { "type": "Identifier", - "start": 547, - "end": 558, + "start": 536, + "end": 547, "loc": { "start": { "line": 28, @@ -1479,8 +1482,8 @@ }, "right": { "type": "FunctionExpression", - "start": 561, - "end": 784, + "start": 550, + "end": 773, "loc": { "start": { "line": 28, @@ -1493,8 +1496,8 @@ }, "id": { "type": "Identifier", - "start": 547, - "end": 558, + "start": 536, + "end": 547, "loc": { "start": { "line": 28, @@ -1514,8 +1517,8 @@ "params": [ { "type": "Identifier", - "start": 571, - "end": 573, + "start": 560, + "end": 562, "loc": { "start": { "line": 28, @@ -1531,8 +1534,8 @@ }, { "type": "Identifier", - "start": 575, - "end": 583, + "start": 564, + "end": 572, "loc": { "start": { "line": 28, @@ -1549,8 +1552,8 @@ ], "body": { "type": "BlockStatement", - "start": 585, - "end": 784, + "start": 574, + "end": 773, "loc": { "start": { "line": 28, @@ -1564,8 +1567,8 @@ "body": [ { "type": "IfStatement", - "start": 635, - "end": 781, + "start": 624, + "end": 770, "loc": { "start": { "line": 31, @@ -1578,8 +1581,8 @@ }, "test": { "type": "MemberExpression", - "start": 639, - "end": 653, + "start": 628, + "end": 642, "loc": { "start": { "line": 31, @@ -1592,8 +1595,8 @@ }, "object": { "type": "ThisExpression", - "start": 639, - "end": 643, + "start": 628, + "end": 632, "loc": { "start": { "line": 31, @@ -1608,8 +1611,8 @@ }, "property": { "type": "Identifier", - "start": 644, - "end": 653, + "start": 633, + "end": 642, "loc": { "start": { "line": 31, @@ -1628,8 +1631,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 655, - "end": 781, + "start": 644, + "end": 770, "loc": { "start": { "line": 31, @@ -1643,8 +1646,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 661, - "end": 684, + "start": 650, + "end": 673, "loc": { "start": { "line": 32, @@ -1657,8 +1660,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 661, - "end": 683, + "start": 650, + "end": 672, "loc": { "start": { "line": 32, @@ -1672,8 +1675,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 661, - "end": 675, + "start": 650, + "end": 664, "loc": { "start": { "line": 32, @@ -1686,8 +1689,8 @@ }, "object": { "type": "ThisExpression", - "start": 661, - "end": 665, + "start": 650, + "end": 654, "loc": { "start": { "line": 32, @@ -1701,8 +1704,8 @@ }, "property": { "type": "Identifier", - "start": 666, - "end": 675, + "start": 655, + "end": 664, "loc": { "start": { "line": 32, @@ -1720,8 +1723,8 @@ }, "right": { "type": "BooleanLiteral", - "start": 678, - "end": 683, + "start": 667, + "end": 672, "loc": { "start": { "line": 32, @@ -1738,8 +1741,8 @@ }, { "type": "ExpressionStatement", - "start": 689, - "end": 714, + "start": 678, + "end": 703, "loc": { "start": { "line": 33, @@ -1752,8 +1755,8 @@ }, "expression": { "type": "CallExpression", - "start": 689, - "end": 713, + "start": 678, + "end": 702, "loc": { "start": { "line": 33, @@ -1766,8 +1769,8 @@ }, "callee": { "type": "MemberExpression", - "start": 689, - "end": 706, + "start": 678, + "end": 695, "loc": { "start": { "line": 33, @@ -1780,8 +1783,8 @@ }, "object": { "type": "ThisExpression", - "start": 689, - "end": 693, + "start": 678, + "end": 682, "loc": { "start": { "line": 33, @@ -1795,8 +1798,8 @@ }, "property": { "type": "Identifier", - "start": 694, - "end": 706, + "start": 683, + "end": 695, "loc": { "start": { "line": 33, @@ -1815,8 +1818,8 @@ "arguments": [ { "type": "NumericLiteral", - "start": 707, - "end": 708, + "start": 696, + "end": 697, "loc": { "start": { "line": 33, @@ -1835,8 +1838,8 @@ }, { "type": "Identifier", - "start": 710, - "end": 712, + "start": 699, + "end": 701, "loc": { "start": { "line": 33, @@ -1855,8 +1858,8 @@ }, { "type": "ExpressionStatement", - "start": 719, - "end": 738, + "start": 708, + "end": 727, "loc": { "start": { "line": 34, @@ -1869,8 +1872,8 @@ }, "expression": { "type": "CallExpression", - "start": 719, - "end": 737, + "start": 708, + "end": 726, "loc": { "start": { "line": 34, @@ -1883,8 +1886,8 @@ }, "callee": { "type": "MemberExpression", - "start": 719, - "end": 735, + "start": 708, + "end": 724, "loc": { "start": { "line": 34, @@ -1897,8 +1900,8 @@ }, "object": { "type": "ThisExpression", - "start": 719, - "end": 723, + "start": 708, + "end": 712, "loc": { "start": { "line": 34, @@ -1912,8 +1915,8 @@ }, "property": { "type": "Identifier", - "start": 724, - "end": 735, + "start": 713, + "end": 724, "loc": { "start": { "line": 34, @@ -1934,8 +1937,8 @@ }, { "type": "ExpressionStatement", - "start": 743, - "end": 777, + "start": 732, + "end": 766, "loc": { "start": { "line": 35, @@ -1948,8 +1951,8 @@ }, "expression": { "type": "CallExpression", - "start": 743, - "end": 776, + "start": 732, + "end": 765, "loc": { "start": { "line": 35, @@ -1962,8 +1965,8 @@ }, "callee": { "type": "MemberExpression", - "start": 743, - "end": 762, + "start": 732, + "end": 751, "loc": { "start": { "line": 35, @@ -1976,8 +1979,8 @@ }, "object": { "type": "MemberExpression", - "start": 743, - "end": 757, + "start": 732, + "end": 746, "loc": { "start": { "line": 35, @@ -1990,8 +1993,8 @@ }, "object": { "type": "MemberExpression", - "start": 743, - "end": 754, + "start": 732, + "end": 743, "loc": { "start": { "line": 35, @@ -2004,8 +2007,8 @@ }, "object": { "type": "ThisExpression", - "start": 743, - "end": 747, + "start": 732, + "end": 736, "loc": { "start": { "line": 35, @@ -2019,8 +2022,8 @@ }, "property": { "type": "Identifier", - "start": 748, - "end": 754, + "start": 737, + "end": 743, "loc": { "start": { "line": 35, @@ -2038,8 +2041,8 @@ }, "property": { "type": "NumericLiteral", - "start": 755, - "end": 756, + "start": 744, + "end": 745, "loc": { "start": { "line": 35, @@ -2060,8 +2063,8 @@ }, "property": { "type": "Identifier", - "start": 758, - "end": 762, + "start": 747, + "end": 751, "loc": { "start": { "line": 35, @@ -2080,8 +2083,8 @@ "arguments": [ { "type": "Identifier", - "start": 763, - "end": 765, + "start": 752, + "end": 754, "loc": { "start": { "line": 35, @@ -2097,8 +2100,8 @@ }, { "type": "Identifier", - "start": 767, - "end": 775, + "start": 756, + "end": 764, "loc": { "start": { "line": 35, @@ -2123,8 +2126,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.update(gl)\");", - "start": 589, - "end": 631, + "start": 578, + "end": 620, "loc": { "start": { "line": 29, @@ -2146,8 +2149,8 @@ }, { "type": "ExpressionStatement", - "start": 788, - "end": 964, + "start": 777, + "end": 953, "loc": { "start": { "line": 41, @@ -2160,8 +2163,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 788, - "end": 963, + "start": 777, + "end": 952, "loc": { "start": { "line": 41, @@ -2175,8 +2178,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 788, - "end": 815, + "start": 777, + "end": 804, "loc": { "start": { "line": 41, @@ -2189,8 +2192,8 @@ }, "object": { "type": "MemberExpression", - "start": 788, - "end": 806, + "start": 777, + "end": 795, "loc": { "start": { "line": 41, @@ -2203,8 +2206,8 @@ }, "object": { "type": "Identifier", - "start": 788, - "end": 796, + "start": 777, + "end": 785, "loc": { "start": { "line": 41, @@ -2220,8 +2223,8 @@ }, "property": { "type": "Identifier", - "start": 797, - "end": 806, + "start": 786, + "end": 795, "loc": { "start": { "line": 41, @@ -2239,8 +2242,8 @@ }, "property": { "type": "Identifier", - "start": 807, - "end": 815, + "start": 796, + "end": 804, "loc": { "start": { "line": 41, @@ -2258,8 +2261,8 @@ }, "right": { "type": "FunctionExpression", - "start": 818, - "end": 963, + "start": 807, + "end": 952, "loc": { "start": { "line": 41, @@ -2272,8 +2275,8 @@ }, "id": { "type": "Identifier", - "start": 807, - "end": 815, + "start": 796, + "end": 804, "loc": { "start": { "line": 41, @@ -2293,8 +2296,8 @@ "params": [ { "type": "Identifier", - "start": 828, - "end": 830, + "start": 817, + "end": 819, "loc": { "start": { "line": 41, @@ -2311,8 +2314,8 @@ ], "body": { "type": "BlockStatement", - "start": 832, - "end": 963, + "start": 821, + "end": 952, "loc": { "start": { "line": 41, @@ -2326,8 +2329,8 @@ "body": [ { "type": "IfStatement", - "start": 892, - "end": 934, + "start": 881, + "end": 923, "loc": { "start": { "line": 44, @@ -2340,8 +2343,8 @@ }, "test": { "type": "BinaryExpression", - "start": 896, - "end": 920, + "start": 885, + "end": 909, "loc": { "start": { "line": 44, @@ -2354,8 +2357,8 @@ }, "left": { "type": "Identifier", - "start": 896, - "end": 898, + "start": 885, + "end": 887, "loc": { "start": { "line": 44, @@ -2373,8 +2376,8 @@ "operator": ">=", "right": { "type": "MemberExpression", - "start": 902, - "end": 920, + "start": 891, + "end": 909, "loc": { "start": { "line": 44, @@ -2387,8 +2390,8 @@ }, "object": { "type": "MemberExpression", - "start": 902, - "end": 913, + "start": 891, + "end": 902, "loc": { "start": { "line": 44, @@ -2401,8 +2404,8 @@ }, "object": { "type": "ThisExpression", - "start": 902, - "end": 906, + "start": 891, + "end": 895, "loc": { "start": { "line": 44, @@ -2416,8 +2419,8 @@ }, "property": { "type": "Identifier", - "start": 907, - "end": 913, + "start": 896, + "end": 902, "loc": { "start": { "line": 44, @@ -2435,8 +2438,8 @@ }, "property": { "type": "Identifier", - "start": 914, - "end": 920, + "start": 903, + "end": 909, "loc": { "start": { "line": 44, @@ -2456,8 +2459,8 @@ }, "consequent": { "type": "ReturnStatement", - "start": 922, - "end": 934, + "start": 911, + "end": 923, "loc": { "start": { "line": 44, @@ -2470,8 +2473,8 @@ }, "argument": { "type": "NullLiteral", - "start": 929, - "end": 933, + "start": 918, + "end": 922, "loc": { "start": { "line": 44, @@ -2489,8 +2492,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.getModel(\" + no + \")\");", - "start": 836, - "end": 888, + "start": 825, + "end": 877, "loc": { "start": { "line": 42, @@ -2506,8 +2509,8 @@ }, { "type": "ReturnStatement", - "start": 938, - "end": 961, + "start": 927, + "end": 950, "loc": { "start": { "line": 46, @@ -2520,8 +2523,8 @@ }, "argument": { "type": "MemberExpression", - "start": 945, - "end": 960, + "start": 934, + "end": 949, "loc": { "start": { "line": 46, @@ -2534,8 +2537,8 @@ }, "object": { "type": "MemberExpression", - "start": 945, - "end": 956, + "start": 934, + "end": 945, "loc": { "start": { "line": 46, @@ -2548,8 +2551,8 @@ }, "object": { "type": "ThisExpression", - "start": 945, - "end": 949, + "start": 934, + "end": 938, "loc": { "start": { "line": 46, @@ -2563,8 +2566,8 @@ }, "property": { "type": "Identifier", - "start": 950, - "end": 956, + "start": 939, + "end": 945, "loc": { "start": { "line": 46, @@ -2582,8 +2585,8 @@ }, "property": { "type": "Identifier", - "start": 957, - "end": 959, + "start": 946, + "end": 948, "loc": { "start": { "line": 46, @@ -2608,8 +2611,8 @@ }, { "type": "ExpressionStatement", - "start": 968, - "end": 1212, + "start": 957, + "end": 1201, "loc": { "start": { "line": 51, @@ -2622,8 +2625,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 968, - "end": 1211, + "start": 957, + "end": 1200, "loc": { "start": { "line": 51, @@ -2637,8 +2640,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 968, - "end": 999, + "start": 957, + "end": 988, "loc": { "start": { "line": 51, @@ -2651,8 +2654,8 @@ }, "object": { "type": "MemberExpression", - "start": 968, - "end": 986, + "start": 957, + "end": 975, "loc": { "start": { "line": 51, @@ -2665,8 +2668,8 @@ }, "object": { "type": "Identifier", - "start": 968, - "end": 976, + "start": 957, + "end": 965, "loc": { "start": { "line": 51, @@ -2682,8 +2685,8 @@ }, "property": { "type": "Identifier", - "start": 977, - "end": 986, + "start": 966, + "end": 975, "loc": { "start": { "line": 51, @@ -2701,8 +2704,8 @@ }, "property": { "type": "Identifier", - "start": 987, - "end": 999, + "start": 976, + "end": 988, "loc": { "start": { "line": 51, @@ -2720,8 +2723,8 @@ }, "right": { "type": "FunctionExpression", - "start": 1002, - "end": 1211, + "start": 991, + "end": 1200, "loc": { "start": { "line": 51, @@ -2734,8 +2737,8 @@ }, "id": { "type": "Identifier", - "start": 987, - "end": 999, + "start": 976, + "end": 988, "loc": { "start": { "line": 51, @@ -2755,8 +2758,8 @@ "params": [ { "type": "Identifier", - "start": 1012, - "end": 1014, + "start": 1001, + "end": 1003, "loc": { "start": { "line": 51, @@ -2772,8 +2775,8 @@ }, { "type": "Identifier", - "start": 1016, - "end": 1018, + "start": 1005, + "end": 1007, "loc": { "start": { "line": 51, @@ -2790,8 +2793,8 @@ ], "body": { "type": "BlockStatement", - "start": 1020, - "end": 1211, + "start": 1009, + "end": 1200, "loc": { "start": { "line": 51, @@ -2805,8 +2808,8 @@ "body": [ { "type": "IfStatement", - "start": 1084, - "end": 1121, + "start": 1073, + "end": 1110, "loc": { "start": { "line": 54, @@ -2819,8 +2822,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1088, - "end": 1112, + "start": 1077, + "end": 1101, "loc": { "start": { "line": 54, @@ -2833,8 +2836,8 @@ }, "left": { "type": "MemberExpression", - "start": 1088, - "end": 1106, + "start": 1077, + "end": 1095, "loc": { "start": { "line": 54, @@ -2847,8 +2850,8 @@ }, "object": { "type": "MemberExpression", - "start": 1088, - "end": 1099, + "start": 1077, + "end": 1088, "loc": { "start": { "line": 54, @@ -2861,8 +2864,8 @@ }, "object": { "type": "ThisExpression", - "start": 1088, - "end": 1092, + "start": 1077, + "end": 1081, "loc": { "start": { "line": 54, @@ -2877,8 +2880,8 @@ }, "property": { "type": "Identifier", - "start": 1093, - "end": 1099, + "start": 1082, + "end": 1088, "loc": { "start": { "line": 54, @@ -2897,8 +2900,8 @@ }, "property": { "type": "Identifier", - "start": 1100, - "end": 1106, + "start": 1089, + "end": 1095, "loc": { "start": { "line": 54, @@ -2918,8 +2921,8 @@ "operator": "<=", "right": { "type": "Identifier", - "start": 1110, - "end": 1112, + "start": 1099, + "end": 1101, "loc": { "start": { "line": 54, @@ -2937,8 +2940,8 @@ }, "consequent": { "type": "ReturnStatement", - "start": 1114, - "end": 1121, + "start": 1103, + "end": 1110, "loc": { "start": { "line": 54, @@ -2956,8 +2959,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.releaseModel(\" + no + \")\");", - "start": 1024, - "end": 1080, + "start": 1013, + "end": 1069, "loc": { "start": { "line": 52, @@ -2973,8 +2976,8 @@ }, { "type": "ExpressionStatement", - "start": 1125, - "end": 1153, + "start": 1114, + "end": 1142, "loc": { "start": { "line": 56, @@ -2987,8 +2990,8 @@ }, "expression": { "type": "CallExpression", - "start": 1125, - "end": 1152, + "start": 1114, + "end": 1141, "loc": { "start": { "line": 56, @@ -3001,8 +3004,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1125, - "end": 1148, + "start": 1114, + "end": 1137, "loc": { "start": { "line": 56, @@ -3015,8 +3018,8 @@ }, "object": { "type": "MemberExpression", - "start": 1125, - "end": 1140, + "start": 1114, + "end": 1129, "loc": { "start": { "line": 56, @@ -3029,8 +3032,8 @@ }, "object": { "type": "MemberExpression", - "start": 1125, - "end": 1136, + "start": 1114, + "end": 1125, "loc": { "start": { "line": 56, @@ -3043,8 +3046,8 @@ }, "object": { "type": "ThisExpression", - "start": 1125, - "end": 1129, + "start": 1114, + "end": 1118, "loc": { "start": { "line": 56, @@ -3058,8 +3061,8 @@ }, "property": { "type": "Identifier", - "start": 1130, - "end": 1136, + "start": 1119, + "end": 1125, "loc": { "start": { "line": 56, @@ -3077,8 +3080,8 @@ }, "property": { "type": "Identifier", - "start": 1137, - "end": 1139, + "start": 1126, + "end": 1128, "loc": { "start": { "line": 56, @@ -3096,8 +3099,8 @@ }, "property": { "type": "Identifier", - "start": 1141, - "end": 1148, + "start": 1130, + "end": 1137, "loc": { "start": { "line": 56, @@ -3116,8 +3119,8 @@ "arguments": [ { "type": "Identifier", - "start": 1149, - "end": 1151, + "start": 1138, + "end": 1140, "loc": { "start": { "line": 56, @@ -3136,8 +3139,8 @@ }, { "type": "ExpressionStatement", - "start": 1157, - "end": 1180, + "start": 1146, + "end": 1169, "loc": { "start": { "line": 58, @@ -3150,8 +3153,8 @@ }, "expression": { "type": "UnaryExpression", - "start": 1157, - "end": 1179, + "start": 1146, + "end": 1168, "loc": { "start": { "line": 58, @@ -3166,8 +3169,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 1164, - "end": 1179, + "start": 1153, + "end": 1168, "loc": { "start": { "line": 58, @@ -3180,8 +3183,8 @@ }, "object": { "type": "MemberExpression", - "start": 1164, - "end": 1175, + "start": 1153, + "end": 1164, "loc": { "start": { "line": 58, @@ -3194,8 +3197,8 @@ }, "object": { "type": "ThisExpression", - "start": 1164, - "end": 1168, + "start": 1153, + "end": 1157, "loc": { "start": { "line": 58, @@ -3209,8 +3212,8 @@ }, "property": { "type": "Identifier", - "start": 1169, - "end": 1175, + "start": 1158, + "end": 1164, "loc": { "start": { "line": 58, @@ -3228,8 +3231,8 @@ }, "property": { "type": "Identifier", - "start": 1176, - "end": 1178, + "start": 1165, + "end": 1167, "loc": { "start": { "line": 58, @@ -3252,8 +3255,8 @@ }, { "type": "ExpressionStatement", - "start": 1183, - "end": 1209, + "start": 1172, + "end": 1198, "loc": { "start": { "line": 59, @@ -3266,8 +3269,8 @@ }, "expression": { "type": "CallExpression", - "start": 1183, - "end": 1208, + "start": 1172, + "end": 1197, "loc": { "start": { "line": 59, @@ -3280,8 +3283,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1183, - "end": 1201, + "start": 1172, + "end": 1190, "loc": { "start": { "line": 59, @@ -3294,8 +3297,8 @@ }, "object": { "type": "MemberExpression", - "start": 1183, - "end": 1194, + "start": 1172, + "end": 1183, "loc": { "start": { "line": 59, @@ -3308,8 +3311,8 @@ }, "object": { "type": "ThisExpression", - "start": 1183, - "end": 1187, + "start": 1172, + "end": 1176, "loc": { "start": { "line": 59, @@ -3323,8 +3326,8 @@ }, "property": { "type": "Identifier", - "start": 1188, - "end": 1194, + "start": 1177, + "end": 1183, "loc": { "start": { "line": 59, @@ -3342,8 +3345,8 @@ }, "property": { "type": "Identifier", - "start": 1195, - "end": 1201, + "start": 1184, + "end": 1190, "loc": { "start": { "line": 59, @@ -3362,8 +3365,8 @@ "arguments": [ { "type": "Identifier", - "start": 1202, - "end": 1204, + "start": 1191, + "end": 1193, "loc": { "start": { "line": 59, @@ -3379,8 +3382,8 @@ }, { "type": "NumericLiteral", - "start": 1206, - "end": 1207, + "start": 1195, + "end": 1196, "loc": { "start": { "line": 59, @@ -3408,8 +3411,8 @@ }, { "type": "ExpressionStatement", - "start": 1216, - "end": 1292, + "start": 1205, + "end": 1281, "loc": { "start": { "line": 64, @@ -3422,8 +3425,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1216, - "end": 1291, + "start": 1205, + "end": 1280, "loc": { "start": { "line": 64, @@ -3437,8 +3440,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1216, - "end": 1244, + "start": 1205, + "end": 1233, "loc": { "start": { "line": 64, @@ -3451,8 +3454,8 @@ }, "object": { "type": "MemberExpression", - "start": 1216, - "end": 1234, + "start": 1205, + "end": 1223, "loc": { "start": { "line": 64, @@ -3465,8 +3468,8 @@ }, "object": { "type": "Identifier", - "start": 1216, - "end": 1224, + "start": 1205, + "end": 1213, "loc": { "start": { "line": 64, @@ -3482,8 +3485,8 @@ }, "property": { "type": "Identifier", - "start": 1225, - "end": 1234, + "start": 1214, + "end": 1223, "loc": { "start": { "line": 64, @@ -3501,8 +3504,8 @@ }, "property": { "type": "Identifier", - "start": 1235, - "end": 1244, + "start": 1224, + "end": 1233, "loc": { "start": { "line": 64, @@ -3520,8 +3523,8 @@ }, "right": { "type": "FunctionExpression", - "start": 1247, - "end": 1291, + "start": 1236, + "end": 1280, "loc": { "start": { "line": 64, @@ -3534,8 +3537,8 @@ }, "id": { "type": "Identifier", - "start": 1235, - "end": 1244, + "start": 1224, + "end": 1233, "loc": { "start": { "line": 64, @@ -3555,8 +3558,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1259, - "end": 1291, + "start": 1248, + "end": 1280, "loc": { "start": { "line": 64, @@ -3570,8 +3573,8 @@ "body": [ { "type": "ReturnStatement", - "start": 1263, - "end": 1289, + "start": 1252, + "end": 1278, "loc": { "start": { "line": 65, @@ -3584,8 +3587,8 @@ }, "argument": { "type": "MemberExpression", - "start": 1270, - "end": 1288, + "start": 1259, + "end": 1277, "loc": { "start": { "line": 65, @@ -3598,8 +3601,8 @@ }, "object": { "type": "MemberExpression", - "start": 1270, - "end": 1281, + "start": 1259, + "end": 1270, "loc": { "start": { "line": 65, @@ -3612,8 +3615,8 @@ }, "object": { "type": "ThisExpression", - "start": 1270, - "end": 1274, + "start": 1259, + "end": 1263, "loc": { "start": { "line": 65, @@ -3627,8 +3630,8 @@ }, "property": { "type": "Identifier", - "start": 1275, - "end": 1281, + "start": 1264, + "end": 1270, "loc": { "start": { "line": 65, @@ -3646,8 +3649,8 @@ }, "property": { "type": "Identifier", - "start": 1282, - "end": 1288, + "start": 1271, + "end": 1277, "loc": { "start": { "line": 65, @@ -3672,8 +3675,8 @@ }, { "type": "ExpressionStatement", - "start": 1296, - "end": 1431, + "start": 1285, + "end": 1420, "loc": { "start": { "line": 70, @@ -3686,8 +3689,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1296, - "end": 1431, + "start": 1285, + "end": 1420, "loc": { "start": { "line": 70, @@ -3701,8 +3704,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1296, - "end": 1322, + "start": 1285, + "end": 1311, "loc": { "start": { "line": 70, @@ -3715,8 +3718,8 @@ }, "object": { "type": "MemberExpression", - "start": 1296, - "end": 1314, + "start": 1285, + "end": 1303, "loc": { "start": { "line": 70, @@ -3729,8 +3732,8 @@ }, "object": { "type": "Identifier", - "start": 1296, - "end": 1304, + "start": 1285, + "end": 1293, "loc": { "start": { "line": 70, @@ -3746,8 +3749,8 @@ }, "property": { "type": "Identifier", - "start": 1305, - "end": 1314, + "start": 1294, + "end": 1303, "loc": { "start": { "line": 70, @@ -3765,8 +3768,8 @@ }, "property": { "type": "Identifier", - "start": 1315, - "end": 1322, + "start": 1304, + "end": 1311, "loc": { "start": { "line": 70, @@ -3784,8 +3787,8 @@ }, "right": { "type": "FunctionExpression", - "start": 1325, - "end": 1431, + "start": 1314, + "end": 1420, "loc": { "start": { "line": 70, @@ -3798,8 +3801,8 @@ }, "id": { "type": "Identifier", - "start": 1315, - "end": 1322, + "start": 1304, + "end": 1311, "loc": { "start": { "line": 70, @@ -3819,8 +3822,8 @@ "params": [ { "type": "Identifier", - "start": 1335, - "end": 1336, + "start": 1324, + "end": 1325, "loc": { "start": { "line": 70, @@ -3836,8 +3839,8 @@ }, { "type": "Identifier", - "start": 1338, - "end": 1339, + "start": 1327, + "end": 1328, "loc": { "start": { "line": 70, @@ -3854,8 +3857,8 @@ ], "body": { "type": "BlockStatement", - "start": 1341, - "end": 1431, + "start": 1330, + "end": 1420, "loc": { "start": { "line": 70, @@ -3869,8 +3872,8 @@ "body": [ { "type": "ForStatement", - "start": 1345, - "end": 1429, + "start": 1334, + "end": 1418, "loc": { "start": { "line": 71, @@ -3883,8 +3886,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 1350, - "end": 1359, + "start": 1339, + "end": 1348, "loc": { "start": { "line": 71, @@ -3898,8 +3901,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1354, - "end": 1359, + "start": 1343, + "end": 1348, "loc": { "start": { "line": 71, @@ -3912,8 +3915,8 @@ }, "id": { "type": "Identifier", - "start": 1354, - "end": 1355, + "start": 1343, + "end": 1344, "loc": { "start": { "line": 71, @@ -3929,8 +3932,8 @@ }, "init": { "type": "NumericLiteral", - "start": 1358, - "end": 1359, + "start": 1347, + "end": 1348, "loc": { "start": { "line": 71, @@ -3953,8 +3956,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1361, - "end": 1383, + "start": 1350, + "end": 1372, "loc": { "start": { "line": 71, @@ -3967,8 +3970,8 @@ }, "left": { "type": "Identifier", - "start": 1361, - "end": 1362, + "start": 1350, + "end": 1351, "loc": { "start": { "line": 71, @@ -3985,8 +3988,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 1365, - "end": 1383, + "start": 1354, + "end": 1372, "loc": { "start": { "line": 71, @@ -3999,8 +4002,8 @@ }, "object": { "type": "MemberExpression", - "start": 1365, - "end": 1376, + "start": 1354, + "end": 1365, "loc": { "start": { "line": 71, @@ -4013,8 +4016,8 @@ }, "object": { "type": "ThisExpression", - "start": 1365, - "end": 1369, + "start": 1354, + "end": 1358, "loc": { "start": { "line": 71, @@ -4028,8 +4031,8 @@ }, "property": { "type": "Identifier", - "start": 1370, - "end": 1376, + "start": 1359, + "end": 1365, "loc": { "start": { "line": 71, @@ -4047,8 +4050,8 @@ }, "property": { "type": "Identifier", - "start": 1377, - "end": 1383, + "start": 1366, + "end": 1372, "loc": { "start": { "line": 71, @@ -4067,8 +4070,8 @@ }, "update": { "type": "UpdateExpression", - "start": 1385, - "end": 1388, + "start": 1374, + "end": 1377, "loc": { "start": { "line": 71, @@ -4083,8 +4086,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 1385, - "end": 1386, + "start": 1374, + "end": 1375, "loc": { "start": { "line": 71, @@ -4101,8 +4104,8 @@ }, "body": { "type": "BlockStatement", - "start": 1390, - "end": 1429, + "start": 1379, + "end": 1418, "loc": { "start": { "line": 71, @@ -4116,8 +4119,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 1396, - "end": 1425, + "start": 1385, + "end": 1414, "loc": { "start": { "line": 72, @@ -4130,8 +4133,8 @@ }, "expression": { "type": "CallExpression", - "start": 1396, - "end": 1424, + "start": 1385, + "end": 1413, "loc": { "start": { "line": 72, @@ -4144,8 +4147,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1396, - "end": 1418, + "start": 1385, + "end": 1407, "loc": { "start": { "line": 72, @@ -4158,8 +4161,8 @@ }, "object": { "type": "MemberExpression", - "start": 1396, - "end": 1410, + "start": 1385, + "end": 1399, "loc": { "start": { "line": 72, @@ -4172,8 +4175,8 @@ }, "object": { "type": "MemberExpression", - "start": 1396, - "end": 1407, + "start": 1385, + "end": 1396, "loc": { "start": { "line": 72, @@ -4186,8 +4189,8 @@ }, "object": { "type": "ThisExpression", - "start": 1396, - "end": 1400, + "start": 1385, + "end": 1389, "loc": { "start": { "line": 72, @@ -4201,8 +4204,8 @@ }, "property": { "type": "Identifier", - "start": 1401, - "end": 1407, + "start": 1390, + "end": 1396, "loc": { "start": { "line": 72, @@ -4220,8 +4223,8 @@ }, "property": { "type": "Identifier", - "start": 1408, - "end": 1409, + "start": 1397, + "end": 1398, "loc": { "start": { "line": 72, @@ -4239,8 +4242,8 @@ }, "property": { "type": "Identifier", - "start": 1411, - "end": 1418, + "start": 1400, + "end": 1407, "loc": { "start": { "line": 72, @@ -4259,8 +4262,8 @@ "arguments": [ { "type": "Identifier", - "start": 1419, - "end": 1420, + "start": 1408, + "end": 1409, "loc": { "start": { "line": 72, @@ -4276,8 +4279,8 @@ }, { "type": "Identifier", - "start": 1422, - "end": 1423, + "start": 1411, + "end": 1412, "loc": { "start": { "line": 72, @@ -4306,8 +4309,8 @@ }, { "type": "ExpressionStatement", - "start": 1433, - "end": 2076, + "start": 1422, + "end": 2065, "loc": { "start": { "line": 76, @@ -4320,8 +4323,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 1433, - "end": 2075, + "start": 1422, + "end": 2064, "loc": { "start": { "line": 76, @@ -4335,8 +4338,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 1433, - "end": 1460, + "start": 1422, + "end": 1449, "loc": { "start": { "line": 76, @@ -4349,8 +4352,8 @@ }, "object": { "type": "MemberExpression", - "start": 1433, - "end": 1451, + "start": 1422, + "end": 1440, "loc": { "start": { "line": 76, @@ -4363,8 +4366,8 @@ }, "object": { "type": "Identifier", - "start": 1433, - "end": 1441, + "start": 1422, + "end": 1430, "loc": { "start": { "line": 76, @@ -4380,8 +4383,8 @@ }, "property": { "type": "Identifier", - "start": 1442, - "end": 1451, + "start": 1431, + "end": 1440, "loc": { "start": { "line": 76, @@ -4399,8 +4402,8 @@ }, "property": { "type": "Identifier", - "start": 1452, - "end": 1460, + "start": 1441, + "end": 1449, "loc": { "start": { "line": 76, @@ -4418,8 +4421,8 @@ }, "right": { "type": "FunctionExpression", - "start": 1463, - "end": 2075, + "start": 1452, + "end": 2064, "loc": { "start": { "line": 76, @@ -4432,8 +4435,8 @@ }, "id": { "type": "Identifier", - "start": 1452, - "end": 1460, + "start": 1441, + "end": 1449, "loc": { "start": { "line": 76, @@ -4453,8 +4456,8 @@ "params": [ { "type": "Identifier", - "start": 1473, - "end": 1474, + "start": 1462, + "end": 1463, "loc": { "start": { "line": 76, @@ -4470,8 +4473,8 @@ }, { "type": "Identifier", - "start": 1476, - "end": 1477, + "start": 1465, + "end": 1466, "loc": { "start": { "line": 76, @@ -4488,8 +4491,8 @@ ], "body": { "type": "BlockStatement", - "start": 1479, - "end": 2075, + "start": 1468, + "end": 2064, "loc": { "start": { "line": 76, @@ -4503,8 +4506,8 @@ "body": [ { "type": "IfStatement", - "start": 1483, - "end": 1558, + "start": 1472, + "end": 1547, "loc": { "start": { "line": 77, @@ -4517,8 +4520,8 @@ }, "test": { "type": "MemberExpression", - "start": 1487, - "end": 1504, + "start": 1476, + "end": 1493, "loc": { "start": { "line": 77, @@ -4531,8 +4534,8 @@ }, "object": { "type": "Identifier", - "start": 1487, - "end": 1494, + "start": 1476, + "end": 1483, "loc": { "start": { "line": 77, @@ -4548,8 +4551,8 @@ }, "property": { "type": "Identifier", - "start": 1495, - "end": 1504, + "start": 1484, + "end": 1493, "loc": { "start": { "line": 77, @@ -4567,8 +4570,8 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 1510, - "end": 1558, + "start": 1499, + "end": 1547, "loc": { "start": { "line": 78, @@ -4581,8 +4584,8 @@ }, "expression": { "type": "CallExpression", - "start": 1510, - "end": 1557, + "start": 1499, + "end": 1546, "loc": { "start": { "line": 78, @@ -4595,8 +4598,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1510, - "end": 1521, + "start": 1499, + "end": 1510, "loc": { "start": { "line": 78, @@ -4609,8 +4612,8 @@ }, "object": { "type": "Identifier", - "start": 1510, - "end": 1517, + "start": 1499, + "end": 1506, "loc": { "start": { "line": 78, @@ -4626,8 +4629,8 @@ }, "property": { "type": "Identifier", - "start": 1518, - "end": 1521, + "start": 1507, + "end": 1510, "loc": { "start": { "line": 78, @@ -4646,8 +4649,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1522, - "end": 1556, + "start": 1511, + "end": 1545, "loc": { "start": { "line": 78, @@ -4660,8 +4663,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1522, - "end": 1552, + "start": 1511, + "end": 1541, "loc": { "start": { "line": 78, @@ -4674,8 +4677,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1522, - "end": 1544, + "start": 1511, + "end": 1533, "loc": { "start": { "line": 78, @@ -4688,8 +4691,8 @@ }, "left": { "type": "StringLiteral", - "start": 1522, - "end": 1540, + "start": 1511, + "end": 1529, "loc": { "start": { "line": 78, @@ -4709,8 +4712,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 1543, - "end": 1544, + "start": 1532, + "end": 1533, "loc": { "start": { "line": 78, @@ -4728,8 +4731,8 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 1547, - "end": 1552, + "start": 1536, + "end": 1541, "loc": { "start": { "line": 78, @@ -4750,8 +4753,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 1555, - "end": 1556, + "start": 1544, + "end": 1545, "loc": { "start": { "line": 78, @@ -4773,8 +4776,8 @@ }, { "type": "ForStatement", - "start": 1562, - "end": 2057, + "start": 1551, + "end": 2046, "loc": { "start": { "line": 80, @@ -4787,8 +4790,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 1567, - "end": 1576, + "start": 1556, + "end": 1565, "loc": { "start": { "line": 80, @@ -4802,8 +4805,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1571, - "end": 1576, + "start": 1560, + "end": 1565, "loc": { "start": { "line": 80, @@ -4816,8 +4819,8 @@ }, "id": { "type": "Identifier", - "start": 1571, - "end": 1572, + "start": 1560, + "end": 1561, "loc": { "start": { "line": 80, @@ -4833,8 +4836,8 @@ }, "init": { "type": "NumericLiteral", - "start": 1575, - "end": 1576, + "start": 1564, + "end": 1565, "loc": { "start": { "line": 80, @@ -4857,8 +4860,8 @@ }, "test": { "type": "BinaryExpression", - "start": 1578, - "end": 1600, + "start": 1567, + "end": 1589, "loc": { "start": { "line": 80, @@ -4871,8 +4874,8 @@ }, "left": { "type": "Identifier", - "start": 1578, - "end": 1579, + "start": 1567, + "end": 1568, "loc": { "start": { "line": 80, @@ -4889,8 +4892,8 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 1582, - "end": 1600, + "start": 1571, + "end": 1589, "loc": { "start": { "line": 80, @@ -4903,8 +4906,8 @@ }, "object": { "type": "MemberExpression", - "start": 1582, - "end": 1593, + "start": 1571, + "end": 1582, "loc": { "start": { "line": 80, @@ -4917,8 +4920,8 @@ }, "object": { "type": "ThisExpression", - "start": 1582, - "end": 1586, + "start": 1571, + "end": 1575, "loc": { "start": { "line": 80, @@ -4932,8 +4935,8 @@ }, "property": { "type": "Identifier", - "start": 1587, - "end": 1593, + "start": 1576, + "end": 1582, "loc": { "start": { "line": 80, @@ -4951,8 +4954,8 @@ }, "property": { "type": "Identifier", - "start": 1594, - "end": 1600, + "start": 1583, + "end": 1589, "loc": { "start": { "line": 80, @@ -4971,8 +4974,8 @@ }, "update": { "type": "UpdateExpression", - "start": 1602, - "end": 1605, + "start": 1591, + "end": 1594, "loc": { "start": { "line": 80, @@ -4987,8 +4990,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 1602, - "end": 1603, + "start": 1591, + "end": 1592, "loc": { "start": { "line": 80, @@ -5005,8 +5008,8 @@ }, "body": { "type": "BlockStatement", - "start": 1607, - "end": 2057, + "start": 1596, + "end": 2046, "loc": { "start": { "line": 80, @@ -5020,8 +5023,8 @@ "body": [ { "type": "IfStatement", - "start": 1614, - "end": 2053, + "start": 1603, + "end": 2042, "loc": { "start": { "line": 82, @@ -5034,8 +5037,8 @@ }, "test": { "type": "CallExpression", - "start": 1618, - "end": 1669, + "start": 1607, + "end": 1658, "loc": { "start": { "line": 82, @@ -5048,8 +5051,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1618, - "end": 1640, + "start": 1607, + "end": 1629, "loc": { "start": { "line": 82, @@ -5062,8 +5065,8 @@ }, "object": { "type": "MemberExpression", - "start": 1618, - "end": 1632, + "start": 1607, + "end": 1621, "loc": { "start": { "line": 82, @@ -5076,8 +5079,8 @@ }, "object": { "type": "MemberExpression", - "start": 1618, - "end": 1629, + "start": 1607, + "end": 1618, "loc": { "start": { "line": 82, @@ -5090,8 +5093,8 @@ }, "object": { "type": "ThisExpression", - "start": 1618, - "end": 1622, + "start": 1607, + "end": 1611, "loc": { "start": { "line": 82, @@ -5105,8 +5108,8 @@ }, "property": { "type": "Identifier", - "start": 1623, - "end": 1629, + "start": 1612, + "end": 1618, "loc": { "start": { "line": 82, @@ -5124,8 +5127,8 @@ }, "property": { "type": "Identifier", - "start": 1630, - "end": 1631, + "start": 1619, + "end": 1620, "loc": { "start": { "line": 82, @@ -5143,8 +5146,8 @@ }, "property": { "type": "Identifier", - "start": 1633, - "end": 1640, + "start": 1622, + "end": 1629, "loc": { "start": { "line": 82, @@ -5163,8 +5166,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1641, - "end": 1662, + "start": 1630, + "end": 1651, "loc": { "start": { "line": 82, @@ -5177,8 +5180,8 @@ }, "object": { "type": "Identifier", - "start": 1641, - "end": 1648, + "start": 1630, + "end": 1637, "loc": { "start": { "line": 82, @@ -5194,8 +5197,8 @@ }, "property": { "type": "Identifier", - "start": 1649, - "end": 1662, + "start": 1638, + "end": 1651, "loc": { "start": { "line": 82, @@ -5213,8 +5216,8 @@ }, { "type": "Identifier", - "start": 1664, - "end": 1665, + "start": 1653, + "end": 1654, "loc": { "start": { "line": 82, @@ -5230,8 +5233,8 @@ }, { "type": "Identifier", - "start": 1667, - "end": 1668, + "start": 1656, + "end": 1657, "loc": { "start": { "line": 82, @@ -5249,8 +5252,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1671, - "end": 1787, + "start": 1660, + "end": 1776, "loc": { "start": { "line": 82, @@ -5264,8 +5267,8 @@ "body": [ { "type": "IfStatement", - "start": 1680, - "end": 1736, + "start": 1669, + "end": 1725, "loc": { "start": { "line": 84, @@ -5278,8 +5281,8 @@ }, "test": { "type": "MemberExpression", - "start": 1684, - "end": 1701, + "start": 1673, + "end": 1690, "loc": { "start": { "line": 84, @@ -5292,8 +5295,8 @@ }, "object": { "type": "Identifier", - "start": 1684, - "end": 1691, + "start": 1673, + "end": 1680, "loc": { "start": { "line": 84, @@ -5309,8 +5312,8 @@ }, "property": { "type": "Identifier", - "start": 1692, - "end": 1701, + "start": 1681, + "end": 1690, "loc": { "start": { "line": 84, @@ -5328,8 +5331,8 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 1711, - "end": 1736, + "start": 1700, + "end": 1725, "loc": { "start": { "line": 85, @@ -5342,8 +5345,8 @@ }, "expression": { "type": "CallExpression", - "start": 1711, - "end": 1735, + "start": 1700, + "end": 1724, "loc": { "start": { "line": 85, @@ -5356,8 +5359,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1711, - "end": 1722, + "start": 1700, + "end": 1711, "loc": { "start": { "line": 85, @@ -5370,8 +5373,8 @@ }, "object": { "type": "Identifier", - "start": 1711, - "end": 1718, + "start": 1700, + "end": 1707, "loc": { "start": { "line": 85, @@ -5387,8 +5390,8 @@ }, "property": { "type": "Identifier", - "start": 1719, - "end": 1722, + "start": 1708, + "end": 1711, "loc": { "start": { "line": 85, @@ -5407,8 +5410,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 1723, - "end": 1734, + "start": 1712, + "end": 1723, "loc": { "start": { "line": 85, @@ -5432,8 +5435,8 @@ }, { "type": "ExpressionStatement", - "start": 1744, - "end": 1781, + "start": 1733, + "end": 1770, "loc": { "start": { "line": 87, @@ -5446,8 +5449,8 @@ }, "expression": { "type": "CallExpression", - "start": 1744, - "end": 1780, + "start": 1733, + "end": 1769, "loc": { "start": { "line": 87, @@ -5460,8 +5463,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1744, - "end": 1778, + "start": 1733, + "end": 1767, "loc": { "start": { "line": 87, @@ -5474,8 +5477,8 @@ }, "object": { "type": "MemberExpression", - "start": 1744, - "end": 1758, + "start": 1733, + "end": 1747, "loc": { "start": { "line": 87, @@ -5488,8 +5491,8 @@ }, "object": { "type": "MemberExpression", - "start": 1744, - "end": 1755, + "start": 1733, + "end": 1744, "loc": { "start": { "line": 87, @@ -5502,8 +5505,8 @@ }, "object": { "type": "ThisExpression", - "start": 1744, - "end": 1748, + "start": 1733, + "end": 1737, "loc": { "start": { "line": 87, @@ -5517,8 +5520,8 @@ }, "property": { "type": "Identifier", - "start": 1749, - "end": 1755, + "start": 1738, + "end": 1744, "loc": { "start": { "line": 87, @@ -5536,8 +5539,8 @@ }, "property": { "type": "Identifier", - "start": 1756, - "end": 1757, + "start": 1745, + "end": 1746, "loc": { "start": { "line": 87, @@ -5555,8 +5558,8 @@ }, "property": { "type": "Identifier", - "start": 1759, - "end": 1778, + "start": 1748, + "end": 1767, "loc": { "start": { "line": 87, @@ -5580,8 +5583,8 @@ }, "alternate": { "type": "IfStatement", - "start": 1797, - "end": 2053, + "start": 1786, + "end": 2042, "loc": { "start": { "line": 89, @@ -5594,8 +5597,8 @@ }, "test": { "type": "CallExpression", - "start": 1801, - "end": 1852, + "start": 1790, + "end": 1841, "loc": { "start": { "line": 89, @@ -5608,8 +5611,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1801, - "end": 1823, + "start": 1790, + "end": 1812, "loc": { "start": { "line": 89, @@ -5622,8 +5625,8 @@ }, "object": { "type": "MemberExpression", - "start": 1801, - "end": 1815, + "start": 1790, + "end": 1804, "loc": { "start": { "line": 89, @@ -5636,8 +5639,8 @@ }, "object": { "type": "MemberExpression", - "start": 1801, - "end": 1812, + "start": 1790, + "end": 1801, "loc": { "start": { "line": 89, @@ -5650,8 +5653,8 @@ }, "object": { "type": "ThisExpression", - "start": 1801, - "end": 1805, + "start": 1790, + "end": 1794, "loc": { "start": { "line": 89, @@ -5665,8 +5668,8 @@ }, "property": { "type": "Identifier", - "start": 1806, - "end": 1812, + "start": 1795, + "end": 1801, "loc": { "start": { "line": 89, @@ -5684,8 +5687,8 @@ }, "property": { "type": "Identifier", - "start": 1813, - "end": 1814, + "start": 1802, + "end": 1803, "loc": { "start": { "line": 89, @@ -5703,8 +5706,8 @@ }, "property": { "type": "Identifier", - "start": 1816, - "end": 1823, + "start": 1805, + "end": 1812, "loc": { "start": { "line": 89, @@ -5723,8 +5726,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1824, - "end": 1845, + "start": 1813, + "end": 1834, "loc": { "start": { "line": 89, @@ -5737,8 +5740,8 @@ }, "object": { "type": "Identifier", - "start": 1824, - "end": 1831, + "start": 1813, + "end": 1820, "loc": { "start": { "line": 89, @@ -5754,8 +5757,8 @@ }, "property": { "type": "Identifier", - "start": 1832, - "end": 1845, + "start": 1821, + "end": 1834, "loc": { "start": { "line": 89, @@ -5773,8 +5776,8 @@ }, { "type": "Identifier", - "start": 1847, - "end": 1848, + "start": 1836, + "end": 1837, "loc": { "start": { "line": 89, @@ -5790,8 +5793,8 @@ }, { "type": "Identifier", - "start": 1850, - "end": 1851, + "start": 1839, + "end": 1840, "loc": { "start": { "line": 89, @@ -5809,8 +5812,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 1854, - "end": 2053, + "start": 1843, + "end": 2042, "loc": { "start": { "line": 89, @@ -5824,8 +5827,8 @@ "body": [ { "type": "IfStatement", - "start": 1863, - "end": 1942, + "start": 1852, + "end": 1931, "loc": { "start": { "line": 91, @@ -5838,8 +5841,8 @@ }, "test": { "type": "MemberExpression", - "start": 1867, - "end": 1884, + "start": 1856, + "end": 1873, "loc": { "start": { "line": 91, @@ -5852,8 +5855,8 @@ }, "object": { "type": "Identifier", - "start": 1867, - "end": 1874, + "start": 1856, + "end": 1863, "loc": { "start": { "line": 91, @@ -5869,8 +5872,8 @@ }, "property": { "type": "Identifier", - "start": 1875, - "end": 1884, + "start": 1864, + "end": 1873, "loc": { "start": { "line": 91, @@ -5888,8 +5891,8 @@ }, "consequent": { "type": "ExpressionStatement", - "start": 1894, - "end": 1942, + "start": 1883, + "end": 1931, "loc": { "start": { "line": 92, @@ -5902,8 +5905,8 @@ }, "expression": { "type": "CallExpression", - "start": 1894, - "end": 1941, + "start": 1883, + "end": 1930, "loc": { "start": { "line": 92, @@ -5916,8 +5919,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1894, - "end": 1905, + "start": 1883, + "end": 1894, "loc": { "start": { "line": 92, @@ -5930,8 +5933,8 @@ }, "object": { "type": "Identifier", - "start": 1894, - "end": 1901, + "start": 1883, + "end": 1890, "loc": { "start": { "line": 92, @@ -5947,8 +5950,8 @@ }, "property": { "type": "Identifier", - "start": 1902, - "end": 1905, + "start": 1891, + "end": 1894, "loc": { "start": { "line": 92, @@ -5967,8 +5970,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 1906, - "end": 1940, + "start": 1895, + "end": 1929, "loc": { "start": { "line": 92, @@ -5981,8 +5984,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1906, - "end": 1934, + "start": 1895, + "end": 1923, "loc": { "start": { "line": 92, @@ -5995,8 +5998,8 @@ }, "left": { "type": "BinaryExpression", - "start": 1906, - "end": 1930, + "start": 1895, + "end": 1919, "loc": { "start": { "line": 92, @@ -6009,8 +6012,8 @@ }, "left": { "type": "StringLiteral", - "start": 1906, - "end": 1917, + "start": 1895, + "end": 1906, "loc": { "start": { "line": 92, @@ -6030,8 +6033,8 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 1920, - "end": 1930, + "start": 1909, + "end": 1919, "loc": { "start": { "line": 92, @@ -6052,8 +6055,8 @@ "operator": "+", "right": { "type": "Identifier", - "start": 1933, - "end": 1934, + "start": 1922, + "end": 1923, "loc": { "start": { "line": 92, @@ -6071,8 +6074,8 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 1937, - "end": 1940, + "start": 1926, + "end": 1929, "loc": { "start": { "line": 92, @@ -6097,8 +6100,8 @@ }, { "type": "ExpressionStatement", - "start": 1950, - "end": 2047, + "start": 1939, + "end": 2036, "loc": { "start": { "line": 94, @@ -6111,8 +6114,8 @@ }, "expression": { "type": "CallExpression", - "start": 1950, - "end": 2046, + "start": 1939, + "end": 2035, "loc": { "start": { "line": 94, @@ -6125,8 +6128,8 @@ }, "callee": { "type": "MemberExpression", - "start": 1950, - "end": 1982, + "start": 1939, + "end": 1971, "loc": { "start": { "line": 94, @@ -6139,8 +6142,8 @@ }, "object": { "type": "MemberExpression", - "start": 1950, - "end": 1964, + "start": 1939, + "end": 1953, "loc": { "start": { "line": 94, @@ -6153,8 +6156,8 @@ }, "object": { "type": "MemberExpression", - "start": 1950, - "end": 1961, + "start": 1939, + "end": 1950, "loc": { "start": { "line": 94, @@ -6167,8 +6170,8 @@ }, "object": { "type": "ThisExpression", - "start": 1950, - "end": 1954, + "start": 1939, + "end": 1943, "loc": { "start": { "line": 94, @@ -6182,8 +6185,8 @@ }, "property": { "type": "Identifier", - "start": 1955, - "end": 1961, + "start": 1944, + "end": 1950, "loc": { "start": { "line": 94, @@ -6201,8 +6204,8 @@ }, "property": { "type": "Identifier", - "start": 1962, - "end": 1963, + "start": 1951, + "end": 1952, "loc": { "start": { "line": 94, @@ -6220,8 +6223,8 @@ }, "property": { "type": "Identifier", - "start": 1965, - "end": 1982, + "start": 1954, + "end": 1971, "loc": { "start": { "line": 94, @@ -6240,8 +6243,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 1983, - "end": 2012, + "start": 1972, + "end": 2001, "loc": { "start": { "line": 94, @@ -6254,8 +6257,8 @@ }, "object": { "type": "Identifier", - "start": 1983, - "end": 1990, + "start": 1972, + "end": 1979, "loc": { "start": { "line": 94, @@ -6271,8 +6274,8 @@ }, "property": { "type": "Identifier", - "start": 1991, - "end": 2012, + "start": 1980, + "end": 2001, "loc": { "start": { "line": 94, @@ -6290,8 +6293,8 @@ }, { "type": "MemberExpression", - "start": 2022, - "end": 2045, + "start": 2011, + "end": 2034, "loc": { "start": { "line": 95, @@ -6304,8 +6307,8 @@ }, "object": { "type": "Identifier", - "start": 2022, - "end": 2029, + "start": 2011, + "end": 2018, "loc": { "start": { "line": 95, @@ -6321,8 +6324,8 @@ }, "property": { "type": "Identifier", - "start": 2030, - "end": 2045, + "start": 2019, + "end": 2034, "loc": { "start": { "line": 95, @@ -6347,46 +6350,714 @@ "alternate": null } } - ], - "directives": [] + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 2050, + "end": 2062, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 99, + "column": 14 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 2057, + "end": 2061, + "loc": { + "start": { + "line": 99, + "column": 9 + }, + "end": { + "line": 99, + "column": 13 + } + }, + "value": true + } + } + ], + "directives": [] + } + } + } + }, + { + "type": "ExportNamedDeclaration", + "start": 2067, + "end": 2088, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 104, + "column": 1 + } + }, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 2077, + "end": 2085, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 10 + } + }, + "local": { + "type": "Identifier", + "start": 2077, + "end": 2085, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 10 + }, + "identifierName": "cManager" + }, + "name": "cManager" + }, + "exported": { + "type": "Identifier", + "start": 2077, + "end": 2085, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 10 + }, + "identifierName": "cManager" + }, + "name": "cManager" + } + } + ], + "source": null + }, + { + "type": "ExportNamedDeclaration", + "start": 2067, + "end": 2088, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 104, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 187, + "end": 390, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 196, + "end": 204, + "loc": { + "start": { + "line": 6, + "column": 9 + }, + "end": { + "line": 6, + "column": 17 + }, + "identifierName": "cManager" + }, + "name": "cManager" + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 207, + "end": 390, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 16, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 248, + "end": 265, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 248, + "end": 264, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 248, + "end": 259, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 248, + "end": 252, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 6 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 253, + "end": 259, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 13 + }, + "identifierName": "models" + }, + "name": "models" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ArrayExpression", + "start": 262, + "end": 264, + "loc": { + "start": { + "line": 9, + "column": 16 + }, + "end": { + "line": 9, + "column": 18 + } + }, + "elements": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " console.log(\"--> cManager()\");", + "start": 211, + "end": 244, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 35 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 268, + "end": 284, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 18 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 268, + "end": 283, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 17 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 268, + "end": 278, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 268, + "end": 272, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 273, + "end": 278, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 12 + }, + "identifierName": "count" + }, + "name": "count" + }, + "computed": false + }, + "right": { + "type": "UnaryExpression", + "start": 281, + "end": 283, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 17 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 282, + "end": 283, + "loc": { + "start": { + "line": 10, + "column": 16 + }, + "end": { + "line": 10, + "column": 17 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 287, + "end": 310, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 287, + "end": 309, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 287, + "end": 301, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 287, + "end": 291, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 292, + "end": 301, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 16 + }, + "identifierName": "reloadFlg" + }, + "name": "reloadFlg" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 304, + "end": 309, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 24 + } + }, + "value": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 314, + "end": 328, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 16 } }, - { - "type": "ReturnStatement", - "start": 2061, - "end": 2073, + "expression": { + "type": "CallExpression", + "start": 314, + "end": 327, "loc": { "start": { - "line": 99, + "line": 13, "column": 2 }, "end": { - "line": 99, - "column": 14 + "line": 13, + "column": 15 } }, - "argument": { - "type": "BooleanLiteral", - "start": 2068, - "end": 2072, + "callee": { + "type": "MemberExpression", + "start": 314, + "end": 325, "loc": { "start": { - "line": 99, - "column": 9 + "line": 13, + "column": 2 }, "end": { - "line": 99, + "line": 13, "column": 13 } }, - "value": true + "object": { + "type": "Identifier", + "start": 314, + "end": 320, + "loc": { + "start": { + "line": 13, + "column": 2 + }, + "end": { + "line": 13, + "column": 8 + }, + "identifierName": "Live2D" + }, + "name": "Live2D" + }, + "property": { + "type": "Identifier", + "start": 321, + "end": 325, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 13 + }, + "identifierName": "init" + }, + "name": "init" + }, + "computed": false + }, + "arguments": [] + } + }, + { + "type": "ExpressionStatement", + "start": 331, + "end": 387, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 58 } + }, + "expression": { + "type": "CallExpression", + "start": 331, + "end": 386, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 331, + "end": 365, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 331, + "end": 346, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 17 + }, + "identifierName": "Live2DFramework" + }, + "name": "Live2DFramework" + }, + "property": { + "type": "Identifier", + "start": 347, + "end": 365, + "loc": { + "start": { + "line": 14, + "column": 18 + }, + "end": { + "line": 14, + "column": 36 + }, + "identifierName": "setPlatformManager" + }, + "name": "setPlatformManager" + }, + "computed": false + }, + "arguments": [ + { + "type": "NewExpression", + "start": 366, + "end": 385, + "loc": { + "start": { + "line": 14, + "column": 37 + }, + "end": { + "line": 14, + "column": 56 + } + }, + "callee": { + "type": "Identifier", + "start": 370, + "end": 385, + "loc": { + "start": { + "line": 14, + "column": 41 + }, + "end": { + "line": 14, + "column": 56 + }, + "identifierName": "PlatformManager" + }, + "name": "PlatformManager" + }, + "arguments": [] + } + ] } - ], - "directives": [] - } - } - } + } + ], + "directives": [] + }, + "leadingComments": [], + "trailingComments": [] + }, + "specifiers": null, + "source": null, + "leadingComments": null } ], "directives": [] @@ -6395,8 +7066,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager()\");", - "start": 222, - "end": 255, + "start": 211, + "end": 244, "loc": { "start": { "line": 7, @@ -6411,8 +7082,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.update(gl)\");", - "start": 589, - "end": 631, + "start": 578, + "end": 620, "loc": { "start": { "line": 29, @@ -6427,8 +7098,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.getModel(\" + no + \")\");", - "start": 836, - "end": 888, + "start": 825, + "end": 877, "loc": { "start": { "line": 42, @@ -6443,8 +7114,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.releaseModel(\" + no + \")\");", - "start": 1024, - "end": 1080, + "start": 1013, + "end": 1069, "loc": { "start": { "line": 52, @@ -6617,34 +7288,86 @@ }, { "type": { - "label": ";", + "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": 57, + "end": 63, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 55, - "end": 56, + "start": 64, + "end": 65, "loc": { "start": { - "line": 1, - "column": 55 + "line": 2, + "column": 7 }, "end": { - "line": 1, - "column": 56 + "line": 2, + "column": 8 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6652,28 +7375,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 57, - "end": 63, + "value": "PlatformManager", + "start": 66, + "end": 81, "loc": { "start": { "line": 2, - "column": 0 + "column": 9 }, "end": { "line": 2, - "column": 6 + "column": 24 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6681,17 +7403,16 @@ "postfix": false, "binop": null }, - "value": "PlatformManager", - "start": 64, - "end": 79, + "start": 82, + "end": 83, "loc": { "start": { "line": 2, - "column": 7 + "column": 25 }, "end": { "line": 2, - "column": 22 + "column": 26 } } }, @@ -6708,16 +7429,16 @@ "binop": null }, "value": "from", - "start": 80, - "end": 84, + "start": 84, + "end": 88, "loc": { "start": { "line": 2, - "column": 23 + "column": 27 }, "end": { "line": 2, - "column": 27 + "column": 31 } } }, @@ -6735,16 +7456,16 @@ "updateContext": null }, "value": "./lib/PlatformManager", - "start": 85, - "end": 108, + "start": 89, + "end": 112, "loc": { "start": { "line": 2, - "column": 28 + "column": 32 }, "end": { "line": 2, - "column": 51 + "column": 55 } } }, @@ -6761,16 +7482,16 @@ "binop": null, "updateContext": null }, - "start": 108, - "end": 109, + "start": 112, + "end": 113, "loc": { "start": { "line": 2, - "column": 51 + "column": 55 }, "end": { "line": 2, - "column": 52 + "column": 56 } } }, @@ -6789,8 +7510,8 @@ "updateContext": null }, "value": "import", - "start": 110, - "end": 116, + "start": 114, + "end": 120, "loc": { "start": { "line": 3, @@ -6814,8 +7535,8 @@ "postfix": false, "binop": null }, - "start": 117, - "end": 118, + "start": 121, + "end": 122, "loc": { "start": { "line": 3, @@ -6840,8 +7561,8 @@ "binop": null }, "value": "cModel", - "start": 119, - "end": 125, + "start": 123, + "end": 129, "loc": { "start": { "line": 3, @@ -6865,8 +7586,8 @@ "postfix": false, "binop": null }, - "start": 126, - "end": 127, + "start": 130, + "end": 131, "loc": { "start": { "line": 3, @@ -6891,8 +7612,8 @@ "binop": null }, "value": "from", - "start": 128, - "end": 132, + "start": 132, + "end": 136, "loc": { "start": { "line": 3, @@ -6918,8 +7639,8 @@ "updateContext": null }, "value": "./cModel", - "start": 133, - "end": 143, + "start": 137, + "end": 147, "loc": { "start": { "line": 3, @@ -6944,8 +7665,8 @@ "binop": null, "updateContext": null }, - "start": 143, - "end": 144, + "start": 147, + "end": 148, "loc": { "start": { "line": 3, @@ -6972,8 +7693,8 @@ "updateContext": null }, "value": "import", - "start": 145, - "end": 151, + "start": 149, + "end": 155, "loc": { "start": { "line": 4, @@ -6997,8 +7718,8 @@ "postfix": false, "binop": null }, - "start": 152, - "end": 153, + "start": 156, + "end": 157, "loc": { "start": { "line": 4, @@ -7023,8 +7744,8 @@ "binop": null }, "value": "cDefine", - "start": 154, - "end": 161, + "start": 158, + "end": 165, "loc": { "start": { "line": 4, @@ -7048,8 +7769,8 @@ "postfix": false, "binop": null }, - "start": 162, - "end": 163, + "start": 166, + "end": 167, "loc": { "start": { "line": 4, @@ -7074,8 +7795,8 @@ "binop": null }, "value": "from", - "start": 164, - "end": 168, + "start": 168, + "end": 172, "loc": { "start": { "line": 4, @@ -7101,8 +7822,8 @@ "updateContext": null }, "value": "./cDefine", - "start": 169, - "end": 180, + "start": 173, + "end": 184, "loc": { "start": { "line": 4, @@ -7127,8 +7848,8 @@ "binop": null, "updateContext": null }, - "start": 180, - "end": 181, + "start": 184, + "end": 185, "loc": { "start": { "line": 4, @@ -7140,62 +7861,6 @@ } } }, - { - "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": 183, - "end": 189, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 6 - } - } - }, - { - "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "default", - "start": 190, - "end": 197, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, { "type": { "label": "function", @@ -7210,16 +7875,16 @@ "binop": null }, "value": "function", - "start": 198, - "end": 206, + "start": 187, + "end": 195, "loc": { "start": { "line": 6, - "column": 15 + "column": 0 }, "end": { "line": 6, - "column": 23 + "column": 8 } } }, @@ -7236,16 +7901,16 @@ "binop": null }, "value": "cManager", - "start": 207, - "end": 215, + "start": 196, + "end": 204, "loc": { "start": { "line": 6, - "column": 24 + "column": 9 }, "end": { "line": 6, - "column": 32 + "column": 17 } } }, @@ -7261,16 +7926,16 @@ "postfix": false, "binop": null }, - "start": 215, - "end": 216, + "start": 204, + "end": 205, "loc": { "start": { "line": 6, - "column": 32 + "column": 17 }, "end": { "line": 6, - "column": 33 + "column": 18 } } }, @@ -7286,16 +7951,16 @@ "postfix": false, "binop": null }, - "start": 216, - "end": 217, + "start": 205, + "end": 206, "loc": { "start": { "line": 6, - "column": 33 + "column": 18 }, "end": { "line": 6, - "column": 34 + "column": 19 } } }, @@ -7311,24 +7976,24 @@ "postfix": false, "binop": null }, - "start": 218, - "end": 219, + "start": 207, + "end": 208, "loc": { "start": { "line": 6, - "column": 35 + "column": 20 }, "end": { "line": 6, - "column": 36 + "column": 21 } } }, { "type": "CommentLine", "value": " console.log(\"--> cManager()\");", - "start": 222, - "end": 255, + "start": 211, + "end": 244, "loc": { "start": { "line": 7, @@ -7355,8 +8020,8 @@ "updateContext": null }, "value": "this", - "start": 259, - "end": 263, + "start": 248, + "end": 252, "loc": { "start": { "line": 9, @@ -7381,8 +8046,8 @@ "binop": null, "updateContext": null }, - "start": 263, - "end": 264, + "start": 252, + "end": 253, "loc": { "start": { "line": 9, @@ -7407,8 +8072,8 @@ "binop": null }, "value": "models", - "start": 264, - "end": 270, + "start": 253, + "end": 259, "loc": { "start": { "line": 9, @@ -7434,8 +8099,8 @@ "updateContext": null }, "value": "=", - "start": 271, - "end": 272, + "start": 260, + "end": 261, "loc": { "start": { "line": 9, @@ -7460,8 +8125,8 @@ "binop": null, "updateContext": null }, - "start": 273, - "end": 274, + "start": 262, + "end": 263, "loc": { "start": { "line": 9, @@ -7486,8 +8151,8 @@ "binop": null, "updateContext": null }, - "start": 274, - "end": 275, + "start": 263, + "end": 264, "loc": { "start": { "line": 9, @@ -7512,8 +8177,8 @@ "binop": null, "updateContext": null }, - "start": 275, - "end": 276, + "start": 264, + "end": 265, "loc": { "start": { "line": 9, @@ -7540,8 +8205,8 @@ "updateContext": null }, "value": "this", - "start": 279, - "end": 283, + "start": 268, + "end": 272, "loc": { "start": { "line": 10, @@ -7566,8 +8231,8 @@ "binop": null, "updateContext": null }, - "start": 283, - "end": 284, + "start": 272, + "end": 273, "loc": { "start": { "line": 10, @@ -7592,8 +8257,8 @@ "binop": null }, "value": "count", - "start": 284, - "end": 289, + "start": 273, + "end": 278, "loc": { "start": { "line": 10, @@ -7619,8 +8284,8 @@ "updateContext": null }, "value": "=", - "start": 290, - "end": 291, + "start": 279, + "end": 280, "loc": { "start": { "line": 10, @@ -7646,8 +8311,8 @@ "updateContext": null }, "value": "-", - "start": 292, - "end": 293, + "start": 281, + "end": 282, "loc": { "start": { "line": 10, @@ -7673,8 +8338,8 @@ "updateContext": null }, "value": 1, - "start": 293, - "end": 294, + "start": 282, + "end": 283, "loc": { "start": { "line": 10, @@ -7699,8 +8364,8 @@ "binop": null, "updateContext": null }, - "start": 294, - "end": 295, + "start": 283, + "end": 284, "loc": { "start": { "line": 10, @@ -7727,8 +8392,8 @@ "updateContext": null }, "value": "this", - "start": 298, - "end": 302, + "start": 287, + "end": 291, "loc": { "start": { "line": 11, @@ -7753,8 +8418,8 @@ "binop": null, "updateContext": null }, - "start": 302, - "end": 303, + "start": 291, + "end": 292, "loc": { "start": { "line": 11, @@ -7779,8 +8444,8 @@ "binop": null }, "value": "reloadFlg", - "start": 303, - "end": 312, + "start": 292, + "end": 301, "loc": { "start": { "line": 11, @@ -7806,8 +8471,8 @@ "updateContext": null }, "value": "=", - "start": 313, - "end": 314, + "start": 302, + "end": 303, "loc": { "start": { "line": 11, @@ -7834,8 +8499,8 @@ "updateContext": null }, "value": "false", - "start": 315, - "end": 320, + "start": 304, + "end": 309, "loc": { "start": { "line": 11, @@ -7860,8 +8525,8 @@ "binop": null, "updateContext": null }, - "start": 320, - "end": 321, + "start": 309, + "end": 310, "loc": { "start": { "line": 11, @@ -7886,8 +8551,8 @@ "binop": null }, "value": "Live2D", - "start": 325, - "end": 331, + "start": 314, + "end": 320, "loc": { "start": { "line": 13, @@ -7912,8 +8577,8 @@ "binop": null, "updateContext": null }, - "start": 331, - "end": 332, + "start": 320, + "end": 321, "loc": { "start": { "line": 13, @@ -7938,8 +8603,8 @@ "binop": null }, "value": "init", - "start": 332, - "end": 336, + "start": 321, + "end": 325, "loc": { "start": { "line": 13, @@ -7963,8 +8628,8 @@ "postfix": false, "binop": null }, - "start": 336, - "end": 337, + "start": 325, + "end": 326, "loc": { "start": { "line": 13, @@ -7988,8 +8653,8 @@ "postfix": false, "binop": null }, - "start": 337, - "end": 338, + "start": 326, + "end": 327, "loc": { "start": { "line": 13, @@ -8014,8 +8679,8 @@ "binop": null, "updateContext": null }, - "start": 338, - "end": 339, + "start": 327, + "end": 328, "loc": { "start": { "line": 13, @@ -8040,8 +8705,8 @@ "binop": null }, "value": "Live2DFramework", - "start": 342, - "end": 357, + "start": 331, + "end": 346, "loc": { "start": { "line": 14, @@ -8066,8 +8731,8 @@ "binop": null, "updateContext": null }, - "start": 357, - "end": 358, + "start": 346, + "end": 347, "loc": { "start": { "line": 14, @@ -8092,8 +8757,8 @@ "binop": null }, "value": "setPlatformManager", - "start": 358, - "end": 376, + "start": 347, + "end": 365, "loc": { "start": { "line": 14, @@ -8117,8 +8782,8 @@ "postfix": false, "binop": null }, - "start": 376, - "end": 377, + "start": 365, + "end": 366, "loc": { "start": { "line": 14, @@ -8145,8 +8810,8 @@ "updateContext": null }, "value": "new", - "start": 377, - "end": 380, + "start": 366, + "end": 369, "loc": { "start": { "line": 14, @@ -8171,8 +8836,8 @@ "binop": null }, "value": "PlatformManager", - "start": 381, - "end": 396, + "start": 370, + "end": 385, "loc": { "start": { "line": 14, @@ -8196,8 +8861,8 @@ "postfix": false, "binop": null }, - "start": 396, - "end": 397, + "start": 385, + "end": 386, "loc": { "start": { "line": 14, @@ -8222,8 +8887,8 @@ "binop": null, "updateContext": null }, - "start": 397, - "end": 398, + "start": 386, + "end": 387, "loc": { "start": { "line": 14, @@ -8247,8 +8912,8 @@ "postfix": false, "binop": null }, - "start": 400, - "end": 401, + "start": 389, + "end": 390, "loc": { "start": { "line": 16, @@ -8273,8 +8938,8 @@ "binop": null }, "value": "cManager", - "start": 403, - "end": 411, + "start": 392, + "end": 400, "loc": { "start": { "line": 18, @@ -8299,8 +8964,8 @@ "binop": null, "updateContext": null }, - "start": 411, - "end": 412, + "start": 400, + "end": 401, "loc": { "start": { "line": 18, @@ -8325,8 +8990,8 @@ "binop": null }, "value": "prototype", - "start": 412, - "end": 421, + "start": 401, + "end": 410, "loc": { "start": { "line": 18, @@ -8351,8 +9016,8 @@ "binop": null, "updateContext": null }, - "start": 421, - "end": 422, + "start": 410, + "end": 411, "loc": { "start": { "line": 18, @@ -8377,8 +9042,8 @@ "binop": null }, "value": "createModel", - "start": 422, - "end": 433, + "start": 411, + "end": 422, "loc": { "start": { "line": 18, @@ -8404,8 +9069,8 @@ "updateContext": null }, "value": "=", - "start": 434, - "end": 435, + "start": 423, + "end": 424, "loc": { "start": { "line": 18, @@ -8431,8 +9096,8 @@ "binop": null }, "value": "function", - "start": 436, - "end": 444, + "start": 425, + "end": 433, "loc": { "start": { "line": 18, @@ -8456,8 +9121,8 @@ "postfix": false, "binop": null }, - "start": 445, - "end": 446, + "start": 434, + "end": 435, "loc": { "start": { "line": 18, @@ -8481,8 +9146,8 @@ "postfix": false, "binop": null }, - "start": 446, - "end": 447, + "start": 435, + "end": 436, "loc": { "start": { "line": 18, @@ -8506,8 +9171,8 @@ "postfix": false, "binop": null }, - "start": 448, - "end": 449, + "start": 437, + "end": 438, "loc": { "start": { "line": 18, @@ -8534,8 +9199,8 @@ "updateContext": null }, "value": "var", - "start": 453, - "end": 456, + "start": 442, + "end": 445, "loc": { "start": { "line": 20, @@ -8560,8 +9225,8 @@ "binop": null }, "value": "model", - "start": 457, - "end": 462, + "start": 446, + "end": 451, "loc": { "start": { "line": 20, @@ -8587,8 +9252,8 @@ "updateContext": null }, "value": "=", - "start": 463, - "end": 464, + "start": 452, + "end": 453, "loc": { "start": { "line": 20, @@ -8615,8 +9280,8 @@ "updateContext": null }, "value": "new", - "start": 465, - "end": 468, + "start": 454, + "end": 457, "loc": { "start": { "line": 20, @@ -8641,8 +9306,8 @@ "binop": null }, "value": "cModel", - "start": 469, - "end": 475, + "start": 458, + "end": 464, "loc": { "start": { "line": 20, @@ -8666,8 +9331,8 @@ "postfix": false, "binop": null }, - "start": 475, - "end": 476, + "start": 464, + "end": 465, "loc": { "start": { "line": 20, @@ -8691,8 +9356,8 @@ "postfix": false, "binop": null }, - "start": 476, - "end": 477, + "start": 465, + "end": 466, "loc": { "start": { "line": 20, @@ -8717,8 +9382,8 @@ "binop": null, "updateContext": null }, - "start": 477, - "end": 478, + "start": 466, + "end": 467, "loc": { "start": { "line": 20, @@ -8745,8 +9410,8 @@ "updateContext": null }, "value": "this", - "start": 481, - "end": 485, + "start": 470, + "end": 474, "loc": { "start": { "line": 21, @@ -8771,8 +9436,8 @@ "binop": null, "updateContext": null }, - "start": 485, - "end": 486, + "start": 474, + "end": 475, "loc": { "start": { "line": 21, @@ -8797,8 +9462,8 @@ "binop": null }, "value": "models", - "start": 486, - "end": 492, + "start": 475, + "end": 481, "loc": { "start": { "line": 21, @@ -8823,8 +9488,8 @@ "binop": null, "updateContext": null }, - "start": 492, - "end": 493, + "start": 481, + "end": 482, "loc": { "start": { "line": 21, @@ -8849,8 +9514,8 @@ "binop": null }, "value": "push", - "start": 493, - "end": 497, + "start": 482, + "end": 486, "loc": { "start": { "line": 21, @@ -8874,8 +9539,8 @@ "postfix": false, "binop": null }, - "start": 497, - "end": 498, + "start": 486, + "end": 487, "loc": { "start": { "line": 21, @@ -8900,8 +9565,8 @@ "binop": null }, "value": "model", - "start": 498, - "end": 503, + "start": 487, + "end": 492, "loc": { "start": { "line": 21, @@ -8925,8 +9590,8 @@ "postfix": false, "binop": null }, - "start": 503, - "end": 504, + "start": 492, + "end": 493, "loc": { "start": { "line": 21, @@ -8951,8 +9616,8 @@ "binop": null, "updateContext": null }, - "start": 504, - "end": 505, + "start": 493, + "end": 494, "loc": { "start": { "line": 21, @@ -8979,8 +9644,8 @@ "updateContext": null }, "value": "return", - "start": 509, - "end": 515, + "start": 498, + "end": 504, "loc": { "start": { "line": 23, @@ -9005,8 +9670,8 @@ "binop": null }, "value": "model", - "start": 516, - "end": 521, + "start": 505, + "end": 510, "loc": { "start": { "line": 23, @@ -9031,8 +9696,8 @@ "binop": null, "updateContext": null }, - "start": 521, - "end": 522, + "start": 510, + "end": 511, "loc": { "start": { "line": 23, @@ -9056,8 +9721,8 @@ "postfix": false, "binop": null }, - "start": 524, - "end": 525, + "start": 513, + "end": 514, "loc": { "start": { "line": 25, @@ -9082,8 +9747,8 @@ "binop": null }, "value": "cManager", - "start": 528, - "end": 536, + "start": 517, + "end": 525, "loc": { "start": { "line": 28, @@ -9108,8 +9773,8 @@ "binop": null, "updateContext": null }, - "start": 536, - "end": 537, + "start": 525, + "end": 526, "loc": { "start": { "line": 28, @@ -9134,8 +9799,8 @@ "binop": null }, "value": "prototype", - "start": 537, - "end": 546, + "start": 526, + "end": 535, "loc": { "start": { "line": 28, @@ -9160,8 +9825,8 @@ "binop": null, "updateContext": null }, - "start": 546, - "end": 547, + "start": 535, + "end": 536, "loc": { "start": { "line": 28, @@ -9186,8 +9851,8 @@ "binop": null }, "value": "changeModel", - "start": 547, - "end": 558, + "start": 536, + "end": 547, "loc": { "start": { "line": 28, @@ -9213,8 +9878,8 @@ "updateContext": null }, "value": "=", - "start": 559, - "end": 560, + "start": 548, + "end": 549, "loc": { "start": { "line": 28, @@ -9240,8 +9905,8 @@ "binop": null }, "value": "function", - "start": 561, - "end": 569, + "start": 550, + "end": 558, "loc": { "start": { "line": 28, @@ -9265,8 +9930,8 @@ "postfix": false, "binop": null }, - "start": 570, - "end": 571, + "start": 559, + "end": 560, "loc": { "start": { "line": 28, @@ -9291,8 +9956,8 @@ "binop": null }, "value": "gl", - "start": 571, - "end": 573, + "start": 560, + "end": 562, "loc": { "start": { "line": 28, @@ -9317,8 +9982,8 @@ "binop": null, "updateContext": null }, - "start": 573, - "end": 574, + "start": 562, + "end": 563, "loc": { "start": { "line": 28, @@ -9343,8 +10008,8 @@ "binop": null }, "value": "modelurl", - "start": 575, - "end": 583, + "start": 564, + "end": 572, "loc": { "start": { "line": 28, @@ -9368,8 +10033,8 @@ "postfix": false, "binop": null }, - "start": 583, - "end": 584, + "start": 572, + "end": 573, "loc": { "start": { "line": 28, @@ -9393,8 +10058,8 @@ "postfix": false, "binop": null }, - "start": 585, - "end": 586, + "start": 574, + "end": 575, "loc": { "start": { "line": 28, @@ -9409,8 +10074,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.update(gl)\");", - "start": 589, - "end": 631, + "start": 578, + "end": 620, "loc": { "start": { "line": 29, @@ -9437,8 +10102,8 @@ "updateContext": null }, "value": "if", - "start": 635, - "end": 637, + "start": 624, + "end": 626, "loc": { "start": { "line": 31, @@ -9462,8 +10127,8 @@ "postfix": false, "binop": null }, - "start": 638, - "end": 639, + "start": 627, + "end": 628, "loc": { "start": { "line": 31, @@ -9490,8 +10155,8 @@ "updateContext": null }, "value": "this", - "start": 639, - "end": 643, + "start": 628, + "end": 632, "loc": { "start": { "line": 31, @@ -9516,8 +10181,8 @@ "binop": null, "updateContext": null }, - "start": 643, - "end": 644, + "start": 632, + "end": 633, "loc": { "start": { "line": 31, @@ -9542,8 +10207,8 @@ "binop": null }, "value": "reloadFlg", - "start": 644, - "end": 653, + "start": 633, + "end": 642, "loc": { "start": { "line": 31, @@ -9567,8 +10232,8 @@ "postfix": false, "binop": null }, - "start": 653, - "end": 654, + "start": 642, + "end": 643, "loc": { "start": { "line": 31, @@ -9592,8 +10257,8 @@ "postfix": false, "binop": null }, - "start": 655, - "end": 656, + "start": 644, + "end": 645, "loc": { "start": { "line": 31, @@ -9620,8 +10285,8 @@ "updateContext": null }, "value": "this", - "start": 661, - "end": 665, + "start": 650, + "end": 654, "loc": { "start": { "line": 32, @@ -9646,8 +10311,8 @@ "binop": null, "updateContext": null }, - "start": 665, - "end": 666, + "start": 654, + "end": 655, "loc": { "start": { "line": 32, @@ -9672,8 +10337,8 @@ "binop": null }, "value": "reloadFlg", - "start": 666, - "end": 675, + "start": 655, + "end": 664, "loc": { "start": { "line": 32, @@ -9699,8 +10364,8 @@ "updateContext": null }, "value": "=", - "start": 676, - "end": 677, + "start": 665, + "end": 666, "loc": { "start": { "line": 32, @@ -9727,8 +10392,8 @@ "updateContext": null }, "value": "false", - "start": 678, - "end": 683, + "start": 667, + "end": 672, "loc": { "start": { "line": 32, @@ -9753,8 +10418,8 @@ "binop": null, "updateContext": null }, - "start": 683, - "end": 684, + "start": 672, + "end": 673, "loc": { "start": { "line": 32, @@ -9781,8 +10446,8 @@ "updateContext": null }, "value": "this", - "start": 689, - "end": 693, + "start": 678, + "end": 682, "loc": { "start": { "line": 33, @@ -9807,8 +10472,8 @@ "binop": null, "updateContext": null }, - "start": 693, - "end": 694, + "start": 682, + "end": 683, "loc": { "start": { "line": 33, @@ -9833,8 +10498,8 @@ "binop": null }, "value": "releaseModel", - "start": 694, - "end": 706, + "start": 683, + "end": 695, "loc": { "start": { "line": 33, @@ -9858,8 +10523,8 @@ "postfix": false, "binop": null }, - "start": 706, - "end": 707, + "start": 695, + "end": 696, "loc": { "start": { "line": 33, @@ -9885,8 +10550,8 @@ "updateContext": null }, "value": 0, - "start": 707, - "end": 708, + "start": 696, + "end": 697, "loc": { "start": { "line": 33, @@ -9911,8 +10576,8 @@ "binop": null, "updateContext": null }, - "start": 708, - "end": 709, + "start": 697, + "end": 698, "loc": { "start": { "line": 33, @@ -9937,8 +10602,8 @@ "binop": null }, "value": "gl", - "start": 710, - "end": 712, + "start": 699, + "end": 701, "loc": { "start": { "line": 33, @@ -9962,8 +10627,8 @@ "postfix": false, "binop": null }, - "start": 712, - "end": 713, + "start": 701, + "end": 702, "loc": { "start": { "line": 33, @@ -9988,8 +10653,8 @@ "binop": null, "updateContext": null }, - "start": 713, - "end": 714, + "start": 702, + "end": 703, "loc": { "start": { "line": 33, @@ -10016,8 +10681,8 @@ "updateContext": null }, "value": "this", - "start": 719, - "end": 723, + "start": 708, + "end": 712, "loc": { "start": { "line": 34, @@ -10042,8 +10707,8 @@ "binop": null, "updateContext": null }, - "start": 723, - "end": 724, + "start": 712, + "end": 713, "loc": { "start": { "line": 34, @@ -10068,8 +10733,8 @@ "binop": null }, "value": "createModel", - "start": 724, - "end": 735, + "start": 713, + "end": 724, "loc": { "start": { "line": 34, @@ -10093,8 +10758,8 @@ "postfix": false, "binop": null }, - "start": 735, - "end": 736, + "start": 724, + "end": 725, "loc": { "start": { "line": 34, @@ -10118,8 +10783,8 @@ "postfix": false, "binop": null }, - "start": 736, - "end": 737, + "start": 725, + "end": 726, "loc": { "start": { "line": 34, @@ -10144,8 +10809,8 @@ "binop": null, "updateContext": null }, - "start": 737, - "end": 738, + "start": 726, + "end": 727, "loc": { "start": { "line": 34, @@ -10172,8 +10837,8 @@ "updateContext": null }, "value": "this", - "start": 743, - "end": 747, + "start": 732, + "end": 736, "loc": { "start": { "line": 35, @@ -10198,8 +10863,8 @@ "binop": null, "updateContext": null }, - "start": 747, - "end": 748, + "start": 736, + "end": 737, "loc": { "start": { "line": 35, @@ -10224,8 +10889,8 @@ "binop": null }, "value": "models", - "start": 748, - "end": 754, + "start": 737, + "end": 743, "loc": { "start": { "line": 35, @@ -10250,8 +10915,8 @@ "binop": null, "updateContext": null }, - "start": 754, - "end": 755, + "start": 743, + "end": 744, "loc": { "start": { "line": 35, @@ -10277,8 +10942,8 @@ "updateContext": null }, "value": 0, - "start": 755, - "end": 756, + "start": 744, + "end": 745, "loc": { "start": { "line": 35, @@ -10303,8 +10968,8 @@ "binop": null, "updateContext": null }, - "start": 756, - "end": 757, + "start": 745, + "end": 746, "loc": { "start": { "line": 35, @@ -10329,8 +10994,8 @@ "binop": null, "updateContext": null }, - "start": 757, - "end": 758, + "start": 746, + "end": 747, "loc": { "start": { "line": 35, @@ -10355,8 +11020,8 @@ "binop": null }, "value": "load", - "start": 758, - "end": 762, + "start": 747, + "end": 751, "loc": { "start": { "line": 35, @@ -10380,8 +11045,8 @@ "postfix": false, "binop": null }, - "start": 762, - "end": 763, + "start": 751, + "end": 752, "loc": { "start": { "line": 35, @@ -10406,8 +11071,8 @@ "binop": null }, "value": "gl", - "start": 763, - "end": 765, + "start": 752, + "end": 754, "loc": { "start": { "line": 35, @@ -10432,8 +11097,8 @@ "binop": null, "updateContext": null }, - "start": 765, - "end": 766, + "start": 754, + "end": 755, "loc": { "start": { "line": 35, @@ -10458,8 +11123,8 @@ "binop": null }, "value": "modelurl", - "start": 767, - "end": 775, + "start": 756, + "end": 764, "loc": { "start": { "line": 35, @@ -10483,8 +11148,8 @@ "postfix": false, "binop": null }, - "start": 775, - "end": 776, + "start": 764, + "end": 765, "loc": { "start": { "line": 35, @@ -10509,8 +11174,8 @@ "binop": null, "updateContext": null }, - "start": 776, - "end": 777, + "start": 765, + "end": 766, "loc": { "start": { "line": 35, @@ -10534,8 +11199,8 @@ "postfix": false, "binop": null }, - "start": 780, - "end": 781, + "start": 769, + "end": 770, "loc": { "start": { "line": 36, @@ -10559,8 +11224,8 @@ "postfix": false, "binop": null }, - "start": 783, - "end": 784, + "start": 772, + "end": 773, "loc": { "start": { "line": 38, @@ -10585,8 +11250,8 @@ "binop": null, "updateContext": null }, - "start": 784, - "end": 785, + "start": 773, + "end": 774, "loc": { "start": { "line": 38, @@ -10611,8 +11276,8 @@ "binop": null }, "value": "cManager", - "start": 788, - "end": 796, + "start": 777, + "end": 785, "loc": { "start": { "line": 41, @@ -10637,8 +11302,8 @@ "binop": null, "updateContext": null }, - "start": 796, - "end": 797, + "start": 785, + "end": 786, "loc": { "start": { "line": 41, @@ -10663,8 +11328,8 @@ "binop": null }, "value": "prototype", - "start": 797, - "end": 806, + "start": 786, + "end": 795, "loc": { "start": { "line": 41, @@ -10689,8 +11354,8 @@ "binop": null, "updateContext": null }, - "start": 806, - "end": 807, + "start": 795, + "end": 796, "loc": { "start": { "line": 41, @@ -10715,8 +11380,8 @@ "binop": null }, "value": "getModel", - "start": 807, - "end": 815, + "start": 796, + "end": 804, "loc": { "start": { "line": 41, @@ -10742,8 +11407,8 @@ "updateContext": null }, "value": "=", - "start": 816, - "end": 817, + "start": 805, + "end": 806, "loc": { "start": { "line": 41, @@ -10769,8 +11434,8 @@ "binop": null }, "value": "function", - "start": 818, - "end": 826, + "start": 807, + "end": 815, "loc": { "start": { "line": 41, @@ -10794,8 +11459,8 @@ "postfix": false, "binop": null }, - "start": 827, - "end": 828, + "start": 816, + "end": 817, "loc": { "start": { "line": 41, @@ -10820,8 +11485,8 @@ "binop": null }, "value": "no", - "start": 828, - "end": 830, + "start": 817, + "end": 819, "loc": { "start": { "line": 41, @@ -10845,8 +11510,8 @@ "postfix": false, "binop": null }, - "start": 830, - "end": 831, + "start": 819, + "end": 820, "loc": { "start": { "line": 41, @@ -10870,8 +11535,8 @@ "postfix": false, "binop": null }, - "start": 832, - "end": 833, + "start": 821, + "end": 822, "loc": { "start": { "line": 41, @@ -10886,8 +11551,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.getModel(\" + no + \")\");", - "start": 836, - "end": 888, + "start": 825, + "end": 877, "loc": { "start": { "line": 42, @@ -10914,8 +11579,8 @@ "updateContext": null }, "value": "if", - "start": 892, - "end": 894, + "start": 881, + "end": 883, "loc": { "start": { "line": 44, @@ -10939,8 +11604,8 @@ "postfix": false, "binop": null }, - "start": 895, - "end": 896, + "start": 884, + "end": 885, "loc": { "start": { "line": 44, @@ -10965,8 +11630,8 @@ "binop": null }, "value": "no", - "start": 896, - "end": 898, + "start": 885, + "end": 887, "loc": { "start": { "line": 44, @@ -10992,8 +11657,8 @@ "updateContext": null }, "value": ">=", - "start": 899, - "end": 901, + "start": 888, + "end": 890, "loc": { "start": { "line": 44, @@ -11020,8 +11685,8 @@ "updateContext": null }, "value": "this", - "start": 902, - "end": 906, + "start": 891, + "end": 895, "loc": { "start": { "line": 44, @@ -11046,8 +11711,8 @@ "binop": null, "updateContext": null }, - "start": 906, - "end": 907, + "start": 895, + "end": 896, "loc": { "start": { "line": 44, @@ -11072,8 +11737,8 @@ "binop": null }, "value": "models", - "start": 907, - "end": 913, + "start": 896, + "end": 902, "loc": { "start": { "line": 44, @@ -11098,8 +11763,8 @@ "binop": null, "updateContext": null }, - "start": 913, - "end": 914, + "start": 902, + "end": 903, "loc": { "start": { "line": 44, @@ -11124,8 +11789,8 @@ "binop": null }, "value": "length", - "start": 914, - "end": 920, + "start": 903, + "end": 909, "loc": { "start": { "line": 44, @@ -11149,8 +11814,8 @@ "postfix": false, "binop": null }, - "start": 920, - "end": 921, + "start": 909, + "end": 910, "loc": { "start": { "line": 44, @@ -11177,8 +11842,8 @@ "updateContext": null }, "value": "return", - "start": 922, - "end": 928, + "start": 911, + "end": 917, "loc": { "start": { "line": 44, @@ -11205,8 +11870,8 @@ "updateContext": null }, "value": "null", - "start": 929, - "end": 933, + "start": 918, + "end": 922, "loc": { "start": { "line": 44, @@ -11231,8 +11896,8 @@ "binop": null, "updateContext": null }, - "start": 933, - "end": 934, + "start": 922, + "end": 923, "loc": { "start": { "line": 44, @@ -11259,8 +11924,8 @@ "updateContext": null }, "value": "return", - "start": 938, - "end": 944, + "start": 927, + "end": 933, "loc": { "start": { "line": 46, @@ -11287,8 +11952,8 @@ "updateContext": null }, "value": "this", - "start": 945, - "end": 949, + "start": 934, + "end": 938, "loc": { "start": { "line": 46, @@ -11313,8 +11978,8 @@ "binop": null, "updateContext": null }, - "start": 949, - "end": 950, + "start": 938, + "end": 939, "loc": { "start": { "line": 46, @@ -11339,8 +12004,8 @@ "binop": null }, "value": "models", - "start": 950, - "end": 956, + "start": 939, + "end": 945, "loc": { "start": { "line": 46, @@ -11365,8 +12030,8 @@ "binop": null, "updateContext": null }, - "start": 956, - "end": 957, + "start": 945, + "end": 946, "loc": { "start": { "line": 46, @@ -11391,8 +12056,8 @@ "binop": null }, "value": "no", - "start": 957, - "end": 959, + "start": 946, + "end": 948, "loc": { "start": { "line": 46, @@ -11417,8 +12082,8 @@ "binop": null, "updateContext": null }, - "start": 959, - "end": 960, + "start": 948, + "end": 949, "loc": { "start": { "line": 46, @@ -11443,8 +12108,8 @@ "binop": null, "updateContext": null }, - "start": 960, - "end": 961, + "start": 949, + "end": 950, "loc": { "start": { "line": 46, @@ -11468,8 +12133,8 @@ "postfix": false, "binop": null }, - "start": 962, - "end": 963, + "start": 951, + "end": 952, "loc": { "start": { "line": 47, @@ -11494,8 +12159,8 @@ "binop": null, "updateContext": null }, - "start": 963, - "end": 964, + "start": 952, + "end": 953, "loc": { "start": { "line": 47, @@ -11520,8 +12185,8 @@ "binop": null }, "value": "cManager", - "start": 968, - "end": 976, + "start": 957, + "end": 965, "loc": { "start": { "line": 51, @@ -11546,8 +12211,8 @@ "binop": null, "updateContext": null }, - "start": 976, - "end": 977, + "start": 965, + "end": 966, "loc": { "start": { "line": 51, @@ -11572,8 +12237,8 @@ "binop": null }, "value": "prototype", - "start": 977, - "end": 986, + "start": 966, + "end": 975, "loc": { "start": { "line": 51, @@ -11598,8 +12263,8 @@ "binop": null, "updateContext": null }, - "start": 986, - "end": 987, + "start": 975, + "end": 976, "loc": { "start": { "line": 51, @@ -11624,8 +12289,8 @@ "binop": null }, "value": "releaseModel", - "start": 987, - "end": 999, + "start": 976, + "end": 988, "loc": { "start": { "line": 51, @@ -11651,8 +12316,8 @@ "updateContext": null }, "value": "=", - "start": 1000, - "end": 1001, + "start": 989, + "end": 990, "loc": { "start": { "line": 51, @@ -11678,8 +12343,8 @@ "binop": null }, "value": "function", - "start": 1002, - "end": 1010, + "start": 991, + "end": 999, "loc": { "start": { "line": 51, @@ -11703,8 +12368,8 @@ "postfix": false, "binop": null }, - "start": 1011, - "end": 1012, + "start": 1000, + "end": 1001, "loc": { "start": { "line": 51, @@ -11729,8 +12394,8 @@ "binop": null }, "value": "no", - "start": 1012, - "end": 1014, + "start": 1001, + "end": 1003, "loc": { "start": { "line": 51, @@ -11755,8 +12420,8 @@ "binop": null, "updateContext": null }, - "start": 1014, - "end": 1015, + "start": 1003, + "end": 1004, "loc": { "start": { "line": 51, @@ -11781,8 +12446,8 @@ "binop": null }, "value": "gl", - "start": 1016, - "end": 1018, + "start": 1005, + "end": 1007, "loc": { "start": { "line": 51, @@ -11806,8 +12471,8 @@ "postfix": false, "binop": null }, - "start": 1018, - "end": 1019, + "start": 1007, + "end": 1008, "loc": { "start": { "line": 51, @@ -11831,8 +12496,8 @@ "postfix": false, "binop": null }, - "start": 1020, - "end": 1021, + "start": 1009, + "end": 1010, "loc": { "start": { "line": 51, @@ -11847,8 +12512,8 @@ { "type": "CommentLine", "value": " console.log(\"--> cManager.releaseModel(\" + no + \")\");", - "start": 1024, - "end": 1080, + "start": 1013, + "end": 1069, "loc": { "start": { "line": 52, @@ -11875,8 +12540,8 @@ "updateContext": null }, "value": "if", - "start": 1084, - "end": 1086, + "start": 1073, + "end": 1075, "loc": { "start": { "line": 54, @@ -11900,8 +12565,8 @@ "postfix": false, "binop": null }, - "start": 1087, - "end": 1088, + "start": 1076, + "end": 1077, "loc": { "start": { "line": 54, @@ -11928,8 +12593,8 @@ "updateContext": null }, "value": "this", - "start": 1088, - "end": 1092, + "start": 1077, + "end": 1081, "loc": { "start": { "line": 54, @@ -11954,8 +12619,8 @@ "binop": null, "updateContext": null }, - "start": 1092, - "end": 1093, + "start": 1081, + "end": 1082, "loc": { "start": { "line": 54, @@ -11980,8 +12645,8 @@ "binop": null }, "value": "models", - "start": 1093, - "end": 1099, + "start": 1082, + "end": 1088, "loc": { "start": { "line": 54, @@ -12006,8 +12671,8 @@ "binop": null, "updateContext": null }, - "start": 1099, - "end": 1100, + "start": 1088, + "end": 1089, "loc": { "start": { "line": 54, @@ -12032,8 +12697,8 @@ "binop": null }, "value": "length", - "start": 1100, - "end": 1106, + "start": 1089, + "end": 1095, "loc": { "start": { "line": 54, @@ -12059,8 +12724,8 @@ "updateContext": null }, "value": "<=", - "start": 1107, - "end": 1109, + "start": 1096, + "end": 1098, "loc": { "start": { "line": 54, @@ -12085,8 +12750,8 @@ "binop": null }, "value": "no", - "start": 1110, - "end": 1112, + "start": 1099, + "end": 1101, "loc": { "start": { "line": 54, @@ -12110,8 +12775,8 @@ "postfix": false, "binop": null }, - "start": 1112, - "end": 1113, + "start": 1101, + "end": 1102, "loc": { "start": { "line": 54, @@ -12138,8 +12803,8 @@ "updateContext": null }, "value": "return", - "start": 1114, - "end": 1120, + "start": 1103, + "end": 1109, "loc": { "start": { "line": 54, @@ -12164,8 +12829,8 @@ "binop": null, "updateContext": null }, - "start": 1120, - "end": 1121, + "start": 1109, + "end": 1110, "loc": { "start": { "line": 54, @@ -12192,8 +12857,8 @@ "updateContext": null }, "value": "this", - "start": 1125, - "end": 1129, + "start": 1114, + "end": 1118, "loc": { "start": { "line": 56, @@ -12218,8 +12883,8 @@ "binop": null, "updateContext": null }, - "start": 1129, - "end": 1130, + "start": 1118, + "end": 1119, "loc": { "start": { "line": 56, @@ -12244,8 +12909,8 @@ "binop": null }, "value": "models", - "start": 1130, - "end": 1136, + "start": 1119, + "end": 1125, "loc": { "start": { "line": 56, @@ -12270,8 +12935,8 @@ "binop": null, "updateContext": null }, - "start": 1136, - "end": 1137, + "start": 1125, + "end": 1126, "loc": { "start": { "line": 56, @@ -12296,8 +12961,8 @@ "binop": null }, "value": "no", - "start": 1137, - "end": 1139, + "start": 1126, + "end": 1128, "loc": { "start": { "line": 56, @@ -12322,8 +12987,8 @@ "binop": null, "updateContext": null }, - "start": 1139, - "end": 1140, + "start": 1128, + "end": 1129, "loc": { "start": { "line": 56, @@ -12348,8 +13013,8 @@ "binop": null, "updateContext": null }, - "start": 1140, - "end": 1141, + "start": 1129, + "end": 1130, "loc": { "start": { "line": 56, @@ -12374,8 +13039,8 @@ "binop": null }, "value": "release", - "start": 1141, - "end": 1148, + "start": 1130, + "end": 1137, "loc": { "start": { "line": 56, @@ -12399,8 +13064,8 @@ "postfix": false, "binop": null }, - "start": 1148, - "end": 1149, + "start": 1137, + "end": 1138, "loc": { "start": { "line": 56, @@ -12425,8 +13090,8 @@ "binop": null }, "value": "gl", - "start": 1149, - "end": 1151, + "start": 1138, + "end": 1140, "loc": { "start": { "line": 56, @@ -12450,8 +13115,8 @@ "postfix": false, "binop": null }, - "start": 1151, - "end": 1152, + "start": 1140, + "end": 1141, "loc": { "start": { "line": 56, @@ -12476,8 +13141,8 @@ "binop": null, "updateContext": null }, - "start": 1152, - "end": 1153, + "start": 1141, + "end": 1142, "loc": { "start": { "line": 56, @@ -12504,8 +13169,8 @@ "updateContext": null }, "value": "delete", - "start": 1157, - "end": 1163, + "start": 1146, + "end": 1152, "loc": { "start": { "line": 58, @@ -12532,8 +13197,8 @@ "updateContext": null }, "value": "this", - "start": 1164, - "end": 1168, + "start": 1153, + "end": 1157, "loc": { "start": { "line": 58, @@ -12558,8 +13223,8 @@ "binop": null, "updateContext": null }, - "start": 1168, - "end": 1169, + "start": 1157, + "end": 1158, "loc": { "start": { "line": 58, @@ -12584,8 +13249,8 @@ "binop": null }, "value": "models", - "start": 1169, - "end": 1175, + "start": 1158, + "end": 1164, "loc": { "start": { "line": 58, @@ -12610,8 +13275,8 @@ "binop": null, "updateContext": null }, - "start": 1175, - "end": 1176, + "start": 1164, + "end": 1165, "loc": { "start": { "line": 58, @@ -12636,8 +13301,8 @@ "binop": null }, "value": "no", - "start": 1176, - "end": 1178, + "start": 1165, + "end": 1167, "loc": { "start": { "line": 58, @@ -12662,8 +13327,8 @@ "binop": null, "updateContext": null }, - "start": 1178, - "end": 1179, + "start": 1167, + "end": 1168, "loc": { "start": { "line": 58, @@ -12688,8 +13353,8 @@ "binop": null, "updateContext": null }, - "start": 1179, - "end": 1180, + "start": 1168, + "end": 1169, "loc": { "start": { "line": 58, @@ -12716,8 +13381,8 @@ "updateContext": null }, "value": "this", - "start": 1183, - "end": 1187, + "start": 1172, + "end": 1176, "loc": { "start": { "line": 59, @@ -12742,8 +13407,8 @@ "binop": null, "updateContext": null }, - "start": 1187, - "end": 1188, + "start": 1176, + "end": 1177, "loc": { "start": { "line": 59, @@ -12768,8 +13433,8 @@ "binop": null }, "value": "models", - "start": 1188, - "end": 1194, + "start": 1177, + "end": 1183, "loc": { "start": { "line": 59, @@ -12794,8 +13459,8 @@ "binop": null, "updateContext": null }, - "start": 1194, - "end": 1195, + "start": 1183, + "end": 1184, "loc": { "start": { "line": 59, @@ -12820,8 +13485,8 @@ "binop": null }, "value": "splice", - "start": 1195, - "end": 1201, + "start": 1184, + "end": 1190, "loc": { "start": { "line": 59, @@ -12845,8 +13510,8 @@ "postfix": false, "binop": null }, - "start": 1201, - "end": 1202, + "start": 1190, + "end": 1191, "loc": { "start": { "line": 59, @@ -12871,8 +13536,8 @@ "binop": null }, "value": "no", - "start": 1202, - "end": 1204, + "start": 1191, + "end": 1193, "loc": { "start": { "line": 59, @@ -12897,8 +13562,8 @@ "binop": null, "updateContext": null }, - "start": 1204, - "end": 1205, + "start": 1193, + "end": 1194, "loc": { "start": { "line": 59, @@ -12924,8 +13589,8 @@ "updateContext": null }, "value": 1, - "start": 1206, - "end": 1207, + "start": 1195, + "end": 1196, "loc": { "start": { "line": 59, @@ -12949,8 +13614,8 @@ "postfix": false, "binop": null }, - "start": 1207, - "end": 1208, + "start": 1196, + "end": 1197, "loc": { "start": { "line": 59, @@ -12975,8 +13640,8 @@ "binop": null, "updateContext": null }, - "start": 1208, - "end": 1209, + "start": 1197, + "end": 1198, "loc": { "start": { "line": 59, @@ -13000,8 +13665,8 @@ "postfix": false, "binop": null }, - "start": 1210, - "end": 1211, + "start": 1199, + "end": 1200, "loc": { "start": { "line": 60, @@ -13026,8 +13691,8 @@ "binop": null, "updateContext": null }, - "start": 1211, - "end": 1212, + "start": 1200, + "end": 1201, "loc": { "start": { "line": 60, @@ -13052,8 +13717,8 @@ "binop": null }, "value": "cManager", - "start": 1216, - "end": 1224, + "start": 1205, + "end": 1213, "loc": { "start": { "line": 64, @@ -13078,8 +13743,8 @@ "binop": null, "updateContext": null }, - "start": 1224, - "end": 1225, + "start": 1213, + "end": 1214, "loc": { "start": { "line": 64, @@ -13104,8 +13769,8 @@ "binop": null }, "value": "prototype", - "start": 1225, - "end": 1234, + "start": 1214, + "end": 1223, "loc": { "start": { "line": 64, @@ -13130,8 +13795,8 @@ "binop": null, "updateContext": null }, - "start": 1234, - "end": 1235, + "start": 1223, + "end": 1224, "loc": { "start": { "line": 64, @@ -13156,8 +13821,8 @@ "binop": null }, "value": "numModels", - "start": 1235, - "end": 1244, + "start": 1224, + "end": 1233, "loc": { "start": { "line": 64, @@ -13183,8 +13848,8 @@ "updateContext": null }, "value": "=", - "start": 1245, - "end": 1246, + "start": 1234, + "end": 1235, "loc": { "start": { "line": 64, @@ -13210,8 +13875,8 @@ "binop": null }, "value": "function", - "start": 1247, - "end": 1255, + "start": 1236, + "end": 1244, "loc": { "start": { "line": 64, @@ -13235,8 +13900,8 @@ "postfix": false, "binop": null }, - "start": 1256, - "end": 1257, + "start": 1245, + "end": 1246, "loc": { "start": { "line": 64, @@ -13260,8 +13925,8 @@ "postfix": false, "binop": null }, - "start": 1257, - "end": 1258, + "start": 1246, + "end": 1247, "loc": { "start": { "line": 64, @@ -13285,8 +13950,8 @@ "postfix": false, "binop": null }, - "start": 1259, - "end": 1260, + "start": 1248, + "end": 1249, "loc": { "start": { "line": 64, @@ -13313,8 +13978,8 @@ "updateContext": null }, "value": "return", - "start": 1263, - "end": 1269, + "start": 1252, + "end": 1258, "loc": { "start": { "line": 65, @@ -13341,8 +14006,8 @@ "updateContext": null }, "value": "this", - "start": 1270, - "end": 1274, + "start": 1259, + "end": 1263, "loc": { "start": { "line": 65, @@ -13367,8 +14032,8 @@ "binop": null, "updateContext": null }, - "start": 1274, - "end": 1275, + "start": 1263, + "end": 1264, "loc": { "start": { "line": 65, @@ -13393,8 +14058,8 @@ "binop": null }, "value": "models", - "start": 1275, - "end": 1281, + "start": 1264, + "end": 1270, "loc": { "start": { "line": 65, @@ -13419,8 +14084,8 @@ "binop": null, "updateContext": null }, - "start": 1281, - "end": 1282, + "start": 1270, + "end": 1271, "loc": { "start": { "line": 65, @@ -13445,8 +14110,8 @@ "binop": null }, "value": "length", - "start": 1282, - "end": 1288, + "start": 1271, + "end": 1277, "loc": { "start": { "line": 65, @@ -13471,8 +14136,8 @@ "binop": null, "updateContext": null }, - "start": 1288, - "end": 1289, + "start": 1277, + "end": 1278, "loc": { "start": { "line": 65, @@ -13496,8 +14161,8 @@ "postfix": false, "binop": null }, - "start": 1290, - "end": 1291, + "start": 1279, + "end": 1280, "loc": { "start": { "line": 66, @@ -13522,8 +14187,8 @@ "binop": null, "updateContext": null }, - "start": 1291, - "end": 1292, + "start": 1280, + "end": 1281, "loc": { "start": { "line": 66, @@ -13548,8 +14213,8 @@ "binop": null }, "value": "cManager", - "start": 1296, - "end": 1304, + "start": 1285, + "end": 1293, "loc": { "start": { "line": 70, @@ -13574,8 +14239,8 @@ "binop": null, "updateContext": null }, - "start": 1304, - "end": 1305, + "start": 1293, + "end": 1294, "loc": { "start": { "line": 70, @@ -13600,8 +14265,8 @@ "binop": null }, "value": "prototype", - "start": 1305, - "end": 1314, + "start": 1294, + "end": 1303, "loc": { "start": { "line": 70, @@ -13626,8 +14291,8 @@ "binop": null, "updateContext": null }, - "start": 1314, - "end": 1315, + "start": 1303, + "end": 1304, "loc": { "start": { "line": 70, @@ -13652,8 +14317,8 @@ "binop": null }, "value": "setDrag", - "start": 1315, - "end": 1322, + "start": 1304, + "end": 1311, "loc": { "start": { "line": 70, @@ -13679,8 +14344,8 @@ "updateContext": null }, "value": "=", - "start": 1323, - "end": 1324, + "start": 1312, + "end": 1313, "loc": { "start": { "line": 70, @@ -13706,8 +14371,8 @@ "binop": null }, "value": "function", - "start": 1325, - "end": 1333, + "start": 1314, + "end": 1322, "loc": { "start": { "line": 70, @@ -13731,8 +14396,8 @@ "postfix": false, "binop": null }, - "start": 1334, - "end": 1335, + "start": 1323, + "end": 1324, "loc": { "start": { "line": 70, @@ -13757,8 +14422,8 @@ "binop": null }, "value": "x", - "start": 1335, - "end": 1336, + "start": 1324, + "end": 1325, "loc": { "start": { "line": 70, @@ -13783,8 +14448,8 @@ "binop": null, "updateContext": null }, - "start": 1336, - "end": 1337, + "start": 1325, + "end": 1326, "loc": { "start": { "line": 70, @@ -13809,8 +14474,8 @@ "binop": null }, "value": "y", - "start": 1338, - "end": 1339, + "start": 1327, + "end": 1328, "loc": { "start": { "line": 70, @@ -13834,8 +14499,8 @@ "postfix": false, "binop": null }, - "start": 1339, - "end": 1340, + "start": 1328, + "end": 1329, "loc": { "start": { "line": 70, @@ -13859,8 +14524,8 @@ "postfix": false, "binop": null }, - "start": 1341, - "end": 1342, + "start": 1330, + "end": 1331, "loc": { "start": { "line": 70, @@ -13887,8 +14552,8 @@ "updateContext": null }, "value": "for", - "start": 1345, - "end": 1348, + "start": 1334, + "end": 1337, "loc": { "start": { "line": 71, @@ -13912,8 +14577,8 @@ "postfix": false, "binop": null }, - "start": 1349, - "end": 1350, + "start": 1338, + "end": 1339, "loc": { "start": { "line": 71, @@ -13940,8 +14605,8 @@ "updateContext": null }, "value": "var", - "start": 1350, - "end": 1353, + "start": 1339, + "end": 1342, "loc": { "start": { "line": 71, @@ -13966,8 +14631,8 @@ "binop": null }, "value": "i", - "start": 1354, - "end": 1355, + "start": 1343, + "end": 1344, "loc": { "start": { "line": 71, @@ -13993,8 +14658,8 @@ "updateContext": null }, "value": "=", - "start": 1356, - "end": 1357, + "start": 1345, + "end": 1346, "loc": { "start": { "line": 71, @@ -14020,8 +14685,8 @@ "updateContext": null }, "value": 0, - "start": 1358, - "end": 1359, + "start": 1347, + "end": 1348, "loc": { "start": { "line": 71, @@ -14046,8 +14711,8 @@ "binop": null, "updateContext": null }, - "start": 1359, - "end": 1360, + "start": 1348, + "end": 1349, "loc": { "start": { "line": 71, @@ -14072,8 +14737,8 @@ "binop": null }, "value": "i", - "start": 1361, - "end": 1362, + "start": 1350, + "end": 1351, "loc": { "start": { "line": 71, @@ -14099,8 +14764,8 @@ "updateContext": null }, "value": "<", - "start": 1363, - "end": 1364, + "start": 1352, + "end": 1353, "loc": { "start": { "line": 71, @@ -14127,8 +14792,8 @@ "updateContext": null }, "value": "this", - "start": 1365, - "end": 1369, + "start": 1354, + "end": 1358, "loc": { "start": { "line": 71, @@ -14153,8 +14818,8 @@ "binop": null, "updateContext": null }, - "start": 1369, - "end": 1370, + "start": 1358, + "end": 1359, "loc": { "start": { "line": 71, @@ -14179,8 +14844,8 @@ "binop": null }, "value": "models", - "start": 1370, - "end": 1376, + "start": 1359, + "end": 1365, "loc": { "start": { "line": 71, @@ -14205,8 +14870,8 @@ "binop": null, "updateContext": null }, - "start": 1376, - "end": 1377, + "start": 1365, + "end": 1366, "loc": { "start": { "line": 71, @@ -14231,8 +14896,8 @@ "binop": null }, "value": "length", - "start": 1377, - "end": 1383, + "start": 1366, + "end": 1372, "loc": { "start": { "line": 71, @@ -14257,8 +14922,8 @@ "binop": null, "updateContext": null }, - "start": 1383, - "end": 1384, + "start": 1372, + "end": 1373, "loc": { "start": { "line": 71, @@ -14283,8 +14948,8 @@ "binop": null }, "value": "i", - "start": 1385, - "end": 1386, + "start": 1374, + "end": 1375, "loc": { "start": { "line": 71, @@ -14309,8 +14974,8 @@ "binop": null }, "value": "++", - "start": 1386, - "end": 1388, + "start": 1375, + "end": 1377, "loc": { "start": { "line": 71, @@ -14334,8 +14999,8 @@ "postfix": false, "binop": null }, - "start": 1388, - "end": 1389, + "start": 1377, + "end": 1378, "loc": { "start": { "line": 71, @@ -14359,8 +15024,8 @@ "postfix": false, "binop": null }, - "start": 1390, - "end": 1391, + "start": 1379, + "end": 1380, "loc": { "start": { "line": 71, @@ -14387,8 +15052,8 @@ "updateContext": null }, "value": "this", - "start": 1396, - "end": 1400, + "start": 1385, + "end": 1389, "loc": { "start": { "line": 72, @@ -14413,8 +15078,8 @@ "binop": null, "updateContext": null }, - "start": 1400, - "end": 1401, + "start": 1389, + "end": 1390, "loc": { "start": { "line": 72, @@ -14439,8 +15104,8 @@ "binop": null }, "value": "models", - "start": 1401, - "end": 1407, + "start": 1390, + "end": 1396, "loc": { "start": { "line": 72, @@ -14465,8 +15130,8 @@ "binop": null, "updateContext": null }, - "start": 1407, - "end": 1408, + "start": 1396, + "end": 1397, "loc": { "start": { "line": 72, @@ -14491,8 +15156,8 @@ "binop": null }, "value": "i", - "start": 1408, - "end": 1409, + "start": 1397, + "end": 1398, "loc": { "start": { "line": 72, @@ -14517,8 +15182,8 @@ "binop": null, "updateContext": null }, - "start": 1409, - "end": 1410, + "start": 1398, + "end": 1399, "loc": { "start": { "line": 72, @@ -14543,8 +15208,8 @@ "binop": null, "updateContext": null }, - "start": 1410, - "end": 1411, + "start": 1399, + "end": 1400, "loc": { "start": { "line": 72, @@ -14569,8 +15234,8 @@ "binop": null }, "value": "setDrag", - "start": 1411, - "end": 1418, + "start": 1400, + "end": 1407, "loc": { "start": { "line": 72, @@ -14594,8 +15259,8 @@ "postfix": false, "binop": null }, - "start": 1418, - "end": 1419, + "start": 1407, + "end": 1408, "loc": { "start": { "line": 72, @@ -14620,8 +15285,8 @@ "binop": null }, "value": "x", - "start": 1419, - "end": 1420, + "start": 1408, + "end": 1409, "loc": { "start": { "line": 72, @@ -14646,8 +15311,8 @@ "binop": null, "updateContext": null }, - "start": 1420, - "end": 1421, + "start": 1409, + "end": 1410, "loc": { "start": { "line": 72, @@ -14672,8 +15337,8 @@ "binop": null }, "value": "y", - "start": 1422, - "end": 1423, + "start": 1411, + "end": 1412, "loc": { "start": { "line": 72, @@ -14697,8 +15362,8 @@ "postfix": false, "binop": null }, - "start": 1423, - "end": 1424, + "start": 1412, + "end": 1413, "loc": { "start": { "line": 72, @@ -14723,8 +15388,8 @@ "binop": null, "updateContext": null }, - "start": 1424, - "end": 1425, + "start": 1413, + "end": 1414, "loc": { "start": { "line": 72, @@ -14748,8 +15413,8 @@ "postfix": false, "binop": null }, - "start": 1428, - "end": 1429, + "start": 1417, + "end": 1418, "loc": { "start": { "line": 73, @@ -14773,8 +15438,8 @@ "postfix": false, "binop": null }, - "start": 1430, - "end": 1431, + "start": 1419, + "end": 1420, "loc": { "start": { "line": 74, @@ -14799,8 +15464,8 @@ "binop": null }, "value": "cManager", - "start": 1433, - "end": 1441, + "start": 1422, + "end": 1430, "loc": { "start": { "line": 76, @@ -14825,8 +15490,8 @@ "binop": null, "updateContext": null }, - "start": 1441, - "end": 1442, + "start": 1430, + "end": 1431, "loc": { "start": { "line": 76, @@ -14851,8 +15516,8 @@ "binop": null }, "value": "prototype", - "start": 1442, - "end": 1451, + "start": 1431, + "end": 1440, "loc": { "start": { "line": 76, @@ -14877,8 +15542,8 @@ "binop": null, "updateContext": null }, - "start": 1451, - "end": 1452, + "start": 1440, + "end": 1441, "loc": { "start": { "line": 76, @@ -14903,8 +15568,8 @@ "binop": null }, "value": "tapEvent", - "start": 1452, - "end": 1460, + "start": 1441, + "end": 1449, "loc": { "start": { "line": 76, @@ -14930,8 +15595,8 @@ "updateContext": null }, "value": "=", - "start": 1461, - "end": 1462, + "start": 1450, + "end": 1451, "loc": { "start": { "line": 76, @@ -14957,8 +15622,8 @@ "binop": null }, "value": "function", - "start": 1463, - "end": 1471, + "start": 1452, + "end": 1460, "loc": { "start": { "line": 76, @@ -14982,8 +15647,8 @@ "postfix": false, "binop": null }, - "start": 1472, - "end": 1473, + "start": 1461, + "end": 1462, "loc": { "start": { "line": 76, @@ -15008,8 +15673,8 @@ "binop": null }, "value": "x", - "start": 1473, - "end": 1474, + "start": 1462, + "end": 1463, "loc": { "start": { "line": 76, @@ -15034,8 +15699,8 @@ "binop": null, "updateContext": null }, - "start": 1474, - "end": 1475, + "start": 1463, + "end": 1464, "loc": { "start": { "line": 76, @@ -15060,8 +15725,8 @@ "binop": null }, "value": "y", - "start": 1476, - "end": 1477, + "start": 1465, + "end": 1466, "loc": { "start": { "line": 76, @@ -15085,8 +15750,8 @@ "postfix": false, "binop": null }, - "start": 1477, - "end": 1478, + "start": 1466, + "end": 1467, "loc": { "start": { "line": 76, @@ -15110,8 +15775,8 @@ "postfix": false, "binop": null }, - "start": 1479, - "end": 1480, + "start": 1468, + "end": 1469, "loc": { "start": { "line": 76, @@ -15138,8 +15803,8 @@ "updateContext": null }, "value": "if", - "start": 1483, - "end": 1485, + "start": 1472, + "end": 1474, "loc": { "start": { "line": 77, @@ -15163,8 +15828,8 @@ "postfix": false, "binop": null }, - "start": 1486, - "end": 1487, + "start": 1475, + "end": 1476, "loc": { "start": { "line": 77, @@ -15189,8 +15854,8 @@ "binop": null }, "value": "cDefine", - "start": 1487, - "end": 1494, + "start": 1476, + "end": 1483, "loc": { "start": { "line": 77, @@ -15215,8 +15880,8 @@ "binop": null, "updateContext": null }, - "start": 1494, - "end": 1495, + "start": 1483, + "end": 1484, "loc": { "start": { "line": 77, @@ -15241,8 +15906,8 @@ "binop": null }, "value": "DEBUG_LOG", - "start": 1495, - "end": 1504, + "start": 1484, + "end": 1493, "loc": { "start": { "line": 77, @@ -15266,8 +15931,8 @@ "postfix": false, "binop": null }, - "start": 1504, - "end": 1505, + "start": 1493, + "end": 1494, "loc": { "start": { "line": 77, @@ -15292,8 +15957,8 @@ "binop": null }, "value": "console", - "start": 1510, - "end": 1517, + "start": 1499, + "end": 1506, "loc": { "start": { "line": 78, @@ -15318,8 +15983,8 @@ "binop": null, "updateContext": null }, - "start": 1517, - "end": 1518, + "start": 1506, + "end": 1507, "loc": { "start": { "line": 78, @@ -15344,8 +16009,8 @@ "binop": null }, "value": "log", - "start": 1518, - "end": 1521, + "start": 1507, + "end": 1510, "loc": { "start": { "line": 78, @@ -15369,8 +16034,8 @@ "postfix": false, "binop": null }, - "start": 1521, - "end": 1522, + "start": 1510, + "end": 1511, "loc": { "start": { "line": 78, @@ -15396,8 +16061,8 @@ "updateContext": null }, "value": "tapEvent view x:", - "start": 1522, - "end": 1540, + "start": 1511, + "end": 1529, "loc": { "start": { "line": 78, @@ -15423,8 +16088,8 @@ "updateContext": null }, "value": "+", - "start": 1541, - "end": 1542, + "start": 1530, + "end": 1531, "loc": { "start": { "line": 78, @@ -15449,8 +16114,8 @@ "binop": null }, "value": "x", - "start": 1543, - "end": 1544, + "start": 1532, + "end": 1533, "loc": { "start": { "line": 78, @@ -15476,8 +16141,8 @@ "updateContext": null }, "value": "+", - "start": 1545, - "end": 1546, + "start": 1534, + "end": 1535, "loc": { "start": { "line": 78, @@ -15503,8 +16168,8 @@ "updateContext": null }, "value": " y:", - "start": 1547, - "end": 1552, + "start": 1536, + "end": 1541, "loc": { "start": { "line": 78, @@ -15530,8 +16195,8 @@ "updateContext": null }, "value": "+", - "start": 1553, - "end": 1554, + "start": 1542, + "end": 1543, "loc": { "start": { "line": 78, @@ -15556,8 +16221,8 @@ "binop": null }, "value": "y", - "start": 1555, - "end": 1556, + "start": 1544, + "end": 1545, "loc": { "start": { "line": 78, @@ -15581,8 +16246,8 @@ "postfix": false, "binop": null }, - "start": 1556, - "end": 1557, + "start": 1545, + "end": 1546, "loc": { "start": { "line": 78, @@ -15607,8 +16272,8 @@ "binop": null, "updateContext": null }, - "start": 1557, - "end": 1558, + "start": 1546, + "end": 1547, "loc": { "start": { "line": 78, @@ -15635,8 +16300,8 @@ "updateContext": null }, "value": "for", - "start": 1562, - "end": 1565, + "start": 1551, + "end": 1554, "loc": { "start": { "line": 80, @@ -15660,8 +16325,8 @@ "postfix": false, "binop": null }, - "start": 1566, - "end": 1567, + "start": 1555, + "end": 1556, "loc": { "start": { "line": 80, @@ -15688,8 +16353,8 @@ "updateContext": null }, "value": "var", - "start": 1567, - "end": 1570, + "start": 1556, + "end": 1559, "loc": { "start": { "line": 80, @@ -15714,8 +16379,8 @@ "binop": null }, "value": "i", - "start": 1571, - "end": 1572, + "start": 1560, + "end": 1561, "loc": { "start": { "line": 80, @@ -15741,8 +16406,8 @@ "updateContext": null }, "value": "=", - "start": 1573, - "end": 1574, + "start": 1562, + "end": 1563, "loc": { "start": { "line": 80, @@ -15768,8 +16433,8 @@ "updateContext": null }, "value": 0, - "start": 1575, - "end": 1576, + "start": 1564, + "end": 1565, "loc": { "start": { "line": 80, @@ -15794,8 +16459,8 @@ "binop": null, "updateContext": null }, - "start": 1576, - "end": 1577, + "start": 1565, + "end": 1566, "loc": { "start": { "line": 80, @@ -15820,8 +16485,8 @@ "binop": null }, "value": "i", - "start": 1578, - "end": 1579, + "start": 1567, + "end": 1568, "loc": { "start": { "line": 80, @@ -15847,8 +16512,8 @@ "updateContext": null }, "value": "<", - "start": 1580, - "end": 1581, + "start": 1569, + "end": 1570, "loc": { "start": { "line": 80, @@ -15875,8 +16540,8 @@ "updateContext": null }, "value": "this", - "start": 1582, - "end": 1586, + "start": 1571, + "end": 1575, "loc": { "start": { "line": 80, @@ -15901,8 +16566,8 @@ "binop": null, "updateContext": null }, - "start": 1586, - "end": 1587, + "start": 1575, + "end": 1576, "loc": { "start": { "line": 80, @@ -15927,8 +16592,8 @@ "binop": null }, "value": "models", - "start": 1587, - "end": 1593, + "start": 1576, + "end": 1582, "loc": { "start": { "line": 80, @@ -15953,8 +16618,8 @@ "binop": null, "updateContext": null }, - "start": 1593, - "end": 1594, + "start": 1582, + "end": 1583, "loc": { "start": { "line": 80, @@ -15979,8 +16644,8 @@ "binop": null }, "value": "length", - "start": 1594, - "end": 1600, + "start": 1583, + "end": 1589, "loc": { "start": { "line": 80, @@ -16005,8 +16670,8 @@ "binop": null, "updateContext": null }, - "start": 1600, - "end": 1601, + "start": 1589, + "end": 1590, "loc": { "start": { "line": 80, @@ -16031,8 +16696,8 @@ "binop": null }, "value": "i", - "start": 1602, - "end": 1603, + "start": 1591, + "end": 1592, "loc": { "start": { "line": 80, @@ -16057,8 +16722,8 @@ "binop": null }, "value": "++", - "start": 1603, - "end": 1605, + "start": 1592, + "end": 1594, "loc": { "start": { "line": 80, @@ -16082,8 +16747,8 @@ "postfix": false, "binop": null }, - "start": 1605, - "end": 1606, + "start": 1594, + "end": 1595, "loc": { "start": { "line": 80, @@ -16107,8 +16772,8 @@ "postfix": false, "binop": null }, - "start": 1607, - "end": 1608, + "start": 1596, + "end": 1597, "loc": { "start": { "line": 80, @@ -16135,8 +16800,8 @@ "updateContext": null }, "value": "if", - "start": 1614, - "end": 1616, + "start": 1603, + "end": 1605, "loc": { "start": { "line": 82, @@ -16160,8 +16825,8 @@ "postfix": false, "binop": null }, - "start": 1617, - "end": 1618, + "start": 1606, + "end": 1607, "loc": { "start": { "line": 82, @@ -16188,8 +16853,8 @@ "updateContext": null }, "value": "this", - "start": 1618, - "end": 1622, + "start": 1607, + "end": 1611, "loc": { "start": { "line": 82, @@ -16214,8 +16879,8 @@ "binop": null, "updateContext": null }, - "start": 1622, - "end": 1623, + "start": 1611, + "end": 1612, "loc": { "start": { "line": 82, @@ -16240,8 +16905,8 @@ "binop": null }, "value": "models", - "start": 1623, - "end": 1629, + "start": 1612, + "end": 1618, "loc": { "start": { "line": 82, @@ -16266,8 +16931,8 @@ "binop": null, "updateContext": null }, - "start": 1629, - "end": 1630, + "start": 1618, + "end": 1619, "loc": { "start": { "line": 82, @@ -16292,8 +16957,8 @@ "binop": null }, "value": "i", - "start": 1630, - "end": 1631, + "start": 1619, + "end": 1620, "loc": { "start": { "line": 82, @@ -16318,8 +16983,8 @@ "binop": null, "updateContext": null }, - "start": 1631, - "end": 1632, + "start": 1620, + "end": 1621, "loc": { "start": { "line": 82, @@ -16344,8 +17009,8 @@ "binop": null, "updateContext": null }, - "start": 1632, - "end": 1633, + "start": 1621, + "end": 1622, "loc": { "start": { "line": 82, @@ -16370,8 +17035,8 @@ "binop": null }, "value": "hitTest", - "start": 1633, - "end": 1640, + "start": 1622, + "end": 1629, "loc": { "start": { "line": 82, @@ -16395,8 +17060,8 @@ "postfix": false, "binop": null }, - "start": 1640, - "end": 1641, + "start": 1629, + "end": 1630, "loc": { "start": { "line": 82, @@ -16421,8 +17086,8 @@ "binop": null }, "value": "cDefine", - "start": 1641, - "end": 1648, + "start": 1630, + "end": 1637, "loc": { "start": { "line": 82, @@ -16447,8 +17112,8 @@ "binop": null, "updateContext": null }, - "start": 1648, - "end": 1649, + "start": 1637, + "end": 1638, "loc": { "start": { "line": 82, @@ -16473,8 +17138,8 @@ "binop": null }, "value": "HIT_AREA_HEAD", - "start": 1649, - "end": 1662, + "start": 1638, + "end": 1651, "loc": { "start": { "line": 82, @@ -16499,8 +17164,8 @@ "binop": null, "updateContext": null }, - "start": 1662, - "end": 1663, + "start": 1651, + "end": 1652, "loc": { "start": { "line": 82, @@ -16525,8 +17190,8 @@ "binop": null }, "value": "x", - "start": 1664, - "end": 1665, + "start": 1653, + "end": 1654, "loc": { "start": { "line": 82, @@ -16551,8 +17216,8 @@ "binop": null, "updateContext": null }, - "start": 1665, - "end": 1666, + "start": 1654, + "end": 1655, "loc": { "start": { "line": 82, @@ -16577,8 +17242,8 @@ "binop": null }, "value": "y", - "start": 1667, - "end": 1668, + "start": 1656, + "end": 1657, "loc": { "start": { "line": 82, @@ -16602,8 +17267,8 @@ "postfix": false, "binop": null }, - "start": 1668, - "end": 1669, + "start": 1657, + "end": 1658, "loc": { "start": { "line": 82, @@ -16627,8 +17292,8 @@ "postfix": false, "binop": null }, - "start": 1669, - "end": 1670, + "start": 1658, + "end": 1659, "loc": { "start": { "line": 82, @@ -16652,8 +17317,8 @@ "postfix": false, "binop": null }, - "start": 1671, - "end": 1672, + "start": 1660, + "end": 1661, "loc": { "start": { "line": 82, @@ -16680,8 +17345,8 @@ "updateContext": null }, "value": "if", - "start": 1680, - "end": 1682, + "start": 1669, + "end": 1671, "loc": { "start": { "line": 84, @@ -16705,8 +17370,8 @@ "postfix": false, "binop": null }, - "start": 1683, - "end": 1684, + "start": 1672, + "end": 1673, "loc": { "start": { "line": 84, @@ -16731,8 +17396,8 @@ "binop": null }, "value": "cDefine", - "start": 1684, - "end": 1691, + "start": 1673, + "end": 1680, "loc": { "start": { "line": 84, @@ -16757,8 +17422,8 @@ "binop": null, "updateContext": null }, - "start": 1691, - "end": 1692, + "start": 1680, + "end": 1681, "loc": { "start": { "line": 84, @@ -16783,8 +17448,8 @@ "binop": null }, "value": "DEBUG_LOG", - "start": 1692, - "end": 1701, + "start": 1681, + "end": 1690, "loc": { "start": { "line": 84, @@ -16808,8 +17473,8 @@ "postfix": false, "binop": null }, - "start": 1701, - "end": 1702, + "start": 1690, + "end": 1691, "loc": { "start": { "line": 84, @@ -16834,8 +17499,8 @@ "binop": null }, "value": "console", - "start": 1711, - "end": 1718, + "start": 1700, + "end": 1707, "loc": { "start": { "line": 85, @@ -16860,8 +17525,8 @@ "binop": null, "updateContext": null }, - "start": 1718, - "end": 1719, + "start": 1707, + "end": 1708, "loc": { "start": { "line": 85, @@ -16886,8 +17551,8 @@ "binop": null }, "value": "log", - "start": 1719, - "end": 1722, + "start": 1708, + "end": 1711, "loc": { "start": { "line": 85, @@ -16911,8 +17576,8 @@ "postfix": false, "binop": null }, - "start": 1722, - "end": 1723, + "start": 1711, + "end": 1712, "loc": { "start": { "line": 85, @@ -16938,8 +17603,8 @@ "updateContext": null }, "value": "Tap face.", - "start": 1723, - "end": 1734, + "start": 1712, + "end": 1723, "loc": { "start": { "line": 85, @@ -16963,8 +17628,8 @@ "postfix": false, "binop": null }, - "start": 1734, - "end": 1735, + "start": 1723, + "end": 1724, "loc": { "start": { "line": 85, @@ -16989,8 +17654,8 @@ "binop": null, "updateContext": null }, - "start": 1735, - "end": 1736, + "start": 1724, + "end": 1725, "loc": { "start": { "line": 85, @@ -17017,8 +17682,8 @@ "updateContext": null }, "value": "this", - "start": 1744, - "end": 1748, + "start": 1733, + "end": 1737, "loc": { "start": { "line": 87, @@ -17043,8 +17708,8 @@ "binop": null, "updateContext": null }, - "start": 1748, - "end": 1749, + "start": 1737, + "end": 1738, "loc": { "start": { "line": 87, @@ -17069,8 +17734,8 @@ "binop": null }, "value": "models", - "start": 1749, - "end": 1755, + "start": 1738, + "end": 1744, "loc": { "start": { "line": 87, @@ -17095,8 +17760,8 @@ "binop": null, "updateContext": null }, - "start": 1755, - "end": 1756, + "start": 1744, + "end": 1745, "loc": { "start": { "line": 87, @@ -17121,8 +17786,8 @@ "binop": null }, "value": "i", - "start": 1756, - "end": 1757, + "start": 1745, + "end": 1746, "loc": { "start": { "line": 87, @@ -17147,8 +17812,8 @@ "binop": null, "updateContext": null }, - "start": 1757, - "end": 1758, + "start": 1746, + "end": 1747, "loc": { "start": { "line": 87, @@ -17173,8 +17838,8 @@ "binop": null, "updateContext": null }, - "start": 1758, - "end": 1759, + "start": 1747, + "end": 1748, "loc": { "start": { "line": 87, @@ -17199,8 +17864,8 @@ "binop": null }, "value": "setRandomExpression", - "start": 1759, - "end": 1778, + "start": 1748, + "end": 1767, "loc": { "start": { "line": 87, @@ -17224,8 +17889,8 @@ "postfix": false, "binop": null }, - "start": 1778, - "end": 1779, + "start": 1767, + "end": 1768, "loc": { "start": { "line": 87, @@ -17249,8 +17914,8 @@ "postfix": false, "binop": null }, - "start": 1779, - "end": 1780, + "start": 1768, + "end": 1769, "loc": { "start": { "line": 87, @@ -17275,8 +17940,8 @@ "binop": null, "updateContext": null }, - "start": 1780, - "end": 1781, + "start": 1769, + "end": 1770, "loc": { "start": { "line": 87, @@ -17300,8 +17965,8 @@ "postfix": false, "binop": null }, - "start": 1786, - "end": 1787, + "start": 1775, + "end": 1776, "loc": { "start": { "line": 88, @@ -17328,8 +17993,8 @@ "updateContext": null }, "value": "else", - "start": 1792, - "end": 1796, + "start": 1781, + "end": 1785, "loc": { "start": { "line": 89, @@ -17356,8 +18021,8 @@ "updateContext": null }, "value": "if", - "start": 1797, - "end": 1799, + "start": 1786, + "end": 1788, "loc": { "start": { "line": 89, @@ -17381,8 +18046,8 @@ "postfix": false, "binop": null }, - "start": 1800, - "end": 1801, + "start": 1789, + "end": 1790, "loc": { "start": { "line": 89, @@ -17409,8 +18074,8 @@ "updateContext": null }, "value": "this", - "start": 1801, - "end": 1805, + "start": 1790, + "end": 1794, "loc": { "start": { "line": 89, @@ -17435,8 +18100,8 @@ "binop": null, "updateContext": null }, - "start": 1805, - "end": 1806, + "start": 1794, + "end": 1795, "loc": { "start": { "line": 89, @@ -17461,8 +18126,8 @@ "binop": null }, "value": "models", - "start": 1806, - "end": 1812, + "start": 1795, + "end": 1801, "loc": { "start": { "line": 89, @@ -17487,8 +18152,8 @@ "binop": null, "updateContext": null }, - "start": 1812, - "end": 1813, + "start": 1801, + "end": 1802, "loc": { "start": { "line": 89, @@ -17513,8 +18178,8 @@ "binop": null }, "value": "i", - "start": 1813, - "end": 1814, + "start": 1802, + "end": 1803, "loc": { "start": { "line": 89, @@ -17539,8 +18204,8 @@ "binop": null, "updateContext": null }, - "start": 1814, - "end": 1815, + "start": 1803, + "end": 1804, "loc": { "start": { "line": 89, @@ -17565,8 +18230,8 @@ "binop": null, "updateContext": null }, - "start": 1815, - "end": 1816, + "start": 1804, + "end": 1805, "loc": { "start": { "line": 89, @@ -17591,8 +18256,8 @@ "binop": null }, "value": "hitTest", - "start": 1816, - "end": 1823, + "start": 1805, + "end": 1812, "loc": { "start": { "line": 89, @@ -17616,8 +18281,8 @@ "postfix": false, "binop": null }, - "start": 1823, - "end": 1824, + "start": 1812, + "end": 1813, "loc": { "start": { "line": 89, @@ -17642,8 +18307,8 @@ "binop": null }, "value": "cDefine", - "start": 1824, - "end": 1831, + "start": 1813, + "end": 1820, "loc": { "start": { "line": 89, @@ -17668,8 +18333,8 @@ "binop": null, "updateContext": null }, - "start": 1831, - "end": 1832, + "start": 1820, + "end": 1821, "loc": { "start": { "line": 89, @@ -17694,8 +18359,8 @@ "binop": null }, "value": "HIT_AREA_BODY", - "start": 1832, - "end": 1845, + "start": 1821, + "end": 1834, "loc": { "start": { "line": 89, @@ -17720,8 +18385,8 @@ "binop": null, "updateContext": null }, - "start": 1845, - "end": 1846, + "start": 1834, + "end": 1835, "loc": { "start": { "line": 89, @@ -17746,8 +18411,8 @@ "binop": null }, "value": "x", - "start": 1847, - "end": 1848, + "start": 1836, + "end": 1837, "loc": { "start": { "line": 89, @@ -17772,8 +18437,8 @@ "binop": null, "updateContext": null }, - "start": 1848, - "end": 1849, + "start": 1837, + "end": 1838, "loc": { "start": { "line": 89, @@ -17798,8 +18463,8 @@ "binop": null }, "value": "y", - "start": 1850, - "end": 1851, + "start": 1839, + "end": 1840, "loc": { "start": { "line": 89, @@ -17823,8 +18488,8 @@ "postfix": false, "binop": null }, - "start": 1851, - "end": 1852, + "start": 1840, + "end": 1841, "loc": { "start": { "line": 89, @@ -17848,8 +18513,8 @@ "postfix": false, "binop": null }, - "start": 1852, - "end": 1853, + "start": 1841, + "end": 1842, "loc": { "start": { "line": 89, @@ -17873,8 +18538,8 @@ "postfix": false, "binop": null }, - "start": 1854, - "end": 1855, + "start": 1843, + "end": 1844, "loc": { "start": { "line": 89, @@ -17901,8 +18566,8 @@ "updateContext": null }, "value": "if", - "start": 1863, - "end": 1865, + "start": 1852, + "end": 1854, "loc": { "start": { "line": 91, @@ -17926,8 +18591,8 @@ "postfix": false, "binop": null }, - "start": 1866, - "end": 1867, + "start": 1855, + "end": 1856, "loc": { "start": { "line": 91, @@ -17952,8 +18617,8 @@ "binop": null }, "value": "cDefine", - "start": 1867, - "end": 1874, + "start": 1856, + "end": 1863, "loc": { "start": { "line": 91, @@ -17978,8 +18643,8 @@ "binop": null, "updateContext": null }, - "start": 1874, - "end": 1875, + "start": 1863, + "end": 1864, "loc": { "start": { "line": 91, @@ -18004,8 +18669,8 @@ "binop": null }, "value": "DEBUG_LOG", - "start": 1875, - "end": 1884, + "start": 1864, + "end": 1873, "loc": { "start": { "line": 91, @@ -18029,8 +18694,8 @@ "postfix": false, "binop": null }, - "start": 1884, - "end": 1885, + "start": 1873, + "end": 1874, "loc": { "start": { "line": 91, @@ -18055,8 +18720,8 @@ "binop": null }, "value": "console", - "start": 1894, - "end": 1901, + "start": 1883, + "end": 1890, "loc": { "start": { "line": 92, @@ -18081,8 +18746,8 @@ "binop": null, "updateContext": null }, - "start": 1901, - "end": 1902, + "start": 1890, + "end": 1891, "loc": { "start": { "line": 92, @@ -18107,8 +18772,8 @@ "binop": null }, "value": "log", - "start": 1902, - "end": 1905, + "start": 1891, + "end": 1894, "loc": { "start": { "line": 92, @@ -18132,8 +18797,8 @@ "postfix": false, "binop": null }, - "start": 1905, - "end": 1906, + "start": 1894, + "end": 1895, "loc": { "start": { "line": 92, @@ -18159,8 +18824,8 @@ "updateContext": null }, "value": "Tap body.", - "start": 1906, - "end": 1917, + "start": 1895, + "end": 1906, "loc": { "start": { "line": 92, @@ -18186,8 +18851,8 @@ "updateContext": null }, "value": "+", - "start": 1918, - "end": 1919, + "start": 1907, + "end": 1908, "loc": { "start": { "line": 92, @@ -18213,8 +18878,8 @@ "updateContext": null }, "value": " models[", - "start": 1920, - "end": 1930, + "start": 1909, + "end": 1919, "loc": { "start": { "line": 92, @@ -18240,8 +18905,8 @@ "updateContext": null }, "value": "+", - "start": 1931, - "end": 1932, + "start": 1920, + "end": 1921, "loc": { "start": { "line": 92, @@ -18266,8 +18931,8 @@ "binop": null }, "value": "i", - "start": 1933, - "end": 1934, + "start": 1922, + "end": 1923, "loc": { "start": { "line": 92, @@ -18293,8 +18958,8 @@ "updateContext": null }, "value": "+", - "start": 1935, - "end": 1936, + "start": 1924, + "end": 1925, "loc": { "start": { "line": 92, @@ -18320,8 +18985,8 @@ "updateContext": null }, "value": "]", - "start": 1937, - "end": 1940, + "start": 1926, + "end": 1929, "loc": { "start": { "line": 92, @@ -18345,8 +19010,8 @@ "postfix": false, "binop": null }, - "start": 1940, - "end": 1941, + "start": 1929, + "end": 1930, "loc": { "start": { "line": 92, @@ -18371,8 +19036,8 @@ "binop": null, "updateContext": null }, - "start": 1941, - "end": 1942, + "start": 1930, + "end": 1931, "loc": { "start": { "line": 92, @@ -18399,8 +19064,8 @@ "updateContext": null }, "value": "this", - "start": 1950, - "end": 1954, + "start": 1939, + "end": 1943, "loc": { "start": { "line": 94, @@ -18425,8 +19090,8 @@ "binop": null, "updateContext": null }, - "start": 1954, - "end": 1955, + "start": 1943, + "end": 1944, "loc": { "start": { "line": 94, @@ -18451,8 +19116,8 @@ "binop": null }, "value": "models", - "start": 1955, - "end": 1961, + "start": 1944, + "end": 1950, "loc": { "start": { "line": 94, @@ -18477,8 +19142,8 @@ "binop": null, "updateContext": null }, - "start": 1961, - "end": 1962, + "start": 1950, + "end": 1951, "loc": { "start": { "line": 94, @@ -18503,8 +19168,8 @@ "binop": null }, "value": "i", - "start": 1962, - "end": 1963, + "start": 1951, + "end": 1952, "loc": { "start": { "line": 94, @@ -18529,8 +19194,8 @@ "binop": null, "updateContext": null }, - "start": 1963, - "end": 1964, + "start": 1952, + "end": 1953, "loc": { "start": { "line": 94, @@ -18555,8 +19220,8 @@ "binop": null, "updateContext": null }, - "start": 1964, - "end": 1965, + "start": 1953, + "end": 1954, "loc": { "start": { "line": 94, @@ -18581,8 +19246,8 @@ "binop": null }, "value": "startRandomMotion", - "start": 1965, - "end": 1982, + "start": 1954, + "end": 1971, "loc": { "start": { "line": 94, @@ -18606,8 +19271,8 @@ "postfix": false, "binop": null }, - "start": 1982, - "end": 1983, + "start": 1971, + "end": 1972, "loc": { "start": { "line": 94, @@ -18632,8 +19297,8 @@ "binop": null }, "value": "cDefine", - "start": 1983, - "end": 1990, + "start": 1972, + "end": 1979, "loc": { "start": { "line": 94, @@ -18658,8 +19323,8 @@ "binop": null, "updateContext": null }, - "start": 1990, - "end": 1991, + "start": 1979, + "end": 1980, "loc": { "start": { "line": 94, @@ -18684,8 +19349,8 @@ "binop": null }, "value": "MOTION_GROUP_TAP_BODY", - "start": 1991, - "end": 2012, + "start": 1980, + "end": 2001, "loc": { "start": { "line": 94, @@ -18710,8 +19375,8 @@ "binop": null, "updateContext": null }, - "start": 2012, - "end": 2013, + "start": 2001, + "end": 2002, "loc": { "start": { "line": 94, @@ -18736,8 +19401,8 @@ "binop": null }, "value": "cDefine", - "start": 2022, - "end": 2029, + "start": 2011, + "end": 2018, "loc": { "start": { "line": 95, @@ -18762,8 +19427,8 @@ "binop": null, "updateContext": null }, - "start": 2029, - "end": 2030, + "start": 2018, + "end": 2019, "loc": { "start": { "line": 95, @@ -18788,8 +19453,8 @@ "binop": null }, "value": "PRIORITY_NORMAL", - "start": 2030, - "end": 2045, + "start": 2019, + "end": 2034, "loc": { "start": { "line": 95, @@ -18813,8 +19478,8 @@ "postfix": false, "binop": null }, - "start": 2045, - "end": 2046, + "start": 2034, + "end": 2035, "loc": { "start": { "line": 95, @@ -18839,8 +19504,8 @@ "binop": null, "updateContext": null }, - "start": 2046, - "end": 2047, + "start": 2035, + "end": 2036, "loc": { "start": { "line": 95, @@ -18864,8 +19529,8 @@ "postfix": false, "binop": null }, - "start": 2052, - "end": 2053, + "start": 2041, + "end": 2042, "loc": { "start": { "line": 96, @@ -18889,8 +19554,8 @@ "postfix": false, "binop": null }, - "start": 2056, - "end": 2057, + "start": 2045, + "end": 2046, "loc": { "start": { "line": 97, @@ -18917,8 +19582,8 @@ "updateContext": null }, "value": "return", - "start": 2061, - "end": 2067, + "start": 2050, + "end": 2056, "loc": { "start": { "line": 99, @@ -18945,8 +19610,8 @@ "updateContext": null }, "value": "true", - "start": 2068, - "end": 2072, + "start": 2057, + "end": 2061, "loc": { "start": { "line": 99, @@ -18971,8 +19636,8 @@ "binop": null, "updateContext": null }, - "start": 2072, - "end": 2073, + "start": 2061, + "end": 2062, "loc": { "start": { "line": 99, @@ -18996,8 +19661,8 @@ "postfix": false, "binop": null }, - "start": 2074, - "end": 2075, + "start": 2063, + "end": 2064, "loc": { "start": { "line": 100, @@ -19022,8 +19687,8 @@ "binop": null, "updateContext": null }, - "start": 2075, - "end": 2076, + "start": 2064, + "end": 2065, "loc": { "start": { "line": 100, @@ -19037,7 +19702,8 @@ }, { "type": { - "label": "eof", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19048,15 +19714,144 @@ "binop": null, "updateContext": null }, + "value": "export", + "start": 2067, + "end": 2073, + "loc": { + "start": { + "line": 102, + "column": 0 + }, + "end": { + "line": 102, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2073, + "end": 2074, + "loc": { + "start": { + "line": 102, + "column": 6 + }, + "end": { + "line": 102, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cManager", "start": 2077, - "end": 2077, + "end": 2085, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 10 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2085, + "end": 2086, + "loc": { + "start": { + "line": 103, + "column": 10 + }, + "end": { + "line": 103, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2087, + "end": 2088, + "loc": { + "start": { + "line": 104, + "column": 0 + }, + "end": { + "line": 104, + "column": 1 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2089, + "end": 2089, "loc": { "start": { - "line": 101, + "line": 105, "column": 0 }, "end": { - "line": 101, + "line": 105, "column": 0 } } diff --git a/ghpages/docs/ast/source/_cModel.js.json b/ghpages/docs/ast/source/cModel.js.json similarity index 100% rename from ghpages/docs/ast/source/_cModel.js.json rename to ghpages/docs/ast/source/cModel.js.json diff --git a/ghpages/docs/ast/source/elementManager.js.json b/ghpages/docs/ast/source/elementManager.js.json deleted file mode 100644 index 25ec8b4..0000000 --- a/ghpages/docs/ast/source/elementManager.js.json +++ /dev/null @@ -1,9571 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 1490, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 72, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 1490, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 72, - "column": 0 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 88, - "end": 132, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 44 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 97, - "end": 103, - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 97, - "end": 103, - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 15 - }, - "identifierName": "config" - }, - "name": "config", - "leadingComments": null - }, - "local": { - "type": "Identifier", - "start": 97, - "end": 103, - "loc": { - "start": { - "line": 6, - "column": 9 - }, - "end": { - "line": 6, - "column": 15 - }, - "identifierName": "config" - }, - "name": "config" - }, - "leadingComments": null - } - ], - "source": { - "type": "StringLiteral", - "start": 111, - "end": 131, - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 43 - } - }, - "extra": { - "rawValue": "./config/configMgr", - "raw": "'./config/configMgr'" - }, - "value": "./config/configMgr" - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @description The container and manager for all the DOM and WebGL emelents.\n ", - "start": 0, - "end": 85, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] - }, - { - "type": "ImportDeclaration", - "start": 133, - "end": 180, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 47 - } - }, - "specifiers": [ - { - "type": "ImportDefaultSpecifier", - "start": 140, - "end": 152, - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 19 - } - }, - "local": { - "type": "Identifier", - "start": 140, - "end": 152, - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 19 - }, - "identifierName": "htmlTemplate" - }, - "name": "htmlTemplate" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 158, - "end": 179, - "loc": { - "start": { - "line": 7, - "column": 25 - }, - "end": { - "line": 7, - "column": 46 - } - }, - "extra": { - "rawValue": "./tmplate/innerHTML", - "raw": "'./tmplate/innerHTML'" - }, - "value": "./tmplate/innerHTML" - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * The current WebGL element\n * @type {RenderingContext}\n ", - "start": 182, - "end": 246, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 - } - } - } - ] - }, - { - "type": "Identifier", - "start": 248, - "end": 274, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 26 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 252, - "end": 273, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 25 - } - }, - "id": { - "type": "Identifier", - "start": 252, - "end": 261, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 13 - }, - "identifierName": "currWebGL" - }, - "name": "currWebGL", - "leadingComments": null - }, - "init": { - "type": "Identifier", - "start": 264, - "end": 273, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 25 - }, - "identifierName": "undefined" - }, - "name": "undefined" - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [], - "trailingComments": [], - "name": "_" - }, - { - "type": "VariableDeclaration", - "start": 336, - "end": 351, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 15 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 340, - "end": 350, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 14 - } - }, - "id": { - "type": "Identifier", - "start": 340, - "end": 350, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 14 - }, - "identifierName": "currCanvas" - }, - "name": "currCanvas", - "leadingComments": null - }, - "init": null, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * The current canvas element\n * @type {DOMString}\n ", - "start": 276, - "end": 334, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Create the canvas and styles using DOM\n * @return {null}\n ", - "start": 353, - "end": 420, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - } - ] - }, - { - "type": "Identifier", - "start": 422, - "end": 687, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 37, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 431, - "end": 444, - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 22 - }, - "identifierName": "createElement" - }, - "name": "createElement", - "leadingComments": null - }, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 446, - "end": 687, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 37, - "column": 1 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 451, - "end": 495, - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 455, - "end": 494, - "loc": { - "start": { - "line": 30, - "column": 6 - }, - "end": { - "line": 30, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 455, - "end": 462, - "loc": { - "start": { - "line": 30, - "column": 6 - }, - "end": { - "line": 30, - "column": 13 - }, - "identifierName": "newElem" - }, - "name": "newElem" - }, - "init": { - "type": "CallExpression", - "start": 465, - "end": 494, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 465, - "end": 487, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 465, - "end": 473, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 24 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 474, - "end": 487, - "loc": { - "start": { - "line": 30, - "column": 25 - }, - "end": { - "line": 30, - "column": 38 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 488, - "end": 493, - "loc": { - "start": { - "line": 30, - "column": 39 - }, - "end": { - "line": 30, - "column": 44 - } - }, - "extra": { - "rawValue": "div", - "raw": "'div'" - }, - "value": "div" - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 498, - "end": 527, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 498, - "end": 526, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 498, - "end": 508, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 12 - } - }, - "object": { - "type": "Identifier", - "start": 498, - "end": 505, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 9 - }, - "identifierName": "newElem" - }, - "name": "newElem" - }, - "property": { - "type": "Identifier", - "start": 506, - "end": 508, - "loc": { - "start": { - "line": 31, - "column": 10 - }, - "end": { - "line": 31, - "column": 12 - }, - "identifierName": "id" - }, - "name": "id" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 511, - "end": 526, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 511, - "end": 522, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 511, - "end": 517, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 21 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 518, - "end": 522, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 26 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 523, - "end": 526, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 30 - }, - "identifierName": "div" - }, - "name": "div" - }, - "computed": false - } - } - }, - { - "type": "ExpressionStatement", - "start": 530, - "end": 571, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 43 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 530, - "end": 570, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 42 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 530, - "end": 547, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 530, - "end": 537, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 9 - }, - "identifierName": "newElem" - }, - "name": "newElem" - }, - "property": { - "type": "Identifier", - "start": 538, - "end": 547, - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 19 - }, - "identifierName": "innerHTML" - }, - "name": "innerHTML" - }, - "computed": false - }, - "right": { - "type": "CallExpression", - "start": 550, - "end": 570, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 550, - "end": 562, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 34 - }, - "identifierName": "htmlTemplate" - }, - "name": "htmlTemplate" - }, - "arguments": [ - { - "type": "Identifier", - "start": 563, - "end": 569, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 41 - }, - "identifierName": "config" - }, - "name": "config" - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 574, - "end": 609, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 574, - "end": 608, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 574, - "end": 599, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 574, - "end": 587, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 15 - } - }, - "object": { - "type": "Identifier", - "start": 574, - "end": 582, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 10 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 583, - "end": 587, - "loc": { - "start": { - "line": 33, - "column": 11 - }, - "end": { - "line": 33, - "column": 15 - }, - "identifierName": "body" - }, - "name": "body" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 588, - "end": 599, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 27 - }, - "identifierName": "appendChild" - }, - "name": "appendChild" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 600, - "end": 607, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 35 - }, - "identifierName": "newElem" - }, - "name": "newElem" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 612, - "end": 669, - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 59 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 612, - "end": 668, - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 58 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 612, - "end": 622, - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 12 - }, - "identifierName": "currCanvas" - }, - "name": "currCanvas" - }, - "right": { - "type": "CallExpression", - "start": 625, - "end": 668, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 625, - "end": 648, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 625, - "end": 633, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 23 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 634, - "end": 648, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 34, - "column": 38 - }, - "identifierName": "getElementById" - }, - "name": "getElementById" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 649, - "end": 667, - "loc": { - "start": { - "line": 34, - "column": 39 - }, - "end": { - "line": 34, - "column": 57 - } - }, - "object": { - "type": "MemberExpression", - "start": 649, - "end": 660, - "loc": { - "start": { - "line": 34, - "column": 39 - }, - "end": { - "line": 34, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 649, - "end": 655, - "loc": { - "start": { - "line": 34, - "column": 39 - }, - "end": { - "line": 34, - "column": 45 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 656, - "end": 660, - "loc": { - "start": { - "line": 34, - "column": 46 - }, - "end": { - "line": 34, - "column": 50 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 661, - "end": 667, - "loc": { - "start": { - "line": 34, - "column": 51 - }, - "end": { - "line": 34, - "column": 57 - }, - "identifierName": "canvas" - }, - "name": "canvas" - }, - "computed": false - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 672, - "end": 684, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 14 - } - }, - "expression": { - "type": "CallExpression", - "start": 672, - "end": 683, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 13 - } - }, - "callee": { - "type": "Identifier", - "start": 672, - "end": 681, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 11 - }, - "identifierName": "initWebGL" - }, - "name": "initWebGL" - }, - "arguments": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [], - "trailingComments": [], - "name": "_" - }, - { - "type": "FunctionDeclaration", - "start": 775, - "end": 1446, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 65, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 784, - "end": 793, - "loc": { - "start": { - "line": 44, - "column": 9 - }, - "end": { - "line": 44, - "column": 18 - }, - "identifierName": "initWebGL" - }, - "name": "initWebGL", - "leadingComments": null - }, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 795, - "end": 1446, - "loc": { - "start": { - "line": 44, - "column": 20 - }, - "end": { - "line": 65, - "column": 1 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 800, - "end": 903, - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 105 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 804, - "end": 902, - "loc": { - "start": { - "line": 46, - "column": 6 - }, - "end": { - "line": 46, - "column": 104 - } - }, - "id": { - "type": "Identifier", - "start": 804, - "end": 809, - "loc": { - "start": { - "line": 46, - "column": 6 - }, - "end": { - "line": 46, - "column": 11 - }, - "identifierName": "NAMES" - }, - "name": "NAMES" - }, - "init": { - "type": "ArrayExpression", - "start": 812, - "end": 902, - "loc": { - "start": { - "line": 46, - "column": 14 - }, - "end": { - "line": 46, - "column": 104 - } - }, - "elements": [ - { - "type": "StringLiteral", - "start": 813, - "end": 821, - "loc": { - "start": { - "line": 46, - "column": 15 - }, - "end": { - "line": 46, - "column": 23 - } - }, - "extra": { - "rawValue": "webgl2", - "raw": "'webgl2'" - }, - "value": "webgl2" - }, - { - "type": "StringLiteral", - "start": 823, - "end": 830, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 32 - } - }, - "extra": { - "rawValue": "webgl", - "raw": "'webgl'" - }, - "value": "webgl" - }, - { - "type": "StringLiteral", - "start": 832, - "end": 853, - "loc": { - "start": { - "line": 46, - "column": 34 - }, - "end": { - "line": 46, - "column": 55 - } - }, - "extra": { - "rawValue": "experimental-webgl2", - "raw": "'experimental-webgl2'" - }, - "value": "experimental-webgl2" - }, - { - "type": "StringLiteral", - "start": 855, - "end": 875, - "loc": { - "start": { - "line": 46, - "column": 57 - }, - "end": { - "line": 46, - "column": 77 - } - }, - "extra": { - "rawValue": "experimental-webgl", - "raw": "'experimental-webgl'" - }, - "value": "experimental-webgl" - }, - { - "type": "StringLiteral", - "start": 877, - "end": 888, - "loc": { - "start": { - "line": 46, - "column": 79 - }, - "end": { - "line": 46, - "column": 90 - } - }, - "extra": { - "rawValue": "webkit-3d", - "raw": "'webkit-3d'" - }, - "value": "webkit-3d" - }, - { - "type": "StringLiteral", - "start": 890, - "end": 901, - "loc": { - "start": { - "line": 46, - "column": 92 - }, - "end": { - "line": 46, - "column": 103 - } - }, - "extra": { - "rawValue": "moz-webgl", - "raw": "'moz-webgl'" - }, - "value": "moz-webgl" - } - ] - } - } - ], - "kind": "var" - }, - { - "type": "ForStatement", - "start": 906, - "end": 1189, - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 57, - "column": 3 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 910, - "end": 919, - "loc": { - "start": { - "line": 47, - "column": 6 - }, - "end": { - "line": 47, - "column": 15 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 914, - "end": 919, - "loc": { - "start": { - "line": 47, - "column": 10 - }, - "end": { - "line": 47, - "column": 15 - } - }, - "id": { - "type": "Identifier", - "start": 914, - "end": 915, - "loc": { - "start": { - "line": 47, - "column": 10 - }, - "end": { - "line": 47, - "column": 11 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "NumericLiteral", - "start": 918, - "end": 919, - "loc": { - "start": { - "line": 47, - "column": 14 - }, - "end": { - "line": 47, - "column": 15 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 921, - "end": 937, - "loc": { - "start": { - "line": 47, - "column": 17 - }, - "end": { - "line": 47, - "column": 33 - } - }, - "left": { - "type": "Identifier", - "start": 921, - "end": 922, - "loc": { - "start": { - "line": 47, - "column": 17 - }, - "end": { - "line": 47, - "column": 18 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "<", - "right": { - "type": "MemberExpression", - "start": 925, - "end": 937, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 925, - "end": 930, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 26 - }, - "identifierName": "NAMES" - }, - "name": "NAMES" - }, - "property": { - "type": "Identifier", - "start": 931, - "end": 937, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 33 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - }, - "update": { - "type": "UpdateExpression", - "start": 939, - "end": 942, - "loc": { - "start": { - "line": 47, - "column": 35 - }, - "end": { - "line": 47, - "column": 38 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 939, - "end": 940, - "loc": { - "start": { - "line": 47, - "column": 35 - }, - "end": { - "line": 47, - "column": 36 - }, - "identifierName": "i" - }, - "name": "i" - } - }, - "body": { - "type": "BlockStatement", - "start": 943, - "end": 1189, - "loc": { - "start": { - "line": 47, - "column": 39 - }, - "end": { - "line": 57, - "column": 3 - } - }, - "body": [ - { - "type": "TryStatement", - "start": 949, - "end": 1185, - "loc": { - "start": { - "line": 48, - "column": 4 - }, - "end": { - "line": 56, - "column": 15 - } - }, - "block": { - "type": "BlockStatement", - "start": 952, - "end": 1175, - "loc": { - "start": { - "line": 48, - "column": 7 - }, - "end": { - "line": 56, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 960, - "end": 1138, - "loc": { - "start": { - "line": 49, - "column": 6 - }, - "end": { - "line": 54, - "column": 9 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 964, - "end": 1137, - "loc": { - "start": { - "line": 49, - "column": 10 - }, - "end": { - "line": 54, - "column": 8 - } - }, - "id": { - "type": "Identifier", - "start": 964, - "end": 967, - "loc": { - "start": { - "line": 49, - "column": 10 - }, - "end": { - "line": 49, - "column": 13 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "init": { - "type": "CallExpression", - "start": 970, - "end": 1137, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 54, - "column": 8 - } - }, - "callee": { - "type": "MemberExpression", - "start": 970, - "end": 991, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 970, - "end": 980, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 26 - }, - "identifierName": "currCanvas" - }, - "name": "currCanvas" - }, - "property": { - "type": "Identifier", - "start": 981, - "end": 991, - "loc": { - "start": { - "line": 49, - "column": 27 - }, - "end": { - "line": 49, - "column": 37 - }, - "identifierName": "getContext" - }, - "name": "getContext" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 992, - "end": 1000, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 992, - "end": 997, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 43 - }, - "identifierName": "NAMES" - }, - "name": "NAMES" - }, - "property": { - "type": "Identifier", - "start": 998, - "end": 999, - "loc": { - "start": { - "line": 49, - "column": 44 - }, - "end": { - "line": 49, - "column": 45 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - { - "type": "ObjectExpression", - "start": 1002, - "end": 1136, - "loc": { - "start": { - "line": 49, - "column": 48 - }, - "end": { - "line": 54, - "column": 7 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1012, - "end": 1023, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 19 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1012, - "end": 1017, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 13 - }, - "identifierName": "alpha" - }, - "name": "alpha" - }, - "value": { - "type": "BooleanLiteral", - "start": 1019, - "end": 1023, - "loc": { - "start": { - "line": 50, - "column": 15 - }, - "end": { - "line": 50, - "column": 19 - } - }, - "value": true - } - }, - { - "type": "ObjectProperty", - "start": 1033, - "end": 1048, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 23 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1033, - "end": 1042, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 17 - }, - "identifierName": "antialias" - }, - "name": "antialias" - }, - "value": { - "type": "BooleanLiteral", - "start": 1044, - "end": 1048, - "loc": { - "start": { - "line": 51, - "column": 19 - }, - "end": { - "line": 51, - "column": 23 - } - }, - "value": true - } - }, - { - "type": "ObjectProperty", - "start": 1058, - "end": 1082, - "loc": { - "start": { - "line": 52, - "column": 8 - }, - "end": { - "line": 52, - "column": 32 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1058, - "end": 1076, - "loc": { - "start": { - "line": 52, - "column": 8 - }, - "end": { - "line": 52, - "column": 26 - }, - "identifierName": "premultipliedAlpha" - }, - "name": "premultipliedAlpha" - }, - "value": { - "type": "BooleanLiteral", - "start": 1078, - "end": 1082, - "loc": { - "start": { - "line": 52, - "column": 28 - }, - "end": { - "line": 52, - "column": 32 - } - }, - "value": true - } - }, - { - "type": "ObjectProperty", - "start": 1092, - "end": 1127, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 43 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1092, - "end": 1120, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 36 - }, - "identifierName": "failIfMajorPerformanceCaveat" - }, - "name": "failIfMajorPerformanceCaveat" - }, - "value": { - "type": "BooleanLiteral", - "start": 1122, - "end": 1127, - "loc": { - "start": { - "line": 53, - "column": 38 - }, - "end": { - "line": 53, - "column": 43 - } - }, - "value": false - } - } - ] - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 1145, - "end": 1169, - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 30 - } - }, - "test": { - "type": "Identifier", - "start": 1148, - "end": 1151, - "loc": { - "start": { - "line": 55, - "column": 9 - }, - "end": { - "line": 55, - "column": 12 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "consequent": { - "type": "ExpressionStatement", - "start": 1153, - "end": 1169, - "loc": { - "start": { - "line": 55, - "column": 14 - }, - "end": { - "line": 55, - "column": 30 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1153, - "end": 1168, - "loc": { - "start": { - "line": 55, - "column": 14 - }, - "end": { - "line": 55, - "column": 29 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1153, - "end": 1162, - "loc": { - "start": { - "line": 55, - "column": 14 - }, - "end": { - "line": 55, - "column": 23 - }, - "identifierName": "currWebGL" - }, - "name": "currWebGL" - }, - "right": { - "type": "Identifier", - "start": 1165, - "end": 1168, - "loc": { - "start": { - "line": 55, - "column": 26 - }, - "end": { - "line": 55, - "column": 29 - }, - "identifierName": "ctx" - }, - "name": "ctx" - } - } - }, - "alternate": null - } - ], - "directives": [] - }, - "handler": { - "type": "CatchClause", - "start": 1175, - "end": 1185, - "loc": { - "start": { - "line": 56, - "column": 5 - }, - "end": { - "line": 56, - "column": 15 - } - }, - "param": { - "type": "Identifier", - "start": 1181, - "end": 1182, - "loc": { - "start": { - "line": 56, - "column": 11 - }, - "end": { - "line": 56, - "column": 12 - }, - "identifierName": "e" - }, - "name": "e" - }, - "body": { - "type": "BlockStatement", - "start": 1183, - "end": 1185, - "loc": { - "start": { - "line": 56, - "column": 13 - }, - "end": { - "line": 56, - "column": 15 - } - }, - "body": [], - "directives": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ], - "directives": [] - } - }, - { - "type": "IfStatement", - "start": 1192, - "end": 1444, - "loc": { - "start": { - "line": 58, - "column": 2 - }, - "end": { - "line": 64, - "column": 3 - } - }, - "test": { - "type": "UnaryExpression", - "start": 1195, - "end": 1198, - "loc": { - "start": { - "line": 58, - "column": 5 - }, - "end": { - "line": 58, - "column": 8 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 1196, - "end": 1198, - "loc": { - "start": { - "line": 58, - "column": 6 - }, - "end": { - "line": 58, - "column": 8 - }, - "identifierName": "gl" - }, - "name": "gl" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1199, - "end": 1444, - "loc": { - "start": { - "line": 58, - "column": 9 - }, - "end": { - "line": 64, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1205, - "end": 1270, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 69 - } - }, - "expression": { - "type": "CallExpression", - "start": 1205, - "end": 1269, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 68 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1205, - "end": 1218, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 1205, - "end": 1212, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 11 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 1213, - "end": 1218, - "loc": { - "start": { - "line": 59, - "column": 12 - }, - "end": { - "line": 59, - "column": 17 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1219, - "end": 1268, - "loc": { - "start": { - "line": 59, - "column": 18 - }, - "end": { - "line": 59, - "column": 67 - } - }, - "extra": { - "rawValue": "Live2D widgets: Failed to create WebGL context.", - "raw": "'Live2D widgets: Failed to create WebGL context.'" - }, - "value": "Live2D widgets: Failed to create WebGL context." - } - ] - } - }, - { - "type": "IfStatement", - "start": 1275, - "end": 1428, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 62, - "column": 5 - } - }, - "test": { - "type": "UnaryExpression", - "start": 1278, - "end": 1307, - "loc": { - "start": { - "line": 60, - "column": 7 - }, - "end": { - "line": 60, - "column": 36 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 1279, - "end": 1307, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 1279, - "end": 1285, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 14 - }, - "identifierName": "window" - }, - "name": "window" - }, - "property": { - "type": "Identifier", - "start": 1286, - "end": 1307, - "loc": { - "start": { - "line": 60, - "column": 15 - }, - "end": { - "line": 60, - "column": 36 - }, - "identifierName": "WebGLRenderingContext" - }, - "name": "WebGLRenderingContext" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1308, - "end": 1428, - "loc": { - "start": { - "line": 60, - "column": 37 - }, - "end": { - "line": 62, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1316, - "end": 1422, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 112 - } - }, - "expression": { - "type": "CallExpression", - "start": 1316, - "end": 1421, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 111 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1316, - "end": 1329, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 1316, - "end": 1323, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 1324, - "end": 1329, - "loc": { - "start": { - "line": 61, - "column": 14 - }, - "end": { - "line": 61, - "column": 19 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1330, - "end": 1420, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 110 - } - }, - "extra": { - "rawValue": "Your browser may not support WebGL, check https://get.webgl.org/ for futher information.", - "raw": "'Your browser may not support WebGL, check https://get.webgl.org/ for futher information.'" - }, - "value": "Your browser may not support WebGL, check https://get.webgl.org/ for futher information." - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 1433, - "end": 1440, - "loc": { - "start": { - "line": 63, - "column": 4 - }, - "end": { - "line": 63, - "column": 11 - } - }, - "argument": null - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Find and set the current WebGL element to the container\n * @return {null}\n ", - "start": 689, - "end": 773, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 42, - "column": 3 - } - } - } - ] - }, - { - "type": "EmptyStatement", - "start": 1446, - "end": 1447, - "loc": { - "start": { - "line": 65, - "column": 1 - }, - "end": { - "line": 65, - "column": 2 - } - } - }, - { - "type": "ExportNamedDeclaration", - "start": 1450, - "end": 1489, - "loc": { - "start": { - "line": 68, - "column": 0 - }, - "end": { - "line": 71, - "column": 1 - } - }, - "declaration": null, - "specifiers": [ - { - "type": "ExportSpecifier", - "start": 1460, - "end": 1473, - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 69, - "column": 15 - } - }, - "local": { - "type": "Identifier", - "start": 1460, - "end": 1473, - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 69, - "column": 15 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "exported": { - "type": "Identifier", - "start": 1460, - "end": 1473, - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 69, - "column": 15 - }, - "identifierName": "createElement" - }, - "name": "createElement" - } - }, - { - "type": "ExportSpecifier", - "start": 1477, - "end": 1486, - "loc": { - "start": { - "line": 70, - "column": 2 - }, - "end": { - "line": 70, - "column": 11 - } - }, - "local": { - "type": "Identifier", - "start": 1477, - "end": 1486, - "loc": { - "start": { - "line": 70, - "column": 2 - }, - "end": { - "line": 70, - "column": 11 - }, - "identifierName": "currWebGL" - }, - "name": "currWebGL" - }, - "exported": { - "type": "Identifier", - "start": 1477, - "end": 1486, - "loc": { - "start": { - "line": 70, - "column": 2 - }, - "end": { - "line": 70, - "column": 11 - }, - "identifierName": "currWebGL" - }, - "name": "currWebGL" - } - } - ], - "source": null - }, - { - "type": "ExportNamedDeclaration", - "start": 1450, - "end": 1489, - "loc": { - "start": { - "line": 68, - "column": 0 - }, - "end": { - "line": 71, - "column": 1 - } - }, - "declaration": { - "type": "FunctionDeclaration", - "start": 422, - "end": 687, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 37, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 431, - "end": 444, - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 22 - }, - "identifierName": "createElement" - }, - "name": "createElement", - "leadingComments": null - }, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 446, - "end": 687, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 37, - "column": 1 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 451, - "end": 495, - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 455, - "end": 494, - "loc": { - "start": { - "line": 30, - "column": 6 - }, - "end": { - "line": 30, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 455, - "end": 462, - "loc": { - "start": { - "line": 30, - "column": 6 - }, - "end": { - "line": 30, - "column": 13 - }, - "identifierName": "newElem" - }, - "name": "newElem" - }, - "init": { - "type": "CallExpression", - "start": 465, - "end": 494, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 465, - "end": 487, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 465, - "end": 473, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 24 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 474, - "end": 487, - "loc": { - "start": { - "line": 30, - "column": 25 - }, - "end": { - "line": 30, - "column": 38 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 488, - "end": 493, - "loc": { - "start": { - "line": 30, - "column": 39 - }, - "end": { - "line": 30, - "column": 44 - } - }, - "extra": { - "rawValue": "div", - "raw": "'div'" - }, - "value": "div" - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 498, - "end": 527, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 498, - "end": 526, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 498, - "end": 508, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 12 - } - }, - "object": { - "type": "Identifier", - "start": 498, - "end": 505, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 9 - }, - "identifierName": "newElem" - }, - "name": "newElem" - }, - "property": { - "type": "Identifier", - "start": 506, - "end": 508, - "loc": { - "start": { - "line": 31, - "column": 10 - }, - "end": { - "line": 31, - "column": 12 - }, - "identifierName": "id" - }, - "name": "id" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 511, - "end": 526, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 511, - "end": 522, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 511, - "end": 517, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 21 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 518, - "end": 522, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 26 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 523, - "end": 526, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 30 - }, - "identifierName": "div" - }, - "name": "div" - }, - "computed": false - } - } - }, - { - "type": "ExpressionStatement", - "start": 530, - "end": 571, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 43 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 530, - "end": 570, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 42 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 530, - "end": 547, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 530, - "end": 537, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 9 - }, - "identifierName": "newElem" - }, - "name": "newElem" - }, - "property": { - "type": "Identifier", - "start": 538, - "end": 547, - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 19 - }, - "identifierName": "innerHTML" - }, - "name": "innerHTML" - }, - "computed": false - }, - "right": { - "type": "CallExpression", - "start": 550, - "end": 570, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 550, - "end": 562, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 34 - }, - "identifierName": "htmlTemplate" - }, - "name": "htmlTemplate" - }, - "arguments": [ - { - "type": "Identifier", - "start": 563, - "end": 569, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 41 - }, - "identifierName": "config" - }, - "name": "config" - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 574, - "end": 609, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 574, - "end": 608, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 574, - "end": 599, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 574, - "end": 587, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 15 - } - }, - "object": { - "type": "Identifier", - "start": 574, - "end": 582, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 10 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 583, - "end": 587, - "loc": { - "start": { - "line": 33, - "column": 11 - }, - "end": { - "line": 33, - "column": 15 - }, - "identifierName": "body" - }, - "name": "body" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 588, - "end": 599, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 27 - }, - "identifierName": "appendChild" - }, - "name": "appendChild" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 600, - "end": 607, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 35 - }, - "identifierName": "newElem" - }, - "name": "newElem" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 612, - "end": 669, - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 59 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 612, - "end": 668, - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 58 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 612, - "end": 622, - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 12 - }, - "identifierName": "currCanvas" - }, - "name": "currCanvas" - }, - "right": { - "type": "CallExpression", - "start": 625, - "end": 668, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 625, - "end": 648, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 625, - "end": 633, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 23 - }, - "identifierName": "document" - }, - "name": "document" - }, - "property": { - "type": "Identifier", - "start": 634, - "end": 648, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 34, - "column": 38 - }, - "identifierName": "getElementById" - }, - "name": "getElementById" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 649, - "end": 667, - "loc": { - "start": { - "line": 34, - "column": 39 - }, - "end": { - "line": 34, - "column": 57 - } - }, - "object": { - "type": "MemberExpression", - "start": 649, - "end": 660, - "loc": { - "start": { - "line": 34, - "column": 39 - }, - "end": { - "line": 34, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 649, - "end": 655, - "loc": { - "start": { - "line": 34, - "column": 39 - }, - "end": { - "line": 34, - "column": 45 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 656, - "end": 660, - "loc": { - "start": { - "line": 34, - "column": 46 - }, - "end": { - "line": 34, - "column": 50 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 661, - "end": 667, - "loc": { - "start": { - "line": 34, - "column": 51 - }, - "end": { - "line": 34, - "column": 57 - }, - "identifierName": "canvas" - }, - "name": "canvas" - }, - "computed": false - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 672, - "end": 684, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 14 - } - }, - "expression": { - "type": "CallExpression", - "start": 672, - "end": 683, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 13 - } - }, - "callee": { - "type": "Identifier", - "start": 672, - "end": 681, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 11 - }, - "identifierName": "initWebGL" - }, - "name": "initWebGL" - }, - "arguments": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Create the canvas and styles using DOM\n * @return {null}\n ", - "start": 353, - "end": 420, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Find and set the current WebGL element to the container\n * @return {null}\n ", - "start": 689, - "end": 773, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 42, - "column": 3 - } - } - } - ] - }, - "specifiers": null, - "source": null, - "leadingComments": null - }, - { - "type": "ExportNamedDeclaration", - "start": 1450, - "end": 1489, - "loc": { - "start": { - "line": 68, - "column": 0 - }, - "end": { - "line": 71, - "column": 1 - } - }, - "declaration": { - "type": "VariableDeclaration", - "start": 248, - "end": 274, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 26 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 252, - "end": 273, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 25 - } - }, - "id": { - "type": "Identifier", - "start": 252, - "end": 261, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 13 - }, - "identifierName": "currWebGL" - }, - "name": "currWebGL", - "leadingComments": null - }, - "init": { - "type": "Identifier", - "start": 264, - "end": 273, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 25 - }, - "identifierName": "undefined" - }, - "name": "undefined" - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * The current WebGL element\n * @type {RenderingContext}\n ", - "start": 182, - "end": 246, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * The current canvas element\n * @type {DOMString}\n ", - "start": 276, - "end": 334, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - } - ] - }, - "specifiers": null, - "source": null, - "leadingComments": null - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * @description The container and manager for all the DOM and WebGL emelents.\n ", - "start": 0, - "end": 85, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * The current WebGL element\n * @type {RenderingContext}\n ", - "start": 182, - "end": 246, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * The current canvas element\n * @type {DOMString}\n ", - "start": 276, - "end": 334, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Create the canvas and styles using DOM\n * @return {null}\n ", - "start": 353, - "end": 420, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Find and set the current WebGL element to the container\n * @return {null}\n ", - "start": 689, - "end": 773, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 42, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "*\n * @description The container and manager for all the DOM and WebGL emelents.\n ", - "start": 0, - "end": 85, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - }, - { - "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": 88, - "end": 94, - "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": 95, - "end": 96, - "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": "config", - "start": 97, - "end": 103, - "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": 104, - "end": 105, - "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": 106, - "end": 110, - "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": "./config/configMgr", - "start": 111, - "end": 131, - "loc": { - "start": { - "line": 6, - "column": 23 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 131, - "end": 132, - "loc": { - "start": { - "line": 6, - "column": 43 - }, - "end": { - "line": 6, - "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": 133, - "end": 139, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 6 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "htmlTemplate", - "start": 140, - "end": 152, - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 153, - "end": 157, - "loc": { - "start": { - "line": 7, - "column": 20 - }, - "end": { - "line": 7, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./tmplate/innerHTML", - "start": 158, - "end": 179, - "loc": { - "start": { - "line": 7, - "column": 25 - }, - "end": { - "line": 7, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 179, - "end": 180, - "loc": { - "start": { - "line": 7, - "column": 46 - }, - "end": { - "line": 7, - "column": 47 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * The current WebGL element\n * @type {RenderingContext}\n ", - "start": 182, - "end": 246, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 - } - } - }, - { - "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": 248, - "end": 251, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 3 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currWebGL", - "start": 252, - "end": 261, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 262, - "end": 263, - "loc": { - "start": { - "line": 14, - "column": 14 - }, - "end": { - "line": 14, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "undefined", - "start": 264, - "end": 273, - "loc": { - "start": { - "line": 14, - "column": 16 - }, - "end": { - "line": 14, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 14, - "column": 25 - }, - "end": { - "line": 14, - "column": 26 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * The current canvas element\n * @type {DOMString}\n ", - "start": 276, - "end": 334, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 19, - "column": 3 - } - } - }, - { - "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": 336, - "end": 339, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currCanvas", - "start": 340, - "end": 350, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 350, - "end": 351, - "loc": { - "start": { - "line": 21, - "column": 14 - }, - "end": { - "line": 21, - "column": 15 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Create the canvas and styles using DOM\n * @return {null}\n ", - "start": 353, - "end": 420, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "function", - "start": 422, - "end": 430, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "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": "createElement", - "start": 431, - "end": 444, - "loc": { - "start": { - "line": 28, - "column": 9 - }, - "end": { - "line": 28, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 444, - "end": 445, - "loc": { - "start": { - "line": 28, - "column": 22 - }, - "end": { - "line": 28, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 445, - "end": 446, - "loc": { - "start": { - "line": 28, - "column": 23 - }, - "end": { - "line": 28, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 446, - "end": 447, - "loc": { - "start": { - "line": 28, - "column": 24 - }, - "end": { - "line": 28, - "column": 25 - } - } - }, - { - "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": 451, - "end": 454, - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 30, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newElem", - "start": 455, - "end": 462, - "loc": { - "start": { - "line": 30, - "column": 6 - }, - "end": { - "line": 30, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 463, - "end": 464, - "loc": { - "start": { - "line": 30, - "column": 14 - }, - "end": { - "line": 30, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 465, - "end": 473, - "loc": { - "start": { - "line": 30, - "column": 16 - }, - "end": { - "line": 30, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 473, - "end": 474, - "loc": { - "start": { - "line": 30, - "column": 24 - }, - "end": { - "line": 30, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createElement", - "start": 474, - "end": 487, - "loc": { - "start": { - "line": 30, - "column": 25 - }, - "end": { - "line": 30, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 487, - "end": 488, - "loc": { - "start": { - "line": 30, - "column": 38 - }, - "end": { - "line": 30, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "div", - "start": 488, - "end": 493, - "loc": { - "start": { - "line": 30, - "column": 39 - }, - "end": { - "line": 30, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 493, - "end": 494, - "loc": { - "start": { - "line": 30, - "column": 44 - }, - "end": { - "line": 30, - "column": 45 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 494, - "end": 495, - "loc": { - "start": { - "line": 30, - "column": 45 - }, - "end": { - "line": 30, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newElem", - "start": 498, - "end": 505, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 9 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 505, - "end": 506, - "loc": { - "start": { - "line": 31, - "column": 9 - }, - "end": { - "line": 31, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 506, - "end": 508, - "loc": { - "start": { - "line": 31, - "column": 10 - }, - "end": { - "line": 31, - "column": 12 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 509, - "end": 510, - "loc": { - "start": { - "line": 31, - "column": 13 - }, - "end": { - "line": 31, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "config", - "start": 511, - "end": 517, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 517, - "end": 518, - "loc": { - "start": { - "line": 31, - "column": 21 - }, - "end": { - "line": 31, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 518, - "end": 522, - "loc": { - "start": { - "line": 31, - "column": 22 - }, - "end": { - "line": 31, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 522, - "end": 523, - "loc": { - "start": { - "line": 31, - "column": 26 - }, - "end": { - "line": 31, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "div", - "start": 523, - "end": 526, - "loc": { - "start": { - "line": 31, - "column": 27 - }, - "end": { - "line": 31, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 526, - "end": 527, - "loc": { - "start": { - "line": 31, - "column": 30 - }, - "end": { - "line": 31, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newElem", - "start": 530, - "end": 537, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 9 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 537, - "end": 538, - "loc": { - "start": { - "line": 32, - "column": 9 - }, - "end": { - "line": 32, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "innerHTML", - "start": 538, - "end": 547, - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 548, - "end": 549, - "loc": { - "start": { - "line": 32, - "column": 20 - }, - "end": { - "line": 32, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "htmlTemplate", - "start": 550, - "end": 562, - "loc": { - "start": { - "line": 32, - "column": 22 - }, - "end": { - "line": 32, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 562, - "end": 563, - "loc": { - "start": { - "line": 32, - "column": 34 - }, - "end": { - "line": 32, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "config", - "start": 563, - "end": 569, - "loc": { - "start": { - "line": 32, - "column": 35 - }, - "end": { - "line": 32, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 569, - "end": 570, - "loc": { - "start": { - "line": 32, - "column": 41 - }, - "end": { - "line": 32, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 570, - "end": 571, - "loc": { - "start": { - "line": 32, - "column": 42 - }, - "end": { - "line": 32, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 574, - "end": 582, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 33, - "column": 10 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 582, - "end": 583, - "loc": { - "start": { - "line": 33, - "column": 10 - }, - "end": { - "line": 33, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "body", - "start": 583, - "end": 587, - "loc": { - "start": { - "line": 33, - "column": 11 - }, - "end": { - "line": 33, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 587, - "end": 588, - "loc": { - "start": { - "line": 33, - "column": 15 - }, - "end": { - "line": 33, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "appendChild", - "start": 588, - "end": 599, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 599, - "end": 600, - "loc": { - "start": { - "line": 33, - "column": 27 - }, - "end": { - "line": 33, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newElem", - "start": 600, - "end": 607, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 607, - "end": 608, - "loc": { - "start": { - "line": 33, - "column": 35 - }, - "end": { - "line": 33, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 608, - "end": 609, - "loc": { - "start": { - "line": 33, - "column": 36 - }, - "end": { - "line": 33, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currCanvas", - "start": 612, - "end": 622, - "loc": { - "start": { - "line": 34, - "column": 2 - }, - "end": { - "line": 34, - "column": 12 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 623, - "end": 624, - "loc": { - "start": { - "line": 34, - "column": 13 - }, - "end": { - "line": 34, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "document", - "start": 625, - "end": 633, - "loc": { - "start": { - "line": 34, - "column": 15 - }, - "end": { - "line": 34, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 633, - "end": 634, - "loc": { - "start": { - "line": 34, - "column": 23 - }, - "end": { - "line": 34, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getElementById", - "start": 634, - "end": 648, - "loc": { - "start": { - "line": 34, - "column": 24 - }, - "end": { - "line": 34, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 648, - "end": 649, - "loc": { - "start": { - "line": 34, - "column": 38 - }, - "end": { - "line": 34, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "config", - "start": 649, - "end": 655, - "loc": { - "start": { - "line": 34, - "column": 39 - }, - "end": { - "line": 34, - "column": 45 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 655, - "end": 656, - "loc": { - "start": { - "line": 34, - "column": 45 - }, - "end": { - "line": 34, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 656, - "end": 660, - "loc": { - "start": { - "line": 34, - "column": 46 - }, - "end": { - "line": 34, - "column": 50 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 660, - "end": 661, - "loc": { - "start": { - "line": 34, - "column": 50 - }, - "end": { - "line": 34, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "canvas", - "start": 661, - "end": 667, - "loc": { - "start": { - "line": 34, - "column": 51 - }, - "end": { - "line": 34, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 667, - "end": 668, - "loc": { - "start": { - "line": 34, - "column": 57 - }, - "end": { - "line": 34, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 668, - "end": 669, - "loc": { - "start": { - "line": 34, - "column": 58 - }, - "end": { - "line": 34, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "initWebGL", - "start": 672, - "end": 681, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 35, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 681, - "end": 682, - "loc": { - "start": { - "line": 35, - "column": 11 - }, - "end": { - "line": 35, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 682, - "end": 683, - "loc": { - "start": { - "line": 35, - "column": 12 - }, - "end": { - "line": 35, - "column": 13 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 683, - "end": 684, - "loc": { - "start": { - "line": 35, - "column": 13 - }, - "end": { - "line": 35, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 686, - "end": 687, - "loc": { - "start": { - "line": 37, - "column": 0 - }, - "end": { - "line": 37, - "column": 1 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Find and set the current WebGL element to the container\n * @return {null}\n ", - "start": 689, - "end": 773, - "loc": { - "start": { - "line": 39, - "column": 0 - }, - "end": { - "line": 42, - "column": 3 - } - } - }, - { - "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "function", - "start": 775, - "end": 783, - "loc": { - "start": { - "line": 44, - "column": 0 - }, - "end": { - "line": 44, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "initWebGL", - "start": 784, - "end": 793, - "loc": { - "start": { - "line": 44, - "column": 9 - }, - "end": { - "line": 44, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 793, - "end": 794, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 794, - "end": 795, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 795, - "end": 796, - "loc": { - "start": { - "line": 44, - "column": 20 - }, - "end": { - "line": 44, - "column": 21 - } - } - }, - { - "type": { - "label": "var", - "keyword": "var", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "var", - "start": 800, - "end": 803, - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "NAMES", - "start": 804, - "end": 809, - "loc": { - "start": { - "line": 46, - "column": 6 - }, - "end": { - "line": 46, - "column": 11 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 810, - "end": 811, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 13 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 812, - "end": 813, - "loc": { - "start": { - "line": 46, - "column": 14 - }, - "end": { - "line": 46, - "column": 15 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "webgl2", - "start": 813, - "end": 821, - "loc": { - "start": { - "line": 46, - "column": 15 - }, - "end": { - "line": 46, - "column": 23 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 821, - "end": 822, - "loc": { - "start": { - "line": 46, - "column": 23 - }, - "end": { - "line": 46, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "webgl", - "start": 823, - "end": 830, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 830, - "end": 831, - "loc": { - "start": { - "line": 46, - "column": 32 - }, - "end": { - "line": 46, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "experimental-webgl2", - "start": 832, - "end": 853, - "loc": { - "start": { - "line": 46, - "column": 34 - }, - "end": { - "line": 46, - "column": 55 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 853, - "end": 854, - "loc": { - "start": { - "line": 46, - "column": 55 - }, - "end": { - "line": 46, - "column": 56 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "experimental-webgl", - "start": 855, - "end": 875, - "loc": { - "start": { - "line": 46, - "column": 57 - }, - "end": { - "line": 46, - "column": 77 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 875, - "end": 876, - "loc": { - "start": { - "line": 46, - "column": 77 - }, - "end": { - "line": 46, - "column": 78 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "webkit-3d", - "start": 877, - "end": 888, - "loc": { - "start": { - "line": 46, - "column": 79 - }, - "end": { - "line": 46, - "column": 90 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 888, - "end": 889, - "loc": { - "start": { - "line": 46, - "column": 90 - }, - "end": { - "line": 46, - "column": 91 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "moz-webgl", - "start": 890, - "end": 901, - "loc": { - "start": { - "line": 46, - "column": 92 - }, - "end": { - "line": 46, - "column": 103 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 901, - "end": 902, - "loc": { - "start": { - "line": 46, - "column": 103 - }, - "end": { - "line": 46, - "column": 104 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 902, - "end": 903, - "loc": { - "start": { - "line": 46, - "column": 104 - }, - "end": { - "line": 46, - "column": 105 - } - } - }, - { - "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": 906, - "end": 909, - "loc": { - "start": { - "line": 47, - "column": 2 - }, - "end": { - "line": 47, - "column": 5 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 909, - "end": 910, - "loc": { - "start": { - "line": 47, - "column": 5 - }, - "end": { - "line": 47, - "column": 6 - } - } - }, - { - "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": 910, - "end": 913, - "loc": { - "start": { - "line": 47, - "column": 6 - }, - "end": { - "line": 47, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 914, - "end": 915, - "loc": { - "start": { - "line": 47, - "column": 10 - }, - "end": { - "line": 47, - "column": 11 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 916, - "end": 917, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 47, - "column": 13 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 918, - "end": 919, - "loc": { - "start": { - "line": 47, - "column": 14 - }, - "end": { - "line": 47, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 919, - "end": 920, - "loc": { - "start": { - "line": 47, - "column": 15 - }, - "end": { - "line": 47, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 921, - "end": 922, - "loc": { - "start": { - "line": 47, - "column": 17 - }, - "end": { - "line": 47, - "column": 18 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": "<", - "start": 923, - "end": 924, - "loc": { - "start": { - "line": 47, - "column": 19 - }, - "end": { - "line": 47, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "NAMES", - "start": 925, - "end": 930, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 930, - "end": 931, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 931, - "end": 937, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 937, - "end": 938, - "loc": { - "start": { - "line": 47, - "column": 33 - }, - "end": { - "line": 47, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 939, - "end": 940, - "loc": { - "start": { - "line": 47, - "column": 35 - }, - "end": { - "line": 47, - "column": 36 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 940, - "end": 942, - "loc": { - "start": { - "line": 47, - "column": 36 - }, - "end": { - "line": 47, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 942, - "end": 943, - "loc": { - "start": { - "line": 47, - "column": 38 - }, - "end": { - "line": 47, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 943, - "end": 944, - "loc": { - "start": { - "line": 47, - "column": 39 - }, - "end": { - "line": 47, - "column": 40 - } - } - }, - { - "type": { - "label": "try", - "keyword": "try", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "try", - "start": 949, - "end": 952, - "loc": { - "start": { - "line": 48, - "column": 4 - }, - "end": { - "line": 48, - "column": 7 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 952, - "end": 953, - "loc": { - "start": { - "line": 48, - "column": 7 - }, - "end": { - "line": 48, - "column": 8 - } - } - }, - { - "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": 960, - "end": 963, - "loc": { - "start": { - "line": 49, - "column": 6 - }, - "end": { - "line": 49, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ctx", - "start": 964, - "end": 967, - "loc": { - "start": { - "line": 49, - "column": 10 - }, - "end": { - "line": 49, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 968, - "end": 969, - "loc": { - "start": { - "line": 49, - "column": 14 - }, - "end": { - "line": 49, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currCanvas", - "start": 970, - "end": 980, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 980, - "end": 981, - "loc": { - "start": { - "line": 49, - "column": 26 - }, - "end": { - "line": 49, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getContext", - "start": 981, - "end": 991, - "loc": { - "start": { - "line": 49, - "column": 27 - }, - "end": { - "line": 49, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 991, - "end": 992, - "loc": { - "start": { - "line": 49, - "column": 37 - }, - "end": { - "line": 49, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "NAMES", - "start": 992, - "end": 997, - "loc": { - "start": { - "line": 49, - "column": 38 - }, - "end": { - "line": 49, - "column": 43 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 997, - "end": 998, - "loc": { - "start": { - "line": 49, - "column": 43 - }, - "end": { - "line": 49, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 998, - "end": 999, - "loc": { - "start": { - "line": 49, - "column": 44 - }, - "end": { - "line": 49, - "column": 45 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 999, - "end": 1000, - "loc": { - "start": { - "line": 49, - "column": 45 - }, - "end": { - "line": 49, - "column": 46 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1000, - "end": 1001, - "loc": { - "start": { - "line": 49, - "column": 46 - }, - "end": { - "line": 49, - "column": 47 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1002, - "end": 1003, - "loc": { - "start": { - "line": 49, - "column": 48 - }, - "end": { - "line": 49, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "alpha", - "start": 1012, - "end": 1017, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 13 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1017, - "end": 1018, - "loc": { - "start": { - "line": 50, - "column": 13 - }, - "end": { - "line": 50, - "column": 14 - } - } - }, - { - "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": 1019, - "end": 1023, - "loc": { - "start": { - "line": 50, - "column": 15 - }, - "end": { - "line": 50, - "column": 19 - } - } - }, - { - "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": 50, - "column": 19 - }, - "end": { - "line": 50, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "antialias", - "start": 1033, - "end": 1042, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 17 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1042, - "end": 1043, - "loc": { - "start": { - "line": 51, - "column": 17 - }, - "end": { - "line": 51, - "column": 18 - } - } - }, - { - "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": 1044, - "end": 1048, - "loc": { - "start": { - "line": 51, - "column": 19 - }, - "end": { - "line": 51, - "column": 23 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1048, - "end": 1049, - "loc": { - "start": { - "line": 51, - "column": 23 - }, - "end": { - "line": 51, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "premultipliedAlpha", - "start": 1058, - "end": 1076, - "loc": { - "start": { - "line": 52, - "column": 8 - }, - "end": { - "line": 52, - "column": 26 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1076, - "end": 1077, - "loc": { - "start": { - "line": 52, - "column": 26 - }, - "end": { - "line": 52, - "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": 1078, - "end": 1082, - "loc": { - "start": { - "line": 52, - "column": 28 - }, - "end": { - "line": 52, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1082, - "end": 1083, - "loc": { - "start": { - "line": 52, - "column": 32 - }, - "end": { - "line": 52, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "failIfMajorPerformanceCaveat", - "start": 1092, - "end": 1120, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 36 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1120, - "end": 1121, - "loc": { - "start": { - "line": 53, - "column": 36 - }, - "end": { - "line": 53, - "column": 37 - } - } - }, - { - "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": 1122, - "end": 1127, - "loc": { - "start": { - "line": 53, - "column": 38 - }, - "end": { - "line": 53, - "column": 43 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1127, - "end": 1128, - "loc": { - "start": { - "line": 53, - "column": 43 - }, - "end": { - "line": 53, - "column": 44 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1135, - "end": 1136, - "loc": { - "start": { - "line": 54, - "column": 6 - }, - "end": { - "line": 54, - "column": 7 - } - } - }, - { - "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": 54, - "column": 7 - }, - "end": { - "line": 54, - "column": 8 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1137, - "end": 1138, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 9 - } - } - }, - { - "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": 1145, - "end": 1147, - "loc": { - "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 8 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1147, - "end": 1148, - "loc": { - "start": { - "line": 55, - "column": 8 - }, - "end": { - "line": 55, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ctx", - "start": 1148, - "end": 1151, - "loc": { - "start": { - "line": 55, - "column": 9 - }, - "end": { - "line": 55, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1151, - "end": 1152, - "loc": { - "start": { - "line": 55, - "column": 12 - }, - "end": { - "line": 55, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currWebGL", - "start": 1153, - "end": 1162, - "loc": { - "start": { - "line": 55, - "column": 14 - }, - "end": { - "line": 55, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1163, - "end": 1164, - "loc": { - "start": { - "line": 55, - "column": 24 - }, - "end": { - "line": 55, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "ctx", - "start": 1165, - "end": 1168, - "loc": { - "start": { - "line": 55, - "column": 26 - }, - "end": { - "line": 55, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1168, - "end": 1169, - "loc": { - "start": { - "line": 55, - "column": 29 - }, - "end": { - "line": 55, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1174, - "end": 1175, - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 5 - } - } - }, - { - "type": { - "label": "catch", - "keyword": "catch", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "catch", - "start": 1175, - "end": 1180, - "loc": { - "start": { - "line": 56, - "column": 5 - }, - "end": { - "line": 56, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1180, - "end": 1181, - "loc": { - "start": { - "line": 56, - "column": 10 - }, - "end": { - "line": 56, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "e", - "start": 1181, - "end": 1182, - "loc": { - "start": { - "line": 56, - "column": 11 - }, - "end": { - "line": 56, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1182, - "end": 1183, - "loc": { - "start": { - "line": 56, - "column": 12 - }, - "end": { - "line": 56, - "column": 13 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1183, - "end": 1184, - "loc": { - "start": { - "line": 56, - "column": 13 - }, - "end": { - "line": 56, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1184, - "end": 1185, - "loc": { - "start": { - "line": 56, - "column": 14 - }, - "end": { - "line": 56, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1188, - "end": 1189, - "loc": { - "start": { - "line": 57, - "column": 2 - }, - "end": { - "line": 57, - "column": 3 - } - } - }, - { - "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": 1192, - "end": 1194, - "loc": { - "start": { - "line": 58, - "column": 2 - }, - "end": { - "line": 58, - "column": 4 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1194, - "end": 1195, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 5 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 1195, - "end": 1196, - "loc": { - "start": { - "line": 58, - "column": 5 - }, - "end": { - "line": 58, - "column": 6 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "gl", - "start": 1196, - "end": 1198, - "loc": { - "start": { - "line": 58, - "column": 6 - }, - "end": { - "line": 58, - "column": 8 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1198, - "end": 1199, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 9 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1199, - "end": 1200, - "loc": { - "start": { - "line": 58, - "column": 9 - }, - "end": { - "line": 58, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 1205, - "end": 1212, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1212, - "end": 1213, - "loc": { - "start": { - "line": 59, - "column": 11 - }, - "end": { - "line": 59, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 1213, - "end": 1218, - "loc": { - "start": { - "line": 59, - "column": 12 - }, - "end": { - "line": 59, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1218, - "end": 1219, - "loc": { - "start": { - "line": 59, - "column": 17 - }, - "end": { - "line": 59, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Live2D widgets: Failed to create WebGL context.", - "start": 1219, - "end": 1268, - "loc": { - "start": { - "line": 59, - "column": 18 - }, - "end": { - "line": 59, - "column": 67 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1268, - "end": 1269, - "loc": { - "start": { - "line": 59, - "column": 67 - }, - "end": { - "line": 59, - "column": 68 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1269, - "end": 1270, - "loc": { - "start": { - "line": 59, - "column": 68 - }, - "end": { - "line": 59, - "column": 69 - } - } - }, - { - "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": 1275, - "end": 1277, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 60, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1277, - "end": 1278, - "loc": { - "start": { - "line": 60, - "column": 6 - }, - "end": { - "line": 60, - "column": 7 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 1278, - "end": 1279, - "loc": { - "start": { - "line": 60, - "column": 7 - }, - "end": { - "line": 60, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "window", - "start": 1279, - "end": 1285, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 14 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1285, - "end": 1286, - "loc": { - "start": { - "line": 60, - "column": 14 - }, - "end": { - "line": 60, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "WebGLRenderingContext", - "start": 1286, - "end": 1307, - "loc": { - "start": { - "line": 60, - "column": 15 - }, - "end": { - "line": 60, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1307, - "end": 1308, - "loc": { - "start": { - "line": 60, - "column": 36 - }, - "end": { - "line": 60, - "column": 37 - } - } - }, - { - "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": 60, - "column": 37 - }, - "end": { - "line": 60, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "console", - "start": 1316, - "end": 1323, - "loc": { - "start": { - "line": 61, - "column": 6 - }, - "end": { - "line": 61, - "column": 13 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1323, - "end": 1324, - "loc": { - "start": { - "line": 61, - "column": 13 - }, - "end": { - "line": 61, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 1324, - "end": 1329, - "loc": { - "start": { - "line": 61, - "column": 14 - }, - "end": { - "line": 61, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1329, - "end": 1330, - "loc": { - "start": { - "line": 61, - "column": 19 - }, - "end": { - "line": 61, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Your browser may not support WebGL, check https://get.webgl.org/ for futher information.", - "start": 1330, - "end": 1420, - "loc": { - "start": { - "line": 61, - "column": 20 - }, - "end": { - "line": 61, - "column": 110 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1420, - "end": 1421, - "loc": { - "start": { - "line": 61, - "column": 110 - }, - "end": { - "line": 61, - "column": 111 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1421, - "end": 1422, - "loc": { - "start": { - "line": 61, - "column": 111 - }, - "end": { - "line": 61, - "column": 112 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1427, - "end": 1428, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 5 - } - } - }, - { - "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": 1433, - "end": 1439, - "loc": { - "start": { - "line": 63, - "column": 4 - }, - "end": { - "line": 63, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1439, - "end": 1440, - "loc": { - "start": { - "line": 63, - "column": 10 - }, - "end": { - "line": 63, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1443, - "end": 1444, - "loc": { - "start": { - "line": 64, - "column": 2 - }, - "end": { - "line": 64, - "column": 3 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1445, - "end": 1446, - "loc": { - "start": { - "line": 65, - "column": 0 - }, - "end": { - "line": 65, - "column": 1 - } - } - }, - { - "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": 65, - "column": 1 - }, - "end": { - "line": 65, - "column": 2 - } - } - }, - { - "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": 1450, - "end": 1456, - "loc": { - "start": { - "line": 68, - "column": 0 - }, - "end": { - "line": 68, - "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": 68, - "column": 6 - }, - "end": { - "line": 68, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createElement", - "start": 1460, - "end": 1473, - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 69, - "column": 15 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1473, - "end": 1474, - "loc": { - "start": { - "line": 69, - "column": 15 - }, - "end": { - "line": 69, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currWebGL", - "start": 1477, - "end": 1486, - "loc": { - "start": { - "line": 70, - "column": 2 - }, - "end": { - "line": 70, - "column": 11 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1486, - "end": 1487, - "loc": { - "start": { - "line": 70, - "column": 11 - }, - "end": { - "line": 70, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1488, - "end": 1489, - "loc": { - "start": { - "line": 71, - "column": 0 - }, - "end": { - "line": 71, - "column": 1 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1490, - "end": 1490, - "loc": { - "start": { - "line": 72, - "column": 0 - }, - "end": { - "line": 72, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/ghpages/docs/ast/source/lib/_Live2DFramework.js.json b/ghpages/docs/ast/source/lib/Live2DFramework.js.json similarity index 95% rename from ghpages/docs/ast/source/lib/_Live2DFramework.js.json rename to ghpages/docs/ast/source/lib/Live2DFramework.js.json index c729b99..6e8cae0 100644 --- a/ghpages/docs/ast/source/lib/_Live2DFramework.js.json +++ b/ghpages/docs/ast/source/lib/Live2DFramework.js.json @@ -1,7 +1,7 @@ { "type": "File", "start": 0, - "end": 50891, + "end": 50671, "loc": { "start": { "line": 1, @@ -15,7 +15,7 @@ "program": { "type": "Program", "start": 0, - "end": 50891, + "end": 50671, "loc": { "start": { "line": 1, @@ -29,7 +29,7 @@ "sourceType": "module", "body": [ { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 605, "end": 1376, "loc": { @@ -2600,152 +2600,9 @@ ], "directives": [] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * You can modify and use this source freely\n * only for the development of application related Live2D.\n *\n * (c) Live2D Inc. All rights reserved.\n ", - "start": 0, - "end": 160, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * EYHN 基于 live2d 官方 Live2DFramework.js 修改\n *\n * Copyright © 2016 - 2017 EYHN\n ", - "start": 162, - "end": 247, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 13, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Modified by xiazeyu.", - "start": 249, - "end": 272, - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 23 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n* @desc Basic functions releated to model react\n", - "start": 274, - "end": 328, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 19, - "column": 2 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 330, - "end": 392, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 393, - "end": 455, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DBaseModel", - "start": 456, - "end": 478, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 23, - "column": 22 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 479, - "end": 541, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 24, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 542, - "end": 604, - "loc": { - "start": { - "line": 25, - "column": 0 - }, - "end": { - "line": 25, - "column": 62 - } - } - } - ] + "leadingComments": [], + "name": "_", + "trailingComments": [] }, { "type": "VariableDeclaration", @@ -21156,7 +21013,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 10530, "end": 10676, "loc": { @@ -21502,88 +21359,9 @@ ], "directives": [] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 10227, - "end": 10289, - "loc": { - "start": { - "line": 316, - "column": 0 - }, - "end": { - "line": 316, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 10290, - "end": 10352, - "loc": { - "start": { - "line": 317, - "column": 0 - }, - "end": { - "line": 317, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DExpressionMotion extends AMotion", - "start": 10353, - "end": 10403, - "loc": { - "start": { - "line": 318, - "column": 0 - }, - "end": { - "line": 318, - "column": 50 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 10404, - "end": 10466, - "loc": { - "start": { - "line": 319, - "column": 0 - }, - "end": { - "line": 319, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 10467, - "end": 10529, - "loc": { - "start": { - "line": 320, - "column": 0 - }, - "end": { - "line": 320, - "column": 62 - } - } - } - ] + "leadingComments": [], + "name": "_", + "trailingComments": [] }, { "type": "ExpressionStatement", @@ -29262,7 +29040,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 14170, "end": 14264, "loc": { @@ -29628,173 +29406,12 @@ "directives": [], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 13889, - "end": 13951, - "loc": { - "start": { - "line": 412, - "column": 0 - }, - "end": { - "line": 412, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 13952, - "end": 14014, - "loc": { - "start": { - "line": 413, - "column": 0 - }, - "end": { - "line": 413, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DExpressionParam", - "start": 14015, - "end": 14043, - "loc": { - "start": { - "line": 414, - "column": 0 - }, - "end": { - "line": 414, - "column": 28 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 14044, - "end": 14106, - "loc": { - "start": { - "line": 415, - "column": 0 - }, - "end": { - "line": 415, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 14107, - "end": 14169, - "loc": { - "start": { - "line": 416, - "column": 0 - }, - "end": { - "line": 416, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 14266, - "end": 14328, - "loc": { - "start": { - "line": 423, - "column": 0 - }, - "end": { - "line": 423, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 14329, - "end": 14391, - "loc": { - "start": { - "line": 424, - "column": 0 - }, - "end": { - "line": 424, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DEyeBlink", - "start": 14392, - "end": 14413, - "loc": { - "start": { - "line": 425, - "column": 0 - }, - "end": { - "line": 425, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 14414, - "end": 14476, - "loc": { - "start": { - "line": 426, - "column": 0 - }, - "end": { - "line": 426, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 14477, - "end": 14539, - "loc": { - "start": { - "line": 427, - "column": 0 - }, - "end": { - "line": 427, - "column": 62 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 14540, "end": 15018, "loc": { @@ -31125,138 +30742,9 @@ "directives": [], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 14266, - "end": 14328, - "loc": { - "start": { - "line": 423, - "column": 0 - }, - "end": { - "line": 423, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 14329, - "end": 14391, - "loc": { - "start": { - "line": 424, - "column": 0 - }, - "end": { - "line": 424, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DEyeBlink", - "start": 14392, - "end": 14413, - "loc": { - "start": { - "line": 425, - "column": 0 - }, - "end": { - "line": 425, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 14414, - "end": 14476, - "loc": { - "start": { - "line": 426, - "column": 0 - }, - "end": { - "line": 426, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 14477, - "end": 14539, - "loc": { - "start": { - "line": 427, - "column": 0 - }, - "end": { - "line": 427, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 15020, - "end": 15082, - "loc": { - "start": { - "line": 442, - "column": 0 - }, - "end": { - "line": 442, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " L2DEyeBlink # calcNextBlink()", - "start": 15083, - "end": 15118, - "loc": { - "start": { - "line": 443, - "column": 0 - }, - "end": { - "line": 443, - "column": 35 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 15119, - "end": 15181, - "loc": { - "start": { - "line": 444, - "column": 0 - }, - "end": { - "line": 444, - "column": 62 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { "type": "ExpressionStatement", @@ -37550,7 +37038,7 @@ ] }, { - "type": "VariableDeclaration", + "type": "Identifier", "start": 18113, "end": 18145, "loc": { @@ -37610,24 +37098,7 @@ "column": 31 } }, - "id": { - "type": "Identifier", - "start": 18117, - "end": 18126, - "loc": { - "start": { - "line": 521, - "column": 4 - }, - "end": { - "line": 521, - "column": 13 - }, - "identifierName": "EYE_STATE" - }, - "name": "EYE_STATE", - "leadingComments": null - }, + "id": null, "generator": false, "expression": false, "async": false, @@ -37654,24 +37125,9 @@ } ], "kind": "var", - "leadingComments": [ - { - "type": "CommentLine", - "value": "== enum EYE_STATE ==", - "start": 18090, - "end": 18112, - "loc": { - "start": { - "line": 520, - "column": 0 - }, - "end": { - "line": 520, - "column": 22 - } - } - } - ] + "leadingComments": [], + "name": "_", + "trailingComments": [] }, { "type": "ExpressionStatement", @@ -38264,7 +37720,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 18628, "end": 18714, "loc": { @@ -38569,154 +38025,9 @@ "directives": [], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 18354, - "end": 18416, - "loc": { - "start": { - "line": 529, - "column": 0 - }, - "end": { - "line": 529, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 18417, - "end": 18479, - "loc": { - "start": { - "line": 530, - "column": 0 - }, - "end": { - "line": 530, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DMatrix44", - "start": 18480, - "end": 18501, - "loc": { - "start": { - "line": 531, - "column": 0 - }, - "end": { - "line": 531, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 18502, - "end": 18564, - "loc": { - "start": { - "line": 532, - "column": 0 - }, - "end": { - "line": 532, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 18565, - "end": 18627, - "loc": { - "start": { - "line": 533, - "column": 0 - }, - "end": { - "line": 533, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 18716, - "end": 18778, - "loc": { - "start": { - "line": 539, - "column": 0 - }, - "end": { - "line": 539, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " static L2DMatrix44.mul()", - "start": 18779, - "end": 18809, - "loc": { - "start": { - "line": 540, - "column": 0 - }, - "end": { - "line": 540, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 18810, - "end": 18872, - "loc": { - "start": { - "line": 541, - "column": 0 - }, - "end": { - "line": 541, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " matrix multiplication", - "start": 18873, - "end": 18897, - "loc": { - "start": { - "line": 542, - "column": 0 - }, - "end": { - "line": 542, - "column": 24 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { "type": "ExpressionStatement", @@ -50653,7 +49964,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 24098, "end": 24240, "loc": { @@ -51176,106 +50487,9 @@ ], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 23791, - "end": 23853, - "loc": { - "start": { - "line": 677, - "column": 0 - }, - "end": { - "line": 677, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 23854, - "end": 23916, - "loc": { - "start": { - "line": 678, - "column": 0 - }, - "end": { - "line": 678, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DModelMatrix extends L2DMatrix44", - "start": 23917, - "end": 23971, - "loc": { - "start": { - "line": 679, - "column": 0 - }, - "end": { - "line": 679, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 23972, - "end": 24034, - "loc": { - "start": { - "line": 680, - "column": 0 - }, - "end": { - "line": 680, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 24035, - "end": 24097, - "loc": { - "start": { - "line": 681, - "column": 0 - }, - "end": { - "line": 681, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "L2DModelMatrix extends L2DMatrix44", - "start": 24242, - "end": 24278, - "loc": { - "start": { - "line": 688, - "column": 0 - }, - "end": { - "line": 688, - "column": 36 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { "type": "ExpressionStatement", @@ -58680,7 +57894,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 28034, "end": 28236, "loc": { @@ -59213,88 +58427,9 @@ ], "directives": [] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 27720, - "end": 27782, - "loc": { - "start": { - "line": 785, - "column": 0 - }, - "end": { - "line": 785, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 27783, - "end": 27845, - "loc": { - "start": { - "line": 786, - "column": 0 - }, - "end": { - "line": 786, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DMotionManager extends MotionQueueManager", - "start": 27846, - "end": 27907, - "loc": { - "start": { - "line": 787, - "column": 0 - }, - "end": { - "line": 787, - "column": 61 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 27908, - "end": 27970, - "loc": { - "start": { - "line": 788, - "column": 0 - }, - "end": { - "line": 788, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 27971, - "end": 28033, - "loc": { - "start": { - "line": 789, - "column": 0 - }, - "end": { - "line": 789, - "column": 62 - } - } - } - ] + "leadingComments": [], + "name": "_", + "trailingComments": [] }, { "type": "ExpressionStatement", @@ -62938,7 +62073,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 30672, "end": 30811, "loc": { @@ -63288,138 +62423,9 @@ "directives": [], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 30399, - "end": 30461, - "loc": { - "start": { - "line": 862, - "column": 0 - }, - "end": { - "line": 862, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 30462, - "end": 30524, - "loc": { - "start": { - "line": 863, - "column": 0 - }, - "end": { - "line": 863, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DPhysics", - "start": 30525, - "end": 30545, - "loc": { - "start": { - "line": 864, - "column": 0 - }, - "end": { - "line": 864, - "column": 20 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 30546, - "end": 30608, - "loc": { - "start": { - "line": 865, - "column": 0 - }, - "end": { - "line": 865, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 30609, - "end": 30671, - "loc": { - "start": { - "line": 866, - "column": 0 - }, - "end": { - "line": 866, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 30813, - "end": 30875, - "loc": { - "start": { - "line": 872, - "column": 0 - }, - "end": { - "line": 872, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " static L2DPhysics.load()", - "start": 30876, - "end": 30906, - "loc": { - "start": { - "line": 873, - "column": 0 - }, - "end": { - "line": 873, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 30907, - "end": 30969, - "loc": { - "start": { - "line": 874, - "column": 0 - }, - "end": { - "line": 874, - "column": 62 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { "type": "ExpressionStatement", @@ -70696,7 +69702,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 34098, "end": 34250, "loc": { @@ -71112,138 +70118,9 @@ "directives": [], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 33828, - "end": 33890, - "loc": { - "start": { - "line": 947, - "column": 0 - }, - "end": { - "line": 947, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 33891, - "end": 33953, - "loc": { - "start": { - "line": 948, - "column": 0 - }, - "end": { - "line": 948, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DPose", - "start": 33954, - "end": 33971, - "loc": { - "start": { - "line": 949, - "column": 0 - }, - "end": { - "line": 949, - "column": 17 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 33972, - "end": 34034, - "loc": { - "start": { - "line": 950, - "column": 0 - }, - "end": { - "line": 950, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 34035, - "end": 34097, - "loc": { - "start": { - "line": 951, - "column": 0 - }, - "end": { - "line": 951, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 34253, - "end": 34315, - "loc": { - "start": { - "line": 959, - "column": 0 - }, - "end": { - "line": 959, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " static L2DPose.load()", - "start": 34316, - "end": 34343, - "loc": { - "start": { - "line": 960, - "column": 0 - }, - "end": { - "line": 960, - "column": 27 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 34344, - "end": 34406, - "loc": { - "start": { - "line": 961, - "column": 0 - }, - "end": { - "line": 961, - "column": 62 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { "type": "ExpressionStatement", @@ -85597,7 +84474,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 40581, "end": 40741, "loc": { @@ -86177,138 +85054,9 @@ ], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 40305, - "end": 40367, - "loc": { - "start": { - "line": 1107, - "column": 0 - }, - "end": { - "line": 1107, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 40368, - "end": 40430, - "loc": { - "start": { - "line": 1108, - "column": 0 - }, - "end": { - "line": 1108, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DPartsParam", - "start": 40431, - "end": 40454, - "loc": { - "start": { - "line": 1109, - "column": 0 - }, - "end": { - "line": 1109, - "column": 23 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 40455, - "end": 40517, - "loc": { - "start": { - "line": 1110, - "column": 0 - }, - "end": { - "line": 1110, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 40518, - "end": 40580, - "loc": { - "start": { - "line": 1111, - "column": 0 - }, - "end": { - "line": 1111, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 40743, - "end": 40805, - "loc": { - "start": { - "line": 1119, - "column": 0 - }, - "end": { - "line": 1119, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " L2DPartsParam # initIndex()", - "start": 40806, - "end": 40839, - "loc": { - "start": { - "line": 1120, - "column": 0 - }, - "end": { - "line": 1120, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 40840, - "end": 40902, - "loc": { - "start": { - "line": 1121, - "column": 0 - }, - "end": { - "line": 1121, - "column": 62 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { "type": "ExpressionStatement", @@ -87318,7 +86066,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 41439, "end": 41676, "loc": { @@ -88203,106 +86951,9 @@ "directives": [], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 41162, - "end": 41224, - "loc": { - "start": { - "line": 1128, - "column": 0 - }, - "end": { - "line": 1128, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 41225, - "end": 41287, - "loc": { - "start": { - "line": 1129, - "column": 0 - }, - "end": { - "line": 1129, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DTargetPoint", - "start": 41288, - "end": 41312, - "loc": { - "start": { - "line": 1130, - "column": 0 - }, - "end": { - "line": 1130, - "column": 24 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 41313, - "end": 41375, - "loc": { - "start": { - "line": 1131, - "column": 0 - }, - "end": { - "line": 1131, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 41376, - "end": 41438, - "loc": { - "start": { - "line": 1132, - "column": 0 - }, - "end": { - "line": 1132, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 41678, - "end": 41740, - "loc": { - "start": { - "line": 1144, - "column": 0 - }, - "end": { - "line": 1144, - "column": 62 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { "type": "ExpressionStatement", @@ -95091,7 +93742,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 44537, "end": 44813, "loc": { @@ -96059,88 +94710,9 @@ ], "directives": [] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 44230, - "end": 44292, - "loc": { - "start": { - "line": 1214, - "column": 0 - }, - "end": { - "line": 1214, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 44293, - "end": 44355, - "loc": { - "start": { - "line": 1215, - "column": 0 - }, - "end": { - "line": 1215, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class L2DViewMatrix extends L2DMatrix44", - "start": 44356, - "end": 44410, - "loc": { - "start": { - "line": 1216, - "column": 0 - }, - "end": { - "line": 1216, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 44411, - "end": 44473, - "loc": { - "start": { - "line": 1217, - "column": 0 - }, - "end": { - "line": 1217, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 44474, - "end": 44536, - "loc": { - "start": { - "line": 1218, - "column": 0 - }, - "end": { - "line": 1218, - "column": 62 - } - } - } - ] + "leadingComments": [], + "name": "_", + "trailingComments": [] }, { "type": "ExpressionStatement", @@ -107181,7 +105753,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 49664, "end": 49694, "loc": { @@ -107235,106 +105807,9 @@ "leadingComments": null, "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 49386, - "end": 49448, - "loc": { - "start": { - "line": 1351, - "column": 0 - }, - "end": { - "line": 1351, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 49449, - "end": 49511, - "loc": { - "start": { - "line": 1352, - "column": 0 - }, - "end": { - "line": 1352, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": " class Live2DFramework", - "start": 49512, - "end": 49537, - "loc": { - "start": { - "line": 1353, - "column": 0 - }, - "end": { - "line": 1353, - "column": 25 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 49538, - "end": 49600, - "loc": { - "start": { - "line": 1354, - "column": 0 - }, - "end": { - "line": 1354, - "column": 62 - } - } - }, - { - "type": "CommentLine", - "value": "============================================================", - "start": 49601, - "end": 49663, - "loc": { - "start": { - "line": 1355, - "column": 0 - }, - "end": { - "line": 1355, - "column": 62 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": "============================================================", - "start": 49696, - "end": 49758, - "loc": { - "start": { - "line": 1359, - "column": 0 - }, - "end": { - "line": 1359, - "column": 62 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { "type": "ExpressionStatement", @@ -108155,9 +106630,9 @@ ] }, { - "type": "ExpressionStatement", + "type": "ExportNamedDeclaration", "start": 50395, - "end": 50890, + "end": 50670, "loc": { "start": { "line": 1376, @@ -108168,817 +106643,11863 @@ "column": 1 } }, - "expression": { - "type": "AssignmentExpression", - "start": 50395, - "end": 50890, - "loc": { - "start": { - "line": 1376, - "column": 0 + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 50407, + "end": 50421, + "loc": { + "start": { + "line": 1377, + "column": 4 + }, + "end": { + "line": 1377, + "column": 18 + } }, - "end": { - "line": 1391, - "column": 1 + "local": { + "type": "Identifier", + "start": 50407, + "end": 50421, + "loc": { + "start": { + "line": 1377, + "column": 4 + }, + "end": { + "line": 1377, + "column": 18 + }, + "identifierName": "L2DTargetPoint" + }, + "name": "L2DTargetPoint" + }, + "exported": { + "type": "Identifier", + "start": 50407, + "end": 50421, + "loc": { + "start": { + "line": 1377, + "column": 4 + }, + "end": { + "line": 1377, + "column": 18 + }, + "identifierName": "L2DTargetPoint" + }, + "name": "L2DTargetPoint" } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 50395, - "end": 50409, + { + "type": "ExportSpecifier", + "start": 50427, + "end": 50442, "loc": { "start": { - "line": 1376, - "column": 0 + "line": 1378, + "column": 4 + }, + "end": { + "line": 1378, + "column": 19 + } + }, + "local": { + "type": "Identifier", + "start": 50427, + "end": 50442, + "loc": { + "start": { + "line": 1378, + "column": 4 + }, + "end": { + "line": 1378, + "column": 19 + }, + "identifierName": "Live2DFramework" + }, + "name": "Live2DFramework" + }, + "exported": { + "type": "Identifier", + "start": 50427, + "end": 50442, + "loc": { + "start": { + "line": 1378, + "column": 4 + }, + "end": { + "line": 1378, + "column": 19 + }, + "identifierName": "Live2DFramework" + }, + "name": "Live2DFramework" + } + }, + { + "type": "ExportSpecifier", + "start": 50448, + "end": 50461, + "loc": { + "start": { + "line": 1379, + "column": 4 + }, + "end": { + "line": 1379, + "column": 17 + } + }, + "local": { + "type": "Identifier", + "start": 50448, + "end": 50461, + "loc": { + "start": { + "line": 1379, + "column": 4 + }, + "end": { + "line": 1379, + "column": 17 + }, + "identifierName": "L2DViewMatrix" + }, + "name": "L2DViewMatrix" + }, + "exported": { + "type": "Identifier", + "start": 50448, + "end": 50461, + "loc": { + "start": { + "line": 1379, + "column": 4 + }, + "end": { + "line": 1379, + "column": 17 + }, + "identifierName": "L2DViewMatrix" + }, + "name": "L2DViewMatrix" + } + }, + { + "type": "ExportSpecifier", + "start": 50467, + "end": 50474, + "loc": { + "start": { + "line": 1380, + "column": 4 + }, + "end": { + "line": 1380, + "column": 11 + } + }, + "local": { + "type": "Identifier", + "start": 50467, + "end": 50474, + "loc": { + "start": { + "line": 1380, + "column": 4 + }, + "end": { + "line": 1380, + "column": 11 + }, + "identifierName": "L2DPose" + }, + "name": "L2DPose" + }, + "exported": { + "type": "Identifier", + "start": 50467, + "end": 50474, + "loc": { + "start": { + "line": 1380, + "column": 4 + }, + "end": { + "line": 1380, + "column": 11 + }, + "identifierName": "L2DPose" + }, + "name": "L2DPose" + } + }, + { + "type": "ExportSpecifier", + "start": 50480, + "end": 50493, + "loc": { + "start": { + "line": 1381, + "column": 4 + }, + "end": { + "line": 1381, + "column": 17 + } + }, + "local": { + "type": "Identifier", + "start": 50480, + "end": 50493, + "loc": { + "start": { + "line": 1381, + "column": 4 + }, + "end": { + "line": 1381, + "column": 17 + }, + "identifierName": "L2DPartsParam" + }, + "name": "L2DPartsParam" + }, + "exported": { + "type": "Identifier", + "start": 50480, + "end": 50493, + "loc": { + "start": { + "line": 1381, + "column": 4 + }, + "end": { + "line": 1381, + "column": 17 + }, + "identifierName": "L2DPartsParam" + }, + "name": "L2DPartsParam" + } + }, + { + "type": "ExportSpecifier", + "start": 50499, + "end": 50509, + "loc": { + "start": { + "line": 1382, + "column": 4 }, "end": { - "line": 1376, + "line": 1382, "column": 14 } }, - "object": { + "local": { "type": "Identifier", - "start": 50395, - "end": 50401, + "start": 50499, + "end": 50509, "loc": { "start": { - "line": 1376, - "column": 0 + "line": 1382, + "column": 4 }, "end": { - "line": 1376, - "column": 6 + "line": 1382, + "column": 14 }, - "identifierName": "module" + "identifierName": "L2DPhysics" }, - "name": "module" + "name": "L2DPhysics" }, - "property": { + "exported": { "type": "Identifier", - "start": 50402, - "end": 50409, + "start": 50499, + "end": 50509, "loc": { "start": { - "line": 1376, - "column": 7 + "line": 1382, + "column": 4 }, "end": { - "line": 1376, + "line": 1382, "column": 14 }, - "identifierName": "exports" + "identifierName": "L2DPhysics" + }, + "name": "L2DPhysics" + } + }, + { + "type": "ExportSpecifier", + "start": 50515, + "end": 50531, + "loc": { + "start": { + "line": 1383, + "column": 4 }, - "name": "exports" + "end": { + "line": 1383, + "column": 20 + } }, - "computed": false + "local": { + "type": "Identifier", + "start": 50515, + "end": 50531, + "loc": { + "start": { + "line": 1383, + "column": 4 + }, + "end": { + "line": 1383, + "column": 20 + }, + "identifierName": "L2DMotionManager" + }, + "name": "L2DMotionManager" + }, + "exported": { + "type": "Identifier", + "start": 50515, + "end": 50531, + "loc": { + "start": { + "line": 1383, + "column": 4 + }, + "end": { + "line": 1383, + "column": 20 + }, + "identifierName": "L2DMotionManager" + }, + "name": "L2DMotionManager" + } }, - "right": { - "type": "ObjectExpression", - "start": 50412, - "end": 50890, + { + "type": "ExportSpecifier", + "start": 50537, + "end": 50551, "loc": { "start": { - "line": 1376, - "column": 17 + "line": 1384, + "column": 4 + }, + "end": { + "line": 1384, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 50537, + "end": 50551, + "loc": { + "start": { + "line": 1384, + "column": 4 + }, + "end": { + "line": 1384, + "column": 18 + }, + "identifierName": "L2DModelMatrix" + }, + "name": "L2DModelMatrix" + }, + "exported": { + "type": "Identifier", + "start": 50537, + "end": 50551, + "loc": { + "start": { + "line": 1384, + "column": 4 + }, + "end": { + "line": 1384, + "column": 18 + }, + "identifierName": "L2DModelMatrix" + }, + "name": "L2DModelMatrix" + } + }, + { + "type": "ExportSpecifier", + "start": 50557, + "end": 50568, + "loc": { + "start": { + "line": 1385, + "column": 4 + }, + "end": { + "line": 1385, + "column": 15 + } + }, + "local": { + "type": "Identifier", + "start": 50557, + "end": 50568, + "loc": { + "start": { + "line": 1385, + "column": 4 + }, + "end": { + "line": 1385, + "column": 15 + }, + "identifierName": "L2DMatrix44" + }, + "name": "L2DMatrix44" + }, + "exported": { + "type": "Identifier", + "start": 50557, + "end": 50568, + "loc": { + "start": { + "line": 1385, + "column": 4 + }, + "end": { + "line": 1385, + "column": 15 + }, + "identifierName": "L2DMatrix44" + }, + "name": "L2DMatrix44" + } + }, + { + "type": "ExportSpecifier", + "start": 50574, + "end": 50583, + "loc": { + "start": { + "line": 1386, + "column": 4 + }, + "end": { + "line": 1386, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 50574, + "end": 50583, + "loc": { + "start": { + "line": 1386, + "column": 4 + }, + "end": { + "line": 1386, + "column": 13 + }, + "identifierName": "EYE_STATE" + }, + "name": "EYE_STATE" + }, + "exported": { + "type": "Identifier", + "start": 50574, + "end": 50583, + "loc": { + "start": { + "line": 1386, + "column": 4 + }, + "end": { + "line": 1386, + "column": 13 + }, + "identifierName": "EYE_STATE" + }, + "name": "EYE_STATE" + } + }, + { + "type": "ExportSpecifier", + "start": 50589, + "end": 50600, + "loc": { + "start": { + "line": 1387, + "column": 4 + }, + "end": { + "line": 1387, + "column": 15 + } + }, + "local": { + "type": "Identifier", + "start": 50589, + "end": 50600, + "loc": { + "start": { + "line": 1387, + "column": 4 + }, + "end": { + "line": 1387, + "column": 15 + }, + "identifierName": "L2DEyeBlink" + }, + "name": "L2DEyeBlink" + }, + "exported": { + "type": "Identifier", + "start": 50589, + "end": 50600, + "loc": { + "start": { + "line": 1387, + "column": 4 + }, + "end": { + "line": 1387, + "column": 15 + }, + "identifierName": "L2DEyeBlink" + }, + "name": "L2DEyeBlink" + } + }, + { + "type": "ExportSpecifier", + "start": 50606, + "end": 50624, + "loc": { + "start": { + "line": 1388, + "column": 4 + }, + "end": { + "line": 1388, + "column": 22 + } + }, + "local": { + "type": "Identifier", + "start": 50606, + "end": 50624, + "loc": { + "start": { + "line": 1388, + "column": 4 + }, + "end": { + "line": 1388, + "column": 22 + }, + "identifierName": "L2DExpressionParam" + }, + "name": "L2DExpressionParam" + }, + "exported": { + "type": "Identifier", + "start": 50606, + "end": 50624, + "loc": { + "start": { + "line": 1388, + "column": 4 + }, + "end": { + "line": 1388, + "column": 22 + }, + "identifierName": "L2DExpressionParam" + }, + "name": "L2DExpressionParam" + } + }, + { + "type": "ExportSpecifier", + "start": 50630, + "end": 50649, + "loc": { + "start": { + "line": 1389, + "column": 4 + }, + "end": { + "line": 1389, + "column": 23 + } + }, + "local": { + "type": "Identifier", + "start": 50630, + "end": 50649, + "loc": { + "start": { + "line": 1389, + "column": 4 + }, + "end": { + "line": 1389, + "column": 23 + }, + "identifierName": "L2DExpressionMotion" + }, + "name": "L2DExpressionMotion" + }, + "exported": { + "type": "Identifier", + "start": 50630, + "end": 50649, + "loc": { + "start": { + "line": 1389, + "column": 4 + }, + "end": { + "line": 1389, + "column": 23 + }, + "identifierName": "L2DExpressionMotion" + }, + "name": "L2DExpressionMotion" + } + }, + { + "type": "ExportSpecifier", + "start": 50655, + "end": 50667, + "loc": { + "start": { + "line": 1390, + "column": 4 + }, + "end": { + "line": 1390, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 50655, + "end": 50667, + "loc": { + "start": { + "line": 1390, + "column": 4 + }, + "end": { + "line": 1390, + "column": 16 + }, + "identifierName": "L2DBaseModel" + }, + "name": "L2DBaseModel" + }, + "exported": { + "type": "Identifier", + "start": 50655, + "end": 50667, + "loc": { + "start": { + "line": 1390, + "column": 4 + }, + "end": { + "line": 1390, + "column": 16 + }, + "identifierName": "L2DBaseModel" + }, + "name": "L2DBaseModel" + } + } + ], + "source": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 41439, + "end": 41676, + "loc": { + "start": { + "line": 1133, + "column": 0 + }, + "end": { + "line": 1142, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 41448, + "end": 41462, + "loc": { + "start": { + "line": 1133, + "column": 9 + }, + "end": { + "line": 1133, + "column": 23 + }, + "identifierName": "L2DTargetPoint" + }, + "name": "L2DTargetPoint", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 41465, + "end": 41676, + "loc": { + "start": { + "line": 1133, + "column": 26 }, "end": { - "line": 1391, + "line": 1142, "column": 1 } }, - "properties": [ + "body": [ { - "type": "ObjectProperty", - "start": 50418, - "end": 50448, + "type": "ExpressionStatement", + "start": 41471, + "end": 41491, "loc": { "start": { - "line": 1377, + "line": 1134, "column": 4 }, "end": { - "line": 1377, - "column": 34 + "line": 1134, + "column": 24 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50418, - "end": 50432, + "expression": { + "type": "AssignmentExpression", + "start": 41471, + "end": 41490, + "loc": { + "start": { + "line": 1134, + "column": 4 + }, + "end": { + "line": 1134, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 41471, + "end": 41483, + "loc": { + "start": { + "line": 1134, + "column": 4 + }, + "end": { + "line": 1134, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 41471, + "end": 41475, + "loc": { + "start": { + "line": 1134, + "column": 4 + }, + "end": { + "line": 1134, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 41476, + "end": 41483, + "loc": { + "start": { + "line": 1134, + "column": 9 + }, + "end": { + "line": 1134, + "column": 16 + }, + "identifierName": "EPSILON" + }, + "name": "EPSILON" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 41486, + "end": 41490, + "loc": { + "start": { + "line": 1134, + "column": 19 + }, + "end": { + "line": 1134, + "column": 23 + } + }, + "extra": { + "rawValue": 0.01, + "raw": "0.01" + }, + "value": 0.01 + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " 変化の最小値(この値以下は無視される)", + "start": 41492, + "end": 41514, + "loc": { + "start": { + "line": 1134, + "column": 25 + }, + "end": { + "line": 1134, + "column": 47 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 41519, + "end": 41540, + "loc": { + "start": { + "line": 1135, + "column": 4 + }, + "end": { + "line": 1135, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 41519, + "end": 41539, + "loc": { + "start": { + "line": 1135, + "column": 4 + }, + "end": { + "line": 1135, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 41519, + "end": 41535, + "loc": { + "start": { + "line": 1135, + "column": 4 + }, + "end": { + "line": 1135, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 41519, + "end": 41523, + "loc": { + "start": { + "line": 1135, + "column": 4 + }, + "end": { + "line": 1135, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 41524, + "end": 41535, + "loc": { + "start": { + "line": 1135, + "column": 9 + }, + "end": { + "line": 1135, + "column": 20 + }, + "identifierName": "faceTargetX" + }, + "name": "faceTargetX" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NumericLiteral", + "start": 41538, + "end": 41539, + "loc": { + "start": { + "line": 1135, + "column": 23 + }, + "end": { + "line": 1135, + "column": 24 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " 変化の最小値(この値以下は無視される)", + "start": 41492, + "end": 41514, + "loc": { + "start": { + "line": 1134, + "column": 25 + }, + "end": { + "line": 1134, + "column": 47 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 41545, + "end": 41566, + "loc": { + "start": { + "line": 1136, + "column": 4 + }, + "end": { + "line": 1136, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 41545, + "end": 41565, + "loc": { + "start": { + "line": 1136, + "column": 4 + }, + "end": { + "line": 1136, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 41545, + "end": 41561, + "loc": { + "start": { + "line": 1136, + "column": 4 + }, + "end": { + "line": 1136, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 41545, + "end": 41549, + "loc": { + "start": { + "line": 1136, + "column": 4 + }, + "end": { + "line": 1136, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 41550, + "end": 41561, + "loc": { + "start": { + "line": 1136, + "column": 9 + }, + "end": { + "line": 1136, + "column": 20 + }, + "identifierName": "faceTargetY" + }, + "name": "faceTargetY" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 41564, + "end": 41565, + "loc": { + "start": { + "line": 1136, + "column": 23 + }, + "end": { + "line": 1136, + "column": 24 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 41571, + "end": 41586, + "loc": { + "start": { + "line": 1137, + "column": 4 + }, + "end": { + "line": 1137, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 41571, + "end": 41585, + "loc": { + "start": { + "line": 1137, + "column": 4 + }, + "end": { + "line": 1137, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 41571, + "end": 41581, + "loc": { + "start": { + "line": 1137, + "column": 4 + }, + "end": { + "line": 1137, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 41571, + "end": 41575, + "loc": { + "start": { + "line": 1137, + "column": 4 + }, + "end": { + "line": 1137, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 41576, + "end": 41581, + "loc": { + "start": { + "line": 1137, + "column": 9 + }, + "end": { + "line": 1137, + "column": 14 + }, + "identifierName": "faceX" + }, + "name": "faceX" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 41584, + "end": 41585, + "loc": { + "start": { + "line": 1137, + "column": 17 + }, + "end": { + "line": 1137, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 41591, + "end": 41606, + "loc": { + "start": { + "line": 1138, + "column": 4 + }, + "end": { + "line": 1138, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 41591, + "end": 41605, "loc": { "start": { - "line": 1377, + "line": 1138, "column": 4 }, "end": { - "line": 1377, + "line": 1138, "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 41591, + "end": 41601, + "loc": { + "start": { + "line": 1138, + "column": 4 + }, + "end": { + "line": 1138, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 41591, + "end": 41595, + "loc": { + "start": { + "line": 1138, + "column": 4 + }, + "end": { + "line": 1138, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 41596, + "end": 41601, + "loc": { + "start": { + "line": 1138, + "column": 9 + }, + "end": { + "line": 1138, + "column": 14 + }, + "identifierName": "faceY" + }, + "name": "faceY" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 41604, + "end": 41605, + "loc": { + "start": { + "line": 1138, + "column": 17 + }, + "end": { + "line": 1138, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" }, - "identifierName": "L2DTargetPoint" + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 41611, + "end": 41627, + "loc": { + "start": { + "line": 1139, + "column": 4 }, - "name": "L2DTargetPoint" + "end": { + "line": 1139, + "column": 20 + } }, - "value": { - "type": "Identifier", - "start": 50434, - "end": 50448, + "expression": { + "type": "AssignmentExpression", + "start": 41611, + "end": 41626, "loc": { "start": { - "line": 1377, - "column": 20 + "line": 1139, + "column": 4 }, "end": { - "line": 1377, - "column": 34 + "line": 1139, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 41611, + "end": 41622, + "loc": { + "start": { + "line": 1139, + "column": 4 + }, + "end": { + "line": 1139, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 41611, + "end": 41615, + "loc": { + "start": { + "line": 1139, + "column": 4 + }, + "end": { + "line": 1139, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 41616, + "end": 41622, + "loc": { + "start": { + "line": 1139, + "column": 9 + }, + "end": { + "line": 1139, + "column": 15 + }, + "identifierName": "faceVX" + }, + "name": "faceVX" }, - "identifierName": "L2DTargetPoint" + "computed": false }, - "name": "L2DTargetPoint" + "right": { + "type": "NumericLiteral", + "start": 41625, + "end": 41626, + "loc": { + "start": { + "line": 1139, + "column": 18 + }, + "end": { + "line": 1139, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } }, { - "type": "ObjectProperty", - "start": 50454, - "end": 50486, + "type": "ExpressionStatement", + "start": 41632, + "end": 41648, "loc": { "start": { - "line": 1378, + "line": 1140, "column": 4 }, "end": { - "line": 1378, - "column": 36 + "line": 1140, + "column": 20 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50454, - "end": 50469, + "expression": { + "type": "AssignmentExpression", + "start": 41632, + "end": 41647, "loc": { "start": { - "line": 1378, + "line": 1140, "column": 4 }, "end": { - "line": 1378, + "line": 1140, "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 41632, + "end": 41643, + "loc": { + "start": { + "line": 1140, + "column": 4 + }, + "end": { + "line": 1140, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 41632, + "end": 41636, + "loc": { + "start": { + "line": 1140, + "column": 4 + }, + "end": { + "line": 1140, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 41637, + "end": 41643, + "loc": { + "start": { + "line": 1140, + "column": 9 + }, + "end": { + "line": 1140, + "column": 15 + }, + "identifierName": "faceVY" + }, + "name": "faceVY" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 41646, + "end": 41647, + "loc": { + "start": { + "line": 1140, + "column": 18 + }, + "end": { + "line": 1140, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 41653, + "end": 41674, + "loc": { + "start": { + "line": 1141, + "column": 4 + }, + "end": { + "line": 1141, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 41653, + "end": 41673, + "loc": { + "start": { + "line": 1141, + "column": 4 + }, + "end": { + "line": 1141, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 41653, + "end": 41669, + "loc": { + "start": { + "line": 1141, + "column": 4 + }, + "end": { + "line": 1141, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 41653, + "end": 41657, + "loc": { + "start": { + "line": 1141, + "column": 4 + }, + "end": { + "line": 1141, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 41658, + "end": 41669, + "loc": { + "start": { + "line": 1141, + "column": 9 + }, + "end": { + "line": 1141, + "column": 20 + }, + "identifierName": "lastTimeSec" + }, + "name": "lastTimeSec" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 41672, + "end": 41673, + "loc": { + "start": { + "line": 1141, + "column": 23 + }, + "end": { + "line": 1141, + "column": 24 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 41162, + "end": 41224, + "loc": { + "start": { + "line": 1128, + "column": 0 + }, + "end": { + "line": 1128, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 41225, + "end": 41287, + "loc": { + "start": { + "line": 1129, + "column": 0 + }, + "end": { + "line": 1129, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DTargetPoint", + "start": 41288, + "end": 41312, + "loc": { + "start": { + "line": 1130, + "column": 0 + }, + "end": { + "line": 1130, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 41313, + "end": 41375, + "loc": { + "start": { + "line": 1131, + "column": 0 + }, + "end": { + "line": 1131, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 41376, + "end": 41438, + "loc": { + "start": { + "line": 1132, + "column": 0 + }, + "end": { + "line": 1132, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 41678, + "end": 41740, + "loc": { + "start": { + "line": 1144, + "column": 0 + }, + "end": { + "line": 1144, + "column": 62 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 49664, + "end": 49694, + "loc": { + "start": { + "line": 1356, + "column": 0 + }, + "end": { + "line": 1357, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 49673, + "end": 49688, + "loc": { + "start": { + "line": 1356, + "column": 9 + }, + "end": { + "line": 1356, + "column": 24 + }, + "identifierName": "Live2DFramework" + }, + "name": "Live2DFramework", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 49691, + "end": 49694, + "loc": { + "start": { + "line": 1356, + "column": 27 + }, + "end": { + "line": 1357, + "column": 1 + } + }, + "body": [], + "directives": [], + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 49386, + "end": 49448, + "loc": { + "start": { + "line": 1351, + "column": 0 + }, + "end": { + "line": 1351, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 49449, + "end": 49511, + "loc": { + "start": { + "line": 1352, + "column": 0 + }, + "end": { + "line": 1352, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class Live2DFramework", + "start": 49512, + "end": 49537, + "loc": { + "start": { + "line": 1353, + "column": 0 + }, + "end": { + "line": 1353, + "column": 25 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 49538, + "end": 49600, + "loc": { + "start": { + "line": 1354, + "column": 0 + }, + "end": { + "line": 1354, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 49601, + "end": 49663, + "loc": { + "start": { + "line": 1355, + "column": 0 + }, + "end": { + "line": 1355, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 49696, + "end": 49758, + "loc": { + "start": { + "line": 1359, + "column": 0 + }, + "end": { + "line": 1359, + "column": 62 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 44537, + "end": 44813, + "loc": { + "start": { + "line": 1219, + "column": 0 + }, + "end": { + "line": 1229, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 44546, + "end": 44559, + "loc": { + "start": { + "line": 1219, + "column": 9 + }, + "end": { + "line": 1219, + "column": 22 + }, + "identifierName": "L2DViewMatrix" + }, + "name": "L2DViewMatrix", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 44562, + "end": 44813, + "loc": { + "start": { + "line": 1219, + "column": 25 + }, + "end": { + "line": 1229, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 44566, + "end": 44611, + "loc": { + "start": { + "line": 1220, + "column": 2 + }, + "end": { + "line": 1220, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 44566, + "end": 44610, + "loc": { + "start": { + "line": 1220, + "column": 2 + }, + "end": { + "line": 1220, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 44566, + "end": 44604, + "loc": { + "start": { + "line": 1220, + "column": 2 + }, + "end": { + "line": 1220, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 44566, + "end": 44599, + "loc": { + "start": { + "line": 1220, + "column": 2 + }, + "end": { + "line": 1220, + "column": 35 + } + }, + "object": { + "type": "MemberExpression", + "start": 44566, + "end": 44587, + "loc": { + "start": { + "line": 1220, + "column": 2 + }, + "end": { + "line": 1220, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 44566, + "end": 44577, + "loc": { + "start": { + "line": 1220, + "column": 2 + }, + "end": { + "line": 1220, + "column": 13 + }, + "identifierName": "L2DMatrix44" + }, + "name": "L2DMatrix44" + }, + "property": { + "type": "Identifier", + "start": 44578, + "end": 44587, + "loc": { + "start": { + "line": 1220, + "column": 14 + }, + "end": { + "line": 1220, + "column": 23 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 44588, + "end": 44599, + "loc": { + "start": { + "line": 1220, + "column": 24 + }, + "end": { + "line": 1220, + "column": 35 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 44600, + "end": 44604, + "loc": { + "start": { + "line": 1220, + "column": 36 + }, + "end": { + "line": 1220, + "column": 40 + }, + "identifierName": "call" + }, + "name": "call" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 44605, + "end": 44609, + "loc": { + "start": { + "line": 1220, + "column": 41 + }, + "end": { + "line": 1220, + "column": 45 + } + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 44614, + "end": 44637, + "loc": { + "start": { + "line": 1221, + "column": 2 + }, + "end": { + "line": 1221, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 44614, + "end": 44636, + "loc": { + "start": { + "line": 1221, + "column": 2 + }, + "end": { + "line": 1221, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 44614, + "end": 44629, + "loc": { + "start": { + "line": 1221, + "column": 2 + }, + "end": { + "line": 1221, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 44614, + "end": 44618, + "loc": { + "start": { + "line": 1221, + "column": 2 + }, + "end": { + "line": 1221, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 44619, + "end": 44629, + "loc": { + "start": { + "line": 1221, + "column": 7 + }, + "end": { + "line": 1221, + "column": 17 + }, + "identifierName": "screenLeft" + }, + "name": "screenLeft" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 44632, + "end": 44636, + "loc": { + "start": { + "line": 1221, + "column": 20 + }, + "end": { + "line": 1221, + "column": 24 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 44640, + "end": 44664, + "loc": { + "start": { + "line": 1222, + "column": 2 + }, + "end": { + "line": 1222, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 44640, + "end": 44663, + "loc": { + "start": { + "line": 1222, + "column": 2 + }, + "end": { + "line": 1222, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 44640, + "end": 44656, + "loc": { + "start": { + "line": 1222, + "column": 2 + }, + "end": { + "line": 1222, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 44640, + "end": 44644, + "loc": { + "start": { + "line": 1222, + "column": 2 + }, + "end": { + "line": 1222, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 44645, + "end": 44656, + "loc": { + "start": { + "line": 1222, + "column": 7 + }, + "end": { + "line": 1222, + "column": 18 + }, + "identifierName": "screenRight" + }, + "name": "screenRight" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 44659, + "end": 44663, + "loc": { + "start": { + "line": 1222, + "column": 21 + }, + "end": { + "line": 1222, + "column": 25 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 44667, + "end": 44689, + "loc": { + "start": { + "line": 1223, + "column": 2 + }, + "end": { + "line": 1223, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 44667, + "end": 44688, + "loc": { + "start": { + "line": 1223, + "column": 2 + }, + "end": { + "line": 1223, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 44667, + "end": 44681, + "loc": { + "start": { + "line": 1223, + "column": 2 + }, + "end": { + "line": 1223, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 44667, + "end": 44671, + "loc": { + "start": { + "line": 1223, + "column": 2 + }, + "end": { + "line": 1223, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 44672, + "end": 44681, + "loc": { + "start": { + "line": 1223, + "column": 7 + }, + "end": { + "line": 1223, + "column": 16 + }, + "identifierName": "screenTop" + }, + "name": "screenTop" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 44684, + "end": 44688, + "loc": { + "start": { + "line": 1223, + "column": 19 + }, + "end": { + "line": 1223, + "column": 23 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 44692, + "end": 44717, + "loc": { + "start": { + "line": 1224, + "column": 2 + }, + "end": { + "line": 1224, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 44692, + "end": 44716, + "loc": { + "start": { + "line": 1224, + "column": 2 + }, + "end": { + "line": 1224, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 44692, + "end": 44709, + "loc": { + "start": { + "line": 1224, + "column": 2 + }, + "end": { + "line": 1224, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 44692, + "end": 44696, + "loc": { + "start": { + "line": 1224, + "column": 2 + }, + "end": { + "line": 1224, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 44697, + "end": 44709, + "loc": { + "start": { + "line": 1224, + "column": 7 + }, + "end": { + "line": 1224, + "column": 19 + }, + "identifierName": "screenBottom" + }, + "name": "screenBottom" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 44712, + "end": 44716, + "loc": { + "start": { + "line": 1224, + "column": 22 + }, + "end": { + "line": 1224, + "column": 26 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 44720, + "end": 44740, + "loc": { + "start": { + "line": 1225, + "column": 2 + }, + "end": { + "line": 1225, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 44720, + "end": 44739, + "loc": { + "start": { + "line": 1225, + "column": 2 + }, + "end": { + "line": 1225, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 44720, + "end": 44732, + "loc": { + "start": { + "line": 1225, + "column": 2 + }, + "end": { + "line": 1225, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 44720, + "end": 44724, + "loc": { + "start": { + "line": 1225, + "column": 2 + }, + "end": { + "line": 1225, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 44725, + "end": 44732, + "loc": { + "start": { + "line": 1225, + "column": 7 + }, + "end": { + "line": 1225, + "column": 14 + }, + "identifierName": "maxLeft" + }, + "name": "maxLeft" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 44735, + "end": 44739, + "loc": { + "start": { + "line": 1225, + "column": 17 + }, + "end": { + "line": 1225, + "column": 21 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 44743, + "end": 44764, + "loc": { + "start": { + "line": 1226, + "column": 2 + }, + "end": { + "line": 1226, + "column": 23 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 44743, + "end": 44763, + "loc": { + "start": { + "line": 1226, + "column": 2 + }, + "end": { + "line": 1226, + "column": 22 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 44743, + "end": 44756, + "loc": { + "start": { + "line": 1226, + "column": 2 + }, + "end": { + "line": 1226, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 44743, + "end": 44747, + "loc": { + "start": { + "line": 1226, + "column": 2 + }, + "end": { + "line": 1226, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 44748, + "end": 44756, + "loc": { + "start": { + "line": 1226, + "column": 7 + }, + "end": { + "line": 1226, + "column": 15 + }, + "identifierName": "maxRight" + }, + "name": "maxRight" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 44759, + "end": 44763, + "loc": { + "start": { + "line": 1226, + "column": 18 + }, + "end": { + "line": 1226, + "column": 22 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 44767, + "end": 44786, + "loc": { + "start": { + "line": 1227, + "column": 2 + }, + "end": { + "line": 1227, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 44767, + "end": 44785, + "loc": { + "start": { + "line": 1227, + "column": 2 + }, + "end": { + "line": 1227, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 44767, + "end": 44778, + "loc": { + "start": { + "line": 1227, + "column": 2 + }, + "end": { + "line": 1227, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 44767, + "end": 44771, + "loc": { + "start": { + "line": 1227, + "column": 2 + }, + "end": { + "line": 1227, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 44772, + "end": 44778, + "loc": { + "start": { + "line": 1227, + "column": 7 + }, + "end": { + "line": 1227, + "column": 13 + }, + "identifierName": "maxTop" + }, + "name": "maxTop" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 44781, + "end": 44785, + "loc": { + "start": { + "line": 1227, + "column": 16 + }, + "end": { + "line": 1227, + "column": 20 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 44789, + "end": 44811, + "loc": { + "start": { + "line": 1228, + "column": 2 + }, + "end": { + "line": 1228, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 44789, + "end": 44810, + "loc": { + "start": { + "line": 1228, + "column": 2 + }, + "end": { + "line": 1228, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 44789, + "end": 44803, + "loc": { + "start": { + "line": 1228, + "column": 2 + }, + "end": { + "line": 1228, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 44789, + "end": 44793, + "loc": { + "start": { + "line": 1228, + "column": 2 + }, + "end": { + "line": 1228, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 44794, + "end": 44803, + "loc": { + "start": { + "line": 1228, + "column": 7 + }, + "end": { + "line": 1228, + "column": 16 + }, + "identifierName": "maxBottom" + }, + "name": "maxBottom" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 44806, + "end": 44810, + "loc": { + "start": { + "line": 1228, + "column": 19 + }, + "end": { + "line": 1228, + "column": 23 + } + } + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 44230, + "end": 44292, + "loc": { + "start": { + "line": 1214, + "column": 0 + }, + "end": { + "line": 1214, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 44293, + "end": 44355, + "loc": { + "start": { + "line": 1215, + "column": 0 + }, + "end": { + "line": 1215, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DViewMatrix extends L2DMatrix44", + "start": 44356, + "end": 44410, + "loc": { + "start": { + "line": 1216, + "column": 0 + }, + "end": { + "line": 1216, + "column": 54 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 44411, + "end": 44473, + "loc": { + "start": { + "line": 1217, + "column": 0 + }, + "end": { + "line": 1217, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 44474, + "end": 44536, + "loc": { + "start": { + "line": 1218, + "column": 0 + }, + "end": { + "line": 1218, + "column": 62 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 34098, + "end": 34250, + "loc": { + "start": { + "line": 952, + "column": 0 + }, + "end": { + "line": 956, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 34107, + "end": 34114, + "loc": { + "start": { + "line": 952, + "column": 9 + }, + "end": { + "line": 952, + "column": 16 + }, + "identifierName": "L2DPose" + }, + "name": "L2DPose", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 34117, + "end": 34250, + "loc": { + "start": { + "line": 952, + "column": 19 + }, + "end": { + "line": 956, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 34123, + "end": 34141, + "loc": { + "start": { + "line": 953, + "column": 4 + }, + "end": { + "line": 953, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 34123, + "end": 34140, + "loc": { + "start": { + "line": 953, + "column": 4 + }, + "end": { + "line": 953, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 34123, + "end": 34136, + "loc": { + "start": { + "line": 953, + "column": 4 + }, + "end": { + "line": 953, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 34123, + "end": 34127, + "loc": { + "start": { + "line": 953, + "column": 4 + }, + "end": { + "line": 953, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 34128, + "end": 34136, + "loc": { + "start": { + "line": 953, + "column": 9 + }, + "end": { + "line": 953, + "column": 17 + }, + "identifierName": "lastTime" + }, + "name": "lastTime" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 34139, + "end": 34140, + "loc": { + "start": { + "line": 953, + "column": 20 + }, + "end": { + "line": 953, + "column": 21 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 34146, + "end": 34168, + "loc": { + "start": { + "line": 954, + "column": 4 + }, + "end": { + "line": 954, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 34146, + "end": 34167, + "loc": { + "start": { + "line": 954, + "column": 4 + }, + "end": { + "line": 954, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 34146, + "end": 34160, + "loc": { + "start": { + "line": 954, + "column": 4 + }, + "end": { + "line": 954, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 34146, + "end": 34150, + "loc": { + "start": { + "line": 954, + "column": 4 + }, + "end": { + "line": 954, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 34151, + "end": 34160, + "loc": { + "start": { + "line": 954, + "column": 9 + }, + "end": { + "line": 954, + "column": 18 + }, + "identifierName": "lastModel" + }, + "name": "lastModel" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 34163, + "end": 34167, + "loc": { + "start": { + "line": 954, + "column": 21 + }, + "end": { + "line": 954, + "column": 25 + } + } + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": "ALive2DModel", + "start": 34169, + "end": 34183, + "loc": { + "start": { + "line": 954, + "column": 27 + }, + "end": { + "line": 954, + "column": 41 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 34188, + "end": 34219, + "loc": { + "start": { + "line": 955, + "column": 4 + }, + "end": { + "line": 955, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 34188, + "end": 34218, + "loc": { + "start": { + "line": 955, + "column": 4 + }, + "end": { + "line": 955, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 34188, + "end": 34204, + "loc": { + "start": { + "line": 955, + "column": 4 + }, + "end": { + "line": 955, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 34188, + "end": 34192, + "loc": { + "start": { + "line": 955, + "column": 4 + }, + "end": { + "line": 955, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 34193, + "end": 34204, + "loc": { + "start": { + "line": 955, + "column": 9 + }, + "end": { + "line": 955, + "column": 20 + }, + "identifierName": "partsGroups" + }, + "name": "partsGroups" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NewExpression", + "start": 34207, + "end": 34218, + "loc": { + "start": { + "line": 955, + "column": 23 + }, + "end": { + "line": 955, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 34211, + "end": 34216, + "loc": { + "start": { + "line": 955, + "column": 27 + }, + "end": { + "line": 955, + "column": 32 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "ALive2DModel", + "start": 34169, + "end": 34183, + "loc": { + "start": { + "line": 954, + "column": 27 + }, + "end": { + "line": 954, + "column": 41 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "ArrayList", + "start": 34220, + "end": 34248, + "loc": { + "start": { + "line": 955, + "column": 36 + }, + "end": { + "line": 955, + "column": 64 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 33828, + "end": 33890, + "loc": { + "start": { + "line": 947, + "column": 0 + }, + "end": { + "line": 947, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 33891, + "end": 33953, + "loc": { + "start": { + "line": 948, + "column": 0 + }, + "end": { + "line": 948, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DPose", + "start": 33954, + "end": 33971, + "loc": { + "start": { + "line": 949, + "column": 0 + }, + "end": { + "line": 949, + "column": 17 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 33972, + "end": 34034, + "loc": { + "start": { + "line": 950, + "column": 0 + }, + "end": { + "line": 950, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 34035, + "end": 34097, + "loc": { + "start": { + "line": 951, + "column": 0 + }, + "end": { + "line": 951, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 34253, + "end": 34315, + "loc": { + "start": { + "line": 959, + "column": 0 + }, + "end": { + "line": 959, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " static L2DPose.load()", + "start": 34316, + "end": 34343, + "loc": { + "start": { + "line": 960, + "column": 0 + }, + "end": { + "line": 960, + "column": 27 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 34344, + "end": 34406, + "loc": { + "start": { + "line": 961, + "column": 0 + }, + "end": { + "line": 961, + "column": 62 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 40581, + "end": 40741, + "loc": { + "start": { + "line": 1112, + "column": 0 + }, + "end": { + "line": 1117, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 40590, + "end": 40603, + "loc": { + "start": { + "line": 1112, + "column": 9 + }, + "end": { + "line": 1112, + "column": 22 + }, + "identifierName": "L2DPartsParam" + }, + "name": "L2DPartsParam", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 40604, + "end": 40606, + "loc": { + "start": { + "line": 1112, + "column": 23 + }, + "end": { + "line": 1112, + "column": 25 + }, + "identifierName": "id" + }, + "name": "id", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "String", + "start": 40606, + "end": 40616, + "loc": { + "start": { + "line": 1112, + "column": 25 + }, + "end": { + "line": 1112, + "column": 35 + } + } + } + ] + } + ], + "body": { + "type": "BlockStatement", + "start": 40618, + "end": 40741, + "loc": { + "start": { + "line": 1112, + "column": 37 + }, + "end": { + "line": 1117, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 40624, + "end": 40645, + "loc": { + "start": { + "line": 1113, + "column": 4 + }, + "end": { + "line": 1113, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 40624, + "end": 40644, + "loc": { + "start": { + "line": 1113, + "column": 4 + }, + "end": { + "line": 1113, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 40624, + "end": 40639, + "loc": { + "start": { + "line": 1113, + "column": 4 + }, + "end": { + "line": 1113, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 40624, + "end": 40628, + "loc": { + "start": { + "line": 1113, + "column": 4 + }, + "end": { + "line": 1113, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 40629, + "end": 40639, + "loc": { + "start": { + "line": 1113, + "column": 9 + }, + "end": { + "line": 1113, + "column": 19 + }, + "identifierName": "paramIndex" + }, + "name": "paramIndex" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "UnaryExpression", + "start": 40642, + "end": 40644, + "loc": { + "start": { + "line": 1113, + "column": 22 + }, + "end": { + "line": 1113, + "column": 24 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 40643, + "end": 40644, + "loc": { + "start": { + "line": 1113, + "column": 23 + }, + "end": { + "line": 1113, + "column": 24 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + }, + "leadingComments": null + }, + "leadingComments": null + }, + { + "type": "ExpressionStatement", + "start": 40650, + "end": 40671, + "loc": { + "start": { + "line": 1114, + "column": 4 + }, + "end": { + "line": 1114, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 40650, + "end": 40670, + "loc": { + "start": { + "line": 1114, + "column": 4 + }, + "end": { + "line": 1114, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 40650, + "end": 40665, + "loc": { + "start": { + "line": 1114, + "column": 4 + }, + "end": { + "line": 1114, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 40650, + "end": 40654, + "loc": { + "start": { + "line": 1114, + "column": 4 + }, + "end": { + "line": 1114, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 40655, + "end": 40665, + "loc": { + "start": { + "line": 1114, + "column": 9 + }, + "end": { + "line": 1114, + "column": 19 + }, + "identifierName": "partsIndex" + }, + "name": "partsIndex" + }, + "computed": false + }, + "right": { + "type": "UnaryExpression", + "start": 40668, + "end": 40670, + "loc": { + "start": { + "line": 1114, + "column": 22 + }, + "end": { + "line": 1114, + "column": 24 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 40669, + "end": 40670, + "loc": { + "start": { + "line": 1114, + "column": 23 + }, + "end": { + "line": 1114, + "column": 24 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 40676, + "end": 40693, + "loc": { + "start": { + "line": 1115, + "column": 4 + }, + "end": { + "line": 1115, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 40676, + "end": 40692, + "loc": { + "start": { + "line": 1115, + "column": 4 + }, + "end": { + "line": 1115, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 40676, + "end": 40685, + "loc": { + "start": { + "line": 1115, + "column": 4 + }, + "end": { + "line": 1115, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 40676, + "end": 40680, + "loc": { + "start": { + "line": 1115, + "column": 4 + }, + "end": { + "line": 1115, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 40681, + "end": 40685, + "loc": { + "start": { + "line": 1115, + "column": 9 + }, + "end": { + "line": 1115, + "column": 13 + }, + "identifierName": "link" + }, + "name": "link" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 40688, + "end": 40692, + "loc": { + "start": { + "line": 1115, + "column": 16 + }, + "end": { + "line": 1115, + "column": 20 + } + } + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " ArrayList", + "start": 40694, + "end": 40721, + "loc": { + "start": { + "line": 1115, + "column": 22 + }, + "end": { + "line": 1115, + "column": 49 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 40726, + "end": 40739, + "loc": { + "start": { + "line": 1116, + "column": 4 + }, + "end": { + "line": 1116, + "column": 17 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 40726, + "end": 40738, + "loc": { + "start": { + "line": 1116, + "column": 4 + }, + "end": { + "line": 1116, + "column": 16 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 40726, + "end": 40733, + "loc": { + "start": { + "line": 1116, + "column": 4 + }, + "end": { + "line": 1116, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 40726, + "end": 40730, + "loc": { + "start": { + "line": 1116, + "column": 4 + }, + "end": { + "line": 1116, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 40731, + "end": 40733, + "loc": { + "start": { + "line": 1116, + "column": 9 + }, + "end": { + "line": 1116, + "column": 11 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 40736, + "end": 40738, + "loc": { + "start": { + "line": 1116, + "column": 14 + }, + "end": { + "line": 1116, + "column": 16 + }, + "identifierName": "id" + }, + "name": "id" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " ArrayList", + "start": 40694, + "end": 40721, + "loc": { + "start": { + "line": 1115, + "column": 22 + }, + "end": { + "line": 1115, + "column": 49 + } + } + } + ] + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "String", + "start": 40606, + "end": 40616, + "loc": { + "start": { + "line": 1112, + "column": 25 + }, + "end": { + "line": 1112, + "column": 35 + } + } + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 40305, + "end": 40367, + "loc": { + "start": { + "line": 1107, + "column": 0 + }, + "end": { + "line": 1107, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 40368, + "end": 40430, + "loc": { + "start": { + "line": 1108, + "column": 0 + }, + "end": { + "line": 1108, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DPartsParam", + "start": 40431, + "end": 40454, + "loc": { + "start": { + "line": 1109, + "column": 0 + }, + "end": { + "line": 1109, + "column": 23 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 40455, + "end": 40517, + "loc": { + "start": { + "line": 1110, + "column": 0 + }, + "end": { + "line": 1110, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 40518, + "end": 40580, + "loc": { + "start": { + "line": 1111, + "column": 0 + }, + "end": { + "line": 1111, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 40743, + "end": 40805, + "loc": { + "start": { + "line": 1119, + "column": 0 + }, + "end": { + "line": 1119, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " L2DPartsParam # initIndex()", + "start": 40806, + "end": 40839, + "loc": { + "start": { + "line": 1120, + "column": 0 + }, + "end": { + "line": 1120, + "column": 33 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 40840, + "end": 40902, + "loc": { + "start": { + "line": 1121, + "column": 0 + }, + "end": { + "line": 1121, + "column": 62 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 30672, + "end": 30811, + "loc": { + "start": { + "line": 867, + "column": 0 + }, + "end": { + "line": 870, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 30681, + "end": 30691, + "loc": { + "start": { + "line": 867, + "column": 9 + }, + "end": { + "line": 867, + "column": 19 + }, + "identifierName": "L2DPhysics" + }, + "name": "L2DPhysics", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 30694, + "end": 30811, + "loc": { + "start": { + "line": 867, + "column": 22 + }, + "end": { + "line": 870, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 30700, + "end": 30731, + "loc": { + "start": { + "line": 868, + "column": 4 + }, + "end": { + "line": 868, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 30700, + "end": 30730, + "loc": { + "start": { + "line": 868, + "column": 4 + }, + "end": { + "line": 868, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 30700, + "end": 30716, + "loc": { + "start": { + "line": 868, + "column": 4 + }, + "end": { + "line": 868, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 30700, + "end": 30704, + "loc": { + "start": { + "line": 868, + "column": 4 + }, + "end": { + "line": 868, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 30705, + "end": 30716, + "loc": { + "start": { + "line": 868, + "column": 9 + }, + "end": { + "line": 868, + "column": 20 + }, + "identifierName": "physicsList" + }, + "name": "physicsList" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 30719, + "end": 30730, + "loc": { + "start": { + "line": 868, + "column": 23 + }, + "end": { + "line": 868, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 30723, + "end": 30728, + "loc": { + "start": { + "line": 868, + "column": 27 + }, + "end": { + "line": 868, + "column": 32 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "arguments": [] + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": "ArrayList", + "start": 30732, + "end": 30756, + "loc": { + "start": { + "line": 868, + "column": 36 + }, + "end": { + "line": 868, + "column": 60 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 30761, + "end": 30809, + "loc": { + "start": { + "line": 869, + "column": 4 + }, + "end": { + "line": 869, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 30761, + "end": 30808, + "loc": { + "start": { + "line": 869, + "column": 4 + }, + "end": { + "line": 869, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 30761, + "end": 30779, + "loc": { + "start": { + "line": 869, + "column": 4 + }, + "end": { + "line": 869, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 30761, + "end": 30765, + "loc": { + "start": { + "line": 869, + "column": 4 + }, + "end": { + "line": 869, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 30766, + "end": 30779, + "loc": { + "start": { + "line": 869, + "column": 9 + }, + "end": { + "line": 869, + "column": 22 + }, + "identifierName": "startTimeMSec" + }, + "name": "startTimeMSec" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 30782, + "end": 30808, + "loc": { + "start": { + "line": 869, + "column": 25 + }, + "end": { + "line": 869, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 30782, + "end": 30806, + "loc": { + "start": { + "line": 869, + "column": 25 + }, + "end": { + "line": 869, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 30782, + "end": 30790, + "loc": { + "start": { + "line": 869, + "column": 25 + }, + "end": { + "line": 869, + "column": 33 + }, + "identifierName": "UtSystem" + }, + "name": "UtSystem" + }, + "property": { + "type": "Identifier", + "start": 30791, + "end": 30806, + "loc": { + "start": { + "line": 869, + "column": 34 + }, + "end": { + "line": 869, + "column": 49 + }, + "identifierName": "getUserTimeMSec" + }, + "name": "getUserTimeMSec" + }, + "computed": false + }, + "arguments": [] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "ArrayList", + "start": 30732, + "end": 30756, + "loc": { + "start": { + "line": 868, + "column": 36 + }, + "end": { + "line": 868, + "column": 60 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 30399, + "end": 30461, + "loc": { + "start": { + "line": 862, + "column": 0 + }, + "end": { + "line": 862, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 30462, + "end": 30524, + "loc": { + "start": { + "line": 863, + "column": 0 + }, + "end": { + "line": 863, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DPhysics", + "start": 30525, + "end": 30545, + "loc": { + "start": { + "line": 864, + "column": 0 + }, + "end": { + "line": 864, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 30546, + "end": 30608, + "loc": { + "start": { + "line": 865, + "column": 0 + }, + "end": { + "line": 865, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 30609, + "end": 30671, + "loc": { + "start": { + "line": 866, + "column": 0 + }, + "end": { + "line": 866, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 30813, + "end": 30875, + "loc": { + "start": { + "line": 872, + "column": 0 + }, + "end": { + "line": 872, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " static L2DPhysics.load()", + "start": 30876, + "end": 30906, + "loc": { + "start": { + "line": 873, + "column": 0 + }, + "end": { + "line": 873, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 30907, + "end": 30969, + "loc": { + "start": { + "line": 874, + "column": 0 + }, + "end": { + "line": 874, + "column": 62 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 28034, + "end": 28236, + "loc": { + "start": { + "line": 790, + "column": 0 + }, + "end": { + "line": 796, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 28043, + "end": 28059, + "loc": { + "start": { + "line": 790, + "column": 9 + }, + "end": { + "line": 790, + "column": 25 + }, + "identifierName": "L2DMotionManager" + }, + "name": "L2DMotionManager", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 28062, + "end": 28236, + "loc": { + "start": { + "line": 790, + "column": 28 + }, + "end": { + "line": 796, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 28068, + "end": 28120, + "loc": { + "start": { + "line": 791, + "column": 4 + }, + "end": { + "line": 791, + "column": 56 + } + }, + "expression": { + "type": "CallExpression", + "start": 28068, + "end": 28119, + "loc": { + "start": { + "line": 791, + "column": 4 + }, + "end": { + "line": 791, + "column": 55 + } + }, + "callee": { + "type": "MemberExpression", + "start": 28068, + "end": 28113, + "loc": { + "start": { + "line": 791, + "column": 4 + }, + "end": { + "line": 791, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 28068, + "end": 28108, + "loc": { + "start": { + "line": 791, + "column": 4 + }, + "end": { + "line": 791, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 28068, + "end": 28096, + "loc": { + "start": { + "line": 791, + "column": 4 + }, + "end": { + "line": 791, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 28068, + "end": 28086, + "loc": { + "start": { + "line": 791, + "column": 4 + }, + "end": { + "line": 791, + "column": 22 + }, + "identifierName": "MotionQueueManager" + }, + "name": "MotionQueueManager" + }, + "property": { + "type": "Identifier", + "start": 28087, + "end": 28096, + "loc": { + "start": { + "line": 791, + "column": 23 + }, + "end": { + "line": 791, + "column": 32 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 28097, + "end": 28108, + "loc": { + "start": { + "line": 791, + "column": 33 + }, + "end": { + "line": 791, + "column": 44 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 28109, + "end": 28113, + "loc": { + "start": { + "line": 791, + "column": 45 + }, + "end": { + "line": 791, + "column": 49 + }, + "identifierName": "call" + }, + "name": "call" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 28114, + "end": 28118, + "loc": { + "start": { + "line": 791, + "column": 50 + }, + "end": { + "line": 791, + "column": 54 + } + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 28125, + "end": 28153, + "loc": { + "start": { + "line": 792, + "column": 4 + }, + "end": { + "line": 792, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 28125, + "end": 28152, + "loc": { + "start": { + "line": 792, + "column": 4 + }, + "end": { + "line": 792, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 28125, + "end": 28145, + "loc": { + "start": { + "line": 792, + "column": 4 + }, + "end": { + "line": 792, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 28125, + "end": 28129, + "loc": { + "start": { + "line": 792, + "column": 4 + }, + "end": { + "line": 792, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 28130, + "end": 28145, + "loc": { + "start": { + "line": 792, + "column": 9 + }, + "end": { + "line": 792, + "column": 24 + }, + "identifierName": "currentPriority" + }, + "name": "currentPriority" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 28148, + "end": 28152, + "loc": { + "start": { + "line": 792, + "column": 27 + }, + "end": { + "line": 792, + "column": 31 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 28158, + "end": 28186, + "loc": { + "start": { + "line": 793, + "column": 4 + }, + "end": { + "line": 793, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 28158, + "end": 28185, + "loc": { + "start": { + "line": 793, + "column": 4 + }, + "end": { + "line": 793, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 28158, + "end": 28178, + "loc": { + "start": { + "line": 793, + "column": 4 + }, + "end": { + "line": 793, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 28158, + "end": 28162, + "loc": { + "start": { + "line": 793, + "column": 4 + }, + "end": { + "line": 793, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 28163, + "end": 28178, + "loc": { + "start": { + "line": 793, + "column": 9 + }, + "end": { + "line": 793, + "column": 24 + }, + "identifierName": "reservePriority" + }, + "name": "reservePriority" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 28181, + "end": 28185, + "loc": { + "start": { + "line": 793, + "column": 27 + }, + "end": { + "line": 793, + "column": 31 + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 28192, + "end": 28234, + "loc": { + "start": { + "line": 795, + "column": 4 + }, + "end": { + "line": 795, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 28192, + "end": 28233, + "loc": { + "start": { + "line": 795, + "column": 4 + }, + "end": { + "line": 795, + "column": 45 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 28192, + "end": 28202, + "loc": { + "start": { + "line": 795, + "column": 4 + }, + "end": { + "line": 795, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 28192, + "end": 28196, + "loc": { + "start": { + "line": 795, + "column": 4 + }, + "end": { + "line": 795, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 28197, + "end": 28202, + "loc": { + "start": { + "line": 795, + "column": 9 + }, + "end": { + "line": 795, + "column": 14 + }, + "identifierName": "super" + }, + "name": "super" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 28205, + "end": 28233, + "loc": { + "start": { + "line": 795, + "column": 17 + }, + "end": { + "line": 795, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 28205, + "end": 28223, + "loc": { + "start": { + "line": 795, + "column": 17 + }, + "end": { + "line": 795, + "column": 35 + }, + "identifierName": "MotionQueueManager" + }, + "name": "MotionQueueManager" + }, + "property": { + "type": "Identifier", + "start": 28224, + "end": 28233, + "loc": { + "start": { + "line": 795, + "column": 36 + }, + "end": { + "line": 795, + "column": 45 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 27720, + "end": 27782, + "loc": { + "start": { + "line": 785, + "column": 0 + }, + "end": { + "line": 785, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 27783, + "end": 27845, + "loc": { + "start": { + "line": 786, + "column": 0 + }, + "end": { + "line": 786, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DMotionManager extends MotionQueueManager", + "start": 27846, + "end": 27907, + "loc": { + "start": { + "line": 787, + "column": 0 + }, + "end": { + "line": 787, + "column": 61 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 27908, + "end": 27970, + "loc": { + "start": { + "line": 788, + "column": 0 + }, + "end": { + "line": 788, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 27971, + "end": 28033, + "loc": { + "start": { + "line": 789, + "column": 0 + }, + "end": { + "line": 789, + "column": 62 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 24098, + "end": 24240, + "loc": { + "start": { + "line": 682, + "column": 0 + }, + "end": { + "line": 686, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 24107, + "end": 24121, + "loc": { + "start": { + "line": 682, + "column": 9 + }, + "end": { + "line": 682, + "column": 23 + }, + "identifierName": "L2DModelMatrix" + }, + "name": "L2DModelMatrix", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 24122, + "end": 24123, + "loc": { + "start": { + "line": 682, + "column": 24 + }, + "end": { + "line": 682, + "column": 25 + }, + "identifierName": "w" + }, + "name": "w", + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "float", + "start": 24123, + "end": 24132, + "loc": { + "start": { + "line": 682, + "column": 25 + }, + "end": { + "line": 682, + "column": 34 + } + } + } + ] + }, + { + "type": "Identifier", + "start": 24134, + "end": 24135, + "loc": { + "start": { + "line": 682, + "column": 36 + }, + "end": { + "line": 682, + "column": 37 + }, + "identifierName": "h" + }, + "name": "h", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "float", + "start": 24123, + "end": 24132, + "loc": { + "start": { + "line": 682, + "column": 25 + }, + "end": { + "line": 682, + "column": 34 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "float", + "start": 24135, + "end": 24144, + "loc": { + "start": { + "line": 682, + "column": 37 + }, + "end": { + "line": 682, + "column": 46 + } + } + } + ] + } + ], + "body": { + "type": "BlockStatement", + "start": 24146, + "end": 24240, + "loc": { + "start": { + "line": 682, + "column": 48 + }, + "end": { + "line": 686, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 24152, + "end": 24197, + "loc": { + "start": { + "line": 683, + "column": 4 + }, + "end": { + "line": 683, + "column": 49 + } + }, + "expression": { + "type": "CallExpression", + "start": 24152, + "end": 24196, + "loc": { + "start": { + "line": 683, + "column": 4 + }, + "end": { + "line": 683, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24152, + "end": 24190, + "loc": { + "start": { + "line": 683, + "column": 4 + }, + "end": { + "line": 683, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 24152, + "end": 24185, + "loc": { + "start": { + "line": 683, + "column": 4 + }, + "end": { + "line": 683, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 24152, + "end": 24173, + "loc": { + "start": { + "line": 683, + "column": 4 + }, + "end": { + "line": 683, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 24152, + "end": 24163, + "loc": { + "start": { + "line": 683, + "column": 4 + }, + "end": { + "line": 683, + "column": 15 + }, + "identifierName": "L2DMatrix44" + }, + "name": "L2DMatrix44", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 24164, + "end": 24173, + "loc": { + "start": { + "line": 683, + "column": 16 + }, + "end": { + "line": 683, + "column": 25 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 24174, + "end": 24185, + "loc": { + "start": { + "line": 683, + "column": 26 + }, + "end": { + "line": 683, + "column": 37 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 24186, + "end": 24190, + "loc": { + "start": { + "line": 683, + "column": 38 + }, + "end": { + "line": 683, + "column": 42 + }, + "identifierName": "call" + }, + "name": "call" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 24191, + "end": 24195, + "loc": { + "start": { + "line": 683, + "column": 43 + }, + "end": { + "line": 683, + "column": 47 + } + } + } + ], + "leadingComments": null + }, + "leadingComments": null + }, + { + "type": "ExpressionStatement", + "start": 24202, + "end": 24217, + "loc": { + "start": { + "line": 684, + "column": 4 + }, + "end": { + "line": 684, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 24202, + "end": 24216, + "loc": { + "start": { + "line": 684, + "column": 4 + }, + "end": { + "line": 684, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24202, + "end": 24212, + "loc": { + "start": { + "line": 684, + "column": 4 + }, + "end": { + "line": 684, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 24202, + "end": 24206, + "loc": { + "start": { + "line": 684, + "column": 4 + }, + "end": { + "line": 684, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 24207, + "end": 24212, + "loc": { + "start": { + "line": 684, + "column": 9 + }, + "end": { + "line": 684, + "column": 14 + }, + "identifierName": "width" + }, + "name": "width" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 24215, + "end": 24216, + "loc": { + "start": { + "line": 684, + "column": 17 + }, + "end": { + "line": 684, + "column": 18 + }, + "identifierName": "w" + }, + "name": "w" + } + } + }, + { + "type": "ExpressionStatement", + "start": 24222, + "end": 24238, + "loc": { + "start": { + "line": 685, + "column": 4 + }, + "end": { + "line": 685, + "column": 20 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 24222, + "end": 24237, + "loc": { + "start": { + "line": 685, + "column": 4 + }, + "end": { + "line": 685, + "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24222, + "end": 24233, + "loc": { + "start": { + "line": 685, + "column": 4 + }, + "end": { + "line": 685, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 24222, + "end": 24226, + "loc": { + "start": { + "line": 685, + "column": 4 + }, + "end": { + "line": 685, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 24227, + "end": 24233, + "loc": { + "start": { + "line": 685, + "column": 9 + }, + "end": { + "line": 685, + "column": 15 + }, + "identifierName": "height" + }, + "name": "height" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 24236, + "end": 24237, + "loc": { + "start": { + "line": 685, + "column": 18 + }, + "end": { + "line": 685, + "column": 19 + }, + "identifierName": "h" + }, + "name": "h" + } + } + } + ], + "directives": [], + "leadingComments": [ + { + "type": "CommentBlock", + "value": "float", + "start": 24135, + "end": 24144, + "loc": { + "start": { + "line": 682, + "column": 37 + }, + "end": { + "line": 682, + "column": 46 + } + } + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 23791, + "end": 23853, + "loc": { + "start": { + "line": 677, + "column": 0 + }, + "end": { + "line": 677, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 23854, + "end": 23916, + "loc": { + "start": { + "line": 678, + "column": 0 + }, + "end": { + "line": 678, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DModelMatrix extends L2DMatrix44", + "start": 23917, + "end": 23971, + "loc": { + "start": { + "line": 679, + "column": 0 + }, + "end": { + "line": 679, + "column": 54 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 23972, + "end": 24034, + "loc": { + "start": { + "line": 680, + "column": 0 + }, + "end": { + "line": 680, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 24035, + "end": 24097, + "loc": { + "start": { + "line": 681, + "column": 0 + }, + "end": { + "line": 681, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "L2DModelMatrix extends L2DMatrix44", + "start": 24242, + "end": 24278, + "loc": { + "start": { + "line": 688, + "column": 0 + }, + "end": { + "line": 688, + "column": 36 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 18628, + "end": 18714, + "loc": { + "start": { + "line": 534, + "column": 0 + }, + "end": { + "line": 537, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 18637, + "end": 18648, + "loc": { + "start": { + "line": 534, + "column": 9 + }, + "end": { + "line": 534, + "column": 20 + }, + "identifierName": "L2DMatrix44" + }, + "name": "L2DMatrix44", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 18651, + "end": 18714, + "loc": { + "start": { + "line": 534, + "column": 23 + }, + "end": { + "line": 537, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18657, + "end": 18688, + "loc": { + "start": { + "line": 535, + "column": 4 + }, + "end": { + "line": 535, + "column": 35 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18657, + "end": 18687, + "loc": { + "start": { + "line": 535, + "column": 4 + }, + "end": { + "line": 535, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18657, + "end": 18664, + "loc": { + "start": { + "line": 535, + "column": 4 + }, + "end": { + "line": 535, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 18657, + "end": 18661, + "loc": { + "start": { + "line": 535, + "column": 4 + }, + "end": { + "line": 535, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 18662, + "end": 18664, + "loc": { + "start": { + "line": 535, + "column": 9 + }, + "end": { + "line": 535, + "column": 11 + }, + "identifierName": "tr" + }, + "name": "tr" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 18667, + "end": 18687, + "loc": { + "start": { + "line": 535, + "column": 14 + }, + "end": { + "line": 535, + "column": 34 + } + }, + "callee": { + "type": "Identifier", + "start": 18671, + "end": 18683, + "loc": { + "start": { + "line": 535, + "column": 18 + }, + "end": { + "line": 535, + "column": 30 + }, + "identifierName": "Float32Array" + }, + "name": "Float32Array" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 18684, + "end": 18686, + "loc": { + "start": { + "line": 535, + "column": 31 + }, + "end": { + "line": 535, + "column": 33 + } + }, + "extra": { + "rawValue": 16, + "raw": "16" + }, + "value": 16 + } + ] + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": "", + "start": 18689, + "end": 18691, + "loc": { + "start": { + "line": 535, + "column": 36 + }, + "end": { + "line": 535, + "column": 38 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 18696, + "end": 18712, + "loc": { + "start": { + "line": 536, + "column": 4 + }, + "end": { + "line": 536, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 18696, + "end": 18711, + "loc": { + "start": { + "line": 536, + "column": 4 + }, + "end": { + "line": 536, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18696, + "end": 18709, + "loc": { + "start": { + "line": 536, + "column": 4 + }, + "end": { + "line": 536, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 18696, + "end": 18700, + "loc": { + "start": { + "line": 536, + "column": 4 + }, + "end": { + "line": 536, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 18701, + "end": 18709, + "loc": { + "start": { + "line": 536, + "column": 9 + }, + "end": { + "line": 536, + "column": 17 + }, + "identifierName": "identity" + }, + "name": "identity" + }, + "computed": false, + "leadingComments": null + }, + "arguments": [], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "", + "start": 18689, + "end": 18691, + "loc": { + "start": { + "line": 535, + "column": 36 + }, + "end": { + "line": 535, + "column": 38 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 18354, + "end": 18416, + "loc": { + "start": { + "line": 529, + "column": 0 + }, + "end": { + "line": 529, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 18417, + "end": 18479, + "loc": { + "start": { + "line": 530, + "column": 0 + }, + "end": { + "line": 530, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DMatrix44", + "start": 18480, + "end": 18501, + "loc": { + "start": { + "line": 531, + "column": 0 + }, + "end": { + "line": 531, + "column": 21 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 18502, + "end": 18564, + "loc": { + "start": { + "line": 532, + "column": 0 + }, + "end": { + "line": 532, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 18565, + "end": 18627, + "loc": { + "start": { + "line": 533, + "column": 0 + }, + "end": { + "line": 533, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 18716, + "end": 18778, + "loc": { + "start": { + "line": 539, + "column": 0 + }, + "end": { + "line": 539, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " static L2DMatrix44.mul()", + "start": 18779, + "end": 18809, + "loc": { + "start": { + "line": 540, + "column": 0 + }, + "end": { + "line": 540, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 18810, + "end": 18872, + "loc": { + "start": { + "line": 541, + "column": 0 + }, + "end": { + "line": 541, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " matrix multiplication", + "start": 18873, + "end": 18897, + "loc": { + "start": { + "line": 542, + "column": 0 + }, + "end": { + "line": 542, + "column": 24 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "VariableDeclaration", + "start": 18113, + "end": 18145, + "loc": { + "start": { + "line": 521, + "column": 0 + }, + "end": { + "line": 521, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18117, + "end": 18144, + "loc": { + "start": { + "line": 521, + "column": 4 + }, + "end": { + "line": 521, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 18117, + "end": 18126, + "loc": { + "start": { + "line": 521, + "column": 4 + }, + "end": { + "line": 521, + "column": 13 + }, + "identifierName": "EYE_STATE" + }, + "name": "EYE_STATE", + "leadingComments": null + }, + "init": { + "type": "FunctionExpression", + "start": 18129, + "end": 18144, + "loc": { + "start": { + "line": 521, + "column": 16 + }, + "end": { + "line": 521, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 18117, + "end": 18126, + "loc": { + "start": { + "line": 521, + "column": 4 + }, + "end": { + "line": 521, + "column": 13 + }, + "identifierName": "EYE_STATE" + }, + "name": "EYE_STATE", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 18141, + "end": 18144, + "loc": { + "start": { + "line": 521, + "column": 28 + }, + "end": { + "line": 521, + "column": 31 + } + }, + "body": [], + "directives": [] + } + }, + "leadingComments": null + } + ], + "kind": "var", + "leadingComments": [ + { + "type": "CommentLine", + "value": "== enum EYE_STATE ==", + "start": 18090, + "end": 18112, + "loc": { + "start": { + "line": 520, + "column": 0 + }, + "end": { + "line": 520, + "column": 22 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 14540, + "end": 15018, + "loc": { + "start": { + "line": 428, + "column": 0 + }, + "end": { + "line": 440, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 14549, + "end": 14560, + "loc": { + "start": { + "line": 428, + "column": 9 + }, + "end": { + "line": 428, + "column": 20 + }, + "identifierName": "L2DEyeBlink" + }, + "name": "L2DEyeBlink", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 14563, + "end": 15018, + "loc": { + "start": { + "line": 428, + "column": 23 + }, + "end": { + "line": 440, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14569, + "end": 14615, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 50 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14569, + "end": 14594, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14569, + "end": 14587, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 14569, + "end": 14573, + "loc": { + "start": { + "line": 429, + "column": 4 + }, + "end": { + "line": 429, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14574, + "end": 14587, + "loc": { + "start": { + "line": 429, + "column": 9 + }, + "end": { + "line": 429, + "column": 22 + }, + "identifierName": "nextBlinkTime" + }, + "name": "nextBlinkTime" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 14590, + "end": 14594, + "loc": { + "start": { + "line": 429, + "column": 25 + }, + "end": { + "line": 429, + "column": 29 + } + }, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " TODO NOT INIT ", + "start": 14595, + "end": 14614, + "loc": { + "start": { + "line": 429, + "column": 30 + }, + "end": { + "line": 429, + "column": 49 + } + } + } + ] + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": "", + "start": 14616, + "end": 14618, + "loc": { + "start": { + "line": 429, + "column": 51 + }, + "end": { + "line": 429, + "column": 53 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 14623, + "end": 14670, + "loc": { + "start": { + "line": 430, + "column": 4 + }, + "end": { + "line": 430, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14623, + "end": 14649, + "loc": { + "start": { + "line": 430, + "column": 4 + }, + "end": { + "line": 430, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14623, + "end": 14642, + "loc": { + "start": { + "line": 430, + "column": 4 + }, + "end": { + "line": 430, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 14623, + "end": 14627, + "loc": { + "start": { + "line": 430, + "column": 4 + }, + "end": { + "line": 430, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 14628, + "end": 14642, + "loc": { + "start": { + "line": 430, + "column": 9 + }, + "end": { + "line": 430, + "column": 23 + }, + "identifierName": "stateStartTime" + }, + "name": "stateStartTime" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 14645, + "end": 14649, + "loc": { + "start": { + "line": 430, + "column": 26 + }, + "end": { + "line": 430, + "column": 30 + } + }, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " TODO NOT INIT ", + "start": 14650, + "end": 14669, + "loc": { + "start": { + "line": 430, + "column": 31 + }, + "end": { + "line": 430, + "column": 50 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "", + "start": 14616, + "end": 14618, + "loc": { + "start": { + "line": 429, + "column": 51 + }, + "end": { + "line": 429, + "column": 53 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "", + "start": 14671, + "end": 14673, + "loc": { + "start": { + "line": 430, + "column": 52 + }, + "end": { + "line": 430, + "column": 54 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 14678, + "end": 14728, + "loc": { + "start": { + "line": 431, + "column": 4 + }, + "end": { + "line": 431, + "column": 54 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14678, + "end": 14707, + "loc": { + "start": { + "line": 431, + "column": 4 + }, + "end": { + "line": 431, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14678, + "end": 14700, + "loc": { + "start": { + "line": 431, + "column": 4 + }, + "end": { + "line": 431, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 14678, + "end": 14682, + "loc": { + "start": { + "line": 431, + "column": 4 + }, + "end": { + "line": 431, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 14683, + "end": 14700, + "loc": { + "start": { + "line": 431, + "column": 9 + }, + "end": { + "line": 431, + "column": 26 + }, + "identifierName": "blinkIntervalMsec" + }, + "name": "blinkIntervalMsec" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 14703, + "end": 14707, + "loc": { + "start": { + "line": 431, + "column": 29 + }, + "end": { + "line": 431, + "column": 33 + } + }, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": " TODO NOT INIT ", + "start": 14708, + "end": 14727, + "loc": { + "start": { + "line": 431, + "column": 34 + }, + "end": { + "line": 431, + "column": 53 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "", + "start": 14671, + "end": 14673, + "loc": { + "start": { + "line": 430, + "column": 52 + }, + "end": { + "line": 430, + "column": 54 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "", + "start": 14729, + "end": 14731, + "loc": { + "start": { + "line": 431, + "column": 55 + }, + "end": { + "line": 431, + "column": 57 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 14736, + "end": 14774, + "loc": { + "start": { + "line": 432, + "column": 4 + }, + "end": { + "line": 432, + "column": 42 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14736, + "end": 14773, + "loc": { + "start": { + "line": 432, + "column": 4 + }, + "end": { + "line": 432, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14736, + "end": 14749, + "loc": { + "start": { + "line": 432, + "column": 4 + }, + "end": { + "line": 432, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 14736, + "end": 14740, + "loc": { + "start": { + "line": 432, + "column": 4 + }, + "end": { + "line": 432, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 14741, + "end": 14749, + "loc": { + "start": { + "line": 432, + "column": 9 + }, + "end": { + "line": 432, + "column": 17 + }, + "identifierName": "eyeState" + }, + "name": "eyeState" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 14752, + "end": 14773, + "loc": { + "start": { + "line": 432, + "column": 20 + }, + "end": { + "line": 432, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 14752, + "end": 14761, + "loc": { + "start": { + "line": 432, + "column": 20 + }, + "end": { + "line": 432, + "column": 29 + }, + "identifierName": "EYE_STATE" + }, + "name": "EYE_STATE" + }, + "property": { + "type": "Identifier", + "start": 14762, + "end": 14773, + "loc": { + "start": { + "line": 432, + "column": 30 + }, + "end": { + "line": 432, + "column": 41 + }, + "identifierName": "STATE_FIRST" + }, + "name": "STATE_FIRST" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "", + "start": 14729, + "end": 14731, + "loc": { + "start": { + "line": 431, + "column": 55 + }, + "end": { + "line": 431, + "column": 57 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 14779, + "end": 14809, + "loc": { + "start": { + "line": 433, + "column": 4 + }, + "end": { + "line": 433, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14779, + "end": 14808, + "loc": { + "start": { + "line": 433, + "column": 4 + }, + "end": { + "line": 433, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14779, + "end": 14801, + "loc": { + "start": { + "line": 433, + "column": 4 + }, + "end": { + "line": 433, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 14779, + "end": 14783, + "loc": { + "start": { + "line": 433, + "column": 4 + }, + "end": { + "line": 433, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14784, + "end": 14801, + "loc": { + "start": { + "line": 433, + "column": 9 + }, + "end": { + "line": 433, + "column": 26 + }, + "identifierName": "blinkIntervalMsec" + }, + "name": "blinkIntervalMsec" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 14804, + "end": 14808, + "loc": { + "start": { + "line": 433, + "column": 29 + }, + "end": { + "line": 433, + "column": 33 + } + }, + "extra": { + "rawValue": 4000, + "raw": "4000" + }, + "value": 4000 + } + } + }, + { + "type": "ExpressionStatement", + "start": 14814, + "end": 14843, + "loc": { + "start": { + "line": 434, + "column": 4 + }, + "end": { + "line": 434, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14814, + "end": 14842, + "loc": { + "start": { + "line": 434, + "column": 4 + }, + "end": { + "line": 434, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14814, + "end": 14836, + "loc": { + "start": { + "line": 434, + "column": 4 + }, + "end": { + "line": 434, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 14814, + "end": 14818, + "loc": { + "start": { + "line": 434, + "column": 4 + }, + "end": { + "line": 434, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14819, + "end": 14836, + "loc": { + "start": { + "line": 434, + "column": 9 + }, + "end": { + "line": 434, + "column": 26 + }, + "identifierName": "closingMotionMsec" + }, + "name": "closingMotionMsec" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 14839, + "end": 14842, + "loc": { + "start": { + "line": 434, + "column": 29 + }, + "end": { + "line": 434, + "column": 32 + } + }, + "extra": { + "rawValue": 100, + "raw": "100" + }, + "value": 100 + } + } + }, + { + "type": "ExpressionStatement", + "start": 14848, + "end": 14875, + "loc": { + "start": { + "line": 435, + "column": 4 + }, + "end": { + "line": 435, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14848, + "end": 14874, + "loc": { + "start": { + "line": 435, + "column": 4 + }, + "end": { + "line": 435, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14848, + "end": 14869, + "loc": { + "start": { + "line": 435, + "column": 4 + }, + "end": { + "line": 435, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 14848, + "end": 14852, + "loc": { + "start": { + "line": 435, + "column": 4 + }, + "end": { + "line": 435, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14853, + "end": 14869, + "loc": { + "start": { + "line": 435, + "column": 9 + }, + "end": { + "line": 435, + "column": 25 + }, + "identifierName": "closedMotionMsec" + }, + "name": "closedMotionMsec" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 14872, + "end": 14874, + "loc": { + "start": { + "line": 435, + "column": 28 + }, + "end": { + "line": 435, + "column": 30 + } + }, + "extra": { + "rawValue": 50, + "raw": "50" + }, + "value": 50 + } + } + }, + { + "type": "ExpressionStatement", + "start": 14880, + "end": 14909, + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 436, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14880, + "end": 14908, + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 436, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14880, + "end": 14902, + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 436, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 14880, + "end": 14884, + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 436, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14885, + "end": 14902, + "loc": { + "start": { + "line": 436, + "column": 9 + }, + "end": { + "line": 436, + "column": 26 + }, + "identifierName": "openingMotionMsec" + }, + "name": "openingMotionMsec" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 14905, + "end": 14908, + "loc": { + "start": { + "line": 436, + "column": 29 + }, + "end": { + "line": 436, + "column": 32 + } + }, + "extra": { + "rawValue": 150, + "raw": "150" + }, + "value": 150 + } + } + }, + { + "type": "ExpressionStatement", + "start": 14914, + "end": 14938, + "loc": { + "start": { + "line": 437, + "column": 4 + }, + "end": { + "line": 437, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14914, + "end": 14937, + "loc": { + "start": { + "line": 437, + "column": 4 + }, + "end": { + "line": 437, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14914, + "end": 14930, + "loc": { + "start": { + "line": 437, + "column": 4 + }, + "end": { + "line": 437, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 14914, + "end": 14918, + "loc": { + "start": { + "line": 437, + "column": 4 + }, + "end": { + "line": 437, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14919, + "end": 14930, + "loc": { + "start": { + "line": 437, + "column": 9 + }, + "end": { + "line": 437, + "column": 20 + }, + "identifierName": "closeIfZero" + }, + "name": "closeIfZero" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 14933, + "end": 14937, + "loc": { + "start": { + "line": 437, + "column": 23 + }, + "end": { + "line": 437, + "column": 27 + } + }, + "value": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 14943, + "end": 14977, + "loc": { + "start": { + "line": 438, + "column": 4 + }, + "end": { + "line": 438, + "column": 38 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14943, + "end": 14976, + "loc": { + "start": { + "line": 438, + "column": 4 + }, + "end": { + "line": 438, + "column": 37 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14943, + "end": 14955, + "loc": { + "start": { + "line": 438, + "column": 4 + }, + "end": { + "line": 438, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 14943, + "end": 14947, + "loc": { + "start": { + "line": 438, + "column": 4 + }, + "end": { + "line": 438, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14948, + "end": 14955, + "loc": { + "start": { + "line": 438, + "column": 9 + }, + "end": { + "line": 438, + "column": 16 + }, + "identifierName": "eyeID_L" + }, + "name": "eyeID_L" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 14958, + "end": 14976, + "loc": { + "start": { + "line": 438, + "column": 19 + }, + "end": { + "line": 438, + "column": 37 + } + }, + "extra": { + "rawValue": "PARAM_EYE_L_OPEN", + "raw": "\"PARAM_EYE_L_OPEN\"" + }, + "value": "PARAM_EYE_L_OPEN" + } + } + }, + { + "type": "ExpressionStatement", + "start": 14982, + "end": 15016, + "loc": { + "start": { + "line": 439, + "column": 4 + }, + "end": { + "line": 439, + "column": 38 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14982, + "end": 15015, + "loc": { + "start": { + "line": 439, + "column": 4 + }, + "end": { + "line": 439, + "column": 37 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14982, + "end": 14994, + "loc": { + "start": { + "line": 439, + "column": 4 + }, + "end": { + "line": 439, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 14982, + "end": 14986, + "loc": { + "start": { + "line": 439, + "column": 4 + }, + "end": { + "line": 439, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14987, + "end": 14994, + "loc": { + "start": { + "line": 439, + "column": 9 + }, + "end": { + "line": 439, + "column": 16 + }, + "identifierName": "eyeID_R" + }, + "name": "eyeID_R" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 14997, + "end": 15015, + "loc": { + "start": { + "line": 439, + "column": 19 + }, + "end": { + "line": 439, + "column": 37 + } + }, + "extra": { + "rawValue": "PARAM_EYE_R_OPEN", + "raw": "\"PARAM_EYE_R_OPEN\"" + }, + "value": "PARAM_EYE_R_OPEN" + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 14266, + "end": 14328, + "loc": { + "start": { + "line": 423, + "column": 0 + }, + "end": { + "line": 423, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 14329, + "end": 14391, + "loc": { + "start": { + "line": 424, + "column": 0 + }, + "end": { + "line": 424, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DEyeBlink", + "start": 14392, + "end": 14413, + "loc": { + "start": { + "line": 425, + "column": 0 + }, + "end": { + "line": 425, + "column": 21 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 14414, + "end": 14476, + "loc": { + "start": { + "line": 426, + "column": 0 + }, + "end": { + "line": 426, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 14477, + "end": 14539, + "loc": { + "start": { + "line": 427, + "column": 0 + }, + "end": { + "line": 427, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 15020, + "end": 15082, + "loc": { + "start": { + "line": 442, + "column": 0 + }, + "end": { + "line": 442, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " L2DEyeBlink # calcNextBlink()", + "start": 15083, + "end": 15118, + "loc": { + "start": { + "line": 443, + "column": 0 + }, + "end": { + "line": 443, + "column": 35 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 15119, + "end": 15181, + "loc": { + "start": { + "line": 444, + "column": 0 + }, + "end": { + "line": 444, + "column": 62 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 14170, + "end": 14264, + "loc": { + "start": { + "line": 417, + "column": 0 + }, + "end": { + "line": 421, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 14179, + "end": 14197, + "loc": { + "start": { + "line": 417, + "column": 9 + }, + "end": { + "line": 417, + "column": 27 + }, + "identifierName": "L2DExpressionParam" + }, + "name": "L2DExpressionParam", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 14200, + "end": 14264, + "loc": { + "start": { + "line": 417, + "column": 30 + }, + "end": { + "line": 421, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14206, + "end": 14219, + "loc": { + "start": { + "line": 418, + "column": 4 + }, + "end": { + "line": 418, + "column": 17 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14206, + "end": 14218, + "loc": { + "start": { + "line": 418, + "column": 4 + }, + "end": { + "line": 418, + "column": 16 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14206, + "end": 14213, + "loc": { + "start": { + "line": 418, + "column": 4 + }, + "end": { + "line": 418, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 14206, + "end": 14210, + "loc": { + "start": { + "line": 418, + "column": 4 + }, + "end": { + "line": 418, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14211, + "end": 14213, + "loc": { + "start": { + "line": 418, + "column": 9 + }, + "end": { + "line": 418, + "column": 11 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 14216, + "end": 14218, + "loc": { + "start": { + "line": 418, + "column": 14 + }, + "end": { + "line": 418, + "column": 16 + } + }, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + } + } + }, + { + "type": "ExpressionStatement", + "start": 14224, + "end": 14239, + "loc": { + "start": { + "line": 419, + "column": 4 + }, + "end": { + "line": 419, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14224, + "end": 14238, + "loc": { + "start": { + "line": 419, + "column": 4 + }, + "end": { + "line": 419, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14224, + "end": 14233, + "loc": { + "start": { + "line": 419, + "column": 4 + }, + "end": { + "line": 419, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 14224, + "end": 14228, + "loc": { + "start": { + "line": 419, + "column": 4 + }, + "end": { + "line": 419, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14229, + "end": 14233, + "loc": { + "start": { + "line": 419, + "column": 9 + }, + "end": { + "line": 419, + "column": 13 + }, + "identifierName": "type" + }, + "name": "type" + }, + "computed": false + }, + "right": { + "type": "UnaryExpression", + "start": 14236, + "end": 14238, + "loc": { + "start": { + "line": 419, + "column": 16 + }, + "end": { + "line": 419, + "column": 18 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 14237, + "end": 14238, + "loc": { + "start": { + "line": 419, + "column": 17 + }, + "end": { + "line": 419, + "column": 18 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 14244, + "end": 14262, + "loc": { + "start": { + "line": 420, + "column": 4 + }, + "end": { + "line": 420, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14244, + "end": 14261, + "loc": { + "start": { + "line": 420, + "column": 4 + }, + "end": { + "line": 420, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14244, + "end": 14254, + "loc": { + "start": { + "line": 420, + "column": 4 + }, + "end": { + "line": 420, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 14244, + "end": 14248, + "loc": { + "start": { + "line": 420, + "column": 4 + }, + "end": { + "line": 420, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 14249, + "end": 14254, + "loc": { + "start": { + "line": 420, + "column": 9 + }, + "end": { + "line": 420, + "column": 14 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 14257, + "end": 14261, + "loc": { + "start": { + "line": 420, + "column": 17 + }, + "end": { + "line": 420, + "column": 21 + } + } + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 13889, + "end": 13951, + "loc": { + "start": { + "line": 412, + "column": 0 + }, + "end": { + "line": 412, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 13952, + "end": 14014, + "loc": { + "start": { + "line": 413, + "column": 0 + }, + "end": { + "line": 413, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DExpressionParam", + "start": 14015, + "end": 14043, + "loc": { + "start": { + "line": 414, + "column": 0 + }, + "end": { + "line": 414, + "column": 28 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 14044, + "end": 14106, + "loc": { + "start": { + "line": 415, + "column": 0 + }, + "end": { + "line": 415, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 14107, + "end": 14169, + "loc": { + "start": { + "line": 416, + "column": 0 + }, + "end": { + "line": 416, + "column": 62 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 14266, + "end": 14328, + "loc": { + "start": { + "line": 423, + "column": 0 + }, + "end": { + "line": 423, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 14329, + "end": 14391, + "loc": { + "start": { + "line": 424, + "column": 0 + }, + "end": { + "line": 424, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DEyeBlink", + "start": 14392, + "end": 14413, + "loc": { + "start": { + "line": 425, + "column": 0 + }, + "end": { + "line": 425, + "column": 21 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 14414, + "end": 14476, + "loc": { + "start": { + "line": 426, + "column": 0 + }, + "end": { + "line": 426, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 14477, + "end": 14539, + "loc": { + "start": { + "line": 427, + "column": 0 + }, + "end": { + "line": 427, + "column": 62 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 10530, + "end": 10676, + "loc": { + "start": { + "line": 321, + "column": 0 + }, + "end": { + "line": 324, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 10539, + "end": 10558, + "loc": { + "start": { + "line": 321, + "column": 9 + }, + "end": { + "line": 321, + "column": 28 + }, + "identifierName": "L2DExpressionMotion" + }, + "name": "L2DExpressionMotion", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 10561, + "end": 10676, + "loc": { + "start": { + "line": 321, + "column": 31 + }, + "end": { + "line": 324, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 10567, + "end": 10608, + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 322, + "column": 45 + } + }, + "expression": { + "type": "CallExpression", + "start": 10567, + "end": 10607, + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 322, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 10567, + "end": 10601, + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 322, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 10567, + "end": 10596, + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 322, + "column": 33 + } + }, + "object": { + "type": "MemberExpression", + "start": 10567, + "end": 10584, + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 322, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 10567, + "end": 10574, + "loc": { + "start": { + "line": 322, + "column": 4 + }, + "end": { + "line": 322, + "column": 11 + }, + "identifierName": "AMotion" + }, + "name": "AMotion" + }, + "property": { + "type": "Identifier", + "start": 10575, + "end": 10584, + "loc": { + "start": { + "line": 322, + "column": 12 + }, + "end": { + "line": 322, + "column": 21 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10585, + "end": 10596, + "loc": { + "start": { + "line": 322, + "column": 22 + }, + "end": { + "line": 322, + "column": 33 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 10597, + "end": 10601, + "loc": { + "start": { + "line": 322, + "column": 34 + }, + "end": { + "line": 322, + "column": 38 + }, + "identifierName": "call" + }, + "name": "call" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 10602, + "end": 10606, + "loc": { + "start": { + "line": 322, + "column": 39 + }, + "end": { + "line": 322, + "column": 43 + } + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 10613, + "end": 10642, + "loc": { + "start": { + "line": 323, + "column": 4 + }, + "end": { + "line": 323, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 10613, + "end": 10641, + "loc": { + "start": { + "line": 323, + "column": 4 + }, + "end": { + "line": 323, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 10613, + "end": 10627, + "loc": { + "start": { + "line": 323, + "column": 4 + }, + "end": { + "line": 323, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 10613, + "end": 10617, + "loc": { + "start": { + "line": 323, + "column": 4 + }, + "end": { + "line": 323, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 10618, + "end": 10627, + "loc": { + "start": { + "line": 323, + "column": 9 + }, + "end": { + "line": 323, + "column": 18 + }, + "identifierName": "paramList" + }, + "name": "paramList" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 10630, + "end": 10641, + "loc": { + "start": { + "line": 323, + "column": 21 + }, + "end": { + "line": 323, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 10634, + "end": 10639, + "loc": { + "start": { + "line": 323, + "column": 25 + }, + "end": { + "line": 323, + "column": 30 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "arguments": [] + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": "ArrayList", + "start": 10643, + "end": 10674, + "loc": { + "start": { + "line": 323, + "column": 34 + }, + "end": { + "line": 323, + "column": 65 + } + } + } + ] + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "============================================================", + "start": 10227, + "end": 10289, + "loc": { + "start": { + "line": 316, + "column": 0 + }, + "end": { + "line": 316, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 10290, + "end": 10352, + "loc": { + "start": { + "line": 317, + "column": 0 + }, + "end": { + "line": 317, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DExpressionMotion extends AMotion", + "start": 10353, + "end": 10403, + "loc": { + "start": { + "line": 318, + "column": 0 + }, + "end": { + "line": 318, + "column": 50 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 10404, + "end": 10466, + "loc": { + "start": { + "line": 319, + "column": 0 + }, + "end": { + "line": 319, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 10467, + "end": 10529, + "loc": { + "start": { + "line": 320, + "column": 0 + }, + "end": { + "line": 320, + "column": 62 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 50395, + "end": 50670, + "loc": { + "start": { + "line": 1376, + "column": 0 + }, + "end": { + "line": 1391, + "column": 1 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 605, + "end": 1376, + "loc": { + "start": { + "line": 26, + "column": 0 + }, + "end": { + "line": 50, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 614, + "end": 626, + "loc": { + "start": { + "line": 26, + "column": 9 + }, + "end": { + "line": 26, + "column": 21 + }, + "identifierName": "L2DBaseModel" + }, + "name": "L2DBaseModel", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 629, + "end": 1376, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 50, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 635, + "end": 659, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 635, + "end": 658, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 635, + "end": 651, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 635, + "end": 639, + "loc": { + "start": { + "line": 27, + "column": 4 + }, + "end": { + "line": 27, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 640, + "end": 651, + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 20 + }, + "identifierName": "live2DModel" + }, + "name": "live2DModel" + }, + "computed": false + }, + "right": { + "type": "NullLiteral", + "start": 654, + "end": 658, + "loc": { + "start": { + "line": 27, + "column": 23 + }, + "end": { + "line": 27, + "column": 27 + } + } + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " ALive2DModel", + "start": 660, + "end": 675, + "loc": { + "start": { + "line": 27, + "column": 29 + }, + "end": { + "line": 27, + "column": 44 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 680, + "end": 704, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 28 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 680, + "end": 703, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 680, + "end": 696, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 680, + "end": 684, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 685, + "end": 696, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 20 + }, + "identifierName": "modelMatrix" + }, + "name": "modelMatrix" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 699, + "end": 703, + "loc": { + "start": { + "line": 28, + "column": 23 + }, + "end": { + "line": 28, + "column": 27 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " ALive2DModel", + "start": 660, + "end": 675, + "loc": { + "start": { + "line": 27, + "column": 29 + }, + "end": { + "line": 27, + "column": 44 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " L2DModelMatrix", + "start": 705, + "end": 722, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 46 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 727, + "end": 748, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 727, + "end": 747, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 727, + "end": 740, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 727, + "end": 731, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 732, + "end": 740, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 17 + }, + "identifierName": "eyeBlink" + }, + "name": "eyeBlink" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 743, + "end": 747, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 24 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " L2DModelMatrix", + "start": 705, + "end": 722, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 46 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " L2DEyeBlink", + "start": 749, + "end": 763, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 40 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 768, + "end": 788, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 24 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 768, + "end": 787, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 23 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 768, + "end": 780, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 768, + "end": 772, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 773, + "end": 780, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 16 + }, + "identifierName": "physics" + }, + "name": "physics" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 783, + "end": 787, + "loc": { + "start": { + "line": 30, + "column": 19 + }, + "end": { + "line": 30, + "column": 23 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " L2DEyeBlink", + "start": 749, + "end": 763, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 40 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " L2DPhysics", + "start": 789, + "end": 802, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 38 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 807, + "end": 824, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 807, + "end": 823, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 807, + "end": 816, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 807, + "end": 811, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 812, + "end": 816, + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 13 + }, + "identifierName": "pose" + }, + "name": "pose" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "NullLiteral", + "start": 819, + "end": 823, + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " L2DPhysics", + "start": 789, + "end": 802, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 38 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " L2DPose", + "start": 825, + "end": 835, + "loc": { + "start": { + "line": 31, + "column": 22 + }, + "end": { + "line": 31, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 840, + "end": 863, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 27 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 840, + "end": 862, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 840, + "end": 854, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 840, + "end": 844, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 845, + "end": 854, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 18 + }, + "identifierName": "debugMode" + }, + "name": "debugMode" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "BooleanLiteral", + "start": 857, + "end": 862, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 26 + } + }, + "value": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " L2DPose", + "start": 825, + "end": 835, + "loc": { + "start": { + "line": 31, + "column": 22 + }, + "end": { + "line": 31, + "column": 32 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 868, + "end": 893, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 29 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 868, + "end": 892, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 28 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 868, + "end": 884, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 868, + "end": 872, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 873, + "end": 884, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 20 + }, + "identifierName": "initialized" + }, + "name": "initialized" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 887, + "end": 892, + "loc": { + "start": { + "line": 33, + "column": 23 + }, + "end": { + "line": 33, + "column": 28 + } + }, + "value": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 898, + "end": 920, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 26 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 898, + "end": 919, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 898, + "end": 911, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 898, + "end": 902, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 903, + "end": 911, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 17 + }, + "identifierName": "updating" + }, + "name": "updating" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 914, + "end": 919, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 25 + } + }, + "value": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 925, + "end": 940, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 19 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 925, + "end": 939, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 18 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 925, + "end": 935, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 925, + "end": 929, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 930, + "end": 935, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 14 + }, + "identifierName": "alpha" + }, + "name": "alpha" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 938, + "end": 939, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 18 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + }, + { + "type": "ExpressionStatement", + "start": 945, + "end": 963, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 945, + "end": 962, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 945, + "end": 958, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 945, + "end": 949, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 950, + "end": 958, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 17 + }, + "identifierName": "accAlpha" + }, + "name": "accAlpha" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 961, + "end": 962, + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 21 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 968, + "end": 989, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 968, + "end": 988, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 24 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 968, + "end": 980, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 968, + "end": 972, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 973, + "end": 980, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 16 + }, + "identifierName": "lipSync" + }, + "name": "lipSync" }, - "identifierName": "Live2DFramework" + "computed": false }, - "name": "Live2DFramework" - }, - "value": { - "type": "Identifier", - "start": 50471, - "end": 50486, - "loc": { - "start": { - "line": 1378, - "column": 21 - }, - "end": { - "line": 1378, - "column": 36 + "right": { + "type": "BooleanLiteral", + "start": 983, + "end": 988, + "loc": { + "start": { + "line": 37, + "column": 19 + }, + "end": { + "line": 37, + "column": 24 + } }, - "identifierName": "Live2DFramework" - }, - "name": "Live2DFramework" + "value": false + } } }, { - "type": "ObjectProperty", - "start": 50492, - "end": 50520, + "type": "ExpressionStatement", + "start": 994, + "end": 1016, "loc": { "start": { - "line": 1379, + "line": 38, "column": 4 }, "end": { - "line": 1379, - "column": 32 + "line": 38, + "column": 26 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50492, - "end": 50505, + "expression": { + "type": "AssignmentExpression", + "start": 994, + "end": 1015, "loc": { "start": { - "line": 1379, + "line": 38, "column": 4 }, "end": { - "line": 1379, - "column": 17 - }, - "identifierName": "L2DViewMatrix" + "line": 38, + "column": 25 + } }, - "name": "L2DViewMatrix" - }, - "value": { - "type": "Identifier", - "start": 50507, - "end": 50520, - "loc": { - "start": { - "line": 1379, - "column": 19 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 994, + "end": 1011, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 21 + } }, - "end": { - "line": 1379, - "column": 32 + "object": { + "type": "ThisExpression", + "start": 994, + "end": 998, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 999, + "end": 1011, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 21 + }, + "identifierName": "lipSyncValue" + }, + "name": "lipSyncValue" }, - "identifierName": "L2DViewMatrix" + "computed": false }, - "name": "L2DViewMatrix" + "right": { + "type": "NumericLiteral", + "start": 1014, + "end": 1015, + "loc": { + "start": { + "line": 38, + "column": 24 + }, + "end": { + "line": 38, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } }, { - "type": "ObjectProperty", - "start": 50526, - "end": 50542, + "type": "ExpressionStatement", + "start": 1021, + "end": 1037, "loc": { "start": { - "line": 1380, + "line": 39, "column": 4 }, "end": { - "line": 1380, + "line": 39, "column": 20 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50526, - "end": 50533, + "expression": { + "type": "AssignmentExpression", + "start": 1021, + "end": 1036, "loc": { "start": { - "line": 1380, + "line": 39, "column": 4 }, "end": { - "line": 1380, - "column": 11 - }, - "identifierName": "L2DPose" + "line": 39, + "column": 19 + } }, - "name": "L2DPose" - }, - "value": { - "type": "Identifier", - "start": 50535, - "end": 50542, - "loc": { - "start": { - "line": 1380, - "column": 13 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1021, + "end": 1032, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 15 + } }, - "end": { - "line": 1380, - "column": 20 + "object": { + "type": "ThisExpression", + "start": 1021, + "end": 1025, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1026, + "end": 1032, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 15 + }, + "identifierName": "accelX" + }, + "name": "accelX" }, - "identifierName": "L2DPose" + "computed": false }, - "name": "L2DPose" + "right": { + "type": "NumericLiteral", + "start": 1035, + "end": 1036, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } }, { - "type": "ObjectProperty", - "start": 50548, - "end": 50576, + "type": "ExpressionStatement", + "start": 1042, + "end": 1058, "loc": { "start": { - "line": 1381, + "line": 40, "column": 4 }, "end": { - "line": 1381, - "column": 32 + "line": 40, + "column": 20 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50548, - "end": 50561, + "expression": { + "type": "AssignmentExpression", + "start": 1042, + "end": 1057, "loc": { "start": { - "line": 1381, + "line": 40, "column": 4 }, "end": { - "line": 1381, - "column": 17 - }, - "identifierName": "L2DPartsParam" - }, - "name": "L2DPartsParam" - }, - "value": { - "type": "Identifier", - "start": 50563, - "end": 50576, - "loc": { - "start": { - "line": 1381, + "line": 40, "column": 19 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1042, + "end": 1053, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 15 + } }, - "end": { - "line": 1381, - "column": 32 + "object": { + "type": "ThisExpression", + "start": 1042, + "end": 1046, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1047, + "end": 1053, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 15 + }, + "identifierName": "accelY" + }, + "name": "accelY" }, - "identifierName": "L2DPartsParam" + "computed": false }, - "name": "L2DPartsParam" + "right": { + "type": "NumericLiteral", + "start": 1056, + "end": 1057, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } }, { - "type": "ObjectProperty", - "start": 50582, - "end": 50604, + "type": "ExpressionStatement", + "start": 1063, + "end": 1079, "loc": { "start": { - "line": 1382, + "line": 41, "column": 4 }, "end": { - "line": 1382, - "column": 26 + "line": 41, + "column": 20 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50582, - "end": 50592, + "expression": { + "type": "AssignmentExpression", + "start": 1063, + "end": 1078, "loc": { "start": { - "line": 1382, + "line": 41, "column": 4 }, "end": { - "line": 1382, - "column": 14 - }, - "identifierName": "L2DPhysics" + "line": 41, + "column": 19 + } }, - "name": "L2DPhysics" - }, - "value": { - "type": "Identifier", - "start": 50594, - "end": 50604, - "loc": { - "start": { - "line": 1382, - "column": 16 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1063, + "end": 1074, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 15 + } }, - "end": { - "line": 1382, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 1063, + "end": 1067, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } }, - "identifierName": "L2DPhysics" + "property": { + "type": "Identifier", + "start": 1068, + "end": 1074, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 15 + }, + "identifierName": "accelZ" + }, + "name": "accelZ" + }, + "computed": false }, - "name": "L2DPhysics" + "right": { + "type": "NumericLiteral", + "start": 1077, + "end": 1078, + "loc": { + "start": { + "line": 41, + "column": 18 + }, + "end": { + "line": 41, + "column": 19 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } }, { - "type": "ObjectProperty", - "start": 50610, - "end": 50644, + "type": "ExpressionStatement", + "start": 1084, + "end": 1099, "loc": { "start": { - "line": 1383, + "line": 42, "column": 4 }, "end": { - "line": 1383, - "column": 38 + "line": 42, + "column": 19 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50610, - "end": 50626, + "expression": { + "type": "AssignmentExpression", + "start": 1084, + "end": 1098, "loc": { "start": { - "line": 1383, + "line": 42, "column": 4 }, "end": { - "line": 1383, - "column": 20 - }, - "identifierName": "L2DMotionManager" + "line": 42, + "column": 18 + } }, - "name": "L2DMotionManager" - }, - "value": { - "type": "Identifier", - "start": 50628, - "end": 50644, - "loc": { - "start": { - "line": 1383, - "column": 22 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1084, + "end": 1094, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 14 + } }, - "end": { - "line": 1383, - "column": 38 + "object": { + "type": "ThisExpression", + "start": 1084, + "end": 1088, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1089, + "end": 1094, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 14 + }, + "identifierName": "dragX" + }, + "name": "dragX" }, - "identifierName": "L2DMotionManager" + "computed": false }, - "name": "L2DMotionManager" + "right": { + "type": "NumericLiteral", + "start": 1097, + "end": 1098, + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } }, { - "type": "ObjectProperty", - "start": 50650, - "end": 50680, + "type": "ExpressionStatement", + "start": 1104, + "end": 1119, "loc": { "start": { - "line": 1384, + "line": 43, "column": 4 }, "end": { - "line": 1384, - "column": 34 + "line": 43, + "column": 19 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50650, - "end": 50664, + "expression": { + "type": "AssignmentExpression", + "start": 1104, + "end": 1118, "loc": { "start": { - "line": 1384, + "line": 43, "column": 4 }, "end": { - "line": 1384, + "line": 43, "column": 18 - }, - "identifierName": "L2DModelMatrix" + } }, - "name": "L2DModelMatrix" - }, - "value": { - "type": "Identifier", - "start": 50666, - "end": 50680, - "loc": { - "start": { - "line": 1384, - "column": 20 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1104, + "end": 1114, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 14 + } }, - "end": { - "line": 1384, - "column": 34 + "object": { + "type": "ThisExpression", + "start": 1104, + "end": 1108, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1109, + "end": 1114, + "loc": { + "start": { + "line": 43, + "column": 9 + }, + "end": { + "line": 43, + "column": 14 + }, + "identifierName": "dragY" + }, + "name": "dragY" }, - "identifierName": "L2DModelMatrix" + "computed": false }, - "name": "L2DModelMatrix" + "right": { + "type": "NumericLiteral", + "start": 1117, + "end": 1118, + "loc": { + "start": { + "line": 43, + "column": 17 + }, + "end": { + "line": 43, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } }, { - "type": "ObjectProperty", - "start": 50686, - "end": 50710, + "type": "ExpressionStatement", + "start": 1124, + "end": 1150, "loc": { "start": { - "line": 1385, + "line": 44, "column": 4 }, "end": { - "line": 1385, - "column": 28 + "line": 44, + "column": 30 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50686, - "end": 50697, + "expression": { + "type": "AssignmentExpression", + "start": 1124, + "end": 1149, "loc": { "start": { - "line": 1385, + "line": 44, "column": 4 }, "end": { - "line": 1385, - "column": 15 - }, - "identifierName": "L2DMatrix44" + "line": 44, + "column": 29 + } }, - "name": "L2DMatrix44" - }, - "value": { - "type": "Identifier", - "start": 50699, - "end": 50710, - "loc": { - "start": { - "line": 1385, - "column": 17 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1124, + "end": 1142, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 22 + } }, - "end": { - "line": 1385, - "column": 28 + "object": { + "type": "ThisExpression", + "start": 1124, + "end": 1128, + "loc": { + "start": { + "line": 44, + "column": 4 + }, + "end": { + "line": 44, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1129, + "end": 1142, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 22 + }, + "identifierName": "startTimeMSec" + }, + "name": "startTimeMSec" }, - "identifierName": "L2DMatrix44" + "computed": false }, - "name": "L2DMatrix44" + "right": { + "type": "NullLiteral", + "start": 1145, + "end": 1149, + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 44, + "column": 29 + } + } + } } }, { - "type": "ObjectProperty", - "start": 50716, - "end": 50736, + "type": "ExpressionStatement", + "start": 1155, + "end": 1203, "loc": { "start": { - "line": 1386, + "line": 45, "column": 4 }, "end": { - "line": 1386, - "column": 24 + "line": 45, + "column": 52 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50716, - "end": 50725, + "expression": { + "type": "AssignmentExpression", + "start": 1155, + "end": 1202, "loc": { "start": { - "line": 1386, + "line": 45, "column": 4 }, "end": { - "line": 1386, - "column": 13 - }, - "identifierName": "EYE_STATE" + "line": 45, + "column": 51 + } }, - "name": "EYE_STATE" - }, - "value": { - "type": "Identifier", - "start": 50727, - "end": 50736, - "loc": { - "start": { - "line": 1386, - "column": 15 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1155, + "end": 1177, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 26 + } }, - "end": { - "line": 1386, - "column": 24 + "object": { + "type": "ThisExpression", + "start": 1155, + "end": 1159, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 8 + } + } }, - "identifierName": "EYE_STATE" + "property": { + "type": "Identifier", + "start": 1160, + "end": 1177, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 26 + }, + "identifierName": "mainMotionManager" + }, + "name": "mainMotionManager" + }, + "computed": false }, - "name": "EYE_STATE" - } + "right": { + "type": "NewExpression", + "start": 1180, + "end": 1202, + "loc": { + "start": { + "line": 45, + "column": 29 + }, + "end": { + "line": 45, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 1184, + "end": 1200, + "loc": { + "start": { + "line": 45, + "column": 33 + }, + "end": { + "line": 45, + "column": 49 + }, + "identifierName": "L2DMotionManager" + }, + "name": "L2DMotionManager" + }, + "arguments": [] + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": "L2DMotionManager", + "start": 1204, + "end": 1222, + "loc": { + "start": { + "line": 45, + "column": 53 + }, + "end": { + "line": 45, + "column": 71 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 50742, - "end": 50766, + "type": "ExpressionStatement", + "start": 1227, + "end": 1275, "loc": { "start": { - "line": 1387, + "line": 46, "column": 4 }, "end": { - "line": 1387, - "column": 28 + "line": 46, + "column": 52 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50742, - "end": 50753, + "expression": { + "type": "AssignmentExpression", + "start": 1227, + "end": 1274, "loc": { "start": { - "line": 1387, + "line": 46, "column": 4 }, "end": { - "line": 1387, - "column": 15 + "line": 46, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1227, + "end": 1249, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 1227, + "end": 1231, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1232, + "end": 1249, + "loc": { + "start": { + "line": 46, + "column": 9 + }, + "end": { + "line": 46, + "column": 26 + }, + "identifierName": "expressionManager" + }, + "name": "expressionManager" }, - "identifierName": "L2DEyeBlink" + "computed": false, + "leadingComments": null }, - "name": "L2DEyeBlink" - }, - "value": { - "type": "Identifier", - "start": 50755, - "end": 50766, - "loc": { - "start": { - "line": 1387, - "column": 17 + "right": { + "type": "NewExpression", + "start": 1252, + "end": 1274, + "loc": { + "start": { + "line": 46, + "column": 29 + }, + "end": { + "line": 46, + "column": 51 + } }, - "end": { - "line": 1387, - "column": 28 + "callee": { + "type": "Identifier", + "start": 1256, + "end": 1272, + "loc": { + "start": { + "line": 46, + "column": 33 + }, + "end": { + "line": 46, + "column": 49 + }, + "identifierName": "L2DMotionManager" + }, + "name": "L2DMotionManager" }, - "identifierName": "L2DEyeBlink" + "arguments": [] }, - "name": "L2DEyeBlink" - } + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "L2DMotionManager", + "start": 1204, + "end": 1222, + "loc": { + "start": { + "line": 45, + "column": 53 + }, + "end": { + "line": 45, + "column": 71 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": "L2DMotionManager", + "start": 1276, + "end": 1294, + "loc": { + "start": { + "line": 46, + "column": 53 + }, + "end": { + "line": 46, + "column": 71 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 50772, - "end": 50810, + "type": "ExpressionStatement", + "start": 1299, + "end": 1317, "loc": { "start": { - "line": 1388, + "line": 47, "column": 4 }, "end": { - "line": 1388, - "column": 42 + "line": 47, + "column": 22 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50772, - "end": 50790, + "expression": { + "type": "AssignmentExpression", + "start": 1299, + "end": 1316, "loc": { "start": { - "line": 1388, + "line": 47, "column": 4 }, "end": { - "line": 1388, - "column": 22 - }, - "identifierName": "L2DExpressionParam" + "line": 47, + "column": 21 + } }, - "name": "L2DExpressionParam" - }, - "value": { - "type": "Identifier", - "start": 50792, - "end": 50810, - "loc": { - "start": { - "line": 1388, - "column": 24 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1299, + "end": 1311, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 16 + } }, - "end": { - "line": 1388, - "column": 42 + "object": { + "type": "ThisExpression", + "start": 1299, + "end": 1303, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1304, + "end": 1311, + "loc": { + "start": { + "line": 47, + "column": 9 + }, + "end": { + "line": 47, + "column": 16 + }, + "identifierName": "motions" + }, + "name": "motions" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 1314, + "end": 1316, + "loc": { + "start": { + "line": 47, + "column": 19 + }, + "end": { + "line": 47, + "column": 21 + } }, - "identifierName": "L2DExpressionParam" + "properties": [] }, - "name": "L2DExpressionParam" - } + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": "L2DMotionManager", + "start": 1276, + "end": 1294, + "loc": { + "start": { + "line": 46, + "column": 53 + }, + "end": { + "line": 46, + "column": 71 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 50816, - "end": 50856, + "type": "ExpressionStatement", + "start": 1322, + "end": 1344, "loc": { "start": { - "line": 1389, + "line": 48, "column": 4 }, "end": { - "line": 1389, - "column": 44 + "line": 48, + "column": 26 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50816, - "end": 50835, + "expression": { + "type": "AssignmentExpression", + "start": 1322, + "end": 1343, "loc": { "start": { - "line": 1389, + "line": 48, "column": 4 }, "end": { - "line": 1389, - "column": 23 - }, - "identifierName": "L2DExpressionMotion" - }, - "name": "L2DExpressionMotion" - }, - "value": { - "type": "Identifier", - "start": 50837, - "end": 50856, - "loc": { - "start": { - "line": 1389, + "line": 48, "column": 25 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1322, + "end": 1338, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 20 + } }, - "end": { - "line": 1389, - "column": 44 + "object": { + "type": "ThisExpression", + "start": 1322, + "end": 1326, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1327, + "end": 1338, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 20 + }, + "identifierName": "expressions" + }, + "name": "expressions" }, - "identifierName": "L2DExpressionMotion" + "computed": false }, - "name": "L2DExpressionMotion" + "right": { + "type": "ObjectExpression", + "start": 1341, + "end": 1343, + "loc": { + "start": { + "line": 48, + "column": 23 + }, + "end": { + "line": 48, + "column": 25 + } + }, + "properties": [] + } } }, { - "type": "ObjectProperty", - "start": 50862, - "end": 50888, + "type": "ExpressionStatement", + "start": 1349, + "end": 1374, "loc": { "start": { - "line": 1390, + "line": 49, "column": 4 }, "end": { - "line": 1390, - "column": 30 + "line": 49, + "column": 29 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 50862, - "end": 50874, + "expression": { + "type": "AssignmentExpression", + "start": 1349, + "end": 1373, "loc": { "start": { - "line": 1390, + "line": 49, "column": 4 }, "end": { - "line": 1390, - "column": 16 - }, - "identifierName": "L2DBaseModel" + "line": 49, + "column": 28 + } }, - "name": "L2DBaseModel" - }, - "value": { - "type": "Identifier", - "start": 50876, - "end": 50888, - "loc": { - "start": { - "line": 1390, - "column": 18 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1349, + "end": 1365, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 20 + } }, - "end": { - "line": 1390, - "column": 30 + "object": { + "type": "ThisExpression", + "start": 1349, + "end": 1353, + "loc": { + "start": { + "line": 49, + "column": 4 + }, + "end": { + "line": 49, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1354, + "end": 1365, + "loc": { + "start": { + "line": 49, + "column": 9 + }, + "end": { + "line": 49, + "column": 20 + }, + "identifierName": "isTexLoaded" + }, + "name": "isTexLoaded" }, - "identifierName": "L2DBaseModel" + "computed": false }, - "name": "L2DBaseModel" + "right": { + "type": "BooleanLiteral", + "start": 1368, + "end": 1373, + "loc": { + "start": { + "line": 49, + "column": 23 + }, + "end": { + "line": 49, + "column": 28 + } + }, + "value": false + } } } - ] - } - } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * You can modify and use this source freely\n * only for the development of application related Live2D.\n *\n * (c) Live2D Inc. All rights reserved.\n ", + "start": 0, + "end": 160, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * EYHN 基于 live2d 官方 Live2DFramework.js 修改\n *\n * Copyright © 2016 - 2017 EYHN\n ", + "start": 162, + "end": 247, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " Modified by xiazeyu.", + "start": 249, + "end": 272, + "loc": { + "start": { + "line": 15, + "column": 0 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n* @desc Basic functions releated to model react\n", + "start": 274, + "end": 328, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 19, + "column": 2 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 330, + "end": 392, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 393, + "end": 455, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": " class L2DBaseModel", + "start": 456, + "end": 478, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 479, + "end": 541, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 62 + } + } + }, + { + "type": "CommentLine", + "value": "============================================================", + "start": 542, + "end": 604, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 62 + } + } + } + ], + "trailingComments": [] + }, + "specifiers": null, + "source": null, + "leadingComments": null } ], "directives": [] @@ -298599,17 +308120,19 @@ }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", + "value": "export", "start": 50395, "end": 50401, "loc": { @@ -298623,85 +308146,6 @@ } } }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50401, - "end": 50402, - "loc": { - "start": { - "line": 1376, - "column": 6 - }, - "end": { - "line": 1376, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 50402, - "end": 50409, - "loc": { - "start": { - "line": 1376, - "column": 7 - }, - "end": { - "line": 1376, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 50410, - "end": 50411, - "loc": { - "start": { - "line": 1376, - "column": 15 - }, - "end": { - "line": 1376, - "column": 16 - } - } - }, { "type": { "label": "{", @@ -298714,16 +308158,16 @@ "postfix": false, "binop": null }, - "start": 50412, - "end": 50413, + "start": 50401, + "end": 50402, "loc": { "start": { "line": 1376, - "column": 17 + "column": 6 }, "end": { "line": 1376, - "column": 18 + "column": 7 } } }, @@ -298740,8 +308184,8 @@ "binop": null }, "value": "L2DTargetPoint", - "start": 50418, - "end": 50432, + "start": 50407, + "end": 50421, "loc": { "start": { "line": 1377, @@ -298755,7 +308199,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -298766,8 +308210,8 @@ "binop": null, "updateContext": null }, - "start": 50432, - "end": 50433, + "start": 50421, + "end": 50422, "loc": { "start": { "line": 1377, @@ -298779,58 +308223,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DTargetPoint", - "start": 50434, - "end": 50448, - "loc": { - "start": { - "line": 1377, - "column": 20 - }, - "end": { - "line": 1377, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50448, - "end": 50449, - "loc": { - "start": { - "line": 1377, - "column": 34 - }, - "end": { - "line": 1377, - "column": 35 - } - } - }, { "type": { "label": "name", @@ -298844,8 +308236,8 @@ "binop": null }, "value": "Live2DFramework", - "start": 50454, - "end": 50469, + "start": 50427, + "end": 50442, "loc": { "start": { "line": 1378, @@ -298859,7 +308251,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -298870,8 +308262,8 @@ "binop": null, "updateContext": null }, - "start": 50469, - "end": 50470, + "start": 50442, + "end": 50443, "loc": { "start": { "line": 1378, @@ -298883,58 +308275,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Live2DFramework", - "start": 50471, - "end": 50486, - "loc": { - "start": { - "line": 1378, - "column": 21 - }, - "end": { - "line": 1378, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50486, - "end": 50487, - "loc": { - "start": { - "line": 1378, - "column": 36 - }, - "end": { - "line": 1378, - "column": 37 - } - } - }, { "type": { "label": "name", @@ -298948,8 +308288,8 @@ "binop": null }, "value": "L2DViewMatrix", - "start": 50492, - "end": 50505, + "start": 50448, + "end": 50461, "loc": { "start": { "line": 1379, @@ -298963,7 +308303,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -298974,8 +308314,8 @@ "binop": null, "updateContext": null }, - "start": 50505, - "end": 50506, + "start": 50461, + "end": 50462, "loc": { "start": { "line": 1379, @@ -298987,58 +308327,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DViewMatrix", - "start": 50507, - "end": 50520, - "loc": { - "start": { - "line": 1379, - "column": 19 - }, - "end": { - "line": 1379, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50520, - "end": 50521, - "loc": { - "start": { - "line": 1379, - "column": 32 - }, - "end": { - "line": 1379, - "column": 33 - } - } - }, { "type": { "label": "name", @@ -299052,8 +308340,8 @@ "binop": null }, "value": "L2DPose", - "start": 50526, - "end": 50533, + "start": 50467, + "end": 50474, "loc": { "start": { "line": 1380, @@ -299067,7 +308355,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299078,8 +308366,8 @@ "binop": null, "updateContext": null }, - "start": 50533, - "end": 50534, + "start": 50474, + "end": 50475, "loc": { "start": { "line": 1380, @@ -299091,58 +308379,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DPose", - "start": 50535, - "end": 50542, - "loc": { - "start": { - "line": 1380, - "column": 13 - }, - "end": { - "line": 1380, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50542, - "end": 50543, - "loc": { - "start": { - "line": 1380, - "column": 20 - }, - "end": { - "line": 1380, - "column": 21 - } - } - }, { "type": { "label": "name", @@ -299156,8 +308392,8 @@ "binop": null }, "value": "L2DPartsParam", - "start": 50548, - "end": 50561, + "start": 50480, + "end": 50493, "loc": { "start": { "line": 1381, @@ -299171,7 +308407,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299182,8 +308418,8 @@ "binop": null, "updateContext": null }, - "start": 50561, - "end": 50562, + "start": 50493, + "end": 50494, "loc": { "start": { "line": 1381, @@ -299195,58 +308431,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DPartsParam", - "start": 50563, - "end": 50576, - "loc": { - "start": { - "line": 1381, - "column": 19 - }, - "end": { - "line": 1381, - "column": 32 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50576, - "end": 50577, - "loc": { - "start": { - "line": 1381, - "column": 32 - }, - "end": { - "line": 1381, - "column": 33 - } - } - }, { "type": { "label": "name", @@ -299260,8 +308444,8 @@ "binop": null }, "value": "L2DPhysics", - "start": 50582, - "end": 50592, + "start": 50499, + "end": 50509, "loc": { "start": { "line": 1382, @@ -299275,7 +308459,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299286,8 +308470,8 @@ "binop": null, "updateContext": null }, - "start": 50592, - "end": 50593, + "start": 50509, + "end": 50510, "loc": { "start": { "line": 1382, @@ -299299,58 +308483,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DPhysics", - "start": 50594, - "end": 50604, - "loc": { - "start": { - "line": 1382, - "column": 16 - }, - "end": { - "line": 1382, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50604, - "end": 50605, - "loc": { - "start": { - "line": 1382, - "column": 26 - }, - "end": { - "line": 1382, - "column": 27 - } - } - }, { "type": { "label": "name", @@ -299364,8 +308496,8 @@ "binop": null }, "value": "L2DMotionManager", - "start": 50610, - "end": 50626, + "start": 50515, + "end": 50531, "loc": { "start": { "line": 1383, @@ -299379,7 +308511,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299390,8 +308522,8 @@ "binop": null, "updateContext": null }, - "start": 50626, - "end": 50627, + "start": 50531, + "end": 50532, "loc": { "start": { "line": 1383, @@ -299403,58 +308535,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DMotionManager", - "start": 50628, - "end": 50644, - "loc": { - "start": { - "line": 1383, - "column": 22 - }, - "end": { - "line": 1383, - "column": 38 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50644, - "end": 50645, - "loc": { - "start": { - "line": 1383, - "column": 38 - }, - "end": { - "line": 1383, - "column": 39 - } - } - }, { "type": { "label": "name", @@ -299468,8 +308548,8 @@ "binop": null }, "value": "L2DModelMatrix", - "start": 50650, - "end": 50664, + "start": 50537, + "end": 50551, "loc": { "start": { "line": 1384, @@ -299483,7 +308563,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299494,8 +308574,8 @@ "binop": null, "updateContext": null }, - "start": 50664, - "end": 50665, + "start": 50551, + "end": 50552, "loc": { "start": { "line": 1384, @@ -299507,58 +308587,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DModelMatrix", - "start": 50666, - "end": 50680, - "loc": { - "start": { - "line": 1384, - "column": 20 - }, - "end": { - "line": 1384, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50680, - "end": 50681, - "loc": { - "start": { - "line": 1384, - "column": 34 - }, - "end": { - "line": 1384, - "column": 35 - } - } - }, { "type": { "label": "name", @@ -299572,8 +308600,8 @@ "binop": null }, "value": "L2DMatrix44", - "start": 50686, - "end": 50697, + "start": 50557, + "end": 50568, "loc": { "start": { "line": 1385, @@ -299587,7 +308615,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299598,8 +308626,8 @@ "binop": null, "updateContext": null }, - "start": 50697, - "end": 50698, + "start": 50568, + "end": 50569, "loc": { "start": { "line": 1385, @@ -299611,58 +308639,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DMatrix44", - "start": 50699, - "end": 50710, - "loc": { - "start": { - "line": 1385, - "column": 17 - }, - "end": { - "line": 1385, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50710, - "end": 50711, - "loc": { - "start": { - "line": 1385, - "column": 28 - }, - "end": { - "line": 1385, - "column": 29 - } - } - }, { "type": { "label": "name", @@ -299676,8 +308652,8 @@ "binop": null }, "value": "EYE_STATE", - "start": 50716, - "end": 50725, + "start": 50574, + "end": 50583, "loc": { "start": { "line": 1386, @@ -299691,7 +308667,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299702,8 +308678,8 @@ "binop": null, "updateContext": null }, - "start": 50725, - "end": 50726, + "start": 50583, + "end": 50584, "loc": { "start": { "line": 1386, @@ -299715,58 +308691,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "EYE_STATE", - "start": 50727, - "end": 50736, - "loc": { - "start": { - "line": 1386, - "column": 15 - }, - "end": { - "line": 1386, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50736, - "end": 50737, - "loc": { - "start": { - "line": 1386, - "column": 24 - }, - "end": { - "line": 1386, - "column": 25 - } - } - }, { "type": { "label": "name", @@ -299780,8 +308704,8 @@ "binop": null }, "value": "L2DEyeBlink", - "start": 50742, - "end": 50753, + "start": 50589, + "end": 50600, "loc": { "start": { "line": 1387, @@ -299795,7 +308719,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299806,8 +308730,8 @@ "binop": null, "updateContext": null }, - "start": 50753, - "end": 50754, + "start": 50600, + "end": 50601, "loc": { "start": { "line": 1387, @@ -299819,58 +308743,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DEyeBlink", - "start": 50755, - "end": 50766, - "loc": { - "start": { - "line": 1387, - "column": 17 - }, - "end": { - "line": 1387, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50766, - "end": 50767, - "loc": { - "start": { - "line": 1387, - "column": 28 - }, - "end": { - "line": 1387, - "column": 29 - } - } - }, { "type": { "label": "name", @@ -299884,8 +308756,8 @@ "binop": null }, "value": "L2DExpressionParam", - "start": 50772, - "end": 50790, + "start": 50606, + "end": 50624, "loc": { "start": { "line": 1388, @@ -299899,7 +308771,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -299910,8 +308782,8 @@ "binop": null, "updateContext": null }, - "start": 50790, - "end": 50791, + "start": 50624, + "end": 50625, "loc": { "start": { "line": 1388, @@ -299923,58 +308795,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DExpressionParam", - "start": 50792, - "end": 50810, - "loc": { - "start": { - "line": 1388, - "column": 24 - }, - "end": { - "line": 1388, - "column": 42 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50810, - "end": 50811, - "loc": { - "start": { - "line": 1388, - "column": 42 - }, - "end": { - "line": 1388, - "column": 43 - } - } - }, { "type": { "label": "name", @@ -299988,8 +308808,8 @@ "binop": null }, "value": "L2DExpressionMotion", - "start": 50816, - "end": 50835, + "start": 50630, + "end": 50649, "loc": { "start": { "line": 1389, @@ -300003,7 +308823,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -300014,8 +308834,8 @@ "binop": null, "updateContext": null }, - "start": 50835, - "end": 50836, + "start": 50649, + "end": 50650, "loc": { "start": { "line": 1389, @@ -300027,58 +308847,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DExpressionMotion", - "start": 50837, - "end": 50856, - "loc": { - "start": { - "line": 1389, - "column": 25 - }, - "end": { - "line": 1389, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 50856, - "end": 50857, - "loc": { - "start": { - "line": 1389, - "column": 44 - }, - "end": { - "line": 1389, - "column": 45 - } - } - }, { "type": { "label": "name", @@ -300092,8 +308860,8 @@ "binop": null }, "value": "L2DBaseModel", - "start": 50862, - "end": 50874, + "start": 50655, + "end": 50667, "loc": { "start": { "line": 1390, @@ -300107,7 +308875,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -300118,8 +308886,8 @@ "binop": null, "updateContext": null }, - "start": 50874, - "end": 50875, + "start": 50667, + "end": 50668, "loc": { "start": { "line": 1390, @@ -300131,32 +308899,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "L2DBaseModel", - "start": 50876, - "end": 50888, - "loc": { - "start": { - "line": 1390, - "column": 18 - }, - "end": { - "line": 1390, - "column": 30 - } - } - }, { "type": { "label": "}", @@ -300169,8 +308911,8 @@ "postfix": false, "binop": null }, - "start": 50889, - "end": 50890, + "start": 50669, + "end": 50670, "loc": { "start": { "line": 1391, @@ -300195,8 +308937,8 @@ "binop": null, "updateContext": null }, - "start": 50891, - "end": 50891, + "start": 50671, + "end": 50671, "loc": { "start": { "line": 1392, diff --git a/ghpages/docs/ast/source/_utils/_MatrixStack.js.json b/ghpages/docs/ast/source/utils/MatrixStack.js.json similarity index 100% rename from ghpages/docs/ast/source/_utils/_MatrixStack.js.json rename to ghpages/docs/ast/source/utils/MatrixStack.js.json diff --git a/ghpages/docs/ast/source/_utils/_ModelSettingJson.js.json b/ghpages/docs/ast/source/utils/ModelSettingJson.js.json similarity index 100% rename from ghpages/docs/ast/source/_utils/_ModelSettingJson.js.json rename to ghpages/docs/ast/source/utils/ModelSettingJson.js.json diff --git a/ghpages/docs/badge.svg b/ghpages/docs/badge.svg index 305dd58..b8e6201 100644 --- a/ghpages/docs/badge.svg +++ b/ghpages/docs/badge.svg @@ -11,7 +11,7 @@ document document - 20% - 20% + 19% + 19% diff --git a/ghpages/docs/coverage.json b/ghpages/docs/coverage.json index 8420f6f..cb4a39f 100644 --- a/ghpages/docs/coverage.json +++ b/ghpages/docs/coverage.json @@ -1,30 +1,78 @@ { - "coverage": "20.19%", - "expectCount": 302, + "coverage": "19.48%", + "expectCount": 313, "actualCount": 61, "files": { + "src/cDefine.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, "src/cLive2DApp.js": { - "expectCount": 19, + "expectCount": 30, "actualCount": 1, "undocumentLines": [ - 95, - 109, - 125, - 153, - 160, - 182, - 187, - 196, - 260, - 287, - 314, - 345, - 353, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 83, + 96, + 112, + 140, + 147, + 169, + 174, + 183, + 247, + 274, + 301, + 332, + 340, + 355, 368, - 381, - 388, - 395, - 401 + 375, + 382, + 388 + ] + }, + "src/cManager.js": { + "expectCount": 8, + "actualCount": 0, + "undocumentLines": [ + 18, + 28, + 41, + 51, + 64, + 70, + 76, + 6 + ] + }, + "src/cModel.js": { + "expectCount": 12, + "actualCount": 0, + "undocumentLines": [ + 11, + 24, + 174, + 184, + 200, + 301, + 316, + 325, + 372, + 405, + 417, + 438 ] }, "src/config/configMgr.js": { @@ -52,7 +100,7 @@ "actualCount": 1, "undocumentLines": [] }, - "src/lib/_Live2DFramework.js": { + "src/lib/Live2DFramework.js": { "expectCount": 103, "actualCount": 1, "undocumentLines": [ @@ -78,17 +126,12 @@ 252, 270, 287, - 321, 337, 396, - 417, - 428, 445, 454, 461, 470, - 521, - 534, 543, 562, 570, @@ -106,7 +149,6 @@ 657, 664, 672, - 682, 694, 701, 710, @@ -119,30 +161,24 @@ 763, 770, 779, - 790, 804, 811, 818, 834, 841, 854, - 867, 875, 940, - 952, 962, 995, 1016, 1039, 1093, - 1112, 1122, - 1133, 1150, 1158, 1165, 1172, - 1219, 1236, 1256, 1278, @@ -155,9 +191,21 @@ 1333, 1340, 1347, - 1356, 1365, - 1372 + 1372, + 1133, + 1356, + 1219, + 952, + 1112, + 867, + 790, + 682, + 534, + 521, + 428, + 417, + 321 ] }, "src/lib/_Live2DFramework.official.js": { @@ -264,62 +312,25 @@ 1586 ] }, - "src/wpPublicPath.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/_cDefine.js": { - "expectCount": 1, - "actualCount": 1, - "undocumentLines": [] - }, - "src/_cManager.js": { - "expectCount": 8, - "actualCount": 0, - "undocumentLines": [ - 6, - 18, - 28, - 41, - 51, - 64, - 70, - 76 - ] - }, - "src/_cModel.js": { - "expectCount": 12, - "actualCount": 0, - "undocumentLines": [ - 11, - 24, - 174, - 184, - 200, - 301, - 316, - 325, - 372, - 405, - 417, - 438 - ] - }, - "src/_PlatformManager.js": { + "src/PlatformManager.js": { "expectCount": 7, "actualCount": 7, "undocumentLines": [] }, - "src/_utils/_MatrixStack.js": { + "src/utils/MatrixStack.js": { "expectCount": 7, "actualCount": 7, "undocumentLines": [] }, - "src/_utils/_ModelSettingJson.js": { + "src/utils/ModelSettingJson.js": { "expectCount": 25, "actualCount": 25, "undocumentLines": [] + }, + "src/wpPublicPath.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] } } } \ No newline at end of file diff --git a/ghpages/docs/file/src/_PlatformManager.js.html b/ghpages/docs/file/src/PlatformManager.js.html similarity index 74% rename from ghpages/docs/file/src/_PlatformManager.js.html rename to ghpages/docs/file/src/PlatformManager.js.html index d9f35d2..395b208 100644 --- a/ghpages/docs/file/src/_PlatformManager.js.html +++ b/ghpages/docs/file/src/PlatformManager.js.html @@ -3,7 +3,7 @@ - src/_PlatformManager.js | live2d-widget.js + src/PlatformManager.js | live2d-widget.js @@ -30,20 +30,34 @@ -

src/_PlatformManager.js

+

src/PlatformManager.js


 /**
  *
@@ -59,9 +73,8 @@
 * @desc A library that provide basic IO and json function
 */
 
-
-import { getContext } from "./webGLContext";
-import { Live2DModelWebGL } from "./live2d.core";
+import { currWebGL } from './elementMgr';
+import { Live2DModelWebGL } from "./lib/live2d.core";
 
 
 //============================================================
@@ -76,7 +89,7 @@
 * @param null
 * @returns {Structure} PlatformManager
 */
-export default function PlatformManager()
+export function PlatformManager()
 {
 
 }
@@ -181,7 +194,7 @@
     // var thisRef = this;
     loadedImage.onload = function() {
         // create texture
-        var gl = getContext();
+        var gl = currWebGL;
         var texture = gl.createTexture();
         if (!texture){ console.error("Failed to generate gl texture name."); return -1; }
 
diff --git a/ghpages/docs/file/src/_cDefine.js.html b/ghpages/docs/file/src/cDefine.js.html
similarity index 62%
rename from ghpages/docs/file/src/_cDefine.js.html
rename to ghpages/docs/file/src/cDefine.js.html
index 24f6aa5..d32d557 100644
--- a/ghpages/docs/file/src/_cDefine.js.html
+++ b/ghpages/docs/file/src/cDefine.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/_cDefine.js | live2d-widget.js
+  src/cDefine.js | live2d-widget.js
   
   
   
@@ -30,20 +30,34 @@
   
 
-

src/_cDefine.js

+

src/cDefine.js

// Modified by xiazeyu.
 
 /**
diff --git a/ghpages/docs/file/src/cLive2DApp.js.html b/ghpages/docs/file/src/cLive2DApp.js.html
index cb33939..822eb59 100644
--- a/ghpages/docs/file/src/cLive2DApp.js.html
+++ b/ghpages/docs/file/src/cLive2DApp.js.html
@@ -30,15 +30,29 @@
   
 
@@ -49,32 +63,29 @@ */ -import { - UtSystem, - UtDebug, - LDTransform, - LDGL, - Live2D, - Live2DModelWebGL, - Live2DModelJS, - Live2DMotion, - MotionQueueManager, - PhysicsHair, - AMotion, - PartsDataID, - DrawDataID, - BaseDataID, - ParamID -} from './lib/live2d.core';/* -import { device } from 'current-device'; +import { config } from './config/configMgr'; +import { createElement, currWebGL } from './elementMgr'; +import { UtSystem, + UtDebug, + LDTransform, + LDGL, + Live2D, + Live2DModelWebGL, + Live2DModelJS, + Live2DMotion, + MotionQueueManager, + PhysicsHair, + AMotion, + PartsDataID, + DrawDataID, + BaseDataID, + ParamID } from './lib/live2d.core'; import { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from "./lib/Live2DFramework"; -import cManager from "./cManager"; +import { cManager } from "./cManager"; import { MatrixStack } from "./utils/MatrixStack"; -import { cDefine } from "./cDefine"; +import cDefine from "./cDefine"; -const live2DMgr = new cManager(); let isDrawStart = false; -let canvas = null; let dragMgr = null; let viewMatrix = null; let projMatrix = null; @@ -85,10 +96,8 @@ let headPos = 0.5; let opacityDefault = 0.7; let opacityHover = 1; -*/ -import { config } from './config/configMgr'; -import { createElement, currWebGL } from './elementMgr'; + /** * Main function of live2d-widget @@ -99,13 +108,8 @@ createElement(); - let width = canvas.width; - let height = canvas.height; - let sWidth = parseInt(canvas.style.width); - let sHeight = parseInt(canvas.style.height); - dragMgr = new L2DTargetPoint(); - let ratio = height / width; + let ratio = config.display.height / config.display.width; let left = cDefine.VIEW_LOGICAL_LEFT; let right = cDefine.VIEW_LOGICAL_RIGHT; let bottom = -ratio; @@ -121,13 +125,11 @@ cDefine.VIEW_LOGICAL_MAX_TOP); projMatrix = new L2DMatrix44(); - projMatrix.multScale(1, (width / height)); + projMatrix.multScale(1, (config.display.width / config.display.height)); deviceToScreen = new L2DMatrix44(); - // deviceToScreen.multTranslate(-width / 2.0, -height / 2.0); // old codes - // deviceToScreen.multScale(2 / width, -2 / width); // old codes - deviceToScreen.multTranslate(-sWidth / 2.0, -sHeight / 2.0); // #32 - deviceToScreen.multScale(2 / sWidth, -2 / sHeight); // #32 + deviceToScreen.multTranslate(-config.display.width / 2.0, -config.display.height / 2.0); // #32 + deviceToScreen.multScale(2 / config.display.width, -2 / config.display.height); // #32 Live2D.setGL(currWebGL); @@ -139,8 +141,7 @@ function initEvent(){/* - canvas = document.getElementById(canvasId); - if (canvas.addEventListener) { + if (currCanvas.addEventListener) { window.addEventListener("click", mouseEvent); window.addEventListener("mousedown", mouseEvent); window.addEventListener("mousemove", mouseEvent); @@ -163,7 +164,7 @@ window.webkitRequestAnimationFrame || window.msRequestAnimationFrame; - requestAnimationFrame(tick, canvas); + requestAnimationFrame(tick, currCanvas); })(); } } @@ -307,7 +308,7 @@ { drag = true; - let rect = canvas.getBoundingClientRect(); + let rect = currCanvas.getBoundingClientRect(); let sx = transformScreenX(event.clientX - rect.left); let sy = transformScreenY(event.clientY - rect.top); @@ -334,7 +335,7 @@ { drag = true; - let rect = canvas.getBoundingClientRect(); + let rect = currCanvas.getBoundingClientRect(); let sx = transformScreenX(event.clientX - rect.left); let sy = transformScreenY(event.clientY - rect.top); @@ -359,7 +360,7 @@ function followPointer(event) { - let rect = canvas.getBoundingClientRect(); + let rect = currCanvas.getBoundingClientRect(); let sx = transformScreenX(event.clientX - rect.left); let sy = transformScreenY(event.clientY - rect.top); diff --git a/ghpages/docs/file/src/_cManager.js.html b/ghpages/docs/file/src/cManager.js.html similarity index 64% rename from ghpages/docs/file/src/_cManager.js.html rename to ghpages/docs/file/src/cManager.js.html index ab23412..3b76716 100644 --- a/ghpages/docs/file/src/_cManager.js.html +++ b/ghpages/docs/file/src/cManager.js.html @@ -3,7 +3,7 @@ - src/_cManager.js | live2d-widget.js + src/cManager.js | live2d-widget.js @@ -30,26 +30,40 @@
-

src/_cManager.js

+

src/cManager.js

import { Live2DFramework } from "./lib/Live2DFramework";
-import PlatformManager from "./lib/PlatformManager";
+import { PlatformManager } from "./lib/PlatformManager";
 import { cModel } from "./cModel";
 import { cDefine } from "./cDefine";
 
-export default function cManager() {
+function cManager() {
   // console.log("--> cManager()");
 
   this.models = [];
@@ -144,6 +158,10 @@
 
   return true;
 };
+
+export{
+  cManager,
+}
 
diff --git a/ghpages/docs/file/src/_cModel.js.html b/ghpages/docs/file/src/cModel.js.html similarity index 84% rename from ghpages/docs/file/src/_cModel.js.html rename to ghpages/docs/file/src/cModel.js.html index 343ae1e..1e77409 100644 --- a/ghpages/docs/file/src/_cModel.js.html +++ b/ghpages/docs/file/src/cModel.js.html @@ -3,7 +3,7 @@ - src/_cModel.js | live2d-widget.js + src/cModel.js | live2d-widget.js @@ -30,20 +30,34 @@
-

src/_cModel.js

+

src/cModel.js

import { Live2DFramework, L2DBaseModel, L2DEyeBlink } from "./lib/Live2DFramework";
 import { ModelSettingJson } from "./utils/ModelSettingJson";
 import { MatrixStack } from "./utils/MatrixStack";
diff --git a/ghpages/docs/file/src/config/configMgr.js.html b/ghpages/docs/file/src/config/configMgr.js.html
index 728a20a..791c1da 100644
--- a/ghpages/docs/file/src/config/configMgr.js.html
+++ b/ghpages/docs/file/src/config/configMgr.js.html
@@ -30,15 +30,29 @@
   
 
diff --git a/ghpages/docs/file/src/config/configValidater.js.html b/ghpages/docs/file/src/config/configValidater.js.html index d666e0d..a9f6868 100644 --- a/ghpages/docs/file/src/config/configValidater.js.html +++ b/ghpages/docs/file/src/config/configValidater.js.html @@ -30,15 +30,29 @@
diff --git a/ghpages/docs/file/src/elementManager.js.html b/ghpages/docs/file/src/elementManager.js.html deleted file mode 100644 index 5b65a8d..0000000 --- a/ghpages/docs/file/src/elementManager.js.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - src/elementManager.js | live2d-widget.js - - - - - - - -
- Home - - Reference - Source - - -
- - - -

src/elementManager.js

-
/**
- * @description The container and manager for all the DOM and WebGL emelents.
- */
-
-
-import { config } from './config/configMgr';
-import htmlTemplate from './tmplate/innerHTML';
-
-/**
- * The current WebGL element
- * @type {RenderingContext}
- */
-
-let currWebGL = undefined;
-
-/**
- * The current canvas element
- * @type {DOMString}
- */
-
-let currCanvas;
-
-/**
- * Create the canvas and styles using DOM
- * @return {null}
- */
-
-function createElement(){
-
-  let newElem = document.createElement('div');
-  newElem.id = config.name.div;
-  newElem.innerHTML = htmlTemplate(config);
-  document.body.appendChild(newElem);
-  currCanvas = document.getElementById(config.name.canvas);
-  initWebGL();
-
-}
-
-/**
- * Find and set the current WebGL element to the container
- * @return {null}
- */
-
-function initWebGL(){
-
-  var NAMES = ['webgl2', 'webgl', 'experimental-webgl2', 'experimental-webgl', 'webkit-3d', 'moz-webgl'];
-  for(let i = 0; i < NAMES.length; i++){
-    try{
-      let ctx = currCanvas.getContext(NAMES[i], {
-        alpha: true,
-        antialias: true,
-        premultipliedAlpha: true,
-        failIfMajorPerformanceCaveat: false,
-      });
-      if(ctx) currWebGL = ctx;
-    }catch(e){}
-  }
-  if(!gl){
-    console.error('Live2D widgets: Failed to create WebGL context.');
-    if(!window.WebGLRenderingContext){
-      console.error('Your browser may not support WebGL, check https://get.webgl.org/ for futher information.');
-    }
-    return;
-  }
-};
-
-
-export{
-  createElement,
-  currWebGL,
-}
-
- -
- - - - - - - - - - - - diff --git a/ghpages/docs/file/src/elementMgr.js.html b/ghpages/docs/file/src/elementMgr.js.html index eb7b770..9bac077 100644 --- a/ghpages/docs/file/src/elementMgr.js.html +++ b/ghpages/docs/file/src/elementMgr.js.html @@ -30,15 +30,29 @@
diff --git a/ghpages/docs/file/src/index.js.html b/ghpages/docs/file/src/index.js.html index 0e413e4..76c0d95 100644 --- a/ghpages/docs/file/src/index.js.html +++ b/ghpages/docs/file/src/index.js.html @@ -30,15 +30,29 @@ diff --git a/ghpages/docs/file/src/lib/_Live2DFramework.js.html b/ghpages/docs/file/src/lib/Live2DFramework.js.html similarity index 94% rename from ghpages/docs/file/src/lib/_Live2DFramework.js.html rename to ghpages/docs/file/src/lib/Live2DFramework.js.html index eefabd5..ce258ff 100644 --- a/ghpages/docs/file/src/lib/_Live2DFramework.js.html +++ b/ghpages/docs/file/src/lib/Live2DFramework.js.html @@ -3,7 +3,7 @@ - src/lib/_Live2DFramework.js | live2d-widget.js + src/lib/Live2DFramework.js | live2d-widget.js @@ -30,20 +30,34 @@ -

src/lib/_Live2DFramework.js

+

src/lib/Live2DFramework.js

/**
  *
  *  You can modify and use this source freely
@@ -1419,21 +1433,21 @@
     Live2DFramework.platformManager = platformManager;
 }
 
-module.exports = {
-    L2DTargetPoint: L2DTargetPoint,
-    Live2DFramework: Live2DFramework,
-    L2DViewMatrix: L2DViewMatrix,
-    L2DPose: L2DPose,
-    L2DPartsParam: L2DPartsParam,
-    L2DPhysics: L2DPhysics,
-    L2DMotionManager: L2DMotionManager,
-    L2DModelMatrix: L2DModelMatrix,
-    L2DMatrix44: L2DMatrix44,
-    EYE_STATE: EYE_STATE,
-    L2DEyeBlink: L2DEyeBlink,
-    L2DExpressionParam: L2DExpressionParam,
-    L2DExpressionMotion: L2DExpressionMotion,
-    L2DBaseModel: L2DBaseModel
+export{
+    L2DTargetPoint,
+    Live2DFramework,
+    L2DViewMatrix,
+    L2DPose,
+    L2DPartsParam,
+    L2DPhysics,
+    L2DMotionManager,
+    L2DModelMatrix,
+    L2DMatrix44,
+    EYE_STATE,
+    L2DEyeBlink,
+    L2DExpressionParam,
+    L2DExpressionMotion,
+    L2DBaseModel,
 }
 
diff --git a/ghpages/docs/file/src/lib/_Live2DFramework.official.js.html b/ghpages/docs/file/src/lib/_Live2DFramework.official.js.html index 4384f3f..cad2e1e 100644 --- a/ghpages/docs/file/src/lib/_Live2DFramework.official.js.html +++ b/ghpages/docs/file/src/lib/_Live2DFramework.official.js.html @@ -30,15 +30,29 @@
diff --git a/ghpages/docs/file/src/_utils/_MatrixStack.js.html b/ghpages/docs/file/src/utils/MatrixStack.js.html similarity index 67% rename from ghpages/docs/file/src/_utils/_MatrixStack.js.html rename to ghpages/docs/file/src/utils/MatrixStack.js.html index 61d4cfb..324877e 100644 --- a/ghpages/docs/file/src/_utils/_MatrixStack.js.html +++ b/ghpages/docs/file/src/utils/MatrixStack.js.html @@ -3,7 +3,7 @@ - src/_utils/_MatrixStack.js | live2d-widget.js + src/utils/MatrixStack.js | live2d-widget.js @@ -30,20 +30,34 @@
-

src/_utils/_MatrixStack.js

+

src/utils/MatrixStack.js

/**
  *
  *  You can modify and use this source freely
diff --git a/ghpages/docs/file/src/_utils/_ModelSettingJson.js.html b/ghpages/docs/file/src/utils/ModelSettingJson.js.html
similarity index 81%
rename from ghpages/docs/file/src/_utils/_ModelSettingJson.js.html
rename to ghpages/docs/file/src/utils/ModelSettingJson.js.html
index 40f3064..6910b48 100644
--- a/ghpages/docs/file/src/_utils/_ModelSettingJson.js.html
+++ b/ghpages/docs/file/src/utils/ModelSettingJson.js.html
@@ -3,7 +3,7 @@
 
   
   
-  src/_utils/_ModelSettingJson.js | live2d-widget.js
+  src/utils/ModelSettingJson.js | live2d-widget.js
   
   
   
@@ -30,20 +30,34 @@
   
 
-

src/_utils/_ModelSettingJson.js

+

src/utils/ModelSettingJson.js

// Modified by xiazeyu.
 
 /**
diff --git a/ghpages/docs/file/src/wpPublicPath.js.html b/ghpages/docs/file/src/wpPublicPath.js.html
index 5cc76d1..6345eff 100644
--- a/ghpages/docs/file/src/wpPublicPath.js.html
+++ b/ghpages/docs/file/src/wpPublicPath.js.html
@@ -30,15 +30,29 @@
   
 
diff --git a/ghpages/docs/function/index.html b/ghpages/docs/function/index.html index ee10073..b36debe 100644 --- a/ghpages/docs/function/index.html +++ b/ghpages/docs/function/index.html @@ -30,15 +30,29 @@
@@ -62,14 +76,13 @@ - ModelSettingJson(null: *): Structure + EYE_STATE()

-

return the struct of ModelSettingJson

-
+
@@ -91,13 +104,13 @@ - PlatformManager(null: *): Structure + L2DBaseModel()

-

Define the variable type of PlatformManager

+

Basic functions releated to model react

@@ -120,14 +133,13 @@ - cLive2DApp(): null + L2DExpressionMotion()

-

Main function of live2d-widget

-
+
@@ -149,7 +161,7 @@ - cManager() + L2DExpressionParam()

@@ -177,7 +189,7 @@ - cModel() + L2DEyeBlink()

@@ -205,7 +217,7 @@ - configApplyer(userConfig: *) + L2DMatrix44()

@@ -233,14 +245,13 @@ - createElement(): null + L2DModelMatrix(w: *, h: *)

-

Create the canvas and styles using DOM

-
+
@@ -262,13 +273,209 @@ - getCurrentPath(): String + L2DMotionManager()

-

Get current script path

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

+ + + + L2DPartsParam(id: *) +

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

+ + + + L2DPhysics() +

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

+ + + + L2DPose() +

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

+ + + + L2DTargetPoint() +

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

+ + + + L2DViewMatrix() +

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

+ + + + Live2DFramework() +

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

+ + + + ModelSettingJson(null: *): Structure +

+
+
+ + +

return the struct of ModelSettingJson

@@ -291,13 +498,13 @@ - init(userConfig: Object): null + PlatformManager(null: *): Structure

-

The public entry point

+

Define the variable type of PlatformManager

@@ -306,11 +513,852 @@ - - + + + public + + + + + + +
+

+ + + + cLive2DApp(): null +

+
+
+ + +

Main function of live2d-widget

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

+ + + + cManager() +

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

+ + + + cModel() +

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

+ + + + configApplyer(userConfig: *) +

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

+ + + + createElement(): null +

+
+
+ + +

Create the canvas and styles using DOM

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

+ + + + getCurrentPath(): String +

+
+
+ + +

Get current script path

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

+ + + + init(userConfig: Object): null +

+
+
+ + +

The public entry point

+
+
+ + + + + + + + +
+

Static Public

+ +
+

+ public + + + + + + EYE_STATE() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DBaseModel() + + + + source + +

+ +
import {L2DBaseModel} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + +

Basic functions releated to model react

+
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DExpressionMotion() + + + + source + +

+ +
import {L2DExpressionMotion} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DExpressionParam() + + + + source + +

+ +
import {L2DExpressionParam} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+ + +
import {L2DEyeBlink} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DMatrix44() + + + + source + +

+ +
import {L2DMatrix44} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DModelMatrix(w: *, h: *) + + + + source + +

+ +
import {L2DModelMatrix} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
w*
h*
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DMotionManager() + + + + source + +

+ +
import {L2DMotionManager} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DPartsParam(id: *) + + + + source + +

+ +
import {L2DPartsParam} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
id*
+
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DPhysics() + + + + source + +

+ +
import {L2DPhysics} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DPose() + + + + source + +

+ + + + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DTargetPoint() + + + + source + +

+ +
import {L2DTargetPoint} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + L2DViewMatrix() + + + + source + +

+ +
import {L2DViewMatrix} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + +
+
+

+ public + + + + + + Live2DFramework() + + + + source + +

+ +
import {Live2DFramework} from 'live2d-widget/src/lib/Live2DFramework.js'
+ + + + + + +
+
+ + + + + + + + + + + + + + + + +
-

Static Public

-

public @@ -323,11 +1371,11 @@

- source + source

-
import ModelSettingJson from 'live2d-widget/src/_utils/_ModelSettingJson.js'
+
import ModelSettingJson from 'live2d-widget/src/utils/ModelSettingJson.js'

return the struct of ModelSettingJson

@@ -396,11 +1444,11 @@

- source + source

-
import PlatformManager from 'live2d-widget/src/_PlatformManager.js'
+
import {PlatformManager} from 'live2d-widget/src/PlatformManager.js'

Define the variable type of PlatformManager

@@ -469,11 +1517,11 @@

- source + source

-
import cLive2DApp from 'live2d-widget/src/cLive2DApp.js'
+
import cLive2DApp from 'live2d-widget/src/cLive2DApp.js'

Main function of live2d-widget

@@ -525,11 +1573,11 @@

- source + source

-
import cManager from 'live2d-widget/src/_cManager.js'
+
import {cManager} from 'live2d-widget/src/cManager.js'
@@ -568,11 +1616,11 @@

- source + source

-
import cModel from 'live2d-widget/src/_cModel.js'
+
import cModel from 'live2d-widget/src/cModel.js'
diff --git a/ghpages/docs/identifiers.html b/ghpages/docs/identifiers.html index 82877aa..656cebe 100644 --- a/ghpages/docs/identifiers.html +++ b/ghpages/docs/identifiers.html @@ -30,15 +30,29 @@
@@ -97,13 +111,14 @@ F - cManager() + cLive2DApp(): null

- +

Main function of live2d-widget

+
@@ -125,7 +140,7 @@ F - cModel() + cManager()

@@ -153,14 +168,13 @@ F - cLive2DApp(): null + cModel()

-

Main function of live2d-widget

-
+
@@ -289,7 +303,7 @@
-

_utils

+

config

@@ -308,14 +322,13 @@

_utils

F - ModelSettingJson(null: *): Structure + configApplyer(userConfig: *)

-

return the struct of ModelSettingJson

-
+
summary
@@ -328,7 +341,7 @@

_utils

-

config

+

lib

@@ -347,7 +360,92 @@

config

F - configApplyer(userConfig: *) + EYE_STATE() +

+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
summary
+ + +
+ public + + + + + +
+

+ F + + + L2DBaseModel() +

+
+
+ + +

Basic functions releated to model react

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

+ F + + + L2DExpressionMotion() +

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

+ F + + + L2DExpressionParam()

@@ -359,6 +457,325 @@

config

+
+ public + + + + + +
+

+ F + + + L2DEyeBlink() +

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

+ F + + + L2DMatrix44() +

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

+ F + + + L2DModelMatrix(w: *, h: *) +

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

+ F + + + L2DMotionManager() +

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

+ F + + + L2DPartsParam(id: *) +

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

+ F + + + L2DPhysics() +

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

+ F + + + L2DPose() +

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

+ F + + + L2DTargetPoint() +

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

+ F + + + L2DViewMatrix() +

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

+ F + + + Live2DFramework() +

+
+
+ + + +
+
+ + +
+
+
+
+

utils

+
+ + + + + + + @@ -369,8 +786,9 @@

config

Directories
- +
diff --git a/ghpages/docs/index.json b/ghpages/docs/index.json index 52b3a17..fb2c585 100644 --- a/ghpages/docs/index.json +++ b/ghpages/docs/index.json @@ -566,8 +566,39 @@ { "__docId__": 48, "kind": "file", + "name": "src/cDefine.js", + "content": "// Modified by xiazeyu.\n\n/**\n* @desc The definitions of values releated to model react\n*/\n\nvar cDefine = {\n // above are viewMatrix value settings\n VIEW_LOGICAL_LEFT : -1, // -1, the left abscissa of viewMatrix\n VIEW_LOGICAL_RIGHT : 1, // 1, the right abscissa of viewMatrix\n VIEW_LOGICAL_MAX_LEFT : -2, // -2, the max left abscissa of viewMatrix\n VIEW_LOGICAL_MAX_RIGHT : 2, // 2, the max right abscissa of viewMatrix\n VIEW_LOGICAL_MAX_BOTTOM : -2, // -2, the max bottom abscissa of viewMatrix\n VIEW_LOGICAL_MAX_TOP : 2, // 2, the max top abscissa of viewMatrix\n\n // above are the motions priority settings.\n PRIORITY_NONE : 0, // 0,do nothing\n PRIORITY_IDLE : 1, // 1, idle motions\n PRIORITY_NORMAL : 2, // 2, normal motions\n PRIORITY_FORCE : 3, // 3, force to show motion\n\n // above are the index to the motions in model.json\n // #43\n MOTION_GROUP_IDLE : \"idle\",\n MOTION_GROUP_TAP_BODY : \"tap_body\",\n MOTION_GROUP_FLICK_HEAD : \"flick_head\", // unused\n MOTION_GROUP_PINCH_IN : \"pinch_in\", // unused\n MOTION_GROUP_PINCH_OUT : \"pinch_out\", // unused\n MOTION_GROUP_SHAKE : \"shake\", // unused\n\n // above are the index to the hit areas in model.json\n // #43\n HIT_AREA_HEAD : \"head\",\n HIT_AREA_BODY : \"body\"\n};\n\nmodule.exports = cDefine;\n", + "static": true, + "longname": "D:/git/live2d-widget.js/src/cDefine.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 49, + "kind": "variable", + "name": "cDefine", + "memberof": "src/cDefine.js", + "static": true, + "longname": "src/cDefine.js~cDefine", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cDefine.js", + "importStyle": null, + "description": "The definitions of values releated to model react", + "lineNumber": 7, + "type": { + "types": [ + "{\"VIEW_LOGICAL_LEFT\": *, \"VIEW_LOGICAL_RIGHT\": number, \"VIEW_LOGICAL_MAX_LEFT\": *, \"VIEW_LOGICAL_MAX_RIGHT\": number, \"VIEW_LOGICAL_MAX_BOTTOM\": *, \"VIEW_LOGICAL_MAX_TOP\": number, \"PRIORITY_NONE\": *, \"PRIORITY_IDLE\": number, \"PRIORITY_NORMAL\": number, \"PRIORITY_FORCE\": number, \"MOTION_GROUP_IDLE\": string, \"MOTION_GROUP_TAP_BODY\": string, \"MOTION_GROUP_FLICK_HEAD\": string, \"MOTION_GROUP_PINCH_IN\": string, \"MOTION_GROUP_PINCH_OUT\": string, \"MOTION_GROUP_SHAKE\": string, \"HIT_AREA_HEAD\": string, \"HIT_AREA_BODY\": string}" + ] + }, + "ignore": true + }, + { + "__docId__": 50, + "kind": "file", "name": "src/cLive2DApp.js", - "content": "/**\n * @description The main part of live2d-widget\n */\n\n\nimport {\n UtSystem,\n UtDebug,\n LDTransform,\n LDGL,\n Live2D,\n Live2DModelWebGL,\n Live2DModelJS,\n Live2DMotion,\n MotionQueueManager,\n PhysicsHair,\n AMotion,\n PartsDataID,\n DrawDataID,\n BaseDataID,\n ParamID\n} from './lib/live2d.core';/*\nimport { device } from 'current-device';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport cManager from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport { cDefine } from \"./cDefine\";\n\nconst live2DMgr = new cManager();\nlet isDrawStart = false;\nlet canvas = null;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n*/\n\nimport { config } from './config/configMgr';\nimport { createElement, currWebGL } from './elementMgr';\n\n/**\n * Main function of live2d-widget\n * @return {null}\n */\n\nexport default () => {\n\n createElement();\n\n let width = canvas.width;\n let height = canvas.height;\n let sWidth = parseInt(canvas.style.width);\n let sHeight = parseInt(canvas.style.height);\n\n dragMgr = new L2DTargetPoint();\n let ratio = height / width;\n let left = cDefine.VIEW_LOGICAL_LEFT;\n let right = cDefine.VIEW_LOGICAL_RIGHT;\n let bottom = -ratio;\n let top = ratio;\n\n viewMatrix = new L2DViewMatrix();\n\n viewMatrix.setScreenRect(left, right, bottom, top);\n\n viewMatrix.setMaxScreenRect(cDefine.VIEW_LOGICAL_MAX_LEFT,\n cDefine.VIEW_LOGICAL_MAX_RIGHT,\n cDefine.VIEW_LOGICAL_MAX_BOTTOM,\n cDefine.VIEW_LOGICAL_MAX_TOP);\n\n projMatrix = new L2DMatrix44();\n projMatrix.multScale(1, (width / height));\n\n deviceToScreen = new L2DMatrix44();\n // deviceToScreen.multTranslate(-width / 2.0, -height / 2.0); // old codes\n // deviceToScreen.multScale(2 / width, -2 / width); // old codes\n deviceToScreen.multTranslate(-sWidth / 2.0, -sHeight / 2.0); // #32\n deviceToScreen.multScale(2 / sWidth, -2 / sHeight); // #32\n\n\n Live2D.setGL(currWebGL);\n currWebGL.clearColor(0.0, 0.0, 0.0, 0.0);\n changeModel(config.model.jsonPath);\n startDraw();\n\n}\n\n\nfunction initEvent(){/*\n canvas = document.getElementById(canvasId);\n if (canvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }*/\n}\n\nfunction startDraw() {\n if (!isDrawStart) {\n isDrawStart = true;\n (function tick() {\n draw();\n let requestAnimationFrame =\n window.requestAnimationFrame ||\n window.mozRequestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n window.msRequestAnimationFrame;\n\n requestAnimationFrame(tick, canvas);\n })();\n }\n}\n\nfunction draw()\n{\n MatrixStack.reset();\n MatrixStack.loadIdentity();\n dragMgr.update();\n live2DMgr.setDrag(dragMgr.getX(), dragMgr.getY());\n\n currWebGL.clear(currWebGL.COLOR_BUFFER_BIT);\n\n MatrixStack.multMatrix(projMatrix.getArray());\n MatrixStack.multMatrix(viewMatrix.getArray());\n MatrixStack.push();\n\n for (let i = 0; i < live2DMgr.numModels(); i++)\n {\n let model = live2DMgr.getModel(i);\n\n if(model == null) return;\n\n if (model.initialized && !model.updating)\n {\n model.update();\n model.draw(currWebGL);\n }\n }\n MatrixStack.pop();\n}\n\nfunction changeModel(modelurl) // 更换模型\n{\n live2DMgr.reloadFlg = true;\n live2DMgr.count++; // 现在仍有多模型支持,稍后可以精简\n live2DMgr.changeModel(currWebGL, modelurl);\n}\n\nfunction modelScaling(scale) {\n viewMatrix.adjustScale(0, 0, scale);\n}\n/*\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n*/\nfunction dot(A,B)\n{\n return A.x * B.x + A.y * B.y;\n}\n\nfunction normalize(x,y)\n{\n let length = Math.sqrt(x * x + y * y)\n return {\n x: x / length,\n y: y / length\n }\n}\n\nfunction transformRect(center, transform, rect)\n{\n if (transform.x < rect.left + rect.width && transform.y < rect.top + rect.height &&\n transform.x > rect.left && transform.y > rect.top) return transform;\n let Len_X = center.x - transform.x;\n let Len_Y = center.y - transform.y;\n\n function angle(Len_X, Len_Y)\n {\n return Math.acos(dot({\n x: 0,\n y: 1\n }, normalize(Len_X, Len_Y))) * 180 / Math.PI\n }\n\n let angleTarget = angle(Len_X, Len_Y);\n if (transform.x < center.x) angleTarget = 360 - angleTarget;\n let angleLeftTop = 360 - angle(rect.left - center.x, (rect.top - center.y) * -1);\n let angleLeftBottom = 360 - angle(rect.left - center.x, (rect.top + rect.height - center.y) * -1);\n let angleRightTop = angle(rect.left + rect.width - center.x, (rect.top - center.y) * -1);\n let angleRightBottom = angle(rect.left + rect.width - center.x, (rect.top + rect.height - center.y) * -1);\n let scale = Len_Y / Len_X;\n let res = {};\n\n if (angleTarget < angleRightTop) {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if(angleTarget < angleRightBottom) {\n let x3 = rect.left + rect.width - center.x;\n let y3 = x3 * scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftBottom) {\n let y3 = rect.top + rect.height - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftTop) {\n let x3 = center.x - rect.left;\n let y3 = x3 * scale;\n res = {\n y: center.y - y3,\n x: center.x - x3\n }\n } else {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n }\n\n return res;\n}\n\nfunction modelTurnHead(event)\n{\n drag = true;\n\n let rect = canvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTurnHead onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n dragMgr.setPoint(vx, vy);\n}\n\nfunction modelTapEvent(event)\n{\n drag = true;\n\n let rect = canvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTapEvent onMouseDown device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n live2DMgr.tapEvent(vx, vy);\n}\n\nfunction followPointer(event)\n{\n let rect = canvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n\n // log but seems ok\n // console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);\n\n let target = transformRect({// seems ok here\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"followPointer onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n if (drag)\n {\n lastMouseX = sx;\n lastMouseY = sy;\n dragMgr.setPoint(vx, vy);\n }\n}\n\nfunction lookFront()\n{\n if (drag) {\n drag = false;\n }\n dragMgr.setPoint(0, 0);\n}\n\nfunction mouseEvent(e)\n{\n //e.preventDefault();\n if (e.type == \"mousedown\") {\n modelTapEvent(e);\n } else if (e.type == \"mousemove\") {\n modelTurnHead(e);\n } else if (e.type == \"mouseup\") {\n if(\"button\" in e && e.button != 0) return;\n // lookFront();\n } else if (e.type == \"mouseleave\") {\n lookFront();\n }\n}\n\nfunction touchEvent(e)\n{\n var touch = e.touches[0];\n if (e.type == \"touchstart\") {\n if (e.touches.length == 1) modelTapEvent(touch);\n // onClick(touch);\n } else if (e.type == \"touchmove\") {\n followPointer(touch);\n } else if (e.type == \"touchend\") {\n lookFront();\n }\n}\n\nfunction transformViewX(deviceX)\n{\n var screenX = deviceToScreen.transformX(deviceX);\n return viewMatrix.invertTransformX(screenX);\n}\n\n\nfunction transformViewY(deviceY)\n{\n var screenY = deviceToScreen.transformY(deviceY);\n return viewMatrix.invertTransformY(screenY);\n}\n\n\nfunction transformScreenX(deviceX)\n{\n return deviceToScreen.transformX(deviceX);\n}\n\n\nfunction transformScreenY(deviceY)\n{\n return deviceToScreen.transformY(deviceY);\n}\n", + "content": "/**\n * @description The main part of live2d-widget\n */\n\n\nimport { config } from './config/configMgr';\nimport { createElement, currWebGL } from './elementMgr';\nimport { UtSystem,\n UtDebug,\n LDTransform,\n LDGL,\n Live2D,\n Live2DModelWebGL,\n Live2DModelJS,\n Live2DMotion,\n MotionQueueManager,\n PhysicsHair,\n AMotion,\n PartsDataID,\n DrawDataID,\n BaseDataID,\n ParamID } from './lib/live2d.core';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport { cManager } from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport cDefine from \"./cDefine\";\n\nlet isDrawStart = false;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n\n\n\n/**\n * Main function of live2d-widget\n * @return {null}\n */\n\nexport default () => {\n\n createElement();\n\n dragMgr = new L2DTargetPoint();\n let ratio = config.display.height / config.display.width;\n let left = cDefine.VIEW_LOGICAL_LEFT;\n let right = cDefine.VIEW_LOGICAL_RIGHT;\n let bottom = -ratio;\n let top = ratio;\n\n viewMatrix = new L2DViewMatrix();\n\n viewMatrix.setScreenRect(left, right, bottom, top);\n\n viewMatrix.setMaxScreenRect(cDefine.VIEW_LOGICAL_MAX_LEFT,\n cDefine.VIEW_LOGICAL_MAX_RIGHT,\n cDefine.VIEW_LOGICAL_MAX_BOTTOM,\n cDefine.VIEW_LOGICAL_MAX_TOP);\n\n projMatrix = new L2DMatrix44();\n projMatrix.multScale(1, (config.display.width / config.display.height));\n\n deviceToScreen = new L2DMatrix44();\n deviceToScreen.multTranslate(-config.display.width / 2.0, -config.display.height / 2.0); // #32\n deviceToScreen.multScale(2 / config.display.width, -2 / config.display.height); // #32\n\n\n Live2D.setGL(currWebGL);\n currWebGL.clearColor(0.0, 0.0, 0.0, 0.0);\n changeModel(config.model.jsonPath);\n startDraw();\n\n}\n\n\nfunction initEvent(){/*\n if (currCanvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }*/\n}\n\nfunction startDraw() {\n if (!isDrawStart) {\n isDrawStart = true;\n (function tick() {\n draw();\n let requestAnimationFrame =\n window.requestAnimationFrame ||\n window.mozRequestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n window.msRequestAnimationFrame;\n\n requestAnimationFrame(tick, currCanvas);\n })();\n }\n}\n\nfunction draw()\n{\n MatrixStack.reset();\n MatrixStack.loadIdentity();\n dragMgr.update();\n live2DMgr.setDrag(dragMgr.getX(), dragMgr.getY());\n\n currWebGL.clear(currWebGL.COLOR_BUFFER_BIT);\n\n MatrixStack.multMatrix(projMatrix.getArray());\n MatrixStack.multMatrix(viewMatrix.getArray());\n MatrixStack.push();\n\n for (let i = 0; i < live2DMgr.numModels(); i++)\n {\n let model = live2DMgr.getModel(i);\n\n if(model == null) return;\n\n if (model.initialized && !model.updating)\n {\n model.update();\n model.draw(currWebGL);\n }\n }\n MatrixStack.pop();\n}\n\nfunction changeModel(modelurl) // 更换模型\n{\n live2DMgr.reloadFlg = true;\n live2DMgr.count++; // 现在仍有多模型支持,稍后可以精简\n live2DMgr.changeModel(currWebGL, modelurl);\n}\n\nfunction modelScaling(scale) {\n viewMatrix.adjustScale(0, 0, scale);\n}\n/*\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n*/\nfunction dot(A,B)\n{\n return A.x * B.x + A.y * B.y;\n}\n\nfunction normalize(x,y)\n{\n let length = Math.sqrt(x * x + y * y)\n return {\n x: x / length,\n y: y / length\n }\n}\n\nfunction transformRect(center, transform, rect)\n{\n if (transform.x < rect.left + rect.width && transform.y < rect.top + rect.height &&\n transform.x > rect.left && transform.y > rect.top) return transform;\n let Len_X = center.x - transform.x;\n let Len_Y = center.y - transform.y;\n\n function angle(Len_X, Len_Y)\n {\n return Math.acos(dot({\n x: 0,\n y: 1\n }, normalize(Len_X, Len_Y))) * 180 / Math.PI\n }\n\n let angleTarget = angle(Len_X, Len_Y);\n if (transform.x < center.x) angleTarget = 360 - angleTarget;\n let angleLeftTop = 360 - angle(rect.left - center.x, (rect.top - center.y) * -1);\n let angleLeftBottom = 360 - angle(rect.left - center.x, (rect.top + rect.height - center.y) * -1);\n let angleRightTop = angle(rect.left + rect.width - center.x, (rect.top - center.y) * -1);\n let angleRightBottom = angle(rect.left + rect.width - center.x, (rect.top + rect.height - center.y) * -1);\n let scale = Len_Y / Len_X;\n let res = {};\n\n if (angleTarget < angleRightTop) {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if(angleTarget < angleRightBottom) {\n let x3 = rect.left + rect.width - center.x;\n let y3 = x3 * scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftBottom) {\n let y3 = rect.top + rect.height - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftTop) {\n let x3 = center.x - rect.left;\n let y3 = x3 * scale;\n res = {\n y: center.y - y3,\n x: center.x - x3\n }\n } else {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n }\n\n return res;\n}\n\nfunction modelTurnHead(event)\n{\n drag = true;\n\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTurnHead onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n dragMgr.setPoint(vx, vy);\n}\n\nfunction modelTapEvent(event)\n{\n drag = true;\n\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTapEvent onMouseDown device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n live2DMgr.tapEvent(vx, vy);\n}\n\nfunction followPointer(event)\n{\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n\n // log but seems ok\n // console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);\n\n let target = transformRect({// seems ok here\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"followPointer onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n if (drag)\n {\n lastMouseX = sx;\n lastMouseY = sy;\n dragMgr.setPoint(vx, vy);\n }\n}\n\nfunction lookFront()\n{\n if (drag) {\n drag = false;\n }\n dragMgr.setPoint(0, 0);\n}\n\nfunction mouseEvent(e)\n{\n //e.preventDefault();\n if (e.type == \"mousedown\") {\n modelTapEvent(e);\n } else if (e.type == \"mousemove\") {\n modelTurnHead(e);\n } else if (e.type == \"mouseup\") {\n if(\"button\" in e && e.button != 0) return;\n // lookFront();\n } else if (e.type == \"mouseleave\") {\n lookFront();\n }\n}\n\nfunction touchEvent(e)\n{\n var touch = e.touches[0];\n if (e.type == \"touchstart\") {\n if (e.touches.length == 1) modelTapEvent(touch);\n // onClick(touch);\n } else if (e.type == \"touchmove\") {\n followPointer(touch);\n } else if (e.type == \"touchend\") {\n lookFront();\n }\n}\n\nfunction transformViewX(deviceX)\n{\n var screenX = deviceToScreen.transformX(deviceX);\n return viewMatrix.invertTransformX(screenX);\n}\n\n\nfunction transformViewY(deviceY)\n{\n var screenY = deviceToScreen.transformY(deviceY);\n return viewMatrix.invertTransformY(screenY);\n}\n\n\nfunction transformScreenX(deviceX)\n{\n return deviceToScreen.transformX(deviceX);\n}\n\n\nfunction transformScreenY(deviceY)\n{\n return deviceToScreen.transformY(deviceY);\n}\n", "static": true, "longname": "D:/git/live2d-widget.js/src/cLive2DApp.js", "access": "public", @@ -575,7 +606,238 @@ "lineNumber": 1 }, { - "__docId__": 49, + "__docId__": 51, + "kind": "variable", + "name": "isDrawStart", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~isDrawStart", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 28, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + }, + "ignore": true + }, + { + "__docId__": 52, + "kind": "variable", + "name": "dragMgr", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~dragMgr", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 29, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 53, + "kind": "variable", + "name": "viewMatrix", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~viewMatrix", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 30, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 54, + "kind": "variable", + "name": "projMatrix", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~projMatrix", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 31, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 55, + "kind": "variable", + "name": "deviceToScreen", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~deviceToScreen", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 32, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 56, + "kind": "variable", + "name": "drag", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~drag", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 33, + "undocument": true, + "type": { + "types": [ + "boolean" + ] + }, + "ignore": true + }, + { + "__docId__": 57, + "kind": "variable", + "name": "lastMouseX", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~lastMouseX", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 34, + "undocument": true, + "type": { + "types": [ + "number" + ] + }, + "ignore": true + }, + { + "__docId__": 58, + "kind": "variable", + "name": "lastMouseY", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~lastMouseY", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 35, + "undocument": true, + "type": { + "types": [ + "number" + ] + }, + "ignore": true + }, + { + "__docId__": 59, + "kind": "variable", + "name": "headPos", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~headPos", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 36, + "undocument": true, + "type": { + "types": [ + "number" + ] + }, + "ignore": true + }, + { + "__docId__": 60, + "kind": "variable", + "name": "opacityDefault", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~opacityDefault", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 37, + "undocument": true, + "type": { + "types": [ + "number" + ] + }, + "ignore": true + }, + { + "__docId__": 61, + "kind": "variable", + "name": "opacityHover", + "memberof": "src/cLive2DApp.js", + "static": true, + "longname": "src/cLive2DApp.js~opacityHover", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cLive2DApp.js", + "importStyle": null, + "description": null, + "lineNumber": 38, + "undocument": true, + "type": { + "types": [ + "number" + ] + }, + "ignore": true + }, + { + "__docId__": 62, "kind": "function", "name": "cLive2DApp", "memberof": "src/cLive2DApp.js", @@ -588,7 +850,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": "cLive2DApp", "description": "Main function of live2d-widget", - "lineNumber": 52, + "lineNumber": 47, "return": { "nullable": null, "types": [ @@ -600,7 +862,7 @@ "params": [] }, { - "__docId__": 50, + "__docId__": 63, "kind": "function", "name": "initEvent", "memberof": "src/cLive2DApp.js", @@ -613,14 +875,14 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 95, + "lineNumber": 83, "undocument": true, "params": [], "return": null, "ignore": true }, { - "__docId__": 51, + "__docId__": 64, "kind": "function", "name": "startDraw", "memberof": "src/cLive2DApp.js", @@ -633,14 +895,14 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 109, + "lineNumber": 96, "undocument": true, "params": [], "return": null, "ignore": true }, { - "__docId__": 52, + "__docId__": 65, "kind": "function", "name": "draw", "memberof": "src/cLive2DApp.js", @@ -653,14 +915,14 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 125, + "lineNumber": 112, "undocument": true, "params": [], "return": null, "ignore": true }, { - "__docId__": 53, + "__docId__": 66, "kind": "function", "name": "changeModel", "memberof": "src/cLive2DApp.js", @@ -673,7 +935,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 153, + "lineNumber": 140, "undocument": true, "params": [ { @@ -687,7 +949,7 @@ "ignore": true }, { - "__docId__": 54, + "__docId__": 67, "kind": "function", "name": "modelScaling", "memberof": "src/cLive2DApp.js", @@ -700,7 +962,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 160, + "lineNumber": 147, "undocument": true, "params": [ { @@ -714,7 +976,7 @@ "ignore": true }, { - "__docId__": 55, + "__docId__": 68, "kind": "function", "name": "dot", "memberof": "src/cLive2DApp.js", @@ -727,7 +989,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 182, + "lineNumber": 169, "undocument": true, "params": [ { @@ -751,7 +1013,7 @@ "ignore": true }, { - "__docId__": 56, + "__docId__": 69, "kind": "function", "name": "normalize", "memberof": "src/cLive2DApp.js", @@ -764,7 +1026,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 187, + "lineNumber": 174, "undocument": true, "params": [ { @@ -788,7 +1050,7 @@ "ignore": true }, { - "__docId__": 57, + "__docId__": 70, "kind": "function", "name": "transformRect", "memberof": "src/cLive2DApp.js", @@ -801,7 +1063,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 196, + "lineNumber": 183, "undocument": true, "params": [ { @@ -831,7 +1093,7 @@ "ignore": true }, { - "__docId__": 58, + "__docId__": 71, "kind": "function", "name": "modelTurnHead", "memberof": "src/cLive2DApp.js", @@ -844,7 +1106,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 260, + "lineNumber": 247, "undocument": true, "params": [ { @@ -858,7 +1120,7 @@ "ignore": true }, { - "__docId__": 59, + "__docId__": 72, "kind": "function", "name": "modelTapEvent", "memberof": "src/cLive2DApp.js", @@ -871,7 +1133,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 287, + "lineNumber": 274, "undocument": true, "params": [ { @@ -885,7 +1147,7 @@ "ignore": true }, { - "__docId__": 60, + "__docId__": 73, "kind": "function", "name": "followPointer", "memberof": "src/cLive2DApp.js", @@ -898,7 +1160,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 314, + "lineNumber": 301, "undocument": true, "params": [ { @@ -912,7 +1174,7 @@ "ignore": true }, { - "__docId__": 61, + "__docId__": 74, "kind": "function", "name": "lookFront", "memberof": "src/cLive2DApp.js", @@ -925,14 +1187,14 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 345, + "lineNumber": 332, "undocument": true, "params": [], "return": null, "ignore": true }, { - "__docId__": 62, + "__docId__": 75, "kind": "function", "name": "mouseEvent", "memberof": "src/cLive2DApp.js", @@ -945,7 +1207,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 353, + "lineNumber": 340, "undocument": true, "params": [ { @@ -959,7 +1221,7 @@ "ignore": true }, { - "__docId__": 63, + "__docId__": 76, "kind": "function", "name": "touchEvent", "memberof": "src/cLive2DApp.js", @@ -972,7 +1234,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 368, + "lineNumber": 355, "undocument": true, "params": [ { @@ -986,7 +1248,7 @@ "ignore": true }, { - "__docId__": 64, + "__docId__": 77, "kind": "function", "name": "transformViewX", "memberof": "src/cLive2DApp.js", @@ -999,7 +1261,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 381, + "lineNumber": 368, "undocument": true, "params": [ { @@ -1017,7 +1279,7 @@ "ignore": true }, { - "__docId__": 65, + "__docId__": 78, "kind": "function", "name": "transformViewY", "memberof": "src/cLive2DApp.js", @@ -1030,7 +1292,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 388, + "lineNumber": 375, "undocument": true, "params": [ { @@ -1048,7 +1310,7 @@ "ignore": true }, { - "__docId__": 66, + "__docId__": 79, "kind": "function", "name": "transformScreenX", "memberof": "src/cLive2DApp.js", @@ -1061,7 +1323,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 395, + "lineNumber": 382, "undocument": true, "params": [ { @@ -1079,7 +1341,7 @@ "ignore": true }, { - "__docId__": 67, + "__docId__": 80, "kind": "function", "name": "transformScreenY", "memberof": "src/cLive2DApp.js", @@ -1092,7 +1354,7 @@ "importPath": "live2d-widget/src/cLive2DApp.js", "importStyle": null, "description": null, - "lineNumber": 401, + "lineNumber": 388, "undocument": true, "params": [ { @@ -1110,162 +1372,186 @@ "ignore": true }, { - "__docId__": 68, + "__docId__": 81, "kind": "file", - "name": "src/config/configMgr.js", - "content": "// Created by xiazeyu.\n\n/**\n * @description The manager of configeration.\n */\n\n\n'use strict';\n\nimport _ from 'lodash';\n\n/**\n * The container of current configs\n * @type {Object}\n */\n\nlet currConfig = {};\n/**\n * Default settings for defaulter\n * @type {Object}\n */\n\nconst defaultConfig = {\n model: {\n jsonPath: 'https://unpkg.com/live2d-widget-model-shizuku@1.0.0/assets/shizuku.model.json',\n scale: 1,\n hHeadPos: 0.5,\n vHeadPos: 0.618,\n myDefine: [],\n },\n display: {\n antialias: 2,\n width: 150,\n height: 300,\n position: 'right',\n hOffset: 0,\n vOffset: -20,\n },\n mobile: {\n show: true,\n scale: 0.5,\n motion: true,\n },\n name: {\n canvas: 'live2dcanvas',\n div: 'live2d-widget',\n },\n react: {\n opacityDefault: 0.7,\n opacityOnHover: 0.2,\n myFunc: (e) => {console.log('(undefined) ┑( ̄Д  ̄)┍');},\n },\n dev: {\n log: false,\n border: (process.env.NODE_ENV === 'development' ? true : false),\n mouseLog: false,\n mouseFunc: (x, y, ix, iy) => {console.log(`MouseFunc: ${x},${y}; ${ix}, ${iy}`);},\n },\n // _: true,\n}\n\n/**\n * Apply users function, make the full settings\n * @param {Object} [userConfig] User's custom config\n * @return {null}\n */\n\nfunction configApplyer(userConfig){\n\n // if (_.has(userConfig, '_')){\n // import(/* webpackMode: \"lazy\" */ './configValidater').then(f => {\n // f.configValidater(userConfig);\n // }).catch(err => {\n // console.error(err);\n // });\n // }\n\n currConfig = _.defaultsDeep(userConfig, defaultConfig);\n console.log('currConfig:', currConfig);\n\n}\n\nexport {\n configApplyer,\n currConfig as config,\n}\n", + "name": "src/cManager.js", + "content": "import { Live2DFramework } from \"./lib/Live2DFramework\";\nimport { PlatformManager } from \"./lib/PlatformManager\";\nimport { cModel } from \"./cModel\";\nimport { cDefine } from \"./cDefine\";\n\nfunction cManager() {\n // console.log(\"--> cManager()\");\n\n this.models = [];\n this.count = -1;\n this.reloadFlg = false;\n\n Live2D.init();\n Live2DFramework.setPlatformManager(new PlatformManager);\n\n}\n\ncManager.prototype.createModel = function () {\n\n var model = new cModel();\n this.models.push(model);\n\n return model;\n\n}\n\n\ncManager.prototype.changeModel = function (gl, modelurl) {\n // console.log(\"--> cManager.update(gl)\");\n\n if (this.reloadFlg) {\n this.reloadFlg = false;\n this.releaseModel(0, gl);\n this.createModel();\n this.models[0].load(gl, modelurl);\n }\n\n};\n\n\ncManager.prototype.getModel = function (no) {\n // console.log(\"--> cManager.getModel(\" + no + \")\");\n\n if (no >= this.models.length) return null;\n\n return this.models[no];\n};\n\n\n\ncManager.prototype.releaseModel = function (no, gl) {\n // console.log(\"--> cManager.releaseModel(\" + no + \")\");\n\n if (this.models.length <= no) return;\n\n this.models[no].release(gl);\n\n delete this.models[no];\n this.models.splice(no, 1);\n};\n\n\n\ncManager.prototype.numModels = function () {\n return this.models.length;\n};\n\n\n\ncManager.prototype.setDrag = function (x, y) {\n for (var i = 0; i < this.models.length; i++) {\n this.models[i].setDrag(x, y);\n }\n}\n\ncManager.prototype.tapEvent = function (x, y) {\n if (cDefine.DEBUG_LOG)\n console.log(\"tapEvent view x:\" + x + \" y:\" + y);\n\n for (var i = 0; i < this.models.length; i++) {\n\n if (this.models[i].hitTest(cDefine.HIT_AREA_HEAD, x, y)) {\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Tap face.\");\n\n this.models[i].setRandomExpression();\n }\n else if (this.models[i].hitTest(cDefine.HIT_AREA_BODY, x, y)) {\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Tap body.\" + \" models[\" + i + \"]\");\n\n this.models[i].startRandomMotion(cDefine.MOTION_GROUP_TAP_BODY,\n cDefine.PRIORITY_NORMAL);\n }\n }\n\n return true;\n};\n\nexport{\n cManager,\n}\n", "static": true, - "longname": "D:/git/live2d-widget.js/src/config/configMgr.js", + "longname": "D:/git/live2d-widget.js/src/cManager.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 69, - "kind": "variable", - "name": "currConfig", - "memberof": "src/config/configMgr.js", + "__docId__": 82, + "kind": "function", + "name": "createModel", + "memberof": "src/cManager.js", + "generator": false, + "async": false, "static": true, - "longname": "src/config/configMgr.js~currConfig", + "longname": "src/cManager.js~createModel", "access": "public", "export": false, - "importPath": "live2d-widget/src/config/configMgr.js", + "importPath": "live2d-widget/src/cManager.js", "importStyle": null, - "description": "The container of current configs", - "lineNumber": 17, - "type": { - "nullable": null, + "description": null, + "lineNumber": 18, + "undocument": true, + "params": [], + "return": { "types": [ - "Object" - ], - "spread": false, - "description": null + "*" + ] }, "ignore": true }, { - "__docId__": 70, - "kind": "variable", - "name": "defaultConfig", - "memberof": "src/config/configMgr.js", + "__docId__": 83, + "kind": "function", + "name": "changeModel", + "memberof": "src/cManager.js", + "generator": false, + "async": false, "static": true, - "longname": "src/config/configMgr.js~defaultConfig", + "longname": "src/cManager.js~changeModel", "access": "public", "export": false, - "importPath": "live2d-widget/src/config/configMgr.js", + "importPath": "live2d-widget/src/cManager.js", "importStyle": null, - "description": "Default settings for defaulter", - "lineNumber": 23, - "type": { - "nullable": null, - "types": [ - "Object" - ], - "spread": false, - "description": null - }, + "description": null, + "lineNumber": 28, + "undocument": true, + "params": [ + { + "name": "gl", + "types": [ + "*" + ] + }, + { + "name": "modelurl", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 71, + "__docId__": 84, "kind": "function", - "name": "configApplyer", - "memberof": "src/config/configMgr.js", + "name": "getModel", + "memberof": "src/cManager.js", "generator": false, "async": false, "static": true, - "longname": "src/config/configMgr.js~configApplyer", + "longname": "src/cManager.js~getModel", "access": "public", - "export": true, - "importPath": "live2d-widget/src/config/configMgr.js", - "importStyle": "{configApplyer}", + "export": false, + "importPath": "live2d-widget/src/cManager.js", + "importStyle": null, "description": null, - "lineNumber": 68, + "lineNumber": 41, "undocument": true, "params": [ { - "name": "userConfig", + "name": "no", "types": [ "*" ] } ], - "return": null - }, - { - "__docId__": 72, - "kind": "file", - "name": "src/config/configValidater.js", - "content": "// Created by xiazeyu.\n\n/**\n * @description The validater function for user's config.\n * @deprecated Only respond one time when you call it, won't be built in production.\n * @requires prop-types, use npm i prop-types\n */\n\n\n'use strict';\n\n\nlet PropTypes = require('prop-types');\n/**\n * The propTypes configeration of config\n * @type {Object}\n */\n\nconst configPropTypes = {\n model: PropTypes.shape({\n jsonPath: PropTypes.string,\n hHeadPos: PropTypes.number,\n vHeadPos: PropTypes.number,\n myDefine: PropTypes.array,\n }),\n display: PropTypes.shape({\n antialias: PropTypes.number,\n width: PropTypes.number,\n height: PropTypes.number,\n scale: PropTypes.number,\n position: PropTypes.oneOf(['left', 'right']),\n hOffset: PropTypes.number,\n vOffset: PropTypes.number,\n }),\n mobile: PropTypes.shape({\n show: PropTypes.bool,\n scale: PropTypes.number,\n motion: PropTypes.bool,\n }),\n name: PropTypes.shape({\n canvas: PropTypes.string,\n div: PropTypes.string,\n }),\n react: PropTypes.shape({\n opacityDefault: PropTypes.number,\n opacityOnHover: PropTypes.number,\n myFunc: PropTypes.func,\n }),\n dev: PropTypes.shape({\n log: PropTypes.bool,\n border: PropTypes.bool,\n mouseLog: PropTypes.bool,\n mouseFunc: PropTypes.func,\n }),\n}\n/**\n * The validater for user config\n * See https://github.com/facebook/prop-types\n * @param {Object} [userConfig] User's config\n * @description Only console.warn\n * @deprecated Only respond one time when you call it, won't be built in production.\n * @return {null}\n */\n\nfunction configValidater(userConfig){\n PropTypes.checkPropTypes(configPropTypes, userConfig, 'config', 'Live2D-widget');\n}\n\nif (process.env.NODE_ENV === 'development') window.cV = configValidater;\n\nmodule.exports = {\n configValidater: configValidater,\n}\n", - "static": true, - "longname": "D:/git/live2d-widget.js/src/config/configValidater.js", - "access": "public", - "description": null, - "lineNumber": 1 + "return": { + "types": [ + "*" + ] + }, + "ignore": true }, { - "__docId__": 73, - "kind": "variable", - "name": "PropTypes", - "memberof": "src/config/configValidater.js", + "__docId__": 85, + "kind": "function", + "name": "releaseModel", + "memberof": "src/cManager.js", + "generator": false, + "async": false, "static": true, - "longname": "src/config/configValidater.js~PropTypes", + "longname": "src/cManager.js~releaseModel", "access": "public", "export": false, - "importPath": "live2d-widget/src/config/configValidater.js", + "importPath": "live2d-widget/src/cManager.js", "importStyle": null, "description": null, - "lineNumber": 13, + "lineNumber": 51, "undocument": true, - "type": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "no", + "types": [ + "*" + ] + }, + { + "name": "gl", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 74, - "kind": "variable", - "name": "configPropTypes", - "memberof": "src/config/configValidater.js", + "__docId__": 86, + "kind": "function", + "name": "numModels", + "memberof": "src/cManager.js", + "generator": false, + "async": false, "static": true, - "longname": "src/config/configValidater.js~configPropTypes", + "longname": "src/cManager.js~numModels", "access": "public", "export": false, - "importPath": "live2d-widget/src/config/configValidater.js", + "importPath": "live2d-widget/src/cManager.js", "importStyle": null, - "description": "The propTypes configeration of config", - "lineNumber": 19, - "type": { - "nullable": null, + "description": null, + "lineNumber": 64, + "undocument": true, + "params": [], + "return": { "types": [ - "Object" - ], - "spread": false, - "description": null + "*" + ] }, "ignore": true }, { - "__docId__": 75, + "__docId__": 87, "kind": "function", - "name": "configValidater", - "memberof": "src/config/configValidater.js", + "name": "setDrag", + "memberof": "src/cManager.js", "generator": false, "async": false, "static": true, - "longname": "src/config/configValidater.js~configValidater", + "longname": "src/cManager.js~setDrag", "access": "public", "export": false, - "importPath": "live2d-widget/src/config/configValidater.js", + "importPath": "live2d-widget/src/cManager.js", "importStyle": null, "description": null, - "lineNumber": 65, + "lineNumber": 70, "undocument": true, "params": [ { - "name": "userConfig", + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", "types": [ "*" ] @@ -1275,532 +1561,547 @@ "ignore": true }, { - "__docId__": 76, - "kind": "file", - "name": "src/elementMgr.js", - "content": "/**\n * @description The container and manager for all the DOM and WebGL emelents.\n */\n\n\nimport { config } from './config/configMgr';\nimport htmlTemplate from './tmplate/innerHTML';\n\n/**\n * The current WebGL element\n * @type {RenderingContext}\n */\n\nlet currWebGL = undefined;\n\n/**\n * The current canvas element\n * @type {HTMLElement}\n */\n\nlet currCanvas;\n\n/**\n * Create the canvas and styles using DOM\n * @return {null}\n */\n\nfunction createElement(){\n\n let newElem = document.createElement('div');\n newElem.id = config.name.div;\n newElem.innerHTML = htmlTemplate;\n let newCanvasElem = document.createElement('canvas');\n newCanvasElem.setAttribute('id', config.name.canvas);\n newCanvasElem.setAttribute('width', config.display.width * config.display.antialias);\n newCanvasElem.setAttribute('height', config.display.height * config.display.antialias);\n newCanvasElem.style.setProperty('position', 'fixed');\n newCanvasElem.style.setProperty('width', config.display.width);\n newCanvasElem.style.setProperty('height', config.display.height);\n newCanvasElem.style.setProperty('opacity', config.react.opacityDefault);\n newCanvasElem.style.setProperty(config.display.position, config.display.hOffset + 'px');\n newCanvasElem.style.setProperty('bottom', config.display.vOffset + 'px');\n newCanvasElem.style.setProperty('z-index', 99999);\n newCanvasElem.style.setProperty('pointer-events', 'none');\n if(config.dev.border) newCanvasElem.style.setProperty('border', 'dashed 1px #CCC');\n newElem.appendChild(newCanvasElem);\n\n document.body.appendChild(newElem);\n currCanvas = document.getElementById(config.name.canvas);\n\n initWebGL();\n\n}\n\n/**\n * Find and set the current WebGL element to the container\n * @return {null}\n */\n\nfunction initWebGL(){\n\n var NAMES = ['webgl2', 'webgl', 'experimental-webgl2', 'experimental-webgl', 'webkit-3d', 'moz-webgl'];\n for(let i = 0; i < NAMES.length; i++){\n try{\n let ctx = currCanvas.getContext(NAMES[i], {\n alpha: true,\n antialias: true,\n premultipliedAlpha: true,\n failIfMajorPerformanceCaveat: false,\n });\n if(ctx) currWebGL = ctx;\n }catch(e){}\n }\n if(!currWebGL){\n console.error('Live2D widgets: Failed to create WebGL context.');\n if(!window.WebGLRenderingContext){\n console.error('Your browser may not support WebGL, check https://get.webgl.org/ for futher information.');\n }\n return;\n }\n};\n\n\nexport{\n createElement,\n currWebGL,\n}\n", - "static": true, - "longname": "D:/git/live2d-widget.js/src/elementMgr.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 77, + "__docId__": 88, "kind": "function", - "name": "initWebGL", - "memberof": "src/elementMgr.js", + "name": "tapEvent", + "memberof": "src/cManager.js", "generator": false, "async": false, "static": true, - "longname": "src/elementMgr.js~initWebGL", + "longname": "src/cManager.js~tapEvent", "access": "public", "export": false, - "importPath": "live2d-widget/src/elementMgr.js", + "importPath": "live2d-widget/src/cManager.js", "importStyle": null, - "description": "Find and set the current WebGL element to the container", - "lineNumber": 60, + "description": null, + "lineNumber": 76, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", + "types": [ + "*" + ] + } + ], "return": { - "nullable": null, "types": [ - "null" - ], - "spread": false, - "description": "" + "boolean" + ] }, - "params": [], "ignore": true }, { - "__docId__": 78, + "__docId__": 89, "kind": "function", - "name": "createElement", - "memberof": "src/elementMgr.js", + "name": "cManager", + "memberof": "src/cManager.js", "generator": false, "async": false, "static": true, - "longname": "src/elementMgr.js~createElement", + "longname": "src/cManager.js~cManager", "access": "public", "export": true, - "importPath": "live2d-widget/src/elementMgr.js", - "importStyle": "{createElement}", - "description": "Create the canvas and styles using DOM", - "lineNumber": 28, - "return": { - "nullable": null, - "types": [ - "null" - ], - "spread": false, - "description": "" - }, - "params": [] + "importPath": "live2d-widget/src/cManager.js", + "importStyle": "{cManager}", + "description": null, + "lineNumber": 6, + "undocument": true, + "params": [], + "return": null }, { - "__docId__": 79, - "kind": "variable", - "name": "currWebGL", - "memberof": "src/elementMgr.js", + "__docId__": 90, + "kind": "file", + "name": "src/cModel.js", + "content": "import { Live2DFramework, L2DBaseModel, L2DEyeBlink } from \"./lib/Live2DFramework\";\nimport { ModelSettingJson } from \"./utils/ModelSettingJson\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport { cDefine } from \"./cDefine\";\n\n//============================================================\n//============================================================\n// class cModel extends L2DBaseModel\n//============================================================\n//============================================================\nexport default function cModel()\n{\n //L2DBaseModel.apply(this, arguments);\n L2DBaseModel.prototype.constructor.call(this);\n\n this.modelHomeDir = \"\";\n this.modelSetting = null;\n this.tmpMatrix = [];\n}\n\ncModel.prototype = new L2DBaseModel();\n\n\ncModel.prototype.load = function(gl, modelSettingPath, callback)\n{\n this.setUpdating(true);\n this.setInitialized(false);\n\n this.modelHomeDir = modelSettingPath.substring(0, modelSettingPath.lastIndexOf(\"/\") + 1);\n\n this.modelSetting = new ModelSettingJson();\n\n var thisRef = this;\n\n this.modelSetting.loadModelSetting(modelSettingPath, function(){\n\n var path = thisRef.modelHomeDir + thisRef.modelSetting.getModelFile();\n thisRef.loadModelData(path, function(model){\n\n for (var i = 0; i < thisRef.modelSetting.getTextureNum(); i++)\n {\n\n var texPaths = thisRef.modelHomeDir +\n thisRef.modelSetting.getTextureFile(i);\n\n thisRef.loadTexture(i, texPaths, function() {\n\n if( thisRef.isTexLoaded ) {\n\n if (thisRef.modelSetting.getExpressionNum() > 0)\n {\n\n thisRef.expressions = {};\n\n for (var j = 0; j < thisRef.modelSetting.getExpressionNum(); j++)\n {\n var expName = thisRef.modelSetting.getExpressionName(j);\n var expFilePath = thisRef.modelHomeDir +\n thisRef.modelSetting.getExpressionFile(j);\n\n thisRef.loadExpression(expName, expFilePath);\n }\n }\n else\n {\n thisRef.expressionManager = null;\n thisRef.expressions = {};\n }\n\n\n\n if (thisRef.eyeBlink == null)\n {\n thisRef.eyeBlink = new L2DEyeBlink();\n }\n\n\n if (thisRef.modelSetting.getPhysicsFile() != null)\n {\n thisRef.loadPhysics(thisRef.modelHomeDir +\n thisRef.modelSetting.getPhysicsFile());\n }\n else\n {\n thisRef.physics = null;\n }\n\n\n\n if (thisRef.modelSetting.getPoseFile() != null)\n {\n thisRef.loadPose(\n thisRef.modelHomeDir +\n thisRef.modelSetting.getPoseFile(),\n function() {\n thisRef.pose.updateParam(thisRef.live2DModel);\n }\n );\n }\n else\n {\n thisRef.pose = null;\n }\n\n\n\n if (thisRef.modelSetting.getLayout() != null)\n {\n var layout = thisRef.modelSetting.getLayout();\n if (layout[\"width\"] != null)\n thisRef.modelMatrix.setWidth(layout[\"width\"]);\n if (layout[\"height\"] != null)\n thisRef.modelMatrix.setHeight(layout[\"height\"]);\n\n if (layout[\"x\"] != null)\n thisRef.modelMatrix.setX(layout[\"x\"]);\n if (layout[\"y\"] != null)\n thisRef.modelMatrix.setY(layout[\"y\"]);\n if (layout[\"center_x\"] != null)\n thisRef.modelMatrix.centerX(layout[\"center_x\"]);\n if (layout[\"center_y\"] != null)\n thisRef.modelMatrix.centerY(layout[\"center_y\"]);\n if (layout[\"top\"] != null)\n thisRef.modelMatrix.top(layout[\"top\"]);\n if (layout[\"bottom\"] != null)\n thisRef.modelMatrix.bottom(layout[\"bottom\"]);\n if (layout[\"left\"] != null)\n thisRef.modelMatrix.left(layout[\"left\"]);\n if (layout[\"right\"] != null)\n thisRef.modelMatrix.right(layout[\"right\"]);\n }\n\n for (var j = 0; j < thisRef.modelSetting.getInitParamNum(); j++)\n {\n\n thisRef.live2DModel.setParamFloat(\n thisRef.modelSetting.getInitParamID(j),\n thisRef.modelSetting.getInitParamValue(j)\n );\n }\n\n for (var j = 0; j < thisRef.modelSetting.getInitPartsVisibleNum(); j++)\n {\n\n thisRef.live2DModel.setPartsOpacity(\n thisRef.modelSetting.getInitPartsVisibleID(j),\n thisRef.modelSetting.getInitPartsVisibleValue(j)\n );\n }\n\n\n\n thisRef.live2DModel.saveParam();\n // thisRef.live2DModel.setGL(gl);\n\n\n thisRef.preloadMotionGroup(cDefine.MOTION_GROUP_IDLE);\n thisRef.mainMotionManager.stopAllMotions();\n\n thisRef.setUpdating(false);\n thisRef.setInitialized(true);\n\n if (typeof callback == \"function\") callback();\n\n }\n });\n }\n });\n });\n};\n\n\n\ncModel.prototype.release = function(gl)\n{\n // this.live2DModel.deleteTextures();\n var pm = Live2DFramework.getPlatformManager();\n\n gl.deleteTexture(pm.texture);\n}\n\n\n\ncModel.prototype.preloadMotionGroup = function(name)\n{\n var thisRef = this;\n\n for (var i = 0; i < this.modelSetting.getMotionNum(name); i++)\n {\n var file = this.modelSetting.getMotionFile(name, i);\n this.loadMotion(file, this.modelHomeDir + file, function(motion) {\n motion.setFadeIn(thisRef.modelSetting.getMotionFadeIn(name, i));\n motion.setFadeOut(thisRef.modelSetting.getMotionFadeOut(name, i));\n });\n\n }\n}\n\n\ncModel.prototype.update = function()\n{\n // console.log(\"--> cModel.update()\");\n\n if(this.live2DModel == null)\n {\n if (cDefine.DEBUG_LOG) console.error(\"Failed to update.\");\n\n return;\n }\n\n var timeMSec = UtSystem.getUserTimeMSec() - this.startTimeMSec;\n var timeSec = timeMSec / 1000.0;\n var t = timeSec * 2 * Math.PI;\n\n\n if (this.mainMotionManager.isFinished())\n {\n\n this.startRandomMotion(cDefine.MOTION_GROUP_IDLE, cDefine.PRIORITY_IDLE);\n }\n\n //-----------------------------------------------------------------\n\n\n this.live2DModel.loadParam();\n\n\n\n var update = this.mainMotionManager.updateParam(this.live2DModel);\n if (!update) {\n\n if(this.eyeBlink != null) {\n this.eyeBlink.updateParam(this.live2DModel);\n }\n }\n\n\n this.live2DModel.saveParam();\n\n //-----------------------------------------------------------------\n\n\n if (this.expressionManager != null &&\n this.expressions != null &&\n !this.expressionManager.isFinished())\n {\n this.expressionManager.updateParam(this.live2DModel);\n }\n\n\n\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_X\", this.dragX * 30, 1);\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_Y\", this.dragY * 30, 1);\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_Z\", (this.dragX * this.dragY) * -30, 1);\n\n\n\n this.live2DModel.addToParamFloat(\"PARAM_BODY_ANGLE_X\", this.dragX*10, 1);\n\n\n\n this.live2DModel.addToParamFloat(\"PARAM_EYE_BALL_X\", this.dragX, 1);\n this.live2DModel.addToParamFloat(\"PARAM_EYE_BALL_Y\", this.dragY, 1);\n\n\n\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_X\",\n Number((15 * Math.sin(t / 6.5345))), 0.5);\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_Y\",\n Number((8 * Math.sin(t / 3.5345))), 0.5);\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_Z\",\n Number((10 * Math.sin(t / 5.5345))), 0.5);\n this.live2DModel.addToParamFloat(\"PARAM_BODY_ANGLE_X\",\n Number((4 * Math.sin(t / 15.5345))), 0.5);\n this.live2DModel.setParamFloat(\"PARAM_BREATH\",\n Number((0.5 + 0.5 * Math.sin(t / 3.2345))), 1);\n\n\n if (this.physics != null)\n {\n this.physics.updateParam(this.live2DModel);\n }\n\n\n if (this.lipSync == null)\n {\n this.live2DModel.setParamFloat(\"PARAM_MOUTH_OPEN_Y\",\n this.lipSyncValue);\n }\n\n\n if( this.pose != null ) {\n this.pose.updateParam(this.live2DModel);\n }\n\n this.live2DModel.update();\n};\n\n\n\ncModel.prototype.setRandomExpression = function()\n{\n var tmp = [];\n for (var name in this.expressions)\n {\n tmp.push(name);\n }\n\n var no = parseInt(Math.random() * tmp.length);\n\n this.setExpression(tmp[no]);\n}\n\n\n\ncModel.prototype.startRandomMotion = function(name, priority)\n{\n var max = this.modelSetting.getMotionNum(name);\n var no = parseInt(Math.random() * max);\n this.startMotion(name, no, priority);\n}\n\n\n\ncModel.prototype.startMotion = function(name, no, priority)\n{\n // console.log(\"startMotion : \" + name + \" \" + no + \" \" + priority);\n\n var motionName = this.modelSetting.getMotionFile(name, no);\n\n if (motionName == null || motionName == \"\")\n {\n if (cDefine.DEBUG_LOG)\n console.error(\"Failed to motion.\");\n return;\n }\n\n if (priority == cDefine.PRIORITY_FORCE)\n {\n this.mainMotionManager.setReservePriority(priority);\n }\n else if (!this.mainMotionManager.reserveMotion(priority))\n {\n if (cDefine.DEBUG_LOG)\n console.log(\"Motion is running.\")\n return;\n }\n\n var thisRef = this;\n var motion;\n\n if (this.motions[name] == null)\n {\n this.loadMotion(null, this.modelHomeDir + motionName, function(mtn) {\n motion = mtn;\n\n\n thisRef.setFadeInFadeOut(name, no, priority, motion);\n\n });\n }\n else\n {\n motion = this.motions[name];\n\n\n thisRef.setFadeInFadeOut(name, no, priority, motion);\n }\n}\n\n\ncModel.prototype.setFadeInFadeOut = function(name, no, priority, motion)\n{\n var motionName = this.modelSetting.getMotionFile(name, no);\n\n motion.setFadeIn(this.modelSetting.getMotionFadeIn(name, no));\n motion.setFadeOut(this.modelSetting.getMotionFadeOut(name, no));\n\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Start motion : \" + motionName);\n\n if (this.modelSetting.getMotionSound(name, no) == null)\n {\n this.mainMotionManager.startMotionPrio(motion, priority);\n }\n else\n {\n var soundName = this.modelSetting.getMotionSound(name, no);\n // var player = new Sound(this.modelHomeDir + soundName);\n\n var snd = document.createElement(\"audio\");\n snd.src = this.modelHomeDir + soundName;\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Start sound : \" + soundName);\n\n snd.play();\n this.mainMotionManager.startMotionPrio(motion, priority);\n }\n}\n\n\n\ncModel.prototype.setExpression = function(name)\n{\n var motion = this.expressions[name];\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Expression : \" + name);\n\n this.expressionManager.startMotion(motion, false);\n}\n\n\n\ncModel.prototype.draw = function(gl)\n{\n //console.log(\"--> cModel.draw()\");\n\n // if(this.live2DModel == null) return;\n\n\n MatrixStack.push();\n\n MatrixStack.multMatrix(this.modelMatrix.getArray());\n\n this.tmpMatrix = MatrixStack.getMatrix()\n this.live2DModel.setMatrix(this.tmpMatrix);\n this.live2DModel.draw();\n\n MatrixStack.pop();\n\n};\n\n\n\ncModel.prototype.hitTest = function(id, testX, testY)\n{\n var len = this.modelSetting.getHitAreaNum();\n for (var i = 0; i < len; i++)\n {\n if (id == this.modelSetting.getHitAreaName(i))\n {\n var drawID = this.modelSetting.getHitAreaID(i);\n\n return this.hitTestSimple(drawID, testX, testY);\n }\n }\n\n return false;\n}\n", "static": true, - "longname": "src/elementMgr.js~currWebGL", + "longname": "D:/git/live2d-widget.js/src/cModel.js", "access": "public", - "export": true, - "importPath": "live2d-widget/src/elementMgr.js", - "importStyle": "{currWebGL}", - "description": "The current WebGL element", - "lineNumber": 14, - "type": { - "nullable": null, - "types": [ - "RenderingContext" - ], - "spread": false, - "description": null - } + "description": null, + "lineNumber": 1 }, { - "__docId__": 80, - "kind": "file", - "name": "src/index.js", - "content": "// Created by xiazeyu.\n\n////////////////////////////////////\n// Celebrate for the 3.0 version! //\n////////////////////////////////////\n\n/**\n * @description The entry point of live2d-widget.\n */\n\n\n'use strict';\n\nimport device from 'current-device';\nimport { config, configApplyer }from './config/configMgr';\n\nif (process.env.NODE_ENV === 'development'){\n console.log('--- --- --- --- ---\\nHey that, notice that you are now in DEV MODE.\\n--- --- --- --- ---');\n}\n\n/**\n * The public entry point\n * @param {Object} [userConfig] User's custom config 用户自定义设置\n * @param {String} [userConfig.model.jsonPath = ''] Path to Live2D model's main json eg. `https://test.com/miku.model.json` model主文件路径\n * @param {Number} [userConfig.model.scale = 1] Scale between the model and the canvas 模型与canvas的缩放\n * @param {Number} [userConfig.model.hHeadPos = 0.5] Horizontal position of model's head 模型头部横坐标\n * @param {Number} [userConfig.model.vHeadPos = 0.618] Vertical position of model's head 模型头部纵坐标\n * @param {Array} [userConfig.model.myDefine = []] User's custom Defines which will override LDefine 自定义的LDefine\n * @param {Number} [userConfig.display.antialias = 2] Antialiasing grade 抗锯齿级别\n * @param {Number} [userConfig.display.width = 150] Width to the canvas which shows the model canvas的长度\n * @param {Number} [userConfig.display.height = 300] Height to the canvas which shows the model canvas的高度\n * @param {String} [userConfig.display.position = 'right'] Left of right side to show 显示位置:左或右\n * @param {Number} [userConfig.display.hOffset = 0] Horizontal offset of the canvas canvas水平偏移\n * @param {Number} [userConfig.display.vOffset = -20] Vertical offset of the canvas canvas垂直偏移\n * @param {Boolean} [userConfig.mobile.show = true] Whether to show on mobile device 是否在移动设备上显示\n * @param {Number} [userConfig.mobile.scale = 0.5] Scale on mobile device 移动设备上的缩放\n * @param {Boolean} [userConfig.mobile.motion = true] Whether to enable motion detection on mobile devices 移动设备是否开启重力感应\n * @param {String} [userConfig.name.canvas = 'live2dcanvas'] ID name of the canvas canvas元素的ID\n * @param {String} [userConfig.name.div = 'live2d-widget'] ID name of the div div元素的ID\n * @param {Number} [userConfig.react.opacityDefault = 0.7] Default opacity 默认透明度\n * @param {Number} [userConfig.react.opacityOnHover = 0.2] OnHover opacity 鼠标移上透明度\n * @param {Function} [userConfig.react.myFunc = func(e)] Custom event handler, won't override main handler, will reveice the event type. 自定义事件接收器\n * @param {Boolean} [userConfig.dev.log = false] Whether to show log 显示日志\n * @param {Boolean} [userConfig.dev.border = false] Whether to show border around the canvas 在canvas周围显示边界\n * @param {Boolean} [userConfig.dev.mouseLog = false] Whether to show mouse log (tons of log), only work when dev.log is enabled 显示鼠标移动\n * @param {Function} [userConfig.dev.mouseFunc = func(x, y, ix, iy)] Custom logger, only work when dev.log is enabled, will receive (x, y, ix, iy), which presents the actucally position and vitural position 自定义鼠标移动处理函数\n * @return {null}\n */\n\nfunction init(userConfig){\n\n userConfig = typeof userConfig === 'undefined' ? {} : userConfig;\n\n configApplyer(userConfig);\n\n if((!config.mobile.show)&&(device.mobile())){\n return;\n }\n\n import(/* webpackMode: \"lazy\" */ './cLive2DApp').then(f => {\n f.default();\n }).catch(err => {\n console.error(err);\n });\n\n}\n\nexport {\n init,\n}\n", + "__docId__": 91, + "kind": "function", + "name": "cModel", + "memberof": "src/cModel.js", + "generator": false, + "async": false, "static": true, - "longname": "D:/git/live2d-widget.js/src/index.js", + "longname": "src/cModel.js~cModel", "access": "public", + "export": true, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": "cModel", "description": null, - "lineNumber": 1 + "lineNumber": 11, + "undocument": true, + "params": [], + "return": null }, { - "__docId__": 81, + "__docId__": 92, "kind": "function", - "name": "init", - "memberof": "src/index.js", + "name": "load", + "memberof": "src/cModel.js", "generator": false, "async": false, "static": true, - "longname": "src/index.js~init", + "longname": "src/cModel.js~load", "access": "public", - "export": true, - "importPath": "live2d-widget/src/index.js", - "importStyle": "{init}", - "description": "The public entry point", - "lineNumber": 50, + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 24, + "undocument": true, "params": [ { - "nullable": null, - "types": [ - "Object" - ], - "spread": false, - "optional": true, - "name": "userConfig", - "description": "User's custom config 用户自定义设置" - }, - { - "nullable": null, + "name": "gl", "types": [ - "String" - ], - "spread": false, - "optional": true, - "defaultValue": " ''", - "defaultRaw": " ''", - "name": "userConfig.model.jsonPath", - "description": "Path to Live2D model's main json eg. `https://test.com/miku.model.json` model主文件路径" + "*" + ] }, { - "nullable": null, + "name": "modelSettingPath", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 1", - "defaultRaw": 1, - "name": "userConfig.model.scale", - "description": "Scale between the model and the canvas 模型与canvas的缩放" + "*" + ] }, { - "nullable": null, + "name": "callback", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 0.5", - "defaultRaw": 0.5, - "name": "userConfig.model.hHeadPos", - "description": "Horizontal position of model's head 模型头部横坐标" - }, + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 93, + "kind": "function", + "name": "release", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~release", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 174, + "undocument": true, + "params": [ { - "nullable": null, + "name": "gl", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 0.618", - "defaultRaw": 0.618, - "name": "userConfig.model.vHeadPos", - "description": "Vertical position of model's head 模型头部纵坐标" - }, + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 94, + "kind": "function", + "name": "preloadMotionGroup", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~preloadMotionGroup", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 184, + "undocument": true, + "params": [ { - "nullable": null, + "name": "name", "types": [ - "Array" - ], - "spread": false, - "optional": true, - "defaultValue": " []", - "defaultRaw": [], - "name": "userConfig.model.myDefine", - "description": "User's custom Defines which will override LDefine 自定义的LDefine" - }, + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 95, + "kind": "function", + "name": "update", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~update", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 200, + "undocument": true, + "params": [], + "return": null, + "ignore": true + }, + { + "__docId__": 96, + "kind": "function", + "name": "setRandomExpression", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~setRandomExpression", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 301, + "undocument": true, + "params": [], + "return": null, + "ignore": true + }, + { + "__docId__": 97, + "kind": "function", + "name": "startRandomMotion", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~startRandomMotion", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 316, + "undocument": true, + "params": [ { - "nullable": null, + "name": "name", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 2", - "defaultRaw": 2, - "name": "userConfig.display.antialias", - "description": "Antialiasing grade 抗锯齿级别" + "*" + ] }, { - "nullable": null, + "name": "priority", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 150", - "defaultRaw": 150, - "name": "userConfig.display.width", - "description": "Width to the canvas which shows the model canvas的长度" - }, - { - "nullable": null, - "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 300", - "defaultRaw": 300, - "name": "userConfig.display.height", - "description": "Height to the canvas which shows the model canvas的高度" - }, + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 98, + "kind": "function", + "name": "startMotion", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~startMotion", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 325, + "undocument": true, + "params": [ { - "nullable": null, + "name": "name", "types": [ - "String" - ], - "spread": false, - "optional": true, - "defaultValue": " 'right'", - "defaultRaw": " 'right'", - "name": "userConfig.display.position", - "description": "Left of right side to show 显示位置:左或右" + "*" + ] }, { - "nullable": null, + "name": "no", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 0", - "defaultRaw": 0, - "name": "userConfig.display.hOffset", - "description": "Horizontal offset of the canvas canvas水平偏移" + "*" + ] }, { - "nullable": null, + "name": "priority", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " -20", - "defaultRaw": -20, - "name": "userConfig.display.vOffset", - "description": "Vertical offset of the canvas canvas垂直偏移" - }, + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 99, + "kind": "function", + "name": "setFadeInFadeOut", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~setFadeInFadeOut", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 372, + "undocument": true, + "params": [ { - "nullable": null, + "name": "name", "types": [ - "Boolean" - ], - "spread": false, - "optional": true, - "defaultValue": " true", - "defaultRaw": true, - "name": "userConfig.mobile.show", - "description": "Whether to show on mobile device 是否在移动设备上显示" + "*" + ] }, { - "nullable": null, + "name": "no", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 0.5", - "defaultRaw": 0.5, - "name": "userConfig.mobile.scale", - "description": "Scale on mobile device 移动设备上的缩放" + "*" + ] }, { - "nullable": null, + "name": "priority", "types": [ - "Boolean" - ], - "spread": false, - "optional": true, - "defaultValue": " true", - "defaultRaw": true, - "name": "userConfig.mobile.motion", - "description": "Whether to enable motion detection on mobile devices 移动设备是否开启重力感应" + "*" + ] }, { - "nullable": null, + "name": "motion", "types": [ - "String" - ], - "spread": false, - "optional": true, - "defaultValue": " 'live2dcanvas'", - "defaultRaw": " 'live2dcanvas'", - "name": "userConfig.name.canvas", - "description": "ID name of the canvas canvas元素的ID" - }, + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 100, + "kind": "function", + "name": "setExpression", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~setExpression", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 405, + "undocument": true, + "params": [ { - "nullable": null, + "name": "name", "types": [ - "String" - ], - "spread": false, - "optional": true, - "defaultValue": " 'live2d-widget'", - "defaultRaw": " 'live2d-widget'", - "name": "userConfig.name.div", - "description": "ID name of the div div元素的ID" - }, + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 101, + "kind": "function", + "name": "draw", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~draw", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 417, + "undocument": true, + "params": [ { - "nullable": null, + "name": "gl", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 0.7", - "defaultRaw": 0.7, - "name": "userConfig.react.opacityDefault", - "description": "Default opacity 默认透明度" - }, + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 102, + "kind": "function", + "name": "hitTest", + "memberof": "src/cModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/cModel.js~hitTest", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/cModel.js", + "importStyle": null, + "description": null, + "lineNumber": 438, + "undocument": true, + "params": [ { - "nullable": null, + "name": "id", "types": [ - "Number" - ], - "spread": false, - "optional": true, - "defaultValue": " 0.2", - "defaultRaw": 0.2, - "name": "userConfig.react.opacityOnHover", - "description": "OnHover opacity 鼠标移上透明度" + "*" + ] }, { - "nullable": null, + "name": "testX", "types": [ - "Function" - ], - "spread": false, - "optional": true, - "defaultValue": " func(e)", - "defaultRaw": " func(e)", - "name": "userConfig.react.myFunc", - "description": "Custom event handler, won't override main handler, will reveice the event type. 自定义事件接收器" + "*" + ] }, { - "nullable": null, + "name": "testY", "types": [ - "Boolean" - ], - "spread": false, - "optional": true, - "defaultValue": " false", - "defaultRaw": false, - "name": "userConfig.dev.log", - "description": "Whether to show log 显示日志" - }, - { - "nullable": null, - "types": [ - "Boolean" - ], - "spread": false, - "optional": true, - "defaultValue": " false", - "defaultRaw": false, - "name": "userConfig.dev.border", - "description": "Whether to show border around the canvas 在canvas周围显示边界" - }, - { - "nullable": null, - "types": [ - "Boolean" - ], - "spread": false, - "optional": true, - "defaultValue": " false", - "defaultRaw": false, - "name": "userConfig.dev.mouseLog", - "description": "Whether to show mouse log (tons of log), only work when dev.log is enabled 显示鼠标移动" - }, - { - "nullable": null, - "types": [ - "Function" - ], - "spread": false, - "optional": true, - "defaultValue": " func(x, y, ix, iy)", - "defaultRaw": " func(x, y, ix, iy)", - "name": "userConfig.dev.mouseFunc", - "description": "Custom logger, only work when dev.log is enabled, will receive (x, y, ix, iy), which presents the actucally position and vitural position 自定义鼠标移动处理函数" + "*" + ] } ], "return": { - "nullable": null, "types": [ - "null" - ], - "spread": false, - "description": "" - } + "boolean" + ] + }, + "ignore": true }, { - "__docId__": 82, + "__docId__": 103, "kind": "file", - "name": "src/lib/_Live2DFramework.js", - "content": "/**\n *\n * You can modify and use this source freely\n * only for the development of application related Live2D.\n *\n * (c) Live2D Inc. All rights reserved.\n */\n\n/**\n * EYHN 基于 live2d 官方 Live2DFramework.js 修改\n *\n * Copyright © 2016 - 2017 EYHN\n */\n\n// Modified by xiazeyu.\n\n/**\n* @desc Basic functions releated to model react\n*/\n\n//============================================================\n//============================================================\n// class L2DBaseModel\n//============================================================\n//============================================================\nfunction L2DBaseModel() {\n this.live2DModel = null; // ALive2DModel\n this.modelMatrix = null; // L2DModelMatrix\n this.eyeBlink = null; // L2DEyeBlink\n this.physics = null; // L2DPhysics\n this.pose = null; // L2DPose\n this.debugMode = false;\n this.initialized = false;\n this.updating = false;\n this.alpha = 1;\n this.accAlpha = 0;\n this.lipSync = false;\n this.lipSyncValue = 0;\n this.accelX = 0;\n this.accelY = 0;\n this.accelZ = 0;\n this.dragX = 0;\n this.dragY = 0;\n this.startTimeMSec = null;\n this.mainMotionManager = new L2DMotionManager(); //L2DMotionManager\n this.expressionManager = new L2DMotionManager(); //L2DMotionManager\n this.motions = {};\n this.expressions = {};\n this.isTexLoaded = false;\n}\n\nvar texCounter = 0;\n\n//============================================================\n// L2DBaseModel # getModelMatrix()\n//============================================================\nL2DBaseModel.prototype.getModelMatrix = function () {\n return this.modelMatrix;\n}\n\n//============================================================\n// L2DBaseModel # setAlpha()\n//============================================================\nL2DBaseModel.prototype.setAlpha = function (a/*float*/) {\n if (a > 0.999) a = 1;\n if (a < 0.001) a = 0;\n this.alpha = a;\n}\n\n//============================================================\n// L2DBaseModel # getAlpha()\n//============================================================\nL2DBaseModel.prototype.getAlpha = function () {\n return this.alpha;\n}\n\n//============================================================\n// L2DBaseModel # isInitialized()\n//============================================================\nL2DBaseModel.prototype.isInitialized = function () {\n return this.initialized;\n}\n\n//============================================================\n// L2DBaseModel # setInitialized()\n//============================================================\nL2DBaseModel.prototype.setInitialized = function (v/*boolean*/) {\n this.initialized = v;\n}\n\n//============================================================\n// L2DBaseModel # isUpdating()\n//============================================================\nL2DBaseModel.prototype.isUpdating = function () {\n return this.updating;\n}\n\n//============================================================\n// L2DBaseModel # setUpdating()\n//============================================================\nL2DBaseModel.prototype.setUpdating = function (v/*boolean*/) {\n this.updating = v;\n}\n\n//============================================================\n// L2DBaseModel # getLive2DModel()\n//============================================================\nL2DBaseModel.prototype.getLive2DModel = function () {\n return this.live2DModel;\n}\n\n//============================================================\n// L2DBaseModel # setLipSync()\n//============================================================\nL2DBaseModel.prototype.setLipSync = function (v/*boolean*/) {\n this.lipSync = v;\n}\n\n//============================================================\n// L2DBaseModel # setLipSyncValue()\n//============================================================\nL2DBaseModel.prototype.setLipSyncValue = function (v/*float*/) {\n this.lipSyncValue = v;\n}\n\n//============================================================\n// L2DBaseModel # setAccel()\n//============================================================\nL2DBaseModel.prototype.setAccel = function (x/*float*/, y/*float*/, z/*float*/) {\n this.accelX = x;\n this.accelY = y;\n this.accelZ = z;\n}\n\n//============================================================\n// L2DBaseModel # setDrag()\n//============================================================\nL2DBaseModel.prototype.setDrag = function (x/*float*/, y/*float*/) {\n this.dragX = x;\n this.dragY = y;\n}\n\n//============================================================\n// L2DBaseModel # getMainMotionManager()\n//============================================================\nL2DBaseModel.prototype.getMainMotionManager = function () {\n return this.mainMotionManager;\n}\n\n//============================================================\n// L2DBaseModel # getExpressionManager()\n//============================================================\nL2DBaseModel.prototype.getExpressionManager = function () {\n return this.expressionManager;\n}\n\n//============================================================\n// L2DBaseModel # loadModelData()\n//============================================================\nL2DBaseModel.prototype.loadModelData = function (path/*String*/, callback) {\n /*\n if( this.live2DModel != null ) {\n this.live2DModel.deleteTextures();\n }\n */\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n if (this.debugMode) pm.log(\"Load model : \" + path);\n\n var thisRef = this;\n pm.loadLive2DModel(path, function (l2dModel) {\n thisRef.live2DModel = l2dModel;\n thisRef.live2DModel.saveParam();\n\n var _err = Live2D.getError();\n\n if (_err != 0) {\n console.error(\"Error : Failed to loadModelData().\");\n return;\n }\n\n thisRef.modelMatrix = new L2DModelMatrix(\n thisRef.live2DModel.getCanvasWidth(),\n thisRef.live2DModel.getCanvasHeight()); //L2DModelMatrix\n thisRef.modelMatrix.setWidth(2);\n thisRef.modelMatrix.setCenterPosition(0, 0);\n\n callback(thisRef.live2DModel);\n });\n}\n\n\n//============================================================\n// L2DBaseModel # loadTexture()\n//============================================================\nL2DBaseModel.prototype.loadTexture = function (no/*int*/, path/*String*/, callback) {\n texCounter++;\n\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n\n if (this.debugMode) pm.log(\"Load Texture : \" + path);\n\n var thisRef = this;\n pm.loadTexture(this.live2DModel, no, path, function () {\n texCounter--;\n if (texCounter == 0) thisRef.isTexLoaded = true;\n if (typeof callback == \"function\") callback();\n });\n\n}\n\n//============================================================\n// L2DBaseModel # loadMotion()\n//============================================================\nL2DBaseModel.prototype.loadMotion = function (name/*String*/, path /*String*/, callback) {\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n\n if (this.debugMode) pm.log(\"Load Motion : \" + path);\n\n var motion = null; //Live2DMotion\n\n var thisRef = this;\n pm.loadBytes(path, function (buf) {\n motion = Live2DMotion.loadMotion(buf);\n if (name != null) {\n thisRef.motions[name] = motion;\n }\n callback(motion);\n });\n\n}\n\n//============================================================\n// L2DBaseModel # loadExpression()\n//============================================================\nL2DBaseModel.prototype.loadExpression = function (name/*String*/, path /*String*/, callback) {\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n\n if (this.debugMode) pm.log(\"Load Expression : \" + path);\n\n var thisRef = this;\n pm.loadBytes(path, function (buf) {\n if (name != null) {\n thisRef.expressions[name] = L2DExpressionMotion.loadJson(buf);\n }\n if (typeof callback == \"function\") callback();\n });\n}\n\n//============================================================\n// L2DBaseModel # loadPose()\n//============================================================\nL2DBaseModel.prototype.loadPose = function (path /*String*/, callback) {\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n if (this.debugMode) pm.log(\"Load Pose : \" + path);\n var thisRef = this;\n try {\n pm.loadBytes(path, function (buf) {\n thisRef.pose = L2DPose.load(buf);\n if (typeof callback == \"function\") callback();\n });\n }\n catch (e) {\n console.warn(e);\n }\n}\n\n//============================================================\n// L2DBaseModel # loadPhysics()\n//============================================================\nL2DBaseModel.prototype.loadPhysics = function (path/*String*/) {\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n if (this.debugMode) pm.log(\"Load Physics : \" + path);\n var thisRef = this;\n try {\n pm.loadBytes(path, function (buf) {\n thisRef.physics = L2DPhysics.load(buf);\n });\n }\n catch (e) {\n console.warn(e);\n }\n}\n\n//============================================================\n// L2DBaseModel # hitTestSimple()\n//============================================================\nL2DBaseModel.prototype.hitTestSimple = function (drawID, testX, testY) {\n\n\tif(this.live2DModel === null) return !1;\n\n var drawIndex = this.live2DModel.getDrawDataIndex(drawID);\n\n if (drawIndex < 0) return false;\n\n var points = this.live2DModel.getTransformedPoints(drawIndex);\n var left = this.live2DModel.getCanvasWidth();\n var right = 0;\n var top = this.live2DModel.getCanvasHeight();\n var bottom = 0;\n\n for (var j = 0; j < points.length; j = j + 2) {\n var x = points[j];\n var y = points[j + 1];\n\n if (x < left) left = x;\n if (x > right) right = x;\n if (y < top) top = y;\n if (y > bottom) bottom = y;\n }\n var tx = this.modelMatrix.invertTransformX(testX);\n var ty = this.modelMatrix.invertTransformY(testY);\n\n return (left <= tx && tx <= right && top <= ty && ty <= bottom);\n}\n\n//============================================================\n//============================================================\n// class L2DExpressionMotion extends AMotion\n//============================================================\n//============================================================\nfunction L2DExpressionMotion() {\n AMotion.prototype.constructor.call(this);\n this.paramList = new Array(); //ArrayList\n}\n\nL2DExpressionMotion.prototype = new AMotion(); // L2DExpressionMotion extends AMotion\n\n//============================================================\nL2DExpressionMotion.EXPRESSION_DEFAULT = \"DEFAULT\";\nL2DExpressionMotion.TYPE_SET = 0;\nL2DExpressionMotion.TYPE_ADD = 1;\nL2DExpressionMotion.TYPE_MULT = 2;\n\n//============================================================\n// static L2DExpressionMotion.loadJson()\n//============================================================\nL2DExpressionMotion.loadJson = function (buf) {\n var ret = new L2DExpressionMotion();\n\n var pm = Live2DFramework.getPlatformManager();\n var json = pm.jsonParseFromBytes(buf);\n\n ret.setFadeIn(parseInt(json.fade_in) > 0 ? parseInt(json.fade_in) : 1000);\n ret.setFadeOut(parseInt(json.fade_out) > 0 ? parseInt(json.fade_out) : 1000);\n\n if (json.params == null) {\n return ret;\n }\n\n var params = json.params;\n var paramNum = params.length;\n ret.paramList = []; //ArrayList\n for (var i = 0; i < paramNum; i++) {\n var param = params[i];\n var paramID = param.id.toString();\n var value = parseFloat(param.val);\n var calcTypeInt = L2DExpressionMotion.TYPE_ADD;\n var calc = param.calc != null ? param.calc.toString() : \"add\";\n if (calc === \"add\") {\n calcTypeInt = L2DExpressionMotion.TYPE_ADD;\n }\n else if (calc === \"mult\") {\n calcTypeInt = L2DExpressionMotion.TYPE_MULT;\n }\n else if (calc === \"set\") {\n calcTypeInt = L2DExpressionMotion.TYPE_SET;\n }\n else {\n calcTypeInt = L2DExpressionMotion.TYPE_ADD;\n }\n if (calcTypeInt == L2DExpressionMotion.TYPE_ADD) {\n var defaultValue = param.def == null ? 0 : parseFloat(param.def);\n value = value - defaultValue;\n }\n else if (calcTypeInt == L2DExpressionMotion.TYPE_MULT) {\n var defaultValue = param.def == null ? 1 : parseFloat(param.def);\n if (defaultValue == 0) defaultValue = 1;\n value = value / defaultValue;\n }\n\n var item = new L2DExpressionParam();\n item.id = paramID;\n item.type = calcTypeInt;\n item.value = value;\n\n ret.paramList.push(item);\n }\n\n return ret;\n}\n\n\n//============================================================\n// L2DExpressionMotion # updateParamExe()\n//============================================================\nL2DExpressionMotion.prototype.updateParamExe = function (model /*ALive2DModel*/, timeMSec/*long*/, weight /*float*/, motionQueueEnt /*MotionQueueEnt*/) {\n for (var i = this.paramList.length - 1; i >= 0; --i) {\n var param = this.paramList[i]; //L2DExpressionParam\n // if (!param || !param.type) continue;\n if (param.type == L2DExpressionMotion.TYPE_ADD) {\n model.addToParamFloat(param.id, param.value, weight);\n }\n else if (param.type == L2DExpressionMotion.TYPE_MULT) {\n model.multParamFloat(param.id, param.value, weight);\n }\n else if (param.type == L2DExpressionMotion.TYPE_SET) {\n model.setParamFloat(param.id, param.value, weight);\n }\n }\n}\n\n//============================================================\n//============================================================\n// class L2DExpressionParam\n//============================================================\n//============================================================\nfunction L2DExpressionParam() {\n this.id = \"\";\n this.type = -1;\n this.value = null;\n}\n\n//============================================================\n//============================================================\n// class L2DEyeBlink\n//============================================================\n//============================================================\nfunction L2DEyeBlink() {\n this.nextBlinkTime = null /* TODO NOT INIT */; //\n this.stateStartTime = null /* TODO NOT INIT */; //\n this.blinkIntervalMsec = null /* TODO NOT INIT */; //\n this.eyeState = EYE_STATE.STATE_FIRST;\n this.blinkIntervalMsec = 4000;\n this.closingMotionMsec = 100;\n this.closedMotionMsec = 50;\n this.openingMotionMsec = 150;\n this.closeIfZero = true;\n this.eyeID_L = \"PARAM_EYE_L_OPEN\";\n this.eyeID_R = \"PARAM_EYE_R_OPEN\";\n}\n\n//============================================================\n// L2DEyeBlink # calcNextBlink()\n//============================================================\nL2DEyeBlink.prototype.calcNextBlink = function () {\n var time /*long*/ = UtSystem.getUserTimeMSec();\n var r /*Number*/ = Math.random();\n return /*(long)*/ (time + r * (2 * this.blinkIntervalMsec - 1));\n}\n\n//============================================================\n// L2DEyeBlink # setInterval()\n//============================================================\nL2DEyeBlink.prototype.setInterval = function (blinkIntervalMsec /*int*/) {\n this.blinkIntervalMsec = blinkIntervalMsec;\n}\n\n//============================================================\n// L2DEyeBlink # setEyeMotion()\n//============================================================\nL2DEyeBlink.prototype.setEyeMotion = function (closingMotionMsec/*int*/, closedMotionMsec/*int*/, openingMotionMsec/*int*/) {\n this.closingMotionMsec = closingMotionMsec;\n this.closedMotionMsec = closedMotionMsec;\n this.openingMotionMsec = openingMotionMsec;\n}\n\n//============================================================\n// L2DEyeBlink # updateParam()\n//============================================================\nL2DEyeBlink.prototype.updateParam = function (model/*ALive2DModel*/) {\n var time /*:long*/ = UtSystem.getUserTimeMSec();\n var eyeParamValue /*:Number*/;\n var t /*:Number*/ = 0;\n switch (this.eyeState) {\n case EYE_STATE.STATE_CLOSING:\n t = (time - this.stateStartTime) / this.closingMotionMsec;\n if (t >= 1) {\n t = 1;\n this.eyeState = EYE_STATE.STATE_CLOSED;\n this.stateStartTime = time;\n }\n eyeParamValue = 1 - t;\n break;\n case EYE_STATE.STATE_CLOSED:\n t = (time - this.stateStartTime) / this.closedMotionMsec;\n if (t >= 1) {\n this.eyeState = EYE_STATE.STATE_OPENING;\n this.stateStartTime = time;\n }\n eyeParamValue = 0;\n break;\n case EYE_STATE.STATE_OPENING:\n t = (time - this.stateStartTime) / this.openingMotionMsec;\n if (t >= 1) {\n t = 1;\n this.eyeState = EYE_STATE.STATE_INTERVAL;\n this.nextBlinkTime = this.calcNextBlink();\n }\n eyeParamValue = t;\n break;\n case EYE_STATE.STATE_INTERVAL:\n if (this.nextBlinkTime < time) {\n this.eyeState = EYE_STATE.STATE_CLOSING;\n this.stateStartTime = time;\n }\n eyeParamValue = 1;\n break;\n case EYE_STATE.STATE_FIRST:\n default:\n this.eyeState = EYE_STATE.STATE_INTERVAL;\n this.nextBlinkTime = this.calcNextBlink();\n eyeParamValue = 1;\n break;\n }\n if (!this.closeIfZero) eyeParamValue = -eyeParamValue;\n model.setParamFloat(this.eyeID_L, eyeParamValue);\n model.setParamFloat(this.eyeID_R, eyeParamValue);\n}\n\n//== enum EYE_STATE ==\nvar EYE_STATE = function () { };\n\nEYE_STATE.STATE_FIRST = \"STATE_FIRST\"\nEYE_STATE.STATE_INTERVAL = \"STATE_INTERVAL\"\nEYE_STATE.STATE_CLOSING = \"STATE_CLOSING\"\nEYE_STATE.STATE_CLOSED = \"STATE_CLOSED\"\nEYE_STATE.STATE_OPENING = \"STATE_OPENING\"\n\n//============================================================\n//============================================================\n// class L2DMatrix44\n//============================================================\n//============================================================\nfunction L2DMatrix44() {\n this.tr = new Float32Array(16); //\n this.identity();\n}\n\n//============================================================\n// static L2DMatrix44.mul()\n//============================================================\n// matrix multiplication\nL2DMatrix44.mul = function (a/*float[]*/, b/*float[]*/, dst/*float[]*/) {\n var c = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n var n = 4;\n var i, j, k;\n for (i = 0; i < n; i++) {\n for (j = 0; j < n; j++) {\n for (k = 0; k < n; k++) {\n c[i + j * 4] += a[i + k * 4] * b[k + j * 4];\n }\n }\n }\n for (i = 0; i < 16; i++) {\n dst[i] = c[i];\n }\n}\n\n//============================================================\n// L2DMatrix44 # identity()\n//============================================================\nL2DMatrix44.prototype.identity = function () {\n for (var i/*:int*/ = 0; i < 16; i++)\n this.tr[i] = ((i % 5) == 0) ? 1 : 0;\n}\n\n//============================================================\n// L2DMatrix44 # getArray()\n//============================================================\nL2DMatrix44.prototype.getArray = function () {\n return this.tr;\n}\n\n//============================================================\n// L2DMatrix44 # getCopyMatrix()\n//============================================================\nL2DMatrix44.prototype.getCopyMatrix = function () {\n return new Float32Array(this.tr); // this.tr.clone();\n}\n\n//============================================================\n// L2DMatrix44 # setMatrix()\n//============================================================\nL2DMatrix44.prototype.setMatrix = function (tr/*float[]*/) {\n if (this.tr == null || this.tr.length != this.tr.length) return;\n for (var i/*:int*/ = 0; i < 16; i++) this.tr[i] = tr[i];\n}\n\n//============================================================\n// L2DMatrix44 # getScaleX()\n//============================================================\nL2DMatrix44.prototype.getScaleX = function () {\n return this.tr[0];\n}\n\n//============================================================\n// L2DMatrix44 # getScaleY()\n//============================================================\nL2DMatrix44.prototype.getScaleY = function () {\n return this.tr[5];\n}\n\n//============================================================\n// L2DMatrix44 # transformX()\n//============================================================\nL2DMatrix44.prototype.transformX = function (src/*float*/) {\n return this.tr[0] * src + this.tr[12];\n}\n\n//============================================================\n// L2DMatrix44 # transformY()\n//============================================================\nL2DMatrix44.prototype.transformY = function (src/*float*/) {\n return this.tr[5] * src + this.tr[13];\n}\n\n//============================================================\n// L2DMatrix44 # invertTransformX()\n//============================================================\nL2DMatrix44.prototype.invertTransformX = function (src/*float*/) {\n return (src - this.tr[12]) / this.tr[0];\n}\n\n//============================================================\n// L2DMatrix44 # invertTransformY()\n//============================================================\nL2DMatrix44.prototype.invertTransformY = function (src/*float*/) {\n return (src - this.tr[13]) / this.tr[5];\n}\n\n//============================================================\n// L2DMatrix44 # multTranslate()\n//============================================================\nL2DMatrix44.prototype.multTranslate = function (shiftX/*float*/, shiftY/*float*/) {\n var tr1 = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, shiftX, shiftY, 0, 1];\n L2DMatrix44.mul(tr1, this.tr, this.tr);\n}\n\n//============================================================\n// L2DMatrix44 # translate()\n//============================================================\nL2DMatrix44.prototype.translate = function (x/*float*/, y/*float*/) {\n this.tr[12] = x;\n this.tr[13] = y;\n}\n\n//============================================================\n// L2DMatrix44 # translateX()\n//============================================================\nL2DMatrix44.prototype.translateX = function (x/*float*/) {\n this.tr[12] = x;\n}\n\n//============================================================\n// L2DMatrix44 # translateY()\n//============================================================\nL2DMatrix44.prototype.translateY = function (y/*float*/) {\n this.tr[13] = y;\n}\n\n//============================================================\n// L2DMatrix44 # multScale()\n//============================================================\nL2DMatrix44.prototype.multScale = function (scaleX/*float*/, scaleY/*float*/) {\n var tr1 = [scaleX, 0, 0, 0, 0, scaleY, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\n L2DMatrix44.mul(tr1, this.tr, this.tr);\n}\n\n//============================================================\n// L2DMatrix44 # scale()\n//============================================================\nL2DMatrix44.prototype.scale = function (scaleX/*float*/, scaleY/*float*/) {\n this.tr[0] = scaleX;\n this.tr[5] = scaleY;\n}\n\n//============================================================\n//============================================================\n// class L2DModelMatrix extends L2DMatrix44\n//============================================================\n//============================================================\nfunction L2DModelMatrix(w/*float*/, h/*float*/) {\n L2DMatrix44.prototype.constructor.call(this);\n this.width = w;\n this.height = h;\n}\n\n//L2DModelMatrix extends L2DMatrix44\nL2DModelMatrix.prototype = new L2DMatrix44();\n\n//============================================================\n// L2DModelMatrix # setPosition()\n//============================================================\nL2DModelMatrix.prototype.setPosition = function (x/*float*/, y/*float*/) {\n this.translate(x, y);\n}\n\n//============================================================\n// L2DModelMatrix # setCenterPosition()\n//============================================================\nL2DModelMatrix.prototype.setCenterPosition = function (x/*float*/, y/*float*/) {\n var w = this.width * this.getScaleX();\n var h = this.height * this.getScaleY();\n this.translate(x - w / 2, y - h / 2);\n}\n\n//============================================================\n// L2DModelMatrix # top()\n//============================================================\nL2DModelMatrix.prototype.top = function (y/*float*/) {\n this.setY(y);\n}\n\n//============================================================\n// L2DModelMatrix # bottom()\n//============================================================\nL2DModelMatrix.prototype.bottom = function (y/*float*/) {\n var h = this.height * this.getScaleY();\n this.translateY(y - h);\n}\n\n//============================================================\n// L2DModelMatrix # left()\n//============================================================\nL2DModelMatrix.prototype.left = function (x/*float*/) {\n this.setX(x);\n}\n\n//============================================================\n// L2DModelMatrix # right()\n//============================================================\nL2DModelMatrix.prototype.right = function (x/*float*/) {\n var w = this.width * this.getScaleX();\n this.translateX(x - w);\n}\n\n//============================================================\n// L2DModelMatrix # centerX()\n//============================================================\nL2DModelMatrix.prototype.centerX = function (x/*float*/) {\n var w = this.width * this.getScaleX();\n this.translateX(x - w / 2);\n}\n\n//============================================================\n// L2DModelMatrix # centerY()\n//============================================================\nL2DModelMatrix.prototype.centerY = function (y/*float*/) {\n var h = this.height * this.getScaleY();\n this.translateY(y - h / 2);\n}\n\n//============================================================\n// L2DModelMatrix # setX()\n//============================================================\nL2DModelMatrix.prototype.setX = function (x/*float*/) {\n this.translateX(x);\n}\n\n//============================================================\n// L2DModelMatrix # setY()\n//============================================================\nL2DModelMatrix.prototype.setY = function (y/*float*/) {\n this.translateY(y);\n}\n\n//============================================================\n// L2DModelMatrix # setHeight()\n//============================================================\nL2DModelMatrix.prototype.setHeight = function (h/*float*/) {\n var scaleX = h / this.height;\n var scaleY = -scaleX;\n this.scale(scaleX, scaleY);\n}\n\n//============================================================\n// L2DModelMatrix # setWidth()\n//============================================================\nL2DModelMatrix.prototype.setWidth = function (w/*float*/) {\n var scaleX = w / this.width;\n var scaleY = -scaleX;\n this.scale(scaleX, scaleY);\n}\n\n//============================================================\n//============================================================\n// class L2DMotionManager extends MotionQueueManager\n//============================================================\n//============================================================\nfunction L2DMotionManager() {\n MotionQueueManager.prototype.constructor.call(this);\n this.currentPriority = null;\n this.reservePriority = null;\n\n this.super = MotionQueueManager.prototype;\n}\n\n\nL2DMotionManager.prototype = new MotionQueueManager();\n\n//============================================================\n// L2DMotionManager # getCurrentPriority()\n//============================================================\nL2DMotionManager.prototype.getCurrentPriority = function () {\n return this.currentPriority;\n}\n\n//============================================================\n// L2DMotionManager # getReservePriority()\n//============================================================\nL2DMotionManager.prototype.getReservePriority = function () {\n return this.reservePriority;\n}\n\n//============================================================\n// L2DMotionManager # reserveMotion()\n//============================================================\nL2DMotionManager.prototype.reserveMotion = function (priority/*int*/) {\n if (this.reservePriority >= priority) {\n return false;\n }\n if (this.currentPriority >= priority) {\n return false;\n }\n\n this.reservePriority = priority;\n\n return true;\n}\n\n//============================================================\n// L2DMotionManager # setReservePriority()\n//============================================================\nL2DMotionManager.prototype.setReservePriority = function (val/*int*/) {\n this.reservePriority = val;\n}\n\n//============================================================\n// L2DMotionManager # updateParam()\n//============================================================\nL2DMotionManager.prototype.updateParam = function (model/*ALive2DModel*/) {\n var updated = MotionQueueManager.prototype.updateParam.call(this, model);\n\n if (this.isFinished()) {\n this.currentPriority = 0;\n }\n\n return updated;\n}\n\n//============================================================\n// L2DMotionManager # startMotionPrio()\n//============================================================\nL2DMotionManager.prototype.startMotionPrio = function (motion/*AMotion*/, priority/*int*/) {\n if (priority == this.reservePriority) {\n this.reservePriority = 0;\n }\n this.currentPriority = priority;\n return this.startMotion(motion, false);\n}\n\n//============================================================\n//============================================================\n// class L2DPhysics\n//============================================================\n//============================================================\nfunction L2DPhysics() {\n this.physicsList = new Array(); //ArrayList\n this.startTimeMSec = UtSystem.getUserTimeMSec();\n}\n\n//============================================================\n// static L2DPhysics.load()\n//============================================================\nL2DPhysics.load = function (buf /*byte[]*/) {\n var ret = new L2DPhysics(); //L2DPhysicsL2DPhysics\n var pm = Live2DFramework.getPlatformManager();\n var json = pm.jsonParseFromBytes(buf);\n var params = json.physics_hair;\n var paramNum = params.length;\n for (var i = 0; i < paramNum; i++) {\n var param = params[i]; //Value\n var physics = new PhysicsHair(); //PhysicsHairPhysicsHair\n var setup = param.setup; //Value\n var length = parseFloat(setup.length);\n var resist = parseFloat(setup.regist);\n var mass = parseFloat(setup.mass);\n physics.setup(length, resist, mass);\n var srcList = param.src; //Value\n var srcNum = srcList.length;\n for (var j = 0; j < srcNum; j++) {\n var src = srcList[j]; //Value\n var id = src.id; //String\n var type = PhysicsHair.Src.SRC_TO_X;\n var typeStr = src.ptype; //String\n if (typeStr === \"x\") {\n type = PhysicsHair.Src.SRC_TO_X;\n }\n else if (typeStr === \"y\") {\n type = PhysicsHair.Src.SRC_TO_Y;\n }\n else if (typeStr === \"angle\") {\n type = PhysicsHair.Src.SRC_TO_G_ANGLE;\n }\n else {\n UtDebug.error(\"live2d\", \"Invalid parameter:PhysicsHair.Src\");\n }\n var scale = parseFloat(src.scale);\n var weight = parseFloat(src.weight);\n physics.addSrcParam(type, id, scale, weight);\n }\n var targetList = param.targets; //Value\n var targetNum = targetList.length;\n for (var j = 0; j < targetNum; j++) {\n var target = targetList[j]; //Value\n var id = target.id; //String\n var type = PhysicsHair.Target.TARGET_FROM_ANGLE;\n var typeStr = target.ptype; //String\n if (typeStr === \"angle\") {\n type = PhysicsHair.Target.TARGET_FROM_ANGLE;\n }\n else if (typeStr === \"angle_v\") {\n type = PhysicsHair.Target.TARGET_FROM_ANGLE_V;\n }\n else {\n UtDebug.error(\"live2d\", \"Invalid parameter:PhysicsHair.Target\");\n }\n var scale = parseFloat(target.scale);\n var weight = parseFloat(target.weight);\n physics.addTargetParam(type, id, scale, weight);\n }\n ret.physicsList.push(physics);\n }\n return ret;\n}\n\n//============================================================\n// L2DPhysics # updateParam()\n//============================================================\nL2DPhysics.prototype.updateParam = function (model/*ALive2DModel*/) {\n var timeMSec = UtSystem.getUserTimeMSec() - this.startTimeMSec;\n for (var i = 0; i < this.physicsList.length; i++) {\n this.physicsList[i].update(model, timeMSec);\n }\n}\n\n//============================================================\n//============================================================\n// class L2DPose\n//============================================================\n//============================================================\nfunction L2DPose() {\n this.lastTime = 0;\n this.lastModel = null; //ALive2DModel\n this.partsGroups = new Array(); //ArrayList\n}\n\n\n//============================================================\n// static L2DPose.load()\n//============================================================\nL2DPose.load = function (buf/*byte[]*/) {\n var ret = new L2DPose(); //L2DPose\n var pm = Live2DFramework.getPlatformManager();\n var json = pm.jsonParseFromBytes(buf);\n var poseListInfo = json.parts_visible; //Value\n var poseNum = poseListInfo.length;\n for (var i_pose = 0; i_pose < poseNum; i_pose++) {\n var poseInfo = poseListInfo[i_pose]; //Value\n var idListInfo = poseInfo.group; //Value\n var idNum = idListInfo.length;\n var partsGroup/*L2DPartsParam*/ = new Array();\n for (var i_group = 0; i_group < idNum; i_group++) {\n var partsInfo = idListInfo[i_group]; //Value\n var parts = new L2DPartsParam(partsInfo.id); //L2DPartsParamL2DPartsParam\n partsGroup[i_group] = parts;\n if (partsInfo.link == null) continue;\n var linkListInfo = partsInfo.link; //Value\n var linkNum = linkListInfo.length;\n parts.link = new Array(); //ArrayList\n for (var i_link = 0; i_link < linkNum; i_link++) {\n var linkParts = new L2DPartsParam(linkListInfo[i_link]); //L2DPartsParamL2DPartsParam\n parts.link.push(linkParts);\n }\n }\n ret.partsGroups.push(partsGroup);\n }\n\n return ret;\n}\n\n//============================================================\n// L2DPose # updateParam()\n//============================================================\nL2DPose.prototype.updateParam = function (model/*ALive2DModel*/) {\n if (model == null) return;\n\n if (!(model == this.lastModel)) {\n this.initParam(model);\n }\n this.lastModel = model;\n\n var curTime = UtSystem.getUserTimeMSec();\n var deltaTimeSec = ((this.lastTime == 0) ? 0 : (curTime - this.lastTime) / 1000.0);\n this.lastTime = curTime;\n if (deltaTimeSec < 0) deltaTimeSec = 0;\n for (var i = 0; i < this.partsGroups.length; i++) {\n this.normalizePartsOpacityGroup(model, this.partsGroups[i], deltaTimeSec);\n this.copyOpacityOtherParts(model, this.partsGroups[i]);\n }\n}\n\n//============================================================\n// L2DPose # initParam()\n//============================================================\nL2DPose.prototype.initParam = function (model/*ALive2DModel*/) {\n if (model == null) return;\n for (var i = 0; i < this.partsGroups.length; i++) {\n var partsGroup = this.partsGroups[i]; //L2DPartsParam\n for (var j = 0; j < partsGroup.length; j++) {\n partsGroup[j].initIndex(model);\n var partsIndex = partsGroup[j].partsIndex;\n var paramIndex = partsGroup[j].paramIndex;\n if (partsIndex < 0) continue;\n var v/*:Boolean*/ = (model.getParamFloat(paramIndex) != 0);\n model.setPartsOpacity(partsIndex, (v ? 1.0 : 0.0));\n model.setParamFloat(paramIndex, (v ? 1.0 : 0.0));\n if (partsGroup[j].link == null) continue;\n for (var k = 0; k < partsGroup[j].link.length; k++) {\n partsGroup[j].link[k].initIndex(model);\n }\n }\n }\n}\n\n//============================================================\n// L2DPose # normalizePartsOpacityGroup()\n//============================================================\nL2DPose.prototype.normalizePartsOpacityGroup = function (model/*ALive2DModel*/, partsGroup/*L2DPartsParam[]*/, deltaTimeSec/*float*/) {\n var visibleParts = -1;\n var visibleOpacity = 1.0;\n var CLEAR_TIME_SEC = 0.5;\n var phi = 0.5;\n var maxBackOpacity = 0.15;\n for (var i = 0; i < partsGroup.length; i++) {\n var partsIndex = partsGroup[i].partsIndex;\n var paramIndex = partsGroup[i].paramIndex;\n if (partsIndex < 0) continue; if (model.getParamFloat(paramIndex) != 0) {\n if (visibleParts >= 0) {\n break;\n }\n visibleParts = i;\n visibleOpacity = model.getPartsOpacity(partsIndex);\n visibleOpacity += deltaTimeSec / CLEAR_TIME_SEC;\n if (visibleOpacity > 1) {\n visibleOpacity = 1;\n }\n }\n }\n if (visibleParts < 0) {\n visibleParts = 0;\n visibleOpacity = 1;\n }\n for (var i = 0; i < partsGroup.length; i++) {\n var partsIndex = partsGroup[i].partsIndex;\n if (partsIndex < 0) continue; if (visibleParts == i) {\n model.setPartsOpacity(partsIndex, visibleOpacity);\n }\n else {\n var opacity = model.getPartsOpacity(partsIndex);\n var a1;\n if (visibleOpacity < phi) {\n a1 = visibleOpacity * (phi - 1) / phi + 1;\n }\n else {\n a1 = (1 - visibleOpacity) * phi / (1 - phi);\n }\n var backOp = (1 - a1) * (1 - visibleOpacity);\n if (backOp > maxBackOpacity) {\n a1 = 1 - maxBackOpacity / (1 - visibleOpacity);\n }\n if (opacity > a1) {\n opacity = a1;\n }\n model.setPartsOpacity(partsIndex, opacity);\n }\n }\n}\n\n//============================================================\n// L2DPose # copyOpacityOtherParts()\n//============================================================\nL2DPose.prototype.copyOpacityOtherParts = function (model/*ALive2DModel*/, partsGroup/*L2DPartsParam[]*/) {\n for (var i_group = 0; i_group < partsGroup.length; i_group++) {\n var partsParam = partsGroup[i_group]; //L2DPartsParam\n if (partsParam.link == null) continue;\n if (partsParam.partsIndex < 0) continue;\n var opacity = model.getPartsOpacity(partsParam.partsIndex);\n for (var i_link = 0; i_link < partsParam.link.length; i_link++) {\n var linkParts = partsParam.link[i_link]; //L2DPartsParam\n if (linkParts.partsIndex < 0) continue;\n model.setPartsOpacity(linkParts.partsIndex, opacity);\n }\n }\n}\n\n//============================================================\n//============================================================\n// class L2DPartsParam\n//============================================================\n//============================================================\nfunction L2DPartsParam(id/*String*/) {\n this.paramIndex = -1;\n this.partsIndex = -1;\n this.link = null; // ArrayList\n this.id = id;\n}\n\n//============================================================\n// L2DPartsParam # initIndex()\n//============================================================\nL2DPartsParam.prototype.initIndex = function (model/*ALive2DModel*/) {\n this.paramIndex = model.getParamIndex(\"VISIBLE:\" + this.id);\n this.partsIndex = model.getPartsDataIndex(PartsDataID.getID(this.id));\n model.setParamFloat(this.paramIndex, 1);\n}\n\n//============================================================\n//============================================================\n// class L2DTargetPoint\n//============================================================\n//============================================================\nfunction L2DTargetPoint() {\n this.EPSILON = 0.01; // 変化の最小値(この値以下は無視される)\n this.faceTargetX = 0;\n this.faceTargetY = 0;\n this.faceX = 0;\n this.faceY = 0;\n this.faceVX = 0;\n this.faceVY = 0;\n this.lastTimeSec = 0;\n}\n\n//============================================================\nL2DTargetPoint.FRAME_RATE = 30;\n\n//============================================================\n// L2DTargetPoint # set()\n//============================================================\nL2DTargetPoint.prototype.setPoint = function (x/*float*/, y/*float*/) {\n this.faceTargetX = x;\n this.faceTargetY = y;\n}\n\n//============================================================\n// L2DTargetPoint # getX()\n//============================================================\nL2DTargetPoint.prototype.getX = function () {\n return this.faceX;\n}\n\n//============================================================\n// L2DTargetPoint # getY()\n//============================================================\nL2DTargetPoint.prototype.getY = function () {\n return this.faceY;\n}\n\n//============================================================\n// L2DTargetPoint # update()\n//============================================================\nL2DTargetPoint.prototype.update = function () {\n var TIME_TO_MAX_SPEED = 0.15;\n var FACE_PARAM_MAX_V = 40.0 / 7.5;\n var MAX_V = FACE_PARAM_MAX_V / L2DTargetPoint.FRAME_RATE;\n if (this.lastTimeSec == 0) {\n this.lastTimeSec = UtSystem.getUserTimeMSec();\n return;\n }\n var curTimeSec = UtSystem.getUserTimeMSec();\n var deltaTimeWeight = (curTimeSec - this.lastTimeSec) * L2DTargetPoint.FRAME_RATE / 1000.0;\n this.lastTimeSec = curTimeSec;\n var FRAME_TO_MAX_SPEED = TIME_TO_MAX_SPEED * L2DTargetPoint.FRAME_RATE;\n var MAX_A = deltaTimeWeight * MAX_V / FRAME_TO_MAX_SPEED;\n var dx = (this.faceTargetX - this.faceX);\n var dy = (this.faceTargetY - this.faceY);\n // if(dx == 0 && dy == 0) return;\n if (Math.abs(dx) <= this.EPSILON && Math.abs(dy) <= this.EPSILON) return;\n var d = Math.sqrt(dx * dx + dy * dy);\n var vx = MAX_V * dx / d;\n var vy = MAX_V * dy / d;\n var ax = vx - this.faceVX;\n var ay = vy - this.faceVY;\n var a = Math.sqrt(ax * ax + ay * ay);\n if (a < -MAX_A || a > MAX_A) {\n ax *= MAX_A / a;\n ay *= MAX_A / a;\n a = MAX_A;\n }\n this.faceVX += ax;\n this.faceVY += ay;\n {\n var max_v = 0.5 * (Math.sqrt(MAX_A * MAX_A + 16 * MAX_A * d - 8 * MAX_A * d) - MAX_A);\n var cur_v = Math.sqrt(this.faceVX * this.faceVX + this.faceVY * this.faceVY);\n if (cur_v > max_v) {\n this.faceVX *= max_v / cur_v;\n this.faceVY *= max_v / cur_v;\n }\n }\n this.faceX += this.faceVX;\n this.faceY += this.faceVY;\n}\n\n//============================================================\n//============================================================\n// class L2DViewMatrix extends L2DMatrix44\n//============================================================\n//============================================================\nfunction L2DViewMatrix() {\n L2DMatrix44.prototype.constructor.call(this);\n this.screenLeft = null;\n this.screenRight = null;\n this.screenTop = null;\n this.screenBottom = null;\n this.maxLeft = null;\n this.maxRight = null;\n this.maxTop = null;\n this.maxBottom = null;\n}\n\nL2DViewMatrix.prototype = new L2DMatrix44(); //L2DViewMatrix extends L2DMatrix44\n\n//============================================================\n// L2DViewMatrix # adjustTranslate()\n//============================================================\nL2DViewMatrix.prototype.adjustTranslate = function (shiftX/*float*/, shiftY/*float*/) {\n if (this.tr[0] * this.maxLeft + (this.tr[12] + shiftX) > this.screenLeft)\n shiftX = this.screenLeft - this.tr[0] * this.maxLeft - this.tr[12];\n if (this.tr[0] * this.maxRight + (this.tr[12] + shiftX) < this.screenRight)\n shiftX = this.screenRight - this.tr[0] * this.maxRight - this.tr[12];\n if (this.tr[5] * this.maxTop + (this.tr[13] + shiftY) < this.screenTop)\n shiftY = this.screenTop - this.tr[5] * this.maxTop - this.tr[13];\n if (this.tr[5] * this.maxBottom + (this.tr[13] + shiftY) > this.screenBottom)\n shiftY = this.screenBottom - this.tr[5] * this.maxBottom - this.tr[13];\n\n var tr1 = [1, 0, 0, 0,\n 0, 1, 0, 0,\n 0, 0, 1, 0,\n shiftX, shiftY, 0, 1];\n L2DMatrix44.mul(tr1, this.tr, this.tr);\n}\n\n//============================================================\n// L2DViewMatrix # adjustScale()\n//============================================================\nL2DViewMatrix.prototype.adjustScale = function (cx/*float*/, cy/*float*/, scale/*float*/) {\n var targetScale = scale * this.tr[0];\n var tr1 = [1, 0, 0, 0,\n 0, 1, 0, 0,\n 0, 0, 1, 0,\n cx, cy, 0, 1];\n var tr2 = [scale, 0, 0, 0,\n 0, scale, 0, 0,\n 0, 0, 1, 0,\n 0, 0, 0, 1];\n var tr3 = [1, 0, 0, 0,\n 0, 1, 0, 0,\n 0, 0, 1, 0,\n -cx, -cy, 0, 1];\n L2DMatrix44.mul(tr3, this.tr, this.tr);\n L2DMatrix44.mul(tr2, this.tr, this.tr);\n L2DMatrix44.mul(tr1, this.tr, this.tr);\n}\n\n//============================================================\n// L2DViewMatrix # setScreenRect()\n//============================================================\nL2DViewMatrix.prototype.setScreenRect = function (left/*float*/, right/*float*/, bottom/*float*/, top/*float*/) {\n this.screenLeft = left;\n this.screenRight = right;\n this.screenTop = top;\n this.screenBottom = bottom;\n}\n\n//============================================================\n// L2DViewMatrix # setMaxScreenRect()\n//============================================================\nL2DViewMatrix.prototype.setMaxScreenRect = function (left/*float*/, right/*float*/, bottom/*float*/, top/*float*/) {\n this.maxLeft = left;\n this.maxRight = right;\n this.maxTop = top;\n this.maxBottom = bottom;\n}\n\n//============================================================\n// L2DViewMatrix # getScreenLeft()\n//============================================================\nL2DViewMatrix.prototype.getScreenLeft = function () {\n return this.screenLeft;\n}\n\n//============================================================\n// L2DViewMatrix # getScreenRight()\n//============================================================\nL2DViewMatrix.prototype.getScreenRight = function () {\n return this.screenRight;\n}\n\n//============================================================\n// L2DViewMatrix # getScreenBottom()\n//============================================================\nL2DViewMatrix.prototype.getScreenBottom = function () {\n return this.screenBottom;\n}\n\n//============================================================\n// L2DViewMatrix # getScreenTop()\n//============================================================\nL2DViewMatrix.prototype.getScreenTop = function () {\n return this.screenTop;\n}\n\n//============================================================\n// L2DViewMatrix # getMaxLeft()\n//============================================================\nL2DViewMatrix.prototype.getMaxLeft = function () {\n return this.maxLeft;\n}\n\n//============================================================\n// L2DViewMatrix # getMaxRight()\n//============================================================\nL2DViewMatrix.prototype.getMaxRight = function () {\n return this.maxRight;\n}\n\n//============================================================\n// L2DViewMatrix # getMaxBottom()\n//============================================================\nL2DViewMatrix.prototype.getMaxBottom = function () {\n return this.maxBottom;\n}\n\n//============================================================\n// L2DViewMatrix # getMaxTop()\n//============================================================\nL2DViewMatrix.prototype.getMaxTop = function () {\n return this.maxTop;\n}\n\n//============================================================\n//============================================================\n// class Live2DFramework\n//============================================================\n//============================================================\nfunction Live2DFramework() {\n}\n\n//============================================================\nLive2DFramework.platformManager = null;\n\n//============================================================\n// static Live2DFramework.getPlatformManager()\n//============================================================\nLive2DFramework.getPlatformManager = function () {\n return Live2DFramework.platformManager;\n}\n\n//============================================================\n// static Live2DFramework.setPlatformManager()\n//============================================================\nLive2DFramework.setPlatformManager = function (platformManager /*IPlatformManager*/) {\n Live2DFramework.platformManager = platformManager;\n}\n\nmodule.exports = {\n L2DTargetPoint: L2DTargetPoint,\n Live2DFramework: Live2DFramework,\n L2DViewMatrix: L2DViewMatrix,\n L2DPose: L2DPose,\n L2DPartsParam: L2DPartsParam,\n L2DPhysics: L2DPhysics,\n L2DMotionManager: L2DMotionManager,\n L2DModelMatrix: L2DModelMatrix,\n L2DMatrix44: L2DMatrix44,\n EYE_STATE: EYE_STATE,\n L2DEyeBlink: L2DEyeBlink,\n L2DExpressionParam: L2DExpressionParam,\n L2DExpressionMotion: L2DExpressionMotion,\n L2DBaseModel: L2DBaseModel\n}\n", + "name": "src/config/configMgr.js", + "content": "// Created by xiazeyu.\n\n/**\n * @description The manager of configeration.\n */\n\n\n'use strict';\n\nimport _ from 'lodash';\n\n/**\n * The container of current configs\n * @type {Object}\n */\n\nlet currConfig = {};\n/**\n * Default settings for defaulter\n * @type {Object}\n */\n\nconst defaultConfig = {\n model: {\n jsonPath: 'https://unpkg.com/live2d-widget-model-shizuku@1.0.0/assets/shizuku.model.json',\n scale: 1,\n hHeadPos: 0.5,\n vHeadPos: 0.618,\n myDefine: [],\n },\n display: {\n antialias: 2,\n width: 150,\n height: 300,\n position: 'right',\n hOffset: 0,\n vOffset: -20,\n },\n mobile: {\n show: true,\n scale: 0.5,\n motion: true,\n },\n name: {\n canvas: 'live2dcanvas',\n div: 'live2d-widget',\n },\n react: {\n opacityDefault: 0.7,\n opacityOnHover: 0.2,\n myFunc: (e) => {console.log('(undefined) ┑( ̄Д  ̄)┍');},\n },\n dev: {\n log: false,\n border: (process.env.NODE_ENV === 'development' ? true : false),\n mouseLog: false,\n mouseFunc: (x, y, ix, iy) => {console.log(`MouseFunc: ${x},${y}; ${ix}, ${iy}`);},\n },\n // _: true,\n}\n\n/**\n * Apply users function, make the full settings\n * @param {Object} [userConfig] User's custom config\n * @return {null}\n */\n\nfunction configApplyer(userConfig){\n\n // if (_.has(userConfig, '_')){\n // import(/* webpackMode: \"lazy\" */ './configValidater').then(f => {\n // f.configValidater(userConfig);\n // }).catch(err => {\n // console.error(err);\n // });\n // }\n\n currConfig = _.defaultsDeep(userConfig, defaultConfig);\n console.log('currConfig:', currConfig);\n\n}\n\nexport {\n configApplyer,\n currConfig as config,\n}\n", "static": true, - "longname": "D:/git/live2d-widget.js/src/lib/_Live2DFramework.js", + "longname": "D:/git/live2d-widget.js/src/config/configMgr.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 83, - "kind": "function", - "name": "L2DBaseModel", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DBaseModel", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": "Basic functions releated to model react", - "lineNumber": 26, - "params": [], - "return": null, - "ignore": true - }, - { - "__docId__": 84, + "__docId__": 104, "kind": "variable", - "name": "texCounter", - "memberof": "src/lib/_Live2DFramework.js", + "name": "currConfig", + "memberof": "src/config/configMgr.js", "static": true, - "longname": "src/lib/_Live2DFramework.js~texCounter", + "longname": "src/config/configMgr.js~currConfig", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/config/configMgr.js", "importStyle": null, - "description": null, - "lineNumber": 52, - "undocument": true, + "description": "The container of current configs", + "lineNumber": 17, "type": { + "nullable": null, "types": [ - "number" - ] + "Object" + ], + "spread": false, + "description": null }, "ignore": true }, { - "__docId__": 85, - "kind": "function", - "name": "getModelMatrix", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, + "__docId__": 105, + "kind": "variable", + "name": "defaultConfig", + "memberof": "src/config/configMgr.js", "static": true, - "longname": "src/lib/_Live2DFramework.js~getModelMatrix", + "longname": "src/config/configMgr.js~defaultConfig", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/config/configMgr.js", "importStyle": null, - "description": null, - "lineNumber": 57, - "undocument": true, - "params": [], - "return": { + "description": "Default settings for defaulter", + "lineNumber": 23, + "type": { + "nullable": null, "types": [ - "*" - ] + "Object" + ], + "spread": false, + "description": null }, "ignore": true }, { - "__docId__": 86, + "__docId__": 106, "kind": "function", - "name": "setAlpha", - "memberof": "src/lib/_Live2DFramework.js", + "name": "configApplyer", + "memberof": "src/config/configMgr.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setAlpha", + "longname": "src/config/configMgr.js~configApplyer", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/config/configMgr.js", + "importStyle": "{configApplyer}", "description": null, - "lineNumber": 64, + "lineNumber": 68, "undocument": true, "params": [ { - "name": "a", + "name": "userConfig", "types": [ "*" ] } ], - "return": null, - "ignore": true + "return": null }, { - "__docId__": 87, - "kind": "function", - "name": "getAlpha", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, + "__docId__": 107, + "kind": "file", + "name": "src/config/configValidater.js", + "content": "// Created by xiazeyu.\n\n/**\n * @description The validater function for user's config.\n * @deprecated Only respond one time when you call it, won't be built in production.\n * @requires prop-types, use npm i prop-types\n */\n\n\n'use strict';\n\n\nlet PropTypes = require('prop-types');\n/**\n * The propTypes configeration of config\n * @type {Object}\n */\n\nconst configPropTypes = {\n model: PropTypes.shape({\n jsonPath: PropTypes.string,\n hHeadPos: PropTypes.number,\n vHeadPos: PropTypes.number,\n myDefine: PropTypes.array,\n }),\n display: PropTypes.shape({\n antialias: PropTypes.number,\n width: PropTypes.number,\n height: PropTypes.number,\n scale: PropTypes.number,\n position: PropTypes.oneOf(['left', 'right']),\n hOffset: PropTypes.number,\n vOffset: PropTypes.number,\n }),\n mobile: PropTypes.shape({\n show: PropTypes.bool,\n scale: PropTypes.number,\n motion: PropTypes.bool,\n }),\n name: PropTypes.shape({\n canvas: PropTypes.string,\n div: PropTypes.string,\n }),\n react: PropTypes.shape({\n opacityDefault: PropTypes.number,\n opacityOnHover: PropTypes.number,\n myFunc: PropTypes.func,\n }),\n dev: PropTypes.shape({\n log: PropTypes.bool,\n border: PropTypes.bool,\n mouseLog: PropTypes.bool,\n mouseFunc: PropTypes.func,\n }),\n}\n/**\n * The validater for user config\n * See https://github.com/facebook/prop-types\n * @param {Object} [userConfig] User's config\n * @description Only console.warn\n * @deprecated Only respond one time when you call it, won't be built in production.\n * @return {null}\n */\n\nfunction configValidater(userConfig){\n PropTypes.checkPropTypes(configPropTypes, userConfig, 'config', 'Live2D-widget');\n}\n\nif (process.env.NODE_ENV === 'development') window.cV = configValidater;\n\nmodule.exports = {\n configValidater: configValidater,\n}\n", "static": true, - "longname": "src/lib/_Live2DFramework.js~getAlpha", + "longname": "D:/git/live2d-widget.js/src/config/configValidater.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 108, + "kind": "variable", + "name": "PropTypes", + "memberof": "src/config/configValidater.js", + "static": true, + "longname": "src/config/configValidater.js~PropTypes", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/config/configValidater.js", "importStyle": null, "description": null, - "lineNumber": 73, + "lineNumber": 13, "undocument": true, - "params": [], - "return": { + "type": { "types": [ "*" ] @@ -1808,48 +2109,47 @@ "ignore": true }, { - "__docId__": 88, - "kind": "function", - "name": "isInitialized", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, + "__docId__": 109, + "kind": "variable", + "name": "configPropTypes", + "memberof": "src/config/configValidater.js", "static": true, - "longname": "src/lib/_Live2DFramework.js~isInitialized", + "longname": "src/config/configValidater.js~configPropTypes", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/config/configValidater.js", "importStyle": null, - "description": null, - "lineNumber": 80, - "undocument": true, - "params": [], - "return": { + "description": "The propTypes configeration of config", + "lineNumber": 19, + "type": { + "nullable": null, "types": [ - "*" - ] + "Object" + ], + "spread": false, + "description": null }, "ignore": true }, { - "__docId__": 89, + "__docId__": 110, "kind": "function", - "name": "setInitialized", - "memberof": "src/lib/_Live2DFramework.js", + "name": "configValidater", + "memberof": "src/config/configValidater.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setInitialized", + "longname": "src/config/configValidater.js~configValidater", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/config/configValidater.js", "importStyle": null, "description": null, - "lineNumber": 87, + "lineNumber": 65, "undocument": true, "params": [ { - "name": "v", + "name": "userConfig", "types": [ "*" ] @@ -1859,551 +2159,536 @@ "ignore": true }, { - "__docId__": 90, - "kind": "function", - "name": "isUpdating", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, + "__docId__": 111, + "kind": "file", + "name": "src/elementMgr.js", + "content": "/**\n * @description The container and manager for all the DOM and WebGL emelents.\n */\n\n\nimport { config } from './config/configMgr';\nimport htmlTemplate from './tmplate/innerHTML';\n\n/**\n * The current WebGL element\n * @type {RenderingContext}\n */\n\nlet currWebGL = undefined;\n\n/**\n * The current canvas element\n * @type {HTMLElement}\n */\n\nlet currCanvas;\n\n/**\n * Create the canvas and styles using DOM\n * @return {null}\n */\n\nfunction createElement(){\n\n let newElem = document.createElement('div');\n newElem.id = config.name.div;\n newElem.innerHTML = htmlTemplate;\n let newCanvasElem = document.createElement('canvas');\n newCanvasElem.setAttribute('id', config.name.canvas);\n newCanvasElem.setAttribute('width', config.display.width * config.display.antialias);\n newCanvasElem.setAttribute('height', config.display.height * config.display.antialias);\n newCanvasElem.style.setProperty('position', 'fixed');\n newCanvasElem.style.setProperty('width', config.display.width);\n newCanvasElem.style.setProperty('height', config.display.height);\n newCanvasElem.style.setProperty('opacity', config.react.opacityDefault);\n newCanvasElem.style.setProperty(config.display.position, config.display.hOffset + 'px');\n newCanvasElem.style.setProperty('bottom', config.display.vOffset + 'px');\n newCanvasElem.style.setProperty('z-index', 99999);\n newCanvasElem.style.setProperty('pointer-events', 'none');\n if(config.dev.border) newCanvasElem.style.setProperty('border', 'dashed 1px #CCC');\n newElem.appendChild(newCanvasElem);\n\n document.body.appendChild(newElem);\n currCanvas = document.getElementById(config.name.canvas);\n\n initWebGL();\n\n}\n\n/**\n * Find and set the current WebGL element to the container\n * @return {null}\n */\n\nfunction initWebGL(){\n\n var NAMES = ['webgl2', 'webgl', 'experimental-webgl2', 'experimental-webgl', 'webkit-3d', 'moz-webgl'];\n for(let i = 0; i < NAMES.length; i++){\n try{\n let ctx = currCanvas.getContext(NAMES[i], {\n alpha: true,\n antialias: true,\n premultipliedAlpha: true,\n failIfMajorPerformanceCaveat: false,\n });\n if(ctx) currWebGL = ctx;\n }catch(e){}\n }\n if(!currWebGL){\n console.error('Live2D widgets: Failed to create WebGL context.');\n if(!window.WebGLRenderingContext){\n console.error('Your browser may not support WebGL, check https://get.webgl.org/ for futher information.');\n }\n return;\n }\n};\n\n\nexport{\n createElement,\n currWebGL,\n}\n", "static": true, - "longname": "src/lib/_Live2DFramework.js~isUpdating", + "longname": "D:/git/live2d-widget.js/src/elementMgr.js", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, "description": null, - "lineNumber": 94, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true + "lineNumber": 1 }, { - "__docId__": 91, + "__docId__": 112, "kind": "function", - "name": "setUpdating", - "memberof": "src/lib/_Live2DFramework.js", + "name": "initWebGL", + "memberof": "src/elementMgr.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setUpdating", + "longname": "src/elementMgr.js~initWebGL", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/elementMgr.js", "importStyle": null, - "description": null, - "lineNumber": 101, - "undocument": true, - "params": [ - { - "name": "v", - "types": [ - "*" - ] - } - ], - "return": null, + "description": "Find and set the current WebGL element to the container", + "lineNumber": 60, + "return": { + "nullable": null, + "types": [ + "null" + ], + "spread": false, + "description": "" + }, + "params": [], "ignore": true }, { - "__docId__": 92, + "__docId__": 113, "kind": "function", - "name": "getLive2DModel", - "memberof": "src/lib/_Live2DFramework.js", + "name": "createElement", + "memberof": "src/elementMgr.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getLive2DModel", + "longname": "src/elementMgr.js~createElement", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 108, - "undocument": true, - "params": [], + "export": true, + "importPath": "live2d-widget/src/elementMgr.js", + "importStyle": "{createElement}", + "description": "Create the canvas and styles using DOM", + "lineNumber": 28, "return": { + "nullable": null, "types": [ - "*" - ] + "null" + ], + "spread": false, + "description": "" }, - "ignore": true + "params": [] }, { - "__docId__": 93, - "kind": "function", - "name": "setLipSync", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, + "__docId__": 114, + "kind": "variable", + "name": "currWebGL", + "memberof": "src/elementMgr.js", "static": true, - "longname": "src/lib/_Live2DFramework.js~setLipSync", + "longname": "src/elementMgr.js~currWebGL", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 115, - "undocument": true, - "params": [ - { - "name": "v", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "export": true, + "importPath": "live2d-widget/src/elementMgr.js", + "importStyle": "{currWebGL}", + "description": "The current WebGL element", + "lineNumber": 14, + "type": { + "nullable": null, + "types": [ + "RenderingContext" + ], + "spread": false, + "description": null + } }, { - "__docId__": 94, - "kind": "function", - "name": "setLipSyncValue", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, + "__docId__": 115, + "kind": "file", + "name": "src/index.js", + "content": "// Created by xiazeyu.\n\n////////////////////////////////////\n// Celebrate for the 3.0 version! //\n////////////////////////////////////\n\n/**\n * @description The entry point of live2d-widget.\n */\n\n\n'use strict';\n\nimport device from 'current-device';\nimport { config, configApplyer }from './config/configMgr';\n\nif (process.env.NODE_ENV === 'development'){\n console.log('--- --- --- --- ---\\nHey that, notice that you are now in DEV MODE.\\n--- --- --- --- ---');\n}\n\n/**\n * The public entry point\n * @param {Object} [userConfig] User's custom config 用户自定义设置\n * @param {String} [userConfig.model.jsonPath = ''] Path to Live2D model's main json eg. `https://test.com/miku.model.json` model主文件路径\n * @param {Number} [userConfig.model.scale = 1] Scale between the model and the canvas 模型与canvas的缩放\n * @param {Number} [userConfig.model.hHeadPos = 0.5] Horizontal position of model's head 模型头部横坐标\n * @param {Number} [userConfig.model.vHeadPos = 0.618] Vertical position of model's head 模型头部纵坐标\n * @param {Array} [userConfig.model.myDefine = []] User's custom Defines which will override LDefine 自定义的LDefine\n * @param {Number} [userConfig.display.antialias = 2] Antialiasing grade 抗锯齿级别\n * @param {Number} [userConfig.display.width = 150] Width to the canvas which shows the model canvas的长度\n * @param {Number} [userConfig.display.height = 300] Height to the canvas which shows the model canvas的高度\n * @param {String} [userConfig.display.position = 'right'] Left of right side to show 显示位置:左或右\n * @param {Number} [userConfig.display.hOffset = 0] Horizontal offset of the canvas canvas水平偏移\n * @param {Number} [userConfig.display.vOffset = -20] Vertical offset of the canvas canvas垂直偏移\n * @param {Boolean} [userConfig.mobile.show = true] Whether to show on mobile device 是否在移动设备上显示\n * @param {Number} [userConfig.mobile.scale = 0.5] Scale on mobile device 移动设备上的缩放\n * @param {Boolean} [userConfig.mobile.motion = true] Whether to enable motion detection on mobile devices 移动设备是否开启重力感应\n * @param {String} [userConfig.name.canvas = 'live2dcanvas'] ID name of the canvas canvas元素的ID\n * @param {String} [userConfig.name.div = 'live2d-widget'] ID name of the div div元素的ID\n * @param {Number} [userConfig.react.opacityDefault = 0.7] Default opacity 默认透明度\n * @param {Number} [userConfig.react.opacityOnHover = 0.2] OnHover opacity 鼠标移上透明度\n * @param {Function} [userConfig.react.myFunc = func(e)] Custom event handler, won't override main handler, will reveice the event type. 自定义事件接收器\n * @param {Boolean} [userConfig.dev.log = false] Whether to show log 显示日志\n * @param {Boolean} [userConfig.dev.border = false] Whether to show border around the canvas 在canvas周围显示边界\n * @param {Boolean} [userConfig.dev.mouseLog = false] Whether to show mouse log (tons of log), only work when dev.log is enabled 显示鼠标移动\n * @param {Function} [userConfig.dev.mouseFunc = func(x, y, ix, iy)] Custom logger, only work when dev.log is enabled, will receive (x, y, ix, iy), which presents the actucally position and vitural position 自定义鼠标移动处理函数\n * @return {null}\n */\n\nfunction init(userConfig){\n\n userConfig = typeof userConfig === 'undefined' ? {} : userConfig;\n\n configApplyer(userConfig);\n\n if((!config.mobile.show)&&(device.mobile())){\n return;\n }\n\n import(/* webpackMode: \"lazy\" */ './cLive2DApp').then(f => {\n f.default();\n }).catch(err => {\n console.error(err);\n });\n\n}\n\nexport {\n init,\n}\n", "static": true, - "longname": "src/lib/_Live2DFramework.js~setLipSyncValue", + "longname": "D:/git/live2d-widget.js/src/index.js", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, "description": null, - "lineNumber": 122, - "undocument": true, - "params": [ - { - "name": "v", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "lineNumber": 1 }, { - "__docId__": 95, + "__docId__": 116, "kind": "function", - "name": "setAccel", - "memberof": "src/lib/_Live2DFramework.js", + "name": "init", + "memberof": "src/index.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setAccel", + "longname": "src/index.js~init", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 129, - "undocument": true, + "export": true, + "importPath": "live2d-widget/src/index.js", + "importStyle": "{init}", + "description": "The public entry point", + "lineNumber": 50, "params": [ { - "name": "x", + "nullable": null, "types": [ - "*" - ] + "Object" + ], + "spread": false, + "optional": true, + "name": "userConfig", + "description": "User's custom config 用户自定义设置" }, { - "name": "y", + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "optional": true, + "defaultValue": " ''", + "defaultRaw": " ''", + "name": "userConfig.model.jsonPath", + "description": "Path to Live2D model's main json eg. `https://test.com/miku.model.json` model主文件路径" }, { - "name": "z", + "nullable": null, "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true - }, - { - "__docId__": 96, - "kind": "function", - "name": "setDrag", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~setDrag", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 138, - "undocument": true, - "params": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 1", + "defaultRaw": 1, + "name": "userConfig.model.scale", + "description": "Scale between the model and the canvas 模型与canvas的缩放" + }, { - "name": "x", + "nullable": null, "types": [ - "*" - ] + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 0.5", + "defaultRaw": 0.5, + "name": "userConfig.model.hHeadPos", + "description": "Horizontal position of model's head 模型头部横坐标" }, { - "name": "y", + "nullable": null, "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true - }, - { - "__docId__": 97, - "kind": "function", - "name": "getMainMotionManager", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~getMainMotionManager", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 146, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true - }, - { - "__docId__": 98, - "kind": "function", - "name": "getExpressionManager", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~getExpressionManager", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 153, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true - }, - { - "__docId__": 99, - "kind": "function", - "name": "loadModelData", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~loadModelData", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 160, - "undocument": true, - "params": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 0.618", + "defaultRaw": 0.618, + "name": "userConfig.model.vHeadPos", + "description": "Vertical position of model's head 模型头部纵坐标" + }, { - "name": "path", + "nullable": null, "types": [ - "*" - ] + "Array" + ], + "spread": false, + "optional": true, + "defaultValue": " []", + "defaultRaw": [], + "name": "userConfig.model.myDefine", + "description": "User's custom Defines which will override LDefine 自定义的LDefine" }, { - "name": "callback", + "nullable": null, "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true - }, - { - "__docId__": 100, - "kind": "function", - "name": "loadTexture", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~loadTexture", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 195, - "undocument": true, - "params": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 2", + "defaultRaw": 2, + "name": "userConfig.display.antialias", + "description": "Antialiasing grade 抗锯齿级别" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 150", + "defaultRaw": 150, + "name": "userConfig.display.width", + "description": "Width to the canvas which shows the model canvas的长度" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 300", + "defaultRaw": 300, + "name": "userConfig.display.height", + "description": "Height to the canvas which shows the model canvas的高度" + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": true, + "defaultValue": " 'right'", + "defaultRaw": " 'right'", + "name": "userConfig.display.position", + "description": "Left of right side to show 显示位置:左或右" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 0", + "defaultRaw": 0, + "name": "userConfig.display.hOffset", + "description": "Horizontal offset of the canvas canvas水平偏移" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " -20", + "defaultRaw": -20, + "name": "userConfig.display.vOffset", + "description": "Vertical offset of the canvas canvas垂直偏移" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": " true", + "defaultRaw": true, + "name": "userConfig.mobile.show", + "description": "Whether to show on mobile device 是否在移动设备上显示" + }, + { + "nullable": null, + "types": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 0.5", + "defaultRaw": 0.5, + "name": "userConfig.mobile.scale", + "description": "Scale on mobile device 移动设备上的缩放" + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": " true", + "defaultRaw": true, + "name": "userConfig.mobile.motion", + "description": "Whether to enable motion detection on mobile devices 移动设备是否开启重力感应" + }, { - "name": "no", + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "optional": true, + "defaultValue": " 'live2dcanvas'", + "defaultRaw": " 'live2dcanvas'", + "name": "userConfig.name.canvas", + "description": "ID name of the canvas canvas元素的ID" }, { - "name": "path", + "nullable": null, "types": [ - "*" - ] + "String" + ], + "spread": false, + "optional": true, + "defaultValue": " 'live2d-widget'", + "defaultRaw": " 'live2d-widget'", + "name": "userConfig.name.div", + "description": "ID name of the div div元素的ID" }, { - "name": "callback", + "nullable": null, "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true - }, - { - "__docId__": 101, - "kind": "function", - "name": "loadMotion", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~loadMotion", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 214, - "undocument": true, - "params": [ + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 0.7", + "defaultRaw": 0.7, + "name": "userConfig.react.opacityDefault", + "description": "Default opacity 默认透明度" + }, { - "name": "name", + "nullable": null, "types": [ - "*" - ] + "Number" + ], + "spread": false, + "optional": true, + "defaultValue": " 0.2", + "defaultRaw": 0.2, + "name": "userConfig.react.opacityOnHover", + "description": "OnHover opacity 鼠标移上透明度" }, { - "name": "path", + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "optional": true, + "defaultValue": " func(e)", + "defaultRaw": " func(e)", + "name": "userConfig.react.myFunc", + "description": "Custom event handler, won't override main handler, will reveice the event type. 自定义事件接收器" }, { - "name": "callback", + "nullable": null, "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true - }, - { - "__docId__": 102, - "kind": "function", - "name": "loadExpression", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~loadExpression", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 235, - "undocument": true, - "params": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": " false", + "defaultRaw": false, + "name": "userConfig.dev.log", + "description": "Whether to show log 显示日志" + }, { - "name": "name", + "nullable": null, "types": [ - "*" - ] + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": " false", + "defaultRaw": false, + "name": "userConfig.dev.border", + "description": "Whether to show border around the canvas 在canvas周围显示边界" }, { - "name": "path", + "nullable": null, "types": [ - "*" - ] + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": " false", + "defaultRaw": false, + "name": "userConfig.dev.mouseLog", + "description": "Whether to show mouse log (tons of log), only work when dev.log is enabled 显示鼠标移动" }, { - "name": "callback", + "nullable": null, "types": [ - "*" - ] + "Function" + ], + "spread": false, + "optional": true, + "defaultValue": " func(x, y, ix, iy)", + "defaultRaw": " func(x, y, ix, iy)", + "name": "userConfig.dev.mouseFunc", + "description": "Custom logger, only work when dev.log is enabled, will receive (x, y, ix, iy), which presents the actucally position and vitural position 自定义鼠标移动处理函数" } ], - "return": null, - "ignore": true + "return": { + "nullable": null, + "types": [ + "null" + ], + "spread": false, + "description": "" + } }, { - "__docId__": 103, - "kind": "function", - "name": "loadPose", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, + "__docId__": 117, + "kind": "file", + "name": "src/lib/Live2DFramework.js", + "content": "/**\n *\n * You can modify and use this source freely\n * only for the development of application related Live2D.\n *\n * (c) Live2D Inc. All rights reserved.\n */\n\n/**\n * EYHN 基于 live2d 官方 Live2DFramework.js 修改\n *\n * Copyright © 2016 - 2017 EYHN\n */\n\n// Modified by xiazeyu.\n\n/**\n* @desc Basic functions releated to model react\n*/\n\n//============================================================\n//============================================================\n// class L2DBaseModel\n//============================================================\n//============================================================\nfunction L2DBaseModel() {\n this.live2DModel = null; // ALive2DModel\n this.modelMatrix = null; // L2DModelMatrix\n this.eyeBlink = null; // L2DEyeBlink\n this.physics = null; // L2DPhysics\n this.pose = null; // L2DPose\n this.debugMode = false;\n this.initialized = false;\n this.updating = false;\n this.alpha = 1;\n this.accAlpha = 0;\n this.lipSync = false;\n this.lipSyncValue = 0;\n this.accelX = 0;\n this.accelY = 0;\n this.accelZ = 0;\n this.dragX = 0;\n this.dragY = 0;\n this.startTimeMSec = null;\n this.mainMotionManager = new L2DMotionManager(); //L2DMotionManager\n this.expressionManager = new L2DMotionManager(); //L2DMotionManager\n this.motions = {};\n this.expressions = {};\n this.isTexLoaded = false;\n}\n\nvar texCounter = 0;\n\n//============================================================\n// L2DBaseModel # getModelMatrix()\n//============================================================\nL2DBaseModel.prototype.getModelMatrix = function () {\n return this.modelMatrix;\n}\n\n//============================================================\n// L2DBaseModel # setAlpha()\n//============================================================\nL2DBaseModel.prototype.setAlpha = function (a/*float*/) {\n if (a > 0.999) a = 1;\n if (a < 0.001) a = 0;\n this.alpha = a;\n}\n\n//============================================================\n// L2DBaseModel # getAlpha()\n//============================================================\nL2DBaseModel.prototype.getAlpha = function () {\n return this.alpha;\n}\n\n//============================================================\n// L2DBaseModel # isInitialized()\n//============================================================\nL2DBaseModel.prototype.isInitialized = function () {\n return this.initialized;\n}\n\n//============================================================\n// L2DBaseModel # setInitialized()\n//============================================================\nL2DBaseModel.prototype.setInitialized = function (v/*boolean*/) {\n this.initialized = v;\n}\n\n//============================================================\n// L2DBaseModel # isUpdating()\n//============================================================\nL2DBaseModel.prototype.isUpdating = function () {\n return this.updating;\n}\n\n//============================================================\n// L2DBaseModel # setUpdating()\n//============================================================\nL2DBaseModel.prototype.setUpdating = function (v/*boolean*/) {\n this.updating = v;\n}\n\n//============================================================\n// L2DBaseModel # getLive2DModel()\n//============================================================\nL2DBaseModel.prototype.getLive2DModel = function () {\n return this.live2DModel;\n}\n\n//============================================================\n// L2DBaseModel # setLipSync()\n//============================================================\nL2DBaseModel.prototype.setLipSync = function (v/*boolean*/) {\n this.lipSync = v;\n}\n\n//============================================================\n// L2DBaseModel # setLipSyncValue()\n//============================================================\nL2DBaseModel.prototype.setLipSyncValue = function (v/*float*/) {\n this.lipSyncValue = v;\n}\n\n//============================================================\n// L2DBaseModel # setAccel()\n//============================================================\nL2DBaseModel.prototype.setAccel = function (x/*float*/, y/*float*/, z/*float*/) {\n this.accelX = x;\n this.accelY = y;\n this.accelZ = z;\n}\n\n//============================================================\n// L2DBaseModel # setDrag()\n//============================================================\nL2DBaseModel.prototype.setDrag = function (x/*float*/, y/*float*/) {\n this.dragX = x;\n this.dragY = y;\n}\n\n//============================================================\n// L2DBaseModel # getMainMotionManager()\n//============================================================\nL2DBaseModel.prototype.getMainMotionManager = function () {\n return this.mainMotionManager;\n}\n\n//============================================================\n// L2DBaseModel # getExpressionManager()\n//============================================================\nL2DBaseModel.prototype.getExpressionManager = function () {\n return this.expressionManager;\n}\n\n//============================================================\n// L2DBaseModel # loadModelData()\n//============================================================\nL2DBaseModel.prototype.loadModelData = function (path/*String*/, callback) {\n /*\n if( this.live2DModel != null ) {\n this.live2DModel.deleteTextures();\n }\n */\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n if (this.debugMode) pm.log(\"Load model : \" + path);\n\n var thisRef = this;\n pm.loadLive2DModel(path, function (l2dModel) {\n thisRef.live2DModel = l2dModel;\n thisRef.live2DModel.saveParam();\n\n var _err = Live2D.getError();\n\n if (_err != 0) {\n console.error(\"Error : Failed to loadModelData().\");\n return;\n }\n\n thisRef.modelMatrix = new L2DModelMatrix(\n thisRef.live2DModel.getCanvasWidth(),\n thisRef.live2DModel.getCanvasHeight()); //L2DModelMatrix\n thisRef.modelMatrix.setWidth(2);\n thisRef.modelMatrix.setCenterPosition(0, 0);\n\n callback(thisRef.live2DModel);\n });\n}\n\n\n//============================================================\n// L2DBaseModel # loadTexture()\n//============================================================\nL2DBaseModel.prototype.loadTexture = function (no/*int*/, path/*String*/, callback) {\n texCounter++;\n\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n\n if (this.debugMode) pm.log(\"Load Texture : \" + path);\n\n var thisRef = this;\n pm.loadTexture(this.live2DModel, no, path, function () {\n texCounter--;\n if (texCounter == 0) thisRef.isTexLoaded = true;\n if (typeof callback == \"function\") callback();\n });\n\n}\n\n//============================================================\n// L2DBaseModel # loadMotion()\n//============================================================\nL2DBaseModel.prototype.loadMotion = function (name/*String*/, path /*String*/, callback) {\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n\n if (this.debugMode) pm.log(\"Load Motion : \" + path);\n\n var motion = null; //Live2DMotion\n\n var thisRef = this;\n pm.loadBytes(path, function (buf) {\n motion = Live2DMotion.loadMotion(buf);\n if (name != null) {\n thisRef.motions[name] = motion;\n }\n callback(motion);\n });\n\n}\n\n//============================================================\n// L2DBaseModel # loadExpression()\n//============================================================\nL2DBaseModel.prototype.loadExpression = function (name/*String*/, path /*String*/, callback) {\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n\n if (this.debugMode) pm.log(\"Load Expression : \" + path);\n\n var thisRef = this;\n pm.loadBytes(path, function (buf) {\n if (name != null) {\n thisRef.expressions[name] = L2DExpressionMotion.loadJson(buf);\n }\n if (typeof callback == \"function\") callback();\n });\n}\n\n//============================================================\n// L2DBaseModel # loadPose()\n//============================================================\nL2DBaseModel.prototype.loadPose = function (path /*String*/, callback) {\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n if (this.debugMode) pm.log(\"Load Pose : \" + path);\n var thisRef = this;\n try {\n pm.loadBytes(path, function (buf) {\n thisRef.pose = L2DPose.load(buf);\n if (typeof callback == \"function\") callback();\n });\n }\n catch (e) {\n console.warn(e);\n }\n}\n\n//============================================================\n// L2DBaseModel # loadPhysics()\n//============================================================\nL2DBaseModel.prototype.loadPhysics = function (path/*String*/) {\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\n if (this.debugMode) pm.log(\"Load Physics : \" + path);\n var thisRef = this;\n try {\n pm.loadBytes(path, function (buf) {\n thisRef.physics = L2DPhysics.load(buf);\n });\n }\n catch (e) {\n console.warn(e);\n }\n}\n\n//============================================================\n// L2DBaseModel # hitTestSimple()\n//============================================================\nL2DBaseModel.prototype.hitTestSimple = function (drawID, testX, testY) {\n\n\tif(this.live2DModel === null) return !1;\n\n var drawIndex = this.live2DModel.getDrawDataIndex(drawID);\n\n if (drawIndex < 0) return false;\n\n var points = this.live2DModel.getTransformedPoints(drawIndex);\n var left = this.live2DModel.getCanvasWidth();\n var right = 0;\n var top = this.live2DModel.getCanvasHeight();\n var bottom = 0;\n\n for (var j = 0; j < points.length; j = j + 2) {\n var x = points[j];\n var y = points[j + 1];\n\n if (x < left) left = x;\n if (x > right) right = x;\n if (y < top) top = y;\n if (y > bottom) bottom = y;\n }\n var tx = this.modelMatrix.invertTransformX(testX);\n var ty = this.modelMatrix.invertTransformY(testY);\n\n return (left <= tx && tx <= right && top <= ty && ty <= bottom);\n}\n\n//============================================================\n//============================================================\n// class L2DExpressionMotion extends AMotion\n//============================================================\n//============================================================\nfunction L2DExpressionMotion() {\n AMotion.prototype.constructor.call(this);\n this.paramList = new Array(); //ArrayList\n}\n\nL2DExpressionMotion.prototype = new AMotion(); // L2DExpressionMotion extends AMotion\n\n//============================================================\nL2DExpressionMotion.EXPRESSION_DEFAULT = \"DEFAULT\";\nL2DExpressionMotion.TYPE_SET = 0;\nL2DExpressionMotion.TYPE_ADD = 1;\nL2DExpressionMotion.TYPE_MULT = 2;\n\n//============================================================\n// static L2DExpressionMotion.loadJson()\n//============================================================\nL2DExpressionMotion.loadJson = function (buf) {\n var ret = new L2DExpressionMotion();\n\n var pm = Live2DFramework.getPlatformManager();\n var json = pm.jsonParseFromBytes(buf);\n\n ret.setFadeIn(parseInt(json.fade_in) > 0 ? parseInt(json.fade_in) : 1000);\n ret.setFadeOut(parseInt(json.fade_out) > 0 ? parseInt(json.fade_out) : 1000);\n\n if (json.params == null) {\n return ret;\n }\n\n var params = json.params;\n var paramNum = params.length;\n ret.paramList = []; //ArrayList\n for (var i = 0; i < paramNum; i++) {\n var param = params[i];\n var paramID = param.id.toString();\n var value = parseFloat(param.val);\n var calcTypeInt = L2DExpressionMotion.TYPE_ADD;\n var calc = param.calc != null ? param.calc.toString() : \"add\";\n if (calc === \"add\") {\n calcTypeInt = L2DExpressionMotion.TYPE_ADD;\n }\n else if (calc === \"mult\") {\n calcTypeInt = L2DExpressionMotion.TYPE_MULT;\n }\n else if (calc === \"set\") {\n calcTypeInt = L2DExpressionMotion.TYPE_SET;\n }\n else {\n calcTypeInt = L2DExpressionMotion.TYPE_ADD;\n }\n if (calcTypeInt == L2DExpressionMotion.TYPE_ADD) {\n var defaultValue = param.def == null ? 0 : parseFloat(param.def);\n value = value - defaultValue;\n }\n else if (calcTypeInt == L2DExpressionMotion.TYPE_MULT) {\n var defaultValue = param.def == null ? 1 : parseFloat(param.def);\n if (defaultValue == 0) defaultValue = 1;\n value = value / defaultValue;\n }\n\n var item = new L2DExpressionParam();\n item.id = paramID;\n item.type = calcTypeInt;\n item.value = value;\n\n ret.paramList.push(item);\n }\n\n return ret;\n}\n\n\n//============================================================\n// L2DExpressionMotion # updateParamExe()\n//============================================================\nL2DExpressionMotion.prototype.updateParamExe = function (model /*ALive2DModel*/, timeMSec/*long*/, weight /*float*/, motionQueueEnt /*MotionQueueEnt*/) {\n for (var i = this.paramList.length - 1; i >= 0; --i) {\n var param = this.paramList[i]; //L2DExpressionParam\n // if (!param || !param.type) continue;\n if (param.type == L2DExpressionMotion.TYPE_ADD) {\n model.addToParamFloat(param.id, param.value, weight);\n }\n else if (param.type == L2DExpressionMotion.TYPE_MULT) {\n model.multParamFloat(param.id, param.value, weight);\n }\n else if (param.type == L2DExpressionMotion.TYPE_SET) {\n model.setParamFloat(param.id, param.value, weight);\n }\n }\n}\n\n//============================================================\n//============================================================\n// class L2DExpressionParam\n//============================================================\n//============================================================\nfunction L2DExpressionParam() {\n this.id = \"\";\n this.type = -1;\n this.value = null;\n}\n\n//============================================================\n//============================================================\n// class L2DEyeBlink\n//============================================================\n//============================================================\nfunction L2DEyeBlink() {\n this.nextBlinkTime = null /* TODO NOT INIT */; //\n this.stateStartTime = null /* TODO NOT INIT */; //\n this.blinkIntervalMsec = null /* TODO NOT INIT */; //\n this.eyeState = EYE_STATE.STATE_FIRST;\n this.blinkIntervalMsec = 4000;\n this.closingMotionMsec = 100;\n this.closedMotionMsec = 50;\n this.openingMotionMsec = 150;\n this.closeIfZero = true;\n this.eyeID_L = \"PARAM_EYE_L_OPEN\";\n this.eyeID_R = \"PARAM_EYE_R_OPEN\";\n}\n\n//============================================================\n// L2DEyeBlink # calcNextBlink()\n//============================================================\nL2DEyeBlink.prototype.calcNextBlink = function () {\n var time /*long*/ = UtSystem.getUserTimeMSec();\n var r /*Number*/ = Math.random();\n return /*(long)*/ (time + r * (2 * this.blinkIntervalMsec - 1));\n}\n\n//============================================================\n// L2DEyeBlink # setInterval()\n//============================================================\nL2DEyeBlink.prototype.setInterval = function (blinkIntervalMsec /*int*/) {\n this.blinkIntervalMsec = blinkIntervalMsec;\n}\n\n//============================================================\n// L2DEyeBlink # setEyeMotion()\n//============================================================\nL2DEyeBlink.prototype.setEyeMotion = function (closingMotionMsec/*int*/, closedMotionMsec/*int*/, openingMotionMsec/*int*/) {\n this.closingMotionMsec = closingMotionMsec;\n this.closedMotionMsec = closedMotionMsec;\n this.openingMotionMsec = openingMotionMsec;\n}\n\n//============================================================\n// L2DEyeBlink # updateParam()\n//============================================================\nL2DEyeBlink.prototype.updateParam = function (model/*ALive2DModel*/) {\n var time /*:long*/ = UtSystem.getUserTimeMSec();\n var eyeParamValue /*:Number*/;\n var t /*:Number*/ = 0;\n switch (this.eyeState) {\n case EYE_STATE.STATE_CLOSING:\n t = (time - this.stateStartTime) / this.closingMotionMsec;\n if (t >= 1) {\n t = 1;\n this.eyeState = EYE_STATE.STATE_CLOSED;\n this.stateStartTime = time;\n }\n eyeParamValue = 1 - t;\n break;\n case EYE_STATE.STATE_CLOSED:\n t = (time - this.stateStartTime) / this.closedMotionMsec;\n if (t >= 1) {\n this.eyeState = EYE_STATE.STATE_OPENING;\n this.stateStartTime = time;\n }\n eyeParamValue = 0;\n break;\n case EYE_STATE.STATE_OPENING:\n t = (time - this.stateStartTime) / this.openingMotionMsec;\n if (t >= 1) {\n t = 1;\n this.eyeState = EYE_STATE.STATE_INTERVAL;\n this.nextBlinkTime = this.calcNextBlink();\n }\n eyeParamValue = t;\n break;\n case EYE_STATE.STATE_INTERVAL:\n if (this.nextBlinkTime < time) {\n this.eyeState = EYE_STATE.STATE_CLOSING;\n this.stateStartTime = time;\n }\n eyeParamValue = 1;\n break;\n case EYE_STATE.STATE_FIRST:\n default:\n this.eyeState = EYE_STATE.STATE_INTERVAL;\n this.nextBlinkTime = this.calcNextBlink();\n eyeParamValue = 1;\n break;\n }\n if (!this.closeIfZero) eyeParamValue = -eyeParamValue;\n model.setParamFloat(this.eyeID_L, eyeParamValue);\n model.setParamFloat(this.eyeID_R, eyeParamValue);\n}\n\n//== enum EYE_STATE ==\nvar EYE_STATE = function () { };\n\nEYE_STATE.STATE_FIRST = \"STATE_FIRST\"\nEYE_STATE.STATE_INTERVAL = \"STATE_INTERVAL\"\nEYE_STATE.STATE_CLOSING = \"STATE_CLOSING\"\nEYE_STATE.STATE_CLOSED = \"STATE_CLOSED\"\nEYE_STATE.STATE_OPENING = \"STATE_OPENING\"\n\n//============================================================\n//============================================================\n// class L2DMatrix44\n//============================================================\n//============================================================\nfunction L2DMatrix44() {\n this.tr = new Float32Array(16); //\n this.identity();\n}\n\n//============================================================\n// static L2DMatrix44.mul()\n//============================================================\n// matrix multiplication\nL2DMatrix44.mul = function (a/*float[]*/, b/*float[]*/, dst/*float[]*/) {\n var c = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];\n var n = 4;\n var i, j, k;\n for (i = 0; i < n; i++) {\n for (j = 0; j < n; j++) {\n for (k = 0; k < n; k++) {\n c[i + j * 4] += a[i + k * 4] * b[k + j * 4];\n }\n }\n }\n for (i = 0; i < 16; i++) {\n dst[i] = c[i];\n }\n}\n\n//============================================================\n// L2DMatrix44 # identity()\n//============================================================\nL2DMatrix44.prototype.identity = function () {\n for (var i/*:int*/ = 0; i < 16; i++)\n this.tr[i] = ((i % 5) == 0) ? 1 : 0;\n}\n\n//============================================================\n// L2DMatrix44 # getArray()\n//============================================================\nL2DMatrix44.prototype.getArray = function () {\n return this.tr;\n}\n\n//============================================================\n// L2DMatrix44 # getCopyMatrix()\n//============================================================\nL2DMatrix44.prototype.getCopyMatrix = function () {\n return new Float32Array(this.tr); // this.tr.clone();\n}\n\n//============================================================\n// L2DMatrix44 # setMatrix()\n//============================================================\nL2DMatrix44.prototype.setMatrix = function (tr/*float[]*/) {\n if (this.tr == null || this.tr.length != this.tr.length) return;\n for (var i/*:int*/ = 0; i < 16; i++) this.tr[i] = tr[i];\n}\n\n//============================================================\n// L2DMatrix44 # getScaleX()\n//============================================================\nL2DMatrix44.prototype.getScaleX = function () {\n return this.tr[0];\n}\n\n//============================================================\n// L2DMatrix44 # getScaleY()\n//============================================================\nL2DMatrix44.prototype.getScaleY = function () {\n return this.tr[5];\n}\n\n//============================================================\n// L2DMatrix44 # transformX()\n//============================================================\nL2DMatrix44.prototype.transformX = function (src/*float*/) {\n return this.tr[0] * src + this.tr[12];\n}\n\n//============================================================\n// L2DMatrix44 # transformY()\n//============================================================\nL2DMatrix44.prototype.transformY = function (src/*float*/) {\n return this.tr[5] * src + this.tr[13];\n}\n\n//============================================================\n// L2DMatrix44 # invertTransformX()\n//============================================================\nL2DMatrix44.prototype.invertTransformX = function (src/*float*/) {\n return (src - this.tr[12]) / this.tr[0];\n}\n\n//============================================================\n// L2DMatrix44 # invertTransformY()\n//============================================================\nL2DMatrix44.prototype.invertTransformY = function (src/*float*/) {\n return (src - this.tr[13]) / this.tr[5];\n}\n\n//============================================================\n// L2DMatrix44 # multTranslate()\n//============================================================\nL2DMatrix44.prototype.multTranslate = function (shiftX/*float*/, shiftY/*float*/) {\n var tr1 = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, shiftX, shiftY, 0, 1];\n L2DMatrix44.mul(tr1, this.tr, this.tr);\n}\n\n//============================================================\n// L2DMatrix44 # translate()\n//============================================================\nL2DMatrix44.prototype.translate = function (x/*float*/, y/*float*/) {\n this.tr[12] = x;\n this.tr[13] = y;\n}\n\n//============================================================\n// L2DMatrix44 # translateX()\n//============================================================\nL2DMatrix44.prototype.translateX = function (x/*float*/) {\n this.tr[12] = x;\n}\n\n//============================================================\n// L2DMatrix44 # translateY()\n//============================================================\nL2DMatrix44.prototype.translateY = function (y/*float*/) {\n this.tr[13] = y;\n}\n\n//============================================================\n// L2DMatrix44 # multScale()\n//============================================================\nL2DMatrix44.prototype.multScale = function (scaleX/*float*/, scaleY/*float*/) {\n var tr1 = [scaleX, 0, 0, 0, 0, scaleY, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\n L2DMatrix44.mul(tr1, this.tr, this.tr);\n}\n\n//============================================================\n// L2DMatrix44 # scale()\n//============================================================\nL2DMatrix44.prototype.scale = function (scaleX/*float*/, scaleY/*float*/) {\n this.tr[0] = scaleX;\n this.tr[5] = scaleY;\n}\n\n//============================================================\n//============================================================\n// class L2DModelMatrix extends L2DMatrix44\n//============================================================\n//============================================================\nfunction L2DModelMatrix(w/*float*/, h/*float*/) {\n L2DMatrix44.prototype.constructor.call(this);\n this.width = w;\n this.height = h;\n}\n\n//L2DModelMatrix extends L2DMatrix44\nL2DModelMatrix.prototype = new L2DMatrix44();\n\n//============================================================\n// L2DModelMatrix # setPosition()\n//============================================================\nL2DModelMatrix.prototype.setPosition = function (x/*float*/, y/*float*/) {\n this.translate(x, y);\n}\n\n//============================================================\n// L2DModelMatrix # setCenterPosition()\n//============================================================\nL2DModelMatrix.prototype.setCenterPosition = function (x/*float*/, y/*float*/) {\n var w = this.width * this.getScaleX();\n var h = this.height * this.getScaleY();\n this.translate(x - w / 2, y - h / 2);\n}\n\n//============================================================\n// L2DModelMatrix # top()\n//============================================================\nL2DModelMatrix.prototype.top = function (y/*float*/) {\n this.setY(y);\n}\n\n//============================================================\n// L2DModelMatrix # bottom()\n//============================================================\nL2DModelMatrix.prototype.bottom = function (y/*float*/) {\n var h = this.height * this.getScaleY();\n this.translateY(y - h);\n}\n\n//============================================================\n// L2DModelMatrix # left()\n//============================================================\nL2DModelMatrix.prototype.left = function (x/*float*/) {\n this.setX(x);\n}\n\n//============================================================\n// L2DModelMatrix # right()\n//============================================================\nL2DModelMatrix.prototype.right = function (x/*float*/) {\n var w = this.width * this.getScaleX();\n this.translateX(x - w);\n}\n\n//============================================================\n// L2DModelMatrix # centerX()\n//============================================================\nL2DModelMatrix.prototype.centerX = function (x/*float*/) {\n var w = this.width * this.getScaleX();\n this.translateX(x - w / 2);\n}\n\n//============================================================\n// L2DModelMatrix # centerY()\n//============================================================\nL2DModelMatrix.prototype.centerY = function (y/*float*/) {\n var h = this.height * this.getScaleY();\n this.translateY(y - h / 2);\n}\n\n//============================================================\n// L2DModelMatrix # setX()\n//============================================================\nL2DModelMatrix.prototype.setX = function (x/*float*/) {\n this.translateX(x);\n}\n\n//============================================================\n// L2DModelMatrix # setY()\n//============================================================\nL2DModelMatrix.prototype.setY = function (y/*float*/) {\n this.translateY(y);\n}\n\n//============================================================\n// L2DModelMatrix # setHeight()\n//============================================================\nL2DModelMatrix.prototype.setHeight = function (h/*float*/) {\n var scaleX = h / this.height;\n var scaleY = -scaleX;\n this.scale(scaleX, scaleY);\n}\n\n//============================================================\n// L2DModelMatrix # setWidth()\n//============================================================\nL2DModelMatrix.prototype.setWidth = function (w/*float*/) {\n var scaleX = w / this.width;\n var scaleY = -scaleX;\n this.scale(scaleX, scaleY);\n}\n\n//============================================================\n//============================================================\n// class L2DMotionManager extends MotionQueueManager\n//============================================================\n//============================================================\nfunction L2DMotionManager() {\n MotionQueueManager.prototype.constructor.call(this);\n this.currentPriority = null;\n this.reservePriority = null;\n\n this.super = MotionQueueManager.prototype;\n}\n\n\nL2DMotionManager.prototype = new MotionQueueManager();\n\n//============================================================\n// L2DMotionManager # getCurrentPriority()\n//============================================================\nL2DMotionManager.prototype.getCurrentPriority = function () {\n return this.currentPriority;\n}\n\n//============================================================\n// L2DMotionManager # getReservePriority()\n//============================================================\nL2DMotionManager.prototype.getReservePriority = function () {\n return this.reservePriority;\n}\n\n//============================================================\n// L2DMotionManager # reserveMotion()\n//============================================================\nL2DMotionManager.prototype.reserveMotion = function (priority/*int*/) {\n if (this.reservePriority >= priority) {\n return false;\n }\n if (this.currentPriority >= priority) {\n return false;\n }\n\n this.reservePriority = priority;\n\n return true;\n}\n\n//============================================================\n// L2DMotionManager # setReservePriority()\n//============================================================\nL2DMotionManager.prototype.setReservePriority = function (val/*int*/) {\n this.reservePriority = val;\n}\n\n//============================================================\n// L2DMotionManager # updateParam()\n//============================================================\nL2DMotionManager.prototype.updateParam = function (model/*ALive2DModel*/) {\n var updated = MotionQueueManager.prototype.updateParam.call(this, model);\n\n if (this.isFinished()) {\n this.currentPriority = 0;\n }\n\n return updated;\n}\n\n//============================================================\n// L2DMotionManager # startMotionPrio()\n//============================================================\nL2DMotionManager.prototype.startMotionPrio = function (motion/*AMotion*/, priority/*int*/) {\n if (priority == this.reservePriority) {\n this.reservePriority = 0;\n }\n this.currentPriority = priority;\n return this.startMotion(motion, false);\n}\n\n//============================================================\n//============================================================\n// class L2DPhysics\n//============================================================\n//============================================================\nfunction L2DPhysics() {\n this.physicsList = new Array(); //ArrayList\n this.startTimeMSec = UtSystem.getUserTimeMSec();\n}\n\n//============================================================\n// static L2DPhysics.load()\n//============================================================\nL2DPhysics.load = function (buf /*byte[]*/) {\n var ret = new L2DPhysics(); //L2DPhysicsL2DPhysics\n var pm = Live2DFramework.getPlatformManager();\n var json = pm.jsonParseFromBytes(buf);\n var params = json.physics_hair;\n var paramNum = params.length;\n for (var i = 0; i < paramNum; i++) {\n var param = params[i]; //Value\n var physics = new PhysicsHair(); //PhysicsHairPhysicsHair\n var setup = param.setup; //Value\n var length = parseFloat(setup.length);\n var resist = parseFloat(setup.regist);\n var mass = parseFloat(setup.mass);\n physics.setup(length, resist, mass);\n var srcList = param.src; //Value\n var srcNum = srcList.length;\n for (var j = 0; j < srcNum; j++) {\n var src = srcList[j]; //Value\n var id = src.id; //String\n var type = PhysicsHair.Src.SRC_TO_X;\n var typeStr = src.ptype; //String\n if (typeStr === \"x\") {\n type = PhysicsHair.Src.SRC_TO_X;\n }\n else if (typeStr === \"y\") {\n type = PhysicsHair.Src.SRC_TO_Y;\n }\n else if (typeStr === \"angle\") {\n type = PhysicsHair.Src.SRC_TO_G_ANGLE;\n }\n else {\n UtDebug.error(\"live2d\", \"Invalid parameter:PhysicsHair.Src\");\n }\n var scale = parseFloat(src.scale);\n var weight = parseFloat(src.weight);\n physics.addSrcParam(type, id, scale, weight);\n }\n var targetList = param.targets; //Value\n var targetNum = targetList.length;\n for (var j = 0; j < targetNum; j++) {\n var target = targetList[j]; //Value\n var id = target.id; //String\n var type = PhysicsHair.Target.TARGET_FROM_ANGLE;\n var typeStr = target.ptype; //String\n if (typeStr === \"angle\") {\n type = PhysicsHair.Target.TARGET_FROM_ANGLE;\n }\n else if (typeStr === \"angle_v\") {\n type = PhysicsHair.Target.TARGET_FROM_ANGLE_V;\n }\n else {\n UtDebug.error(\"live2d\", \"Invalid parameter:PhysicsHair.Target\");\n }\n var scale = parseFloat(target.scale);\n var weight = parseFloat(target.weight);\n physics.addTargetParam(type, id, scale, weight);\n }\n ret.physicsList.push(physics);\n }\n return ret;\n}\n\n//============================================================\n// L2DPhysics # updateParam()\n//============================================================\nL2DPhysics.prototype.updateParam = function (model/*ALive2DModel*/) {\n var timeMSec = UtSystem.getUserTimeMSec() - this.startTimeMSec;\n for (var i = 0; i < this.physicsList.length; i++) {\n this.physicsList[i].update(model, timeMSec);\n }\n}\n\n//============================================================\n//============================================================\n// class L2DPose\n//============================================================\n//============================================================\nfunction L2DPose() {\n this.lastTime = 0;\n this.lastModel = null; //ALive2DModel\n this.partsGroups = new Array(); //ArrayList\n}\n\n\n//============================================================\n// static L2DPose.load()\n//============================================================\nL2DPose.load = function (buf/*byte[]*/) {\n var ret = new L2DPose(); //L2DPose\n var pm = Live2DFramework.getPlatformManager();\n var json = pm.jsonParseFromBytes(buf);\n var poseListInfo = json.parts_visible; //Value\n var poseNum = poseListInfo.length;\n for (var i_pose = 0; i_pose < poseNum; i_pose++) {\n var poseInfo = poseListInfo[i_pose]; //Value\n var idListInfo = poseInfo.group; //Value\n var idNum = idListInfo.length;\n var partsGroup/*L2DPartsParam*/ = new Array();\n for (var i_group = 0; i_group < idNum; i_group++) {\n var partsInfo = idListInfo[i_group]; //Value\n var parts = new L2DPartsParam(partsInfo.id); //L2DPartsParamL2DPartsParam\n partsGroup[i_group] = parts;\n if (partsInfo.link == null) continue;\n var linkListInfo = partsInfo.link; //Value\n var linkNum = linkListInfo.length;\n parts.link = new Array(); //ArrayList\n for (var i_link = 0; i_link < linkNum; i_link++) {\n var linkParts = new L2DPartsParam(linkListInfo[i_link]); //L2DPartsParamL2DPartsParam\n parts.link.push(linkParts);\n }\n }\n ret.partsGroups.push(partsGroup);\n }\n\n return ret;\n}\n\n//============================================================\n// L2DPose # updateParam()\n//============================================================\nL2DPose.prototype.updateParam = function (model/*ALive2DModel*/) {\n if (model == null) return;\n\n if (!(model == this.lastModel)) {\n this.initParam(model);\n }\n this.lastModel = model;\n\n var curTime = UtSystem.getUserTimeMSec();\n var deltaTimeSec = ((this.lastTime == 0) ? 0 : (curTime - this.lastTime) / 1000.0);\n this.lastTime = curTime;\n if (deltaTimeSec < 0) deltaTimeSec = 0;\n for (var i = 0; i < this.partsGroups.length; i++) {\n this.normalizePartsOpacityGroup(model, this.partsGroups[i], deltaTimeSec);\n this.copyOpacityOtherParts(model, this.partsGroups[i]);\n }\n}\n\n//============================================================\n// L2DPose # initParam()\n//============================================================\nL2DPose.prototype.initParam = function (model/*ALive2DModel*/) {\n if (model == null) return;\n for (var i = 0; i < this.partsGroups.length; i++) {\n var partsGroup = this.partsGroups[i]; //L2DPartsParam\n for (var j = 0; j < partsGroup.length; j++) {\n partsGroup[j].initIndex(model);\n var partsIndex = partsGroup[j].partsIndex;\n var paramIndex = partsGroup[j].paramIndex;\n if (partsIndex < 0) continue;\n var v/*:Boolean*/ = (model.getParamFloat(paramIndex) != 0);\n model.setPartsOpacity(partsIndex, (v ? 1.0 : 0.0));\n model.setParamFloat(paramIndex, (v ? 1.0 : 0.0));\n if (partsGroup[j].link == null) continue;\n for (var k = 0; k < partsGroup[j].link.length; k++) {\n partsGroup[j].link[k].initIndex(model);\n }\n }\n }\n}\n\n//============================================================\n// L2DPose # normalizePartsOpacityGroup()\n//============================================================\nL2DPose.prototype.normalizePartsOpacityGroup = function (model/*ALive2DModel*/, partsGroup/*L2DPartsParam[]*/, deltaTimeSec/*float*/) {\n var visibleParts = -1;\n var visibleOpacity = 1.0;\n var CLEAR_TIME_SEC = 0.5;\n var phi = 0.5;\n var maxBackOpacity = 0.15;\n for (var i = 0; i < partsGroup.length; i++) {\n var partsIndex = partsGroup[i].partsIndex;\n var paramIndex = partsGroup[i].paramIndex;\n if (partsIndex < 0) continue; if (model.getParamFloat(paramIndex) != 0) {\n if (visibleParts >= 0) {\n break;\n }\n visibleParts = i;\n visibleOpacity = model.getPartsOpacity(partsIndex);\n visibleOpacity += deltaTimeSec / CLEAR_TIME_SEC;\n if (visibleOpacity > 1) {\n visibleOpacity = 1;\n }\n }\n }\n if (visibleParts < 0) {\n visibleParts = 0;\n visibleOpacity = 1;\n }\n for (var i = 0; i < partsGroup.length; i++) {\n var partsIndex = partsGroup[i].partsIndex;\n if (partsIndex < 0) continue; if (visibleParts == i) {\n model.setPartsOpacity(partsIndex, visibleOpacity);\n }\n else {\n var opacity = model.getPartsOpacity(partsIndex);\n var a1;\n if (visibleOpacity < phi) {\n a1 = visibleOpacity * (phi - 1) / phi + 1;\n }\n else {\n a1 = (1 - visibleOpacity) * phi / (1 - phi);\n }\n var backOp = (1 - a1) * (1 - visibleOpacity);\n if (backOp > maxBackOpacity) {\n a1 = 1 - maxBackOpacity / (1 - visibleOpacity);\n }\n if (opacity > a1) {\n opacity = a1;\n }\n model.setPartsOpacity(partsIndex, opacity);\n }\n }\n}\n\n//============================================================\n// L2DPose # copyOpacityOtherParts()\n//============================================================\nL2DPose.prototype.copyOpacityOtherParts = function (model/*ALive2DModel*/, partsGroup/*L2DPartsParam[]*/) {\n for (var i_group = 0; i_group < partsGroup.length; i_group++) {\n var partsParam = partsGroup[i_group]; //L2DPartsParam\n if (partsParam.link == null) continue;\n if (partsParam.partsIndex < 0) continue;\n var opacity = model.getPartsOpacity(partsParam.partsIndex);\n for (var i_link = 0; i_link < partsParam.link.length; i_link++) {\n var linkParts = partsParam.link[i_link]; //L2DPartsParam\n if (linkParts.partsIndex < 0) continue;\n model.setPartsOpacity(linkParts.partsIndex, opacity);\n }\n }\n}\n\n//============================================================\n//============================================================\n// class L2DPartsParam\n//============================================================\n//============================================================\nfunction L2DPartsParam(id/*String*/) {\n this.paramIndex = -1;\n this.partsIndex = -1;\n this.link = null; // ArrayList\n this.id = id;\n}\n\n//============================================================\n// L2DPartsParam # initIndex()\n//============================================================\nL2DPartsParam.prototype.initIndex = function (model/*ALive2DModel*/) {\n this.paramIndex = model.getParamIndex(\"VISIBLE:\" + this.id);\n this.partsIndex = model.getPartsDataIndex(PartsDataID.getID(this.id));\n model.setParamFloat(this.paramIndex, 1);\n}\n\n//============================================================\n//============================================================\n// class L2DTargetPoint\n//============================================================\n//============================================================\nfunction L2DTargetPoint() {\n this.EPSILON = 0.01; // 変化の最小値(この値以下は無視される)\n this.faceTargetX = 0;\n this.faceTargetY = 0;\n this.faceX = 0;\n this.faceY = 0;\n this.faceVX = 0;\n this.faceVY = 0;\n this.lastTimeSec = 0;\n}\n\n//============================================================\nL2DTargetPoint.FRAME_RATE = 30;\n\n//============================================================\n// L2DTargetPoint # set()\n//============================================================\nL2DTargetPoint.prototype.setPoint = function (x/*float*/, y/*float*/) {\n this.faceTargetX = x;\n this.faceTargetY = y;\n}\n\n//============================================================\n// L2DTargetPoint # getX()\n//============================================================\nL2DTargetPoint.prototype.getX = function () {\n return this.faceX;\n}\n\n//============================================================\n// L2DTargetPoint # getY()\n//============================================================\nL2DTargetPoint.prototype.getY = function () {\n return this.faceY;\n}\n\n//============================================================\n// L2DTargetPoint # update()\n//============================================================\nL2DTargetPoint.prototype.update = function () {\n var TIME_TO_MAX_SPEED = 0.15;\n var FACE_PARAM_MAX_V = 40.0 / 7.5;\n var MAX_V = FACE_PARAM_MAX_V / L2DTargetPoint.FRAME_RATE;\n if (this.lastTimeSec == 0) {\n this.lastTimeSec = UtSystem.getUserTimeMSec();\n return;\n }\n var curTimeSec = UtSystem.getUserTimeMSec();\n var deltaTimeWeight = (curTimeSec - this.lastTimeSec) * L2DTargetPoint.FRAME_RATE / 1000.0;\n this.lastTimeSec = curTimeSec;\n var FRAME_TO_MAX_SPEED = TIME_TO_MAX_SPEED * L2DTargetPoint.FRAME_RATE;\n var MAX_A = deltaTimeWeight * MAX_V / FRAME_TO_MAX_SPEED;\n var dx = (this.faceTargetX - this.faceX);\n var dy = (this.faceTargetY - this.faceY);\n // if(dx == 0 && dy == 0) return;\n if (Math.abs(dx) <= this.EPSILON && Math.abs(dy) <= this.EPSILON) return;\n var d = Math.sqrt(dx * dx + dy * dy);\n var vx = MAX_V * dx / d;\n var vy = MAX_V * dy / d;\n var ax = vx - this.faceVX;\n var ay = vy - this.faceVY;\n var a = Math.sqrt(ax * ax + ay * ay);\n if (a < -MAX_A || a > MAX_A) {\n ax *= MAX_A / a;\n ay *= MAX_A / a;\n a = MAX_A;\n }\n this.faceVX += ax;\n this.faceVY += ay;\n {\n var max_v = 0.5 * (Math.sqrt(MAX_A * MAX_A + 16 * MAX_A * d - 8 * MAX_A * d) - MAX_A);\n var cur_v = Math.sqrt(this.faceVX * this.faceVX + this.faceVY * this.faceVY);\n if (cur_v > max_v) {\n this.faceVX *= max_v / cur_v;\n this.faceVY *= max_v / cur_v;\n }\n }\n this.faceX += this.faceVX;\n this.faceY += this.faceVY;\n}\n\n//============================================================\n//============================================================\n// class L2DViewMatrix extends L2DMatrix44\n//============================================================\n//============================================================\nfunction L2DViewMatrix() {\n L2DMatrix44.prototype.constructor.call(this);\n this.screenLeft = null;\n this.screenRight = null;\n this.screenTop = null;\n this.screenBottom = null;\n this.maxLeft = null;\n this.maxRight = null;\n this.maxTop = null;\n this.maxBottom = null;\n}\n\nL2DViewMatrix.prototype = new L2DMatrix44(); //L2DViewMatrix extends L2DMatrix44\n\n//============================================================\n// L2DViewMatrix # adjustTranslate()\n//============================================================\nL2DViewMatrix.prototype.adjustTranslate = function (shiftX/*float*/, shiftY/*float*/) {\n if (this.tr[0] * this.maxLeft + (this.tr[12] + shiftX) > this.screenLeft)\n shiftX = this.screenLeft - this.tr[0] * this.maxLeft - this.tr[12];\n if (this.tr[0] * this.maxRight + (this.tr[12] + shiftX) < this.screenRight)\n shiftX = this.screenRight - this.tr[0] * this.maxRight - this.tr[12];\n if (this.tr[5] * this.maxTop + (this.tr[13] + shiftY) < this.screenTop)\n shiftY = this.screenTop - this.tr[5] * this.maxTop - this.tr[13];\n if (this.tr[5] * this.maxBottom + (this.tr[13] + shiftY) > this.screenBottom)\n shiftY = this.screenBottom - this.tr[5] * this.maxBottom - this.tr[13];\n\n var tr1 = [1, 0, 0, 0,\n 0, 1, 0, 0,\n 0, 0, 1, 0,\n shiftX, shiftY, 0, 1];\n L2DMatrix44.mul(tr1, this.tr, this.tr);\n}\n\n//============================================================\n// L2DViewMatrix # adjustScale()\n//============================================================\nL2DViewMatrix.prototype.adjustScale = function (cx/*float*/, cy/*float*/, scale/*float*/) {\n var targetScale = scale * this.tr[0];\n var tr1 = [1, 0, 0, 0,\n 0, 1, 0, 0,\n 0, 0, 1, 0,\n cx, cy, 0, 1];\n var tr2 = [scale, 0, 0, 0,\n 0, scale, 0, 0,\n 0, 0, 1, 0,\n 0, 0, 0, 1];\n var tr3 = [1, 0, 0, 0,\n 0, 1, 0, 0,\n 0, 0, 1, 0,\n -cx, -cy, 0, 1];\n L2DMatrix44.mul(tr3, this.tr, this.tr);\n L2DMatrix44.mul(tr2, this.tr, this.tr);\n L2DMatrix44.mul(tr1, this.tr, this.tr);\n}\n\n//============================================================\n// L2DViewMatrix # setScreenRect()\n//============================================================\nL2DViewMatrix.prototype.setScreenRect = function (left/*float*/, right/*float*/, bottom/*float*/, top/*float*/) {\n this.screenLeft = left;\n this.screenRight = right;\n this.screenTop = top;\n this.screenBottom = bottom;\n}\n\n//============================================================\n// L2DViewMatrix # setMaxScreenRect()\n//============================================================\nL2DViewMatrix.prototype.setMaxScreenRect = function (left/*float*/, right/*float*/, bottom/*float*/, top/*float*/) {\n this.maxLeft = left;\n this.maxRight = right;\n this.maxTop = top;\n this.maxBottom = bottom;\n}\n\n//============================================================\n// L2DViewMatrix # getScreenLeft()\n//============================================================\nL2DViewMatrix.prototype.getScreenLeft = function () {\n return this.screenLeft;\n}\n\n//============================================================\n// L2DViewMatrix # getScreenRight()\n//============================================================\nL2DViewMatrix.prototype.getScreenRight = function () {\n return this.screenRight;\n}\n\n//============================================================\n// L2DViewMatrix # getScreenBottom()\n//============================================================\nL2DViewMatrix.prototype.getScreenBottom = function () {\n return this.screenBottom;\n}\n\n//============================================================\n// L2DViewMatrix # getScreenTop()\n//============================================================\nL2DViewMatrix.prototype.getScreenTop = function () {\n return this.screenTop;\n}\n\n//============================================================\n// L2DViewMatrix # getMaxLeft()\n//============================================================\nL2DViewMatrix.prototype.getMaxLeft = function () {\n return this.maxLeft;\n}\n\n//============================================================\n// L2DViewMatrix # getMaxRight()\n//============================================================\nL2DViewMatrix.prototype.getMaxRight = function () {\n return this.maxRight;\n}\n\n//============================================================\n// L2DViewMatrix # getMaxBottom()\n//============================================================\nL2DViewMatrix.prototype.getMaxBottom = function () {\n return this.maxBottom;\n}\n\n//============================================================\n// L2DViewMatrix # getMaxTop()\n//============================================================\nL2DViewMatrix.prototype.getMaxTop = function () {\n return this.maxTop;\n}\n\n//============================================================\n//============================================================\n// class Live2DFramework\n//============================================================\n//============================================================\nfunction Live2DFramework() {\n}\n\n//============================================================\nLive2DFramework.platformManager = null;\n\n//============================================================\n// static Live2DFramework.getPlatformManager()\n//============================================================\nLive2DFramework.getPlatformManager = function () {\n return Live2DFramework.platformManager;\n}\n\n//============================================================\n// static Live2DFramework.setPlatformManager()\n//============================================================\nLive2DFramework.setPlatformManager = function (platformManager /*IPlatformManager*/) {\n Live2DFramework.platformManager = platformManager;\n}\n\nexport{\n L2DTargetPoint,\n Live2DFramework,\n L2DViewMatrix,\n L2DPose,\n L2DPartsParam,\n L2DPhysics,\n L2DMotionManager,\n L2DModelMatrix,\n L2DMatrix44,\n EYE_STATE,\n L2DEyeBlink,\n L2DExpressionParam,\n L2DExpressionMotion,\n L2DBaseModel,\n}\n", + "static": true, + "longname": "D:/git/live2d-widget.js/src/lib/Live2DFramework.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 118, + "kind": "variable", + "name": "texCounter", + "memberof": "src/lib/Live2DFramework.js", "static": true, - "longname": "src/lib/_Live2DFramework.js~loadPose", + "longname": "src/lib/Live2DFramework.js~texCounter", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 252, + "lineNumber": 52, "undocument": true, - "params": [ - { - "name": "path", - "types": [ - "*" - ] - }, - { - "name": "callback", - "types": [ - "*" - ] - } - ], - "return": null, + "type": { + "types": [ + "number" + ] + }, "ignore": true }, { - "__docId__": 104, + "__docId__": 119, "kind": "function", - "name": "loadPhysics", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getModelMatrix", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~loadPhysics", + "longname": "src/lib/Live2DFramework.js~getModelMatrix", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 270, + "lineNumber": 57, "undocument": true, - "params": [ - { - "name": "path", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 105, + "__docId__": 120, "kind": "function", - "name": "hitTestSimple", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setAlpha", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~hitTestSimple", + "longname": "src/lib/Live2DFramework.js~setAlpha", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 287, + "lineNumber": 64, "undocument": true, "params": [ { - "name": "drawID", - "types": [ - "*" - ] - }, - { - "name": "testX", - "types": [ - "*" - ] - }, - { - "name": "testY", + "name": "a", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 106, + "__docId__": 121, "kind": "function", - "name": "L2DExpressionMotion", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getAlpha", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DExpressionMotion", + "longname": "src/lib/Live2DFramework.js~getAlpha", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 321, + "lineNumber": 73, "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 107, + "__docId__": 122, "kind": "function", - "name": "loadJson", - "memberof": "src/lib/_Live2DFramework.js", + "name": "isInitialized", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~loadJson", + "longname": "src/lib/Live2DFramework.js~isInitialized", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 337, + "lineNumber": 80, "undocument": true, - "params": [ - { - "name": "buf", - "types": [ - "*" - ] - } - ], + "params": [], "return": { "types": [ "*" @@ -2412,42 +2697,24 @@ "ignore": true }, { - "__docId__": 108, + "__docId__": 123, "kind": "function", - "name": "updateParamExe", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setInitialized", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~updateParamExe", + "longname": "src/lib/Live2DFramework.js~setInitialized", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 396, + "lineNumber": 87, "undocument": true, "params": [ { - "name": "model", - "types": [ - "*" - ] - }, - { - "name": "timeMSec", - "types": [ - "*" - ] - }, - { - "name": "weight", - "types": [ - "*" - ] - }, - { - "name": "motionQueueEnt", + "name": "v", "types": [ "*" ] @@ -2457,60 +2724,71 @@ "ignore": true }, { - "__docId__": 109, + "__docId__": 124, "kind": "function", - "name": "L2DExpressionParam", - "memberof": "src/lib/_Live2DFramework.js", + "name": "isUpdating", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DExpressionParam", + "longname": "src/lib/Live2DFramework.js~isUpdating", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 417, + "lineNumber": 94, "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 110, + "__docId__": 125, "kind": "function", - "name": "L2DEyeBlink", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setUpdating", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DEyeBlink", + "longname": "src/lib/Live2DFramework.js~setUpdating", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 428, + "lineNumber": 101, "undocument": true, - "params": [], + "params": [ + { + "name": "v", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 111, + "__docId__": 126, "kind": "function", - "name": "calcNextBlink", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getLive2DModel", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~calcNextBlink", + "longname": "src/lib/Live2DFramework.js~getLive2DModel", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 445, + "lineNumber": 108, "undocument": true, "params": [], "return": { @@ -2521,24 +2799,24 @@ "ignore": true }, { - "__docId__": 112, + "__docId__": 127, "kind": "function", - "name": "setInterval", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setLipSync", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setInterval", + "longname": "src/lib/Live2DFramework.js~setLipSync", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 454, + "lineNumber": 115, "undocument": true, "params": [ { - "name": "blinkIntervalMsec", + "name": "v", "types": [ "*" ] @@ -2548,36 +2826,63 @@ "ignore": true }, { - "__docId__": 113, + "__docId__": 128, "kind": "function", - "name": "setEyeMotion", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setLipSyncValue", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setEyeMotion", + "longname": "src/lib/Live2DFramework.js~setLipSyncValue", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 461, + "lineNumber": 122, "undocument": true, "params": [ { - "name": "closingMotionMsec", + "name": "v", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 129, + "kind": "function", + "name": "setAccel", + "memberof": "src/lib/Live2DFramework.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/lib/Live2DFramework.js~setAccel", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": null, + "description": null, + "lineNumber": 129, + "undocument": true, + "params": [ + { + "name": "x", "types": [ "*" ] }, { - "name": "closedMotionMsec", + "name": "y", "types": [ "*" ] }, { - "name": "openingMotionMsec", + "name": "z", "types": [ "*" ] @@ -2587,24 +2892,30 @@ "ignore": true }, { - "__docId__": 114, + "__docId__": 130, "kind": "function", - "name": "updateParam", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setDrag", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~updateParam", + "longname": "src/lib/Live2DFramework.js~setDrag", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 470, + "lineNumber": 138, "undocument": true, "params": [ { - "name": "model", + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", "types": [ "*" ] @@ -2614,76 +2925,78 @@ "ignore": true }, { - "__docId__": 115, + "__docId__": 131, "kind": "function", - "name": "EYE_STATE", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getMainMotionManager", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~EYE_STATE", + "longname": "src/lib/Live2DFramework.js~getMainMotionManager", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 521, + "lineNumber": 146, "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 116, + "__docId__": 132, "kind": "function", - "name": "L2DMatrix44", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getExpressionManager", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DMatrix44", + "longname": "src/lib/Live2DFramework.js~getExpressionManager", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 534, + "lineNumber": 153, "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 117, + "__docId__": 133, "kind": "function", - "name": "mul", - "memberof": "src/lib/_Live2DFramework.js", + "name": "loadModelData", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~mul", + "longname": "src/lib/Live2DFramework.js~loadModelData", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 543, + "lineNumber": 160, "undocument": true, "params": [ { - "name": "a", - "types": [ - "*" - ] - }, - { - "name": "b", + "name": "path", "types": [ "*" ] }, { - "name": "dst", + "name": "callback", "types": [ "*" ] @@ -2693,92 +3006,147 @@ "ignore": true }, { - "__docId__": 118, + "__docId__": 134, "kind": "function", - "name": "identity", - "memberof": "src/lib/_Live2DFramework.js", + "name": "loadTexture", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~identity", + "longname": "src/lib/Live2DFramework.js~loadTexture", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 562, + "lineNumber": 195, "undocument": true, - "params": [], + "params": [ + { + "name": "no", + "types": [ + "*" + ] + }, + { + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 119, + "__docId__": 135, "kind": "function", - "name": "getArray", - "memberof": "src/lib/_Live2DFramework.js", + "name": "loadMotion", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getArray", + "longname": "src/lib/Live2DFramework.js~loadMotion", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 570, + "lineNumber": 214, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "name", + "types": [ + "*" + ] + }, + { + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 120, + "__docId__": 136, "kind": "function", - "name": "getCopyMatrix", - "memberof": "src/lib/_Live2DFramework.js", + "name": "loadExpression", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getCopyMatrix", + "longname": "src/lib/Live2DFramework.js~loadExpression", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 577, + "lineNumber": 235, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "name", + "types": [ + "*" + ] + }, + { + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 121, + "__docId__": 137, "kind": "function", - "name": "setMatrix", - "memberof": "src/lib/_Live2DFramework.js", + "name": "loadPose", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setMatrix", + "longname": "src/lib/Live2DFramework.js~loadPose", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 584, + "lineNumber": 252, "undocument": true, "params": [ { - "name": "tr", + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", "types": [ "*" ] @@ -2788,46 +3156,68 @@ "ignore": true }, { - "__docId__": 122, + "__docId__": 138, "kind": "function", - "name": "getScaleX", - "memberof": "src/lib/_Live2DFramework.js", + "name": "loadPhysics", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getScaleX", + "longname": "src/lib/Live2DFramework.js~loadPhysics", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 592, + "lineNumber": 270, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "path", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 123, + "__docId__": 139, "kind": "function", - "name": "getScaleY", - "memberof": "src/lib/_Live2DFramework.js", + "name": "hitTestSimple", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getScaleY", + "longname": "src/lib/Live2DFramework.js~hitTestSimple", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 599, + "lineNumber": 287, "undocument": true, - "params": [], + "params": [ + { + "name": "drawID", + "types": [ + "*" + ] + }, + { + "name": "testX", + "types": [ + "*" + ] + }, + { + "name": "testY", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -2836,24 +3226,24 @@ "ignore": true }, { - "__docId__": 124, + "__docId__": 140, "kind": "function", - "name": "transformX", - "memberof": "src/lib/_Live2DFramework.js", + "name": "loadJson", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~transformX", + "longname": "src/lib/Live2DFramework.js~loadJson", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 606, + "lineNumber": 337, "undocument": true, "params": [ { - "name": "src", + "name": "buf", "types": [ "*" ] @@ -2867,60 +3257,67 @@ "ignore": true }, { - "__docId__": 125, + "__docId__": 141, "kind": "function", - "name": "transformY", - "memberof": "src/lib/_Live2DFramework.js", + "name": "updateParamExe", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~transformY", + "longname": "src/lib/Live2DFramework.js~updateParamExe", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 613, + "lineNumber": 396, "undocument": true, "params": [ { - "name": "src", + "name": "model", + "types": [ + "*" + ] + }, + { + "name": "timeMSec", + "types": [ + "*" + ] + }, + { + "name": "weight", + "types": [ + "*" + ] + }, + { + "name": "motionQueueEnt", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 126, + "__docId__": 142, "kind": "function", - "name": "invertTransformX", - "memberof": "src/lib/_Live2DFramework.js", + "name": "calcNextBlink", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~invertTransformX", + "longname": "src/lib/Live2DFramework.js~calcNextBlink", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 620, + "lineNumber": 445, "undocument": true, - "params": [ - { - "name": "src", - "types": [ - "*" - ] - } - ], + "params": [], "return": { "types": [ "*" @@ -2929,61 +3326,63 @@ "ignore": true }, { - "__docId__": 127, + "__docId__": 143, "kind": "function", - "name": "invertTransformY", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setInterval", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~invertTransformY", + "longname": "src/lib/Live2DFramework.js~setInterval", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 627, + "lineNumber": 454, "undocument": true, "params": [ { - "name": "src", + "name": "blinkIntervalMsec", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 128, + "__docId__": 144, "kind": "function", - "name": "multTranslate", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setEyeMotion", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~multTranslate", + "longname": "src/lib/Live2DFramework.js~setEyeMotion", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 634, + "lineNumber": 461, "undocument": true, "params": [ { - "name": "shiftX", + "name": "closingMotionMsec", "types": [ "*" ] }, { - "name": "shiftY", + "name": "closedMotionMsec", + "types": [ + "*" + ] + }, + { + "name": "openingMotionMsec", "types": [ "*" ] @@ -2993,30 +3392,24 @@ "ignore": true }, { - "__docId__": 129, + "__docId__": 145, "kind": "function", - "name": "translate", - "memberof": "src/lib/_Live2DFramework.js", + "name": "updateParam", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~translate", + "longname": "src/lib/Live2DFramework.js~updateParam", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 642, + "lineNumber": 470, "undocument": true, "params": [ { - "name": "x", - "types": [ - "*" - ] - }, - { - "name": "y", + "name": "model", "types": [ "*" ] @@ -3026,24 +3419,36 @@ "ignore": true }, { - "__docId__": 130, + "__docId__": 146, "kind": "function", - "name": "translateX", - "memberof": "src/lib/_Live2DFramework.js", + "name": "mul", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~translateX", + "longname": "src/lib/Live2DFramework.js~mul", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 650, + "lineNumber": 543, "undocument": true, "params": [ { - "name": "x", + "name": "a", + "types": [ + "*" + ] + }, + { + "name": "b", + "types": [ + "*" + ] + }, + { + "name": "dst", "types": [ "*" ] @@ -3053,123 +3458,92 @@ "ignore": true }, { - "__docId__": 131, + "__docId__": 147, "kind": "function", - "name": "translateY", - "memberof": "src/lib/_Live2DFramework.js", + "name": "identity", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~translateY", + "longname": "src/lib/Live2DFramework.js~identity", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 657, + "lineNumber": 562, "undocument": true, - "params": [ - { - "name": "y", - "types": [ - "*" - ] - } - ], + "params": [], "return": null, "ignore": true }, { - "__docId__": 132, + "__docId__": 148, "kind": "function", - "name": "multScale", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getArray", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~multScale", + "longname": "src/lib/Live2DFramework.js~getArray", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 664, + "lineNumber": 570, "undocument": true, - "params": [ - { - "name": "scaleX", - "types": [ - "*" - ] - }, - { - "name": "scaleY", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 133, + "__docId__": 149, "kind": "function", - "name": "scale", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getCopyMatrix", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~scale", + "longname": "src/lib/Live2DFramework.js~getCopyMatrix", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 672, - "undocument": true, - "params": [ - { - "name": "scaleX", - "types": [ - "*" - ] - }, - { - "name": "scaleY", - "types": [ - "*" - ] - } - ], - "return": null, + "lineNumber": 577, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 134, + "__docId__": 150, "kind": "function", - "name": "L2DModelMatrix", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setMatrix", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DModelMatrix", + "longname": "src/lib/Live2DFramework.js~setMatrix", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 682, + "lineNumber": 584, "undocument": true, "params": [ { - "name": "w", - "types": [ - "*" - ] - }, - { - "name": "h", + "name": "tr", "types": [ "*" ] @@ -3179,198 +3553,202 @@ "ignore": true }, { - "__docId__": 135, + "__docId__": 151, "kind": "function", - "name": "setPosition", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getScaleX", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setPosition", + "longname": "src/lib/Live2DFramework.js~getScaleX", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 694, + "lineNumber": 592, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - }, - { - "name": "y", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 136, + "__docId__": 152, "kind": "function", - "name": "setCenterPosition", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getScaleY", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setCenterPosition", + "longname": "src/lib/Live2DFramework.js~getScaleY", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 701, + "lineNumber": 599, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - }, - { - "name": "y", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 137, + "__docId__": 153, "kind": "function", - "name": "top", - "memberof": "src/lib/_Live2DFramework.js", + "name": "transformX", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~top", + "longname": "src/lib/Live2DFramework.js~transformX", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 710, + "lineNumber": 606, "undocument": true, "params": [ { - "name": "y", + "name": "src", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 138, + "__docId__": 154, "kind": "function", - "name": "bottom", - "memberof": "src/lib/_Live2DFramework.js", + "name": "transformY", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~bottom", + "longname": "src/lib/Live2DFramework.js~transformY", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 717, + "lineNumber": 613, "undocument": true, "params": [ { - "name": "y", + "name": "src", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 139, + "__docId__": 155, "kind": "function", - "name": "left", - "memberof": "src/lib/_Live2DFramework.js", + "name": "invertTransformX", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~left", + "longname": "src/lib/Live2DFramework.js~invertTransformX", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 725, + "lineNumber": 620, "undocument": true, "params": [ { - "name": "x", + "name": "src", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 140, + "__docId__": 156, "kind": "function", - "name": "right", - "memberof": "src/lib/_Live2DFramework.js", + "name": "invertTransformY", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~right", + "longname": "src/lib/Live2DFramework.js~invertTransformY", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 732, + "lineNumber": 627, "undocument": true, "params": [ { - "name": "x", + "name": "src", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 141, + "__docId__": 157, "kind": "function", - "name": "centerX", - "memberof": "src/lib/_Live2DFramework.js", + "name": "multTranslate", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~centerX", + "longname": "src/lib/Live2DFramework.js~multTranslate", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 740, + "lineNumber": 634, "undocument": true, "params": [ { - "name": "x", + "name": "shiftX", + "types": [ + "*" + ] + }, + { + "name": "shiftY", "types": [ "*" ] @@ -3380,22 +3758,28 @@ "ignore": true }, { - "__docId__": 142, + "__docId__": 158, "kind": "function", - "name": "centerY", - "memberof": "src/lib/_Live2DFramework.js", + "name": "translate", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~centerY", + "longname": "src/lib/Live2DFramework.js~translate", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 748, + "lineNumber": 642, "undocument": true, "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, { "name": "y", "types": [ @@ -3407,20 +3791,20 @@ "ignore": true }, { - "__docId__": 143, + "__docId__": 159, "kind": "function", - "name": "setX", - "memberof": "src/lib/_Live2DFramework.js", + "name": "translateX", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setX", + "longname": "src/lib/Live2DFramework.js~translateX", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 756, + "lineNumber": 650, "undocument": true, "params": [ { @@ -3434,20 +3818,20 @@ "ignore": true }, { - "__docId__": 144, + "__docId__": 160, "kind": "function", - "name": "setY", - "memberof": "src/lib/_Live2DFramework.js", + "name": "translateY", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setY", + "longname": "src/lib/Live2DFramework.js~translateY", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 763, + "lineNumber": 657, "undocument": true, "params": [ { @@ -3461,24 +3845,30 @@ "ignore": true }, { - "__docId__": 145, + "__docId__": 161, "kind": "function", - "name": "setHeight", - "memberof": "src/lib/_Live2DFramework.js", + "name": "multScale", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setHeight", + "longname": "src/lib/Live2DFramework.js~multScale", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 770, + "lineNumber": 664, "undocument": true, "params": [ { - "name": "h", + "name": "scaleX", + "types": [ + "*" + ] + }, + { + "name": "scaleY", "types": [ "*" ] @@ -3488,24 +3878,30 @@ "ignore": true }, { - "__docId__": 146, + "__docId__": 162, "kind": "function", - "name": "setWidth", - "memberof": "src/lib/_Live2DFramework.js", + "name": "scale", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setWidth", + "longname": "src/lib/Live2DFramework.js~scale", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 779, + "lineNumber": 672, "undocument": true, "params": [ { - "name": "w", + "name": "scaleX", + "types": [ + "*" + ] + }, + { + "name": "scaleY", "types": [ "*" ] @@ -3515,123 +3911,90 @@ "ignore": true }, { - "__docId__": 147, - "kind": "function", - "name": "L2DMotionManager", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DMotionManager", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 790, - "undocument": true, - "params": [], - "return": null, - "ignore": true - }, - { - "__docId__": 148, - "kind": "function", - "name": "getCurrentPriority", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~getCurrentPriority", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 804, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true - }, - { - "__docId__": 149, + "__docId__": 163, "kind": "function", - "name": "getReservePriority", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setPosition", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getReservePriority", + "longname": "src/lib/Live2DFramework.js~setPosition", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 811, + "lineNumber": 694, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 150, + "__docId__": 164, "kind": "function", - "name": "reserveMotion", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setCenterPosition", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~reserveMotion", + "longname": "src/lib/Live2DFramework.js~setCenterPosition", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 818, + "lineNumber": 701, "undocument": true, "params": [ { - "name": "priority", + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", "types": [ "*" ] } ], - "return": { - "types": [ - "boolean" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 151, + "__docId__": 165, "kind": "function", - "name": "setReservePriority", - "memberof": "src/lib/_Live2DFramework.js", + "name": "top", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setReservePriority", + "longname": "src/lib/Live2DFramework.js~top", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 834, + "lineNumber": 710, "undocument": true, "params": [ { - "name": "val", + "name": "y", "types": [ "*" ] @@ -3641,143 +4004,132 @@ "ignore": true }, { - "__docId__": 152, + "__docId__": 166, "kind": "function", - "name": "updateParam", - "memberof": "src/lib/_Live2DFramework.js", + "name": "bottom", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~updateParam", + "longname": "src/lib/Live2DFramework.js~bottom", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 841, + "lineNumber": 717, "undocument": true, "params": [ { - "name": "model", + "name": "y", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 153, + "__docId__": 167, "kind": "function", - "name": "startMotionPrio", - "memberof": "src/lib/_Live2DFramework.js", + "name": "left", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~startMotionPrio", + "longname": "src/lib/Live2DFramework.js~left", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 854, + "lineNumber": 725, "undocument": true, "params": [ { - "name": "motion", - "types": [ - "*" - ] - }, - { - "name": "priority", + "name": "x", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 154, + "__docId__": 168, "kind": "function", - "name": "L2DPhysics", - "memberof": "src/lib/_Live2DFramework.js", + "name": "right", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DPhysics", + "longname": "src/lib/Live2DFramework.js~right", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 867, + "lineNumber": 732, "undocument": true, - "params": [], + "params": [ + { + "name": "x", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 155, + "__docId__": 169, "kind": "function", - "name": "load", - "memberof": "src/lib/_Live2DFramework.js", + "name": "centerX", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~load", + "longname": "src/lib/Live2DFramework.js~centerX", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 875, + "lineNumber": 740, "undocument": true, "params": [ { - "name": "buf", + "name": "x", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 156, + "__docId__": 170, "kind": "function", - "name": "updateParam", - "memberof": "src/lib/_Live2DFramework.js", + "name": "centerY", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~updateParam", + "longname": "src/lib/Live2DFramework.js~centerY", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 940, + "lineNumber": 748, "undocument": true, "params": [ { - "name": "model", + "name": "y", "types": [ "*" ] @@ -3787,75 +4139,78 @@ "ignore": true }, { - "__docId__": 157, + "__docId__": 171, "kind": "function", - "name": "L2DPose", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setX", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DPose", + "longname": "src/lib/Live2DFramework.js~setX", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 952, + "lineNumber": 756, "undocument": true, - "params": [], + "params": [ + { + "name": "x", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 158, + "__docId__": 172, "kind": "function", - "name": "load", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setY", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~load", + "longname": "src/lib/Live2DFramework.js~setY", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 962, + "lineNumber": 763, "undocument": true, "params": [ { - "name": "buf", + "name": "y", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 159, + "__docId__": 173, "kind": "function", - "name": "updateParam", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setHeight", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~updateParam", + "longname": "src/lib/Live2DFramework.js~setHeight", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 995, + "lineNumber": 770, "undocument": true, "params": [ { - "name": "model", + "name": "h", "types": [ "*" ] @@ -3865,24 +4220,24 @@ "ignore": true }, { - "__docId__": 160, + "__docId__": 174, "kind": "function", - "name": "initParam", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setWidth", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~initParam", + "longname": "src/lib/Live2DFramework.js~setWidth", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1016, + "lineNumber": 779, "undocument": true, "params": [ { - "name": "model", + "name": "w", "types": [ "*" ] @@ -3892,123 +4247,103 @@ "ignore": true }, { - "__docId__": 161, + "__docId__": 175, "kind": "function", - "name": "normalizePartsOpacityGroup", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getCurrentPriority", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~normalizePartsOpacityGroup", + "longname": "src/lib/Live2DFramework.js~getCurrentPriority", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1039, + "lineNumber": 804, "undocument": true, - "params": [ - { - "name": "model", - "types": [ - "*" - ] - }, - { - "name": "partsGroup", - "types": [ - "*" - ] - }, - { - "name": "deltaTimeSec", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 162, + "__docId__": 176, "kind": "function", - "name": "copyOpacityOtherParts", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getReservePriority", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~copyOpacityOtherParts", + "longname": "src/lib/Live2DFramework.js~getReservePriority", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1093, + "lineNumber": 811, "undocument": true, - "params": [ - { - "name": "model", - "types": [ - "*" - ] - }, - { - "name": "partsGroup", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 163, + "__docId__": 177, "kind": "function", - "name": "L2DPartsParam", - "memberof": "src/lib/_Live2DFramework.js", + "name": "reserveMotion", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DPartsParam", + "longname": "src/lib/Live2DFramework.js~reserveMotion", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1112, + "lineNumber": 818, "undocument": true, "params": [ { - "name": "id", + "name": "priority", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "boolean" + ] + }, "ignore": true }, { - "__docId__": 164, + "__docId__": 178, "kind": "function", - "name": "initIndex", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setReservePriority", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~initIndex", + "longname": "src/lib/Live2DFramework.js~setReservePriority", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1122, + "lineNumber": 834, "undocument": true, "params": [ { - "name": "model", + "name": "val", "types": [ "*" ] @@ -4018,75 +4353,66 @@ "ignore": true }, { - "__docId__": 165, + "__docId__": 179, "kind": "function", - "name": "L2DTargetPoint", - "memberof": "src/lib/_Live2DFramework.js", + "name": "updateParam", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DTargetPoint", + "longname": "src/lib/Live2DFramework.js~updateParam", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1133, + "lineNumber": 841, "undocument": true, - "params": [], - "return": null, + "params": [ + { + "name": "model", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 166, + "__docId__": 180, "kind": "function", - "name": "setPoint", - "memberof": "src/lib/_Live2DFramework.js", + "name": "startMotionPrio", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setPoint", + "longname": "src/lib/Live2DFramework.js~startMotionPrio", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1150, + "lineNumber": 854, "undocument": true, "params": [ { - "name": "x", + "name": "motion", "types": [ "*" ] }, { - "name": "y", + "name": "priority", "types": [ "*" ] } ], - "return": null, - "ignore": true - }, - { - "__docId__": 167, - "kind": "function", - "name": "getX", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~getX", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 1158, - "undocument": true, - "params": [], "return": { "types": [ "*" @@ -4095,22 +4421,29 @@ "ignore": true }, { - "__docId__": 168, + "__docId__": 181, "kind": "function", - "name": "getY", - "memberof": "src/lib/_Live2DFramework.js", + "name": "load", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getY", + "longname": "src/lib/Live2DFramework.js~load", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1165, + "lineNumber": 875, "undocument": true, - "params": [], + "params": [ + { + "name": "buf", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -4119,70 +4452,82 @@ "ignore": true }, { - "__docId__": 169, + "__docId__": 182, "kind": "function", - "name": "update", - "memberof": "src/lib/_Live2DFramework.js", + "name": "updateParam", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~update", + "longname": "src/lib/Live2DFramework.js~updateParam", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1172, + "lineNumber": 940, "undocument": true, - "params": [], + "params": [ + { + "name": "model", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 170, + "__docId__": 183, "kind": "function", - "name": "L2DViewMatrix", - "memberof": "src/lib/_Live2DFramework.js", + "name": "load", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~L2DViewMatrix", + "longname": "src/lib/Live2DFramework.js~load", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1219, + "lineNumber": 962, "undocument": true, - "params": [], - "return": null, + "params": [ + { + "name": "buf", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 171, + "__docId__": 184, "kind": "function", - "name": "adjustTranslate", - "memberof": "src/lib/_Live2DFramework.js", + "name": "updateParam", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~adjustTranslate", + "longname": "src/lib/Live2DFramework.js~updateParam", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1236, + "lineNumber": 995, "undocument": true, "params": [ { - "name": "shiftX", - "types": [ - "*" - ] - }, - { - "name": "shiftY", + "name": "model", "types": [ "*" ] @@ -4192,36 +4537,24 @@ "ignore": true }, { - "__docId__": 172, + "__docId__": 185, "kind": "function", - "name": "adjustScale", - "memberof": "src/lib/_Live2DFramework.js", + "name": "initParam", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~adjustScale", + "longname": "src/lib/Live2DFramework.js~initParam", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1256, + "lineNumber": 1016, "undocument": true, "params": [ { - "name": "cx", - "types": [ - "*" - ] - }, - { - "name": "cy", - "types": [ - "*" - ] - }, - { - "name": "scale", + "name": "model", "types": [ "*" ] @@ -4231,42 +4564,36 @@ "ignore": true }, { - "__docId__": 173, + "__docId__": 186, "kind": "function", - "name": "setScreenRect", - "memberof": "src/lib/_Live2DFramework.js", + "name": "normalizePartsOpacityGroup", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setScreenRect", + "longname": "src/lib/Live2DFramework.js~normalizePartsOpacityGroup", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1278, + "lineNumber": 1039, "undocument": true, "params": [ { - "name": "left", - "types": [ - "*" - ] - }, - { - "name": "right", + "name": "model", "types": [ "*" ] }, { - "name": "bottom", + "name": "partsGroup", "types": [ "*" ] }, { - "name": "top", + "name": "deltaTimeSec", "types": [ "*" ] @@ -4276,42 +4603,30 @@ "ignore": true }, { - "__docId__": 174, + "__docId__": 187, "kind": "function", - "name": "setMaxScreenRect", - "memberof": "src/lib/_Live2DFramework.js", + "name": "copyOpacityOtherParts", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setMaxScreenRect", + "longname": "src/lib/Live2DFramework.js~copyOpacityOtherParts", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1288, + "lineNumber": 1093, "undocument": true, "params": [ { - "name": "left", - "types": [ - "*" - ] - }, - { - "name": "right", - "types": [ - "*" - ] - }, - { - "name": "bottom", + "name": "model", "types": [ "*" ] }, { - "name": "top", + "name": "partsGroup", "types": [ "*" ] @@ -4321,116 +4636,80 @@ "ignore": true }, { - "__docId__": 175, - "kind": "function", - "name": "getScreenLeft", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~getScreenLeft", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 1298, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true - }, - { - "__docId__": 176, - "kind": "function", - "name": "getScreenRight", - "memberof": "src/lib/_Live2DFramework.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.js~getScreenRight", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", - "importStyle": null, - "description": null, - "lineNumber": 1305, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true - }, - { - "__docId__": 177, + "__docId__": 188, "kind": "function", - "name": "getScreenBottom", - "memberof": "src/lib/_Live2DFramework.js", + "name": "initIndex", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getScreenBottom", + "longname": "src/lib/Live2DFramework.js~initIndex", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1312, + "lineNumber": 1122, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "model", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 178, + "__docId__": 189, "kind": "function", - "name": "getScreenTop", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setPoint", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getScreenTop", + "longname": "src/lib/Live2DFramework.js~setPoint", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1319, + "lineNumber": 1150, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 179, + "__docId__": 190, "kind": "function", - "name": "getMaxLeft", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getX", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getMaxLeft", + "longname": "src/lib/Live2DFramework.js~getX", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1326, + "lineNumber": 1158, "undocument": true, "params": [], "return": { @@ -4441,20 +4720,20 @@ "ignore": true }, { - "__docId__": 180, + "__docId__": 191, "kind": "function", - "name": "getMaxRight", - "memberof": "src/lib/_Live2DFramework.js", + "name": "getY", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getMaxRight", + "longname": "src/lib/Live2DFramework.js~getY", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1333, + "lineNumber": 1165, "undocument": true, "params": [], "return": { @@ -4465,116 +4744,179 @@ "ignore": true }, { - "__docId__": 181, + "__docId__": 192, "kind": "function", - "name": "getMaxBottom", - "memberof": "src/lib/_Live2DFramework.js", + "name": "update", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getMaxBottom", + "longname": "src/lib/Live2DFramework.js~update", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1340, + "lineNumber": 1172, "undocument": true, "params": [], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 182, + "__docId__": 193, "kind": "function", - "name": "getMaxTop", - "memberof": "src/lib/_Live2DFramework.js", + "name": "adjustTranslate", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getMaxTop", + "longname": "src/lib/Live2DFramework.js~adjustTranslate", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1347, + "lineNumber": 1236, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "shiftX", + "types": [ + "*" + ] + }, + { + "name": "shiftY", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 183, + "__docId__": 194, "kind": "function", - "name": "Live2DFramework", - "memberof": "src/lib/_Live2DFramework.js", + "name": "adjustScale", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~Live2DFramework", + "longname": "src/lib/Live2DFramework.js~adjustScale", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1356, + "lineNumber": 1256, "undocument": true, - "params": [], + "params": [ + { + "name": "cx", + "types": [ + "*" + ] + }, + { + "name": "cy", + "types": [ + "*" + ] + }, + { + "name": "scale", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 184, + "__docId__": 195, "kind": "function", - "name": "getPlatformManager", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setScreenRect", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~getPlatformManager", + "longname": "src/lib/Live2DFramework.js~setScreenRect", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1365, + "lineNumber": 1278, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "left", + "types": [ + "*" + ] + }, + { + "name": "right", + "types": [ + "*" + ] + }, + { + "name": "bottom", + "types": [ + "*" + ] + }, + { + "name": "top", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 185, + "__docId__": 196, "kind": "function", - "name": "setPlatformManager", - "memberof": "src/lib/_Live2DFramework.js", + "name": "setMaxScreenRect", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.js~setPlatformManager", + "longname": "src/lib/Live2DFramework.js~setMaxScreenRect", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 1372, + "lineNumber": 1288, "undocument": true, "params": [ { - "name": "platformManager", + "name": "left", + "types": [ + "*" + ] + }, + { + "name": "right", + "types": [ + "*" + ] + }, + { + "name": "bottom", + "types": [ + "*" + ] + }, + { + "name": "top", "types": [ "*" ] @@ -4584,71 +4926,92 @@ "ignore": true }, { - "__docId__": 186, - "kind": "file", - "name": "src/lib/_Live2DFramework.official.js", - "content": "/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n//============================================================\r\n//============================================================\r\n// class L2DBaseModel \r\n//============================================================\r\n//============================================================\r\nfunction L2DBaseModel()\r\n{\r\n this.live2DModel = null; // ALive2DModel\r\n this.modelMatrix = null; // L2DModelMatrix\r\n this.eyeBlink = null; // L2DEyeBlink\r\n this.physics = null; // L2DPhysics\r\n this.pose = null; // L2DPose\r\n this.debugMode = false;\r\n this.initialized = false;\r\n this.updating = false;\r\n this.alpha = 1;\r\n this.accAlpha = 0;\r\n this.lipSync = false; \r\n this.lipSyncValue = 0; \r\n this.accelX = 0;\r\n this.accelY = 0;\r\n this.accelZ = 0;\r\n this.dragX = 0;\r\n this.dragY = 0;\r\n this.startTimeMSec = null;\r\n this.mainMotionManager = new L2DMotionManager(); //L2DMotionManager\r\n this.expressionManager = new L2DMotionManager(); //L2DMotionManager\r\n this.motions = {};\r\n this.expressions = {};\r\n \r\n this.isTexLoaded = false;\r\n}\r\n\r\nvar texCounter = 0;\r\n\r\n//============================================================\r\n// L2DBaseModel # getModelMatrix()\r\n//============================================================\r\nL2DBaseModel.prototype.getModelMatrix = function()\r\n{\r\n return this.modelMatrix;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setAlpha()\r\n//============================================================\r\nL2DBaseModel.prototype.setAlpha = function(a/*float*/)\r\n{\r\n if( a > 0.999 ) a = 1;\r\n if( a < 0.001 ) a = 0;\r\n this.alpha = a;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # getAlpha()\r\n//============================================================\r\nL2DBaseModel.prototype.getAlpha = function()\r\n{\r\n return this.alpha;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # isInitialized()\r\n//============================================================\r\nL2DBaseModel.prototype.isInitialized = function()\r\n{\r\n return this.initialized;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setInitialized()\r\n//============================================================\r\nL2DBaseModel.prototype.setInitialized = function( v/*boolean*/)\r\n{\r\n this.initialized = v;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # isUpdating()\r\n//============================================================\r\nL2DBaseModel.prototype.isUpdating = function()\r\n{\r\n return this.updating;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setUpdating()\r\n//============================================================\r\nL2DBaseModel.prototype.setUpdating = function(v/*boolean*/)\r\n{\r\n this.updating = v;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # getLive2DModel()\r\n//============================================================\r\nL2DBaseModel.prototype.getLive2DModel = function()\r\n{\r\n return this.live2DModel;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setLipSync()\r\n//============================================================\r\nL2DBaseModel.prototype.setLipSync = function(v/*boolean*/)\r\n{\r\n this.lipSync = v;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setLipSyncValue()\r\n//============================================================\r\nL2DBaseModel.prototype.setLipSyncValue = function(v/*float*/)\r\n{\r\n this.lipSyncValue = v;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setAccel()\r\n//============================================================\r\nL2DBaseModel.prototype.setAccel = function(x/*float*/, y/*float*/, z/*float*/)\r\n{\r\n this.accelX = x;\r\n this.accelY = y;\r\n this.accelZ = z;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setDrag()\r\n//============================================================\r\nL2DBaseModel.prototype.setDrag = function(x/*float*/, y/*float*/)\r\n{\r\n this.dragX = x;\r\n this.dragY = y;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # getMainMotionManager()\r\n//============================================================\r\nL2DBaseModel.prototype.getMainMotionManager = function()\r\n{\r\n return this.mainMotionManager;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # getExpressionManager()\r\n//============================================================\r\nL2DBaseModel.prototype.getExpressionManager = function()\r\n{\r\n return this.expressionManager;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadModelData()\r\n//============================================================\r\nL2DBaseModel.prototype.loadModelData = function(path/*String*/, callback)\r\n{ \r\n /*\r\n if( this.live2DModel != null ) {\r\n this.live2DModel.deleteTextures();\r\n }\r\n */\r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n if( this.debugMode ) pm.log(\"Load model : \" + path);\r\n\r\n var thisRef = this;\r\n pm.loadLive2DModel(path, function(l2dModel) {\r\n thisRef.live2DModel = l2dModel;\r\n thisRef.live2DModel.saveParam();\r\n \r\n var _err = Live2D.getError();\r\n\r\n if( _err != 0 ) {\r\n console.error(\"Error : Failed to loadModelData().\");\r\n return;\r\n }\r\n \r\n thisRef.modelMatrix = new L2DModelMatrix(\r\n thisRef.live2DModel.getCanvasWidth(),\r\n thisRef.live2DModel.getCanvasHeight()); //L2DModelMatrix\r\n thisRef.modelMatrix.setWidth(2);\r\n thisRef.modelMatrix.setCenterPosition(0, 0);\r\n \r\n callback(thisRef.live2DModel);\r\n });\r\n}\r\n\r\n\r\n//============================================================\r\n// L2DBaseModel # loadTexture()\r\n//============================================================\r\nL2DBaseModel.prototype.loadTexture = function(no/*int*/, path/*String*/, callback)\r\n{\r\n texCounter++;\r\n \r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n \r\n if( this.debugMode ) pm.log(\"Load Texture : \" + path);\r\n \r\n var thisRef = this;\r\n pm.loadTexture(this.live2DModel , no , path, function(){\r\n texCounter--;\r\n if(texCounter == 0) thisRef.isTexLoaded = true;\r\n if (typeof callback == \"function\") callback();\r\n });\r\n \r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadMotion()\r\n//============================================================\r\nL2DBaseModel.prototype.loadMotion = function(name/*String*/, path /*String*/, callback)\r\n{ \r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n \r\n if(this.debugMode) pm.log(\"Load Motion : \" + path);\r\n \r\n var motion = null; //Live2DMotion\r\n \r\n var thisRef = this;\r\n pm.loadBytes(path, function(buf) {\r\n motion = Live2DMotion.loadMotion(buf);\r\n if( name != null ) {\r\n thisRef.motions[name] = motion;\r\n }\r\n callback(motion);\r\n });\r\n \r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadExpression()\r\n//============================================================\r\nL2DBaseModel.prototype.loadExpression = function(name/*String*/, path /*String*/, callback)\r\n{\r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n \r\n if( this.debugMode ) pm.log(\"Load Expression : \" + path);\r\n \r\n var thisRef = this;\r\n pm.loadBytes(path, function(buf) {\r\n if(name != null) {\r\n thisRef.expressions[name] = L2DExpressionMotion.loadJson(buf);\r\n }\r\n if (typeof callback == \"function\") callback();\r\n });\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadPose()\r\n//============================================================\r\nL2DBaseModel.prototype.loadPose = function( path /*String*/, callback )\r\n{\r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n if( this.debugMode ) pm.log(\"Load Pose : \" + path);\r\n var thisRef = this;\r\n try {\r\n pm.loadBytes(path, function(buf) {\r\n thisRef.pose = L2DPose.load(buf);\r\n if (typeof callback == \"function\") callback();\r\n });\r\n }\r\n catch(e) {\r\n console.warn(e);\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadPhysics()\r\n//============================================================\r\nL2DBaseModel.prototype.loadPhysics = function(path/*String*/)\r\n{\r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n if( this.debugMode ) pm.log(\"Load Physics : \" + path);\r\n var thisRef = this;\r\n try {\r\n pm.loadBytes(path, function(buf) {\r\n thisRef.physics = L2DPhysics.load(buf);\r\n });\r\n }\r\n catch(e){\r\n console.warn(e);\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # hitTestSimple()\r\n//============================================================\r\nL2DBaseModel.prototype.hitTestSimple = function(drawID, testX, testY)\r\n{ \r\n var drawIndex = this.live2DModel.getDrawDataIndex(drawID);\r\n \r\n if( drawIndex < 0 ) return false;\r\n \r\n var points = this.live2DModel.getTransformedPoints(drawIndex);\r\n var left = this.live2DModel.getCanvasWidth();\r\n var right = 0;\r\n var top = this.live2DModel.getCanvasHeight();\r\n var bottom = 0;\r\n \r\n for( var j = 0; j < points.length; j = j + 2 ) {\r\n var x = points[j];\r\n var y = points[j + 1];\r\n\r\n if( x < left ) left = x;\r\n if( x > right ) right = x;\r\n if( y < top ) top = y;\r\n if( y > bottom ) bottom = y;\r\n }\r\n var tx = this.modelMatrix.invertTransformX(testX);\r\n var ty = this.modelMatrix.invertTransformY(testY);\r\n \r\n return ( left <= tx && tx <= right && top <= ty && ty <= bottom );\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DExpressionMotion extends AMotion\r\n//============================================================\r\n//============================================================\r\nfunction L2DExpressionMotion()\r\n{\r\n AMotion.prototype.constructor.call(this);\r\n this.paramList = new Array(); //ArrayList\r\n}\r\n\r\nL2DExpressionMotion.prototype = new AMotion(); // L2DExpressionMotion extends AMotion\r\n\r\n//============================================================\r\nL2DExpressionMotion.EXPRESSION_DEFAULT = \"DEFAULT\";\r\nL2DExpressionMotion.TYPE_SET = 0;\r\nL2DExpressionMotion.TYPE_ADD = 1;\r\nL2DExpressionMotion.TYPE_MULT = 2;\r\n\r\n//============================================================\r\n// static L2DExpressionMotion.loadJson()\r\n//============================================================\r\nL2DExpressionMotion.loadJson = function(buf)\r\n{ \r\n var ret = new L2DExpressionMotion();\r\n \r\n var pm = Live2DFramework.getPlatformManager();\r\n var json = pm.jsonParseFromBytes(buf);\r\n\r\n ret.setFadeIn(parseInt(json.fade_in) > 0 ? parseInt(json.fade_in) : 1000);\r\n ret.setFadeOut(parseInt(json.fade_out) > 0 ? parseInt(json.fade_out) : 1000);\r\n \r\n if(json.params == null) {\r\n return ret;\r\n }\r\n \r\n var params = json.params;\r\n var paramNum = params.length;\r\n ret.paramList = []; //ArrayList\r\n for( var i = 0; i < paramNum; i++) {\r\n var param = params[i];\r\n var paramID = param.id.toString();\r\n var value = parseFloat(param.val);\r\n var calcTypeInt = L2DExpressionMotion.TYPE_ADD;\r\n var calc = param.calc != null ? param.calc.toString() : \"add\";\r\n if(calc === \"add\") {\r\n calcTypeInt = L2DExpressionMotion.TYPE_ADD;\r\n }\r\n else if(calc === \"mult\") {\r\n calcTypeInt = L2DExpressionMotion.TYPE_MULT;\r\n }\r\n else if(calc === \"set\") {\r\n calcTypeInt = L2DExpressionMotion.TYPE_SET;\r\n }\r\n else {\r\n calcTypeInt = L2DExpressionMotion.TYPE_ADD;\r\n }\r\n if(calcTypeInt == L2DExpressionMotion.TYPE_ADD) {\r\n var defaultValue = param.def == null ? 0 : parseFloat(param.def);\r\n value = value - defaultValue;\r\n }\r\n else if(calcTypeInt == L2DExpressionMotion.TYPE_MULT) {\r\n var defaultValue = param.def == null ? 1 : parseFloat(param.def);\r\n if(defaultValue == 0 ) defaultValue = 1;\r\n value = value / defaultValue;\r\n }\r\n \r\n var item = new L2DExpressionParam( );\r\n item.id = paramID;\r\n item.type = calcTypeInt;\r\n item.value = value;\r\n \r\n ret.paramList.push(item);\r\n }\r\n \r\n return ret;\r\n}\r\n\r\n\r\n//============================================================\r\n// L2DExpressionMotion # updateParamExe()\r\n//============================================================\r\nL2DExpressionMotion.prototype.updateParamExe = function(model /*ALive2DModel*/, timeMSec/*long*/ ,weight /*float*/ ,motionQueueEnt /*MotionQueueEnt*/)\r\n{\r\n for(var i = this.paramList.length - 1; i >= 0; --i) {\r\n var param = this.paramList[i]; //L2DExpressionParam\r\n // if (!param || !param.type) continue;\r\n if(param.type == L2DExpressionMotion.TYPE_ADD) {\r\n model.addToParamFloat(param.id, param.value, weight);\r\n }\r\n else if(param.type == L2DExpressionMotion.TYPE_MULT) {\r\n model.multParamFloat(param.id, param.value, weight);\r\n }\r\n else if(param.type == L2DExpressionMotion.TYPE_SET) { \r\n model.setParamFloat(param.id, param.value, weight);\r\n }\r\n }\r\n}\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DExpressionParam \r\n//============================================================\r\n//============================================================\r\nfunction L2DExpressionParam()\r\n{\r\n this.id = \"\";\r\n this.type = -1;\r\n this.value = null;\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DEyeBlink \r\n//============================================================\r\n//============================================================\r\nfunction L2DEyeBlink()\r\n{\r\n this.nextBlinkTime = null /* TODO NOT INIT */; // \r\n this.stateStartTime = null /* TODO NOT INIT */; // \r\n this.blinkIntervalMsec = null /* TODO NOT INIT */; // \r\n this.eyeState = EYE_STATE.STATE_FIRST;\r\n this.blinkIntervalMsec = 4000;\r\n this.closingMotionMsec = 100;\r\n this.closedMotionMsec = 50;\r\n this.openingMotionMsec = 150;\r\n this.closeIfZero = true;\r\n this.eyeID_L = \"PARAM_EYE_L_OPEN\";\r\n this.eyeID_R = \"PARAM_EYE_R_OPEN\";\r\n}\r\n\r\n//============================================================\r\n// L2DEyeBlink # calcNextBlink()\r\n//============================================================\r\nL2DEyeBlink.prototype.calcNextBlink = function()\r\n{\r\n var time /*long*/ = UtSystem.getUserTimeMSec();\r\n var r /*Number*/ = Math.random();\r\n return /*(long)*/ (time + r * (2 * this.blinkIntervalMsec - 1));\r\n}\r\n\r\n//============================================================\r\n// L2DEyeBlink # setInterval()\r\n//============================================================\r\nL2DEyeBlink.prototype.setInterval = function(blinkIntervalMsec /*int*/)\r\n{\r\n this.blinkIntervalMsec = blinkIntervalMsec;\r\n}\r\n\r\n//============================================================\r\n// L2DEyeBlink # setEyeMotion()\r\n//============================================================\r\nL2DEyeBlink.prototype.setEyeMotion = function(closingMotionMsec/*int*/ , closedMotionMsec/*int*/ , openingMotionMsec/*int*/)\r\n{\r\n this.closingMotionMsec = closingMotionMsec;\r\n this.closedMotionMsec = closedMotionMsec;\r\n this.openingMotionMsec = openingMotionMsec;\r\n}\r\n\r\n//============================================================\r\n// L2DEyeBlink # updateParam()\r\n//============================================================\r\nL2DEyeBlink.prototype.updateParam = function(model/*ALive2DModel*/)\r\n{\r\n var time /*:long*/ = UtSystem.getUserTimeMSec();\r\n var eyeParamValue /*:Number*/;\r\n var t /*:Number*/ = 0;\r\n switch(this.eyeState){\r\n case EYE_STATE.STATE_CLOSING:\r\n t = (time - this.stateStartTime) / this.closingMotionMsec;\r\n if(t >= 1) {\r\n t = 1;\r\n this.eyeState = EYE_STATE.STATE_CLOSED;\r\n this.stateStartTime = time;\r\n }\r\n eyeParamValue = 1 - t;\r\n break;\r\n case EYE_STATE.STATE_CLOSED:\r\n t = (time - this.stateStartTime) / this.closedMotionMsec;\r\n if(t >= 1) {\r\n this.eyeState = EYE_STATE.STATE_OPENING;\r\n this.stateStartTime = time;\r\n }\r\n eyeParamValue = 0;\r\n break;\r\n case EYE_STATE.STATE_OPENING:\r\n t = (time - this.stateStartTime) / this.openingMotionMsec;\r\n if(t >= 1) {\r\n t = 1;\r\n this.eyeState = EYE_STATE.STATE_INTERVAL;\r\n this.nextBlinkTime = this.calcNextBlink();\r\n }\r\n eyeParamValue = t;\r\n break;\r\n case EYE_STATE.STATE_INTERVAL:\r\n if(this.nextBlinkTime < time) {\r\n this.eyeState = EYE_STATE.STATE_CLOSING;\r\n this.stateStartTime = time;\r\n }\r\n eyeParamValue = 1;\r\n break;\r\n case EYE_STATE.STATE_FIRST:\r\n default:\r\n this.eyeState = EYE_STATE.STATE_INTERVAL;\r\n this.nextBlinkTime = this.calcNextBlink();\r\n eyeParamValue = 1;\r\n break;\r\n }\r\n if(!this.closeIfZero) eyeParamValue = -eyeParamValue;\r\n model.setParamFloat(this.eyeID_L , eyeParamValue);\r\n model.setParamFloat(this.eyeID_R , eyeParamValue);\r\n}\r\n\r\n//== enum EYE_STATE ==\r\nvar EYE_STATE = function(){};\r\n\r\nEYE_STATE.STATE_FIRST = \"STATE_FIRST\"\r\nEYE_STATE.STATE_INTERVAL = \"STATE_INTERVAL\"\r\nEYE_STATE.STATE_CLOSING = \"STATE_CLOSING\"\r\nEYE_STATE.STATE_CLOSED = \"STATE_CLOSED\"\r\nEYE_STATE.STATE_OPENING = \"STATE_OPENING\"\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DMatrix44 \r\n//============================================================\r\n//============================================================\r\nfunction L2DMatrix44()\r\n{\r\n this.tr = new Float32Array(16); // \r\n this.identity();\r\n}\r\n\r\n//============================================================\r\n// static L2DMatrix44.mul()\r\n//============================================================\r\nL2DMatrix44.mul = function( a/*float[]*/, b/*float[]*/, dst/*float[]*/ )\r\n{\r\n var c = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ];\r\n var n = 4;\r\n var i, j, k;\r\n for( i = 0; i < n; i++ ) {\r\n for( j = 0; j < n; j++ ) {\r\n for( k = 0; k < n; k++ ) {\r\n c[i + j * 4] += a[i + k * 4] * b[k + j * 4];\r\n }\r\n }\r\n }\r\n for( i = 0; i < 16; i++ ) {\r\n dst[i] = c[i];\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # identity()\r\n//============================================================\r\nL2DMatrix44.prototype.identity = function()\r\n{\r\n for( var i/*:int*/ = 0; i < 16; i++ ) \r\n this.tr[i] = ( ( i % 5 ) == 0 ) ? 1 : 0;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # getArray()\r\n//============================================================\r\nL2DMatrix44.prototype.getArray = function()\r\n{\r\n return this.tr;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # getCopyMatrix()\r\n//============================================================\r\nL2DMatrix44.prototype.getCopyMatrix = function()\r\n{\r\n return new Float32Array(this.tr); // this.tr.clone();\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # setMatrix()\r\n//============================================================\r\nL2DMatrix44.prototype.setMatrix = function( tr/*float[]*/ )\r\n{\r\n if( this.tr == null || this.tr.length != this.tr.length ) return ;\r\n for( var i/*:int*/ = 0; i < 16; i++ ) this.tr[i] = tr[i];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # getScaleX()\r\n//============================================================\r\nL2DMatrix44.prototype.getScaleX = function()\r\n{\r\n return this.tr[0];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # getScaleY()\r\n//============================================================\r\nL2DMatrix44.prototype.getScaleY = function()\r\n{\r\n return this.tr[5];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # transformX()\r\n//============================================================\r\nL2DMatrix44.prototype.transformX = function( src/*float*/ )\r\n{\r\n return this.tr[0] * src + this.tr[12];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # transformY()\r\n//============================================================\r\nL2DMatrix44.prototype.transformY = function( src/*float*/ )\r\n{\r\n return this.tr[5] * src + this.tr[13];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # invertTransformX()\r\n//============================================================\r\nL2DMatrix44.prototype.invertTransformX = function( src/*float*/ )\r\n{\r\n return ( src - this.tr[12] ) / this.tr[0];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # invertTransformY()\r\n//============================================================\r\nL2DMatrix44.prototype.invertTransformY = function( src/*float*/ )\r\n{\r\n return ( src - this.tr[13] ) / this.tr[5];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # multTranslate()\r\n//============================================================\r\nL2DMatrix44.prototype.multTranslate = function( shiftX/*float*/, shiftY/*float*/ )\r\n{\r\n var tr1 = [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, shiftX, shiftY, 0, 1 ];\r\n L2DMatrix44.mul(tr1, this.tr, this.tr);\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # translate()\r\n//============================================================\r\nL2DMatrix44.prototype.translate = function( x/*float*/, y/*float*/ )\r\n{\r\n this.tr[12] = x;\r\n this.tr[13] = y;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # translateX()\r\n//============================================================\r\nL2DMatrix44.prototype.translateX = function( x/*float*/ )\r\n{\r\n this.tr[12] = x;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # translateY()\r\n//============================================================\r\nL2DMatrix44.prototype.translateY = function( y/*float*/ )\r\n{\r\n this.tr[13] = y;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # multScale()\r\n//============================================================\r\nL2DMatrix44.prototype.multScale = function( scaleX/*float*/, scaleY/*float*/ )\r\n{\r\n var tr1 = [scaleX, 0, 0, 0, 0, scaleY, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\r\n L2DMatrix44.mul(tr1, this.tr, this.tr);\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # scale()\r\n//============================================================\r\nL2DMatrix44.prototype.scale = function( scaleX/*float*/, scaleY/*float*/ )\r\n{\r\n this.tr[0] = scaleX;\r\n this.tr[5] = scaleY;\r\n}\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DModelMatrix extends L2DMatrix44\r\n//============================================================\r\n//============================================================\r\nfunction L2DModelMatrix(w/*float*/, h/*float*/){\r\n L2DMatrix44.prototype.constructor.call(this);\r\n this.width = w;\r\n this.height = h;\r\n}\r\n\r\n//L2DModelMatrix extends L2DMatrix44\r\nL2DModelMatrix.prototype = new L2DMatrix44(); \r\n\r\n//============================================================\r\n// L2DModelMatrix # setPosition()\r\n//============================================================\r\nL2DModelMatrix.prototype.setPosition = function(x/*float*/, y/*float*/)\r\n{\r\n this.translate(x, y);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setCenterPosition()\r\n//============================================================\r\nL2DModelMatrix.prototype.setCenterPosition = function(x/*float*/, y/*float*/)\r\n{\r\n var w = this.width * this.getScaleX();\r\n var h = this.height * this.getScaleY();\r\n this.translate(x - w / 2, y - h / 2);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # top()\r\n//============================================================\r\nL2DModelMatrix.prototype.top = function(y/*float*/)\r\n{\r\n this.setY(y);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # bottom()\r\n//============================================================\r\nL2DModelMatrix.prototype.bottom = function(y/*float*/)\r\n{\r\n var h = this.height * this.getScaleY();\r\n this.translateY(y - h);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # left()\r\n//============================================================\r\nL2DModelMatrix.prototype.left = function(x/*float*/)\r\n{\r\n this.setX(x);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # right()\r\n//============================================================\r\nL2DModelMatrix.prototype.right = function(x/*float*/)\r\n{\r\n var w = this.width * this.getScaleX();\r\n this.translateX(x - w);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # centerX()\r\n//============================================================\r\nL2DModelMatrix.prototype.centerX = function(x/*float*/)\r\n{\r\n var w = this.width * this.getScaleX();\r\n this.translateX(x - w / 2);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # centerY()\r\n//============================================================\r\nL2DModelMatrix.prototype.centerY = function(y/*float*/)\r\n{\r\n var h = this.height * this.getScaleY();\r\n this.translateY(y - h / 2);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setX()\r\n//============================================================\r\nL2DModelMatrix.prototype.setX = function(x/*float*/)\r\n{\r\n this.translateX(x);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setY()\r\n//============================================================\r\nL2DModelMatrix.prototype.setY = function(y/*float*/)\r\n{\r\n this.translateY(y);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setHeight()\r\n//============================================================\r\nL2DModelMatrix.prototype.setHeight = function(h/*float*/)\r\n{\r\n var scaleX = h / this.height;\r\n var scaleY = -scaleX;\r\n this.scale(scaleX, scaleY);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setWidth()\r\n//============================================================\r\nL2DModelMatrix.prototype.setWidth = function(w/*float*/)\r\n{\r\n var scaleX = w / this.width;\r\n var scaleY = -scaleX;\r\n this.scale(scaleX, scaleY);\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DMotionManager extends MotionQueueManager\r\n//============================================================\r\n//============================================================\r\nfunction L2DMotionManager()\r\n{\r\n MotionQueueManager.prototype.constructor.call(this);\r\n this.currentPriority = null;\r\n this.reservePriority = null;\r\n \r\n this.super = MotionQueueManager.prototype;\r\n}\r\n\r\n\r\nL2DMotionManager.prototype = new MotionQueueManager();\r\n\r\n//============================================================\r\n// L2DMotionManager # getCurrentPriority()\r\n//============================================================\r\nL2DMotionManager.prototype.getCurrentPriority = function()\r\n{\r\n return this.currentPriority;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # getReservePriority()\r\n//============================================================\r\nL2DMotionManager.prototype.getReservePriority = function()\r\n{\r\n return this.reservePriority;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # reserveMotion()\r\n//============================================================\r\nL2DMotionManager.prototype.reserveMotion = function(priority/*int*/)\r\n{\r\n if(this.reservePriority >= priority) {\r\n return false;\r\n }\r\n if(this.currentPriority >= priority) {\r\n return false;\r\n }\r\n \r\n this.reservePriority = priority;\r\n \r\n return true;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # setReservePriority()\r\n//============================================================\r\nL2DMotionManager.prototype.setReservePriority = function(val/*int*/)\r\n{\r\n this.reservePriority = val;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # updateParam()\r\n//============================================================\r\nL2DMotionManager.prototype.updateParam = function(model/*ALive2DModel*/)\r\n{\r\n var updated = MotionQueueManager.prototype.updateParam.call(this, model);\r\n \r\n if(this.isFinished()) {\r\n this.currentPriority = 0;\r\n }\r\n \r\n return updated;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # startMotionPrio()\r\n//============================================================\r\nL2DMotionManager.prototype.startMotionPrio = function(motion/*AMotion*/, priority/*int*/)\r\n{\r\n if(priority == this.reservePriority) {\r\n this.reservePriority = 0;\r\n }\r\n this.currentPriority = priority;\r\n return this.startMotion(motion, false);\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DPhysics \r\n//============================================================\r\n//============================================================\r\nfunction L2DPhysics()\r\n{ \r\n this.physicsList = new Array(); //ArrayList\r\n this.startTimeMSec = UtSystem.getUserTimeMSec();\r\n}\r\n\r\n//============================================================\r\n// static L2DPhysics.load()\r\n//============================================================\r\nL2DPhysics.load = function(buf /*byte[]*/ )\r\n{\r\n var ret = new L2DPhysics(); //L2DPhysicsL2DPhysics\r\n var pm = Live2DFramework.getPlatformManager();\r\n var json = pm.jsonParseFromBytes(buf);\r\n var params = json.physics_hair;\r\n var paramNum = params.length;\r\n for(var i = 0; i < paramNum; i++) {\r\n var param = params[i]; //Value\r\n var physics = new PhysicsHair(); //PhysicsHairPhysicsHair\r\n var setup = param.setup; //Value\r\n var length = parseFloat(setup.length);\r\n var resist = parseFloat(setup.regist);\r\n var mass = parseFloat(setup.mass);\r\n physics.setup(length, resist, mass);\r\n var srcList = param.src; //Value\r\n var srcNum = srcList.length;\r\n for(var j = 0; j < srcNum; j++) {\r\n var src = srcList[j]; //Value\r\n var id = src.id; //String\r\n var type = PhysicsHair.Src.SRC_TO_X;\r\n var typeStr = src.ptype; //String\r\n if(typeStr === \"x\") {\r\n type = PhysicsHair.Src.SRC_TO_X;\r\n }\r\n else if(typeStr === \"y\") {\r\n type = PhysicsHair.Src.SRC_TO_Y;\r\n }\r\n else if(typeStr === \"angle\") {\r\n type = PhysicsHair.Src.SRC_TO_G_ANGLE;\r\n }\r\n else {\r\n UtDebug.error(\"live2d\", \"Invalid parameter:PhysicsHair.Src\");\r\n }\r\n var scale = parseFloat(src.scale);\r\n var weight = parseFloat(src.weight);\r\n physics.addSrcParam(type, id, scale, weight);\r\n }\r\n var targetList = param.targets; //Value\r\n var targetNum = targetList.length;\r\n for(var j = 0; j < targetNum; j++) {\r\n var target = targetList[j]; //Value\r\n var id = target.id; //String\r\n var type = PhysicsHair.Target.TARGET_FROM_ANGLE;\r\n var typeStr = target.ptype; //String\r\n if(typeStr === \"angle\") {\r\n type = PhysicsHair.Target.TARGET_FROM_ANGLE;\r\n }\r\n else if(typeStr === \"angle_v\") {\r\n type = PhysicsHair.Target.TARGET_FROM_ANGLE_V;\r\n }\r\n else {\r\n UtDebug.error(\"live2d\", \"Invalid parameter:PhysicsHair.Target\");\r\n }\r\n var scale = parseFloat(target.scale);\r\n var weight = parseFloat(target.weight);\r\n physics.addTargetParam(type, id, scale, weight);\r\n }\r\n ret.physicsList.push(physics);\r\n }\r\n return ret;\r\n}\r\n\r\n//============================================================\r\n// L2DPhysics # updateParam()\r\n//============================================================\r\nL2DPhysics.prototype.updateParam = function(model/*ALive2DModel*/)\r\n{\r\n var timeMSec = UtSystem.getUserTimeMSec() - this.startTimeMSec;\r\n for(var i = 0; i < this.physicsList.length; i++) {\r\n this.physicsList[i].update(model, timeMSec);\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DPose \r\n//============================================================\r\n//============================================================\r\nfunction L2DPose()\r\n{\r\n this.lastTime = 0;\r\n this.lastModel = null; //ALive2DModel\r\n this.partsGroups = new Array(); //ArrayList\r\n}\r\n\r\n\r\n//============================================================\r\n// static L2DPose.load()\r\n//============================================================\r\nL2DPose.load = function(buf/*byte[]*/)\r\n{ \r\n var ret = new L2DPose(); //L2DPose\r\n var pm = Live2DFramework.getPlatformManager();\r\n var json = pm.jsonParseFromBytes(buf);\r\n var poseListInfo = json.parts_visible; //Value\r\n var poseNum = poseListInfo.length;\r\n for(var i_pose = 0; i_pose < poseNum; i_pose++) {\r\n var poseInfo = poseListInfo[i_pose]; //Value\r\n var idListInfo = poseInfo.group; //Value\r\n var idNum = idListInfo.length;\r\n var partsGroup/*L2DPartsParam*/ = new Array();\r\n for(var i_group = 0; i_group < idNum; i_group++) {\r\n var partsInfo = idListInfo[i_group]; //Value\r\n var parts = new L2DPartsParam(partsInfo.id); //L2DPartsParamL2DPartsParam\r\n partsGroup[i_group] = parts;\r\n if(partsInfo.link == null) continue;\r\n var linkListInfo = partsInfo.link; //Value\r\n var linkNum = linkListInfo.length;\r\n parts.link = new Array(); //ArrayList\r\n for(var i_link = 0; i_link < linkNum; i_link++) {\r\n var linkParts = new L2DPartsParam(linkListInfo[i_link]); //L2DPartsParamL2DPartsParam\r\n parts.link.push(linkParts);\r\n }\r\n }\r\n ret.partsGroups.push(partsGroup);\r\n }\r\n \r\n return ret;\r\n}\r\n\r\n//============================================================\r\n// L2DPose # updateParam()\r\n//============================================================\r\nL2DPose.prototype.updateParam = function(model/*ALive2DModel*/)\r\n{\r\n if(model == null) return ;\r\n \r\n if(!(model == this.lastModel)) {\r\n this.initParam(model);\r\n }\r\n this.lastModel = model;\r\n \r\n var curTime = UtSystem.getUserTimeMSec();\r\n var deltaTimeSec = ((this.lastTime == 0) ? 0 : (curTime - this.lastTime) / 1000.0);\r\n this.lastTime = curTime;\r\n if(deltaTimeSec < 0) deltaTimeSec = 0;\r\n for(var i = 0; i < this.partsGroups.length; i++) {\r\n this.normalizePartsOpacityGroup(model, this.partsGroups[i], deltaTimeSec);\r\n this.copyOpacityOtherParts(model, this.partsGroups[i]);\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DPose # initParam()\r\n//============================================================\r\nL2DPose.prototype.initParam = function(model/*ALive2DModel*/)\r\n{\r\n if(model == null) return ;\r\n for(var i = 0; i < this.partsGroups.length; i++) {\r\n var partsGroup = this.partsGroups[i]; //L2DPartsParam\r\n for(var j = 0; j < partsGroup.length; j++) {\r\n partsGroup[j].initIndex(model);\r\n var partsIndex = partsGroup[j].partsIndex;\r\n var paramIndex = partsGroup[j].paramIndex;\r\n if(partsIndex < 0) continue;\r\n var v/*:Boolean*/ = (model.getParamFloat(paramIndex) != 0);\r\n model.setPartsOpacity(partsIndex, (v ? 1.0 : 0.0));\r\n model.setParamFloat(paramIndex, (v ? 1.0 : 0.0));\r\n if(partsGroup[j].link == null) continue;\r\n for(var k = 0; k < partsGroup[j].link.length; k++) {\r\n partsGroup[j].link[k].initIndex(model);\r\n }\r\n }\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DPose # normalizePartsOpacityGroup()\r\n//============================================================\r\nL2DPose.prototype.normalizePartsOpacityGroup = function(model/*ALive2DModel*/, partsGroup/*L2DPartsParam[]*/, deltaTimeSec/*float*/)\r\n{\r\n var visibleParts = -1;\r\n var visibleOpacity = 1.0;\r\n var CLEAR_TIME_SEC = 0.5;\r\n var phi = 0.5;\r\n var maxBackOpacity = 0.15;\r\n for(var i = 0; i < partsGroup.length; i++) {\r\n var partsIndex = partsGroup[i].partsIndex;\r\n var paramIndex = partsGroup[i].paramIndex;\r\n if(partsIndex < 0) continue;if(model.getParamFloat(paramIndex) != 0) {\r\n if(visibleParts >= 0) {\r\n break;\r\n }\r\n visibleParts = i;\r\n visibleOpacity = model.getPartsOpacity(partsIndex);\r\n visibleOpacity += deltaTimeSec / CLEAR_TIME_SEC;\r\n if(visibleOpacity > 1) {\r\n visibleOpacity = 1;\r\n }\r\n }\r\n }\r\n if(visibleParts < 0) {\r\n visibleParts = 0;\r\n visibleOpacity = 1;\r\n }\r\n for(var i = 0; i < partsGroup.length; i++) {\r\n var partsIndex = partsGroup[i].partsIndex;\r\n if(partsIndex < 0) continue;if(visibleParts == i) {\r\n model.setPartsOpacity(partsIndex, visibleOpacity);\r\n }\r\n else {\r\n var opacity = model.getPartsOpacity(partsIndex);\r\n var a1;\r\n if(visibleOpacity < phi) {\r\n a1 = visibleOpacity * (phi - 1) / phi + 1;\r\n }\r\n else {\r\n a1 = (1 - visibleOpacity) * phi / (1 - phi);\r\n }\r\n var backOp = (1 - a1) * (1 - visibleOpacity);\r\n if(backOp > maxBackOpacity) {\r\n a1 = 1 - maxBackOpacity / (1 - visibleOpacity);\r\n }\r\n if(opacity > a1) {\r\n opacity = a1;\r\n }\r\n model.setPartsOpacity(partsIndex, opacity);\r\n }\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DPose # copyOpacityOtherParts()\r\n//============================================================\r\nL2DPose.prototype.copyOpacityOtherParts = function(model/*ALive2DModel*/, partsGroup/*L2DPartsParam[]*/)\r\n{\r\n for(var i_group = 0; i_group < partsGroup.length; i_group++) {\r\n var partsParam = partsGroup[i_group]; //L2DPartsParam\r\n if(partsParam.link == null) continue;\r\n if(partsParam.partsIndex < 0) continue;\r\n var opacity = model.getPartsOpacity(partsParam.partsIndex);\r\n for(var i_link = 0; i_link < partsParam.link.length; i_link++) {\r\n var linkParts = partsParam.link[i_link]; //L2DPartsParam\r\n if(linkParts.partsIndex < 0) continue;\r\n model.setPartsOpacity(linkParts.partsIndex, opacity);\r\n }\r\n }\r\n}\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DPartsParam \r\n//============================================================\r\n//============================================================\r\nfunction L2DPartsParam(id/*String*/){\r\n this.paramIndex = -1;\r\n this.partsIndex = -1; \r\n this.link = null; // ArrayList\r\n this.id = id;\r\n}\r\n\r\n//============================================================\r\n// L2DPartsParam # initIndex()\r\n//============================================================\r\nL2DPartsParam.prototype.initIndex = function(model/*ALive2DModel*/)\r\n{ \r\n this.paramIndex = model.getParamIndex(\"VISIBLE:\" + this.id);\r\n this.partsIndex = model.getPartsDataIndex(PartsDataID.getID(this.id));\r\n model.setParamFloat(this.paramIndex, 1);\r\n}\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DTargetPoint \r\n//============================================================\r\n//============================================================\r\nfunction L2DTargetPoint()\r\n{\r\n this.EPSILON = 0.01; // 変化の最小値(この値以下は無視される)\r\n this.faceTargetX = 0;\r\n this.faceTargetY = 0;\r\n this.faceX = 0;\r\n this.faceY = 0;\r\n this.faceVX = 0;\r\n this.faceVY = 0;\r\n this.lastTimeSec = 0;\r\n}\r\n\r\n//============================================================\r\nL2DTargetPoint.FRAME_RATE = 30;\r\n\r\n//============================================================\r\n// L2DTargetPoint # set()\r\n//============================================================\r\nL2DTargetPoint.prototype.setPoint = function(x/*float*/, y/*float*/)\r\n{\r\n this.faceTargetX = x;\r\n this.faceTargetY = y;\r\n}\r\n\r\n//============================================================\r\n// L2DTargetPoint # getX()\r\n//============================================================\r\nL2DTargetPoint.prototype.getX = function()\r\n{\r\n return this.faceX;\r\n}\r\n\r\n//============================================================\r\n// L2DTargetPoint # getY()\r\n//============================================================\r\nL2DTargetPoint.prototype.getY = function()\r\n{\r\n return this.faceY;\r\n}\r\n\r\n//============================================================\r\n// L2DTargetPoint # update()\r\n//============================================================\r\nL2DTargetPoint.prototype.update = function()\r\n{\r\n var TIME_TO_MAX_SPEED = 0.15;\r\n var FACE_PARAM_MAX_V = 40.0 / 7.5;\r\n var MAX_V = FACE_PARAM_MAX_V / L2DTargetPoint.FRAME_RATE;\r\n if(this.lastTimeSec == 0) {\r\n this.lastTimeSec = UtSystem.getUserTimeMSec();\r\n return;\r\n }\r\n var curTimeSec = UtSystem.getUserTimeMSec();\r\n var deltaTimeWeight = (curTimeSec - this.lastTimeSec) * L2DTargetPoint.FRAME_RATE / 1000.0;\r\n this.lastTimeSec = curTimeSec;\r\n var FRAME_TO_MAX_SPEED = TIME_TO_MAX_SPEED * L2DTargetPoint.FRAME_RATE;\r\n var MAX_A = deltaTimeWeight * MAX_V / FRAME_TO_MAX_SPEED;\r\n var dx = (this.faceTargetX - this.faceX);\r\n var dy = (this.faceTargetY - this.faceY);\r\n // if(dx == 0 && dy == 0) return;\r\n if( Math.abs(dx) <= this.EPSILON && Math.abs(dy) <= this.EPSILON ) return;\r\n var d = Math.sqrt(dx * dx + dy * dy);\r\n var vx = MAX_V * dx / d;\r\n var vy = MAX_V * dy / d;\r\n var ax = vx - this.faceVX;\r\n var ay = vy - this.faceVY;\r\n var a = Math.sqrt(ax * ax + ay * ay);\r\n if(a < -MAX_A || a > MAX_A) {\r\n ax *= MAX_A / a;\r\n ay *= MAX_A / a;\r\n a = MAX_A;\r\n }\r\n this.faceVX += ax;\r\n this.faceVY += ay;\r\n {\r\n var max_v = 0.5 * ( Math.sqrt(MAX_A * MAX_A + 16 * MAX_A * d - 8 * MAX_A * d) - MAX_A);\r\n var cur_v = Math.sqrt(this.faceVX * this.faceVX + this.faceVY * this.faceVY);\r\n if(cur_v > max_v) {\r\n this.faceVX *= max_v / cur_v;\r\n this.faceVY *= max_v / cur_v;\r\n }\r\n }\r\n this.faceX += this.faceVX;\r\n this.faceY += this.faceVY;\r\n}\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DViewMatrix extends L2DMatrix44\r\n//============================================================\r\n//============================================================\r\nfunction L2DViewMatrix()\r\n{\r\n L2DMatrix44.prototype.constructor.call(this);\r\n this.screenLeft = null;\r\n this.screenRight = null;\r\n this.screenTop = null;\r\n this.screenBottom = null;\r\n this.maxLeft = null;\r\n this.maxRight = null;\r\n this.maxTop = null;\r\n this.maxBottom = null;\r\n this.max = Number.MAX_VALUE;\r\n this.min = 0;\r\n}\r\n\r\nL2DViewMatrix.prototype = new L2DMatrix44(); //L2DViewMatrix extends L2DMatrix44\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxScale = function()\r\n{\r\n return this.max;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMinScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMinScale = function()\r\n{\r\n return this.min;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # setMaxScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.setMaxScale = function(v/*float*/)\r\n{\r\n this.max = v;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # setMinScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.setMinScale = function(v/*float*/)\r\n{\r\n this.min = v;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # isMaxScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.isMaxScale = function()\r\n{\r\n return this.getScaleX() == this.max;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # isMinScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.isMinScale = function()\r\n{\r\n return this.getScaleX() == this.min;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # adjustTranslate()\r\n//============================================================\r\nL2DViewMatrix.prototype.adjustTranslate = function(shiftX/*float*/, shiftY/*float*/)\r\n{\r\n if(this.tr[0] * this.maxLeft + (this.tr[12] + shiftX) > this.screenLeft) \r\n shiftX = this.screenLeft - this.tr[0] * this.maxLeft - this.tr[12];\r\n if(this.tr[0] * this.maxRight + (this.tr[12] + shiftX) < this.screenRight) \r\n shiftX = this.screenRight - this.tr[0] * this.maxRight - this.tr[12];\r\n if(this.tr[5] * this.maxTop + (this.tr[13] + shiftY) < this.screenTop) \r\n shiftY = this.screenTop - this.tr[5] * this.maxTop - this.tr[13];\r\n if(this.tr[5] * this.maxBottom + (this.tr[13] + shiftY) > this.screenBottom) \r\n shiftY = this.screenBottom - this.tr[5] * this.maxBottom - this.tr[13];\r\n \r\n var tr1 = [1, 0, 0, 0, \r\n 0, 1, 0, 0,\r\n 0, 0, 1, 0, \r\n shiftX, shiftY, 0, 1 ];\r\n L2DMatrix44.mul(tr1, this.tr, this.tr);\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # adjustScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.adjustScale = function(cx/*float*/, cy/*float*/, scale/*float*/)\r\n{\r\n var targetScale = scale * this.tr[0];\r\n if(targetScale < this.min) {\r\n if(this.tr[0] > 0) scale = this.min / this.tr[0];\r\n }\r\n else if(targetScale > this.max) {\r\n if(this.tr[0] > 0) scale = this.max / this.tr[0];\r\n }\r\n var tr1 = [1, 0, 0, 0, \r\n 0, 1, 0, 0, \r\n 0, 0, 1, 0, \r\n cx, cy, 0, 1];\r\n var tr2 = [scale, 0, 0, 0,\r\n 0, scale, 0, 0,\r\n 0, 0, 1, 0, \r\n 0, 0, 0, 1 ];\r\n var tr3 = [1, 0, 0, 0, \r\n 0, 1, 0, 0, \r\n 0, 0, 1, 0, \r\n -cx, -cy, 0, 1 ];\r\n L2DMatrix44.mul(tr3, this.tr, this.tr);\r\n L2DMatrix44.mul(tr2, this.tr, this.tr);\r\n L2DMatrix44.mul(tr1, this.tr, this.tr);\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # setScreenRect()\r\n//============================================================\r\nL2DViewMatrix.prototype.setScreenRect = function(left/*float*/, right/*float*/, bottom/*float*/, top/*float*/)\r\n{\r\n this.screenLeft = left;\r\n this.screenRight = right;\r\n this.screenTop = top;\r\n this.screenBottom = bottom;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # setMaxScreenRect()\r\n//============================================================\r\nL2DViewMatrix.prototype.setMaxScreenRect = function(left/*float*/, right/*float*/, bottom/*float*/, top/*float*/)\r\n{\r\n this.maxLeft = left;\r\n this.maxRight = right;\r\n this.maxTop = top;\r\n this.maxBottom = bottom;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getScreenLeft()\r\n//============================================================\r\nL2DViewMatrix.prototype.getScreenLeft = function()\r\n{\r\n return this.screenLeft;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getScreenRight()\r\n//============================================================\r\nL2DViewMatrix.prototype.getScreenRight = function()\r\n{\r\n return this.screenRight;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getScreenBottom()\r\n//============================================================\r\nL2DViewMatrix.prototype.getScreenBottom = function()\r\n{\r\n return this.screenBottom;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getScreenTop()\r\n//============================================================\r\nL2DViewMatrix.prototype.getScreenTop = function()\r\n{\r\n return this.screenTop;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxLeft()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxLeft = function()\r\n{\r\n return this.maxLeft;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxRight()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxRight = function()\r\n{\r\n return this.maxRight;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxBottom()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxBottom = function()\r\n{\r\n return this.maxBottom;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxTop()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxTop = function()\r\n{\r\n return this.maxTop;\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class Live2DFramework \r\n//============================================================\r\n//============================================================\r\nfunction Live2DFramework()\r\n{\r\n}\r\n\r\n//============================================================\r\nLive2DFramework.platformManager = null;\r\n\r\n//============================================================\r\n// static Live2DFramework.getPlatformManager()\r\n//============================================================\r\nLive2DFramework.getPlatformManager = function()\r\n{\r\n return Live2DFramework.platformManager;\r\n}\r\n\r\n//============================================================\r\n// static Live2DFramework.setPlatformManager()\r\n//============================================================\r\nLive2DFramework.setPlatformManager = function( platformManager /*IPlatformManager*/ )\r\n{\r\n Live2DFramework.platformManager = platformManager;\r\n}", + "__docId__": 197, + "kind": "function", + "name": "getScreenLeft", + "memberof": "src/lib/Live2DFramework.js", + "generator": false, + "async": false, "static": true, - "longname": "D:/git/live2d-widget.js/src/lib/_Live2DFramework.official.js", + "longname": "src/lib/Live2DFramework.js~getScreenLeft", "access": "public", + "export": false, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": null, "description": null, - "lineNumber": 1 + "lineNumber": 1298, + "undocument": true, + "params": [], + "return": { + "types": [ + "*" + ] + }, + "ignore": true }, { - "__docId__": 187, + "__docId__": 198, "kind": "function", - "name": "L2DBaseModel", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "getScreenRight", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DBaseModel", + "longname": "src/lib/Live2DFramework.js~getScreenRight", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 13, + "description": null, + "lineNumber": 1305, + "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 188, - "kind": "variable", - "name": "texCounter", - "memberof": "src/lib/_Live2DFramework.official.js", + "__docId__": 199, + "kind": "function", + "name": "getScreenBottom", + "memberof": "src/lib/Live2DFramework.js", + "generator": false, + "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~texCounter", + "longname": "src/lib/Live2DFramework.js~getScreenBottom", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 41, + "lineNumber": 1312, "undocument": true, - "type": { + "params": [], + "return": { "types": [ - "number" + "*" ] }, "ignore": true }, { - "__docId__": 189, + "__docId__": 200, "kind": "function", - "name": "getModelMatrix", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "getScreenTop", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getModelMatrix", + "longname": "src/lib/Live2DFramework.js~getScreenTop", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 46, + "lineNumber": 1319, "undocument": true, "params": [], "return": { @@ -4659,47 +5022,44 @@ "ignore": true }, { - "__docId__": 190, + "__docId__": 201, "kind": "function", - "name": "setAlpha", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "getMaxLeft", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setAlpha", + "longname": "src/lib/Live2DFramework.js~getMaxLeft", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 54, + "lineNumber": 1326, "undocument": true, - "params": [ - { - "name": "a", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 191, + "__docId__": 202, "kind": "function", - "name": "getAlpha", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "getMaxRight", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getAlpha", + "longname": "src/lib/Live2DFramework.js~getMaxRight", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 64, + "lineNumber": 1333, "undocument": true, "params": [], "return": { @@ -4710,20 +5070,20 @@ "ignore": true }, { - "__docId__": 192, + "__docId__": 203, "kind": "function", - "name": "isInitialized", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "getMaxBottom", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~isInitialized", + "longname": "src/lib/Live2DFramework.js~getMaxBottom", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 72, + "lineNumber": 1340, "undocument": true, "params": [], "return": { @@ -4734,47 +5094,44 @@ "ignore": true }, { - "__docId__": 193, + "__docId__": 204, "kind": "function", - "name": "setInitialized", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "getMaxTop", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setInitialized", + "longname": "src/lib/Live2DFramework.js~getMaxTop", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 80, + "lineNumber": 1347, "undocument": true, - "params": [ - { - "name": "v", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 194, + "__docId__": 205, "kind": "function", - "name": "isUpdating", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "getPlatformManager", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~isUpdating", + "longname": "src/lib/Live2DFramework.js~getPlatformManager", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 88, + "lineNumber": 1365, "undocument": true, "params": [], "return": { @@ -4785,24 +5142,24 @@ "ignore": true }, { - "__docId__": 195, + "__docId__": 206, "kind": "function", - "name": "setUpdating", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "setPlatformManager", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setUpdating", + "longname": "src/lib/Live2DFramework.js~setPlatformManager", "access": "public", "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importPath": "live2d-widget/src/lib/Live2DFramework.js", "importStyle": null, "description": null, - "lineNumber": 96, + "lineNumber": 1372, "undocument": true, "params": [ { - "name": "v", + "name": "platformManager", "types": [ "*" ] @@ -4812,605 +5169,482 @@ "ignore": true }, { - "__docId__": 196, + "__docId__": 207, "kind": "function", - "name": "getLive2DModel", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DTargetPoint", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getLive2DModel", + "longname": "src/lib/Live2DFramework.js~L2DTargetPoint", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DTargetPoint}", "description": null, - "lineNumber": 104, + "lineNumber": 1133, "undocument": true, "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true + "return": null }, { - "__docId__": 197, + "__docId__": 208, "kind": "function", - "name": "setLipSync", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "Live2DFramework", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setLipSync", + "longname": "src/lib/Live2DFramework.js~Live2DFramework", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{Live2DFramework}", "description": null, - "lineNumber": 112, + "lineNumber": 1356, "undocument": true, - "params": [ - { - "name": "v", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "params": [], + "return": null }, { - "__docId__": 198, + "__docId__": 209, "kind": "function", - "name": "setLipSyncValue", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DViewMatrix", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setLipSyncValue", + "longname": "src/lib/Live2DFramework.js~L2DViewMatrix", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DViewMatrix}", "description": null, - "lineNumber": 120, + "lineNumber": 1219, "undocument": true, - "params": [ - { - "name": "v", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "params": [], + "return": null }, { - "__docId__": 199, + "__docId__": 210, "kind": "function", - "name": "setAccel", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DPose", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setAccel", + "longname": "src/lib/Live2DFramework.js~L2DPose", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DPose}", "description": null, - "lineNumber": 128, + "lineNumber": 952, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - }, - { - "name": "y", - "types": [ - "*" - ] - }, - { - "name": "z", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "params": [], + "return": null }, { - "__docId__": 200, + "__docId__": 211, "kind": "function", - "name": "setDrag", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DPartsParam", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setDrag", + "longname": "src/lib/Live2DFramework.js~L2DPartsParam", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DPartsParam}", "description": null, - "lineNumber": 138, + "lineNumber": 1112, "undocument": true, "params": [ { - "name": "x", - "types": [ - "*" - ] - }, - { - "name": "y", + "name": "id", "types": [ "*" ] } ], - "return": null, - "ignore": true + "return": null }, { - "__docId__": 201, + "__docId__": 212, "kind": "function", - "name": "getMainMotionManager", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DPhysics", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getMainMotionManager", + "longname": "src/lib/Live2DFramework.js~L2DPhysics", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DPhysics}", "description": null, - "lineNumber": 147, + "lineNumber": 867, "undocument": true, "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true + "return": null }, { - "__docId__": 202, + "__docId__": 213, "kind": "function", - "name": "getExpressionManager", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DMotionManager", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getExpressionManager", + "longname": "src/lib/Live2DFramework.js~L2DMotionManager", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DMotionManager}", "description": null, - "lineNumber": 155, + "lineNumber": 790, "undocument": true, "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true + "return": null }, { - "__docId__": 203, + "__docId__": 214, "kind": "function", - "name": "loadModelData", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DModelMatrix", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~loadModelData", + "longname": "src/lib/Live2DFramework.js~L2DModelMatrix", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DModelMatrix}", "description": null, - "lineNumber": 163, + "lineNumber": 682, "undocument": true, "params": [ { - "name": "path", + "name": "w", "types": [ "*" ] }, { - "name": "callback", + "name": "h", "types": [ "*" ] } ], - "return": null, - "ignore": true + "return": null }, { - "__docId__": 204, + "__docId__": 215, "kind": "function", - "name": "loadTexture", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DMatrix44", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~loadTexture", + "longname": "src/lib/Live2DFramework.js~L2DMatrix44", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DMatrix44}", "description": null, - "lineNumber": 199, + "lineNumber": 534, "undocument": true, - "params": [ - { - "name": "no", - "types": [ - "*" - ] - }, - { - "name": "path", - "types": [ - "*" - ] - }, - { - "name": "callback", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "params": [], + "return": null + }, + { + "__docId__": 216, + "kind": "function", + "name": "EYE_STATE", + "memberof": "src/lib/Live2DFramework.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/lib/Live2DFramework.js~EYE_STATE", + "access": "public", + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{EYE_STATE}", + "description": null, + "lineNumber": 521, + "undocument": true, + "params": [], + "return": null }, { - "__docId__": 205, + "__docId__": 217, "kind": "function", - "name": "loadMotion", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DEyeBlink", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~loadMotion", + "longname": "src/lib/Live2DFramework.js~L2DEyeBlink", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DEyeBlink}", "description": null, - "lineNumber": 219, + "lineNumber": 428, "undocument": true, - "params": [ - { - "name": "name", - "types": [ - "*" - ] - }, - { - "name": "path", - "types": [ - "*" - ] - }, - { - "name": "callback", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "params": [], + "return": null }, { - "__docId__": 206, + "__docId__": 218, "kind": "function", - "name": "loadExpression", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DExpressionParam", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~loadExpression", + "longname": "src/lib/Live2DFramework.js~L2DExpressionParam", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DExpressionParam}", "description": null, - "lineNumber": 241, + "lineNumber": 417, "undocument": true, - "params": [ - { - "name": "name", - "types": [ - "*" - ] - }, - { - "name": "path", - "types": [ - "*" - ] - }, - { - "name": "callback", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "params": [], + "return": null }, { - "__docId__": 207, + "__docId__": 219, "kind": "function", - "name": "loadPose", - "memberof": "src/lib/_Live2DFramework.official.js", + "name": "L2DExpressionMotion", + "memberof": "src/lib/Live2DFramework.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~loadPose", + "longname": "src/lib/Live2DFramework.js~L2DExpressionMotion", "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DExpressionMotion}", "description": null, - "lineNumber": 259, + "lineNumber": 321, "undocument": true, - "params": [ - { - "name": "path", - "types": [ - "*" - ] - }, - { - "name": "callback", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true + "params": [], + "return": null }, { - "__docId__": 208, + "__docId__": 220, "kind": "function", - "name": "loadPhysics", + "name": "L2DBaseModel", + "memberof": "src/lib/Live2DFramework.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/lib/Live2DFramework.js~L2DBaseModel", + "access": "public", + "export": true, + "importPath": "live2d-widget/src/lib/Live2DFramework.js", + "importStyle": "{L2DBaseModel}", + "description": "Basic functions releated to model react", + "lineNumber": 26, + "params": [], + "return": null + }, + { + "__docId__": 221, + "kind": "file", + "name": "src/lib/_Live2DFramework.official.js", + "content": "/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n//============================================================\r\n//============================================================\r\n// class L2DBaseModel \r\n//============================================================\r\n//============================================================\r\nfunction L2DBaseModel()\r\n{\r\n this.live2DModel = null; // ALive2DModel\r\n this.modelMatrix = null; // L2DModelMatrix\r\n this.eyeBlink = null; // L2DEyeBlink\r\n this.physics = null; // L2DPhysics\r\n this.pose = null; // L2DPose\r\n this.debugMode = false;\r\n this.initialized = false;\r\n this.updating = false;\r\n this.alpha = 1;\r\n this.accAlpha = 0;\r\n this.lipSync = false; \r\n this.lipSyncValue = 0; \r\n this.accelX = 0;\r\n this.accelY = 0;\r\n this.accelZ = 0;\r\n this.dragX = 0;\r\n this.dragY = 0;\r\n this.startTimeMSec = null;\r\n this.mainMotionManager = new L2DMotionManager(); //L2DMotionManager\r\n this.expressionManager = new L2DMotionManager(); //L2DMotionManager\r\n this.motions = {};\r\n this.expressions = {};\r\n \r\n this.isTexLoaded = false;\r\n}\r\n\r\nvar texCounter = 0;\r\n\r\n//============================================================\r\n// L2DBaseModel # getModelMatrix()\r\n//============================================================\r\nL2DBaseModel.prototype.getModelMatrix = function()\r\n{\r\n return this.modelMatrix;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setAlpha()\r\n//============================================================\r\nL2DBaseModel.prototype.setAlpha = function(a/*float*/)\r\n{\r\n if( a > 0.999 ) a = 1;\r\n if( a < 0.001 ) a = 0;\r\n this.alpha = a;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # getAlpha()\r\n//============================================================\r\nL2DBaseModel.prototype.getAlpha = function()\r\n{\r\n return this.alpha;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # isInitialized()\r\n//============================================================\r\nL2DBaseModel.prototype.isInitialized = function()\r\n{\r\n return this.initialized;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setInitialized()\r\n//============================================================\r\nL2DBaseModel.prototype.setInitialized = function( v/*boolean*/)\r\n{\r\n this.initialized = v;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # isUpdating()\r\n//============================================================\r\nL2DBaseModel.prototype.isUpdating = function()\r\n{\r\n return this.updating;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setUpdating()\r\n//============================================================\r\nL2DBaseModel.prototype.setUpdating = function(v/*boolean*/)\r\n{\r\n this.updating = v;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # getLive2DModel()\r\n//============================================================\r\nL2DBaseModel.prototype.getLive2DModel = function()\r\n{\r\n return this.live2DModel;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setLipSync()\r\n//============================================================\r\nL2DBaseModel.prototype.setLipSync = function(v/*boolean*/)\r\n{\r\n this.lipSync = v;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setLipSyncValue()\r\n//============================================================\r\nL2DBaseModel.prototype.setLipSyncValue = function(v/*float*/)\r\n{\r\n this.lipSyncValue = v;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setAccel()\r\n//============================================================\r\nL2DBaseModel.prototype.setAccel = function(x/*float*/, y/*float*/, z/*float*/)\r\n{\r\n this.accelX = x;\r\n this.accelY = y;\r\n this.accelZ = z;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # setDrag()\r\n//============================================================\r\nL2DBaseModel.prototype.setDrag = function(x/*float*/, y/*float*/)\r\n{\r\n this.dragX = x;\r\n this.dragY = y;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # getMainMotionManager()\r\n//============================================================\r\nL2DBaseModel.prototype.getMainMotionManager = function()\r\n{\r\n return this.mainMotionManager;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # getExpressionManager()\r\n//============================================================\r\nL2DBaseModel.prototype.getExpressionManager = function()\r\n{\r\n return this.expressionManager;\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadModelData()\r\n//============================================================\r\nL2DBaseModel.prototype.loadModelData = function(path/*String*/, callback)\r\n{ \r\n /*\r\n if( this.live2DModel != null ) {\r\n this.live2DModel.deleteTextures();\r\n }\r\n */\r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n if( this.debugMode ) pm.log(\"Load model : \" + path);\r\n\r\n var thisRef = this;\r\n pm.loadLive2DModel(path, function(l2dModel) {\r\n thisRef.live2DModel = l2dModel;\r\n thisRef.live2DModel.saveParam();\r\n \r\n var _err = Live2D.getError();\r\n\r\n if( _err != 0 ) {\r\n console.error(\"Error : Failed to loadModelData().\");\r\n return;\r\n }\r\n \r\n thisRef.modelMatrix = new L2DModelMatrix(\r\n thisRef.live2DModel.getCanvasWidth(),\r\n thisRef.live2DModel.getCanvasHeight()); //L2DModelMatrix\r\n thisRef.modelMatrix.setWidth(2);\r\n thisRef.modelMatrix.setCenterPosition(0, 0);\r\n \r\n callback(thisRef.live2DModel);\r\n });\r\n}\r\n\r\n\r\n//============================================================\r\n// L2DBaseModel # loadTexture()\r\n//============================================================\r\nL2DBaseModel.prototype.loadTexture = function(no/*int*/, path/*String*/, callback)\r\n{\r\n texCounter++;\r\n \r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n \r\n if( this.debugMode ) pm.log(\"Load Texture : \" + path);\r\n \r\n var thisRef = this;\r\n pm.loadTexture(this.live2DModel , no , path, function(){\r\n texCounter--;\r\n if(texCounter == 0) thisRef.isTexLoaded = true;\r\n if (typeof callback == \"function\") callback();\r\n });\r\n \r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadMotion()\r\n//============================================================\r\nL2DBaseModel.prototype.loadMotion = function(name/*String*/, path /*String*/, callback)\r\n{ \r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n \r\n if(this.debugMode) pm.log(\"Load Motion : \" + path);\r\n \r\n var motion = null; //Live2DMotion\r\n \r\n var thisRef = this;\r\n pm.loadBytes(path, function(buf) {\r\n motion = Live2DMotion.loadMotion(buf);\r\n if( name != null ) {\r\n thisRef.motions[name] = motion;\r\n }\r\n callback(motion);\r\n });\r\n \r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadExpression()\r\n//============================================================\r\nL2DBaseModel.prototype.loadExpression = function(name/*String*/, path /*String*/, callback)\r\n{\r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n \r\n if( this.debugMode ) pm.log(\"Load Expression : \" + path);\r\n \r\n var thisRef = this;\r\n pm.loadBytes(path, function(buf) {\r\n if(name != null) {\r\n thisRef.expressions[name] = L2DExpressionMotion.loadJson(buf);\r\n }\r\n if (typeof callback == \"function\") callback();\r\n });\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadPose()\r\n//============================================================\r\nL2DBaseModel.prototype.loadPose = function( path /*String*/, callback )\r\n{\r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n if( this.debugMode ) pm.log(\"Load Pose : \" + path);\r\n var thisRef = this;\r\n try {\r\n pm.loadBytes(path, function(buf) {\r\n thisRef.pose = L2DPose.load(buf);\r\n if (typeof callback == \"function\") callback();\r\n });\r\n }\r\n catch(e) {\r\n console.warn(e);\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # loadPhysics()\r\n//============================================================\r\nL2DBaseModel.prototype.loadPhysics = function(path/*String*/)\r\n{\r\n var pm = Live2DFramework.getPlatformManager(); //IPlatformManager\r\n if( this.debugMode ) pm.log(\"Load Physics : \" + path);\r\n var thisRef = this;\r\n try {\r\n pm.loadBytes(path, function(buf) {\r\n thisRef.physics = L2DPhysics.load(buf);\r\n });\r\n }\r\n catch(e){\r\n console.warn(e);\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DBaseModel # hitTestSimple()\r\n//============================================================\r\nL2DBaseModel.prototype.hitTestSimple = function(drawID, testX, testY)\r\n{ \r\n var drawIndex = this.live2DModel.getDrawDataIndex(drawID);\r\n \r\n if( drawIndex < 0 ) return false;\r\n \r\n var points = this.live2DModel.getTransformedPoints(drawIndex);\r\n var left = this.live2DModel.getCanvasWidth();\r\n var right = 0;\r\n var top = this.live2DModel.getCanvasHeight();\r\n var bottom = 0;\r\n \r\n for( var j = 0; j < points.length; j = j + 2 ) {\r\n var x = points[j];\r\n var y = points[j + 1];\r\n\r\n if( x < left ) left = x;\r\n if( x > right ) right = x;\r\n if( y < top ) top = y;\r\n if( y > bottom ) bottom = y;\r\n }\r\n var tx = this.modelMatrix.invertTransformX(testX);\r\n var ty = this.modelMatrix.invertTransformY(testY);\r\n \r\n return ( left <= tx && tx <= right && top <= ty && ty <= bottom );\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DExpressionMotion extends AMotion\r\n//============================================================\r\n//============================================================\r\nfunction L2DExpressionMotion()\r\n{\r\n AMotion.prototype.constructor.call(this);\r\n this.paramList = new Array(); //ArrayList\r\n}\r\n\r\nL2DExpressionMotion.prototype = new AMotion(); // L2DExpressionMotion extends AMotion\r\n\r\n//============================================================\r\nL2DExpressionMotion.EXPRESSION_DEFAULT = \"DEFAULT\";\r\nL2DExpressionMotion.TYPE_SET = 0;\r\nL2DExpressionMotion.TYPE_ADD = 1;\r\nL2DExpressionMotion.TYPE_MULT = 2;\r\n\r\n//============================================================\r\n// static L2DExpressionMotion.loadJson()\r\n//============================================================\r\nL2DExpressionMotion.loadJson = function(buf)\r\n{ \r\n var ret = new L2DExpressionMotion();\r\n \r\n var pm = Live2DFramework.getPlatformManager();\r\n var json = pm.jsonParseFromBytes(buf);\r\n\r\n ret.setFadeIn(parseInt(json.fade_in) > 0 ? parseInt(json.fade_in) : 1000);\r\n ret.setFadeOut(parseInt(json.fade_out) > 0 ? parseInt(json.fade_out) : 1000);\r\n \r\n if(json.params == null) {\r\n return ret;\r\n }\r\n \r\n var params = json.params;\r\n var paramNum = params.length;\r\n ret.paramList = []; //ArrayList\r\n for( var i = 0; i < paramNum; i++) {\r\n var param = params[i];\r\n var paramID = param.id.toString();\r\n var value = parseFloat(param.val);\r\n var calcTypeInt = L2DExpressionMotion.TYPE_ADD;\r\n var calc = param.calc != null ? param.calc.toString() : \"add\";\r\n if(calc === \"add\") {\r\n calcTypeInt = L2DExpressionMotion.TYPE_ADD;\r\n }\r\n else if(calc === \"mult\") {\r\n calcTypeInt = L2DExpressionMotion.TYPE_MULT;\r\n }\r\n else if(calc === \"set\") {\r\n calcTypeInt = L2DExpressionMotion.TYPE_SET;\r\n }\r\n else {\r\n calcTypeInt = L2DExpressionMotion.TYPE_ADD;\r\n }\r\n if(calcTypeInt == L2DExpressionMotion.TYPE_ADD) {\r\n var defaultValue = param.def == null ? 0 : parseFloat(param.def);\r\n value = value - defaultValue;\r\n }\r\n else if(calcTypeInt == L2DExpressionMotion.TYPE_MULT) {\r\n var defaultValue = param.def == null ? 1 : parseFloat(param.def);\r\n if(defaultValue == 0 ) defaultValue = 1;\r\n value = value / defaultValue;\r\n }\r\n \r\n var item = new L2DExpressionParam( );\r\n item.id = paramID;\r\n item.type = calcTypeInt;\r\n item.value = value;\r\n \r\n ret.paramList.push(item);\r\n }\r\n \r\n return ret;\r\n}\r\n\r\n\r\n//============================================================\r\n// L2DExpressionMotion # updateParamExe()\r\n//============================================================\r\nL2DExpressionMotion.prototype.updateParamExe = function(model /*ALive2DModel*/, timeMSec/*long*/ ,weight /*float*/ ,motionQueueEnt /*MotionQueueEnt*/)\r\n{\r\n for(var i = this.paramList.length - 1; i >= 0; --i) {\r\n var param = this.paramList[i]; //L2DExpressionParam\r\n // if (!param || !param.type) continue;\r\n if(param.type == L2DExpressionMotion.TYPE_ADD) {\r\n model.addToParamFloat(param.id, param.value, weight);\r\n }\r\n else if(param.type == L2DExpressionMotion.TYPE_MULT) {\r\n model.multParamFloat(param.id, param.value, weight);\r\n }\r\n else if(param.type == L2DExpressionMotion.TYPE_SET) { \r\n model.setParamFloat(param.id, param.value, weight);\r\n }\r\n }\r\n}\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DExpressionParam \r\n//============================================================\r\n//============================================================\r\nfunction L2DExpressionParam()\r\n{\r\n this.id = \"\";\r\n this.type = -1;\r\n this.value = null;\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DEyeBlink \r\n//============================================================\r\n//============================================================\r\nfunction L2DEyeBlink()\r\n{\r\n this.nextBlinkTime = null /* TODO NOT INIT */; // \r\n this.stateStartTime = null /* TODO NOT INIT */; // \r\n this.blinkIntervalMsec = null /* TODO NOT INIT */; // \r\n this.eyeState = EYE_STATE.STATE_FIRST;\r\n this.blinkIntervalMsec = 4000;\r\n this.closingMotionMsec = 100;\r\n this.closedMotionMsec = 50;\r\n this.openingMotionMsec = 150;\r\n this.closeIfZero = true;\r\n this.eyeID_L = \"PARAM_EYE_L_OPEN\";\r\n this.eyeID_R = \"PARAM_EYE_R_OPEN\";\r\n}\r\n\r\n//============================================================\r\n// L2DEyeBlink # calcNextBlink()\r\n//============================================================\r\nL2DEyeBlink.prototype.calcNextBlink = function()\r\n{\r\n var time /*long*/ = UtSystem.getUserTimeMSec();\r\n var r /*Number*/ = Math.random();\r\n return /*(long)*/ (time + r * (2 * this.blinkIntervalMsec - 1));\r\n}\r\n\r\n//============================================================\r\n// L2DEyeBlink # setInterval()\r\n//============================================================\r\nL2DEyeBlink.prototype.setInterval = function(blinkIntervalMsec /*int*/)\r\n{\r\n this.blinkIntervalMsec = blinkIntervalMsec;\r\n}\r\n\r\n//============================================================\r\n// L2DEyeBlink # setEyeMotion()\r\n//============================================================\r\nL2DEyeBlink.prototype.setEyeMotion = function(closingMotionMsec/*int*/ , closedMotionMsec/*int*/ , openingMotionMsec/*int*/)\r\n{\r\n this.closingMotionMsec = closingMotionMsec;\r\n this.closedMotionMsec = closedMotionMsec;\r\n this.openingMotionMsec = openingMotionMsec;\r\n}\r\n\r\n//============================================================\r\n// L2DEyeBlink # updateParam()\r\n//============================================================\r\nL2DEyeBlink.prototype.updateParam = function(model/*ALive2DModel*/)\r\n{\r\n var time /*:long*/ = UtSystem.getUserTimeMSec();\r\n var eyeParamValue /*:Number*/;\r\n var t /*:Number*/ = 0;\r\n switch(this.eyeState){\r\n case EYE_STATE.STATE_CLOSING:\r\n t = (time - this.stateStartTime) / this.closingMotionMsec;\r\n if(t >= 1) {\r\n t = 1;\r\n this.eyeState = EYE_STATE.STATE_CLOSED;\r\n this.stateStartTime = time;\r\n }\r\n eyeParamValue = 1 - t;\r\n break;\r\n case EYE_STATE.STATE_CLOSED:\r\n t = (time - this.stateStartTime) / this.closedMotionMsec;\r\n if(t >= 1) {\r\n this.eyeState = EYE_STATE.STATE_OPENING;\r\n this.stateStartTime = time;\r\n }\r\n eyeParamValue = 0;\r\n break;\r\n case EYE_STATE.STATE_OPENING:\r\n t = (time - this.stateStartTime) / this.openingMotionMsec;\r\n if(t >= 1) {\r\n t = 1;\r\n this.eyeState = EYE_STATE.STATE_INTERVAL;\r\n this.nextBlinkTime = this.calcNextBlink();\r\n }\r\n eyeParamValue = t;\r\n break;\r\n case EYE_STATE.STATE_INTERVAL:\r\n if(this.nextBlinkTime < time) {\r\n this.eyeState = EYE_STATE.STATE_CLOSING;\r\n this.stateStartTime = time;\r\n }\r\n eyeParamValue = 1;\r\n break;\r\n case EYE_STATE.STATE_FIRST:\r\n default:\r\n this.eyeState = EYE_STATE.STATE_INTERVAL;\r\n this.nextBlinkTime = this.calcNextBlink();\r\n eyeParamValue = 1;\r\n break;\r\n }\r\n if(!this.closeIfZero) eyeParamValue = -eyeParamValue;\r\n model.setParamFloat(this.eyeID_L , eyeParamValue);\r\n model.setParamFloat(this.eyeID_R , eyeParamValue);\r\n}\r\n\r\n//== enum EYE_STATE ==\r\nvar EYE_STATE = function(){};\r\n\r\nEYE_STATE.STATE_FIRST = \"STATE_FIRST\"\r\nEYE_STATE.STATE_INTERVAL = \"STATE_INTERVAL\"\r\nEYE_STATE.STATE_CLOSING = \"STATE_CLOSING\"\r\nEYE_STATE.STATE_CLOSED = \"STATE_CLOSED\"\r\nEYE_STATE.STATE_OPENING = \"STATE_OPENING\"\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DMatrix44 \r\n//============================================================\r\n//============================================================\r\nfunction L2DMatrix44()\r\n{\r\n this.tr = new Float32Array(16); // \r\n this.identity();\r\n}\r\n\r\n//============================================================\r\n// static L2DMatrix44.mul()\r\n//============================================================\r\nL2DMatrix44.mul = function( a/*float[]*/, b/*float[]*/, dst/*float[]*/ )\r\n{\r\n var c = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ];\r\n var n = 4;\r\n var i, j, k;\r\n for( i = 0; i < n; i++ ) {\r\n for( j = 0; j < n; j++ ) {\r\n for( k = 0; k < n; k++ ) {\r\n c[i + j * 4] += a[i + k * 4] * b[k + j * 4];\r\n }\r\n }\r\n }\r\n for( i = 0; i < 16; i++ ) {\r\n dst[i] = c[i];\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # identity()\r\n//============================================================\r\nL2DMatrix44.prototype.identity = function()\r\n{\r\n for( var i/*:int*/ = 0; i < 16; i++ ) \r\n this.tr[i] = ( ( i % 5 ) == 0 ) ? 1 : 0;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # getArray()\r\n//============================================================\r\nL2DMatrix44.prototype.getArray = function()\r\n{\r\n return this.tr;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # getCopyMatrix()\r\n//============================================================\r\nL2DMatrix44.prototype.getCopyMatrix = function()\r\n{\r\n return new Float32Array(this.tr); // this.tr.clone();\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # setMatrix()\r\n//============================================================\r\nL2DMatrix44.prototype.setMatrix = function( tr/*float[]*/ )\r\n{\r\n if( this.tr == null || this.tr.length != this.tr.length ) return ;\r\n for( var i/*:int*/ = 0; i < 16; i++ ) this.tr[i] = tr[i];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # getScaleX()\r\n//============================================================\r\nL2DMatrix44.prototype.getScaleX = function()\r\n{\r\n return this.tr[0];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # getScaleY()\r\n//============================================================\r\nL2DMatrix44.prototype.getScaleY = function()\r\n{\r\n return this.tr[5];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # transformX()\r\n//============================================================\r\nL2DMatrix44.prototype.transformX = function( src/*float*/ )\r\n{\r\n return this.tr[0] * src + this.tr[12];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # transformY()\r\n//============================================================\r\nL2DMatrix44.prototype.transformY = function( src/*float*/ )\r\n{\r\n return this.tr[5] * src + this.tr[13];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # invertTransformX()\r\n//============================================================\r\nL2DMatrix44.prototype.invertTransformX = function( src/*float*/ )\r\n{\r\n return ( src - this.tr[12] ) / this.tr[0];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # invertTransformY()\r\n//============================================================\r\nL2DMatrix44.prototype.invertTransformY = function( src/*float*/ )\r\n{\r\n return ( src - this.tr[13] ) / this.tr[5];\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # multTranslate()\r\n//============================================================\r\nL2DMatrix44.prototype.multTranslate = function( shiftX/*float*/, shiftY/*float*/ )\r\n{\r\n var tr1 = [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, shiftX, shiftY, 0, 1 ];\r\n L2DMatrix44.mul(tr1, this.tr, this.tr);\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # translate()\r\n//============================================================\r\nL2DMatrix44.prototype.translate = function( x/*float*/, y/*float*/ )\r\n{\r\n this.tr[12] = x;\r\n this.tr[13] = y;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # translateX()\r\n//============================================================\r\nL2DMatrix44.prototype.translateX = function( x/*float*/ )\r\n{\r\n this.tr[12] = x;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # translateY()\r\n//============================================================\r\nL2DMatrix44.prototype.translateY = function( y/*float*/ )\r\n{\r\n this.tr[13] = y;\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # multScale()\r\n//============================================================\r\nL2DMatrix44.prototype.multScale = function( scaleX/*float*/, scaleY/*float*/ )\r\n{\r\n var tr1 = [scaleX, 0, 0, 0, 0, scaleY, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\r\n L2DMatrix44.mul(tr1, this.tr, this.tr);\r\n}\r\n\r\n//============================================================\r\n// L2DMatrix44 # scale()\r\n//============================================================\r\nL2DMatrix44.prototype.scale = function( scaleX/*float*/, scaleY/*float*/ )\r\n{\r\n this.tr[0] = scaleX;\r\n this.tr[5] = scaleY;\r\n}\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DModelMatrix extends L2DMatrix44\r\n//============================================================\r\n//============================================================\r\nfunction L2DModelMatrix(w/*float*/, h/*float*/){\r\n L2DMatrix44.prototype.constructor.call(this);\r\n this.width = w;\r\n this.height = h;\r\n}\r\n\r\n//L2DModelMatrix extends L2DMatrix44\r\nL2DModelMatrix.prototype = new L2DMatrix44(); \r\n\r\n//============================================================\r\n// L2DModelMatrix # setPosition()\r\n//============================================================\r\nL2DModelMatrix.prototype.setPosition = function(x/*float*/, y/*float*/)\r\n{\r\n this.translate(x, y);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setCenterPosition()\r\n//============================================================\r\nL2DModelMatrix.prototype.setCenterPosition = function(x/*float*/, y/*float*/)\r\n{\r\n var w = this.width * this.getScaleX();\r\n var h = this.height * this.getScaleY();\r\n this.translate(x - w / 2, y - h / 2);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # top()\r\n//============================================================\r\nL2DModelMatrix.prototype.top = function(y/*float*/)\r\n{\r\n this.setY(y);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # bottom()\r\n//============================================================\r\nL2DModelMatrix.prototype.bottom = function(y/*float*/)\r\n{\r\n var h = this.height * this.getScaleY();\r\n this.translateY(y - h);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # left()\r\n//============================================================\r\nL2DModelMatrix.prototype.left = function(x/*float*/)\r\n{\r\n this.setX(x);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # right()\r\n//============================================================\r\nL2DModelMatrix.prototype.right = function(x/*float*/)\r\n{\r\n var w = this.width * this.getScaleX();\r\n this.translateX(x - w);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # centerX()\r\n//============================================================\r\nL2DModelMatrix.prototype.centerX = function(x/*float*/)\r\n{\r\n var w = this.width * this.getScaleX();\r\n this.translateX(x - w / 2);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # centerY()\r\n//============================================================\r\nL2DModelMatrix.prototype.centerY = function(y/*float*/)\r\n{\r\n var h = this.height * this.getScaleY();\r\n this.translateY(y - h / 2);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setX()\r\n//============================================================\r\nL2DModelMatrix.prototype.setX = function(x/*float*/)\r\n{\r\n this.translateX(x);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setY()\r\n//============================================================\r\nL2DModelMatrix.prototype.setY = function(y/*float*/)\r\n{\r\n this.translateY(y);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setHeight()\r\n//============================================================\r\nL2DModelMatrix.prototype.setHeight = function(h/*float*/)\r\n{\r\n var scaleX = h / this.height;\r\n var scaleY = -scaleX;\r\n this.scale(scaleX, scaleY);\r\n}\r\n\r\n//============================================================\r\n// L2DModelMatrix # setWidth()\r\n//============================================================\r\nL2DModelMatrix.prototype.setWidth = function(w/*float*/)\r\n{\r\n var scaleX = w / this.width;\r\n var scaleY = -scaleX;\r\n this.scale(scaleX, scaleY);\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DMotionManager extends MotionQueueManager\r\n//============================================================\r\n//============================================================\r\nfunction L2DMotionManager()\r\n{\r\n MotionQueueManager.prototype.constructor.call(this);\r\n this.currentPriority = null;\r\n this.reservePriority = null;\r\n \r\n this.super = MotionQueueManager.prototype;\r\n}\r\n\r\n\r\nL2DMotionManager.prototype = new MotionQueueManager();\r\n\r\n//============================================================\r\n// L2DMotionManager # getCurrentPriority()\r\n//============================================================\r\nL2DMotionManager.prototype.getCurrentPriority = function()\r\n{\r\n return this.currentPriority;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # getReservePriority()\r\n//============================================================\r\nL2DMotionManager.prototype.getReservePriority = function()\r\n{\r\n return this.reservePriority;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # reserveMotion()\r\n//============================================================\r\nL2DMotionManager.prototype.reserveMotion = function(priority/*int*/)\r\n{\r\n if(this.reservePriority >= priority) {\r\n return false;\r\n }\r\n if(this.currentPriority >= priority) {\r\n return false;\r\n }\r\n \r\n this.reservePriority = priority;\r\n \r\n return true;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # setReservePriority()\r\n//============================================================\r\nL2DMotionManager.prototype.setReservePriority = function(val/*int*/)\r\n{\r\n this.reservePriority = val;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # updateParam()\r\n//============================================================\r\nL2DMotionManager.prototype.updateParam = function(model/*ALive2DModel*/)\r\n{\r\n var updated = MotionQueueManager.prototype.updateParam.call(this, model);\r\n \r\n if(this.isFinished()) {\r\n this.currentPriority = 0;\r\n }\r\n \r\n return updated;\r\n}\r\n\r\n//============================================================\r\n// L2DMotionManager # startMotionPrio()\r\n//============================================================\r\nL2DMotionManager.prototype.startMotionPrio = function(motion/*AMotion*/, priority/*int*/)\r\n{\r\n if(priority == this.reservePriority) {\r\n this.reservePriority = 0;\r\n }\r\n this.currentPriority = priority;\r\n return this.startMotion(motion, false);\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DPhysics \r\n//============================================================\r\n//============================================================\r\nfunction L2DPhysics()\r\n{ \r\n this.physicsList = new Array(); //ArrayList\r\n this.startTimeMSec = UtSystem.getUserTimeMSec();\r\n}\r\n\r\n//============================================================\r\n// static L2DPhysics.load()\r\n//============================================================\r\nL2DPhysics.load = function(buf /*byte[]*/ )\r\n{\r\n var ret = new L2DPhysics(); //L2DPhysicsL2DPhysics\r\n var pm = Live2DFramework.getPlatformManager();\r\n var json = pm.jsonParseFromBytes(buf);\r\n var params = json.physics_hair;\r\n var paramNum = params.length;\r\n for(var i = 0; i < paramNum; i++) {\r\n var param = params[i]; //Value\r\n var physics = new PhysicsHair(); //PhysicsHairPhysicsHair\r\n var setup = param.setup; //Value\r\n var length = parseFloat(setup.length);\r\n var resist = parseFloat(setup.regist);\r\n var mass = parseFloat(setup.mass);\r\n physics.setup(length, resist, mass);\r\n var srcList = param.src; //Value\r\n var srcNum = srcList.length;\r\n for(var j = 0; j < srcNum; j++) {\r\n var src = srcList[j]; //Value\r\n var id = src.id; //String\r\n var type = PhysicsHair.Src.SRC_TO_X;\r\n var typeStr = src.ptype; //String\r\n if(typeStr === \"x\") {\r\n type = PhysicsHair.Src.SRC_TO_X;\r\n }\r\n else if(typeStr === \"y\") {\r\n type = PhysicsHair.Src.SRC_TO_Y;\r\n }\r\n else if(typeStr === \"angle\") {\r\n type = PhysicsHair.Src.SRC_TO_G_ANGLE;\r\n }\r\n else {\r\n UtDebug.error(\"live2d\", \"Invalid parameter:PhysicsHair.Src\");\r\n }\r\n var scale = parseFloat(src.scale);\r\n var weight = parseFloat(src.weight);\r\n physics.addSrcParam(type, id, scale, weight);\r\n }\r\n var targetList = param.targets; //Value\r\n var targetNum = targetList.length;\r\n for(var j = 0; j < targetNum; j++) {\r\n var target = targetList[j]; //Value\r\n var id = target.id; //String\r\n var type = PhysicsHair.Target.TARGET_FROM_ANGLE;\r\n var typeStr = target.ptype; //String\r\n if(typeStr === \"angle\") {\r\n type = PhysicsHair.Target.TARGET_FROM_ANGLE;\r\n }\r\n else if(typeStr === \"angle_v\") {\r\n type = PhysicsHair.Target.TARGET_FROM_ANGLE_V;\r\n }\r\n else {\r\n UtDebug.error(\"live2d\", \"Invalid parameter:PhysicsHair.Target\");\r\n }\r\n var scale = parseFloat(target.scale);\r\n var weight = parseFloat(target.weight);\r\n physics.addTargetParam(type, id, scale, weight);\r\n }\r\n ret.physicsList.push(physics);\r\n }\r\n return ret;\r\n}\r\n\r\n//============================================================\r\n// L2DPhysics # updateParam()\r\n//============================================================\r\nL2DPhysics.prototype.updateParam = function(model/*ALive2DModel*/)\r\n{\r\n var timeMSec = UtSystem.getUserTimeMSec() - this.startTimeMSec;\r\n for(var i = 0; i < this.physicsList.length; i++) {\r\n this.physicsList[i].update(model, timeMSec);\r\n }\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DPose \r\n//============================================================\r\n//============================================================\r\nfunction L2DPose()\r\n{\r\n this.lastTime = 0;\r\n this.lastModel = null; //ALive2DModel\r\n this.partsGroups = new Array(); //ArrayList\r\n}\r\n\r\n\r\n//============================================================\r\n// static L2DPose.load()\r\n//============================================================\r\nL2DPose.load = function(buf/*byte[]*/)\r\n{ \r\n var ret = new L2DPose(); //L2DPose\r\n var pm = Live2DFramework.getPlatformManager();\r\n var json = pm.jsonParseFromBytes(buf);\r\n var poseListInfo = json.parts_visible; //Value\r\n var poseNum = poseListInfo.length;\r\n for(var i_pose = 0; i_pose < poseNum; i_pose++) {\r\n var poseInfo = poseListInfo[i_pose]; //Value\r\n var idListInfo = poseInfo.group; //Value\r\n var idNum = idListInfo.length;\r\n var partsGroup/*L2DPartsParam*/ = new Array();\r\n for(var i_group = 0; i_group < idNum; i_group++) {\r\n var partsInfo = idListInfo[i_group]; //Value\r\n var parts = new L2DPartsParam(partsInfo.id); //L2DPartsParamL2DPartsParam\r\n partsGroup[i_group] = parts;\r\n if(partsInfo.link == null) continue;\r\n var linkListInfo = partsInfo.link; //Value\r\n var linkNum = linkListInfo.length;\r\n parts.link = new Array(); //ArrayList\r\n for(var i_link = 0; i_link < linkNum; i_link++) {\r\n var linkParts = new L2DPartsParam(linkListInfo[i_link]); //L2DPartsParamL2DPartsParam\r\n parts.link.push(linkParts);\r\n }\r\n }\r\n ret.partsGroups.push(partsGroup);\r\n }\r\n \r\n return ret;\r\n}\r\n\r\n//============================================================\r\n// L2DPose # updateParam()\r\n//============================================================\r\nL2DPose.prototype.updateParam = function(model/*ALive2DModel*/)\r\n{\r\n if(model == null) return ;\r\n \r\n if(!(model == this.lastModel)) {\r\n this.initParam(model);\r\n }\r\n this.lastModel = model;\r\n \r\n var curTime = UtSystem.getUserTimeMSec();\r\n var deltaTimeSec = ((this.lastTime == 0) ? 0 : (curTime - this.lastTime) / 1000.0);\r\n this.lastTime = curTime;\r\n if(deltaTimeSec < 0) deltaTimeSec = 0;\r\n for(var i = 0; i < this.partsGroups.length; i++) {\r\n this.normalizePartsOpacityGroup(model, this.partsGroups[i], deltaTimeSec);\r\n this.copyOpacityOtherParts(model, this.partsGroups[i]);\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DPose # initParam()\r\n//============================================================\r\nL2DPose.prototype.initParam = function(model/*ALive2DModel*/)\r\n{\r\n if(model == null) return ;\r\n for(var i = 0; i < this.partsGroups.length; i++) {\r\n var partsGroup = this.partsGroups[i]; //L2DPartsParam\r\n for(var j = 0; j < partsGroup.length; j++) {\r\n partsGroup[j].initIndex(model);\r\n var partsIndex = partsGroup[j].partsIndex;\r\n var paramIndex = partsGroup[j].paramIndex;\r\n if(partsIndex < 0) continue;\r\n var v/*:Boolean*/ = (model.getParamFloat(paramIndex) != 0);\r\n model.setPartsOpacity(partsIndex, (v ? 1.0 : 0.0));\r\n model.setParamFloat(paramIndex, (v ? 1.0 : 0.0));\r\n if(partsGroup[j].link == null) continue;\r\n for(var k = 0; k < partsGroup[j].link.length; k++) {\r\n partsGroup[j].link[k].initIndex(model);\r\n }\r\n }\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DPose # normalizePartsOpacityGroup()\r\n//============================================================\r\nL2DPose.prototype.normalizePartsOpacityGroup = function(model/*ALive2DModel*/, partsGroup/*L2DPartsParam[]*/, deltaTimeSec/*float*/)\r\n{\r\n var visibleParts = -1;\r\n var visibleOpacity = 1.0;\r\n var CLEAR_TIME_SEC = 0.5;\r\n var phi = 0.5;\r\n var maxBackOpacity = 0.15;\r\n for(var i = 0; i < partsGroup.length; i++) {\r\n var partsIndex = partsGroup[i].partsIndex;\r\n var paramIndex = partsGroup[i].paramIndex;\r\n if(partsIndex < 0) continue;if(model.getParamFloat(paramIndex) != 0) {\r\n if(visibleParts >= 0) {\r\n break;\r\n }\r\n visibleParts = i;\r\n visibleOpacity = model.getPartsOpacity(partsIndex);\r\n visibleOpacity += deltaTimeSec / CLEAR_TIME_SEC;\r\n if(visibleOpacity > 1) {\r\n visibleOpacity = 1;\r\n }\r\n }\r\n }\r\n if(visibleParts < 0) {\r\n visibleParts = 0;\r\n visibleOpacity = 1;\r\n }\r\n for(var i = 0; i < partsGroup.length; i++) {\r\n var partsIndex = partsGroup[i].partsIndex;\r\n if(partsIndex < 0) continue;if(visibleParts == i) {\r\n model.setPartsOpacity(partsIndex, visibleOpacity);\r\n }\r\n else {\r\n var opacity = model.getPartsOpacity(partsIndex);\r\n var a1;\r\n if(visibleOpacity < phi) {\r\n a1 = visibleOpacity * (phi - 1) / phi + 1;\r\n }\r\n else {\r\n a1 = (1 - visibleOpacity) * phi / (1 - phi);\r\n }\r\n var backOp = (1 - a1) * (1 - visibleOpacity);\r\n if(backOp > maxBackOpacity) {\r\n a1 = 1 - maxBackOpacity / (1 - visibleOpacity);\r\n }\r\n if(opacity > a1) {\r\n opacity = a1;\r\n }\r\n model.setPartsOpacity(partsIndex, opacity);\r\n }\r\n }\r\n}\r\n\r\n//============================================================\r\n// L2DPose # copyOpacityOtherParts()\r\n//============================================================\r\nL2DPose.prototype.copyOpacityOtherParts = function(model/*ALive2DModel*/, partsGroup/*L2DPartsParam[]*/)\r\n{\r\n for(var i_group = 0; i_group < partsGroup.length; i_group++) {\r\n var partsParam = partsGroup[i_group]; //L2DPartsParam\r\n if(partsParam.link == null) continue;\r\n if(partsParam.partsIndex < 0) continue;\r\n var opacity = model.getPartsOpacity(partsParam.partsIndex);\r\n for(var i_link = 0; i_link < partsParam.link.length; i_link++) {\r\n var linkParts = partsParam.link[i_link]; //L2DPartsParam\r\n if(linkParts.partsIndex < 0) continue;\r\n model.setPartsOpacity(linkParts.partsIndex, opacity);\r\n }\r\n }\r\n}\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DPartsParam \r\n//============================================================\r\n//============================================================\r\nfunction L2DPartsParam(id/*String*/){\r\n this.paramIndex = -1;\r\n this.partsIndex = -1; \r\n this.link = null; // ArrayList\r\n this.id = id;\r\n}\r\n\r\n//============================================================\r\n// L2DPartsParam # initIndex()\r\n//============================================================\r\nL2DPartsParam.prototype.initIndex = function(model/*ALive2DModel*/)\r\n{ \r\n this.paramIndex = model.getParamIndex(\"VISIBLE:\" + this.id);\r\n this.partsIndex = model.getPartsDataIndex(PartsDataID.getID(this.id));\r\n model.setParamFloat(this.paramIndex, 1);\r\n}\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DTargetPoint \r\n//============================================================\r\n//============================================================\r\nfunction L2DTargetPoint()\r\n{\r\n this.EPSILON = 0.01; // 変化の最小値(この値以下は無視される)\r\n this.faceTargetX = 0;\r\n this.faceTargetY = 0;\r\n this.faceX = 0;\r\n this.faceY = 0;\r\n this.faceVX = 0;\r\n this.faceVY = 0;\r\n this.lastTimeSec = 0;\r\n}\r\n\r\n//============================================================\r\nL2DTargetPoint.FRAME_RATE = 30;\r\n\r\n//============================================================\r\n// L2DTargetPoint # set()\r\n//============================================================\r\nL2DTargetPoint.prototype.setPoint = function(x/*float*/, y/*float*/)\r\n{\r\n this.faceTargetX = x;\r\n this.faceTargetY = y;\r\n}\r\n\r\n//============================================================\r\n// L2DTargetPoint # getX()\r\n//============================================================\r\nL2DTargetPoint.prototype.getX = function()\r\n{\r\n return this.faceX;\r\n}\r\n\r\n//============================================================\r\n// L2DTargetPoint # getY()\r\n//============================================================\r\nL2DTargetPoint.prototype.getY = function()\r\n{\r\n return this.faceY;\r\n}\r\n\r\n//============================================================\r\n// L2DTargetPoint # update()\r\n//============================================================\r\nL2DTargetPoint.prototype.update = function()\r\n{\r\n var TIME_TO_MAX_SPEED = 0.15;\r\n var FACE_PARAM_MAX_V = 40.0 / 7.5;\r\n var MAX_V = FACE_PARAM_MAX_V / L2DTargetPoint.FRAME_RATE;\r\n if(this.lastTimeSec == 0) {\r\n this.lastTimeSec = UtSystem.getUserTimeMSec();\r\n return;\r\n }\r\n var curTimeSec = UtSystem.getUserTimeMSec();\r\n var deltaTimeWeight = (curTimeSec - this.lastTimeSec) * L2DTargetPoint.FRAME_RATE / 1000.0;\r\n this.lastTimeSec = curTimeSec;\r\n var FRAME_TO_MAX_SPEED = TIME_TO_MAX_SPEED * L2DTargetPoint.FRAME_RATE;\r\n var MAX_A = deltaTimeWeight * MAX_V / FRAME_TO_MAX_SPEED;\r\n var dx = (this.faceTargetX - this.faceX);\r\n var dy = (this.faceTargetY - this.faceY);\r\n // if(dx == 0 && dy == 0) return;\r\n if( Math.abs(dx) <= this.EPSILON && Math.abs(dy) <= this.EPSILON ) return;\r\n var d = Math.sqrt(dx * dx + dy * dy);\r\n var vx = MAX_V * dx / d;\r\n var vy = MAX_V * dy / d;\r\n var ax = vx - this.faceVX;\r\n var ay = vy - this.faceVY;\r\n var a = Math.sqrt(ax * ax + ay * ay);\r\n if(a < -MAX_A || a > MAX_A) {\r\n ax *= MAX_A / a;\r\n ay *= MAX_A / a;\r\n a = MAX_A;\r\n }\r\n this.faceVX += ax;\r\n this.faceVY += ay;\r\n {\r\n var max_v = 0.5 * ( Math.sqrt(MAX_A * MAX_A + 16 * MAX_A * d - 8 * MAX_A * d) - MAX_A);\r\n var cur_v = Math.sqrt(this.faceVX * this.faceVX + this.faceVY * this.faceVY);\r\n if(cur_v > max_v) {\r\n this.faceVX *= max_v / cur_v;\r\n this.faceVY *= max_v / cur_v;\r\n }\r\n }\r\n this.faceX += this.faceVX;\r\n this.faceY += this.faceVY;\r\n}\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class L2DViewMatrix extends L2DMatrix44\r\n//============================================================\r\n//============================================================\r\nfunction L2DViewMatrix()\r\n{\r\n L2DMatrix44.prototype.constructor.call(this);\r\n this.screenLeft = null;\r\n this.screenRight = null;\r\n this.screenTop = null;\r\n this.screenBottom = null;\r\n this.maxLeft = null;\r\n this.maxRight = null;\r\n this.maxTop = null;\r\n this.maxBottom = null;\r\n this.max = Number.MAX_VALUE;\r\n this.min = 0;\r\n}\r\n\r\nL2DViewMatrix.prototype = new L2DMatrix44(); //L2DViewMatrix extends L2DMatrix44\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxScale = function()\r\n{\r\n return this.max;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMinScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMinScale = function()\r\n{\r\n return this.min;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # setMaxScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.setMaxScale = function(v/*float*/)\r\n{\r\n this.max = v;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # setMinScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.setMinScale = function(v/*float*/)\r\n{\r\n this.min = v;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # isMaxScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.isMaxScale = function()\r\n{\r\n return this.getScaleX() == this.max;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # isMinScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.isMinScale = function()\r\n{\r\n return this.getScaleX() == this.min;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # adjustTranslate()\r\n//============================================================\r\nL2DViewMatrix.prototype.adjustTranslate = function(shiftX/*float*/, shiftY/*float*/)\r\n{\r\n if(this.tr[0] * this.maxLeft + (this.tr[12] + shiftX) > this.screenLeft) \r\n shiftX = this.screenLeft - this.tr[0] * this.maxLeft - this.tr[12];\r\n if(this.tr[0] * this.maxRight + (this.tr[12] + shiftX) < this.screenRight) \r\n shiftX = this.screenRight - this.tr[0] * this.maxRight - this.tr[12];\r\n if(this.tr[5] * this.maxTop + (this.tr[13] + shiftY) < this.screenTop) \r\n shiftY = this.screenTop - this.tr[5] * this.maxTop - this.tr[13];\r\n if(this.tr[5] * this.maxBottom + (this.tr[13] + shiftY) > this.screenBottom) \r\n shiftY = this.screenBottom - this.tr[5] * this.maxBottom - this.tr[13];\r\n \r\n var tr1 = [1, 0, 0, 0, \r\n 0, 1, 0, 0,\r\n 0, 0, 1, 0, \r\n shiftX, shiftY, 0, 1 ];\r\n L2DMatrix44.mul(tr1, this.tr, this.tr);\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # adjustScale()\r\n//============================================================\r\nL2DViewMatrix.prototype.adjustScale = function(cx/*float*/, cy/*float*/, scale/*float*/)\r\n{\r\n var targetScale = scale * this.tr[0];\r\n if(targetScale < this.min) {\r\n if(this.tr[0] > 0) scale = this.min / this.tr[0];\r\n }\r\n else if(targetScale > this.max) {\r\n if(this.tr[0] > 0) scale = this.max / this.tr[0];\r\n }\r\n var tr1 = [1, 0, 0, 0, \r\n 0, 1, 0, 0, \r\n 0, 0, 1, 0, \r\n cx, cy, 0, 1];\r\n var tr2 = [scale, 0, 0, 0,\r\n 0, scale, 0, 0,\r\n 0, 0, 1, 0, \r\n 0, 0, 0, 1 ];\r\n var tr3 = [1, 0, 0, 0, \r\n 0, 1, 0, 0, \r\n 0, 0, 1, 0, \r\n -cx, -cy, 0, 1 ];\r\n L2DMatrix44.mul(tr3, this.tr, this.tr);\r\n L2DMatrix44.mul(tr2, this.tr, this.tr);\r\n L2DMatrix44.mul(tr1, this.tr, this.tr);\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # setScreenRect()\r\n//============================================================\r\nL2DViewMatrix.prototype.setScreenRect = function(left/*float*/, right/*float*/, bottom/*float*/, top/*float*/)\r\n{\r\n this.screenLeft = left;\r\n this.screenRight = right;\r\n this.screenTop = top;\r\n this.screenBottom = bottom;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # setMaxScreenRect()\r\n//============================================================\r\nL2DViewMatrix.prototype.setMaxScreenRect = function(left/*float*/, right/*float*/, bottom/*float*/, top/*float*/)\r\n{\r\n this.maxLeft = left;\r\n this.maxRight = right;\r\n this.maxTop = top;\r\n this.maxBottom = bottom;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getScreenLeft()\r\n//============================================================\r\nL2DViewMatrix.prototype.getScreenLeft = function()\r\n{\r\n return this.screenLeft;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getScreenRight()\r\n//============================================================\r\nL2DViewMatrix.prototype.getScreenRight = function()\r\n{\r\n return this.screenRight;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getScreenBottom()\r\n//============================================================\r\nL2DViewMatrix.prototype.getScreenBottom = function()\r\n{\r\n return this.screenBottom;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getScreenTop()\r\n//============================================================\r\nL2DViewMatrix.prototype.getScreenTop = function()\r\n{\r\n return this.screenTop;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxLeft()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxLeft = function()\r\n{\r\n return this.maxLeft;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxRight()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxRight = function()\r\n{\r\n return this.maxRight;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxBottom()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxBottom = function()\r\n{\r\n return this.maxBottom;\r\n}\r\n\r\n//============================================================\r\n// L2DViewMatrix # getMaxTop()\r\n//============================================================\r\nL2DViewMatrix.prototype.getMaxTop = function()\r\n{\r\n return this.maxTop;\r\n}\r\n\r\n/**\r\n *\r\n * You can modify and use this source freely\r\n * only for the development of application related Live2D.\r\n *\r\n * (c) Live2D Inc. All rights reserved.\r\n */\r\n\r\n//============================================================\r\n//============================================================\r\n// class Live2DFramework \r\n//============================================================\r\n//============================================================\r\nfunction Live2DFramework()\r\n{\r\n}\r\n\r\n//============================================================\r\nLive2DFramework.platformManager = null;\r\n\r\n//============================================================\r\n// static Live2DFramework.getPlatformManager()\r\n//============================================================\r\nLive2DFramework.getPlatformManager = function()\r\n{\r\n return Live2DFramework.platformManager;\r\n}\r\n\r\n//============================================================\r\n// static Live2DFramework.setPlatformManager()\r\n//============================================================\r\nLive2DFramework.setPlatformManager = function( platformManager /*IPlatformManager*/ )\r\n{\r\n Live2DFramework.platformManager = platformManager;\r\n}", + "static": true, + "longname": "D:/git/live2d-widget.js/src/lib/_Live2DFramework.official.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 222, + "kind": "function", + "name": "L2DBaseModel", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~loadPhysics", + "longname": "src/lib/_Live2DFramework.official.js~L2DBaseModel", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": null, - "lineNumber": 278, - "undocument": true, - "params": [ - { - "name": "path", - "types": [ - "*" - ] - } - ], + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 13, + "params": [], "return": null, "ignore": true }, { - "__docId__": 209, - "kind": "function", - "name": "hitTestSimple", + "__docId__": 223, + "kind": "variable", + "name": "texCounter", "memberof": "src/lib/_Live2DFramework.official.js", - "generator": false, - "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~hitTestSimple", + "longname": "src/lib/_Live2DFramework.official.js~texCounter", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 296, + "lineNumber": 41, "undocument": true, - "params": [ - { - "name": "drawID", - "types": [ - "*" - ] - }, - { - "name": "testX", - "types": [ - "*" - ] - }, - { - "name": "testY", - "types": [ - "*" - ] - } - ], - "return": { + "type": { "types": [ - "*" + "number" ] }, "ignore": true }, { - "__docId__": 210, + "__docId__": 224, "kind": "function", - "name": "L2DExpressionMotion", + "name": "getModelMatrix", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DExpressionMotion", + "longname": "src/lib/_Live2DFramework.official.js~getModelMatrix", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 336, + "description": null, + "lineNumber": 46, + "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 211, + "__docId__": 225, "kind": "function", - "name": "loadJson", + "name": "setAlpha", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~loadJson", + "longname": "src/lib/_Live2DFramework.official.js~setAlpha", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 353, + "lineNumber": 54, "undocument": true, "params": [ { - "name": "buf", + "name": "a", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 212, + "__docId__": 226, "kind": "function", - "name": "updateParamExe", + "name": "getAlpha", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~updateParamExe", + "longname": "src/lib/_Live2DFramework.official.js~getAlpha", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 413, + "lineNumber": 64, "undocument": true, - "params": [ - { - "name": "model", - "types": [ - "*" - ] - }, - { - "name": "timeMSec", - "types": [ - "*" - ] - }, - { - "name": "weight", - "types": [ - "*" - ] - }, - { - "name": "motionQueueEnt", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 213, + "__docId__": 227, "kind": "function", - "name": "L2DExpressionParam", + "name": "isInitialized", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DExpressionParam", + "longname": "src/lib/_Live2DFramework.official.js~isInitialized", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 435, + "lineNumber": 72, "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 214, + "__docId__": 228, "kind": "function", - "name": "L2DEyeBlink", + "name": "setInitialized", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DEyeBlink", + "longname": "src/lib/_Live2DFramework.official.js~setInitialized", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 455, - "params": [], + "description": null, + "lineNumber": 80, + "undocument": true, + "params": [ + { + "name": "v", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 215, + "__docId__": 229, "kind": "function", - "name": "calcNextBlink", + "name": "isUpdating", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~calcNextBlink", + "longname": "src/lib/_Live2DFramework.official.js~isUpdating", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 473, + "lineNumber": 88, "undocument": true, "params": [], "return": { @@ -5421,24 +5655,24 @@ "ignore": true }, { - "__docId__": 216, + "__docId__": 230, "kind": "function", - "name": "setInterval", + "name": "setUpdating", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setInterval", + "longname": "src/lib/_Live2DFramework.official.js~setUpdating", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 483, + "lineNumber": 96, "undocument": true, "params": [ { - "name": "blinkIntervalMsec", + "name": "v", "types": [ "*" ] @@ -5448,63 +5682,48 @@ "ignore": true }, { - "__docId__": 217, + "__docId__": 231, "kind": "function", - "name": "setEyeMotion", + "name": "getLive2DModel", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setEyeMotion", + "longname": "src/lib/_Live2DFramework.official.js~getLive2DModel", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 491, + "lineNumber": 104, "undocument": true, - "params": [ - { - "name": "closingMotionMsec", - "types": [ - "*" - ] - }, - { - "name": "closedMotionMsec", - "types": [ - "*" - ] - }, - { - "name": "openingMotionMsec", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 218, + "__docId__": 232, "kind": "function", - "name": "updateParam", + "name": "setLipSync", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~updateParam", + "longname": "src/lib/_Live2DFramework.official.js~setLipSync", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 501, + "lineNumber": 112, "undocument": true, "params": [ { - "name": "model", + "name": "v", "types": [ "*" ] @@ -5514,75 +5733,96 @@ "ignore": true }, { - "__docId__": 219, + "__docId__": 233, "kind": "function", - "name": "EYE_STATE", + "name": "setLipSyncValue", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~EYE_STATE", + "longname": "src/lib/_Live2DFramework.official.js~setLipSyncValue", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 553, + "lineNumber": 120, "undocument": true, - "params": [], + "params": [ + { + "name": "v", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 220, + "__docId__": 234, "kind": "function", - "name": "L2DMatrix44", + "name": "setAccel", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DMatrix44", + "longname": "src/lib/_Live2DFramework.official.js~setAccel", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 573, - "params": [], + "description": null, + "lineNumber": 128, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", + "types": [ + "*" + ] + }, + { + "name": "z", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 221, + "__docId__": 235, "kind": "function", - "name": "mul", + "name": "setDrag", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~mul", + "longname": "src/lib/_Live2DFramework.official.js~setDrag", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 582, + "lineNumber": 138, "undocument": true, "params": [ { - "name": "a", - "types": [ - "*" - ] - }, - { - "name": "b", + "name": "x", "types": [ "*" ] }, { - "name": "dst", + "name": "y", "types": [ "*" ] @@ -5592,40 +5832,44 @@ "ignore": true }, { - "__docId__": 222, + "__docId__": 236, "kind": "function", - "name": "identity", + "name": "getMainMotionManager", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~identity", + "longname": "src/lib/_Live2DFramework.official.js~getMainMotionManager", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 602, + "lineNumber": 147, "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 223, + "__docId__": 237, "kind": "function", - "name": "getArray", + "name": "getExpressionManager", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getArray", + "longname": "src/lib/_Live2DFramework.official.js~getExpressionManager", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 611, + "lineNumber": 155, "undocument": true, "params": [], "return": { @@ -5636,48 +5880,108 @@ "ignore": true }, { - "__docId__": 224, + "__docId__": 238, "kind": "function", - "name": "getCopyMatrix", + "name": "loadModelData", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getCopyMatrix", + "longname": "src/lib/_Live2DFramework.official.js~loadModelData", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 619, + "lineNumber": 163, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 239, + "kind": "function", + "name": "loadTexture", + "memberof": "src/lib/_Live2DFramework.official.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/lib/_Live2DFramework.official.js~loadTexture", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importStyle": null, + "description": null, + "lineNumber": 199, + "undocument": true, + "params": [ + { + "name": "no", + "types": [ + "*" + ] + }, + { + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 225, + "__docId__": 240, "kind": "function", - "name": "setMatrix", + "name": "loadMotion", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setMatrix", + "longname": "src/lib/_Live2DFramework.official.js~loadMotion", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 627, + "lineNumber": 219, "undocument": true, "params": [ { - "name": "tr", + "name": "name", + "types": [ + "*" + ] + }, + { + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", "types": [ "*" ] @@ -5687,103 +5991,135 @@ "ignore": true }, { - "__docId__": 226, + "__docId__": 241, "kind": "function", - "name": "getScaleX", + "name": "loadExpression", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getScaleX", + "longname": "src/lib/_Live2DFramework.official.js~loadExpression", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 636, + "lineNumber": 241, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "name", + "types": [ + "*" + ] + }, + { + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 227, + "__docId__": 242, "kind": "function", - "name": "getScaleY", + "name": "loadPose", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getScaleY", + "longname": "src/lib/_Live2DFramework.official.js~loadPose", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 644, + "lineNumber": 259, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "path", + "types": [ + "*" + ] + }, + { + "name": "callback", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 228, + "__docId__": 243, "kind": "function", - "name": "transformX", + "name": "loadPhysics", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~transformX", + "longname": "src/lib/_Live2DFramework.official.js~loadPhysics", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 652, + "lineNumber": 278, "undocument": true, "params": [ { - "name": "src", + "name": "path", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 229, + "__docId__": 244, "kind": "function", - "name": "transformY", + "name": "hitTestSimple", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~transformY", + "longname": "src/lib/_Live2DFramework.official.js~hitTestSimple", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 660, + "lineNumber": 296, "undocument": true, "params": [ { - "name": "src", + "name": "drawID", + "types": [ + "*" + ] + }, + { + "name": "testX", + "types": [ + "*" + ] + }, + { + "name": "testY", "types": [ "*" ] @@ -5797,55 +6133,43 @@ "ignore": true }, { - "__docId__": 230, + "__docId__": 245, "kind": "function", - "name": "invertTransformX", + "name": "L2DExpressionMotion", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~invertTransformX", + "longname": "src/lib/_Live2DFramework.official.js~L2DExpressionMotion", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": null, - "lineNumber": 668, - "undocument": true, - "params": [ - { - "name": "src", - "types": [ - "*" - ] - } - ], - "return": { - "types": [ - "*" - ] - }, + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 336, + "params": [], + "return": null, "ignore": true }, { - "__docId__": 231, + "__docId__": 246, "kind": "function", - "name": "invertTransformY", + "name": "loadJson", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~invertTransformY", + "longname": "src/lib/_Live2DFramework.official.js~loadJson", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 676, + "lineNumber": 353, "undocument": true, "params": [ { - "name": "src", + "name": "buf", "types": [ "*" ] @@ -5859,30 +6183,42 @@ "ignore": true }, { - "__docId__": 232, + "__docId__": 247, "kind": "function", - "name": "multTranslate", + "name": "updateParamExe", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~multTranslate", + "longname": "src/lib/_Live2DFramework.official.js~updateParamExe", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 684, + "lineNumber": 413, "undocument": true, "params": [ { - "name": "shiftX", + "name": "model", "types": [ "*" ] }, { - "name": "shiftY", + "name": "timeMSec", + "types": [ + "*" + ] + }, + { + "name": "weight", + "types": [ + "*" + ] + }, + { + "name": "motionQueueEnt", "types": [ "*" ] @@ -5892,84 +6228,87 @@ "ignore": true }, { - "__docId__": 233, + "__docId__": 248, "kind": "function", - "name": "translate", + "name": "L2DExpressionParam", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~translate", + "longname": "src/lib/_Live2DFramework.official.js~L2DExpressionParam", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 693, + "lineNumber": 435, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - }, - { - "name": "y", - "types": [ - "*" - ] - } - ], + "params": [], "return": null, "ignore": true }, { - "__docId__": 234, + "__docId__": 249, "kind": "function", - "name": "translateX", + "name": "L2DEyeBlink", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~translateX", + "longname": "src/lib/_Live2DFramework.official.js~L2DEyeBlink", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importStyle": null, + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 455, + "params": [], + "return": null, + "ignore": true + }, + { + "__docId__": 250, + "kind": "function", + "name": "calcNextBlink", + "memberof": "src/lib/_Live2DFramework.official.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/lib/_Live2DFramework.official.js~calcNextBlink", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 702, + "lineNumber": 473, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 235, + "__docId__": 251, "kind": "function", - "name": "translateY", + "name": "setInterval", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~translateY", + "longname": "src/lib/_Live2DFramework.official.js~setInterval", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 710, + "lineNumber": 483, "undocument": true, "params": [ { - "name": "y", + "name": "blinkIntervalMsec", "types": [ "*" ] @@ -5979,30 +6318,36 @@ "ignore": true }, { - "__docId__": 236, + "__docId__": 252, "kind": "function", - "name": "multScale", + "name": "setEyeMotion", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~multScale", + "longname": "src/lib/_Live2DFramework.official.js~setEyeMotion", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 718, + "lineNumber": 491, "undocument": true, "params": [ { - "name": "scaleX", + "name": "closingMotionMsec", "types": [ "*" ] }, { - "name": "scaleY", + "name": "closedMotionMsec", + "types": [ + "*" + ] + }, + { + "name": "openingMotionMsec", "types": [ "*" ] @@ -6012,30 +6357,24 @@ "ignore": true }, { - "__docId__": 237, + "__docId__": 253, "kind": "function", - "name": "scale", + "name": "updateParam", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~scale", + "longname": "src/lib/_Live2DFramework.official.js~updateParam", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 727, + "lineNumber": 501, "undocument": true, "params": [ { - "name": "scaleX", - "types": [ - "*" - ] - }, - { - "name": "scaleY", + "name": "model", "types": [ "*" ] @@ -6045,62 +6384,75 @@ "ignore": true }, { - "__docId__": 238, + "__docId__": 254, "kind": "function", - "name": "L2DModelMatrix", + "name": "EYE_STATE", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DModelMatrix", + "longname": "src/lib/_Live2DFramework.official.js~EYE_STATE", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importStyle": null, + "description": null, + "lineNumber": 553, + "undocument": true, + "params": [], + "return": null, + "ignore": true + }, + { + "__docId__": 255, + "kind": "function", + "name": "L2DMatrix44", + "memberof": "src/lib/_Live2DFramework.official.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/lib/_Live2DFramework.official.js~L2DMatrix44", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 745, - "params": [ - { - "name": "w", - "types": [ - "*" - ] - }, - { - "name": "h", - "types": [ - "*" - ] - } - ], + "lineNumber": 573, + "params": [], "return": null, "ignore": true }, { - "__docId__": 239, + "__docId__": 256, "kind": "function", - "name": "setPosition", + "name": "mul", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setPosition", + "longname": "src/lib/_Live2DFramework.official.js~mul", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 757, + "lineNumber": 582, "undocument": true, "params": [ { - "name": "x", + "name": "a", "types": [ "*" ] }, { - "name": "y", + "name": "b", + "types": [ + "*" + ] + }, + { + "name": "dst", "types": [ "*" ] @@ -6110,111 +6462,92 @@ "ignore": true }, { - "__docId__": 240, + "__docId__": 257, "kind": "function", - "name": "setCenterPosition", + "name": "identity", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setCenterPosition", + "longname": "src/lib/_Live2DFramework.official.js~identity", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 765, + "lineNumber": 602, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - }, - { - "name": "y", - "types": [ - "*" - ] - } - ], + "params": [], "return": null, "ignore": true }, { - "__docId__": 241, + "__docId__": 258, "kind": "function", - "name": "top", + "name": "getArray", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~top", + "longname": "src/lib/_Live2DFramework.official.js~getArray", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 775, + "lineNumber": 611, "undocument": true, - "params": [ - { - "name": "y", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 242, + "__docId__": 259, "kind": "function", - "name": "bottom", + "name": "getCopyMatrix", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~bottom", + "longname": "src/lib/_Live2DFramework.official.js~getCopyMatrix", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 783, + "lineNumber": 619, "undocument": true, - "params": [ - { - "name": "y", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 243, + "__docId__": 260, "kind": "function", - "name": "left", + "name": "setMatrix", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~left", + "longname": "src/lib/_Live2DFramework.official.js~setMatrix", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 792, + "lineNumber": 627, "undocument": true, "params": [ { - "name": "x", + "name": "tr", "types": [ "*" ] @@ -6224,186 +6557,202 @@ "ignore": true }, { - "__docId__": 244, + "__docId__": 261, "kind": "function", - "name": "right", + "name": "getScaleX", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~right", + "longname": "src/lib/_Live2DFramework.official.js~getScaleX", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 800, + "lineNumber": 636, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 245, + "__docId__": 262, "kind": "function", - "name": "centerX", + "name": "getScaleY", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~centerX", + "longname": "src/lib/_Live2DFramework.official.js~getScaleY", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 809, + "lineNumber": 644, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 246, + "__docId__": 263, "kind": "function", - "name": "centerY", + "name": "transformX", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~centerY", + "longname": "src/lib/_Live2DFramework.official.js~transformX", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 818, + "lineNumber": 652, "undocument": true, "params": [ { - "name": "y", + "name": "src", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 247, + "__docId__": 264, "kind": "function", - "name": "setX", + "name": "transformY", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setX", + "longname": "src/lib/_Live2DFramework.official.js~transformY", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 827, + "lineNumber": 660, "undocument": true, "params": [ { - "name": "x", + "name": "src", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 248, + "__docId__": 265, "kind": "function", - "name": "setY", + "name": "invertTransformX", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setY", + "longname": "src/lib/_Live2DFramework.official.js~invertTransformX", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 835, + "lineNumber": 668, "undocument": true, "params": [ { - "name": "y", + "name": "src", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 249, + "__docId__": 266, "kind": "function", - "name": "setHeight", + "name": "invertTransformY", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setHeight", + "longname": "src/lib/_Live2DFramework.official.js~invertTransformY", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 843, + "lineNumber": 676, "undocument": true, "params": [ { - "name": "h", + "name": "src", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 250, + "__docId__": 267, "kind": "function", - "name": "setWidth", + "name": "multTranslate", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setWidth", + "longname": "src/lib/_Live2DFramework.official.js~multTranslate", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 853, + "lineNumber": 684, "undocument": true, "params": [ { - "name": "w", + "name": "shiftX", + "types": [ + "*" + ] + }, + { + "name": "shiftY", "types": [ "*" ] @@ -6413,122 +6762,150 @@ "ignore": true }, { - "__docId__": 251, + "__docId__": 268, "kind": "function", - "name": "L2DMotionManager", + "name": "translate", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DMotionManager", + "longname": "src/lib/_Live2DFramework.official.js~translate", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 873, - "params": [], + "description": null, + "lineNumber": 693, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 252, + "__docId__": 269, "kind": "function", - "name": "getCurrentPriority", + "name": "translateX", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getCurrentPriority", + "longname": "src/lib/_Live2DFramework.official.js~translateX", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 888, + "lineNumber": 702, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 253, + "__docId__": 270, "kind": "function", - "name": "getReservePriority", + "name": "translateY", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getReservePriority", + "longname": "src/lib/_Live2DFramework.official.js~translateY", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 896, + "lineNumber": 710, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "y", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 254, + "__docId__": 271, "kind": "function", - "name": "reserveMotion", + "name": "multScale", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~reserveMotion", + "longname": "src/lib/_Live2DFramework.official.js~multScale", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 904, + "lineNumber": 718, "undocument": true, "params": [ { - "name": "priority", + "name": "scaleX", + "types": [ + "*" + ] + }, + { + "name": "scaleY", "types": [ "*" ] } ], - "return": { - "types": [ - "boolean" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 255, + "__docId__": 272, "kind": "function", - "name": "setReservePriority", + "name": "scale", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setReservePriority", + "longname": "src/lib/_Live2DFramework.official.js~scale", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 921, + "lineNumber": 727, "undocument": true, "params": [ { - "name": "val", + "name": "scaleX", + "types": [ + "*" + ] + }, + { + "name": "scaleY", "types": [ "*" ] @@ -6538,142 +6915,149 @@ "ignore": true }, { - "__docId__": 256, + "__docId__": 273, "kind": "function", - "name": "updateParam", + "name": "L2DModelMatrix", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~updateParam", + "longname": "src/lib/_Live2DFramework.official.js~L2DModelMatrix", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": null, - "lineNumber": 929, - "undocument": true, + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 745, "params": [ { - "name": "model", + "name": "w", + "types": [ + "*" + ] + }, + { + "name": "h", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 257, + "__docId__": 274, "kind": "function", - "name": "startMotionPrio", + "name": "setPosition", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~startMotionPrio", + "longname": "src/lib/_Live2DFramework.official.js~setPosition", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 943, + "lineNumber": 757, "undocument": true, "params": [ { - "name": "motion", + "name": "x", "types": [ "*" ] }, { - "name": "priority", + "name": "y", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 258, + "__docId__": 275, "kind": "function", - "name": "L2DPhysics", + "name": "setCenterPosition", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DPhysics", + "longname": "src/lib/_Live2DFramework.official.js~setCenterPosition", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 965, - "params": [], + "description": null, + "lineNumber": 765, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 259, + "__docId__": 276, "kind": "function", - "name": "load", + "name": "top", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~load", + "longname": "src/lib/_Live2DFramework.official.js~top", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 974, + "lineNumber": 775, "undocument": true, "params": [ { - "name": "buf", + "name": "y", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 260, + "__docId__": 277, "kind": "function", - "name": "updateParam", + "name": "bottom", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~updateParam", + "longname": "src/lib/_Live2DFramework.official.js~bottom", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1040, + "lineNumber": 783, "undocument": true, "params": [ { - "name": "model", + "name": "y", "types": [ "*" ] @@ -6683,74 +7067,78 @@ "ignore": true }, { - "__docId__": 261, + "__docId__": 278, "kind": "function", - "name": "L2DPose", + "name": "left", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DPose", + "longname": "src/lib/_Live2DFramework.official.js~left", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 1061, - "params": [], + "description": null, + "lineNumber": 792, + "undocument": true, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 262, + "__docId__": 279, "kind": "function", - "name": "load", + "name": "right", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~load", + "longname": "src/lib/_Live2DFramework.official.js~right", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1072, + "lineNumber": 800, "undocument": true, "params": [ { - "name": "buf", + "name": "x", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 263, + "__docId__": 280, "kind": "function", - "name": "updateParam", + "name": "centerX", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~updateParam", + "longname": "src/lib/_Live2DFramework.official.js~centerX", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1106, + "lineNumber": 809, "undocument": true, "params": [ { - "name": "model", + "name": "x", "types": [ "*" ] @@ -6760,24 +7148,24 @@ "ignore": true }, { - "__docId__": 264, + "__docId__": 281, "kind": "function", - "name": "initParam", + "name": "centerY", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~initParam", + "longname": "src/lib/_Live2DFramework.official.js~centerY", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1128, + "lineNumber": 818, "undocument": true, "params": [ { - "name": "model", + "name": "y", "types": [ "*" ] @@ -6787,36 +7175,24 @@ "ignore": true }, { - "__docId__": 265, + "__docId__": 282, "kind": "function", - "name": "normalizePartsOpacityGroup", + "name": "setX", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~normalizePartsOpacityGroup", + "longname": "src/lib/_Live2DFramework.official.js~setX", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1152, + "lineNumber": 827, "undocument": true, "params": [ { - "name": "model", - "types": [ - "*" - ] - }, - { - "name": "partsGroup", - "types": [ - "*" - ] - }, - { - "name": "deltaTimeSec", + "name": "x", "types": [ "*" ] @@ -6826,30 +7202,24 @@ "ignore": true }, { - "__docId__": 266, + "__docId__": 283, "kind": "function", - "name": "copyOpacityOtherParts", + "name": "setY", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~copyOpacityOtherParts", + "longname": "src/lib/_Live2DFramework.official.js~setY", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1207, + "lineNumber": 835, "undocument": true, "params": [ { - "name": "model", - "types": [ - "*" - ] - }, - { - "name": "partsGroup", + "name": "y", "types": [ "*" ] @@ -6859,24 +7229,24 @@ "ignore": true }, { - "__docId__": 267, + "__docId__": 284, "kind": "function", - "name": "L2DPartsParam", + "name": "setHeight", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DPartsParam", + "longname": "src/lib/_Live2DFramework.official.js~setHeight", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1227, + "lineNumber": 843, "undocument": true, "params": [ { - "name": "id", + "name": "h", "types": [ "*" ] @@ -6886,24 +7256,24 @@ "ignore": true }, { - "__docId__": 268, + "__docId__": 285, "kind": "function", - "name": "initIndex", + "name": "setWidth", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~initIndex", + "longname": "src/lib/_Live2DFramework.official.js~setWidth", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1237, + "lineNumber": 853, "undocument": true, "params": [ { - "name": "model", + "name": "w", "types": [ "*" ] @@ -6913,72 +7283,63 @@ "ignore": true }, { - "__docId__": 269, + "__docId__": 286, "kind": "function", - "name": "L2DTargetPoint", + "name": "L2DMotionManager", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DTargetPoint", + "longname": "src/lib/_Live2DFramework.official.js~L2DMotionManager", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 1256, + "lineNumber": 873, "params": [], "return": null, "ignore": true }, { - "__docId__": 270, + "__docId__": 287, "kind": "function", - "name": "setPoint", + "name": "getCurrentPriority", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setPoint", + "longname": "src/lib/_Live2DFramework.official.js~getCurrentPriority", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1274, + "lineNumber": 888, "undocument": true, - "params": [ - { - "name": "x", - "types": [ - "*" - ] - }, - { - "name": "y", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 271, + "__docId__": 288, "kind": "function", - "name": "getX", + "name": "getReservePriority", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getX", + "longname": "src/lib/_Live2DFramework.official.js~getReservePriority", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1283, + "lineNumber": 896, "undocument": true, "params": [], "return": { @@ -6989,85 +7350,124 @@ "ignore": true }, { - "__docId__": 272, + "__docId__": 289, "kind": "function", - "name": "getY", + "name": "reserveMotion", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getY", + "longname": "src/lib/_Live2DFramework.official.js~reserveMotion", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1291, + "lineNumber": 904, "undocument": true, - "params": [], + "params": [ + { + "name": "priority", + "types": [ + "*" + ] + } + ], "return": { "types": [ - "*" + "boolean" ] }, "ignore": true }, { - "__docId__": 273, + "__docId__": 290, "kind": "function", - "name": "update", + "name": "setReservePriority", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~update", + "longname": "src/lib/_Live2DFramework.official.js~setReservePriority", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1299, + "lineNumber": 921, "undocument": true, - "params": [], + "params": [ + { + "name": "val", + "types": [ + "*" + ] + } + ], "return": null, "ignore": true }, { - "__docId__": 274, + "__docId__": 291, "kind": "function", - "name": "L2DViewMatrix", + "name": "updateParam", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~L2DViewMatrix", + "longname": "src/lib/_Live2DFramework.official.js~updateParam", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 1354, - "params": [], - "return": null, + "description": null, + "lineNumber": 929, + "undocument": true, + "params": [ + { + "name": "model", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 275, + "__docId__": 292, "kind": "function", - "name": "getMaxScale", + "name": "startMotionPrio", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getMaxScale", + "longname": "src/lib/_Live2DFramework.official.js~startMotionPrio", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1374, + "lineNumber": 943, "undocument": true, - "params": [], + "params": [ + { + "name": "motion", + "types": [ + "*" + ] + }, + { + "name": "priority", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -7076,75 +7476,74 @@ "ignore": true }, { - "__docId__": 276, + "__docId__": 293, "kind": "function", - "name": "getMinScale", + "name": "L2DPhysics", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getMinScale", + "longname": "src/lib/_Live2DFramework.official.js~L2DPhysics", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": null, - "lineNumber": 1382, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 965, + "params": [], + "return": null, "ignore": true }, { - "__docId__": 277, + "__docId__": 294, "kind": "function", - "name": "setMaxScale", + "name": "load", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setMaxScale", + "longname": "src/lib/_Live2DFramework.official.js~load", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1390, + "lineNumber": 974, "undocument": true, "params": [ { - "name": "v", + "name": "buf", "types": [ "*" ] } ], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 278, + "__docId__": 295, "kind": "function", - "name": "setMinScale", + "name": "updateParam", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setMinScale", + "longname": "src/lib/_Live2DFramework.official.js~updateParam", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1398, + "lineNumber": 1040, "undocument": true, "params": [ { - "name": "v", + "name": "model", "types": [ "*" ] @@ -7154,46 +7553,48 @@ "ignore": true }, { - "__docId__": 279, + "__docId__": 296, "kind": "function", - "name": "isMaxScale", + "name": "L2DPose", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~isMaxScale", + "longname": "src/lib/_Live2DFramework.official.js~L2DPose", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": null, - "lineNumber": 1406, - "undocument": true, + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 1061, "params": [], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 280, + "__docId__": 297, "kind": "function", - "name": "isMinScale", + "name": "load", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~isMinScale", + "longname": "src/lib/_Live2DFramework.official.js~load", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1414, + "lineNumber": 1072, "undocument": true, - "params": [], + "params": [ + { + "name": "buf", + "types": [ + "*" + ] + } + ], "return": { "types": [ "*" @@ -7202,30 +7603,24 @@ "ignore": true }, { - "__docId__": 281, + "__docId__": 298, "kind": "function", - "name": "adjustTranslate", + "name": "updateParam", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~adjustTranslate", + "longname": "src/lib/_Live2DFramework.official.js~updateParam", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1422, + "lineNumber": 1106, "undocument": true, "params": [ { - "name": "shiftX", - "types": [ - "*" - ] - }, - { - "name": "shiftY", + "name": "model", "types": [ "*" ] @@ -7235,36 +7630,24 @@ "ignore": true }, { - "__docId__": 282, + "__docId__": 299, "kind": "function", - "name": "adjustScale", + "name": "initParam", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~adjustScale", + "longname": "src/lib/_Live2DFramework.official.js~initParam", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1443, + "lineNumber": 1128, "undocument": true, "params": [ { - "name": "cx", - "types": [ - "*" - ] - }, - { - "name": "cy", - "types": [ - "*" - ] - }, - { - "name": "scale", + "name": "model", "types": [ "*" ] @@ -7274,42 +7657,36 @@ "ignore": true }, { - "__docId__": 283, + "__docId__": 300, "kind": "function", - "name": "setScreenRect", + "name": "normalizePartsOpacityGroup", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setScreenRect", + "longname": "src/lib/_Live2DFramework.official.js~normalizePartsOpacityGroup", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1472, + "lineNumber": 1152, "undocument": true, "params": [ { - "name": "left", - "types": [ - "*" - ] - }, - { - "name": "right", + "name": "model", "types": [ "*" ] }, { - "name": "bottom", + "name": "partsGroup", "types": [ "*" ] }, { - "name": "top", + "name": "deltaTimeSec", "types": [ "*" ] @@ -7319,42 +7696,30 @@ "ignore": true }, { - "__docId__": 284, + "__docId__": 301, "kind": "function", - "name": "setMaxScreenRect", + "name": "copyOpacityOtherParts", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setMaxScreenRect", + "longname": "src/lib/_Live2DFramework.official.js~copyOpacityOtherParts", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1483, + "lineNumber": 1207, "undocument": true, "params": [ { - "name": "left", - "types": [ - "*" - ] - }, - { - "name": "right", - "types": [ - "*" - ] - }, - { - "name": "bottom", + "name": "model", "types": [ "*" ] }, { - "name": "top", + "name": "partsGroup", "types": [ "*" ] @@ -7364,164 +7729,126 @@ "ignore": true }, { - "__docId__": 285, - "kind": "function", - "name": "getScreenLeft", - "memberof": "src/lib/_Live2DFramework.official.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getScreenLeft", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, - "description": null, - "lineNumber": 1494, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true - }, - { - "__docId__": 286, - "kind": "function", - "name": "getScreenRight", - "memberof": "src/lib/_Live2DFramework.official.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getScreenRight", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", - "importStyle": null, - "description": null, - "lineNumber": 1502, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, - "ignore": true - }, - { - "__docId__": 287, + "__docId__": 302, "kind": "function", - "name": "getScreenBottom", + "name": "L2DPartsParam", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getScreenBottom", + "longname": "src/lib/_Live2DFramework.official.js~L2DPartsParam", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1510, + "lineNumber": 1227, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "id", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 288, + "__docId__": 303, "kind": "function", - "name": "getScreenTop", + "name": "initIndex", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getScreenTop", + "longname": "src/lib/_Live2DFramework.official.js~initIndex", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1518, + "lineNumber": 1237, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "model", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 289, + "__docId__": 304, "kind": "function", - "name": "getMaxLeft", + "name": "L2DTargetPoint", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getMaxLeft", + "longname": "src/lib/_Live2DFramework.official.js~L2DTargetPoint", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": null, - "lineNumber": 1526, - "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 1256, + "params": [], + "return": null, "ignore": true }, { - "__docId__": 290, + "__docId__": 305, "kind": "function", - "name": "getMaxRight", + "name": "setPoint", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getMaxRight", + "longname": "src/lib/_Live2DFramework.official.js~setPoint", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1534, + "lineNumber": 1274, "undocument": true, - "params": [], - "return": { - "types": [ - "*" - ] - }, + "params": [ + { + "name": "x", + "types": [ + "*" + ] + }, + { + "name": "y", + "types": [ + "*" + ] + } + ], + "return": null, "ignore": true }, { - "__docId__": 291, + "__docId__": 306, "kind": "function", - "name": "getMaxBottom", + "name": "getX", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getMaxBottom", + "longname": "src/lib/_Live2DFramework.official.js~getX", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1542, + "lineNumber": 1283, "undocument": true, "params": [], "return": { @@ -7532,20 +7859,20 @@ "ignore": true }, { - "__docId__": 292, + "__docId__": 307, "kind": "function", - "name": "getMaxTop", + "name": "getY", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getMaxTop", + "longname": "src/lib/_Live2DFramework.official.js~getY", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1550, + "lineNumber": 1291, "undocument": true, "params": [], "return": { @@ -7556,190 +7883,83 @@ "ignore": true }, { - "__docId__": 293, + "__docId__": 308, "kind": "function", - "name": "Live2DFramework", + "name": "update", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~Live2DFramework", + "longname": "src/lib/_Live2DFramework.official.js~update", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", - "lineNumber": 1568, + "description": null, + "lineNumber": 1299, + "undocument": true, "params": [], "return": null, "ignore": true }, { - "__docId__": 294, + "__docId__": 309, "kind": "function", - "name": "getPlatformManager", + "name": "L2DViewMatrix", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~getPlatformManager", + "longname": "src/lib/_Live2DFramework.official.js~L2DViewMatrix", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, - "description": null, - "lineNumber": 1578, - "undocument": true, + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 1354, "params": [], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 295, + "__docId__": 310, "kind": "function", - "name": "setPlatformManager", + "name": "getMaxScale", "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/lib/_Live2DFramework.official.js~setPlatformManager", + "longname": "src/lib/_Live2DFramework.official.js~getMaxScale", "access": "public", "export": false, "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 1586, + "lineNumber": 1374, "undocument": true, - "params": [ - { - "name": "platformManager", - "types": [ - "*" - ] - } - ], - "return": null, - "ignore": true - }, - { - "__docId__": 296, - "kind": "file", - "name": "src/wpPublicPath.js", - "content": "/**\n * @description Automatic locate the publicPath and set it up for webpack.\n */\n\n\n'use strict';\n\n/**\n * Get current script path\n * @return {String} The path of current script\n * @example\n * get 'file:///C:/git/live2d-widget/dev/bundle.js' or 'https://www.host.com/test/js/bundle.js'\n */\n\nfunction getCurrentPath(){\n\n try{\n\n // FF, Chrome, Modern browsers\n // use their API to get the path of current script\n\n // a.b();\n // console.log('wpStage1');\n\n return document.currentScript.src;\n\n if(DOC.currentScript){ // FF 4+\n return DOC.currentScript.src;\n }\n\n }catch(e){\n\n // document.currentScript doesn't supports\n\n // console.log('wpStage2');\n\n // Method 1\n // https://github.com/mozilla/pdf.js/blob/e081a708c36cb2aacff7889048863723fcf23671/src/shared/compatibility.js#L97\n // IE, Chrome < 29\n\n let scripts = document.getElementsByTagName('script');\n return scripts[scripts.length - 1].src;\n\n/*\n // Method 2\n // parse the error stack trace maually\n // https://github.com/workhorsy/uncompress.js/blob/master/js/uncompress.js#L25\n\n let stack = e.stack;\n let line = null;\n\n // Chrome and IE\n if (stack.indexOf('@') !== -1) {\n line = stack.split('@')[1].split('\\n')[0];\n // Firefox\n } else {\n line = stack.split('(')[1].split(')')[0];\n }\n line = line.substring(0, line.lastIndexOf('/')) + '/';\n return line;\n*/\n/*\n // Method 3\n // https://www.cnblogs.com/rubylouvre/archive/2013/01/23/2872618.html\n\n let stack = e.stack;\n if(!stack && window.opera){\n // Opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取\n stack = (String(e).match(/of linked script \\S+/g) || []).join(' ');\n }\n if(stack){\n // e.stack最后一行在所有支持的浏览器大致如下:\n      // chrome23:\n      // @ http://113.93.50.63/data.js:4:1\n      // firefox17:\n      // @http://113.93.50.63/query.js:4\n      // opera12:\n      // @http://113.93.50.63/data.js:4\n      // IE10:\n      // @ Global code (http://113.93.50.63/data.js:4:1)\n     stack = stack.split(/[@ ]/g).pop(); // 取得最后一行,最后一个空格或@之后的部分\n stack = stack[0] == '(' ? stack.slice(1,-1) : stack;\n return stack.replace(/(:\\d+)?:\\d+$/i, ''); // 去掉行号与或许存在的出错字符起始位置\n }\n let nodes = head.getElementsByTagName('script'); // 只在head标签中寻找\n for(var i = 0, node; node = nodes[i++];){\n if(node.readyState === 'interactive'){\n return node.className = node.src;\n }\n }\n*/\n }\n\n}\n\n// expose the path to the global,\n// and wp will finish the following work\n__webpack_public_path__ = getCurrentPath().replace(/[^/\\\\\\\\]+$/, '');\nif (process.env.NODE_ENV === 'development'){\n console.log(`wpPP: publicPath: ${__webpack_public_path__}`);\n}\n\nexport {\n getCurrentPath,\n}\n", - "static": true, - "longname": "D:/git/live2d-widget.js/src/wpPublicPath.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 297, - "kind": "function", - "name": "getCurrentPath", - "memberof": "src/wpPublicPath.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/wpPublicPath.js~getCurrentPath", - "access": "public", - "export": true, - "importPath": "live2d-widget/src/wpPublicPath.js", - "importStyle": "{getCurrentPath}", - "description": "Get current script path", - "examples": [ - "get 'file:///C:/git/live2d-widget/dev/bundle.js' or 'https://www.host.com/test/js/bundle.js'" - ], - "lineNumber": 15, + "params": [], "return": { - "nullable": null, - "types": [ - "String" - ], - "spread": false, - "description": "The path of current script" - }, - "params": [] - }, - { - "__docId__": 298, - "kind": "file", - "name": "src/_cDefine.js", - "content": "// Modified by xiazeyu.\n\n/**\n* @desc The definitions of values releated to model react\n*/\n\nvar cDefine = {\n // above are viewMatrix value settings\n VIEW_LOGICAL_LEFT : -1, // -1, the left abscissa of viewMatrix\n VIEW_LOGICAL_RIGHT : 1, // 1, the right abscissa of viewMatrix\n VIEW_LOGICAL_MAX_LEFT : -2, // -2, the max left abscissa of viewMatrix\n VIEW_LOGICAL_MAX_RIGHT : 2, // 2, the max right abscissa of viewMatrix\n VIEW_LOGICAL_MAX_BOTTOM : -2, // -2, the max bottom abscissa of viewMatrix\n VIEW_LOGICAL_MAX_TOP : 2, // 2, the max top abscissa of viewMatrix\n\n // above are the motions priority settings.\n PRIORITY_NONE : 0, // 0,do nothing\n PRIORITY_IDLE : 1, // 1, idle motions\n PRIORITY_NORMAL : 2, // 2, normal motions\n PRIORITY_FORCE : 3, // 3, force to show motion\n\n // above are the index to the motions in model.json\n // #43\n MOTION_GROUP_IDLE : \"idle\",\n MOTION_GROUP_TAP_BODY : \"tap_body\",\n MOTION_GROUP_FLICK_HEAD : \"flick_head\", // unused\n MOTION_GROUP_PINCH_IN : \"pinch_in\", // unused\n MOTION_GROUP_PINCH_OUT : \"pinch_out\", // unused\n MOTION_GROUP_SHAKE : \"shake\", // unused\n\n // above are the index to the hit areas in model.json\n // #43\n HIT_AREA_HEAD : \"head\",\n HIT_AREA_BODY : \"body\"\n};\n\nmodule.exports = cDefine;\n", - "static": true, - "longname": "D:/git/live2d-widget.js/src/_cDefine.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 299, - "kind": "variable", - "name": "cDefine", - "memberof": "src/_cDefine.js", - "static": true, - "longname": "src/_cDefine.js~cDefine", - "access": "public", - "export": false, - "importPath": "live2d-widget/src/_cDefine.js", - "importStyle": null, - "description": "The definitions of values releated to model react", - "lineNumber": 7, - "type": { "types": [ - "{\"VIEW_LOGICAL_LEFT\": *, \"VIEW_LOGICAL_RIGHT\": number, \"VIEW_LOGICAL_MAX_LEFT\": *, \"VIEW_LOGICAL_MAX_RIGHT\": number, \"VIEW_LOGICAL_MAX_BOTTOM\": *, \"VIEW_LOGICAL_MAX_TOP\": number, \"PRIORITY_NONE\": *, \"PRIORITY_IDLE\": number, \"PRIORITY_NORMAL\": number, \"PRIORITY_FORCE\": number, \"MOTION_GROUP_IDLE\": string, \"MOTION_GROUP_TAP_BODY\": string, \"MOTION_GROUP_FLICK_HEAD\": string, \"MOTION_GROUP_PINCH_IN\": string, \"MOTION_GROUP_PINCH_OUT\": string, \"MOTION_GROUP_SHAKE\": string, \"HIT_AREA_HEAD\": string, \"HIT_AREA_BODY\": string}" + "*" ] }, "ignore": true }, { - "__docId__": 300, - "kind": "file", - "name": "src/_cManager.js", - "content": "import { Live2DFramework } from \"./lib/Live2DFramework\";\nimport PlatformManager from \"./lib/PlatformManager\";\nimport { cModel } from \"./cModel\";\nimport { cDefine } from \"./cDefine\";\n\nexport default function cManager() {\n // console.log(\"--> cManager()\");\n\n this.models = [];\n this.count = -1;\n this.reloadFlg = false;\n\n Live2D.init();\n Live2DFramework.setPlatformManager(new PlatformManager);\n\n}\n\ncManager.prototype.createModel = function () {\n\n var model = new cModel();\n this.models.push(model);\n\n return model;\n\n}\n\n\ncManager.prototype.changeModel = function (gl, modelurl) {\n // console.log(\"--> cManager.update(gl)\");\n\n if (this.reloadFlg) {\n this.reloadFlg = false;\n this.releaseModel(0, gl);\n this.createModel();\n this.models[0].load(gl, modelurl);\n }\n\n};\n\n\ncManager.prototype.getModel = function (no) {\n // console.log(\"--> cManager.getModel(\" + no + \")\");\n\n if (no >= this.models.length) return null;\n\n return this.models[no];\n};\n\n\n\ncManager.prototype.releaseModel = function (no, gl) {\n // console.log(\"--> cManager.releaseModel(\" + no + \")\");\n\n if (this.models.length <= no) return;\n\n this.models[no].release(gl);\n\n delete this.models[no];\n this.models.splice(no, 1);\n};\n\n\n\ncManager.prototype.numModels = function () {\n return this.models.length;\n};\n\n\n\ncManager.prototype.setDrag = function (x, y) {\n for (var i = 0; i < this.models.length; i++) {\n this.models[i].setDrag(x, y);\n }\n}\n\ncManager.prototype.tapEvent = function (x, y) {\n if (cDefine.DEBUG_LOG)\n console.log(\"tapEvent view x:\" + x + \" y:\" + y);\n\n for (var i = 0; i < this.models.length; i++) {\n\n if (this.models[i].hitTest(cDefine.HIT_AREA_HEAD, x, y)) {\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Tap face.\");\n\n this.models[i].setRandomExpression();\n }\n else if (this.models[i].hitTest(cDefine.HIT_AREA_BODY, x, y)) {\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Tap body.\" + \" models[\" + i + \"]\");\n\n this.models[i].startRandomMotion(cDefine.MOTION_GROUP_TAP_BODY,\n cDefine.PRIORITY_NORMAL);\n }\n }\n\n return true;\n};\n", - "static": true, - "longname": "D:/git/live2d-widget.js/src/_cManager.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 301, - "kind": "function", - "name": "cManager", - "memberof": "src/_cManager.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/_cManager.js~cManager", - "access": "public", - "export": true, - "importPath": "live2d-widget/src/_cManager.js", - "importStyle": "cManager", - "description": null, - "lineNumber": 6, - "undocument": true, - "params": [], - "return": null - }, - { - "__docId__": 302, + "__docId__": 311, "kind": "function", - "name": "createModel", - "memberof": "src/_cManager.js", + "name": "getMinScale", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cManager.js~createModel", + "longname": "src/lib/_Live2DFramework.official.js~getMinScale", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cManager.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 18, + "lineNumber": 1382, "undocument": true, "params": [], "return": { @@ -7750,30 +7970,24 @@ "ignore": true }, { - "__docId__": 303, + "__docId__": 312, "kind": "function", - "name": "changeModel", - "memberof": "src/_cManager.js", + "name": "setMaxScale", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cManager.js~changeModel", + "longname": "src/lib/_Live2DFramework.official.js~setMaxScale", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cManager.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 28, + "lineNumber": 1390, "undocument": true, "params": [ { - "name": "gl", - "types": [ - "*" - ] - }, - { - "name": "modelurl", + "name": "v", "types": [ "*" ] @@ -7783,84 +7997,71 @@ "ignore": true }, { - "__docId__": 304, + "__docId__": 313, "kind": "function", - "name": "getModel", - "memberof": "src/_cManager.js", + "name": "setMinScale", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cManager.js~getModel", + "longname": "src/lib/_Live2DFramework.official.js~setMinScale", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cManager.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 41, + "lineNumber": 1398, "undocument": true, "params": [ { - "name": "no", + "name": "v", "types": [ "*" ] } ], - "return": { - "types": [ - "*" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 305, + "__docId__": 314, "kind": "function", - "name": "releaseModel", - "memberof": "src/_cManager.js", + "name": "isMaxScale", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cManager.js~releaseModel", + "longname": "src/lib/_Live2DFramework.official.js~isMaxScale", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cManager.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 51, + "lineNumber": 1406, "undocument": true, - "params": [ - { - "name": "no", - "types": [ - "*" - ] - }, - { - "name": "gl", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 306, + "__docId__": 315, "kind": "function", - "name": "numModels", - "memberof": "src/_cManager.js", + "name": "isMinScale", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cManager.js~numModels", + "longname": "src/lib/_Live2DFramework.official.js~isMinScale", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cManager.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 64, + "lineNumber": 1414, "undocument": true, "params": [], "return": { @@ -7871,30 +8072,30 @@ "ignore": true }, { - "__docId__": 307, + "__docId__": 316, "kind": "function", - "name": "setDrag", - "memberof": "src/_cManager.js", + "name": "adjustTranslate", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cManager.js~setDrag", + "longname": "src/lib/_Live2DFramework.official.js~adjustTranslate", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cManager.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 70, + "lineNumber": 1422, "undocument": true, "params": [ { - "name": "x", + "name": "shiftX", "types": [ "*" ] }, { - "name": "y", + "name": "shiftY", "types": [ "*" ] @@ -7904,103 +8105,126 @@ "ignore": true }, { - "__docId__": 308, + "__docId__": 317, "kind": "function", - "name": "tapEvent", - "memberof": "src/_cManager.js", + "name": "adjustScale", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cManager.js~tapEvent", + "longname": "src/lib/_Live2DFramework.official.js~adjustScale", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cManager.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 76, + "lineNumber": 1443, "undocument": true, "params": [ { - "name": "x", + "name": "cx", "types": [ "*" ] }, { - "name": "y", + "name": "cy", + "types": [ + "*" + ] + }, + { + "name": "scale", "types": [ "*" ] } ], - "return": { - "types": [ - "boolean" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 309, - "kind": "file", - "name": "src/_cModel.js", - "content": "import { Live2DFramework, L2DBaseModel, L2DEyeBlink } from \"./lib/Live2DFramework\";\nimport { ModelSettingJson } from \"./utils/ModelSettingJson\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport { cDefine } from \"./cDefine\";\n\n//============================================================\n//============================================================\n// class cModel extends L2DBaseModel\n//============================================================\n//============================================================\nexport default function cModel()\n{\n //L2DBaseModel.apply(this, arguments);\n L2DBaseModel.prototype.constructor.call(this);\n\n this.modelHomeDir = \"\";\n this.modelSetting = null;\n this.tmpMatrix = [];\n}\n\ncModel.prototype = new L2DBaseModel();\n\n\ncModel.prototype.load = function(gl, modelSettingPath, callback)\n{\n this.setUpdating(true);\n this.setInitialized(false);\n\n this.modelHomeDir = modelSettingPath.substring(0, modelSettingPath.lastIndexOf(\"/\") + 1);\n\n this.modelSetting = new ModelSettingJson();\n\n var thisRef = this;\n\n this.modelSetting.loadModelSetting(modelSettingPath, function(){\n\n var path = thisRef.modelHomeDir + thisRef.modelSetting.getModelFile();\n thisRef.loadModelData(path, function(model){\n\n for (var i = 0; i < thisRef.modelSetting.getTextureNum(); i++)\n {\n\n var texPaths = thisRef.modelHomeDir +\n thisRef.modelSetting.getTextureFile(i);\n\n thisRef.loadTexture(i, texPaths, function() {\n\n if( thisRef.isTexLoaded ) {\n\n if (thisRef.modelSetting.getExpressionNum() > 0)\n {\n\n thisRef.expressions = {};\n\n for (var j = 0; j < thisRef.modelSetting.getExpressionNum(); j++)\n {\n var expName = thisRef.modelSetting.getExpressionName(j);\n var expFilePath = thisRef.modelHomeDir +\n thisRef.modelSetting.getExpressionFile(j);\n\n thisRef.loadExpression(expName, expFilePath);\n }\n }\n else\n {\n thisRef.expressionManager = null;\n thisRef.expressions = {};\n }\n\n\n\n if (thisRef.eyeBlink == null)\n {\n thisRef.eyeBlink = new L2DEyeBlink();\n }\n\n\n if (thisRef.modelSetting.getPhysicsFile() != null)\n {\n thisRef.loadPhysics(thisRef.modelHomeDir +\n thisRef.modelSetting.getPhysicsFile());\n }\n else\n {\n thisRef.physics = null;\n }\n\n\n\n if (thisRef.modelSetting.getPoseFile() != null)\n {\n thisRef.loadPose(\n thisRef.modelHomeDir +\n thisRef.modelSetting.getPoseFile(),\n function() {\n thisRef.pose.updateParam(thisRef.live2DModel);\n }\n );\n }\n else\n {\n thisRef.pose = null;\n }\n\n\n\n if (thisRef.modelSetting.getLayout() != null)\n {\n var layout = thisRef.modelSetting.getLayout();\n if (layout[\"width\"] != null)\n thisRef.modelMatrix.setWidth(layout[\"width\"]);\n if (layout[\"height\"] != null)\n thisRef.modelMatrix.setHeight(layout[\"height\"]);\n\n if (layout[\"x\"] != null)\n thisRef.modelMatrix.setX(layout[\"x\"]);\n if (layout[\"y\"] != null)\n thisRef.modelMatrix.setY(layout[\"y\"]);\n if (layout[\"center_x\"] != null)\n thisRef.modelMatrix.centerX(layout[\"center_x\"]);\n if (layout[\"center_y\"] != null)\n thisRef.modelMatrix.centerY(layout[\"center_y\"]);\n if (layout[\"top\"] != null)\n thisRef.modelMatrix.top(layout[\"top\"]);\n if (layout[\"bottom\"] != null)\n thisRef.modelMatrix.bottom(layout[\"bottom\"]);\n if (layout[\"left\"] != null)\n thisRef.modelMatrix.left(layout[\"left\"]);\n if (layout[\"right\"] != null)\n thisRef.modelMatrix.right(layout[\"right\"]);\n }\n\n for (var j = 0; j < thisRef.modelSetting.getInitParamNum(); j++)\n {\n\n thisRef.live2DModel.setParamFloat(\n thisRef.modelSetting.getInitParamID(j),\n thisRef.modelSetting.getInitParamValue(j)\n );\n }\n\n for (var j = 0; j < thisRef.modelSetting.getInitPartsVisibleNum(); j++)\n {\n\n thisRef.live2DModel.setPartsOpacity(\n thisRef.modelSetting.getInitPartsVisibleID(j),\n thisRef.modelSetting.getInitPartsVisibleValue(j)\n );\n }\n\n\n\n thisRef.live2DModel.saveParam();\n // thisRef.live2DModel.setGL(gl);\n\n\n thisRef.preloadMotionGroup(cDefine.MOTION_GROUP_IDLE);\n thisRef.mainMotionManager.stopAllMotions();\n\n thisRef.setUpdating(false);\n thisRef.setInitialized(true);\n\n if (typeof callback == \"function\") callback();\n\n }\n });\n }\n });\n });\n};\n\n\n\ncModel.prototype.release = function(gl)\n{\n // this.live2DModel.deleteTextures();\n var pm = Live2DFramework.getPlatformManager();\n\n gl.deleteTexture(pm.texture);\n}\n\n\n\ncModel.prototype.preloadMotionGroup = function(name)\n{\n var thisRef = this;\n\n for (var i = 0; i < this.modelSetting.getMotionNum(name); i++)\n {\n var file = this.modelSetting.getMotionFile(name, i);\n this.loadMotion(file, this.modelHomeDir + file, function(motion) {\n motion.setFadeIn(thisRef.modelSetting.getMotionFadeIn(name, i));\n motion.setFadeOut(thisRef.modelSetting.getMotionFadeOut(name, i));\n });\n\n }\n}\n\n\ncModel.prototype.update = function()\n{\n // console.log(\"--> cModel.update()\");\n\n if(this.live2DModel == null)\n {\n if (cDefine.DEBUG_LOG) console.error(\"Failed to update.\");\n\n return;\n }\n\n var timeMSec = UtSystem.getUserTimeMSec() - this.startTimeMSec;\n var timeSec = timeMSec / 1000.0;\n var t = timeSec * 2 * Math.PI;\n\n\n if (this.mainMotionManager.isFinished())\n {\n\n this.startRandomMotion(cDefine.MOTION_GROUP_IDLE, cDefine.PRIORITY_IDLE);\n }\n\n //-----------------------------------------------------------------\n\n\n this.live2DModel.loadParam();\n\n\n\n var update = this.mainMotionManager.updateParam(this.live2DModel);\n if (!update) {\n\n if(this.eyeBlink != null) {\n this.eyeBlink.updateParam(this.live2DModel);\n }\n }\n\n\n this.live2DModel.saveParam();\n\n //-----------------------------------------------------------------\n\n\n if (this.expressionManager != null &&\n this.expressions != null &&\n !this.expressionManager.isFinished())\n {\n this.expressionManager.updateParam(this.live2DModel);\n }\n\n\n\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_X\", this.dragX * 30, 1);\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_Y\", this.dragY * 30, 1);\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_Z\", (this.dragX * this.dragY) * -30, 1);\n\n\n\n this.live2DModel.addToParamFloat(\"PARAM_BODY_ANGLE_X\", this.dragX*10, 1);\n\n\n\n this.live2DModel.addToParamFloat(\"PARAM_EYE_BALL_X\", this.dragX, 1);\n this.live2DModel.addToParamFloat(\"PARAM_EYE_BALL_Y\", this.dragY, 1);\n\n\n\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_X\",\n Number((15 * Math.sin(t / 6.5345))), 0.5);\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_Y\",\n Number((8 * Math.sin(t / 3.5345))), 0.5);\n this.live2DModel.addToParamFloat(\"PARAM_ANGLE_Z\",\n Number((10 * Math.sin(t / 5.5345))), 0.5);\n this.live2DModel.addToParamFloat(\"PARAM_BODY_ANGLE_X\",\n Number((4 * Math.sin(t / 15.5345))), 0.5);\n this.live2DModel.setParamFloat(\"PARAM_BREATH\",\n Number((0.5 + 0.5 * Math.sin(t / 3.2345))), 1);\n\n\n if (this.physics != null)\n {\n this.physics.updateParam(this.live2DModel);\n }\n\n\n if (this.lipSync == null)\n {\n this.live2DModel.setParamFloat(\"PARAM_MOUTH_OPEN_Y\",\n this.lipSyncValue);\n }\n\n\n if( this.pose != null ) {\n this.pose.updateParam(this.live2DModel);\n }\n\n this.live2DModel.update();\n};\n\n\n\ncModel.prototype.setRandomExpression = function()\n{\n var tmp = [];\n for (var name in this.expressions)\n {\n tmp.push(name);\n }\n\n var no = parseInt(Math.random() * tmp.length);\n\n this.setExpression(tmp[no]);\n}\n\n\n\ncModel.prototype.startRandomMotion = function(name, priority)\n{\n var max = this.modelSetting.getMotionNum(name);\n var no = parseInt(Math.random() * max);\n this.startMotion(name, no, priority);\n}\n\n\n\ncModel.prototype.startMotion = function(name, no, priority)\n{\n // console.log(\"startMotion : \" + name + \" \" + no + \" \" + priority);\n\n var motionName = this.modelSetting.getMotionFile(name, no);\n\n if (motionName == null || motionName == \"\")\n {\n if (cDefine.DEBUG_LOG)\n console.error(\"Failed to motion.\");\n return;\n }\n\n if (priority == cDefine.PRIORITY_FORCE)\n {\n this.mainMotionManager.setReservePriority(priority);\n }\n else if (!this.mainMotionManager.reserveMotion(priority))\n {\n if (cDefine.DEBUG_LOG)\n console.log(\"Motion is running.\")\n return;\n }\n\n var thisRef = this;\n var motion;\n\n if (this.motions[name] == null)\n {\n this.loadMotion(null, this.modelHomeDir + motionName, function(mtn) {\n motion = mtn;\n\n\n thisRef.setFadeInFadeOut(name, no, priority, motion);\n\n });\n }\n else\n {\n motion = this.motions[name];\n\n\n thisRef.setFadeInFadeOut(name, no, priority, motion);\n }\n}\n\n\ncModel.prototype.setFadeInFadeOut = function(name, no, priority, motion)\n{\n var motionName = this.modelSetting.getMotionFile(name, no);\n\n motion.setFadeIn(this.modelSetting.getMotionFadeIn(name, no));\n motion.setFadeOut(this.modelSetting.getMotionFadeOut(name, no));\n\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Start motion : \" + motionName);\n\n if (this.modelSetting.getMotionSound(name, no) == null)\n {\n this.mainMotionManager.startMotionPrio(motion, priority);\n }\n else\n {\n var soundName = this.modelSetting.getMotionSound(name, no);\n // var player = new Sound(this.modelHomeDir + soundName);\n\n var snd = document.createElement(\"audio\");\n snd.src = this.modelHomeDir + soundName;\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Start sound : \" + soundName);\n\n snd.play();\n this.mainMotionManager.startMotionPrio(motion, priority);\n }\n}\n\n\n\ncModel.prototype.setExpression = function(name)\n{\n var motion = this.expressions[name];\n\n if (cDefine.DEBUG_LOG)\n console.log(\"Expression : \" + name);\n\n this.expressionManager.startMotion(motion, false);\n}\n\n\n\ncModel.prototype.draw = function(gl)\n{\n //console.log(\"--> cModel.draw()\");\n\n // if(this.live2DModel == null) return;\n\n\n MatrixStack.push();\n\n MatrixStack.multMatrix(this.modelMatrix.getArray());\n\n this.tmpMatrix = MatrixStack.getMatrix()\n this.live2DModel.setMatrix(this.tmpMatrix);\n this.live2DModel.draw();\n\n MatrixStack.pop();\n\n};\n\n\n\ncModel.prototype.hitTest = function(id, testX, testY)\n{\n var len = this.modelSetting.getHitAreaNum();\n for (var i = 0; i < len; i++)\n {\n if (id == this.modelSetting.getHitAreaName(i))\n {\n var drawID = this.modelSetting.getHitAreaID(i);\n\n return this.hitTestSimple(drawID, testX, testY);\n }\n }\n\n return false;\n}\n", - "static": true, - "longname": "D:/git/live2d-widget.js/src/_cModel.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 310, + "__docId__": 318, "kind": "function", - "name": "cModel", - "memberof": "src/_cModel.js", + "name": "setScreenRect", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~cModel", + "longname": "src/lib/_Live2DFramework.official.js~setScreenRect", "access": "public", - "export": true, - "importPath": "live2d-widget/src/_cModel.js", - "importStyle": "cModel", + "export": false, + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importStyle": null, "description": null, - "lineNumber": 11, + "lineNumber": 1472, "undocument": true, - "params": [], - "return": null + "params": [ + { + "name": "left", + "types": [ + "*" + ] + }, + { + "name": "right", + "types": [ + "*" + ] + }, + { + "name": "bottom", + "types": [ + "*" + ] + }, + { + "name": "top", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true }, { - "__docId__": 311, + "__docId__": 319, "kind": "function", - "name": "load", - "memberof": "src/_cModel.js", + "name": "setMaxScreenRect", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~load", + "longname": "src/lib/_Live2DFramework.official.js~setMaxScreenRect", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 24, + "lineNumber": 1483, "undocument": true, "params": [ { - "name": "gl", + "name": "left", "types": [ "*" ] }, { - "name": "modelSettingPath", + "name": "right", "types": [ "*" ] }, { - "name": "callback", + "name": "bottom", + "types": [ + "*" + ] + }, + { + "name": "top", "types": [ "*" ] @@ -8010,339 +8234,293 @@ "ignore": true }, { - "__docId__": 312, + "__docId__": 320, "kind": "function", - "name": "release", - "memberof": "src/_cModel.js", + "name": "getScreenLeft", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~release", + "longname": "src/lib/_Live2DFramework.official.js~getScreenLeft", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 174, + "lineNumber": 1494, "undocument": true, - "params": [ - { - "name": "gl", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 313, + "__docId__": 321, "kind": "function", - "name": "preloadMotionGroup", - "memberof": "src/_cModel.js", + "name": "getScreenRight", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~preloadMotionGroup", + "longname": "src/lib/_Live2DFramework.official.js~getScreenRight", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 184, + "lineNumber": 1502, "undocument": true, - "params": [ - { - "name": "name", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 314, + "__docId__": 322, "kind": "function", - "name": "update", - "memberof": "src/_cModel.js", + "name": "getScreenBottom", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~update", + "longname": "src/lib/_Live2DFramework.official.js~getScreenBottom", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 200, + "lineNumber": 1510, "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 315, + "__docId__": 323, "kind": "function", - "name": "setRandomExpression", - "memberof": "src/_cModel.js", + "name": "getScreenTop", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~setRandomExpression", + "longname": "src/lib/_Live2DFramework.official.js~getScreenTop", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 301, + "lineNumber": 1518, "undocument": true, "params": [], - "return": null, + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 316, + "__docId__": 324, "kind": "function", - "name": "startRandomMotion", - "memberof": "src/_cModel.js", + "name": "getMaxLeft", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~startRandomMotion", + "longname": "src/lib/_Live2DFramework.official.js~getMaxLeft", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 316, + "lineNumber": 1526, "undocument": true, - "params": [ - { - "name": "name", - "types": [ - "*" - ] - }, - { - "name": "priority", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 317, + "__docId__": 325, "kind": "function", - "name": "startMotion", - "memberof": "src/_cModel.js", + "name": "getMaxRight", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~startMotion", + "longname": "src/lib/_Live2DFramework.official.js~getMaxRight", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 325, + "lineNumber": 1534, "undocument": true, - "params": [ - { - "name": "name", - "types": [ - "*" - ] - }, - { - "name": "no", - "types": [ - "*" - ] - }, - { - "name": "priority", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 318, + "__docId__": 326, "kind": "function", - "name": "setFadeInFadeOut", - "memberof": "src/_cModel.js", + "name": "getMaxBottom", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~setFadeInFadeOut", + "longname": "src/lib/_Live2DFramework.official.js~getMaxBottom", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 372, + "lineNumber": 1542, "undocument": true, - "params": [ - { - "name": "name", - "types": [ - "*" - ] - }, - { - "name": "no", - "types": [ - "*" - ] - }, - { - "name": "priority", - "types": [ - "*" - ] - }, - { - "name": "motion", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 319, + "__docId__": 327, "kind": "function", - "name": "setExpression", - "memberof": "src/_cModel.js", + "name": "getMaxTop", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~setExpression", + "longname": "src/lib/_Live2DFramework.official.js~getMaxTop", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 405, + "lineNumber": 1550, "undocument": true, - "params": [ - { - "name": "name", - "types": [ - "*" - ] - } - ], + "params": [], + "return": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 328, + "kind": "function", + "name": "Live2DFramework", + "memberof": "src/lib/_Live2DFramework.official.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/lib/_Live2DFramework.official.js~Live2DFramework", + "access": "public", + "export": false, + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", + "importStyle": null, + "description": "\n You can modify and use this source freely\n only for the development of application related Live2D.\n\n (c) Live2D Inc. All rights reserved.", + "lineNumber": 1568, + "params": [], "return": null, "ignore": true }, { - "__docId__": 320, + "__docId__": 329, "kind": "function", - "name": "draw", - "memberof": "src/_cModel.js", + "name": "getPlatformManager", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~draw", + "longname": "src/lib/_Live2DFramework.official.js~getPlatformManager", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 417, + "lineNumber": 1578, "undocument": true, - "params": [ - { - "name": "gl", - "types": [ - "*" - ] - } - ], - "return": null, + "params": [], + "return": { + "types": [ + "*" + ] + }, "ignore": true }, { - "__docId__": 321, + "__docId__": 330, "kind": "function", - "name": "hitTest", - "memberof": "src/_cModel.js", + "name": "setPlatformManager", + "memberof": "src/lib/_Live2DFramework.official.js", "generator": false, "async": false, "static": true, - "longname": "src/_cModel.js~hitTest", + "longname": "src/lib/_Live2DFramework.official.js~setPlatformManager", "access": "public", "export": false, - "importPath": "live2d-widget/src/_cModel.js", + "importPath": "live2d-widget/src/lib/_Live2DFramework.official.js", "importStyle": null, "description": null, - "lineNumber": 438, + "lineNumber": 1586, "undocument": true, "params": [ { - "name": "id", - "types": [ - "*" - ] - }, - { - "name": "testX", - "types": [ - "*" - ] - }, - { - "name": "testY", + "name": "platformManager", "types": [ "*" ] } ], - "return": { - "types": [ - "boolean" - ] - }, + "return": null, "ignore": true }, { - "__docId__": 322, + "__docId__": 331, "kind": "file", - "name": "src/_PlatformManager.js", - "content": "\n/**\n *\n * You can modify and use this source freely\n * only for the development of application related Live2D.\n *\n * (c) Live2D Inc. All rights reserved.\n */\n\n// Modified by xiazeyu.\n\n/**\n* @desc A library that provide basic IO and json function\n*/\n\n\nimport { getContext } from \"./webGLContext\";\nimport { Live2DModelWebGL } from \"./live2d.core\";\n\n\n//============================================================\n//============================================================\n// class PlatformManager extend IPlatformManager\n//============================================================\n//============================================================\n\n/**\n* @name PlatformManager\n* @desc Define the variable type of PlatformManager\n* @param null\n* @returns {Structure} PlatformManager\n*/\nexport default function PlatformManager()\n{\n\n}\n\n\n//============================================================\n// PlatformManager # loadBytes()\n//============================================================\n\n/**\n* @name loadBytes\n* @desc load bytes from the path and callback\n* @param {String} path, {Function} callback\n* @returns callback {raw} context\n* @memberOf PlatformManager\n*/\n\nPlatformManager.prototype.loadBytes = function(path/*String*/, callback)\n{\n var request = new XMLHttpRequest();\n request.open(\"GET\", path, true);\n request.responseType = \"arraybuffer\";\n request.onload = function(){\n switch(request.status){\n case 200:\n callback(request.response);\n break;\n default:\n console.error(\"Failed to load (\" + request.status + \") : \" + path);\n break;\n }\n }\n request.send(null);\n // return request;\n}\n\n\n//============================================================\n// PlatformManager # loadString()\n//============================================================\n\n/**\n* @name loadString\n* @desc load bytes from the path and put it into buffer\n* @param {String} path\n* @returns buffer {raw} context\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.loadString = function(path/*String*/)\n{\n\n this.loadBytes(path, function(buf) {\n return buf;\n });\n\n}\n\n\n//============================================================\n// PlatformManager # loadLive2DModel()\n//============================================================\n\n/**\n* @name loadLive2DModel\n* @desc load Live2DModel from the path and put it into buffer\n* @param {String} path, {function} callback\n* @returns callback loaded model\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.loadLive2DModel = function(path/*String*/, callback)\n{\n var model = null;\n\n // load moc\n this.loadBytes(path, function(buf){\n model = Live2DModelWebGL.loadModel(buf);\n callback(model);\n });\n\n}\n\n\n//============================================================\n// PlatformManager # loadTexture()\n//============================================================\n\n/**\n* @name loadTexture\n* @desc load Live2DModel's Texture and callback\n* @param {Live2DModelWebGL}model, {int}no, {string}path, {function}callback\n* @returns callback\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.loadTexture = function(model/*ALive2DModel*/, no/*int*/, path/*String*/, callback)\n{\n // load textures\n var loadedImage = new Image();\n loadedImage.src = path;\n loadedImage.onload = onload;\n loadedImage.onerror = onerror;\n\n // var thisRef = this;\n loadedImage.onload = function() {\n // create texture\n var gl = getContext();\n var texture = gl.createTexture();\n if (!texture){ console.error(\"Failed to generate gl texture name.\"); return -1; }\n\n if(!model.isPremultipliedAlpha()){\n // 乗算済アルファテクスチャ以外の場合\n // emmmm, maybe do something for textures with alpha layer.\n gl.pixelStorei(gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, 1);\n }\n gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, 1);\n gl.activeTexture(gl.TEXTURE0);\n gl.bindTexture(gl.TEXTURE_2D, texture);\n gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA,\n gl.UNSIGNED_BYTE, loadedImage);\n gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);\n gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_NEAREST);\n gl.generateMipmap(gl.TEXTURE_2D);\n\n\n\n model.setTexture(no, texture);\n\n // テクスチャオブジェクトを解放\n // Release the texture object to prevent buffer overruns.\n texture = null;\n\n if (typeof callback == \"function\") callback();\n };\n\n loadedImage.onerror = function() {\n console.error(\"Failed to load image : \" + path);\n }\n}\n\n\n//============================================================\n// PlatformManager # parseFromBytes(buf)\n\n//============================================================\n\n/**\n* @name jsonParseFromBytes\n* @desc parse json file into arrays\n* @param {raw} buf\n* @returns {Array}jsonObj\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.jsonParseFromBytes = function(buf){\n\n var jsonStr;\n var bomCode = new Uint8Array(buf, 0, 3);\n if (bomCode[0] == 239 && bomCode[1] == 187 && bomCode[2] == 191) {\n jsonStr = String.fromCharCode.apply(null, new Uint8Array(buf, 3));\n } else {\n jsonStr = String.fromCharCode.apply(null, new Uint8Array(buf));\n }\n\n var jsonObj = JSON.parse(jsonStr);\n\n return jsonObj;\n};\n\n\n\n//============================================================\n// PlatformManager # log()\n//============================================================\n\n/**\n* @name log\n* @desc output log in console\n* @param {string} txt\n* @returns null\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.log = function(txt/*String*/)\n{\n console.log(txt);\n}\n", + "name": "src/PlatformManager.js", + "content": "\n/**\n *\n * You can modify and use this source freely\n * only for the development of application related Live2D.\n *\n * (c) Live2D Inc. All rights reserved.\n */\n\n// Modified by xiazeyu.\n\n/**\n* @desc A library that provide basic IO and json function\n*/\n\nimport { currWebGL } from './elementMgr';\nimport { Live2DModelWebGL } from \"./lib/live2d.core\";\n\n\n//============================================================\n//============================================================\n// class PlatformManager extend IPlatformManager\n//============================================================\n//============================================================\n\n/**\n* @name PlatformManager\n* @desc Define the variable type of PlatformManager\n* @param null\n* @returns {Structure} PlatformManager\n*/\nexport function PlatformManager()\n{\n\n}\n\n\n//============================================================\n// PlatformManager # loadBytes()\n//============================================================\n\n/**\n* @name loadBytes\n* @desc load bytes from the path and callback\n* @param {String} path, {Function} callback\n* @returns callback {raw} context\n* @memberOf PlatformManager\n*/\n\nPlatformManager.prototype.loadBytes = function(path/*String*/, callback)\n{\n var request = new XMLHttpRequest();\n request.open(\"GET\", path, true);\n request.responseType = \"arraybuffer\";\n request.onload = function(){\n switch(request.status){\n case 200:\n callback(request.response);\n break;\n default:\n console.error(\"Failed to load (\" + request.status + \") : \" + path);\n break;\n }\n }\n request.send(null);\n // return request;\n}\n\n\n//============================================================\n// PlatformManager # loadString()\n//============================================================\n\n/**\n* @name loadString\n* @desc load bytes from the path and put it into buffer\n* @param {String} path\n* @returns buffer {raw} context\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.loadString = function(path/*String*/)\n{\n\n this.loadBytes(path, function(buf) {\n return buf;\n });\n\n}\n\n\n//============================================================\n// PlatformManager # loadLive2DModel()\n//============================================================\n\n/**\n* @name loadLive2DModel\n* @desc load Live2DModel from the path and put it into buffer\n* @param {String} path, {function} callback\n* @returns callback loaded model\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.loadLive2DModel = function(path/*String*/, callback)\n{\n var model = null;\n\n // load moc\n this.loadBytes(path, function(buf){\n model = Live2DModelWebGL.loadModel(buf);\n callback(model);\n });\n\n}\n\n\n//============================================================\n// PlatformManager # loadTexture()\n//============================================================\n\n/**\n* @name loadTexture\n* @desc load Live2DModel's Texture and callback\n* @param {Live2DModelWebGL}model, {int}no, {string}path, {function}callback\n* @returns callback\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.loadTexture = function(model/*ALive2DModel*/, no/*int*/, path/*String*/, callback)\n{\n // load textures\n var loadedImage = new Image();\n loadedImage.src = path;\n loadedImage.onload = onload;\n loadedImage.onerror = onerror;\n\n // var thisRef = this;\n loadedImage.onload = function() {\n // create texture\n var gl = currWebGL;\n var texture = gl.createTexture();\n if (!texture){ console.error(\"Failed to generate gl texture name.\"); return -1; }\n\n if(!model.isPremultipliedAlpha()){\n // 乗算済アルファテクスチャ以外の場合\n // emmmm, maybe do something for textures with alpha layer.\n gl.pixelStorei(gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, 1);\n }\n gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, 1);\n gl.activeTexture(gl.TEXTURE0);\n gl.bindTexture(gl.TEXTURE_2D, texture);\n gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA,\n gl.UNSIGNED_BYTE, loadedImage);\n gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);\n gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_NEAREST);\n gl.generateMipmap(gl.TEXTURE_2D);\n\n\n\n model.setTexture(no, texture);\n\n // テクスチャオブジェクトを解放\n // Release the texture object to prevent buffer overruns.\n texture = null;\n\n if (typeof callback == \"function\") callback();\n };\n\n loadedImage.onerror = function() {\n console.error(\"Failed to load image : \" + path);\n }\n}\n\n\n//============================================================\n// PlatformManager # parseFromBytes(buf)\n\n//============================================================\n\n/**\n* @name jsonParseFromBytes\n* @desc parse json file into arrays\n* @param {raw} buf\n* @returns {Array}jsonObj\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.jsonParseFromBytes = function(buf){\n\n var jsonStr;\n var bomCode = new Uint8Array(buf, 0, 3);\n if (bomCode[0] == 239 && bomCode[1] == 187 && bomCode[2] == 191) {\n jsonStr = String.fromCharCode.apply(null, new Uint8Array(buf, 3));\n } else {\n jsonStr = String.fromCharCode.apply(null, new Uint8Array(buf));\n }\n\n var jsonObj = JSON.parse(jsonStr);\n\n return jsonObj;\n};\n\n\n\n//============================================================\n// PlatformManager # log()\n//============================================================\n\n/**\n* @name log\n* @desc output log in console\n* @param {string} txt\n* @returns null\n* @memberOf PlatformManager\n*/\nPlatformManager.prototype.log = function(txt/*String*/)\n{\n console.log(txt);\n}\n", "static": true, - "longname": "D:/git/live2d-widget.js/src/_PlatformManager.js", + "longname": "D:/git/live2d-widget.js/src/PlatformManager.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 323, + "__docId__": 332, "kind": "function", "name": "PlatformManager", - "memberof": "src/_PlatformManager.js", + "memberof": "src/PlatformManager.js", "generator": false, "async": false, "static": true, - "longname": "src/_PlatformManager.js~PlatformManager", + "longname": "src/PlatformManager.js~PlatformManager", "access": "public", "export": true, - "importPath": "live2d-widget/src/_PlatformManager.js", - "importStyle": "PlatformManager", + "importPath": "live2d-widget/src/PlatformManager.js", + "importStyle": "{PlatformManager}", "description": "Define the variable type of PlatformManager", - "lineNumber": 33, + "lineNumber": 32, "unknown": [ { "tagName": "@returns", @@ -8371,20 +8549,20 @@ } }, { - "__docId__": 324, + "__docId__": 333, "kind": "function", "name": "loadBytes", - "memberof": "src/_PlatformManager.js", + "memberof": "src/PlatformManager.js", "generator": false, "async": false, "static": true, - "longname": "src/_PlatformManager.js~loadBytes", + "longname": "src/PlatformManager.js~loadBytes", "access": "public", "export": false, - "importPath": "live2d-widget/src/_PlatformManager.js", + "importPath": "live2d-widget/src/PlatformManager.js", "importStyle": null, "description": "load bytes from the path and callback", - "lineNumber": 51, + "lineNumber": 50, "unknown": [ { "tagName": "@returns", @@ -8418,20 +8596,20 @@ "ignore": true }, { - "__docId__": 325, + "__docId__": 334, "kind": "function", "name": "loadString", - "memberof": "src/_PlatformManager.js", + "memberof": "src/PlatformManager.js", "generator": false, "async": false, "static": true, - "longname": "src/_PlatformManager.js~loadString", + "longname": "src/PlatformManager.js~loadString", "access": "public", "export": false, - "importPath": "live2d-widget/src/_PlatformManager.js", + "importPath": "live2d-widget/src/PlatformManager.js", "importStyle": null, "description": "load bytes from the path and put it into buffer", - "lineNumber": 82, + "lineNumber": 81, "unknown": [ { "tagName": "@returns", @@ -8465,20 +8643,20 @@ "ignore": true }, { - "__docId__": 326, + "__docId__": 335, "kind": "function", "name": "loadLive2DModel", - "memberof": "src/_PlatformManager.js", + "memberof": "src/PlatformManager.js", "generator": false, "async": false, "static": true, - "longname": "src/_PlatformManager.js~loadLive2DModel", + "longname": "src/PlatformManager.js~loadLive2DModel", "access": "public", "export": false, - "importPath": "live2d-widget/src/_PlatformManager.js", + "importPath": "live2d-widget/src/PlatformManager.js", "importStyle": null, "description": "load Live2DModel from the path and put it into buffer", - "lineNumber": 103, + "lineNumber": 102, "unknown": [ { "tagName": "@returns", @@ -8512,20 +8690,20 @@ "ignore": true }, { - "__docId__": 327, + "__docId__": 336, "kind": "function", "name": "loadTexture", - "memberof": "src/_PlatformManager.js", + "memberof": "src/PlatformManager.js", "generator": false, "async": false, "static": true, - "longname": "src/_PlatformManager.js~loadTexture", + "longname": "src/PlatformManager.js~loadTexture", "access": "public", "export": false, - "importPath": "live2d-widget/src/_PlatformManager.js", + "importPath": "live2d-widget/src/PlatformManager.js", "importStyle": null, "description": "load Live2DModel's Texture and callback", - "lineNumber": 127, + "lineNumber": 126, "unknown": [ { "tagName": "@returns", @@ -8559,20 +8737,20 @@ "ignore": true }, { - "__docId__": 328, + "__docId__": 337, "kind": "function", "name": "jsonParseFromBytes", - "memberof": "src/_PlatformManager.js", + "memberof": "src/PlatformManager.js", "generator": false, "async": false, "static": true, - "longname": "src/_PlatformManager.js~jsonParseFromBytes", + "longname": "src/PlatformManager.js~jsonParseFromBytes", "access": "public", "export": false, - "importPath": "live2d-widget/src/_PlatformManager.js", + "importPath": "live2d-widget/src/PlatformManager.js", "importStyle": null, "description": "parse json file into arrays", - "lineNumber": 185, + "lineNumber": 184, "unknown": [ { "tagName": "@returns", @@ -8606,20 +8784,20 @@ "ignore": true }, { - "__docId__": 329, + "__docId__": 338, "kind": "function", "name": "log", - "memberof": "src/_PlatformManager.js", + "memberof": "src/PlatformManager.js", "generator": false, "async": false, "static": true, - "longname": "src/_PlatformManager.js~log", + "longname": "src/PlatformManager.js~log", "access": "public", "export": false, - "importPath": "live2d-widget/src/_PlatformManager.js", + "importPath": "live2d-widget/src/PlatformManager.js", "importStyle": null, "description": "output log in console", - "lineNumber": 213, + "lineNumber": 212, "unknown": [ { "tagName": "@returns", @@ -8653,28 +8831,28 @@ "ignore": true }, { - "__docId__": 330, + "__docId__": 339, "kind": "file", - "name": "src/_utils/_MatrixStack.js", + "name": "src/utils/MatrixStack.js", "content": "/**\n *\n * You can modify and use this source freely\n * only for the development of application related Live2D.\n *\n * (c) Live2D Inc. All rights reserved.\n */\n\n/**\n * EYHN 修改\n *\n * Copyright © 2016 - 2017 EYHN\n */\n\n// Modified by xiazeyu.\n\n/**\n* @desc A matrix stack releated to draw the model\n*/\n\nfunction MatrixStack() {}\n\nMatrixStack.matrixStack = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\nMatrixStack.depth = 0;\nMatrixStack.currentMatrix = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\nMatrixStack.tmp = new Array(16);\n\n/**\n* @name reset\n* @desc reset the stack\n* @param null\n* @returns null\n* @memberOf MatrixStack\n*/\nMatrixStack.reset = function(){\n this.depth = 0;\n}\n\n/**\n* @name loadIdentity\n* @desc reset values in the stack to whether it can be divisible by 5\n* @param null\n* @returns null\n* @memberOf MatrixStack\n*/\nMatrixStack.loadIdentity = function(){\n var thisRef = this;\n for (var i = 0; i < 16; i++){\n thisRef.currentMatrix[i] = (i % 5 == 0) ? 1 : 0;\n }\n}\n\n/**\n* @name push\n* @desc push a new element into the stack\n* @param null\n* @returns null\n* @memberOf MatrixStack\n*/\nMatrixStack.push = function(){\n var thisRef = this;\n // var offset = thisRef.depth * 16;\n var nextOffset = (thisRef.depth + 1) * 16;\n\n if (thisRef.matrixStack.length < nextOffset + 16){\n thisRef.matrixStack.length = nextOffset + 16;\n }\n\n for (var i = 0; i < 16; i++){\n thisRef.matrixStack[nextOffset + i] = thisRef.currentMatrix[i];\n }\n\n thisRef.depth++;\n}\n\n/**\n* @name pop\n* @desc pop an element from the stack\n* @param null\n* @returns null\n* @memberOf MatrixStack\n*/\nMatrixStack.pop = function(){\n var thisRef = this;\n thisRef.depth--;\n if (thisRef.depth < 0){ // stack is underflow?????\n myError(\"Invalid matrix stack.\");\n thisRef.depth = 0;\n }\n\n var offset = thisRef.depth * 16;\n for (var i = 0; i < 16; i++){\n thisRef.currentMatrix[i] = thisRef.matrixStack[offset + i];\n }\n}\n\n/**\n* @name getMatrix\n* @desc return the current matrix stack\n* @param null\n* @returns {Array} current matrix stack\n* @memberOf MatrixStack\n*/\nMatrixStack.getMatrix = function(){\n return this.currentMatrix;\n}\n\n/**\n* @name multMatrix\n* @desc matrix multiplication, save to the currentMatrix\n* @param null\n* @returns null\n* @memberOf MatrixStack\n*/\nMatrixStack.multMatrix = function(matNew)\n{\n var thisRef = this;\n var i, j, k;\n\n for (i = 0; i < 16; i++){\n thisRef.tmp[i] = 0;\n }\n\n for (i = 0; i < 4; i++){\n for (j = 0; j < 4; j++){\n for (k = 0; k < 4; k++){\n thisRef.tmp[i + j * 4] += thisRef.currentMatrix[i + k * 4] * matNew[k + j * 4];\n }\n }\n }\n for (i = 0; i < 16; i++){\n thisRef.currentMatrix[i] = thisRef.tmp[i];\n }\n}\n\nmodule.exports = MatrixStack;\n", "static": true, - "longname": "D:/git/live2d-widget.js/src/_utils/_MatrixStack.js", + "longname": "D:/git/live2d-widget.js/src/utils/MatrixStack.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 331, + "__docId__": 340, "kind": "function", "name": "MatrixStack", - "memberof": "src/_utils/_MatrixStack.js", + "memberof": "src/utils/MatrixStack.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_MatrixStack.js~MatrixStack", + "longname": "src/utils/MatrixStack.js~MatrixStack", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_MatrixStack.js", + "importPath": "live2d-widget/src/utils/MatrixStack.js", "importStyle": null, "description": "A matrix stack releated to draw the model", "lineNumber": 21, @@ -8683,17 +8861,17 @@ "ignore": true }, { - "__docId__": 332, + "__docId__": 341, "kind": "function", "name": "reset", - "memberof": "src/_utils/_MatrixStack.js", + "memberof": "src/utils/MatrixStack.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_MatrixStack.js~reset", + "longname": "src/utils/MatrixStack.js~reset", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_MatrixStack.js", + "importPath": "live2d-widget/src/utils/MatrixStack.js", "importStyle": null, "description": "reset the stack", "lineNumber": 35, @@ -8730,17 +8908,17 @@ "ignore": true }, { - "__docId__": 333, + "__docId__": 342, "kind": "function", "name": "loadIdentity", - "memberof": "src/_utils/_MatrixStack.js", + "memberof": "src/utils/MatrixStack.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_MatrixStack.js~loadIdentity", + "longname": "src/utils/MatrixStack.js~loadIdentity", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_MatrixStack.js", + "importPath": "live2d-widget/src/utils/MatrixStack.js", "importStyle": null, "description": "reset values in the stack to whether it can be divisible by 5", "lineNumber": 46, @@ -8777,17 +8955,17 @@ "ignore": true }, { - "__docId__": 334, + "__docId__": 343, "kind": "function", "name": "push", - "memberof": "src/_utils/_MatrixStack.js", + "memberof": "src/utils/MatrixStack.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_MatrixStack.js~push", + "longname": "src/utils/MatrixStack.js~push", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_MatrixStack.js", + "importPath": "live2d-widget/src/utils/MatrixStack.js", "importStyle": null, "description": "push a new element into the stack", "lineNumber": 60, @@ -8824,17 +9002,17 @@ "ignore": true }, { - "__docId__": 335, + "__docId__": 344, "kind": "function", "name": "pop", - "memberof": "src/_utils/_MatrixStack.js", + "memberof": "src/utils/MatrixStack.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_MatrixStack.js~pop", + "longname": "src/utils/MatrixStack.js~pop", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_MatrixStack.js", + "importPath": "live2d-widget/src/utils/MatrixStack.js", "importStyle": null, "description": "pop an element from the stack", "lineNumber": 83, @@ -8871,17 +9049,17 @@ "ignore": true }, { - "__docId__": 336, + "__docId__": 345, "kind": "function", "name": "getMatrix", - "memberof": "src/_utils/_MatrixStack.js", + "memberof": "src/utils/MatrixStack.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_MatrixStack.js~getMatrix", + "longname": "src/utils/MatrixStack.js~getMatrix", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_MatrixStack.js", + "importPath": "live2d-widget/src/utils/MatrixStack.js", "importStyle": null, "description": "return the current matrix stack", "lineNumber": 104, @@ -8918,17 +9096,17 @@ "ignore": true }, { - "__docId__": 337, + "__docId__": 346, "kind": "function", "name": "multMatrix", - "memberof": "src/_utils/_MatrixStack.js", + "memberof": "src/utils/MatrixStack.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_MatrixStack.js~multMatrix", + "longname": "src/utils/MatrixStack.js~multMatrix", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_MatrixStack.js", + "importPath": "live2d-widget/src/utils/MatrixStack.js", "importStyle": null, "description": "matrix multiplication, save to the currentMatrix", "lineNumber": 115, @@ -8965,28 +9143,28 @@ "ignore": true }, { - "__docId__": 338, + "__docId__": 347, "kind": "file", - "name": "src/_utils/_ModelSettingJson.js", + "name": "src/utils/ModelSettingJson.js", "content": "// Modified by xiazeyu.\n\n/**\n* @desc To get the model settings from given json file\n*/\n\nimport { Live2DFramework } from \"../lib/Live2DFramework\"\n\n/**\n* @name ModelSettingJson\n* @desc return the struct of ModelSettingJson\n* @param null\n* @returns {Structure} ModelSettingJson\n*/\nexport default function ModelSettingJson()\n{ // Define the index in the json file.\n this.NAME = \"name\";\n this.ID = \"id\";\n this.MODEL = \"model\";\n this.TEXTURES = \"textures\";\n this.HIT_AREAS = \"hit_areas\";\n this.PHYSICS = \"physics\";\n this.POSE = \"pose\";\n this.EXPRESSIONS = \"expressions\";\n this.MOTION_GROUPS = \"motions\";\n this.SOUND = \"sound\";\n this.FADE_IN = \"fade_in\";\n this.FADE_OUT = \"fade_out\";\n this.LAYOUT = \"layout\";\n this.INIT_PARAM = \"init_param\";\n this.INIT_PARTS_VISIBLE = \"init_parts_visible\";\n this.VALUE = \"val\";\n this.FILE = \"file\";\n this.json = {};\n}\n\n/**\n* @name loadModelSetting\n* @desc load model settings from json\n* @param {string} jsonPath, {function} callback\n* @returns null\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.loadModelSetting = function(path, callback)\n{\n var thisRef = this;\n var pm = Live2DFramework.getPlatformManager();\n pm.loadBytes(path, function(buf) {\n var str = String.fromCharCode.apply(null,new Uint8Array(buf));\n thisRef.json = JSON.parse(str);\n callback();\n });\n};\n\n/**\n* @name getTextureFile\n* @desc get texture file from json\n* @param {int} order number of texture\n* @returns {string} file path\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getTextureFile = function(n)\n{\n if (this.json[this.TEXTURES] == null || this.json[this.TEXTURES][n] == null)\n return null;\n\n return this.json[this.TEXTURES][n];\n}\n\n/**\n* @name getModelFile\n* @desc get model file from json\n* @param null\n* @returns {string} file path\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getModelFile = function()\n{\n return this.json[this.MODEL];\n};\n\n/**\n* @name getTextureNum\n* @desc get the amount of textures from json\n* @param null\n* @returns {int} amout\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getTextureNum = function()\n{\n if (this.json[this.TEXTURES] == null) return 0;\n\n return this.json[this.TEXTURES].length;\n}\n\n/**\n* @name getHitAreaNum\n* @desc get the amount of hit area from json\n* @param null\n* @returns {int} amout\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getHitAreaNum = function()\n{\n if (this.json[this.HIT_AREAS] == null)\n return 0;\n\n return this.json[this.HIT_AREAS].length;\n}\n\n/**\n* @name getHitAreaID\n* @desc get the hit area ID of given index from json\n* @param {int} index\n* @returns {int} ID\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getHitAreaID = function(n)\n{\n if (this.json[this.HIT_AREAS] == null ||\n this.json[this.HIT_AREAS][n] == null)\n return null;\n\n return this.json[this.HIT_AREAS][n][this.ID];\n}\n\n/**\n* @name getHitAreaName\n* @desc get the hit area name of given index from json\n* @param {int} index\n* @returns {string} name\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getHitAreaName = function(n)\n{\n if (this.json[this.HIT_AREAS] == null ||\n this.json[this.HIT_AREAS][n] == null)\n return null;\n\n return this.json[this.HIT_AREAS][n][this.NAME];\n}\n\n/**\n* @name getPhysicsFile\n* @desc get physics file from json\n* @param null\n* @returns {string} file path\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getPhysicsFile = function()\n{\n return this.json[this.PHYSICS];\n}\n\n/**\n* @name getPoseFile\n* @desc get pose file from json\n* @param null\n* @returns {string} file path\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getPoseFile = function()\n{\n return this.json[this.POSE];\n}\n\n/**\n* @name getExpressionNum\n* @desc get the amount of expressions from json\n* @param null\n* @returns {int} amout\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getExpressionNum = function()\n{\n return (this.json[this.EXPRESSIONS] == null) ? 0 : this.json[this.EXPRESSIONS].length;\n}\n\n/**\n* @name getExpressionFile\n* @desc get expression file from json\n* @param null\n* @returns {string} file path\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getExpressionFile = function(n)\n{\n if (this.json[this.EXPRESSIONS] == null)\n return null;\n return this.json[this.EXPRESSIONS][n][this.FILE];\n}\n\n/**\n* @name getExpressionName\n* @desc get the hit expression name of given index from json\n* @param {int} index\n* @returns {string} name\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getExpressionName = function(n)\n{\n if (this.json[this.EXPRESSIONS] == null)\n return null;\n return this.json[this.EXPRESSIONS][n][this.NAME];\n}\n\n/**\n* @name getLayout\n* @desc get the layout from json\n* @param null\n* @returns {string} layout\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getLayout = function()\n{\n return this.json[this.LAYOUT];\n}\n\n/**\n* @name getInitParamNum\n* @desc get the amount of init parameter from json\n* @param null\n* @returns {int} amount\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getInitParamNum = function()\n{\n return (this.json[this.INIT_PARAM] == null) ? 0 : this.json[this.INIT_PARAM].length;\n}\n\n/**\n* @name getMotionNum\n* @desc get the amount of motions from json\n* @param null\n* @returns {int} amout\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getMotionNum = function(name)\n{\n if (this.json[this.MOTION_GROUPS] == null ||\n this.json[this.MOTION_GROUPS][name] == null)\n return 0;\n\n return this.json[this.MOTION_GROUPS][name].length;\n}\n\n/**\n* @name getMotionFile\n* @desc get motion file from json\n* @param null\n* @returns {string} file path\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getMotionFile = function(name, n)\n{\n if (this.json[this.MOTION_GROUPS] == null ||\n this.json[this.MOTION_GROUPS][name] == null ||\n this.json[this.MOTION_GROUPS][name][n] == null)\n return null;\n\n return this.json[this.MOTION_GROUPS][name][n][this.FILE];\n}\n\n/**\n* @name getMotionSound\n* @desc get motion's sound file from json\n* @param null\n* @returns {string} file path\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getMotionSound = function(name, n)\n{\n if (this.json[this.MOTION_GROUPS] == null ||\n this.json[this.MOTION_GROUPS][name] == null ||\n this.json[this.MOTION_GROUPS][name][n] == null ||\n this.json[this.MOTION_GROUPS][name][n][this.SOUND] == null)\n return null;\n\n return this.json[this.MOTION_GROUPS][name][n][this.SOUND];\n}\n\n/**\n* @name getMotionFadeIn\n* @desc get the motion's fade in setting from json\n* @param {string} name, {int} index\n* @returns {int} time (1000 if not found)\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getMotionFadeIn = function(name, n)\n{\n if (this.json[this.MOTION_GROUPS] == null ||\n this.json[this.MOTION_GROUPS][name] == null ||\n this.json[this.MOTION_GROUPS][name][n] == null ||\n this.json[this.MOTION_GROUPS][name][n][this.FADE_IN] == null)\n return 1000;\n\n return this.json[this.MOTION_GROUPS][name][n][this.FADE_IN];\n}\n\n/**\n* @name getMotionFadeOut\n* @desc get the motion's fade out setting from json\n* @param {string} name, {int} index\n* @returns {int} time (1000 if not found)\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getMotionFadeOut = function(name, n)\n{\n if (this.json[this.MOTION_GROUPS] == null ||\n this.json[this.MOTION_GROUPS][name] == null ||\n this.json[this.MOTION_GROUPS][name][n] == null ||\n this.json[this.MOTION_GROUPS][name][n][this.FADE_OUT] == null)\n return 1000;\n\n return this.json[this.MOTION_GROUPS][name][n][this.FADE_OUT];\n}\n\n/**\n* @name getInitParamID\n* @desc get the visible ID of init parameter from json\n* @param {(int)} index\n* @returns {int} ID\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getInitParamID = function(n)\n{\n if (this.json[this.INIT_PARAM] == null ||\n this.json[this.INIT_PARAM][n] == null)\n return null;\n\n return this.json[this.INIT_PARAM][n][this.ID];\n}\n\n/**\n* @name getInitParamValue\n* @desc get the visible value of init parameter from json\n* @param {(int)} index\n* @returns {int} value\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getInitParamValue = function(n)\n{\n if (this.json[this.INIT_PARAM] == null || this.json[this.INIT_PARAM][n] == null)\n return NaN;\n\n return this.json[this.INIT_PARAM][n][this.VALUE];\n}\n\n/**\n* @name getInitPartsVisibleNum\n* @desc get the amount of init parts visible from json\n* @param null\n* @returns {int} amout\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getInitPartsVisibleNum = function()\n{\n return (this.json[this.INIT_PARTS_VISIBLE] == null) ? 0 : this.json[this.INIT_PARTS_VISIBLE].length;\n}\n\n/**\n* @name getInitPartsVisibleID\n* @desc get the visible ID of init parts from json\n* @param {(int)} index\n* @returns {int} ID\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getInitPartsVisibleID = function(n)\n{\n if (this.json[this.INIT_PARTS_VISIBLE] == null || this.json[this.INIT_PARTS_VISIBLE][n] == null)\n return null;\n return this.json[this.INIT_PARTS_VISIBLE][n][this.ID];\n}\n\n/**\n* @name getInitPartsVisibleValue\n* @desc get the visible value of init parts from json\n* @param {(int)} index\n* @returns {int} value\n* @memberOf ModelSettingJson\n*/\nModelSettingJson.prototype.getInitPartsVisibleValue = function(n)\n{\n if (this.json[this.INIT_PARTS_VISIBLE] == null || this.json[this.INIT_PARTS_VISIBLE][n] == null)\n return NaN;\n\n return this.json[this.INIT_PARTS_VISIBLE][n][this.VALUE];\n}\n", "static": true, - "longname": "D:/git/live2d-widget.js/src/_utils/_ModelSettingJson.js", + "longname": "D:/git/live2d-widget.js/src/utils/ModelSettingJson.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 339, + "__docId__": 348, "kind": "function", "name": "ModelSettingJson", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~ModelSettingJson", + "longname": "src/utils/ModelSettingJson.js~ModelSettingJson", "access": "public", "export": true, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": "ModelSettingJson", "description": "return the struct of ModelSettingJson", "lineNumber": 15, @@ -9018,17 +9196,17 @@ } }, { - "__docId__": 340, + "__docId__": 349, "kind": "function", "name": "loadModelSetting", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~loadModelSetting", + "longname": "src/utils/ModelSettingJson.js~loadModelSetting", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "load model settings from json", "lineNumber": 44, @@ -9065,17 +9243,17 @@ "ignore": true }, { - "__docId__": 341, + "__docId__": 350, "kind": "function", "name": "getTextureFile", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getTextureFile", + "longname": "src/utils/ModelSettingJson.js~getTextureFile", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get texture file from json", "lineNumber": 62, @@ -9112,17 +9290,17 @@ "ignore": true }, { - "__docId__": 342, + "__docId__": 351, "kind": "function", "name": "getModelFile", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getModelFile", + "longname": "src/utils/ModelSettingJson.js~getModelFile", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get model file from json", "lineNumber": 77, @@ -9159,17 +9337,17 @@ "ignore": true }, { - "__docId__": 343, + "__docId__": 352, "kind": "function", "name": "getTextureNum", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getTextureNum", + "longname": "src/utils/ModelSettingJson.js~getTextureNum", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the amount of textures from json", "lineNumber": 89, @@ -9206,17 +9384,17 @@ "ignore": true }, { - "__docId__": 344, + "__docId__": 353, "kind": "function", "name": "getHitAreaNum", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getHitAreaNum", + "longname": "src/utils/ModelSettingJson.js~getHitAreaNum", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the amount of hit area from json", "lineNumber": 103, @@ -9253,17 +9431,17 @@ "ignore": true }, { - "__docId__": 345, + "__docId__": 354, "kind": "function", "name": "getHitAreaID", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getHitAreaID", + "longname": "src/utils/ModelSettingJson.js~getHitAreaID", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the hit area ID of given index from json", "lineNumber": 118, @@ -9300,17 +9478,17 @@ "ignore": true }, { - "__docId__": 346, + "__docId__": 355, "kind": "function", "name": "getHitAreaName", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getHitAreaName", + "longname": "src/utils/ModelSettingJson.js~getHitAreaName", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the hit area name of given index from json", "lineNumber": 134, @@ -9347,17 +9525,17 @@ "ignore": true }, { - "__docId__": 347, + "__docId__": 356, "kind": "function", "name": "getPhysicsFile", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getPhysicsFile", + "longname": "src/utils/ModelSettingJson.js~getPhysicsFile", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get physics file from json", "lineNumber": 150, @@ -9394,17 +9572,17 @@ "ignore": true }, { - "__docId__": 348, + "__docId__": 357, "kind": "function", "name": "getPoseFile", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getPoseFile", + "longname": "src/utils/ModelSettingJson.js~getPoseFile", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get pose file from json", "lineNumber": 162, @@ -9441,17 +9619,17 @@ "ignore": true }, { - "__docId__": 349, + "__docId__": 358, "kind": "function", "name": "getExpressionNum", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getExpressionNum", + "longname": "src/utils/ModelSettingJson.js~getExpressionNum", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the amount of expressions from json", "lineNumber": 174, @@ -9488,17 +9666,17 @@ "ignore": true }, { - "__docId__": 350, + "__docId__": 359, "kind": "function", "name": "getExpressionFile", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getExpressionFile", + "longname": "src/utils/ModelSettingJson.js~getExpressionFile", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get expression file from json", "lineNumber": 186, @@ -9535,17 +9713,17 @@ "ignore": true }, { - "__docId__": 351, + "__docId__": 360, "kind": "function", "name": "getExpressionName", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getExpressionName", + "longname": "src/utils/ModelSettingJson.js~getExpressionName", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the hit expression name of given index from json", "lineNumber": 200, @@ -9582,17 +9760,17 @@ "ignore": true }, { - "__docId__": 352, + "__docId__": 361, "kind": "function", "name": "getLayout", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getLayout", + "longname": "src/utils/ModelSettingJson.js~getLayout", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the layout from json", "lineNumber": 214, @@ -9629,17 +9807,17 @@ "ignore": true }, { - "__docId__": 353, + "__docId__": 362, "kind": "function", "name": "getInitParamNum", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getInitParamNum", + "longname": "src/utils/ModelSettingJson.js~getInitParamNum", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the amount of init parameter from json", "lineNumber": 226, @@ -9676,17 +9854,17 @@ "ignore": true }, { - "__docId__": 354, + "__docId__": 363, "kind": "function", "name": "getMotionNum", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getMotionNum", + "longname": "src/utils/ModelSettingJson.js~getMotionNum", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the amount of motions from json", "lineNumber": 238, @@ -9723,17 +9901,17 @@ "ignore": true }, { - "__docId__": 355, + "__docId__": 364, "kind": "function", "name": "getMotionFile", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getMotionFile", + "longname": "src/utils/ModelSettingJson.js~getMotionFile", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get motion file from json", "lineNumber": 254, @@ -9770,17 +9948,17 @@ "ignore": true }, { - "__docId__": 356, + "__docId__": 365, "kind": "function", "name": "getMotionSound", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getMotionSound", + "longname": "src/utils/ModelSettingJson.js~getMotionSound", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get motion's sound file from json", "lineNumber": 271, @@ -9817,17 +9995,17 @@ "ignore": true }, { - "__docId__": 357, + "__docId__": 366, "kind": "function", "name": "getMotionFadeIn", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getMotionFadeIn", + "longname": "src/utils/ModelSettingJson.js~getMotionFadeIn", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the motion's fade in setting from json", "lineNumber": 289, @@ -9864,17 +10042,17 @@ "ignore": true }, { - "__docId__": 358, + "__docId__": 367, "kind": "function", "name": "getMotionFadeOut", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getMotionFadeOut", + "longname": "src/utils/ModelSettingJson.js~getMotionFadeOut", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the motion's fade out setting from json", "lineNumber": 307, @@ -9911,17 +10089,17 @@ "ignore": true }, { - "__docId__": 359, + "__docId__": 368, "kind": "function", "name": "getInitParamID", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getInitParamID", + "longname": "src/utils/ModelSettingJson.js~getInitParamID", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the visible ID of init parameter from json", "lineNumber": 325, @@ -9958,17 +10136,17 @@ "ignore": true }, { - "__docId__": 360, + "__docId__": 369, "kind": "function", "name": "getInitParamValue", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getInitParamValue", + "longname": "src/utils/ModelSettingJson.js~getInitParamValue", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the visible value of init parameter from json", "lineNumber": 341, @@ -10005,17 +10183,17 @@ "ignore": true }, { - "__docId__": 361, + "__docId__": 370, "kind": "function", "name": "getInitPartsVisibleNum", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getInitPartsVisibleNum", + "longname": "src/utils/ModelSettingJson.js~getInitPartsVisibleNum", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the amount of init parts visible from json", "lineNumber": 356, @@ -10052,17 +10230,17 @@ "ignore": true }, { - "__docId__": 362, + "__docId__": 371, "kind": "function", "name": "getInitPartsVisibleID", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getInitPartsVisibleID", + "longname": "src/utils/ModelSettingJson.js~getInitPartsVisibleID", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the visible ID of init parts from json", "lineNumber": 368, @@ -10099,17 +10277,17 @@ "ignore": true }, { - "__docId__": 363, + "__docId__": 372, "kind": "function", "name": "getInitPartsVisibleValue", - "memberof": "src/_utils/_ModelSettingJson.js", + "memberof": "src/utils/ModelSettingJson.js", "generator": false, "async": false, "static": true, - "longname": "src/_utils/_ModelSettingJson.js~getInitPartsVisibleValue", + "longname": "src/utils/ModelSettingJson.js~getInitPartsVisibleValue", "access": "public", "export": false, - "importPath": "live2d-widget/src/_utils/_ModelSettingJson.js", + "importPath": "live2d-widget/src/utils/ModelSettingJson.js", "importStyle": null, "description": "get the visible value of init parts from json", "lineNumber": 382, @@ -10145,6 +10323,45 @@ }, "ignore": true }, + { + "__docId__": 373, + "kind": "file", + "name": "src/wpPublicPath.js", + "content": "/**\n * @description Automatic locate the publicPath and set it up for webpack.\n */\n\n\n'use strict';\n\n/**\n * Get current script path\n * @return {String} The path of current script\n * @example\n * get 'file:///C:/git/live2d-widget/dev/bundle.js' or 'https://www.host.com/test/js/bundle.js'\n */\n\nfunction getCurrentPath(){\n\n try{\n\n // FF, Chrome, Modern browsers\n // use their API to get the path of current script\n\n // a.b();\n // console.log('wpStage1');\n\n return document.currentScript.src;\n\n if(DOC.currentScript){ // FF 4+\n return DOC.currentScript.src;\n }\n\n }catch(e){\n\n // document.currentScript doesn't supports\n\n // console.log('wpStage2');\n\n // Method 1\n // https://github.com/mozilla/pdf.js/blob/e081a708c36cb2aacff7889048863723fcf23671/src/shared/compatibility.js#L97\n // IE, Chrome < 29\n\n let scripts = document.getElementsByTagName('script');\n return scripts[scripts.length - 1].src;\n\n/*\n // Method 2\n // parse the error stack trace maually\n // https://github.com/workhorsy/uncompress.js/blob/master/js/uncompress.js#L25\n\n let stack = e.stack;\n let line = null;\n\n // Chrome and IE\n if (stack.indexOf('@') !== -1) {\n line = stack.split('@')[1].split('\\n')[0];\n // Firefox\n } else {\n line = stack.split('(')[1].split(')')[0];\n }\n line = line.substring(0, line.lastIndexOf('/')) + '/';\n return line;\n*/\n/*\n // Method 3\n // https://www.cnblogs.com/rubylouvre/archive/2013/01/23/2872618.html\n\n let stack = e.stack;\n if(!stack && window.opera){\n // Opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取\n stack = (String(e).match(/of linked script \\S+/g) || []).join(' ');\n }\n if(stack){\n // e.stack最后一行在所有支持的浏览器大致如下:\n      // chrome23:\n      // @ http://113.93.50.63/data.js:4:1\n      // firefox17:\n      // @http://113.93.50.63/query.js:4\n      // opera12:\n      // @http://113.93.50.63/data.js:4\n      // IE10:\n      // @ Global code (http://113.93.50.63/data.js:4:1)\n     stack = stack.split(/[@ ]/g).pop(); // 取得最后一行,最后一个空格或@之后的部分\n stack = stack[0] == '(' ? stack.slice(1,-1) : stack;\n return stack.replace(/(:\\d+)?:\\d+$/i, ''); // 去掉行号与或许存在的出错字符起始位置\n }\n let nodes = head.getElementsByTagName('script'); // 只在head标签中寻找\n for(var i = 0, node; node = nodes[i++];){\n if(node.readyState === 'interactive'){\n return node.className = node.src;\n }\n }\n*/\n }\n\n}\n\n// expose the path to the global,\n// and wp will finish the following work\n__webpack_public_path__ = getCurrentPath().replace(/[^/\\\\\\\\]+$/, '');\nif (process.env.NODE_ENV === 'development'){\n console.log(`wpPP: publicPath: ${__webpack_public_path__}`);\n}\n\nexport {\n getCurrentPath,\n}\n", + "static": true, + "longname": "D:/git/live2d-widget.js/src/wpPublicPath.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 374, + "kind": "function", + "name": "getCurrentPath", + "memberof": "src/wpPublicPath.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/wpPublicPath.js~getCurrentPath", + "access": "public", + "export": true, + "importPath": "live2d-widget/src/wpPublicPath.js", + "importStyle": "{getCurrentPath}", + "description": "Get current script path", + "examples": [ + "get 'file:///C:/git/live2d-widget/dev/bundle.js' or 'https://www.host.com/test/js/bundle.js'" + ], + "lineNumber": 15, + "return": { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "description": "The path of current script" + }, + "params": [] + }, { "kind": "index", "content": "[![npm][npm]][npm-url]\n[![deps][deps]][deps-url]\n[![devdeps][devdeps]][devdeps-url]\n\n[![downloads][downloads]][downloads-url]\n[![downloads-month][downloads-month]][downloads-month-url]\n\n[![GitHub stars][GitHub stars]][GitHub stars-url]\n[![GitHub forks][GitHub forks]][GitHub forks-url]\n[![GitHub issues][GitHub issues]][GitHub issues-url]\n\n[![Commitizen friendly][Commitizen friendly]][Commitizen friendly-url]\n[![PRs Welcome][PRs Welcome]][PRs Welcome-url]\n[![license][license]][license-url]\n\n\n# live2d-widget.js\n\nAdd the Sseexxyyy live2d to your webpages!\n\n[TOC]\n\nDemo: [TBD.](javascript:void(0);)\n\nOnline generator: [TBD.](javascript:void(0);)\n\n\n## Installation\n\n### Hexo\n\nPlease visit [hexo-helper-live2d](https://github.com/EYHN/hexo-helper-live2d) for the hexo plugin.\n\n### Webpack\n\nInstall the module:\n\n```\nnpm install --save live2d-widet.js\n```\n\nImport the module:\n\n```js\n// using as es modules\nimport 'live2d-widget.js';\n```\n\nThen call the function along with your config.\n\n```js\ninitL2Dwidget({\n 'config1': 'value1',\n 'config2': 'value2',\n});\n```\n\n### Online\n\nhttps://github.com/jsdelivr/jsdelivr/\n\nTBD.\n\n## Settings\n\nSee src/SettingTip.txt\n\n
Current supported models:
\n\n - `chitose`\n - `Epsilon2.1`\n - `Gantzert_Felixander`\n - `haru01`\n - `haru02`\n - `haruto`\n - `hibiki`\n - `hijiki`\n - `izumi`\n - `koharu`\n - `miku`\n - `nico`\n - `ni-j`\n - `nipsilon`\n - `nito`\n - `shizuku`\n - `tororo`\n - `tsumiki`\n - `Unitychan`\n - `wanko`\n - `z16`\n\n
\n\n## Custom model\n\n1. Create a `live2d_models` folder at your blog's root directory.\n\n2. Create a folder by the name of your model.\n\n3. Copy your model to this folder.\n\n**Attention! The path of the model's json must be `/live2d_models/{name}/{name}.model.json`**\n\n
An Example:
\n\nYour model is named `mymiku`.\n\nThen, create a folder at `/` (Which should exists `_config.yml` 、`sources` 、 `themes` ) named `mymiku`.\n\nCopy your model to `/live2d_models/mymiku/`.\n\nUp to now, there should be `mymiku.model.json` in the directory of `/live2d_models/mymiku/`.\n\n
\n\n
~The problem was once releated to [(#22)](https://github.com/EYHN/hexo-helper-live2d/issues/22).~\n\n
\n\nEnjoy!:beer:\n\n> This is my first hexo plugin, star :star: and watch :eyeglasses:, pull request is also welcomed.\n\nGithub: [https://github.com/EYHN/hexo-helper-live2d](https://github.com/EYHN/hexo-helper-live2d)\n\nissues: [https://github.com/EYHN/hexo-helper-live2d/issues](https://github.com/EYHN/hexo-helper-live2d/issues)\n\n\n## Contribute\n\n**Please pay enough attention to this document if you want to commit your changes or submit issues.**\n\n[CONTRIBUTING](./CONTRIBUTING.md)\n\n## Releated projects\n\n- [Cubism SDK WebGL 2.1](http://sites.cybernoids.jp/cubism-sdk2_e/webgl2-1)\n\n- [pixi-live2d](https://github.com/avgjs/pixi-live2d)\n\n- [CubismJsComponents](https://github.com/Live2D/CubismJsComponents)\n\n- [live2d-widget.js](https://github.com/xiazeyu/live2d-widget.js)\n\n- [hexo-helper-live2d](https://github.com/EYHN/hexo-helper-live2d)\n\n\n## About me\n\n[![Author][author]][author-url]\n\n[![QQ][qq]][qq-url]\n\n[![Email][email]][email-url]\n\n\n## Imported\n\n[![current-device][current-device]][current-device-url]\n\n
\n\nOpen sourced under the GPL v2.0 license.\n\n[npm]: https://badge.fury.io/js/hexo-helper-live2d.svg?label=hexo-helper-live2d\n[npm-url]: https://www.npmjs.com/package/hexo-helper-live2d\n\n[deps]: https://img.shields.io/david/EYHN/hexo-helper-live2d.svg\n[deps-url]: javascript:void(0);\n\n[devdeps]: https://img.shields.io/david/dev/EYHN/hexo-helper-live2d.svg\n[devdeps-url]: javascript:void(0);\n\n[license]: https://img.shields.io/github/license/EYHN/hexo-helper-live2d.svg\n[license-url]: https://github.com/EYHN/hexo-helper-live2d/blob/master/LICENSE\n\n[PRs Welcome]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[PRs Welcome-url]: http://makeapullrequest.com\n\n[downloads]: https://img.shields.io/npm/dt/hexo-helper-live2d.svg\n[downloads-url]: https://www.npmjs.com/package/hexo-helper-live2d\n\n[downloads-month]: https://img.shields.io/npm/dm/hexo-helper-live2d.svg\n[downloads-month-url]: https://www.npmjs.com/package/hexo-helper-live2d\n\n[Commitizen friendly]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\n[Commitizen friendly-url]: http://commitizen.github.io/cz-cli/\n\n[GitHub stars]: https://img.shields.io/github/stars/EYHN/hexo-helper-live2d.svg\n[GitHub stars-url]: https://github.com/EYHN/hexo-helper-live2d/stargazers\n\n[GitHub forks]: https://img.shields.io/github/forks/EYHN/hexo-helper-live2d.svg\n[GitHub forks-url]: https://github.com/EYHN/hexo-helper-live2d/network\n\n[GitHub issues]: https://img.shields.io/github/issues/EYHN/hexo-helper-live2d.svg\n[GitHub issues-url]: https://github.com/EYHN/hexo-helper-live2d/issues\n\n[author]: https://img.shields.io/badge/author-cneyhn-green.svg\n[author-url]: https://delusion.coding.me/\n\n[qq]: https://img.shields.io/badge/QQ-1106996185-blue.svg\n[qq-url]: http://wpa.qq.com/msgrd?v=3&uin=&site=qq&menu=yes\n\n[email]: https://img.shields.io/badge/Emali%20me-cneyhn@gmail.com-green.svg\n[email-url]: mailto:cneyhn@gmail.com\n\n[current-device]: https://img.shields.io/npm/v/current-device.svg?label=current-device\n[current-device-url]: https://github.com/matthewhudson/current-device\n", diff --git a/ghpages/docs/script/search_index.js b/ghpages/docs/script/search_index.js index 7ae5175..4aed2cb 100644 --- a/ghpages/docs/script/search_index.js +++ b/ghpages/docs/script/search_index.js @@ -1,14 +1,98 @@ window.esdocSearchIndex = [ [ - "live2d-widget/src/_utils/_modelsettingjson.js~modelsettingjson", + "live2d-widget/src/lib/live2dframework.js~eye_state", + "function/index.html#static-function-EYE_STATE", + "EYE_STATE live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dbasemodel", + "function/index.html#static-function-L2DBaseModel", + "L2DBaseModel live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dexpressionmotion", + "function/index.html#static-function-L2DExpressionMotion", + "L2DExpressionMotion live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dexpressionparam", + "function/index.html#static-function-L2DExpressionParam", + "L2DExpressionParam live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2deyeblink", + "function/index.html#static-function-L2DEyeBlink", + "L2DEyeBlink live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dmatrix44", + "function/index.html#static-function-L2DMatrix44", + "L2DMatrix44 live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dmodelmatrix", + "function/index.html#static-function-L2DModelMatrix", + "L2DModelMatrix live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dmotionmanager", + "function/index.html#static-function-L2DMotionManager", + "L2DMotionManager live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dpartsparam", + "function/index.html#static-function-L2DPartsParam", + "L2DPartsParam live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dphysics", + "function/index.html#static-function-L2DPhysics", + "L2DPhysics live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dpose", + "function/index.html#static-function-L2DPose", + "L2DPose live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dtargetpoint", + "function/index.html#static-function-L2DTargetPoint", + "L2DTargetPoint live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~l2dviewmatrix", + "function/index.html#static-function-L2DViewMatrix", + "L2DViewMatrix live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/lib/live2dframework.js~live2dframework", + "function/index.html#static-function-Live2DFramework", + "Live2DFramework live2d-widget/src/lib/Live2DFramework.js", + "function" + ], + [ + "live2d-widget/src/utils/modelsettingjson.js~modelsettingjson", "function/index.html#static-function-ModelSettingJson", - "ModelSettingJson live2d-widget/src/_utils/_ModelSettingJson.js", + "ModelSettingJson live2d-widget/src/utils/ModelSettingJson.js", "function" ], [ - "live2d-widget/src/_platformmanager.js~platformmanager", + "live2d-widget/src/platformmanager.js~platformmanager", "function/index.html#static-function-PlatformManager", - "PlatformManager live2d-widget/src/_PlatformManager.js", + "PlatformManager live2d-widget/src/PlatformManager.js", "function" ], [ @@ -18,15 +102,15 @@ window.esdocSearchIndex = [ "function" ], [ - "live2d-widget/src/_cmanager.js~cmanager", + "live2d-widget/src/cmanager.js~cmanager", "function/index.html#static-function-cManager", - "cManager live2d-widget/src/_cManager.js", + "cManager live2d-widget/src/cManager.js", "function" ], [ - "live2d-widget/src/_cmodel.js~cmodel", + "live2d-widget/src/cmodel.js~cmodel", "function/index.html#static-function-cModel", - "cModel live2d-widget/src/_cModel.js", + "cModel live2d-widget/src/cModel.js", "function" ], [ @@ -342,45 +426,33 @@ window.esdocSearchIndex = [ "external" ], [ - "src/_platformmanager.js", - "file/src/_PlatformManager.js.html", - "src/_PlatformManager.js", - "file" - ], - [ - "src/_cdefine.js", - "file/src/_cDefine.js.html", - "src/_cDefine.js", + "src/platformmanager.js", + "file/src/PlatformManager.js.html", + "src/PlatformManager.js", "file" ], [ - "src/_cmanager.js", - "file/src/_cManager.js.html", - "src/_cManager.js", + "src/cdefine.js", + "file/src/cDefine.js.html", + "src/cDefine.js", "file" ], [ - "src/_cmodel.js", - "file/src/_cModel.js.html", - "src/_cModel.js", + "src/clive2dapp.js", + "file/src/cLive2DApp.js.html", + "src/cLive2DApp.js", "file" ], [ - "src/_utils/_matrixstack.js", - "file/src/_utils/_MatrixStack.js.html", - "src/_utils/_MatrixStack.js", + "src/cmanager.js", + "file/src/cManager.js.html", + "src/cManager.js", "file" ], [ - "src/_utils/_modelsettingjson.js", - "file/src/_utils/_ModelSettingJson.js.html", - "src/_utils/_ModelSettingJson.js", - "file" - ], - [ - "src/clive2dapp.js", - "file/src/cLive2DApp.js.html", - "src/cLive2DApp.js", + "src/cmodel.js", + "file/src/cModel.js.html", + "src/cModel.js", "file" ], [ @@ -408,9 +480,9 @@ window.esdocSearchIndex = [ "file" ], [ - "src/lib/_live2dframework.js", - "file/src/lib/_Live2DFramework.js.html", - "src/lib/_Live2DFramework.js", + "src/lib/live2dframework.js", + "file/src/lib/Live2DFramework.js.html", + "src/lib/Live2DFramework.js", "file" ], [ @@ -419,6 +491,18 @@ window.esdocSearchIndex = [ "src/lib/_Live2DFramework.official.js", "file" ], + [ + "src/utils/matrixstack.js", + "file/src/utils/MatrixStack.js.html", + "src/utils/MatrixStack.js", + "file" + ], + [ + "src/utils/modelsettingjson.js", + "file/src/utils/ModelSettingJson.js.html", + "src/utils/ModelSettingJson.js", + "file" + ], [ "src/wppublicpath.js", "file/src/wpPublicPath.js.html", diff --git a/ghpages/docs/source.html b/ghpages/docs/source.html index 27221c3..8bdfc85 100644 --- a/ghpages/docs/source.html +++ b/ghpages/docs/source.html @@ -30,20 +30,34 @@ -

Source 61/302

+

Source 61/313

summary
+ public + + + + + +
+

+ F + + + ModelSettingJson(null: *): Structure +

+
+
+ + +

return the struct of ModelSettingJson

+
+
+
+ +
@@ -59,60 +73,44 @@ - + - - - + + + - + - + + + + + + + + + - + - - - + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -148,12 +146,25 @@ - - + + - + - + @@ -163,6 +174,22 @@ + + + + + + + + + + + + + + + + diff --git a/ghpages/docs/variable/index.html b/ghpages/docs/variable/index.html index 3e79b61..fb2ec09 100644 --- a/ghpages/docs/variable/index.html +++ b/ghpages/docs/variable/index.html @@ -30,15 +30,29 @@ diff --git a/ghpages/lib/clL2D.0.min.js b/ghpages/lib/clL2D.0.min.js new file mode 100644 index 0000000..0fa8791 --- /dev/null +++ b/ghpages/lib/clL2D.0.min.js @@ -0,0 +1,3 @@ +/*! https://github.com/xiazeyu/live2d-widget.js built@2018-1-13 21:25:21 */ +webpackJsonpinitL2Dwidget([0],{130:function(t,i,r){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e,_=r(51),o=r(131),s=r(133),n=r(135),$=(r(136),r(137)),a=r(138),h=(e=a,e&&e.__esModule?e:{default:e});var l=!1,u=null,p=null,f=null,c=null;i.default=function(){(0,o.createElement)(),u=new n.L2DTargetPoint;var t=_.config.display.height/_.config.display.width,i=h.default.VIEW_LOGICAL_LEFT,r=h.default.VIEW_LOGICAL_RIGHT,e=-t,a=t;(p=new n.L2DViewMatrix).setScreenRect(i,r,e,a),p.setMaxScreenRect(h.default.VIEW_LOGICAL_MAX_LEFT,h.default.VIEW_LOGICAL_MAX_RIGHT,h.default.VIEW_LOGICAL_MAX_BOTTOM,h.default.VIEW_LOGICAL_MAX_TOP),(f=new n.L2DMatrix44).multScale(1,_.config.display.width/_.config.display.height),(c=new n.L2DMatrix44).multTranslate(-_.config.display.width/2,-_.config.display.height/2),c.multScale(2/_.config.display.width,-2/_.config.display.height),s.Live2D.setGL(o.currWebGL),o.currWebGL.clearColor(0,0,0,0),y=_.config.model.jsonPath,live2DMgr.reloadFlg=!0,live2DMgr.count++,live2DMgr.changeModel(o.currWebGL,y);var y;l||(l=!0,function t(){!function(){$.MatrixStack.reset(),$.MatrixStack.loadIdentity(),u.update(),live2DMgr.setDrag(u.getX(),u.getY()),o.currWebGL.clear(o.currWebGL.COLOR_BUFFER_BIT),$.MatrixStack.multMatrix(f.getArray()),$.MatrixStack.multMatrix(p.getArray()),$.MatrixStack.push();for(var t=0;tG._$T7){t._$NP|=e._$4s;throw new at("_$gi _$C _$li , _$n0 _$_ version _$li ( SDK : "+G._$T7+" < _$f0 : "+r+" )@_$SS#loadModel()\n")}var a=_._$nP();if(r>=G._$s7){var h=_._$9T(),l=_._$9T();if(-30584!=h||-30584!=l)throw t._$NP|=e._$0s,new at("_$gi _$C _$li , _$0 _$6 _$Ui.")}t._$KS(a);var u=t.getModelContext();u.setDrawParam(t.getDrawParam()),u.init()}catch(t){n._$Rb(t)}},e.prototype._$KS=function(t){this._$MT=t},e.prototype.getModelImpl=function(){return null==this._$MT&&(this._$MT=new l,this._$MT._$zP()),this._$MT},e.prototype.getCanvasWidth=function(){return null==this._$MT?0:this._$MT.getCanvasWidth()},e.prototype.getCanvasHeight=function(){return null==this._$MT?0:this._$MT.getCanvasHeight()},e.prototype.getParamFloat=function(t){return"number"!=typeof t&&(t=this._$5S.getParamIndex(h.getID(t))),this._$5S.getParamFloat(t)},e.prototype.setParamFloat=function(t,i,r){"number"!=typeof t&&(t=this._$5S.getParamIndex(h.getID(t))),arguments.length<3&&(r=1),this._$5S.setParamFloat(t,this._$5S.getParamFloat(t)*(1-r)+i*r)},e.prototype.addToParamFloat=function(t,i,r){"number"!=typeof t&&(t=this._$5S.getParamIndex(h.getID(t))),arguments.length<3&&(r=1),this._$5S.setParamFloat(t,this._$5S.getParamFloat(t)+i*r)},e.prototype.multParamFloat=function(t,i,r){"number"!=typeof t&&(t=this._$5S.getParamIndex(h.getID(t))),arguments.length<3&&(r=1),this._$5S.setParamFloat(t,this._$5S.getParamFloat(t)*(1+(i-1)*r))},e.prototype.getParamIndex=function(t){return this._$5S.getParamIndex(h.getID(t))},e.prototype.loadParam=function(){this._$5S.loadParam()},e.prototype.saveParam=function(){this._$5S.saveParam()},e.prototype.init=function(){this._$5S.init()},e.prototype.update=function(){this._$5S.update()},e.prototype._$Rs=function(){return n._$li("_$60 _$PT _$Rs()"),-1},e.prototype._$Ds=function(t){n._$li("_$60 _$PT _$SS#_$Ds() \n")},e.prototype._$K2=function(){},e.prototype.draw=function(){},e.prototype.getModelContext=function(){return this._$5S},e.prototype._$s2=function(){return this._$NP},e.prototype._$P7=function(t,i,r,e){var _=-1,o=0;if(0!=r)if(1==t.length){u=t[0];var s=0!=this.getParamFloat(u),n=(p=i[0],this.getPartsOpacity(p)),$=r/e;s?(n+=$)>1&&(n=1):(n-=$)<0&&(n=0),this.setPartsOpacity(p,n)}else{for(l=0;l=0)break;_=l;p=i[l];o=this.getPartsOpacity(p),(o+=r/e)>1&&(o=1)}}_<0&&(console.log("No _$wi _$q0/ _$U default[%s]",t[0]),_=0,o=1,this.loadParam(),this.setParamFloat(t[_],o),this.saveParam());for(l=0;l.15&&(a=1-.15/(1-o)),h>a&&(h=a),this.setPartsOpacity(p,h)}}}else for(var l=0;l=this._$5S._$aS.length)return null;var i=this._$5S._$aS[t];return null!=i&&i.getType()==H._$wb&&i instanceof ht?i.getIndexArray():null};function _(t){if(!r){this.clipContextList=new Array,this.glcontext=t.gl,this.dp_webgl=t,this.curFrameNo=0,this.firstError_clipInNotUpdate=!0,this.colorBuffer=0,this.isInitGLFBFunc=!1,this.tmpBoundsOnModel=new P,nt.glContext.length>nt.frameBuffers.length&&(this.curFrameNo=this.getMaskRenderTexture()),this.tmpModelToViewMatrix=new I,this.tmpMatrix2=new I,this.tmpMatrixForMask=new I,this.tmpMatrixForDraw=new I,this.CHANNEL_COLORS=new Array;var i=new A;(i=new A).r=0,i.g=0,i.b=0,i.a=1,this.CHANNEL_COLORS.push(i),(i=new A).r=1,i.g=0,i.b=0,i.a=0,this.CHANNEL_COLORS.push(i),(i=new A).r=0,i.g=1,i.b=0,i.a=0,this.CHANNEL_COLORS.push(i),(i=new A).r=0,i.g=0,i.b=1,i.a=0,this.CHANNEL_COLORS.push(i);for(var e=0;e=0;--t)this.CHANNEL_COLORS.splice(t,1);this.CHANNEL_COLORS=[]}this.releaseShader()},_.prototype.releaseShader=function(){for(var t=nt.frameBuffers.length,i=0;i0){var o=i.gl.getParameter(i.gl.FRAMEBUFFER_BINDING),s=new Array(4);s[0]=0,s[1]=0,s[2]=i.gl.canvas.width,s[3]=i.gl.canvas.height,i.gl.viewport(0,0,nt.clippingMaskBufferSize,nt.clippingMaskBufferSize),this.setupLayoutBounds(r),i.gl.bindFramebuffer(i.gl.FRAMEBUFFER,nt.frameBuffers[this.curFrameNo].framebuffer),i.gl.clearColor(0,0,0,0),i.gl.clear(i.gl.COLOR_BUFFER_BIT);for(e=0;ee?r:e,o=_,s=_,n=0,$=0,a=i.clippedDrawContextList.length,h=0;hn&&(n=P),L>$&&($=L)}}if(o==_)i.allClippedDrawRect.x=0,i.allClippedDrawRect.y=0,i.allClippedDrawRect.width=0,i.allClippedDrawRect.height=0,i.isUsing=!1;else{var S=n-o,v=$-s;i.allClippedDrawRect.x=o,i.allClippedDrawRect.y=s,i.allClippedDrawRect.width=S,i.allClippedDrawRect.height=v,i.isUsing=!0}},_.prototype.setupLayoutBounds=function(t){var i=t/_.CHANNEL_COUNT,r=t%_.CHANNEL_COUNT;i=~~i,r=~~r;for(var e=0,o=0;o<_.CHANNEL_COUNT;o++){var s=i+(o=1)return 1;var u=e*e;return a*(e*u)+h*u+l*e+0},s.prototype._$a0=function(){},s.prototype.setFadeIn=function(t){this._$dP=t},s.prototype.setFadeOut=function(t){this._$eo=t},s.prototype._$pT=function(t){this._$V0=t},s.prototype.getFadeOut=function(){return this._$eo},s.prototype._$4T=function(){return this._$eo},s.prototype._$mT=function(){return this._$V0},s.prototype.getDurationMSec=function(){return-1},s.prototype.getLoopDurationMSec=function(){return-1},s.prototype.updateParam=function(t,i){if(i._$AT&&!i._$9L){var r=b.getUserTimeMSec();if(i._$z2<0){i._$z2=r,i._$bs=r;var e=this.getDurationMSec();i._$Do<0&&(i._$Do=e<=0?-1:i._$z2+e)}var _=this._$V0;0<=(_=_*(0==this._$dP?1:$t._$r2((r-i._$bs)/this._$dP))*(0==this._$eo||i._$Do<0?1:$t._$r2((i._$Do-r)/this._$eo)))&&_<=1||console.log("### assert!! ### "),this.updateParamExe(t,r,_,i),i._$Do>0&&i._$Do0?console.log("\n"):r%8==0&&r>0&&console.log(" "),console.log("%02X ",255&t[r]);console.log("\n")},n._$nr=function(t,i,r){console.log("%s\n",t);for(var e=i.length,_=0;_=0;--e){this._$lL[e]._$oP(t,this)}this._$oo(t,r),this._$M2=this._$Yb(),this._$9b=(this._$M2-this._$ks)/r,this._$ks=this._$M2}for(e=this._$qP.length-1;e>=0;--e){this._$qP[e]._$YS(t,this)}this._$iT=i},u.prototype._$oo=function(t,i){i<.033&&(i=.033);var r=1/i;this.p1.vx=(this.p1.x-this.p1._$s0)*r,this.p1.vy=(this.p1.y-this.p1._$70)*r,this.p1.ax=(this.p1.vx-this.p1._$7L)*r,this.p1.ay=(this.p1.vy-this.p1._$HL)*r,this.p1.fx=this.p1.ax*this.p1._$p,this.p1.fy=this.p1.ay*this.p1._$p,this.p1._$xT();var e,_,o=-Math.atan2(this.p1.y-this.p2.y,this.p1.x-this.p2.x),s=Math.cos(o),n=Math.sin(o),$=9.8*this.p2._$p,a=this._$Db*St._$bS,h=$*Math.cos(o-a);e=h*n,_=h*s;var l=-this.p1.fx*n*n,u=-this.p1.fy*n*s,p=-this.p2.vx*this._$L2,f=-this.p2.vy*this._$L2;this.p2.fx=e+l+p,this.p2.fy=_+u+f,this.p2.ax=this.p2.fx/this.p2._$p,this.p2.ay=this.p2.fy/this.p2._$p,this.p2.vx+=this.p2.ax*i,this.p2.vy+=this.p2.ay*i,this.p2.x+=this.p2.vx*i,this.p2.y+=this.p2.vy*i;var c=Math.sqrt((this.p1.x-this.p2.x)*(this.p1.x-this.p2.x)+(this.p1.y-this.p2.y)*(this.p1.y-this.p2.y));this.p2.x=this.p1.x+this._$Fo*(this.p2.x-this.p1.x)/c,this.p2.y=this.p1.y+this._$Fo*(this.p2.y-this.p1.y)/c,this.p2.vx=(this.p2.x-this.p2._$s0)*r,this.p2.vy=(this.p2.y-this.p2._$70)*r,this.p2._$xT()};function p(){this._$p=1,this.x=0,this.y=0,this.vx=0,this.vy=0,this.ax=0,this.ay=0,this.fx=0,this.fy=0,this._$s0=0,this._$70=0,this._$7L=0,this._$HL=0}p.prototype._$xT=function(){this._$s0=this.x,this._$70=this.y,this._$7L=this.vx,this._$HL=this.vy};function f(t,i,r){this._$wL=null,this.scale=null,this._$V0=null,this._$wL=t,this.scale=i,this._$V0=r}f.prototype._$oP=function(t,i){};function c(t,i,r,e){f.prototype.constructor.call(this,i,r,e),this._$tL=null,this._$tL=t}c.prototype=new f,c.prototype._$oP=function(t,i){var r=this.scale*t.getParamFloat(this._$wL),e=i.getPhysicsPoint1();switch(this._$tL){default:case u.Src.SRC_TO_X:e.x=e.x+(r-e.x)*this._$V0;break;case u.Src.SRC_TO_Y:e.y=e.y+(r-e.y)*this._$V0;break;case u.Src.SRC_TO_G_ANGLE:var _=i._$qr();_+=(r-_)*this._$V0,i._$pr(_)}};function y(t,i,r){this._$wL=null,this.scale=null,this._$V0=null,this._$wL=t,this.scale=i,this._$V0=r}y.prototype._$YS=function(t,i){};function g(t,i,r,e){y.prototype.constructor.call(this,i,r,e),this._$YP=null,this._$YP=t}g.prototype=new y,g.prototype._$YS=function(t,i){switch(this._$YP){default:case u.Target.TARGET_FROM_ANGLE:t.setParamFloat(this._$wL,this.scale*i._$5r(),this._$V0);break;case u.Target.TARGET_FROM_ANGLE_V:t.setParamFloat(this._$wL,this.scale*i._$Cs(),this._$V0)}},u.Src=function(){},u.Src.SRC_TO_X="SRC_TO_X",u.Src.SRC_TO_Y="SRC_TO_Y",u.Src.SRC_TO_G_ANGLE="SRC_TO_G_ANGLE",u.Target=function(){},u.Target.TARGET_FROM_ANGLE="TARGET_FROM_ANGLE",u.Target.TARGET_FROM_ANGLE_V="TARGET_FROM_ANGLE_V";function d(){r||(this._$fL=0,this._$gL=0,this._$B0=1,this._$z0=1,this._$qT=0,this.reflectX=!1,this.reflectY=!1)}d.prototype.init=function(t){this._$fL=t._$fL,this._$gL=t._$gL,this._$B0=t._$B0,this._$z0=t._$z0,this._$qT=t._$qT,this.reflectX=t.reflectX,this.reflectY=t.reflectY},d.prototype._$F0=function(t){this._$fL=t._$_T(),this._$gL=t._$_T(),this._$B0=t._$_T(),this._$z0=t._$_T(),this._$qT=t._$_T(),t.getFormatVersion()>=G.LIVE2D_FORMAT_VERSION_V2_10_SDK2&&(this.reflectX=t._$po(),this.reflectY=t._$po())},d.prototype._$e=function(){};var T=function(){};T._$ni=function(t,i,r,e,_,o,s,n,$){var a=s*o-n*_;if(0==a)return null;var h,l=((t-r)*o-(i-e)*_)/a;return h=0!=_?(t-r-l*s)/_:(i-e-l*n)/o,isNaN(h)&&(h=(t-r-l*s)/_,isNaN(h)&&(h=(i-e-l*n)/o),isNaN(h)&&(console.log("a is NaN @UtVector#_$ni() "),console.log("v1x : "+_),console.log("v1x != 0 ? "+(0!=_)))),null==$?new Array(h,l):($[0]=h,$[1]=l,$)};function P(){r||(this.x=null,this.y=null,this.width=null,this.height=null)}P.prototype._$8P=function(){return this.x+.5*this.width},P.prototype._$6P=function(){return this.y+.5*this.height},P.prototype._$EL=function(){return this.x+this.width},P.prototype._$5T=function(){return this.y+this.height},P.prototype._$jL=function(t,i,r,e){this.x=t,this.y=i,this.width=r,this.height=e},P.prototype._$jL=function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},P.prototype.contains=function(t,i){return this.x<=this.x&&this.y<=this.y&&this.x<=this.x+this.width&&this.y<=this.y+this.height},P.prototype.expand=function(t,i){this.x-=t,this.y-=i,this.width+=2*t,this.height+=2*i};function L(){}L._$Z2=function(t,i,r,e){var _=i._$Q2(t,r),o=t._$vs(),s=t._$Tr();if(i._$zr(o,s,_),_<=0)return e[o[0]];if(1==_){return(n=e[o[0]])+(($=e[o[1]])-n)*(l=s[0])|0}if(2==_){var n=e[o[0]],$=e[o[1]],a=e[o[2]],h=e[o[3]],l=s[0],u=s[1];return(L=n+($-n)*l|0)+((a+(h-a)*l|0)-L)*u|0}if(3==_){var p=e[o[0]],f=e[o[1]],c=e[o[2]],y=e[o[3]],g=e[o[4]],d=e[o[5]],m=e[o[6]],T=e[o[7]],P=(l=s[0],u=s[1],s[2]);return(L=(n=p+(f-p)*l|0)+(($=c+(y-c)*l|0)-n)*u|0)+(((a=g+(d-g)*l|0)+((h=m+(T-m)*l|0)-a)*u|0)-L)*P|0}if(4==_){var L,S=e[o[0]],v=e[o[1]],w=e[o[2]],A=e[o[3]],E=e[o[4]],b=e[o[5]],x=e[o[6]],D=e[o[7]],C=e[o[8]],I=e[o[9]],O=e[o[10]],M=e[o[11]],F=e[o[12]],R=e[o[13]],N=e[o[14]],B=e[o[15]],G=(l=s[0],u=s[1],P=s[2],s[3]);return(L=(n=(p=S+(v-S)*l|0)+((f=w+(A-w)*l|0)-p)*u|0)+(($=(c=E+(b-E)*l|0)+((y=x+(D-x)*l|0)-c)*u|0)-n)*P|0)+(((a=(g=C+(I-C)*l|0)+((d=O+(M-O)*l|0)-g)*u|0)+((h=(m=F+(R-F)*l|0)+((T=N+(B-N)*l|0)-m)*u|0)-a)*P|0)-L)*G|0}for(var U=1<<_,Y=new Float32Array(U),k=0;k=G._$T7?(this.clipID=t._$nP(),this.clipIDList=this.convertClipIDForV2_11(this.clipID)):this.clipIDList=[],this._$MS(this._$Lb)},v.prototype.getClipIDList=function(){return this.clipIDList},v.prototype.init=function(t){},v.prototype._$Nr=function(t,i){if(i._$IS[0]=!1,i._$Us=L._$Z2(t,this._$GS,i._$IS,this._$Lb),nt._$Zs);else if(i._$IS[0])return;i._$7s=L._$br(t,this._$GS,i._$IS,this._$mS)},v.prototype._$2b=function(t,i){},v.prototype.getDrawDataID=function(){return this._$gP},v.prototype._$j2=function(t){this._$gP=t},v.prototype.getOpacity=function(t,i){return i._$7s},v.prototype._$zS=function(t,i){return i._$Us},v.prototype._$MS=function(t){for(var i=t.length-1;i>=0;--i){var r=t[i];rv._$R2&&(v._$R2=r)}},v.prototype.getTargetBaseDataID=function(){return this._$dr},v.prototype._$gs=function(t){this._$dr=t},v.prototype._$32=function(){return null!=this._$dr&&this._$dr!=gt._$2o()},v.prototype.preDraw=function(t,i,r){},v.prototype.draw=function(t,i,r){},v.prototype.getType=function(){},v.prototype._$B2=function(t,i,r){};function w(){r||(this._$Eb=w._$ps,this._$lT=1,this._$C0=1,this._$tT=1,this._$WL=1,this.culling=!1,this.matrix4x4=new Float32Array(16),this.premultipliedAlpha=!1,this.anisotropy=0,this.clippingProcess=w.CLIPPING_PROCESS_NONE,this.clipBufPre_clipContextMask=null,this.clipBufPre_clipContextDraw=null,this.CHANNEL_COLORS=new Array)}w._$ps=32,w.CLIPPING_PROCESS_NONE=0,w.CLIPPING_PROCESS_OVERWRITE_ALPHA=1,w.CLIPPING_PROCESS_MULTIPLY_ALPHA=2,w.CLIPPING_PROCESS_DRAW=3,w.CLIPPING_PROCESS_CLEAR_ALPHA=4,w.prototype.setChannelFlagAsColor=function(t,i){this.CHANNEL_COLORS[t]=i},w.prototype.getChannelFlagAsColor=function(t){return this.CHANNEL_COLORS[t]},w.prototype._$ZT=function(){},w.prototype._$Uo=function(t,i,r,e,_,o,s){},w.prototype._$Rs=function(){return-1},w.prototype._$Ds=function(t){},w.prototype.setBaseColor=function(t,i,r,e){t<0?t=0:t>1&&(t=1),i<0?i=0:i>1&&(i=1),r<0?r=0:r>1&&(r=1),e<0?e=0:e>1&&(e=1),this._$lT=t,this._$C0=i,this._$tT=r,this._$WL=e},w.prototype._$WP=function(t){this.culling=t},w.prototype.setMatrix=function(t){for(var i=0;i<16;i++)this.matrix4x4[i]=t[i]},w.prototype._$IT=function(){return this.matrix4x4},w.prototype.setPremultipliedAlpha=function(t){this.premultipliedAlpha=t},w.prototype.isPremultipliedAlpha=function(){return this.premultipliedAlpha},w.prototype.setAnisotropy=function(t){this.anisotropy=t},w.prototype.getAnisotropy=function(){return this.anisotropy},w.prototype.getClippingProcess=function(){return this.clippingProcess},w.prototype.setClippingProcess=function(t){this.clippingProcess=t},w.prototype.setClipBufPre_clipContextForMask=function(t){this.clipBufPre_clipContextMask=t},w.prototype.getClipBufPre_clipContextMask=function(){return this.clipBufPre_clipContextMask},w.prototype.setClipBufPre_clipContextForDraw=function(t){this.clipBufPre_clipContextDraw=t},w.prototype.getClipBufPre_clipContextDraw=function(){return this.clipBufPre_clipContextDraw};function A(){r||(this.a=1,this.r=1,this.g=1,this.b=1,this.scale=1,this._$ho=1,this.blendMode=nt.L2D_COLOR_BLEND_MODE_MULT)}function E(){r||(this._$kP=null,this._$dr=null,this._$Ai=!0,this._$mS=null)}E._$ur=-2,E._$c2=1,E._$_b=2,E.prototype._$F0=function(t){this._$kP=t._$nP(),this._$dr=t._$nP()},E.prototype.readV2_opacity=function(t){t.getFormatVersion()>=G.LIVE2D_FORMAT_VERSION_V2_10_SDK2&&(this._$mS=t._$Tb())},E.prototype.init=function(t){},E.prototype._$Nr=function(t,i){},E.prototype.interpolateOpacity=function(t,i,r,e){null==this._$mS?r.setInterpolatedOpacity(1):r.setInterpolatedOpacity(L._$br(t,i,e,this._$mS))},E.prototype._$2b=function(t,i){},E.prototype._$nb=function(t,i,r,e,_,o,s){},E.prototype.getType=function(){},E.prototype._$gs=function(t){this._$dr=t},E.prototype._$a2=function(t){this._$kP=t},E.prototype.getTargetBaseDataID=function(){return this._$dr},E.prototype.getBaseDataID=function(){return this._$kP},E.prototype._$32=function(){return null!=this._$dr&&this._$dr!=gt._$2o()};function b(){}b._$W2=0,b._$CS=b._$W2,b._$Mo=function(){return!0},b._$XP=function(t){try{for(var i=getTimeMSec();getTimeMSec()-i=t.length)return!1;for(var _=i;_=0;--r){var e=this._$Ob[r].getParamIndex(i);if(e==x._$ds&&(e=t.getParamIndex(this._$Ob[r].getParamID())),t._$Xb(e))return!0}return!1},C.prototype._$Q2=function(t,i){for(var r,e,_=this._$Ob.length,o=t._$v2(),s=0,n=0;n<_;n++){var $=this._$Ob[n];if((r=$.getParamIndex(o))==x._$ds&&(r=t.getParamIndex($.getParamID()),$._$Pb(r,o)),r<0)throw new Exception("err 23242 : "+$.getParamID());var a=r<0?0:t.getParamFloat(r);e=$._$N2();var h,l,u=$._$d2(),p=-1,f=0;if(e<1);else if(1==e)(h=u[0])-B._$JB._$Qb&&console.log("err 23245\n");for(var _=this._$Ob.length,o=1,s=1,n=0,$=0;$=0;--o)r[o]=_[o]}else this.mult_fast(t,i,r,e)},I.prototype.mult_fast=function(t,i,r,e){e?(r[0]=t[0]*i[0]+t[4]*i[1]+t[8]*i[2],r[4]=t[0]*i[4]+t[4]*i[5]+t[8]*i[6],r[8]=t[0]*i[8]+t[4]*i[9]+t[8]*i[10],r[12]=t[0]*i[12]+t[4]*i[13]+t[8]*i[14]+t[12],r[1]=t[1]*i[0]+t[5]*i[1]+t[9]*i[2],r[5]=t[1]*i[4]+t[5]*i[5]+t[9]*i[6],r[9]=t[1]*i[8]+t[5]*i[9]+t[9]*i[10],r[13]=t[1]*i[12]+t[5]*i[13]+t[9]*i[14]+t[13],r[2]=t[2]*i[0]+t[6]*i[1]+t[10]*i[2],r[6]=t[2]*i[4]+t[6]*i[5]+t[10]*i[6],r[10]=t[2]*i[8]+t[6]*i[9]+t[10]*i[10],r[14]=t[2]*i[12]+t[6]*i[13]+t[10]*i[14]+t[14],r[3]=r[7]=r[11]=0,r[15]=1):(r[0]=t[0]*i[0]+t[4]*i[1]+t[8]*i[2]+t[12]*i[3],r[4]=t[0]*i[4]+t[4]*i[5]+t[8]*i[6]+t[12]*i[7],r[8]=t[0]*i[8]+t[4]*i[9]+t[8]*i[10]+t[12]*i[11],r[12]=t[0]*i[12]+t[4]*i[13]+t[8]*i[14]+t[12]*i[15],r[1]=t[1]*i[0]+t[5]*i[1]+t[9]*i[2]+t[13]*i[3],r[5]=t[1]*i[4]+t[5]*i[5]+t[9]*i[6]+t[13]*i[7],r[9]=t[1]*i[8]+t[5]*i[9]+t[9]*i[10]+t[13]*i[11],r[13]=t[1]*i[12]+t[5]*i[13]+t[9]*i[14]+t[13]*i[15],r[2]=t[2]*i[0]+t[6]*i[1]+t[10]*i[2]+t[14]*i[3],r[6]=t[2]*i[4]+t[6]*i[5]+t[10]*i[6]+t[14]*i[7],r[10]=t[2]*i[8]+t[6]*i[9]+t[10]*i[10]+t[14]*i[11],r[14]=t[2]*i[12]+t[6]*i[13]+t[10]*i[14]+t[14]*i[15],r[3]=t[3]*i[0]+t[7]*i[1]+t[11]*i[2]+t[15]*i[3],r[7]=t[3]*i[4]+t[7]*i[5]+t[11]*i[6]+t[15]*i[7],r[11]=t[3]*i[8]+t[7]*i[9]+t[11]*i[10]+t[15]*i[11],r[15]=t[3]*i[12]+t[7]*i[13]+t[11]*i[14]+t[15]*i[15])},I.prototype.translate=function(t,i,r){this.m[12]=this.m[0]*t+this.m[4]*i+this.m[8]*r+this.m[12],this.m[13]=this.m[1]*t+this.m[5]*i+this.m[9]*r+this.m[13],this.m[14]=this.m[2]*t+this.m[6]*i+this.m[10]*r+this.m[14],this.m[15]=this.m[3]*t+this.m[7]*i+this.m[11]*r+this.m[15]},I.prototype.scale=function(t,i,r){this.m[0]*=t,this.m[4]*=i,this.m[8]*=r,this.m[1]*=t,this.m[5]*=i,this.m[9]*=r,this.m[2]*=t,this.m[6]*=i,this.m[10]*=r,this.m[3]*=t,this.m[7]*=i,this.m[11]*=r},I.prototype.rotateX=function(t){var i=St.fcos(t),r=St._$9(t),e=this.m[4];this.m[4]=e*i+this.m[8]*r,this.m[8]=e*-r+this.m[8]*i,e=this.m[5],this.m[5]=e*i+this.m[9]*r,this.m[9]=e*-r+this.m[9]*i,e=this.m[6],this.m[6]=e*i+this.m[10]*r,this.m[10]=e*-r+this.m[10]*i,e=this.m[7],this.m[7]=e*i+this.m[11]*r,this.m[11]=e*-r+this.m[11]*i},I.prototype.rotateY=function(t){var i=St.fcos(t),r=St._$9(t),e=this.m[0];this.m[0]=e*i+this.m[8]*-r,this.m[8]=e*r+this.m[8]*i,e=this.m[1],this.m[1]=e*i+this.m[9]*-r,this.m[9]=e*r+this.m[9]*i,e=m[2],this.m[2]=e*i+this.m[10]*-r,this.m[10]=e*r+this.m[10]*i,e=m[3],this.m[3]=e*i+this.m[11]*-r,this.m[11]=e*r+this.m[11]*i},I.prototype.rotateZ=function(t){var i=St.fcos(t),r=St._$9(t),e=this.m[0];this.m[0]=e*i+this.m[4]*r,this.m[4]=e*-r+this.m[4]*i,e=this.m[1],this.m[1]=e*i+this.m[5]*r,this.m[5]=e*-r+this.m[5]*i,e=this.m[2],this.m[2]=e*i+this.m[6]*r,this.m[6]=e*-r+this.m[6]*i,e=this.m[3],this.m[3]=e*i+this.m[7]*r,this.m[7]=e*-r+this.m[7]*i};function O(t){r||rt.prototype.constructor.call(this,t)}O.prototype=new rt,O._$tP=new Object,O._$27=function(){O._$tP.clear()},O.getID=function(t){var i=O._$tP[t];return null==i&&(i=new O(t),O._$tP[t]=i),i},O.prototype._$3s=function(){return new O};function M(){r||(this._$7=1,this._$f=0,this._$H=0,this._$g=1,this._$k=0,this._$w=0,this._$hi=STATE_IDENTITY,this._$Z=_$pS)}M._$kS=-1,M._$pS=0,M._$hb=1,M.STATE_IDENTITY=0,M._$gb=1,M._$fo=2,M._$go=4,M.prototype.transform=function(t,i,r){var e,_,o,s,n,$,a=0,h=0;switch(this._$hi){default:return;case M._$go|M._$fo|M._$gb:for(e=this._$7,_=this._$H,o=this._$k,s=this._$f,n=this._$g,$=this._$w;--r>=0;){var l=t[a++],u=t[a++];i[h++]=e*l+_*u+o,i[h++]=s*l+n*u+$}return;case M._$go|M._$fo:for(e=this._$7,_=this._$H,s=this._$f,n=this._$g;--r>=0;){l=t[a++],u=t[a++];i[h++]=e*l+_*u,i[h++]=s*l+n*u}return;case M._$go|M._$gb:for(_=this._$H,o=this._$k,s=this._$f,$=this._$w;--r>=0;){l=t[a++];i[h++]=_*t[a++]+o,i[h++]=s*l+$}return;case M._$go:for(_=this._$H,s=this._$f;--r>=0;){l=t[a++];i[h++]=_*t[a++],i[h++]=s*l}return;case M._$fo|M._$gb:for(e=this._$7,o=this._$k,n=this._$g,$=this._$w;--r>=0;)i[h++]=e*t[a++]+o,i[h++]=n*t[a++]+$;return;case M._$fo:for(e=this._$7,n=this._$g;--r>=0;)i[h++]=e*t[a++],i[h++]=n*t[a++];return;case M._$gb:for(o=this._$k,$=this._$w;--r>=0;)i[h++]=t[a++]+o,i[h++]=t[a++]+$;return;case M.STATE_IDENTITY:return void(t==i&&a==h||b._$jT(t,a,i,h,2*r))}},M.prototype.update=function(){0==this._$H&&0==this._$f?1==this._$7&&1==this._$g?0==this._$k&&0==this._$w?(this._$hi=M.STATE_IDENTITY,this._$Z=M._$pS):(this._$hi=M._$gb,this._$Z=M._$hb):0==this._$k&&0==this._$w?(this._$hi=M._$fo,this._$Z=M._$kS):(this._$hi=M._$fo|M._$gb,this._$Z=M._$kS):0==this._$7&&0==this._$g?0==this._$k&&0==this._$w?(this._$hi=M._$go,this._$Z=M._$kS):(this._$hi=M._$go|M._$gb,this._$Z=M._$kS):0==this._$k&&0==this._$w?(this._$hi=M._$go|M._$fo,this._$Z=M._$kS):(this._$hi=M._$go|M._$fo|M._$gb,this._$Z=M._$kS)},M.prototype._$RT=function(t){this._$IT(t);var i=t[0],r=t[2],e=t[1],_=t[3],o=Math.sqrt(i*i+e*e),s=i*_-r*e;0==o?nt._$so&&console.log("affine._$RT() / rt==0"):(t[0]=o,t[1]=s/o,t[2]=(e*_+i*r)/s,t[3]=Math.atan2(e,i))},M.prototype._$ho=function(t,i,r,e){var _=new Float32Array(6),o=new Float32Array(6);t._$RT(_),i._$RT(o);var s=new Float32Array(6);s[0]=_[0]+(o[0]-_[0])*r,s[1]=_[1]+(o[1]-_[1])*r,s[2]=_[2]+(o[2]-_[2])*r,s[3]=_[3]+(o[3]-_[3])*r,s[4]=_[4]+(o[4]-_[4])*r,s[5]=_[5]+(o[5]-_[5])*r,e._$CT(s)},M.prototype._$CT=function(t){var i=Math.cos(t[3]),r=Math.sin(t[3]);this._$7=t[0]*i,this._$f=t[0]*r,this._$H=t[1]*(t[2]*i-r),this._$g=t[1]*(t[2]*r+i),this._$k=t[4],this._$w=t[5],this.update()},M.prototype._$IT=function(t){t[0]=this._$7,t[1]=this._$f,t[2]=this._$H,t[3]=this._$g,t[4]=this._$k,t[5]=this._$w};function F(){r||(s.prototype.constructor.call(this),this.motions=new Array,this._$7r=null,this._$7r=F._$Co++,this._$D0=30,this._$yT=0,this._$E=!0,this.loopFadeIn=!0,this._$AS=-1,_$a0())}F.prototype=new s,F._$cs="VISIBLE:",F._$ar="LAYOUT:",F._$Co=0,F._$D2=[],F._$1T=1,F.loadMotion=function(t){var i=new F,r=[0],e=t.length;i._$yT=0;for(var _=0;_=0){var s=new N;D.startsWith(t,a,F._$cs)?(s._$RP=N._$hs,s._$4P=new String(t,a,h-a)):D.startsWith(t,a,F._$ar)?(s._$4P=new String(t,a+7,h-a-7),D.startsWith(t,a+7,"ANCHOR_X")?s._$RP=N._$xs:D.startsWith(t,a+7,"ANCHOR_Y")?s._$RP=N._$us:D.startsWith(t,a+7,"SCALE_X")?s._$RP=N._$qs:D.startsWith(t,a+7,"SCALE_Y")?s._$RP=N._$Ys:D.startsWith(t,a+7,"X")?s._$RP=N._$ws:D.startsWith(t,a+7,"Y")&&(s._$RP=N._$Ns)):(s._$RP=N._$Fr,s._$4P=new String(t,a,h-a)),i.motions.push(s);var n=0;for(F._$D2.clear(),_=h+1;_0){F._$D2.push(u),n++;var $=r[0];if($<_){console.log("_$n0 _$hi . @Live2DMotion loadMotion()\n");break}_=$}}s._$I0=F._$D2._$BL(),n>i._$yT&&(i._$yT=n)}}}else{for(var a=_,h=-1;_=0)for(h==a+4&&"f"==t[a+1]&&"p"==t[a+2]&&"s"==t[a+3]&&(l=!0),_=h+1;_0&&l&&5=a?a-1:o];t.setParamFloat(h,l)}else if(N._$ws<=$._$RP&&$._$RP<=N._$Ys);else{var u=t.getParamFloat(h),p=$._$I0[o>=a?a-1:o],f=u+(p+($._$I0[o+1>=a?a-1:o+1]-p)*s-u)*r;t.setParamFloat(h,f)}}o>=this._$yT&&(this._$E?(e._$z2=i,this.loopFadeIn&&(e._$bs=i)):e._$9L=!0)},F.prototype._$r0=function(){return this._$E},F.prototype._$aL=function(t){this._$E=t},F.prototype.isLoopFadeIn=function(){return this.loopFadeIn},F.prototype.setLoopFadeIn=function(t){this.loopFadeIn=t};function R(){this._$P=new Float32Array(100),this.size=0}R.prototype.clear=function(){this.size=0},R.prototype.add=function(t){if(this._$P.length<=this.size){var i=new Float32Array(2*this.size);b._$jT(this._$P,0,i,0,this.size),this._$P=i}this._$P[this.size++]=t},R.prototype._$BL=function(){var t=new Float32Array(this.size);return b._$jT(this._$P,0,t,0,this.size),t};function N(){this._$4P=null,this._$I0=null,this._$RP=null}N._$Fr=0,N._$hs=1,N._$ws=100,N._$Ns=101,N._$xs=102,N._$us=103,N._$qs=104,N._$Ys=105;function B(){}B._$Ms=1,B._$Qs=2,B._$i2=0,B._$No=2,B._$do=B._$Ms,B._$Ls=!0,B._$1r=5,B._$Qb=65,B._$J=1e-4,B._$FT=.001,B._$Ss=3;function G(){}G._$o7=6,G._$S7=7,G._$s7=8,G._$77=9,G.LIVE2D_FORMAT_VERSION_V2_10_SDK2=10,G.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1=11,G._$T7=G.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1,G._$Is=-2004318072,G._$h0=0,G._$4L=23,G._$7P=33,G._$uT=function(t){console.log("_$bo :: _$6 _$mo _$E0 : %d\n",t)},G._$9o=function(t){if(t<40)return G._$uT(t),null;if(t<50)return G._$uT(t),null;if(t<60)return G._$uT(t),null;if(t<100)switch(t){case 65:return new Z;case 66:return new C;case 67:return new x;case 68:return new W;case 69:return new d;case 70:return new ht;default:return G._$uT(t),null}else if(t<150)switch(t){case 131:return new ot;case 133:return new tt;case 136:return new l;case 137:return new et;case 142:return new X}return G._$uT(t),null};function U(t){r||(this._$QT=!0,this._$co=-1,this._$qo=0,this._$pb=new Array(U._$is),this._$_2=new Float32Array(U._$is),this._$vr=new Float32Array(U._$is),this._$Rr=new Float32Array(U._$is),this._$Or=new Float32Array(U._$is),this._$fs=new Float32Array(U._$is),this._$Js=new Array(U._$is),this._$3S=new Array,this._$aS=new Array,this._$Bo=null,this._$F2=new Array,this._$db=new Array,this._$8b=new Array,this._$Hr=new Array,this._$Ws=null,this._$Vs=null,this._$Er=null,this._$Es=new Int16Array(B._$Qb),this._$ZP=new Float32Array(2*B._$1r),this._$Ri=t,this._$b0=U._$HP++,this.clipManager=null,this.dp_webgl=null)}U._$HP=0,U._$_0=!0,U._$V2=-1,U._$W0=-1,U._$jr=!1,U._$ZS=!0,U._$tr=-1e6,U._$lr=1e6,U._$is=32,U._$e=!1,U.prototype.getDrawDataIndex=function(t){for(var i=this._$aS.length-1;i>=0;--i)if(null!=this._$aS[i]&&this._$aS[i].getDrawDataID()==t)return i;return-1},U.prototype.getDrawData=function(t){if(t instanceof O){if(null==this._$Bo){this._$Bo=new Object;for(var i=this._$aS.length,r=0;r0&&this.release();for(var t=this._$Ri.getModelImpl(),i=t._$Xr(),r=i.length,e=new Array,o=new Array,s=0;s=0)&&(this._$3S.push(m),this._$db.push(o[s]),e[s]=null,d=!0)}}if(!d)break}var P=t._$E2();if(null!=P){var L=P._$1s();if(null!=L){var S=L.length;for(s=0;s=0;i--)this._$Js[i]=U._$jr;return this._$QT=!1,U._$e&&n.dump("_$eL"),!1},U.prototype.preDraw=function(t){null!=this.clipManager&&(t._$ZT(),this.clipManager.setupClip(this,t))},U.prototype.draw=function(t){if(null!=this._$Ws){var i=this._$Ws.length;t._$ZT();for(var r=0;r=0;--i)if(this._$pb[i]==t)return i;return this._$02(t,0,U._$tr,U._$lr)},U.prototype._$BS=function(t){return this.getBaseDataIndex(t)},U.prototype.getBaseDataIndex=function(t){for(var i=this._$3S.length-1;i>=0;--i)if(null!=this._$3S[i]&&this._$3S[i].getBaseDataID()==t)return i;return-1},U.prototype._$UT=function(t,i){var r=new Float32Array(i);return b._$jT(t,0,r,0,t.length),r},U.prototype._$02=function(t,i,r,e){if(this._$qo>=this._$pb.length){var _=this._$pb.length,o=new Array(2*_);b._$jT(this._$pb,0,o,0,_),this._$pb=o,this._$_2=this._$UT(this._$_2,2*_),this._$vr=this._$UT(this._$vr,2*_),this._$Rr=this._$UT(this._$Rr,2*_),this._$Or=this._$UT(this._$Or,2*_);var s=new Array;b._$jT(this._$Js,0,s,0,_),this._$Js=s}return this._$pb[this._$qo]=t,this._$_2[this._$qo]=i,this._$vr[this._$qo]=i,this._$Rr[this._$qo]=r,this._$Or[this._$qo]=e,this._$Js[this._$qo]=U._$ZS,this._$qo++},U.prototype._$Zo=function(t,i){this._$3S[t]=i},U.prototype.setParamFloat=function(t,i){ithis._$Or[t]&&(i=this._$Or[t]),this._$_2[t]=i},U.prototype.loadParam=function(){var t=this._$_2.length;t>this._$fs.length&&(t=this._$fs.length),b._$jT(this._$fs,0,this._$_2,0,t)},U.prototype.saveParam=function(){var t=this._$_2.length;t>this._$fs.length&&(this._$fs=new Float32Array(t)),b._$jT(this._$_2,0,this._$fs,0,t)},U.prototype._$v2=function(){return this._$co},U.prototype._$WS=function(){return this._$QT},U.prototype._$Xb=function(t){return this._$Js[t]==U._$ZS},U.prototype._$vs=function(){return this._$Es},U.prototype._$Tr=function(){return this._$ZP},U.prototype.getBaseData=function(t){return this._$3S[t]},U.prototype.getParamFloat=function(t){return this._$_2[t]},U.prototype.getParamMax=function(t){return this._$Or[t]},U.prototype.getParamMin=function(t){return this._$Rr[t]},U.prototype.setPartsOpacity=function(t,i){this._$Hr[t].setPartsOpacity(i)},U.prototype.getPartsOpacity=function(t){return this._$Hr[t].getPartsOpacity()},U.prototype.getPartsDataIndex=function(t){for(var i=this._$F2.length-1;i>=0;--i)if(null!=this._$F2[i]&&this._$F2[i]._$p2()==t)return i;return-1},U.prototype._$q2=function(t){return this._$db[t]},U.prototype._$C2=function(t){return this._$8b[t]},U.prototype._$Bb=function(t){return this._$Hr[t]},U.prototype._$5s=function(t,i){for(var r=this._$Ws.length,e=t,_=0;_0;)o+=i;return e},Y._$C=function(t){var i=null,r=null;try{i=t instanceof Array?t:new _$Xs(t,8192),r=new _$js;for(var e,_=new Int8Array(1e3);(e=i.read(_))>0;)r.write(_,0,e);return r._$TS()}finally{null!=t&&t.close(),null!=r&&(r.flush(),r.close())}};function k(){r||(this._$12=null,this._$bb=null,this._$_L=null,this._$jo=null,this._$iL=null,this._$0L=null,this._$Br=null,this._$Dr=null,this._$Cb=null,this._$mr=null,this._$_L=z.STATE_FIRST,this._$Br=4e3,this._$Dr=100,this._$Cb=50,this._$mr=150,this._$jo=!0,this._$iL="PARAM_EYE_L_OPEN",this._$0L="PARAM_EYE_R_OPEN")}k.prototype._$T2=function(){return b.getUserTimeMSec()+Math._$10()*(2*this._$Br-1)},k.prototype._$uo=function(t){this._$Br=t},k.prototype._$QS=function(t,i,r){this._$Dr=t,this._$Cb=i,this._$mr=r},k.prototype._$7T=function(t){var i,r=b.getUserTimeMSec(),e=0;switch(this._$_L){case STATE_CLOSING:(e=(r-this._$bb)/this._$Dr)>=1&&(e=1,this._$_L=z.STATE_CLOSED,this._$bb=r),i=1-e;break;case STATE_CLOSED:(e=(r-this._$bb)/this._$Cb)>=1&&(this._$_L=z.STATE_OPENING,this._$bb=r),i=0;break;case STATE_OPENING:(e=(r-this._$bb)/this._$mr)>=1&&(e=1,this._$_L=z.STATE_INTERVAL,this._$12=this._$T2()),i=e;break;case STATE_INTERVAL:this._$12.9?nt.EXPAND_W:0;this.gl.drawElements($,r,e,_,o,a,this.transform,n)}},V.prototype._$Rs=function(){throw new Error("_$Rs")},V.prototype._$Ds=function(t){throw new Error("_$Ds")},V.prototype._$K2=function(){for(var t=0;t=0;--i){var r=t[i];rH._$R2&&(H._$R2=r)}},H._$or=function(){return H._$52},H._$Pr=function(){return H._$R2},H.prototype._$F0=function(t){this._$gP=t._$nP(),this._$dr=t._$nP(),this._$GS=t._$nP(),this._$qb=t._$6L(),this._$Lb=t._$cS(),this._$mS=t._$Tb(),t.getFormatVersion()>=G._$T7?(this.clipID=t._$nP(),this.clipIDList=this.convertClipIDForV2_11(this.clipID)):this.clipIDList=null,H._$Sb(this._$Lb)},H.prototype.getClipIDList=function(){return this.clipIDList},H.prototype._$Nr=function(t,i){if(i._$IS[0]=!1,i._$Us=L._$Z2(t,this._$GS,i._$IS,this._$Lb),nt._$Zs);else if(i._$IS[0])return;i._$7s=L._$br(t,this._$GS,i._$IS,this._$mS)},H.prototype._$2b=function(t){},H.prototype.getDrawDataID=function(){return this._$gP},H.prototype._$j2=function(t){this._$gP=t},H.prototype.getOpacity=function(t,i){return i._$7s},H.prototype._$zS=function(t,i){return i._$Us},H.prototype.getTargetBaseDataID=function(){return this._$dr},H.prototype._$gs=function(t){this._$dr=t},H.prototype._$32=function(){return null!=this._$dr&&this._$dr!=gt._$2o()},H.prototype.getType=function(){};function X(){r||(this._$NL=null,this._$3S=null,this._$aS=null,X._$42++)}X._$42=0,X.prototype._$1b=function(){return this._$3S},X.prototype.getDrawDataList=function(){return this._$aS},X.prototype._$F0=function(t){this._$NL=t._$nP(),this._$aS=t._$nP(),this._$3S=t._$nP()},X.prototype._$kr=function(t){t._$Zo(this._$3S),t._$xo(this._$aS),this._$3S=null,this._$aS=null};function J(){r||(e.prototype.constructor.call(this),this._$zo=new V)}J.prototype=new e,J.loadModel=function(t){var i=new J;return e._$62(i,t),i},J.loadModel=function(t){var i=new J;return e._$62(i,t),i},J._$to=function(){return new J},J._$er=function(t){var i=new _$5("../_$_r/_$t0/_$Ri/_$_P._$d");if(0==i.exists())throw new _$ls("_$t0 _$_ _$6 _$Ui :: "+i._$PL());for(var r=["../_$_r/_$t0/_$Ri/_$_P.512/_$CP._$1","../_$_r/_$t0/_$Ri/_$_P.512/_$vP._$1","../_$_r/_$t0/_$Ri/_$_P.512/_$EP._$1","../_$_r/_$t0/_$Ri/_$_P.512/_$pP._$1"],e=J.loadModel(i._$3b()),_=0;_=0){var n=new N;D.startsWith(t,l,Q._$cs)?(n._$RP=N._$hs,n._$4P=D.createString(t,l,u-l)):D.startsWith(t,l,Q._$ar)?(n._$4P=D.createString(t,l+7,u-l-7),D.startsWith(t,l+7,"ANCHOR_X")?n._$RP=N._$xs:D.startsWith(t,l+7,"ANCHOR_Y")?n._$RP=N._$us:D.startsWith(t,l+7,"SCALE_X")?n._$RP=N._$qs:D.startsWith(t,l+7,"SCALE_Y")?n._$RP=N._$Ys:D.startsWith(t,l+7,"X")?n._$RP=N._$ws:D.startsWith(t,l+7,"Y")&&(n._$RP=N._$Ns)):(n._$RP=N._$Fr,n._$4P=D.createString(t,l,u-l)),i.motions.push(n);var $=0,a=[];for(_=u+1;_0){a.push(f),$++;var h=r[0];if(h<_){console.log("_$n0 _$hi . @Live2DMotion loadMotion()\n");break}_=h-1}}n._$I0=new Float32Array(a),$>i._$yT&&(i._$yT=$)}}}else{for(var l=_,u=-1;_=0)for(u==l+4&&"f"==j(t,l+1)&&"p"==j(t,l+2)&&"s"==j(t,l+3)&&(p=!0),_=u+1;_0&&p&&5=a?a-1:o];t.setParamFloat(h,l)}else if(N._$ws<=$._$RP&&$._$RP<=N._$Ys);else{var u=t.getParamIndex(h),p=t.getModelContext(),f=.4*(p.getParamMax(u)-p.getParamMin(u)),c=p.getParamFloat(u),y=$._$I0[o>=a?a-1:o],g=$._$I0[o+1>=a?a-1:o+1],d=c+((yf||y>g&&y-g>f?y:y+(g-y)*s)-c)*r;t.setParamFloat(h,d)}}o>=this._$yT&&(this._$E?(e._$z2=i,this.loopFadeIn&&(e._$bs=i)):e._$9L=!0),this._$eP=r},Q.prototype._$r0=function(){return this._$E},Q.prototype._$aL=function(t){this._$E=t},Q.prototype._$S0=function(){return this._$D0},Q.prototype._$U0=function(t){this._$D0=t},Q.prototype.isLoopFadeIn=function(){return this.loopFadeIn},Q.prototype.setLoopFadeIn=function(t){this.loopFadeIn=t};function R(){this._$P=new Float32Array(100),this.size=0}R.prototype.clear=function(){this.size=0},R.prototype.add=function(t){if(this._$P.length<=this.size){var i=new Float32Array(2*this.size);b._$jT(this._$P,0,i,0,this.size),this._$P=i}this._$P[this.size++]=t},R.prototype._$BL=function(){var t=new Float32Array(this.size);return b._$jT(this._$P,0,t,0,this.size),t};function N(){this._$4P=null,this._$I0=null,this._$RP=null}N._$Fr=0,N._$hs=1,N._$ws=100,N._$Ns=101,N._$xs=102,N._$us=103,N._$qs=104,N._$Ys=105;function Z(){r||(E.prototype.constructor.call(this),this._$o=0,this._$A=0,this._$GS=null,this._$Eo=null)}Z.prototype=new E,Z._$gT=new Array,Z.prototype._$zP=function(){this._$GS=new C,this._$GS._$zP()},Z.prototype._$F0=function(t){E.prototype._$F0.call(this,t),this._$A=t._$6L(),this._$o=t._$6L(),this._$GS=t._$nP(),this._$Eo=t._$nP(),E.prototype.readV2_opacity.call(this,t)},Z.prototype.init=function(t){var i=new K(this),r=(this._$o+1)*(this._$A+1);return null!=i._$Cr&&(i._$Cr=null),i._$Cr=new Float32Array(2*r),null!=i._$hr&&(i._$hr=null),this._$32()?i._$hr=new Float32Array(2*r):i._$hr=null,i},Z.prototype._$Nr=function(t,i){var r=i;if(this._$GS._$Ur(t)){var e=this._$VT(),_=Z._$gT;_[0]=!1,L._$Vr(t,this._$GS,_,e,this._$Eo,r._$Cr,0,2),i._$Ib(_[0]),this.interpolateOpacity(t,this._$GS,i,_)}},Z.prototype._$2b=function(t,i){var r=i;if(r._$hS(!0),this._$32()){var e=this.getTargetBaseDataID();if(r._$8r==E._$ur&&(r._$8r=t.getBaseDataIndex(e)),r._$8r<0)nt._$so&&n._$li("_$L _$0P _$G :: %s",e),r._$hS(!1);else{var _=t.getBaseData(r._$8r),o=t._$q2(r._$8r);if(null!=_&&o._$yo()){var s=o.getTotalScale();r.setTotalScale_notForClient(s);var $=o.getTotalOpacity();r.setTotalOpacity($*r.getInterpolatedOpacity()),_._$nb(t,o,r._$Cr,r._$hr,this._$VT(),0,2),r._$hS(!0)}else r._$hS(!1)}}else r.setTotalOpacity(r.getInterpolatedOpacity())},Z.prototype._$nb=function(t,i,r,e,_,o,s){var n=i,$=null!=n._$hr?n._$hr:n._$Cr;Z.transformPoints_sdk2(r,e,_,o,s,$,this._$o,this._$A)},Z.transformPoints_sdk2=function(i,r,e,_,o,s,n,$){for(var a,h,l,u=e*o,p=0,f=0,c=0,y=0,g=0,d=0,m=!1,T=_;T=1){M=s[2*(0+$*w)],F=s[2*(0+$*w)+1],R=p-2*c+1*g,N=f-2*y+1*d,D=p+3*g,C=f+3*d,I=p-2*c+3*g,O=f-2*y+3*d;(B=.5*(S- -2))+(G=.5*(v-1))<=1?(r[T]=R+(M-R)*B+(I-R)*G,r[T+1]=N+(F-N)*B+(O-N)*G):(r[T]=D+(I-D)*(1-B)+(M-D)*(1-G),r[T+1]=C+(O-C)*(1-B)+(F-C)*(1-G))}else{(k=0|L)==$&&(k=$-1);var B=.5*(S- -2),G=L-k,U=k/$,Y=(k+1)/$;M=s[2*(0+k*w)],F=s[2*(0+k*w)+1],D=s[2*(0+(k+1)*w)],C=s[2*(0+(k+1)*w)+1],R=p-2*c+U*g,N=f-2*y+U*d,I=p-2*c+Y*g,O=f-2*y+Y*d;B+G<=1?(r[T]=R+(M-R)*B+(I-R)*G,r[T+1]=N+(F-N)*B+(O-N)*G):(r[T]=D+(I-D)*(1-B)+(M-D)*(1-G),r[T+1]=C+(O-C)*(1-B)+(F-C)*(1-G))}else if(1<=S)if(v<=0){I=s[2*(n+0*w)],O=s[2*(n+0*w)+1],D=p+3*c,C=f+3*y,R=p+1*c-2*g,N=f+1*y-2*d,M=p+3*c-2*g,F=f+3*y-2*d;(B=.5*(S-1))+(G=.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s[2*(W+$*w)],N=s[2*(W+$*w)+1],M=s[2*(W+1+$*w)],F=s[2*(W+1+$*w)+1],I=p+z*c+3*g,O=f+z*y+3*d,D=p+V*c+3*g,C=f+V*y+3*d;B+G<=1?(r[T]=R+(M-R)*B+(I-R)*G,r[T+1]=N+(F-N)*B+(O-N)*G):(r[T]=D+(I-D)*(1-B)+(M-D)*(1-G),r[T+1]=C+(O-C)*(1-B)+(F-C)*(1-G))}else t.err.printf("_$li calc : %.4f , %.4f @@BDBoxGrid\n",S,v);else r[T]=p+S*c+v*g,r[T+1]=f+S*y+v*d}else a=2*((0|P)+(0|L)*(n+1)),(h=P-(0|P))+(l=L-(0|L))<1?(r[T]=s[a]*(1-h-l)+s[a+2]*h+s[a+2*(n+1)]*l,r[T+1]=s[a+1]*(1-h-l)+s[a+3]*h+s[a+2*(n+1)+1]*l):(r[T]=s[a+2*(n+1)+2]*(h-1+l)+s[a+2*(n+1)]*(1-h)+s[a+2]*(1-l),r[T+1]=s[a+2*(n+1)+3]*(h-1+l)+s[a+2*(n+1)+1]*(1-h)+s[a+3]*(1-l))}},Z.prototype.transformPoints_sdk1=function(t,i,r,e,_,o,s){for(var n,$,a,h,l,u,p,f=i,c=this._$o,y=this._$A,g=_*s,d=null!=f._$hr?f._$hr:f._$Cr,m=o;m1&&(n=1),$<0?$=0:$>1&&($=1),h=0|($*=y),(a=0|(n*=c))>c-1&&(a=c-1),h>y-1&&(h=y-1),u=n-a,p=$-h,l=2*(a+h*(c+1))):(u=(n=r[m]*c)-(0|n),p=($=r[m+1]*y)-(0|$),l=2*((0|n)+(0|$)*(c+1))),u+p<1?(e[m]=d[l]*(1-u-p)+d[l+2]*u+d[l+2*(c+1)]*p,e[m+1]=d[l+1]*(1-u-p)+d[l+3]*u+d[l+2*(c+1)+1]*p):(e[m]=d[l+2*(c+1)+2]*(u-1+p)+d[l+2*(c+1)]*(1-u)+d[l+2]*(1-p),e[m+1]=d[l+2*(c+1)+3]*(u-1+p)+d[l+2*(c+1)+1]*(1-u)+d[l+3]*(1-p))},Z.prototype._$VT=function(){return(this._$o+1)*(this._$A+1)},Z.prototype.getType=function(){return E._$_b};function K(t){st.prototype.constructor.call(this,t),this._$8r=E._$ur,this._$Cr=null,this._$hr=null}K.prototype=new st;function tt(){r||(this.visible=!0,this._$g0=!1,this._$NL=null,this._$3S=null,this._$aS=null,tt._$42++)}tt._$42=0,tt.prototype._$zP=function(){this._$3S=new Array,this._$aS=new Array},tt.prototype._$F0=function(t){this._$g0=t._$8L(),this.visible=t._$8L(),this._$NL=t._$nP(),this._$3S=t._$nP(),this._$aS=t._$nP()},tt.prototype.init=function(t){var i=new it(this);return i.setPartsOpacity(this.isVisible()?1:0),i},tt.prototype._$6o=function(t){if(null==this._$3S)throw new Error("_$3S _$6 _$Wo@_$6o");this._$3S.push(t)},tt.prototype._$3o=function(t){if(null==this._$aS)throw new Error("_$aS _$6 _$Wo@_$3o");this._$aS.push(t)},tt.prototype._$Zo=function(t){this._$3S=t},tt.prototype._$xo=function(t){this._$aS=t},tt.prototype.isVisible=function(){return this.visible},tt.prototype._$uL=function(){return this._$g0},tt.prototype._$KP=function(t){this.visible=t},tt.prototype._$ET=function(t){this._$g0=t},tt.prototype.getBaseData=function(){return this._$3S},tt.prototype.getDrawData=function(){return this._$aS},tt.prototype._$p2=function(){return this._$NL},tt.prototype._$ob=function(t){this._$NL=t},tt.prototype.getPartsID=function(){return this._$NL},tt.prototype._$MP=function(t){this._$NL=t};function it(t){this._$VS=null,this._$e0=null,this._$e0=t}it.prototype=new function(){},it.prototype.getPartsOpacity=function(){return this._$VS},it.prototype.setPartsOpacity=function(t){this._$VS=t};function rt(t){r||(this.id=t)}rt._$L7=function(){h._$27(),gt._$27(),O._$27(),a._$27()},rt.prototype.toString=function(){return this.id};function et(){r||(this._$4S=null)}et.prototype._$1s=function(){return this._$4S},et.prototype._$zP=function(){this._$4S=new Array},et.prototype._$F0=function(t){this._$4S=t._$nP()},et.prototype._$Ks=function(t){this._$4S.push(t)};function _t(t,i){this.canvas=t,this.context=i,this.viewport=new Array(0,0,t.width,t.height),this._$6r=1,this._$xP=0,this._$3r=1,this._$uP=0,this._$Qo=-1,this.cacheImages={}}_t.tr=new yt,_t._$50=new yt,_t._$Ti=new Array(0,0),_t._$Pi=new Array(0,0),_t._$B=new Array(0,0),_t.prototype._$lP=function(t,i,r,e){this.viewport=new Array(t,i,r,e)},_t.prototype._$bL=function(){this.context.save();var t=this.viewport;null!=t&&(this.context.beginPath(),this.context._$Li(t[0],t[1],t[2],t[3]),this.context.clip())},_t.prototype._$ei=function(){this.context.restore()},_t.prototype.drawElements=function(t,i,r,e,_,o,s,$){try{_!=this._$Qo&&(this._$Qo=_,this.context.globalAlpha=_);for(var a=i.length,h=t.width,l=t.height,u=this.context,p=this._$xP,f=this._$uP,c=this._$6r,y=this._$3r,g=_t.tr,d=_t._$Ti,m=_t._$Pi,P=_t._$B,L=0;L.02?_t.expandClip(t,i,r,e,h,l,u,p,f,c):_t.clipWithTransform(t,null,_,o,s,n,$,a)},_t.expandClip=function(t,i,r,e,_,o,s,n,$,a){var h=s-_,l=n-o,u=$-_,p=a-o,f=h*p-l*u>0?r:-r,c=-l,y=h,g=$-s,d=a-n,m=-d,T=g,P=Math.sqrt(g*g+d*d),L=-p,S=u,v=Math.sqrt(u*u+p*p),w=_-f*c/e,A=o-f*y/e,E=s-f*c/e,b=n-f*y/e,x=s-f*m/P,D=n-f*T/P,C=$-f*m/P,I=a-f*T/P,O=_+f*L/v,M=o+f*S/v,F=$+f*L/v,R=a+f*S/v,N=_t._$50;return null!=i._$P2(N)&&(_t.clipWithTransform(t,N,w,A,E,b,x,D,C,I,F,R,O,M),!0)},_t.clipWithTransform=function(t,i,r,e,_,o,s,$){if(arguments.length<7)n._$li("err : @LDGL.clip()");else if(arguments[1]instanceof yt){var a=_t._$B,h=i,l=arguments;if(t.beginPath(),h){h._$PS(l[2],l[3],a),t.moveTo(a[0],a[1]);for(var u=4;u1?1:.5-.5*Math.cos(t*St.PI_F)};function at(t){r||(this._$ib=t)}at._$fr=-1,at.prototype.toString=function(){return this._$ib};function ht(){r||(H.prototype.constructor.call(this),this._$LP=-1,this._$d0=0,this._$Yo=0,this._$JP=null,this._$5P=null,this._$BP=null,this._$Eo=null,this._$Qi=null,this._$6s=ht._$ms,this.culling=!0,this.gl_cacheImage=null,this.instanceNo=ht._$42++)}ht.prototype=new H,ht._$42=0,ht._$Os=30,ht._$ms=0,ht._$ns=1,ht._$_s=2,ht._$gT=new Array,ht.prototype._$_S=function(t){this._$LP=t},ht.prototype.getTextureNo=function(){return this._$LP},ht.prototype._$ZL=function(){return this._$Qi},ht.prototype._$H2=function(){return this._$JP},ht.prototype.getNumPoints=function(){return this._$d0},ht.prototype.getType=function(){return H._$wb},ht.prototype._$B2=function(t,i,r){var e=i,_=null!=e._$hr?e._$hr:e._$Cr;switch(B._$do){default:case B._$Ms:throw new Error("_$L _$ro ");case B._$Qs:for(var o=this._$d0-1;o>=0;--o){_[o*B._$No+4]=r}}},ht.prototype._$zP=function(){this._$GS=new C,this._$GS._$zP()},ht.prototype._$F0=function(t){H.prototype._$F0.call(this,t),this._$LP=t._$6L(),this._$d0=t._$6L(),this._$Yo=t._$6L();var i=t._$nP();this._$BP=new Int16Array(3*this._$Yo);for(var r=3*this._$Yo-1;r>=0;--r)this._$BP[r]=i[r];if(this._$Eo=t._$nP(),this._$Qi=t._$nP(),t.getFormatVersion()>=G._$s7){if(this._$JP=t._$6L(),0!=this._$JP){if(0!=(1&this._$JP)){var e=t._$6L();null==this._$5P&&(this._$5P=new Object),this._$5P._$Hb=parseInt(e)}0!=(this._$JP&ht._$Os)?this._$6s=(this._$JP&ht._$Os)>>1:this._$6s=ht._$ms,0!=(32&this._$JP)&&(this.culling=!1)}}else this._$JP=0},ht.prototype.init=function(t){var i=new lt(this),r=this._$d0*B._$No,e=this._$32();null!=i._$Cr&&(i._$Cr=null),i._$Cr=new Float32Array(r),null!=i._$hr&&(i._$hr=null),i._$hr=e?new Float32Array(r):null;switch(B._$do){default:case B._$Ms:if(B._$Ls)for(var _=this._$d0-1;_>=0;--_){var o=_<<1;this._$Qi[o+1]=1-this._$Qi[o+1]}break;case B._$Qs:for(_=this._$d0-1;_>=0;--_){o=_<<1;var s=_*B._$No,n=this._$Qi[o],$=this._$Qi[o+1];i._$Cr[s]=n,i._$Cr[s+1]=$,i._$Cr[s+4]=0,e&&(i._$hr[s]=n,i._$hr[s+1]=$,i._$hr[s+4]=0)}}return i},ht.prototype._$Nr=function(t,i){var r=i;if(this!=r._$GT()&&console.log("### assert!! ### "),this._$GS._$Ur(t)&&(H.prototype._$Nr.call(this,t,r),!r._$IS[0])){var e=ht._$gT;e[0]=!1,L._$Vr(t,this._$GS,e,this._$d0,this._$Eo,r._$Cr,B._$i2,B._$No)}},ht.prototype._$2b=function(t,i){try{this!=i._$GT()&&console.log("### assert!! ### ");var r=!1;i._$IS[0]&&(r=!0);var e=i;if(!r&&(H.prototype._$2b.call(this,t),this._$32())){var _=this.getTargetBaseDataID();if(e._$8r==H._$ur&&(e._$8r=t.getBaseDataIndex(_)),e._$8r<0)nt._$so&&n._$li("_$L _$0P _$G :: %s",_);else{var o=t.getBaseData(e._$8r),s=t._$q2(e._$8r);null==o||s._$x2()?e._$AT=!1:(o._$nb(t,s,e._$Cr,e._$hr,this._$d0,B._$i2,B._$No),e._$AT=!0),e.baseOpacity=s.getTotalOpacity()}}}catch(t){throw t}},ht.prototype.draw=function(t,i,r){if(this!=r._$GT()&&console.log("### assert!! ### "),!r._$IS[0]){var e=r,_=this._$LP;_<0&&(_=1);var o=this.getOpacity(i,e)*r._$VS*r.baseOpacity,s=null!=e._$hr?e._$hr:e._$Cr;t.setClipBufPre_clipContextForDraw(r.clipBufPre_clipContext),t._$WP(this.culling),t._$Uo(_,3*this._$Yo,this._$BP,s,this._$Qi,o,this._$6s,e)}},ht.prototype.dump=function(){console.log(" _$yi( %d ) , _$d0( %d ) , _$Yo( %d ) \n",this._$LP,this._$d0,this._$Yo),console.log(" _$Oi _$di = { ");for(var t=0;tstartMotion() / start _$K _$3 (m%d)\n",e,r._$sr));if(null==t)return-1;(r=new ct)._$w0=t,this.motions.push(r);var o=r._$sr;return this._$eb&&n._$Ji("MotionQueueManager[size:%2d]->startMotion() / new _$w0 (m%d)\n",e,o),o},ft.prototype.updateParam=function(t){try{for(var i=!1,r=0;rupdateParam() / _$T0 _$w0 (m%d)\n",this.motions.length-1,e._$sr),this.motions.splice(r,1),r--)):(this.motions=this.motions.splice(r,1),r--)}else this.motions.splice(r,1),r--}return i}catch(t){return n._$li(t),!0}},ft.prototype.isFinished=function(t){if(arguments.length>=1){for(var i=0;i.9&&nt.EXPAND_W;var $=this.gl;if(null==this.gl)throw new Error("gl is null");var a=1*this._$C0*o,h=1*this._$tT*o,l=1*this._$WL*o,u=this._$lT*o;if(null!=this.clipBufPre_clipContextMask){$.frontFace($.CCW),$.useProgram(this.shaderProgram),this._$vS=mt($,this._$vS,e),this._$no=Tt($,this._$no,r),$.enableVertexAttribArray(this.a_position_Loc),$.vertexAttribPointer(this.a_position_Loc,2,$.FLOAT,!1,0,0),this._$NT=mt($,this._$NT,_),$.activeTexture($.TEXTURE1),$.bindTexture($.TEXTURE_2D,this.textures[t]),$.uniform1i(this.s_texture0_Loc,1),$.enableVertexAttribArray(this.a_texCoord_Loc),$.vertexAttribPointer(this.a_texCoord_Loc,2,$.FLOAT,!1,0,0),$.uniformMatrix4fv(this.u_matrix_Loc,!1,this.getClipBufPre_clipContextMask().matrixForMask);var p=this.getClipBufPre_clipContextMask().layoutChannelNo,f=this.getChannelFlagAsColor(p);$.uniform4f(this.u_channelFlag,f.r,f.g,f.b,f.a);var c=this.getClipBufPre_clipContextMask().layoutBounds;$.uniform4f(this.u_baseColor_Loc,2*c.x-1,2*c.y-1,2*c._$EL()-1,2*c._$5T()-1),$.uniform1i(this.u_maskFlag_Loc,!0)}else if(null!=this.getClipBufPre_clipContextDraw()){$.useProgram(this.shaderProgramOff),this._$vS=mt($,this._$vS,e),this._$no=Tt($,this._$no,r),$.enableVertexAttribArray(this.a_position_Loc_Off),$.vertexAttribPointer(this.a_position_Loc_Off,2,$.FLOAT,!1,0,0),this._$NT=mt($,this._$NT,_),$.activeTexture($.TEXTURE1),$.bindTexture($.TEXTURE_2D,this.textures[t]),$.uniform1i(this.s_texture0_Loc_Off,1),$.enableVertexAttribArray(this.a_texCoord_Loc_Off),$.vertexAttribPointer(this.a_texCoord_Loc_Off,2,$.FLOAT,!1,0,0),$.uniformMatrix4fv(this.u_clipMatrix_Loc_Off,!1,this.getClipBufPre_clipContextDraw().matrixForDraw),$.uniformMatrix4fv(this.u_matrix_Loc_Off,!1,this.matrix4x4),$.activeTexture($.TEXTURE2),$.bindTexture($.TEXTURE_2D,nt.fTexture[this.glno]),$.uniform1i(this.s_texture1_Loc_Off,2);p=this.getClipBufPre_clipContextDraw().layoutChannelNo,f=this.getChannelFlagAsColor(p);$.uniform4f(this.u_channelFlag_Loc_Off,f.r,f.g,f.b,f.a),$.uniform4f(this.u_baseColor_Loc_Off,a,h,l,u)}else $.useProgram(this.shaderProgram),this._$vS=mt($,this._$vS,e),this._$no=Tt($,this._$no,r),$.enableVertexAttribArray(this.a_position_Loc),$.vertexAttribPointer(this.a_position_Loc,2,$.FLOAT,!1,0,0),this._$NT=mt($,this._$NT,_),$.activeTexture($.TEXTURE1),$.bindTexture($.TEXTURE_2D,this.textures[t]),$.uniform1i(this.s_texture0_Loc,1),$.enableVertexAttribArray(this.a_texCoord_Loc),$.vertexAttribPointer(this.a_texCoord_Loc,2,$.FLOAT,!1,0,0),$.uniformMatrix4fv(this.u_matrix_Loc,!1,this.matrix4x4),$.uniform4f(this.u_baseColor_Loc,a,h,l,u),$.uniform1i(this.u_maskFlag_Loc,!1);this.culling?this.gl.enable($.CULL_FACE):this.gl.disable($.CULL_FACE),this.gl.enable($.BLEND);var y,g,d,m;if(null!=this.clipBufPre_clipContextMask)y=$.ONE,g=$.ONE_MINUS_SRC_ALPHA,d=$.ONE,m=$.ONE_MINUS_SRC_ALPHA;else switch(s){case ht._$ms:y=$.ONE,g=$.ONE_MINUS_SRC_ALPHA,d=$.ONE,m=$.ONE_MINUS_SRC_ALPHA;break;case ht._$ns:y=$.ONE,g=$.ONE,d=$.ZERO,m=$.ONE;break;case ht._$_s:y=$.DST_COLOR,g=$.ONE_MINUS_SRC_ALPHA,d=$.ZERO,m=$.ONE}$.blendEquationSeparate($.FUNC_ADD,$.FUNC_ADD),$.blendFuncSeparate(y,g,d,m),this.anisotropyExt&&$.texParameteri($.TEXTURE_2D,this.anisotropyExt.TEXTURE_MAX_ANISOTROPY_EXT,this.maxAnisotropy);var T=r.length;$.drawElements($.TRIANGLES,T,$.UNSIGNED_SHORT,0),$.bindTexture($.TEXTURE_2D,null)}};function mt(t,i,r){return null==i&&(i=t.createBuffer()),t.bindBuffer(t.ARRAY_BUFFER,i),t.bufferData(t.ARRAY_BUFFER,r,t.DYNAMIC_DRAW),i}function Tt(t,i,r){return null==i&&(i=t.createBuffer()),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,i),t.bufferData(t.ELEMENT_ARRAY_BUFFER,r,t.DYNAMIC_DRAW),i}dt.prototype._$Rs=function(){throw new Error("_$Rs")},dt.prototype._$Ds=function(t){throw new Error("_$Ds")},dt.prototype._$K2=function(){for(var t=0;t=48){var e=G._$9o(t);return null!=e?(e._$F0(this),e):null}switch(t){case 1:return this._$bT();case 10:return new function(){r||(this.color=null)}(this._$6L(),!0);case 11:return new P(this._$mP(),this._$mP(),this._$mP(),this._$mP());case 12:return new P(this._$_T(),this._$_T(),this._$_T(),this._$_T());case 13:return new S(this._$mP(),this._$mP());case 14:return new S(this._$_T(),this._$_T());case 15:for(var _=this._$3L(),o=new Array(_),s=0;s<_;s++)o[s]=this._$nP();return o;case 17:return o=new M(this._$mP(),this._$mP(),this._$mP(),this._$mP(),this._$mP(),this._$mP());case 21:return new $(this._$6L(),this._$6L(),this._$6L(),this._$6L());case 22:return new ut(this._$6L(),this._$6L());case 23:throw new Error("_$L _$ro ");case 16:case 25:return this._$cS();case 26:return this._$5b();case 27:return this._$Tb();case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 18:case 19:case 20:case 24:case 28:throw new at("_$6 _$q : _$nP() of 2-9 ,18,19,20,24,28 : "+t);default:throw new at("_$6 _$q : _$nP() NO _$i : "+t)}},Pt.prototype._$8L=function(){return 0==this._$hL?this._$v0=this._$ST():8==this._$hL&&(this._$v0=this._$ST(),this._$hL=0),1==(this._$v0>>7-this._$hL++&1)},Pt.prototype._$zT=function(){0!=this._$hL&&(this._$hL=0)};function St(){}St._$2S=Math.PI/180,St._$bS=Math.PI/180,St._$wS=180/Math.PI,St._$NS=180/Math.PI,St.PI_F=Math.PI,St._$kT=[0,.012368,.024734,.037097,.049454,.061803,.074143,.086471,.098786,.111087,.12337,.135634,.147877,.160098,.172295,.184465,.196606,.208718,.220798,.232844,.244854,.256827,.268761,.280654,.292503,.304308,.316066,.327776,.339436,.351044,.362598,.374097,.385538,.396921,.408243,.419502,.430697,.441826,.452888,.463881,.474802,.485651,.496425,.507124,.517745,.528287,.538748,.549126,.559421,.56963,.579752,.589785,.599728,.609579,.619337,.629,.638567,.648036,.657406,.666676,.675843,.684908,.693867,.70272,.711466,.720103,.72863,.737045,.745348,.753536,.76161,.769566,.777405,.785125,.792725,.800204,.807561,.814793,.821901,.828884,.835739,.842467,.849066,.855535,.861873,.868079,.874153,.880093,.885898,.891567,.897101,.902497,.907754,.912873,.917853,.922692,.92739,.931946,.936359,.940629,.944755,.948737,.952574,.956265,.959809,.963207,.966457,.96956,.972514,.97532,.977976,.980482,.982839,.985045,.987101,.989006,.990759,.992361,.993811,.995109,.996254,.997248,.998088,.998776,.999312,.999694,.999924,1],St._$92=function(t,i){var r=Math.atan2(t[1],t[0]),e=Math.atan2(i[1],i[0]);return St._$tS(r,e)},St._$tS=function(t,i){for(var r=t-i;r<-Math.PI;)r+=2*Math.PI;for(;r>Math.PI;)r-=2*Math.PI;return r},St._$9=function(t){return Math.sin(t)},St.fcos=function(t){return Math.cos(t)};function vt(t){r||(this._$e0=null,this._$IP=null,this._$Us=null,this._$7s=null,this._$IS=[!1],this._$VS=null,this._$AT=!0,this.baseOpacity=1,this.clipBufPre_clipContext=null,this._$e0=t)}vt.prototype._$u2=function(){return this._$IS[0]},vt.prototype._$yo=function(){return this._$AT&&!this._$IS[0]},vt.prototype._$GT=function(){return this._$e0};function wt(){}wt._$W2=0,wt.SYSTEM_INFO=null,wt.USER_AGENT=navigator.userAgent,wt.isIPhone=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO._isIPhone},wt.isIOS=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO._isIPhone||wt.SYSTEM_INFO._isIPad},wt.isAndroid=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO._isAndroid},wt.getOSVersion=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO.version},wt.getOS=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO._isIPhone||wt.SYSTEM_INFO._isIPad?"iOS":wt.SYSTEM_INFO._isAndroid?"Android":"_$Q0 OS"},wt.setup=function(){var t=wt.USER_AGENT;function i(t,i){for(var r=t.substring(i).split(/[ _,;\.]/),e=0,_=0;_<=2&&!isNaN(r[_]);_++){var o=parseInt(r[_]);if(o<0||o>999){n._$li("err : "+o+" @UtHtml5.setup()"),e=0;break}e+=o*Math.pow(1e3,2-_)}return e}var r,e=wt.SYSTEM_INFO={userAgent:t};if((r=t.indexOf("iPhone OS "))>=0)e.os="iPhone",e._isIPhone=!0,e.version=i(t,r+"iPhone OS ".length);else if((r=t.indexOf("iPad"))>=0){if((r=t.indexOf("CPU OS"))<0)return void n._$li(" err : "+t+" @UtHtml5.setup()");e.os="iPad",e._isIPad=!0,e.version=i(t,r+"CPU OS ".length)}else(r=t.indexOf("Android"))>=0?(e.os="Android",e._isAndroid=!0,e.version=i(t,r+"Android ".length)):(e.os="-",e.version=-1)},nt.init();r=!1;i.UtSystem=b,i.UtDebug=n,i.LDTransform=yt,i.LDGL=_t,i.Live2D=nt,i.Live2DModelWebGL=pt,i.Live2DModelJS=J,i.Live2DMotion=Q,i.MotionQueueManager=ft,i.PhysicsHair=u,i.AMotion=s,i.PartsDataID=a,i.DrawDataID=O,i.BaseDataID=gt,i.ParamID=h}).call(i,r(134))},134:function(t,i){t.exports={import:function(){throw new Error("System.import cannot be used indirectly")}}},135:function(t,i){},136:function(t,i){},137:function(t,i){},138:function(t,i){}}); +//# sourceMappingURL=clL2D.0.min.js.map \ No newline at end of file diff --git a/ghpages/lib/clL2D.0.min.js.map b/ghpages/lib/clL2D.0.min.js.map new file mode 100644 index 0000000..66ff0df --- /dev/null +++ b/ghpages/lib/clL2D.0.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/cLive2DApp.js","webpack:///./src/elementMgr.js","webpack:///./src/tmplate/innerHTML.html","webpack:///./src/lib/live2d.core.js","webpack:///(webpack)/buildin/system.js"],"names":["_configMgr","__webpack_require__","_elementMgr","_live2d","_Live2DFramework","_MatrixStack","_cDefine","isDrawStart","dragMgr","viewMatrix","projMatrix","deviceToScreen","createElement","L2DTargetPoint","ratio","config","display","height","width","left","_cDefine2","default","VIEW_LOGICAL_LEFT","right","VIEW_LOGICAL_RIGHT","bottom","top","L2DViewMatrix","setScreenRect","setMaxScreenRect","VIEW_LOGICAL_MAX_LEFT","VIEW_LOGICAL_MAX_RIGHT","VIEW_LOGICAL_MAX_BOTTOM","VIEW_LOGICAL_MAX_TOP","L2DMatrix44","multScale","multTranslate","Live2D","setGL","currWebGL","clearColor","modelurl","model","jsonPath","live2DMgr","reloadFlg","count","changeModel","tick","MatrixStack","reset","loadIdentity","update","setDrag","getX","getY","clear","COLOR_BUFFER_BIT","multMatrix","getArray","push","i","numModels","getModel","initialized","updating","draw","pop","requestAnimationFrame","window","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","currCanvas","_innerHTML","undefined","newElem","document","id","name","div","innerHTML","_innerHTML2","newCanvasElem","setAttribute","canvas","antialias","style","setProperty","react","opacityDefault","position","hOffset","vOffset","dev","border","appendChild","body","getElementById","NAMES","length","ctx","getContext","alpha","premultipliedAlpha","failIfMajorPerformanceCaveat","exports","e","console","error","WebGLRenderingContext","initWebGL","module","j","aa","this","_$MT","_$5S","_$NP","_$42","y","_$0s","_$4s","_$62","aQ","aU","ArrayBuffer","DataView","J","aN","aS","K","aM","_$ST","aK","aJ","_$gr","ay","_$T7","aL","_$nP","_$s7","aH","_$9T","aT","_$KS","aP","getModelContext","setDrawParam","getDrawParam","init","aO","q","_$Rb","prototype","getModelImpl","w","_$zP","getCanvasWidth","getCanvasHeight","getParamFloat","getParamIndex","z","getID","setParamFloat","aI","arguments","addToParamFloat","multParamFloat","loadParam","saveParam","_$Rs","_$li","_$Ds","_$K2","_$s2","_$P7","aR","a0","aY","getPartsOpacity","aW","setPartsOpacity","aV","log","aZ","getPartsDataIndex","getDrawDataIndex","Z","getDrawData","getTransformedPoints","_$C2","ag","getIndexArray","_$aS","getType","a","_$wb","b","W","clipContextList","Array","glcontext","gl","dp_webgl","curFrameNo","firstError_clipInNotUpdate","colorBuffer","isInitGLFBFunc","tmpBoundsOnModel","av","Q","glContext","frameBuffers","getMaskRenderTexture","tmpModelToViewMatrix","ac","tmpMatrix2","tmpMatrixForMask","tmpMatrixForDraw","CHANNEL_COLORS","o","r","g","setChannelFlagAsColor","CHANNEL_COUNT","RENDER_TEXTURE_USE_MIPMAP","NOT_USED_FRAME","_$L7","splice","releaseShader","deleteFramebuffer","framebuffer","getClipIDList","findSameClip","U","getDrawDataID","addClippedDrawData","clipBufPre_clipContext","createFramebuffer","glno","setupClip","a1","calcClippedDrawTotalBounds","isUsing","getParameter","FRAMEBUFFER_BINDING","viewport","clippingMaskBufferSize","setupLayoutBounds","bindFramebuffer","FRAMEBUFFER","allClippedDrawRect","layoutChannelNo","layoutBounds","_$jL","expand","identity","translate","scale","x","setMatrix","m","aX","matrixForMask","matrixForDraw","clippingMaskDrawIndexList","setClipBufPre_clipContextForMask","getColorBuffer","clipIDList","a6","_$Ri","a5","clippedDrawContextList","drawDataIndex","_$yo","a4","a3","aw","_$i2","_$No","a2","Math","min","apply","max","Float32Array","owner","_$gP","ah","_$dP","_$eo","_$V0","_$a0","_$JT","setFadeIn","setFadeOut","_$pT","getFadeOut","_$4T","_$mT","getDurationMSec","getLoopDurationMSec","updateParam","_$AT","_$9L","P","getUserTimeMSec","_$z2","_$bs","_$Do","A","_$r2","updateParamExe","_$8s","_$fT","Object","start","_$r","_$0S","getSystemTimeMSec","dump","end","_$Ji","_$dL","_$KL","_$nr","stack","F","_$8P","_$6P","_$EL","_$5T","ak","constructor","call","_$tP","_$27","_$3s","_$vo","_$F2","_$ao","_$1S","an","_$F0","_$6L","_$6S","_$Xr","_$E2","u","p1","N","p2","_$Fo","_$Db","_$L2","_$M2","_$ks","_$9b","_$iP","_$iT","_$lL","_$qP","setup","_$Yb","_$xT","_$p","getPhysicsPoint1","getPhysicsPoint2","_$qr","_$pr","_$5r","_$Cs","atan2","PI","addSrcParam","h","addTargetParam","aF","sqrt","_$oP","_$oo","_$YS","vx","_$s0","vy","_$70","ax","_$7L","_$HL","fx","fy","cos","sin","aC","_$bS","at","_$wL","_$tL","Src","SRC_TO_X","SRC_TO_Y","SRC_TO_G_ANGLE","d","_$YP","Target","TARGET_FROM_ANGLE","TARGET_FROM_ANGLE_V","X","_$fL","_$gL","_$B0","_$z0","_$qT","reflectX","reflectY","_$_T","getFormatVersion","LIVE2D_FORMAT_VERSION_V2_10_SDK2","_$po","_$e","ad","_$ni","isNaN","contains","aG","_$Z2","bb","bo","bp","_$Q2","_$vs","ba","_$Tr","_$zr","bj","bi","a9","a8","br","bn","bm","bg","bf","bu","bt","bl","bk","be","bc","a7","bh","bs","bd","_$br","bq","_$Vr","bV","bW","bC","bX","bH","bw","_$jT","bT","b3","b2","bP","b1","b0","bM","bL","b8","bN","bZ","b7","bU","bS","b6","b5","bQ","bO","bD","bB","by","bx","bG","bE","bv","bA","bz","bY","bK","b4","bJ","bF","bR","_$HT","ae","_$dr","_$GS","_$qb","_$Lb","_$mS","clipID","_$ur","_$ES","_$8S","_$52","_$R2","_$or","_$Pr","convertClipIDForV2_11","test","split","_$cS","_$Tb","_$MS","_$Nr","_$IS","_$Us","_$Zs","_$7s","_$2b","_$j2","getOpacity","_$zS","getTargetBaseDataID","_$gs","_$32","n","_$2o","preDraw","_$B2","_$Eb","_$ps","_$lT","_$C0","_$tT","_$WL","culling","matrix4x4","anisotropy","clippingProcess","CLIPPING_PROCESS_NONE","clipBufPre_clipContextMask","clipBufPre_clipContextDraw","CLIPPING_PROCESS_OVERWRITE_ALPHA","CLIPPING_PROCESS_MULTIPLY_ALPHA","CLIPPING_PROCESS_DRAW","CLIPPING_PROCESS_CLEAR_ALPHA","getChannelFlagAsColor","_$ZT","_$Uo","setBaseColor","_$WP","_$IT","setPremultipliedAlpha","isPremultipliedAlpha","setAnisotropy","getAnisotropy","getClippingProcess","setClippingProcess","getClipBufPre_clipContextMask","setClipBufPre_clipContextForDraw","getClipBufPre_clipContextDraw","_$ho","blendMode","L2D_COLOR_BLEND_MODE_MULT","c","_$kP","_$Ai","_$c2","_$_b","readV2_opacity","interpolateOpacity","setInterpolatedOpacity","_$nb","_$a2","getBaseDataID","_$W2","_$CS","_$Mo","_$XP","getTimeMSec","setUserTimeMSec","updateUserTimeMSec","Date","getTime","_$Q","aA","_$VP","_$GP","_$8o","_$ds","_$2r","_$O2","_$ri","_$Pb","getParamID","_$yP","_$N2","_$d2","_$t2","_$Lr","_$wr","_$SL","_$AL","G","startsWith","getChar","charAt","String","fromCharCode","getUint8","createString","Uint16Array","_$LS","_$Ob","_$Ur","_$WS","_$v2","_$Xb","Exception","_$J","_$Qb","_$3T","_$h2","_$J2","getParamCount","_$zs","getCopyMatrix","mult","mult_safe","mult_fast","rotateX","fcos","_$9","rotateY","rotateZ","aD","_$7","_$f","_$H","_$g","_$k","_$w","_$hi","STATE_IDENTITY","_$Z","_$pS","_$kS","_$hb","_$gb","_$fo","_$go","transform","_$RT","_$so","_$CT","Y","motions","_$7r","_$Co","_$D0","_$yT","_$E","loopFadeIn","_$AS","_$cs","_$ar","_$D2","_$1T","loadMotion","t","_$RP","_$hs","_$4P","_$xs","_$us","_$qs","_$Ys","_$ws","_$Ns","_$Fr","_$I0","_$BL","_$r0","_$aL","isLoopFadeIn","setLoopFadeIn","aE","_$P","size","add","_$Ms","_$Qs","_$do","_$Ls","_$1r","_$FT","_$Ss","_$o7","_$S7","_$77","LIVE2D_FORMAT_VERSION_V2_11_SDK2_1","_$Is","_$h0","_$4L","_$7P","_$uT","_$9o","E","ab","f","s","aq","_$QT","_$co","_$qo","_$pb","_$is","_$_2","_$vr","_$Rr","_$Or","_$fs","_$Js","_$3S","_$Bo","_$db","_$8b","_$Hr","_$Ws","_$Vs","_$Er","_$Es","Int16Array","_$ZP","_$b0","_$HP","clipManager","_$_0","_$V2","_$W0","_$jr","_$ZS","_$tr","_$lr","release","getBaseData","_$l2","_$IP","getBaseDataIndex","_$1s","_$02","getDefaultValue","getMinValue","getMaxValue","_$u2","floor","toString","_$sT","_$H7","_$VS","_$BS","_$UT","_$Zo","getParamMax","getParamMin","_$p2","_$q2","_$Bb","_$5s","_$GT","ap","_$0T","_$5","exists","_$ls","_$3b","Int8Array","_$Xs","_$kb","read","_$C","_$js","write","_$TS","close","flush","ar","_$12","_$bb","_$_L","_$jo","_$iL","_$0L","_$Br","_$Dr","_$Cb","_$mr","az","STATE_FIRST","_$T2","_$10","_$uo","_$QS","_$7T","STATE_CLOSING","STATE_CLOSED","STATE_OPENING","STATE_INTERVAL","_$sb","Int32Array","_$As","_$U2","_$NT","_$9r","_$vS","_$no","_$vb","_$Gr","_$cr","_$yL","put","_$oT","_$mb","_$Hs","_$as","setTransform","EXPAND_W","drawElements","Error","_$Sr","setTexture","_$nS","_$Y0","_$Xo","_$io","_$0o","_$Lo","_$To","_$Po","_$gT","al","_$Yr","_$Wr","_$Ib","pow","_$hS","_$8r","_$Jr","_$92","_$NS","getTotalScale","setTotalScale_notForClient","getTotalOpacity","setTotalOpacity","getInterpolatedOpacity","B","_$os","_$Sb","_$NL","_$1b","getDrawDataList","_$kr","_$xo","v","_$zo","loadModel","_$to","_$er","_$PL","_$nL","_$_o","ao","_$o2","_$rr","_$eP","MTN_PREFIX_FADEIN","MTN_PREFIX_FADEOUT","p","byteLength","charCodeAt","_$S0","_$U0","_$o","_$A","_$Eo","H","_$Cr","_$hr","_$VT","transformPoints_sdk2","System","err","printf","transformPoints_sdk1","_$ts","visible","_$g0","_$8L","aj","isVisible","_$6o","_$3o","_$uL","_$KP","_$ET","_$ob","getPartsID","_$MP","_$e0","_$4S","_$Ks","au","context","_$6r","_$xP","_$3r","_$uP","_$Qo","cacheImages","tr","am","_$50","_$Ti","_$Pi","_$B","_$lP","_$bL","save","beginPath","_$Li","clip","_$ei","restore","globalAlpha","_$PS","ceil","rotate","shear","setContext","IGNORE_EXPAND","USE_CACHED_POLYGON_IMAGE","gl_cacheImage","createCanvas","DEBUG_DATA","LDGL_CANVAS_MB","drawImage","cacheCanvas","cacheContext","IGNORE_CLIP","USE_ADJUST_TRANSLATION","expandClip","clipWithTransform","_$P2","moveTo","lineTo","dumpValues","toFixed","_$TT","_$LT","_$FS","_$JS","totalScale","totalOpacity","getPartsIndex","_$x2","_$2s","_$Kr","_$sP","_$cb","_$Ts","_$fb","L2D_DEFORMER_EXTEND","_$Wb","_$yr","L2D_NO_ERROR","_$i7","_$9s","_$es","_$r7","_$07","_$b7","L2D_COLOR_BLEND_MODE_ADD","L2D_COLOR_BLEND_MODE_INTERPOLATE","_$6b","_$cT","fTexture","USE_CANVAS_TRANSFORM","PROFILE_IOS_SPEED","PROFILE_NAME","PROFILE_IOS_QUALITY","PROFILE_IOS_DEFAULT","PROFILE_ANDROID","PROFILE_DESKTOP","initProfile","isIOS","setupProfile","isAndroid","alert","getVersionStr","getVersionNo","getError","dispose","getGL","setClippingMaskBufferSize","getClippingMaskBufferSize","deleteBuffer","PI_F","_$ib","_$fr","_$LP","_$d0","_$Yo","_$JP","_$5P","_$BP","_$Qi","_$6s","_$ms","instanceNo","_$Os","_$ns","_$_s","_$_S","getTextureNo","_$ZL","_$H2","getNumPoints","_$Hb","parseInt","baseOpacity","_$72","aB","k","l","drawParamWebGL","C","V","_$eb","_$tb","startMotion","_$qS","_$w0","_$sr","M","isFinished","stopAllMotions","_$Zr","_$Gs","_$Bs","concatenate","_$eT","textures","firstDraw","anisotropyExt","maxAnisotropy","vertShader","fragShader","vertShaderOff","fragShaderOff","initShader","getExtension","MAX_TEXTURE_MAX_ANISOTROPY_EXT","disable","SCISSOR_TEST","STENCIL_TEST","DEPTH_TEST","frontFace","CW","enable","BLEND","colorMask","bindBuffer","ARRAY_BUFFER","ELEMENT_ARRAY_BUFFER","CCW","useProgram","shaderProgram","T","L","enableVertexAttribArray","a_position_Loc","vertexAttribPointer","FLOAT","activeTexture","TEXTURE1","bindTexture","TEXTURE_2D","uniform1i","s_texture0_Loc","a_texCoord_Loc","uniformMatrix4fv","u_matrix_Loc","uniform4f","u_channelFlag","u_baseColor_Loc","u_maskFlag_Loc","shaderProgramOff","a_position_Loc_Off","s_texture0_Loc_Off","a_texCoord_Loc_Off","u_clipMatrix_Loc_Off","u_matrix_Loc_Off","TEXTURE2","s_texture1_Loc_Off","u_channelFlag_Loc_Off","u_baseColor_Loc_Off","CULL_FACE","ONE","ONE_MINUS_SRC_ALPHA","ZERO","DST_COLOR","blendEquationSeparate","FUNC_ADD","blendFuncSeparate","texParameteri","TEXTURE_MAX_ANISOTROPY_EXT","TRIANGLES","UNSIGNED_SHORT","createBuffer","bufferData","DYNAMIC_DRAW","loadShaders2","getAttribLocation","getUniformLocation","disposeShader","deleteProgram","compileShader","createShader","shaderSource","getShaderParameter","COMPILE_STATUS","getShaderInfoLog","deleteShader","createProgram","VERTEX_SHADER","FRAGMENT_SHADER","attachShader","linkProgram","getProgramParameter","LINK_STATUS","getProgramInfoLog","createRenderbuffer","bindRenderbuffer","RENDERBUFFER","renderbufferStorage","RGBA4","framebufferRenderbuffer","COLOR_ATTACHMENT0","createTexture","texImage2D","RGBA","UNSIGNED_BYTE","TEXTURE_MIN_FILTER","LINEAR","TEXTURE_MAG_FILTER","TEXTURE_WRAP_S","CLAMP_TO_EDGE","TEXTURE_WRAP_T","framebufferTexture2D","renderbuffer","texture","_$R0","buffer","_$3i","_$hL","_$v0","_$S2","_$Ko","_$T","_$F","_$fP","_$3L","_$mP","_$zT","getFloat64","getFloat32","getInt32","getInt8","getInt16","_$2T","O","_$bT","_$5b","Float64Array","_$Jb","_$4b","color","_$2S","_$wS","_$kT","_$tS","SYSTEM_INFO","USER_AGENT","navigator","userAgent","isIPhone","_isIPhone","_isIPad","_isAndroid","getOSVersion","version","getOS","substring","indexOf","os","UtSystem","UtDebug","LDTransform","LDGL","Live2DModelWebGL","Live2DModelJS","Live2DMotion","MotionQueueManager","PhysicsHair","AMotion","PartsDataID","DrawDataID","BaseDataID","ParamID","import"],"mappings":";iHAKA,MAAAA,EAAAC,EAAA,IACAC,EAAAD,EAAA,KACAE,EAAAF,EAAA,KAeAG,EAAAH,EAAA,KAEAI,GADAJ,EAAA,KACAA,EAAA,MACAK,EAAAL,EAAA,2CAEA,IAAIM,GAAc,EACdC,EAAU,KACVC,EAAa,KACbC,EAAa,KACbC,EAAiB,eAeN,YAEb,EAAAT,EAAAU,iBAEAJ,EAAU,IAAAJ,EAAAS,eACV,IAAIC,EAAQd,EAAAe,OAAOC,QAAQC,OAASjB,EAAAe,OAAOC,QAAQE,MAC/CC,EAAOC,EAAAC,QAAQC,kBACfC,EAAQH,EAAAC,QAAQG,mBAChBC,GAAUX,EACVY,EAAMZ,GAEVL,EAAa,IAAAL,EAAAuB,eAEFC,cAAcT,EAAMI,EAAOE,EAAQC,GAE9CjB,EAAWoB,iBAAiBT,EAAAC,QAAQ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GAAMsB,EAAKwI,KAAKujB,IAAI,IAAO,EAAI7sB,GAEnC,OAAOR,EAEX,IAAIe,EAEAJ,EAAKuF,GAAE88B,aACPG,UAAWziC,GAEf,IAAKK,EAAKL,EAAGkjC,QAAQ,gBAAkB,EACnCjjC,EAAGkjC,GAAK,SACRljC,EAAG0iC,WAAY,EACf1iC,EAAG8iC,QAAUhhC,EAAG/B,EAAIK,EAAK,aAAavC,aAEtC,IAAKuC,EAAKL,EAAGkjC,QAAQ,UAAY,EAAG,CAEhC,IADA7iC,EAAKL,EAAGkjC,QAAQ,WACP,EAEL,YADAhiC,EAAEoB,KAAK,UAAYtC,EAAK,qBAG5BC,EAAGkjC,GAAK,OACRljC,EAAG2iC,SAAU,EACb3iC,EAAG8iC,QAAUhhC,EAAG/B,EAAIK,EAAK,UAAUvC,aAE9BuC,EAAKL,EAAGkjC,QAAQ,aAAe,GAChCjjC,EAAGkjC,GAAK,UACRljC,EAAG4iC,YAAa,EAChB5iC,EAAG8iC,QAAUhhC,EAAG/B,EAAIK,EAAK,WAAWvC,UAEpCmC,EAAGkjC,GAAK,IACRljC,EAAG8iC,SAAW,IAM9Bl+B,GAAE7D,OACErC,GAAI,IAGDykC,SAALx4B,IACKy4B,QAALniC,IACMoiC,YAAN/R,KACMgS,KAANzS,KACK/2B,OAAL8K,KACK2+B,iBAALhL,KACKiL,cAAL3V,IACM4V,aAANpV,IACKqV,mBAALhL,KACKiL,YAALr2B,IACMs2B,QAANl6B,IACKm6B,YAALvoC,IACKwoC,WAALzgC,IACK0gC,WAALprB,KACKqrB,QAALriC,sCC58OFlD,EAAAN,SAEA8lC,OAAA,WACA,UAAAvY,MAAA","file":"clL2D.0.min.js","sourcesContent":["/**\n * @description The main part of live2d-widget\n */\n\n\nimport { config } from './config/configMgr';\nimport { createElement, currWebGL } from './elementMgr';\nimport { UtSystem,\n UtDebug,\n LDTransform,\n LDGL,\n Live2D,\n Live2DModelWebGL,\n Live2DModelJS,\n Live2DMotion,\n MotionQueueManager,\n PhysicsHair,\n AMotion,\n PartsDataID,\n DrawDataID,\n BaseDataID,\n ParamID } from './lib/live2d.core';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport { cManager } from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport cDefine from \"./cDefine\";\n\nlet isDrawStart = false;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n\n\n\n/**\n * Main function of live2d-widget\n * @return {null}\n */\n\nexport default () => {\n\n createElement();\n\n dragMgr = new L2DTargetPoint();\n let ratio = config.display.height / config.display.width;\n let left = cDefine.VIEW_LOGICAL_LEFT;\n let right = cDefine.VIEW_LOGICAL_RIGHT;\n let bottom = -ratio;\n let top = ratio;\n\n viewMatrix = new L2DViewMatrix();\n\n viewMatrix.setScreenRect(left, right, bottom, top);\n\n viewMatrix.setMaxScreenRect(cDefine.VIEW_LOGICAL_MAX_LEFT,\n cDefine.VIEW_LOGICAL_MAX_RIGHT,\n cDefine.VIEW_LOGICAL_MAX_BOTTOM,\n cDefine.VIEW_LOGICAL_MAX_TOP);\n\n projMatrix = new L2DMatrix44();\n projMatrix.multScale(1, (config.display.width / config.display.height));\n\n deviceToScreen = new L2DMatrix44();\n deviceToScreen.multTranslate(-config.display.width / 2.0, -config.display.height / 2.0); // #32\n deviceToScreen.multScale(2 / config.display.width, -2 / config.display.height); // #32\n\n\n Live2D.setGL(currWebGL);\n currWebGL.clearColor(0.0, 0.0, 0.0, 0.0);\n changeModel(config.model.jsonPath);\n startDraw();\n\n}\n\n\nfunction initEvent(){/*\n if (currCanvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }*/\n}\n\nfunction startDraw() {\n if (!isDrawStart) {\n isDrawStart = true;\n (function tick() {\n draw();\n let requestAnimationFrame =\n window.requestAnimationFrame ||\n window.mozRequestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n window.msRequestAnimationFrame;\n\n requestAnimationFrame(tick, currCanvas);\n })();\n }\n}\n\nfunction draw()\n{\n MatrixStack.reset();\n MatrixStack.loadIdentity();\n dragMgr.update();\n live2DMgr.setDrag(dragMgr.getX(), dragMgr.getY());\n\n currWebGL.clear(currWebGL.COLOR_BUFFER_BIT);\n\n MatrixStack.multMatrix(projMatrix.getArray());\n MatrixStack.multMatrix(viewMatrix.getArray());\n MatrixStack.push();\n\n for (let i = 0; i < live2DMgr.numModels(); i++)\n {\n let model = live2DMgr.getModel(i);\n\n if(model == null) return;\n\n if (model.initialized && !model.updating)\n {\n model.update();\n model.draw(currWebGL);\n }\n }\n MatrixStack.pop();\n}\n\nfunction changeModel(modelurl) // 更换模型\n{\n live2DMgr.reloadFlg = true;\n live2DMgr.count++; // 现在仍有多模型支持,稍后可以精简\n live2DMgr.changeModel(currWebGL, modelurl);\n}\n\nfunction modelScaling(scale) {\n viewMatrix.adjustScale(0, 0, scale);\n}\n/*\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n*/\nfunction dot(A,B)\n{\n return A.x * B.x + A.y * B.y;\n}\n\nfunction normalize(x,y)\n{\n let length = Math.sqrt(x * x + y * y)\n return {\n x: x / length,\n y: y / length\n }\n}\n\nfunction transformRect(center, transform, rect)\n{\n if (transform.x < rect.left + rect.width && transform.y < rect.top + rect.height &&\n transform.x > rect.left && transform.y > rect.top) return transform;\n let Len_X = center.x - transform.x;\n let Len_Y = center.y - transform.y;\n\n function angle(Len_X, Len_Y)\n {\n return Math.acos(dot({\n x: 0,\n y: 1\n }, normalize(Len_X, Len_Y))) * 180 / Math.PI\n }\n\n let angleTarget = angle(Len_X, Len_Y);\n if (transform.x < center.x) angleTarget = 360 - angleTarget;\n let angleLeftTop = 360 - angle(rect.left - center.x, (rect.top - center.y) * -1);\n let angleLeftBottom = 360 - angle(rect.left - center.x, (rect.top + rect.height - center.y) * -1);\n let angleRightTop = angle(rect.left + rect.width - center.x, (rect.top - center.y) * -1);\n let angleRightBottom = angle(rect.left + rect.width - center.x, (rect.top + rect.height - center.y) * -1);\n let scale = Len_Y / Len_X;\n let res = {};\n\n if (angleTarget < angleRightTop) {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if(angleTarget < angleRightBottom) {\n let x3 = rect.left + rect.width - center.x;\n let y3 = x3 * scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftBottom) {\n let y3 = rect.top + rect.height - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftTop) {\n let x3 = center.x - rect.left;\n let y3 = x3 * scale;\n res = {\n y: center.y - y3,\n x: center.x - x3\n }\n } else {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n }\n\n return res;\n}\n\nfunction modelTurnHead(event)\n{\n drag = true;\n\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTurnHead onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n dragMgr.setPoint(vx, vy);\n}\n\nfunction modelTapEvent(event)\n{\n drag = true;\n\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTapEvent onMouseDown device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n live2DMgr.tapEvent(vx, vy);\n}\n\nfunction followPointer(event)\n{\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n\n // log but seems ok\n // console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);\n\n let target = transformRect({// seems ok here\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"followPointer onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n if (drag)\n {\n lastMouseX = sx;\n lastMouseY = sy;\n dragMgr.setPoint(vx, vy);\n }\n}\n\nfunction lookFront()\n{\n if (drag) {\n drag = false;\n }\n dragMgr.setPoint(0, 0);\n}\n\nfunction mouseEvent(e)\n{\n //e.preventDefault();\n if (e.type == \"mousedown\") {\n modelTapEvent(e);\n } else if (e.type == \"mousemove\") {\n modelTurnHead(e);\n } else if (e.type == \"mouseup\") {\n if(\"button\" in e && e.button != 0) return;\n // lookFront();\n } else if (e.type == \"mouseleave\") {\n lookFront();\n }\n}\n\nfunction touchEvent(e)\n{\n var touch = e.touches[0];\n if (e.type == \"touchstart\") {\n if (e.touches.length == 1) modelTapEvent(touch);\n // onClick(touch);\n } else if (e.type == \"touchmove\") {\n followPointer(touch);\n } else if (e.type == \"touchend\") {\n lookFront();\n }\n}\n\nfunction transformViewX(deviceX)\n{\n var screenX = deviceToScreen.transformX(deviceX);\n return viewMatrix.invertTransformX(screenX);\n}\n\n\nfunction transformViewY(deviceY)\n{\n var screenY = deviceToScreen.transformY(deviceY);\n return viewMatrix.invertTransformY(screenY);\n}\n\n\nfunction transformScreenX(deviceX)\n{\n return deviceToScreen.transformX(deviceX);\n}\n\n\nfunction transformScreenY(deviceY)\n{\n return deviceToScreen.transformY(deviceY);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/cLive2DApp.js","/**\n * @description The container and manager for all the DOM and WebGL emelents.\n */\n\n\nimport { config } from './config/configMgr';\nimport htmlTemplate from './tmplate/innerHTML';\n\n/**\n * The current WebGL element\n * @type {RenderingContext}\n */\n\nlet currWebGL = undefined;\n\n/**\n * The current canvas element\n * @type {HTMLElement}\n */\n\nlet currCanvas;\n\n/**\n * Create the canvas and styles using DOM\n * @return {null}\n */\n\nfunction createElement(){\n\n let newElem = document.createElement('div');\n newElem.id = config.name.div;\n newElem.innerHTML = htmlTemplate;\n let newCanvasElem = document.createElement('canvas');\n newCanvasElem.setAttribute('id', config.name.canvas);\n newCanvasElem.setAttribute('width', config.display.width * config.display.antialias);\n newCanvasElem.setAttribute('height', config.display.height * config.display.antialias);\n newCanvasElem.style.setProperty('position', 'fixed');\n newCanvasElem.style.setProperty('width', config.display.width);\n newCanvasElem.style.setProperty('height', config.display.height);\n newCanvasElem.style.setProperty('opacity', config.react.opacityDefault);\n newCanvasElem.style.setProperty(config.display.position, config.display.hOffset + 'px');\n newCanvasElem.style.setProperty('bottom', config.display.vOffset + 'px');\n newCanvasElem.style.setProperty('z-index', 99999);\n newCanvasElem.style.setProperty('pointer-events', 'none');\n if(config.dev.border) newCanvasElem.style.setProperty('border', 'dashed 1px #CCC');\n newElem.appendChild(newCanvasElem);\n\n document.body.appendChild(newElem);\n currCanvas = document.getElementById(config.name.canvas);\n\n initWebGL();\n\n}\n\n/**\n * Find and set the current WebGL element to the container\n * @return {null}\n */\n\nfunction initWebGL(){\n\n var NAMES = ['webgl2', 'webgl', 'experimental-webgl2', 'experimental-webgl', 'webkit-3d', 'moz-webgl'];\n for(let i = 0; i < NAMES.length; i++){\n try{\n let ctx = currCanvas.getContext(NAMES[i], {\n alpha: true,\n antialias: true,\n premultipliedAlpha: true,\n failIfMajorPerformanceCaveat: false,\n });\n if(ctx) currWebGL = ctx;\n }catch(e){}\n }\n if(!currWebGL){\n console.error('Live2D widgets: Failed to create WebGL context.');\n if(!window.WebGLRenderingContext){\n console.error('Your browser may not support WebGL, check https://get.webgl.org/ for futher information.');\n }\n return;\n }\n};\n\n\nexport{\n createElement,\n currWebGL,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/elementMgr.js","module.exports = \"\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tmplate/innerHTML.html\n// module id = 132\n// module chunks = 0","/**\n * ============================================================\n * Live2D Cubism SDK for WebGL Version 2.1.00_1\n *\n * (c) Live2D Inc.\n * ============================================================\n *\n * This is a Software Development Kit (SDK) for developing Live2D-Cubism-powered applications on WebGL.\n * The SDK contains proprietary libraries and sample projects.\n * Read this document when using the SDK.\n *\n * ------------------------------\n * License\n * ------------------------------\n * Read Live2D License Agreement\n * for business\n * http://live2d.com/en/sdk_license_cubism3\n *\n * for indie\n * http://live2d.com/en/sdk_license_cubism_indie\n *\n * After agree and accept Live2D SDK License Agreement, the content in the following folders may be placed in the server which you control.\n * SDK\n * ├─framework\n * │ Live2DFramework.js\n * │\n * ├─lib\n * │ live2d.min.js\n * │\n * └─sample\n */\n\n// Changes have been done and intention:\n// 1. Pretty the code using Chrome for easy editing.\n// 2. Use ES6's module system to prevent functions from exposing to 'window' and easy compatibility for ES6.\n\n\nvar j = true;\nfunction aa() {\n if (j) {\n return;\n }\n this._$MT = null;\n this._$5S = null;\n this._$NP = 0;\n aa._$42++;\n this._$5S = new y(this);\n}\naa._$0s = 1;\naa._$4s = 2;\naa._$42 = 0;\naa._$62 = function(aQ, aU) {\n try {\n if (aU instanceof ArrayBuffer) {\n aU = new DataView(aU);\n }\n if (!(aU instanceof DataView)) {\n throw new J(\"_$SS#loadModel(b) / b _$x be DataView or ArrayBuffer\");\n }\n var aS = new K(aU);\n var aM = aS._$ST();\n var aK = aS._$ST();\n var aJ = aS._$ST();\n var aN;\n if (aM == 109 && aK == 111 && aJ == 99) {\n aN = aS._$ST();\n } else {\n throw new J(\"_$gi _$C _$li , _$Q0 _$P0.\");\n }\n aS._$gr(aN);\n if (aN > ay._$T7) {\n aQ._$NP |= aa._$4s;\n var aR = ay._$T7;\n var aI = \"_$gi _$C _$li , _$n0 _$_ version _$li ( SDK : \" + aR + \" < _$f0 : \" + aN + \" )@_$SS#loadModel()\\n\";\n throw new J(aI);\n }\n var aL = aS._$nP();\n if (aN >= ay._$s7) {\n var aH = aS._$9T();\n var aT = aS._$9T();\n if (aH != -30584 || aT != -30584) {\n aQ._$NP |= aa._$0s;\n throw new J(\"_$gi _$C _$li , _$0 _$6 _$Ui.\");\n }\n }\n aQ._$KS(aL);\n var aP = aQ.getModelContext();\n aP.setDrawParam(aQ.getDrawParam());\n aP.init();\n } catch (aO) {\n q._$Rb(aO);\n }\n}\n;\naa.prototype._$KS = function(aH) {\n this._$MT = aH;\n}\n;\naa.prototype.getModelImpl = function() {\n if (this._$MT == null) {\n this._$MT = new w();\n this._$MT._$zP();\n }\n return this._$MT;\n}\n;\naa.prototype.getCanvasWidth = function() {\n if (this._$MT == null) {\n return 0;\n }\n return this._$MT.getCanvasWidth();\n}\n;\naa.prototype.getCanvasHeight = function() {\n if (this._$MT == null) {\n return 0;\n }\n return this._$MT.getCanvasHeight();\n}\n;\naa.prototype.getParamFloat = function(aH) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getParamIndex(z.getID(aH));\n }\n return this._$5S.getParamFloat(aH);\n}\n;\naa.prototype.setParamFloat = function(aH, aJ, aI) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getParamIndex(z.getID(aH));\n }\n if (arguments.length < 3) {\n aI = 1;\n }\n this._$5S.setParamFloat(aH, this._$5S.getParamFloat(aH) * (1 - aI) + aJ * aI);\n}\n;\naa.prototype.addToParamFloat = function(aH, aJ, aI) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getParamIndex(z.getID(aH));\n }\n if (arguments.length < 3) {\n aI = 1;\n }\n this._$5S.setParamFloat(aH, this._$5S.getParamFloat(aH) + aJ * aI);\n}\n;\naa.prototype.multParamFloat = function(aH, aJ, aI) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getParamIndex(z.getID(aH));\n }\n if (arguments.length < 3) {\n aI = 1;\n }\n this._$5S.setParamFloat(aH, this._$5S.getParamFloat(aH) * (1 + (aJ - 1) * aI));\n}\n;\naa.prototype.getParamIndex = function(aH) {\n return this._$5S.getParamIndex(z.getID(aH));\n}\n;\naa.prototype.loadParam = function() {\n this._$5S.loadParam();\n}\n;\naa.prototype.saveParam = function() {\n this._$5S.saveParam();\n}\n;\naa.prototype.init = function() {\n this._$5S.init();\n}\n;\naa.prototype.update = function() {\n this._$5S.update();\n}\n;\naa.prototype._$Rs = function() {\n q._$li(\"_$60 _$PT _$Rs()\");\n return -1;\n}\n;\naa.prototype._$Ds = function(aH) {\n q._$li(\"_$60 _$PT _$SS#_$Ds() \\n\");\n}\n;\naa.prototype._$K2 = function() {}\n;\naa.prototype.draw = function() {}\n;\naa.prototype.getModelContext = function() {\n return this._$5S;\n}\n;\naa.prototype._$s2 = function() {\n return this._$NP;\n}\n;\naa.prototype._$P7 = function(aK, aR, aH, a0) {\n var aU = -1;\n var aY = 0;\n var aM = this;\n var aJ = 0.5;\n var aI = 0.15;\n var aX = true;\n if (aH == 0) {\n for (var aV = 0; aV < aK.length; aV++) {\n var aP = aK[aV];\n var aO = aR[aV];\n var aS = (aM.getParamFloat(aP) != 0);\n aM.setPartsOpacity(aO, (aS ? 1 : 0));\n }\n return;\n } else {\n if (aK.length == 1) {\n var aP = aK[0];\n var aT = (aM.getParamFloat(aP) != 0);\n var aO = aR[0];\n var aQ = aM.getPartsOpacity(aO);\n var aW = aH / a0;\n if (aT) {\n aQ += aW;\n if (aQ > 1) {\n aQ = 1;\n }\n } else {\n aQ -= aW;\n if (aQ < 0) {\n aQ = 0;\n }\n }\n aM.setPartsOpacity(aO, aQ);\n } else {\n for (var aV = 0; aV < aK.length; aV++) {\n var aP = aK[aV];\n var aS = (aM.getParamFloat(aP) != 0);\n if (aS) {\n if (aU >= 0) {\n break;\n }\n aU = aV;\n var aO = aR[aV];\n aY = aM.getPartsOpacity(aO);\n aY += aH / a0;\n if (aY > 1) {\n aY = 1;\n }\n }\n }\n if (aU < 0) {\n console.log(\"No _$wi _$q0/ _$U default[%s]\", aK[0]);\n aU = 0;\n aY = 1;\n aM.loadParam();\n aM.setParamFloat(aK[aU], aY);\n aM.saveParam();\n }\n for (var aV = 0; aV < aK.length; aV++) {\n var aO = aR[aV];\n if (aU == aV) {\n aM.setPartsOpacity(aO, aY);\n } else {\n var aL = aM.getPartsOpacity(aO);\n var aZ;\n if (aY < aJ) {\n aZ = aY * (aJ - 1) / aJ + 1;\n } else {\n aZ = (1 - aY) * aJ / (1 - aJ);\n }\n if (aX) {\n var aN = (1 - aZ) * (1 - aY);\n if (aN > aI) {\n aZ = 1 - aI / (1 - aY);\n }\n }\n if (aL > aZ) {\n aL = aZ;\n }\n aM.setPartsOpacity(aO, aL);\n }\n }\n }\n }\n}\n;\naa.prototype.setPartsOpacity = function(aI, aH) {\n if (typeof aI != \"number\") {\n aI = this._$5S.getPartsDataIndex(i.getID(aI));\n }\n this._$5S.setPartsOpacity(aI, aH);\n}\n;\naa.prototype.getPartsDataIndex = function(aH) {\n if (!(aH instanceof i)) {\n aH = i.getID(aH);\n }\n return this._$5S.getPartsDataIndex(aH);\n}\n;\naa.prototype.getPartsOpacity = function(aH) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getPartsDataIndex(i.getID(aH));\n }\n if (aH < 0) {\n return 0;\n }\n return this._$5S.getPartsOpacity(aH);\n}\n;\naa.prototype.getDrawParam = function() {}\n;\naa.prototype.getDrawDataIndex = function(aH) {\n return this._$5S.getDrawDataIndex(Z.getID(aH));\n}\n;\naa.prototype.getDrawData = function(aH) {\n return this._$5S.getDrawData(aH);\n}\n;\naa.prototype.getTransformedPoints = function(aH) {\n var aI = this._$5S._$C2(aH);\n if (aI instanceof ag) {\n return (aI).getTransformedPoints();\n }\n return null;\n}\n;\naa.prototype.getIndexArray = function(aI) {\n if (aI < 0 || aI >= this._$5S._$aS.length) {\n return null;\n }\n var aH = this._$5S._$aS[aI];\n if (aH != null && aH.getType() == a._$wb) {\n if (aH instanceof b) {\n return aH.getIndexArray();\n }\n }\n return null;\n}\n;\nfunction W(aJ) {\n if (j) {\n return;\n }\n this.clipContextList = new Array();\n this.glcontext = aJ.gl;\n this.dp_webgl = aJ;\n this.curFrameNo = 0;\n this.firstError_clipInNotUpdate = true;\n this.colorBuffer = 0;\n this.isInitGLFBFunc = false;\n this.tmpBoundsOnModel = new av();\n if (Q.glContext.length > Q.frameBuffers.length) {\n this.curFrameNo = this.getMaskRenderTexture();\n } else {}\n this.tmpModelToViewMatrix = new ac();\n this.tmpMatrix2 = new ac();\n this.tmpMatrixForMask = new ac();\n this.tmpMatrixForDraw = new ac();\n this.CHANNEL_COLORS = new Array();\n var aI = new o();\n aI = new o();\n aI.r = 0;\n aI.g = 0;\n aI.b = 0;\n aI.a = 1;\n this.CHANNEL_COLORS.push(aI);\n aI = new o();\n aI.r = 1;\n aI.g = 0;\n aI.b = 0;\n aI.a = 0;\n this.CHANNEL_COLORS.push(aI);\n aI = new o();\n aI.r = 0;\n aI.g = 1;\n aI.b = 0;\n aI.a = 0;\n this.CHANNEL_COLORS.push(aI);\n aI = new o();\n aI.r = 0;\n aI.g = 0;\n aI.b = 1;\n aI.a = 0;\n this.CHANNEL_COLORS.push(aI);\n for (var aH = 0; aH < this.CHANNEL_COLORS.length; aH++) {\n this.dp_webgl.setChannelFlagAsColor(aH, this.CHANNEL_COLORS[aH]);\n }\n}\nW.CHANNEL_COUNT = 4;\nW.RENDER_TEXTURE_USE_MIPMAP = false;\nW.NOT_USED_FRAME = -100;\nW.prototype._$L7 = function() {\n if (this.tmpModelToViewMatrix) {\n this.tmpModelToViewMatrix = null;\n }\n if (this.tmpMatrix2) {\n this.tmpMatrix2 = null;\n }\n if (this.tmpMatrixForMask) {\n this.tmpMatrixForMask = null;\n }\n if (this.tmpMatrixForDraw) {\n this.tmpMatrixForDraw = null;\n }\n if (this.tmpBoundsOnModel) {\n this.tmpBoundsOnModel = null;\n }\n if (this.CHANNEL_COLORS) {\n for (var aH = this.CHANNEL_COLORS.length - 1; aH >= 0; --aH) {\n this.CHANNEL_COLORS.splice(aH, 1);\n }\n this.CHANNEL_COLORS = [];\n }\n this.releaseShader();\n}\n;\nW.prototype.releaseShader = function() {\n var aI = Q.frameBuffers.length;\n for (var aH = 0; aH < aI; aH++) {\n this.gl.deleteFramebuffer(Q.frameBuffers[aH].framebuffer);\n }\n Q.frameBuffers = [];\n Q.glContext = [];\n}\n;\nW.prototype.init = function(aO, aN, aL) {\n for (var aM = 0; aM < aN.length; aM++) {\n var aH = aN[aM].getClipIDList();\n if (aH == null) {\n continue;\n }\n var aJ = this.findSameClip(aH);\n if (aJ == null) {\n aJ = new U(this,aO,aH);\n this.clipContextList.push(aJ);\n }\n var aI = aN[aM].getDrawDataID();\n var aK = aO.getDrawDataIndex(aI);\n aJ.addClippedDrawData(aI, aK);\n var aP = aL[aM];\n aP.clipBufPre_clipContext = aJ;\n }\n}\n;\nW.prototype.getMaskRenderTexture = function() {\n var aH = null;\n aH = this.dp_webgl.createFramebuffer();\n Q.frameBuffers[this.dp_webgl.glno] = aH;\n return this.dp_webgl.glno;\n}\n;\nW.prototype.setupClip = function(a1, aQ) {\n var aK = 0;\n for (var aO = 0; aO < this.clipContextList.length; aO++) {\n var aP = this.clipContextList[aO];\n this.calcClippedDrawTotalBounds(a1, aP);\n if (aP.isUsing) {\n aK++;\n }\n }\n if (aK > 0) {\n var aM = aQ.gl.getParameter(aQ.gl.FRAMEBUFFER_BINDING);\n var aW = new Array(4);\n aW[0] = 0;\n aW[1] = 0;\n aW[2] = aQ.gl.canvas.width;\n aW[3] = aQ.gl.canvas.height;\n aQ.gl.viewport(0, 0, Q.clippingMaskBufferSize, Q.clippingMaskBufferSize);\n this.setupLayoutBounds(aK);\n aQ.gl.bindFramebuffer(aQ.gl.FRAMEBUFFER, Q.frameBuffers[this.curFrameNo].framebuffer);\n aQ.gl.clearColor(0, 0, 0, 0);\n aQ.gl.clear(aQ.gl.COLOR_BUFFER_BIT);\n for (var aO = 0; aO < this.clipContextList.length; aO++) {\n var aP = this.clipContextList[aO];\n var aT = aP.allClippedDrawRect;\n var aN = aP.layoutChannelNo;\n var aV = aP.layoutBounds;\n var aJ = 0.05;\n this.tmpBoundsOnModel._$jL(aT);\n this.tmpBoundsOnModel.expand(aT.width * aJ, aT.height * aJ);\n var aZ = aV.width / this.tmpBoundsOnModel.width;\n var aY = aV.height / this.tmpBoundsOnModel.height;\n this.tmpMatrix2.identity();\n this.tmpMatrix2.translate(-1, -1, 0);\n this.tmpMatrix2.scale(2, 2, 1);\n this.tmpMatrix2.translate(aV.x, aV.y, 0);\n this.tmpMatrix2.scale(aZ, aY, 1);\n this.tmpMatrix2.translate(-this.tmpBoundsOnModel.x, -this.tmpBoundsOnModel.y, 0);\n this.tmpMatrixForMask.setMatrix(this.tmpMatrix2.m);\n this.tmpMatrix2.identity();\n this.tmpMatrix2.translate(aV.x, aV.y, 0);\n this.tmpMatrix2.scale(aZ, aY, 1);\n this.tmpMatrix2.translate(-this.tmpBoundsOnModel.x, -this.tmpBoundsOnModel.y, 0);\n this.tmpMatrixForDraw.setMatrix(this.tmpMatrix2.m);\n var aH = this.tmpMatrixForMask.getArray();\n for (var aX = 0; aX < 16; aX++) {\n aP.matrixForMask[aX] = aH[aX];\n }\n var a0 = this.tmpMatrixForDraw.getArray();\n for (var aX = 0; aX < 16; aX++) {\n aP.matrixForDraw[aX] = a0[aX];\n }\n var aS = aP.clippingMaskDrawIndexList.length;\n for (var aU = 0; aU < aS; aU++) {\n var aR = aP.clippingMaskDrawIndexList[aU];\n var aI = a1.getDrawData(aR);\n var aL = a1._$C2(aR);\n aQ.setClipBufPre_clipContextForMask(aP);\n aI.draw(aQ, a1, aL);\n }\n }\n aQ.gl.bindFramebuffer(aQ.gl.FRAMEBUFFER, aM);\n aQ.setClipBufPre_clipContextForMask(null);\n aQ.gl.viewport(aW[0], aW[1], aW[2], aW[3]);\n }\n}\n;\nW.prototype.getColorBuffer = function() {\n return this.colorBuffer;\n}\n;\nW.prototype.findSameClip = function(aK) {\n for (var aN = 0; aN < this.clipContextList.length; aN++) {\n var aO = this.clipContextList[aN];\n var aH = aO.clipIDList.length;\n if (aH != aK.length) {\n continue;\n }\n var aI = 0;\n for (var aM = 0; aM < aH; aM++) {\n var aL = aO.clipIDList[aM];\n for (var aJ = 0; aJ < aH; aJ++) {\n if (aK[aJ] == aL) {\n aI++;\n break;\n }\n }\n }\n if (aI == aH) {\n return aO;\n }\n }\n return null;\n}\n;\nW.prototype.calcClippedDrawTotalBounds = function(a6, aV) {\n var aU = a6._$Ri.getModelImpl().getCanvasWidth();\n var a5 = a6._$Ri.getModelImpl().getCanvasHeight();\n var aJ = aU > a5 ? aU : a5;\n var aT = aJ;\n var aR = aJ;\n var aS = 0;\n var aP = 0;\n var aL = aV.clippedDrawContextList.length;\n for (var aM = 0; aM < aL; aM++) {\n var aW = aV.clippedDrawContextList[aM];\n var aN = aW.drawDataIndex;\n var aK = a6._$C2(aN);\n if (aK._$yo()) {\n var aX = aK.getTransformedPoints();\n var a4 = aX.length;\n var aI = [];\n var aH = [];\n var aO = 0;\n for (var a3 = aw._$i2; a3 < a4; a3 += aw._$No) {\n aI[aO] = aX[a3];\n aH[aO] = aX[a3 + 1];\n aO++;\n }\n var a2 = Math.min.apply(null, aI);\n var a1 = Math.min.apply(null, aH);\n var a0 = Math.max.apply(null, aI);\n var aZ = Math.max.apply(null, aH);\n if (a2 < aT) {\n aT = a2;\n }\n if (a1 < aR) {\n aR = a1;\n }\n if (a0 > aS) {\n aS = a0;\n }\n if (aZ > aP) {\n aP = aZ;\n }\n }\n }\n if (aT == aJ) {\n aV.allClippedDrawRect.x = 0;\n aV.allClippedDrawRect.y = 0;\n aV.allClippedDrawRect.width = 0;\n aV.allClippedDrawRect.height = 0;\n aV.isUsing = false;\n } else {\n var aQ = aS - aT;\n var aY = aP - aR;\n aV.allClippedDrawRect.x = aT;\n aV.allClippedDrawRect.y = aR;\n aV.allClippedDrawRect.width = aQ;\n aV.allClippedDrawRect.height = aY;\n aV.isUsing = true;\n }\n}\n;\nW.prototype.setupLayoutBounds = function(aQ) {\n var aI = aQ / W.CHANNEL_COUNT;\n var aP = aQ % W.CHANNEL_COUNT;\n aI = ~~aI;\n aP = ~~aP;\n var aH = 0;\n for (var aJ = 0; aJ < W.CHANNEL_COUNT; aJ++) {\n var aM = aI + (aJ < aP ? 1 : 0);\n if (aM == 0) {} else {\n if (aM == 1) {\n var aL = this.clipContextList[aH++];\n aL.layoutChannelNo = aJ;\n aL.layoutBounds.x = 0;\n aL.layoutBounds.y = 0;\n aL.layoutBounds.width = 1;\n aL.layoutBounds.height = 1;\n } else {\n if (aM == 2) {\n for (var aO = 0; aO < aM; aO++) {\n var aN = aO % 2;\n var aK = 0;\n aN = ~~aN;\n var aL = this.clipContextList[aH++];\n aL.layoutChannelNo = aJ;\n aL.layoutBounds.x = aN * 0.5;\n aL.layoutBounds.y = 0;\n aL.layoutBounds.width = 0.5;\n aL.layoutBounds.height = 1;\n }\n } else {\n if (aM <= 4) {\n for (var aO = 0; aO < aM; aO++) {\n var aN = aO % 2;\n var aK = aO / 2;\n aN = ~~aN;\n aK = ~~aK;\n var aL = this.clipContextList[aH++];\n aL.layoutChannelNo = aJ;\n aL.layoutBounds.x = aN * 0.5;\n aL.layoutBounds.y = aK * 0.5;\n aL.layoutBounds.width = 0.5;\n aL.layoutBounds.height = 0.5;\n }\n } else {\n if (aM <= 9) {\n for (var aO = 0; aO < aM; aO++) {\n var aN = aO % 3;\n var aK = aO / 3;\n aN = ~~aN;\n aK = ~~aK;\n var aL = this.clipContextList[aH++];\n aL.layoutChannelNo = aJ;\n aL.layoutBounds.x = aN / 3;\n aL.layoutBounds.y = aK / 3;\n aL.layoutBounds.width = 1 / 3;\n aL.layoutBounds.height = 1 / 3;\n }\n } else {\n q._$li(\"_$6 _$0P mask count : %d\", aM);\n }\n }\n }\n }\n }\n }\n}\n;\nfunction U(aH, aK, aI) {\n this.clipIDList = new Array();\n this.clipIDList = aI;\n this.clippingMaskDrawIndexList = new Array();\n for (var aJ = 0; aJ < aI.length; aJ++) {\n this.clippingMaskDrawIndexList.push(aK.getDrawDataIndex(aI[aJ]));\n }\n this.clippedDrawContextList = new Array();\n this.isUsing = true;\n this.layoutChannelNo = 0;\n this.layoutBounds = new av();\n this.allClippedDrawRect = new av();\n this.matrixForMask = new Float32Array(16);\n this.matrixForDraw = new Float32Array(16);\n this.owner = aH;\n}\nU.prototype.addClippedDrawData = function(aJ, aI) {\n var aH = new R(aJ,aI);\n this.clippedDrawContextList.push(aH);\n}\n;\nfunction R(aI, aH) {\n this._$gP = aI;\n this.drawDataIndex = aH;\n}\nfunction I() {\n if (j) {\n return;\n }\n this.color = null;\n}\nfunction ah() {\n if (j) {\n return;\n }\n this._$dP = null;\n this._$eo = null;\n this._$V0 = null;\n this._$dP = 1000;\n this._$eo = 1000;\n this._$V0 = 1;\n this._$a0();\n}\nah._$JT = function(aP, aN, aO) {\n var aQ = aP / aN;\n var a1 = aO / aN;\n var aU = a1;\n var aZ = 1 / 3;\n var aR = 2 / 3;\n var a0 = 1 - (1 - a1) * (1 - a1);\n var a2 = 1 - (1 - aU) * (1 - aU);\n var aM = 0;\n var aL = ((1 - a1) * aZ) * a0 + (aU * aR + (1 - aU) * aZ) * (1 - a0);\n var aK = (aU + (1 - aU) * aR) * a2 + (a1 * aZ + (1 - a1) * aR) * (1 - a2);\n var aJ = 1;\n var aY = aJ - 3 * aK + 3 * aL - aM;\n var aX = 3 * aK - 6 * aL + 3 * aM;\n var aW = 3 * aL - 3 * aM;\n var aV = aM;\n if (aQ <= 0) {\n return 0;\n } else {\n if (aQ >= 1) {\n return 1;\n }\n }\n var aS = aQ;\n var aI = aS * aS;\n var aH = aS * aI;\n var aT = aY * aH + aX * aI + aW * aS + aV;\n return aT;\n}\n;\nah.prototype._$a0 = function() {}\n;\nah.prototype.setFadeIn = function(aH) {\n this._$dP = aH;\n}\n;\nah.prototype.setFadeOut = function(aH) {\n this._$eo = aH;\n}\n;\nah.prototype._$pT = function(aH) {\n this._$V0 = aH;\n}\n;\nah.prototype.getFadeOut = function() {\n return this._$eo;\n}\n;\nah.prototype._$4T = function() {\n return this._$eo;\n}\n;\nah.prototype._$mT = function() {\n return this._$V0;\n}\n;\nah.prototype.getDurationMSec = function() {\n return -1;\n}\n;\nah.prototype.getLoopDurationMSec = function() {\n return -1;\n}\n;\nah.prototype.updateParam = function(aJ, aN) {\n if (!aN._$AT || aN._$9L) {\n return;\n }\n var aL = P.getUserTimeMSec();\n if (aN._$z2 < 0) {\n aN._$z2 = aL;\n aN._$bs = aL;\n var aM = this.getDurationMSec();\n if (aN._$Do < 0) {\n aN._$Do = (aM <= 0) ? -1 : aN._$z2 + aM;\n }\n }\n var aI = this._$V0;\n var aH = (this._$dP == 0) ? 1 : A._$r2(((aL - aN._$bs) / (this._$dP)));\n var aK = (this._$eo == 0 || aN._$Do < 0) ? 1 : A._$r2(((aN._$Do - aL) / (this._$eo)));\n aI = aI * aH * aK;\n if (!((0 <= aI && aI <= 1))) {\n console.log(\"### assert!! ### \");\n }\n this.updateParamExe(aJ, aL, aI, aN);\n if (aN._$Do > 0 && aN._$Do < aL) {\n aN._$9L = true;\n }\n}\n;\nah.prototype.updateParamExe = function(aH, aI, aJ, aK) {}\n;\nfunction q() {}\nq._$8s = 0;\nq._$fT = new Object();\nq.start = function(aI) {\n var aH = q._$fT[aI];\n if (aH == null) {\n aH = new af();\n aH._$r = aI;\n q._$fT[aI] = aH;\n }\n aH._$0S = P.getSystemTimeMSec();\n}\n;\nq.dump = function(aJ) {\n var aH = q._$fT[aJ];\n if (aH != null) {\n var aI = P.getSystemTimeMSec();\n var aK = aI - aH._$0S;\n console.log(aJ + \" : \" + aK + \"ms\");\n return aK;\n } else {\n return -1;\n }\n}\n;\nq.end = function(aJ) {\n var aH = q._$fT[aJ];\n if (aH != null) {\n var aI = P.getSystemTimeMSec();\n return aI - aH._$0S;\n } else {\n return -1;\n }\n}\n;\nq._$li = function(aI, aH) {\n console.log(\"_$li : \" + aI + \"\\n\", aH);\n}\n;\nq._$Ji = function(aI, aH) {\n console.log(aI, aH);\n}\n;\nq._$dL = function(aI, aH) {\n console.log(aI, aH);\n console.log(\"\\n\");\n}\n;\nq._$KL = function(aJ, aI) {\n for (var aH = 0; aH < aI; aH++) {\n if (aH % 16 == 0 && aH > 0) {\n console.log(\"\\n\");\n } else {\n if (aH % 8 == 0 && aH > 0) {\n console.log(\" \");\n }\n }\n console.log(\"%02X \", (aJ[aH] & 255));\n }\n console.log(\"\\n\");\n}\n;\nq._$nr = function(aL, aI, aK) {\n console.log(\"%s\\n\", aL);\n var aH = aI.length;\n for (var aJ = 0; aJ < aH; ++aJ) {\n console.log(\"%5d\", aI[aJ]);\n console.log(\"%s\\n\", aK);\n console.log(\",\");\n }\n console.log(\"\\n\");\n}\n;\nq._$Rb = function(aH) {\n console.log(\"dump exception : \" + aH);\n console.log(\"stack :: \" + aH.stack);\n}\n;\nfunction af() {\n this._$r = null;\n this._$0S = null;\n}\nfunction F() {\n if (j) {\n return;\n }\n this.x = null;\n this.y = null;\n this.width = null;\n this.height = null;\n}\nF.prototype._$8P = function() {\n return 0.5 * (this.x + this.x + this.width);\n}\n;\nF.prototype._$6P = function() {\n return 0.5 * (this.y + this.y + this.height);\n}\n;\nF.prototype._$EL = function() {\n return this.x + this.width;\n}\n;\nF.prototype._$5T = function() {\n return this.y + this.height;\n}\n;\nF.prototype._$jL = function(aI, aK, aJ, aH) {\n this.x = aI;\n this.y = aK;\n this.width = aJ;\n this.height = aH;\n}\n;\nF.prototype._$jL = function(aH) {\n this.x = aH.x;\n this.y = aH.y;\n this.width = aH.width;\n this.height = aH.height;\n}\n;\nfunction i(aH) {\n if (j) {\n return;\n }\n ak.prototype.constructor.call(this, aH);\n}\ni.prototype = new ak();\ni._$tP = new Object();\ni._$27 = function() {\n i._$tP.clear();\n}\n;\ni.getID = function(aH) {\n var aI = i._$tP[aH];\n if (aI == null) {\n aI = new i(aH);\n i._$tP[aH] = aI;\n }\n return aI;\n}\n;\ni.prototype._$3s = function() {\n return new i();\n}\n;\nfunction S() {}\nfunction z(aH) {\n if (j) {\n return;\n }\n ak.prototype.constructor.call(this, aH);\n}\nz.prototype = new ak();\nz._$tP = new Object();\nz._$27 = function() {\n z._$tP.clear();\n}\n;\nz.getID = function(aH) {\n var aI = z._$tP[aH];\n if (aI == null) {\n aI = new z(aH);\n z._$tP[aH] = aI;\n }\n return aI;\n}\n;\nz.prototype._$3s = function() {\n return new z();\n}\n;\nfunction w() {\n if (j) {\n return;\n }\n this._$vo = null;\n this._$F2 = null;\n this._$ao = 400;\n this._$1S = 400;\n w._$42++;\n}\nw._$42 = 0;\nw.prototype._$zP = function() {\n if (this._$vo == null) {\n this._$vo = new an();\n }\n if (this._$F2 == null) {\n this._$F2 = new Array();\n }\n}\n;\nw.prototype.getCanvasWidth = function() {\n return this._$ao;\n}\n;\nw.prototype.getCanvasHeight = function() {\n return this._$1S;\n}\n;\nw.prototype._$F0 = function(aH) {\n this._$vo = aH._$nP();\n this._$F2 = aH._$nP();\n this._$ao = aH._$6L();\n this._$1S = aH._$6L();\n}\n;\nw.prototype._$6S = function(aH) {\n this._$F2.push(aH);\n}\n;\nw.prototype._$Xr = function() {\n return this._$F2;\n}\n;\nw.prototype._$E2 = function() {\n return this._$vo;\n}\n;\nfunction u() {\n if (j) {\n return;\n }\n this.p1 = new N();\n this.p2 = new N();\n this._$Fo = 0;\n this._$Db = 0;\n this._$L2 = 0;\n this._$M2 = 0;\n this._$ks = 0;\n this._$9b = 0;\n this._$iP = 0;\n this._$iT = 0;\n this._$lL = new Array();\n this._$qP = new Array();\n this.setup(0.3, 0.5, 0.1);\n}\nu.prototype.setup = function(aJ, aI, aH) {\n this._$ks = this._$Yb();\n this.p2._$xT();\n if (arguments.length == 3) {\n this._$Fo = aJ;\n this._$L2 = aI;\n this.p1._$p = aH;\n this.p2._$p = aH;\n this.p2.y = aJ;\n this.setup();\n }\n}\n;\nu.prototype.getPhysicsPoint1 = function() {\n return this.p1;\n}\n;\nu.prototype.getPhysicsPoint2 = function() {\n return this.p2;\n}\n;\nu.prototype._$qr = function() {\n return this._$Db;\n}\n;\nu.prototype._$pr = function(aH) {\n this._$Db = aH;\n}\n;\nu.prototype._$5r = function() {\n return this._$M2;\n}\n;\nu.prototype._$Cs = function() {\n return this._$9b;\n}\n;\nu.prototype._$Yb = function() {\n return (-180 * (Math.atan2(this.p1.x - this.p2.x, -(this.p1.y - this.p2.y))) / Math.PI);\n}\n;\nu.prototype.addSrcParam = function(aJ, aH, aL, aI) {\n var aK = new h(aJ,aH,aL,aI);\n this._$lL.push(aK);\n}\n;\nu.prototype.addTargetParam = function(aJ, aH, aK, aI) {\n var aL = new aF(aJ,aH,aK,aI);\n this._$qP.push(aL);\n}\n;\nu.prototype.update = function(aI, aL) {\n if (this._$iP == 0) {\n this._$iP = this._$iT = aL;\n this._$Fo = (Math.sqrt((this.p1.x - this.p2.x) * (this.p1.x - this.p2.x) + (this.p1.y - this.p2.y) * (this.p1.y - this.p2.y)));\n return;\n }\n var aK = (aL - this._$iT) / 1000;\n if (aK != 0) {\n for (var aJ = this._$lL.length - 1; aJ >= 0; --aJ) {\n var aM = this._$lL[aJ];\n aM._$oP(aI, this);\n }\n this._$oo(aI, aK);\n this._$M2 = this._$Yb();\n this._$9b = (this._$M2 - this._$ks) / aK;\n this._$ks = this._$M2;\n }\n for (var aJ = this._$qP.length - 1; aJ >= 0; --aJ) {\n var aH = this._$qP[aJ];\n aH._$YS(aI, this);\n }\n this._$iT = aL;\n}\n;\nu.prototype._$oo = function(aN, aI) {\n if (aI < 0.033) {\n aI = 0.033;\n }\n var aU = 1 / aI;\n this.p1.vx = (this.p1.x - this.p1._$s0) * aU;\n this.p1.vy = (this.p1.y - this.p1._$70) * aU;\n this.p1.ax = (this.p1.vx - this.p1._$7L) * aU;\n this.p1.ay = (this.p1.vy - this.p1._$HL) * aU;\n this.p1.fx = this.p1.ax * this.p1._$p;\n this.p1.fy = this.p1.ay * this.p1._$p;\n this.p1._$xT();\n var aM = -(Math.atan2((this.p1.y - this.p2.y), this.p1.x - this.p2.x));\n var aL;\n var aV;\n var aR = Math.cos(aM);\n var aH = Math.sin(aM);\n var aW = 9.8 * this.p2._$p;\n var aQ = (this._$Db * aC._$bS);\n var aP = (aW * Math.cos(aM - aQ));\n aL = (aP * aH);\n aV = (aP * aR);\n var aK = (-this.p1.fx * aH * aH);\n var aT = (-this.p1.fy * aH * aR);\n var aJ = ((-this.p2.vx * this._$L2));\n var aS = ((-this.p2.vy * this._$L2));\n this.p2.fx = ((aL + aK + aJ));\n this.p2.fy = ((aV + aT + aS));\n this.p2.ax = this.p2.fx / this.p2._$p;\n this.p2.ay = this.p2.fy / this.p2._$p;\n this.p2.vx += this.p2.ax * aI;\n this.p2.vy += this.p2.ay * aI;\n this.p2.x += this.p2.vx * aI;\n this.p2.y += this.p2.vy * aI;\n var aO = (Math.sqrt((this.p1.x - this.p2.x) * (this.p1.x - this.p2.x) + (this.p1.y - this.p2.y) * (this.p1.y - this.p2.y)));\n this.p2.x = this.p1.x + this._$Fo * (this.p2.x - this.p1.x) / aO;\n this.p2.y = this.p1.y + this._$Fo * (this.p2.y - this.p1.y) / aO;\n this.p2.vx = (this.p2.x - this.p2._$s0) * aU;\n this.p2.vy = (this.p2.y - this.p2._$70) * aU;\n this.p2._$xT();\n}\n;\nfunction N() {\n this._$p = 1;\n this.x = 0;\n this.y = 0;\n this.vx = 0;\n this.vy = 0;\n this.ax = 0;\n this.ay = 0;\n this.fx = 0;\n this.fy = 0;\n this._$s0 = 0;\n this._$70 = 0;\n this._$7L = 0;\n this._$HL = 0;\n}\nN.prototype._$xT = function() {\n this._$s0 = this.x;\n this._$70 = this.y;\n this._$7L = this.vx;\n this._$HL = this.vy;\n}\n;\nfunction at(aJ, aI, aH) {\n this._$wL = null;\n this.scale = null;\n this._$V0 = null;\n this._$wL = aJ;\n this.scale = aI;\n this._$V0 = aH;\n}\nat.prototype._$oP = function(aI, aH) {}\n;\nfunction h(aJ, aK, aI, aH) {\n at.prototype.constructor.call(this, aK, aI, aH);\n this._$tL = null;\n this._$tL = aJ;\n}\nh.prototype = new at();\nh.prototype._$oP = function(aJ, aH) {\n var aK = this.scale * aJ.getParamFloat(this._$wL);\n var aL = aH.getPhysicsPoint1();\n switch (this._$tL) {\n default:\n case u.Src.SRC_TO_X:\n aL.x = aL.x + (aK - aL.x) * this._$V0;\n break;\n case u.Src.SRC_TO_Y:\n aL.y = aL.y + (aK - aL.y) * this._$V0;\n break;\n case u.Src.SRC_TO_G_ANGLE:\n var aI = aH._$qr();\n aI = aI + (aK - aI) * this._$V0;\n aH._$pr(aI);\n break;\n }\n}\n;\nfunction d(aJ, aI, aH) {\n this._$wL = null;\n this.scale = null;\n this._$V0 = null;\n this._$wL = aJ;\n this.scale = aI;\n this._$V0 = aH;\n}\nd.prototype._$YS = function(aI, aH) {}\n;\nfunction aF(aI, aK, aJ, aH) {\n d.prototype.constructor.call(this, aK, aJ, aH);\n this._$YP = null;\n this._$YP = aI;\n}\naF.prototype = new d();\naF.prototype._$YS = function(aI, aH) {\n switch (this._$YP) {\n default:\n case u.Target.TARGET_FROM_ANGLE:\n aI.setParamFloat(this._$wL, this.scale * aH._$5r(), this._$V0);\n break;\n case u.Target.TARGET_FROM_ANGLE_V:\n aI.setParamFloat(this._$wL, this.scale * aH._$Cs(), this._$V0);\n break;\n }\n}\n;\nu.Src = function() {}\n;\nu.Src.SRC_TO_X = \"SRC_TO_X\";\nu.Src.SRC_TO_Y = \"SRC_TO_Y\";\nu.Src.SRC_TO_G_ANGLE = \"SRC_TO_G_ANGLE\";\nu.Target = function() {}\n;\nu.Target.TARGET_FROM_ANGLE = \"TARGET_FROM_ANGLE\";\nu.Target.TARGET_FROM_ANGLE_V = \"TARGET_FROM_ANGLE_V\";\nfunction X() {\n if (j) {\n return;\n }\n this._$fL = 0;\n this._$gL = 0;\n this._$B0 = 1;\n this._$z0 = 1;\n this._$qT = 0;\n this.reflectX = false;\n this.reflectY = false;\n}\nX.prototype.init = function(aH) {\n this._$fL = aH._$fL;\n this._$gL = aH._$gL;\n this._$B0 = aH._$B0;\n this._$z0 = aH._$z0;\n this._$qT = aH._$qT;\n this.reflectX = aH.reflectX;\n this.reflectY = aH.reflectY;\n}\n;\nX.prototype._$F0 = function(aH) {\n this._$fL = aH._$_T();\n this._$gL = aH._$_T();\n this._$B0 = aH._$_T();\n this._$z0 = aH._$_T();\n this._$qT = aH._$_T();\n if (aH.getFormatVersion() >= ay.LIVE2D_FORMAT_VERSION_V2_10_SDK2) {\n this.reflectX = aH._$po();\n this.reflectY = aH._$po();\n }\n}\n;\nX.prototype._$e = function() {}\n;\nvar ad = function() {};\nad._$ni = function(aL, aJ, aR, aQ, aK, aI, aH, aS, aN) {\n var aM = (aH * aI - aS * aK);\n if (aM == 0) {\n return null;\n } else {\n var aO = ((aL - aR) * aI - (aJ - aQ) * aK) / aM;\n var aP;\n if (aK != 0) {\n aP = (aL - aR - aO * aH) / aK;\n } else {\n aP = (aJ - aQ - aO * aS) / aI;\n }\n if (isNaN(aP)) {\n aP = (aL - aR - aO * aH) / aK;\n if (isNaN(aP)) {\n aP = (aJ - aQ - aO * aS) / aI;\n }\n if (isNaN(aP)) {\n console.log(\"a is NaN @UtVector#_$ni() \");\n console.log(\"v1x : \" + aK);\n console.log(\"v1x != 0 ? \" + (aK != 0));\n }\n }\n if (aN == null) {\n return new Array(aP,aO);\n } else {\n aN[0] = aP;\n aN[1] = aO;\n return aN;\n }\n }\n}\n;\nfunction av() {\n if (j) {\n return;\n }\n this.x = null;\n this.y = null;\n this.width = null;\n this.height = null;\n}\nav.prototype._$8P = function() {\n return this.x + 0.5 * this.width;\n}\n;\nav.prototype._$6P = function() {\n return this.y + 0.5 * this.height;\n}\n;\nav.prototype._$EL = function() {\n return this.x + this.width;\n}\n;\nav.prototype._$5T = function() {\n return this.y + this.height;\n}\n;\nav.prototype._$jL = function(aI, aK, aJ, aH) {\n this.x = aI;\n this.y = aK;\n this.width = aJ;\n this.height = aH;\n}\n;\nav.prototype._$jL = function(aH) {\n this.x = aH.x;\n this.y = aH.y;\n this.width = aH.width;\n this.height = aH.height;\n}\n;\nav.prototype.contains = function(aH, aI) {\n return this.x <= this.x && this.y <= this.y && (this.x <= this.x + this.width) && (this.y <= this.y + this.height);\n}\n;\nav.prototype.expand = function(aH, aI) {\n this.x -= aH;\n this.y -= aI;\n this.width += aH * 2;\n this.height += aI * 2;\n}\n;\nfunction aG() {}\naG._$Z2 = function(bb, bo, bp, a2) {\n var a1 = bo._$Q2(bb, bp);\n var a3 = bb._$vs();\n var ba = bb._$Tr();\n bo._$zr(a3, ba, a1);\n if (a1 <= 0) {\n return a2[a3[0]];\n } else {\n if (a1 == 1) {\n var bj = a2[a3[0]];\n var bi = a2[a3[1]];\n var a9 = ba[0];\n return (bj + (bi - bj) * a9) | 0;\n } else {\n if (a1 == 2) {\n var bj = a2[a3[0]];\n var bi = a2[a3[1]];\n var a0 = a2[a3[2]];\n var aZ = a2[a3[3]];\n var a9 = ba[0];\n var a8 = ba[1];\n var br = (bj + (bi - bj) * a9) | 0;\n var bq = (a0 + (aZ - a0) * a9) | 0;\n return (br + (bq - br) * a8) | 0;\n } else {\n if (a1 == 3) {\n var aP = a2[a3[0]];\n var aO = a2[a3[1]];\n var bn = a2[a3[2]];\n var bm = a2[a3[3]];\n var aK = a2[a3[4]];\n var aJ = a2[a3[5]];\n var bg = a2[a3[6]];\n var bf = a2[a3[7]];\n var a9 = ba[0];\n var a8 = ba[1];\n var a6 = ba[2];\n var bj = (aP + (aO - aP) * a9) | 0;\n var bi = (bn + (bm - bn) * a9) | 0;\n var a0 = (aK + (aJ - aK) * a9) | 0;\n var aZ = (bg + (bf - bg) * a9) | 0;\n var br = (bj + (bi - bj) * a8) | 0;\n var bq = (a0 + (aZ - a0) * a8) | 0;\n return (br + (bq - br) * a6) | 0;\n } else {\n if (a1 == 4) {\n var aT = a2[a3[0]];\n var aS = a2[a3[1]];\n var bu = a2[a3[2]];\n var bt = a2[a3[3]];\n var aN = a2[a3[4]];\n var aM = a2[a3[5]];\n var bl = a2[a3[6]];\n var bk = a2[a3[7]];\n var be = a2[a3[8]];\n var bc = a2[a3[9]];\n var aX = a2[a3[10]];\n var aW = a2[a3[11]];\n var a7 = a2[a3[12]];\n var a5 = a2[a3[13]];\n var aR = a2[a3[14]];\n var aQ = a2[a3[15]];\n var a9 = ba[0];\n var a8 = ba[1];\n var a6 = ba[2];\n var a4 = ba[3];\n var aP = (aT + (aS - aT) * a9) | 0;\n var aO = (bu + (bt - bu) * a9) | 0;\n var bn = (aN + (aM - aN) * a9) | 0;\n var bm = (bl + (bk - bl) * a9) | 0;\n var aK = (be + (bc - be) * a9) | 0;\n var aJ = (aX + (aW - aX) * a9) | 0;\n var bg = (a7 + (a5 - a7) * a9) | 0;\n var bf = (aR + (aQ - aR) * a9) | 0;\n var bj = (aP + (aO - aP) * a8) | 0;\n var bi = (bn + (bm - bn) * a8) | 0;\n var a0 = (aK + (aJ - aK) * a8) | 0;\n var aZ = (bg + (bf - bg) * a8) | 0;\n var br = (bj + (bi - bj) * a6) | 0;\n var bq = (a0 + (aZ - a0) * a6) | 0;\n return (br + (bq - br) * a4) | 0;\n } else {\n var aV = 1 << a1;\n var aY = new Float32Array(aV);\n for (var bh = 0; bh < aV; bh++) {\n var aI = bh;\n var aH = 1;\n for (var aL = 0; aL < a1; aL++) {\n aH *= (aI % 2 == 0) ? (1 - ba[aL]) : ba[aL];\n aI /= 2;\n }\n aY[bh] = aH;\n }\n var bs = new Float32Array(aV);\n for (var aU = 0; aU < aV; aU++) {\n bs[aU] = a2[a3[aU]];\n }\n var bd = 0;\n for (var aU = 0; aU < aV; aU++) {\n bd += aY[aU] * bs[aU];\n }\n return (bd + 0.5) | 0;\n }\n }\n }\n }\n }\n}\n;\naG._$br = function(ba, bo, bp, bg) {\n var a1 = bo._$Q2(ba, bp);\n var a2 = ba._$vs();\n var a9 = ba._$Tr();\n bo._$zr(a2, a9, a1);\n if (a1 <= 0) {\n return bg[a2[0]];\n } else {\n if (a1 == 1) {\n var bj = bg[a2[0]];\n var bi = bg[a2[1]];\n var a8 = a9[0];\n return bj + (bi - bj) * a8;\n } else {\n if (a1 == 2) {\n var bj = bg[a2[0]];\n var bi = bg[a2[1]];\n var a0 = bg[a2[2]];\n var aZ = bg[a2[3]];\n var a8 = a9[0];\n var a7 = a9[1];\n return (1 - a7) * (bj + (bi - bj) * a8) + a7 * (a0 + (aZ - a0) * a8);\n } else {\n if (a1 == 3) {\n var aP = bg[a2[0]];\n var aO = bg[a2[1]];\n var bn = bg[a2[2]];\n var bm = bg[a2[3]];\n var aK = bg[a2[4]];\n var aJ = bg[a2[5]];\n var bf = bg[a2[6]];\n var be = bg[a2[7]];\n var a8 = a9[0];\n var a7 = a9[1];\n var a5 = a9[2];\n return (1 - a5) * ((1 - a7) * (aP + (aO - aP) * a8) + a7 * (bn + (bm - bn) * a8)) + a5 * ((1 - a7) * (aK + (aJ - aK) * a8) + a7 * (bf + (be - bf) * a8));\n } else {\n if (a1 == 4) {\n var aT = bg[a2[0]];\n var aS = bg[a2[1]];\n var bs = bg[a2[2]];\n var br = bg[a2[3]];\n var aN = bg[a2[4]];\n var aM = bg[a2[5]];\n var bl = bg[a2[6]];\n var bk = bg[a2[7]];\n var bd = bg[a2[8]];\n var bb = bg[a2[9]];\n var aX = bg[a2[10]];\n var aW = bg[a2[11]];\n var a6 = bg[a2[12]];\n var a4 = bg[a2[13]];\n var aR = bg[a2[14]];\n var aQ = bg[a2[15]];\n var a8 = a9[0];\n var a7 = a9[1];\n var a5 = a9[2];\n var a3 = a9[3];\n return (1 - a3) * ((1 - a5) * ((1 - a7) * (aT + (aS - aT) * a8) + a7 * (bs + (br - bs) * a8)) + a5 * ((1 - a7) * (aN + (aM - aN) * a8) + a7 * (bl + (bk - bl) * a8))) + a3 * ((1 - a5) * ((1 - a7) * (bd + (bb - bd) * a8) + a7 * (aX + (aW - aX) * a8)) + a5 * ((1 - a7) * (a6 + (a4 - a6) * a8) + a7 * (aR + (aQ - aR) * a8)));\n } else {\n var aV = 1 << a1;\n var aY = new Float32Array(aV);\n for (var bh = 0; bh < aV; bh++) {\n var aI = bh;\n var aH = 1;\n for (var aL = 0; aL < a1; aL++) {\n aH *= (aI % 2 == 0) ? (1 - a9[aL]) : a9[aL];\n aI /= 2;\n }\n aY[bh] = aH;\n }\n var bq = new Float32Array(aV);\n for (var aU = 0; aU < aV; aU++) {\n bq[aU] = bg[a2[aU]];\n }\n var bc = 0;\n for (var aU = 0; aU < aV; aU++) {\n bc += aY[aU] * bq[aU];\n }\n return bc;\n }\n }\n }\n }\n }\n}\n;\naG._$Vr = function(bV, bW, a5, aI, bC, a3, bX, bH) {\n var aN = bW._$Q2(bV, a5);\n var bw = bV._$vs();\n var a2 = bV._$Tr();\n bW._$zr(bw, a2, aN);\n var aJ = aI * 2;\n var aQ = bX;\n if (aN <= 0) {\n var bI = bw[0];\n var bq = bC[bI];\n if (bH == 2 && bX == 0) {\n P._$jT(bq, 0, a3, 0, aJ);\n } else {\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = bq[bt++];\n a3[aQ + 1] = bq[bt++];\n aQ += bH;\n }\n }\n } else {\n if (aN == 1) {\n var bq = bC[bw[0]];\n var bp = bC[bw[1]];\n var b3 = a2[0];\n var bT = 1 - b3;\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = bq[bt] * bT + bp[bt] * b3;\n ++bt;\n a3[aQ + 1] = bq[bt] * bT + bp[bt] * b3;\n ++bt;\n aQ += bH;\n }\n } else {\n if (aN == 2) {\n var bq = bC[bw[0]];\n var bp = bC[bw[1]];\n var aZ = bC[bw[2]];\n var aY = bC[bw[3]];\n var b3 = a2[0];\n var b1 = a2[1];\n var bT = 1 - b3;\n var bP = 1 - b1;\n var b2 = bP * bT;\n var b0 = bP * b3;\n var bM = b1 * bT;\n var bL = b1 * b3;\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = b2 * bq[bt] + b0 * bp[bt] + bM * aZ[bt] + bL * aY[bt];\n ++bt;\n a3[aQ + 1] = b2 * bq[bt] + b0 * bp[bt] + bM * aZ[bt] + bL * aY[bt];\n ++bt;\n aQ += bH;\n }\n } else {\n if (aN == 3) {\n var ba = bC[bw[0]];\n var a9 = bC[bw[1]];\n var aP = bC[bw[2]];\n var aO = bC[bw[3]];\n var a6 = bC[bw[4]];\n var a4 = bC[bw[5]];\n var aL = bC[bw[6]];\n var aK = bC[bw[7]];\n var b3 = a2[0];\n var b1 = a2[1];\n var bZ = a2[2];\n var bT = 1 - b3;\n var bP = 1 - b1;\n var bN = 1 - bZ;\n var b8 = bN * bP * bT;\n var b7 = bN * bP * b3;\n var bU = bN * b1 * bT;\n var bS = bN * b1 * b3;\n var b6 = bZ * bP * bT;\n var b5 = bZ * bP * b3;\n var bQ = bZ * b1 * bT;\n var bO = bZ * b1 * b3;\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = b8 * ba[bt] + b7 * a9[bt] + bU * aP[bt] + bS * aO[bt] + b6 * a6[bt] + b5 * a4[bt] + bQ * aL[bt] + bO * aK[bt];\n ++bt;\n a3[aQ + 1] = b8 * ba[bt] + b7 * a9[bt] + bU * aP[bt] + bS * aO[bt] + b6 * a6[bt] + b5 * a4[bt] + bQ * aL[bt] + bO * aK[bt];\n ++bt;\n aQ += bH;\n }\n } else {\n if (aN == 4) {\n var bD = bC[bw[0]];\n var bB = bC[bw[1]];\n var bo = bC[bw[2]];\n var bm = bC[bw[3]];\n var by = bC[bw[4]];\n var bx = bC[bw[5]];\n var be = bC[bw[6]];\n var bd = bC[bw[7]];\n var bG = bC[bw[8]];\n var bE = bC[bw[9]];\n var bv = bC[bw[10]];\n var bu = bC[bw[11]];\n var bA = bC[bw[12]];\n var bz = bC[bw[13]];\n var bn = bC[bw[14]];\n var bl = bC[bw[15]];\n var b3 = a2[0];\n var b1 = a2[1];\n var bZ = a2[2];\n var bY = a2[3];\n var bT = 1 - b3;\n var bP = 1 - b1;\n var bN = 1 - bZ;\n var bK = 1 - bY;\n var bk = bK * bN * bP * bT;\n var bi = bK * bN * bP * b3;\n var aW = bK * bN * b1 * bT;\n var aV = bK * bN * b1 * b3;\n var bc = bK * bZ * bP * bT;\n var bb = bK * bZ * bP * b3;\n var aS = bK * bZ * b1 * bT;\n var aR = bK * bZ * b1 * b3;\n var bs = bY * bN * bP * bT;\n var br = bY * bN * bP * b3;\n var a1 = bY * bN * b1 * bT;\n var a0 = bY * bN * b1 * b3;\n var bh = bY * bZ * bP * bT;\n var bf = bY * bZ * bP * b3;\n var aU = bY * bZ * b1 * bT;\n var aT = bY * bZ * b1 * b3;\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = bk * bD[bt] + bi * bB[bt] + aW * bo[bt] + aV * bm[bt] + bc * by[bt] + bb * bx[bt] + aS * be[bt] + aR * bd[bt] + bs * bG[bt] + br * bE[bt] + a1 * bv[bt] + a0 * bu[bt] + bh * bA[bt] + bf * bz[bt] + aU * bn[bt] + aT * bl[bt];\n ++bt;\n a3[aQ + 1] = bk * bD[bt] + bi * bB[bt] + aW * bo[bt] + aV * bm[bt] + bc * by[bt] + bb * bx[bt] + aS * be[bt] + aR * bd[bt] + bs * bG[bt] + br * bE[bt] + a1 * bv[bt] + a0 * bu[bt] + bh * bA[bt] + bf * bz[bt] + aU * bn[bt] + aT * bl[bt];\n ++bt;\n aQ += bH;\n }\n } else {\n var b4 = 1 << aN;\n var bJ = new Float32Array(b4);\n for (var bj = 0; bj < b4; bj++) {\n var aH = bj;\n var aM = 1;\n for (var bF = 0; bF < aN; bF++) {\n aM *= (aH % 2 == 0) ? (1 - a2[bF]) : a2[bF];\n aH /= 2;\n }\n bJ[bj] = aM;\n }\n var bg = new Float32Array(b4);\n for (var aX = 0; aX < b4; aX++) {\n bg[aX] = bC[bw[aX]];\n }\n for (var bt = 0; bt < aJ; ) {\n var a8 = 0\n , a7 = 0;\n var bR = bt + 1;\n for (var aX = 0; aX < b4; aX++) {\n a8 += bJ[aX] * bg[aX][bt];\n a7 += bJ[aX] * bg[aX][bR];\n }\n bt += 2;\n a3[aQ] = a8;\n a3[aQ + 1] = a7;\n aQ += bH;\n }\n }\n }\n }\n }\n }\n}\n;\nfunction e() {\n if (j) {\n return;\n }\n this.x = null;\n this.y = null;\n}\ne.prototype._$HT = function(aH, aI) {\n this.x = aH;\n this.y = aI;\n}\n;\ne.prototype._$HT = function(aH) {\n this.x = aH.x;\n this.y = aH.y;\n}\n;\nfunction ae() {\n if (j) {\n return;\n }\n this._$gP = null;\n this._$dr = null;\n this._$GS = null;\n this._$qb = null;\n this._$Lb = null;\n this._$mS = null;\n this.clipID = null;\n this.clipIDList = new Array();\n}\nae._$ur = -2;\nae._$ES = 500;\nae._$wb = 2;\nae._$8S = 3;\nae._$52 = ae._$ES;\nae._$R2 = ae._$ES;\nae._$or = function() {\n return ae._$52;\n}\n;\nae._$Pr = function() {\n return ae._$R2;\n}\n;\nae.prototype.convertClipIDForV2_11 = function(aI) {\n var aH = [];\n if (aI == null) {\n return null;\n }\n if (aI.length == 0) {\n return null;\n }\n if (!/,/.test(aI)) {\n aH.push(aI.id);\n return aH;\n }\n aH = aI.id.split(\",\");\n return aH;\n}\n;\nae.prototype._$F0 = function(aH) {\n this._$gP = aH._$nP();\n this._$dr = aH._$nP();\n this._$GS = aH._$nP();\n this._$qb = aH._$6L();\n this._$Lb = aH._$cS();\n this._$mS = aH._$Tb();\n if (aH.getFormatVersion() >= ay._$T7) {\n this.clipID = aH._$nP();\n this.clipIDList = this.convertClipIDForV2_11(this.clipID);\n } else {\n this.clipIDList = [];\n }\n this._$MS(this._$Lb);\n}\n;\nae.prototype.getClipIDList = function() {\n return this.clipIDList;\n}\n;\nae.prototype.init = function(aH) {}\n;\nae.prototype._$Nr = function(aH, aI) {\n aI._$IS[0] = false;\n aI._$Us = aG._$Z2(aH, this._$GS, aI._$IS, this._$Lb);\n if (Q._$Zs) {} else {\n if (aI._$IS[0]) {\n return;\n }\n }\n aI._$7s = aG._$br(aH, this._$GS, aI._$IS, this._$mS);\n}\n;\nae.prototype._$2b = function(aH, aI) {}\n;\nae.prototype.getDrawDataID = function() {\n return this._$gP;\n}\n;\nae.prototype._$j2 = function(aH) {\n this._$gP = aH;\n}\n;\nae.prototype.getOpacity = function(aH, aI) {\n return aI._$7s;\n}\n;\nae.prototype._$zS = function(aH, aI) {\n return aI._$Us;\n}\n;\nae.prototype._$MS = function(aJ) {\n for (var aI = aJ.length - 1; aI >= 0; --aI) {\n var aH = aJ[aI];\n if (aH < ae._$52) {\n ae._$52 = aH;\n } else {\n if (aH > ae._$R2) {\n ae._$R2 = aH;\n }\n }\n }\n}\n;\nae.prototype.getTargetBaseDataID = function() {\n return this._$dr;\n}\n;\nae.prototype._$gs = function(aH) {\n this._$dr = aH;\n}\n;\nae.prototype._$32 = function() {\n return (this._$dr != null && (this._$dr != n._$2o()));\n}\n;\nae.prototype.preDraw = function(aJ, aH, aI) {}\n;\nae.prototype.draw = function(aJ, aH, aI) {}\n;\nae.prototype.getType = function() {}\n;\nae.prototype._$B2 = function(aI, aH, aJ) {}\n;\nfunction ax() {\n if (j) {\n return;\n }\n this._$Eb = ax._$ps;\n this._$lT = 1;\n this._$C0 = 1;\n this._$tT = 1;\n this._$WL = 1;\n this.culling = false;\n this.matrix4x4 = new Float32Array(16);\n this.premultipliedAlpha = false;\n this.anisotropy = 0;\n this.clippingProcess = ax.CLIPPING_PROCESS_NONE;\n this.clipBufPre_clipContextMask = null;\n this.clipBufPre_clipContextDraw = null;\n this.CHANNEL_COLORS = new Array();\n}\nax._$ps = 32;\nax.CLIPPING_PROCESS_NONE = 0;\nax.CLIPPING_PROCESS_OVERWRITE_ALPHA = 1;\nax.CLIPPING_PROCESS_MULTIPLY_ALPHA = 2;\nax.CLIPPING_PROCESS_DRAW = 3;\nax.CLIPPING_PROCESS_CLEAR_ALPHA = 4;\nax.prototype.setChannelFlagAsColor = function(aH, aI) {\n this.CHANNEL_COLORS[aH] = aI;\n}\n;\nax.prototype.getChannelFlagAsColor = function(aH) {\n return this.CHANNEL_COLORS[aH];\n}\n;\nax.prototype._$ZT = function() {}\n;\nax.prototype._$Uo = function(aM, aK, aJ, aL, aN, aI, aH) {}\n;\nax.prototype._$Rs = function() {\n return -1;\n}\n;\nax.prototype._$Ds = function(aH) {}\n;\nax.prototype.setBaseColor = function(aK, aJ, aI, aH) {\n if (aK < 0) {\n aK = 0;\n } else {\n if (aK > 1) {\n aK = 1;\n }\n }\n if (aJ < 0) {\n aJ = 0;\n } else {\n if (aJ > 1) {\n aJ = 1;\n }\n }\n if (aI < 0) {\n aI = 0;\n } else {\n if (aI > 1) {\n aI = 1;\n }\n }\n if (aH < 0) {\n aH = 0;\n } else {\n if (aH > 1) {\n aH = 1;\n }\n }\n this._$lT = aK;\n this._$C0 = aJ;\n this._$tT = aI;\n this._$WL = aH;\n}\n;\nax.prototype._$WP = function(aH) {\n this.culling = aH;\n}\n;\nax.prototype.setMatrix = function(aH) {\n for (var aI = 0; aI < 16; aI++) {\n this.matrix4x4[aI] = aH[aI];\n }\n}\n;\nax.prototype._$IT = function() {\n return this.matrix4x4;\n}\n;\nax.prototype.setPremultipliedAlpha = function(aH) {\n this.premultipliedAlpha = aH;\n}\n;\nax.prototype.isPremultipliedAlpha = function() {\n return this.premultipliedAlpha;\n}\n;\nax.prototype.setAnisotropy = function(aH) {\n this.anisotropy = aH;\n}\n;\nax.prototype.getAnisotropy = function() {\n return this.anisotropy;\n}\n;\nax.prototype.getClippingProcess = function() {\n return this.clippingProcess;\n}\n;\nax.prototype.setClippingProcess = function(aH) {\n this.clippingProcess = aH;\n}\n;\nax.prototype.setClipBufPre_clipContextForMask = function(aH) {\n this.clipBufPre_clipContextMask = aH;\n}\n;\nax.prototype.getClipBufPre_clipContextMask = function() {\n return this.clipBufPre_clipContextMask;\n}\n;\nax.prototype.setClipBufPre_clipContextForDraw = function(aH) {\n this.clipBufPre_clipContextDraw = aH;\n}\n;\nax.prototype.getClipBufPre_clipContextDraw = function() {\n return this.clipBufPre_clipContextDraw;\n}\n;\nfunction o() {\n if (j) {\n return;\n }\n this.a = 1;\n this.r = 1;\n this.g = 1;\n this.b = 1;\n this.scale = 1;\n this._$ho = 1;\n this.blendMode = Q.L2D_COLOR_BLEND_MODE_MULT;\n}\nfunction c() {\n if (j) {\n return;\n }\n this._$kP = null;\n this._$dr = null;\n this._$Ai = true;\n this._$mS = null;\n}\nc._$ur = -2;\nc._$c2 = 1;\nc._$_b = 2;\nc.prototype._$F0 = function(aH) {\n this._$kP = aH._$nP();\n this._$dr = aH._$nP();\n}\n;\nc.prototype.readV2_opacity = function(aH) {\n if (aH.getFormatVersion() >= ay.LIVE2D_FORMAT_VERSION_V2_10_SDK2) {\n this._$mS = aH._$Tb();\n }\n}\n;\nc.prototype.init = function(aH) {}\n;\nc.prototype._$Nr = function(aI, aH) {}\n;\nc.prototype.interpolateOpacity = function(aJ, aK, aI, aH) {\n if (this._$mS == null) {\n aI.setInterpolatedOpacity(1);\n } else {\n aI.setInterpolatedOpacity(aG._$br(aJ, aK, aH, this._$mS));\n }\n}\n;\nc.prototype._$2b = function(aI, aH) {}\n;\nc.prototype._$nb = function(aL, aK, aM, aH, aI, aJ, aN) {}\n;\nc.prototype.getType = function() {}\n;\nc.prototype._$gs = function(aH) {\n this._$dr = aH;\n}\n;\nc.prototype._$a2 = function(aH) {\n this._$kP = aH;\n}\n;\nc.prototype.getTargetBaseDataID = function() {\n return this._$dr;\n}\n;\nc.prototype.getBaseDataID = function() {\n return this._$kP;\n}\n;\nc.prototype._$32 = function() {\n return (this._$dr != null && (this._$dr != n._$2o()));\n}\n;\nfunction P() {}\nP._$W2 = 0;\nP._$CS = P._$W2;\nP._$Mo = function() {\n return true;\n}\n;\nP._$XP = function(aI) {\n try {\n var aJ = getTimeMSec();\n while (getTimeMSec() - aJ < aI) {}\n } catch (aH) {\n aH._$Rb();\n }\n}\n;\nP.getUserTimeMSec = function() {\n return (P._$CS == P._$W2) ? P.getSystemTimeMSec() : P._$CS;\n}\n;\nP.setUserTimeMSec = function(aH) {\n P._$CS = aH;\n}\n;\nP.updateUserTimeMSec = function() {\n return (P._$CS = P.getSystemTimeMSec());\n}\n;\nP.getTimeMSec = function() {\n return new Date().getTime();\n}\n;\nP.getSystemTimeMSec = function() {\n return new Date().getTime();\n}\n;\nP._$Q = function(aH) {}\n;\nP._$jT = function(aM, aJ, aI, aL, aH) {\n for (var aK = 0; aK < aH; aK++) {\n aI[aL + aK] = aM[aJ + aK];\n }\n}\n;\nfunction aA() {\n if (j) {\n return;\n }\n this._$VP = 0;\n this._$wL = null;\n this._$GP = null;\n this._$8o = aA._$ds;\n this._$2r = -1;\n this._$O2 = 0;\n this._$ri = 0;\n}\naA._$ds = -2;\naA.prototype._$F0 = function(aH) {\n this._$wL = aH._$nP();\n this._$VP = aH._$6L();\n this._$GP = aH._$nP();\n}\n;\naA.prototype.getParamIndex = function(aH) {\n if (this._$2r != aH) {\n this._$8o = aA._$ds;\n }\n return this._$8o;\n}\n;\naA.prototype._$Pb = function(aI, aH) {\n this._$8o = aI;\n this._$2r = aH;\n}\n;\naA.prototype.getParamID = function() {\n return this._$wL;\n}\n;\naA.prototype._$yP = function(aH) {\n this._$wL = aH;\n}\n;\naA.prototype._$N2 = function() {\n return this._$VP;\n}\n;\naA.prototype._$d2 = function() {\n return this._$GP;\n}\n;\naA.prototype._$t2 = function(aI, aH) {\n this._$VP = aI;\n this._$GP = aH;\n}\n;\naA.prototype._$Lr = function() {\n return this._$O2;\n}\n;\naA.prototype._$wr = function(aH) {\n this._$O2 = aH;\n}\n;\naA.prototype._$SL = function() {\n return this._$ri;\n}\n;\naA.prototype._$AL = function(aH) {\n this._$ri = aH;\n}\n;\nfunction G() {}\nG.startsWith = function(aJ, aL, aK) {\n var aH = aL + aK.length;\n if (aH >= aJ.length) {\n return false;\n }\n for (var aI = aL; aI < aH; aI++) {\n if (G.getChar(aJ, aI) != aK.charAt(aI - aL)) {\n return false;\n }\n }\n return true;\n}\n;\nG.getChar = function(aI, aH) {\n return String.fromCharCode(aI.getUint8(aH));\n}\n;\nG.createString = function(aM, aL, aJ) {\n var aH = new ArrayBuffer(aJ * 2);\n var aK = new Uint16Array(aH);\n for (var aI = 0; aI < aJ; aI++) {\n aK[aI] = aM.getUint8(aL + aI);\n }\n return String.fromCharCode.apply(null, aK);\n}\n;\nG._$LS = function(aP, aM, aR, aK) {\n if (aP instanceof ArrayBuffer) {\n aP = new DataView(aP);\n }\n var aL = aR;\n var aJ = false;\n var aQ = false;\n var aS = 0;\n var aO = G.getChar(aP, aL);\n if (aO == \"-\") {\n aJ = true;\n aL++;\n }\n var aN = false;\n for (; aL < aM; aL++) {\n aO = G.getChar(aP, aL);\n switch (aO) {\n case \"0\":\n aS = aS * 10;\n break;\n case \"1\":\n aS = aS * 10 + 1;\n break;\n case \"2\":\n aS = aS * 10 + 2;\n break;\n case \"3\":\n aS = aS * 10 + 3;\n break;\n case \"4\":\n aS = aS * 10 + 4;\n break;\n case \"5\":\n aS = aS * 10 + 5;\n break;\n case \"6\":\n aS = aS * 10 + 6;\n break;\n case \"7\":\n aS = aS * 10 + 7;\n break;\n case \"8\":\n aS = aS * 10 + 8;\n break;\n case \"9\":\n aS = aS * 10 + 9;\n break;\n case \".\":\n aQ = true;\n aL++;\n aN = true;\n break;\n default:\n aN = true;\n break;\n }\n if (aN) {\n break;\n }\n }\n if (aQ) {\n var aI = 0.1;\n var aH = false;\n for (; aL < aM; aL++) {\n aO = G.getChar(aP, aL);\n switch (aO) {\n case \"0\":\n break;\n case \"1\":\n aS += aI * 1;\n break;\n case \"2\":\n aS += aI * 2;\n break;\n case \"3\":\n aS += aI * 3;\n break;\n case \"4\":\n aS += aI * 4;\n break;\n case \"5\":\n aS += aI * 5;\n break;\n case \"6\":\n aS += aI * 6;\n break;\n case \"7\":\n aS += aI * 7;\n break;\n case \"8\":\n aS += aI * 8;\n break;\n case \"9\":\n aS += aI * 9;\n break;\n default:\n aH = true;\n break;\n }\n aI *= 0.1;\n if (aH) {\n break;\n }\n }\n }\n if (aJ) {\n aS = -aS;\n }\n aK[0] = aL;\n return aS;\n}\n;\nfunction g() {\n if (j) {\n return;\n }\n this._$Ob = null;\n}\ng.prototype._$zP = function() {\n this._$Ob = new Array();\n}\n;\ng.prototype._$F0 = function(aH) {\n this._$Ob = aH._$nP();\n}\n;\ng.prototype._$Ur = function(aK) {\n if (aK._$WS()) {\n return true;\n }\n var aH = aK._$v2();\n for (var aJ = this._$Ob.length - 1; aJ >= 0; --aJ) {\n var aI = this._$Ob[aJ].getParamIndex(aH);\n if (aI == aA._$ds) {\n aI = aK.getParamIndex(this._$Ob[aJ].getParamID());\n }\n if (aK._$Xb(aI)) {\n return true;\n }\n }\n return false;\n}\n;\ng.prototype._$Q2 = function(aL, aV) {\n var aX = this._$Ob.length;\n var aJ = aL._$v2();\n var aN = 0;\n var aI;\n var aQ;\n for (var aK = 0; aK < aX; aK++) {\n var aH = this._$Ob[aK];\n aI = aH.getParamIndex(aJ);\n if (aI == aA._$ds) {\n aI = aL.getParamIndex(aH.getParamID());\n aH._$Pb(aI, aJ);\n }\n if (aI < 0) {\n throw new Exception(\"err 23242 : \" + aH.getParamID());\n }\n var aU = aI < 0 ? 0 : aL.getParamFloat(aI);\n aQ = aH._$N2();\n var aM = aH._$d2();\n var aP = -1;\n var aT = 0;\n var aS;\n var aR;\n if (aQ < 1) {} else {\n if (aQ == 1) {\n aS = aM[0];\n if (aS - aw._$J < aU && aU < aS + aw._$J) {\n aP = 0;\n aT = 0;\n } else {\n aP = 0;\n aV[0] = true;\n }\n } else {\n aS = aM[0];\n if (aU < aS - aw._$J) {\n aP = 0;\n aV[0] = true;\n } else {\n if (aU < aS + aw._$J) {\n aP = 0;\n } else {\n var aW = false;\n for (var aO = 1; aO < aQ; ++aO) {\n aR = aM[aO];\n if (aU < aR + aw._$J) {\n if (aR - aw._$J < aU) {\n aP = aO;\n } else {\n aP = aO - 1;\n aT = (aU - aS) / (aR - aS);\n aN++;\n }\n aW = true;\n break;\n }\n aS = aR;\n }\n if (!aW) {\n aP = aQ - 1;\n aT = 0;\n aV[0] = true;\n }\n }\n }\n }\n }\n aH._$wr(aP);\n aH._$AL(aT);\n }\n return aN;\n}\n;\ng.prototype._$zr = function(aN, aT, aP) {\n var aR = 1 << aP;\n if (aR + 1 > aw._$Qb) {\n console.log(\"err 23245\\n\");\n }\n var aS = this._$Ob.length;\n var aK = 1;\n var aH = 1;\n var aJ = 0;\n for (var aQ = 0; aQ < aR; ++aQ) {\n aN[aQ] = 0;\n }\n for (var aL = 0; aL < aS; ++aL) {\n var aI = this._$Ob[aL];\n if (aI._$SL() == 0) {\n var aO = aI._$Lr() * aK;\n if (aO < 0 && Q._$3T) {\n throw new Exception(\"err 23246\");\n }\n for (var aQ = 0; aQ < aR; ++aQ) {\n aN[aQ] += aO;\n }\n } else {\n var aO = aK * aI._$Lr();\n var aM = aK * (aI._$Lr() + 1);\n for (var aQ = 0; aQ < aR; ++aQ) {\n aN[aQ] += ((aQ / aH | 0) % 2 == 0) ? aO : aM;\n }\n aT[aJ++] = aI._$SL();\n aH *= 2;\n }\n aK *= aI._$N2();\n }\n aN[aR] = 65535;\n aT[aJ] = -1;\n}\n;\ng.prototype._$h2 = function(aJ, aH, aK) {\n var aM = new Float32Array(aH);\n for (var aL = 0; aL < aH; ++aL) {\n aM[aL] = aK[aL];\n }\n var aI = new aA();\n aI._$yP(aJ);\n aI._$t2(aH, aM);\n this._$Ob.push(aI);\n}\n;\ng.prototype._$J2 = function(aO) {\n var aN = aO;\n var aM = this._$Ob.length;\n for (var aK = 0; aK < aM; ++aK) {\n var aI = this._$Ob[aK];\n var aH = aI._$N2();\n var aJ = aN % aI._$N2();\n var aL = aI._$d2()[aJ];\n console.log(\"%s[%d]=%7.2f / \", aI.getParamID(), aJ, aL);\n aN /= aH;\n }\n console.log(\"\\n\");\n}\n;\ng.prototype.getParamCount = function() {\n return this._$Ob.length;\n}\n;\ng.prototype._$zs = function() {\n return this._$Ob;\n}\n;\nfunction ac() {\n this.m = new Float32Array(16);\n this.identity();\n}\nac.prototype.identity = function() {\n for (var aH = 0; aH < 16; aH++) {\n this.m[aH] = ((aH % 5) == 0) ? 1 : 0;\n }\n}\n;\nac.prototype.getArray = function() {\n return this.m;\n}\n;\nac.prototype.getCopyMatrix = function() {\n return new Float32Array(this.m);\n}\n;\nac.prototype.setMatrix = function(aI) {\n if (aI == null || aI.length != 16) {\n return;\n }\n for (var aH = 0; aH < 16; aH++) {\n this.m[aH] = aI[aH];\n }\n}\n;\nac.prototype.mult = function(aH, aJ, aI) {\n if (aJ == null) {\n return null;\n }\n if (this == aJ) {\n this.mult_safe(this.m, aH.m, aJ.m, aI);\n } else {\n this.mult_fast(this.m, aH.m, aJ.m, aI);\n }\n return aJ;\n}\n;\nac.prototype.mult_safe = function(aI, aH, aM, aJ) {\n if (aI == aM) {\n var aL = new Array(16);\n this.mult_fast(aI, aH, aL, aJ);\n for (var aK = 15; aK >= 0; --aK) {\n aM[aK] = aL[aK];\n }\n } else {\n this.mult_fast(aI, aH, aM, aJ);\n }\n}\n;\nac.prototype.mult_fast = function(aI, aH, aK, aJ) {\n if (aJ) {\n aK[0] = aI[0] * aH[0] + aI[4] * aH[1] + aI[8] * aH[2];\n aK[4] = aI[0] * aH[4] + aI[4] * aH[5] + aI[8] * aH[6];\n aK[8] = aI[0] * aH[8] + aI[4] * aH[9] + aI[8] * aH[10];\n aK[12] = aI[0] * aH[12] + aI[4] * aH[13] + aI[8] * aH[14] + aI[12];\n aK[1] = aI[1] * aH[0] + aI[5] * aH[1] + aI[9] * aH[2];\n aK[5] = aI[1] * aH[4] + aI[5] * aH[5] + aI[9] * aH[6];\n aK[9] = aI[1] * aH[8] + aI[5] * aH[9] + aI[9] * aH[10];\n aK[13] = aI[1] * aH[12] + aI[5] * aH[13] + aI[9] * aH[14] + aI[13];\n aK[2] = aI[2] * aH[0] + aI[6] * aH[1] + aI[10] * aH[2];\n aK[6] = aI[2] * aH[4] + aI[6] * aH[5] + aI[10] * aH[6];\n aK[10] = aI[2] * aH[8] + aI[6] * aH[9] + aI[10] * aH[10];\n aK[14] = aI[2] * aH[12] + aI[6] * aH[13] + aI[10] * aH[14] + aI[14];\n aK[3] = aK[7] = aK[11] = 0;\n aK[15] = 1;\n } else {\n aK[0] = aI[0] * aH[0] + aI[4] * aH[1] + aI[8] * aH[2] + aI[12] * aH[3];\n aK[4] = aI[0] * aH[4] + aI[4] * aH[5] + aI[8] * aH[6] + aI[12] * aH[7];\n aK[8] = aI[0] * aH[8] + aI[4] * aH[9] + aI[8] * aH[10] + aI[12] * aH[11];\n aK[12] = aI[0] * aH[12] + aI[4] * aH[13] + aI[8] * aH[14] + aI[12] * aH[15];\n aK[1] = aI[1] * aH[0] + aI[5] * aH[1] + aI[9] * aH[2] + aI[13] * aH[3];\n aK[5] = aI[1] * aH[4] + aI[5] * aH[5] + aI[9] * aH[6] + aI[13] * aH[7];\n aK[9] = aI[1] * aH[8] + aI[5] * aH[9] + aI[9] * aH[10] + aI[13] * aH[11];\n aK[13] = aI[1] * aH[12] + aI[5] * aH[13] + aI[9] * aH[14] + aI[13] * aH[15];\n aK[2] = aI[2] * aH[0] + aI[6] * aH[1] + aI[10] * aH[2] + aI[14] * aH[3];\n aK[6] = aI[2] * aH[4] + aI[6] * aH[5] + aI[10] * aH[6] + aI[14] * aH[7];\n aK[10] = aI[2] * aH[8] + aI[6] * aH[9] + aI[10] * aH[10] + aI[14] * aH[11];\n aK[14] = aI[2] * aH[12] + aI[6] * aH[13] + aI[10] * aH[14] + aI[14] * aH[15];\n aK[3] = aI[3] * aH[0] + aI[7] * aH[1] + aI[11] * aH[2] + aI[15] * aH[3];\n aK[7] = aI[3] * aH[4] + aI[7] * aH[5] + aI[11] * aH[6] + aI[15] * aH[7];\n aK[11] = aI[3] * aH[8] + aI[7] * aH[9] + aI[11] * aH[10] + aI[15] * aH[11];\n aK[15] = aI[3] * aH[12] + aI[7] * aH[13] + aI[11] * aH[14] + aI[15] * aH[15];\n }\n}\n;\nac.prototype.translate = function(aH, aJ, aI) {\n this.m[12] = this.m[0] * aH + this.m[4] * aJ + this.m[8] * aI + this.m[12];\n this.m[13] = this.m[1] * aH + this.m[5] * aJ + this.m[9] * aI + this.m[13];\n this.m[14] = this.m[2] * aH + this.m[6] * aJ + this.m[10] * aI + this.m[14];\n this.m[15] = this.m[3] * aH + this.m[7] * aJ + this.m[11] * aI + this.m[15];\n}\n;\nac.prototype.scale = function(aJ, aI, aH) {\n this.m[0] *= aJ;\n this.m[4] *= aI;\n this.m[8] *= aH;\n this.m[1] *= aJ;\n this.m[5] *= aI;\n this.m[9] *= aH;\n this.m[2] *= aJ;\n this.m[6] *= aI;\n this.m[10] *= aH;\n this.m[3] *= aJ;\n this.m[7] *= aI;\n this.m[11] *= aH;\n}\n;\nac.prototype.rotateX = function(aH) {\n var aK = aC.fcos(aH);\n var aJ = aC._$9(aH);\n var aI = this.m[4];\n this.m[4] = aI * aK + this.m[8] * aJ;\n this.m[8] = aI * -aJ + this.m[8] * aK;\n aI = this.m[5];\n this.m[5] = aI * aK + this.m[9] * aJ;\n this.m[9] = aI * -aJ + this.m[9] * aK;\n aI = this.m[6];\n this.m[6] = aI * aK + this.m[10] * aJ;\n this.m[10] = aI * -aJ + this.m[10] * aK;\n aI = this.m[7];\n this.m[7] = aI * aK + this.m[11] * aJ;\n this.m[11] = aI * -aJ + this.m[11] * aK;\n}\n;\nac.prototype.rotateY = function(aH) {\n var aK = aC.fcos(aH);\n var aJ = aC._$9(aH);\n var aI = this.m[0];\n this.m[0] = aI * aK + this.m[8] * -aJ;\n this.m[8] = aI * aJ + this.m[8] * aK;\n aI = this.m[1];\n this.m[1] = aI * aK + this.m[9] * -aJ;\n this.m[9] = aI * aJ + this.m[9] * aK;\n aI = m[2];\n this.m[2] = aI * aK + this.m[10] * -aJ;\n this.m[10] = aI * aJ + this.m[10] * aK;\n aI = m[3];\n this.m[3] = aI * aK + this.m[11] * -aJ;\n this.m[11] = aI * aJ + this.m[11] * aK;\n}\n;\nac.prototype.rotateZ = function(aH) {\n var aK = aC.fcos(aH);\n var aJ = aC._$9(aH);\n var aI = this.m[0];\n this.m[0] = aI * aK + this.m[4] * aJ;\n this.m[4] = aI * -aJ + this.m[4] * aK;\n aI = this.m[1];\n this.m[1] = aI * aK + this.m[5] * aJ;\n this.m[5] = aI * -aJ + this.m[5] * aK;\n aI = this.m[2];\n this.m[2] = aI * aK + this.m[6] * aJ;\n this.m[6] = aI * -aJ + this.m[6] * aK;\n aI = this.m[3];\n this.m[3] = aI * aK + this.m[7] * aJ;\n this.m[7] = aI * -aJ + this.m[7] * aK;\n}\n;\nfunction Z(aH) {\n if (j) {\n return;\n }\n ak.prototype.constructor.call(this, aH);\n}\nZ.prototype = new ak();\nZ._$tP = new Object();\nZ._$27 = function() {\n Z._$tP.clear();\n}\n;\nZ.getID = function(aH) {\n var aI = Z._$tP[aH];\n if (aI == null) {\n aI = new Z(aH);\n Z._$tP[aH] = aI;\n }\n return aI;\n}\n;\nZ.prototype._$3s = function() {\n return new Z();\n}\n;\nfunction aD() {\n if (j) {\n return;\n }\n this._$7 = 1;\n this._$f = 0;\n this._$H = 0;\n this._$g = 1;\n this._$k = 0;\n this._$w = 0;\n this._$hi = STATE_IDENTITY;\n this._$Z = _$pS;\n}\naD._$kS = -1;\naD._$pS = 0;\naD._$hb = 1;\naD.STATE_IDENTITY = 0;\naD._$gb = 1;\naD._$fo = 2;\naD._$go = 4;\naD.prototype.transform = function(aK, aI, aH) {\n var aT, aS, aR, aM, aL, aJ;\n var aQ = 0;\n var aN = 0;\n switch (this._$hi) {\n default:\n return;\n case (aD._$go | aD._$fo | aD._$gb):\n aT = this._$7;\n aS = this._$H;\n aR = this._$k;\n aM = this._$f;\n aL = this._$g;\n aJ = this._$w;\n while (--aH >= 0) {\n var aP = aK[aQ++];\n var aO = aK[aQ++];\n aI[aN++] = (aT * aP + aS * aO + aR);\n aI[aN++] = (aM * aP + aL * aO + aJ);\n }\n return;\n case (aD._$go | aD._$fo):\n aT = this._$7;\n aS = this._$H;\n aM = this._$f;\n aL = this._$g;\n while (--aH >= 0) {\n var aP = aK[aQ++];\n var aO = aK[aQ++];\n aI[aN++] = (aT * aP + aS * aO);\n aI[aN++] = (aM * aP + aL * aO);\n }\n return;\n case (aD._$go | aD._$gb):\n aS = this._$H;\n aR = this._$k;\n aM = this._$f;\n aJ = this._$w;\n while (--aH >= 0) {\n var aP = aK[aQ++];\n aI[aN++] = (aS * aK[aQ++] + aR);\n aI[aN++] = (aM * aP + aJ);\n }\n return;\n case (aD._$go):\n aS = this._$H;\n aM = this._$f;\n while (--aH >= 0) {\n var aP = aK[aQ++];\n aI[aN++] = (aS * aK[aQ++]);\n aI[aN++] = (aM * aP);\n }\n return;\n case (aD._$fo | aD._$gb):\n aT = this._$7;\n aR = this._$k;\n aL = this._$g;\n aJ = this._$w;\n while (--aH >= 0) {\n aI[aN++] = (aT * aK[aQ++] + aR);\n aI[aN++] = (aL * aK[aQ++] + aJ);\n }\n return;\n case (aD._$fo):\n aT = this._$7;\n aL = this._$g;\n while (--aH >= 0) {\n aI[aN++] = (aT * aK[aQ++]);\n aI[aN++] = (aL * aK[aQ++]);\n }\n return;\n case (aD._$gb):\n aR = this._$k;\n aJ = this._$w;\n while (--aH >= 0) {\n aI[aN++] = (aK[aQ++] + aR);\n aI[aN++] = (aK[aQ++] + aJ);\n }\n return;\n case (aD.STATE_IDENTITY):\n if (aK != aI || aQ != aN) {\n P._$jT(aK, aQ, aI, aN, aH * 2);\n }\n return;\n }\n}\n;\naD.prototype.update = function() {\n if (this._$H == 0 && this._$f == 0) {\n if (this._$7 == 1 && this._$g == 1) {\n if (this._$k == 0 && this._$w == 0) {\n this._$hi = aD.STATE_IDENTITY;\n this._$Z = aD._$pS;\n } else {\n this._$hi = aD._$gb;\n this._$Z = aD._$hb;\n }\n } else {\n if (this._$k == 0 && this._$w == 0) {\n this._$hi = aD._$fo;\n this._$Z = aD._$kS;\n } else {\n this._$hi = (aD._$fo | aD._$gb);\n this._$Z = aD._$kS;\n }\n }\n } else {\n if (this._$7 == 0 && this._$g == 0) {\n if (this._$k == 0 && this._$w == 0) {\n this._$hi = aD._$go;\n this._$Z = aD._$kS;\n } else {\n this._$hi = (aD._$go | aD._$gb);\n this._$Z = aD._$kS;\n }\n } else {\n if (this._$k == 0 && this._$w == 0) {\n this._$hi = (aD._$go | aD._$fo);\n this._$Z = aD._$kS;\n } else {\n this._$hi = (aD._$go | aD._$fo | aD._$gb);\n this._$Z = aD._$kS;\n }\n }\n }\n}\n;\naD.prototype._$RT = function(aK) {\n this._$IT(aK);\n var aJ = aK[0];\n var aH = aK[2];\n var aN = aK[1];\n var aM = aK[3];\n var aI = Math.sqrt(aJ * aJ + aN * aN);\n var aL = aJ * aM - aH * aN;\n if (aI == 0) {\n if (Q._$so) {\n console.log(\"affine._$RT() / rt==0\");\n }\n } else {\n aK[0] = aI;\n aK[1] = aL / aI;\n aK[2] = (aN * aM + aJ * aH) / aL;\n aK[3] = Math.atan2(aN, aJ);\n }\n}\n;\naD.prototype._$ho = function(aN, aM, aI, aH) {\n var aL = new Float32Array(6);\n var aK = new Float32Array(6);\n aN._$RT(aL);\n aM._$RT(aK);\n var aJ = new Float32Array(6);\n aJ[0] = aL[0] + (aK[0] - aL[0]) * aI;\n aJ[1] = aL[1] + (aK[1] - aL[1]) * aI;\n aJ[2] = aL[2] + (aK[2] - aL[2]) * aI;\n aJ[3] = aL[3] + (aK[3] - aL[3]) * aI;\n aJ[4] = aL[4] + (aK[4] - aL[4]) * aI;\n aJ[5] = aL[5] + (aK[5] - aL[5]) * aI;\n aH._$CT(aJ);\n}\n;\naD.prototype._$CT = function(aJ) {\n var aI = Math.cos(aJ[3]);\n var aH = Math.sin(aJ[3]);\n this._$7 = aJ[0] * aI;\n this._$f = aJ[0] * aH;\n this._$H = aJ[1] * (aJ[2] * aI - aH);\n this._$g = aJ[1] * (aJ[2] * aH + aI);\n this._$k = aJ[4];\n this._$w = aJ[5];\n this.update();\n}\n;\naD.prototype._$IT = function(aH) {\n aH[0] = this._$7;\n aH[1] = this._$f;\n aH[2] = this._$H;\n aH[3] = this._$g;\n aH[4] = this._$k;\n aH[5] = this._$w;\n}\n;\nfunction Y() {\n if (j) {\n return;\n }\n ah.prototype.constructor.call(this);\n this.motions = new Array();\n this._$7r = null;\n this._$7r = Y._$Co++;\n this._$D0 = 30;\n this._$yT = 0;\n this._$E = true;\n this.loopFadeIn = true;\n this._$AS = -1;\n _$a0();\n}\nY.prototype = new ah();\nY._$cs = \"VISIBLE:\";\nY._$ar = \"LAYOUT:\";\nY._$Co = 0;\nY._$D2 = [];\nY._$1T = 1;\nY.loadMotion = function(aR) {\n var aM = new Y();\n var aI = [0];\n var aP = aR.length;\n aM._$yT = 0;\n for (var aJ = 0; aJ < aP; ++aJ) {\n var aQ = (aR[aJ] & 255);\n if (aQ == \"\\n\" || aQ == \"\\r\") {\n continue;\n }\n if (aQ == \"#\") {\n for (; aJ < aP; ++aJ) {\n if (aR[aJ] == \"\\n\" || aR[aJ] == \"\\r\") {\n break;\n }\n }\n continue;\n }\n if (aQ == \"$\") {\n var aT = aJ;\n var aK = -1;\n for (; aJ < aP; ++aJ) {\n aQ = (aR[aJ] & 255);\n if (aQ == \"\\r\" || aQ == \"\\n\") {\n break;\n }\n if (aQ == \"=\") {\n aK = aJ;\n break;\n }\n }\n var aO = false;\n if (aK >= 0) {\n if (aK == aT + 4 && aR[aT + 1] == \"f\" && aR[aT + 2] == \"p\" && aR[aT + 3] == \"s\") {\n aO = true;\n }\n for (aJ = aK + 1; aJ < aP; ++aJ) {\n aQ = (aR[aJ] & 255);\n if (aQ == \"\\r\" || aQ == \"\\n\") {\n break;\n }\n if (aQ == \",\" || aQ == \" \" || aQ == \"\\t\") {\n continue;\n }\n var aL = G._$LS(aR, aP, aJ, aI);\n if (aI[0] > 0) {\n if (aO && 5 < aL && aL < 121) {\n aM._$D0 = aL;\n }\n }\n aJ = aI[0];\n }\n }\n for (; aJ < aP; ++aJ) {\n if (aR[aJ] == \"\\n\" || aR[aJ] == \"\\r\") {\n break;\n }\n }\n continue;\n }\n if ((\"a\" <= aQ && aQ <= \"z\") || (\"A\" <= aQ && aQ <= \"Z\") || aQ == \"_\") {\n var aT = aJ;\n var aK = -1;\n for (; aJ < aP; ++aJ) {\n aQ = (aR[aJ] & 255);\n if (aQ == \"\\r\" || aQ == \"\\n\") {\n break;\n }\n if (aQ == \"=\") {\n aK = aJ;\n break;\n }\n }\n if (aK >= 0) {\n var aN = new t();\n if (G.startsWith(aR, aT, Y._$cs)) {\n aN._$RP = t._$hs;\n aN._$4P = new String(aR,aT,aK - aT);\n } else {\n if (G.startsWith(aR, aT, Y._$ar)) {\n aN._$4P = new String(aR,aT + 7,aK - aT - 7);\n if (G.startsWith(aR, aT + 7, \"ANCHOR_X\")) {\n aN._$RP = t._$xs;\n } else {\n if (G.startsWith(aR, aT + 7, \"ANCHOR_Y\")) {\n aN._$RP = t._$us;\n } else {\n if (G.startsWith(aR, aT + 7, \"SCALE_X\")) {\n aN._$RP = t._$qs;\n } else {\n if (G.startsWith(aR, aT + 7, \"SCALE_Y\")) {\n aN._$RP = t._$Ys;\n } else {\n if (G.startsWith(aR, aT + 7, \"X\")) {\n aN._$RP = t._$ws;\n } else {\n if (G.startsWith(aR, aT + 7, \"Y\")) {\n aN._$RP = t._$Ns;\n }\n }\n }\n }\n }\n }\n } else {\n aN._$RP = t._$Fr;\n aN._$4P = new String(aR,aT,aK - aT);\n }\n }\n aM.motions.push(aN);\n var aS = 0;\n Y._$D2.clear();\n for (aJ = aK + 1; aJ < aP; ++aJ) {\n aQ = (aR[aJ] & 255);\n if (aQ == \"\\r\" || aQ == \"\\n\") {\n break;\n }\n if (aQ == \",\" || aQ == \" \" || aQ == \"\\t\") {\n continue;\n }\n var aL = G._$LS(aR, aP, aJ, aI);\n if (aI[0] > 0) {\n Y._$D2.push(aL);\n aS++;\n var aH = aI[0];\n if (aH < aJ) {\n console.log(\"_$n0 _$hi . @Live2DMotion loadMotion()\\n\");\n break;\n }\n aJ = aH;\n }\n }\n aN._$I0 = Y._$D2._$BL();\n if (aS > aM._$yT) {\n aM._$yT = aS;\n }\n }\n }\n }\n aM._$AS = ((1000 * aM._$yT) / aM._$D0) | 0;\n return aM;\n}\n;\nY.prototype.getDurationMSec = function() {\n return this._$AS;\n}\n;\nY.prototype.dump = function() {\n for (var aJ = 0; aJ < this.motions.length; aJ++) {\n var aH = this.motions[aJ];\n console.log(\"_$wL[%s] [%d]. \", aH._$4P, aH._$I0.length);\n for (var aI = 0; aI < aH._$I0.length && aI < 10; aI++) {\n console.log(\"%5.2f ,\", aH._$I0[aI]);\n }\n console.log(\"\\n\");\n }\n}\n;\nY.prototype.updateParamExe = function(aH, aL, aO, aX) {\n var aM = aL - aX._$z2;\n var aV = aM * this._$D0 / 1000;\n var aJ = aV | 0;\n var aP = aV - aJ;\n for (var aU = 0; aU < this.motions.length; aU++) {\n var aS = this.motions[aU];\n var aK = aS._$I0.length;\n var aQ = aS._$4P;\n if (aS._$RP == t._$hs) {\n var aT = aS._$I0[(aJ >= aK ? aK - 1 : aJ)];\n aH.setParamFloat(aQ, aT);\n } else {\n if (t._$ws <= aS._$RP && aS._$RP <= t._$Ys) {} else {\n var aR = aH.getParamFloat(aQ);\n var aY = aS._$I0[(aJ >= aK ? aK - 1 : aJ)];\n var aW = aS._$I0[(aJ + 1 >= aK ? aK - 1 : aJ + 1)];\n var aI = aY + (aW - aY) * aP;\n var aN = aR + (aI - aR) * aO;\n aH.setParamFloat(aQ, aN);\n }\n }\n }\n if (aJ >= this._$yT) {\n if (this._$E) {\n aX._$z2 = aL;\n if (this.loopFadeIn) {\n aX._$bs = aL;\n }\n } else {\n aX._$9L = true;\n }\n }\n}\n;\nY.prototype._$r0 = function() {\n return this._$E;\n}\n;\nY.prototype._$aL = function(aH) {\n this._$E = aH;\n}\n;\nY.prototype.isLoopFadeIn = function() {\n return this.loopFadeIn;\n}\n;\nY.prototype.setLoopFadeIn = function(aH) {\n this.loopFadeIn = aH;\n}\n;\nfunction aE() {\n this._$P = new Float32Array(100);\n this.size = 0;\n}\naE.prototype.clear = function() {\n this.size = 0;\n}\n;\naE.prototype.add = function(aI) {\n if (this._$P.length <= this.size) {\n var aH = new Float32Array(this.size * 2);\n P._$jT(this._$P, 0, aH, 0, this.size);\n this._$P = aH;\n }\n this._$P[this.size++] = aI;\n}\n;\naE.prototype._$BL = function() {\n var aH = new Float32Array(this.size);\n P._$jT(this._$P, 0, aH, 0, this.size);\n return aH;\n}\n;\nfunction t() {\n this._$4P = null;\n this._$I0 = null;\n this._$RP = null;\n}\nt._$Fr = 0;\nt._$hs = 1;\nt._$ws = 100;\nt._$Ns = 101;\nt._$xs = 102;\nt._$us = 103;\nt._$qs = 104;\nt._$Ys = 105;\nfunction aw() {}\naw._$Ms = 1;\naw._$Qs = 2;\naw._$i2 = 0;\naw._$No = 2;\naw._$do = aw._$Ms;\naw._$Ls = true;\naw._$1r = 5;\naw._$Qb = 65;\naw._$J = 0.0001;\naw._$FT = 0.001;\naw._$Ss = 3;\nfunction ay() {}\nay._$o7 = 6;\nay._$S7 = 7;\nay._$s7 = 8;\nay._$77 = 9;\nay.LIVE2D_FORMAT_VERSION_V2_10_SDK2 = 10;\nay.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1 = 11;\nay._$T7 = ay.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1;\nay._$Is = -2004318072;\nay._$h0 = 0;\nay._$4L = 23;\nay._$7P = 33;\nay._$uT = function(aH) {\n console.log(\"_$bo :: _$6 _$mo _$E0 : %d\\n\", aH);\n}\n;\nay._$9o = function(aH) {\n if (aH < 40) {\n ay._$uT(aH);\n return null;\n } else {\n if (aH < 50) {\n ay._$uT(aH);\n return null;\n } else {\n if (aH < 60) {\n ay._$uT(aH);\n return null;\n } else {\n if (aH < 100) {\n switch (aH) {\n case 65:\n return new E();\n case 66:\n return new g();\n case 67:\n return new aA();\n case 68:\n return new ab();\n case 69:\n return new X();\n case 70:\n return new b();\n default:\n ay._$uT(aH);\n return null;\n }\n } else {\n if (aH < 150) {\n switch (aH) {\n case 131:\n return new f();\n case 133:\n return new s();\n case 136:\n return new w();\n case 137:\n return new an();\n case 142:\n return new aq();\n }\n }\n }\n }\n }\n }\n ay._$uT(aH);\n return null;\n}\n;\nfunction y(aH) {\n if (j) {\n return;\n }\n this._$QT = true;\n this._$co = -1;\n this._$qo = 0;\n this._$pb = new Array(y._$is);\n this._$_2 = new Float32Array(y._$is);\n this._$vr = new Float32Array(y._$is);\n this._$Rr = new Float32Array(y._$is);\n this._$Or = new Float32Array(y._$is);\n this._$fs = new Float32Array(y._$is);\n this._$Js = new Array(y._$is);\n this._$3S = new Array();\n this._$aS = new Array();\n this._$Bo = null;\n this._$F2 = new Array();\n this._$db = new Array();\n this._$8b = new Array();\n this._$Hr = new Array();\n this._$Ws = null;\n this._$Vs = null;\n this._$Er = null;\n this._$Es = new Int16Array(aw._$Qb);\n this._$ZP = new Float32Array(aw._$1r * 2);\n this._$Ri = aH;\n this._$b0 = y._$HP++;\n this.clipManager = null;\n this.dp_webgl = null;\n}\ny._$HP = 0;\ny._$_0 = true;\ny._$V2 = -1;\ny._$W0 = -1;\ny._$jr = false;\ny._$ZS = true;\ny._$tr = (-1000000);\ny._$lr = (1000000);\ny._$is = 32;\ny._$e = false;\ny.prototype.getDrawDataIndex = function(aI) {\n for (var aH = this._$aS.length - 1; aH >= 0; --aH) {\n if (this._$aS[aH] != null && this._$aS[aH].getDrawDataID() == aI) {\n return aH;\n }\n }\n return -1;\n}\n;\ny.prototype.getDrawData = function(aH) {\n if (aH instanceof Z) {\n if (this._$Bo == null) {\n this._$Bo = new Object();\n var aJ = this._$aS.length;\n for (var aI = 0; aI < aJ; aI++) {\n var aL = this._$aS[aI];\n var aK = aL.getDrawDataID();\n if (aK == null) {\n continue;\n }\n this._$Bo[aK] = aL;\n }\n }\n return this._$Bo[id];\n } else {\n if (aH < this._$aS.length) {\n return this._$aS[aH];\n } else {\n return null;\n }\n }\n}\n;\ny.prototype.release = function() {\n this._$3S.clear();\n this._$aS.clear();\n this._$F2.clear();\n if (this._$Bo != null) {\n this._$Bo.clear();\n }\n this._$db.clear();\n this._$8b.clear();\n this._$Hr.clear();\n}\n;\ny.prototype.init = function() {\n this._$co++;\n if (this._$F2.length > 0) {\n this.release();\n }\n var aO = this._$Ri.getModelImpl();\n var aT = aO._$Xr();\n var aS = aT.length;\n var aH = new Array();\n var a3 = new Array();\n for (var aV = 0; aV < aS; ++aV) {\n var a4 = aT[aV];\n this._$F2.push(a4);\n this._$Hr.push(a4.init(this));\n var aK = a4.getBaseData();\n var aR = aK.length;\n for (var aU = 0; aU < aR; ++aU) {\n aH.push(aK[aU]);\n }\n for (var aU = 0; aU < aR; ++aU) {\n var aM = aK[aU].init(this);\n aM._$l2(aV);\n a3.push(aM);\n }\n var a1 = a4.getDrawData();\n var aP = a1.length;\n for (var aU = 0; aU < aP; ++aU) {\n var aZ = a1[aU];\n var a0 = aZ.init(this);\n a0._$IP = aV;\n this._$aS.push(aZ);\n this._$8b.push(a0);\n }\n }\n var aY = aH.length;\n var aN = n._$2o();\n while (true) {\n var aX = false;\n for (var aV = 0; aV < aY; ++aV) {\n var aL = aH[aV];\n if (aL == null) {\n continue;\n }\n var a2 = aL.getTargetBaseDataID();\n if (a2 == null || a2 == aN || this.getBaseDataIndex(a2) >= 0) {\n this._$3S.push(aL);\n this._$db.push(a3[aV]);\n aH[aV] = null;\n aX = true;\n }\n }\n if (!aX) {\n break;\n }\n }\n var aI = aO._$E2();\n if (aI != null) {\n var aJ = aI._$1s();\n if (aJ != null) {\n var aW = aJ.length;\n for (var aV = 0; aV < aW; ++aV) {\n var aQ = aJ[aV];\n if (aQ == null) {\n continue;\n }\n this._$02(aQ.getParamID(), aQ.getDefaultValue(), aQ.getMinValue(), aQ.getMaxValue());\n }\n }\n }\n this.clipManager = new W(this.dp_webgl);\n this.clipManager.init(this, this._$aS, this._$8b);\n this._$QT = true;\n}\n;\ny.prototype.update = function() {\n if (y._$e) {\n q.start(\"_$zL\");\n }\n var aK = this._$_2.length;\n for (var aW = 0; aW < aK; aW++) {\n if (this._$_2[aW] != this._$vr[aW]) {\n this._$Js[aW] = y._$ZS;\n this._$vr[aW] = this._$_2[aW];\n }\n }\n var aX = false;\n var aQ = this._$3S.length;\n var aN = this._$aS.length;\n var aS = a._$or();\n var aZ = a._$Pr();\n var aU = aZ - aS + 1;\n if (this._$Ws == null || this._$Ws.length < aU) {\n this._$Ws = new Int16Array(aU);\n this._$Vs = new Int16Array(aU);\n }\n for (var aW = 0; aW < aU; aW++) {\n this._$Ws[aW] = y._$V2;\n this._$Vs[aW] = y._$V2;\n }\n if (this._$Er == null || this._$Er.length < aN) {\n this._$Er = new Int16Array(aN);\n }\n for (var aW = 0; aW < aN; aW++) {\n this._$Er[aW] = y._$W0;\n }\n if (y._$e) {\n q.dump(\"_$zL\");\n }\n if (y._$e) {\n q.start(\"_$UL\");\n }\n var aL = null;\n for (var aV = 0; aV < aQ; ++aV) {\n var aJ = this._$3S[aV];\n var aH = this._$db[aV];\n try {\n aJ._$Nr(this, aH);\n aJ._$2b(this, aH);\n } catch (aY) {\n if (aL == null) {\n aL = aY;\n }\n }\n }\n if (aL != null) {\n if (y._$_0) {\n q._$Rb(aL);\n }\n }\n if (y._$e) {\n q.dump(\"_$UL\");\n }\n if (y._$e) {\n q.start(\"_$DL\");\n }\n var aR = null;\n for (var aO = 0; aO < aN; ++aO) {\n var aM = this._$aS[aO];\n var aI = this._$8b[aO];\n try {\n aM._$Nr(this, aI);\n if (aI._$u2()) {\n continue;\n }\n aM._$2b(this, aI);\n var aT = Math.floor(aM._$zS(this, aI) - aS);\n var aP;\n try {\n aP = this._$Vs[aT];\n } catch (aY) {\n console.log(\"_$li :: %s / %s @@_$fS\\n\", aY.toString(), aM.getDrawDataID().toString());\n aT = Math.floor(aM._$zS(this, aI) - aS);\n continue;\n }\n if (aP == y._$V2) {\n this._$Ws[aT] = aO;\n } else {\n this._$Er[aP] = aO;\n }\n this._$Vs[aT] = aO;\n } catch (aY) {\n if (aR == null) {\n aR = aY;\n Q._$sT(Q._$H7);\n }\n }\n }\n if (aR != null) {\n if (y._$_0) {\n q._$Rb(aR);\n }\n }\n if (y._$e) {\n q.dump(\"_$DL\");\n }\n if (y._$e) {\n q.start(\"_$eL\");\n }\n for (var aW = this._$Js.length - 1; aW >= 0; aW--) {\n this._$Js[aW] = y._$jr;\n }\n this._$QT = false;\n if (y._$e) {\n q.dump(\"_$eL\");\n }\n return aX;\n}\n;\ny.prototype.preDraw = function(aH) {\n if (this.clipManager != null) {\n aH._$ZT();\n this.clipManager.setupClip(this, aH);\n }\n}\n;\ny.prototype.draw = function(aM) {\n if (this._$Ws == null) {\n q._$li(\"call _$Ri.update() before _$Ri.draw() \");\n return;\n }\n var aP = this._$Ws.length;\n aM._$ZT();\n for (var aK = 0; aK < aP; ++aK) {\n var aN = this._$Ws[aK];\n if (aN == y._$V2) {\n continue;\n }\n do {\n var aH = this._$aS[aN];\n var aI = this._$8b[aN];\n if (aI._$yo()) {\n var aJ = aI._$IP;\n var aL = this._$Hr[aJ];\n aI._$VS = aL.getPartsOpacity();\n aH.draw(aM, this, aI);\n }\n var aO = this._$Er[aN];\n if (aO <= aN || aO == y._$W0) {\n break;\n }\n aN = aO;\n } while (true);\n }\n}\n;\ny.prototype.getParamIndex = function(aH) {\n for (var aI = this._$pb.length - 1; aI >= 0; --aI) {\n if (this._$pb[aI] == aH) {\n return aI;\n }\n }\n return this._$02(aH, 0, y._$tr, y._$lr);\n}\n;\ny.prototype._$BS = function(aH) {\n return this.getBaseDataIndex(aH);\n}\n;\ny.prototype.getBaseDataIndex = function(aH) {\n for (var aI = this._$3S.length - 1; aI >= 0; --aI) {\n if (this._$3S[aI] != null && this._$3S[aI].getBaseDataID() == aH) {\n return aI;\n }\n }\n return -1;\n}\n;\ny.prototype._$UT = function(aJ, aH) {\n var aI = new Float32Array(aH);\n P._$jT(aJ, 0, aI, 0, aJ.length);\n return aI;\n}\n;\ny.prototype._$02 = function(aN, aM, aL, aH) {\n if (this._$qo >= this._$pb.length) {\n var aK = this._$pb.length;\n var aJ = new Array(aK * 2);\n P._$jT(this._$pb, 0, aJ, 0, aK);\n this._$pb = aJ;\n this._$_2 = this._$UT(this._$_2, aK * 2);\n this._$vr = this._$UT(this._$vr, aK * 2);\n this._$Rr = this._$UT(this._$Rr, aK * 2);\n this._$Or = this._$UT(this._$Or, aK * 2);\n var aI = new Array();\n P._$jT(this._$Js, 0, aI, 0, aK);\n this._$Js = aI;\n }\n this._$pb[this._$qo] = aN;\n this._$_2[this._$qo] = aM;\n this._$vr[this._$qo] = aM;\n this._$Rr[this._$qo] = aL;\n this._$Or[this._$qo] = aH;\n this._$Js[this._$qo] = y._$ZS;\n return this._$qo++;\n}\n;\ny.prototype._$Zo = function(aI, aH) {\n this._$3S[aI] = aH;\n}\n;\ny.prototype.setParamFloat = function(aH, aI) {\n if (aI < this._$Rr[aH]) {\n aI = this._$Rr[aH];\n }\n if (aI > this._$Or[aH]) {\n aI = this._$Or[aH];\n }\n this._$_2[aH] = aI;\n}\n;\ny.prototype.loadParam = function() {\n var aH = this._$_2.length;\n if (aH > this._$fs.length) {\n aH = this._$fs.length;\n }\n P._$jT(this._$fs, 0, this._$_2, 0, aH);\n}\n;\ny.prototype.saveParam = function() {\n var aH = this._$_2.length;\n if (aH > this._$fs.length) {\n this._$fs = new Float32Array(aH);\n }\n P._$jT(this._$_2, 0, this._$fs, 0, aH);\n}\n;\ny.prototype._$v2 = function() {\n return this._$co;\n}\n;\ny.prototype._$WS = function() {\n return this._$QT;\n}\n;\ny.prototype._$Xb = function(aH) {\n return this._$Js[aH] == y._$ZS;\n}\n;\ny.prototype._$vs = function() {\n return this._$Es;\n}\n;\ny.prototype._$Tr = function() {\n return this._$ZP;\n}\n;\ny.prototype.getBaseData = function(aH) {\n return this._$3S[aH];\n}\n;\ny.prototype.getParamFloat = function(aH) {\n return this._$_2[aH];\n}\n;\ny.prototype.getParamMax = function(aH) {\n return this._$Or[aH];\n}\n;\ny.prototype.getParamMin = function(aH) {\n return this._$Rr[aH];\n}\n;\ny.prototype.setPartsOpacity = function(aJ, aH) {\n var aI = this._$Hr[aJ];\n aI.setPartsOpacity(aH);\n}\n;\ny.prototype.getPartsOpacity = function(aI) {\n var aH = this._$Hr[aI];\n return aH.getPartsOpacity();\n}\n;\ny.prototype.getPartsDataIndex = function(aI) {\n for (var aH = this._$F2.length - 1; aH >= 0; --aH) {\n if (this._$F2[aH] != null && this._$F2[aH]._$p2() == aI) {\n return aH;\n }\n }\n return -1;\n}\n;\ny.prototype._$q2 = function(aH) {\n return this._$db[aH];\n}\n;\ny.prototype._$C2 = function(aH) {\n return this._$8b[aH];\n}\n;\ny.prototype._$Bb = function(aH) {\n return this._$Hr[aH];\n}\n;\ny.prototype._$5s = function(aO, aK) {\n var aJ = this._$Ws.length;\n var aN = aO;\n for (var aL = 0; aL < aJ; ++aL) {\n var aI = this._$Ws[aL];\n if (aI == y._$V2) {\n continue;\n }\n do {\n var aM = this._$8b[aI];\n if (aM._$yo()) {\n aM._$GT()._$B2(this, aM, aN);\n aN += aK;\n }\n var aH = this._$Er[aI];\n if (aH <= aI || aH == y._$W0) {\n break;\n }\n aI = aH;\n } while (true);\n }\n}\n;\ny.prototype.setDrawParam = function(aH) {\n this.dp_webgl = aH;\n}\n;\ny.prototype.getDrawParam = function() {\n return this.dp_webgl;\n}\n;\nfunction ap() {}\nap._$0T = function(aH) {\n return ap._$0T(new _$5(aH));\n}\n;\nap._$0T = function(aJ) {\n if (!aJ.exists()) {\n throw new _$ls(aJ._$3b());\n }\n var aH = aJ.length();\n var aI = new Int8Array(aH);\n var aM = new _$Xs(new _$kb(aJ),8192);\n var aK;\n var aL = 0;\n while ((aK = aM.read(aI, aL, aH - aL)) > 0) {\n aL += aK;\n }\n return aI;\n}\n;\nap._$C = function(aJ) {\n var aI = null;\n var aL = null;\n try {\n aI = (aJ instanceof Array) ? aJ : new _$Xs(aJ,8192);\n aL = new _$js();\n var aM = 1000;\n var aK;\n var aH = new Int8Array(aM);\n while ((aK = aI.read(aH)) > 0) {\n aL.write(aH, 0, aK);\n }\n return aL._$TS();\n } finally {\n if (aJ != null) {\n aJ.close();\n }\n if (aL != null) {\n aL.flush();\n aL.close();\n }\n }\n}\n;\nfunction ar() {\n if (j) {\n return;\n }\n this._$12 = null;\n this._$bb = null;\n this._$_L = null;\n this._$jo = null;\n this._$iL = null;\n this._$0L = null;\n this._$Br = null;\n this._$Dr = null;\n this._$Cb = null;\n this._$mr = null;\n this._$_L = az.STATE_FIRST;\n this._$Br = 4000;\n this._$Dr = 100;\n this._$Cb = 50;\n this._$mr = 150;\n this._$jo = true;\n this._$iL = \"PARAM_EYE_L_OPEN\";\n this._$0L = \"PARAM_EYE_R_OPEN\";\n}\nar.prototype._$T2 = function() {\n var aI = P.getUserTimeMSec();\n var aH = Math._$10();\n return (aI + aH * (2 * this._$Br - 1));\n}\n;\nar.prototype._$uo = function(aH) {\n this._$Br = aH;\n}\n;\nar.prototype._$QS = function(aI, aH, aJ) {\n this._$Dr = aI;\n this._$Cb = aH;\n this._$mr = aJ;\n}\n;\nar.prototype._$7T = function(aI) {\n var aK = P.getUserTimeMSec();\n var aH;\n var aJ = 0;\n switch (this._$_L) {\n case STATE_CLOSING:\n aJ = (aK - this._$bb) / this._$Dr;\n if (aJ >= 1) {\n aJ = 1;\n this._$_L = az.STATE_CLOSED;\n this._$bb = aK;\n }\n aH = 1 - aJ;\n break;\n case STATE_CLOSED:\n aJ = (aK - this._$bb) / this._$Cb;\n if (aJ >= 1) {\n this._$_L = az.STATE_OPENING;\n this._$bb = aK;\n }\n aH = 0;\n break;\n case STATE_OPENING:\n aJ = (aK - this._$bb) / this._$mr;\n if (aJ >= 1) {\n aJ = 1;\n this._$_L = az.STATE_INTERVAL;\n this._$12 = this._$T2();\n }\n aH = aJ;\n break;\n case STATE_INTERVAL:\n if (this._$12 < aK) {\n this._$_L = az.STATE_CLOSING;\n this._$bb = aK;\n }\n aH = 1;\n break;\n case STATE_FIRST:\n default:\n this._$_L = az.STATE_INTERVAL;\n this._$12 = this._$T2();\n aH = 1;\n break;\n }\n if (!this._$jo) {\n aH = -aH;\n }\n aI.setParamFloat(this._$iL, aH);\n aI.setParamFloat(this._$0L, aH);\n}\n;\nvar az = function() {};\naz.STATE_FIRST = \"STATE_FIRST\";\naz.STATE_INTERVAL = \"STATE_INTERVAL\";\naz.STATE_CLOSING = \"STATE_CLOSING\";\naz.STATE_CLOSED = \"STATE_CLOSED\";\naz.STATE_OPENING = \"STATE_OPENING\";\nfunction x() {\n if (j) {\n return;\n }\n ax.prototype.constructor.call(this);\n this._$sb = new Int32Array(x._$As);\n this._$U2 = new Array();\n this.transform = null;\n this.gl = null;\n if (x._$NT == null) {\n x._$NT = x._$9r(256);\n x._$vS = x._$9r(256);\n x._$no = x._$vb(256);\n }\n}\nx.prototype = new ax();\nx._$As = 32;\nx._$Gr = false;\nx._$NT = null;\nx._$vS = null;\nx._$no = null;\nx._$9r = function(aH) {\n var aI = new Float32Array(aH);\n return aI;\n}\n;\nx._$vb = function(aH) {\n var aI = new Int16Array(aH);\n return aI;\n}\n;\nx._$cr = function(aI, aH) {\n if (aI == null || aI._$yL() < aH.length) {\n aI = x._$9r(aH.length * 2);\n aI.put(aH);\n aI._$oT(0);\n } else {\n aI.clear();\n aI.put(aH);\n aI._$oT(0);\n }\n return aI;\n}\n;\nx._$mb = function(aI, aH) {\n if (aI == null || aI._$yL() < aH.length) {\n aI = x._$vb(aH.length * 2);\n aI.put(aH);\n aI._$oT(0);\n } else {\n aI.clear();\n aI.put(aH);\n aI._$oT(0);\n }\n return aI;\n}\n;\nx._$Hs = function() {\n return x._$Gr;\n}\n;\nx._$as = function(aH) {\n x._$Gr = aH;\n}\n;\nx.prototype.setGL = function(aH) {\n this.gl = aH;\n}\n;\nx.prototype.setTransform = function(aH) {\n this.transform = aH;\n}\n;\nx.prototype._$ZT = function() {}\n;\nx.prototype._$Uo = function(aO, aH, aP, aI, aQ, aM, aK, aJ) {\n if (aM < 0.01) {\n return;\n }\n var aL = this._$U2[aO];\n var aN = aM > 0.9 ? Q.EXPAND_W : 0;\n this.gl.drawElements(aL, aP, aI, aQ, aM, aN, this.transform, aJ);\n}\n;\nx.prototype._$Rs = function() {\n throw new Error(\"_$Rs\");\n}\n;\nx.prototype._$Ds = function(aH) {\n throw new Error(\"_$Ds\");\n}\n;\nx.prototype._$K2 = function() {\n for (var aH = 0; aH < this._$sb.length; aH++) {\n var aI = this._$sb[aH];\n if (aI != 0) {\n this.gl._$Sr(1, this._$sb, aH);\n this._$sb[aH] = 0;\n }\n }\n}\n;\nx.prototype.setTexture = function(aI, aH) {\n if (this._$sb.length < aI + 1) {\n this._$nS(aI);\n }\n this._$sb[aI] = aH;\n}\n;\nx.prototype.setTexture = function(aH, aI) {\n if (this._$sb.length < aH + 1) {\n this._$nS(aH);\n }\n this._$U2[aH] = aI;\n}\n;\nx.prototype._$nS = function(aH) {\n var aK = Math.max(this._$sb.length * 2, aH + 1 + 10);\n var aI = new Int32Array(aK);\n P._$jT(this._$sb, 0, aI, 0, this._$sb.length);\n this._$sb = aI;\n var aJ = new Array();\n P._$jT(this._$U2, 0, aJ, 0, this._$U2.length);\n this._$U2 = aJ;\n}\n;\nfunction ab() {\n if (j) {\n return;\n }\n c.prototype.constructor.call(this);\n this._$GS = null;\n this._$Y0 = null;\n}\nab.prototype = new c();\nab._$Xo = new Float32Array(2);\nab._$io = new Float32Array(2);\nab._$0o = new Float32Array(2);\nab._$Lo = new Float32Array(2);\nab._$To = new Float32Array(2);\nab._$Po = new Float32Array(2);\nab._$gT = new Array();\nab.prototype._$zP = function() {\n this._$GS = new g();\n this._$GS._$zP();\n this._$Y0 = new Array();\n}\n;\nab.prototype.getType = function() {\n return c._$c2;\n}\n;\nab.prototype._$F0 = function(aH) {\n c.prototype._$F0.call(this, aH);\n this._$GS = aH._$nP();\n this._$Y0 = aH._$nP();\n c.prototype.readV2_opacity.call(this, aH);\n}\n;\nab.prototype.init = function(aH) {\n var aI = new al(this);\n aI._$Yr = new X();\n if (this._$32()) {\n aI._$Wr = new X();\n }\n return aI;\n}\n;\nab.prototype._$Nr = function(bf, bx) {\n if (!((this == bx._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var bm = bx;\n if (!this._$GS._$Ur(bf)) {\n return;\n }\n var bw = ab._$gT;\n bw[0] = false;\n var a2 = this._$GS._$Q2(bf, bw);\n bx._$Ib(bw[0]);\n this.interpolateOpacity(bf, this._$GS, bx, bw);\n var a3 = bf._$vs();\n var ba = bf._$Tr();\n this._$GS._$zr(a3, ba, a2);\n if (a2 <= 0) {\n var bn = this._$Y0[a3[0]];\n bm._$Yr.init(bn);\n } else {\n if (a2 == 1) {\n var bn = this._$Y0[a3[0]];\n var bl = this._$Y0[a3[1]];\n var a9 = ba[0];\n bm._$Yr._$fL = bn._$fL + (bl._$fL - bn._$fL) * a9;\n bm._$Yr._$gL = bn._$gL + (bl._$gL - bn._$gL) * a9;\n bm._$Yr._$B0 = bn._$B0 + (bl._$B0 - bn._$B0) * a9;\n bm._$Yr._$z0 = bn._$z0 + (bl._$z0 - bn._$z0) * a9;\n bm._$Yr._$qT = bn._$qT + (bl._$qT - bn._$qT) * a9;\n } else {\n if (a2 == 2) {\n var bn = this._$Y0[a3[0]];\n var bl = this._$Y0[a3[1]];\n var a1 = this._$Y0[a3[2]];\n var a0 = this._$Y0[a3[3]];\n var a9 = ba[0];\n var a8 = ba[1];\n var bC = bn._$fL + (bl._$fL - bn._$fL) * a9;\n var bB = a1._$fL + (a0._$fL - a1._$fL) * a9;\n bm._$Yr._$fL = bC + (bB - bC) * a8;\n bC = bn._$gL + (bl._$gL - bn._$gL) * a9;\n bB = a1._$gL + (a0._$gL - a1._$gL) * a9;\n bm._$Yr._$gL = bC + (bB - bC) * a8;\n bC = bn._$B0 + (bl._$B0 - bn._$B0) * a9;\n bB = a1._$B0 + (a0._$B0 - a1._$B0) * a9;\n bm._$Yr._$B0 = bC + (bB - bC) * a8;\n bC = bn._$z0 + (bl._$z0 - bn._$z0) * a9;\n bB = a1._$z0 + (a0._$z0 - a1._$z0) * a9;\n bm._$Yr._$z0 = bC + (bB - bC) * a8;\n bC = bn._$qT + (bl._$qT - bn._$qT) * a9;\n bB = a1._$qT + (a0._$qT - a1._$qT) * a9;\n bm._$Yr._$qT = bC + (bB - bC) * a8;\n } else {\n if (a2 == 3) {\n var aP = this._$Y0[a3[0]];\n var aO = this._$Y0[a3[1]];\n var bu = this._$Y0[a3[2]];\n var bs = this._$Y0[a3[3]];\n var aK = this._$Y0[a3[4]];\n var aJ = this._$Y0[a3[5]];\n var bj = this._$Y0[a3[6]];\n var bi = this._$Y0[a3[7]];\n var a9 = ba[0];\n var a8 = ba[1];\n var a6 = ba[2];\n var bC = aP._$fL + (aO._$fL - aP._$fL) * a9;\n var bB = bu._$fL + (bs._$fL - bu._$fL) * a9;\n var bz = aK._$fL + (aJ._$fL - aK._$fL) * a9;\n var by = bj._$fL + (bi._$fL - bj._$fL) * a9;\n bm._$Yr._$fL = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n bC = aP._$gL + (aO._$gL - aP._$gL) * a9;\n bB = bu._$gL + (bs._$gL - bu._$gL) * a9;\n bz = aK._$gL + (aJ._$gL - aK._$gL) * a9;\n by = bj._$gL + (bi._$gL - bj._$gL) * a9;\n bm._$Yr._$gL = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n bC = aP._$B0 + (aO._$B0 - aP._$B0) * a9;\n bB = bu._$B0 + (bs._$B0 - bu._$B0) * a9;\n bz = aK._$B0 + (aJ._$B0 - aK._$B0) * a9;\n by = bj._$B0 + (bi._$B0 - bj._$B0) * a9;\n bm._$Yr._$B0 = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n bC = aP._$z0 + (aO._$z0 - aP._$z0) * a9;\n bB = bu._$z0 + (bs._$z0 - bu._$z0) * a9;\n bz = aK._$z0 + (aJ._$z0 - aK._$z0) * a9;\n by = bj._$z0 + (bi._$z0 - bj._$z0) * a9;\n bm._$Yr._$z0 = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n bC = aP._$qT + (aO._$qT - aP._$qT) * a9;\n bB = bu._$qT + (bs._$qT - bu._$qT) * a9;\n bz = aK._$qT + (aJ._$qT - aK._$qT) * a9;\n by = bj._$qT + (bi._$qT - bj._$qT) * a9;\n bm._$Yr._$qT = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n } else {\n if (a2 == 4) {\n var aT = this._$Y0[a3[0]];\n var aS = this._$Y0[a3[1]];\n var bE = this._$Y0[a3[2]];\n var bD = this._$Y0[a3[3]];\n var aN = this._$Y0[a3[4]];\n var aM = this._$Y0[a3[5]];\n var bp = this._$Y0[a3[6]];\n var bo = this._$Y0[a3[7]];\n var bh = this._$Y0[a3[8]];\n var bg = this._$Y0[a3[9]];\n var aY = this._$Y0[a3[10]];\n var aW = this._$Y0[a3[11]];\n var a7 = this._$Y0[a3[12]];\n var a5 = this._$Y0[a3[13]];\n var aR = this._$Y0[a3[14]];\n var aQ = this._$Y0[a3[15]];\n var a9 = ba[0];\n var a8 = ba[1];\n var a6 = ba[2];\n var a4 = ba[3];\n var bC = aT._$fL + (aS._$fL - aT._$fL) * a9;\n var bB = bE._$fL + (bD._$fL - bE._$fL) * a9;\n var bz = aN._$fL + (aM._$fL - aN._$fL) * a9;\n var by = bp._$fL + (bo._$fL - bp._$fL) * a9;\n var bv = bh._$fL + (bg._$fL - bh._$fL) * a9;\n var bt = aY._$fL + (aW._$fL - aY._$fL) * a9;\n var br = a7._$fL + (a5._$fL - a7._$fL) * a9;\n var bq = aR._$fL + (aQ._$fL - aR._$fL) * a9;\n bm._$Yr._$fL = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n bC = aT._$gL + (aS._$gL - aT._$gL) * a9;\n bB = bE._$gL + (bD._$gL - bE._$gL) * a9;\n bz = aN._$gL + (aM._$gL - aN._$gL) * a9;\n by = bp._$gL + (bo._$gL - bp._$gL) * a9;\n bv = bh._$gL + (bg._$gL - bh._$gL) * a9;\n bt = aY._$gL + (aW._$gL - aY._$gL) * a9;\n br = a7._$gL + (a5._$gL - a7._$gL) * a9;\n bq = aR._$gL + (aQ._$gL - aR._$gL) * a9;\n bm._$Yr._$gL = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n bC = aT._$B0 + (aS._$B0 - aT._$B0) * a9;\n bB = bE._$B0 + (bD._$B0 - bE._$B0) * a9;\n bz = aN._$B0 + (aM._$B0 - aN._$B0) * a9;\n by = bp._$B0 + (bo._$B0 - bp._$B0) * a9;\n bv = bh._$B0 + (bg._$B0 - bh._$B0) * a9;\n bt = aY._$B0 + (aW._$B0 - aY._$B0) * a9;\n br = a7._$B0 + (a5._$B0 - a7._$B0) * a9;\n bq = aR._$B0 + (aQ._$B0 - aR._$B0) * a9;\n bm._$Yr._$B0 = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n bC = aT._$z0 + (aS._$z0 - aT._$z0) * a9;\n bB = bE._$z0 + (bD._$z0 - bE._$z0) * a9;\n bz = aN._$z0 + (aM._$z0 - aN._$z0) * a9;\n by = bp._$z0 + (bo._$z0 - bp._$z0) * a9;\n bv = bh._$z0 + (bg._$z0 - bh._$z0) * a9;\n bt = aY._$z0 + (aW._$z0 - aY._$z0) * a9;\n br = a7._$z0 + (a5._$z0 - a7._$z0) * a9;\n bq = aR._$z0 + (aQ._$z0 - aR._$z0) * a9;\n bm._$Yr._$z0 = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n bC = aT._$qT + (aS._$qT - aT._$qT) * a9;\n bB = bE._$qT + (bD._$qT - bE._$qT) * a9;\n bz = aN._$qT + (aM._$qT - aN._$qT) * a9;\n by = bp._$qT + (bo._$qT - bp._$qT) * a9;\n bv = bh._$qT + (bg._$qT - bh._$qT) * a9;\n bt = aY._$qT + (aW._$qT - aY._$qT) * a9;\n br = a7._$qT + (a5._$qT - a7._$qT) * a9;\n bq = aR._$qT + (aQ._$qT - aR._$qT) * a9;\n bm._$Yr._$qT = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n } else {\n var aV = Math.pow(2, a2) | 0;\n var aZ = new Float32Array(aV);\n for (var bk = 0; bk < aV; bk++) {\n var aI = bk;\n var aH = 1;\n for (var aL = 0; aL < a2; aL++) {\n aH *= (aI % 2 == 0) ? (1 - ba[aL]) : ba[aL];\n aI /= 2;\n }\n aZ[bk] = aH;\n }\n var bA = new Array();\n for (var aU = 0; aU < aV; aU++) {\n bA[aU] = this._$Y0[a3[aU]];\n }\n var be = 0\n , bc = 0\n , bd = 0\n , bb = 0\n , aX = 0;\n for (var aU = 0; aU < aV; aU++) {\n be += aZ[aU] * bA[aU]._$fL;\n bc += aZ[aU] * bA[aU]._$gL;\n bd += aZ[aU] * bA[aU]._$B0;\n bb += aZ[aU] * bA[aU]._$z0;\n aX += aZ[aU] * bA[aU]._$qT;\n }\n bm._$Yr._$fL = be;\n bm._$Yr._$gL = bc;\n bm._$Yr._$B0 = bd;\n bm._$Yr._$z0 = bb;\n bm._$Yr._$qT = aX;\n }\n }\n }\n }\n }\n var bn = this._$Y0[a3[0]];\n bm._$Yr.reflectX = bn.reflectX;\n bm._$Yr.reflectY = bn.reflectY;\n}\n;\nab.prototype._$2b = function(aM, aH) {\n if (!((this == aH._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var aR = aH;\n aR._$hS(true);\n if (!this._$32()) {\n aR.setTotalScale_notForClient(aR._$Yr._$B0);\n aR.setTotalOpacity(aR.getInterpolatedOpacity());\n } else {\n var aT = this.getTargetBaseDataID();\n if (aR._$8r == c._$ur) {\n aR._$8r = aM.getBaseDataIndex(aT);\n }\n if (aR._$8r < 0) {\n if (Q._$so) {\n q._$li(\"_$L _$0P _$G :: %s\", aT);\n }\n aR._$hS(false);\n } else {\n var aI = aM.getBaseData(aR._$8r);\n if (aI != null) {\n var aL = aM._$q2(aR._$8r);\n var aS = ab._$Xo;\n aS[0] = aR._$Yr._$fL;\n aS[1] = aR._$Yr._$gL;\n var aJ = ab._$io;\n aJ[0] = 0;\n aJ[1] = -0.1;\n var aO = aL._$GT().getType();\n if (aO == c._$c2) {\n aJ[1] = -10;\n } else {\n aJ[1] = -0.1;\n }\n var aQ = ab._$0o;\n this._$Jr(aM, aI, aL, aS, aJ, aQ);\n var aP = aC._$92(aJ, aQ);\n aI._$nb(aM, aL, aS, aS, 1, 0, 2);\n aR._$Wr._$fL = aS[0];\n aR._$Wr._$gL = aS[1];\n aR._$Wr._$B0 = aR._$Yr._$B0;\n aR._$Wr._$z0 = aR._$Yr._$z0;\n aR._$Wr._$qT = aR._$Yr._$qT - aP * aC._$NS;\n var aK = aL.getTotalScale();\n aR.setTotalScale_notForClient(aK * aR._$Wr._$B0);\n var aN = aL.getTotalOpacity();\n aR.setTotalOpacity(aN * aR.getInterpolatedOpacity());\n aR._$Wr.reflectX = aR._$Yr.reflectX;\n aR._$Wr.reflectY = aR._$Yr.reflectY;\n aR._$hS(aL._$yo());\n } else {\n aR._$hS(false);\n }\n }\n }\n}\n;\nab.prototype._$nb = function(aJ, aR, aL, a4, aT, aO, a2) {\n if (!((this == aR._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var aH = aR;\n var aU = aH._$Wr != null ? aH._$Wr : aH._$Yr;\n var a0 = Math.sin(aC._$bS * aU._$qT);\n var aP = Math.cos(aC._$bS * aU._$qT);\n var a3 = aH.getTotalScale();\n var aW = aU.reflectX ? -1 : 1;\n var aV = aU.reflectY ? -1 : 1;\n var aS = aP * a3 * aW;\n var aQ = -a0 * a3 * aV;\n var a1 = a0 * a3 * aW;\n var aZ = aP * a3 * aV;\n var aY = aU._$fL;\n var aX = aU._$gL;\n var aN, aM;\n var aI = aT * a2;\n for (var aK = aO; aK < aI; aK += a2) {\n aN = aL[aK];\n aM = aL[aK + 1];\n a4[aK] = aS * aN + aQ * aM + aY;\n a4[aK + 1] = a1 * aN + aZ * aM + aX;\n }\n}\n;\nab.prototype._$Jr = function(aP, aK, aI, aR, aQ, aH) {\n if (!((aK == aI._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var aO = ab._$Lo;\n ab._$Lo[0] = aR[0];\n ab._$Lo[1] = aR[1];\n aK._$nb(aP, aI, aO, aO, 1, 0, 2);\n var aL = ab._$To;\n var aS = ab._$Po;\n var aN = 10;\n var aJ = 1;\n for (var aM = 0; aM < aN; aM++) {\n aS[0] = aR[0] + aJ * aQ[0];\n aS[1] = aR[1] + aJ * aQ[1];\n aK._$nb(aP, aI, aS, aL, 1, 0, 2);\n aL[0] -= aO[0];\n aL[1] -= aO[1];\n if (aL[0] != 0 || aL[1] != 0) {\n aH[0] = aL[0];\n aH[1] = aL[1];\n return;\n }\n aS[0] = aR[0] - aJ * aQ[0];\n aS[1] = aR[1] - aJ * aQ[1];\n aK._$nb(aP, aI, aS, aL, 1, 0, 2);\n aL[0] -= aO[0];\n aL[1] -= aO[1];\n if (aL[0] != 0 || aL[1] != 0) {\n aL[0] = -aL[0];\n aL[0] = -aL[0];\n aH[0] = aL[0];\n aH[1] = aL[1];\n return;\n }\n aJ *= 0.1;\n }\n if (Q._$so) {\n console.log(\"_$L0 to transform _$SP\\n\");\n }\n}\n;\nfunction al(aH) {\n B.prototype.constructor.call(this, aH);\n this._$8r = c._$ur;\n this._$Yr = null;\n this._$Wr = null;\n}\nal.prototype = new B();\nfunction a() {\n if (j) {\n return;\n }\n ae.prototype.constructor.call(this);\n this._$gP = null;\n this._$dr = null;\n this._$GS = null;\n this._$qb = null;\n this._$Lb = null;\n this._$mS = null;\n}\na.prototype = new ae();\na._$ur = -2;\na._$ES = 500;\na._$wb = 2;\na._$8S = 3;\na._$os = 4;\na._$52 = a._$ES;\na._$R2 = a._$ES;\na._$Sb = function(aJ) {\n for (var aI = aJ.length - 1; aI >= 0; --aI) {\n var aH = aJ[aI];\n if (aH < a._$52) {\n a._$52 = aH;\n } else {\n if (aH > a._$R2) {\n a._$R2 = aH;\n }\n }\n }\n}\n;\na._$or = function() {\n return a._$52;\n}\n;\na._$Pr = function() {\n return a._$R2;\n}\n;\na.prototype._$F0 = function(aH) {\n this._$gP = aH._$nP();\n this._$dr = aH._$nP();\n this._$GS = aH._$nP();\n this._$qb = aH._$6L();\n this._$Lb = aH._$cS();\n this._$mS = aH._$Tb();\n if (aH.getFormatVersion() >= ay._$T7) {\n this.clipID = aH._$nP();\n this.clipIDList = this.convertClipIDForV2_11(this.clipID);\n } else {\n this.clipIDList = null;\n }\n a._$Sb(this._$Lb);\n}\n;\na.prototype.getClipIDList = function() {\n return this.clipIDList;\n}\n;\na.prototype._$Nr = function(aI, aH) {\n aH._$IS[0] = false;\n aH._$Us = aG._$Z2(aI, this._$GS, aH._$IS, this._$Lb);\n if (Q._$Zs) {} else {\n if (aH._$IS[0]) {\n return;\n }\n }\n aH._$7s = aG._$br(aI, this._$GS, aH._$IS, this._$mS);\n}\n;\na.prototype._$2b = function(aH) {}\n;\na.prototype.getDrawDataID = function() {\n return this._$gP;\n}\n;\na.prototype._$j2 = function(aH) {\n this._$gP = aH;\n}\n;\na.prototype.getOpacity = function(aH, aI) {\n return aI._$7s;\n}\n;\na.prototype._$zS = function(aH, aI) {\n return aI._$Us;\n}\n;\na.prototype.getTargetBaseDataID = function() {\n return this._$dr;\n}\n;\na.prototype._$gs = function(aH) {\n this._$dr = aH;\n}\n;\na.prototype._$32 = function() {\n return (this._$dr != null && (this._$dr != n._$2o()));\n}\n;\na.prototype.getType = function() {}\n;\nfunction aq() {\n if (j) {\n return;\n }\n this._$NL = null;\n this._$3S = null;\n this._$aS = null;\n aq._$42++;\n}\naq._$42 = 0;\naq.prototype._$1b = function() {\n return this._$3S;\n}\n;\naq.prototype.getDrawDataList = function() {\n return this._$aS;\n}\n;\naq.prototype._$F0 = function(aH) {\n this._$NL = aH._$nP();\n this._$aS = aH._$nP();\n this._$3S = aH._$nP();\n}\n;\naq.prototype._$kr = function(aH) {\n aH._$Zo(this._$3S);\n aH._$xo(this._$aS);\n this._$3S = null;\n this._$aS = null;\n}\n;\nfunction v() {\n if (j) {\n return;\n }\n aa.prototype.constructor.call(this);\n this._$zo = new x();\n}\nv.prototype = new aa();\nv.loadModel = function(aI) {\n var aH = new v();\n aa._$62(aH, aI);\n return aH;\n}\n;\nv.loadModel = function(aI) {\n var aH = new v();\n aa._$62(aH, aI);\n return aH;\n}\n;\nv._$to = function() {\n var aH = new v();\n return aH;\n}\n;\nv._$er = function(aM) {\n var aJ = new _$5(\"../_$_r/_$t0/_$Ri/_$_P._$d\");\n if (aJ.exists() == false) {\n throw new _$ls(\"_$t0 _$_ _$6 _$Ui :: \" + aJ._$PL());\n }\n var aH = [\"../_$_r/_$t0/_$Ri/_$_P.512/_$CP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$vP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$EP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$pP._$1\"];\n var aK = v.loadModel(aJ._$3b());\n for (var aI = 0; aI < aH.length; aI++) {\n var aL = new _$5(aH[aI]);\n if (aL.exists() == false) {\n throw new _$ls(\"_$t0 _$_ _$6 _$Ui :: \" + aL._$PL());\n }\n aK.setTexture(aI, _$nL._$_o(aM, aL._$3b()));\n }\n return aK;\n}\n;\nv.prototype.setGL = function(aH) {\n this._$zo.setGL(aH);\n}\n;\nv.prototype.setTransform = function(aH) {\n this._$zo.setTransform(aH);\n}\n;\nv.prototype.draw = function() {\n this._$5S.draw(this._$zo);\n}\n;\nv.prototype._$K2 = function() {\n this._$zo._$K2();\n}\n;\nv.prototype.setTexture = function(aI, aH) {\n if (this._$zo == null) {\n q._$li(\"_$Yi for QT _$ki / _$XS() is _$6 _$ui!!\");\n }\n this._$zo.setTexture(aI, aH);\n}\n;\nv.prototype.setTexture = function(aI, aH) {\n if (this._$zo == null) {\n q._$li(\"_$Yi for QT _$ki / _$XS() is _$6 _$ui!!\");\n }\n this._$zo.setTexture(aI, aH);\n}\n;\nv.prototype._$Rs = function() {\n return this._$zo._$Rs();\n}\n;\nv.prototype._$Ds = function(aH) {\n this._$zo._$Ds(aH);\n}\n;\nv.prototype.getDrawParam = function() {\n return this._$zo;\n}\n;\nfunction ao() {\n if (j) {\n return;\n }\n ah.prototype.constructor.call(this);\n this.motions = new Array();\n this._$o2 = null;\n this._$7r = ao._$Co++;\n this._$D0 = 30;\n this._$yT = 0;\n this._$E = false;\n this.loopFadeIn = true;\n this._$rr = -1;\n this._$eP = 0;\n}\nao.prototype = new ah();\nao._$cs = \"VISIBLE:\";\nao._$ar = \"LAYOUT:\";\nao.MTN_PREFIX_FADEIN = \"FADEIN:\";\nao.MTN_PREFIX_FADEOUT = \"FADEOUT:\";\nao._$Co = 0;\nao._$1T = 1;\nao.loadMotion = function(aJ) {\n var aI = ap._$C(aJ);\n var aH = ao.loadMotion(aI);\n return aH;\n}\n;\nfunction p(aI, aH) {\n return String.fromCharCode(aI.getUint8(aH));\n}\nao.loadMotion = function(aT) {\n if (aT instanceof ArrayBuffer) {\n aT = new DataView(aT);\n }\n var aN = new ao();\n var aI = [0];\n var aQ = aT.byteLength;\n aN._$yT = 0;\n for (var aJ = 0; aJ < aQ; ++aJ) {\n var aS = p(aT, aJ);\n var aL = aS.charCodeAt(0);\n if (aS == \"\\n\" || aS == \"\\r\") {\n continue;\n }\n if (aS == \"#\") {\n for (; aJ < aQ; ++aJ) {\n if (p(aT, aJ) == \"\\n\" || p(aT, aJ) == \"\\r\") {\n break;\n }\n }\n continue;\n }\n if (aS == \"$\") {\n var aV = aJ;\n var aK = -1;\n for (; aJ < aQ; ++aJ) {\n aS = p(aT, aJ);\n if (aS == \"\\r\" || aS == \"\\n\") {\n break;\n }\n if (aS == \"=\") {\n aK = aJ;\n break;\n }\n }\n var aP = false;\n if (aK >= 0) {\n if (aK == aV + 4 && p(aT, aV + 1) == \"f\" && p(aT, aV + 2) == \"p\" && p(aT, aV + 3) == \"s\") {\n aP = true;\n }\n for (aJ = aK + 1; aJ < aQ; ++aJ) {\n aS = p(aT, aJ);\n if (aS == \"\\r\" || aS == \"\\n\") {\n break;\n }\n if (aS == \",\" || aS == \" \" || aS == \"\\t\") {\n continue;\n }\n var aM = G._$LS(aT, aQ, aJ, aI);\n if (aI[0] > 0) {\n if (aP && 5 < aM && aM < 121) {\n aN._$D0 = aM;\n }\n }\n aJ = aI[0];\n }\n }\n for (; aJ < aQ; ++aJ) {\n if (p(aT, aJ) == \"\\n\" || p(aT, aJ) == \"\\r\") {\n break;\n }\n }\n continue;\n }\n if ((97 <= aL && aL <= 122) || (65 <= aL && aL <= 90) || aS == \"_\") {\n var aV = aJ;\n var aK = -1;\n for (; aJ < aQ; ++aJ) {\n aS = p(aT, aJ);\n if (aS == \"\\r\" || aS == \"\\n\") {\n break;\n }\n if (aS == \"=\") {\n aK = aJ;\n break;\n }\n }\n if (aK >= 0) {\n var aO = new t();\n if (G.startsWith(aT, aV, ao._$cs)) {\n aO._$RP = t._$hs;\n aO._$4P = G.createString(aT, aV, aK - aV);\n } else {\n if (G.startsWith(aT, aV, ao._$ar)) {\n aO._$4P = G.createString(aT, aV + 7, aK - aV - 7);\n if (G.startsWith(aT, aV + 7, \"ANCHOR_X\")) {\n aO._$RP = t._$xs;\n } else {\n if (G.startsWith(aT, aV + 7, \"ANCHOR_Y\")) {\n aO._$RP = t._$us;\n } else {\n if (G.startsWith(aT, aV + 7, \"SCALE_X\")) {\n aO._$RP = t._$qs;\n } else {\n if (G.startsWith(aT, aV + 7, \"SCALE_Y\")) {\n aO._$RP = t._$Ys;\n } else {\n if (G.startsWith(aT, aV + 7, \"X\")) {\n aO._$RP = t._$ws;\n } else {\n if (G.startsWith(aT, aV + 7, \"Y\")) {\n aO._$RP = t._$Ns;\n }\n }\n }\n }\n }\n }\n } else {\n aO._$RP = t._$Fr;\n aO._$4P = G.createString(aT, aV, aK - aV);\n }\n }\n aN.motions.push(aO);\n var aU = 0;\n var aR = [];\n for (aJ = aK + 1; aJ < aQ; ++aJ) {\n aS = p(aT, aJ);\n if (aS == \"\\r\" || aS == \"\\n\") {\n break;\n }\n if (aS == \",\" || aS == \" \" || aS == \"\\t\") {\n continue;\n }\n var aM = G._$LS(aT, aQ, aJ, aI);\n if (aI[0] > 0) {\n aR.push(aM);\n aU++;\n var aH = aI[0];\n if (aH < aJ) {\n console.log(\"_$n0 _$hi . @Live2DMotion loadMotion()\\n\");\n break;\n }\n aJ = aH - 1;\n }\n }\n aO._$I0 = new Float32Array(aR);\n if (aU > aN._$yT) {\n aN._$yT = aU;\n }\n }\n }\n }\n aN._$rr = ((1000 * aN._$yT) / aN._$D0) | 0;\n return aN;\n}\n;\nao.prototype.getDurationMSec = function() {\n return this._$E ? -1 : this._$rr;\n}\n;\nao.prototype.getLoopDurationMSec = function() {\n return this._$rr;\n}\n;\nao.prototype.dump = function() {\n for (var aJ = 0; aJ < this.motions.length; aJ++) {\n var aH = this.motions[aJ];\n console.log(\"_$wL[%s] [%d]. \", aH._$4P, aH._$I0.length);\n for (var aI = 0; aI < aH._$I0.length && aI < 10; aI++) {\n console.log(\"%5.2f ,\", aH._$I0[aI]);\n }\n console.log(\"\\n\");\n }\n}\n;\nao.prototype.updateParamExe = function(aJ, aN, aQ, a3) {\n var aO = aN - a3._$z2;\n var a0 = aO * this._$D0 / 1000;\n var aK = a0 | 0;\n var aR = a0 - aK;\n for (var aZ = 0; aZ < this.motions.length; aZ++) {\n var aV = this.motions[aZ];\n var aL = aV._$I0.length;\n var aT = aV._$4P;\n if (aV._$RP == t._$hs) {\n var aX = aV._$I0[(aK >= aL ? aL - 1 : aK)];\n aJ.setParamFloat(aT, aX);\n } else {\n if (t._$ws <= aV._$RP && aV._$RP <= t._$Ys) {} else {\n var aH = aJ.getParamIndex(aT);\n var a4 = aJ.getModelContext();\n var aY = a4.getParamMax(aH);\n var aW = a4.getParamMin(aH);\n var aM = 0.4;\n var aS = aM * (aY - aW);\n var aU = a4.getParamFloat(aH);\n var a2 = aV._$I0[(aK >= aL ? aL - 1 : aK)];\n var a1 = aV._$I0[(aK + 1 >= aL ? aL - 1 : aK + 1)];\n var aI;\n if ((a2 < a1 && a1 - a2 > aS) || (a2 > a1 && a2 - a1 > aS)) {\n aI = a2;\n } else {\n aI = a2 + (a1 - a2) * aR;\n }\n var aP = aU + (aI - aU) * aQ;\n aJ.setParamFloat(aT, aP);\n }\n }\n }\n if (aK >= this._$yT) {\n if (this._$E) {\n a3._$z2 = aN;\n if (this.loopFadeIn) {\n a3._$bs = aN;\n }\n } else {\n a3._$9L = true;\n }\n }\n this._$eP = aQ;\n}\n;\nao.prototype._$r0 = function() {\n return this._$E;\n}\n;\nao.prototype._$aL = function(aH) {\n this._$E = aH;\n}\n;\nao.prototype._$S0 = function() {\n return this._$D0;\n}\n;\nao.prototype._$U0 = function(aH) {\n this._$D0 = aH;\n}\n;\nao.prototype.isLoopFadeIn = function() {\n return this.loopFadeIn;\n}\n;\nao.prototype.setLoopFadeIn = function(aH) {\n this.loopFadeIn = aH;\n}\n;\nfunction aE() {\n this._$P = new Float32Array(100);\n this.size = 0;\n}\naE.prototype.clear = function() {\n this.size = 0;\n}\n;\naE.prototype.add = function(aI) {\n if (this._$P.length <= this.size) {\n var aH = new Float32Array(this.size * 2);\n P._$jT(this._$P, 0, aH, 0, this.size);\n this._$P = aH;\n }\n this._$P[this.size++] = aI;\n}\n;\naE.prototype._$BL = function() {\n var aH = new Float32Array(this.size);\n P._$jT(this._$P, 0, aH, 0, this.size);\n return aH;\n}\n;\nfunction t() {\n this._$4P = null;\n this._$I0 = null;\n this._$RP = null;\n}\nt._$Fr = 0;\nt._$hs = 1;\nt._$ws = 100;\nt._$Ns = 101;\nt._$xs = 102;\nt._$us = 103;\nt._$qs = 104;\nt._$Ys = 105;\nfunction E() {\n if (j) {\n return;\n }\n c.prototype.constructor.call(this);\n this._$o = 0;\n this._$A = 0;\n this._$GS = null;\n this._$Eo = null;\n}\nE.prototype = new c();\nE._$gT = new Array();\nE.prototype._$zP = function() {\n this._$GS = new g();\n this._$GS._$zP();\n}\n;\nE.prototype._$F0 = function(aH) {\n c.prototype._$F0.call(this, aH);\n this._$A = aH._$6L();\n this._$o = aH._$6L();\n this._$GS = aH._$nP();\n this._$Eo = aH._$nP();\n c.prototype.readV2_opacity.call(this, aH);\n}\n;\nE.prototype.init = function(aH) {\n var aI = new H(this);\n var aJ = (this._$o + 1) * (this._$A + 1);\n if (aI._$Cr != null) {\n aI._$Cr = null;\n }\n aI._$Cr = new Float32Array(aJ * 2);\n if (aI._$hr != null) {\n aI._$hr = null;\n }\n if (this._$32()) {\n aI._$hr = new Float32Array(aJ * 2);\n } else {\n aI._$hr = null;\n }\n return aI;\n}\n;\nE.prototype._$Nr = function(aJ, aI) {\n var aK = aI;\n if (!this._$GS._$Ur(aJ)) {\n return;\n }\n var aL = this._$VT();\n var aH = E._$gT;\n aH[0] = false;\n aG._$Vr(aJ, this._$GS, aH, aL, this._$Eo, aK._$Cr, 0, 2);\n aI._$Ib(aH[0]);\n this.interpolateOpacity(aJ, this._$GS, aI, aH);\n}\n;\nE.prototype._$2b = function(aK, aJ) {\n var aL = aJ;\n aL._$hS(true);\n if (!this._$32()) {\n aL.setTotalOpacity(aL.getInterpolatedOpacity());\n } else {\n var aH = this.getTargetBaseDataID();\n if (aL._$8r == c._$ur) {\n aL._$8r = aK.getBaseDataIndex(aH);\n }\n if (aL._$8r < 0) {\n if (Q._$so) {\n q._$li(\"_$L _$0P _$G :: %s\", aH);\n }\n aL._$hS(false);\n } else {\n var aN = aK.getBaseData(aL._$8r);\n var aI = aK._$q2(aL._$8r);\n if (aN != null && aI._$yo()) {\n var aM = aI.getTotalScale();\n aL.setTotalScale_notForClient(aM);\n var aO = aI.getTotalOpacity();\n aL.setTotalOpacity(aO * aL.getInterpolatedOpacity());\n aN._$nb(aK, aI, aL._$Cr, aL._$hr, this._$VT(), 0, 2);\n aL._$hS(true);\n } else {\n aL._$hS(false);\n }\n }\n }\n}\n;\nE.prototype._$nb = function(aL, aI, aH, aM, aO, aK, aJ) {\n if (true) {\n var aN = aI;\n var aP = (aN._$hr != null) ? aN._$hr : aN._$Cr;\n E.transformPoints_sdk2(aH, aM, aO, aK, aJ, aP, this._$o, this._$A);\n } else {\n this.transformPoints_sdk1(aL, aI, aH, aM, aO, aK, aJ);\n }\n}\n;\nE.transformPoints_sdk2 = function(a0, bc, a5, aP, aI, aR, aQ, aU) {\n var aW = a5 * aI;\n var aV;\n var bn, bm;\n var aT = 0;\n var aS = 0;\n var bl = 0;\n var bk = 0;\n var bf = 0;\n var be = 0;\n var aZ = false;\n for (var ba = aP; ba < aW; ba += aI) {\n var bd, a7, a4, aX;\n a4 = a0[ba];\n aX = a0[ba + 1];\n bd = a4 * aQ;\n a7 = aX * aU;\n if (bd < 0 || a7 < 0 || aQ <= bd || aU <= a7) {\n var a1 = aQ + 1;\n if (!aZ) {\n aZ = true;\n aT = 0.25 * (aR[((0) + (0) * a1) * 2] + aR[((aQ) + (0) * a1) * 2] + aR[((0) + (aU) * a1) * 2] + aR[((aQ) + (aU) * a1) * 2]);\n aS = 0.25 * (aR[((0) + (0) * a1) * 2 + 1] + aR[((aQ) + (0) * a1) * 2 + 1] + aR[((0) + (aU) * a1) * 2 + 1] + aR[((aQ) + (aU) * a1) * 2 + 1]);\n var aM = aR[((aQ) + (aU) * a1) * 2] - aR[((0) + (0) * a1) * 2];\n var aL = aR[((aQ) + (aU) * a1) * 2 + 1] - aR[((0) + (0) * a1) * 2 + 1];\n var bh = aR[((aQ) + (0) * a1) * 2] - aR[((0) + (aU) * a1) * 2];\n var bg = aR[((aQ) + (0) * a1) * 2 + 1] - aR[((0) + (aU) * a1) * 2 + 1];\n bl = (aM + bh) * 0.5;\n bk = (aL + bg) * 0.5;\n bf = (aM - bh) * 0.5;\n be = (aL - bg) * 0.5;\n if (bl == 0 && bk == 0) {}\n if (bf == 0 && be == 0) {}\n aT -= 0.5 * (bl + bf);\n aS -= 0.5 * (bk + be);\n }\n if ((-2 < a4 && a4 < 3) && (-2 < aX && aX < 3)) {\n if (a4 <= 0) {\n if (aX <= 0) {\n var a3 = aR[((0) + (0) * a1) * 2];\n var a2 = aR[((0) + (0) * a1) * 2 + 1];\n var a8 = aT - 2 * bl;\n var a6 = aS - 2 * bk;\n var aK = aT - 2 * bf;\n var aJ = aS - 2 * be;\n var aO = aT - 2 * bl - 2 * bf;\n var aN = aS - 2 * bk - 2 * be;\n var bj = 0.5 * (a4 - (-2));\n var bi = 0.5 * (aX - (-2));\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n if (aX >= 1) {\n var aK = aR[((0) + (aU) * a1) * 2];\n var aJ = aR[((0) + (aU) * a1) * 2 + 1];\n var aO = aT - 2 * bl + 1 * bf;\n var aN = aS - 2 * bk + 1 * be;\n var a3 = aT + 3 * bf;\n var a2 = aS + 3 * be;\n var a8 = aT - 2 * bl + 3 * bf;\n var a6 = aS - 2 * bk + 3 * be;\n var bj = 0.5 * (a4 - (-2));\n var bi = 0.5 * (aX - (1));\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n var aH = (a7 | 0);\n if (aH == aU) {\n aH = aU - 1;\n }\n var bj = 0.5 * (a4 - (-2));\n var bi = a7 - aH;\n var bb = aH / aU;\n var a9 = (aH + 1) / aU;\n var aK = aR[((0) + (aH) * a1) * 2];\n var aJ = aR[((0) + (aH) * a1) * 2 + 1];\n var a3 = aR[((0) + (aH + 1) * a1) * 2];\n var a2 = aR[((0) + (aH + 1) * a1) * 2 + 1];\n var aO = aT - 2 * bl + bb * bf;\n var aN = aS - 2 * bk + bb * be;\n var a8 = aT - 2 * bl + a9 * bf;\n var a6 = aS - 2 * bk + a9 * be;\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n }\n }\n } else {\n if (1 <= a4) {\n if (aX <= 0) {\n var a8 = aR[((aQ) + (0) * a1) * 2];\n var a6 = aR[((aQ) + (0) * a1) * 2 + 1];\n var a3 = aT + 3 * bl;\n var a2 = aS + 3 * bk;\n var aO = aT + 1 * bl - 2 * bf;\n var aN = aS + 1 * bk - 2 * be;\n var aK = aT + 3 * bl - 2 * bf;\n var aJ = aS + 3 * bk - 2 * be;\n var bj = 0.5 * (a4 - (1));\n var bi = 0.5 * (aX - (-2));\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n if (aX >= 1) {\n var aO = aR[((aQ) + (aU) * a1) * 2];\n var aN = aR[((aQ) + (aU) * a1) * 2 + 1];\n var aK = aT + 3 * bl + 1 * bf;\n var aJ = aS + 3 * bk + 1 * be;\n var a8 = aT + 1 * bl + 3 * bf;\n var a6 = aS + 1 * bk + 3 * be;\n var a3 = aT + 3 * bl + 3 * bf;\n var a2 = aS + 3 * bk + 3 * be;\n var bj = 0.5 * (a4 - (1));\n var bi = 0.5 * (aX - (1));\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n var aH = (a7 | 0);\n if (aH == aU) {\n aH = aU - 1;\n }\n var bj = 0.5 * (a4 - (1));\n var bi = a7 - aH;\n var bb = aH / aU;\n var a9 = (aH + 1) / aU;\n var aO = aR[((aQ) + (aH) * a1) * 2];\n var aN = aR[((aQ) + (aH) * a1) * 2 + 1];\n var a8 = aR[((aQ) + (aH + 1) * a1) * 2];\n var a6 = aR[((aQ) + (aH + 1) * a1) * 2 + 1];\n var aK = aT + 3 * bl + bb * bf;\n var aJ = aS + 3 * bk + bb * be;\n var a3 = aT + 3 * bl + a9 * bf;\n var a2 = aS + 3 * bk + a9 * be;\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n }\n }\n } else {\n if (aX <= 0) {\n var aY = (bd | 0);\n if (aY == aQ) {\n aY = aQ - 1;\n }\n var bj = bd - aY;\n var bi = 0.5 * (aX - (-2));\n var bp = aY / aQ;\n var bo = (aY + 1) / aQ;\n var a8 = aR[((aY) + (0) * a1) * 2];\n var a6 = aR[((aY) + (0) * a1) * 2 + 1];\n var a3 = aR[((aY + 1) + (0) * a1) * 2];\n var a2 = aR[((aY + 1) + (0) * a1) * 2 + 1];\n var aO = aT + bp * bl - 2 * bf;\n var aN = aS + bp * bk - 2 * be;\n var aK = aT + bo * bl - 2 * bf;\n var aJ = aS + bo * bk - 2 * be;\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n if (aX >= 1) {\n var aY = (bd | 0);\n if (aY == aQ) {\n aY = aQ - 1;\n }\n var bj = bd - aY;\n var bi = 0.5 * (aX - (1));\n var bp = aY / aQ;\n var bo = (aY + 1) / aQ;\n var aO = aR[((aY) + (aU) * a1) * 2];\n var aN = aR[((aY) + (aU) * a1) * 2 + 1];\n var aK = aR[((aY + 1) + (aU) * a1) * 2];\n var aJ = aR[((aY + 1) + (aU) * a1) * 2 + 1];\n var a8 = aT + bp * bl + 3 * bf;\n var a6 = aS + bp * bk + 3 * be;\n var a3 = aT + bo * bl + 3 * bf;\n var a2 = aS + bo * bk + 3 * be;\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n System.err.printf(\"_$li calc : %.4f , %.4f @@BDBoxGrid\\n\", a4, aX);\n }\n }\n }\n }\n } else {\n bc[ba] = aT + a4 * bl + aX * bf;\n bc[ba + 1] = aS + a4 * bk + aX * be;\n }\n } else {\n bn = bd - (bd | 0);\n bm = a7 - (a7 | 0);\n aV = 2 * ((bd | 0) + ((a7 | 0)) * (aQ + 1));\n if (bn + bm < 1) {\n bc[ba] = aR[aV] * (1 - bn - bm) + aR[aV + 2] * bn + aR[aV + 2 * (aQ + 1)] * bm;\n bc[ba + 1] = aR[aV + 1] * (1 - bn - bm) + aR[aV + 3] * bn + aR[aV + 2 * (aQ + 1) + 1] * bm;\n } else {\n bc[ba] = aR[aV + 2 * (aQ + 1) + 2] * (bn - 1 + bm) + aR[aV + 2 * (aQ + 1)] * (1 - bn) + aR[aV + 2] * (1 - bm);\n bc[ba + 1] = aR[aV + 2 * (aQ + 1) + 3] * (bn - 1 + bm) + aR[aV + 2 * (aQ + 1) + 1] * (1 - bn) + aR[aV + 3] * (1 - bm);\n }\n }\n }\n}\n;\nE.prototype.transformPoints_sdk1 = function(aJ, aR, aL, a0, aU, aP, aZ) {\n var aH = aR;\n var aO, aN;\n var aM = this._$o;\n var aQ = this._$A;\n var aI = aU * aZ;\n var aS, aY;\n var aV;\n var aX, aW;\n var aT = (aH._$hr != null) ? aH._$hr : aH._$Cr;\n for (var aK = aP; aK < aI; aK += aZ) {\n if (Q._$ts) {\n aO = aL[aK];\n aN = aL[aK + 1];\n if (aO < 0) {\n aO = 0;\n } else {\n if (aO > 1) {\n aO = 1;\n }\n }\n if (aN < 0) {\n aN = 0;\n } else {\n if (aN > 1) {\n aN = 1;\n }\n }\n aO *= aM;\n aN *= aQ;\n aS = (aO | 0);\n aY = (aN | 0);\n if (aS > aM - 1) {\n aS = aM - 1;\n }\n if (aY > aQ - 1) {\n aY = aQ - 1;\n }\n aX = aO - aS;\n aW = aN - aY;\n aV = 2 * (aS + aY * (aM + 1));\n } else {\n aO = aL[aK] * aM;\n aN = aL[aK + 1] * aQ;\n aX = aO - (aO | 0);\n aW = aN - (aN | 0);\n aV = 2 * ((aO | 0) + (aN | 0) * (aM + 1));\n }\n if (aX + aW < 1) {\n a0[aK] = aT[aV] * (1 - aX - aW) + aT[aV + 2] * aX + aT[aV + 2 * (aM + 1)] * aW;\n a0[aK + 1] = aT[aV + 1] * (1 - aX - aW) + aT[aV + 3] * aX + aT[aV + 2 * (aM + 1) + 1] * aW;\n } else {\n a0[aK] = aT[aV + 2 * (aM + 1) + 2] * (aX - 1 + aW) + aT[aV + 2 * (aM + 1)] * (1 - aX) + aT[aV + 2] * (1 - aW);\n a0[aK + 1] = aT[aV + 2 * (aM + 1) + 3] * (aX - 1 + aW) + aT[aV + 2 * (aM + 1) + 1] * (1 - aX) + aT[aV + 3] * (1 - aW);\n }\n }\n}\n;\nE.prototype._$VT = function() {\n return (this._$o + 1) * (this._$A + 1);\n}\n;\nE.prototype.getType = function() {\n return c._$_b;\n}\n;\nfunction H(aH) {\n B.prototype.constructor.call(this, aH);\n this._$8r = c._$ur;\n this._$Cr = null;\n this._$hr = null;\n}\nH.prototype = new B();\nfunction s() {\n if (j) {\n return;\n }\n this.visible = true;\n this._$g0 = false;\n this._$NL = null;\n this._$3S = null;\n this._$aS = null;\n s._$42++;\n}\ns._$42 = 0;\ns.prototype._$zP = function() {\n this._$3S = new Array();\n this._$aS = new Array();\n}\n;\ns.prototype._$F0 = function(aH) {\n this._$g0 = aH._$8L();\n this.visible = aH._$8L();\n this._$NL = aH._$nP();\n this._$3S = aH._$nP();\n this._$aS = aH._$nP();\n}\n;\ns.prototype.init = function(aI) {\n var aH = new aj(this);\n aH.setPartsOpacity(this.isVisible() ? 1 : 0);\n return aH;\n}\n;\ns.prototype._$6o = function(aH) {\n if (this._$3S == null) {\n throw new Error(\"_$3S _$6 _$Wo@_$6o\");\n }\n this._$3S.push(aH);\n}\n;\ns.prototype._$3o = function(aH) {\n if (this._$aS == null) {\n throw new Error(\"_$aS _$6 _$Wo@_$3o\");\n }\n this._$aS.push(aH);\n}\n;\ns.prototype._$Zo = function(aH) {\n this._$3S = aH;\n}\n;\ns.prototype._$xo = function(aH) {\n this._$aS = aH;\n}\n;\ns.prototype.isVisible = function() {\n return this.visible;\n}\n;\ns.prototype._$uL = function() {\n return this._$g0;\n}\n;\ns.prototype._$KP = function(aH) {\n this.visible = aH;\n}\n;\ns.prototype._$ET = function(aH) {\n this._$g0 = aH;\n}\n;\ns.prototype.getBaseData = function() {\n return this._$3S;\n}\n;\ns.prototype.getDrawData = function() {\n return this._$aS;\n}\n;\ns.prototype._$p2 = function() {\n return this._$NL;\n}\n;\ns.prototype._$ob = function(aH) {\n this._$NL = aH;\n}\n;\ns.prototype.getPartsID = function() {\n return this._$NL;\n}\n;\ns.prototype._$MP = function(aH) {\n this._$NL = aH;\n}\n;\nfunction aj(aH) {\n this._$VS = null;\n this._$e0 = null;\n this._$e0 = aH;\n}\naj.prototype = new S();\naj.prototype.getPartsOpacity = function() {\n return this._$VS;\n}\n;\naj.prototype.setPartsOpacity = function(aH) {\n this._$VS = aH;\n}\n;\nfunction ak(aH) {\n if (j) {\n return;\n }\n this.id = aH;\n}\nak._$L7 = function() {\n z._$27();\n n._$27();\n Z._$27();\n i._$27();\n}\n;\nak.prototype.toString = function() {\n return this.id;\n}\n;\nfunction D() {}\nD.prototype._$F0 = function(aH) {}\n;\nfunction an() {\n if (j) {\n return;\n }\n this._$4S = null;\n}\nan.prototype._$1s = function() {\n return this._$4S;\n}\n;\nan.prototype._$zP = function() {\n this._$4S = new Array();\n}\n;\nan.prototype._$F0 = function(aH) {\n this._$4S = aH._$nP();\n}\n;\nan.prototype._$Ks = function(aH) {\n this._$4S.push(aH);\n}\n;\nfunction au(aH, aI) {\n this.canvas = aH;\n this.context = aI;\n this.viewport = new Array(0,0,aH.width,aH.height);\n this._$6r = 1;\n this._$xP = 0;\n this._$3r = 1;\n this._$uP = 0;\n this._$Qo = -1;\n this.cacheImages = {};\n}\nau.tr = new am();\nau._$50 = new am();\nau._$Ti = new Array(0,0);\nau._$Pi = new Array(0,0);\nau._$B = new Array(0,0);\nau.prototype._$lP = function(aI, aK, aJ, aH) {\n this.viewport = new Array(aI,aK,aJ,aH);\n}\n;\nau.prototype._$bL = function() {\n this.context.save();\n var aH = this.viewport;\n if (aH != null) {\n this.context.beginPath();\n this.context._$Li(aH[0], aH[1], aH[2], aH[3]);\n this.context.clip();\n }\n}\n;\nau.prototype._$ei = function() {\n this.context.restore();\n}\n;\nau.prototype.drawElements = function(bc, bm, aX, aJ, bA, aM, bl, bz) {\n try {\n if (bA != this._$Qo) {\n this._$Qo = bA;\n this.context.globalAlpha = bA;\n }\n var a2 = bm.length;\n var aP = bc.width;\n var a5 = bc.height;\n var bE = this.context;\n var a7 = this._$xP;\n var a6 = this._$uP;\n var a1 = this._$6r;\n var aZ = this._$3r;\n var bD = au.tr;\n var aI = au._$Ti;\n var aH = au._$Pi;\n var bu = au._$B;\n for (var by = 0; by < a2; by += 3) {\n bE.save();\n var aW = bm[by];\n var aV = bm[by + 1];\n var aT = bm[by + 2];\n var aL = a7 + a1 * aX[aW * 2];\n var aK = a6 + aZ * aX[aW * 2 + 1];\n var br = a7 + a1 * aX[aV * 2];\n var bp = a6 + aZ * aX[aV * 2 + 1];\n var bh = a7 + a1 * aX[aT * 2];\n var bf = a6 + aZ * aX[aT * 2 + 1];\n if (bl) {\n bl._$PS(aL, aK, bu);\n aL = bu[0];\n aK = bu[1];\n bl._$PS(br, bp, bu);\n br = bu[0];\n bp = bu[1];\n bl._$PS(bh, bf, bu);\n bh = bu[0];\n bf = bu[1];\n }\n var aS = aP * aJ[aW * 2];\n var aQ = a5 - a5 * aJ[aW * 2 + 1];\n var bx = aP * aJ[aV * 2];\n var bw = a5 - a5 * aJ[aV * 2 + 1];\n var bk = aP * aJ[aT * 2];\n var bj = a5 - a5 * aJ[aT * 2 + 1];\n var a3 = Math.atan2(bw - aQ, bx - aS);\n var a0 = Math.atan2(bp - aK, br - aL);\n var aO = br - aL;\n var aN = bp - aK;\n var bi = Math.sqrt(aO * aO + aN * aN);\n var aU = bx - aS;\n var aR = bw - aQ;\n var bt = Math.sqrt(aU * aU + aR * aR);\n var bv = bi / bt;\n ad._$ni(bk, bj, aS, aQ, (bx - aS), (bw - aQ), -(bw - aQ), (bx - aS), aI);\n ad._$ni(bh, bf, aL, aK, (br - aL), (bp - aK), -(bp - aK), (br - aL), aH);\n var aY = (aH[0] - aI[0]) / aI[1];\n var bs = Math.min(aS, bx, bk);\n var bg = Math.max(aS, bx, bk);\n var bq = Math.min(aQ, bw, bj);\n var be = Math.max(aQ, bw, bj);\n var bo = Math.floor(bs);\n var bb = Math.floor(bq);\n var a4 = Math.ceil(bg);\n var bC = Math.ceil(be);\n bD.identity();\n bD.translate(aL, aK);\n bD.rotate(a0);\n bD.scale(1, aH[1] / aI[1]);\n bD.shear(aY, 0);\n bD.scale(bv, bv);\n bD.rotate(-a3);\n bD.translate(-aS, -aQ);\n bD.setContext(bE);\n var a8 = true;\n var a9 = 1.2;\n if (!aM) {\n aM = a8 ? a9 : 0;\n }\n if (Q.IGNORE_EXPAND) {\n aM = 0;\n }\n if (Q.USE_CACHED_POLYGON_IMAGE) {\n var bd = bz._$e0;\n bd.gl_cacheImage = bd.gl_cacheImage || {};\n if (!bd.gl_cacheImage[by]) {\n var bn = au.createCanvas(a4 - bo, bC - bb);\n Q.DEBUG_DATA.LDGL_CANVAS_MB = Q.DEBUG_DATA.LDGL_CANVAS_MB || 0;\n Q.DEBUG_DATA.LDGL_CANVAS_MB += (a4 - bo) * (bC - bb) * 4;\n var ba = bn.getContext(\"2d\");\n ba.translate(-bo, -bb);\n au.clip(ba, bD, aM, bi, aS, aQ, bx, bw, bk, bj, aL, aK, br, bp, bh, bf);\n ba.drawImage(bc, 0, 0);\n bd.gl_cacheImage[by] = {\n cacheCanvas: bn,\n cacheContext: ba\n };\n }\n bE.drawImage(bd.gl_cacheImage[by][\"cacheCanvas\"], bo, bb);\n } else {\n if (!Q.IGNORE_CLIP) {\n au.clip(bE, bD, aM, bi, aS, aQ, bx, bw, bk, bj, aL, aK, br, bp, bh, bf);\n }\n if (Q.USE_ADJUST_TRANSLATION) {\n bs = 0;\n bg = aP;\n bq = 0;\n be = a5;\n }\n bE.drawImage(bc, bs, bq, bg - bs, be - bq, bs, bq, bg - bs, be - bq);\n }\n bE.restore();\n }\n } catch (bB) {\n q._$Rb(bB);\n }\n}\n;\nau.clip = function(aK, aJ, aV, aI, aM, aL, aU, aT, aQ, aP, aO, aN, aH, aW, aS, aR) {\n if (aV > 0.02) {\n au.expandClip(aK, aJ, aV, aI, aO, aN, aH, aW, aS, aR);\n } else {\n au.clipWithTransform(aK, null, aM, aL, aU, aT, aQ, aP);\n }\n}\n;\nau.expandClip = function(aV, bg, aK, a3, aJ, aI, be, ba, aZ, aX) {\n var aP = be - aJ;\n var aO = ba - aI;\n var bi = aZ - aJ;\n var bh = aX - aI;\n var bj = aP * bh - aO * bi > 0 ? aK : -aK;\n var aL = -aO;\n var aH = aP;\n var bc = aZ - be;\n var a8 = aX - ba;\n var a7 = -a8;\n var a6 = bc;\n var aQ = Math.sqrt(bc * bc + a8 * a8);\n var bf = -bh;\n var bb = bi;\n var a2 = Math.sqrt(bi * bi + bh * bh);\n var bd = aJ - bj * aL / a3;\n var a9 = aI - bj * aH / a3;\n var aY = be - bj * aL / a3;\n var aW = ba - bj * aH / a3;\n var a5 = be - bj * a7 / aQ;\n var a4 = ba - bj * a6 / aQ;\n var aS = aZ - bj * a7 / aQ;\n var aR = aX - bj * a6 / aQ;\n var aN = aJ + bj * bf / a2;\n var aM = aI + bj * bb / a2;\n var a1 = aZ + bj * bf / a2;\n var a0 = aX + bj * bb / a2;\n var aU = au._$50;\n var aT = bg._$P2(aU);\n if (aT == null) {\n return false;\n }\n au.clipWithTransform(aV, aU, bd, a9, aY, aW, a5, a4, aS, aR, a1, a0, aN, aM);\n return true;\n}\n;\nau.clipWithTransform = function(aH, aI, aS, aN, aQ, aK, aP, aJ) {\n if (arguments.length < (1 + 3 * 2)) {\n q._$li(\"err : @LDGL.clip()\");\n return;\n }\n if (!(arguments[1]instanceof am)) {\n q._$li(\"err : a[0] is _$6 LDTransform @LDGL.clip()\");\n return;\n }\n var aM = au._$B;\n var aO = aI;\n var aR = arguments;\n aH.beginPath();\n if (aO) {\n aO._$PS(aR[2], aR[3], aM);\n aH.moveTo(aM[0], aM[1]);\n for (var aL = 4; aL < aR.length; aL += 2) {\n aO._$PS(aR[aL], aR[aL + 1], aM);\n aH.lineTo(aM[0], aM[1]);\n }\n } else {\n aH.moveTo(aR[2], aR[3]);\n for (var aL = 4; aL < aR.length; aL += 2) {\n aH.lineTo(aR[aL], aR[aL + 1]);\n }\n }\n aH.clip();\n}\n;\nau.createCanvas = function(aH, aJ) {\n var aI = document.createElement(\"canvas\");\n aI.setAttribute(\"width\", aH);\n aI.setAttribute(\"height\", aJ);\n if (!aI) {\n q._$li(\"err : \" + aI);\n }\n return aI;\n}\n;\nau.dumpValues = function() {\n var aI = \"\";\n for (var aH = 0; aH < arguments.length; aH++) {\n aI += \"[\" + aH + \"]= \" + arguments[aH].toFixed(3) + \" , \";\n }\n console.log(aI);\n}\n;\nfunction f() {\n if (j) {\n return;\n }\n this._$TT = null;\n this._$LT = null;\n this._$FS = null;\n this._$wL = null;\n}\nf.prototype._$F0 = function(aH) {\n this._$TT = aH._$_T();\n this._$LT = aH._$_T();\n this._$FS = aH._$_T();\n this._$wL = aH._$nP();\n}\n;\nf.prototype.getMinValue = function() {\n return this._$TT;\n}\n;\nf.prototype.getMaxValue = function() {\n return this._$LT;\n}\n;\nf.prototype.getDefaultValue = function() {\n return this._$FS;\n}\n;\nf.prototype.getParamID = function() {\n return this._$wL;\n}\n;\nfunction B(aH) {\n if (j) {\n return;\n }\n this._$e0 = null;\n this._$IP = null;\n this._$JS = false;\n this._$AT = true;\n this._$e0 = aH;\n this.totalScale = 1;\n this._$7s = 1;\n this.totalOpacity = 1;\n}\nB.prototype._$yo = function() {\n return this._$AT && !this._$JS;\n}\n;\nB.prototype._$hS = function(aH) {\n this._$AT = aH;\n}\n;\nB.prototype._$GT = function() {\n return this._$e0;\n}\n;\nB.prototype._$l2 = function(aH) {\n this._$IP = aH;\n}\n;\nB.prototype.getPartsIndex = function() {\n return this._$IP;\n}\n;\nB.prototype._$x2 = function() {\n return this._$JS;\n}\n;\nB.prototype._$Ib = function(aH) {\n this._$JS = aH;\n}\n;\nB.prototype.getTotalScale = function() {\n return this.totalScale;\n}\n;\nB.prototype.setTotalScale_notForClient = function(aH) {\n this.totalScale = aH;\n}\n;\nB.prototype.getInterpolatedOpacity = function() {\n return this._$7s;\n}\n;\nB.prototype.setInterpolatedOpacity = function(aH) {\n this._$7s = aH;\n}\n;\nB.prototype.getTotalOpacity = function(aH) {\n return this.totalOpacity;\n}\n;\nB.prototype.setTotalOpacity = function(aH) {\n this.totalOpacity = aH;\n}\n;\nfunction Q() {}\nQ._$2s = \"2.1.00_1\";\nQ._$Kr = 201001000;\nQ._$sP = true;\nQ._$so = true;\nQ._$cb = false;\nQ._$3T = true;\nQ._$Ts = true;\nQ._$fb = true;\nQ._$ts = true;\nQ.L2D_DEFORMER_EXTEND = true;\nQ._$Wb = false;\nQ._$yr = false;\nQ._$Zs = false;\nQ.L2D_NO_ERROR = 0;\nQ._$i7 = 1000;\nQ._$9s = 1001;\nQ._$es = 1100;\nQ._$r7 = 2000;\nQ._$07 = 2001;\nQ._$b7 = 2002;\nQ._$H7 = 4000;\nQ.L2D_COLOR_BLEND_MODE_MULT = 0;\nQ.L2D_COLOR_BLEND_MODE_ADD = 1;\nQ.L2D_COLOR_BLEND_MODE_INTERPOLATE = 2;\nQ._$6b = true;\nQ._$cT = 0;\nQ.clippingMaskBufferSize = 256;\nQ.glContext = new Array();\nQ.frameBuffers = new Array();\nQ.fTexture = new Array();\nQ.IGNORE_CLIP = false;\nQ.IGNORE_EXPAND = false;\nQ.EXPAND_W = 2;\nQ.USE_ADJUST_TRANSLATION = true;\nQ.USE_CANVAS_TRANSFORM = true;\nQ.USE_CACHED_POLYGON_IMAGE = false;\nQ.DEBUG_DATA = {};\nQ.PROFILE_IOS_SPEED = {\n PROFILE_NAME: \"iOS Speed\",\n USE_ADJUST_TRANSLATION: true,\n USE_CACHED_POLYGON_IMAGE: true,\n EXPAND_W: 4\n};\nQ.PROFILE_IOS_QUALITY = {\n PROFILE_NAME: \"iOS HiQ\",\n USE_ADJUST_TRANSLATION: true,\n USE_CACHED_POLYGON_IMAGE: false,\n EXPAND_W: 2\n};\nQ.PROFILE_IOS_DEFAULT = Q.PROFILE_IOS_QUALITY;\nQ.PROFILE_ANDROID = {\n PROFILE_NAME: \"Android\",\n USE_ADJUST_TRANSLATION: false,\n USE_CACHED_POLYGON_IMAGE: false,\n EXPAND_W: 2\n};\nQ.PROFILE_DESKTOP = {\n PROFILE_NAME: \"Desktop\",\n USE_ADJUST_TRANSLATION: false,\n USE_CACHED_POLYGON_IMAGE: false,\n EXPAND_W: 2\n};\nQ.initProfile = function() {\n if (r.isIOS()) {\n Q.setupProfile(Q.PROFILE_IOS_DEFAULT);\n } else {\n if (r.isAndroid()) {\n Q.setupProfile(Q.PROFILE_ANDROID);\n } else {\n Q.setupProfile(Q.PROFILE_DESKTOP);\n }\n }\n}\n;\nQ.setupProfile = function(aI, aJ) {\n if (typeof aI == \"number\") {\n switch (aI) {\n case 9901:\n aI = Q.PROFILE_IOS_SPEED;\n break;\n case 9902:\n aI = Q.PROFILE_IOS_QUALITY;\n break;\n case 9903:\n aI = Q.PROFILE_IOS_DEFAULT;\n break;\n case 9904:\n aI = Q.PROFILE_ANDROID;\n break;\n case 9905:\n aI = Q.PROFILE_DESKTOP;\n break;\n default:\n alert(\"profile _$6 _$Ui : \" + aI);\n break;\n }\n }\n if (arguments.length < 2) {\n aJ = true;\n }\n if (aJ) {\n console.log(\"profile : \" + aI.PROFILE_NAME);\n }\n for (var aH in aI) {\n Q[aH] = aI[aH];\n if (aJ) {\n console.log(\" [\" + aH + \"] = \" + aI[aH]);\n }\n }\n}\n;\nQ.init = function() {\n if (Q._$6b) {\n console.log(\"Live2D %s\", Q._$2s);\n Q._$6b = false;\n var aH = false;\n aH = true;\n Q.initProfile();\n }\n}\n;\nQ.getVersionStr = function() {\n return Q._$2s;\n}\n;\nQ.getVersionNo = function() {\n return Q._$Kr;\n}\n;\nQ._$sT = function(aH) {\n Q._$cT = aH;\n}\n;\nQ.getError = function() {\n var aH = Q._$cT;\n Q._$cT = 0;\n return aH;\n}\n;\nQ.dispose = function() {\n Q.glContext = [];\n Q.frameBuffers = [];\n Q.fTexture = [];\n}\n;\nQ.setGL = function(aJ, aI) {\n var aH = aI || 0;\n Q.glContext[aH] = aJ;\n}\n;\nQ.getGL = function(aH) {\n return Q.glContext[aH];\n}\n;\nQ.setClippingMaskBufferSize = function(aH) {\n Q.clippingMaskBufferSize = aH;\n}\n;\nQ.getClippingMaskBufferSize = function() {\n return Q.clippingMaskBufferSize;\n}\n;\nQ.deleteBuffer = function(aI) {\n var aH = Q.getGL(aI);\n aH.deleteFramebuffer(Q.frameBuffers[aI].framebuffer);\n delete Q.frameBuffers[aI];\n delete Q.glContext[aI];\n}\n;\nfunction A() {}\nA._$r2 = function(aH) {\n if (aH < 0) {\n return 0;\n } else {\n if (aH > 1) {\n return 1;\n }\n }\n return (0.5 - 0.5 * Math.cos(aH * aC.PI_F));\n}\n;\nfunction J(aH) {\n if (j) {\n return;\n }\n this._$ib = aH;\n}\nJ._$fr = -1;\nJ.prototype.toString = function() {\n return this._$ib;\n}\n;\nfunction b() {\n if (j) {\n return;\n }\n a.prototype.constructor.call(this);\n this._$LP = -1;\n this._$d0 = 0;\n this._$Yo = 0;\n this._$JP = null;\n this._$5P = null;\n this._$BP = null;\n this._$Eo = null;\n this._$Qi = null;\n this._$6s = b._$ms;\n this.culling = true;\n this.gl_cacheImage = null;\n this.instanceNo = b._$42++;\n}\nb.prototype = new a();\nb._$42 = 0;\nb._$Os = 30;\nb._$ms = 0;\nb._$ns = 1;\nb._$_s = 2;\nb._$gT = new Array();\nb.prototype._$_S = function(aH) {\n this._$LP = aH;\n}\n;\nb.prototype.getTextureNo = function() {\n return this._$LP;\n}\n;\nb.prototype._$ZL = function() {\n return this._$Qi;\n}\n;\nb.prototype._$H2 = function() {\n return this._$JP;\n}\n;\nb.prototype.getNumPoints = function() {\n return this._$d0;\n}\n;\nb.prototype.getType = function() {\n return a._$wb;\n}\n;\nb.prototype._$B2 = function(aL, aH, aO) {\n var aM = aH;\n var aN = (aM._$hr != null) ? aM._$hr : aM._$Cr;\n var aK = aw._$do;\n switch (aK) {\n default:\n case aw._$Ms:\n throw new Error(\"_$L _$ro \");\n case aw._$Qs:\n for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) {\n var aI = aJ * aw._$No;\n aN[aI + 4] = aO;\n }\n break;\n }\n}\n;\nb.prototype._$zP = function() {\n this._$GS = new g();\n this._$GS._$zP();\n}\n;\nb.prototype._$F0 = function(aK) {\n a.prototype._$F0.call(this, aK);\n this._$LP = aK._$6L();\n this._$d0 = aK._$6L();\n this._$Yo = aK._$6L();\n var aH = aK._$nP();\n this._$BP = new Int16Array(this._$Yo * 3);\n for (var aJ = this._$Yo * 3 - 1; aJ >= 0; --aJ) {\n this._$BP[aJ] = aH[aJ];\n }\n this._$Eo = aK._$nP();\n this._$Qi = aK._$nP();\n if (aK.getFormatVersion() >= ay._$s7) {\n this._$JP = aK._$6L();\n if (this._$JP != 0) {\n if ((this._$JP & 1) != 0) {\n var aI = aK._$6L();\n if (this._$5P == null) {\n this._$5P = new Object();\n }\n this._$5P._$Hb = parseInt(aI);\n }\n if ((this._$JP & b._$Os) != 0) {\n this._$6s = (this._$JP & b._$Os) >> 1;\n } else {\n this._$6s = b._$ms;\n }\n if ((this._$JP & 32) != 0) {\n this.culling = false;\n }\n }\n } else {\n this._$JP = 0;\n }\n}\n;\nb.prototype.init = function(aL) {\n var aN = new ag(this);\n var aI = this._$d0 * aw._$No;\n var aH = this._$32();\n if (aN._$Cr != null) {\n aN._$Cr = null;\n }\n aN._$Cr = new Float32Array(aI);\n if (aN._$hr != null) {\n aN._$hr = null;\n }\n aN._$hr = aH ? new Float32Array(aI) : null;\n var aM = aw._$do;\n switch (aM) {\n default:\n case aw._$Ms:\n if (aw._$Ls) {\n for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) {\n var aO = aJ << 1;\n this._$Qi[aO + 1] = 1 - this._$Qi[aO + 1];\n }\n }\n break;\n case aw._$Qs:\n for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) {\n var aO = aJ << 1;\n var aK = aJ * aw._$No;\n var aQ = this._$Qi[aO];\n var aP = this._$Qi[aO + 1];\n aN._$Cr[aK] = aQ;\n aN._$Cr[aK + 1] = aP;\n aN._$Cr[aK + 4] = 0;\n if (aH) {\n aN._$hr[aK] = aQ;\n aN._$hr[aK + 1] = aP;\n aN._$hr[aK + 4] = 0;\n }\n }\n break;\n }\n return aN;\n}\n;\nb.prototype._$Nr = function(aJ, aH) {\n var aK = aH;\n if (!((this == aK._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n if (!this._$GS._$Ur(aJ)) {\n return;\n }\n a.prototype._$Nr.call(this, aJ, aK);\n if (aK._$IS[0]) {\n return;\n }\n var aI = b._$gT;\n aI[0] = false;\n aG._$Vr(aJ, this._$GS, aI, this._$d0, this._$Eo, aK._$Cr, aw._$i2, aw._$No);\n}\n;\nb.prototype._$2b = function(aK, aI) {\n try {\n if (!((this == aI._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var aL = false;\n if (aI._$IS[0]) {\n aL = true;\n }\n var aM = aI;\n if (!aL) {\n a.prototype._$2b.call(this, aK);\n if (this._$32()) {\n var aH = this.getTargetBaseDataID();\n if (aM._$8r == a._$ur) {\n aM._$8r = aK.getBaseDataIndex(aH);\n }\n if (aM._$8r < 0) {\n if (Q._$so) {\n q._$li(\"_$L _$0P _$G :: %s\", aH);\n }\n } else {\n var aO = aK.getBaseData(aM._$8r);\n var aJ = aK._$q2(aM._$8r);\n if (aO != null && !aJ._$x2()) {\n aO._$nb(aK, aJ, aM._$Cr, aM._$hr, this._$d0, aw._$i2, aw._$No);\n aM._$AT = true;\n } else {\n aM._$AT = false;\n }\n aM.baseOpacity = aJ.getTotalOpacity();\n }\n }\n }\n } catch (aN) {\n throw aN;\n }\n}\n;\nb.prototype.draw = function(aN, aK, aI) {\n if (!((this == aI._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n if (aI._$IS[0]) {\n return;\n }\n var aL = aI;\n var aJ = this._$LP;\n if (aJ < 0) {\n aJ = 1;\n }\n var aH = this.getOpacity(aK, aL) * aI._$VS * aI.baseOpacity;\n var aM = (aL._$hr != null) ? aL._$hr : aL._$Cr;\n aN.setClipBufPre_clipContextForDraw(aI.clipBufPre_clipContext);\n aN._$WP(this.culling);\n aN._$Uo(aJ, 3 * this._$Yo, this._$BP, aM, this._$Qi, aH, this._$6s, aL);\n}\n;\nb.prototype.dump = function() {\n console.log(\" _$yi( %d ) , _$d0( %d ) , _$Yo( %d ) \\n\", this._$LP, this._$d0, this._$Yo);\n console.log(\" _$Oi _$di = { \");\n for (var aJ = 0; aJ < this._$BP.length; aJ++) {\n console.log(\"%5d ,\", this._$BP[aJ]);\n }\n console.log(\"\\n _$5i _$30\");\n for (var aJ = 0; aJ < this._$Eo.length; aJ++) {\n console.log(\"\\n _$30[%d] = \", aJ);\n var aH = this._$Eo[aJ];\n for (var aI = 0; aI < aH.length; aI++) {\n console.log(\"%6.2f, \", aH[aI]);\n }\n }\n console.log(\"\\n\");\n}\n;\nb.prototype._$72 = function(aH) {\n if (this._$5P == null) {\n return null;\n }\n return this._$5P[aH];\n}\n;\nb.prototype.getIndexArray = function() {\n return this._$BP;\n}\n;\nfunction ag(aH) {\n aB.prototype.constructor.call(this, aH);\n this._$8r = a._$ur;\n this._$Cr = null;\n this._$hr = null;\n}\nag.prototype = new aB();\nag.prototype.getTransformedPoints = function() {\n return (this._$hr != null) ? this._$hr : this._$Cr;\n}\n;\nfunction k() {\n if (j) {\n return;\n }\n this.x = null;\n this.y = null;\n}\nk.prototype._$HT = function(aH) {\n this.x = aH.x;\n this.y = aH.y;\n}\n;\nk.prototype._$HT = function(aH, aI) {\n this.x = aH;\n this.y = aI;\n}\n;\nfunction l(aH) {\n if (j) {\n return;\n }\n aa.prototype.constructor.call(this);\n this.drawParamWebGL = new C(aH);\n this.drawParamWebGL.setGL(Q.getGL(aH));\n}\nl.prototype = new aa();\nl.loadModel = function(aI) {\n var aH = new l();\n aa._$62(aH, aI);\n return aH;\n}\n;\nl.loadModel = function(aI, aK) {\n var aJ = aK || 0;\n var aH = new l(aJ);\n aa._$62(aH, aI);\n return aH;\n}\n;\nl._$to = function() {\n var aH = new l();\n return aH;\n}\n;\nl._$er = function(aM) {\n var aJ = new _$5(\"../_$_r/_$t0/_$Ri/_$_P._$d\");\n if (aJ.exists() == false) {\n throw new _$ls(\"_$t0 _$_ _$6 _$Ui :: \" + aJ._$PL());\n }\n var aH = [\"../_$_r/_$t0/_$Ri/_$_P.512/_$CP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$vP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$EP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$pP._$1\"];\n var aK = l.loadModel(aJ._$3b());\n for (var aI = 0; aI < aH.length; aI++) {\n var aL = new _$5(aH[aI]);\n if (aL.exists() == false) {\n throw new _$ls(\"_$t0 _$_ _$6 _$Ui :: \" + aL._$PL());\n }\n aK.setTexture(aI, _$nL._$_o(aM, aL._$3b()));\n }\n return aK;\n}\n;\nl.prototype.setGL = function(aH) {\n Q.setGL(aH);\n}\n;\nl.prototype.setTransform = function(aH) {\n this.drawParamWebGL.setTransform(aH);\n}\n;\nl.prototype.update = function() {\n this._$5S.update();\n this._$5S.preDraw(this.drawParamWebGL);\n}\n;\nl.prototype.draw = function() {\n this._$5S.draw(this.drawParamWebGL);\n}\n;\nl.prototype._$K2 = function() {\n this.drawParamWebGL._$K2();\n}\n;\nl.prototype.setTexture = function(aI, aH) {\n if (this.drawParamWebGL == null) {\n q._$li(\"_$Yi for QT _$ki / _$XS() is _$6 _$ui!!\");\n }\n this.drawParamWebGL.setTexture(aI, aH);\n}\n;\nl.prototype.setTexture = function(aI, aH) {\n if (this.drawParamWebGL == null) {\n q._$li(\"_$Yi for QT _$ki / _$XS() is _$6 _$ui!!\");\n }\n this.drawParamWebGL.setTexture(aI, aH);\n}\n;\nl.prototype._$Rs = function() {\n return this.drawParamWebGL._$Rs();\n}\n;\nl.prototype._$Ds = function(aH) {\n this.drawParamWebGL._$Ds(aH);\n}\n;\nl.prototype.getDrawParam = function() {\n return this.drawParamWebGL;\n}\n;\nl.prototype.setMatrix = function(aH) {\n this.drawParamWebGL.setMatrix(aH);\n}\n;\nl.prototype.setPremultipliedAlpha = function(aH) {\n this.drawParamWebGL.setPremultipliedAlpha(aH);\n}\n;\nl.prototype.isPremultipliedAlpha = function() {\n return this.drawParamWebGL.isPremultipliedAlpha();\n}\n;\nl.prototype.setAnisotropy = function(aH) {\n this.drawParamWebGL.setAnisotropy(aH);\n}\n;\nl.prototype.getAnisotropy = function() {\n return this.drawParamWebGL.getAnisotropy();\n}\n;\nfunction V() {\n if (j) {\n return;\n }\n this.motions = null;\n this._$eb = false;\n this.motions = new Array();\n}\nV.prototype._$tb = function() {\n return this.motions;\n}\n;\nV.prototype.startMotion = function(aJ, aI) {\n var aM = null;\n var aL = null;\n var aH = this.motions.length;\n for (var aK = 0; aK < aH; ++aK) {\n aL = this.motions[aK];\n if (aL == null) {\n continue;\n }\n aL._$qS(aL._$w0.getFadeOut());\n if (this._$eb) {\n q._$Ji(\"MotionQueueManager[size:%2d]->startMotion() / start _$K _$3 (m%d)\\n\", aH, aL._$sr);\n }\n }\n if (aJ == null) {\n return -1;\n }\n aL = new M();\n aL._$w0 = aJ;\n this.motions.push(aL);\n var aN = aL._$sr;\n if (this._$eb) {\n q._$Ji(\"MotionQueueManager[size:%2d]->startMotion() / new _$w0 (m%d)\\n\", aH, aN);\n }\n return aN;\n}\n;\nV.prototype.updateParam = function(aJ) {\n try {\n var aI = false;\n for (var aK = 0; aK < this.motions.length; aK++) {\n var aL = this.motions[aK];\n if (aL == null) {\n this.motions.splice(aK, 1);\n aK--;\n continue;\n }\n var aH = aL._$w0;\n if (aH == null) {\n this.motions = this.motions.splice(aK, 1);\n aK--;\n continue;\n }\n aH.updateParam(aJ, aL);\n aI = true;\n if (aL.isFinished()) {\n if (this._$eb) {\n q._$Ji(\"MotionQueueManager[size:%2d]->updateParam() / _$T0 _$w0 (m%d)\\n\", this.motions.length - 1, aL._$sr);\n }\n this.motions.splice(aK, 1);\n aK--;\n } else {}\n }\n return aI;\n } catch (aM) {\n q._$li(aM);\n return true;\n }\n}\n;\nV.prototype.isFinished = function(aK) {\n if (arguments.length >= 1) {\n for (var aI = 0; aI < this.motions.length; aI++) {\n var aJ = this.motions[aI];\n if (aJ == null) {\n continue;\n }\n if (aJ._$sr == aK && !aJ.isFinished()) {\n return false;\n }\n }\n return true;\n } else {\n for (var aI = 0; aI < this.motions.length; aI++) {\n var aJ = this.motions[aI];\n if (aJ == null) {\n this.motions.splice(aI, 1);\n aI--;\n continue;\n }\n var aH = aJ._$w0;\n if (aH == null) {\n this.motions.splice(aI, 1);\n aI--;\n continue;\n }\n if (!aJ.isFinished()) {\n return false;\n }\n }\n return true;\n }\n}\n;\nV.prototype.stopAllMotions = function() {\n for (var aI = 0; aI < this.motions.length; aI++) {\n var aJ = this.motions[aI];\n if (aJ == null) {\n this.motions.splice(aI, 1);\n aI--;\n continue;\n }\n var aH = aJ._$w0;\n if (aH == null) {\n this.motions.splice(aI, 1);\n aI--;\n continue;\n }\n if (true) {\n this.motions.splice(aI, 1);\n aI--;\n }\n }\n}\n;\nV.prototype._$Zr = function(aH) {\n this._$eb = aH;\n}\n;\nV.prototype._$e = function() {\n console.log(\"-- _$R --\\n\");\n for (var aH = 0; aH < this.motions.length; aH++) {\n var aI = this.motions[aH];\n var aJ = aI._$w0;\n console.log(\"MotionQueueEnt[%d] :: %s\\n\", this.motions.length, aJ.toString());\n }\n}\n;\nfunction M() {\n this._$w0 = null;\n this._$AT = true;\n this._$9L = false;\n this._$z2 = -1;\n this._$bs = -1;\n this._$Do = -1;\n this._$sr = null;\n this._$sr = M._$Gs++;\n}\nM._$Gs = 0;\nM.prototype.isFinished = function() {\n return this._$9L;\n}\n;\nM.prototype._$qS = function(aJ) {\n var aI = P.getUserTimeMSec();\n var aH = aI + aJ;\n if (this._$Do < 0 || aH < this._$Do) {\n this._$Do = aH;\n }\n}\n;\nM.prototype._$Bs = function() {\n return this._$sr;\n}\n;\nfunction am() {\n this.m = new Array(1,0,0,0,1,0,0,0,1);\n}\nam.prototype.setContext = function(aI) {\n var aH = this.m;\n aI.transform(aH[0], aH[1], aH[3], aH[4], aH[6], aH[7]);\n}\n;\nam.prototype.toString = function() {\n var aI = \"LDTransform { \";\n for (var aH = 0; aH < 9; aH++) {\n aI += this.m[aH].toFixed(2) + \" ,\";\n }\n aI += \" }\";\n return aI;\n}\n;\nam.prototype.identity = function() {\n var aH = this.m;\n aH[0] = aH[4] = aH[8] = 1;\n aH[1] = aH[2] = aH[3] = aH[5] = aH[6] = aH[7] = 0;\n}\n;\nam.prototype._$PS = function(aI, aK, aJ) {\n if (aJ == null) {\n aJ = new Array(0,0);\n }\n var aH = this.m;\n aJ[0] = aH[0] * aI + aH[3] * aK + aH[6];\n aJ[1] = aH[1] * aI + aH[4] * aK + aH[7];\n return aJ;\n}\n;\nam.prototype._$P2 = function(aK) {\n if (!aK) {\n aK = new am();\n }\n var aI = this.m;\n var aT = aI[0];\n var aS = aI[1];\n var aR = aI[2];\n var aQ = aI[3];\n var aP = aI[4];\n var aO = aI[5];\n var aN = aI[6];\n var aM = aI[7];\n var aL = aI[8];\n var aJ = aT * aP * aL + aS * aO * aN + aR * aQ * aM - aT * aO * aM - aR * aP * aN - aS * aQ * aL;\n if (aJ == 0) {\n return null;\n } else {\n var aH = 1 / aJ;\n aK.m[0] = aH * (aP * aL - aM * aO);\n aK.m[1] = aH * (aM * aR - aS * aL);\n aK.m[2] = aH * (aS * aO - aP * aR);\n aK.m[3] = aH * (aN * aO - aQ * aL);\n aK.m[4] = aH * (aT * aL - aN * aR);\n aK.m[5] = aH * (aQ * aR - aT * aO);\n aK.m[6] = aH * (aQ * aM - aN * aP);\n aK.m[7] = aH * (aN * aS - aT * aM);\n aK.m[8] = aH * (aT * aP - aQ * aS);\n return aK;\n }\n}\n;\nam.prototype.transform = function(aI, aK, aJ) {\n if (aJ == null) {\n aJ = new Array(0,0);\n }\n var aH = this.m;\n aJ[0] = aH[0] * aI + aH[3] * aK + aH[6];\n aJ[1] = aH[1] * aI + aH[4] * aK + aH[7];\n return aJ;\n}\n;\nam.prototype.translate = function(aI, aJ) {\n var aH = this.m;\n aH[6] = aH[0] * aI + aH[3] * aJ + aH[6];\n aH[7] = aH[1] * aI + aH[4] * aJ + aH[7];\n aH[8] = aH[2] * aI + aH[5] * aJ + aH[8];\n}\n;\nam.prototype.scale = function(aJ, aI) {\n var aH = this.m;\n aH[0] *= aJ;\n aH[1] *= aJ;\n aH[2] *= aJ;\n aH[3] *= aI;\n aH[4] *= aI;\n aH[5] *= aI;\n}\n;\nam.prototype.shear = function(aM, aL) {\n var aH = this.m;\n var aK = aH[0] + aH[3] * aL;\n var aJ = aH[1] + aH[4] * aL;\n var aI = aH[2] + aH[5] * aL;\n aH[3] = aH[0] * aM + aH[3];\n aH[4] = aH[1] * aM + aH[4];\n aH[5] = aH[2] * aM + aH[5];\n aH[0] = aK;\n aH[1] = aJ;\n aH[2] = aI;\n}\n;\nam.prototype.rotate = function(aM) {\n var aH = this.m;\n var aN = Math.cos(aM);\n var aL = Math.sin(aM);\n var aK = aH[0] * aN + aH[3] * aL;\n var aJ = aH[1] * aN + aH[4] * aL;\n var aI = aH[2] * aN + aH[5] * aL;\n aH[3] = -aH[0] * aL + aH[3] * aN;\n aH[4] = -aH[1] * aL + aH[4] * aN;\n aH[5] = -aH[2] * aL + aH[5] * aN;\n aH[0] = aK;\n aH[1] = aJ;\n aH[2] = aI;\n}\n;\nam.prototype.concatenate = function(aL) {\n var aO = this.m;\n var aM = aL.m;\n var aS = aO[0] * aM[0] + aO[3] * aM[1] + aO[6] * aM[2];\n var aR = aO[1] * aM[0] + aO[4] * aM[1] + aO[7] * aM[2];\n var aQ = aO[2] * aM[0] + aO[5] * aM[1] + aO[8] * aM[2];\n var aP = aO[0] * aM[3] + aO[3] * aM[4] + aO[6] * aM[5];\n var aN = aO[1] * aM[3] + aO[4] * aM[4] + aO[7] * aM[5];\n var aK = aO[2] * aM[3] + aO[5] * aM[4] + aO[8] * aM[5];\n var aJ = aO[0] * aM[6] + aO[3] * aM[7] + aO[6] * aM[8];\n var aI = aO[1] * aM[6] + aO[4] * aM[7] + aO[7] * aM[8];\n var aH = aO[2] * aM[6] + aO[5] * aM[7] + aO[8] * aM[8];\n m[0] = aS;\n m[1] = aR;\n m[2] = aQ;\n m[3] = aP;\n m[4] = aN;\n m[5] = aK;\n m[6] = aJ;\n m[7] = aI;\n m[8] = aH;\n}\n;\nfunction n(aH) {\n if (j) {\n return;\n }\n ak.prototype.constructor.call(this, aH);\n}\nn.prototype = new ak();\nn._$eT = null;\nn._$tP = new Object();\nn._$2o = function() {\n if (n._$eT == null) {\n n._$eT = n.getID(\"DST_BASE\");\n }\n return n._$eT;\n}\n;\nn._$27 = function() {\n n._$tP.clear();\n n._$eT = null;\n}\n;\nn.getID = function(aH) {\n var aI = n._$tP[aH];\n if (aI == null) {\n aI = new n(aH);\n n._$tP[aH] = aI;\n }\n return aI;\n}\n;\nn.prototype._$3s = function() {\n return new n();\n}\n;\nfunction C(aH) {\n if (j) {\n return;\n }\n ax.prototype.constructor.call(this);\n this.textures = new Array();\n this.transform = null;\n this.gl = null;\n this.glno = aH;\n this.firstDraw = true;\n this.anisotropyExt = null;\n this.maxAnisotropy = 0;\n this._$As = 32;\n this._$Gr = false;\n this._$NT = null;\n this._$vS = null;\n this._$no = null;\n this.vertShader = null;\n this.fragShader = null;\n this.vertShaderOff = null;\n this.fragShaderOff = null;\n}\nC.prototype = new ax();\nC._$9r = function(aH) {\n var aI = new Float32Array(aH);\n return aI;\n}\n;\nC._$vb = function(aH) {\n var aI = new Int16Array(aH);\n return aI;\n}\n;\nC._$cr = function(aI, aH) {\n if (aI == null || aI._$yL() < aH.length) {\n aI = C._$9r(aH.length * 2);\n aI.put(aH);\n aI._$oT(0);\n } else {\n aI.clear();\n aI.put(aH);\n aI._$oT(0);\n }\n return aI;\n}\n;\nC._$mb = function(aI, aH) {\n if (aI == null || aI._$yL() < aH.length) {\n aI = C._$vb(aH.length * 2);\n aI.put(aH);\n aI._$oT(0);\n } else {\n aI.clear();\n aI.put(aH);\n aI._$oT(0);\n }\n return aI;\n}\n;\nC._$Hs = function() {\n return this._$Gr;\n}\n;\nC._$as = function(aH) {\n this._$Gr = aH;\n}\n;\nC.prototype.getGL = function() {\n return this.gl;\n}\n;\nC.prototype.setGL = function(aH) {\n this.gl = aH;\n}\n;\nC.prototype.setTransform = function(aH) {\n this.transform = aH;\n}\n;\nC.prototype._$ZT = function() {\n var aH = this.gl;\n if (this.firstDraw) {\n this.initShader();\n this.firstDraw = false;\n this.anisotropyExt = aH.getExtension(\"EXT_texture_filter_anisotropic\") || aH.getExtension(\"WEBKIT_EXT_texture_filter_anisotropic\") || aH.getExtension(\"MOZ_EXT_texture_filter_anisotropic\");\n if (this.anisotropyExt) {\n this.maxAnisotropy = aH.getParameter(this.anisotropyExt.MAX_TEXTURE_MAX_ANISOTROPY_EXT);\n }\n }\n aH.disable(aH.SCISSOR_TEST);\n aH.disable(aH.STENCIL_TEST);\n aH.disable(aH.DEPTH_TEST);\n aH.frontFace(aH.CW);\n aH.enable(aH.BLEND);\n aH.colorMask(1, 1, 1, 1);\n aH.bindBuffer(aH.ARRAY_BUFFER, null);\n aH.bindBuffer(aH.ELEMENT_ARRAY_BUFFER, null);\n}\n;\nC.prototype._$Uo = function(aS, aT, aL, aU, aV, aN, aM, aO) {\n if (aN < 0.01 && this.clipBufPre_clipContextMask == null) {\n return;\n }\n var aH = aN > 0.9 ? Q.EXPAND_W : 0;\n var a0 = this.gl;\n if (this.gl == null) {\n throw new Error(\"gl is null\");\n }\n var a1 = false;\n var aQ = 1;\n var aP = 1;\n var a3 = 1;\n var aZ = 1;\n var aW = this._$C0 * aP * aN;\n var a2 = this._$tT * a3 * aN;\n var a5 = this._$WL * aZ * aN;\n var a7 = this._$lT * aN;\n if (this.clipBufPre_clipContextMask != null) {\n a0.frontFace(a0.CCW);\n a0.useProgram(this.shaderProgram);\n this._$vS = T(a0, this._$vS, aU);\n this._$no = L(a0, this._$no, aL);\n a0.enableVertexAttribArray(this.a_position_Loc);\n a0.vertexAttribPointer(this.a_position_Loc, 2, a0.FLOAT, false, 0, 0);\n this._$NT = T(a0, this._$NT, aV);\n a0.activeTexture(a0.TEXTURE1);\n a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]);\n a0.uniform1i(this.s_texture0_Loc, 1);\n a0.enableVertexAttribArray(this.a_texCoord_Loc);\n a0.vertexAttribPointer(this.a_texCoord_Loc, 2, a0.FLOAT, false, 0, 0);\n a0.uniformMatrix4fv(this.u_matrix_Loc, false, this.getClipBufPre_clipContextMask().matrixForMask);\n var aY = this.getClipBufPre_clipContextMask().layoutChannelNo;\n var a4 = this.getChannelFlagAsColor(aY);\n a0.uniform4f(this.u_channelFlag, a4.r, a4.g, a4.b, a4.a);\n var aI = this.getClipBufPre_clipContextMask().layoutBounds;\n a0.uniform4f(this.u_baseColor_Loc, aI.x * 2 - 1, aI.y * 2 - 1, aI._$EL() * 2 - 1, aI._$5T() * 2 - 1);\n a0.uniform1i(this.u_maskFlag_Loc, true);\n } else {\n a1 = this.getClipBufPre_clipContextDraw() != null;\n if (a1) {\n a0.useProgram(this.shaderProgramOff);\n this._$vS = T(a0, this._$vS, aU);\n this._$no = L(a0, this._$no, aL);\n a0.enableVertexAttribArray(this.a_position_Loc_Off);\n a0.vertexAttribPointer(this.a_position_Loc_Off, 2, a0.FLOAT, false, 0, 0);\n this._$NT = T(a0, this._$NT, aV);\n a0.activeTexture(a0.TEXTURE1);\n a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]);\n a0.uniform1i(this.s_texture0_Loc_Off, 1);\n a0.enableVertexAttribArray(this.a_texCoord_Loc_Off);\n a0.vertexAttribPointer(this.a_texCoord_Loc_Off, 2, a0.FLOAT, false, 0, 0);\n a0.uniformMatrix4fv(this.u_clipMatrix_Loc_Off, false, this.getClipBufPre_clipContextDraw().matrixForDraw);\n a0.uniformMatrix4fv(this.u_matrix_Loc_Off, false, this.matrix4x4);\n a0.activeTexture(a0.TEXTURE2);\n a0.bindTexture(a0.TEXTURE_2D, Q.fTexture[this.glno]);\n a0.uniform1i(this.s_texture1_Loc_Off, 2);\n var aY = this.getClipBufPre_clipContextDraw().layoutChannelNo;\n var a4 = this.getChannelFlagAsColor(aY);\n a0.uniform4f(this.u_channelFlag_Loc_Off, a4.r, a4.g, a4.b, a4.a);\n a0.uniform4f(this.u_baseColor_Loc_Off, aW, a2, a5, a7);\n } else {\n a0.useProgram(this.shaderProgram);\n this._$vS = T(a0, this._$vS, aU);\n this._$no = L(a0, this._$no, aL);\n a0.enableVertexAttribArray(this.a_position_Loc);\n a0.vertexAttribPointer(this.a_position_Loc, 2, a0.FLOAT, false, 0, 0);\n this._$NT = T(a0, this._$NT, aV);\n a0.activeTexture(a0.TEXTURE1);\n a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]);\n a0.uniform1i(this.s_texture0_Loc, 1);\n a0.enableVertexAttribArray(this.a_texCoord_Loc);\n a0.vertexAttribPointer(this.a_texCoord_Loc, 2, a0.FLOAT, false, 0, 0);\n a0.uniformMatrix4fv(this.u_matrix_Loc, false, this.matrix4x4);\n a0.uniform4f(this.u_baseColor_Loc, aW, a2, a5, a7);\n a0.uniform1i(this.u_maskFlag_Loc, false);\n }\n }\n if (this.culling) {\n this.gl.enable(a0.CULL_FACE);\n } else {\n this.gl.disable(a0.CULL_FACE);\n }\n this.gl.enable(a0.BLEND);\n var a6;\n var aX;\n var aR;\n var aK;\n if (this.clipBufPre_clipContextMask != null) {\n a6 = a0.ONE;\n aX = a0.ONE_MINUS_SRC_ALPHA;\n aR = a0.ONE;\n aK = a0.ONE_MINUS_SRC_ALPHA;\n } else {\n switch (aM) {\n case b._$ms:\n a6 = a0.ONE;\n aX = a0.ONE_MINUS_SRC_ALPHA;\n aR = a0.ONE;\n aK = a0.ONE_MINUS_SRC_ALPHA;\n break;\n case b._$ns:\n a6 = a0.ONE;\n aX = a0.ONE;\n aR = a0.ZERO;\n aK = a0.ONE;\n break;\n case b._$_s:\n a6 = a0.DST_COLOR;\n aX = a0.ONE_MINUS_SRC_ALPHA;\n aR = a0.ZERO;\n aK = a0.ONE;\n break;\n }\n }\n a0.blendEquationSeparate(a0.FUNC_ADD, a0.FUNC_ADD);\n a0.blendFuncSeparate(a6, aX, aR, aK);\n if (this.anisotropyExt) {\n a0.texParameteri(a0.TEXTURE_2D, this.anisotropyExt.TEXTURE_MAX_ANISOTROPY_EXT, this.maxAnisotropy);\n }\n var aJ = aL.length;\n a0.drawElements(a0.TRIANGLES, aJ, a0.UNSIGNED_SHORT, 0);\n a0.bindTexture(a0.TEXTURE_2D, null);\n}\n;\nfunction T(aJ, aH, aI) {\n if (aH == null) {\n aH = aJ.createBuffer();\n }\n aJ.bindBuffer(aJ.ARRAY_BUFFER, aH);\n aJ.bufferData(aJ.ARRAY_BUFFER, aI, aJ.DYNAMIC_DRAW);\n return aH;\n}\nfunction L(aJ, aH, aI) {\n if (aH == null) {\n aH = aJ.createBuffer();\n }\n aJ.bindBuffer(aJ.ELEMENT_ARRAY_BUFFER, aH);\n aJ.bufferData(aJ.ELEMENT_ARRAY_BUFFER, aI, aJ.DYNAMIC_DRAW);\n return aH;\n}\nC.prototype._$Rs = function() {\n throw new Error(\"_$Rs\");\n}\n;\nC.prototype._$Ds = function(aH) {\n throw new Error(\"_$Ds\");\n}\n;\nC.prototype._$K2 = function() {\n for (var aH = 0; aH < this.textures.length; aH++) {\n var aI = this.textures[aH];\n if (aI != 0) {\n this.gl._$K2(1, this.textures, aH);\n this.textures[aH] = null;\n }\n }\n}\n;\nC.prototype.setTexture = function(aH, aI) {\n this.textures[aH] = aI;\n}\n;\nC.prototype.initShader = function() {\n var aH = this.gl;\n this.loadShaders2();\n this.a_position_Loc = aH.getAttribLocation(this.shaderProgram, \"a_position\");\n this.a_texCoord_Loc = aH.getAttribLocation(this.shaderProgram, \"a_texCoord\");\n this.u_matrix_Loc = aH.getUniformLocation(this.shaderProgram, \"u_mvpMatrix\");\n this.s_texture0_Loc = aH.getUniformLocation(this.shaderProgram, \"s_texture0\");\n this.u_channelFlag = aH.getUniformLocation(this.shaderProgram, \"u_channelFlag\");\n this.u_baseColor_Loc = aH.getUniformLocation(this.shaderProgram, \"u_baseColor\");\n this.u_maskFlag_Loc = aH.getUniformLocation(this.shaderProgram, \"u_maskFlag\");\n this.a_position_Loc_Off = aH.getAttribLocation(this.shaderProgramOff, \"a_position\");\n this.a_texCoord_Loc_Off = aH.getAttribLocation(this.shaderProgramOff, \"a_texCoord\");\n this.u_matrix_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"u_mvpMatrix\");\n this.u_clipMatrix_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"u_ClipMatrix\");\n this.s_texture0_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"s_texture0\");\n this.s_texture1_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"s_texture1\");\n this.u_channelFlag_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"u_channelFlag\");\n this.u_baseColor_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"u_baseColor\");\n}\n;\nC.prototype.disposeShader = function() {\n var aH = this.gl;\n if (this.shaderProgram) {\n aH.deleteProgram(this.shaderProgram);\n this.shaderProgram = null;\n }\n if (this.shaderProgramOff) {\n aH.deleteProgram(this.shaderProgramOff);\n this.shaderProgramOff = null;\n }\n}\n;\nC.prototype.compileShader = function(aJ, aN) {\n var aM = this.gl;\n var aH;\n var aL = aN;\n var aK = aM.createShader(aJ);\n if (aK == null) {\n q._$Ji(\"_$L0 to create shader\");\n return null;\n }\n aM.shaderSource(aK, aL);\n aM.compileShader(aK);\n var aH = aM.getShaderParameter(aK, aM.COMPILE_STATUS);\n if (!aH) {\n var aI = aM.getShaderInfoLog(aK);\n q._$Ji(\"_$L0 to compile shader : \" + aI);\n aM.deleteShader(aK);\n return null;\n }\n return aK;\n}\n;\nC.prototype.loadShaders2 = function() {\n var aN = this.gl;\n this.shaderProgram = aN.createProgram();\n if (!this.shaderProgram) {\n return false;\n }\n this.shaderProgramOff = aN.createProgram();\n if (!this.shaderProgramOff) {\n return false;\n }\n var aK = \"attribute vec4 a_position;attribute vec2 a_texCoord;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform mat4 u_mvpMatrix;void main(){ gl_Position = u_mvpMatrix * a_position; v_ClipPos = u_mvpMatrix * a_position; v_texCoord = a_texCoord;}\";\n var aM = \"precision mediump float;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform sampler2D s_texture0;uniform vec4 u_channelFlag;uniform vec4 u_baseColor;uniform bool u_maskFlag;void main(){ vec4 smpColor; if(u_maskFlag){ float isInside = step(u_baseColor.x, v_ClipPos.x/v_ClipPos.w) * step(u_baseColor.y, v_ClipPos.y/v_ClipPos.w) * step(v_ClipPos.x/v_ClipPos.w, u_baseColor.z) * step(v_ClipPos.y/v_ClipPos.w, u_baseColor.w); smpColor = u_channelFlag * texture2D(s_texture0 , v_texCoord).a * isInside; }else{ smpColor = texture2D(s_texture0 , v_texCoord) * u_baseColor; } gl_FragColor = smpColor;}\";\n var aL = \"attribute vec4 a_position;attribute vec2 a_texCoord;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform mat4 u_mvpMatrix;uniform mat4 u_ClipMatrix;void main(){ gl_Position = u_mvpMatrix * a_position; v_ClipPos = u_ClipMatrix * a_position; v_texCoord = a_texCoord ;}\";\n var aJ = \"precision mediump float ;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform sampler2D s_texture0;uniform sampler2D s_texture1;uniform vec4 u_channelFlag;uniform vec4 u_baseColor ;void main(){ vec4 col_formask = texture2D(s_texture0, v_texCoord) * u_baseColor; vec4 clipMask = texture2D(s_texture1, v_ClipPos.xy / v_ClipPos.w) * u_channelFlag; float maskVal = clipMask.r + clipMask.g + clipMask.b + clipMask.a; col_formask = col_formask * maskVal; gl_FragColor = col_formask;}\";\n this.vertShader = this.compileShader(aN.VERTEX_SHADER, aK);\n if (!this.vertShader) {\n q._$Ji(\"Vertex shader compile _$li!\");\n return false;\n }\n this.vertShaderOff = this.compileShader(aN.VERTEX_SHADER, aL);\n if (!this.vertShaderOff) {\n q._$Ji(\"OffVertex shader compile _$li!\");\n return false;\n }\n this.fragShader = this.compileShader(aN.FRAGMENT_SHADER, aM);\n if (!this.fragShader) {\n q._$Ji(\"Fragment shader compile _$li!\");\n return false;\n }\n this.fragShaderOff = this.compileShader(aN.FRAGMENT_SHADER, aJ);\n if (!this.fragShaderOff) {\n q._$Ji(\"OffFragment shader compile _$li!\");\n return false;\n }\n aN.attachShader(this.shaderProgram, this.vertShader);\n aN.attachShader(this.shaderProgram, this.fragShader);\n aN.attachShader(this.shaderProgramOff, this.vertShaderOff);\n aN.attachShader(this.shaderProgramOff, this.fragShaderOff);\n aN.linkProgram(this.shaderProgram);\n aN.linkProgram(this.shaderProgramOff);\n var aH = aN.getProgramParameter(this.shaderProgram, aN.LINK_STATUS);\n if (!aH) {\n var aI = aN.getProgramInfoLog(this.shaderProgram);\n q._$Ji(\"_$L0 to link program: \" + aI);\n if (this.vertShader) {\n aN.deleteShader(this.vertShader);\n this.vertShader = 0;\n }\n if (this.fragShader) {\n aN.deleteShader(this.fragShader);\n this.fragShader = 0;\n }\n if (this.shaderProgram) {\n aN.deleteProgram(this.shaderProgram);\n this.shaderProgram = 0;\n }\n if (this.vertShaderOff) {\n aN.deleteShader(this.vertShaderOff);\n this.vertShaderOff = 0;\n }\n if (this.fragShaderOff) {\n aN.deleteShader(this.fragShaderOff);\n this.fragShaderOff = 0;\n }\n if (this.shaderProgramOff) {\n aN.deleteProgram(this.shaderProgramOff);\n this.shaderProgramOff = 0;\n }\n return false;\n }\n return true;\n}\n;\nC.prototype.createFramebuffer = function() {\n var aL = this.gl;\n var aK = Q.clippingMaskBufferSize;\n var aJ = aL.createFramebuffer();\n aL.bindFramebuffer(aL.FRAMEBUFFER, aJ);\n var aH = aL.createRenderbuffer();\n aL.bindRenderbuffer(aL.RENDERBUFFER, aH);\n aL.renderbufferStorage(aL.RENDERBUFFER, aL.RGBA4, aK, aK);\n aL.framebufferRenderbuffer(aL.FRAMEBUFFER, aL.COLOR_ATTACHMENT0, aL.RENDERBUFFER, aH);\n var aI = aL.createTexture();\n aL.bindTexture(aL.TEXTURE_2D, aI);\n aL.texImage2D(aL.TEXTURE_2D, 0, aL.RGBA, aK, aK, 0, aL.RGBA, aL.UNSIGNED_BYTE, null);\n aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_MIN_FILTER, aL.LINEAR);\n aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_MAG_FILTER, aL.LINEAR);\n aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_WRAP_S, aL.CLAMP_TO_EDGE);\n aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_WRAP_T, aL.CLAMP_TO_EDGE);\n aL.framebufferTexture2D(aL.FRAMEBUFFER, aL.COLOR_ATTACHMENT0, aL.TEXTURE_2D, aI, 0);\n aL.bindTexture(aL.TEXTURE_2D, null);\n aL.bindRenderbuffer(aL.RENDERBUFFER, null);\n aL.bindFramebuffer(aL.FRAMEBUFFER, null);\n Q.fTexture[this.glno] = aI;\n return {\n framebuffer: aJ,\n renderbuffer: aH,\n texture: Q.fTexture[this.glno]\n };\n}\n;\nfunction K(aH) {\n if (j) {\n return;\n }\n this._$P = new Int8Array(8);\n this._$R0 = new DataView(this._$P.buffer);\n this._$3i = new Int8Array(1000);\n this._$hL = 0;\n this._$v0 = 0;\n this._$S2 = 0;\n this._$Ko = new Array();\n this._$T = aH;\n this._$F = 0;\n}\nK.prototype._$fP = function() {\n var aK = this._$ST();\n var aJ, aI, aH;\n if ((aK & 128) == 0) {\n return aK & 255;\n } else {\n if (((aJ = this._$ST()) & 128) == 0) {\n return ((aK & 127) << 7) | (aJ & 127);\n } else {\n if (((aI = this._$ST()) & 128) == 0) {\n return ((aK & 127) << 14) | ((aJ & 127) << 7) | (aI & 255);\n } else {\n if (((aH = this._$ST()) & 128) == 0) {\n return ((aK & 127) << 21) | ((aJ & 127) << 14) | ((aI & 127) << 7) | (aH & 255);\n } else {\n throw new J(\"_$L _$0P _\");\n }\n }\n }\n }\n}\n;\nK.prototype.getFormatVersion = function() {\n return this._$S2;\n}\n;\nK.prototype._$gr = function(aH) {\n this._$S2 = aH;\n}\n;\nK.prototype._$3L = function() {\n return this._$fP();\n}\n;\nK.prototype._$mP = function() {\n this._$zT();\n this._$F += 8;\n return this._$T.getFloat64(this._$F - 8);\n}\n;\nK.prototype._$_T = function() {\n this._$zT();\n this._$F += 4;\n return this._$T.getFloat32(this._$F - 4);\n}\n;\nK.prototype._$6L = function() {\n this._$zT();\n this._$F += 4;\n return this._$T.getInt32(this._$F - 4);\n}\n;\nK.prototype._$ST = function() {\n this._$zT();\n return this._$T.getInt8(this._$F++);\n}\n;\nK.prototype._$9T = function() {\n this._$zT();\n this._$F += 2;\n return this._$T.getInt16(this._$F - 2);\n}\n;\nK.prototype._$2T = function() {\n this._$zT();\n this._$F += 8;\n throw new J(\"_$L _$q read long\");\n}\n;\nK.prototype._$po = function() {\n this._$zT();\n return this._$T.getInt8(this._$F++) != 0;\n}\n;\nvar O = true;\nK.prototype._$bT = function() {\n this._$zT();\n var aH = this._$3L();\n var aK = null;\n if (O) {\n try {\n var aM = new ArrayBuffer(aH * 2);\n aK = new Uint16Array(aM);\n for (var aJ = 0; aJ < aH; ++aJ) {\n aK[aJ] = this._$T.getUint8(this._$F++);\n }\n return String.fromCharCode.apply(null, aK);\n } catch (aL) {\n O = false;\n }\n }\n try {\n var aI = new Array();\n if (aK == null) {\n for (var aJ = 0; aJ < aH; ++aJ) {\n aI[aJ] = this._$T.getUint8(this._$F++);\n }\n } else {\n for (var aJ = 0; aJ < aH; ++aJ) {\n aI[aJ] = aK[aJ];\n }\n }\n return String.fromCharCode.apply(null, aI);\n } catch (aL) {\n console.log(\"read utf8 / _$rT _$L0 !! : \" + aL);\n }\n}\n;\nK.prototype._$cS = function() {\n this._$zT();\n var aI = this._$3L();\n var aH = new Int32Array(aI);\n for (var aJ = 0; aJ < aI; aJ++) {\n aH[aJ] = this._$T.getInt32(this._$F);\n this._$F += 4;\n }\n return aH;\n}\n;\nK.prototype._$Tb = function() {\n this._$zT();\n var aI = this._$3L();\n var aH = new Float32Array(aI);\n for (var aJ = 0; aJ < aI; aJ++) {\n aH[aJ] = this._$T.getFloat32(this._$F);\n this._$F += 4;\n }\n return aH;\n}\n;\nK.prototype._$5b = function() {\n this._$zT();\n var aI = this._$3L();\n var aH = new Float64Array(aI);\n for (var aJ = 0; aJ < aI; aJ++) {\n aH[aJ] = this._$T.getFloat64(this._$F);\n this._$F += 8;\n }\n return aH;\n}\n;\nK.prototype._$nP = function() {\n return this._$Jb(-1);\n}\n;\nK.prototype._$Jb = function(aJ) {\n this._$zT();\n if (aJ < 0) {\n aJ = this._$3L();\n }\n if (aJ == ay._$7P) {\n var aH = this._$6L();\n if (0 <= aH && aH < this._$Ko.length) {\n return this._$Ko[aH];\n } else {\n throw new J(\"_$sL _$4i @_$m0\");\n }\n } else {\n var aI = this._$4b(aJ);\n this._$Ko.push(aI);\n return aI;\n }\n}\n;\nK.prototype._$4b = function(aN) {\n if (aN == 0) {\n return null;\n }\n if (aN == 50) {\n var aK = this._$bT();\n var aI = Z.getID(aK);\n return aI;\n } else {\n if (aN == 51) {\n var aK = this._$bT();\n var aI = n.getID(aK);\n return aI;\n } else {\n if (aN == 134) {\n var aK = this._$bT();\n var aI = i.getID(aK);\n return aI;\n } else {\n if (aN == 60) {\n var aK = this._$bT();\n var aI = z.getID(aK);\n return aI;\n }\n }\n }\n }\n if (aN >= 48) {\n var aL = ay._$9o(aN);\n if (aL != null) {\n aL._$F0(this);\n return aL;\n } else {\n return null;\n }\n }\n switch (aN) {\n case 1:\n return this._$bT();\n case 10:\n var aM = this._$6L();\n return new I(aM,true);\n case 11:\n return new av(this._$mP(),this._$mP(),this._$mP(),this._$mP());\n case 12:\n return new av(this._$_T(),this._$_T(),this._$_T(),this._$_T());\n case 13:\n return new e(this._$mP(),this._$mP());\n case 14:\n return new e(this._$_T(),this._$_T());\n case 15:\n var aH = this._$3L();\n var aI = new Array(aH);\n for (var aJ = 0; aJ < aH; aJ++) {\n aI[aJ] = this._$nP();\n }\n return aI;\n case 17:\n var aI = new aD(this._$mP(),this._$mP(),this._$mP(),this._$mP(),this._$mP(),this._$mP());\n return aI;\n case 21:\n return new F(this._$6L(),this._$6L(),this._$6L(),this._$6L());\n case 22:\n return new k(this._$6L(),this._$6L());\n case 23:\n throw new Error(\"_$L _$ro \");\n case 16:\n case 25:\n return this._$cS();\n case 26:\n return this._$5b();\n case 27:\n return this._$Tb();\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n case 8:\n case 9:\n case 18:\n case 19:\n case 20:\n case 24:\n case 28:\n throw new J(\"_$6 _$q : _$nP() of 2-9 ,18,19,20,24,28 : \" + aN);\n default:\n throw new J(\"_$6 _$q : _$nP() NO _$i : \" + aN);\n }\n}\n;\nK.prototype._$8L = function() {\n if (this._$hL == 0) {\n this._$v0 = this._$ST();\n } else {\n if (this._$hL == 8) {\n this._$v0 = this._$ST();\n this._$hL = 0;\n }\n }\n return ((this._$v0 >> (7 - this._$hL++)) & 1) == 1;\n}\n;\nK.prototype._$zT = function() {\n if (this._$hL != 0) {\n this._$hL = 0;\n }\n}\n;\nfunction ai() {}\nai.prototype._$wP = function(aM, aI, aK) {\n for (var aL = 0; aL < aK; aL++) {\n for (var aH = 0; aH < aI; aH++) {\n var aJ = 2 * (aH + aL * aI);\n console.log(\"(% 7.3f , % 7.3f) , \", aM[aJ], aM[aJ + 1]);\n }\n console.log(\"\\n\");\n }\n console.log(\"\\n\");\n}\n;\nfunction aC() {}\naC._$2S = Math.PI / 180;\naC._$bS = (Math.PI / 180);\naC._$wS = 180 / Math.PI;\naC._$NS = (180 / Math.PI);\naC.PI_F = Math.PI;\naC._$kT = [0, 0.012368, 0.024734, 0.037097, 0.049454, 0.061803, 0.074143, 0.086471, 0.098786, 0.111087, 0.12337, 0.135634, 0.147877, 0.160098, 0.172295, 0.184465, 0.196606, 0.208718, 0.220798, 0.232844, 0.244854, 0.256827, 0.268761, 0.280654, 0.292503, 0.304308, 0.316066, 0.327776, 0.339436, 0.351044, 0.362598, 0.374097, 0.385538, 0.396921, 0.408243, 0.419502, 0.430697, 0.441826, 0.452888, 0.463881, 0.474802, 0.485651, 0.496425, 0.507124, 0.517745, 0.528287, 0.538748, 0.549126, 0.559421, 0.56963, 0.579752, 0.589785, 0.599728, 0.609579, 0.619337, 0.629, 0.638567, 0.648036, 0.657406, 0.666676, 0.675843, 0.684908, 0.693867, 0.70272, 0.711466, 0.720103, 0.72863, 0.737045, 0.745348, 0.753536, 0.76161, 0.769566, 0.777405, 0.785125, 0.792725, 0.800204, 0.807561, 0.814793, 0.821901, 0.828884, 0.835739, 0.842467, 0.849066, 0.855535, 0.861873, 0.868079, 0.874153, 0.880093, 0.885898, 0.891567, 0.897101, 0.902497, 0.907754, 0.912873, 0.917853, 0.922692, 0.92739, 0.931946, 0.936359, 0.940629, 0.944755, 0.948737, 0.952574, 0.956265, 0.959809, 0.963207, 0.966457, 0.96956, 0.972514, 0.97532, 0.977976, 0.980482, 0.982839, 0.985045, 0.987101, 0.989006, 0.990759, 0.992361, 0.993811, 0.995109, 0.996254, 0.997248, 0.998088, 0.998776, 0.999312, 0.999694, 0.999924, 1];\naC._$92 = function(aK, aI) {\n var aH = Math.atan2(aK[1], aK[0]);\n var aJ = Math.atan2(aI[1], aI[0]);\n return aC._$tS(aH, aJ);\n}\n;\naC._$tS = function(aI, aH) {\n var aJ = aI - aH;\n while (aJ < -Math.PI) {\n aJ += 2 * Math.PI;\n }\n while (aJ > Math.PI) {\n aJ -= 2 * Math.PI;\n }\n return aJ;\n}\n;\naC._$9 = function(aH) {\n return Math.sin(aH);\n}\n;\naC.fcos = function(aH) {\n return Math.cos(aH);\n}\n;\nfunction aB(aH) {\n if (j) {\n return;\n }\n this._$e0 = null;\n this._$IP = null;\n this._$Us = null;\n this._$7s = null;\n this._$IS = [false];\n this._$VS = null;\n this._$AT = true;\n this.baseOpacity = 1;\n this.clipBufPre_clipContext = null;\n this._$e0 = aH;\n}\naB.prototype._$u2 = function() {\n return this._$IS[0];\n}\n;\naB.prototype._$yo = function() {\n return this._$AT && !this._$IS[0];\n}\n;\naB.prototype._$GT = function() {\n return this._$e0;\n}\n;\nfunction r() {}\nr._$W2 = 0;\nr.SYSTEM_INFO = null;\nr.USER_AGENT = navigator.userAgent;\nr.isIPhone = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n return r.SYSTEM_INFO._isIPhone;\n}\n;\nr.isIOS = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n return r.SYSTEM_INFO._isIPhone || r.SYSTEM_INFO._isIPad;\n}\n;\nr.isAndroid = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n return r.SYSTEM_INFO._isAndroid;\n}\n;\nr.getOSVersion = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n return r.SYSTEM_INFO.version;\n}\n;\nr.getOS = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n if (r.SYSTEM_INFO._isIPhone || r.SYSTEM_INFO._isIPad) {\n return \"iOS\";\n }\n if (r.SYSTEM_INFO._isAndroid) {\n return \"Android\";\n } else {\n return \"_$Q0 OS\";\n }\n}\n;\nr.setup = function() {\n var aK = r.USER_AGENT;\n function aI(aO, aR) {\n var aN = aO.substring(aR).split(/[ _,;\\.]/);\n var aQ = 0;\n for (var aM = 0; aM <= 2; aM++) {\n if (isNaN(aN[aM])) {\n break;\n }\n var aP = parseInt(aN[aM]);\n if (aP < 0 || aP > 999) {\n q._$li(\"err : \" + aP + \" @UtHtml5.setup()\");\n aQ = 0;\n break;\n }\n aQ += aP * Math.pow(1000, (2 - aM));\n }\n return aQ;\n }\n var aL;\n var aH;\n var aJ = r.SYSTEM_INFO = {\n userAgent: aK\n };\n if ((aL = aK.indexOf(\"iPhone OS \")) >= 0) {\n aJ.os = \"iPhone\";\n aJ._isIPhone = true;\n aJ.version = aI(aK, aL + \"iPhone OS \".length);\n } else {\n if ((aL = aK.indexOf(\"iPad\")) >= 0) {\n aL = aK.indexOf(\"CPU OS\");\n if (aL < 0) {\n q._$li(\" err : \" + aK + \" @UtHtml5.setup()\");\n return;\n }\n aJ.os = \"iPad\";\n aJ._isIPad = true;\n aJ.version = aI(aK, aL + \"CPU OS \".length);\n } else {\n if ((aL = aK.indexOf(\"Android\")) >= 0) {\n aJ.os = \"Android\";\n aJ._isAndroid = true;\n aJ.version = aI(aK, aL + \"Android \".length);\n } else {\n aJ.os = \"-\";\n aJ.version = -1;\n }\n }\n }\n}\n;\nQ.init();\nvar j = false;\n\nexport{\n P as UtSystem,\n q as UtDebug,\n am as LDTransform,\n au as LDGL,\n Q as Live2D,\n l as Live2DModelWebGL,\n v as Live2DModelJS,\n ao as Live2DMotion,\n V as MotionQueueManager,\n u as PhysicsHair,\n ah as AMotion,\n i as PartsDataID,\n Z as DrawDataID,\n n as BaseDataID,\n z as ParamID,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/lib/live2d.core.js","// Provide a \"System\" global.\r\nmodule.exports = {\r\n\t// Make sure import is only used as \"System.import\"\r\n\timport: function() {\r\n\t\tthrow new Error(\"System.import cannot be used indirectly\");\r\n\t}\r\n};\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/system.js\n// module id = 134\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/ghpages/lib/clL2D.min.js b/ghpages/lib/clL2D.min.js new file mode 100644 index 0000000..2f91651 --- /dev/null +++ b/ghpages/lib/clL2D.min.js @@ -0,0 +1,3 @@ +/*! https://github.com/xiazeyu/live2d-widget.js built@2018-1-13 21:25:21 */ +var initL2Dwidget=function(t){var n=window.webpackJsonpinitL2Dwidget;window.webpackJsonpinitL2Dwidget=function(e,o,i){for(var c,u,a=0,f=[];a0?r:e)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(63),o=e(21);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(28)("keys"),o=e(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(12).f,o=e(8),i=e(0)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";var r=e(15);t.exports.f=function(t){return new function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=r(n),this.reject=r(e)}(t)}},function(t,n){t.exports=function(t,n){return t===n||t!=t&&n!=n}},function(t,n,e){var r=e(99);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},function(t,n,e){var r=e(1),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){"use strict";var r=e(32),o=e(13),i=e(5),c=e(3),u=e(8),a=e(9),f=e(59),s=e(24),l=e(66),p=e(0)("iterator"),v=!([].keys&&"next"in[].keys()),d="values",h=function(){return this};t.exports=function(t,n,e,y,b,x,w){f(e,n,y);var m,g,_,j=function(t){if(!v&&t in k)return k[t];switch(t){case"keys":case d:return function(){return new e(this,t)}}return function(){return new e(this,t)}},O=n+" Iterator",P=b==d,S=!1,k=t.prototype,T=k[p]||k["@@iterator"]||b&&k[b],L=!v&&T||j(b),M=b?P?j("entries"):L:void 0,E="Array"==n?k.entries||T:T;if(E&&(_=l(E.call(new t)))!==Object.prototype&&_.next&&(s(_,O,!0),r||u(_,p)||c(_,p,h)),P&&T&&T.name!==d&&(S=!0,L=function(){return T.call(this)}),r&&!w||!v&&!S&&k[p]||c(k,p,L),a[n]=L,a[O]=h,b)if(m={values:P?L:j(d),keys:x?L:j("keys"),entries:M},w)for(g in m)g in k||i(k,g,m[g]);else o(o.P+o.F*(v||S),n,m);return m}},function(t,n){t.exports=!1},function(t,n,e){var r=e(62),o=e(35);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(2),o=e(15),i=e(0)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c=e(14),u=e(78),a=e(36),f=e(19),s=e(1),l=s.process,p=s.setImmediate,v=s.clearImmediate,d=s.MessageChannel,h=s.Dispatch,y=0,b={},x="onreadystatechange",w=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},m=function(t){w.call(t.data)};p&&v||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return b[++y]=function(){u("function"==typeof t?t:Function(t),n)},r(y),y},v=function(t){delete b[t]},"process"==e(11)(l)?r=function(t){l.nextTick(c(w,t,1))}:h&&h.now?r=function(t){h.now(c(w,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=m,r=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",m,!1)):r=x in f("script")?function(t){a.appendChild(f("script"))[x]=function(){a.removeChild(this),w.call(t)}}:function(t){setTimeout(c(w,t,1),0)}),t.exports={set:p,clear:v}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(2),o=e(6),i=e(25);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},function(t,n,e){var r=e(89),o=e(90),i=e(91);t.exports=function(t,n){return i(o(t,n,r),t+"")}},function(t,n,e){var r=e(93),o=e(44),i=e(101),c=e(103),u=e(10),a=e(50);t.exports=function t(n,e,f,s,l){n!==e&&i(e,function(i,a){if(u(i))l||(l=new r),c(n,e,a,f,t,s,l);else{var p=s?s(n[a],i,a+"",n,e,l):void 0;void 0===p&&(p=i),o(n,a,p)}},a)}},function(t,n,e){var r=e(27),o=e(26);t.exports=function(t,n,e){(void 0===e||o(t[n],e))&&(void 0!==e||n in t)||r(t,n,e)}},function(t,n,e){var r=e(106),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,n,e){var r=e(114)(Object.getPrototypeOf,Object);t.exports=r},function(t,n,e){var r=e(48),o=e(10),i="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",a="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var n=r(t);return n==c||n==u||n==i||n==a}},function(t,n){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,n){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,n){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.config=n.configApplyer=void 0;var r,o=e(88),i=(r=o,r&&r.__esModule?r:{default:r});var c={},u={model:{jsonPath:"https://unpkg.com/live2d-widget-model-shizuku@1.0.0/assets/shizuku.model.json",scale:1,hHeadPos:.5,vHeadPos:.618,myDefine:[]},display:{antialias:2,width:150,height:300,position:"right",hOffset:0,vOffset:-20},mobile:{show:!0,scale:.5,motion:!0},name:{canvas:"live2dcanvas",div:"live2d-widget"},react:{opacityDefault:.7,opacityOnHover:.2,myFunc:function(t){console.log("(undefined) ┑( ̄Д  ̄)┍")}},dev:{log:!1,border:!1,mouseLog:!1,mouseFunc:function(t,n,e,r){console.log("MouseFunc: "+t+","+n+"; "+e+", "+r)}}};n.configApplyer=function(t){n.config=c=(0,i.default)(t,u),console.log("currConfig:",c)},n.config=c},function(t,n,e){e(53),e(85),t.exports=e(86)},function(t,n,e){e(54),e(57),e(68),e(72),e(83),e(84),t.exports=e(4).Promise},function(t,n,e){"use strict";var r=e(17),o={};o[e(0)("toStringTag")]="z",o+""!="[object z]"&&e(5)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,n,e){t.exports=!e(7)&&!e(29)(function(){return 7!=Object.defineProperty(e(19)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(6);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){"use strict";var r=e(58)(!0);e(31)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(20),o=e(21);t.exports=function(t){return function(n,e){var i,c,u=String(o(n)),a=r(e),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}}},function(t,n,e){"use strict";var r=e(60),o=e(30),i=e(24),c={};e(3)(c,e(0)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(2),o=e(61),i=e(35),c=e(23)("IE_PROTO"),u=function(){},a="prototype",f=function(){var t,n=e(19)("iframe"),r=i.length;for(n.style.display="none",e(36).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write(" + + \ No newline at end of file diff --git a/lib/clL2D.0.min.js b/lib/clL2D.0.min.js index 81ad7b8..0fa8791 100644 --- a/lib/clL2D.0.min.js +++ b/lib/clL2D.0.min.js @@ -1,3 +1,3 @@ -/*! https://github.com/xiazeyu/live2d-widget.js built@2018-1-12 22:17:33 */ -webpackJsonpinitL2Dwidget([0],{130:function(e,o,n){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var c=n(51);o.default=function(){console.log("config:"),console.log(c.config)}}}); +/*! https://github.com/xiazeyu/live2d-widget.js built@2018-1-13 21:25:21 */ +webpackJsonpinitL2Dwidget([0],{130:function(t,i,r){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e,_=r(51),o=r(131),s=r(133),n=r(135),$=(r(136),r(137)),a=r(138),h=(e=a,e&&e.__esModule?e:{default:e});var l=!1,u=null,p=null,f=null,c=null;i.default=function(){(0,o.createElement)(),u=new n.L2DTargetPoint;var t=_.config.display.height/_.config.display.width,i=h.default.VIEW_LOGICAL_LEFT,r=h.default.VIEW_LOGICAL_RIGHT,e=-t,a=t;(p=new n.L2DViewMatrix).setScreenRect(i,r,e,a),p.setMaxScreenRect(h.default.VIEW_LOGICAL_MAX_LEFT,h.default.VIEW_LOGICAL_MAX_RIGHT,h.default.VIEW_LOGICAL_MAX_BOTTOM,h.default.VIEW_LOGICAL_MAX_TOP),(f=new n.L2DMatrix44).multScale(1,_.config.display.width/_.config.display.height),(c=new n.L2DMatrix44).multTranslate(-_.config.display.width/2,-_.config.display.height/2),c.multScale(2/_.config.display.width,-2/_.config.display.height),s.Live2D.setGL(o.currWebGL),o.currWebGL.clearColor(0,0,0,0),y=_.config.model.jsonPath,live2DMgr.reloadFlg=!0,live2DMgr.count++,live2DMgr.changeModel(o.currWebGL,y);var y;l||(l=!0,function t(){!function(){$.MatrixStack.reset(),$.MatrixStack.loadIdentity(),u.update(),live2DMgr.setDrag(u.getX(),u.getY()),o.currWebGL.clear(o.currWebGL.COLOR_BUFFER_BIT),$.MatrixStack.multMatrix(f.getArray()),$.MatrixStack.multMatrix(p.getArray()),$.MatrixStack.push();for(var t=0;tG._$T7){t._$NP|=e._$4s;throw new at("_$gi _$C _$li , _$n0 _$_ version _$li ( SDK : "+G._$T7+" < _$f0 : "+r+" )@_$SS#loadModel()\n")}var a=_._$nP();if(r>=G._$s7){var h=_._$9T(),l=_._$9T();if(-30584!=h||-30584!=l)throw t._$NP|=e._$0s,new at("_$gi _$C _$li , _$0 _$6 _$Ui.")}t._$KS(a);var u=t.getModelContext();u.setDrawParam(t.getDrawParam()),u.init()}catch(t){n._$Rb(t)}},e.prototype._$KS=function(t){this._$MT=t},e.prototype.getModelImpl=function(){return null==this._$MT&&(this._$MT=new l,this._$MT._$zP()),this._$MT},e.prototype.getCanvasWidth=function(){return null==this._$MT?0:this._$MT.getCanvasWidth()},e.prototype.getCanvasHeight=function(){return null==this._$MT?0:this._$MT.getCanvasHeight()},e.prototype.getParamFloat=function(t){return"number"!=typeof t&&(t=this._$5S.getParamIndex(h.getID(t))),this._$5S.getParamFloat(t)},e.prototype.setParamFloat=function(t,i,r){"number"!=typeof t&&(t=this._$5S.getParamIndex(h.getID(t))),arguments.length<3&&(r=1),this._$5S.setParamFloat(t,this._$5S.getParamFloat(t)*(1-r)+i*r)},e.prototype.addToParamFloat=function(t,i,r){"number"!=typeof t&&(t=this._$5S.getParamIndex(h.getID(t))),arguments.length<3&&(r=1),this._$5S.setParamFloat(t,this._$5S.getParamFloat(t)+i*r)},e.prototype.multParamFloat=function(t,i,r){"number"!=typeof t&&(t=this._$5S.getParamIndex(h.getID(t))),arguments.length<3&&(r=1),this._$5S.setParamFloat(t,this._$5S.getParamFloat(t)*(1+(i-1)*r))},e.prototype.getParamIndex=function(t){return this._$5S.getParamIndex(h.getID(t))},e.prototype.loadParam=function(){this._$5S.loadParam()},e.prototype.saveParam=function(){this._$5S.saveParam()},e.prototype.init=function(){this._$5S.init()},e.prototype.update=function(){this._$5S.update()},e.prototype._$Rs=function(){return n._$li("_$60 _$PT _$Rs()"),-1},e.prototype._$Ds=function(t){n._$li("_$60 _$PT _$SS#_$Ds() \n")},e.prototype._$K2=function(){},e.prototype.draw=function(){},e.prototype.getModelContext=function(){return this._$5S},e.prototype._$s2=function(){return this._$NP},e.prototype._$P7=function(t,i,r,e){var _=-1,o=0;if(0!=r)if(1==t.length){u=t[0];var s=0!=this.getParamFloat(u),n=(p=i[0],this.getPartsOpacity(p)),$=r/e;s?(n+=$)>1&&(n=1):(n-=$)<0&&(n=0),this.setPartsOpacity(p,n)}else{for(l=0;l=0)break;_=l;p=i[l];o=this.getPartsOpacity(p),(o+=r/e)>1&&(o=1)}}_<0&&(console.log("No _$wi _$q0/ _$U default[%s]",t[0]),_=0,o=1,this.loadParam(),this.setParamFloat(t[_],o),this.saveParam());for(l=0;l.15&&(a=1-.15/(1-o)),h>a&&(h=a),this.setPartsOpacity(p,h)}}}else for(var l=0;l=this._$5S._$aS.length)return null;var i=this._$5S._$aS[t];return null!=i&&i.getType()==H._$wb&&i instanceof ht?i.getIndexArray():null};function _(t){if(!r){this.clipContextList=new Array,this.glcontext=t.gl,this.dp_webgl=t,this.curFrameNo=0,this.firstError_clipInNotUpdate=!0,this.colorBuffer=0,this.isInitGLFBFunc=!1,this.tmpBoundsOnModel=new P,nt.glContext.length>nt.frameBuffers.length&&(this.curFrameNo=this.getMaskRenderTexture()),this.tmpModelToViewMatrix=new I,this.tmpMatrix2=new I,this.tmpMatrixForMask=new I,this.tmpMatrixForDraw=new I,this.CHANNEL_COLORS=new Array;var i=new A;(i=new A).r=0,i.g=0,i.b=0,i.a=1,this.CHANNEL_COLORS.push(i),(i=new A).r=1,i.g=0,i.b=0,i.a=0,this.CHANNEL_COLORS.push(i),(i=new A).r=0,i.g=1,i.b=0,i.a=0,this.CHANNEL_COLORS.push(i),(i=new A).r=0,i.g=0,i.b=1,i.a=0,this.CHANNEL_COLORS.push(i);for(var e=0;e=0;--t)this.CHANNEL_COLORS.splice(t,1);this.CHANNEL_COLORS=[]}this.releaseShader()},_.prototype.releaseShader=function(){for(var t=nt.frameBuffers.length,i=0;i0){var o=i.gl.getParameter(i.gl.FRAMEBUFFER_BINDING),s=new Array(4);s[0]=0,s[1]=0,s[2]=i.gl.canvas.width,s[3]=i.gl.canvas.height,i.gl.viewport(0,0,nt.clippingMaskBufferSize,nt.clippingMaskBufferSize),this.setupLayoutBounds(r),i.gl.bindFramebuffer(i.gl.FRAMEBUFFER,nt.frameBuffers[this.curFrameNo].framebuffer),i.gl.clearColor(0,0,0,0),i.gl.clear(i.gl.COLOR_BUFFER_BIT);for(e=0;ee?r:e,o=_,s=_,n=0,$=0,a=i.clippedDrawContextList.length,h=0;hn&&(n=P),L>$&&($=L)}}if(o==_)i.allClippedDrawRect.x=0,i.allClippedDrawRect.y=0,i.allClippedDrawRect.width=0,i.allClippedDrawRect.height=0,i.isUsing=!1;else{var S=n-o,v=$-s;i.allClippedDrawRect.x=o,i.allClippedDrawRect.y=s,i.allClippedDrawRect.width=S,i.allClippedDrawRect.height=v,i.isUsing=!0}},_.prototype.setupLayoutBounds=function(t){var i=t/_.CHANNEL_COUNT,r=t%_.CHANNEL_COUNT;i=~~i,r=~~r;for(var e=0,o=0;o<_.CHANNEL_COUNT;o++){var s=i+(o=1)return 1;var u=e*e;return a*(e*u)+h*u+l*e+0},s.prototype._$a0=function(){},s.prototype.setFadeIn=function(t){this._$dP=t},s.prototype.setFadeOut=function(t){this._$eo=t},s.prototype._$pT=function(t){this._$V0=t},s.prototype.getFadeOut=function(){return this._$eo},s.prototype._$4T=function(){return this._$eo},s.prototype._$mT=function(){return this._$V0},s.prototype.getDurationMSec=function(){return-1},s.prototype.getLoopDurationMSec=function(){return-1},s.prototype.updateParam=function(t,i){if(i._$AT&&!i._$9L){var r=b.getUserTimeMSec();if(i._$z2<0){i._$z2=r,i._$bs=r;var e=this.getDurationMSec();i._$Do<0&&(i._$Do=e<=0?-1:i._$z2+e)}var _=this._$V0;0<=(_=_*(0==this._$dP?1:$t._$r2((r-i._$bs)/this._$dP))*(0==this._$eo||i._$Do<0?1:$t._$r2((i._$Do-r)/this._$eo)))&&_<=1||console.log("### assert!! ### "),this.updateParamExe(t,r,_,i),i._$Do>0&&i._$Do0?console.log("\n"):r%8==0&&r>0&&console.log(" "),console.log("%02X ",255&t[r]);console.log("\n")},n._$nr=function(t,i,r){console.log("%s\n",t);for(var e=i.length,_=0;_=0;--e){this._$lL[e]._$oP(t,this)}this._$oo(t,r),this._$M2=this._$Yb(),this._$9b=(this._$M2-this._$ks)/r,this._$ks=this._$M2}for(e=this._$qP.length-1;e>=0;--e){this._$qP[e]._$YS(t,this)}this._$iT=i},u.prototype._$oo=function(t,i){i<.033&&(i=.033);var r=1/i;this.p1.vx=(this.p1.x-this.p1._$s0)*r,this.p1.vy=(this.p1.y-this.p1._$70)*r,this.p1.ax=(this.p1.vx-this.p1._$7L)*r,this.p1.ay=(this.p1.vy-this.p1._$HL)*r,this.p1.fx=this.p1.ax*this.p1._$p,this.p1.fy=this.p1.ay*this.p1._$p,this.p1._$xT();var e,_,o=-Math.atan2(this.p1.y-this.p2.y,this.p1.x-this.p2.x),s=Math.cos(o),n=Math.sin(o),$=9.8*this.p2._$p,a=this._$Db*St._$bS,h=$*Math.cos(o-a);e=h*n,_=h*s;var l=-this.p1.fx*n*n,u=-this.p1.fy*n*s,p=-this.p2.vx*this._$L2,f=-this.p2.vy*this._$L2;this.p2.fx=e+l+p,this.p2.fy=_+u+f,this.p2.ax=this.p2.fx/this.p2._$p,this.p2.ay=this.p2.fy/this.p2._$p,this.p2.vx+=this.p2.ax*i,this.p2.vy+=this.p2.ay*i,this.p2.x+=this.p2.vx*i,this.p2.y+=this.p2.vy*i;var c=Math.sqrt((this.p1.x-this.p2.x)*(this.p1.x-this.p2.x)+(this.p1.y-this.p2.y)*(this.p1.y-this.p2.y));this.p2.x=this.p1.x+this._$Fo*(this.p2.x-this.p1.x)/c,this.p2.y=this.p1.y+this._$Fo*(this.p2.y-this.p1.y)/c,this.p2.vx=(this.p2.x-this.p2._$s0)*r,this.p2.vy=(this.p2.y-this.p2._$70)*r,this.p2._$xT()};function p(){this._$p=1,this.x=0,this.y=0,this.vx=0,this.vy=0,this.ax=0,this.ay=0,this.fx=0,this.fy=0,this._$s0=0,this._$70=0,this._$7L=0,this._$HL=0}p.prototype._$xT=function(){this._$s0=this.x,this._$70=this.y,this._$7L=this.vx,this._$HL=this.vy};function f(t,i,r){this._$wL=null,this.scale=null,this._$V0=null,this._$wL=t,this.scale=i,this._$V0=r}f.prototype._$oP=function(t,i){};function c(t,i,r,e){f.prototype.constructor.call(this,i,r,e),this._$tL=null,this._$tL=t}c.prototype=new f,c.prototype._$oP=function(t,i){var r=this.scale*t.getParamFloat(this._$wL),e=i.getPhysicsPoint1();switch(this._$tL){default:case u.Src.SRC_TO_X:e.x=e.x+(r-e.x)*this._$V0;break;case u.Src.SRC_TO_Y:e.y=e.y+(r-e.y)*this._$V0;break;case u.Src.SRC_TO_G_ANGLE:var _=i._$qr();_+=(r-_)*this._$V0,i._$pr(_)}};function y(t,i,r){this._$wL=null,this.scale=null,this._$V0=null,this._$wL=t,this.scale=i,this._$V0=r}y.prototype._$YS=function(t,i){};function g(t,i,r,e){y.prototype.constructor.call(this,i,r,e),this._$YP=null,this._$YP=t}g.prototype=new y,g.prototype._$YS=function(t,i){switch(this._$YP){default:case u.Target.TARGET_FROM_ANGLE:t.setParamFloat(this._$wL,this.scale*i._$5r(),this._$V0);break;case u.Target.TARGET_FROM_ANGLE_V:t.setParamFloat(this._$wL,this.scale*i._$Cs(),this._$V0)}},u.Src=function(){},u.Src.SRC_TO_X="SRC_TO_X",u.Src.SRC_TO_Y="SRC_TO_Y",u.Src.SRC_TO_G_ANGLE="SRC_TO_G_ANGLE",u.Target=function(){},u.Target.TARGET_FROM_ANGLE="TARGET_FROM_ANGLE",u.Target.TARGET_FROM_ANGLE_V="TARGET_FROM_ANGLE_V";function d(){r||(this._$fL=0,this._$gL=0,this._$B0=1,this._$z0=1,this._$qT=0,this.reflectX=!1,this.reflectY=!1)}d.prototype.init=function(t){this._$fL=t._$fL,this._$gL=t._$gL,this._$B0=t._$B0,this._$z0=t._$z0,this._$qT=t._$qT,this.reflectX=t.reflectX,this.reflectY=t.reflectY},d.prototype._$F0=function(t){this._$fL=t._$_T(),this._$gL=t._$_T(),this._$B0=t._$_T(),this._$z0=t._$_T(),this._$qT=t._$_T(),t.getFormatVersion()>=G.LIVE2D_FORMAT_VERSION_V2_10_SDK2&&(this.reflectX=t._$po(),this.reflectY=t._$po())},d.prototype._$e=function(){};var T=function(){};T._$ni=function(t,i,r,e,_,o,s,n,$){var a=s*o-n*_;if(0==a)return null;var h,l=((t-r)*o-(i-e)*_)/a;return h=0!=_?(t-r-l*s)/_:(i-e-l*n)/o,isNaN(h)&&(h=(t-r-l*s)/_,isNaN(h)&&(h=(i-e-l*n)/o),isNaN(h)&&(console.log("a is NaN @UtVector#_$ni() "),console.log("v1x : "+_),console.log("v1x != 0 ? "+(0!=_)))),null==$?new Array(h,l):($[0]=h,$[1]=l,$)};function P(){r||(this.x=null,this.y=null,this.width=null,this.height=null)}P.prototype._$8P=function(){return this.x+.5*this.width},P.prototype._$6P=function(){return this.y+.5*this.height},P.prototype._$EL=function(){return this.x+this.width},P.prototype._$5T=function(){return this.y+this.height},P.prototype._$jL=function(t,i,r,e){this.x=t,this.y=i,this.width=r,this.height=e},P.prototype._$jL=function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},P.prototype.contains=function(t,i){return this.x<=this.x&&this.y<=this.y&&this.x<=this.x+this.width&&this.y<=this.y+this.height},P.prototype.expand=function(t,i){this.x-=t,this.y-=i,this.width+=2*t,this.height+=2*i};function L(){}L._$Z2=function(t,i,r,e){var _=i._$Q2(t,r),o=t._$vs(),s=t._$Tr();if(i._$zr(o,s,_),_<=0)return e[o[0]];if(1==_){return(n=e[o[0]])+(($=e[o[1]])-n)*(l=s[0])|0}if(2==_){var n=e[o[0]],$=e[o[1]],a=e[o[2]],h=e[o[3]],l=s[0],u=s[1];return(L=n+($-n)*l|0)+((a+(h-a)*l|0)-L)*u|0}if(3==_){var p=e[o[0]],f=e[o[1]],c=e[o[2]],y=e[o[3]],g=e[o[4]],d=e[o[5]],m=e[o[6]],T=e[o[7]],P=(l=s[0],u=s[1],s[2]);return(L=(n=p+(f-p)*l|0)+(($=c+(y-c)*l|0)-n)*u|0)+(((a=g+(d-g)*l|0)+((h=m+(T-m)*l|0)-a)*u|0)-L)*P|0}if(4==_){var L,S=e[o[0]],v=e[o[1]],w=e[o[2]],A=e[o[3]],E=e[o[4]],b=e[o[5]],x=e[o[6]],D=e[o[7]],C=e[o[8]],I=e[o[9]],O=e[o[10]],M=e[o[11]],F=e[o[12]],R=e[o[13]],N=e[o[14]],B=e[o[15]],G=(l=s[0],u=s[1],P=s[2],s[3]);return(L=(n=(p=S+(v-S)*l|0)+((f=w+(A-w)*l|0)-p)*u|0)+(($=(c=E+(b-E)*l|0)+((y=x+(D-x)*l|0)-c)*u|0)-n)*P|0)+(((a=(g=C+(I-C)*l|0)+((d=O+(M-O)*l|0)-g)*u|0)+((h=(m=F+(R-F)*l|0)+((T=N+(B-N)*l|0)-m)*u|0)-a)*P|0)-L)*G|0}for(var U=1<<_,Y=new Float32Array(U),k=0;k=G._$T7?(this.clipID=t._$nP(),this.clipIDList=this.convertClipIDForV2_11(this.clipID)):this.clipIDList=[],this._$MS(this._$Lb)},v.prototype.getClipIDList=function(){return this.clipIDList},v.prototype.init=function(t){},v.prototype._$Nr=function(t,i){if(i._$IS[0]=!1,i._$Us=L._$Z2(t,this._$GS,i._$IS,this._$Lb),nt._$Zs);else if(i._$IS[0])return;i._$7s=L._$br(t,this._$GS,i._$IS,this._$mS)},v.prototype._$2b=function(t,i){},v.prototype.getDrawDataID=function(){return this._$gP},v.prototype._$j2=function(t){this._$gP=t},v.prototype.getOpacity=function(t,i){return i._$7s},v.prototype._$zS=function(t,i){return i._$Us},v.prototype._$MS=function(t){for(var i=t.length-1;i>=0;--i){var r=t[i];rv._$R2&&(v._$R2=r)}},v.prototype.getTargetBaseDataID=function(){return this._$dr},v.prototype._$gs=function(t){this._$dr=t},v.prototype._$32=function(){return null!=this._$dr&&this._$dr!=gt._$2o()},v.prototype.preDraw=function(t,i,r){},v.prototype.draw=function(t,i,r){},v.prototype.getType=function(){},v.prototype._$B2=function(t,i,r){};function w(){r||(this._$Eb=w._$ps,this._$lT=1,this._$C0=1,this._$tT=1,this._$WL=1,this.culling=!1,this.matrix4x4=new Float32Array(16),this.premultipliedAlpha=!1,this.anisotropy=0,this.clippingProcess=w.CLIPPING_PROCESS_NONE,this.clipBufPre_clipContextMask=null,this.clipBufPre_clipContextDraw=null,this.CHANNEL_COLORS=new Array)}w._$ps=32,w.CLIPPING_PROCESS_NONE=0,w.CLIPPING_PROCESS_OVERWRITE_ALPHA=1,w.CLIPPING_PROCESS_MULTIPLY_ALPHA=2,w.CLIPPING_PROCESS_DRAW=3,w.CLIPPING_PROCESS_CLEAR_ALPHA=4,w.prototype.setChannelFlagAsColor=function(t,i){this.CHANNEL_COLORS[t]=i},w.prototype.getChannelFlagAsColor=function(t){return this.CHANNEL_COLORS[t]},w.prototype._$ZT=function(){},w.prototype._$Uo=function(t,i,r,e,_,o,s){},w.prototype._$Rs=function(){return-1},w.prototype._$Ds=function(t){},w.prototype.setBaseColor=function(t,i,r,e){t<0?t=0:t>1&&(t=1),i<0?i=0:i>1&&(i=1),r<0?r=0:r>1&&(r=1),e<0?e=0:e>1&&(e=1),this._$lT=t,this._$C0=i,this._$tT=r,this._$WL=e},w.prototype._$WP=function(t){this.culling=t},w.prototype.setMatrix=function(t){for(var i=0;i<16;i++)this.matrix4x4[i]=t[i]},w.prototype._$IT=function(){return this.matrix4x4},w.prototype.setPremultipliedAlpha=function(t){this.premultipliedAlpha=t},w.prototype.isPremultipliedAlpha=function(){return this.premultipliedAlpha},w.prototype.setAnisotropy=function(t){this.anisotropy=t},w.prototype.getAnisotropy=function(){return this.anisotropy},w.prototype.getClippingProcess=function(){return this.clippingProcess},w.prototype.setClippingProcess=function(t){this.clippingProcess=t},w.prototype.setClipBufPre_clipContextForMask=function(t){this.clipBufPre_clipContextMask=t},w.prototype.getClipBufPre_clipContextMask=function(){return this.clipBufPre_clipContextMask},w.prototype.setClipBufPre_clipContextForDraw=function(t){this.clipBufPre_clipContextDraw=t},w.prototype.getClipBufPre_clipContextDraw=function(){return this.clipBufPre_clipContextDraw};function A(){r||(this.a=1,this.r=1,this.g=1,this.b=1,this.scale=1,this._$ho=1,this.blendMode=nt.L2D_COLOR_BLEND_MODE_MULT)}function E(){r||(this._$kP=null,this._$dr=null,this._$Ai=!0,this._$mS=null)}E._$ur=-2,E._$c2=1,E._$_b=2,E.prototype._$F0=function(t){this._$kP=t._$nP(),this._$dr=t._$nP()},E.prototype.readV2_opacity=function(t){t.getFormatVersion()>=G.LIVE2D_FORMAT_VERSION_V2_10_SDK2&&(this._$mS=t._$Tb())},E.prototype.init=function(t){},E.prototype._$Nr=function(t,i){},E.prototype.interpolateOpacity=function(t,i,r,e){null==this._$mS?r.setInterpolatedOpacity(1):r.setInterpolatedOpacity(L._$br(t,i,e,this._$mS))},E.prototype._$2b=function(t,i){},E.prototype._$nb=function(t,i,r,e,_,o,s){},E.prototype.getType=function(){},E.prototype._$gs=function(t){this._$dr=t},E.prototype._$a2=function(t){this._$kP=t},E.prototype.getTargetBaseDataID=function(){return this._$dr},E.prototype.getBaseDataID=function(){return this._$kP},E.prototype._$32=function(){return null!=this._$dr&&this._$dr!=gt._$2o()};function b(){}b._$W2=0,b._$CS=b._$W2,b._$Mo=function(){return!0},b._$XP=function(t){try{for(var i=getTimeMSec();getTimeMSec()-i=t.length)return!1;for(var _=i;_=0;--r){var e=this._$Ob[r].getParamIndex(i);if(e==x._$ds&&(e=t.getParamIndex(this._$Ob[r].getParamID())),t._$Xb(e))return!0}return!1},C.prototype._$Q2=function(t,i){for(var r,e,_=this._$Ob.length,o=t._$v2(),s=0,n=0;n<_;n++){var $=this._$Ob[n];if((r=$.getParamIndex(o))==x._$ds&&(r=t.getParamIndex($.getParamID()),$._$Pb(r,o)),r<0)throw new Exception("err 23242 : "+$.getParamID());var a=r<0?0:t.getParamFloat(r);e=$._$N2();var h,l,u=$._$d2(),p=-1,f=0;if(e<1);else if(1==e)(h=u[0])-B._$JB._$Qb&&console.log("err 23245\n");for(var _=this._$Ob.length,o=1,s=1,n=0,$=0;$=0;--o)r[o]=_[o]}else this.mult_fast(t,i,r,e)},I.prototype.mult_fast=function(t,i,r,e){e?(r[0]=t[0]*i[0]+t[4]*i[1]+t[8]*i[2],r[4]=t[0]*i[4]+t[4]*i[5]+t[8]*i[6],r[8]=t[0]*i[8]+t[4]*i[9]+t[8]*i[10],r[12]=t[0]*i[12]+t[4]*i[13]+t[8]*i[14]+t[12],r[1]=t[1]*i[0]+t[5]*i[1]+t[9]*i[2],r[5]=t[1]*i[4]+t[5]*i[5]+t[9]*i[6],r[9]=t[1]*i[8]+t[5]*i[9]+t[9]*i[10],r[13]=t[1]*i[12]+t[5]*i[13]+t[9]*i[14]+t[13],r[2]=t[2]*i[0]+t[6]*i[1]+t[10]*i[2],r[6]=t[2]*i[4]+t[6]*i[5]+t[10]*i[6],r[10]=t[2]*i[8]+t[6]*i[9]+t[10]*i[10],r[14]=t[2]*i[12]+t[6]*i[13]+t[10]*i[14]+t[14],r[3]=r[7]=r[11]=0,r[15]=1):(r[0]=t[0]*i[0]+t[4]*i[1]+t[8]*i[2]+t[12]*i[3],r[4]=t[0]*i[4]+t[4]*i[5]+t[8]*i[6]+t[12]*i[7],r[8]=t[0]*i[8]+t[4]*i[9]+t[8]*i[10]+t[12]*i[11],r[12]=t[0]*i[12]+t[4]*i[13]+t[8]*i[14]+t[12]*i[15],r[1]=t[1]*i[0]+t[5]*i[1]+t[9]*i[2]+t[13]*i[3],r[5]=t[1]*i[4]+t[5]*i[5]+t[9]*i[6]+t[13]*i[7],r[9]=t[1]*i[8]+t[5]*i[9]+t[9]*i[10]+t[13]*i[11],r[13]=t[1]*i[12]+t[5]*i[13]+t[9]*i[14]+t[13]*i[15],r[2]=t[2]*i[0]+t[6]*i[1]+t[10]*i[2]+t[14]*i[3],r[6]=t[2]*i[4]+t[6]*i[5]+t[10]*i[6]+t[14]*i[7],r[10]=t[2]*i[8]+t[6]*i[9]+t[10]*i[10]+t[14]*i[11],r[14]=t[2]*i[12]+t[6]*i[13]+t[10]*i[14]+t[14]*i[15],r[3]=t[3]*i[0]+t[7]*i[1]+t[11]*i[2]+t[15]*i[3],r[7]=t[3]*i[4]+t[7]*i[5]+t[11]*i[6]+t[15]*i[7],r[11]=t[3]*i[8]+t[7]*i[9]+t[11]*i[10]+t[15]*i[11],r[15]=t[3]*i[12]+t[7]*i[13]+t[11]*i[14]+t[15]*i[15])},I.prototype.translate=function(t,i,r){this.m[12]=this.m[0]*t+this.m[4]*i+this.m[8]*r+this.m[12],this.m[13]=this.m[1]*t+this.m[5]*i+this.m[9]*r+this.m[13],this.m[14]=this.m[2]*t+this.m[6]*i+this.m[10]*r+this.m[14],this.m[15]=this.m[3]*t+this.m[7]*i+this.m[11]*r+this.m[15]},I.prototype.scale=function(t,i,r){this.m[0]*=t,this.m[4]*=i,this.m[8]*=r,this.m[1]*=t,this.m[5]*=i,this.m[9]*=r,this.m[2]*=t,this.m[6]*=i,this.m[10]*=r,this.m[3]*=t,this.m[7]*=i,this.m[11]*=r},I.prototype.rotateX=function(t){var i=St.fcos(t),r=St._$9(t),e=this.m[4];this.m[4]=e*i+this.m[8]*r,this.m[8]=e*-r+this.m[8]*i,e=this.m[5],this.m[5]=e*i+this.m[9]*r,this.m[9]=e*-r+this.m[9]*i,e=this.m[6],this.m[6]=e*i+this.m[10]*r,this.m[10]=e*-r+this.m[10]*i,e=this.m[7],this.m[7]=e*i+this.m[11]*r,this.m[11]=e*-r+this.m[11]*i},I.prototype.rotateY=function(t){var i=St.fcos(t),r=St._$9(t),e=this.m[0];this.m[0]=e*i+this.m[8]*-r,this.m[8]=e*r+this.m[8]*i,e=this.m[1],this.m[1]=e*i+this.m[9]*-r,this.m[9]=e*r+this.m[9]*i,e=m[2],this.m[2]=e*i+this.m[10]*-r,this.m[10]=e*r+this.m[10]*i,e=m[3],this.m[3]=e*i+this.m[11]*-r,this.m[11]=e*r+this.m[11]*i},I.prototype.rotateZ=function(t){var i=St.fcos(t),r=St._$9(t),e=this.m[0];this.m[0]=e*i+this.m[4]*r,this.m[4]=e*-r+this.m[4]*i,e=this.m[1],this.m[1]=e*i+this.m[5]*r,this.m[5]=e*-r+this.m[5]*i,e=this.m[2],this.m[2]=e*i+this.m[6]*r,this.m[6]=e*-r+this.m[6]*i,e=this.m[3],this.m[3]=e*i+this.m[7]*r,this.m[7]=e*-r+this.m[7]*i};function O(t){r||rt.prototype.constructor.call(this,t)}O.prototype=new rt,O._$tP=new Object,O._$27=function(){O._$tP.clear()},O.getID=function(t){var i=O._$tP[t];return null==i&&(i=new O(t),O._$tP[t]=i),i},O.prototype._$3s=function(){return new O};function M(){r||(this._$7=1,this._$f=0,this._$H=0,this._$g=1,this._$k=0,this._$w=0,this._$hi=STATE_IDENTITY,this._$Z=_$pS)}M._$kS=-1,M._$pS=0,M._$hb=1,M.STATE_IDENTITY=0,M._$gb=1,M._$fo=2,M._$go=4,M.prototype.transform=function(t,i,r){var e,_,o,s,n,$,a=0,h=0;switch(this._$hi){default:return;case M._$go|M._$fo|M._$gb:for(e=this._$7,_=this._$H,o=this._$k,s=this._$f,n=this._$g,$=this._$w;--r>=0;){var l=t[a++],u=t[a++];i[h++]=e*l+_*u+o,i[h++]=s*l+n*u+$}return;case M._$go|M._$fo:for(e=this._$7,_=this._$H,s=this._$f,n=this._$g;--r>=0;){l=t[a++],u=t[a++];i[h++]=e*l+_*u,i[h++]=s*l+n*u}return;case M._$go|M._$gb:for(_=this._$H,o=this._$k,s=this._$f,$=this._$w;--r>=0;){l=t[a++];i[h++]=_*t[a++]+o,i[h++]=s*l+$}return;case M._$go:for(_=this._$H,s=this._$f;--r>=0;){l=t[a++];i[h++]=_*t[a++],i[h++]=s*l}return;case M._$fo|M._$gb:for(e=this._$7,o=this._$k,n=this._$g,$=this._$w;--r>=0;)i[h++]=e*t[a++]+o,i[h++]=n*t[a++]+$;return;case M._$fo:for(e=this._$7,n=this._$g;--r>=0;)i[h++]=e*t[a++],i[h++]=n*t[a++];return;case M._$gb:for(o=this._$k,$=this._$w;--r>=0;)i[h++]=t[a++]+o,i[h++]=t[a++]+$;return;case M.STATE_IDENTITY:return void(t==i&&a==h||b._$jT(t,a,i,h,2*r))}},M.prototype.update=function(){0==this._$H&&0==this._$f?1==this._$7&&1==this._$g?0==this._$k&&0==this._$w?(this._$hi=M.STATE_IDENTITY,this._$Z=M._$pS):(this._$hi=M._$gb,this._$Z=M._$hb):0==this._$k&&0==this._$w?(this._$hi=M._$fo,this._$Z=M._$kS):(this._$hi=M._$fo|M._$gb,this._$Z=M._$kS):0==this._$7&&0==this._$g?0==this._$k&&0==this._$w?(this._$hi=M._$go,this._$Z=M._$kS):(this._$hi=M._$go|M._$gb,this._$Z=M._$kS):0==this._$k&&0==this._$w?(this._$hi=M._$go|M._$fo,this._$Z=M._$kS):(this._$hi=M._$go|M._$fo|M._$gb,this._$Z=M._$kS)},M.prototype._$RT=function(t){this._$IT(t);var i=t[0],r=t[2],e=t[1],_=t[3],o=Math.sqrt(i*i+e*e),s=i*_-r*e;0==o?nt._$so&&console.log("affine._$RT() / rt==0"):(t[0]=o,t[1]=s/o,t[2]=(e*_+i*r)/s,t[3]=Math.atan2(e,i))},M.prototype._$ho=function(t,i,r,e){var _=new Float32Array(6),o=new Float32Array(6);t._$RT(_),i._$RT(o);var s=new Float32Array(6);s[0]=_[0]+(o[0]-_[0])*r,s[1]=_[1]+(o[1]-_[1])*r,s[2]=_[2]+(o[2]-_[2])*r,s[3]=_[3]+(o[3]-_[3])*r,s[4]=_[4]+(o[4]-_[4])*r,s[5]=_[5]+(o[5]-_[5])*r,e._$CT(s)},M.prototype._$CT=function(t){var i=Math.cos(t[3]),r=Math.sin(t[3]);this._$7=t[0]*i,this._$f=t[0]*r,this._$H=t[1]*(t[2]*i-r),this._$g=t[1]*(t[2]*r+i),this._$k=t[4],this._$w=t[5],this.update()},M.prototype._$IT=function(t){t[0]=this._$7,t[1]=this._$f,t[2]=this._$H,t[3]=this._$g,t[4]=this._$k,t[5]=this._$w};function F(){r||(s.prototype.constructor.call(this),this.motions=new Array,this._$7r=null,this._$7r=F._$Co++,this._$D0=30,this._$yT=0,this._$E=!0,this.loopFadeIn=!0,this._$AS=-1,_$a0())}F.prototype=new s,F._$cs="VISIBLE:",F._$ar="LAYOUT:",F._$Co=0,F._$D2=[],F._$1T=1,F.loadMotion=function(t){var i=new F,r=[0],e=t.length;i._$yT=0;for(var _=0;_=0){var s=new N;D.startsWith(t,a,F._$cs)?(s._$RP=N._$hs,s._$4P=new String(t,a,h-a)):D.startsWith(t,a,F._$ar)?(s._$4P=new String(t,a+7,h-a-7),D.startsWith(t,a+7,"ANCHOR_X")?s._$RP=N._$xs:D.startsWith(t,a+7,"ANCHOR_Y")?s._$RP=N._$us:D.startsWith(t,a+7,"SCALE_X")?s._$RP=N._$qs:D.startsWith(t,a+7,"SCALE_Y")?s._$RP=N._$Ys:D.startsWith(t,a+7,"X")?s._$RP=N._$ws:D.startsWith(t,a+7,"Y")&&(s._$RP=N._$Ns)):(s._$RP=N._$Fr,s._$4P=new String(t,a,h-a)),i.motions.push(s);var n=0;for(F._$D2.clear(),_=h+1;_0){F._$D2.push(u),n++;var $=r[0];if($<_){console.log("_$n0 _$hi . @Live2DMotion loadMotion()\n");break}_=$}}s._$I0=F._$D2._$BL(),n>i._$yT&&(i._$yT=n)}}}else{for(var a=_,h=-1;_=0)for(h==a+4&&"f"==t[a+1]&&"p"==t[a+2]&&"s"==t[a+3]&&(l=!0),_=h+1;_0&&l&&5=a?a-1:o];t.setParamFloat(h,l)}else if(N._$ws<=$._$RP&&$._$RP<=N._$Ys);else{var u=t.getParamFloat(h),p=$._$I0[o>=a?a-1:o],f=u+(p+($._$I0[o+1>=a?a-1:o+1]-p)*s-u)*r;t.setParamFloat(h,f)}}o>=this._$yT&&(this._$E?(e._$z2=i,this.loopFadeIn&&(e._$bs=i)):e._$9L=!0)},F.prototype._$r0=function(){return this._$E},F.prototype._$aL=function(t){this._$E=t},F.prototype.isLoopFadeIn=function(){return this.loopFadeIn},F.prototype.setLoopFadeIn=function(t){this.loopFadeIn=t};function R(){this._$P=new Float32Array(100),this.size=0}R.prototype.clear=function(){this.size=0},R.prototype.add=function(t){if(this._$P.length<=this.size){var i=new Float32Array(2*this.size);b._$jT(this._$P,0,i,0,this.size),this._$P=i}this._$P[this.size++]=t},R.prototype._$BL=function(){var t=new Float32Array(this.size);return b._$jT(this._$P,0,t,0,this.size),t};function N(){this._$4P=null,this._$I0=null,this._$RP=null}N._$Fr=0,N._$hs=1,N._$ws=100,N._$Ns=101,N._$xs=102,N._$us=103,N._$qs=104,N._$Ys=105;function B(){}B._$Ms=1,B._$Qs=2,B._$i2=0,B._$No=2,B._$do=B._$Ms,B._$Ls=!0,B._$1r=5,B._$Qb=65,B._$J=1e-4,B._$FT=.001,B._$Ss=3;function G(){}G._$o7=6,G._$S7=7,G._$s7=8,G._$77=9,G.LIVE2D_FORMAT_VERSION_V2_10_SDK2=10,G.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1=11,G._$T7=G.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1,G._$Is=-2004318072,G._$h0=0,G._$4L=23,G._$7P=33,G._$uT=function(t){console.log("_$bo :: _$6 _$mo _$E0 : %d\n",t)},G._$9o=function(t){if(t<40)return G._$uT(t),null;if(t<50)return G._$uT(t),null;if(t<60)return G._$uT(t),null;if(t<100)switch(t){case 65:return new Z;case 66:return new C;case 67:return new x;case 68:return new W;case 69:return new d;case 70:return new ht;default:return G._$uT(t),null}else if(t<150)switch(t){case 131:return new ot;case 133:return new tt;case 136:return new l;case 137:return new et;case 142:return new X}return G._$uT(t),null};function U(t){r||(this._$QT=!0,this._$co=-1,this._$qo=0,this._$pb=new Array(U._$is),this._$_2=new Float32Array(U._$is),this._$vr=new Float32Array(U._$is),this._$Rr=new Float32Array(U._$is),this._$Or=new Float32Array(U._$is),this._$fs=new Float32Array(U._$is),this._$Js=new Array(U._$is),this._$3S=new Array,this._$aS=new Array,this._$Bo=null,this._$F2=new Array,this._$db=new Array,this._$8b=new Array,this._$Hr=new Array,this._$Ws=null,this._$Vs=null,this._$Er=null,this._$Es=new Int16Array(B._$Qb),this._$ZP=new Float32Array(2*B._$1r),this._$Ri=t,this._$b0=U._$HP++,this.clipManager=null,this.dp_webgl=null)}U._$HP=0,U._$_0=!0,U._$V2=-1,U._$W0=-1,U._$jr=!1,U._$ZS=!0,U._$tr=-1e6,U._$lr=1e6,U._$is=32,U._$e=!1,U.prototype.getDrawDataIndex=function(t){for(var i=this._$aS.length-1;i>=0;--i)if(null!=this._$aS[i]&&this._$aS[i].getDrawDataID()==t)return i;return-1},U.prototype.getDrawData=function(t){if(t instanceof O){if(null==this._$Bo){this._$Bo=new Object;for(var i=this._$aS.length,r=0;r0&&this.release();for(var t=this._$Ri.getModelImpl(),i=t._$Xr(),r=i.length,e=new Array,o=new Array,s=0;s=0)&&(this._$3S.push(m),this._$db.push(o[s]),e[s]=null,d=!0)}}if(!d)break}var P=t._$E2();if(null!=P){var L=P._$1s();if(null!=L){var S=L.length;for(s=0;s=0;i--)this._$Js[i]=U._$jr;return this._$QT=!1,U._$e&&n.dump("_$eL"),!1},U.prototype.preDraw=function(t){null!=this.clipManager&&(t._$ZT(),this.clipManager.setupClip(this,t))},U.prototype.draw=function(t){if(null!=this._$Ws){var i=this._$Ws.length;t._$ZT();for(var r=0;r=0;--i)if(this._$pb[i]==t)return i;return this._$02(t,0,U._$tr,U._$lr)},U.prototype._$BS=function(t){return this.getBaseDataIndex(t)},U.prototype.getBaseDataIndex=function(t){for(var i=this._$3S.length-1;i>=0;--i)if(null!=this._$3S[i]&&this._$3S[i].getBaseDataID()==t)return i;return-1},U.prototype._$UT=function(t,i){var r=new Float32Array(i);return b._$jT(t,0,r,0,t.length),r},U.prototype._$02=function(t,i,r,e){if(this._$qo>=this._$pb.length){var _=this._$pb.length,o=new Array(2*_);b._$jT(this._$pb,0,o,0,_),this._$pb=o,this._$_2=this._$UT(this._$_2,2*_),this._$vr=this._$UT(this._$vr,2*_),this._$Rr=this._$UT(this._$Rr,2*_),this._$Or=this._$UT(this._$Or,2*_);var s=new Array;b._$jT(this._$Js,0,s,0,_),this._$Js=s}return this._$pb[this._$qo]=t,this._$_2[this._$qo]=i,this._$vr[this._$qo]=i,this._$Rr[this._$qo]=r,this._$Or[this._$qo]=e,this._$Js[this._$qo]=U._$ZS,this._$qo++},U.prototype._$Zo=function(t,i){this._$3S[t]=i},U.prototype.setParamFloat=function(t,i){ithis._$Or[t]&&(i=this._$Or[t]),this._$_2[t]=i},U.prototype.loadParam=function(){var t=this._$_2.length;t>this._$fs.length&&(t=this._$fs.length),b._$jT(this._$fs,0,this._$_2,0,t)},U.prototype.saveParam=function(){var t=this._$_2.length;t>this._$fs.length&&(this._$fs=new Float32Array(t)),b._$jT(this._$_2,0,this._$fs,0,t)},U.prototype._$v2=function(){return this._$co},U.prototype._$WS=function(){return this._$QT},U.prototype._$Xb=function(t){return this._$Js[t]==U._$ZS},U.prototype._$vs=function(){return this._$Es},U.prototype._$Tr=function(){return this._$ZP},U.prototype.getBaseData=function(t){return this._$3S[t]},U.prototype.getParamFloat=function(t){return this._$_2[t]},U.prototype.getParamMax=function(t){return this._$Or[t]},U.prototype.getParamMin=function(t){return this._$Rr[t]},U.prototype.setPartsOpacity=function(t,i){this._$Hr[t].setPartsOpacity(i)},U.prototype.getPartsOpacity=function(t){return this._$Hr[t].getPartsOpacity()},U.prototype.getPartsDataIndex=function(t){for(var i=this._$F2.length-1;i>=0;--i)if(null!=this._$F2[i]&&this._$F2[i]._$p2()==t)return i;return-1},U.prototype._$q2=function(t){return this._$db[t]},U.prototype._$C2=function(t){return this._$8b[t]},U.prototype._$Bb=function(t){return this._$Hr[t]},U.prototype._$5s=function(t,i){for(var r=this._$Ws.length,e=t,_=0;_0;)o+=i;return e},Y._$C=function(t){var i=null,r=null;try{i=t instanceof Array?t:new _$Xs(t,8192),r=new _$js;for(var e,_=new Int8Array(1e3);(e=i.read(_))>0;)r.write(_,0,e);return r._$TS()}finally{null!=t&&t.close(),null!=r&&(r.flush(),r.close())}};function k(){r||(this._$12=null,this._$bb=null,this._$_L=null,this._$jo=null,this._$iL=null,this._$0L=null,this._$Br=null,this._$Dr=null,this._$Cb=null,this._$mr=null,this._$_L=z.STATE_FIRST,this._$Br=4e3,this._$Dr=100,this._$Cb=50,this._$mr=150,this._$jo=!0,this._$iL="PARAM_EYE_L_OPEN",this._$0L="PARAM_EYE_R_OPEN")}k.prototype._$T2=function(){return b.getUserTimeMSec()+Math._$10()*(2*this._$Br-1)},k.prototype._$uo=function(t){this._$Br=t},k.prototype._$QS=function(t,i,r){this._$Dr=t,this._$Cb=i,this._$mr=r},k.prototype._$7T=function(t){var i,r=b.getUserTimeMSec(),e=0;switch(this._$_L){case STATE_CLOSING:(e=(r-this._$bb)/this._$Dr)>=1&&(e=1,this._$_L=z.STATE_CLOSED,this._$bb=r),i=1-e;break;case STATE_CLOSED:(e=(r-this._$bb)/this._$Cb)>=1&&(this._$_L=z.STATE_OPENING,this._$bb=r),i=0;break;case STATE_OPENING:(e=(r-this._$bb)/this._$mr)>=1&&(e=1,this._$_L=z.STATE_INTERVAL,this._$12=this._$T2()),i=e;break;case STATE_INTERVAL:this._$12.9?nt.EXPAND_W:0;this.gl.drawElements($,r,e,_,o,a,this.transform,n)}},V.prototype._$Rs=function(){throw new Error("_$Rs")},V.prototype._$Ds=function(t){throw new Error("_$Ds")},V.prototype._$K2=function(){for(var t=0;t=0;--i){var r=t[i];rH._$R2&&(H._$R2=r)}},H._$or=function(){return H._$52},H._$Pr=function(){return H._$R2},H.prototype._$F0=function(t){this._$gP=t._$nP(),this._$dr=t._$nP(),this._$GS=t._$nP(),this._$qb=t._$6L(),this._$Lb=t._$cS(),this._$mS=t._$Tb(),t.getFormatVersion()>=G._$T7?(this.clipID=t._$nP(),this.clipIDList=this.convertClipIDForV2_11(this.clipID)):this.clipIDList=null,H._$Sb(this._$Lb)},H.prototype.getClipIDList=function(){return this.clipIDList},H.prototype._$Nr=function(t,i){if(i._$IS[0]=!1,i._$Us=L._$Z2(t,this._$GS,i._$IS,this._$Lb),nt._$Zs);else if(i._$IS[0])return;i._$7s=L._$br(t,this._$GS,i._$IS,this._$mS)},H.prototype._$2b=function(t){},H.prototype.getDrawDataID=function(){return this._$gP},H.prototype._$j2=function(t){this._$gP=t},H.prototype.getOpacity=function(t,i){return i._$7s},H.prototype._$zS=function(t,i){return i._$Us},H.prototype.getTargetBaseDataID=function(){return this._$dr},H.prototype._$gs=function(t){this._$dr=t},H.prototype._$32=function(){return null!=this._$dr&&this._$dr!=gt._$2o()},H.prototype.getType=function(){};function X(){r||(this._$NL=null,this._$3S=null,this._$aS=null,X._$42++)}X._$42=0,X.prototype._$1b=function(){return this._$3S},X.prototype.getDrawDataList=function(){return this._$aS},X.prototype._$F0=function(t){this._$NL=t._$nP(),this._$aS=t._$nP(),this._$3S=t._$nP()},X.prototype._$kr=function(t){t._$Zo(this._$3S),t._$xo(this._$aS),this._$3S=null,this._$aS=null};function J(){r||(e.prototype.constructor.call(this),this._$zo=new V)}J.prototype=new e,J.loadModel=function(t){var i=new J;return e._$62(i,t),i},J.loadModel=function(t){var i=new J;return e._$62(i,t),i},J._$to=function(){return new J},J._$er=function(t){var i=new _$5("../_$_r/_$t0/_$Ri/_$_P._$d");if(0==i.exists())throw new _$ls("_$t0 _$_ _$6 _$Ui :: "+i._$PL());for(var r=["../_$_r/_$t0/_$Ri/_$_P.512/_$CP._$1","../_$_r/_$t0/_$Ri/_$_P.512/_$vP._$1","../_$_r/_$t0/_$Ri/_$_P.512/_$EP._$1","../_$_r/_$t0/_$Ri/_$_P.512/_$pP._$1"],e=J.loadModel(i._$3b()),_=0;_=0){var n=new N;D.startsWith(t,l,Q._$cs)?(n._$RP=N._$hs,n._$4P=D.createString(t,l,u-l)):D.startsWith(t,l,Q._$ar)?(n._$4P=D.createString(t,l+7,u-l-7),D.startsWith(t,l+7,"ANCHOR_X")?n._$RP=N._$xs:D.startsWith(t,l+7,"ANCHOR_Y")?n._$RP=N._$us:D.startsWith(t,l+7,"SCALE_X")?n._$RP=N._$qs:D.startsWith(t,l+7,"SCALE_Y")?n._$RP=N._$Ys:D.startsWith(t,l+7,"X")?n._$RP=N._$ws:D.startsWith(t,l+7,"Y")&&(n._$RP=N._$Ns)):(n._$RP=N._$Fr,n._$4P=D.createString(t,l,u-l)),i.motions.push(n);var $=0,a=[];for(_=u+1;_0){a.push(f),$++;var h=r[0];if(h<_){console.log("_$n0 _$hi . @Live2DMotion loadMotion()\n");break}_=h-1}}n._$I0=new Float32Array(a),$>i._$yT&&(i._$yT=$)}}}else{for(var l=_,u=-1;_=0)for(u==l+4&&"f"==j(t,l+1)&&"p"==j(t,l+2)&&"s"==j(t,l+3)&&(p=!0),_=u+1;_0&&p&&5=a?a-1:o];t.setParamFloat(h,l)}else if(N._$ws<=$._$RP&&$._$RP<=N._$Ys);else{var u=t.getParamIndex(h),p=t.getModelContext(),f=.4*(p.getParamMax(u)-p.getParamMin(u)),c=p.getParamFloat(u),y=$._$I0[o>=a?a-1:o],g=$._$I0[o+1>=a?a-1:o+1],d=c+((yf||y>g&&y-g>f?y:y+(g-y)*s)-c)*r;t.setParamFloat(h,d)}}o>=this._$yT&&(this._$E?(e._$z2=i,this.loopFadeIn&&(e._$bs=i)):e._$9L=!0),this._$eP=r},Q.prototype._$r0=function(){return this._$E},Q.prototype._$aL=function(t){this._$E=t},Q.prototype._$S0=function(){return this._$D0},Q.prototype._$U0=function(t){this._$D0=t},Q.prototype.isLoopFadeIn=function(){return this.loopFadeIn},Q.prototype.setLoopFadeIn=function(t){this.loopFadeIn=t};function R(){this._$P=new Float32Array(100),this.size=0}R.prototype.clear=function(){this.size=0},R.prototype.add=function(t){if(this._$P.length<=this.size){var i=new Float32Array(2*this.size);b._$jT(this._$P,0,i,0,this.size),this._$P=i}this._$P[this.size++]=t},R.prototype._$BL=function(){var t=new Float32Array(this.size);return b._$jT(this._$P,0,t,0,this.size),t};function N(){this._$4P=null,this._$I0=null,this._$RP=null}N._$Fr=0,N._$hs=1,N._$ws=100,N._$Ns=101,N._$xs=102,N._$us=103,N._$qs=104,N._$Ys=105;function Z(){r||(E.prototype.constructor.call(this),this._$o=0,this._$A=0,this._$GS=null,this._$Eo=null)}Z.prototype=new E,Z._$gT=new Array,Z.prototype._$zP=function(){this._$GS=new C,this._$GS._$zP()},Z.prototype._$F0=function(t){E.prototype._$F0.call(this,t),this._$A=t._$6L(),this._$o=t._$6L(),this._$GS=t._$nP(),this._$Eo=t._$nP(),E.prototype.readV2_opacity.call(this,t)},Z.prototype.init=function(t){var i=new K(this),r=(this._$o+1)*(this._$A+1);return null!=i._$Cr&&(i._$Cr=null),i._$Cr=new Float32Array(2*r),null!=i._$hr&&(i._$hr=null),this._$32()?i._$hr=new Float32Array(2*r):i._$hr=null,i},Z.prototype._$Nr=function(t,i){var r=i;if(this._$GS._$Ur(t)){var e=this._$VT(),_=Z._$gT;_[0]=!1,L._$Vr(t,this._$GS,_,e,this._$Eo,r._$Cr,0,2),i._$Ib(_[0]),this.interpolateOpacity(t,this._$GS,i,_)}},Z.prototype._$2b=function(t,i){var r=i;if(r._$hS(!0),this._$32()){var e=this.getTargetBaseDataID();if(r._$8r==E._$ur&&(r._$8r=t.getBaseDataIndex(e)),r._$8r<0)nt._$so&&n._$li("_$L _$0P _$G :: %s",e),r._$hS(!1);else{var _=t.getBaseData(r._$8r),o=t._$q2(r._$8r);if(null!=_&&o._$yo()){var s=o.getTotalScale();r.setTotalScale_notForClient(s);var $=o.getTotalOpacity();r.setTotalOpacity($*r.getInterpolatedOpacity()),_._$nb(t,o,r._$Cr,r._$hr,this._$VT(),0,2),r._$hS(!0)}else r._$hS(!1)}}else r.setTotalOpacity(r.getInterpolatedOpacity())},Z.prototype._$nb=function(t,i,r,e,_,o,s){var n=i,$=null!=n._$hr?n._$hr:n._$Cr;Z.transformPoints_sdk2(r,e,_,o,s,$,this._$o,this._$A)},Z.transformPoints_sdk2=function(i,r,e,_,o,s,n,$){for(var a,h,l,u=e*o,p=0,f=0,c=0,y=0,g=0,d=0,m=!1,T=_;T=1){M=s[2*(0+$*w)],F=s[2*(0+$*w)+1],R=p-2*c+1*g,N=f-2*y+1*d,D=p+3*g,C=f+3*d,I=p-2*c+3*g,O=f-2*y+3*d;(B=.5*(S- -2))+(G=.5*(v-1))<=1?(r[T]=R+(M-R)*B+(I-R)*G,r[T+1]=N+(F-N)*B+(O-N)*G):(r[T]=D+(I-D)*(1-B)+(M-D)*(1-G),r[T+1]=C+(O-C)*(1-B)+(F-C)*(1-G))}else{(k=0|L)==$&&(k=$-1);var B=.5*(S- -2),G=L-k,U=k/$,Y=(k+1)/$;M=s[2*(0+k*w)],F=s[2*(0+k*w)+1],D=s[2*(0+(k+1)*w)],C=s[2*(0+(k+1)*w)+1],R=p-2*c+U*g,N=f-2*y+U*d,I=p-2*c+Y*g,O=f-2*y+Y*d;B+G<=1?(r[T]=R+(M-R)*B+(I-R)*G,r[T+1]=N+(F-N)*B+(O-N)*G):(r[T]=D+(I-D)*(1-B)+(M-D)*(1-G),r[T+1]=C+(O-C)*(1-B)+(F-C)*(1-G))}else if(1<=S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I-D)*(1-B)+(M-D)*(1-G),r[T+1]=C+(O-C)*(1-B)+(F-C)*(1-G))}else if(v>=1){var W;(W=0|P)==n&&(W=n-1);B=P-W,G=.5*(v-1),z=W/n,V=(W+1)/n,R=s[2*(W+$*w)],N=s[2*(W+$*w)+1],M=s[2*(W+1+$*w)],F=s[2*(W+1+$*w)+1],I=p+z*c+3*g,O=f+z*y+3*d,D=p+V*c+3*g,C=f+V*y+3*d;B+G<=1?(r[T]=R+(M-R)*B+(I-R)*G,r[T+1]=N+(F-N)*B+(O-N)*G):(r[T]=D+(I-D)*(1-B)+(M-D)*(1-G),r[T+1]=C+(O-C)*(1-B)+(F-C)*(1-G))}else t.err.printf("_$li calc : %.4f , %.4f @@BDBoxGrid\n",S,v);else r[T]=p+S*c+v*g,r[T+1]=f+S*y+v*d}else a=2*((0|P)+(0|L)*(n+1)),(h=P-(0|P))+(l=L-(0|L))<1?(r[T]=s[a]*(1-h-l)+s[a+2]*h+s[a+2*(n+1)]*l,r[T+1]=s[a+1]*(1-h-l)+s[a+3]*h+s[a+2*(n+1)+1]*l):(r[T]=s[a+2*(n+1)+2]*(h-1+l)+s[a+2*(n+1)]*(1-h)+s[a+2]*(1-l),r[T+1]=s[a+2*(n+1)+3]*(h-1+l)+s[a+2*(n+1)+1]*(1-h)+s[a+3]*(1-l))}},Z.prototype.transformPoints_sdk1=function(t,i,r,e,_,o,s){for(var n,$,a,h,l,u,p,f=i,c=this._$o,y=this._$A,g=_*s,d=null!=f._$hr?f._$hr:f._$Cr,m=o;m1&&(n=1),$<0?$=0:$>1&&($=1),h=0|($*=y),(a=0|(n*=c))>c-1&&(a=c-1),h>y-1&&(h=y-1),u=n-a,p=$-h,l=2*(a+h*(c+1))):(u=(n=r[m]*c)-(0|n),p=($=r[m+1]*y)-(0|$),l=2*((0|n)+(0|$)*(c+1))),u+p<1?(e[m]=d[l]*(1-u-p)+d[l+2]*u+d[l+2*(c+1)]*p,e[m+1]=d[l+1]*(1-u-p)+d[l+3]*u+d[l+2*(c+1)+1]*p):(e[m]=d[l+2*(c+1)+2]*(u-1+p)+d[l+2*(c+1)]*(1-u)+d[l+2]*(1-p),e[m+1]=d[l+2*(c+1)+3]*(u-1+p)+d[l+2*(c+1)+1]*(1-u)+d[l+3]*(1-p))},Z.prototype._$VT=function(){return(this._$o+1)*(this._$A+1)},Z.prototype.getType=function(){return E._$_b};function K(t){st.prototype.constructor.call(this,t),this._$8r=E._$ur,this._$Cr=null,this._$hr=null}K.prototype=new st;function tt(){r||(this.visible=!0,this._$g0=!1,this._$NL=null,this._$3S=null,this._$aS=null,tt._$42++)}tt._$42=0,tt.prototype._$zP=function(){this._$3S=new Array,this._$aS=new Array},tt.prototype._$F0=function(t){this._$g0=t._$8L(),this.visible=t._$8L(),this._$NL=t._$nP(),this._$3S=t._$nP(),this._$aS=t._$nP()},tt.prototype.init=function(t){var i=new it(this);return i.setPartsOpacity(this.isVisible()?1:0),i},tt.prototype._$6o=function(t){if(null==this._$3S)throw new Error("_$3S _$6 _$Wo@_$6o");this._$3S.push(t)},tt.prototype._$3o=function(t){if(null==this._$aS)throw new Error("_$aS _$6 _$Wo@_$3o");this._$aS.push(t)},tt.prototype._$Zo=function(t){this._$3S=t},tt.prototype._$xo=function(t){this._$aS=t},tt.prototype.isVisible=function(){return this.visible},tt.prototype._$uL=function(){return this._$g0},tt.prototype._$KP=function(t){this.visible=t},tt.prototype._$ET=function(t){this._$g0=t},tt.prototype.getBaseData=function(){return this._$3S},tt.prototype.getDrawData=function(){return this._$aS},tt.prototype._$p2=function(){return this._$NL},tt.prototype._$ob=function(t){this._$NL=t},tt.prototype.getPartsID=function(){return this._$NL},tt.prototype._$MP=function(t){this._$NL=t};function it(t){this._$VS=null,this._$e0=null,this._$e0=t}it.prototype=new function(){},it.prototype.getPartsOpacity=function(){return this._$VS},it.prototype.setPartsOpacity=function(t){this._$VS=t};function rt(t){r||(this.id=t)}rt._$L7=function(){h._$27(),gt._$27(),O._$27(),a._$27()},rt.prototype.toString=function(){return this.id};function et(){r||(this._$4S=null)}et.prototype._$1s=function(){return this._$4S},et.prototype._$zP=function(){this._$4S=new Array},et.prototype._$F0=function(t){this._$4S=t._$nP()},et.prototype._$Ks=function(t){this._$4S.push(t)};function _t(t,i){this.canvas=t,this.context=i,this.viewport=new Array(0,0,t.width,t.height),this._$6r=1,this._$xP=0,this._$3r=1,this._$uP=0,this._$Qo=-1,this.cacheImages={}}_t.tr=new yt,_t._$50=new yt,_t._$Ti=new Array(0,0),_t._$Pi=new Array(0,0),_t._$B=new Array(0,0),_t.prototype._$lP=function(t,i,r,e){this.viewport=new Array(t,i,r,e)},_t.prototype._$bL=function(){this.context.save();var t=this.viewport;null!=t&&(this.context.beginPath(),this.context._$Li(t[0],t[1],t[2],t[3]),this.context.clip())},_t.prototype._$ei=function(){this.context.restore()},_t.prototype.drawElements=function(t,i,r,e,_,o,s,$){try{_!=this._$Qo&&(this._$Qo=_,this.context.globalAlpha=_);for(var a=i.length,h=t.width,l=t.height,u=this.context,p=this._$xP,f=this._$uP,c=this._$6r,y=this._$3r,g=_t.tr,d=_t._$Ti,m=_t._$Pi,P=_t._$B,L=0;L.02?_t.expandClip(t,i,r,e,h,l,u,p,f,c):_t.clipWithTransform(t,null,_,o,s,n,$,a)},_t.expandClip=function(t,i,r,e,_,o,s,n,$,a){var h=s-_,l=n-o,u=$-_,p=a-o,f=h*p-l*u>0?r:-r,c=-l,y=h,g=$-s,d=a-n,m=-d,T=g,P=Math.sqrt(g*g+d*d),L=-p,S=u,v=Math.sqrt(u*u+p*p),w=_-f*c/e,A=o-f*y/e,E=s-f*c/e,b=n-f*y/e,x=s-f*m/P,D=n-f*T/P,C=$-f*m/P,I=a-f*T/P,O=_+f*L/v,M=o+f*S/v,F=$+f*L/v,R=a+f*S/v,N=_t._$50;return null!=i._$P2(N)&&(_t.clipWithTransform(t,N,w,A,E,b,x,D,C,I,F,R,O,M),!0)},_t.clipWithTransform=function(t,i,r,e,_,o,s,$){if(arguments.length<7)n._$li("err : @LDGL.clip()");else if(arguments[1]instanceof yt){var a=_t._$B,h=i,l=arguments;if(t.beginPath(),h){h._$PS(l[2],l[3],a),t.moveTo(a[0],a[1]);for(var u=4;u1?1:.5-.5*Math.cos(t*St.PI_F)};function at(t){r||(this._$ib=t)}at._$fr=-1,at.prototype.toString=function(){return this._$ib};function ht(){r||(H.prototype.constructor.call(this),this._$LP=-1,this._$d0=0,this._$Yo=0,this._$JP=null,this._$5P=null,this._$BP=null,this._$Eo=null,this._$Qi=null,this._$6s=ht._$ms,this.culling=!0,this.gl_cacheImage=null,this.instanceNo=ht._$42++)}ht.prototype=new H,ht._$42=0,ht._$Os=30,ht._$ms=0,ht._$ns=1,ht._$_s=2,ht._$gT=new Array,ht.prototype._$_S=function(t){this._$LP=t},ht.prototype.getTextureNo=function(){return this._$LP},ht.prototype._$ZL=function(){return this._$Qi},ht.prototype._$H2=function(){return this._$JP},ht.prototype.getNumPoints=function(){return this._$d0},ht.prototype.getType=function(){return H._$wb},ht.prototype._$B2=function(t,i,r){var e=i,_=null!=e._$hr?e._$hr:e._$Cr;switch(B._$do){default:case B._$Ms:throw new Error("_$L _$ro ");case B._$Qs:for(var o=this._$d0-1;o>=0;--o){_[o*B._$No+4]=r}}},ht.prototype._$zP=function(){this._$GS=new C,this._$GS._$zP()},ht.prototype._$F0=function(t){H.prototype._$F0.call(this,t),this._$LP=t._$6L(),this._$d0=t._$6L(),this._$Yo=t._$6L();var i=t._$nP();this._$BP=new Int16Array(3*this._$Yo);for(var r=3*this._$Yo-1;r>=0;--r)this._$BP[r]=i[r];if(this._$Eo=t._$nP(),this._$Qi=t._$nP(),t.getFormatVersion()>=G._$s7){if(this._$JP=t._$6L(),0!=this._$JP){if(0!=(1&this._$JP)){var e=t._$6L();null==this._$5P&&(this._$5P=new Object),this._$5P._$Hb=parseInt(e)}0!=(this._$JP&ht._$Os)?this._$6s=(this._$JP&ht._$Os)>>1:this._$6s=ht._$ms,0!=(32&this._$JP)&&(this.culling=!1)}}else this._$JP=0},ht.prototype.init=function(t){var i=new lt(this),r=this._$d0*B._$No,e=this._$32();null!=i._$Cr&&(i._$Cr=null),i._$Cr=new Float32Array(r),null!=i._$hr&&(i._$hr=null),i._$hr=e?new Float32Array(r):null;switch(B._$do){default:case B._$Ms:if(B._$Ls)for(var _=this._$d0-1;_>=0;--_){var o=_<<1;this._$Qi[o+1]=1-this._$Qi[o+1]}break;case B._$Qs:for(_=this._$d0-1;_>=0;--_){o=_<<1;var s=_*B._$No,n=this._$Qi[o],$=this._$Qi[o+1];i._$Cr[s]=n,i._$Cr[s+1]=$,i._$Cr[s+4]=0,e&&(i._$hr[s]=n,i._$hr[s+1]=$,i._$hr[s+4]=0)}}return i},ht.prototype._$Nr=function(t,i){var r=i;if(this!=r._$GT()&&console.log("### assert!! ### "),this._$GS._$Ur(t)&&(H.prototype._$Nr.call(this,t,r),!r._$IS[0])){var e=ht._$gT;e[0]=!1,L._$Vr(t,this._$GS,e,this._$d0,this._$Eo,r._$Cr,B._$i2,B._$No)}},ht.prototype._$2b=function(t,i){try{this!=i._$GT()&&console.log("### assert!! ### ");var r=!1;i._$IS[0]&&(r=!0);var e=i;if(!r&&(H.prototype._$2b.call(this,t),this._$32())){var _=this.getTargetBaseDataID();if(e._$8r==H._$ur&&(e._$8r=t.getBaseDataIndex(_)),e._$8r<0)nt._$so&&n._$li("_$L _$0P _$G :: %s",_);else{var o=t.getBaseData(e._$8r),s=t._$q2(e._$8r);null==o||s._$x2()?e._$AT=!1:(o._$nb(t,s,e._$Cr,e._$hr,this._$d0,B._$i2,B._$No),e._$AT=!0),e.baseOpacity=s.getTotalOpacity()}}}catch(t){throw t}},ht.prototype.draw=function(t,i,r){if(this!=r._$GT()&&console.log("### assert!! ### "),!r._$IS[0]){var e=r,_=this._$LP;_<0&&(_=1);var o=this.getOpacity(i,e)*r._$VS*r.baseOpacity,s=null!=e._$hr?e._$hr:e._$Cr;t.setClipBufPre_clipContextForDraw(r.clipBufPre_clipContext),t._$WP(this.culling),t._$Uo(_,3*this._$Yo,this._$BP,s,this._$Qi,o,this._$6s,e)}},ht.prototype.dump=function(){console.log(" _$yi( %d ) , _$d0( %d ) , _$Yo( %d ) \n",this._$LP,this._$d0,this._$Yo),console.log(" _$Oi _$di = { ");for(var t=0;tstartMotion() / start _$K _$3 (m%d)\n",e,r._$sr));if(null==t)return-1;(r=new ct)._$w0=t,this.motions.push(r);var o=r._$sr;return this._$eb&&n._$Ji("MotionQueueManager[size:%2d]->startMotion() / new _$w0 (m%d)\n",e,o),o},ft.prototype.updateParam=function(t){try{for(var i=!1,r=0;rupdateParam() / _$T0 _$w0 (m%d)\n",this.motions.length-1,e._$sr),this.motions.splice(r,1),r--)):(this.motions=this.motions.splice(r,1),r--)}else this.motions.splice(r,1),r--}return i}catch(t){return n._$li(t),!0}},ft.prototype.isFinished=function(t){if(arguments.length>=1){for(var i=0;i.9&&nt.EXPAND_W;var $=this.gl;if(null==this.gl)throw new Error("gl is null");var a=1*this._$C0*o,h=1*this._$tT*o,l=1*this._$WL*o,u=this._$lT*o;if(null!=this.clipBufPre_clipContextMask){$.frontFace($.CCW),$.useProgram(this.shaderProgram),this._$vS=mt($,this._$vS,e),this._$no=Tt($,this._$no,r),$.enableVertexAttribArray(this.a_position_Loc),$.vertexAttribPointer(this.a_position_Loc,2,$.FLOAT,!1,0,0),this._$NT=mt($,this._$NT,_),$.activeTexture($.TEXTURE1),$.bindTexture($.TEXTURE_2D,this.textures[t]),$.uniform1i(this.s_texture0_Loc,1),$.enableVertexAttribArray(this.a_texCoord_Loc),$.vertexAttribPointer(this.a_texCoord_Loc,2,$.FLOAT,!1,0,0),$.uniformMatrix4fv(this.u_matrix_Loc,!1,this.getClipBufPre_clipContextMask().matrixForMask);var p=this.getClipBufPre_clipContextMask().layoutChannelNo,f=this.getChannelFlagAsColor(p);$.uniform4f(this.u_channelFlag,f.r,f.g,f.b,f.a);var c=this.getClipBufPre_clipContextMask().layoutBounds;$.uniform4f(this.u_baseColor_Loc,2*c.x-1,2*c.y-1,2*c._$EL()-1,2*c._$5T()-1),$.uniform1i(this.u_maskFlag_Loc,!0)}else if(null!=this.getClipBufPre_clipContextDraw()){$.useProgram(this.shaderProgramOff),this._$vS=mt($,this._$vS,e),this._$no=Tt($,this._$no,r),$.enableVertexAttribArray(this.a_position_Loc_Off),$.vertexAttribPointer(this.a_position_Loc_Off,2,$.FLOAT,!1,0,0),this._$NT=mt($,this._$NT,_),$.activeTexture($.TEXTURE1),$.bindTexture($.TEXTURE_2D,this.textures[t]),$.uniform1i(this.s_texture0_Loc_Off,1),$.enableVertexAttribArray(this.a_texCoord_Loc_Off),$.vertexAttribPointer(this.a_texCoord_Loc_Off,2,$.FLOAT,!1,0,0),$.uniformMatrix4fv(this.u_clipMatrix_Loc_Off,!1,this.getClipBufPre_clipContextDraw().matrixForDraw),$.uniformMatrix4fv(this.u_matrix_Loc_Off,!1,this.matrix4x4),$.activeTexture($.TEXTURE2),$.bindTexture($.TEXTURE_2D,nt.fTexture[this.glno]),$.uniform1i(this.s_texture1_Loc_Off,2);p=this.getClipBufPre_clipContextDraw().layoutChannelNo,f=this.getChannelFlagAsColor(p);$.uniform4f(this.u_channelFlag_Loc_Off,f.r,f.g,f.b,f.a),$.uniform4f(this.u_baseColor_Loc_Off,a,h,l,u)}else $.useProgram(this.shaderProgram),this._$vS=mt($,this._$vS,e),this._$no=Tt($,this._$no,r),$.enableVertexAttribArray(this.a_position_Loc),$.vertexAttribPointer(this.a_position_Loc,2,$.FLOAT,!1,0,0),this._$NT=mt($,this._$NT,_),$.activeTexture($.TEXTURE1),$.bindTexture($.TEXTURE_2D,this.textures[t]),$.uniform1i(this.s_texture0_Loc,1),$.enableVertexAttribArray(this.a_texCoord_Loc),$.vertexAttribPointer(this.a_texCoord_Loc,2,$.FLOAT,!1,0,0),$.uniformMatrix4fv(this.u_matrix_Loc,!1,this.matrix4x4),$.uniform4f(this.u_baseColor_Loc,a,h,l,u),$.uniform1i(this.u_maskFlag_Loc,!1);this.culling?this.gl.enable($.CULL_FACE):this.gl.disable($.CULL_FACE),this.gl.enable($.BLEND);var y,g,d,m;if(null!=this.clipBufPre_clipContextMask)y=$.ONE,g=$.ONE_MINUS_SRC_ALPHA,d=$.ONE,m=$.ONE_MINUS_SRC_ALPHA;else switch(s){case ht._$ms:y=$.ONE,g=$.ONE_MINUS_SRC_ALPHA,d=$.ONE,m=$.ONE_MINUS_SRC_ALPHA;break;case ht._$ns:y=$.ONE,g=$.ONE,d=$.ZERO,m=$.ONE;break;case ht._$_s:y=$.DST_COLOR,g=$.ONE_MINUS_SRC_ALPHA,d=$.ZERO,m=$.ONE}$.blendEquationSeparate($.FUNC_ADD,$.FUNC_ADD),$.blendFuncSeparate(y,g,d,m),this.anisotropyExt&&$.texParameteri($.TEXTURE_2D,this.anisotropyExt.TEXTURE_MAX_ANISOTROPY_EXT,this.maxAnisotropy);var T=r.length;$.drawElements($.TRIANGLES,T,$.UNSIGNED_SHORT,0),$.bindTexture($.TEXTURE_2D,null)}};function mt(t,i,r){return null==i&&(i=t.createBuffer()),t.bindBuffer(t.ARRAY_BUFFER,i),t.bufferData(t.ARRAY_BUFFER,r,t.DYNAMIC_DRAW),i}function Tt(t,i,r){return null==i&&(i=t.createBuffer()),t.bindBuffer(t.ELEMENT_ARRAY_BUFFER,i),t.bufferData(t.ELEMENT_ARRAY_BUFFER,r,t.DYNAMIC_DRAW),i}dt.prototype._$Rs=function(){throw new Error("_$Rs")},dt.prototype._$Ds=function(t){throw new Error("_$Ds")},dt.prototype._$K2=function(){for(var t=0;t=48){var e=G._$9o(t);return null!=e?(e._$F0(this),e):null}switch(t){case 1:return this._$bT();case 10:return new function(){r||(this.color=null)}(this._$6L(),!0);case 11:return new P(this._$mP(),this._$mP(),this._$mP(),this._$mP());case 12:return new P(this._$_T(),this._$_T(),this._$_T(),this._$_T());case 13:return new S(this._$mP(),this._$mP());case 14:return new S(this._$_T(),this._$_T());case 15:for(var _=this._$3L(),o=new Array(_),s=0;s<_;s++)o[s]=this._$nP();return o;case 17:return o=new M(this._$mP(),this._$mP(),this._$mP(),this._$mP(),this._$mP(),this._$mP());case 21:return new $(this._$6L(),this._$6L(),this._$6L(),this._$6L());case 22:return new ut(this._$6L(),this._$6L());case 23:throw new Error("_$L _$ro ");case 16:case 25:return this._$cS();case 26:return this._$5b();case 27:return this._$Tb();case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 18:case 19:case 20:case 24:case 28:throw new at("_$6 _$q : _$nP() of 2-9 ,18,19,20,24,28 : "+t);default:throw new at("_$6 _$q : _$nP() NO _$i : "+t)}},Pt.prototype._$8L=function(){return 0==this._$hL?this._$v0=this._$ST():8==this._$hL&&(this._$v0=this._$ST(),this._$hL=0),1==(this._$v0>>7-this._$hL++&1)},Pt.prototype._$zT=function(){0!=this._$hL&&(this._$hL=0)};function St(){}St._$2S=Math.PI/180,St._$bS=Math.PI/180,St._$wS=180/Math.PI,St._$NS=180/Math.PI,St.PI_F=Math.PI,St._$kT=[0,.012368,.024734,.037097,.049454,.061803,.074143,.086471,.098786,.111087,.12337,.135634,.147877,.160098,.172295,.184465,.196606,.208718,.220798,.232844,.244854,.256827,.268761,.280654,.292503,.304308,.316066,.327776,.339436,.351044,.362598,.374097,.385538,.396921,.408243,.419502,.430697,.441826,.452888,.463881,.474802,.485651,.496425,.507124,.517745,.528287,.538748,.549126,.559421,.56963,.579752,.589785,.599728,.609579,.619337,.629,.638567,.648036,.657406,.666676,.675843,.684908,.693867,.70272,.711466,.720103,.72863,.737045,.745348,.753536,.76161,.769566,.777405,.785125,.792725,.800204,.807561,.814793,.821901,.828884,.835739,.842467,.849066,.855535,.861873,.868079,.874153,.880093,.885898,.891567,.897101,.902497,.907754,.912873,.917853,.922692,.92739,.931946,.936359,.940629,.944755,.948737,.952574,.956265,.959809,.963207,.966457,.96956,.972514,.97532,.977976,.980482,.982839,.985045,.987101,.989006,.990759,.992361,.993811,.995109,.996254,.997248,.998088,.998776,.999312,.999694,.999924,1],St._$92=function(t,i){var r=Math.atan2(t[1],t[0]),e=Math.atan2(i[1],i[0]);return St._$tS(r,e)},St._$tS=function(t,i){for(var r=t-i;r<-Math.PI;)r+=2*Math.PI;for(;r>Math.PI;)r-=2*Math.PI;return r},St._$9=function(t){return Math.sin(t)},St.fcos=function(t){return Math.cos(t)};function vt(t){r||(this._$e0=null,this._$IP=null,this._$Us=null,this._$7s=null,this._$IS=[!1],this._$VS=null,this._$AT=!0,this.baseOpacity=1,this.clipBufPre_clipContext=null,this._$e0=t)}vt.prototype._$u2=function(){return this._$IS[0]},vt.prototype._$yo=function(){return this._$AT&&!this._$IS[0]},vt.prototype._$GT=function(){return this._$e0};function wt(){}wt._$W2=0,wt.SYSTEM_INFO=null,wt.USER_AGENT=navigator.userAgent,wt.isIPhone=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO._isIPhone},wt.isIOS=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO._isIPhone||wt.SYSTEM_INFO._isIPad},wt.isAndroid=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO._isAndroid},wt.getOSVersion=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO.version},wt.getOS=function(){return wt.SYSTEM_INFO||wt.setup(),wt.SYSTEM_INFO._isIPhone||wt.SYSTEM_INFO._isIPad?"iOS":wt.SYSTEM_INFO._isAndroid?"Android":"_$Q0 OS"},wt.setup=function(){var t=wt.USER_AGENT;function i(t,i){for(var r=t.substring(i).split(/[ _,;\.]/),e=0,_=0;_<=2&&!isNaN(r[_]);_++){var o=parseInt(r[_]);if(o<0||o>999){n._$li("err : "+o+" @UtHtml5.setup()"),e=0;break}e+=o*Math.pow(1e3,2-_)}return e}var r,e=wt.SYSTEM_INFO={userAgent:t};if((r=t.indexOf("iPhone OS "))>=0)e.os="iPhone",e._isIPhone=!0,e.version=i(t,r+"iPhone OS ".length);else if((r=t.indexOf("iPad"))>=0){if((r=t.indexOf("CPU OS"))<0)return void n._$li(" err : "+t+" @UtHtml5.setup()");e.os="iPad",e._isIPad=!0,e.version=i(t,r+"CPU OS ".length)}else(r=t.indexOf("Android"))>=0?(e.os="Android",e._isAndroid=!0,e.version=i(t,r+"Android ".length)):(e.os="-",e.version=-1)},nt.init();r=!1;i.UtSystem=b,i.UtDebug=n,i.LDTransform=yt,i.LDGL=_t,i.Live2D=nt,i.Live2DModelWebGL=pt,i.Live2DModelJS=J,i.Live2DMotion=Q,i.MotionQueueManager=ft,i.PhysicsHair=u,i.AMotion=s,i.PartsDataID=a,i.DrawDataID=O,i.BaseDataID=gt,i.ParamID=h}).call(i,r(134))},134:function(t,i){t.exports={import:function(){throw new Error("System.import cannot be used indirectly")}}},135:function(t,i){},136:function(t,i){},137:function(t,i){},138:function(t,i){}}); //# sourceMappingURL=clL2D.0.min.js.map \ No newline at end of file diff --git a/lib/clL2D.0.min.js.map b/lib/clL2D.0.min.js.map index 8859a1d..66ff0df 100644 --- a/lib/clL2D.0.min.js.map +++ b/lib/clL2D.0.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./src/_cLive2DApp.js"],"names":["_configMgr","__webpack_require__","console","log","config"],"mappings":";iHA0CA,IAAAA,EAAAC,EAAA,cAEe,WACbC,QAAQC,IAAI,WACZD,QAAQC,IAARH,EAAAI","file":"clL2D.0.min.js","sourcesContent":["/*import {\n UtSystem,\n UtDebug,\n LDTransform,\n LDGL,\n Live2D,\n Live2DModelWebGL,\n Live2DModelJS,\n Live2DMotion,\n MotionQueueManager,\n PhysicsHair,\n AMotion,\n PartsDataID,\n DrawDataID,\n BaseDataID,\n ParamID\n} from './lib/live2d.min';*//*\nimport './lib/live2d.min.js';\nimport { createCanvas, initCanvas } from \"./lib/canvasManager\";\nimport { device } from 'current-device';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport cManager from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport { setContext } from \"./lib/webGLContext\";\nimport { cDefine } from \"./cDefine\";\n\nconst live2DMgr = new cManager();\nlet isDrawStart = false;\nlet gl = null;\nlet canvas = null;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n*/\n\nimport { config }from './config/configMgr.js';\n\nexport default () => {\n console.log('config:');\n console.log(config);\n/*\n headPos = typeof iHeadPos === 'undefined' ? 0.5 : iHeadPos;\n opacityDefault = typeof iOpacityDefault === 'undefined' ? 0.7 : iOpacityDefault;\n opacityHover = typeof iOpacityHover === 'undefined' ? 1 : iOpacityHover;\n initSettings();\n createCanvas(iID);\n initCanvas(iID);\n init(iModelUrl);*/\n}\n\n\nfunction init(modelUrl) {\n // 此处获取的是canvas的大小 即绘制大小,与实际显示大小无关\n let width = canvas.width;\n let height = canvas.height;\n // 以下为实际显示大小\n // #32\n let sWidth = parseInt(canvas.style.width);\n let sHeight = parseInt(canvas.style.height);\n\n dragMgr = new L2DTargetPoint();\n let ratio = height / width;\n let left = cDefine.VIEW_LOGICAL_LEFT;\n let right = cDefine.VIEW_LOGICAL_RIGHT;\n let bottom = -ratio;\n let top = ratio;\n\n viewMatrix = new L2DViewMatrix();\n\n viewMatrix.setScreenRect(left, right, bottom, top);\n\n viewMatrix.setMaxScreenRect(cDefine.VIEW_LOGICAL_MAX_LEFT,\n cDefine.VIEW_LOGICAL_MAX_RIGHT,\n cDefine.VIEW_LOGICAL_MAX_BOTTOM,\n cDefine.VIEW_LOGICAL_MAX_TOP);\n\n projMatrix = new L2DMatrix44();\n projMatrix.multScale(1, (width / height));\n\n deviceToScreen = new L2DMatrix44();\n // deviceToScreen.multTranslate(-width / 2.0, -height / 2.0); // old codes\n // deviceToScreen.multScale(2 / width, -2 / width); // old codes\n deviceToScreen.multTranslate(-sWidth / 2.0, -sHeight / 2.0); // #32\n deviceToScreen.multScale(2 / sWidth, -2 / sHeight); // #32\n\n gl = getWebGLContext();\n setContext(gl);\n if (!gl) { // Check if WebGL element is created successfully.\n console.error(\"Failed to create WebGL context.\");\n if(!window.WebGLRenderingContext){\n console.error(\"Your browser don't support WebGL, check https://get.webgl.org/ for futher information.\");\n }\n return;\n }\n window.Live2D.setGL(gl);\n gl.clearColor(0.0, 0.0, 0.0, 0.0);\n changeModel(modelUrl);\n startDraw();\n}\n\nfunction startDraw() {\n if (!isDrawStart) {\n isDrawStart = true;\n (function tick() {\n draw();\n let requestAnimationFrame =\n window.requestAnimationFrame ||\n window.mozRequestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n window.msRequestAnimationFrame;\n\n requestAnimationFrame(tick, canvas);\n })();\n }\n}\n\nfunction draw()\n{\n MatrixStack.reset();\n MatrixStack.loadIdentity();\n dragMgr.update();\n live2DMgr.setDrag(dragMgr.getX(), dragMgr.getY());\n\n gl.clear(gl.COLOR_BUFFER_BIT);\n\n MatrixStack.multMatrix(projMatrix.getArray());\n MatrixStack.multMatrix(viewMatrix.getArray());\n MatrixStack.push();\n\n for (let i = 0; i < live2DMgr.numModels(); i++)\n {\n let model = live2DMgr.getModel(i);\n\n if(model == null) return;\n\n if (model.initialized && !model.updating)\n {\n model.update();\n model.draw(gl);\n }\n }\n MatrixStack.pop();\n}\n\nfunction changeModel(modelurl) // 更换模型\n{\n live2DMgr.reloadFlg = true;\n live2DMgr.count++; // 现在仍有多模型支持,稍后可以精简\n live2DMgr.changeModel(gl, modelurl);\n}\n\nfunction modelScaling(scale) {\n viewMatrix.adjustScale(0, 0, scale);\n}\n/*\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n*/\nfunction dot(A,B)\n{\n return A.x * B.x + A.y * B.y;\n}\n\nfunction normalize(x,y)\n{\n let length = Math.sqrt(x * x + y * y)\n return {\n x: x / length,\n y: y / length\n }\n}\n\nfunction transformRect(center, transform, rect)\n{\n if (transform.x < rect.left + rect.width && transform.y < rect.top + rect.height &&\n transform.x > rect.left && transform.y > rect.top) return transform;\n let Len_X = center.x - transform.x;\n let Len_Y = center.y - transform.y;\n\n function angle(Len_X, Len_Y)\n {\n return Math.acos(dot({\n x: 0,\n y: 1\n }, normalize(Len_X, Len_Y))) * 180 / Math.PI\n }\n\n let angleTarget = angle(Len_X, Len_Y);\n if (transform.x < center.x) angleTarget = 360 - angleTarget;\n let angleLeftTop = 360 - angle(rect.left - center.x, (rect.top - center.y) * -1);\n let angleLeftBottom = 360 - angle(rect.left - center.x, (rect.top + rect.height - center.y) * -1);\n let angleRightTop = angle(rect.left + rect.width - center.x, (rect.top - center.y) * -1);\n let angleRightBottom = angle(rect.left + rect.width - center.x, (rect.top + rect.height - center.y) * -1);\n let scale = Len_Y / Len_X;\n let res = {};\n\n if (angleTarget < angleRightTop) {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if(angleTarget < angleRightBottom) {\n let x3 = rect.left + rect.width - center.x;\n let y3 = x3 * scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftBottom) {\n let y3 = rect.top + rect.height - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftTop) {\n let x3 = center.x - rect.left;\n let y3 = x3 * scale;\n res = {\n y: center.y - y3,\n x: center.x - x3\n }\n } else {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n }\n\n return res;\n}\n\nfunction modelTurnHead(event)\n{\n drag = true;\n\n let rect = canvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTurnHead onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n dragMgr.setPoint(vx, vy);\n}\n\nfunction modelTapEvent(event)\n{\n drag = true;\n\n let rect = canvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTapEvent onMouseDown device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n live2DMgr.tapEvent(vx, vy);\n}\n\nfunction followPointer(event)\n{\n let rect = canvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n\n // log but seems ok\n // console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);\n\n let target = transformRect({// seems ok here\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"followPointer onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n if (drag)\n {\n lastMouseX = sx;\n lastMouseY = sy;\n dragMgr.setPoint(vx, vy);\n }\n}\n\nfunction lookFront()\n{\n if (drag) {\n drag = false;\n }\n dragMgr.setPoint(0, 0);\n}\n\nfunction mouseEvent(e)\n{\n //e.preventDefault();\n if (e.type == \"mousedown\") {\n modelTapEvent(e);\n } else if (e.type == \"mousemove\") {\n modelTurnHead(e);\n } else if (e.type == \"mouseup\") {\n if(\"button\" in e && e.button != 0) return;\n // lookFront();\n } else if (e.type == \"mouseleave\") {\n lookFront();\n }\n}\n\nfunction touchEvent(e)\n{\n var touch = e.touches[0];\n if (e.type == \"touchstart\") {\n if (e.touches.length == 1) modelTapEvent(touch);\n // onClick(touch);\n } else if (e.type == \"touchmove\") {\n followPointer(touch);\n } else if (e.type == \"touchend\") {\n lookFront();\n }\n}\n\nfunction transformViewX(deviceX)\n{\n var screenX = deviceToScreen.transformX(deviceX);\n return viewMatrix.invertTransformX(screenX);\n}\n\n\nfunction transformViewY(deviceY)\n{\n var screenY = deviceToScreen.transformY(deviceY);\n return viewMatrix.invertTransformY(screenY);\n}\n\n\nfunction transformScreenX(deviceX)\n{\n return deviceToScreen.transformX(deviceX);\n}\n\n\nfunction transformScreenY(deviceY)\n{\n return deviceToScreen.transformY(deviceY);\n}\n\nfunction getWebGLContext()\n{\n var NAMES = [ \"webgl\" , \"experimental-webgl\" , \"webkit-3d\" , \"moz-webgl\"];\n for( var i = 0; i < NAMES.length; i++ ){\n try{\n var ctx = canvas.getContext(NAMES[i], {premultipliedAlpha : true});\n if(ctx) return ctx;\n }\n catch(e){}\n }\n return null;\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/_cLive2DApp.js"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./src/cLive2DApp.js","webpack:///./src/elementMgr.js","webpack:///./src/tmplate/innerHTML.html","webpack:///./src/lib/live2d.core.js","webpack:///(webpack)/buildin/system.js"],"names":["_configMgr","__webpack_require__","_elementMgr","_live2d","_Live2DFramework","_MatrixStack","_cDefine","isDrawStart","dragMgr","viewMatrix","projMatrix","deviceToScreen","createElement","L2DTargetPoint","ratio","config","display","height","width","left","_cDefine2","default","VIEW_LOGICAL_LEFT","right","VIEW_LOGICAL_RIGHT","bottom","top","L2DViewMatrix","setScreenRect","setMaxScreenRect","VIEW_LOGICAL_MAX_LEFT","VIEW_LOGICAL_MAX_RIGHT","VIEW_LOGICAL_MAX_BOTTOM","VIEW_LOGICAL_MAX_TOP","L2DMatrix44","multScale","multTranslate","Live2D","setGL","currWebGL","clearColor","modelurl","model","jsonPath","live2DMgr","reloadFlg","count","changeModel","tick","MatrixStack","reset","loadIdentity","update","setDrag","getX","getY","clear","COLOR_BUFFER_BIT","multMatrix","getArray","push","i","numModels","getModel","initialized","updating","draw","pop","requestAnimationFrame","window","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame","currCanvas","_innerHTML","undefined","newElem","document","id","name","div","innerHTML","_innerHTML2","newCanvasElem","setAttribute","canvas","antialias","style","setProperty","react","opacityDefault","position","hOffset","vOffset","dev","border","appendChild","body","getElementById","NAMES","length","ctx","getContext","alpha","premultipliedAlpha","failIfMajorPerformanceCaveat","exports","e","console","error","WebGLRenderingContext","initWebGL","module","j","aa","this","_$MT","_$5S","_$NP","_$42","y","_$0s","_$4s","_$62","aQ","aU","ArrayBuffer","DataView","J","aN","aS","K","aM","_$ST","aK","aJ","_$gr","ay","_$T7","aL","_$nP","_$s7","aH","_$9T","aT","_$KS","aP","getModelContext","setDrawParam","getDrawParam","init","aO","q","_$Rb","prototype","getModelImpl","w","_$zP","getCanvasWidth","getCanvasHeight","getParamFloat","getParamIndex","z","getID","setParamFloat","aI","arguments","addToParamFloat","multParamFloat","loadParam","saveParam","_$Rs","_$li","_$Ds","_$K2","_$s2","_$P7","aR","a0","aY","getPartsOpacity","aW","setPartsOpacity","aV","log","aZ","getPartsDataIndex","getDrawDataIndex","Z","getDrawData","getTransformedPoints","_$C2","ag","getIndexArray","_$aS","getType","a","_$wb","b","W","clipContextList","Array","glcontext","gl","dp_webgl","curFrameNo","firstError_clipInNotUpdate","colorBuffer","isInitGLFBFunc","tmpBoundsOnModel","av","Q","glContext","frameBuffers","getMaskRenderTexture","tmpModelToViewMatrix","ac","tmpMatrix2","tmpMatrixForMask","tmpMatrixForDraw","CHANNEL_COLORS","o","r","g","setChannelFlagAsColor","CHANNEL_COUNT","RENDER_TEXTURE_USE_MIPMAP","NOT_USED_FRAME","_$L7","splice","releaseShader","deleteFramebuffer","framebuffer","getClipIDList","findSameClip","U","getDrawDataID","addClippedDrawData","clipBufPre_clipContext","createFramebuffer","glno","setupClip","a1","calcClippedDrawTotalBounds","isUsing","getParameter","FRAMEBUFFER_BINDING","viewport","clippingMaskBufferSize","setupLayoutBounds","bindFramebuffer","FRAMEBUFFER","allClippedDrawRect","layoutChannelNo","layoutBounds","_$jL","expand","identity","translate","scale","x","setMatrix","m","aX","matrixForMask","matrixForDraw","clippingMaskDrawIndexList","setClipBufPre_clipContextForMask","getColorBuffer","clipIDList","a6","_$Ri","a5","clippedDrawContextList","drawDataIndex","_$yo","a4","a3","aw","_$i2","_$No","a2","Math","min","apply","max","Float32Array","owner","_$gP","ah","_$dP","_$eo","_$V0","_$a0","_$JT","setFadeIn","setFadeOut","_$pT","getFadeOut","_$4T","_$mT","getDurationMSec","getLoopDurationMSec","updateParam","_$AT","_$9L","P","getUserTimeMSec","_$z2","_$bs","_$Do","A","_$r2","updateParamExe","_$8s","_$fT","Object","start","_$r","_$0S","getSystemTimeMSec","dump","end","_$Ji","_$dL","_$KL","_$nr","stack","F","_$8P","_$6P","_$EL","_$5T","ak","constructor","call","_$tP","_$27","_$3s","_$vo","_$F2","_$ao","_$1S","an","_$F0","_$6L","_$6S","_$Xr","_$E2","u","p1","N","p2","_$Fo","_$Db","_$L2","_$M2","_$ks","_$9b","_$iP","_$iT","_$lL","_$qP","setup","_$Yb","_$xT","_$p","getPhysicsPoint1","getPhysicsPoint2","_$qr","_$pr","_$5r","_$Cs","atan2","PI","addSrcParam","h","addTargetParam","aF","sqrt","_$oP","_$oo","_$YS","vx","_$s0","vy","_$70","ax","_$7L","_$HL","fx","fy","cos","sin","aC","_$bS","at","_$wL","_$tL","Src","SRC_TO_X","SRC_TO_Y","SRC_TO_G_ANGLE","d","_$YP","Target","TARGET_FROM_ANGLE","TARGET_FROM_ANGLE_V","X","_$fL","_$gL","_$B0","_$z0","_$qT","reflectX","reflectY","_$_T","getFormatVersion","LIVE2D_FORMAT_VERSION_V2_10_SDK2","_$po","_$e","ad","_$ni","isNaN","contains","aG","_$Z2","bb","bo","bp","_$Q2","_$vs","ba","_$Tr","_$zr","bj","bi","a9","a8","br","bn","bm","bg","bf","bu","bt","bl","bk","be","bc","a7","bh","bs","bd","_$br","bq","_$Vr","bV","bW","bC","bX","bH","bw","_$jT","bT","b3","b2","bP","b1","b0","bM","bL","b8","bN","bZ","b7","bU","bS","b6","b5","bQ","bO","bD","bB","by","bx","bG","bE","bv","bA","bz","bY","bK","b4","bJ","bF","bR","_$HT","ae","_$dr","_$GS","_$qb","_$Lb","_$mS","clipID","_$ur","_$ES","_$8S","_$52","_$R2","_$or","_$Pr","convertClipIDForV2_11","test","split","_$cS","_$Tb","_$MS","_$Nr","_$IS","_$Us","_$Zs","_$7s","_$2b","_$j2","getOpacity","_$zS","getTargetBaseDataID","_$gs","_$32","n","_$2o","preDraw","_$B2","_$Eb","_$ps","_$lT","_$C0","_$tT","_$WL","culling","matrix4x4","anisotropy","clippingProcess","CLIPPING_PROCESS_NONE","clipBufPre_clipContextMask","clipBufPre_clipContextDraw","CLIPPING_PROCESS_OVERWRITE_ALPHA","CLIPPING_PROCESS_MULTIPLY_ALPHA","CLIPPING_PROCESS_DRAW","CLIPPING_PROCESS_CLEAR_ALPHA","getChannelFlagAsColor","_$ZT","_$Uo","setBaseColor","_$WP","_$IT","setPremultipliedAlpha","isPremultipliedAlpha","setAnisotropy","getAnisotropy","getClippingProcess","setClippingProcess","getClipBufPre_clipContextMask","setClipBufPre_clipContextForDraw","getClipBufPre_clipContextDraw","_$ho","blendMode","L2D_COLOR_BLEND_MODE_MULT","c","_$kP","_$Ai","_$c2","_$_b","readV2_opacity","interpolateOpacity","setInterpolatedOpacity","_$nb","_$a2","getBaseDataID","_$W2","_$CS","_$Mo","_$XP","getTimeMSec","setUserTimeMSec","updateUserTimeMSec","Date","getTime","_$Q","aA","_$VP","_$GP","_$8o","_$ds","_$2r","_$O2","_$ri","_$Pb","getParamID","_$yP","_$N2","_$d2","_$t2","_$Lr","_$wr","_$SL","_$AL","G","startsWith","getChar","charAt","String","fromCharCode","getUint8","createString","Uint16Array","_$LS","_$Ob","_$Ur","_$WS","_$v2","_$Xb","Exception","_$J","_$Qb","_$3T","_$h2","_$J2","getParamCount","_$zs","getCopyMatrix","mult","mult_safe","mult_fast","rotateX","fcos","_$9","rotateY","rotateZ","aD","_$7","_$f","_$H","_$g","_$k","_$w","_$hi","STATE_IDENTITY","_$Z","_$pS","_$kS","_$hb","_$gb","_$fo","_$go","transform","_$RT","_$so","_$CT","Y","motions","_$7r","_$Co","_$D0","_$yT","_$E","loopFadeIn","_$AS","_$cs","_$ar","_$D2","_$1T","loadMotion","t","_$RP","_$hs","_$4P","_$xs","_$us","_$qs","_$Ys","_$ws","_$Ns","_$Fr","_$I0","_$BL","_$r0","_$aL","isLoopFadeIn","setLoopFadeIn","aE","_$P","size","add","_$Ms","_$Qs","_$do","_$Ls","_$1r","_$FT","_$Ss","_$o7","_$S7","_$77","LIVE2D_FORMAT_VERSION_V2_11_SDK2_1","_$Is","_$h0","_$4L","_$7P","_$uT","_$9o","E","ab","f","s","aq","_$QT","_$co","_$qo","_$pb","_$is","_$_2","_$vr","_$Rr","_$Or","_$fs","_$Js","_$3S","_$Bo","_$db","_$8b","_$Hr","_$Ws","_$Vs","_$Er","_$Es","Int16Array","_$ZP","_$b0","_$HP","clipManager","_$_0","_$V2","_$W0","_$jr","_$ZS","_$tr","_$lr","release","getBaseData","_$l2","_$IP","getBaseDataIndex","_$1s","_$02","getDefaultValue","getMinValue","getMaxValue","_$u2","floor","toString","_$sT","_$H7","_$VS","_$BS","_$UT","_$Zo","getParamMax","getParamMin","_$p2","_$q2","_$Bb","_$5s","_$GT","ap","_$0T","_$5","exists","_$ls","_$3b","Int8Array","_$Xs","_$kb","read","_$C","_$js","write","_$TS","close","flush","ar","_$12","_$bb","_$_L","_$jo","_$iL","_$0L","_$Br","_$Dr","_$Cb","_$mr","az","STATE_FIRST","_$T2","_$10","_$uo","_$QS","_$7T","STATE_CLOSING","STATE_CLOSED","STATE_OPENING","STATE_INTERVAL","_$sb","Int32Array","_$As","_$U2","_$NT","_$9r","_$vS","_$no","_$vb","_$Gr","_$cr","_$yL","put","_$oT","_$mb","_$Hs","_$as","setTransform","EXPAND_W","drawElements","Error","_$Sr","setTexture","_$nS","_$Y0","_$Xo","_$io","_$0o","_$Lo","_$To","_$Po","_$gT","al","_$Yr","_$Wr","_$Ib","pow","_$hS","_$8r","_$Jr","_$92","_$NS","getTotalScale","setTotalScale_notForClient","getTotalOpacity","setTotalOpacity","getInterpolatedOpacity","B","_$os","_$Sb","_$NL","_$1b","getDrawDataList","_$kr","_$xo","v","_$zo","loadModel","_$to","_$er","_$PL","_$nL","_$_o","ao","_$o2","_$rr","_$eP","MTN_PREFIX_FADEIN","MTN_PREFIX_FADEOUT","p","byteLength","charCodeAt","_$S0","_$U0","_$o","_$A","_$Eo","H","_$Cr","_$hr","_$VT","transformPoints_sdk2","System","err","printf","transformPoints_sdk1","_$ts","visible","_$g0","_$8L","aj","isVisible","_$6o","_$3o","_$uL","_$KP","_$ET","_$ob","getPartsID","_$MP","_$e0","_$4S","_$Ks","au","context","_$6r","_$xP","_$3r","_$uP","_$Qo","cacheImages","tr","am","_$50","_$Ti","_$Pi","_$B","_$lP","_$bL","save","beginPath","_$Li","clip","_$ei","restore","globalAlpha","_$PS","ceil","rotate","shear","setContext","IGNORE_EXPAND","USE_CACHED_POLYGON_IMAGE","gl_cacheImage","createCanvas","DEBUG_DATA","LDGL_CANVAS_MB","drawImage","cacheCanvas","cacheContext","IGNORE_CLIP","USE_ADJUST_TRANSLATION","expandClip","clipWithTransform","_$P2","moveTo","lineTo","dumpValues","toFixed","_$TT","_$LT","_$FS","_$JS","totalScale","totalOpacity","getPartsIndex","_$x2","_$2s","_$Kr","_$sP","_$cb","_$Ts","_$fb","L2D_DEFORMER_EXTEND","_$Wb","_$yr","L2D_NO_ERROR","_$i7","_$9s","_$es","_$r7","_$07","_$b7","L2D_COLOR_BLEND_MODE_ADD","L2D_COLOR_BLEND_MODE_INTERPOLATE","_$6b","_$cT","fTexture","USE_CANVAS_TRANSFORM","PROFILE_IOS_SPEED","PROFILE_NAME","PROFILE_IOS_QUALITY","PROFILE_IOS_DEFAULT","PROFILE_ANDROID","PROFILE_DESKTOP","initProfile","isIOS","setupProfile","isAndroid","alert","getVersionStr","getVersionNo","getError","dispose","getGL","setClippingMaskBufferSize","getClippingMaskBufferSize","deleteBuffer","PI_F","_$ib","_$fr","_$LP","_$d0","_$Yo","_$JP","_$5P","_$BP","_$Qi","_$6s","_$ms","instanceNo","_$Os","_$ns","_$_s","_$_S","getTextureNo","_$ZL","_$H2","getNumPoints","_$Hb","parseInt","baseOpacity","_$72","aB","k","l","drawParamWebGL","C","V","_$eb","_$tb","startMotion","_$qS","_$w0","_$sr","M","isFinished","stopAllMotions","_$Zr","_$Gs","_$Bs","concatenate","_$eT","textures","firstDraw","anisotropyExt","maxAnisotropy","vertShader","fragShader","vertShaderOff","fragShaderOff","initShader","getExtension","MAX_TEXTURE_MAX_ANISOTROPY_EXT","disable","SCISSOR_TEST","STENCIL_TEST","DEPTH_TEST","frontFace","CW","enable","BLEND","colorMask","bindBuffer","ARRAY_BUFFER","ELEMENT_ARRAY_BUFFER","CCW","useProgram","shaderProgram","T","L","enableVertexAttribArray","a_position_Loc","vertexAttribPointer","FLOAT","activeTexture","TEXTURE1","bindTexture","TEXTURE_2D","uniform1i","s_texture0_Loc","a_texCoord_Loc","uniformMatrix4fv","u_matrix_Loc","uniform4f","u_channelFlag","u_baseColor_Loc","u_maskFlag_Loc","shaderProgramOff","a_position_Loc_Off","s_texture0_Loc_Off","a_texCoord_Loc_Off","u_clipMatrix_Loc_Off","u_matrix_Loc_Off","TEXTURE2","s_texture1_Loc_Off","u_channelFlag_Loc_Off","u_baseColor_Loc_Off","CULL_FACE","ONE","ONE_MINUS_SRC_ALPHA","ZERO","DST_COLOR","blendEquationSeparate","FUNC_ADD","blendFuncSeparate","texParameteri","TEXTURE_MAX_ANISOTROPY_EXT","TRIANGLES","UNSIGNED_SHORT","createBuffer","bufferData","DYNAMIC_DRAW","loadShaders2","getAttribLocation","getUniformLocation","disposeShader","deleteProgram","compileShader","createShader","shaderSource","getShaderParameter","COMPILE_STATUS","getShaderInfoLog","deleteShader","createProgram","VERTEX_SHADER","FRAGMENT_SHADER","attachShader","linkProgram","getProgramParameter","LINK_STATUS","getProgramInfoLog","createRenderbuffer","bindRenderbuffer","RENDERBUFFER","renderbufferStorage","RGBA4","framebufferRenderbuffer","COLOR_ATTACHMENT0","createTexture","texImage2D","RGBA","UNSIGNED_BYTE","TEXTURE_MIN_FILTER","LINEAR","TEXTURE_MAG_FILTER","TEXTURE_WRAP_S","CLAMP_TO_EDGE","TEXTURE_WRAP_T","framebufferTexture2D","renderbuffer","texture","_$R0","buffer","_$3i","_$hL","_$v0","_$S2","_$Ko","_$T","_$F","_$fP","_$3L","_$mP","_$zT","getFloat64","getFloat32","getInt32","getInt8","getInt16","_$2T","O","_$bT","_$5b","Float64Array","_$Jb","_$4b","color","_$2S","_$wS","_$kT","_$tS","SYSTEM_INFO","USER_AGENT","navigator","userAgent","isIPhone","_isIPhone","_isIPad","_isAndroid","getOSVersion","version","getOS","substring","indexOf","os","UtSystem","UtDebug","LDTransform","LDGL","Live2DModelWebGL","Live2DModelJS","Live2DMotion","MotionQueueManager","PhysicsHair","AMotion","PartsDataID","D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GkjC,GAAK,IACRljC,EAAG8iC,SAAW,IAM9Bl+B,GAAE7D,OACErC,GAAI,IAGDykC,SAALx4B,IACKy4B,QAALniC,IACMoiC,YAAN/R,KACMgS,KAANzS,KACK/2B,OAAL8K,KACK2+B,iBAALhL,KACKiL,cAAL3V,IACM4V,aAANpV,IACKqV,mBAALhL,KACKiL,YAALr2B,IACMs2B,QAANl6B,IACKm6B,YAALvoC,IACKwoC,WAALzgC,IACK0gC,WAALprB,KACKqrB,QAALriC,sCC58OFlD,EAAAN,SAEA8lC,OAAA,WACA,UAAAvY,MAAA","file":"clL2D.0.min.js","sourcesContent":["/**\n * @description The main part of live2d-widget\n */\n\n\nimport { config } from './config/configMgr';\nimport { createElement, currWebGL } from './elementMgr';\nimport { UtSystem,\n UtDebug,\n LDTransform,\n LDGL,\n Live2D,\n Live2DModelWebGL,\n Live2DModelJS,\n Live2DMotion,\n MotionQueueManager,\n PhysicsHair,\n AMotion,\n PartsDataID,\n DrawDataID,\n BaseDataID,\n ParamID } from './lib/live2d.core';\nimport { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from \"./lib/Live2DFramework\";\nimport { cManager } from \"./cManager\";\nimport { MatrixStack } from \"./utils/MatrixStack\";\nimport cDefine from \"./cDefine\";\n\nlet isDrawStart = false;\nlet dragMgr = null;\nlet viewMatrix = null;\nlet projMatrix = null;\nlet deviceToScreen = null;\nlet drag = false;\nlet lastMouseX = 0;\nlet lastMouseY = 0;\nlet headPos = 0.5;\nlet opacityDefault = 0.7;\nlet opacityHover = 1;\n\n\n\n/**\n * Main function of live2d-widget\n * @return {null}\n */\n\nexport default () => {\n\n createElement();\n\n dragMgr = new L2DTargetPoint();\n let ratio = config.display.height / config.display.width;\n let left = cDefine.VIEW_LOGICAL_LEFT;\n let right = cDefine.VIEW_LOGICAL_RIGHT;\n let bottom = -ratio;\n let top = ratio;\n\n viewMatrix = new L2DViewMatrix();\n\n viewMatrix.setScreenRect(left, right, bottom, top);\n\n viewMatrix.setMaxScreenRect(cDefine.VIEW_LOGICAL_MAX_LEFT,\n cDefine.VIEW_LOGICAL_MAX_RIGHT,\n cDefine.VIEW_LOGICAL_MAX_BOTTOM,\n cDefine.VIEW_LOGICAL_MAX_TOP);\n\n projMatrix = new L2DMatrix44();\n projMatrix.multScale(1, (config.display.width / config.display.height));\n\n deviceToScreen = new L2DMatrix44();\n deviceToScreen.multTranslate(-config.display.width / 2.0, -config.display.height / 2.0); // #32\n deviceToScreen.multScale(2 / config.display.width, -2 / config.display.height); // #32\n\n\n Live2D.setGL(currWebGL);\n currWebGL.clearColor(0.0, 0.0, 0.0, 0.0);\n changeModel(config.model.jsonPath);\n startDraw();\n\n}\n\n\nfunction initEvent(){/*\n if (currCanvas.addEventListener) {\n window.addEventListener(\"click\", mouseEvent);\n window.addEventListener(\"mousedown\", mouseEvent);\n window.addEventListener(\"mousemove\", mouseEvent);\n window.addEventListener(\"mouseup\", mouseEvent);\n document.addEventListener(\"mouseleave\", mouseEvent);\n window.addEventListener(\"touchstart\", touchEvent);\n window.addEventListener(\"touchend\", touchEvent);\n window.addEventListener(\"touchmove\", touchEvent);\n }*/\n}\n\nfunction startDraw() {\n if (!isDrawStart) {\n isDrawStart = true;\n (function tick() {\n draw();\n let requestAnimationFrame =\n window.requestAnimationFrame ||\n window.mozRequestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n window.msRequestAnimationFrame;\n\n requestAnimationFrame(tick, currCanvas);\n })();\n }\n}\n\nfunction draw()\n{\n MatrixStack.reset();\n MatrixStack.loadIdentity();\n dragMgr.update();\n live2DMgr.setDrag(dragMgr.getX(), dragMgr.getY());\n\n currWebGL.clear(currWebGL.COLOR_BUFFER_BIT);\n\n MatrixStack.multMatrix(projMatrix.getArray());\n MatrixStack.multMatrix(viewMatrix.getArray());\n MatrixStack.push();\n\n for (let i = 0; i < live2DMgr.numModels(); i++)\n {\n let model = live2DMgr.getModel(i);\n\n if(model == null) return;\n\n if (model.initialized && !model.updating)\n {\n model.update();\n model.draw(currWebGL);\n }\n }\n MatrixStack.pop();\n}\n\nfunction changeModel(modelurl) // 更换模型\n{\n live2DMgr.reloadFlg = true;\n live2DMgr.count++; // 现在仍有多模型支持,稍后可以精简\n live2DMgr.changeModel(currWebGL, modelurl);\n}\n\nfunction modelScaling(scale) {\n viewMatrix.adjustScale(0, 0, scale);\n}\n/*\nfunction transformRange(center, transform, range)\n{\n let a = {\n x: transform.x - center.x,\n y: transform.y - center.y\n }\n let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2));\n if (r > range) {\n a = {\n x: a.x / r * range + center.x,\n y: a.y / r * range + center.y\n };\n return a;\n } else {\n return transform;\n }\n}\n*/\nfunction dot(A,B)\n{\n return A.x * B.x + A.y * B.y;\n}\n\nfunction normalize(x,y)\n{\n let length = Math.sqrt(x * x + y * y)\n return {\n x: x / length,\n y: y / length\n }\n}\n\nfunction transformRect(center, transform, rect)\n{\n if (transform.x < rect.left + rect.width && transform.y < rect.top + rect.height &&\n transform.x > rect.left && transform.y > rect.top) return transform;\n let Len_X = center.x - transform.x;\n let Len_Y = center.y - transform.y;\n\n function angle(Len_X, Len_Y)\n {\n return Math.acos(dot({\n x: 0,\n y: 1\n }, normalize(Len_X, Len_Y))) * 180 / Math.PI\n }\n\n let angleTarget = angle(Len_X, Len_Y);\n if (transform.x < center.x) angleTarget = 360 - angleTarget;\n let angleLeftTop = 360 - angle(rect.left - center.x, (rect.top - center.y) * -1);\n let angleLeftBottom = 360 - angle(rect.left - center.x, (rect.top + rect.height - center.y) * -1);\n let angleRightTop = angle(rect.left + rect.width - center.x, (rect.top - center.y) * -1);\n let angleRightBottom = angle(rect.left + rect.width - center.x, (rect.top + rect.height - center.y) * -1);\n let scale = Len_Y / Len_X;\n let res = {};\n\n if (angleTarget < angleRightTop) {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if(angleTarget < angleRightBottom) {\n let x3 = rect.left + rect.width - center.x;\n let y3 = x3 * scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftBottom) {\n let y3 = rect.top + rect.height - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n } else if (angleTarget < angleLeftTop) {\n let x3 = center.x - rect.left;\n let y3 = x3 * scale;\n res = {\n y: center.y - y3,\n x: center.x - x3\n }\n } else {\n let y3 = rect.top - center.y;\n let x3 = y3 / scale;\n res = {\n y: center.y + y3,\n x: center.x + x3\n }\n }\n\n return res;\n}\n\nfunction modelTurnHead(event)\n{\n drag = true;\n\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTurnHead onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n dragMgr.setPoint(vx, vy);\n}\n\nfunction modelTapEvent(event)\n{\n drag = true;\n\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n let target = transformRect({\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"modelTapEvent onMouseDown device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n lastMouseX = sx;\n lastMouseY = sy;\n\n live2DMgr.tapEvent(vx, vy);\n}\n\nfunction followPointer(event)\n{\n let rect = currCanvas.getBoundingClientRect();\n\n let sx = transformScreenX(event.clientX - rect.left);\n let sy = transformScreenY(event.clientY - rect.top);\n\n // log but seems ok\n // console.log(\"ecx=\" + event.clientX + \" ecy=\" + event.clientY + \" sx=\" + sx + \" sy=\" + sy);\n\n let target = transformRect({// seems ok here\n x: rect.left + rect.width / 2,\n y: rect.top + rect.height * headPos\n }, {\n x: event.clientX,\n y: event.clientY\n }, rect)\n let vx = transformViewX(target.x - rect.left);\n let vy = transformViewY(target.y - rect.top);\n\n if (cDefine.DEBUG_MOUSE_LOG)\n console.log(\"followPointer onMouseMove device( x:\" + event.clientX + \" y:\" + event.clientY + \" ) view( x:\" + vx + \" y:\" + vy + \")\");\n\n if (drag)\n {\n lastMouseX = sx;\n lastMouseY = sy;\n dragMgr.setPoint(vx, vy);\n }\n}\n\nfunction lookFront()\n{\n if (drag) {\n drag = false;\n }\n dragMgr.setPoint(0, 0);\n}\n\nfunction mouseEvent(e)\n{\n //e.preventDefault();\n if (e.type == \"mousedown\") {\n modelTapEvent(e);\n } else if (e.type == \"mousemove\") {\n modelTurnHead(e);\n } else if (e.type == \"mouseup\") {\n if(\"button\" in e && e.button != 0) return;\n // lookFront();\n } else if (e.type == \"mouseleave\") {\n lookFront();\n }\n}\n\nfunction touchEvent(e)\n{\n var touch = e.touches[0];\n if (e.type == \"touchstart\") {\n if (e.touches.length == 1) modelTapEvent(touch);\n // onClick(touch);\n } else if (e.type == \"touchmove\") {\n followPointer(touch);\n } else if (e.type == \"touchend\") {\n lookFront();\n }\n}\n\nfunction transformViewX(deviceX)\n{\n var screenX = deviceToScreen.transformX(deviceX);\n return viewMatrix.invertTransformX(screenX);\n}\n\n\nfunction transformViewY(deviceY)\n{\n var screenY = deviceToScreen.transformY(deviceY);\n return viewMatrix.invertTransformY(screenY);\n}\n\n\nfunction transformScreenX(deviceX)\n{\n return deviceToScreen.transformX(deviceX);\n}\n\n\nfunction transformScreenY(deviceY)\n{\n return deviceToScreen.transformY(deviceY);\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/cLive2DApp.js","/**\n * @description The container and manager for all the DOM and WebGL emelents.\n */\n\n\nimport { config } from './config/configMgr';\nimport htmlTemplate from './tmplate/innerHTML';\n\n/**\n * The current WebGL element\n * @type {RenderingContext}\n */\n\nlet currWebGL = undefined;\n\n/**\n * The current canvas element\n * @type {HTMLElement}\n */\n\nlet currCanvas;\n\n/**\n * Create the canvas and styles using DOM\n * @return {null}\n */\n\nfunction createElement(){\n\n let newElem = document.createElement('div');\n newElem.id = config.name.div;\n newElem.innerHTML = htmlTemplate;\n let newCanvasElem = document.createElement('canvas');\n newCanvasElem.setAttribute('id', config.name.canvas);\n newCanvasElem.setAttribute('width', config.display.width * config.display.antialias);\n newCanvasElem.setAttribute('height', config.display.height * config.display.antialias);\n newCanvasElem.style.setProperty('position', 'fixed');\n newCanvasElem.style.setProperty('width', config.display.width);\n newCanvasElem.style.setProperty('height', config.display.height);\n newCanvasElem.style.setProperty('opacity', config.react.opacityDefault);\n newCanvasElem.style.setProperty(config.display.position, config.display.hOffset + 'px');\n newCanvasElem.style.setProperty('bottom', config.display.vOffset + 'px');\n newCanvasElem.style.setProperty('z-index', 99999);\n newCanvasElem.style.setProperty('pointer-events', 'none');\n if(config.dev.border) newCanvasElem.style.setProperty('border', 'dashed 1px #CCC');\n newElem.appendChild(newCanvasElem);\n\n document.body.appendChild(newElem);\n currCanvas = document.getElementById(config.name.canvas);\n\n initWebGL();\n\n}\n\n/**\n * Find and set the current WebGL element to the container\n * @return {null}\n */\n\nfunction initWebGL(){\n\n var NAMES = ['webgl2', 'webgl', 'experimental-webgl2', 'experimental-webgl', 'webkit-3d', 'moz-webgl'];\n for(let i = 0; i < NAMES.length; i++){\n try{\n let ctx = currCanvas.getContext(NAMES[i], {\n alpha: true,\n antialias: true,\n premultipliedAlpha: true,\n failIfMajorPerformanceCaveat: false,\n });\n if(ctx) currWebGL = ctx;\n }catch(e){}\n }\n if(!currWebGL){\n console.error('Live2D widgets: Failed to create WebGL context.');\n if(!window.WebGLRenderingContext){\n console.error('Your browser may not support WebGL, check https://get.webgl.org/ for futher information.');\n }\n return;\n }\n};\n\n\nexport{\n createElement,\n currWebGL,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/elementMgr.js","module.exports = \"\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/tmplate/innerHTML.html\n// module id = 132\n// module chunks = 0","/**\n * ============================================================\n * Live2D Cubism SDK for WebGL Version 2.1.00_1\n *\n * (c) Live2D Inc.\n * ============================================================\n *\n * This is a Software Development Kit (SDK) for developing Live2D-Cubism-powered applications on WebGL.\n * The SDK contains proprietary libraries and sample projects.\n * Read this document when using the SDK.\n *\n * ------------------------------\n * License\n * ------------------------------\n * Read Live2D License Agreement\n * for business\n * http://live2d.com/en/sdk_license_cubism3\n *\n * for indie\n * http://live2d.com/en/sdk_license_cubism_indie\n *\n * After agree and accept Live2D SDK License Agreement, the content in the following folders may be placed in the server which you control.\n * SDK\n * ├─framework\n * │ Live2DFramework.js\n * │\n * ├─lib\n * │ live2d.min.js\n * │\n * └─sample\n */\n\n// Changes have been done and intention:\n// 1. Pretty the code using Chrome for easy editing.\n// 2. Use ES6's module system to prevent functions from exposing to 'window' and easy compatibility for ES6.\n\n\nvar j = true;\nfunction aa() {\n if (j) {\n return;\n }\n this._$MT = null;\n this._$5S = null;\n this._$NP = 0;\n aa._$42++;\n this._$5S = new y(this);\n}\naa._$0s = 1;\naa._$4s = 2;\naa._$42 = 0;\naa._$62 = function(aQ, aU) {\n try {\n if (aU instanceof ArrayBuffer) {\n aU = new DataView(aU);\n }\n if (!(aU instanceof DataView)) {\n throw new J(\"_$SS#loadModel(b) / b _$x be DataView or ArrayBuffer\");\n }\n var aS = new K(aU);\n var aM = aS._$ST();\n var aK = aS._$ST();\n var aJ = aS._$ST();\n var aN;\n if (aM == 109 && aK == 111 && aJ == 99) {\n aN = aS._$ST();\n } else {\n throw new J(\"_$gi _$C _$li , _$Q0 _$P0.\");\n }\n aS._$gr(aN);\n if (aN > ay._$T7) {\n aQ._$NP |= aa._$4s;\n var aR = ay._$T7;\n var aI = \"_$gi _$C _$li , _$n0 _$_ version _$li ( SDK : \" + aR + \" < _$f0 : \" + aN + \" )@_$SS#loadModel()\\n\";\n throw new J(aI);\n }\n var aL = aS._$nP();\n if (aN >= ay._$s7) {\n var aH = aS._$9T();\n var aT = aS._$9T();\n if (aH != -30584 || aT != -30584) {\n aQ._$NP |= aa._$0s;\n throw new J(\"_$gi _$C _$li , _$0 _$6 _$Ui.\");\n }\n }\n aQ._$KS(aL);\n var aP = aQ.getModelContext();\n aP.setDrawParam(aQ.getDrawParam());\n aP.init();\n } catch (aO) {\n q._$Rb(aO);\n }\n}\n;\naa.prototype._$KS = function(aH) {\n this._$MT = aH;\n}\n;\naa.prototype.getModelImpl = function() {\n if (this._$MT == null) {\n this._$MT = new w();\n this._$MT._$zP();\n }\n return this._$MT;\n}\n;\naa.prototype.getCanvasWidth = function() {\n if (this._$MT == null) {\n return 0;\n }\n return this._$MT.getCanvasWidth();\n}\n;\naa.prototype.getCanvasHeight = function() {\n if (this._$MT == null) {\n return 0;\n }\n return this._$MT.getCanvasHeight();\n}\n;\naa.prototype.getParamFloat = function(aH) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getParamIndex(z.getID(aH));\n }\n return this._$5S.getParamFloat(aH);\n}\n;\naa.prototype.setParamFloat = function(aH, aJ, aI) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getParamIndex(z.getID(aH));\n }\n if (arguments.length < 3) {\n aI = 1;\n }\n this._$5S.setParamFloat(aH, this._$5S.getParamFloat(aH) * (1 - aI) + aJ * aI);\n}\n;\naa.prototype.addToParamFloat = function(aH, aJ, aI) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getParamIndex(z.getID(aH));\n }\n if (arguments.length < 3) {\n aI = 1;\n }\n this._$5S.setParamFloat(aH, this._$5S.getParamFloat(aH) + aJ * aI);\n}\n;\naa.prototype.multParamFloat = function(aH, aJ, aI) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getParamIndex(z.getID(aH));\n }\n if (arguments.length < 3) {\n aI = 1;\n }\n this._$5S.setParamFloat(aH, this._$5S.getParamFloat(aH) * (1 + (aJ - 1) * aI));\n}\n;\naa.prototype.getParamIndex = function(aH) {\n return this._$5S.getParamIndex(z.getID(aH));\n}\n;\naa.prototype.loadParam = function() {\n this._$5S.loadParam();\n}\n;\naa.prototype.saveParam = function() {\n this._$5S.saveParam();\n}\n;\naa.prototype.init = function() {\n this._$5S.init();\n}\n;\naa.prototype.update = function() {\n this._$5S.update();\n}\n;\naa.prototype._$Rs = function() {\n q._$li(\"_$60 _$PT _$Rs()\");\n return -1;\n}\n;\naa.prototype._$Ds = function(aH) {\n q._$li(\"_$60 _$PT _$SS#_$Ds() \\n\");\n}\n;\naa.prototype._$K2 = function() {}\n;\naa.prototype.draw = function() {}\n;\naa.prototype.getModelContext = function() {\n return this._$5S;\n}\n;\naa.prototype._$s2 = function() {\n return this._$NP;\n}\n;\naa.prototype._$P7 = function(aK, aR, aH, a0) {\n var aU = -1;\n var aY = 0;\n var aM = this;\n var aJ = 0.5;\n var aI = 0.15;\n var aX = true;\n if (aH == 0) {\n for (var aV = 0; aV < aK.length; aV++) {\n var aP = aK[aV];\n var aO = aR[aV];\n var aS = (aM.getParamFloat(aP) != 0);\n aM.setPartsOpacity(aO, (aS ? 1 : 0));\n }\n return;\n } else {\n if (aK.length == 1) {\n var aP = aK[0];\n var aT = (aM.getParamFloat(aP) != 0);\n var aO = aR[0];\n var aQ = aM.getPartsOpacity(aO);\n var aW = aH / a0;\n if (aT) {\n aQ += aW;\n if (aQ > 1) {\n aQ = 1;\n }\n } else {\n aQ -= aW;\n if (aQ < 0) {\n aQ = 0;\n }\n }\n aM.setPartsOpacity(aO, aQ);\n } else {\n for (var aV = 0; aV < aK.length; aV++) {\n var aP = aK[aV];\n var aS = (aM.getParamFloat(aP) != 0);\n if (aS) {\n if (aU >= 0) {\n break;\n }\n aU = aV;\n var aO = aR[aV];\n aY = aM.getPartsOpacity(aO);\n aY += aH / a0;\n if (aY > 1) {\n aY = 1;\n }\n }\n }\n if (aU < 0) {\n console.log(\"No _$wi _$q0/ _$U default[%s]\", aK[0]);\n aU = 0;\n aY = 1;\n aM.loadParam();\n aM.setParamFloat(aK[aU], aY);\n aM.saveParam();\n }\n for (var aV = 0; aV < aK.length; aV++) {\n var aO = aR[aV];\n if (aU == aV) {\n aM.setPartsOpacity(aO, aY);\n } else {\n var aL = aM.getPartsOpacity(aO);\n var aZ;\n if (aY < aJ) {\n aZ = aY * (aJ - 1) / aJ + 1;\n } else {\n aZ = (1 - aY) * aJ / (1 - aJ);\n }\n if (aX) {\n var aN = (1 - aZ) * (1 - aY);\n if (aN > aI) {\n aZ = 1 - aI / (1 - aY);\n }\n }\n if (aL > aZ) {\n aL = aZ;\n }\n aM.setPartsOpacity(aO, aL);\n }\n }\n }\n }\n}\n;\naa.prototype.setPartsOpacity = function(aI, aH) {\n if (typeof aI != \"number\") {\n aI = this._$5S.getPartsDataIndex(i.getID(aI));\n }\n this._$5S.setPartsOpacity(aI, aH);\n}\n;\naa.prototype.getPartsDataIndex = function(aH) {\n if (!(aH instanceof i)) {\n aH = i.getID(aH);\n }\n return this._$5S.getPartsDataIndex(aH);\n}\n;\naa.prototype.getPartsOpacity = function(aH) {\n if (typeof aH != \"number\") {\n aH = this._$5S.getPartsDataIndex(i.getID(aH));\n }\n if (aH < 0) {\n return 0;\n }\n return this._$5S.getPartsOpacity(aH);\n}\n;\naa.prototype.getDrawParam = function() {}\n;\naa.prototype.getDrawDataIndex = function(aH) {\n return this._$5S.getDrawDataIndex(Z.getID(aH));\n}\n;\naa.prototype.getDrawData = function(aH) {\n return this._$5S.getDrawData(aH);\n}\n;\naa.prototype.getTransformedPoints = function(aH) {\n var aI = this._$5S._$C2(aH);\n if (aI instanceof ag) {\n return (aI).getTransformedPoints();\n }\n return null;\n}\n;\naa.prototype.getIndexArray = function(aI) {\n if (aI < 0 || aI >= this._$5S._$aS.length) {\n return null;\n }\n var aH = this._$5S._$aS[aI];\n if (aH != null && aH.getType() == a._$wb) {\n if (aH instanceof b) {\n return aH.getIndexArray();\n }\n }\n return null;\n}\n;\nfunction W(aJ) {\n if (j) {\n return;\n }\n this.clipContextList = new Array();\n this.glcontext = aJ.gl;\n this.dp_webgl = aJ;\n this.curFrameNo = 0;\n this.firstError_clipInNotUpdate = true;\n this.colorBuffer = 0;\n this.isInitGLFBFunc = false;\n this.tmpBoundsOnModel = new av();\n if (Q.glContext.length > Q.frameBuffers.length) {\n this.curFrameNo = this.getMaskRenderTexture();\n } else {}\n this.tmpModelToViewMatrix = new ac();\n this.tmpMatrix2 = new ac();\n this.tmpMatrixForMask = new ac();\n this.tmpMatrixForDraw = new ac();\n this.CHANNEL_COLORS = new Array();\n var aI = new o();\n aI = new o();\n aI.r = 0;\n aI.g = 0;\n aI.b = 0;\n aI.a = 1;\n this.CHANNEL_COLORS.push(aI);\n aI = new o();\n aI.r = 1;\n aI.g = 0;\n aI.b = 0;\n aI.a = 0;\n this.CHANNEL_COLORS.push(aI);\n aI = new o();\n aI.r = 0;\n aI.g = 1;\n aI.b = 0;\n aI.a = 0;\n this.CHANNEL_COLORS.push(aI);\n aI = new o();\n aI.r = 0;\n aI.g = 0;\n aI.b = 1;\n aI.a = 0;\n this.CHANNEL_COLORS.push(aI);\n for (var aH = 0; aH < this.CHANNEL_COLORS.length; aH++) {\n this.dp_webgl.setChannelFlagAsColor(aH, this.CHANNEL_COLORS[aH]);\n }\n}\nW.CHANNEL_COUNT = 4;\nW.RENDER_TEXTURE_USE_MIPMAP = false;\nW.NOT_USED_FRAME = -100;\nW.prototype._$L7 = function() {\n if (this.tmpModelToViewMatrix) {\n this.tmpModelToViewMatrix = null;\n }\n if (this.tmpMatrix2) {\n this.tmpMatrix2 = null;\n }\n if (this.tmpMatrixForMask) {\n this.tmpMatrixForMask = null;\n }\n if (this.tmpMatrixForDraw) {\n this.tmpMatrixForDraw = null;\n }\n if (this.tmpBoundsOnModel) {\n this.tmpBoundsOnModel = null;\n }\n if (this.CHANNEL_COLORS) {\n for (var aH = this.CHANNEL_COLORS.length - 1; aH >= 0; --aH) {\n this.CHANNEL_COLORS.splice(aH, 1);\n }\n this.CHANNEL_COLORS = [];\n }\n this.releaseShader();\n}\n;\nW.prototype.releaseShader = function() {\n var aI = Q.frameBuffers.length;\n for (var aH = 0; aH < aI; aH++) {\n this.gl.deleteFramebuffer(Q.frameBuffers[aH].framebuffer);\n }\n Q.frameBuffers = [];\n Q.glContext = [];\n}\n;\nW.prototype.init = function(aO, aN, aL) {\n for (var aM = 0; aM < aN.length; aM++) {\n var aH = aN[aM].getClipIDList();\n if (aH == null) {\n continue;\n }\n var aJ = this.findSameClip(aH);\n if (aJ == null) {\n aJ = new U(this,aO,aH);\n this.clipContextList.push(aJ);\n }\n var aI = aN[aM].getDrawDataID();\n var aK = aO.getDrawDataIndex(aI);\n aJ.addClippedDrawData(aI, aK);\n var aP = aL[aM];\n aP.clipBufPre_clipContext = aJ;\n }\n}\n;\nW.prototype.getMaskRenderTexture = function() {\n var aH = null;\n aH = this.dp_webgl.createFramebuffer();\n Q.frameBuffers[this.dp_webgl.glno] = aH;\n return this.dp_webgl.glno;\n}\n;\nW.prototype.setupClip = function(a1, aQ) {\n var aK = 0;\n for (var aO = 0; aO < this.clipContextList.length; aO++) {\n var aP = this.clipContextList[aO];\n this.calcClippedDrawTotalBounds(a1, aP);\n if (aP.isUsing) {\n aK++;\n }\n }\n if (aK > 0) {\n var aM = aQ.gl.getParameter(aQ.gl.FRAMEBUFFER_BINDING);\n var aW = new Array(4);\n aW[0] = 0;\n aW[1] = 0;\n aW[2] = aQ.gl.canvas.width;\n aW[3] = aQ.gl.canvas.height;\n aQ.gl.viewport(0, 0, Q.clippingMaskBufferSize, Q.clippingMaskBufferSize);\n this.setupLayoutBounds(aK);\n aQ.gl.bindFramebuffer(aQ.gl.FRAMEBUFFER, Q.frameBuffers[this.curFrameNo].framebuffer);\n aQ.gl.clearColor(0, 0, 0, 0);\n aQ.gl.clear(aQ.gl.COLOR_BUFFER_BIT);\n for (var aO = 0; aO < this.clipContextList.length; aO++) {\n var aP = this.clipContextList[aO];\n var aT = aP.allClippedDrawRect;\n var aN = aP.layoutChannelNo;\n var aV = aP.layoutBounds;\n var aJ = 0.05;\n this.tmpBoundsOnModel._$jL(aT);\n this.tmpBoundsOnModel.expand(aT.width * aJ, aT.height * aJ);\n var aZ = aV.width / this.tmpBoundsOnModel.width;\n var aY = aV.height / this.tmpBoundsOnModel.height;\n this.tmpMatrix2.identity();\n this.tmpMatrix2.translate(-1, -1, 0);\n this.tmpMatrix2.scale(2, 2, 1);\n this.tmpMatrix2.translate(aV.x, aV.y, 0);\n this.tmpMatrix2.scale(aZ, aY, 1);\n this.tmpMatrix2.translate(-this.tmpBoundsOnModel.x, -this.tmpBoundsOnModel.y, 0);\n this.tmpMatrixForMask.setMatrix(this.tmpMatrix2.m);\n this.tmpMatrix2.identity();\n this.tmpMatrix2.translate(aV.x, aV.y, 0);\n this.tmpMatrix2.scale(aZ, aY, 1);\n this.tmpMatrix2.translate(-this.tmpBoundsOnModel.x, -this.tmpBoundsOnModel.y, 0);\n this.tmpMatrixForDraw.setMatrix(this.tmpMatrix2.m);\n var aH = this.tmpMatrixForMask.getArray();\n for (var aX = 0; aX < 16; aX++) {\n aP.matrixForMask[aX] = aH[aX];\n }\n var a0 = this.tmpMatrixForDraw.getArray();\n for (var aX = 0; aX < 16; aX++) {\n aP.matrixForDraw[aX] = a0[aX];\n }\n var aS = aP.clippingMaskDrawIndexList.length;\n for (var aU = 0; aU < aS; aU++) {\n var aR = aP.clippingMaskDrawIndexList[aU];\n var aI = a1.getDrawData(aR);\n var aL = a1._$C2(aR);\n aQ.setClipBufPre_clipContextForMask(aP);\n aI.draw(aQ, a1, aL);\n }\n }\n aQ.gl.bindFramebuffer(aQ.gl.FRAMEBUFFER, aM);\n aQ.setClipBufPre_clipContextForMask(null);\n aQ.gl.viewport(aW[0], aW[1], aW[2], aW[3]);\n }\n}\n;\nW.prototype.getColorBuffer = function() {\n return this.colorBuffer;\n}\n;\nW.prototype.findSameClip = function(aK) {\n for (var aN = 0; aN < this.clipContextList.length; aN++) {\n var aO = this.clipContextList[aN];\n var aH = aO.clipIDList.length;\n if (aH != aK.length) {\n continue;\n }\n var aI = 0;\n for (var aM = 0; aM < aH; aM++) {\n var aL = aO.clipIDList[aM];\n for (var aJ = 0; aJ < aH; aJ++) {\n if (aK[aJ] == aL) {\n aI++;\n break;\n }\n }\n }\n if (aI == aH) {\n return aO;\n }\n }\n return null;\n}\n;\nW.prototype.calcClippedDrawTotalBounds = function(a6, aV) {\n var aU = a6._$Ri.getModelImpl().getCanvasWidth();\n var a5 = a6._$Ri.getModelImpl().getCanvasHeight();\n var aJ = aU > a5 ? aU : a5;\n var aT = aJ;\n var aR = aJ;\n var aS = 0;\n var aP = 0;\n var aL = aV.clippedDrawContextList.length;\n for (var aM = 0; aM < aL; aM++) {\n var aW = aV.clippedDrawContextList[aM];\n var aN = aW.drawDataIndex;\n var aK = a6._$C2(aN);\n if (aK._$yo()) {\n var aX = aK.getTransformedPoints();\n var a4 = aX.length;\n var aI = [];\n var aH = [];\n var aO = 0;\n for (var a3 = aw._$i2; a3 < a4; a3 += aw._$No) {\n aI[aO] = aX[a3];\n aH[aO] = aX[a3 + 1];\n aO++;\n }\n var a2 = Math.min.apply(null, aI);\n var a1 = Math.min.apply(null, aH);\n var a0 = Math.max.apply(null, aI);\n var aZ = Math.max.apply(null, aH);\n if (a2 < aT) {\n aT = a2;\n }\n if (a1 < aR) {\n aR = a1;\n }\n if (a0 > aS) {\n aS = a0;\n }\n if (aZ > aP) {\n aP = aZ;\n }\n }\n }\n if (aT == aJ) {\n aV.allClippedDrawRect.x = 0;\n aV.allClippedDrawRect.y = 0;\n aV.allClippedDrawRect.width = 0;\n aV.allClippedDrawRect.height = 0;\n aV.isUsing = false;\n } else {\n var aQ = aS - aT;\n var aY = aP - aR;\n aV.allClippedDrawRect.x = aT;\n aV.allClippedDrawRect.y = aR;\n aV.allClippedDrawRect.width = aQ;\n aV.allClippedDrawRect.height = aY;\n aV.isUsing = true;\n }\n}\n;\nW.prototype.setupLayoutBounds = function(aQ) {\n var aI = aQ / W.CHANNEL_COUNT;\n var aP = aQ % W.CHANNEL_COUNT;\n aI = ~~aI;\n aP = ~~aP;\n var aH = 0;\n for (var aJ = 0; aJ < W.CHANNEL_COUNT; aJ++) {\n var aM = aI + (aJ < aP ? 1 : 0);\n if (aM == 0) {} else {\n if (aM == 1) {\n var aL = this.clipContextList[aH++];\n aL.layoutChannelNo = aJ;\n aL.layoutBounds.x = 0;\n aL.layoutBounds.y = 0;\n aL.layoutBounds.width = 1;\n aL.layoutBounds.height = 1;\n } else {\n if (aM == 2) {\n for (var aO = 0; aO < aM; aO++) {\n var aN = aO % 2;\n var aK = 0;\n aN = ~~aN;\n var aL = this.clipContextList[aH++];\n aL.layoutChannelNo = aJ;\n aL.layoutBounds.x = aN * 0.5;\n aL.layoutBounds.y = 0;\n aL.layoutBounds.width = 0.5;\n aL.layoutBounds.height = 1;\n }\n } else {\n if (aM <= 4) {\n for (var aO = 0; aO < aM; aO++) {\n var aN = aO % 2;\n var aK = aO / 2;\n aN = ~~aN;\n aK = ~~aK;\n var aL = this.clipContextList[aH++];\n aL.layoutChannelNo = aJ;\n aL.layoutBounds.x = aN * 0.5;\n aL.layoutBounds.y = aK * 0.5;\n aL.layoutBounds.width = 0.5;\n aL.layoutBounds.height = 0.5;\n }\n } else {\n if (aM <= 9) {\n for (var aO = 0; aO < aM; aO++) {\n var aN = aO % 3;\n var aK = aO / 3;\n aN = ~~aN;\n aK = ~~aK;\n var aL = this.clipContextList[aH++];\n aL.layoutChannelNo = aJ;\n aL.layoutBounds.x = aN / 3;\n aL.layoutBounds.y = aK / 3;\n aL.layoutBounds.width = 1 / 3;\n aL.layoutBounds.height = 1 / 3;\n }\n } else {\n q._$li(\"_$6 _$0P mask count : %d\", aM);\n }\n }\n }\n }\n }\n }\n}\n;\nfunction U(aH, aK, aI) {\n this.clipIDList = new Array();\n this.clipIDList = aI;\n this.clippingMaskDrawIndexList = new Array();\n for (var aJ = 0; aJ < aI.length; aJ++) {\n this.clippingMaskDrawIndexList.push(aK.getDrawDataIndex(aI[aJ]));\n }\n this.clippedDrawContextList = new Array();\n this.isUsing = true;\n this.layoutChannelNo = 0;\n this.layoutBounds = new av();\n this.allClippedDrawRect = new av();\n this.matrixForMask = new Float32Array(16);\n this.matrixForDraw = new Float32Array(16);\n this.owner = aH;\n}\nU.prototype.addClippedDrawData = function(aJ, aI) {\n var aH = new R(aJ,aI);\n this.clippedDrawContextList.push(aH);\n}\n;\nfunction R(aI, aH) {\n this._$gP = aI;\n this.drawDataIndex = aH;\n}\nfunction I() {\n if (j) {\n return;\n }\n this.color = null;\n}\nfunction ah() {\n if (j) {\n return;\n }\n this._$dP = null;\n this._$eo = null;\n this._$V0 = null;\n this._$dP = 1000;\n this._$eo = 1000;\n this._$V0 = 1;\n this._$a0();\n}\nah._$JT = function(aP, aN, aO) {\n var aQ = aP / aN;\n var a1 = aO / aN;\n var aU = a1;\n var aZ = 1 / 3;\n var aR = 2 / 3;\n var a0 = 1 - (1 - a1) * (1 - a1);\n var a2 = 1 - (1 - aU) * (1 - aU);\n var aM = 0;\n var aL = ((1 - a1) * aZ) * a0 + (aU * aR + (1 - aU) * aZ) * (1 - a0);\n var aK = (aU + (1 - aU) * aR) * a2 + (a1 * aZ + (1 - a1) * aR) * (1 - a2);\n var aJ = 1;\n var aY = aJ - 3 * aK + 3 * aL - aM;\n var aX = 3 * aK - 6 * aL + 3 * aM;\n var aW = 3 * aL - 3 * aM;\n var aV = aM;\n if (aQ <= 0) {\n return 0;\n } else {\n if (aQ >= 1) {\n return 1;\n }\n }\n var aS = aQ;\n var aI = aS * aS;\n var aH = aS * aI;\n var aT = aY * aH + aX * aI + aW * aS + aV;\n return aT;\n}\n;\nah.prototype._$a0 = function() {}\n;\nah.prototype.setFadeIn = function(aH) {\n this._$dP = aH;\n}\n;\nah.prototype.setFadeOut = function(aH) {\n this._$eo = aH;\n}\n;\nah.prototype._$pT = function(aH) {\n this._$V0 = aH;\n}\n;\nah.prototype.getFadeOut = function() {\n return this._$eo;\n}\n;\nah.prototype._$4T = function() {\n return this._$eo;\n}\n;\nah.prototype._$mT = function() {\n return this._$V0;\n}\n;\nah.prototype.getDurationMSec = function() {\n return -1;\n}\n;\nah.prototype.getLoopDurationMSec = function() {\n return -1;\n}\n;\nah.prototype.updateParam = function(aJ, aN) {\n if (!aN._$AT || aN._$9L) {\n return;\n }\n var aL = P.getUserTimeMSec();\n if (aN._$z2 < 0) {\n aN._$z2 = aL;\n aN._$bs = aL;\n var aM = this.getDurationMSec();\n if (aN._$Do < 0) {\n aN._$Do = (aM <= 0) ? -1 : aN._$z2 + aM;\n }\n }\n var aI = this._$V0;\n var aH = (this._$dP == 0) ? 1 : A._$r2(((aL - aN._$bs) / (this._$dP)));\n var aK = (this._$eo == 0 || aN._$Do < 0) ? 1 : A._$r2(((aN._$Do - aL) / (this._$eo)));\n aI = aI * aH * aK;\n if (!((0 <= aI && aI <= 1))) {\n console.log(\"### assert!! ### \");\n }\n this.updateParamExe(aJ, aL, aI, aN);\n if (aN._$Do > 0 && aN._$Do < aL) {\n aN._$9L = true;\n }\n}\n;\nah.prototype.updateParamExe = function(aH, aI, aJ, aK) {}\n;\nfunction q() {}\nq._$8s = 0;\nq._$fT = new Object();\nq.start = function(aI) {\n var aH = q._$fT[aI];\n if (aH == null) {\n aH = new af();\n aH._$r = aI;\n q._$fT[aI] = aH;\n }\n aH._$0S = P.getSystemTimeMSec();\n}\n;\nq.dump = function(aJ) {\n var aH = q._$fT[aJ];\n if (aH != null) {\n var aI = P.getSystemTimeMSec();\n var aK = aI - aH._$0S;\n console.log(aJ + \" : \" + aK + \"ms\");\n return aK;\n } else {\n return -1;\n }\n}\n;\nq.end = function(aJ) {\n var aH = q._$fT[aJ];\n if (aH != null) {\n var aI = P.getSystemTimeMSec();\n return aI - aH._$0S;\n } else {\n return -1;\n }\n}\n;\nq._$li = function(aI, aH) {\n console.log(\"_$li : \" + aI + \"\\n\", aH);\n}\n;\nq._$Ji = function(aI, aH) {\n console.log(aI, aH);\n}\n;\nq._$dL = function(aI, aH) {\n console.log(aI, aH);\n console.log(\"\\n\");\n}\n;\nq._$KL = function(aJ, aI) {\n for (var aH = 0; aH < aI; aH++) {\n if (aH % 16 == 0 && aH > 0) {\n console.log(\"\\n\");\n } else {\n if (aH % 8 == 0 && aH > 0) {\n console.log(\" \");\n }\n }\n console.log(\"%02X \", (aJ[aH] & 255));\n }\n console.log(\"\\n\");\n}\n;\nq._$nr = function(aL, aI, aK) {\n console.log(\"%s\\n\", aL);\n var aH = aI.length;\n for (var aJ = 0; aJ < aH; ++aJ) {\n console.log(\"%5d\", aI[aJ]);\n console.log(\"%s\\n\", aK);\n console.log(\",\");\n }\n console.log(\"\\n\");\n}\n;\nq._$Rb = function(aH) {\n console.log(\"dump exception : \" + aH);\n console.log(\"stack :: \" + aH.stack);\n}\n;\nfunction af() {\n this._$r = null;\n this._$0S = null;\n}\nfunction F() {\n if (j) {\n return;\n }\n this.x = null;\n this.y = null;\n this.width = null;\n this.height = null;\n}\nF.prototype._$8P = function() {\n return 0.5 * (this.x + this.x + this.width);\n}\n;\nF.prototype._$6P = function() {\n return 0.5 * (this.y + this.y + this.height);\n}\n;\nF.prototype._$EL = function() {\n return this.x + this.width;\n}\n;\nF.prototype._$5T = function() {\n return this.y + this.height;\n}\n;\nF.prototype._$jL = function(aI, aK, aJ, aH) {\n this.x = aI;\n this.y = aK;\n this.width = aJ;\n this.height = aH;\n}\n;\nF.prototype._$jL = function(aH) {\n this.x = aH.x;\n this.y = aH.y;\n this.width = aH.width;\n this.height = aH.height;\n}\n;\nfunction i(aH) {\n if (j) {\n return;\n }\n ak.prototype.constructor.call(this, aH);\n}\ni.prototype = new ak();\ni._$tP = new Object();\ni._$27 = function() {\n i._$tP.clear();\n}\n;\ni.getID = function(aH) {\n var aI = i._$tP[aH];\n if (aI == null) {\n aI = new i(aH);\n i._$tP[aH] = aI;\n }\n return aI;\n}\n;\ni.prototype._$3s = function() {\n return new i();\n}\n;\nfunction S() {}\nfunction z(aH) {\n if (j) {\n return;\n }\n ak.prototype.constructor.call(this, aH);\n}\nz.prototype = new ak();\nz._$tP = new Object();\nz._$27 = function() {\n z._$tP.clear();\n}\n;\nz.getID = function(aH) {\n var aI = z._$tP[aH];\n if (aI == null) {\n aI = new z(aH);\n z._$tP[aH] = aI;\n }\n return aI;\n}\n;\nz.prototype._$3s = function() {\n return new z();\n}\n;\nfunction w() {\n if (j) {\n return;\n }\n this._$vo = null;\n this._$F2 = null;\n this._$ao = 400;\n this._$1S = 400;\n w._$42++;\n}\nw._$42 = 0;\nw.prototype._$zP = function() {\n if (this._$vo == null) {\n this._$vo = new an();\n }\n if (this._$F2 == null) {\n this._$F2 = new Array();\n }\n}\n;\nw.prototype.getCanvasWidth = function() {\n return this._$ao;\n}\n;\nw.prototype.getCanvasHeight = function() {\n return this._$1S;\n}\n;\nw.prototype._$F0 = function(aH) {\n this._$vo = aH._$nP();\n this._$F2 = aH._$nP();\n this._$ao = aH._$6L();\n this._$1S = aH._$6L();\n}\n;\nw.prototype._$6S = function(aH) {\n this._$F2.push(aH);\n}\n;\nw.prototype._$Xr = function() {\n return this._$F2;\n}\n;\nw.prototype._$E2 = function() {\n return this._$vo;\n}\n;\nfunction u() {\n if (j) {\n return;\n }\n this.p1 = new N();\n this.p2 = new N();\n this._$Fo = 0;\n this._$Db = 0;\n this._$L2 = 0;\n this._$M2 = 0;\n this._$ks = 0;\n this._$9b = 0;\n this._$iP = 0;\n this._$iT = 0;\n this._$lL = new Array();\n this._$qP = new Array();\n this.setup(0.3, 0.5, 0.1);\n}\nu.prototype.setup = function(aJ, aI, aH) {\n this._$ks = this._$Yb();\n this.p2._$xT();\n if (arguments.length == 3) {\n this._$Fo = aJ;\n this._$L2 = aI;\n this.p1._$p = aH;\n this.p2._$p = aH;\n this.p2.y = aJ;\n this.setup();\n }\n}\n;\nu.prototype.getPhysicsPoint1 = function() {\n return this.p1;\n}\n;\nu.prototype.getPhysicsPoint2 = function() {\n return this.p2;\n}\n;\nu.prototype._$qr = function() {\n return this._$Db;\n}\n;\nu.prototype._$pr = function(aH) {\n this._$Db = aH;\n}\n;\nu.prototype._$5r = function() {\n return this._$M2;\n}\n;\nu.prototype._$Cs = function() {\n return this._$9b;\n}\n;\nu.prototype._$Yb = function() {\n return (-180 * (Math.atan2(this.p1.x - this.p2.x, -(this.p1.y - this.p2.y))) / Math.PI);\n}\n;\nu.prototype.addSrcParam = function(aJ, aH, aL, aI) {\n var aK = new h(aJ,aH,aL,aI);\n this._$lL.push(aK);\n}\n;\nu.prototype.addTargetParam = function(aJ, aH, aK, aI) {\n var aL = new aF(aJ,aH,aK,aI);\n this._$qP.push(aL);\n}\n;\nu.prototype.update = function(aI, aL) {\n if (this._$iP == 0) {\n this._$iP = this._$iT = aL;\n this._$Fo = (Math.sqrt((this.p1.x - this.p2.x) * (this.p1.x - this.p2.x) + (this.p1.y - this.p2.y) * (this.p1.y - this.p2.y)));\n return;\n }\n var aK = (aL - this._$iT) / 1000;\n if (aK != 0) {\n for (var aJ = this._$lL.length - 1; aJ >= 0; --aJ) {\n var aM = this._$lL[aJ];\n aM._$oP(aI, this);\n }\n this._$oo(aI, aK);\n this._$M2 = this._$Yb();\n this._$9b = (this._$M2 - this._$ks) / aK;\n this._$ks = this._$M2;\n }\n for (var aJ = this._$qP.length - 1; aJ >= 0; --aJ) {\n var aH = this._$qP[aJ];\n aH._$YS(aI, this);\n }\n this._$iT = aL;\n}\n;\nu.prototype._$oo = function(aN, aI) {\n if (aI < 0.033) {\n aI = 0.033;\n }\n var aU = 1 / aI;\n this.p1.vx = (this.p1.x - this.p1._$s0) * aU;\n this.p1.vy = (this.p1.y - this.p1._$70) * aU;\n this.p1.ax = (this.p1.vx - this.p1._$7L) * aU;\n this.p1.ay = (this.p1.vy - this.p1._$HL) * aU;\n this.p1.fx = this.p1.ax * this.p1._$p;\n this.p1.fy = this.p1.ay * this.p1._$p;\n this.p1._$xT();\n var aM = -(Math.atan2((this.p1.y - this.p2.y), this.p1.x - this.p2.x));\n var aL;\n var aV;\n var aR = Math.cos(aM);\n var aH = Math.sin(aM);\n var aW = 9.8 * this.p2._$p;\n var aQ = (this._$Db * aC._$bS);\n var aP = (aW * Math.cos(aM - aQ));\n aL = (aP * aH);\n aV = (aP * aR);\n var aK = (-this.p1.fx * aH * aH);\n var aT = (-this.p1.fy * aH * aR);\n var aJ = ((-this.p2.vx * this._$L2));\n var aS = ((-this.p2.vy * this._$L2));\n this.p2.fx = ((aL + aK + aJ));\n this.p2.fy = ((aV + aT + aS));\n this.p2.ax = this.p2.fx / this.p2._$p;\n this.p2.ay = this.p2.fy / this.p2._$p;\n this.p2.vx += this.p2.ax * aI;\n this.p2.vy += this.p2.ay * aI;\n this.p2.x += this.p2.vx * aI;\n this.p2.y += this.p2.vy * aI;\n var aO = (Math.sqrt((this.p1.x - this.p2.x) * (this.p1.x - this.p2.x) + (this.p1.y - this.p2.y) * (this.p1.y - this.p2.y)));\n this.p2.x = this.p1.x + this._$Fo * (this.p2.x - this.p1.x) / aO;\n this.p2.y = this.p1.y + this._$Fo * (this.p2.y - this.p1.y) / aO;\n this.p2.vx = (this.p2.x - this.p2._$s0) * aU;\n this.p2.vy = (this.p2.y - this.p2._$70) * aU;\n this.p2._$xT();\n}\n;\nfunction N() {\n this._$p = 1;\n this.x = 0;\n this.y = 0;\n this.vx = 0;\n this.vy = 0;\n this.ax = 0;\n this.ay = 0;\n this.fx = 0;\n this.fy = 0;\n this._$s0 = 0;\n this._$70 = 0;\n this._$7L = 0;\n this._$HL = 0;\n}\nN.prototype._$xT = function() {\n this._$s0 = this.x;\n this._$70 = this.y;\n this._$7L = this.vx;\n this._$HL = this.vy;\n}\n;\nfunction at(aJ, aI, aH) {\n this._$wL = null;\n this.scale = null;\n this._$V0 = null;\n this._$wL = aJ;\n this.scale = aI;\n this._$V0 = aH;\n}\nat.prototype._$oP = function(aI, aH) {}\n;\nfunction h(aJ, aK, aI, aH) {\n at.prototype.constructor.call(this, aK, aI, aH);\n this._$tL = null;\n this._$tL = aJ;\n}\nh.prototype = new at();\nh.prototype._$oP = function(aJ, aH) {\n var aK = this.scale * aJ.getParamFloat(this._$wL);\n var aL = aH.getPhysicsPoint1();\n switch (this._$tL) {\n default:\n case u.Src.SRC_TO_X:\n aL.x = aL.x + (aK - aL.x) * this._$V0;\n break;\n case u.Src.SRC_TO_Y:\n aL.y = aL.y + (aK - aL.y) * this._$V0;\n break;\n case u.Src.SRC_TO_G_ANGLE:\n var aI = aH._$qr();\n aI = aI + (aK - aI) * this._$V0;\n aH._$pr(aI);\n break;\n }\n}\n;\nfunction d(aJ, aI, aH) {\n this._$wL = null;\n this.scale = null;\n this._$V0 = null;\n this._$wL = aJ;\n this.scale = aI;\n this._$V0 = aH;\n}\nd.prototype._$YS = function(aI, aH) {}\n;\nfunction aF(aI, aK, aJ, aH) {\n d.prototype.constructor.call(this, aK, aJ, aH);\n this._$YP = null;\n this._$YP = aI;\n}\naF.prototype = new d();\naF.prototype._$YS = function(aI, aH) {\n switch (this._$YP) {\n default:\n case u.Target.TARGET_FROM_ANGLE:\n aI.setParamFloat(this._$wL, this.scale * aH._$5r(), this._$V0);\n break;\n case u.Target.TARGET_FROM_ANGLE_V:\n aI.setParamFloat(this._$wL, this.scale * aH._$Cs(), this._$V0);\n break;\n }\n}\n;\nu.Src = function() {}\n;\nu.Src.SRC_TO_X = \"SRC_TO_X\";\nu.Src.SRC_TO_Y = \"SRC_TO_Y\";\nu.Src.SRC_TO_G_ANGLE = \"SRC_TO_G_ANGLE\";\nu.Target = function() {}\n;\nu.Target.TARGET_FROM_ANGLE = \"TARGET_FROM_ANGLE\";\nu.Target.TARGET_FROM_ANGLE_V = \"TARGET_FROM_ANGLE_V\";\nfunction X() {\n if (j) {\n return;\n }\n this._$fL = 0;\n this._$gL = 0;\n this._$B0 = 1;\n this._$z0 = 1;\n this._$qT = 0;\n this.reflectX = false;\n this.reflectY = false;\n}\nX.prototype.init = function(aH) {\n this._$fL = aH._$fL;\n this._$gL = aH._$gL;\n this._$B0 = aH._$B0;\n this._$z0 = aH._$z0;\n this._$qT = aH._$qT;\n this.reflectX = aH.reflectX;\n this.reflectY = aH.reflectY;\n}\n;\nX.prototype._$F0 = function(aH) {\n this._$fL = aH._$_T();\n this._$gL = aH._$_T();\n this._$B0 = aH._$_T();\n this._$z0 = aH._$_T();\n this._$qT = aH._$_T();\n if (aH.getFormatVersion() >= ay.LIVE2D_FORMAT_VERSION_V2_10_SDK2) {\n this.reflectX = aH._$po();\n this.reflectY = aH._$po();\n }\n}\n;\nX.prototype._$e = function() {}\n;\nvar ad = function() {};\nad._$ni = function(aL, aJ, aR, aQ, aK, aI, aH, aS, aN) {\n var aM = (aH * aI - aS * aK);\n if (aM == 0) {\n return null;\n } else {\n var aO = ((aL - aR) * aI - (aJ - aQ) * aK) / aM;\n var aP;\n if (aK != 0) {\n aP = (aL - aR - aO * aH) / aK;\n } else {\n aP = (aJ - aQ - aO * aS) / aI;\n }\n if (isNaN(aP)) {\n aP = (aL - aR - aO * aH) / aK;\n if (isNaN(aP)) {\n aP = (aJ - aQ - aO * aS) / aI;\n }\n if (isNaN(aP)) {\n console.log(\"a is NaN @UtVector#_$ni() \");\n console.log(\"v1x : \" + aK);\n console.log(\"v1x != 0 ? \" + (aK != 0));\n }\n }\n if (aN == null) {\n return new Array(aP,aO);\n } else {\n aN[0] = aP;\n aN[1] = aO;\n return aN;\n }\n }\n}\n;\nfunction av() {\n if (j) {\n return;\n }\n this.x = null;\n this.y = null;\n this.width = null;\n this.height = null;\n}\nav.prototype._$8P = function() {\n return this.x + 0.5 * this.width;\n}\n;\nav.prototype._$6P = function() {\n return this.y + 0.5 * this.height;\n}\n;\nav.prototype._$EL = function() {\n return this.x + this.width;\n}\n;\nav.prototype._$5T = function() {\n return this.y + this.height;\n}\n;\nav.prototype._$jL = function(aI, aK, aJ, aH) {\n this.x = aI;\n this.y = aK;\n this.width = aJ;\n this.height = aH;\n}\n;\nav.prototype._$jL = function(aH) {\n this.x = aH.x;\n this.y = aH.y;\n this.width = aH.width;\n this.height = aH.height;\n}\n;\nav.prototype.contains = function(aH, aI) {\n return this.x <= this.x && this.y <= this.y && (this.x <= this.x + this.width) && (this.y <= this.y + this.height);\n}\n;\nav.prototype.expand = function(aH, aI) {\n this.x -= aH;\n this.y -= aI;\n this.width += aH * 2;\n this.height += aI * 2;\n}\n;\nfunction aG() {}\naG._$Z2 = function(bb, bo, bp, a2) {\n var a1 = bo._$Q2(bb, bp);\n var a3 = bb._$vs();\n var ba = bb._$Tr();\n bo._$zr(a3, ba, a1);\n if (a1 <= 0) {\n return a2[a3[0]];\n } else {\n if (a1 == 1) {\n var bj = a2[a3[0]];\n var bi = a2[a3[1]];\n var a9 = ba[0];\n return (bj + (bi - bj) * a9) | 0;\n } else {\n if (a1 == 2) {\n var bj = a2[a3[0]];\n var bi = a2[a3[1]];\n var a0 = a2[a3[2]];\n var aZ = a2[a3[3]];\n var a9 = ba[0];\n var a8 = ba[1];\n var br = (bj + (bi - bj) * a9) | 0;\n var bq = (a0 + (aZ - a0) * a9) | 0;\n return (br + (bq - br) * a8) | 0;\n } else {\n if (a1 == 3) {\n var aP = a2[a3[0]];\n var aO = a2[a3[1]];\n var bn = a2[a3[2]];\n var bm = a2[a3[3]];\n var aK = a2[a3[4]];\n var aJ = a2[a3[5]];\n var bg = a2[a3[6]];\n var bf = a2[a3[7]];\n var a9 = ba[0];\n var a8 = ba[1];\n var a6 = ba[2];\n var bj = (aP + (aO - aP) * a9) | 0;\n var bi = (bn + (bm - bn) * a9) | 0;\n var a0 = (aK + (aJ - aK) * a9) | 0;\n var aZ = (bg + (bf - bg) * a9) | 0;\n var br = (bj + (bi - bj) * a8) | 0;\n var bq = (a0 + (aZ - a0) * a8) | 0;\n return (br + (bq - br) * a6) | 0;\n } else {\n if (a1 == 4) {\n var aT = a2[a3[0]];\n var aS = a2[a3[1]];\n var bu = a2[a3[2]];\n var bt = a2[a3[3]];\n var aN = a2[a3[4]];\n var aM = a2[a3[5]];\n var bl = a2[a3[6]];\n var bk = a2[a3[7]];\n var be = a2[a3[8]];\n var bc = a2[a3[9]];\n var aX = a2[a3[10]];\n var aW = a2[a3[11]];\n var a7 = a2[a3[12]];\n var a5 = a2[a3[13]];\n var aR = a2[a3[14]];\n var aQ = a2[a3[15]];\n var a9 = ba[0];\n var a8 = ba[1];\n var a6 = ba[2];\n var a4 = ba[3];\n var aP = (aT + (aS - aT) * a9) | 0;\n var aO = (bu + (bt - bu) * a9) | 0;\n var bn = (aN + (aM - aN) * a9) | 0;\n var bm = (bl + (bk - bl) * a9) | 0;\n var aK = (be + (bc - be) * a9) | 0;\n var aJ = (aX + (aW - aX) * a9) | 0;\n var bg = (a7 + (a5 - a7) * a9) | 0;\n var bf = (aR + (aQ - aR) * a9) | 0;\n var bj = (aP + (aO - aP) * a8) | 0;\n var bi = (bn + (bm - bn) * a8) | 0;\n var a0 = (aK + (aJ - aK) * a8) | 0;\n var aZ = (bg + (bf - bg) * a8) | 0;\n var br = (bj + (bi - bj) * a6) | 0;\n var bq = (a0 + (aZ - a0) * a6) | 0;\n return (br + (bq - br) * a4) | 0;\n } else {\n var aV = 1 << a1;\n var aY = new Float32Array(aV);\n for (var bh = 0; bh < aV; bh++) {\n var aI = bh;\n var aH = 1;\n for (var aL = 0; aL < a1; aL++) {\n aH *= (aI % 2 == 0) ? (1 - ba[aL]) : ba[aL];\n aI /= 2;\n }\n aY[bh] = aH;\n }\n var bs = new Float32Array(aV);\n for (var aU = 0; aU < aV; aU++) {\n bs[aU] = a2[a3[aU]];\n }\n var bd = 0;\n for (var aU = 0; aU < aV; aU++) {\n bd += aY[aU] * bs[aU];\n }\n return (bd + 0.5) | 0;\n }\n }\n }\n }\n }\n}\n;\naG._$br = function(ba, bo, bp, bg) {\n var a1 = bo._$Q2(ba, bp);\n var a2 = ba._$vs();\n var a9 = ba._$Tr();\n bo._$zr(a2, a9, a1);\n if (a1 <= 0) {\n return bg[a2[0]];\n } else {\n if (a1 == 1) {\n var bj = bg[a2[0]];\n var bi = bg[a2[1]];\n var a8 = a9[0];\n return bj + (bi - bj) * a8;\n } else {\n if (a1 == 2) {\n var bj = bg[a2[0]];\n var bi = bg[a2[1]];\n var a0 = bg[a2[2]];\n var aZ = bg[a2[3]];\n var a8 = a9[0];\n var a7 = a9[1];\n return (1 - a7) * (bj + (bi - bj) * a8) + a7 * (a0 + (aZ - a0) * a8);\n } else {\n if (a1 == 3) {\n var aP = bg[a2[0]];\n var aO = bg[a2[1]];\n var bn = bg[a2[2]];\n var bm = bg[a2[3]];\n var aK = bg[a2[4]];\n var aJ = bg[a2[5]];\n var bf = bg[a2[6]];\n var be = bg[a2[7]];\n var a8 = a9[0];\n var a7 = a9[1];\n var a5 = a9[2];\n return (1 - a5) * ((1 - a7) * (aP + (aO - aP) * a8) + a7 * (bn + (bm - bn) * a8)) + a5 * ((1 - a7) * (aK + (aJ - aK) * a8) + a7 * (bf + (be - bf) * a8));\n } else {\n if (a1 == 4) {\n var aT = bg[a2[0]];\n var aS = bg[a2[1]];\n var bs = bg[a2[2]];\n var br = bg[a2[3]];\n var aN = bg[a2[4]];\n var aM = bg[a2[5]];\n var bl = bg[a2[6]];\n var bk = bg[a2[7]];\n var bd = bg[a2[8]];\n var bb = bg[a2[9]];\n var aX = bg[a2[10]];\n var aW = bg[a2[11]];\n var a6 = bg[a2[12]];\n var a4 = bg[a2[13]];\n var aR = bg[a2[14]];\n var aQ = bg[a2[15]];\n var a8 = a9[0];\n var a7 = a9[1];\n var a5 = a9[2];\n var a3 = a9[3];\n return (1 - a3) * ((1 - a5) * ((1 - a7) * (aT + (aS - aT) * a8) + a7 * (bs + (br - bs) * a8)) + a5 * ((1 - a7) * (aN + (aM - aN) * a8) + a7 * (bl + (bk - bl) * a8))) + a3 * ((1 - a5) * ((1 - a7) * (bd + (bb - bd) * a8) + a7 * (aX + (aW - aX) * a8)) + a5 * ((1 - a7) * (a6 + (a4 - a6) * a8) + a7 * (aR + (aQ - aR) * a8)));\n } else {\n var aV = 1 << a1;\n var aY = new Float32Array(aV);\n for (var bh = 0; bh < aV; bh++) {\n var aI = bh;\n var aH = 1;\n for (var aL = 0; aL < a1; aL++) {\n aH *= (aI % 2 == 0) ? (1 - a9[aL]) : a9[aL];\n aI /= 2;\n }\n aY[bh] = aH;\n }\n var bq = new Float32Array(aV);\n for (var aU = 0; aU < aV; aU++) {\n bq[aU] = bg[a2[aU]];\n }\n var bc = 0;\n for (var aU = 0; aU < aV; aU++) {\n bc += aY[aU] * bq[aU];\n }\n return bc;\n }\n }\n }\n }\n }\n}\n;\naG._$Vr = function(bV, bW, a5, aI, bC, a3, bX, bH) {\n var aN = bW._$Q2(bV, a5);\n var bw = bV._$vs();\n var a2 = bV._$Tr();\n bW._$zr(bw, a2, aN);\n var aJ = aI * 2;\n var aQ = bX;\n if (aN <= 0) {\n var bI = bw[0];\n var bq = bC[bI];\n if (bH == 2 && bX == 0) {\n P._$jT(bq, 0, a3, 0, aJ);\n } else {\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = bq[bt++];\n a3[aQ + 1] = bq[bt++];\n aQ += bH;\n }\n }\n } else {\n if (aN == 1) {\n var bq = bC[bw[0]];\n var bp = bC[bw[1]];\n var b3 = a2[0];\n var bT = 1 - b3;\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = bq[bt] * bT + bp[bt] * b3;\n ++bt;\n a3[aQ + 1] = bq[bt] * bT + bp[bt] * b3;\n ++bt;\n aQ += bH;\n }\n } else {\n if (aN == 2) {\n var bq = bC[bw[0]];\n var bp = bC[bw[1]];\n var aZ = bC[bw[2]];\n var aY = bC[bw[3]];\n var b3 = a2[0];\n var b1 = a2[1];\n var bT = 1 - b3;\n var bP = 1 - b1;\n var b2 = bP * bT;\n var b0 = bP * b3;\n var bM = b1 * bT;\n var bL = b1 * b3;\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = b2 * bq[bt] + b0 * bp[bt] + bM * aZ[bt] + bL * aY[bt];\n ++bt;\n a3[aQ + 1] = b2 * bq[bt] + b0 * bp[bt] + bM * aZ[bt] + bL * aY[bt];\n ++bt;\n aQ += bH;\n }\n } else {\n if (aN == 3) {\n var ba = bC[bw[0]];\n var a9 = bC[bw[1]];\n var aP = bC[bw[2]];\n var aO = bC[bw[3]];\n var a6 = bC[bw[4]];\n var a4 = bC[bw[5]];\n var aL = bC[bw[6]];\n var aK = bC[bw[7]];\n var b3 = a2[0];\n var b1 = a2[1];\n var bZ = a2[2];\n var bT = 1 - b3;\n var bP = 1 - b1;\n var bN = 1 - bZ;\n var b8 = bN * bP * bT;\n var b7 = bN * bP * b3;\n var bU = bN * b1 * bT;\n var bS = bN * b1 * b3;\n var b6 = bZ * bP * bT;\n var b5 = bZ * bP * b3;\n var bQ = bZ * b1 * bT;\n var bO = bZ * b1 * b3;\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = b8 * ba[bt] + b7 * a9[bt] + bU * aP[bt] + bS * aO[bt] + b6 * a6[bt] + b5 * a4[bt] + bQ * aL[bt] + bO * aK[bt];\n ++bt;\n a3[aQ + 1] = b8 * ba[bt] + b7 * a9[bt] + bU * aP[bt] + bS * aO[bt] + b6 * a6[bt] + b5 * a4[bt] + bQ * aL[bt] + bO * aK[bt];\n ++bt;\n aQ += bH;\n }\n } else {\n if (aN == 4) {\n var bD = bC[bw[0]];\n var bB = bC[bw[1]];\n var bo = bC[bw[2]];\n var bm = bC[bw[3]];\n var by = bC[bw[4]];\n var bx = bC[bw[5]];\n var be = bC[bw[6]];\n var bd = bC[bw[7]];\n var bG = bC[bw[8]];\n var bE = bC[bw[9]];\n var bv = bC[bw[10]];\n var bu = bC[bw[11]];\n var bA = bC[bw[12]];\n var bz = bC[bw[13]];\n var bn = bC[bw[14]];\n var bl = bC[bw[15]];\n var b3 = a2[0];\n var b1 = a2[1];\n var bZ = a2[2];\n var bY = a2[3];\n var bT = 1 - b3;\n var bP = 1 - b1;\n var bN = 1 - bZ;\n var bK = 1 - bY;\n var bk = bK * bN * bP * bT;\n var bi = bK * bN * bP * b3;\n var aW = bK * bN * b1 * bT;\n var aV = bK * bN * b1 * b3;\n var bc = bK * bZ * bP * bT;\n var bb = bK * bZ * bP * b3;\n var aS = bK * bZ * b1 * bT;\n var aR = bK * bZ * b1 * b3;\n var bs = bY * bN * bP * bT;\n var br = bY * bN * bP * b3;\n var a1 = bY * bN * b1 * bT;\n var a0 = bY * bN * b1 * b3;\n var bh = bY * bZ * bP * bT;\n var bf = bY * bZ * bP * b3;\n var aU = bY * bZ * b1 * bT;\n var aT = bY * bZ * b1 * b3;\n for (var bt = 0; bt < aJ; ) {\n a3[aQ] = bk * bD[bt] + bi * bB[bt] + aW * bo[bt] + aV * bm[bt] + bc * by[bt] + bb * bx[bt] + aS * be[bt] + aR * bd[bt] + bs * bG[bt] + br * bE[bt] + a1 * bv[bt] + a0 * bu[bt] + bh * bA[bt] + bf * bz[bt] + aU * bn[bt] + aT * bl[bt];\n ++bt;\n a3[aQ + 1] = bk * bD[bt] + bi * bB[bt] + aW * bo[bt] + aV * bm[bt] + bc * by[bt] + bb * bx[bt] + aS * be[bt] + aR * bd[bt] + bs * bG[bt] + br * bE[bt] + a1 * bv[bt] + a0 * bu[bt] + bh * bA[bt] + bf * bz[bt] + aU * bn[bt] + aT * bl[bt];\n ++bt;\n aQ += bH;\n }\n } else {\n var b4 = 1 << aN;\n var bJ = new Float32Array(b4);\n for (var bj = 0; bj < b4; bj++) {\n var aH = bj;\n var aM = 1;\n for (var bF = 0; bF < aN; bF++) {\n aM *= (aH % 2 == 0) ? (1 - a2[bF]) : a2[bF];\n aH /= 2;\n }\n bJ[bj] = aM;\n }\n var bg = new Float32Array(b4);\n for (var aX = 0; aX < b4; aX++) {\n bg[aX] = bC[bw[aX]];\n }\n for (var bt = 0; bt < aJ; ) {\n var a8 = 0\n , a7 = 0;\n var bR = bt + 1;\n for (var aX = 0; aX < b4; aX++) {\n a8 += bJ[aX] * bg[aX][bt];\n a7 += bJ[aX] * bg[aX][bR];\n }\n bt += 2;\n a3[aQ] = a8;\n a3[aQ + 1] = a7;\n aQ += bH;\n }\n }\n }\n }\n }\n }\n}\n;\nfunction e() {\n if (j) {\n return;\n }\n this.x = null;\n this.y = null;\n}\ne.prototype._$HT = function(aH, aI) {\n this.x = aH;\n this.y = aI;\n}\n;\ne.prototype._$HT = function(aH) {\n this.x = aH.x;\n this.y = aH.y;\n}\n;\nfunction ae() {\n if (j) {\n return;\n }\n this._$gP = null;\n this._$dr = null;\n this._$GS = null;\n this._$qb = null;\n this._$Lb = null;\n this._$mS = null;\n this.clipID = null;\n this.clipIDList = new Array();\n}\nae._$ur = -2;\nae._$ES = 500;\nae._$wb = 2;\nae._$8S = 3;\nae._$52 = ae._$ES;\nae._$R2 = ae._$ES;\nae._$or = function() {\n return ae._$52;\n}\n;\nae._$Pr = function() {\n return ae._$R2;\n}\n;\nae.prototype.convertClipIDForV2_11 = function(aI) {\n var aH = [];\n if (aI == null) {\n return null;\n }\n if (aI.length == 0) {\n return null;\n }\n if (!/,/.test(aI)) {\n aH.push(aI.id);\n return aH;\n }\n aH = aI.id.split(\",\");\n return aH;\n}\n;\nae.prototype._$F0 = function(aH) {\n this._$gP = aH._$nP();\n this._$dr = aH._$nP();\n this._$GS = aH._$nP();\n this._$qb = aH._$6L();\n this._$Lb = aH._$cS();\n this._$mS = aH._$Tb();\n if (aH.getFormatVersion() >= ay._$T7) {\n this.clipID = aH._$nP();\n this.clipIDList = this.convertClipIDForV2_11(this.clipID);\n } else {\n this.clipIDList = [];\n }\n this._$MS(this._$Lb);\n}\n;\nae.prototype.getClipIDList = function() {\n return this.clipIDList;\n}\n;\nae.prototype.init = function(aH) {}\n;\nae.prototype._$Nr = function(aH, aI) {\n aI._$IS[0] = false;\n aI._$Us = aG._$Z2(aH, this._$GS, aI._$IS, this._$Lb);\n if (Q._$Zs) {} else {\n if (aI._$IS[0]) {\n return;\n }\n }\n aI._$7s = aG._$br(aH, this._$GS, aI._$IS, this._$mS);\n}\n;\nae.prototype._$2b = function(aH, aI) {}\n;\nae.prototype.getDrawDataID = function() {\n return this._$gP;\n}\n;\nae.prototype._$j2 = function(aH) {\n this._$gP = aH;\n}\n;\nae.prototype.getOpacity = function(aH, aI) {\n return aI._$7s;\n}\n;\nae.prototype._$zS = function(aH, aI) {\n return aI._$Us;\n}\n;\nae.prototype._$MS = function(aJ) {\n for (var aI = aJ.length - 1; aI >= 0; --aI) {\n var aH = aJ[aI];\n if (aH < ae._$52) {\n ae._$52 = aH;\n } else {\n if (aH > ae._$R2) {\n ae._$R2 = aH;\n }\n }\n }\n}\n;\nae.prototype.getTargetBaseDataID = function() {\n return this._$dr;\n}\n;\nae.prototype._$gs = function(aH) {\n this._$dr = aH;\n}\n;\nae.prototype._$32 = function() {\n return (this._$dr != null && (this._$dr != n._$2o()));\n}\n;\nae.prototype.preDraw = function(aJ, aH, aI) {}\n;\nae.prototype.draw = function(aJ, aH, aI) {}\n;\nae.prototype.getType = function() {}\n;\nae.prototype._$B2 = function(aI, aH, aJ) {}\n;\nfunction ax() {\n if (j) {\n return;\n }\n this._$Eb = ax._$ps;\n this._$lT = 1;\n this._$C0 = 1;\n this._$tT = 1;\n this._$WL = 1;\n this.culling = false;\n this.matrix4x4 = new Float32Array(16);\n this.premultipliedAlpha = false;\n this.anisotropy = 0;\n this.clippingProcess = ax.CLIPPING_PROCESS_NONE;\n this.clipBufPre_clipContextMask = null;\n this.clipBufPre_clipContextDraw = null;\n this.CHANNEL_COLORS = new Array();\n}\nax._$ps = 32;\nax.CLIPPING_PROCESS_NONE = 0;\nax.CLIPPING_PROCESS_OVERWRITE_ALPHA = 1;\nax.CLIPPING_PROCESS_MULTIPLY_ALPHA = 2;\nax.CLIPPING_PROCESS_DRAW = 3;\nax.CLIPPING_PROCESS_CLEAR_ALPHA = 4;\nax.prototype.setChannelFlagAsColor = function(aH, aI) {\n this.CHANNEL_COLORS[aH] = aI;\n}\n;\nax.prototype.getChannelFlagAsColor = function(aH) {\n return this.CHANNEL_COLORS[aH];\n}\n;\nax.prototype._$ZT = function() {}\n;\nax.prototype._$Uo = function(aM, aK, aJ, aL, aN, aI, aH) {}\n;\nax.prototype._$Rs = function() {\n return -1;\n}\n;\nax.prototype._$Ds = function(aH) {}\n;\nax.prototype.setBaseColor = function(aK, aJ, aI, aH) {\n if (aK < 0) {\n aK = 0;\n } else {\n if (aK > 1) {\n aK = 1;\n }\n }\n if (aJ < 0) {\n aJ = 0;\n } else {\n if (aJ > 1) {\n aJ = 1;\n }\n }\n if (aI < 0) {\n aI = 0;\n } else {\n if (aI > 1) {\n aI = 1;\n }\n }\n if (aH < 0) {\n aH = 0;\n } else {\n if (aH > 1) {\n aH = 1;\n }\n }\n this._$lT = aK;\n this._$C0 = aJ;\n this._$tT = aI;\n this._$WL = aH;\n}\n;\nax.prototype._$WP = function(aH) {\n this.culling = aH;\n}\n;\nax.prototype.setMatrix = function(aH) {\n for (var aI = 0; aI < 16; aI++) {\n this.matrix4x4[aI] = aH[aI];\n }\n}\n;\nax.prototype._$IT = function() {\n return this.matrix4x4;\n}\n;\nax.prototype.setPremultipliedAlpha = function(aH) {\n this.premultipliedAlpha = aH;\n}\n;\nax.prototype.isPremultipliedAlpha = function() {\n return this.premultipliedAlpha;\n}\n;\nax.prototype.setAnisotropy = function(aH) {\n this.anisotropy = aH;\n}\n;\nax.prototype.getAnisotropy = function() {\n return this.anisotropy;\n}\n;\nax.prototype.getClippingProcess = function() {\n return this.clippingProcess;\n}\n;\nax.prototype.setClippingProcess = function(aH) {\n this.clippingProcess = aH;\n}\n;\nax.prototype.setClipBufPre_clipContextForMask = function(aH) {\n this.clipBufPre_clipContextMask = aH;\n}\n;\nax.prototype.getClipBufPre_clipContextMask = function() {\n return this.clipBufPre_clipContextMask;\n}\n;\nax.prototype.setClipBufPre_clipContextForDraw = function(aH) {\n this.clipBufPre_clipContextDraw = aH;\n}\n;\nax.prototype.getClipBufPre_clipContextDraw = function() {\n return this.clipBufPre_clipContextDraw;\n}\n;\nfunction o() {\n if (j) {\n return;\n }\n this.a = 1;\n this.r = 1;\n this.g = 1;\n this.b = 1;\n this.scale = 1;\n this._$ho = 1;\n this.blendMode = Q.L2D_COLOR_BLEND_MODE_MULT;\n}\nfunction c() {\n if (j) {\n return;\n }\n this._$kP = null;\n this._$dr = null;\n this._$Ai = true;\n this._$mS = null;\n}\nc._$ur = -2;\nc._$c2 = 1;\nc._$_b = 2;\nc.prototype._$F0 = function(aH) {\n this._$kP = aH._$nP();\n this._$dr = aH._$nP();\n}\n;\nc.prototype.readV2_opacity = function(aH) {\n if (aH.getFormatVersion() >= ay.LIVE2D_FORMAT_VERSION_V2_10_SDK2) {\n this._$mS = aH._$Tb();\n }\n}\n;\nc.prototype.init = function(aH) {}\n;\nc.prototype._$Nr = function(aI, aH) {}\n;\nc.prototype.interpolateOpacity = function(aJ, aK, aI, aH) {\n if (this._$mS == null) {\n aI.setInterpolatedOpacity(1);\n } else {\n aI.setInterpolatedOpacity(aG._$br(aJ, aK, aH, this._$mS));\n }\n}\n;\nc.prototype._$2b = function(aI, aH) {}\n;\nc.prototype._$nb = function(aL, aK, aM, aH, aI, aJ, aN) {}\n;\nc.prototype.getType = function() {}\n;\nc.prototype._$gs = function(aH) {\n this._$dr = aH;\n}\n;\nc.prototype._$a2 = function(aH) {\n this._$kP = aH;\n}\n;\nc.prototype.getTargetBaseDataID = function() {\n return this._$dr;\n}\n;\nc.prototype.getBaseDataID = function() {\n return this._$kP;\n}\n;\nc.prototype._$32 = function() {\n return (this._$dr != null && (this._$dr != n._$2o()));\n}\n;\nfunction P() {}\nP._$W2 = 0;\nP._$CS = P._$W2;\nP._$Mo = function() {\n return true;\n}\n;\nP._$XP = function(aI) {\n try {\n var aJ = getTimeMSec();\n while (getTimeMSec() - aJ < aI) {}\n } catch (aH) {\n aH._$Rb();\n }\n}\n;\nP.getUserTimeMSec = function() {\n return (P._$CS == P._$W2) ? P.getSystemTimeMSec() : P._$CS;\n}\n;\nP.setUserTimeMSec = function(aH) {\n P._$CS = aH;\n}\n;\nP.updateUserTimeMSec = function() {\n return (P._$CS = P.getSystemTimeMSec());\n}\n;\nP.getTimeMSec = function() {\n return new Date().getTime();\n}\n;\nP.getSystemTimeMSec = function() {\n return new Date().getTime();\n}\n;\nP._$Q = function(aH) {}\n;\nP._$jT = function(aM, aJ, aI, aL, aH) {\n for (var aK = 0; aK < aH; aK++) {\n aI[aL + aK] = aM[aJ + aK];\n }\n}\n;\nfunction aA() {\n if (j) {\n return;\n }\n this._$VP = 0;\n this._$wL = null;\n this._$GP = null;\n this._$8o = aA._$ds;\n this._$2r = -1;\n this._$O2 = 0;\n this._$ri = 0;\n}\naA._$ds = -2;\naA.prototype._$F0 = function(aH) {\n this._$wL = aH._$nP();\n this._$VP = aH._$6L();\n this._$GP = aH._$nP();\n}\n;\naA.prototype.getParamIndex = function(aH) {\n if (this._$2r != aH) {\n this._$8o = aA._$ds;\n }\n return this._$8o;\n}\n;\naA.prototype._$Pb = function(aI, aH) {\n this._$8o = aI;\n this._$2r = aH;\n}\n;\naA.prototype.getParamID = function() {\n return this._$wL;\n}\n;\naA.prototype._$yP = function(aH) {\n this._$wL = aH;\n}\n;\naA.prototype._$N2 = function() {\n return this._$VP;\n}\n;\naA.prototype._$d2 = function() {\n return this._$GP;\n}\n;\naA.prototype._$t2 = function(aI, aH) {\n this._$VP = aI;\n this._$GP = aH;\n}\n;\naA.prototype._$Lr = function() {\n return this._$O2;\n}\n;\naA.prototype._$wr = function(aH) {\n this._$O2 = aH;\n}\n;\naA.prototype._$SL = function() {\n return this._$ri;\n}\n;\naA.prototype._$AL = function(aH) {\n this._$ri = aH;\n}\n;\nfunction G() {}\nG.startsWith = function(aJ, aL, aK) {\n var aH = aL + aK.length;\n if (aH >= aJ.length) {\n return false;\n }\n for (var aI = aL; aI < aH; aI++) {\n if (G.getChar(aJ, aI) != aK.charAt(aI - aL)) {\n return false;\n }\n }\n return true;\n}\n;\nG.getChar = function(aI, aH) {\n return String.fromCharCode(aI.getUint8(aH));\n}\n;\nG.createString = function(aM, aL, aJ) {\n var aH = new ArrayBuffer(aJ * 2);\n var aK = new Uint16Array(aH);\n for (var aI = 0; aI < aJ; aI++) {\n aK[aI] = aM.getUint8(aL + aI);\n }\n return String.fromCharCode.apply(null, aK);\n}\n;\nG._$LS = function(aP, aM, aR, aK) {\n if (aP instanceof ArrayBuffer) {\n aP = new DataView(aP);\n }\n var aL = aR;\n var aJ = false;\n var aQ = false;\n var aS = 0;\n var aO = G.getChar(aP, aL);\n if (aO == \"-\") {\n aJ = true;\n aL++;\n }\n var aN = false;\n for (; aL < aM; aL++) {\n aO = G.getChar(aP, aL);\n switch (aO) {\n case \"0\":\n aS = aS * 10;\n break;\n case \"1\":\n aS = aS * 10 + 1;\n break;\n case \"2\":\n aS = aS * 10 + 2;\n break;\n case \"3\":\n aS = aS * 10 + 3;\n break;\n case \"4\":\n aS = aS * 10 + 4;\n break;\n case \"5\":\n aS = aS * 10 + 5;\n break;\n case \"6\":\n aS = aS * 10 + 6;\n break;\n case \"7\":\n aS = aS * 10 + 7;\n break;\n case \"8\":\n aS = aS * 10 + 8;\n break;\n case \"9\":\n aS = aS * 10 + 9;\n break;\n case \".\":\n aQ = true;\n aL++;\n aN = true;\n break;\n default:\n aN = true;\n break;\n }\n if (aN) {\n break;\n }\n }\n if (aQ) {\n var aI = 0.1;\n var aH = false;\n for (; aL < aM; aL++) {\n aO = G.getChar(aP, aL);\n switch (aO) {\n case \"0\":\n break;\n case \"1\":\n aS += aI * 1;\n break;\n case \"2\":\n aS += aI * 2;\n break;\n case \"3\":\n aS += aI * 3;\n break;\n case \"4\":\n aS += aI * 4;\n break;\n case \"5\":\n aS += aI * 5;\n break;\n case \"6\":\n aS += aI * 6;\n break;\n case \"7\":\n aS += aI * 7;\n break;\n case \"8\":\n aS += aI * 8;\n break;\n case \"9\":\n aS += aI * 9;\n break;\n default:\n aH = true;\n break;\n }\n aI *= 0.1;\n if (aH) {\n break;\n }\n }\n }\n if (aJ) {\n aS = -aS;\n }\n aK[0] = aL;\n return aS;\n}\n;\nfunction g() {\n if (j) {\n return;\n }\n this._$Ob = null;\n}\ng.prototype._$zP = function() {\n this._$Ob = new Array();\n}\n;\ng.prototype._$F0 = function(aH) {\n this._$Ob = aH._$nP();\n}\n;\ng.prototype._$Ur = function(aK) {\n if (aK._$WS()) {\n return true;\n }\n var aH = aK._$v2();\n for (var aJ = this._$Ob.length - 1; aJ >= 0; --aJ) {\n var aI = this._$Ob[aJ].getParamIndex(aH);\n if (aI == aA._$ds) {\n aI = aK.getParamIndex(this._$Ob[aJ].getParamID());\n }\n if (aK._$Xb(aI)) {\n return true;\n }\n }\n return false;\n}\n;\ng.prototype._$Q2 = function(aL, aV) {\n var aX = this._$Ob.length;\n var aJ = aL._$v2();\n var aN = 0;\n var aI;\n var aQ;\n for (var aK = 0; aK < aX; aK++) {\n var aH = this._$Ob[aK];\n aI = aH.getParamIndex(aJ);\n if (aI == aA._$ds) {\n aI = aL.getParamIndex(aH.getParamID());\n aH._$Pb(aI, aJ);\n }\n if (aI < 0) {\n throw new Exception(\"err 23242 : \" + aH.getParamID());\n }\n var aU = aI < 0 ? 0 : aL.getParamFloat(aI);\n aQ = aH._$N2();\n var aM = aH._$d2();\n var aP = -1;\n var aT = 0;\n var aS;\n var aR;\n if (aQ < 1) {} else {\n if (aQ == 1) {\n aS = aM[0];\n if (aS - aw._$J < aU && aU < aS + aw._$J) {\n aP = 0;\n aT = 0;\n } else {\n aP = 0;\n aV[0] = true;\n }\n } else {\n aS = aM[0];\n if (aU < aS - aw._$J) {\n aP = 0;\n aV[0] = true;\n } else {\n if (aU < aS + aw._$J) {\n aP = 0;\n } else {\n var aW = false;\n for (var aO = 1; aO < aQ; ++aO) {\n aR = aM[aO];\n if (aU < aR + aw._$J) {\n if (aR - aw._$J < aU) {\n aP = aO;\n } else {\n aP = aO - 1;\n aT = (aU - aS) / (aR - aS);\n aN++;\n }\n aW = true;\n break;\n }\n aS = aR;\n }\n if (!aW) {\n aP = aQ - 1;\n aT = 0;\n aV[0] = true;\n }\n }\n }\n }\n }\n aH._$wr(aP);\n aH._$AL(aT);\n }\n return aN;\n}\n;\ng.prototype._$zr = function(aN, aT, aP) {\n var aR = 1 << aP;\n if (aR + 1 > aw._$Qb) {\n console.log(\"err 23245\\n\");\n }\n var aS = this._$Ob.length;\n var aK = 1;\n var aH = 1;\n var aJ = 0;\n for (var aQ = 0; aQ < aR; ++aQ) {\n aN[aQ] = 0;\n }\n for (var aL = 0; aL < aS; ++aL) {\n var aI = this._$Ob[aL];\n if (aI._$SL() == 0) {\n var aO = aI._$Lr() * aK;\n if (aO < 0 && Q._$3T) {\n throw new Exception(\"err 23246\");\n }\n for (var aQ = 0; aQ < aR; ++aQ) {\n aN[aQ] += aO;\n }\n } else {\n var aO = aK * aI._$Lr();\n var aM = aK * (aI._$Lr() + 1);\n for (var aQ = 0; aQ < aR; ++aQ) {\n aN[aQ] += ((aQ / aH | 0) % 2 == 0) ? aO : aM;\n }\n aT[aJ++] = aI._$SL();\n aH *= 2;\n }\n aK *= aI._$N2();\n }\n aN[aR] = 65535;\n aT[aJ] = -1;\n}\n;\ng.prototype._$h2 = function(aJ, aH, aK) {\n var aM = new Float32Array(aH);\n for (var aL = 0; aL < aH; ++aL) {\n aM[aL] = aK[aL];\n }\n var aI = new aA();\n aI._$yP(aJ);\n aI._$t2(aH, aM);\n this._$Ob.push(aI);\n}\n;\ng.prototype._$J2 = function(aO) {\n var aN = aO;\n var aM = this._$Ob.length;\n for (var aK = 0; aK < aM; ++aK) {\n var aI = this._$Ob[aK];\n var aH = aI._$N2();\n var aJ = aN % aI._$N2();\n var aL = aI._$d2()[aJ];\n console.log(\"%s[%d]=%7.2f / \", aI.getParamID(), aJ, aL);\n aN /= aH;\n }\n console.log(\"\\n\");\n}\n;\ng.prototype.getParamCount = function() {\n return this._$Ob.length;\n}\n;\ng.prototype._$zs = function() {\n return this._$Ob;\n}\n;\nfunction ac() {\n this.m = new Float32Array(16);\n this.identity();\n}\nac.prototype.identity = function() {\n for (var aH = 0; aH < 16; aH++) {\n this.m[aH] = ((aH % 5) == 0) ? 1 : 0;\n }\n}\n;\nac.prototype.getArray = function() {\n return this.m;\n}\n;\nac.prototype.getCopyMatrix = function() {\n return new Float32Array(this.m);\n}\n;\nac.prototype.setMatrix = function(aI) {\n if (aI == null || aI.length != 16) {\n return;\n }\n for (var aH = 0; aH < 16; aH++) {\n this.m[aH] = aI[aH];\n }\n}\n;\nac.prototype.mult = function(aH, aJ, aI) {\n if (aJ == null) {\n return null;\n }\n if (this == aJ) {\n this.mult_safe(this.m, aH.m, aJ.m, aI);\n } else {\n this.mult_fast(this.m, aH.m, aJ.m, aI);\n }\n return aJ;\n}\n;\nac.prototype.mult_safe = function(aI, aH, aM, aJ) {\n if (aI == aM) {\n var aL = new Array(16);\n this.mult_fast(aI, aH, aL, aJ);\n for (var aK = 15; aK >= 0; --aK) {\n aM[aK] = aL[aK];\n }\n } else {\n this.mult_fast(aI, aH, aM, aJ);\n }\n}\n;\nac.prototype.mult_fast = function(aI, aH, aK, aJ) {\n if (aJ) {\n aK[0] = aI[0] * aH[0] + aI[4] * aH[1] + aI[8] * aH[2];\n aK[4] = aI[0] * aH[4] + aI[4] * aH[5] + aI[8] * aH[6];\n aK[8] = aI[0] * aH[8] + aI[4] * aH[9] + aI[8] * aH[10];\n aK[12] = aI[0] * aH[12] + aI[4] * aH[13] + aI[8] * aH[14] + aI[12];\n aK[1] = aI[1] * aH[0] + aI[5] * aH[1] + aI[9] * aH[2];\n aK[5] = aI[1] * aH[4] + aI[5] * aH[5] + aI[9] * aH[6];\n aK[9] = aI[1] * aH[8] + aI[5] * aH[9] + aI[9] * aH[10];\n aK[13] = aI[1] * aH[12] + aI[5] * aH[13] + aI[9] * aH[14] + aI[13];\n aK[2] = aI[2] * aH[0] + aI[6] * aH[1] + aI[10] * aH[2];\n aK[6] = aI[2] * aH[4] + aI[6] * aH[5] + aI[10] * aH[6];\n aK[10] = aI[2] * aH[8] + aI[6] * aH[9] + aI[10] * aH[10];\n aK[14] = aI[2] * aH[12] + aI[6] * aH[13] + aI[10] * aH[14] + aI[14];\n aK[3] = aK[7] = aK[11] = 0;\n aK[15] = 1;\n } else {\n aK[0] = aI[0] * aH[0] + aI[4] * aH[1] + aI[8] * aH[2] + aI[12] * aH[3];\n aK[4] = aI[0] * aH[4] + aI[4] * aH[5] + aI[8] * aH[6] + aI[12] * aH[7];\n aK[8] = aI[0] * aH[8] + aI[4] * aH[9] + aI[8] * aH[10] + aI[12] * aH[11];\n aK[12] = aI[0] * aH[12] + aI[4] * aH[13] + aI[8] * aH[14] + aI[12] * aH[15];\n aK[1] = aI[1] * aH[0] + aI[5] * aH[1] + aI[9] * aH[2] + aI[13] * aH[3];\n aK[5] = aI[1] * aH[4] + aI[5] * aH[5] + aI[9] * aH[6] + aI[13] * aH[7];\n aK[9] = aI[1] * aH[8] + aI[5] * aH[9] + aI[9] * aH[10] + aI[13] * aH[11];\n aK[13] = aI[1] * aH[12] + aI[5] * aH[13] + aI[9] * aH[14] + aI[13] * aH[15];\n aK[2] = aI[2] * aH[0] + aI[6] * aH[1] + aI[10] * aH[2] + aI[14] * aH[3];\n aK[6] = aI[2] * aH[4] + aI[6] * aH[5] + aI[10] * aH[6] + aI[14] * aH[7];\n aK[10] = aI[2] * aH[8] + aI[6] * aH[9] + aI[10] * aH[10] + aI[14] * aH[11];\n aK[14] = aI[2] * aH[12] + aI[6] * aH[13] + aI[10] * aH[14] + aI[14] * aH[15];\n aK[3] = aI[3] * aH[0] + aI[7] * aH[1] + aI[11] * aH[2] + aI[15] * aH[3];\n aK[7] = aI[3] * aH[4] + aI[7] * aH[5] + aI[11] * aH[6] + aI[15] * aH[7];\n aK[11] = aI[3] * aH[8] + aI[7] * aH[9] + aI[11] * aH[10] + aI[15] * aH[11];\n aK[15] = aI[3] * aH[12] + aI[7] * aH[13] + aI[11] * aH[14] + aI[15] * aH[15];\n }\n}\n;\nac.prototype.translate = function(aH, aJ, aI) {\n this.m[12] = this.m[0] * aH + this.m[4] * aJ + this.m[8] * aI + this.m[12];\n this.m[13] = this.m[1] * aH + this.m[5] * aJ + this.m[9] * aI + this.m[13];\n this.m[14] = this.m[2] * aH + this.m[6] * aJ + this.m[10] * aI + this.m[14];\n this.m[15] = this.m[3] * aH + this.m[7] * aJ + this.m[11] * aI + this.m[15];\n}\n;\nac.prototype.scale = function(aJ, aI, aH) {\n this.m[0] *= aJ;\n this.m[4] *= aI;\n this.m[8] *= aH;\n this.m[1] *= aJ;\n this.m[5] *= aI;\n this.m[9] *= aH;\n this.m[2] *= aJ;\n this.m[6] *= aI;\n this.m[10] *= aH;\n this.m[3] *= aJ;\n this.m[7] *= aI;\n this.m[11] *= aH;\n}\n;\nac.prototype.rotateX = function(aH) {\n var aK = aC.fcos(aH);\n var aJ = aC._$9(aH);\n var aI = this.m[4];\n this.m[4] = aI * aK + this.m[8] * aJ;\n this.m[8] = aI * -aJ + this.m[8] * aK;\n aI = this.m[5];\n this.m[5] = aI * aK + this.m[9] * aJ;\n this.m[9] = aI * -aJ + this.m[9] * aK;\n aI = this.m[6];\n this.m[6] = aI * aK + this.m[10] * aJ;\n this.m[10] = aI * -aJ + this.m[10] * aK;\n aI = this.m[7];\n this.m[7] = aI * aK + this.m[11] * aJ;\n this.m[11] = aI * -aJ + this.m[11] * aK;\n}\n;\nac.prototype.rotateY = function(aH) {\n var aK = aC.fcos(aH);\n var aJ = aC._$9(aH);\n var aI = this.m[0];\n this.m[0] = aI * aK + this.m[8] * -aJ;\n this.m[8] = aI * aJ + this.m[8] * aK;\n aI = this.m[1];\n this.m[1] = aI * aK + this.m[9] * -aJ;\n this.m[9] = aI * aJ + this.m[9] * aK;\n aI = m[2];\n this.m[2] = aI * aK + this.m[10] * -aJ;\n this.m[10] = aI * aJ + this.m[10] * aK;\n aI = m[3];\n this.m[3] = aI * aK + this.m[11] * -aJ;\n this.m[11] = aI * aJ + this.m[11] * aK;\n}\n;\nac.prototype.rotateZ = function(aH) {\n var aK = aC.fcos(aH);\n var aJ = aC._$9(aH);\n var aI = this.m[0];\n this.m[0] = aI * aK + this.m[4] * aJ;\n this.m[4] = aI * -aJ + this.m[4] * aK;\n aI = this.m[1];\n this.m[1] = aI * aK + this.m[5] * aJ;\n this.m[5] = aI * -aJ + this.m[5] * aK;\n aI = this.m[2];\n this.m[2] = aI * aK + this.m[6] * aJ;\n this.m[6] = aI * -aJ + this.m[6] * aK;\n aI = this.m[3];\n this.m[3] = aI * aK + this.m[7] * aJ;\n this.m[7] = aI * -aJ + this.m[7] * aK;\n}\n;\nfunction Z(aH) {\n if (j) {\n return;\n }\n ak.prototype.constructor.call(this, aH);\n}\nZ.prototype = new ak();\nZ._$tP = new Object();\nZ._$27 = function() {\n Z._$tP.clear();\n}\n;\nZ.getID = function(aH) {\n var aI = Z._$tP[aH];\n if (aI == null) {\n aI = new Z(aH);\n Z._$tP[aH] = aI;\n }\n return aI;\n}\n;\nZ.prototype._$3s = function() {\n return new Z();\n}\n;\nfunction aD() {\n if (j) {\n return;\n }\n this._$7 = 1;\n this._$f = 0;\n this._$H = 0;\n this._$g = 1;\n this._$k = 0;\n this._$w = 0;\n this._$hi = STATE_IDENTITY;\n this._$Z = _$pS;\n}\naD._$kS = -1;\naD._$pS = 0;\naD._$hb = 1;\naD.STATE_IDENTITY = 0;\naD._$gb = 1;\naD._$fo = 2;\naD._$go = 4;\naD.prototype.transform = function(aK, aI, aH) {\n var aT, aS, aR, aM, aL, aJ;\n var aQ = 0;\n var aN = 0;\n switch (this._$hi) {\n default:\n return;\n case (aD._$go | aD._$fo | aD._$gb):\n aT = this._$7;\n aS = this._$H;\n aR = this._$k;\n aM = this._$f;\n aL = this._$g;\n aJ = this._$w;\n while (--aH >= 0) {\n var aP = aK[aQ++];\n var aO = aK[aQ++];\n aI[aN++] = (aT * aP + aS * aO + aR);\n aI[aN++] = (aM * aP + aL * aO + aJ);\n }\n return;\n case (aD._$go | aD._$fo):\n aT = this._$7;\n aS = this._$H;\n aM = this._$f;\n aL = this._$g;\n while (--aH >= 0) {\n var aP = aK[aQ++];\n var aO = aK[aQ++];\n aI[aN++] = (aT * aP + aS * aO);\n aI[aN++] = (aM * aP + aL * aO);\n }\n return;\n case (aD._$go | aD._$gb):\n aS = this._$H;\n aR = this._$k;\n aM = this._$f;\n aJ = this._$w;\n while (--aH >= 0) {\n var aP = aK[aQ++];\n aI[aN++] = (aS * aK[aQ++] + aR);\n aI[aN++] = (aM * aP + aJ);\n }\n return;\n case (aD._$go):\n aS = this._$H;\n aM = this._$f;\n while (--aH >= 0) {\n var aP = aK[aQ++];\n aI[aN++] = (aS * aK[aQ++]);\n aI[aN++] = (aM * aP);\n }\n return;\n case (aD._$fo | aD._$gb):\n aT = this._$7;\n aR = this._$k;\n aL = this._$g;\n aJ = this._$w;\n while (--aH >= 0) {\n aI[aN++] = (aT * aK[aQ++] + aR);\n aI[aN++] = (aL * aK[aQ++] + aJ);\n }\n return;\n case (aD._$fo):\n aT = this._$7;\n aL = this._$g;\n while (--aH >= 0) {\n aI[aN++] = (aT * aK[aQ++]);\n aI[aN++] = (aL * aK[aQ++]);\n }\n return;\n case (aD._$gb):\n aR = this._$k;\n aJ = this._$w;\n while (--aH >= 0) {\n aI[aN++] = (aK[aQ++] + aR);\n aI[aN++] = (aK[aQ++] + aJ);\n }\n return;\n case (aD.STATE_IDENTITY):\n if (aK != aI || aQ != aN) {\n P._$jT(aK, aQ, aI, aN, aH * 2);\n }\n return;\n }\n}\n;\naD.prototype.update = function() {\n if (this._$H == 0 && this._$f == 0) {\n if (this._$7 == 1 && this._$g == 1) {\n if (this._$k == 0 && this._$w == 0) {\n this._$hi = aD.STATE_IDENTITY;\n this._$Z = aD._$pS;\n } else {\n this._$hi = aD._$gb;\n this._$Z = aD._$hb;\n }\n } else {\n if (this._$k == 0 && this._$w == 0) {\n this._$hi = aD._$fo;\n this._$Z = aD._$kS;\n } else {\n this._$hi = (aD._$fo | aD._$gb);\n this._$Z = aD._$kS;\n }\n }\n } else {\n if (this._$7 == 0 && this._$g == 0) {\n if (this._$k == 0 && this._$w == 0) {\n this._$hi = aD._$go;\n this._$Z = aD._$kS;\n } else {\n this._$hi = (aD._$go | aD._$gb);\n this._$Z = aD._$kS;\n }\n } else {\n if (this._$k == 0 && this._$w == 0) {\n this._$hi = (aD._$go | aD._$fo);\n this._$Z = aD._$kS;\n } else {\n this._$hi = (aD._$go | aD._$fo | aD._$gb);\n this._$Z = aD._$kS;\n }\n }\n }\n}\n;\naD.prototype._$RT = function(aK) {\n this._$IT(aK);\n var aJ = aK[0];\n var aH = aK[2];\n var aN = aK[1];\n var aM = aK[3];\n var aI = Math.sqrt(aJ * aJ + aN * aN);\n var aL = aJ * aM - aH * aN;\n if (aI == 0) {\n if (Q._$so) {\n console.log(\"affine._$RT() / rt==0\");\n }\n } else {\n aK[0] = aI;\n aK[1] = aL / aI;\n aK[2] = (aN * aM + aJ * aH) / aL;\n aK[3] = Math.atan2(aN, aJ);\n }\n}\n;\naD.prototype._$ho = function(aN, aM, aI, aH) {\n var aL = new Float32Array(6);\n var aK = new Float32Array(6);\n aN._$RT(aL);\n aM._$RT(aK);\n var aJ = new Float32Array(6);\n aJ[0] = aL[0] + (aK[0] - aL[0]) * aI;\n aJ[1] = aL[1] + (aK[1] - aL[1]) * aI;\n aJ[2] = aL[2] + (aK[2] - aL[2]) * aI;\n aJ[3] = aL[3] + (aK[3] - aL[3]) * aI;\n aJ[4] = aL[4] + (aK[4] - aL[4]) * aI;\n aJ[5] = aL[5] + (aK[5] - aL[5]) * aI;\n aH._$CT(aJ);\n}\n;\naD.prototype._$CT = function(aJ) {\n var aI = Math.cos(aJ[3]);\n var aH = Math.sin(aJ[3]);\n this._$7 = aJ[0] * aI;\n this._$f = aJ[0] * aH;\n this._$H = aJ[1] * (aJ[2] * aI - aH);\n this._$g = aJ[1] * (aJ[2] * aH + aI);\n this._$k = aJ[4];\n this._$w = aJ[5];\n this.update();\n}\n;\naD.prototype._$IT = function(aH) {\n aH[0] = this._$7;\n aH[1] = this._$f;\n aH[2] = this._$H;\n aH[3] = this._$g;\n aH[4] = this._$k;\n aH[5] = this._$w;\n}\n;\nfunction Y() {\n if (j) {\n return;\n }\n ah.prototype.constructor.call(this);\n this.motions = new Array();\n this._$7r = null;\n this._$7r = Y._$Co++;\n this._$D0 = 30;\n this._$yT = 0;\n this._$E = true;\n this.loopFadeIn = true;\n this._$AS = -1;\n _$a0();\n}\nY.prototype = new ah();\nY._$cs = \"VISIBLE:\";\nY._$ar = \"LAYOUT:\";\nY._$Co = 0;\nY._$D2 = [];\nY._$1T = 1;\nY.loadMotion = function(aR) {\n var aM = new Y();\n var aI = [0];\n var aP = aR.length;\n aM._$yT = 0;\n for (var aJ = 0; aJ < aP; ++aJ) {\n var aQ = (aR[aJ] & 255);\n if (aQ == \"\\n\" || aQ == \"\\r\") {\n continue;\n }\n if (aQ == \"#\") {\n for (; aJ < aP; ++aJ) {\n if (aR[aJ] == \"\\n\" || aR[aJ] == \"\\r\") {\n break;\n }\n }\n continue;\n }\n if (aQ == \"$\") {\n var aT = aJ;\n var aK = -1;\n for (; aJ < aP; ++aJ) {\n aQ = (aR[aJ] & 255);\n if (aQ == \"\\r\" || aQ == \"\\n\") {\n break;\n }\n if (aQ == \"=\") {\n aK = aJ;\n break;\n }\n }\n var aO = false;\n if (aK >= 0) {\n if (aK == aT + 4 && aR[aT + 1] == \"f\" && aR[aT + 2] == \"p\" && aR[aT + 3] == \"s\") {\n aO = true;\n }\n for (aJ = aK + 1; aJ < aP; ++aJ) {\n aQ = (aR[aJ] & 255);\n if (aQ == \"\\r\" || aQ == \"\\n\") {\n break;\n }\n if (aQ == \",\" || aQ == \" \" || aQ == \"\\t\") {\n continue;\n }\n var aL = G._$LS(aR, aP, aJ, aI);\n if (aI[0] > 0) {\n if (aO && 5 < aL && aL < 121) {\n aM._$D0 = aL;\n }\n }\n aJ = aI[0];\n }\n }\n for (; aJ < aP; ++aJ) {\n if (aR[aJ] == \"\\n\" || aR[aJ] == \"\\r\") {\n break;\n }\n }\n continue;\n }\n if ((\"a\" <= aQ && aQ <= \"z\") || (\"A\" <= aQ && aQ <= \"Z\") || aQ == \"_\") {\n var aT = aJ;\n var aK = -1;\n for (; aJ < aP; ++aJ) {\n aQ = (aR[aJ] & 255);\n if (aQ == \"\\r\" || aQ == \"\\n\") {\n break;\n }\n if (aQ == \"=\") {\n aK = aJ;\n break;\n }\n }\n if (aK >= 0) {\n var aN = new t();\n if (G.startsWith(aR, aT, Y._$cs)) {\n aN._$RP = t._$hs;\n aN._$4P = new String(aR,aT,aK - aT);\n } else {\n if (G.startsWith(aR, aT, Y._$ar)) {\n aN._$4P = new String(aR,aT + 7,aK - aT - 7);\n if (G.startsWith(aR, aT + 7, \"ANCHOR_X\")) {\n aN._$RP = t._$xs;\n } else {\n if (G.startsWith(aR, aT + 7, \"ANCHOR_Y\")) {\n aN._$RP = t._$us;\n } else {\n if (G.startsWith(aR, aT + 7, \"SCALE_X\")) {\n aN._$RP = t._$qs;\n } else {\n if (G.startsWith(aR, aT + 7, \"SCALE_Y\")) {\n aN._$RP = t._$Ys;\n } else {\n if (G.startsWith(aR, aT + 7, \"X\")) {\n aN._$RP = t._$ws;\n } else {\n if (G.startsWith(aR, aT + 7, \"Y\")) {\n aN._$RP = t._$Ns;\n }\n }\n }\n }\n }\n }\n } else {\n aN._$RP = t._$Fr;\n aN._$4P = new String(aR,aT,aK - aT);\n }\n }\n aM.motions.push(aN);\n var aS = 0;\n Y._$D2.clear();\n for (aJ = aK + 1; aJ < aP; ++aJ) {\n aQ = (aR[aJ] & 255);\n if (aQ == \"\\r\" || aQ == \"\\n\") {\n break;\n }\n if (aQ == \",\" || aQ == \" \" || aQ == \"\\t\") {\n continue;\n }\n var aL = G._$LS(aR, aP, aJ, aI);\n if (aI[0] > 0) {\n Y._$D2.push(aL);\n aS++;\n var aH = aI[0];\n if (aH < aJ) {\n console.log(\"_$n0 _$hi . @Live2DMotion loadMotion()\\n\");\n break;\n }\n aJ = aH;\n }\n }\n aN._$I0 = Y._$D2._$BL();\n if (aS > aM._$yT) {\n aM._$yT = aS;\n }\n }\n }\n }\n aM._$AS = ((1000 * aM._$yT) / aM._$D0) | 0;\n return aM;\n}\n;\nY.prototype.getDurationMSec = function() {\n return this._$AS;\n}\n;\nY.prototype.dump = function() {\n for (var aJ = 0; aJ < this.motions.length; aJ++) {\n var aH = this.motions[aJ];\n console.log(\"_$wL[%s] [%d]. \", aH._$4P, aH._$I0.length);\n for (var aI = 0; aI < aH._$I0.length && aI < 10; aI++) {\n console.log(\"%5.2f ,\", aH._$I0[aI]);\n }\n console.log(\"\\n\");\n }\n}\n;\nY.prototype.updateParamExe = function(aH, aL, aO, aX) {\n var aM = aL - aX._$z2;\n var aV = aM * this._$D0 / 1000;\n var aJ = aV | 0;\n var aP = aV - aJ;\n for (var aU = 0; aU < this.motions.length; aU++) {\n var aS = this.motions[aU];\n var aK = aS._$I0.length;\n var aQ = aS._$4P;\n if (aS._$RP == t._$hs) {\n var aT = aS._$I0[(aJ >= aK ? aK - 1 : aJ)];\n aH.setParamFloat(aQ, aT);\n } else {\n if (t._$ws <= aS._$RP && aS._$RP <= t._$Ys) {} else {\n var aR = aH.getParamFloat(aQ);\n var aY = aS._$I0[(aJ >= aK ? aK - 1 : aJ)];\n var aW = aS._$I0[(aJ + 1 >= aK ? aK - 1 : aJ + 1)];\n var aI = aY + (aW - aY) * aP;\n var aN = aR + (aI - aR) * aO;\n aH.setParamFloat(aQ, aN);\n }\n }\n }\n if (aJ >= this._$yT) {\n if (this._$E) {\n aX._$z2 = aL;\n if (this.loopFadeIn) {\n aX._$bs = aL;\n }\n } else {\n aX._$9L = true;\n }\n }\n}\n;\nY.prototype._$r0 = function() {\n return this._$E;\n}\n;\nY.prototype._$aL = function(aH) {\n this._$E = aH;\n}\n;\nY.prototype.isLoopFadeIn = function() {\n return this.loopFadeIn;\n}\n;\nY.prototype.setLoopFadeIn = function(aH) {\n this.loopFadeIn = aH;\n}\n;\nfunction aE() {\n this._$P = new Float32Array(100);\n this.size = 0;\n}\naE.prototype.clear = function() {\n this.size = 0;\n}\n;\naE.prototype.add = function(aI) {\n if (this._$P.length <= this.size) {\n var aH = new Float32Array(this.size * 2);\n P._$jT(this._$P, 0, aH, 0, this.size);\n this._$P = aH;\n }\n this._$P[this.size++] = aI;\n}\n;\naE.prototype._$BL = function() {\n var aH = new Float32Array(this.size);\n P._$jT(this._$P, 0, aH, 0, this.size);\n return aH;\n}\n;\nfunction t() {\n this._$4P = null;\n this._$I0 = null;\n this._$RP = null;\n}\nt._$Fr = 0;\nt._$hs = 1;\nt._$ws = 100;\nt._$Ns = 101;\nt._$xs = 102;\nt._$us = 103;\nt._$qs = 104;\nt._$Ys = 105;\nfunction aw() {}\naw._$Ms = 1;\naw._$Qs = 2;\naw._$i2 = 0;\naw._$No = 2;\naw._$do = aw._$Ms;\naw._$Ls = true;\naw._$1r = 5;\naw._$Qb = 65;\naw._$J = 0.0001;\naw._$FT = 0.001;\naw._$Ss = 3;\nfunction ay() {}\nay._$o7 = 6;\nay._$S7 = 7;\nay._$s7 = 8;\nay._$77 = 9;\nay.LIVE2D_FORMAT_VERSION_V2_10_SDK2 = 10;\nay.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1 = 11;\nay._$T7 = ay.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1;\nay._$Is = -2004318072;\nay._$h0 = 0;\nay._$4L = 23;\nay._$7P = 33;\nay._$uT = function(aH) {\n console.log(\"_$bo :: _$6 _$mo _$E0 : %d\\n\", aH);\n}\n;\nay._$9o = function(aH) {\n if (aH < 40) {\n ay._$uT(aH);\n return null;\n } else {\n if (aH < 50) {\n ay._$uT(aH);\n return null;\n } else {\n if (aH < 60) {\n ay._$uT(aH);\n return null;\n } else {\n if (aH < 100) {\n switch (aH) {\n case 65:\n return new E();\n case 66:\n return new g();\n case 67:\n return new aA();\n case 68:\n return new ab();\n case 69:\n return new X();\n case 70:\n return new b();\n default:\n ay._$uT(aH);\n return null;\n }\n } else {\n if (aH < 150) {\n switch (aH) {\n case 131:\n return new f();\n case 133:\n return new s();\n case 136:\n return new w();\n case 137:\n return new an();\n case 142:\n return new aq();\n }\n }\n }\n }\n }\n }\n ay._$uT(aH);\n return null;\n}\n;\nfunction y(aH) {\n if (j) {\n return;\n }\n this._$QT = true;\n this._$co = -1;\n this._$qo = 0;\n this._$pb = new Array(y._$is);\n this._$_2 = new Float32Array(y._$is);\n this._$vr = new Float32Array(y._$is);\n this._$Rr = new Float32Array(y._$is);\n this._$Or = new Float32Array(y._$is);\n this._$fs = new Float32Array(y._$is);\n this._$Js = new Array(y._$is);\n this._$3S = new Array();\n this._$aS = new Array();\n this._$Bo = null;\n this._$F2 = new Array();\n this._$db = new Array();\n this._$8b = new Array();\n this._$Hr = new Array();\n this._$Ws = null;\n this._$Vs = null;\n this._$Er = null;\n this._$Es = new Int16Array(aw._$Qb);\n this._$ZP = new Float32Array(aw._$1r * 2);\n this._$Ri = aH;\n this._$b0 = y._$HP++;\n this.clipManager = null;\n this.dp_webgl = null;\n}\ny._$HP = 0;\ny._$_0 = true;\ny._$V2 = -1;\ny._$W0 = -1;\ny._$jr = false;\ny._$ZS = true;\ny._$tr = (-1000000);\ny._$lr = (1000000);\ny._$is = 32;\ny._$e = false;\ny.prototype.getDrawDataIndex = function(aI) {\n for (var aH = this._$aS.length - 1; aH >= 0; --aH) {\n if (this._$aS[aH] != null && this._$aS[aH].getDrawDataID() == aI) {\n return aH;\n }\n }\n return -1;\n}\n;\ny.prototype.getDrawData = function(aH) {\n if (aH instanceof Z) {\n if (this._$Bo == null) {\n this._$Bo = new Object();\n var aJ = this._$aS.length;\n for (var aI = 0; aI < aJ; aI++) {\n var aL = this._$aS[aI];\n var aK = aL.getDrawDataID();\n if (aK == null) {\n continue;\n }\n this._$Bo[aK] = aL;\n }\n }\n return this._$Bo[id];\n } else {\n if (aH < this._$aS.length) {\n return this._$aS[aH];\n } else {\n return null;\n }\n }\n}\n;\ny.prototype.release = function() {\n this._$3S.clear();\n this._$aS.clear();\n this._$F2.clear();\n if (this._$Bo != null) {\n this._$Bo.clear();\n }\n this._$db.clear();\n this._$8b.clear();\n this._$Hr.clear();\n}\n;\ny.prototype.init = function() {\n this._$co++;\n if (this._$F2.length > 0) {\n this.release();\n }\n var aO = this._$Ri.getModelImpl();\n var aT = aO._$Xr();\n var aS = aT.length;\n var aH = new Array();\n var a3 = new Array();\n for (var aV = 0; aV < aS; ++aV) {\n var a4 = aT[aV];\n this._$F2.push(a4);\n this._$Hr.push(a4.init(this));\n var aK = a4.getBaseData();\n var aR = aK.length;\n for (var aU = 0; aU < aR; ++aU) {\n aH.push(aK[aU]);\n }\n for (var aU = 0; aU < aR; ++aU) {\n var aM = aK[aU].init(this);\n aM._$l2(aV);\n a3.push(aM);\n }\n var a1 = a4.getDrawData();\n var aP = a1.length;\n for (var aU = 0; aU < aP; ++aU) {\n var aZ = a1[aU];\n var a0 = aZ.init(this);\n a0._$IP = aV;\n this._$aS.push(aZ);\n this._$8b.push(a0);\n }\n }\n var aY = aH.length;\n var aN = n._$2o();\n while (true) {\n var aX = false;\n for (var aV = 0; aV < aY; ++aV) {\n var aL = aH[aV];\n if (aL == null) {\n continue;\n }\n var a2 = aL.getTargetBaseDataID();\n if (a2 == null || a2 == aN || this.getBaseDataIndex(a2) >= 0) {\n this._$3S.push(aL);\n this._$db.push(a3[aV]);\n aH[aV] = null;\n aX = true;\n }\n }\n if (!aX) {\n break;\n }\n }\n var aI = aO._$E2();\n if (aI != null) {\n var aJ = aI._$1s();\n if (aJ != null) {\n var aW = aJ.length;\n for (var aV = 0; aV < aW; ++aV) {\n var aQ = aJ[aV];\n if (aQ == null) {\n continue;\n }\n this._$02(aQ.getParamID(), aQ.getDefaultValue(), aQ.getMinValue(), aQ.getMaxValue());\n }\n }\n }\n this.clipManager = new W(this.dp_webgl);\n this.clipManager.init(this, this._$aS, this._$8b);\n this._$QT = true;\n}\n;\ny.prototype.update = function() {\n if (y._$e) {\n q.start(\"_$zL\");\n }\n var aK = this._$_2.length;\n for (var aW = 0; aW < aK; aW++) {\n if (this._$_2[aW] != this._$vr[aW]) {\n this._$Js[aW] = y._$ZS;\n this._$vr[aW] = this._$_2[aW];\n }\n }\n var aX = false;\n var aQ = this._$3S.length;\n var aN = this._$aS.length;\n var aS = a._$or();\n var aZ = a._$Pr();\n var aU = aZ - aS + 1;\n if (this._$Ws == null || this._$Ws.length < aU) {\n this._$Ws = new Int16Array(aU);\n this._$Vs = new Int16Array(aU);\n }\n for (var aW = 0; aW < aU; aW++) {\n this._$Ws[aW] = y._$V2;\n this._$Vs[aW] = y._$V2;\n }\n if (this._$Er == null || this._$Er.length < aN) {\n this._$Er = new Int16Array(aN);\n }\n for (var aW = 0; aW < aN; aW++) {\n this._$Er[aW] = y._$W0;\n }\n if (y._$e) {\n q.dump(\"_$zL\");\n }\n if (y._$e) {\n q.start(\"_$UL\");\n }\n var aL = null;\n for (var aV = 0; aV < aQ; ++aV) {\n var aJ = this._$3S[aV];\n var aH = this._$db[aV];\n try {\n aJ._$Nr(this, aH);\n aJ._$2b(this, aH);\n } catch (aY) {\n if (aL == null) {\n aL = aY;\n }\n }\n }\n if (aL != null) {\n if (y._$_0) {\n q._$Rb(aL);\n }\n }\n if (y._$e) {\n q.dump(\"_$UL\");\n }\n if (y._$e) {\n q.start(\"_$DL\");\n }\n var aR = null;\n for (var aO = 0; aO < aN; ++aO) {\n var aM = this._$aS[aO];\n var aI = this._$8b[aO];\n try {\n aM._$Nr(this, aI);\n if (aI._$u2()) {\n continue;\n }\n aM._$2b(this, aI);\n var aT = Math.floor(aM._$zS(this, aI) - aS);\n var aP;\n try {\n aP = this._$Vs[aT];\n } catch (aY) {\n console.log(\"_$li :: %s / %s @@_$fS\\n\", aY.toString(), aM.getDrawDataID().toString());\n aT = Math.floor(aM._$zS(this, aI) - aS);\n continue;\n }\n if (aP == y._$V2) {\n this._$Ws[aT] = aO;\n } else {\n this._$Er[aP] = aO;\n }\n this._$Vs[aT] = aO;\n } catch (aY) {\n if (aR == null) {\n aR = aY;\n Q._$sT(Q._$H7);\n }\n }\n }\n if (aR != null) {\n if (y._$_0) {\n q._$Rb(aR);\n }\n }\n if (y._$e) {\n q.dump(\"_$DL\");\n }\n if (y._$e) {\n q.start(\"_$eL\");\n }\n for (var aW = this._$Js.length - 1; aW >= 0; aW--) {\n this._$Js[aW] = y._$jr;\n }\n this._$QT = false;\n if (y._$e) {\n q.dump(\"_$eL\");\n }\n return aX;\n}\n;\ny.prototype.preDraw = function(aH) {\n if (this.clipManager != null) {\n aH._$ZT();\n this.clipManager.setupClip(this, aH);\n }\n}\n;\ny.prototype.draw = function(aM) {\n if (this._$Ws == null) {\n q._$li(\"call _$Ri.update() before _$Ri.draw() \");\n return;\n }\n var aP = this._$Ws.length;\n aM._$ZT();\n for (var aK = 0; aK < aP; ++aK) {\n var aN = this._$Ws[aK];\n if (aN == y._$V2) {\n continue;\n }\n do {\n var aH = this._$aS[aN];\n var aI = this._$8b[aN];\n if (aI._$yo()) {\n var aJ = aI._$IP;\n var aL = this._$Hr[aJ];\n aI._$VS = aL.getPartsOpacity();\n aH.draw(aM, this, aI);\n }\n var aO = this._$Er[aN];\n if (aO <= aN || aO == y._$W0) {\n break;\n }\n aN = aO;\n } while (true);\n }\n}\n;\ny.prototype.getParamIndex = function(aH) {\n for (var aI = this._$pb.length - 1; aI >= 0; --aI) {\n if (this._$pb[aI] == aH) {\n return aI;\n }\n }\n return this._$02(aH, 0, y._$tr, y._$lr);\n}\n;\ny.prototype._$BS = function(aH) {\n return this.getBaseDataIndex(aH);\n}\n;\ny.prototype.getBaseDataIndex = function(aH) {\n for (var aI = this._$3S.length - 1; aI >= 0; --aI) {\n if (this._$3S[aI] != null && this._$3S[aI].getBaseDataID() == aH) {\n return aI;\n }\n }\n return -1;\n}\n;\ny.prototype._$UT = function(aJ, aH) {\n var aI = new Float32Array(aH);\n P._$jT(aJ, 0, aI, 0, aJ.length);\n return aI;\n}\n;\ny.prototype._$02 = function(aN, aM, aL, aH) {\n if (this._$qo >= this._$pb.length) {\n var aK = this._$pb.length;\n var aJ = new Array(aK * 2);\n P._$jT(this._$pb, 0, aJ, 0, aK);\n this._$pb = aJ;\n this._$_2 = this._$UT(this._$_2, aK * 2);\n this._$vr = this._$UT(this._$vr, aK * 2);\n this._$Rr = this._$UT(this._$Rr, aK * 2);\n this._$Or = this._$UT(this._$Or, aK * 2);\n var aI = new Array();\n P._$jT(this._$Js, 0, aI, 0, aK);\n this._$Js = aI;\n }\n this._$pb[this._$qo] = aN;\n this._$_2[this._$qo] = aM;\n this._$vr[this._$qo] = aM;\n this._$Rr[this._$qo] = aL;\n this._$Or[this._$qo] = aH;\n this._$Js[this._$qo] = y._$ZS;\n return this._$qo++;\n}\n;\ny.prototype._$Zo = function(aI, aH) {\n this._$3S[aI] = aH;\n}\n;\ny.prototype.setParamFloat = function(aH, aI) {\n if (aI < this._$Rr[aH]) {\n aI = this._$Rr[aH];\n }\n if (aI > this._$Or[aH]) {\n aI = this._$Or[aH];\n }\n this._$_2[aH] = aI;\n}\n;\ny.prototype.loadParam = function() {\n var aH = this._$_2.length;\n if (aH > this._$fs.length) {\n aH = this._$fs.length;\n }\n P._$jT(this._$fs, 0, this._$_2, 0, aH);\n}\n;\ny.prototype.saveParam = function() {\n var aH = this._$_2.length;\n if (aH > this._$fs.length) {\n this._$fs = new Float32Array(aH);\n }\n P._$jT(this._$_2, 0, this._$fs, 0, aH);\n}\n;\ny.prototype._$v2 = function() {\n return this._$co;\n}\n;\ny.prototype._$WS = function() {\n return this._$QT;\n}\n;\ny.prototype._$Xb = function(aH) {\n return this._$Js[aH] == y._$ZS;\n}\n;\ny.prototype._$vs = function() {\n return this._$Es;\n}\n;\ny.prototype._$Tr = function() {\n return this._$ZP;\n}\n;\ny.prototype.getBaseData = function(aH) {\n return this._$3S[aH];\n}\n;\ny.prototype.getParamFloat = function(aH) {\n return this._$_2[aH];\n}\n;\ny.prototype.getParamMax = function(aH) {\n return this._$Or[aH];\n}\n;\ny.prototype.getParamMin = function(aH) {\n return this._$Rr[aH];\n}\n;\ny.prototype.setPartsOpacity = function(aJ, aH) {\n var aI = this._$Hr[aJ];\n aI.setPartsOpacity(aH);\n}\n;\ny.prototype.getPartsOpacity = function(aI) {\n var aH = this._$Hr[aI];\n return aH.getPartsOpacity();\n}\n;\ny.prototype.getPartsDataIndex = function(aI) {\n for (var aH = this._$F2.length - 1; aH >= 0; --aH) {\n if (this._$F2[aH] != null && this._$F2[aH]._$p2() == aI) {\n return aH;\n }\n }\n return -1;\n}\n;\ny.prototype._$q2 = function(aH) {\n return this._$db[aH];\n}\n;\ny.prototype._$C2 = function(aH) {\n return this._$8b[aH];\n}\n;\ny.prototype._$Bb = function(aH) {\n return this._$Hr[aH];\n}\n;\ny.prototype._$5s = function(aO, aK) {\n var aJ = this._$Ws.length;\n var aN = aO;\n for (var aL = 0; aL < aJ; ++aL) {\n var aI = this._$Ws[aL];\n if (aI == y._$V2) {\n continue;\n }\n do {\n var aM = this._$8b[aI];\n if (aM._$yo()) {\n aM._$GT()._$B2(this, aM, aN);\n aN += aK;\n }\n var aH = this._$Er[aI];\n if (aH <= aI || aH == y._$W0) {\n break;\n }\n aI = aH;\n } while (true);\n }\n}\n;\ny.prototype.setDrawParam = function(aH) {\n this.dp_webgl = aH;\n}\n;\ny.prototype.getDrawParam = function() {\n return this.dp_webgl;\n}\n;\nfunction ap() {}\nap._$0T = function(aH) {\n return ap._$0T(new _$5(aH));\n}\n;\nap._$0T = function(aJ) {\n if (!aJ.exists()) {\n throw new _$ls(aJ._$3b());\n }\n var aH = aJ.length();\n var aI = new Int8Array(aH);\n var aM = new _$Xs(new _$kb(aJ),8192);\n var aK;\n var aL = 0;\n while ((aK = aM.read(aI, aL, aH - aL)) > 0) {\n aL += aK;\n }\n return aI;\n}\n;\nap._$C = function(aJ) {\n var aI = null;\n var aL = null;\n try {\n aI = (aJ instanceof Array) ? aJ : new _$Xs(aJ,8192);\n aL = new _$js();\n var aM = 1000;\n var aK;\n var aH = new Int8Array(aM);\n while ((aK = aI.read(aH)) > 0) {\n aL.write(aH, 0, aK);\n }\n return aL._$TS();\n } finally {\n if (aJ != null) {\n aJ.close();\n }\n if (aL != null) {\n aL.flush();\n aL.close();\n }\n }\n}\n;\nfunction ar() {\n if (j) {\n return;\n }\n this._$12 = null;\n this._$bb = null;\n this._$_L = null;\n this._$jo = null;\n this._$iL = null;\n this._$0L = null;\n this._$Br = null;\n this._$Dr = null;\n this._$Cb = null;\n this._$mr = null;\n this._$_L = az.STATE_FIRST;\n this._$Br = 4000;\n this._$Dr = 100;\n this._$Cb = 50;\n this._$mr = 150;\n this._$jo = true;\n this._$iL = \"PARAM_EYE_L_OPEN\";\n this._$0L = \"PARAM_EYE_R_OPEN\";\n}\nar.prototype._$T2 = function() {\n var aI = P.getUserTimeMSec();\n var aH = Math._$10();\n return (aI + aH * (2 * this._$Br - 1));\n}\n;\nar.prototype._$uo = function(aH) {\n this._$Br = aH;\n}\n;\nar.prototype._$QS = function(aI, aH, aJ) {\n this._$Dr = aI;\n this._$Cb = aH;\n this._$mr = aJ;\n}\n;\nar.prototype._$7T = function(aI) {\n var aK = P.getUserTimeMSec();\n var aH;\n var aJ = 0;\n switch (this._$_L) {\n case STATE_CLOSING:\n aJ = (aK - this._$bb) / this._$Dr;\n if (aJ >= 1) {\n aJ = 1;\n this._$_L = az.STATE_CLOSED;\n this._$bb = aK;\n }\n aH = 1 - aJ;\n break;\n case STATE_CLOSED:\n aJ = (aK - this._$bb) / this._$Cb;\n if (aJ >= 1) {\n this._$_L = az.STATE_OPENING;\n this._$bb = aK;\n }\n aH = 0;\n break;\n case STATE_OPENING:\n aJ = (aK - this._$bb) / this._$mr;\n if (aJ >= 1) {\n aJ = 1;\n this._$_L = az.STATE_INTERVAL;\n this._$12 = this._$T2();\n }\n aH = aJ;\n break;\n case STATE_INTERVAL:\n if (this._$12 < aK) {\n this._$_L = az.STATE_CLOSING;\n this._$bb = aK;\n }\n aH = 1;\n break;\n case STATE_FIRST:\n default:\n this._$_L = az.STATE_INTERVAL;\n this._$12 = this._$T2();\n aH = 1;\n break;\n }\n if (!this._$jo) {\n aH = -aH;\n }\n aI.setParamFloat(this._$iL, aH);\n aI.setParamFloat(this._$0L, aH);\n}\n;\nvar az = function() {};\naz.STATE_FIRST = \"STATE_FIRST\";\naz.STATE_INTERVAL = \"STATE_INTERVAL\";\naz.STATE_CLOSING = \"STATE_CLOSING\";\naz.STATE_CLOSED = \"STATE_CLOSED\";\naz.STATE_OPENING = \"STATE_OPENING\";\nfunction x() {\n if (j) {\n return;\n }\n ax.prototype.constructor.call(this);\n this._$sb = new Int32Array(x._$As);\n this._$U2 = new Array();\n this.transform = null;\n this.gl = null;\n if (x._$NT == null) {\n x._$NT = x._$9r(256);\n x._$vS = x._$9r(256);\n x._$no = x._$vb(256);\n }\n}\nx.prototype = new ax();\nx._$As = 32;\nx._$Gr = false;\nx._$NT = null;\nx._$vS = null;\nx._$no = null;\nx._$9r = function(aH) {\n var aI = new Float32Array(aH);\n return aI;\n}\n;\nx._$vb = function(aH) {\n var aI = new Int16Array(aH);\n return aI;\n}\n;\nx._$cr = function(aI, aH) {\n if (aI == null || aI._$yL() < aH.length) {\n aI = x._$9r(aH.length * 2);\n aI.put(aH);\n aI._$oT(0);\n } else {\n aI.clear();\n aI.put(aH);\n aI._$oT(0);\n }\n return aI;\n}\n;\nx._$mb = function(aI, aH) {\n if (aI == null || aI._$yL() < aH.length) {\n aI = x._$vb(aH.length * 2);\n aI.put(aH);\n aI._$oT(0);\n } else {\n aI.clear();\n aI.put(aH);\n aI._$oT(0);\n }\n return aI;\n}\n;\nx._$Hs = function() {\n return x._$Gr;\n}\n;\nx._$as = function(aH) {\n x._$Gr = aH;\n}\n;\nx.prototype.setGL = function(aH) {\n this.gl = aH;\n}\n;\nx.prototype.setTransform = function(aH) {\n this.transform = aH;\n}\n;\nx.prototype._$ZT = function() {}\n;\nx.prototype._$Uo = function(aO, aH, aP, aI, aQ, aM, aK, aJ) {\n if (aM < 0.01) {\n return;\n }\n var aL = this._$U2[aO];\n var aN = aM > 0.9 ? Q.EXPAND_W : 0;\n this.gl.drawElements(aL, aP, aI, aQ, aM, aN, this.transform, aJ);\n}\n;\nx.prototype._$Rs = function() {\n throw new Error(\"_$Rs\");\n}\n;\nx.prototype._$Ds = function(aH) {\n throw new Error(\"_$Ds\");\n}\n;\nx.prototype._$K2 = function() {\n for (var aH = 0; aH < this._$sb.length; aH++) {\n var aI = this._$sb[aH];\n if (aI != 0) {\n this.gl._$Sr(1, this._$sb, aH);\n this._$sb[aH] = 0;\n }\n }\n}\n;\nx.prototype.setTexture = function(aI, aH) {\n if (this._$sb.length < aI + 1) {\n this._$nS(aI);\n }\n this._$sb[aI] = aH;\n}\n;\nx.prototype.setTexture = function(aH, aI) {\n if (this._$sb.length < aH + 1) {\n this._$nS(aH);\n }\n this._$U2[aH] = aI;\n}\n;\nx.prototype._$nS = function(aH) {\n var aK = Math.max(this._$sb.length * 2, aH + 1 + 10);\n var aI = new Int32Array(aK);\n P._$jT(this._$sb, 0, aI, 0, this._$sb.length);\n this._$sb = aI;\n var aJ = new Array();\n P._$jT(this._$U2, 0, aJ, 0, this._$U2.length);\n this._$U2 = aJ;\n}\n;\nfunction ab() {\n if (j) {\n return;\n }\n c.prototype.constructor.call(this);\n this._$GS = null;\n this._$Y0 = null;\n}\nab.prototype = new c();\nab._$Xo = new Float32Array(2);\nab._$io = new Float32Array(2);\nab._$0o = new Float32Array(2);\nab._$Lo = new Float32Array(2);\nab._$To = new Float32Array(2);\nab._$Po = new Float32Array(2);\nab._$gT = new Array();\nab.prototype._$zP = function() {\n this._$GS = new g();\n this._$GS._$zP();\n this._$Y0 = new Array();\n}\n;\nab.prototype.getType = function() {\n return c._$c2;\n}\n;\nab.prototype._$F0 = function(aH) {\n c.prototype._$F0.call(this, aH);\n this._$GS = aH._$nP();\n this._$Y0 = aH._$nP();\n c.prototype.readV2_opacity.call(this, aH);\n}\n;\nab.prototype.init = function(aH) {\n var aI = new al(this);\n aI._$Yr = new X();\n if (this._$32()) {\n aI._$Wr = new X();\n }\n return aI;\n}\n;\nab.prototype._$Nr = function(bf, bx) {\n if (!((this == bx._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var bm = bx;\n if (!this._$GS._$Ur(bf)) {\n return;\n }\n var bw = ab._$gT;\n bw[0] = false;\n var a2 = this._$GS._$Q2(bf, bw);\n bx._$Ib(bw[0]);\n this.interpolateOpacity(bf, this._$GS, bx, bw);\n var a3 = bf._$vs();\n var ba = bf._$Tr();\n this._$GS._$zr(a3, ba, a2);\n if (a2 <= 0) {\n var bn = this._$Y0[a3[0]];\n bm._$Yr.init(bn);\n } else {\n if (a2 == 1) {\n var bn = this._$Y0[a3[0]];\n var bl = this._$Y0[a3[1]];\n var a9 = ba[0];\n bm._$Yr._$fL = bn._$fL + (bl._$fL - bn._$fL) * a9;\n bm._$Yr._$gL = bn._$gL + (bl._$gL - bn._$gL) * a9;\n bm._$Yr._$B0 = bn._$B0 + (bl._$B0 - bn._$B0) * a9;\n bm._$Yr._$z0 = bn._$z0 + (bl._$z0 - bn._$z0) * a9;\n bm._$Yr._$qT = bn._$qT + (bl._$qT - bn._$qT) * a9;\n } else {\n if (a2 == 2) {\n var bn = this._$Y0[a3[0]];\n var bl = this._$Y0[a3[1]];\n var a1 = this._$Y0[a3[2]];\n var a0 = this._$Y0[a3[3]];\n var a9 = ba[0];\n var a8 = ba[1];\n var bC = bn._$fL + (bl._$fL - bn._$fL) * a9;\n var bB = a1._$fL + (a0._$fL - a1._$fL) * a9;\n bm._$Yr._$fL = bC + (bB - bC) * a8;\n bC = bn._$gL + (bl._$gL - bn._$gL) * a9;\n bB = a1._$gL + (a0._$gL - a1._$gL) * a9;\n bm._$Yr._$gL = bC + (bB - bC) * a8;\n bC = bn._$B0 + (bl._$B0 - bn._$B0) * a9;\n bB = a1._$B0 + (a0._$B0 - a1._$B0) * a9;\n bm._$Yr._$B0 = bC + (bB - bC) * a8;\n bC = bn._$z0 + (bl._$z0 - bn._$z0) * a9;\n bB = a1._$z0 + (a0._$z0 - a1._$z0) * a9;\n bm._$Yr._$z0 = bC + (bB - bC) * a8;\n bC = bn._$qT + (bl._$qT - bn._$qT) * a9;\n bB = a1._$qT + (a0._$qT - a1._$qT) * a9;\n bm._$Yr._$qT = bC + (bB - bC) * a8;\n } else {\n if (a2 == 3) {\n var aP = this._$Y0[a3[0]];\n var aO = this._$Y0[a3[1]];\n var bu = this._$Y0[a3[2]];\n var bs = this._$Y0[a3[3]];\n var aK = this._$Y0[a3[4]];\n var aJ = this._$Y0[a3[5]];\n var bj = this._$Y0[a3[6]];\n var bi = this._$Y0[a3[7]];\n var a9 = ba[0];\n var a8 = ba[1];\n var a6 = ba[2];\n var bC = aP._$fL + (aO._$fL - aP._$fL) * a9;\n var bB = bu._$fL + (bs._$fL - bu._$fL) * a9;\n var bz = aK._$fL + (aJ._$fL - aK._$fL) * a9;\n var by = bj._$fL + (bi._$fL - bj._$fL) * a9;\n bm._$Yr._$fL = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n bC = aP._$gL + (aO._$gL - aP._$gL) * a9;\n bB = bu._$gL + (bs._$gL - bu._$gL) * a9;\n bz = aK._$gL + (aJ._$gL - aK._$gL) * a9;\n by = bj._$gL + (bi._$gL - bj._$gL) * a9;\n bm._$Yr._$gL = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n bC = aP._$B0 + (aO._$B0 - aP._$B0) * a9;\n bB = bu._$B0 + (bs._$B0 - bu._$B0) * a9;\n bz = aK._$B0 + (aJ._$B0 - aK._$B0) * a9;\n by = bj._$B0 + (bi._$B0 - bj._$B0) * a9;\n bm._$Yr._$B0 = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n bC = aP._$z0 + (aO._$z0 - aP._$z0) * a9;\n bB = bu._$z0 + (bs._$z0 - bu._$z0) * a9;\n bz = aK._$z0 + (aJ._$z0 - aK._$z0) * a9;\n by = bj._$z0 + (bi._$z0 - bj._$z0) * a9;\n bm._$Yr._$z0 = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n bC = aP._$qT + (aO._$qT - aP._$qT) * a9;\n bB = bu._$qT + (bs._$qT - bu._$qT) * a9;\n bz = aK._$qT + (aJ._$qT - aK._$qT) * a9;\n by = bj._$qT + (bi._$qT - bj._$qT) * a9;\n bm._$Yr._$qT = (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8);\n } else {\n if (a2 == 4) {\n var aT = this._$Y0[a3[0]];\n var aS = this._$Y0[a3[1]];\n var bE = this._$Y0[a3[2]];\n var bD = this._$Y0[a3[3]];\n var aN = this._$Y0[a3[4]];\n var aM = this._$Y0[a3[5]];\n var bp = this._$Y0[a3[6]];\n var bo = this._$Y0[a3[7]];\n var bh = this._$Y0[a3[8]];\n var bg = this._$Y0[a3[9]];\n var aY = this._$Y0[a3[10]];\n var aW = this._$Y0[a3[11]];\n var a7 = this._$Y0[a3[12]];\n var a5 = this._$Y0[a3[13]];\n var aR = this._$Y0[a3[14]];\n var aQ = this._$Y0[a3[15]];\n var a9 = ba[0];\n var a8 = ba[1];\n var a6 = ba[2];\n var a4 = ba[3];\n var bC = aT._$fL + (aS._$fL - aT._$fL) * a9;\n var bB = bE._$fL + (bD._$fL - bE._$fL) * a9;\n var bz = aN._$fL + (aM._$fL - aN._$fL) * a9;\n var by = bp._$fL + (bo._$fL - bp._$fL) * a9;\n var bv = bh._$fL + (bg._$fL - bh._$fL) * a9;\n var bt = aY._$fL + (aW._$fL - aY._$fL) * a9;\n var br = a7._$fL + (a5._$fL - a7._$fL) * a9;\n var bq = aR._$fL + (aQ._$fL - aR._$fL) * a9;\n bm._$Yr._$fL = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n bC = aT._$gL + (aS._$gL - aT._$gL) * a9;\n bB = bE._$gL + (bD._$gL - bE._$gL) * a9;\n bz = aN._$gL + (aM._$gL - aN._$gL) * a9;\n by = bp._$gL + (bo._$gL - bp._$gL) * a9;\n bv = bh._$gL + (bg._$gL - bh._$gL) * a9;\n bt = aY._$gL + (aW._$gL - aY._$gL) * a9;\n br = a7._$gL + (a5._$gL - a7._$gL) * a9;\n bq = aR._$gL + (aQ._$gL - aR._$gL) * a9;\n bm._$Yr._$gL = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n bC = aT._$B0 + (aS._$B0 - aT._$B0) * a9;\n bB = bE._$B0 + (bD._$B0 - bE._$B0) * a9;\n bz = aN._$B0 + (aM._$B0 - aN._$B0) * a9;\n by = bp._$B0 + (bo._$B0 - bp._$B0) * a9;\n bv = bh._$B0 + (bg._$B0 - bh._$B0) * a9;\n bt = aY._$B0 + (aW._$B0 - aY._$B0) * a9;\n br = a7._$B0 + (a5._$B0 - a7._$B0) * a9;\n bq = aR._$B0 + (aQ._$B0 - aR._$B0) * a9;\n bm._$Yr._$B0 = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n bC = aT._$z0 + (aS._$z0 - aT._$z0) * a9;\n bB = bE._$z0 + (bD._$z0 - bE._$z0) * a9;\n bz = aN._$z0 + (aM._$z0 - aN._$z0) * a9;\n by = bp._$z0 + (bo._$z0 - bp._$z0) * a9;\n bv = bh._$z0 + (bg._$z0 - bh._$z0) * a9;\n bt = aY._$z0 + (aW._$z0 - aY._$z0) * a9;\n br = a7._$z0 + (a5._$z0 - a7._$z0) * a9;\n bq = aR._$z0 + (aQ._$z0 - aR._$z0) * a9;\n bm._$Yr._$z0 = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n bC = aT._$qT + (aS._$qT - aT._$qT) * a9;\n bB = bE._$qT + (bD._$qT - bE._$qT) * a9;\n bz = aN._$qT + (aM._$qT - aN._$qT) * a9;\n by = bp._$qT + (bo._$qT - bp._$qT) * a9;\n bv = bh._$qT + (bg._$qT - bh._$qT) * a9;\n bt = aY._$qT + (aW._$qT - aY._$qT) * a9;\n br = a7._$qT + (a5._$qT - a7._$qT) * a9;\n bq = aR._$qT + (aQ._$qT - aR._$qT) * a9;\n bm._$Yr._$qT = (1 - a4) * ((1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8)) + a4 * ((1 - a6) * (bv + (bt - bv) * a8) + a6 * (br + (bq - br) * a8));\n } else {\n var aV = Math.pow(2, a2) | 0;\n var aZ = new Float32Array(aV);\n for (var bk = 0; bk < aV; bk++) {\n var aI = bk;\n var aH = 1;\n for (var aL = 0; aL < a2; aL++) {\n aH *= (aI % 2 == 0) ? (1 - ba[aL]) : ba[aL];\n aI /= 2;\n }\n aZ[bk] = aH;\n }\n var bA = new Array();\n for (var aU = 0; aU < aV; aU++) {\n bA[aU] = this._$Y0[a3[aU]];\n }\n var be = 0\n , bc = 0\n , bd = 0\n , bb = 0\n , aX = 0;\n for (var aU = 0; aU < aV; aU++) {\n be += aZ[aU] * bA[aU]._$fL;\n bc += aZ[aU] * bA[aU]._$gL;\n bd += aZ[aU] * bA[aU]._$B0;\n bb += aZ[aU] * bA[aU]._$z0;\n aX += aZ[aU] * bA[aU]._$qT;\n }\n bm._$Yr._$fL = be;\n bm._$Yr._$gL = bc;\n bm._$Yr._$B0 = bd;\n bm._$Yr._$z0 = bb;\n bm._$Yr._$qT = aX;\n }\n }\n }\n }\n }\n var bn = this._$Y0[a3[0]];\n bm._$Yr.reflectX = bn.reflectX;\n bm._$Yr.reflectY = bn.reflectY;\n}\n;\nab.prototype._$2b = function(aM, aH) {\n if (!((this == aH._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var aR = aH;\n aR._$hS(true);\n if (!this._$32()) {\n aR.setTotalScale_notForClient(aR._$Yr._$B0);\n aR.setTotalOpacity(aR.getInterpolatedOpacity());\n } else {\n var aT = this.getTargetBaseDataID();\n if (aR._$8r == c._$ur) {\n aR._$8r = aM.getBaseDataIndex(aT);\n }\n if (aR._$8r < 0) {\n if (Q._$so) {\n q._$li(\"_$L _$0P _$G :: %s\", aT);\n }\n aR._$hS(false);\n } else {\n var aI = aM.getBaseData(aR._$8r);\n if (aI != null) {\n var aL = aM._$q2(aR._$8r);\n var aS = ab._$Xo;\n aS[0] = aR._$Yr._$fL;\n aS[1] = aR._$Yr._$gL;\n var aJ = ab._$io;\n aJ[0] = 0;\n aJ[1] = -0.1;\n var aO = aL._$GT().getType();\n if (aO == c._$c2) {\n aJ[1] = -10;\n } else {\n aJ[1] = -0.1;\n }\n var aQ = ab._$0o;\n this._$Jr(aM, aI, aL, aS, aJ, aQ);\n var aP = aC._$92(aJ, aQ);\n aI._$nb(aM, aL, aS, aS, 1, 0, 2);\n aR._$Wr._$fL = aS[0];\n aR._$Wr._$gL = aS[1];\n aR._$Wr._$B0 = aR._$Yr._$B0;\n aR._$Wr._$z0 = aR._$Yr._$z0;\n aR._$Wr._$qT = aR._$Yr._$qT - aP * aC._$NS;\n var aK = aL.getTotalScale();\n aR.setTotalScale_notForClient(aK * aR._$Wr._$B0);\n var aN = aL.getTotalOpacity();\n aR.setTotalOpacity(aN * aR.getInterpolatedOpacity());\n aR._$Wr.reflectX = aR._$Yr.reflectX;\n aR._$Wr.reflectY = aR._$Yr.reflectY;\n aR._$hS(aL._$yo());\n } else {\n aR._$hS(false);\n }\n }\n }\n}\n;\nab.prototype._$nb = function(aJ, aR, aL, a4, aT, aO, a2) {\n if (!((this == aR._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var aH = aR;\n var aU = aH._$Wr != null ? aH._$Wr : aH._$Yr;\n var a0 = Math.sin(aC._$bS * aU._$qT);\n var aP = Math.cos(aC._$bS * aU._$qT);\n var a3 = aH.getTotalScale();\n var aW = aU.reflectX ? -1 : 1;\n var aV = aU.reflectY ? -1 : 1;\n var aS = aP * a3 * aW;\n var aQ = -a0 * a3 * aV;\n var a1 = a0 * a3 * aW;\n var aZ = aP * a3 * aV;\n var aY = aU._$fL;\n var aX = aU._$gL;\n var aN, aM;\n var aI = aT * a2;\n for (var aK = aO; aK < aI; aK += a2) {\n aN = aL[aK];\n aM = aL[aK + 1];\n a4[aK] = aS * aN + aQ * aM + aY;\n a4[aK + 1] = a1 * aN + aZ * aM + aX;\n }\n}\n;\nab.prototype._$Jr = function(aP, aK, aI, aR, aQ, aH) {\n if (!((aK == aI._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var aO = ab._$Lo;\n ab._$Lo[0] = aR[0];\n ab._$Lo[1] = aR[1];\n aK._$nb(aP, aI, aO, aO, 1, 0, 2);\n var aL = ab._$To;\n var aS = ab._$Po;\n var aN = 10;\n var aJ = 1;\n for (var aM = 0; aM < aN; aM++) {\n aS[0] = aR[0] + aJ * aQ[0];\n aS[1] = aR[1] + aJ * aQ[1];\n aK._$nb(aP, aI, aS, aL, 1, 0, 2);\n aL[0] -= aO[0];\n aL[1] -= aO[1];\n if (aL[0] != 0 || aL[1] != 0) {\n aH[0] = aL[0];\n aH[1] = aL[1];\n return;\n }\n aS[0] = aR[0] - aJ * aQ[0];\n aS[1] = aR[1] - aJ * aQ[1];\n aK._$nb(aP, aI, aS, aL, 1, 0, 2);\n aL[0] -= aO[0];\n aL[1] -= aO[1];\n if (aL[0] != 0 || aL[1] != 0) {\n aL[0] = -aL[0];\n aL[0] = -aL[0];\n aH[0] = aL[0];\n aH[1] = aL[1];\n return;\n }\n aJ *= 0.1;\n }\n if (Q._$so) {\n console.log(\"_$L0 to transform _$SP\\n\");\n }\n}\n;\nfunction al(aH) {\n B.prototype.constructor.call(this, aH);\n this._$8r = c._$ur;\n this._$Yr = null;\n this._$Wr = null;\n}\nal.prototype = new B();\nfunction a() {\n if (j) {\n return;\n }\n ae.prototype.constructor.call(this);\n this._$gP = null;\n this._$dr = null;\n this._$GS = null;\n this._$qb = null;\n this._$Lb = null;\n this._$mS = null;\n}\na.prototype = new ae();\na._$ur = -2;\na._$ES = 500;\na._$wb = 2;\na._$8S = 3;\na._$os = 4;\na._$52 = a._$ES;\na._$R2 = a._$ES;\na._$Sb = function(aJ) {\n for (var aI = aJ.length - 1; aI >= 0; --aI) {\n var aH = aJ[aI];\n if (aH < a._$52) {\n a._$52 = aH;\n } else {\n if (aH > a._$R2) {\n a._$R2 = aH;\n }\n }\n }\n}\n;\na._$or = function() {\n return a._$52;\n}\n;\na._$Pr = function() {\n return a._$R2;\n}\n;\na.prototype._$F0 = function(aH) {\n this._$gP = aH._$nP();\n this._$dr = aH._$nP();\n this._$GS = aH._$nP();\n this._$qb = aH._$6L();\n this._$Lb = aH._$cS();\n this._$mS = aH._$Tb();\n if (aH.getFormatVersion() >= ay._$T7) {\n this.clipID = aH._$nP();\n this.clipIDList = this.convertClipIDForV2_11(this.clipID);\n } else {\n this.clipIDList = null;\n }\n a._$Sb(this._$Lb);\n}\n;\na.prototype.getClipIDList = function() {\n return this.clipIDList;\n}\n;\na.prototype._$Nr = function(aI, aH) {\n aH._$IS[0] = false;\n aH._$Us = aG._$Z2(aI, this._$GS, aH._$IS, this._$Lb);\n if (Q._$Zs) {} else {\n if (aH._$IS[0]) {\n return;\n }\n }\n aH._$7s = aG._$br(aI, this._$GS, aH._$IS, this._$mS);\n}\n;\na.prototype._$2b = function(aH) {}\n;\na.prototype.getDrawDataID = function() {\n return this._$gP;\n}\n;\na.prototype._$j2 = function(aH) {\n this._$gP = aH;\n}\n;\na.prototype.getOpacity = function(aH, aI) {\n return aI._$7s;\n}\n;\na.prototype._$zS = function(aH, aI) {\n return aI._$Us;\n}\n;\na.prototype.getTargetBaseDataID = function() {\n return this._$dr;\n}\n;\na.prototype._$gs = function(aH) {\n this._$dr = aH;\n}\n;\na.prototype._$32 = function() {\n return (this._$dr != null && (this._$dr != n._$2o()));\n}\n;\na.prototype.getType = function() {}\n;\nfunction aq() {\n if (j) {\n return;\n }\n this._$NL = null;\n this._$3S = null;\n this._$aS = null;\n aq._$42++;\n}\naq._$42 = 0;\naq.prototype._$1b = function() {\n return this._$3S;\n}\n;\naq.prototype.getDrawDataList = function() {\n return this._$aS;\n}\n;\naq.prototype._$F0 = function(aH) {\n this._$NL = aH._$nP();\n this._$aS = aH._$nP();\n this._$3S = aH._$nP();\n}\n;\naq.prototype._$kr = function(aH) {\n aH._$Zo(this._$3S);\n aH._$xo(this._$aS);\n this._$3S = null;\n this._$aS = null;\n}\n;\nfunction v() {\n if (j) {\n return;\n }\n aa.prototype.constructor.call(this);\n this._$zo = new x();\n}\nv.prototype = new aa();\nv.loadModel = function(aI) {\n var aH = new v();\n aa._$62(aH, aI);\n return aH;\n}\n;\nv.loadModel = function(aI) {\n var aH = new v();\n aa._$62(aH, aI);\n return aH;\n}\n;\nv._$to = function() {\n var aH = new v();\n return aH;\n}\n;\nv._$er = function(aM) {\n var aJ = new _$5(\"../_$_r/_$t0/_$Ri/_$_P._$d\");\n if (aJ.exists() == false) {\n throw new _$ls(\"_$t0 _$_ _$6 _$Ui :: \" + aJ._$PL());\n }\n var aH = [\"../_$_r/_$t0/_$Ri/_$_P.512/_$CP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$vP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$EP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$pP._$1\"];\n var aK = v.loadModel(aJ._$3b());\n for (var aI = 0; aI < aH.length; aI++) {\n var aL = new _$5(aH[aI]);\n if (aL.exists() == false) {\n throw new _$ls(\"_$t0 _$_ _$6 _$Ui :: \" + aL._$PL());\n }\n aK.setTexture(aI, _$nL._$_o(aM, aL._$3b()));\n }\n return aK;\n}\n;\nv.prototype.setGL = function(aH) {\n this._$zo.setGL(aH);\n}\n;\nv.prototype.setTransform = function(aH) {\n this._$zo.setTransform(aH);\n}\n;\nv.prototype.draw = function() {\n this._$5S.draw(this._$zo);\n}\n;\nv.prototype._$K2 = function() {\n this._$zo._$K2();\n}\n;\nv.prototype.setTexture = function(aI, aH) {\n if (this._$zo == null) {\n q._$li(\"_$Yi for QT _$ki / _$XS() is _$6 _$ui!!\");\n }\n this._$zo.setTexture(aI, aH);\n}\n;\nv.prototype.setTexture = function(aI, aH) {\n if (this._$zo == null) {\n q._$li(\"_$Yi for QT _$ki / _$XS() is _$6 _$ui!!\");\n }\n this._$zo.setTexture(aI, aH);\n}\n;\nv.prototype._$Rs = function() {\n return this._$zo._$Rs();\n}\n;\nv.prototype._$Ds = function(aH) {\n this._$zo._$Ds(aH);\n}\n;\nv.prototype.getDrawParam = function() {\n return this._$zo;\n}\n;\nfunction ao() {\n if (j) {\n return;\n }\n ah.prototype.constructor.call(this);\n this.motions = new Array();\n this._$o2 = null;\n this._$7r = ao._$Co++;\n this._$D0 = 30;\n this._$yT = 0;\n this._$E = false;\n this.loopFadeIn = true;\n this._$rr = -1;\n this._$eP = 0;\n}\nao.prototype = new ah();\nao._$cs = \"VISIBLE:\";\nao._$ar = \"LAYOUT:\";\nao.MTN_PREFIX_FADEIN = \"FADEIN:\";\nao.MTN_PREFIX_FADEOUT = \"FADEOUT:\";\nao._$Co = 0;\nao._$1T = 1;\nao.loadMotion = function(aJ) {\n var aI = ap._$C(aJ);\n var aH = ao.loadMotion(aI);\n return aH;\n}\n;\nfunction p(aI, aH) {\n return String.fromCharCode(aI.getUint8(aH));\n}\nao.loadMotion = function(aT) {\n if (aT instanceof ArrayBuffer) {\n aT = new DataView(aT);\n }\n var aN = new ao();\n var aI = [0];\n var aQ = aT.byteLength;\n aN._$yT = 0;\n for (var aJ = 0; aJ < aQ; ++aJ) {\n var aS = p(aT, aJ);\n var aL = aS.charCodeAt(0);\n if (aS == \"\\n\" || aS == \"\\r\") {\n continue;\n }\n if (aS == \"#\") {\n for (; aJ < aQ; ++aJ) {\n if (p(aT, aJ) == \"\\n\" || p(aT, aJ) == \"\\r\") {\n break;\n }\n }\n continue;\n }\n if (aS == \"$\") {\n var aV = aJ;\n var aK = -1;\n for (; aJ < aQ; ++aJ) {\n aS = p(aT, aJ);\n if (aS == \"\\r\" || aS == \"\\n\") {\n break;\n }\n if (aS == \"=\") {\n aK = aJ;\n break;\n }\n }\n var aP = false;\n if (aK >= 0) {\n if (aK == aV + 4 && p(aT, aV + 1) == \"f\" && p(aT, aV + 2) == \"p\" && p(aT, aV + 3) == \"s\") {\n aP = true;\n }\n for (aJ = aK + 1; aJ < aQ; ++aJ) {\n aS = p(aT, aJ);\n if (aS == \"\\r\" || aS == \"\\n\") {\n break;\n }\n if (aS == \",\" || aS == \" \" || aS == \"\\t\") {\n continue;\n }\n var aM = G._$LS(aT, aQ, aJ, aI);\n if (aI[0] > 0) {\n if (aP && 5 < aM && aM < 121) {\n aN._$D0 = aM;\n }\n }\n aJ = aI[0];\n }\n }\n for (; aJ < aQ; ++aJ) {\n if (p(aT, aJ) == \"\\n\" || p(aT, aJ) == \"\\r\") {\n break;\n }\n }\n continue;\n }\n if ((97 <= aL && aL <= 122) || (65 <= aL && aL <= 90) || aS == \"_\") {\n var aV = aJ;\n var aK = -1;\n for (; aJ < aQ; ++aJ) {\n aS = p(aT, aJ);\n if (aS == \"\\r\" || aS == \"\\n\") {\n break;\n }\n if (aS == \"=\") {\n aK = aJ;\n break;\n }\n }\n if (aK >= 0) {\n var aO = new t();\n if (G.startsWith(aT, aV, ao._$cs)) {\n aO._$RP = t._$hs;\n aO._$4P = G.createString(aT, aV, aK - aV);\n } else {\n if (G.startsWith(aT, aV, ao._$ar)) {\n aO._$4P = G.createString(aT, aV + 7, aK - aV - 7);\n if (G.startsWith(aT, aV + 7, \"ANCHOR_X\")) {\n aO._$RP = t._$xs;\n } else {\n if (G.startsWith(aT, aV + 7, \"ANCHOR_Y\")) {\n aO._$RP = t._$us;\n } else {\n if (G.startsWith(aT, aV + 7, \"SCALE_X\")) {\n aO._$RP = t._$qs;\n } else {\n if (G.startsWith(aT, aV + 7, \"SCALE_Y\")) {\n aO._$RP = t._$Ys;\n } else {\n if (G.startsWith(aT, aV + 7, \"X\")) {\n aO._$RP = t._$ws;\n } else {\n if (G.startsWith(aT, aV + 7, \"Y\")) {\n aO._$RP = t._$Ns;\n }\n }\n }\n }\n }\n }\n } else {\n aO._$RP = t._$Fr;\n aO._$4P = G.createString(aT, aV, aK - aV);\n }\n }\n aN.motions.push(aO);\n var aU = 0;\n var aR = [];\n for (aJ = aK + 1; aJ < aQ; ++aJ) {\n aS = p(aT, aJ);\n if (aS == \"\\r\" || aS == \"\\n\") {\n break;\n }\n if (aS == \",\" || aS == \" \" || aS == \"\\t\") {\n continue;\n }\n var aM = G._$LS(aT, aQ, aJ, aI);\n if (aI[0] > 0) {\n aR.push(aM);\n aU++;\n var aH = aI[0];\n if (aH < aJ) {\n console.log(\"_$n0 _$hi . @Live2DMotion loadMotion()\\n\");\n break;\n }\n aJ = aH - 1;\n }\n }\n aO._$I0 = new Float32Array(aR);\n if (aU > aN._$yT) {\n aN._$yT = aU;\n }\n }\n }\n }\n aN._$rr = ((1000 * aN._$yT) / aN._$D0) | 0;\n return aN;\n}\n;\nao.prototype.getDurationMSec = function() {\n return this._$E ? -1 : this._$rr;\n}\n;\nao.prototype.getLoopDurationMSec = function() {\n return this._$rr;\n}\n;\nao.prototype.dump = function() {\n for (var aJ = 0; aJ < this.motions.length; aJ++) {\n var aH = this.motions[aJ];\n console.log(\"_$wL[%s] [%d]. \", aH._$4P, aH._$I0.length);\n for (var aI = 0; aI < aH._$I0.length && aI < 10; aI++) {\n console.log(\"%5.2f ,\", aH._$I0[aI]);\n }\n console.log(\"\\n\");\n }\n}\n;\nao.prototype.updateParamExe = function(aJ, aN, aQ, a3) {\n var aO = aN - a3._$z2;\n var a0 = aO * this._$D0 / 1000;\n var aK = a0 | 0;\n var aR = a0 - aK;\n for (var aZ = 0; aZ < this.motions.length; aZ++) {\n var aV = this.motions[aZ];\n var aL = aV._$I0.length;\n var aT = aV._$4P;\n if (aV._$RP == t._$hs) {\n var aX = aV._$I0[(aK >= aL ? aL - 1 : aK)];\n aJ.setParamFloat(aT, aX);\n } else {\n if (t._$ws <= aV._$RP && aV._$RP <= t._$Ys) {} else {\n var aH = aJ.getParamIndex(aT);\n var a4 = aJ.getModelContext();\n var aY = a4.getParamMax(aH);\n var aW = a4.getParamMin(aH);\n var aM = 0.4;\n var aS = aM * (aY - aW);\n var aU = a4.getParamFloat(aH);\n var a2 = aV._$I0[(aK >= aL ? aL - 1 : aK)];\n var a1 = aV._$I0[(aK + 1 >= aL ? aL - 1 : aK + 1)];\n var aI;\n if ((a2 < a1 && a1 - a2 > aS) || (a2 > a1 && a2 - a1 > aS)) {\n aI = a2;\n } else {\n aI = a2 + (a1 - a2) * aR;\n }\n var aP = aU + (aI - aU) * aQ;\n aJ.setParamFloat(aT, aP);\n }\n }\n }\n if (aK >= this._$yT) {\n if (this._$E) {\n a3._$z2 = aN;\n if (this.loopFadeIn) {\n a3._$bs = aN;\n }\n } else {\n a3._$9L = true;\n }\n }\n this._$eP = aQ;\n}\n;\nao.prototype._$r0 = function() {\n return this._$E;\n}\n;\nao.prototype._$aL = function(aH) {\n this._$E = aH;\n}\n;\nao.prototype._$S0 = function() {\n return this._$D0;\n}\n;\nao.prototype._$U0 = function(aH) {\n this._$D0 = aH;\n}\n;\nao.prototype.isLoopFadeIn = function() {\n return this.loopFadeIn;\n}\n;\nao.prototype.setLoopFadeIn = function(aH) {\n this.loopFadeIn = aH;\n}\n;\nfunction aE() {\n this._$P = new Float32Array(100);\n this.size = 0;\n}\naE.prototype.clear = function() {\n this.size = 0;\n}\n;\naE.prototype.add = function(aI) {\n if (this._$P.length <= this.size) {\n var aH = new Float32Array(this.size * 2);\n P._$jT(this._$P, 0, aH, 0, this.size);\n this._$P = aH;\n }\n this._$P[this.size++] = aI;\n}\n;\naE.prototype._$BL = function() {\n var aH = new Float32Array(this.size);\n P._$jT(this._$P, 0, aH, 0, this.size);\n return aH;\n}\n;\nfunction t() {\n this._$4P = null;\n this._$I0 = null;\n this._$RP = null;\n}\nt._$Fr = 0;\nt._$hs = 1;\nt._$ws = 100;\nt._$Ns = 101;\nt._$xs = 102;\nt._$us = 103;\nt._$qs = 104;\nt._$Ys = 105;\nfunction E() {\n if (j) {\n return;\n }\n c.prototype.constructor.call(this);\n this._$o = 0;\n this._$A = 0;\n this._$GS = null;\n this._$Eo = null;\n}\nE.prototype = new c();\nE._$gT = new Array();\nE.prototype._$zP = function() {\n this._$GS = new g();\n this._$GS._$zP();\n}\n;\nE.prototype._$F0 = function(aH) {\n c.prototype._$F0.call(this, aH);\n this._$A = aH._$6L();\n this._$o = aH._$6L();\n this._$GS = aH._$nP();\n this._$Eo = aH._$nP();\n c.prototype.readV2_opacity.call(this, aH);\n}\n;\nE.prototype.init = function(aH) {\n var aI = new H(this);\n var aJ = (this._$o + 1) * (this._$A + 1);\n if (aI._$Cr != null) {\n aI._$Cr = null;\n }\n aI._$Cr = new Float32Array(aJ * 2);\n if (aI._$hr != null) {\n aI._$hr = null;\n }\n if (this._$32()) {\n aI._$hr = new Float32Array(aJ * 2);\n } else {\n aI._$hr = null;\n }\n return aI;\n}\n;\nE.prototype._$Nr = function(aJ, aI) {\n var aK = aI;\n if (!this._$GS._$Ur(aJ)) {\n return;\n }\n var aL = this._$VT();\n var aH = E._$gT;\n aH[0] = false;\n aG._$Vr(aJ, this._$GS, aH, aL, this._$Eo, aK._$Cr, 0, 2);\n aI._$Ib(aH[0]);\n this.interpolateOpacity(aJ, this._$GS, aI, aH);\n}\n;\nE.prototype._$2b = function(aK, aJ) {\n var aL = aJ;\n aL._$hS(true);\n if (!this._$32()) {\n aL.setTotalOpacity(aL.getInterpolatedOpacity());\n } else {\n var aH = this.getTargetBaseDataID();\n if (aL._$8r == c._$ur) {\n aL._$8r = aK.getBaseDataIndex(aH);\n }\n if (aL._$8r < 0) {\n if (Q._$so) {\n q._$li(\"_$L _$0P _$G :: %s\", aH);\n }\n aL._$hS(false);\n } else {\n var aN = aK.getBaseData(aL._$8r);\n var aI = aK._$q2(aL._$8r);\n if (aN != null && aI._$yo()) {\n var aM = aI.getTotalScale();\n aL.setTotalScale_notForClient(aM);\n var aO = aI.getTotalOpacity();\n aL.setTotalOpacity(aO * aL.getInterpolatedOpacity());\n aN._$nb(aK, aI, aL._$Cr, aL._$hr, this._$VT(), 0, 2);\n aL._$hS(true);\n } else {\n aL._$hS(false);\n }\n }\n }\n}\n;\nE.prototype._$nb = function(aL, aI, aH, aM, aO, aK, aJ) {\n if (true) {\n var aN = aI;\n var aP = (aN._$hr != null) ? aN._$hr : aN._$Cr;\n E.transformPoints_sdk2(aH, aM, aO, aK, aJ, aP, this._$o, this._$A);\n } else {\n this.transformPoints_sdk1(aL, aI, aH, aM, aO, aK, aJ);\n }\n}\n;\nE.transformPoints_sdk2 = function(a0, bc, a5, aP, aI, aR, aQ, aU) {\n var aW = a5 * aI;\n var aV;\n var bn, bm;\n var aT = 0;\n var aS = 0;\n var bl = 0;\n var bk = 0;\n var bf = 0;\n var be = 0;\n var aZ = false;\n for (var ba = aP; ba < aW; ba += aI) {\n var bd, a7, a4, aX;\n a4 = a0[ba];\n aX = a0[ba + 1];\n bd = a4 * aQ;\n a7 = aX * aU;\n if (bd < 0 || a7 < 0 || aQ <= bd || aU <= a7) {\n var a1 = aQ + 1;\n if (!aZ) {\n aZ = true;\n aT = 0.25 * (aR[((0) + (0) * a1) * 2] + aR[((aQ) + (0) * a1) * 2] + aR[((0) + (aU) * a1) * 2] + aR[((aQ) + (aU) * a1) * 2]);\n aS = 0.25 * (aR[((0) + (0) * a1) * 2 + 1] + aR[((aQ) + (0) * a1) * 2 + 1] + aR[((0) + (aU) * a1) * 2 + 1] + aR[((aQ) + (aU) * a1) * 2 + 1]);\n var aM = aR[((aQ) + (aU) * a1) * 2] - aR[((0) + (0) * a1) * 2];\n var aL = aR[((aQ) + (aU) * a1) * 2 + 1] - aR[((0) + (0) * a1) * 2 + 1];\n var bh = aR[((aQ) + (0) * a1) * 2] - aR[((0) + (aU) * a1) * 2];\n var bg = aR[((aQ) + (0) * a1) * 2 + 1] - aR[((0) + (aU) * a1) * 2 + 1];\n bl = (aM + bh) * 0.5;\n bk = (aL + bg) * 0.5;\n bf = (aM - bh) * 0.5;\n be = (aL - bg) * 0.5;\n if (bl == 0 && bk == 0) {}\n if (bf == 0 && be == 0) {}\n aT -= 0.5 * (bl + bf);\n aS -= 0.5 * (bk + be);\n }\n if ((-2 < a4 && a4 < 3) && (-2 < aX && aX < 3)) {\n if (a4 <= 0) {\n if (aX <= 0) {\n var a3 = aR[((0) + (0) * a1) * 2];\n var a2 = aR[((0) + (0) * a1) * 2 + 1];\n var a8 = aT - 2 * bl;\n var a6 = aS - 2 * bk;\n var aK = aT - 2 * bf;\n var aJ = aS - 2 * be;\n var aO = aT - 2 * bl - 2 * bf;\n var aN = aS - 2 * bk - 2 * be;\n var bj = 0.5 * (a4 - (-2));\n var bi = 0.5 * (aX - (-2));\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n if (aX >= 1) {\n var aK = aR[((0) + (aU) * a1) * 2];\n var aJ = aR[((0) + (aU) * a1) * 2 + 1];\n var aO = aT - 2 * bl + 1 * bf;\n var aN = aS - 2 * bk + 1 * be;\n var a3 = aT + 3 * bf;\n var a2 = aS + 3 * be;\n var a8 = aT - 2 * bl + 3 * bf;\n var a6 = aS - 2 * bk + 3 * be;\n var bj = 0.5 * (a4 - (-2));\n var bi = 0.5 * (aX - (1));\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n var aH = (a7 | 0);\n if (aH == aU) {\n aH = aU - 1;\n }\n var bj = 0.5 * (a4 - (-2));\n var bi = a7 - aH;\n var bb = aH / aU;\n var a9 = (aH + 1) / aU;\n var aK = aR[((0) + (aH) * a1) * 2];\n var aJ = aR[((0) + (aH) * a1) * 2 + 1];\n var a3 = aR[((0) + (aH + 1) * a1) * 2];\n var a2 = aR[((0) + (aH + 1) * a1) * 2 + 1];\n var aO = aT - 2 * bl + bb * bf;\n var aN = aS - 2 * bk + bb * be;\n var a8 = aT - 2 * bl + a9 * bf;\n var a6 = aS - 2 * bk + a9 * be;\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n }\n }\n } else {\n if (1 <= a4) {\n if (aX <= 0) {\n var a8 = aR[((aQ) + (0) * a1) * 2];\n var a6 = aR[((aQ) + (0) * a1) * 2 + 1];\n var a3 = aT + 3 * bl;\n var a2 = aS + 3 * bk;\n var aO = aT + 1 * bl - 2 * bf;\n var aN = aS + 1 * bk - 2 * be;\n var aK = aT + 3 * bl - 2 * bf;\n var aJ = aS + 3 * bk - 2 * be;\n var bj = 0.5 * (a4 - (1));\n var bi = 0.5 * (aX - (-2));\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n if (aX >= 1) {\n var aO = aR[((aQ) + (aU) * a1) * 2];\n var aN = aR[((aQ) + (aU) * a1) * 2 + 1];\n var aK = aT + 3 * bl + 1 * bf;\n var aJ = aS + 3 * bk + 1 * be;\n var a8 = aT + 1 * bl + 3 * bf;\n var a6 = aS + 1 * bk + 3 * be;\n var a3 = aT + 3 * bl + 3 * bf;\n var a2 = aS + 3 * bk + 3 * be;\n var bj = 0.5 * (a4 - (1));\n var bi = 0.5 * (aX - (1));\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n var aH = (a7 | 0);\n if (aH == aU) {\n aH = aU - 1;\n }\n var bj = 0.5 * (a4 - (1));\n var bi = a7 - aH;\n var bb = aH / aU;\n var a9 = (aH + 1) / aU;\n var aO = aR[((aQ) + (aH) * a1) * 2];\n var aN = aR[((aQ) + (aH) * a1) * 2 + 1];\n var a8 = aR[((aQ) + (aH + 1) * a1) * 2];\n var a6 = aR[((aQ) + (aH + 1) * a1) * 2 + 1];\n var aK = aT + 3 * bl + bb * bf;\n var aJ = aS + 3 * bk + bb * be;\n var a3 = aT + 3 * bl + a9 * bf;\n var a2 = aS + 3 * bk + a9 * be;\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n }\n }\n } else {\n if (aX <= 0) {\n var aY = (bd | 0);\n if (aY == aQ) {\n aY = aQ - 1;\n }\n var bj = bd - aY;\n var bi = 0.5 * (aX - (-2));\n var bp = aY / aQ;\n var bo = (aY + 1) / aQ;\n var a8 = aR[((aY) + (0) * a1) * 2];\n var a6 = aR[((aY) + (0) * a1) * 2 + 1];\n var a3 = aR[((aY + 1) + (0) * a1) * 2];\n var a2 = aR[((aY + 1) + (0) * a1) * 2 + 1];\n var aO = aT + bp * bl - 2 * bf;\n var aN = aS + bp * bk - 2 * be;\n var aK = aT + bo * bl - 2 * bf;\n var aJ = aS + bo * bk - 2 * be;\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n if (aX >= 1) {\n var aY = (bd | 0);\n if (aY == aQ) {\n aY = aQ - 1;\n }\n var bj = bd - aY;\n var bi = 0.5 * (aX - (1));\n var bp = aY / aQ;\n var bo = (aY + 1) / aQ;\n var aO = aR[((aY) + (aU) * a1) * 2];\n var aN = aR[((aY) + (aU) * a1) * 2 + 1];\n var aK = aR[((aY + 1) + (aU) * a1) * 2];\n var aJ = aR[((aY + 1) + (aU) * a1) * 2 + 1];\n var a8 = aT + bp * bl + 3 * bf;\n var a6 = aS + bp * bk + 3 * be;\n var a3 = aT + bo * bl + 3 * bf;\n var a2 = aS + bo * bk + 3 * be;\n if (bj + bi <= 1) {\n bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi;\n bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi;\n } else {\n bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi);\n bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi);\n }\n } else {\n System.err.printf(\"_$li calc : %.4f , %.4f @@BDBoxGrid\\n\", a4, aX);\n }\n }\n }\n }\n } else {\n bc[ba] = aT + a4 * bl + aX * bf;\n bc[ba + 1] = aS + a4 * bk + aX * be;\n }\n } else {\n bn = bd - (bd | 0);\n bm = a7 - (a7 | 0);\n aV = 2 * ((bd | 0) + ((a7 | 0)) * (aQ + 1));\n if (bn + bm < 1) {\n bc[ba] = aR[aV] * (1 - bn - bm) + aR[aV + 2] * bn + aR[aV + 2 * (aQ + 1)] * bm;\n bc[ba + 1] = aR[aV + 1] * (1 - bn - bm) + aR[aV + 3] * bn + aR[aV + 2 * (aQ + 1) + 1] * bm;\n } else {\n bc[ba] = aR[aV + 2 * (aQ + 1) + 2] * (bn - 1 + bm) + aR[aV + 2 * (aQ + 1)] * (1 - bn) + aR[aV + 2] * (1 - bm);\n bc[ba + 1] = aR[aV + 2 * (aQ + 1) + 3] * (bn - 1 + bm) + aR[aV + 2 * (aQ + 1) + 1] * (1 - bn) + aR[aV + 3] * (1 - bm);\n }\n }\n }\n}\n;\nE.prototype.transformPoints_sdk1 = function(aJ, aR, aL, a0, aU, aP, aZ) {\n var aH = aR;\n var aO, aN;\n var aM = this._$o;\n var aQ = this._$A;\n var aI = aU * aZ;\n var aS, aY;\n var aV;\n var aX, aW;\n var aT = (aH._$hr != null) ? aH._$hr : aH._$Cr;\n for (var aK = aP; aK < aI; aK += aZ) {\n if (Q._$ts) {\n aO = aL[aK];\n aN = aL[aK + 1];\n if (aO < 0) {\n aO = 0;\n } else {\n if (aO > 1) {\n aO = 1;\n }\n }\n if (aN < 0) {\n aN = 0;\n } else {\n if (aN > 1) {\n aN = 1;\n }\n }\n aO *= aM;\n aN *= aQ;\n aS = (aO | 0);\n aY = (aN | 0);\n if (aS > aM - 1) {\n aS = aM - 1;\n }\n if (aY > aQ - 1) {\n aY = aQ - 1;\n }\n aX = aO - aS;\n aW = aN - aY;\n aV = 2 * (aS + aY * (aM + 1));\n } else {\n aO = aL[aK] * aM;\n aN = aL[aK + 1] * aQ;\n aX = aO - (aO | 0);\n aW = aN - (aN | 0);\n aV = 2 * ((aO | 0) + (aN | 0) * (aM + 1));\n }\n if (aX + aW < 1) {\n a0[aK] = aT[aV] * (1 - aX - aW) + aT[aV + 2] * aX + aT[aV + 2 * (aM + 1)] * aW;\n a0[aK + 1] = aT[aV + 1] * (1 - aX - aW) + aT[aV + 3] * aX + aT[aV + 2 * (aM + 1) + 1] * aW;\n } else {\n a0[aK] = aT[aV + 2 * (aM + 1) + 2] * (aX - 1 + aW) + aT[aV + 2 * (aM + 1)] * (1 - aX) + aT[aV + 2] * (1 - aW);\n a0[aK + 1] = aT[aV + 2 * (aM + 1) + 3] * (aX - 1 + aW) + aT[aV + 2 * (aM + 1) + 1] * (1 - aX) + aT[aV + 3] * (1 - aW);\n }\n }\n}\n;\nE.prototype._$VT = function() {\n return (this._$o + 1) * (this._$A + 1);\n}\n;\nE.prototype.getType = function() {\n return c._$_b;\n}\n;\nfunction H(aH) {\n B.prototype.constructor.call(this, aH);\n this._$8r = c._$ur;\n this._$Cr = null;\n this._$hr = null;\n}\nH.prototype = new B();\nfunction s() {\n if (j) {\n return;\n }\n this.visible = true;\n this._$g0 = false;\n this._$NL = null;\n this._$3S = null;\n this._$aS = null;\n s._$42++;\n}\ns._$42 = 0;\ns.prototype._$zP = function() {\n this._$3S = new Array();\n this._$aS = new Array();\n}\n;\ns.prototype._$F0 = function(aH) {\n this._$g0 = aH._$8L();\n this.visible = aH._$8L();\n this._$NL = aH._$nP();\n this._$3S = aH._$nP();\n this._$aS = aH._$nP();\n}\n;\ns.prototype.init = function(aI) {\n var aH = new aj(this);\n aH.setPartsOpacity(this.isVisible() ? 1 : 0);\n return aH;\n}\n;\ns.prototype._$6o = function(aH) {\n if (this._$3S == null) {\n throw new Error(\"_$3S _$6 _$Wo@_$6o\");\n }\n this._$3S.push(aH);\n}\n;\ns.prototype._$3o = function(aH) {\n if (this._$aS == null) {\n throw new Error(\"_$aS _$6 _$Wo@_$3o\");\n }\n this._$aS.push(aH);\n}\n;\ns.prototype._$Zo = function(aH) {\n this._$3S = aH;\n}\n;\ns.prototype._$xo = function(aH) {\n this._$aS = aH;\n}\n;\ns.prototype.isVisible = function() {\n return this.visible;\n}\n;\ns.prototype._$uL = function() {\n return this._$g0;\n}\n;\ns.prototype._$KP = function(aH) {\n this.visible = aH;\n}\n;\ns.prototype._$ET = function(aH) {\n this._$g0 = aH;\n}\n;\ns.prototype.getBaseData = function() {\n return this._$3S;\n}\n;\ns.prototype.getDrawData = function() {\n return this._$aS;\n}\n;\ns.prototype._$p2 = function() {\n return this._$NL;\n}\n;\ns.prototype._$ob = function(aH) {\n this._$NL = aH;\n}\n;\ns.prototype.getPartsID = function() {\n return this._$NL;\n}\n;\ns.prototype._$MP = function(aH) {\n this._$NL = aH;\n}\n;\nfunction aj(aH) {\n this._$VS = null;\n this._$e0 = null;\n this._$e0 = aH;\n}\naj.prototype = new S();\naj.prototype.getPartsOpacity = function() {\n return this._$VS;\n}\n;\naj.prototype.setPartsOpacity = function(aH) {\n this._$VS = aH;\n}\n;\nfunction ak(aH) {\n if (j) {\n return;\n }\n this.id = aH;\n}\nak._$L7 = function() {\n z._$27();\n n._$27();\n Z._$27();\n i._$27();\n}\n;\nak.prototype.toString = function() {\n return this.id;\n}\n;\nfunction D() {}\nD.prototype._$F0 = function(aH) {}\n;\nfunction an() {\n if (j) {\n return;\n }\n this._$4S = null;\n}\nan.prototype._$1s = function() {\n return this._$4S;\n}\n;\nan.prototype._$zP = function() {\n this._$4S = new Array();\n}\n;\nan.prototype._$F0 = function(aH) {\n this._$4S = aH._$nP();\n}\n;\nan.prototype._$Ks = function(aH) {\n this._$4S.push(aH);\n}\n;\nfunction au(aH, aI) {\n this.canvas = aH;\n this.context = aI;\n this.viewport = new Array(0,0,aH.width,aH.height);\n this._$6r = 1;\n this._$xP = 0;\n this._$3r = 1;\n this._$uP = 0;\n this._$Qo = -1;\n this.cacheImages = {};\n}\nau.tr = new am();\nau._$50 = new am();\nau._$Ti = new Array(0,0);\nau._$Pi = new Array(0,0);\nau._$B = new Array(0,0);\nau.prototype._$lP = function(aI, aK, aJ, aH) {\n this.viewport = new Array(aI,aK,aJ,aH);\n}\n;\nau.prototype._$bL = function() {\n this.context.save();\n var aH = this.viewport;\n if (aH != null) {\n this.context.beginPath();\n this.context._$Li(aH[0], aH[1], aH[2], aH[3]);\n this.context.clip();\n }\n}\n;\nau.prototype._$ei = function() {\n this.context.restore();\n}\n;\nau.prototype.drawElements = function(bc, bm, aX, aJ, bA, aM, bl, bz) {\n try {\n if (bA != this._$Qo) {\n this._$Qo = bA;\n this.context.globalAlpha = bA;\n }\n var a2 = bm.length;\n var aP = bc.width;\n var a5 = bc.height;\n var bE = this.context;\n var a7 = this._$xP;\n var a6 = this._$uP;\n var a1 = this._$6r;\n var aZ = this._$3r;\n var bD = au.tr;\n var aI = au._$Ti;\n var aH = au._$Pi;\n var bu = au._$B;\n for (var by = 0; by < a2; by += 3) {\n bE.save();\n var aW = bm[by];\n var aV = bm[by + 1];\n var aT = bm[by + 2];\n var aL = a7 + a1 * aX[aW * 2];\n var aK = a6 + aZ * aX[aW * 2 + 1];\n var br = a7 + a1 * aX[aV * 2];\n var bp = a6 + aZ * aX[aV * 2 + 1];\n var bh = a7 + a1 * aX[aT * 2];\n var bf = a6 + aZ * aX[aT * 2 + 1];\n if (bl) {\n bl._$PS(aL, aK, bu);\n aL = bu[0];\n aK = bu[1];\n bl._$PS(br, bp, bu);\n br = bu[0];\n bp = bu[1];\n bl._$PS(bh, bf, bu);\n bh = bu[0];\n bf = bu[1];\n }\n var aS = aP * aJ[aW * 2];\n var aQ = a5 - a5 * aJ[aW * 2 + 1];\n var bx = aP * aJ[aV * 2];\n var bw = a5 - a5 * aJ[aV * 2 + 1];\n var bk = aP * aJ[aT * 2];\n var bj = a5 - a5 * aJ[aT * 2 + 1];\n var a3 = Math.atan2(bw - aQ, bx - aS);\n var a0 = Math.atan2(bp - aK, br - aL);\n var aO = br - aL;\n var aN = bp - aK;\n var bi = Math.sqrt(aO * aO + aN * aN);\n var aU = bx - aS;\n var aR = bw - aQ;\n var bt = Math.sqrt(aU * aU + aR * aR);\n var bv = bi / bt;\n ad._$ni(bk, bj, aS, aQ, (bx - aS), (bw - aQ), -(bw - aQ), (bx - aS), aI);\n ad._$ni(bh, bf, aL, aK, (br - aL), (bp - aK), -(bp - aK), (br - aL), aH);\n var aY = (aH[0] - aI[0]) / aI[1];\n var bs = Math.min(aS, bx, bk);\n var bg = Math.max(aS, bx, bk);\n var bq = Math.min(aQ, bw, bj);\n var be = Math.max(aQ, bw, bj);\n var bo = Math.floor(bs);\n var bb = Math.floor(bq);\n var a4 = Math.ceil(bg);\n var bC = Math.ceil(be);\n bD.identity();\n bD.translate(aL, aK);\n bD.rotate(a0);\n bD.scale(1, aH[1] / aI[1]);\n bD.shear(aY, 0);\n bD.scale(bv, bv);\n bD.rotate(-a3);\n bD.translate(-aS, -aQ);\n bD.setContext(bE);\n var a8 = true;\n var a9 = 1.2;\n if (!aM) {\n aM = a8 ? a9 : 0;\n }\n if (Q.IGNORE_EXPAND) {\n aM = 0;\n }\n if (Q.USE_CACHED_POLYGON_IMAGE) {\n var bd = bz._$e0;\n bd.gl_cacheImage = bd.gl_cacheImage || {};\n if (!bd.gl_cacheImage[by]) {\n var bn = au.createCanvas(a4 - bo, bC - bb);\n Q.DEBUG_DATA.LDGL_CANVAS_MB = Q.DEBUG_DATA.LDGL_CANVAS_MB || 0;\n Q.DEBUG_DATA.LDGL_CANVAS_MB += (a4 - bo) * (bC - bb) * 4;\n var ba = bn.getContext(\"2d\");\n ba.translate(-bo, -bb);\n au.clip(ba, bD, aM, bi, aS, aQ, bx, bw, bk, bj, aL, aK, br, bp, bh, bf);\n ba.drawImage(bc, 0, 0);\n bd.gl_cacheImage[by] = {\n cacheCanvas: bn,\n cacheContext: ba\n };\n }\n bE.drawImage(bd.gl_cacheImage[by][\"cacheCanvas\"], bo, bb);\n } else {\n if (!Q.IGNORE_CLIP) {\n au.clip(bE, bD, aM, bi, aS, aQ, bx, bw, bk, bj, aL, aK, br, bp, bh, bf);\n }\n if (Q.USE_ADJUST_TRANSLATION) {\n bs = 0;\n bg = aP;\n bq = 0;\n be = a5;\n }\n bE.drawImage(bc, bs, bq, bg - bs, be - bq, bs, bq, bg - bs, be - bq);\n }\n bE.restore();\n }\n } catch (bB) {\n q._$Rb(bB);\n }\n}\n;\nau.clip = function(aK, aJ, aV, aI, aM, aL, aU, aT, aQ, aP, aO, aN, aH, aW, aS, aR) {\n if (aV > 0.02) {\n au.expandClip(aK, aJ, aV, aI, aO, aN, aH, aW, aS, aR);\n } else {\n au.clipWithTransform(aK, null, aM, aL, aU, aT, aQ, aP);\n }\n}\n;\nau.expandClip = function(aV, bg, aK, a3, aJ, aI, be, ba, aZ, aX) {\n var aP = be - aJ;\n var aO = ba - aI;\n var bi = aZ - aJ;\n var bh = aX - aI;\n var bj = aP * bh - aO * bi > 0 ? aK : -aK;\n var aL = -aO;\n var aH = aP;\n var bc = aZ - be;\n var a8 = aX - ba;\n var a7 = -a8;\n var a6 = bc;\n var aQ = Math.sqrt(bc * bc + a8 * a8);\n var bf = -bh;\n var bb = bi;\n var a2 = Math.sqrt(bi * bi + bh * bh);\n var bd = aJ - bj * aL / a3;\n var a9 = aI - bj * aH / a3;\n var aY = be - bj * aL / a3;\n var aW = ba - bj * aH / a3;\n var a5 = be - bj * a7 / aQ;\n var a4 = ba - bj * a6 / aQ;\n var aS = aZ - bj * a7 / aQ;\n var aR = aX - bj * a6 / aQ;\n var aN = aJ + bj * bf / a2;\n var aM = aI + bj * bb / a2;\n var a1 = aZ + bj * bf / a2;\n var a0 = aX + bj * bb / a2;\n var aU = au._$50;\n var aT = bg._$P2(aU);\n if (aT == null) {\n return false;\n }\n au.clipWithTransform(aV, aU, bd, a9, aY, aW, a5, a4, aS, aR, a1, a0, aN, aM);\n return true;\n}\n;\nau.clipWithTransform = function(aH, aI, aS, aN, aQ, aK, aP, aJ) {\n if (arguments.length < (1 + 3 * 2)) {\n q._$li(\"err : @LDGL.clip()\");\n return;\n }\n if (!(arguments[1]instanceof am)) {\n q._$li(\"err : a[0] is _$6 LDTransform @LDGL.clip()\");\n return;\n }\n var aM = au._$B;\n var aO = aI;\n var aR = arguments;\n aH.beginPath();\n if (aO) {\n aO._$PS(aR[2], aR[3], aM);\n aH.moveTo(aM[0], aM[1]);\n for (var aL = 4; aL < aR.length; aL += 2) {\n aO._$PS(aR[aL], aR[aL + 1], aM);\n aH.lineTo(aM[0], aM[1]);\n }\n } else {\n aH.moveTo(aR[2], aR[3]);\n for (var aL = 4; aL < aR.length; aL += 2) {\n aH.lineTo(aR[aL], aR[aL + 1]);\n }\n }\n aH.clip();\n}\n;\nau.createCanvas = function(aH, aJ) {\n var aI = document.createElement(\"canvas\");\n aI.setAttribute(\"width\", aH);\n aI.setAttribute(\"height\", aJ);\n if (!aI) {\n q._$li(\"err : \" + aI);\n }\n return aI;\n}\n;\nau.dumpValues = function() {\n var aI = \"\";\n for (var aH = 0; aH < arguments.length; aH++) {\n aI += \"[\" + aH + \"]= \" + arguments[aH].toFixed(3) + \" , \";\n }\n console.log(aI);\n}\n;\nfunction f() {\n if (j) {\n return;\n }\n this._$TT = null;\n this._$LT = null;\n this._$FS = null;\n this._$wL = null;\n}\nf.prototype._$F0 = function(aH) {\n this._$TT = aH._$_T();\n this._$LT = aH._$_T();\n this._$FS = aH._$_T();\n this._$wL = aH._$nP();\n}\n;\nf.prototype.getMinValue = function() {\n return this._$TT;\n}\n;\nf.prototype.getMaxValue = function() {\n return this._$LT;\n}\n;\nf.prototype.getDefaultValue = function() {\n return this._$FS;\n}\n;\nf.prototype.getParamID = function() {\n return this._$wL;\n}\n;\nfunction B(aH) {\n if (j) {\n return;\n }\n this._$e0 = null;\n this._$IP = null;\n this._$JS = false;\n this._$AT = true;\n this._$e0 = aH;\n this.totalScale = 1;\n this._$7s = 1;\n this.totalOpacity = 1;\n}\nB.prototype._$yo = function() {\n return this._$AT && !this._$JS;\n}\n;\nB.prototype._$hS = function(aH) {\n this._$AT = aH;\n}\n;\nB.prototype._$GT = function() {\n return this._$e0;\n}\n;\nB.prototype._$l2 = function(aH) {\n this._$IP = aH;\n}\n;\nB.prototype.getPartsIndex = function() {\n return this._$IP;\n}\n;\nB.prototype._$x2 = function() {\n return this._$JS;\n}\n;\nB.prototype._$Ib = function(aH) {\n this._$JS = aH;\n}\n;\nB.prototype.getTotalScale = function() {\n return this.totalScale;\n}\n;\nB.prototype.setTotalScale_notForClient = function(aH) {\n this.totalScale = aH;\n}\n;\nB.prototype.getInterpolatedOpacity = function() {\n return this._$7s;\n}\n;\nB.prototype.setInterpolatedOpacity = function(aH) {\n this._$7s = aH;\n}\n;\nB.prototype.getTotalOpacity = function(aH) {\n return this.totalOpacity;\n}\n;\nB.prototype.setTotalOpacity = function(aH) {\n this.totalOpacity = aH;\n}\n;\nfunction Q() {}\nQ._$2s = \"2.1.00_1\";\nQ._$Kr = 201001000;\nQ._$sP = true;\nQ._$so = true;\nQ._$cb = false;\nQ._$3T = true;\nQ._$Ts = true;\nQ._$fb = true;\nQ._$ts = true;\nQ.L2D_DEFORMER_EXTEND = true;\nQ._$Wb = false;\nQ._$yr = false;\nQ._$Zs = false;\nQ.L2D_NO_ERROR = 0;\nQ._$i7 = 1000;\nQ._$9s = 1001;\nQ._$es = 1100;\nQ._$r7 = 2000;\nQ._$07 = 2001;\nQ._$b7 = 2002;\nQ._$H7 = 4000;\nQ.L2D_COLOR_BLEND_MODE_MULT = 0;\nQ.L2D_COLOR_BLEND_MODE_ADD = 1;\nQ.L2D_COLOR_BLEND_MODE_INTERPOLATE = 2;\nQ._$6b = true;\nQ._$cT = 0;\nQ.clippingMaskBufferSize = 256;\nQ.glContext = new Array();\nQ.frameBuffers = new Array();\nQ.fTexture = new Array();\nQ.IGNORE_CLIP = false;\nQ.IGNORE_EXPAND = false;\nQ.EXPAND_W = 2;\nQ.USE_ADJUST_TRANSLATION = true;\nQ.USE_CANVAS_TRANSFORM = true;\nQ.USE_CACHED_POLYGON_IMAGE = false;\nQ.DEBUG_DATA = {};\nQ.PROFILE_IOS_SPEED = {\n PROFILE_NAME: \"iOS Speed\",\n USE_ADJUST_TRANSLATION: true,\n USE_CACHED_POLYGON_IMAGE: true,\n EXPAND_W: 4\n};\nQ.PROFILE_IOS_QUALITY = {\n PROFILE_NAME: \"iOS HiQ\",\n USE_ADJUST_TRANSLATION: true,\n USE_CACHED_POLYGON_IMAGE: false,\n EXPAND_W: 2\n};\nQ.PROFILE_IOS_DEFAULT = Q.PROFILE_IOS_QUALITY;\nQ.PROFILE_ANDROID = {\n PROFILE_NAME: \"Android\",\n USE_ADJUST_TRANSLATION: false,\n USE_CACHED_POLYGON_IMAGE: false,\n EXPAND_W: 2\n};\nQ.PROFILE_DESKTOP = {\n PROFILE_NAME: \"Desktop\",\n USE_ADJUST_TRANSLATION: false,\n USE_CACHED_POLYGON_IMAGE: false,\n EXPAND_W: 2\n};\nQ.initProfile = function() {\n if (r.isIOS()) {\n Q.setupProfile(Q.PROFILE_IOS_DEFAULT);\n } else {\n if (r.isAndroid()) {\n Q.setupProfile(Q.PROFILE_ANDROID);\n } else {\n Q.setupProfile(Q.PROFILE_DESKTOP);\n }\n }\n}\n;\nQ.setupProfile = function(aI, aJ) {\n if (typeof aI == \"number\") {\n switch (aI) {\n case 9901:\n aI = Q.PROFILE_IOS_SPEED;\n break;\n case 9902:\n aI = Q.PROFILE_IOS_QUALITY;\n break;\n case 9903:\n aI = Q.PROFILE_IOS_DEFAULT;\n break;\n case 9904:\n aI = Q.PROFILE_ANDROID;\n break;\n case 9905:\n aI = Q.PROFILE_DESKTOP;\n break;\n default:\n alert(\"profile _$6 _$Ui : \" + aI);\n break;\n }\n }\n if (arguments.length < 2) {\n aJ = true;\n }\n if (aJ) {\n console.log(\"profile : \" + aI.PROFILE_NAME);\n }\n for (var aH in aI) {\n Q[aH] = aI[aH];\n if (aJ) {\n console.log(\" [\" + aH + \"] = \" + aI[aH]);\n }\n }\n}\n;\nQ.init = function() {\n if (Q._$6b) {\n console.log(\"Live2D %s\", Q._$2s);\n Q._$6b = false;\n var aH = false;\n aH = true;\n Q.initProfile();\n }\n}\n;\nQ.getVersionStr = function() {\n return Q._$2s;\n}\n;\nQ.getVersionNo = function() {\n return Q._$Kr;\n}\n;\nQ._$sT = function(aH) {\n Q._$cT = aH;\n}\n;\nQ.getError = function() {\n var aH = Q._$cT;\n Q._$cT = 0;\n return aH;\n}\n;\nQ.dispose = function() {\n Q.glContext = [];\n Q.frameBuffers = [];\n Q.fTexture = [];\n}\n;\nQ.setGL = function(aJ, aI) {\n var aH = aI || 0;\n Q.glContext[aH] = aJ;\n}\n;\nQ.getGL = function(aH) {\n return Q.glContext[aH];\n}\n;\nQ.setClippingMaskBufferSize = function(aH) {\n Q.clippingMaskBufferSize = aH;\n}\n;\nQ.getClippingMaskBufferSize = function() {\n return Q.clippingMaskBufferSize;\n}\n;\nQ.deleteBuffer = function(aI) {\n var aH = Q.getGL(aI);\n aH.deleteFramebuffer(Q.frameBuffers[aI].framebuffer);\n delete Q.frameBuffers[aI];\n delete Q.glContext[aI];\n}\n;\nfunction A() {}\nA._$r2 = function(aH) {\n if (aH < 0) {\n return 0;\n } else {\n if (aH > 1) {\n return 1;\n }\n }\n return (0.5 - 0.5 * Math.cos(aH * aC.PI_F));\n}\n;\nfunction J(aH) {\n if (j) {\n return;\n }\n this._$ib = aH;\n}\nJ._$fr = -1;\nJ.prototype.toString = function() {\n return this._$ib;\n}\n;\nfunction b() {\n if (j) {\n return;\n }\n a.prototype.constructor.call(this);\n this._$LP = -1;\n this._$d0 = 0;\n this._$Yo = 0;\n this._$JP = null;\n this._$5P = null;\n this._$BP = null;\n this._$Eo = null;\n this._$Qi = null;\n this._$6s = b._$ms;\n this.culling = true;\n this.gl_cacheImage = null;\n this.instanceNo = b._$42++;\n}\nb.prototype = new a();\nb._$42 = 0;\nb._$Os = 30;\nb._$ms = 0;\nb._$ns = 1;\nb._$_s = 2;\nb._$gT = new Array();\nb.prototype._$_S = function(aH) {\n this._$LP = aH;\n}\n;\nb.prototype.getTextureNo = function() {\n return this._$LP;\n}\n;\nb.prototype._$ZL = function() {\n return this._$Qi;\n}\n;\nb.prototype._$H2 = function() {\n return this._$JP;\n}\n;\nb.prototype.getNumPoints = function() {\n return this._$d0;\n}\n;\nb.prototype.getType = function() {\n return a._$wb;\n}\n;\nb.prototype._$B2 = function(aL, aH, aO) {\n var aM = aH;\n var aN = (aM._$hr != null) ? aM._$hr : aM._$Cr;\n var aK = aw._$do;\n switch (aK) {\n default:\n case aw._$Ms:\n throw new Error(\"_$L _$ro \");\n case aw._$Qs:\n for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) {\n var aI = aJ * aw._$No;\n aN[aI + 4] = aO;\n }\n break;\n }\n}\n;\nb.prototype._$zP = function() {\n this._$GS = new g();\n this._$GS._$zP();\n}\n;\nb.prototype._$F0 = function(aK) {\n a.prototype._$F0.call(this, aK);\n this._$LP = aK._$6L();\n this._$d0 = aK._$6L();\n this._$Yo = aK._$6L();\n var aH = aK._$nP();\n this._$BP = new Int16Array(this._$Yo * 3);\n for (var aJ = this._$Yo * 3 - 1; aJ >= 0; --aJ) {\n this._$BP[aJ] = aH[aJ];\n }\n this._$Eo = aK._$nP();\n this._$Qi = aK._$nP();\n if (aK.getFormatVersion() >= ay._$s7) {\n this._$JP = aK._$6L();\n if (this._$JP != 0) {\n if ((this._$JP & 1) != 0) {\n var aI = aK._$6L();\n if (this._$5P == null) {\n this._$5P = new Object();\n }\n this._$5P._$Hb = parseInt(aI);\n }\n if ((this._$JP & b._$Os) != 0) {\n this._$6s = (this._$JP & b._$Os) >> 1;\n } else {\n this._$6s = b._$ms;\n }\n if ((this._$JP & 32) != 0) {\n this.culling = false;\n }\n }\n } else {\n this._$JP = 0;\n }\n}\n;\nb.prototype.init = function(aL) {\n var aN = new ag(this);\n var aI = this._$d0 * aw._$No;\n var aH = this._$32();\n if (aN._$Cr != null) {\n aN._$Cr = null;\n }\n aN._$Cr = new Float32Array(aI);\n if (aN._$hr != null) {\n aN._$hr = null;\n }\n aN._$hr = aH ? new Float32Array(aI) : null;\n var aM = aw._$do;\n switch (aM) {\n default:\n case aw._$Ms:\n if (aw._$Ls) {\n for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) {\n var aO = aJ << 1;\n this._$Qi[aO + 1] = 1 - this._$Qi[aO + 1];\n }\n }\n break;\n case aw._$Qs:\n for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) {\n var aO = aJ << 1;\n var aK = aJ * aw._$No;\n var aQ = this._$Qi[aO];\n var aP = this._$Qi[aO + 1];\n aN._$Cr[aK] = aQ;\n aN._$Cr[aK + 1] = aP;\n aN._$Cr[aK + 4] = 0;\n if (aH) {\n aN._$hr[aK] = aQ;\n aN._$hr[aK + 1] = aP;\n aN._$hr[aK + 4] = 0;\n }\n }\n break;\n }\n return aN;\n}\n;\nb.prototype._$Nr = function(aJ, aH) {\n var aK = aH;\n if (!((this == aK._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n if (!this._$GS._$Ur(aJ)) {\n return;\n }\n a.prototype._$Nr.call(this, aJ, aK);\n if (aK._$IS[0]) {\n return;\n }\n var aI = b._$gT;\n aI[0] = false;\n aG._$Vr(aJ, this._$GS, aI, this._$d0, this._$Eo, aK._$Cr, aw._$i2, aw._$No);\n}\n;\nb.prototype._$2b = function(aK, aI) {\n try {\n if (!((this == aI._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n var aL = false;\n if (aI._$IS[0]) {\n aL = true;\n }\n var aM = aI;\n if (!aL) {\n a.prototype._$2b.call(this, aK);\n if (this._$32()) {\n var aH = this.getTargetBaseDataID();\n if (aM._$8r == a._$ur) {\n aM._$8r = aK.getBaseDataIndex(aH);\n }\n if (aM._$8r < 0) {\n if (Q._$so) {\n q._$li(\"_$L _$0P _$G :: %s\", aH);\n }\n } else {\n var aO = aK.getBaseData(aM._$8r);\n var aJ = aK._$q2(aM._$8r);\n if (aO != null && !aJ._$x2()) {\n aO._$nb(aK, aJ, aM._$Cr, aM._$hr, this._$d0, aw._$i2, aw._$No);\n aM._$AT = true;\n } else {\n aM._$AT = false;\n }\n aM.baseOpacity = aJ.getTotalOpacity();\n }\n }\n }\n } catch (aN) {\n throw aN;\n }\n}\n;\nb.prototype.draw = function(aN, aK, aI) {\n if (!((this == aI._$GT()))) {\n console.log(\"### assert!! ### \");\n }\n if (aI._$IS[0]) {\n return;\n }\n var aL = aI;\n var aJ = this._$LP;\n if (aJ < 0) {\n aJ = 1;\n }\n var aH = this.getOpacity(aK, aL) * aI._$VS * aI.baseOpacity;\n var aM = (aL._$hr != null) ? aL._$hr : aL._$Cr;\n aN.setClipBufPre_clipContextForDraw(aI.clipBufPre_clipContext);\n aN._$WP(this.culling);\n aN._$Uo(aJ, 3 * this._$Yo, this._$BP, aM, this._$Qi, aH, this._$6s, aL);\n}\n;\nb.prototype.dump = function() {\n console.log(\" _$yi( %d ) , _$d0( %d ) , _$Yo( %d ) \\n\", this._$LP, this._$d0, this._$Yo);\n console.log(\" _$Oi _$di = { \");\n for (var aJ = 0; aJ < this._$BP.length; aJ++) {\n console.log(\"%5d ,\", this._$BP[aJ]);\n }\n console.log(\"\\n _$5i _$30\");\n for (var aJ = 0; aJ < this._$Eo.length; aJ++) {\n console.log(\"\\n _$30[%d] = \", aJ);\n var aH = this._$Eo[aJ];\n for (var aI = 0; aI < aH.length; aI++) {\n console.log(\"%6.2f, \", aH[aI]);\n }\n }\n console.log(\"\\n\");\n}\n;\nb.prototype._$72 = function(aH) {\n if (this._$5P == null) {\n return null;\n }\n return this._$5P[aH];\n}\n;\nb.prototype.getIndexArray = function() {\n return this._$BP;\n}\n;\nfunction ag(aH) {\n aB.prototype.constructor.call(this, aH);\n this._$8r = a._$ur;\n this._$Cr = null;\n this._$hr = null;\n}\nag.prototype = new aB();\nag.prototype.getTransformedPoints = function() {\n return (this._$hr != null) ? this._$hr : this._$Cr;\n}\n;\nfunction k() {\n if (j) {\n return;\n }\n this.x = null;\n this.y = null;\n}\nk.prototype._$HT = function(aH) {\n this.x = aH.x;\n this.y = aH.y;\n}\n;\nk.prototype._$HT = function(aH, aI) {\n this.x = aH;\n this.y = aI;\n}\n;\nfunction l(aH) {\n if (j) {\n return;\n }\n aa.prototype.constructor.call(this);\n this.drawParamWebGL = new C(aH);\n this.drawParamWebGL.setGL(Q.getGL(aH));\n}\nl.prototype = new aa();\nl.loadModel = function(aI) {\n var aH = new l();\n aa._$62(aH, aI);\n return aH;\n}\n;\nl.loadModel = function(aI, aK) {\n var aJ = aK || 0;\n var aH = new l(aJ);\n aa._$62(aH, aI);\n return aH;\n}\n;\nl._$to = function() {\n var aH = new l();\n return aH;\n}\n;\nl._$er = function(aM) {\n var aJ = new _$5(\"../_$_r/_$t0/_$Ri/_$_P._$d\");\n if (aJ.exists() == false) {\n throw new _$ls(\"_$t0 _$_ _$6 _$Ui :: \" + aJ._$PL());\n }\n var aH = [\"../_$_r/_$t0/_$Ri/_$_P.512/_$CP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$vP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$EP._$1\", \"../_$_r/_$t0/_$Ri/_$_P.512/_$pP._$1\"];\n var aK = l.loadModel(aJ._$3b());\n for (var aI = 0; aI < aH.length; aI++) {\n var aL = new _$5(aH[aI]);\n if (aL.exists() == false) {\n throw new _$ls(\"_$t0 _$_ _$6 _$Ui :: \" + aL._$PL());\n }\n aK.setTexture(aI, _$nL._$_o(aM, aL._$3b()));\n }\n return aK;\n}\n;\nl.prototype.setGL = function(aH) {\n Q.setGL(aH);\n}\n;\nl.prototype.setTransform = function(aH) {\n this.drawParamWebGL.setTransform(aH);\n}\n;\nl.prototype.update = function() {\n this._$5S.update();\n this._$5S.preDraw(this.drawParamWebGL);\n}\n;\nl.prototype.draw = function() {\n this._$5S.draw(this.drawParamWebGL);\n}\n;\nl.prototype._$K2 = function() {\n this.drawParamWebGL._$K2();\n}\n;\nl.prototype.setTexture = function(aI, aH) {\n if (this.drawParamWebGL == null) {\n q._$li(\"_$Yi for QT _$ki / _$XS() is _$6 _$ui!!\");\n }\n this.drawParamWebGL.setTexture(aI, aH);\n}\n;\nl.prototype.setTexture = function(aI, aH) {\n if (this.drawParamWebGL == null) {\n q._$li(\"_$Yi for QT _$ki / _$XS() is _$6 _$ui!!\");\n }\n this.drawParamWebGL.setTexture(aI, aH);\n}\n;\nl.prototype._$Rs = function() {\n return this.drawParamWebGL._$Rs();\n}\n;\nl.prototype._$Ds = function(aH) {\n this.drawParamWebGL._$Ds(aH);\n}\n;\nl.prototype.getDrawParam = function() {\n return this.drawParamWebGL;\n}\n;\nl.prototype.setMatrix = function(aH) {\n this.drawParamWebGL.setMatrix(aH);\n}\n;\nl.prototype.setPremultipliedAlpha = function(aH) {\n this.drawParamWebGL.setPremultipliedAlpha(aH);\n}\n;\nl.prototype.isPremultipliedAlpha = function() {\n return this.drawParamWebGL.isPremultipliedAlpha();\n}\n;\nl.prototype.setAnisotropy = function(aH) {\n this.drawParamWebGL.setAnisotropy(aH);\n}\n;\nl.prototype.getAnisotropy = function() {\n return this.drawParamWebGL.getAnisotropy();\n}\n;\nfunction V() {\n if (j) {\n return;\n }\n this.motions = null;\n this._$eb = false;\n this.motions = new Array();\n}\nV.prototype._$tb = function() {\n return this.motions;\n}\n;\nV.prototype.startMotion = function(aJ, aI) {\n var aM = null;\n var aL = null;\n var aH = this.motions.length;\n for (var aK = 0; aK < aH; ++aK) {\n aL = this.motions[aK];\n if (aL == null) {\n continue;\n }\n aL._$qS(aL._$w0.getFadeOut());\n if (this._$eb) {\n q._$Ji(\"MotionQueueManager[size:%2d]->startMotion() / start _$K _$3 (m%d)\\n\", aH, aL._$sr);\n }\n }\n if (aJ == null) {\n return -1;\n }\n aL = new M();\n aL._$w0 = aJ;\n this.motions.push(aL);\n var aN = aL._$sr;\n if (this._$eb) {\n q._$Ji(\"MotionQueueManager[size:%2d]->startMotion() / new _$w0 (m%d)\\n\", aH, aN);\n }\n return aN;\n}\n;\nV.prototype.updateParam = function(aJ) {\n try {\n var aI = false;\n for (var aK = 0; aK < this.motions.length; aK++) {\n var aL = this.motions[aK];\n if (aL == null) {\n this.motions.splice(aK, 1);\n aK--;\n continue;\n }\n var aH = aL._$w0;\n if (aH == null) {\n this.motions = this.motions.splice(aK, 1);\n aK--;\n continue;\n }\n aH.updateParam(aJ, aL);\n aI = true;\n if (aL.isFinished()) {\n if (this._$eb) {\n q._$Ji(\"MotionQueueManager[size:%2d]->updateParam() / _$T0 _$w0 (m%d)\\n\", this.motions.length - 1, aL._$sr);\n }\n this.motions.splice(aK, 1);\n aK--;\n } else {}\n }\n return aI;\n } catch (aM) {\n q._$li(aM);\n return true;\n }\n}\n;\nV.prototype.isFinished = function(aK) {\n if (arguments.length >= 1) {\n for (var aI = 0; aI < this.motions.length; aI++) {\n var aJ = this.motions[aI];\n if (aJ == null) {\n continue;\n }\n if (aJ._$sr == aK && !aJ.isFinished()) {\n return false;\n }\n }\n return true;\n } else {\n for (var aI = 0; aI < this.motions.length; aI++) {\n var aJ = this.motions[aI];\n if (aJ == null) {\n this.motions.splice(aI, 1);\n aI--;\n continue;\n }\n var aH = aJ._$w0;\n if (aH == null) {\n this.motions.splice(aI, 1);\n aI--;\n continue;\n }\n if (!aJ.isFinished()) {\n return false;\n }\n }\n return true;\n }\n}\n;\nV.prototype.stopAllMotions = function() {\n for (var aI = 0; aI < this.motions.length; aI++) {\n var aJ = this.motions[aI];\n if (aJ == null) {\n this.motions.splice(aI, 1);\n aI--;\n continue;\n }\n var aH = aJ._$w0;\n if (aH == null) {\n this.motions.splice(aI, 1);\n aI--;\n continue;\n }\n if (true) {\n this.motions.splice(aI, 1);\n aI--;\n }\n }\n}\n;\nV.prototype._$Zr = function(aH) {\n this._$eb = aH;\n}\n;\nV.prototype._$e = function() {\n console.log(\"-- _$R --\\n\");\n for (var aH = 0; aH < this.motions.length; aH++) {\n var aI = this.motions[aH];\n var aJ = aI._$w0;\n console.log(\"MotionQueueEnt[%d] :: %s\\n\", this.motions.length, aJ.toString());\n }\n}\n;\nfunction M() {\n this._$w0 = null;\n this._$AT = true;\n this._$9L = false;\n this._$z2 = -1;\n this._$bs = -1;\n this._$Do = -1;\n this._$sr = null;\n this._$sr = M._$Gs++;\n}\nM._$Gs = 0;\nM.prototype.isFinished = function() {\n return this._$9L;\n}\n;\nM.prototype._$qS = function(aJ) {\n var aI = P.getUserTimeMSec();\n var aH = aI + aJ;\n if (this._$Do < 0 || aH < this._$Do) {\n this._$Do = aH;\n }\n}\n;\nM.prototype._$Bs = function() {\n return this._$sr;\n}\n;\nfunction am() {\n this.m = new Array(1,0,0,0,1,0,0,0,1);\n}\nam.prototype.setContext = function(aI) {\n var aH = this.m;\n aI.transform(aH[0], aH[1], aH[3], aH[4], aH[6], aH[7]);\n}\n;\nam.prototype.toString = function() {\n var aI = \"LDTransform { \";\n for (var aH = 0; aH < 9; aH++) {\n aI += this.m[aH].toFixed(2) + \" ,\";\n }\n aI += \" }\";\n return aI;\n}\n;\nam.prototype.identity = function() {\n var aH = this.m;\n aH[0] = aH[4] = aH[8] = 1;\n aH[1] = aH[2] = aH[3] = aH[5] = aH[6] = aH[7] = 0;\n}\n;\nam.prototype._$PS = function(aI, aK, aJ) {\n if (aJ == null) {\n aJ = new Array(0,0);\n }\n var aH = this.m;\n aJ[0] = aH[0] * aI + aH[3] * aK + aH[6];\n aJ[1] = aH[1] * aI + aH[4] * aK + aH[7];\n return aJ;\n}\n;\nam.prototype._$P2 = function(aK) {\n if (!aK) {\n aK = new am();\n }\n var aI = this.m;\n var aT = aI[0];\n var aS = aI[1];\n var aR = aI[2];\n var aQ = aI[3];\n var aP = aI[4];\n var aO = aI[5];\n var aN = aI[6];\n var aM = aI[7];\n var aL = aI[8];\n var aJ = aT * aP * aL + aS * aO * aN + aR * aQ * aM - aT * aO * aM - aR * aP * aN - aS * aQ * aL;\n if (aJ == 0) {\n return null;\n } else {\n var aH = 1 / aJ;\n aK.m[0] = aH * (aP * aL - aM * aO);\n aK.m[1] = aH * (aM * aR - aS * aL);\n aK.m[2] = aH * (aS * aO - aP * aR);\n aK.m[3] = aH * (aN * aO - aQ * aL);\n aK.m[4] = aH * (aT * aL - aN * aR);\n aK.m[5] = aH * (aQ * aR - aT * aO);\n aK.m[6] = aH * (aQ * aM - aN * aP);\n aK.m[7] = aH * (aN * aS - aT * aM);\n aK.m[8] = aH * (aT * aP - aQ * aS);\n return aK;\n }\n}\n;\nam.prototype.transform = function(aI, aK, aJ) {\n if (aJ == null) {\n aJ = new Array(0,0);\n }\n var aH = this.m;\n aJ[0] = aH[0] * aI + aH[3] * aK + aH[6];\n aJ[1] = aH[1] * aI + aH[4] * aK + aH[7];\n return aJ;\n}\n;\nam.prototype.translate = function(aI, aJ) {\n var aH = this.m;\n aH[6] = aH[0] * aI + aH[3] * aJ + aH[6];\n aH[7] = aH[1] * aI + aH[4] * aJ + aH[7];\n aH[8] = aH[2] * aI + aH[5] * aJ + aH[8];\n}\n;\nam.prototype.scale = function(aJ, aI) {\n var aH = this.m;\n aH[0] *= aJ;\n aH[1] *= aJ;\n aH[2] *= aJ;\n aH[3] *= aI;\n aH[4] *= aI;\n aH[5] *= aI;\n}\n;\nam.prototype.shear = function(aM, aL) {\n var aH = this.m;\n var aK = aH[0] + aH[3] * aL;\n var aJ = aH[1] + aH[4] * aL;\n var aI = aH[2] + aH[5] * aL;\n aH[3] = aH[0] * aM + aH[3];\n aH[4] = aH[1] * aM + aH[4];\n aH[5] = aH[2] * aM + aH[5];\n aH[0] = aK;\n aH[1] = aJ;\n aH[2] = aI;\n}\n;\nam.prototype.rotate = function(aM) {\n var aH = this.m;\n var aN = Math.cos(aM);\n var aL = Math.sin(aM);\n var aK = aH[0] * aN + aH[3] * aL;\n var aJ = aH[1] * aN + aH[4] * aL;\n var aI = aH[2] * aN + aH[5] * aL;\n aH[3] = -aH[0] * aL + aH[3] * aN;\n aH[4] = -aH[1] * aL + aH[4] * aN;\n aH[5] = -aH[2] * aL + aH[5] * aN;\n aH[0] = aK;\n aH[1] = aJ;\n aH[2] = aI;\n}\n;\nam.prototype.concatenate = function(aL) {\n var aO = this.m;\n var aM = aL.m;\n var aS = aO[0] * aM[0] + aO[3] * aM[1] + aO[6] * aM[2];\n var aR = aO[1] * aM[0] + aO[4] * aM[1] + aO[7] * aM[2];\n var aQ = aO[2] * aM[0] + aO[5] * aM[1] + aO[8] * aM[2];\n var aP = aO[0] * aM[3] + aO[3] * aM[4] + aO[6] * aM[5];\n var aN = aO[1] * aM[3] + aO[4] * aM[4] + aO[7] * aM[5];\n var aK = aO[2] * aM[3] + aO[5] * aM[4] + aO[8] * aM[5];\n var aJ = aO[0] * aM[6] + aO[3] * aM[7] + aO[6] * aM[8];\n var aI = aO[1] * aM[6] + aO[4] * aM[7] + aO[7] * aM[8];\n var aH = aO[2] * aM[6] + aO[5] * aM[7] + aO[8] * aM[8];\n m[0] = aS;\n m[1] = aR;\n m[2] = aQ;\n m[3] = aP;\n m[4] = aN;\n m[5] = aK;\n m[6] = aJ;\n m[7] = aI;\n m[8] = aH;\n}\n;\nfunction n(aH) {\n if (j) {\n return;\n }\n ak.prototype.constructor.call(this, aH);\n}\nn.prototype = new ak();\nn._$eT = null;\nn._$tP = new Object();\nn._$2o = function() {\n if (n._$eT == null) {\n n._$eT = n.getID(\"DST_BASE\");\n }\n return n._$eT;\n}\n;\nn._$27 = function() {\n n._$tP.clear();\n n._$eT = null;\n}\n;\nn.getID = function(aH) {\n var aI = n._$tP[aH];\n if (aI == null) {\n aI = new n(aH);\n n._$tP[aH] = aI;\n }\n return aI;\n}\n;\nn.prototype._$3s = function() {\n return new n();\n}\n;\nfunction C(aH) {\n if (j) {\n return;\n }\n ax.prototype.constructor.call(this);\n this.textures = new Array();\n this.transform = null;\n this.gl = null;\n this.glno = aH;\n this.firstDraw = true;\n this.anisotropyExt = null;\n this.maxAnisotropy = 0;\n this._$As = 32;\n this._$Gr = false;\n this._$NT = null;\n this._$vS = null;\n this._$no = null;\n this.vertShader = null;\n this.fragShader = null;\n this.vertShaderOff = null;\n this.fragShaderOff = null;\n}\nC.prototype = new ax();\nC._$9r = function(aH) {\n var aI = new Float32Array(aH);\n return aI;\n}\n;\nC._$vb = function(aH) {\n var aI = new Int16Array(aH);\n return aI;\n}\n;\nC._$cr = function(aI, aH) {\n if (aI == null || aI._$yL() < aH.length) {\n aI = C._$9r(aH.length * 2);\n aI.put(aH);\n aI._$oT(0);\n } else {\n aI.clear();\n aI.put(aH);\n aI._$oT(0);\n }\n return aI;\n}\n;\nC._$mb = function(aI, aH) {\n if (aI == null || aI._$yL() < aH.length) {\n aI = C._$vb(aH.length * 2);\n aI.put(aH);\n aI._$oT(0);\n } else {\n aI.clear();\n aI.put(aH);\n aI._$oT(0);\n }\n return aI;\n}\n;\nC._$Hs = function() {\n return this._$Gr;\n}\n;\nC._$as = function(aH) {\n this._$Gr = aH;\n}\n;\nC.prototype.getGL = function() {\n return this.gl;\n}\n;\nC.prototype.setGL = function(aH) {\n this.gl = aH;\n}\n;\nC.prototype.setTransform = function(aH) {\n this.transform = aH;\n}\n;\nC.prototype._$ZT = function() {\n var aH = this.gl;\n if (this.firstDraw) {\n this.initShader();\n this.firstDraw = false;\n this.anisotropyExt = aH.getExtension(\"EXT_texture_filter_anisotropic\") || aH.getExtension(\"WEBKIT_EXT_texture_filter_anisotropic\") || aH.getExtension(\"MOZ_EXT_texture_filter_anisotropic\");\n if (this.anisotropyExt) {\n this.maxAnisotropy = aH.getParameter(this.anisotropyExt.MAX_TEXTURE_MAX_ANISOTROPY_EXT);\n }\n }\n aH.disable(aH.SCISSOR_TEST);\n aH.disable(aH.STENCIL_TEST);\n aH.disable(aH.DEPTH_TEST);\n aH.frontFace(aH.CW);\n aH.enable(aH.BLEND);\n aH.colorMask(1, 1, 1, 1);\n aH.bindBuffer(aH.ARRAY_BUFFER, null);\n aH.bindBuffer(aH.ELEMENT_ARRAY_BUFFER, null);\n}\n;\nC.prototype._$Uo = function(aS, aT, aL, aU, aV, aN, aM, aO) {\n if (aN < 0.01 && this.clipBufPre_clipContextMask == null) {\n return;\n }\n var aH = aN > 0.9 ? Q.EXPAND_W : 0;\n var a0 = this.gl;\n if (this.gl == null) {\n throw new Error(\"gl is null\");\n }\n var a1 = false;\n var aQ = 1;\n var aP = 1;\n var a3 = 1;\n var aZ = 1;\n var aW = this._$C0 * aP * aN;\n var a2 = this._$tT * a3 * aN;\n var a5 = this._$WL * aZ * aN;\n var a7 = this._$lT * aN;\n if (this.clipBufPre_clipContextMask != null) {\n a0.frontFace(a0.CCW);\n a0.useProgram(this.shaderProgram);\n this._$vS = T(a0, this._$vS, aU);\n this._$no = L(a0, this._$no, aL);\n a0.enableVertexAttribArray(this.a_position_Loc);\n a0.vertexAttribPointer(this.a_position_Loc, 2, a0.FLOAT, false, 0, 0);\n this._$NT = T(a0, this._$NT, aV);\n a0.activeTexture(a0.TEXTURE1);\n a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]);\n a0.uniform1i(this.s_texture0_Loc, 1);\n a0.enableVertexAttribArray(this.a_texCoord_Loc);\n a0.vertexAttribPointer(this.a_texCoord_Loc, 2, a0.FLOAT, false, 0, 0);\n a0.uniformMatrix4fv(this.u_matrix_Loc, false, this.getClipBufPre_clipContextMask().matrixForMask);\n var aY = this.getClipBufPre_clipContextMask().layoutChannelNo;\n var a4 = this.getChannelFlagAsColor(aY);\n a0.uniform4f(this.u_channelFlag, a4.r, a4.g, a4.b, a4.a);\n var aI = this.getClipBufPre_clipContextMask().layoutBounds;\n a0.uniform4f(this.u_baseColor_Loc, aI.x * 2 - 1, aI.y * 2 - 1, aI._$EL() * 2 - 1, aI._$5T() * 2 - 1);\n a0.uniform1i(this.u_maskFlag_Loc, true);\n } else {\n a1 = this.getClipBufPre_clipContextDraw() != null;\n if (a1) {\n a0.useProgram(this.shaderProgramOff);\n this._$vS = T(a0, this._$vS, aU);\n this._$no = L(a0, this._$no, aL);\n a0.enableVertexAttribArray(this.a_position_Loc_Off);\n a0.vertexAttribPointer(this.a_position_Loc_Off, 2, a0.FLOAT, false, 0, 0);\n this._$NT = T(a0, this._$NT, aV);\n a0.activeTexture(a0.TEXTURE1);\n a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]);\n a0.uniform1i(this.s_texture0_Loc_Off, 1);\n a0.enableVertexAttribArray(this.a_texCoord_Loc_Off);\n a0.vertexAttribPointer(this.a_texCoord_Loc_Off, 2, a0.FLOAT, false, 0, 0);\n a0.uniformMatrix4fv(this.u_clipMatrix_Loc_Off, false, this.getClipBufPre_clipContextDraw().matrixForDraw);\n a0.uniformMatrix4fv(this.u_matrix_Loc_Off, false, this.matrix4x4);\n a0.activeTexture(a0.TEXTURE2);\n a0.bindTexture(a0.TEXTURE_2D, Q.fTexture[this.glno]);\n a0.uniform1i(this.s_texture1_Loc_Off, 2);\n var aY = this.getClipBufPre_clipContextDraw().layoutChannelNo;\n var a4 = this.getChannelFlagAsColor(aY);\n a0.uniform4f(this.u_channelFlag_Loc_Off, a4.r, a4.g, a4.b, a4.a);\n a0.uniform4f(this.u_baseColor_Loc_Off, aW, a2, a5, a7);\n } else {\n a0.useProgram(this.shaderProgram);\n this._$vS = T(a0, this._$vS, aU);\n this._$no = L(a0, this._$no, aL);\n a0.enableVertexAttribArray(this.a_position_Loc);\n a0.vertexAttribPointer(this.a_position_Loc, 2, a0.FLOAT, false, 0, 0);\n this._$NT = T(a0, this._$NT, aV);\n a0.activeTexture(a0.TEXTURE1);\n a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]);\n a0.uniform1i(this.s_texture0_Loc, 1);\n a0.enableVertexAttribArray(this.a_texCoord_Loc);\n a0.vertexAttribPointer(this.a_texCoord_Loc, 2, a0.FLOAT, false, 0, 0);\n a0.uniformMatrix4fv(this.u_matrix_Loc, false, this.matrix4x4);\n a0.uniform4f(this.u_baseColor_Loc, aW, a2, a5, a7);\n a0.uniform1i(this.u_maskFlag_Loc, false);\n }\n }\n if (this.culling) {\n this.gl.enable(a0.CULL_FACE);\n } else {\n this.gl.disable(a0.CULL_FACE);\n }\n this.gl.enable(a0.BLEND);\n var a6;\n var aX;\n var aR;\n var aK;\n if (this.clipBufPre_clipContextMask != null) {\n a6 = a0.ONE;\n aX = a0.ONE_MINUS_SRC_ALPHA;\n aR = a0.ONE;\n aK = a0.ONE_MINUS_SRC_ALPHA;\n } else {\n switch (aM) {\n case b._$ms:\n a6 = a0.ONE;\n aX = a0.ONE_MINUS_SRC_ALPHA;\n aR = a0.ONE;\n aK = a0.ONE_MINUS_SRC_ALPHA;\n break;\n case b._$ns:\n a6 = a0.ONE;\n aX = a0.ONE;\n aR = a0.ZERO;\n aK = a0.ONE;\n break;\n case b._$_s:\n a6 = a0.DST_COLOR;\n aX = a0.ONE_MINUS_SRC_ALPHA;\n aR = a0.ZERO;\n aK = a0.ONE;\n break;\n }\n }\n a0.blendEquationSeparate(a0.FUNC_ADD, a0.FUNC_ADD);\n a0.blendFuncSeparate(a6, aX, aR, aK);\n if (this.anisotropyExt) {\n a0.texParameteri(a0.TEXTURE_2D, this.anisotropyExt.TEXTURE_MAX_ANISOTROPY_EXT, this.maxAnisotropy);\n }\n var aJ = aL.length;\n a0.drawElements(a0.TRIANGLES, aJ, a0.UNSIGNED_SHORT, 0);\n a0.bindTexture(a0.TEXTURE_2D, null);\n}\n;\nfunction T(aJ, aH, aI) {\n if (aH == null) {\n aH = aJ.createBuffer();\n }\n aJ.bindBuffer(aJ.ARRAY_BUFFER, aH);\n aJ.bufferData(aJ.ARRAY_BUFFER, aI, aJ.DYNAMIC_DRAW);\n return aH;\n}\nfunction L(aJ, aH, aI) {\n if (aH == null) {\n aH = aJ.createBuffer();\n }\n aJ.bindBuffer(aJ.ELEMENT_ARRAY_BUFFER, aH);\n aJ.bufferData(aJ.ELEMENT_ARRAY_BUFFER, aI, aJ.DYNAMIC_DRAW);\n return aH;\n}\nC.prototype._$Rs = function() {\n throw new Error(\"_$Rs\");\n}\n;\nC.prototype._$Ds = function(aH) {\n throw new Error(\"_$Ds\");\n}\n;\nC.prototype._$K2 = function() {\n for (var aH = 0; aH < this.textures.length; aH++) {\n var aI = this.textures[aH];\n if (aI != 0) {\n this.gl._$K2(1, this.textures, aH);\n this.textures[aH] = null;\n }\n }\n}\n;\nC.prototype.setTexture = function(aH, aI) {\n this.textures[aH] = aI;\n}\n;\nC.prototype.initShader = function() {\n var aH = this.gl;\n this.loadShaders2();\n this.a_position_Loc = aH.getAttribLocation(this.shaderProgram, \"a_position\");\n this.a_texCoord_Loc = aH.getAttribLocation(this.shaderProgram, \"a_texCoord\");\n this.u_matrix_Loc = aH.getUniformLocation(this.shaderProgram, \"u_mvpMatrix\");\n this.s_texture0_Loc = aH.getUniformLocation(this.shaderProgram, \"s_texture0\");\n this.u_channelFlag = aH.getUniformLocation(this.shaderProgram, \"u_channelFlag\");\n this.u_baseColor_Loc = aH.getUniformLocation(this.shaderProgram, \"u_baseColor\");\n this.u_maskFlag_Loc = aH.getUniformLocation(this.shaderProgram, \"u_maskFlag\");\n this.a_position_Loc_Off = aH.getAttribLocation(this.shaderProgramOff, \"a_position\");\n this.a_texCoord_Loc_Off = aH.getAttribLocation(this.shaderProgramOff, \"a_texCoord\");\n this.u_matrix_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"u_mvpMatrix\");\n this.u_clipMatrix_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"u_ClipMatrix\");\n this.s_texture0_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"s_texture0\");\n this.s_texture1_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"s_texture1\");\n this.u_channelFlag_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"u_channelFlag\");\n this.u_baseColor_Loc_Off = aH.getUniformLocation(this.shaderProgramOff, \"u_baseColor\");\n}\n;\nC.prototype.disposeShader = function() {\n var aH = this.gl;\n if (this.shaderProgram) {\n aH.deleteProgram(this.shaderProgram);\n this.shaderProgram = null;\n }\n if (this.shaderProgramOff) {\n aH.deleteProgram(this.shaderProgramOff);\n this.shaderProgramOff = null;\n }\n}\n;\nC.prototype.compileShader = function(aJ, aN) {\n var aM = this.gl;\n var aH;\n var aL = aN;\n var aK = aM.createShader(aJ);\n if (aK == null) {\n q._$Ji(\"_$L0 to create shader\");\n return null;\n }\n aM.shaderSource(aK, aL);\n aM.compileShader(aK);\n var aH = aM.getShaderParameter(aK, aM.COMPILE_STATUS);\n if (!aH) {\n var aI = aM.getShaderInfoLog(aK);\n q._$Ji(\"_$L0 to compile shader : \" + aI);\n aM.deleteShader(aK);\n return null;\n }\n return aK;\n}\n;\nC.prototype.loadShaders2 = function() {\n var aN = this.gl;\n this.shaderProgram = aN.createProgram();\n if (!this.shaderProgram) {\n return false;\n }\n this.shaderProgramOff = aN.createProgram();\n if (!this.shaderProgramOff) {\n return false;\n }\n var aK = \"attribute vec4 a_position;attribute vec2 a_texCoord;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform mat4 u_mvpMatrix;void main(){ gl_Position = u_mvpMatrix * a_position; v_ClipPos = u_mvpMatrix * a_position; v_texCoord = a_texCoord;}\";\n var aM = \"precision mediump float;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform sampler2D s_texture0;uniform vec4 u_channelFlag;uniform vec4 u_baseColor;uniform bool u_maskFlag;void main(){ vec4 smpColor; if(u_maskFlag){ float isInside = step(u_baseColor.x, v_ClipPos.x/v_ClipPos.w) * step(u_baseColor.y, v_ClipPos.y/v_ClipPos.w) * step(v_ClipPos.x/v_ClipPos.w, u_baseColor.z) * step(v_ClipPos.y/v_ClipPos.w, u_baseColor.w); smpColor = u_channelFlag * texture2D(s_texture0 , v_texCoord).a * isInside; }else{ smpColor = texture2D(s_texture0 , v_texCoord) * u_baseColor; } gl_FragColor = smpColor;}\";\n var aL = \"attribute vec4 a_position;attribute vec2 a_texCoord;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform mat4 u_mvpMatrix;uniform mat4 u_ClipMatrix;void main(){ gl_Position = u_mvpMatrix * a_position; v_ClipPos = u_ClipMatrix * a_position; v_texCoord = a_texCoord ;}\";\n var aJ = \"precision mediump float ;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform sampler2D s_texture0;uniform sampler2D s_texture1;uniform vec4 u_channelFlag;uniform vec4 u_baseColor ;void main(){ vec4 col_formask = texture2D(s_texture0, v_texCoord) * u_baseColor; vec4 clipMask = texture2D(s_texture1, v_ClipPos.xy / v_ClipPos.w) * u_channelFlag; float maskVal = clipMask.r + clipMask.g + clipMask.b + clipMask.a; col_formask = col_formask * maskVal; gl_FragColor = col_formask;}\";\n this.vertShader = this.compileShader(aN.VERTEX_SHADER, aK);\n if (!this.vertShader) {\n q._$Ji(\"Vertex shader compile _$li!\");\n return false;\n }\n this.vertShaderOff = this.compileShader(aN.VERTEX_SHADER, aL);\n if (!this.vertShaderOff) {\n q._$Ji(\"OffVertex shader compile _$li!\");\n return false;\n }\n this.fragShader = this.compileShader(aN.FRAGMENT_SHADER, aM);\n if (!this.fragShader) {\n q._$Ji(\"Fragment shader compile _$li!\");\n return false;\n }\n this.fragShaderOff = this.compileShader(aN.FRAGMENT_SHADER, aJ);\n if (!this.fragShaderOff) {\n q._$Ji(\"OffFragment shader compile _$li!\");\n return false;\n }\n aN.attachShader(this.shaderProgram, this.vertShader);\n aN.attachShader(this.shaderProgram, this.fragShader);\n aN.attachShader(this.shaderProgramOff, this.vertShaderOff);\n aN.attachShader(this.shaderProgramOff, this.fragShaderOff);\n aN.linkProgram(this.shaderProgram);\n aN.linkProgram(this.shaderProgramOff);\n var aH = aN.getProgramParameter(this.shaderProgram, aN.LINK_STATUS);\n if (!aH) {\n var aI = aN.getProgramInfoLog(this.shaderProgram);\n q._$Ji(\"_$L0 to link program: \" + aI);\n if (this.vertShader) {\n aN.deleteShader(this.vertShader);\n this.vertShader = 0;\n }\n if (this.fragShader) {\n aN.deleteShader(this.fragShader);\n this.fragShader = 0;\n }\n if (this.shaderProgram) {\n aN.deleteProgram(this.shaderProgram);\n this.shaderProgram = 0;\n }\n if (this.vertShaderOff) {\n aN.deleteShader(this.vertShaderOff);\n this.vertShaderOff = 0;\n }\n if (this.fragShaderOff) {\n aN.deleteShader(this.fragShaderOff);\n this.fragShaderOff = 0;\n }\n if (this.shaderProgramOff) {\n aN.deleteProgram(this.shaderProgramOff);\n this.shaderProgramOff = 0;\n }\n return false;\n }\n return true;\n}\n;\nC.prototype.createFramebuffer = function() {\n var aL = this.gl;\n var aK = Q.clippingMaskBufferSize;\n var aJ = aL.createFramebuffer();\n aL.bindFramebuffer(aL.FRAMEBUFFER, aJ);\n var aH = aL.createRenderbuffer();\n aL.bindRenderbuffer(aL.RENDERBUFFER, aH);\n aL.renderbufferStorage(aL.RENDERBUFFER, aL.RGBA4, aK, aK);\n aL.framebufferRenderbuffer(aL.FRAMEBUFFER, aL.COLOR_ATTACHMENT0, aL.RENDERBUFFER, aH);\n var aI = aL.createTexture();\n aL.bindTexture(aL.TEXTURE_2D, aI);\n aL.texImage2D(aL.TEXTURE_2D, 0, aL.RGBA, aK, aK, 0, aL.RGBA, aL.UNSIGNED_BYTE, null);\n aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_MIN_FILTER, aL.LINEAR);\n aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_MAG_FILTER, aL.LINEAR);\n aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_WRAP_S, aL.CLAMP_TO_EDGE);\n aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_WRAP_T, aL.CLAMP_TO_EDGE);\n aL.framebufferTexture2D(aL.FRAMEBUFFER, aL.COLOR_ATTACHMENT0, aL.TEXTURE_2D, aI, 0);\n aL.bindTexture(aL.TEXTURE_2D, null);\n aL.bindRenderbuffer(aL.RENDERBUFFER, null);\n aL.bindFramebuffer(aL.FRAMEBUFFER, null);\n Q.fTexture[this.glno] = aI;\n return {\n framebuffer: aJ,\n renderbuffer: aH,\n texture: Q.fTexture[this.glno]\n };\n}\n;\nfunction K(aH) {\n if (j) {\n return;\n }\n this._$P = new Int8Array(8);\n this._$R0 = new DataView(this._$P.buffer);\n this._$3i = new Int8Array(1000);\n this._$hL = 0;\n this._$v0 = 0;\n this._$S2 = 0;\n this._$Ko = new Array();\n this._$T = aH;\n this._$F = 0;\n}\nK.prototype._$fP = function() {\n var aK = this._$ST();\n var aJ, aI, aH;\n if ((aK & 128) == 0) {\n return aK & 255;\n } else {\n if (((aJ = this._$ST()) & 128) == 0) {\n return ((aK & 127) << 7) | (aJ & 127);\n } else {\n if (((aI = this._$ST()) & 128) == 0) {\n return ((aK & 127) << 14) | ((aJ & 127) << 7) | (aI & 255);\n } else {\n if (((aH = this._$ST()) & 128) == 0) {\n return ((aK & 127) << 21) | ((aJ & 127) << 14) | ((aI & 127) << 7) | (aH & 255);\n } else {\n throw new J(\"_$L _$0P _\");\n }\n }\n }\n }\n}\n;\nK.prototype.getFormatVersion = function() {\n return this._$S2;\n}\n;\nK.prototype._$gr = function(aH) {\n this._$S2 = aH;\n}\n;\nK.prototype._$3L = function() {\n return this._$fP();\n}\n;\nK.prototype._$mP = function() {\n this._$zT();\n this._$F += 8;\n return this._$T.getFloat64(this._$F - 8);\n}\n;\nK.prototype._$_T = function() {\n this._$zT();\n this._$F += 4;\n return this._$T.getFloat32(this._$F - 4);\n}\n;\nK.prototype._$6L = function() {\n this._$zT();\n this._$F += 4;\n return this._$T.getInt32(this._$F - 4);\n}\n;\nK.prototype._$ST = function() {\n this._$zT();\n return this._$T.getInt8(this._$F++);\n}\n;\nK.prototype._$9T = function() {\n this._$zT();\n this._$F += 2;\n return this._$T.getInt16(this._$F - 2);\n}\n;\nK.prototype._$2T = function() {\n this._$zT();\n this._$F += 8;\n throw new J(\"_$L _$q read long\");\n}\n;\nK.prototype._$po = function() {\n this._$zT();\n return this._$T.getInt8(this._$F++) != 0;\n}\n;\nvar O = true;\nK.prototype._$bT = function() {\n this._$zT();\n var aH = this._$3L();\n var aK = null;\n if (O) {\n try {\n var aM = new ArrayBuffer(aH * 2);\n aK = new Uint16Array(aM);\n for (var aJ = 0; aJ < aH; ++aJ) {\n aK[aJ] = this._$T.getUint8(this._$F++);\n }\n return String.fromCharCode.apply(null, aK);\n } catch (aL) {\n O = false;\n }\n }\n try {\n var aI = new Array();\n if (aK == null) {\n for (var aJ = 0; aJ < aH; ++aJ) {\n aI[aJ] = this._$T.getUint8(this._$F++);\n }\n } else {\n for (var aJ = 0; aJ < aH; ++aJ) {\n aI[aJ] = aK[aJ];\n }\n }\n return String.fromCharCode.apply(null, aI);\n } catch (aL) {\n console.log(\"read utf8 / _$rT _$L0 !! : \" + aL);\n }\n}\n;\nK.prototype._$cS = function() {\n this._$zT();\n var aI = this._$3L();\n var aH = new Int32Array(aI);\n for (var aJ = 0; aJ < aI; aJ++) {\n aH[aJ] = this._$T.getInt32(this._$F);\n this._$F += 4;\n }\n return aH;\n}\n;\nK.prototype._$Tb = function() {\n this._$zT();\n var aI = this._$3L();\n var aH = new Float32Array(aI);\n for (var aJ = 0; aJ < aI; aJ++) {\n aH[aJ] = this._$T.getFloat32(this._$F);\n this._$F += 4;\n }\n return aH;\n}\n;\nK.prototype._$5b = function() {\n this._$zT();\n var aI = this._$3L();\n var aH = new Float64Array(aI);\n for (var aJ = 0; aJ < aI; aJ++) {\n aH[aJ] = this._$T.getFloat64(this._$F);\n this._$F += 8;\n }\n return aH;\n}\n;\nK.prototype._$nP = function() {\n return this._$Jb(-1);\n}\n;\nK.prototype._$Jb = function(aJ) {\n this._$zT();\n if (aJ < 0) {\n aJ = this._$3L();\n }\n if (aJ == ay._$7P) {\n var aH = this._$6L();\n if (0 <= aH && aH < this._$Ko.length) {\n return this._$Ko[aH];\n } else {\n throw new J(\"_$sL _$4i @_$m0\");\n }\n } else {\n var aI = this._$4b(aJ);\n this._$Ko.push(aI);\n return aI;\n }\n}\n;\nK.prototype._$4b = function(aN) {\n if (aN == 0) {\n return null;\n }\n if (aN == 50) {\n var aK = this._$bT();\n var aI = Z.getID(aK);\n return aI;\n } else {\n if (aN == 51) {\n var aK = this._$bT();\n var aI = n.getID(aK);\n return aI;\n } else {\n if (aN == 134) {\n var aK = this._$bT();\n var aI = i.getID(aK);\n return aI;\n } else {\n if (aN == 60) {\n var aK = this._$bT();\n var aI = z.getID(aK);\n return aI;\n }\n }\n }\n }\n if (aN >= 48) {\n var aL = ay._$9o(aN);\n if (aL != null) {\n aL._$F0(this);\n return aL;\n } else {\n return null;\n }\n }\n switch (aN) {\n case 1:\n return this._$bT();\n case 10:\n var aM = this._$6L();\n return new I(aM,true);\n case 11:\n return new av(this._$mP(),this._$mP(),this._$mP(),this._$mP());\n case 12:\n return new av(this._$_T(),this._$_T(),this._$_T(),this._$_T());\n case 13:\n return new e(this._$mP(),this._$mP());\n case 14:\n return new e(this._$_T(),this._$_T());\n case 15:\n var aH = this._$3L();\n var aI = new Array(aH);\n for (var aJ = 0; aJ < aH; aJ++) {\n aI[aJ] = this._$nP();\n }\n return aI;\n case 17:\n var aI = new aD(this._$mP(),this._$mP(),this._$mP(),this._$mP(),this._$mP(),this._$mP());\n return aI;\n case 21:\n return new F(this._$6L(),this._$6L(),this._$6L(),this._$6L());\n case 22:\n return new k(this._$6L(),this._$6L());\n case 23:\n throw new Error(\"_$L _$ro \");\n case 16:\n case 25:\n return this._$cS();\n case 26:\n return this._$5b();\n case 27:\n return this._$Tb();\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n case 8:\n case 9:\n case 18:\n case 19:\n case 20:\n case 24:\n case 28:\n throw new J(\"_$6 _$q : _$nP() of 2-9 ,18,19,20,24,28 : \" + aN);\n default:\n throw new J(\"_$6 _$q : _$nP() NO _$i : \" + aN);\n }\n}\n;\nK.prototype._$8L = function() {\n if (this._$hL == 0) {\n this._$v0 = this._$ST();\n } else {\n if (this._$hL == 8) {\n this._$v0 = this._$ST();\n this._$hL = 0;\n }\n }\n return ((this._$v0 >> (7 - this._$hL++)) & 1) == 1;\n}\n;\nK.prototype._$zT = function() {\n if (this._$hL != 0) {\n this._$hL = 0;\n }\n}\n;\nfunction ai() {}\nai.prototype._$wP = function(aM, aI, aK) {\n for (var aL = 0; aL < aK; aL++) {\n for (var aH = 0; aH < aI; aH++) {\n var aJ = 2 * (aH + aL * aI);\n console.log(\"(% 7.3f , % 7.3f) , \", aM[aJ], aM[aJ + 1]);\n }\n console.log(\"\\n\");\n }\n console.log(\"\\n\");\n}\n;\nfunction aC() {}\naC._$2S = Math.PI / 180;\naC._$bS = (Math.PI / 180);\naC._$wS = 180 / Math.PI;\naC._$NS = (180 / Math.PI);\naC.PI_F = Math.PI;\naC._$kT = [0, 0.012368, 0.024734, 0.037097, 0.049454, 0.061803, 0.074143, 0.086471, 0.098786, 0.111087, 0.12337, 0.135634, 0.147877, 0.160098, 0.172295, 0.184465, 0.196606, 0.208718, 0.220798, 0.232844, 0.244854, 0.256827, 0.268761, 0.280654, 0.292503, 0.304308, 0.316066, 0.327776, 0.339436, 0.351044, 0.362598, 0.374097, 0.385538, 0.396921, 0.408243, 0.419502, 0.430697, 0.441826, 0.452888, 0.463881, 0.474802, 0.485651, 0.496425, 0.507124, 0.517745, 0.528287, 0.538748, 0.549126, 0.559421, 0.56963, 0.579752, 0.589785, 0.599728, 0.609579, 0.619337, 0.629, 0.638567, 0.648036, 0.657406, 0.666676, 0.675843, 0.684908, 0.693867, 0.70272, 0.711466, 0.720103, 0.72863, 0.737045, 0.745348, 0.753536, 0.76161, 0.769566, 0.777405, 0.785125, 0.792725, 0.800204, 0.807561, 0.814793, 0.821901, 0.828884, 0.835739, 0.842467, 0.849066, 0.855535, 0.861873, 0.868079, 0.874153, 0.880093, 0.885898, 0.891567, 0.897101, 0.902497, 0.907754, 0.912873, 0.917853, 0.922692, 0.92739, 0.931946, 0.936359, 0.940629, 0.944755, 0.948737, 0.952574, 0.956265, 0.959809, 0.963207, 0.966457, 0.96956, 0.972514, 0.97532, 0.977976, 0.980482, 0.982839, 0.985045, 0.987101, 0.989006, 0.990759, 0.992361, 0.993811, 0.995109, 0.996254, 0.997248, 0.998088, 0.998776, 0.999312, 0.999694, 0.999924, 1];\naC._$92 = function(aK, aI) {\n var aH = Math.atan2(aK[1], aK[0]);\n var aJ = Math.atan2(aI[1], aI[0]);\n return aC._$tS(aH, aJ);\n}\n;\naC._$tS = function(aI, aH) {\n var aJ = aI - aH;\n while (aJ < -Math.PI) {\n aJ += 2 * Math.PI;\n }\n while (aJ > Math.PI) {\n aJ -= 2 * Math.PI;\n }\n return aJ;\n}\n;\naC._$9 = function(aH) {\n return Math.sin(aH);\n}\n;\naC.fcos = function(aH) {\n return Math.cos(aH);\n}\n;\nfunction aB(aH) {\n if (j) {\n return;\n }\n this._$e0 = null;\n this._$IP = null;\n this._$Us = null;\n this._$7s = null;\n this._$IS = [false];\n this._$VS = null;\n this._$AT = true;\n this.baseOpacity = 1;\n this.clipBufPre_clipContext = null;\n this._$e0 = aH;\n}\naB.prototype._$u2 = function() {\n return this._$IS[0];\n}\n;\naB.prototype._$yo = function() {\n return this._$AT && !this._$IS[0];\n}\n;\naB.prototype._$GT = function() {\n return this._$e0;\n}\n;\nfunction r() {}\nr._$W2 = 0;\nr.SYSTEM_INFO = null;\nr.USER_AGENT = navigator.userAgent;\nr.isIPhone = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n return r.SYSTEM_INFO._isIPhone;\n}\n;\nr.isIOS = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n return r.SYSTEM_INFO._isIPhone || r.SYSTEM_INFO._isIPad;\n}\n;\nr.isAndroid = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n return r.SYSTEM_INFO._isAndroid;\n}\n;\nr.getOSVersion = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n return r.SYSTEM_INFO.version;\n}\n;\nr.getOS = function() {\n if (!r.SYSTEM_INFO) {\n r.setup();\n }\n if (r.SYSTEM_INFO._isIPhone || r.SYSTEM_INFO._isIPad) {\n return \"iOS\";\n }\n if (r.SYSTEM_INFO._isAndroid) {\n return \"Android\";\n } else {\n return \"_$Q0 OS\";\n }\n}\n;\nr.setup = function() {\n var aK = r.USER_AGENT;\n function aI(aO, aR) {\n var aN = aO.substring(aR).split(/[ _,;\\.]/);\n var aQ = 0;\n for (var aM = 0; aM <= 2; aM++) {\n if (isNaN(aN[aM])) {\n break;\n }\n var aP = parseInt(aN[aM]);\n if (aP < 0 || aP > 999) {\n q._$li(\"err : \" + aP + \" @UtHtml5.setup()\");\n aQ = 0;\n break;\n }\n aQ += aP * Math.pow(1000, (2 - aM));\n }\n return aQ;\n }\n var aL;\n var aH;\n var aJ = r.SYSTEM_INFO = {\n userAgent: aK\n };\n if ((aL = aK.indexOf(\"iPhone OS \")) >= 0) {\n aJ.os = \"iPhone\";\n aJ._isIPhone = true;\n aJ.version = aI(aK, aL + \"iPhone OS \".length);\n } else {\n if ((aL = aK.indexOf(\"iPad\")) >= 0) {\n aL = aK.indexOf(\"CPU OS\");\n if (aL < 0) {\n q._$li(\" err : \" + aK + \" @UtHtml5.setup()\");\n return;\n }\n aJ.os = \"iPad\";\n aJ._isIPad = true;\n aJ.version = aI(aK, aL + \"CPU OS \".length);\n } else {\n if ((aL = aK.indexOf(\"Android\")) >= 0) {\n aJ.os = \"Android\";\n aJ._isAndroid = true;\n aJ.version = aI(aK, aL + \"Android \".length);\n } else {\n aJ.os = \"-\";\n aJ.version = -1;\n }\n }\n }\n}\n;\nQ.init();\nvar j = false;\n\nexport{\n P as UtSystem,\n q as UtDebug,\n am as LDTransform,\n au as LDGL,\n Q as Live2D,\n l as Live2DModelWebGL,\n v as Live2DModelJS,\n ao as Live2DMotion,\n V as MotionQueueManager,\n u as PhysicsHair,\n ah as AMotion,\n i as PartsDataID,\n Z as DrawDataID,\n n as BaseDataID,\n z as ParamID,\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/lib/live2d.core.js","// Provide a \"System\" global.\r\nmodule.exports = {\r\n\t// Make sure import is only used as \"System.import\"\r\n\timport: function() {\r\n\t\tthrow new Error(\"System.import cannot be used indirectly\");\r\n\t}\r\n};\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// (webpack)/buildin/system.js\n// module id = 134\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/lib/clL2D.min.js b/lib/clL2D.min.js index 007e13d..2f91651 100644 --- a/lib/clL2D.min.js +++ b/lib/clL2D.min.js @@ -1,3 +1,3 @@ -/*! https://github.com/xiazeyu/live2d-widget.js built@2018-1-12 22:17:33 */ -var initL2Dwidget=function(t){var n=window.webpackJsonpinitL2Dwidget;window.webpackJsonpinitL2Dwidget=function(e,o,i){for(var c,u,a=0,f=[];a0?r:e)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(63),o=e(21);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(28)("keys"),o=e(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(12).f,o=e(8),i=e(0)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";var r=e(15);t.exports.f=function(t){return new function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=r(n),this.reject=r(e)}(t)}},function(t,n){t.exports=function(t,n){return t===n||t!=t&&n!=n}},function(t,n,e){var r=e(99);t.exports=function(t,n,e){"__proto__"==n&&r?r(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}},function(t,n,e){var r=e(1),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){"use strict";var r=e(32),o=e(13),i=e(5),c=e(3),u=e(8),a=e(9),f=e(59),s=e(24),l=e(66),p=e(0)("iterator"),v=!([].keys&&"next"in[].keys()),d="values",h=function(){return this};t.exports=function(t,n,e,y,b,w,x){f(e,n,y);var m,g,_,j=function(t){if(!v&&t in T)return T[t];switch(t){case"keys":case d:return function(){return new e(this,t)}}return function(){return new e(this,t)}},O=n+" Iterator",P=b==d,S=!1,T=t.prototype,k=T[p]||T["@@iterator"]||b&&T[b],L=!v&&k||j(b),M=b?P?j("entries"):L:void 0,A="Array"==n?T.entries||k:k;if(A&&(_=l(A.call(new t)))!==Object.prototype&&_.next&&(s(_,O,!0),r||u(_,p)||c(_,p,h)),P&&k&&k.name!==d&&(S=!0,L=function(){return k.call(this)}),r&&!x||!v&&!S&&T[p]||c(T,p,L),a[n]=L,a[O]=h,b)if(m={values:P?L:j(d),keys:w?L:j("keys"),entries:M},x)for(g in m)g in T||i(T,g,m[g]);else o(o.P+o.F*(v||S),n,m);return m}},function(t,n){t.exports=!1},function(t,n,e){var r=e(62),o=e(35);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(2),o=e(15),i=e(0)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c=e(14),u=e(78),a=e(36),f=e(19),s=e(1),l=s.process,p=s.setImmediate,v=s.clearImmediate,d=s.MessageChannel,h=s.Dispatch,y=0,b={},w="onreadystatechange",x=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},m=function(t){x.call(t.data)};p&&v||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return b[++y]=function(){u("function"==typeof t?t:Function(t),n)},r(y),y},v=function(t){delete b[t]},"process"==e(11)(l)?r=function(t){l.nextTick(c(x,t,1))}:h&&h.now?r=function(t){h.now(c(x,t,1))}:d?(i=(o=new d).port2,o.port1.onmessage=m,r=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",m,!1)):r=w in f("script")?function(t){a.appendChild(f("script"))[w]=function(){a.removeChild(this),x.call(t)}}:function(t){setTimeout(c(x,t,1),0)}),t.exports={set:p,clear:v}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(2),o=e(6),i=e(25);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n){t.exports=function(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}},function(t,n,e){var r=e(89),o=e(90),i=e(91);t.exports=function(t,n){return i(o(t,n,r),t+"")}},function(t,n,e){var r=e(93),o=e(44),i=e(101),c=e(103),u=e(10),a=e(50);t.exports=function t(n,e,f,s,l){n!==e&&i(e,function(i,a){if(u(i))l||(l=new r),c(n,e,a,f,t,s,l);else{var p=s?s(n[a],i,a+"",n,e,l):void 0;void 0===p&&(p=i),o(n,a,p)}},a)}},function(t,n,e){var r=e(27),o=e(26);t.exports=function(t,n,e){(void 0===e||o(t[n],e))&&(void 0!==e||n in t)||r(t,n,e)}},function(t,n,e){var r=e(106),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,n,e){var r=e(114)(Object.getPrototypeOf,Object);t.exports=r},function(t,n,e){var r=e(48),o=e(10),i="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",a="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var n=r(t);return n==c||n==u||n==i||n==a}},function(t,n){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,n){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,n){t.exports=function(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.config=n.configApplyer=void 0;var r,o=e(88),i=(r=o,r&&r.__esModule?r:{default:r});var c={},u={model:{jsonPath:"",scale:1,hHeadPos:.5,vHeadPos:.618,myDefine:[]},display:{AA:2,widght:150,height:300,position:"right",hOffset:0,vOffset:-20},mobile:{show:!0,scale:.5,motion:!0},name:{canvas:"live2dcanvas",div:"live2d-widget"},react:{opacityDefault:.7,opacityOnHover:.2,myFunc:function(t){console.log("(undefined) ┑( ̄Д  ̄)┍")}},dev:{log:!1,mouseLog:!1,mouseFunc:function(t,n,e,r){console.log("MouseFunc: "+t+","+n+"; "+e+", "+r)}}};n.configApplyer=function(t){n.config=c=(0,i.default)(t,u)},n.config=c},function(t,n,e){e(53),e(85),t.exports=e(86)},function(t,n,e){e(54),e(57),e(68),e(72),e(83),e(84),t.exports=e(4).Promise},function(t,n,e){"use strict";var r=e(17),o={};o[e(0)("toStringTag")]="z",o+""!="[object z]"&&e(5)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,n,e){t.exports=!e(7)&&!e(29)(function(){return 7!=Object.defineProperty(e(19)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(6);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){"use strict";var r=e(58)(!0);e(31)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){var r=e(20),o=e(21);t.exports=function(t){return function(n,e){var i,c,u=String(o(n)),a=r(e),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}}},function(t,n,e){"use strict";var r=e(60),o=e(30),i=e(24),c={};e(3)(c,e(0)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(2),o=e(61),i=e(35),c=e(23)("IE_PROTO"),u=function(){},a="prototype",f=function(){var t,n=e(19)("iframe"),r=i.length;for(n.style.display="none",e(36).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write(" +
src/_PlatformManager.jssrc/PlatformManager.js PlatformManager 100 %7/75868 byte2162018-01-06 16:17:20 (UTC)5857 byte2152018-01-07 13:10:33 (UTC)
src/_cDefine.jssrc/cDefine.js - 100 %1/1 1260 byte 372018-01-06 16:16:11 (UTC)2018-01-07 12:50:59 (UTC)
src/cLive2DApp.jscLive2DApp3 %1/3010074 byte3912018-01-07 13:11:12 (UTC)
src/_cManager.jssrc/cManager.js cManager 0 %0/82077 byte1002018-01-06 16:16:15 (UTC)2089 byte1042018-01-07 13:09:58 (UTC)
src/_cModel.jssrc/cModel.js cModel 0 %0/12 13191 byte 4522018-01-06 16:16:21 (UTC)
src/_utils/_MatrixStack.js-100 %7/72719 byte1362018-01-06 16:16:27 (UTC)
src/_utils/_ModelSettingJson.jsModelSettingJson100 %25/259747 byte3882018-01-06 16:16:29 (UTC)
src/cLive2DApp.jscLive2DApp5 %1/1910281 byte4042018-01-07 12:36:33 (UTC)2018-01-07 12:51:27 (UTC)
src/config/configMgr.js2018-01-07 12:35:44 (UTC)
src/lib/_Live2DFramework.js-src/lib/Live2DFramework.jsEYE_STATE +L2DBaseModel +L2DExpressionMotion +L2DExpressionParam +L2DEyeBlink +L2DMatrix44 +L2DModelMatrix +L2DMotionManager +L2DPartsParam +L2DPhysics +L2DPose +L2DTargetPoint +L2DViewMatrix +Live2DFramework 0 %1/10350942 byte50722 byte 13912018-01-06 16:17:02 (UTC)2018-01-07 12:59:05 (UTC)
src/lib/_Live2DFramework.official.js1588 2018-01-06 16:17:05 (UTC)
src/utils/MatrixStack.js-100 %7/72719 byte1362018-01-07 12:50:33 (UTC)
src/utils/ModelSettingJson.jsModelSettingJson100 %25/259747 byte3882018-01-07 12:50:40 (UTC)
src/wpPublicPath.js getCurrentPath