{
  "code": "import GameConfig from \"./GameConfig\";\r\nimport { GameVersion } from \"./Net/GameVersion\";\r\nimport { WXSdk } from \"./Net/WXSdk\";\r\nimport { ViewManager, ViewType } from \"./Net/ViewManager\";\r\nclass Main {\r\n    constructor() {\r\n        window['Config3D'] && (window['Config3D'][\"_config\"][\"_defaultPhysicsMemory\"] = 128);\r\n        window['Config3D'] && (window['Config3D'][\"_config\"][\"isAntialias\"] = true);\r\n        if (window[\"Laya3D\"])\r\n            Laya3D.init(GameConfig.width, GameConfig.height);\r\n        else\r\n            Laya.init(GameConfig.width, GameConfig.height, Laya[\"WebGL\"]);\r\n        Laya[\"Physics\"] && Laya[\"Physics\"].enable();\r\n        Laya[\"DebugPanel\"] && Laya[\"DebugPanel\"].enable();\r\n        Laya.stage.scaleMode = GameConfig.scaleMode;\r\n        Laya.stage.screenMode = GameConfig.screenMode;\r\n        Laya.stage.alignV = GameConfig.alignV;\r\n        Laya.stage.alignH = GameConfig.alignH;\r\n        Laya.URL.exportSceneToJson = GameConfig.exportSceneToJson;\r\n        if (GameConfig.debug || Laya.Utils.getQueryString(\"debug\") == \"true\")\r\n            Laya.enableDebugPanel();\r\n        if (GameConfig.physicsDebug && Laya[\"PhysicsDebugDraw\"])\r\n            Laya[\"PhysicsDebugDraw\"].enable();\r\n        if (GameConfig.stat)\r\n            Laya.Stat.show();\r\n        Laya.alertGlobalError = true;\r\n        GameVersion.isWx = Laya.Browser.onWeiXin;\r\n        if (GameVersion.isWx) {\r\n            WXSdk.init();\r\n        }\r\n        Laya.ResourceVersion.enable(\"version.json\", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION);\r\n        WXSdk.IsNeedUpdate();\r\n    }\r\n    onVersionLoaded() {\r\n        Laya.AtlasInfoManager.enable(\"fileconfig.json\", Laya.Handler.create(this, this.onConfigLoaded));\r\n        Laya.MouseManager.multiTouchEnabled = false;\r\n    }\r\n    onConfigLoaded() {\r\n        ViewManager.Instance.OpenView(ViewType.LoadView);\r\n        GameVersion.isX = Laya.Browser.clientHeight / Laya.Browser.clientWidth > 2;\r\n    }\r\n}\r\nnew Main();\r\n//# sourceMappingURL=Main.js.map",
  "references": [
    "C:/Users/admin/Desktop/？？/gungang/src/GameConfig.ts",
    "C:/Users/admin/Desktop/？？/gungang/src/Net/GameVersion.ts",
    "C:/Users/admin/Desktop/？？/gungang/src/Net/WXSdk.ts",
    "C:/Users/admin/Desktop/？？/gungang/src/Net/ViewManager.ts"
  ],
  "map": "{\"version\":3,\"file\":\"Main.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/Main.ts\"],\"names\":[],\"mappings\":\"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAQ,EAAC,WAAW,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC1D,MAAM,IAAI;IACT;QAEC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC,GAAG,GAAG,CAAC,CAAC;QACrF,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC;QAG5E,IAAI,MAAM,CAAC,QAAQ,CAAC;YAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;;YAClE,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5C,IAAI,CAAC,YAAY,CAAC,I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