@weadmin/weixin-minigame-helper-mcp 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +159 -159
- package/mcp/game-bundler-worker.js +1 -0
- package/mcp/index.js +7 -7
- package/media/wx-compat.js +1 -1
- package/package.json +2 -1
- package/templates/preview.html +13 -13
package/README.md
CHANGED
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
# @weadmin/weixin-minigame-helper-mcp
|
|
2
|
-
|
|
3
|
-
WeChat Mini Game MCP Server — Preview, debug, real-device test and publish WeChat Mini Games from any MCP-compatible AI coding assistant.
|
|
4
|
-
|
|
5
|
-
## Overview
|
|
6
|
-
|
|
7
|
-
This package provides a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that enables AI coding assistants (such as Claude, CodeBuddy, Cursor, etc.) to preview, hot-reload, real-device test, and publish WeChat Mini Games — all through natural language.
|
|
8
|
-
|
|
9
|
-
## Quick Start
|
|
10
|
-
|
|
11
|
-
### Use with npx (recommended)
|
|
12
|
-
|
|
13
|
-
No installation needed. Configure your MCP client with:
|
|
14
|
-
|
|
15
|
-
```json
|
|
16
|
-
{
|
|
17
|
-
"mcpServers": {
|
|
18
|
-
"weixin-minigame-helper": {
|
|
19
|
-
"command": "npx",
|
|
20
|
-
"args": [
|
|
21
|
-
"-y",
|
|
22
|
-
"--prefer-online",
|
|
23
|
-
"@weadmin/weixin-minigame-helper-mcp@latest"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Global install
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
npm install -g @weadmin/weixin-minigame-helper-mcp
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Then configure your MCP client with:
|
|
37
|
-
|
|
38
|
-
```json
|
|
39
|
-
{
|
|
40
|
-
"mcpServers": {
|
|
41
|
-
"weixin-minigame-helper": {
|
|
42
|
-
"command": "weixin-minigame-helper-mcp"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## MCP Tools
|
|
49
|
-
|
|
50
|
-
This server exposes the following tools:
|
|
51
|
-
|
|
52
|
-
### `run_game`
|
|
53
|
-
|
|
54
|
-
Start a WeChat Mini Game preview. Launches a local dev server and serves the game in a browser.
|
|
55
|
-
|
|
56
|
-
| Parameter | Type | Required | Description |
|
|
57
|
-
|---|---|---|---|
|
|
58
|
-
| `workspacePath` | string | ✅ | Absolute path to the Mini Game directory (must contain `game.js`) |
|
|
59
|
-
|
|
60
|
-
**Returns:** Local preview URL and port number.
|
|
61
|
-
|
|
62
|
-
### `reload_game`
|
|
63
|
-
|
|
64
|
-
Hot-reload the running game preview. If the game is not running yet, it starts automatically.
|
|
65
|
-
|
|
66
|
-
| Parameter | Type | Required | Description |
|
|
67
|
-
|---|---|---|---|
|
|
68
|
-
| `workspacePath` | string | Only if game not running | Absolute path to the Mini Game directory |
|
|
69
|
-
|
|
70
|
-
**Returns:** Confirmation with the preview URL.
|
|
71
|
-
|
|
72
|
-
### `get_logs`
|
|
73
|
-
|
|
74
|
-
Retrieve console log entries (log / warn / error) from the running game.
|
|
75
|
-
|
|
76
|
-
| Parameter | Type | Required | Description |
|
|
77
|
-
|---|---|---|---|
|
|
78
|
-
| `filter` | string | ❌ | JavaScript regex pattern to filter log messages (case-insensitive) |
|
|
79
|
-
|
|
80
|
-
**Returns:** Formatted log entries with timestamps and log levels.
|
|
81
|
-
|
|
82
|
-
### `real_device_preview`
|
|
83
|
-
|
|
84
|
-
Build and upload the game to WeChat servers for real device testing. Generates a QR code that can be scanned with WeChat.
|
|
85
|
-
|
|
86
|
-
| Parameter | Type | Required | Description |
|
|
87
|
-
|---|---|---|---|
|
|
88
|
-
| `workspacePath` | string | ✅ | Absolute path to the Mini Game directory |
|
|
89
|
-
|
|
90
|
-
**Requires:** AppID and upload private key (see [Configuration](#configuration)).
|
|
91
|
-
|
|
92
|
-
**Returns:** QR code displayed in the browser preview page.
|
|
93
|
-
|
|
94
|
-
### `publish`
|
|
95
|
-
|
|
96
|
-
Upload the game to the WeChat platform as a development version.
|
|
97
|
-
|
|
98
|
-
| Parameter | Type | Required | Description |
|
|
99
|
-
|---|---|---|---|
|
|
100
|
-
| `workspacePath` | string | ✅ | Absolute path to the Mini Game directory |
|
|
101
|
-
| `version` | string | ✅ | Version number (semver, e.g. `"1.0.0"`) |
|
|
102
|
-
| `desc` | string | ❌ | Optional release notes |
|
|
103
|
-
|
|
104
|
-
**Returns:** Upload confirmation with version and AppID info.
|
|
105
|
-
|
|
106
|
-
> **Note:** This uploads as a development version. To promote to experience/production, use the [WeChat MP Admin Console](https://mp.weixin.qq.com/).
|
|
107
|
-
|
|
108
|
-
## Configuration
|
|
109
|
-
|
|
110
|
-
For real-device preview and publish, you need to provide:
|
|
111
|
-
|
|
112
|
-
1. **AppID** — Your WeChat Mini Game AppID
|
|
113
|
-
2. **Upload Private Key** — The private key file for CI uploads (download from [WeChat MP Admin Console](https://mp.weixin.qq.com/) → Development → Development Settings → Mini Program Code Upload Key)
|
|
114
|
-
|
|
115
|
-
### Option 1: Browser UI
|
|
116
|
-
|
|
117
|
-
1. Start a preview with `run_game`
|
|
118
|
-
2. Click the ⚙️ settings button in the browser preview page
|
|
119
|
-
3. Fill in your AppID and upload the private key file
|
|
120
|
-
|
|
121
|
-
### Option 2: Environment Variables
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
export WECHAT_APPID="your_appid_here"
|
|
125
|
-
export WECHAT_PRIVATE_KEY_PATH="/path/to/private.key"
|
|
126
|
-
# Or provide the key content directly:
|
|
127
|
-
export WECHAT_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n..."
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
### IP Whitelist
|
|
131
|
-
|
|
132
|
-
WeChat requires your server's public IP to be whitelisted for CI uploads. Add your IP in [WeChat MP Admin Console](https://mp.weixin.qq.com/) → Development → Development Settings → IP Whitelist.
|
|
133
|
-
|
|
134
|
-
> **Tip:** The preview page displays your current public IP in the top-right corner for easy copying.
|
|
135
|
-
|
|
136
|
-
## How It Works
|
|
137
|
-
|
|
138
|
-
```
|
|
139
|
-
AI Assistant ←→ MCP Protocol (stdio) ←→ This Server ←→ Local Dev Server + miniprogram-ci
|
|
140
|
-
↓
|
|
141
|
-
Browser Preview
|
|
142
|
-
Real Device QR
|
|
143
|
-
WeChat Upload
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
1. The MCP server starts a local Express dev server for game preview
|
|
147
|
-
2. Game source files are compiled (ES modules → WeChat-compatible JS) and served in browser
|
|
148
|
-
3. File changes are watched via chokidar for hot-reload
|
|
149
|
-
4. Real-device preview and publish use [miniprogram-ci](https://www.npmjs.com/package/miniprogram-ci) for WeChat platform integration
|
|
150
|
-
|
|
151
|
-
## Requirements
|
|
152
|
-
|
|
153
|
-
- **Node.js** >= 16
|
|
154
|
-
- A WeChat Mini Game project with `game.js` entry file
|
|
155
|
-
- For real-device / publish: WeChat AppID + upload private key
|
|
156
|
-
|
|
157
|
-
## License
|
|
158
|
-
|
|
159
|
-
MIT
|
|
1
|
+
# @weadmin/weixin-minigame-helper-mcp
|
|
2
|
+
|
|
3
|
+
WeChat Mini Game MCP Server — Preview, debug, real-device test and publish WeChat Mini Games from any MCP-compatible AI coding assistant.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
This package provides a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that enables AI coding assistants (such as Claude, CodeBuddy, Cursor, etc.) to preview, hot-reload, real-device test, and publish WeChat Mini Games — all through natural language.
|
|
8
|
+
|
|
9
|
+
## Quick Start
|
|
10
|
+
|
|
11
|
+
### Use with npx (recommended)
|
|
12
|
+
|
|
13
|
+
No installation needed. Configure your MCP client with:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"mcpServers": {
|
|
18
|
+
"weixin-minigame-helper": {
|
|
19
|
+
"command": "npx",
|
|
20
|
+
"args": [
|
|
21
|
+
"-y",
|
|
22
|
+
"--prefer-online",
|
|
23
|
+
"@weadmin/weixin-minigame-helper-mcp@latest"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Global install
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm install -g @weadmin/weixin-minigame-helper-mcp
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Then configure your MCP client with:
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{
|
|
40
|
+
"mcpServers": {
|
|
41
|
+
"weixin-minigame-helper": {
|
|
42
|
+
"command": "weixin-minigame-helper-mcp"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## MCP Tools
|
|
49
|
+
|
|
50
|
+
This server exposes the following tools:
|
|
51
|
+
|
|
52
|
+
### `run_game`
|
|
53
|
+
|
|
54
|
+
Start a WeChat Mini Game preview. Launches a local dev server and serves the game in a browser.
|
|
55
|
+
|
|
56
|
+
| Parameter | Type | Required | Description |
|
|
57
|
+
|---|---|---|---|
|
|
58
|
+
| `workspacePath` | string | ✅ | Absolute path to the Mini Game directory (must contain `game.js`) |
|
|
59
|
+
|
|
60
|
+
**Returns:** Local preview URL and port number.
|
|
61
|
+
|
|
62
|
+
### `reload_game`
|
|
63
|
+
|
|
64
|
+
Hot-reload the running game preview. If the game is not running yet, it starts automatically.
|
|
65
|
+
|
|
66
|
+
| Parameter | Type | Required | Description |
|
|
67
|
+
|---|---|---|---|
|
|
68
|
+
| `workspacePath` | string | Only if game not running | Absolute path to the Mini Game directory |
|
|
69
|
+
|
|
70
|
+
**Returns:** Confirmation with the preview URL.
|
|
71
|
+
|
|
72
|
+
### `get_logs`
|
|
73
|
+
|
|
74
|
+
Retrieve console log entries (log / warn / error) from the running game.
|
|
75
|
+
|
|
76
|
+
| Parameter | Type | Required | Description |
|
|
77
|
+
|---|---|---|---|
|
|
78
|
+
| `filter` | string | ❌ | JavaScript regex pattern to filter log messages (case-insensitive) |
|
|
79
|
+
|
|
80
|
+
**Returns:** Formatted log entries with timestamps and log levels.
|
|
81
|
+
|
|
82
|
+
### `real_device_preview`
|
|
83
|
+
|
|
84
|
+
Build and upload the game to WeChat servers for real device testing. Generates a QR code that can be scanned with WeChat.
|
|
85
|
+
|
|
86
|
+
| Parameter | Type | Required | Description |
|
|
87
|
+
|---|---|---|---|
|
|
88
|
+
| `workspacePath` | string | ✅ | Absolute path to the Mini Game directory |
|
|
89
|
+
|
|
90
|
+
**Requires:** AppID and upload private key (see [Configuration](#configuration)).
|
|
91
|
+
|
|
92
|
+
**Returns:** QR code displayed in the browser preview page.
|
|
93
|
+
|
|
94
|
+
### `publish`
|
|
95
|
+
|
|
96
|
+
Upload the game to the WeChat platform as a development version.
|
|
97
|
+
|
|
98
|
+
| Parameter | Type | Required | Description |
|
|
99
|
+
|---|---|---|---|
|
|
100
|
+
| `workspacePath` | string | ✅ | Absolute path to the Mini Game directory |
|
|
101
|
+
| `version` | string | ✅ | Version number (semver, e.g. `"1.0.0"`) |
|
|
102
|
+
| `desc` | string | ❌ | Optional release notes |
|
|
103
|
+
|
|
104
|
+
**Returns:** Upload confirmation with version and AppID info.
|
|
105
|
+
|
|
106
|
+
> **Note:** This uploads as a development version. To promote to experience/production, use the [WeChat MP Admin Console](https://mp.weixin.qq.com/).
|
|
107
|
+
|
|
108
|
+
## Configuration
|
|
109
|
+
|
|
110
|
+
For real-device preview and publish, you need to provide:
|
|
111
|
+
|
|
112
|
+
1. **AppID** — Your WeChat Mini Game AppID
|
|
113
|
+
2. **Upload Private Key** — The private key file for CI uploads (download from [WeChat MP Admin Console](https://mp.weixin.qq.com/) → Development → Development Settings → Mini Program Code Upload Key)
|
|
114
|
+
|
|
115
|
+
### Option 1: Browser UI
|
|
116
|
+
|
|
117
|
+
1. Start a preview with `run_game`
|
|
118
|
+
2. Click the ⚙️ settings button in the browser preview page
|
|
119
|
+
3. Fill in your AppID and upload the private key file
|
|
120
|
+
|
|
121
|
+
### Option 2: Environment Variables
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
export WECHAT_APPID="your_appid_here"
|
|
125
|
+
export WECHAT_PRIVATE_KEY_PATH="/path/to/private.key"
|
|
126
|
+
# Or provide the key content directly:
|
|
127
|
+
export WECHAT_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n..."
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### IP Whitelist
|
|
131
|
+
|
|
132
|
+
WeChat requires your server's public IP to be whitelisted for CI uploads. Add your IP in [WeChat MP Admin Console](https://mp.weixin.qq.com/) → Development → Development Settings → IP Whitelist.
|
|
133
|
+
|
|
134
|
+
> **Tip:** The preview page displays your current public IP in the top-right corner for easy copying.
|
|
135
|
+
|
|
136
|
+
## How It Works
|
|
137
|
+
|
|
138
|
+
```
|
|
139
|
+
AI Assistant ←→ MCP Protocol (stdio) ←→ This Server ←→ Local Dev Server + miniprogram-ci
|
|
140
|
+
↓
|
|
141
|
+
Browser Preview
|
|
142
|
+
Real Device QR
|
|
143
|
+
WeChat Upload
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
1. The MCP server starts a local Express dev server for game preview
|
|
147
|
+
2. Game source files are compiled (ES modules → WeChat-compatible JS) and served in browser
|
|
148
|
+
3. File changes are watched via chokidar for hot-reload
|
|
149
|
+
4. Real-device preview and publish use [miniprogram-ci](https://www.npmjs.com/package/miniprogram-ci) for WeChat platform integration
|
|
150
|
+
|
|
151
|
+
## Requirements
|
|
152
|
+
|
|
153
|
+
- **Node.js** >= 16
|
|
154
|
+
- A WeChat Mini Game project with `game.js` entry file
|
|
155
|
+
- For real-device / publish: WeChat AppID + upload private key
|
|
156
|
+
|
|
157
|
+
## License
|
|
158
|
+
|
|
159
|
+
MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x4ec9c3=_0x2eff,_0x1c36a3=_0x2eff;(function(_0x50649b,_0x1abd5b){const _0x2da68d=_0x2eff,_0x21d733=_0x2eff,_0x221da0=_0x50649b();while(!![]){try{const _0x2c83ae=parseInt(_0x2da68d(0x1ac,'vV#&'))/0x1+-parseInt(_0x21d733(0x222,'V#Uf'))/0x2+parseInt(_0x2da68d(0x2a4,'Pd1x'))/0x3+-parseInt(_0x2da68d(0x1f4,'*b8r'))/0x4+parseInt(_0x2da68d(0x221,'vfKW'))/0x5*(-parseInt(_0x2da68d(0x1aa,'YwT2'))/0x6)+parseInt(_0x2da68d(0x27f,'7l!m'))/0x7*(-parseInt(_0x21d733(0x2cc,'y7j3'))/0x8)+parseInt(_0x21d733(0x1be,'2c&]'))/0x9*(parseInt(_0x21d733(0x2bb,'@U&r'))/0xa);if(_0x2c83ae===_0x1abd5b)break;else _0x221da0['push'](_0x221da0['shift']());}catch(_0x44f100){_0x221da0['push'](_0x221da0['shift']());}}}(_0x5a63,0x2d347));var path,fs,os,import_child_process,CI_PACKAGE,CI_VERSION,_installDir,_installing,__create=Object[_0x4ec9c3(0x22e,'7dc)')],__defProp=Object[_0x4ec9c3(0x225,'Di*i')],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__getOwnPropNames=Object['getOwnPropertyNames'],__getProtoOf=Object['getPrototypeOf'],__hasOwnProp=Object[_0x1c36a3(0x205,'YwT2')][_0x4ec9c3(0x19b,'y7j3')],__esm=(_0x535ae0,_0x56a1b4)=>function(){return _0x535ae0&&(_0x56a1b4=(0x0,_0x535ae0[__getOwnPropNames(_0x535ae0)[0x0]])(_0x535ae0=0x0)),_0x56a1b4;},__export=(_0x2a4b61,_0x5d0d9a)=>{const _0x5725e1=_0x1c36a3,_0x369fc5={'ztuDA':function(_0x178795,_0x14d1fd,_0x13676e,_0xb002b3){return _0x178795(_0x14d1fd,_0x13676e,_0xb002b3);}};for(var name in _0x5d0d9a)_0x369fc5[_0x5725e1(0x1d0,'7dc)')](__defProp,_0x2a4b61,name,{'get':_0x5d0d9a[name],'enumerable':!0x0});},__copyProps=(_0x2e869f,_0x3d07d8,_0x539a34,desc)=>{const _0x53c3ed=_0x4ec9c3,_0x497e64=_0x1c36a3,_0x3adf6c={'YkVCV':function(_0x155a8a,_0x10e434){return _0x155a8a==_0x10e434;},'VPkVs':function(_0x5f05a1,_0xfa5514){return _0x5f05a1(_0xfa5514);}};if(_0x3d07d8&&_0x3adf6c[_0x53c3ed(0x20b,'7dc)')]('object',typeof _0x3d07d8)||_0x3adf6c['YkVCV'](_0x497e64(0x1cd,'3mUu'),typeof _0x3d07d8)){for(let _0x347598 of _0x3adf6c['VPkVs'](__getOwnPropNames,_0x3d07d8))__hasOwnProp['call'](_0x2e869f,_0x347598)||_0x347598===_0x539a34||__defProp(_0x2e869f,_0x347598,{'get':()=>_0x3d07d8[_0x347598],'enumerable':!(desc=__getOwnPropDesc(_0x3d07d8,_0x347598))||desc[_0x497e64(0x24f,'(%Mn')]});}return _0x2e869f;},__toESM=(_0x393a61,_0x333d09,_0x2e9f95)=>(_0x2e9f95=null!=_0x393a61?__create(__getProtoOf(_0x393a61)):{},__copyProps(!_0x333d09&&_0x393a61&&_0x393a61[_0x1c36a3(0x265,'k)ph')]?_0x2e9f95:__defProp(_0x2e9f95,'default',{'value':_0x393a61,'enumerable':!0x0}),_0x393a61)),__toCommonJS=_0xc35a0d=>__copyProps(__defProp({},_0x4ec9c3(0x1a7,'YwT2'),{'value':!0x0}),_0xc35a0d),ci_installer_exports={};function setCiDepsDir(_0xc91eac){_installDir=_0xc91eac;}async function ensureCiInstalled(_0x2fe741){const _0x3c532f=_0x1c36a3,_0xbf23e2=_0x1c36a3,_0x1f4f32={'AbNlW':function(_0x1c7a4b){return _0x1c7a4b();}},_0x48d8b8=_0x1f4f32[_0x3c532f(0x196,'J%DV')](getDepsDir),_0xebd2a5=path['join'](_0x48d8b8,'node_modules',CI_PACKAGE);if(fs[_0xbf23e2(0x282,'##dz')](path['join'](_0xebd2a5,_0x3c532f(0x20c,'YwT2'))))return _0xebd2a5;if(_installing)return _installing;_installing=doInstall(_0x48d8b8,_0x2fe741);try{return await _installing;}finally{_installing=null;}}function isCiInstalled(){const _0x2d71bd=_0x4ec9c3,_0x224e51=_0x1c36a3,_0x20aec7={'fjLkL':function(_0x2e0f45){return _0x2e0f45();}};try{const _0x12a05d=_0x20aec7[_0x2d71bd(0x2c0,'wh7L')](getDepsDir);return fs[_0x224e51(0x198,'YwT2')](path[_0x2d71bd(0x1ab,'Mhpw')](_0x12a05d,'node_modules',CI_PACKAGE,'package.json'));}catch{return!0x1;}}function getCiDepsDir(){return _installDir;}function getCiRequirePath(){const _0x903371=_0x4ec9c3,_0x5a2e7c=_0x4ec9c3,_0x3a2439={'ZKEpg':_0x903371(0x242,'@gQO')},_0x54a31a=getDepsDir(),_0x4d0ef8=path[_0x5a2e7c(0x1f6,'Fsp7')](_0x54a31a,'node_modules',CI_PACKAGE);if(!fs['existsSync'](path[_0x903371(0x218,'q0CZ')](_0x4d0ef8,_0x3a2439[_0x5a2e7c(0x2c2,'Un)d')])))throw new Error('[ci-installer]\x20miniprogram-ci\x20is\x20not\x20installed\x20yet.\x20Call\x20ensureCiInstalled()\x20first.');return _0x4d0ef8;}function getDepsDir(){const _0x4a829b=_0x1c36a3,_0x32a4e3=_0x1c36a3,_0x1c773b={'ccmUv':'.weixin-minigame-helper','zliij':_0x4a829b(0x227,']@mL')};return _installDir||(_installDir=path[_0x32a4e3(0x1fa,'A1de')](os[_0x32a4e3(0x19a,'3xr@')](),_0x1c773b[_0x4a829b(0x292,'vMPH')],_0x1c773b[_0x32a4e3(0x268,'vMPH')])),_installDir;}async function doInstall(_0x49db0a,_0x1e9500){const _0x4286ed=_0x1c36a3,_0x2917d1=_0x4ec9c3,_0x5b1983={'vCocE':function(_0x13e668,_0x598816,_0x5d545f,_0x63b348){return _0x13e668(_0x598816,_0x5d545f,_0x63b348);},'iPykc':'package.json','yAdDT':'weixin-minigame-helper-deps','aSLub':_0x4286ed(0x210,'Di*i'),'fTRde':function(_0x4ca796,_0x221970){return _0x4ca796 instanceof _0x221970;},'HFKrC':_0x4286ed(0x236,'3xr@'),'BcJYj':function(_0xc14e82,_0x5815e7){return _0xc14e82?.(_0x5815e7);},'SZCBA':'miniprogram-ci\x20安装完成\x20✓'};_0x1e9500?.(_0x2917d1(0x240,'lzIx')),fs[_0x2917d1(0x23f,'7dc)')](_0x49db0a,{'recursive':!0x0});const _0x1725c0=path[_0x2917d1(0x296,'x4L!')](_0x49db0a,_0x5b1983['iPykc']);fs['existsSync'](_0x1725c0)||fs[_0x4286ed(0x1ce,'q0CZ')](_0x1725c0,JSON[_0x4286ed(0x238,'Un)d')]({'name':_0x5b1983[_0x2917d1(0x261,'iFJJ')],'private':!0x0,'dependencies':{}},null,0x2));const _0x3dd7d2=_0x2917d1(0x2ad,'x4L!')+CI_PACKAGE+'@\x22'+CI_VERSION+_0x2917d1(0x2a7,'cmRE');_0x1e9500?.('执行:\x20npm\x20install\x20'+CI_PACKAGE+'@\x22'+CI_VERSION+_0x4286ed(0x1a1,'L^^K'));try{if(_0x5b1983[_0x4286ed(0x258,']@mL')]!==_0x2917d1(0x1fe,'x4L!'))(0x0,import_child_process[_0x2917d1(0x294,'gFoK')])(_0x3dd7d2,{'cwd':_0x49db0a,'stdio':_0x4286ed(0x1e7,'Olyx'),'timeout':0x2bf20,'env':{...process['env'],'NODE_ENV':''}});else{for(var name in _0x35193e)_0x5b1983[_0x4286ed(0x19d,'*b8r')](_0x317a69,_0x5ad865,name,{'get':_0x73ba66[name],'enumerable':!0x0});}}catch(_0x5d9fea){const _0x5d704a=_0x5b1983[_0x4286ed(0x22a,'@gQO')](_0x5d9fea,Error)?_0x5d9fea['message']:String(_0x5d9fea);throw new Error(_0x2917d1(0x248,'@U&r')+CI_PACKAGE+_0x4286ed(0x1c1,'3mUu')+_0x5d704a);}const _0x2ae2a4=path[_0x2917d1(0x1c7,'t!ix')](_0x49db0a,_0x5b1983[_0x2917d1(0x1b2,'iFJJ')],CI_PACKAGE);if(!fs[_0x2917d1(0x2a5,'2c&]')](path[_0x4286ed(0x224,'[2cE')](_0x2ae2a4,_0x2917d1(0x1b8,'Di*i'))))throw new Error(_0x4286ed(0x27c,'b2Gu')+CI_PACKAGE+'\x20was\x20not\x20found\x20at\x20'+_0x2ae2a4+'.');return _0x5b1983[_0x2917d1(0x1a5,'YwT2')](_0x1e9500,_0x5b1983[_0x4286ed(0x289,'3xr@')]),_0x2ae2a4;}__export(ci_installer_exports,{'ensureCiInstalled':()=>ensureCiInstalled,'getCiDepsDir':()=>getCiDepsDir,'getCiRequirePath':()=>getCiRequirePath,'isCiInstalled':()=>isCiInstalled,'setCiDepsDir':()=>setCiDepsDir});var init_ci_installer=__esm({'core/real-device/ci-installer.ts'(){const _0x1a578e=_0x4ec9c3,_0x3db629=_0x4ec9c3,_0x561d3a={'YCbGx':function(_0x388a3e,_0x19129e){return _0x388a3e(_0x19129e);},'tUHrn':'miniprogram-ci'};path=_0x561d3a['YCbGx'](__toESM,_0x561d3a[_0x1a578e(0x26e,'a&gD')](require,_0x3db629(0x200,'t!ix'))),fs=__toESM(_0x561d3a['YCbGx'](require,'fs')),os=__toESM(require('os')),import_child_process=require('child_process'),CI_PACKAGE=_0x561d3a[_0x1a578e(0x285,'q0CZ')],CI_VERSION='^2.1.31',_installDir=null,_installing=null;}}),game_bundler_worker_exports={};module[_0x1c36a3(0x1b9,']@mL')]=__toCommonJS(game_bundler_worker_exports);var import_worker_threads=require(_0x1c36a3(0x1d3,'a&gD')),fs2=__toESM(require('fs')),path2=__toESM(require('path'));init_ci_installer();var _enhanceTransform=null,_ciDir=null;function getCiDir(){const _0x3ad59a=_0x4ec9c3,_0x1e0516=_0x1c36a3,_0x5add2e={'KfDrk':function(_0x226c53){return _0x226c53();}};return _ciDir||(_ciDir=isCiInstalled()?_0x5add2e[_0x3ad59a(0x2d5,'lPFN')](getCiRequirePath):require['resolve'](_0x1e0516(0x214,'q0CZ'))[_0x1e0516(0x28b,'vMPH')](/[/\\]dist[/\\]index\.js$/,'')),_ciDir;}function _0x5a63(){const _0x33a192=['W6LHWQtcTSohD8oOpg5h','WQNdNSoCcCo5sSksW5JdSSo7W7ddJW','ESozcCkPW4VdOvXYfq0KW4vqe8kNW4xcISkEjvy','cf4Yfxy','WOG1WRlcISkMcCokFMW','lIPGW63cUs96WOKwpq','yKZdPN1PWPzkW6ldGW','yX/dI3pdMHBdNCogAmol','o1ldS2X7','WOFdU3/dQCoS','WQdcVmkhW7S','WR8SWQRcOGi','yrVdMhldSGVdOComsCogW7ZcOq','FXVdL3hdGaO','WPVcQKqXkIPU','W6pcT8kD','W5tdVCkDmCoU','vSozlq8','rdHRdqlcJY9PW5VdKCowW5GIyrVcGmkBp0/dHSoiWP/cMeDKW7aWDM0UiMldV2v1ahlcN0ddJMNdI34','WO7dTuy3uGDzW4lcHstdR1C','WQRcS8k8W5ldLW','zmk6EG','a8kKDXi','nZ1dWQavW6/cThTOACk1cu3dICk2v8oTi8kVWOldJhrmW54EdCo5iMysE8khd8ouWPHmW6jrWQTMW7a','W6CpWQ8','WQhcJmkFW6ldJq','CWHrW50fr8oFWPW','iKBcGsFcH1ldP8olw8oRW5xcPG','WQNcG8kcW74','WRZdH8oweCoSxSkKWO/dTSoR','WPZcKmkUW5NdPG','DCkcW4zrWPhcHmobmflcGIVdIG','W6JdOmkCkmoU','gYXdW7KzW4FcRMnSvSkGaLW','WQddJsxdVCkU','W69dWQJdJmoJ','jafDDSoZ','W4u4gvq','afCReh3cMmoQ','ctbEW78f','aJ5tW53cJG','ytH0dGBcMMO','W4ZcRSkFW4jP','W4FcS8oRvCoP','W4xcS8kk','eve2kwO','WRRcVmkCW7S','o0tdON1rWO5dW6q','WRagWPNcPa','W54Pomk9','WRJdQmo5W6pdLuTKW512W6rOgSkEiqtcTrxcRxXGFCoWWPDwEGqwAx4BfCkBW70jbW','gJP3wG','i0vmW43dVxNdNCo2WOVcNG7dNa','W4lcISolt8oT','e1JcIdpcMSoo','W6epWQhdJW','d8kSB2G','WRFdNSosbW','WQ13ymk7WRmvWQv2nvK','WPRcOdC','WQFdU8kJWQnA','eZjSwSotxmoq','WOhcUYzkbW','W7ZcK8oaW5ejWO3dHG1MWPm0W78','WOxcKCoiW7SHWQ4jamoiWPS','W7RcPSkWW50','lN0QubtcNhLIWPtcImoBW44/CrpcGCojE07cGmodWPRcN0bX','W7VcQmk+','W6arc8kLW4y','xqNdOeZdJG','WQ7dJw7dHG','W6ubWQxdHa','W5O2pmoZW4FdK8o6W7qHaSoXWPu','W77dLmk2p8oSFWq2WPO+WQNcICkI','ydjG','W5GPnG','s8kSW7TNWRi','fmk5zcdcSq','W7WbWRRdJW','W7lIGPPmW65Sl0ymWPH7emkhW5rimSkWjHnHqWq','WPVcN8k9W6lcVG','uaNcUsVcMmo+W70/','W6BdI8olW7BdHSkkW7H0W63dS8k/fHhdRxxdG8ozB8k7vCkoaSk6','WQBdGJddUG','l1L3W4mfDCoE','WPtcJmosW7W','W7dcVmoruCkxW7ldL8kn','n8oEWP8eW40','yUkgRIq','WPZcPu0X','WORcM8kKW6FdLG','W7hcRCkvW5JdUa','dmkOCx7dQaRdLa','uCowESkhW6i','W43dVmkBW5NcQSozW7C8ErhdUq','WQ0+FKm','vW7dRsf1W73dSW','WOrPACkVWOW','WOhcP1i9iHf7','W54KmKKYW7XIBmoAECkY','WQNcSSkaW7a','v8ociWNcJei1W5K1W7e','WPdcPJijxK92','W6X/oHpdTmoJkmolsSk3WQ8jtq','WONdV1aNEGSD','dfJcNZxcMmomW7W','cePtiGezuhy','e0JdOvzn','WQddOqpdRW','t8kMW6S','W7PVWQ3dKmoaWPabktiVCHjdWOvr','WOVdVmkFW4j0FmkdxxS3E8o6WRldUKKVcmopcb7dOu50','WQlcI8kCqrG','rWZdMhJdHXldPmofF8kFW7FcSflcOapcVIK','W6RcMx0','WOzSACkzWP4','ja96','WRtdL3tdGa','EWNdKd5d','sa7dRJ51W7NdSW','WRXcl8oEc8oGWPi6omop','W7xdM8kWp8o4BXa','hZrZuCowwmoh','WRuQFMtcSmk5tmoYCCknWQCrt18','WRqiWP3cRW','WQWQWP/cQqi','WQ7dNSonda','WRNdMmkBWOTCW53dS3L1WP8ZW5ldGbijWQG+lvG','nmohWOup','dmoIWQe7W6u','sa7dMhxdNWpdQSomAmoIWRlcKKhcRbRdPw5cW5FdTWu','i8kyFIn6','WP8QB07cQ8o3AmoOBmkyWRvzgW','WPTzdmo0fq','lmo7WPOmW4S','WOzLi8oEmSo8WQu2oSoj','WPCNf0mRW7HMFCkCk+kdN0a','WRtcL8kyW7G','W64jDmkys8kLWOKZoSoGWQRcVq','lSoDWP8j','W4xdV3brbHTHW5u4WReZWOm','omo7oKa','WRnvl8od','pZD6W6O','WP7dIHZdUh0','WRFdI1VdH8o4W7i','kCklsx/dIG','nvu2kxm','W4pcNmoXrCod','gJPU','W7/cQmo4zCoH','W49dWPNdR8oM','WOlcPum/mWjTW41/W49jjq','fSkPDbvksNy','W4/dTSkmW5JcHmoz','W6JdKcNdVSktW4/dQCk4WRa8yNtcO8k4WRZcKCkMwmolomo1xCok','WRxdMSorbCoSrq','WRimWPZcUIjoWRa','W5tdKmktWRfLW6TSe8oYWQKuyZC','W6pcPvK6WQ3dMmo0o8km','jXjKBCoW','WQvaWPJdJrKzW7/dJCo7qCk5W7ZcTCkxWRddScddL0XkW6ObW6qquwe7WR3cPSkGWOnSW51oa8ksWQLha1zyW4aSW6BdImksW4jRlJm4arDdh0xcPSoxlr/cG8oq','bSkLyLCa','afC6gfRcKSoJWRlcHwRcJWq','W6ZdGmkNmG','WRRdHI3dS8kCW4JdRq','zarKW5O','s8ogaCkK','W6NcVSkmW49+za','WOjkj8oofmoYWQyMjmoXW4tdSa','W4dcSSkjW4HJr8of','WRZdKxpdIG','WQi5W73cLCkCW4yqeJyKuJC','W60vWQBdGGGrW6pdHG','W6VdH8k9lSoLzH8VWPezWRNcISkK','luNdPu5JWPrgW6BcMSodWOC','W4FdP8kDW6NcPG','c1lcHsG','hfPgiW','WQNdL2/dHCoXW6xcPxTXW4TTW6VcTte','i1pcHXlcKa','r0DZjSovxL5V','CSosbbNcQq','W5ZdL8k1omoLtfKXWOeKWRtcJCkQW7/dPq','satdSsy','Bmo8uSksWQSBW4K','AYf9W7/cOZHiWPWxmmoYACk4','WRvviq','W7dcRGRdUNyQtq/cGIG','W5ONpmk2','kmk+ALRdQW','eIrUW4ZcTa','WQpdHCkDWO8','WRtcG8kzW7xdMSkrW4u7W6VdRW','WPhdQd/dH8k1','at9dW6m','WPpcRI0ceuHGW6m8','gHVdVZf/W7VdSCkeW5JdJUkdTmkU','qmkJW6jW','oZT5W7S','W5RcQCkpW516A8oiwhm3EW','W6yfWRVdKH0FW6K','WOpcGSkXxq','cufbory','WQVdO8oVAW','WQ1RAmkVWRm','WOddICoymmoH','W6dcSmk3W65y','bmkWDHq','WQZdMmkgWO5l','WRFdTGxdQgS1EXldLMS','WPZcMmopuG','W6LzW4hdSN4oWPvUbxhcGSka','qCkSCx7dRbNcMrhdGuv7','tSozkXu','WPRcRI0c','oK3cJsxcKSokW74OsCoFsCkJ','WOS4WPpcUHu','WRrSAmkN','t8oibCkV','WRFdTGNdUa','kv3dTxa','W5SLbSksW6y','p1tdIhfp','uCoihmkI','bY5Txa','h8ovWPCkW43cKmodcfVcSdRdGCkFDdlcPmkaW7LNWO3cIY7cLhRdHSkkW73cN3D6W7lcImk3W7JcGK5visnXiw1mfmoElhFdQ8k7WRW7W5VcN2eLaCkXWPNcN1BcICo+WOBcLColjmoyW5NcJ8k3t0yHlmovWOGrWRPCemoUqXf6hSowWOzvWRjKgCoNlxpdSSo/W7evDdZcHJVdNCoIW5tdH8o1W6XX','teDqjX8zcNKxWPrW','hYPlW78iW7lcKgz9Bq','WQLikCozemoNWRGZmW','WP/dV1CQuGDzW4lcHstdR1C','kCkNhW','WQtdOSoYD8k8','qCookWJcJeiXW4KVW7O','bmkJBq5DEgZcNmklutKEW5q','W6tdUmk+W67cSq','WQLBjCoghSo0WQrTpmoFWOVcTG','FJRdNWfA','W4dcJSojumoPkH0','W4RdSSkAW4m','WRNcRgSfaa','W4WAWQ7dJay','W6VcOfKGWOJdOSo5pq','m1NdTg1JWPbi','W7hdNmk6m8oWuHKKWOyRWQ3dICkKW7m','rSoPwCk/W4O','W4XWWQJdHSohWPq2ltqAg1q','WPDskSoElG','W7BdMSk9na','W6vLWRJdKmofWOC0ya','gf0YeG','W7hcOCkSW4VdKa','WRxcO00bpq','W5nqWRxcT8oZ','WR4GWQZdI8oyWOCOAgq','arHRW6VcQG','afNcIa','jJhdQLhdSW7dPq','WR/dTGvIW6ZcU8oNn8kUWQZdVmkI','p0anpuy','W5JcHmoquG','WPBcOuy9pabyWPf6W4XdoCoydW','ydHPgHpcLq','f8k0DaK','iSkMvf/dQW','WOhdTve','WQVcICk8W7hcNa','gCk+Brq','a8k5BbXn','ktzzW73cGa','W57dOCknW4ZcK8oz','WQBdT8koW6FdPN92W54','WRBdRCo0AW','Ee9YrXy','WOZcIceftW','WPlcHSooW7W','wtj6uCot','W43dUemGCajqW4pdTJddRLaDW4yJWORcVmkBWQuB','gtr6uCoTxmoAWPm2WPpcQw4','WRW7FqBcPmk4CSoMD8kAW6WjseKF','EmoPtCkEW6SwW5pdIuy','pZ1xFCo8','W7hdNSkWm8oYCW8TWPC','W6NcM8oyx8oJkb/dOZ0BWO1X','WOVcGmopW6W','w8okvmkrW6e','cdDzW7K','W5ddUmkmW4tcLCoVW70HEW','5Q6o5z6Y5A6/6kklnanCW4NcVY3dS1SpW5GNW4/dOSorW6dVVlpPPB3MRRRKV4ZNLyRVV6dNU4ZPNPBdLfJcVMZNP4BVVBNIG4O','W5ddSSkbW4m','WR3cVmknW77cMhfJASoVkSkkqa','f1nZpq','WPW5y0hcVq','W5ZcIhm4WPa','W4qNgKK0','WP/cPvq3oG','WPRdR8oVkmkSW4VdNCkBW4n6WQNcKSkCBSoDo2pcSafICeLQWQHSkColW4jdW47dJIhdLG','WRhdOqJdVG','yGbLW4/dQMtdNa','WRVdOaJdVMCjtG','W4tcVCkeW4m','WRNdMxddI8k6W73cIq','W6tcJ8o/xSoz','l8o6ifKAW597kSo5oa','B8o0tCkzW6qCW58','FJjOcq','W6upWR8','WRrBl8od','cCkSCq','WQNdISomcG','k8oNjLelW54','dCkIzq','eSkcsa9A','bfpcMdtcGa','futcVGj1W7NdVCkaWPBcI8keWQ5PFg0vg8obWQhdIJ3cPCouuSkFnCotwCooW7DnC8o7sSor','W68fWQ7dIbiDWQq','qmonda','W4CIbuG','WOZcHSog','WOXft8kIWOG','WR/dJeebyq','gmkmzKNdNq','xSk3W7X9','bt56qCorva','WRFdObJdQwy'];_0x5a63=function(){return _0x33a192;};return _0x5a63();}function getEnhanceTransform(){const _0x5d3b06=_0x4ec9c3,_0x2d2222={'uLRdF':function(_0x2d789e){return _0x2d789e();}};if(!_enhanceTransform)try{const _0x2c6d93=_0x2d2222['uLRdF'](getCiDir);_enhanceTransform=require(_0x2c6d93+'/dist/modules/corecompiler/original/js/enhance');}catch(_0x4c1348){throw new Error(_0x5d3b06(0x202,'Mhpw')+_0x4c1348);}return _enhanceTransform;}function readBabelHelper(_0x3d1e61){const _0x5b558b=_0x1c36a3,_0x231dc8=_0x4ec9c3,_0x1d993e={'Thacg':_0x5b558b(0x2ae,'q0CZ'),'QAsSm':_0x5b558b(0x23e,'b2Gu'),'PgKTn':function(_0x55735f,_0x143706){return _0x55735f+_0x143706;}},_0x786445=getCiDir(),_0x24b900=_0x3d1e61['replace']('@babel/runtime',_0x1d993e['Thacg']),_0x43adec=path2['join'](_0x786445,_0x1d993e['QAsSm'],'vendor',_0x1d993e['PgKTn'](_0x24b900,_0x5b558b(0x194,'1rkQ')));return fs2[_0x5b558b(0x271,'vfKW')](_0x43adec,_0x231dc8(0x2a3,'vV#&'));}var BABEL_RUNTIME_ROOT='@babel/runtime';function silenceBabelDeopt(_0x273c1f){const _0x5a826a=_0x1c36a3,_0x2d10d8=_0x1c36a3,_0x3b99b1={'NhlsQ':'eEZhE','PIzYB':function(_0x4bc085,_0x4f5993){return _0x4bc085(_0x4f5993);}},_0x5cd6ab=console[_0x5a826a(0x1fd,'gFoK')][_0x2d10d8(0x1cb,'a&gD')](console),_0x17d450=console[_0x2d10d8(0x2b0,'x4L!')]['bind'](console),_0x2aa950=/deoptimised the styling/i;console['warn']=(..._0x1c6693)=>{const _0x26d582=_0x5a826a,_0x5d6204=_0x2d10d8;if(_0x26d582(0x270,'*b8r')!==_0x3b99b1[_0x5d6204(0x217,'YwT2')]){const _0x380c52=_0x5d6204(0x297,'wh7L')+(_0x336135['name']||_0x5d6204(0x26f,'@gQO'))+_0x26d582(0x1e5,'J%DV')+_0x454074+'\x20bundled\x20module(s),\x20'+_0xcd0d76+'\x20standalone\x20script(s),\x20'+_0x31cba4[_0x26d582(0x226,'cmRE')]+_0x5d6204(0x203,'St1)'),_0x5b1ba6='require('+_0x27c267['stringify'](_0x40f81d['entry'])+');\x0a',_0x28d97c=_0x380c52+_0x8e2d17['join']('')+_0x5b1ba6,_0x54387b=_0x4dd7e9[_0x5d6204(0x295,'*b8r')](_0x431bd2,_0x48a203['entry']);_0xec76f9['mkdirSync'](_0x8268a8[_0x26d582(0x250,'Un)d')](_0x54387b),{'recursive':!0x0}),_0x551544[_0x26d582(0x20a,']@mL')](_0x54387b,_0x28d97c,_0x5d6204(0x1c2,']@mL'));}else _0x2aa950[_0x26d582(0x1af,'Olyx')](String(_0x1c6693[0x0]))||_0x5cd6ab(..._0x1c6693);},console[_0x5a826a(0x27d,'3mUu')]=(..._0x33bec6)=>{const _0x45dc67=_0x2d10d8,_0x4bbd90=_0x5a826a;_0x2aa950['test'](_0x3b99b1[_0x45dc67(0x1a3,']@mL')](String,_0x33bec6[0x0]))||_0x3b99b1[_0x45dc67(0x1c0,'3xr@')](_0x17d450,..._0x33bec6);};try{return _0x273c1f();}finally{console['warn']=_0x5cd6ab,console['log']=_0x17d450;}}function extractBabelRuntimeRequires(_0x27c595){const _0x57f6c7=_0x1c36a3,_0x16e903=[],_0x54c95a=/\brequire\s*\(\s*['"](@babel\/runtime\/[^'"]+)['"]\s*\)/g;let _0xc907a5;for(;null!==(_0xc907a5=_0x54c95a[_0x57f6c7(0x1fc,'EI2x')](_0x27c595));)_0x16e903['push'](_0xc907a5[0x1]);return _0x16e903;}function extractHelperDependencies(_0x2404be,_0x5489d3){const _0x1cec3e=_0x1c36a3,_0x3f6ee1=_0x4ec9c3,_0x11cc08={'GgmUo':function(_0x1d31c6,_0x134854){return _0x1d31c6+_0x134854;},'IlZCC':_0x1cec3e(0x27a,'(%Mn'),'AcVjO':function(_0x15fdb3,_0x55c011){return _0x15fdb3+_0x55c011;}},_0x1a1ab4=_0x2404be['replace'](/\/[^/]+$/,''),_0x1a781e=[],_0x5a7802=/\brequire\s*\(\s*['"]([^'"]+)['"]\s*\)/g;let _0x1ddc92;for(;null!==(_0x1ddc92=_0x5a7802['exec'](_0x5489d3));){const _0x2c963c=_0x1ddc92[0x1];if(_0x2c963c[_0x1cec3e(0x29f,'A1de')](_0x1cec3e(0x1d7,'q0CZ')))_0x1a781e['push'](_0x2c963c);else{if(_0x2c963c[_0x1cec3e(0x2ca,'Fsp7')]('./'))_0x1a781e[_0x3f6ee1(0x2ab,'a&gD')](_0x11cc08[_0x3f6ee1(0x21c,'Di*i')](_0x11cc08[_0x3f6ee1(0x1b3,'vMPH')](_0x1a1ab4,'/'),_0x2c963c['slice'](0x2)));else{if(_0x2c963c['startsWith'](_0x11cc08[_0x3f6ee1(0x1ef,'CDcJ')])){let _0x2254a3=_0x1a1ab4,_0x55df4a=_0x2c963c;for(;_0x55df4a[_0x1cec3e(0x204,'b2Gu')](_0x11cc08[_0x3f6ee1(0x28d,'Olyx')]);)_0x2254a3=_0x2254a3[_0x3f6ee1(0x20e,'[2cE')](/\/[^/]+$/,''),_0x55df4a=_0x55df4a[_0x3f6ee1(0x2bc,'Mhpw')](0x3);_0x1a781e[_0x1cec3e(0x27b,']@mL')](_0x11cc08['AcVjO'](_0x2254a3,'/')+_0x55df4a);}}}}return _0x1a781e;}function normaliseRoot(_0x277a52){const _0x5714f3=_0x4ec9c3;return _0x277a52[_0x5714f3(0x1c5,'b37L')](/^\/+/,'')['replace'](/\/+$/,'');}function discoverPackages(_0x50a6e7){const _0x5633e0=_0x4ec9c3,_0x1e9708=_0x1c36a3,_0x545086={'phhfu':_0x5633e0(0x1e4,'vV#&'),'lIDed':function(_0xf3a6a3,_0xf64233){return _0xf3a6a3===_0xf64233;},'qwHyK':'utf-8','ZjhfK':function(_0x351403,_0x893c63){return _0x351403==_0x893c63;},'XCPJJ':function(_0x544a10,_0x51667e){return _0x544a10(_0x51667e);}},_0x22b120=path2['join'](_0x50a6e7,_0x545086[_0x1e9708(0x22c,']@mL')]);let _0x4e4b41={};try{if(_0x545086['lIDed'](_0x1e9708(0x228,'iFJJ'),_0x5633e0(0x223,'vMPH')))try{const _0x4e2131=_0x4792df();return _0x2eff25[_0x1e9708(0x209,'Fsp7')](_0x45d719[_0x1e9708(0x1ec,'@U&r')](_0x4e2131,'node_modules',_0x1e17c5,_0x5633e0(0x266,'##dz')));}catch{return!0x1;}else _0x4e4b41=JSON[_0x5633e0(0x29a,'[2cE')](fs2['readFileSync'](_0x22b120,_0x545086[_0x5633e0(0x1b4,'[2cE')]));}catch{}const _0x2e1bbf=[];_0x2e1bbf[_0x1e9708(0x1c4,'q0CZ')]({'name':'','root':'','entry':_0x1e9708(0x24d,'a&gD')});const _0x4c963e=_0x4e4b41[_0x5633e0(0x1cf,'gFoK')]??_0x4e4b41[_0x5633e0(0x1e8,'CDcJ')]??[];for(const _0x18f7be of _0x4c963e){const _0x25b039='string'==typeof _0x18f7be[_0x5633e0(0x2d1,'EI2x')]?_0x18f7be[_0x5633e0(0x28a,'E51F')]:'',name=_0x545086[_0x1e9708(0x2c6,'A1de')]('string',typeof _0x18f7be['name'])?_0x18f7be[_0x5633e0(0x2b8,'b37L')]:_0x25b039,_0xe827e3=_0x545086[_0x5633e0(0x1b7,'8Xt$')](normaliseRoot,_0x25b039);_0xe827e3&&_0x2e1bbf['push']({'name':name,'root':_0xe827e3,'entry':'game.js'});}return _0x2e1bbf;}function isSystemJsCarrier(_0x264a9a){const _0x5d2d28=_0x4ec9c3,_0x238146=_0x4ec9c3,_0x1a3b38={'RFNkO':function(_0x212cbd,_0x42222d){return _0x212cbd<_0x42222d;}},_0x204322=_0x264a9a[_0x5d2d28(0x24b,'EI2x')]('System.register(');if(_0x204322<0x0)return!0x1;const _0x286846=_0x264a9a['indexOf'](_0x238146(0x2cd,'lzIx'));return _0x1a3b38[_0x5d2d28(0x25f,'A1de')](_0x286846,0x0)||_0x1a3b38[_0x5d2d28(0x245,'V#Uf')](_0x204322,_0x286846);}function isSelfBootstrappingEntry(_0x1f8fe9,_0x1c5585){const _0x36669a=_0x4ec9c3,_0x2400e4=_0x4ec9c3,_0x55e571={'kqZcs':function(_0x45e401,_0x2b90f6){return _0x45e401-_0x2b90f6;},'Arnjz':function(_0x1825e6,_0x1cd8fb){return _0x1825e6>=_0x1cd8fb;}},_0x1f9901=_0x1f8fe9['trimEnd'](),_0x506b8c=_0x1f9901['slice'](Math['max'](0x0,_0x55e571['kqZcs'](_0x1f9901['length'],0x80)))[_0x36669a(0x247,'Di*i')](/require\(\s*(["'])([^"']+)\1\s*\)\s*;?\s*$/);if(!_0x506b8c)return!0x1;const _0x2f3113=_0x506b8c[0x2],_0x456174='define(\x22'+_0x2f3113+'\x22',_0x1b9734=_0x2400e4(0x2cf,'St1)')+_0x2f3113+'\x27';return _0x55e571[_0x2400e4(0x244,'y7j3')](_0x1f8fe9[_0x36669a(0x1ca,'CDcJ')](_0x456174),0x0)||_0x1f8fe9[_0x2400e4(0x273,'Di*i')](_0x1b9734)>=0x0;}var SKIP_DIRS=new Set(['node_modules','.git',_0x1c36a3(0x1f3,'[2cE'),'.hg',_0x4ec9c3(0x234,'3xr@'),'.vscode']);function walkFiles(_0x32dbe8,_0x52ea74,_0x48d806,_0x29c670){const _0x44f417=_0x1c36a3,_0x57b3f0=_0x4ec9c3;let _0x875208;try{_0x875208=fs2['readdirSync'](_0x32dbe8,{'withFileTypes':!0x0});}catch{return;}for(const _0x5ca9d1 of _0x875208){if(_0x5ca9d1['name']['startsWith']('.'))continue;if(SKIP_DIRS['has'](_0x5ca9d1['name']))continue;const _0x4434c3=_0x52ea74?_0x52ea74+'/'+_0x5ca9d1[_0x44f417(0x2b8,'b37L')]:_0x5ca9d1[_0x57b3f0(0x1e6,'L^^K')];if(_0x48d806['has'](_0x4434c3))continue;const _0x4791b5=path2['join'](_0x32dbe8,_0x5ca9d1[_0x57b3f0(0x2be,'Di*i')]);_0x5ca9d1[_0x57b3f0(0x2c8,'E51F')]()?walkFiles(_0x4791b5,_0x4434c3,_0x48d806,_0x29c670):_0x5ca9d1[_0x57b3f0(0x1b1,'a&gD')]()&&_0x29c670['push'](_0x4434c3);}}function wrapAsDefine(_0x2449b4,_0x48881f){const _0x1594bf=_0x4ec9c3;return'define('+JSON['stringify'](_0x2449b4)+',\x20function(require,\x20module,\x20exports)\x20{\x0a'+_0x48881f+_0x1594bf(0x231,'vMPH');}function copyFile(_0x7c9f64,_0x342222){const _0x173a8c=_0x1c36a3,_0x52afd9=_0x4ec9c3;fs2['mkdirSync'](path2[_0x173a8c(0x2a2,'3xr@')](_0x342222),{'recursive':!0x0}),fs2[_0x173a8c(0x278,'lzIx')](_0x7c9f64,_0x342222);}function transformJs(_0x26d53d,_0x192378,_0x119a57,_0x1f115e,_0x38bcab){const _0xb37dd7=_0x4ec9c3,_0x413605=_0x1c36a3,_0x5e1c20={'NwYZz':function(_0x2b7180,_0x276d4f){return _0x2b7180 instanceof _0x276d4f;},'HHIkn':function(_0x98ea1f,_0x5cc137){return _0x98ea1f||_0x5cc137;},'IshWb':'error','ahOoM':_0xb37dd7(0x24c,'CDcJ')},_0x41b403=getEnhanceTransform();let _0x2e9e38;try{_0x2e9e38=silenceBabelDeopt(()=>_0x41b403({'code':_0x26d53d,'filePath':_0x192378,'babelRoot':BABEL_RUNTIME_ROOT}));}catch(_0x7bb6dd){const _0x370f34=_0x5e1c20[_0x413605(0x2aa,'vfKW')](_0x7bb6dd,Error)?_0x7bb6dd[_0x413605(0x28e,'cmRE')]:String(_0x7bb6dd);return _0x119a57[_0x413605(0x1d2,'St1)')]({'pkg':_0x1f115e,'file':_0x192378,'level':_0x413605(0x293,'@gQO'),'message':_0xb37dd7(0x1a4,'y7j3')+_0x370f34+'\x20—\x20using\x20source\x20as-is'}),_0x38bcab(_0x413605(0x2b3,'3mUu'),_0xb37dd7(0x1f8,'z$HI')+_0x5e1c20[_0xb37dd7(0x275,'q0CZ')](_0x1f115e,'main')+')\x20Babel\x20threw\x20on\x20\x22'+_0x192378+_0x413605(0x207,'Un)d')+_0x370f34+_0x413605(0x2b4,'EI2x')),{'code':_0x26d53d,'helpers':[]};}if(_0x2e9e38['error'])return _0x119a57['push']({'pkg':_0x1f115e,'file':_0x192378,'level':'error','message':_0xb37dd7(0x191,'vfKW')+_0x2e9e38[_0x413605(0x1f1,'Pd1x')][_0x413605(0x2c5,'J%DV')]}),_0x38bcab(_0x5e1c20[_0x413605(0x1de,'iFJJ')],'[packager]\x20('+(_0x1f115e||_0x5e1c20[_0xb37dd7(0x1ff,'gFoK')])+_0x413605(0x299,'1rkQ')+_0x192378+_0x413605(0x192,'b37L')+_0x2e9e38[_0xb37dd7(0x28f,'CDcJ')][_0xb37dd7(0x2c1,'iFJJ')]),{'code':_0x26d53d,'helpers':[]};const _0x11b54f=_0x2e9e38[_0x413605(0x249,'EI2x')]??_0x26d53d,_0x434d96=_0x2e9e38[_0x413605(0x1bd,'*b8r')]??[];for(const _0x21bdde of extractBabelRuntimeRequires(_0x11b54f))_0x434d96['includes'](_0x21bdde)||_0x434d96[_0xb37dd7(0x243,'[]KN')](_0x21bdde);return{'code':_0x11b54f,'helpers':_0x434d96};}function materialiseHelpers(_0x3e59b0,_0x385a48,_0x420044){const _0x4d72e5=_0x4ec9c3,_0x4eef00=_0x4ec9c3,_0x5c18f4={'qmJjG':function(_0xa3ffd1,_0x597ef2,_0x43b49f){return _0xa3ffd1(_0x597ef2,_0x43b49f);},'xTzLj':_0x4d72e5(0x1db,'YwT2'),'xrhZo':'main','ffuxd':_0x4d72e5(0x2a1,'Pd1x'),'xGabp':function(_0x581299,_0x3ebb67){return _0x581299(_0x3ebb67);},'rLlXm':'.js'},_0xbb65e7=new Set(),_0x2fcbe6=[];for(const _0x44c59a of _0x3e59b0){const _0x1400e2=_0x44c59a[_0x4eef00(0x212,'V#Uf')](_0x4d72e5(0x274,'@gQO'))?_0x44c59a[_0x4eef00(0x197,'J%DV')](/\.js$/,''):_0x44c59a;_0xbb65e7['has'](_0x1400e2)||(_0xbb65e7['add'](_0x1400e2),_0x2fcbe6['push'](_0x1400e2));}for(;_0x2fcbe6[_0x4eef00(0x1bc,'##dz')]>0x0;){const _0x56fa8d=_0x2fcbe6[_0x4d72e5(0x1ed,'A1de')]();let _0x2a6e64;try{if(_0x4d72e5(0x279,'dhmR')!==_0x5c18f4[_0x4d72e5(0x21b,'wh7L')]){_0x571908=!0x0;const _0x30c5cf=_0xa396e[_0x4eef00(0x1ea,'lPFN')](_0x29ebc8,_0x38b81a[_0x4d72e5(0x28c,'b2Gu')]);_0x53caf0[_0x4eef00(0x23a,'q0CZ')](_0x53654e[_0x4d72e5(0x2a2,'3xr@')](_0x30c5cf),{'recursive':!0x0}),_0x4e1af6['writeFileSync'](_0x30c5cf,_0x41304f,'utf-8'),_0x5c18f4['qmJjG'](_0x46560e,_0x5c18f4['xTzLj'],_0x4eef00(0x23b,'[2cE')+(_0x54258b[_0x4d72e5(0x29d,'iFJJ')]||_0x5c18f4['xrhZo'])+_0x4d72e5(0x21e,'8Xt$')+_0x5609f0['entry']+'\x22\x20is\x20a\x20self-bootstrapping\x20CI\x20bundle\x20—\x20copied\x20verbatim,\x20no\x20re-wrapping.');}else _0x2a6e64=_0x5c18f4[_0x4d72e5(0x232,'vV#&')](readBabelHelper,_0x56fa8d);}catch{_0x385a48[_0x4d72e5(0x201,'3xr@')]({'pkg':_0x420044,'file':_0x56fa8d,'level':'warn','message':_0x4d72e5(0x277,'cmRE')+_0x56fa8d});continue;}for(const _0x2bd1ff of extractHelperDependencies(_0x56fa8d,_0x2a6e64)){const _0xd4a381=_0x2bd1ff['endsWith'](_0x5c18f4['rLlXm'])?_0x2bd1ff['replace'](/\.js$/,''):_0x2bd1ff;_0xbb65e7[_0x4eef00(0x254,'iFJJ')](_0xd4a381)||(_0xbb65e7[_0x4d72e5(0x220,'z$HI')](_0xd4a381),_0x2fcbe6[_0x4eef00(0x262,'L^^K')](_0xd4a381));}}const _0x216d66=[];for(const _0x194d10 of _0xbb65e7)try{const _0x25ee6f=readBabelHelper(_0x194d10);_0x216d66['push']({'modulePathInPkg':_0x194d10+'.js','source':_0x25ee6f});}catch{}return _0x216d66;}function packOnePackage(_0x1bb052,_0x5e15ee,_0x2b307d,_0xc111b,_0x384e47,_0x5302a2){const _0x4bc2e7=_0x4ec9c3,_0x52e232=_0x4ec9c3,_0x5ae8d9={'VdFbQ':function(_0x5ea08f,_0x5054c1){return _0x5ea08f<_0x5054c1;},'LDpcb':function(_0x15a804,_0x5eb5e2,_0x1d990e){return _0x15a804(_0x5eb5e2,_0x1d990e);},'YKbXH':function(_0x479f40,_0x1242b4,_0x2924db,_0x3cd8e2,_0x10f70c){return _0x479f40(_0x1242b4,_0x2924db,_0x3cd8e2,_0x10f70c);},'XrEIR':_0x4bc2e7(0x2b2,'iFJJ'),'abIIt':function(_0x45b6dd,_0x33450f,_0x4e30c9){return _0x45b6dd(_0x33450f,_0x4e30c9);},'xCaiO':function(_0x41155b,_0x5dbbd9){return _0x41155b===_0x5dbbd9;},'TWZvh':function(_0x3badf9,_0x3dc726){return _0x3badf9&&_0x3dc726;},'uXRia':function(_0x2cd3a5,_0x1d9f0f){return _0x2cd3a5(_0x1d9f0f);},'RVwOu':function(_0x19c564,_0x5493dd){return _0x19c564===_0x5493dd;},'VDCsX':_0x4bc2e7(0x1c8,'CDcJ'),'NyOwb':'babel_runtime','XilEt':function(_0x290c65,_0x13a76e,_0x491a47){return _0x290c65(_0x13a76e,_0x491a47);},'AzMBF':'warn','hnxbS':_0x4bc2e7(0x253,'YwT2'),'oNcMW':function(_0x13b815,_0x1209cb){return _0x13b815+_0x1209cb;}},_0x2a5ea3=_0x2b307d['root']?path2[_0x52e232(0x1ab,'Mhpw')](_0x1bb052,_0x2b307d['root']):_0x1bb052,_0x36171d=_0x2b307d[_0x52e232(0x251,'cmRE')]?path2['join'](_0x5e15ee,_0x2b307d[_0x4bc2e7(0x233,'2c&]')]):_0x5e15ee;if(!fs2['existsSync'](_0x2a5ea3))return _0x5ae8d9[_0x52e232(0x1b0,'EI2x')](_0x5302a2,_0x52e232(0x230,'@U&r'),'[packager]\x20Package\x20\x22'+(_0x2b307d['name']||_0x52e232(0x298,'3xr@'))+_0x52e232(0x2d4,'CDcJ')+_0x2a5ea3),{'name':_0x2b307d[_0x4bc2e7(0x19c,'*b8r')],'root':_0x2b307d[_0x4bc2e7(0x28a,'E51F')],'entry':_0x2b307d[_0x52e232(0x28c,'b2Gu')],'modules':0x0,'assets':0x0,'helpers':0x0,'scripts':0x0};fs2['mkdirSync'](_0x36171d,{'recursive':!0x0});const _0x42f6fe=[];_0x5ae8d9[_0x52e232(0x1e2,'b37L')](walkFiles,_0x2a5ea3,'',_0xc111b,_0x42f6fe);const _0x3a49c7=[];let _0x5ee33c=0x0;for(const _0x499b1a of _0x42f6fe)/\.(?:js|mjs|cjs)$/[_0x52e232(0x2ba,'2c&]')](_0x499b1a)?_0x3a49c7[_0x52e232(0x25d,'E51F')](_0x499b1a):(copyFile(path2[_0x52e232(0x29c,'3mUu')](_0x2a5ea3,_0x499b1a),path2[_0x52e232(0x1e0,'Pd1x')](_0x36171d,_0x499b1a)),_0x5ee33c++);const _0x5e4d13=path2[_0x4bc2e7(0x1d1,'z$HI')](_0x2a5ea3,_0x2b307d['entry']);let _0xbf42b4=!0x1;if(fs2[_0x52e232(0x198,'YwT2')](_0x5e4d13)){const _0x446a21=fs2[_0x4bc2e7(0x1c3,'vMPH')](_0x5e4d13,_0x5ae8d9[_0x4bc2e7(0x283,'dhmR')]);if(_0x5ae8d9['LDpcb'](isSelfBootstrappingEntry,_0x446a21,_0x2b307d[_0x4bc2e7(0x26d,'gFoK')])){_0xbf42b4=!0x0;const _0xfdd33e=path2['join'](_0x36171d,_0x2b307d[_0x4bc2e7(0x21d,'k)ph')]);fs2['mkdirSync'](path2['dirname'](_0xfdd33e),{'recursive':!0x0}),fs2[_0x4bc2e7(0x286,'b2Gu')](_0xfdd33e,_0x446a21,'utf-8'),_0x5ae8d9['abIIt'](_0x5302a2,_0x52e232(0x2af,'cmRE'),_0x4bc2e7(0x216,'8Xt$')+(_0x2b307d[_0x4bc2e7(0x1dd,'x4L!')]||_0x4bc2e7(0x241,'7dc)'))+')\x20entry\x20\x22'+_0x2b307d[_0x4bc2e7(0x208,'@U&r')]+'\x22\x20is\x20a\x20self-bootstrapping\x20CI\x20bundle\x20—\x20copied\x20verbatim,\x20no\x20re-wrapping.');}}const _0x35a941=new Set(),_0x48018c=[];let _0x300880=0x0,_0xcb6727=0x0;for(const _0x4fb5c6 of _0x3a49c7){const _0xf38fa7=path2[_0x52e232(0x22b,']@mL')](_0x2a5ea3,_0x4fb5c6),_0x4fd248=fs2[_0x4bc2e7(0x206,'lzIx')](_0xf38fa7,_0x5ae8d9['XrEIR']),_0x17143b=_0x5ae8d9[_0x4bc2e7(0x288,'8Xt$')](_0x4fb5c6,_0x2b307d[_0x52e232(0x27e,'dhmR')]);if(_0x5ae8d9[_0x4bc2e7(0x2a9,'x4L!')](_0x17143b,_0xbf42b4))continue;if(!_0x17143b&&isSystemJsCarrier(_0x4fd248)){copyFile(_0xf38fa7,path2[_0x4bc2e7(0x1ae,'YwT2')](_0x36171d,_0x4fb5c6)),_0x300880++;for(const _0x2e5be2 of _0x5ae8d9[_0x52e232(0x290,'[2cE')](extractBabelRuntimeRequires,_0x4fd248))_0x35a941['add'](_0x2e5be2);continue;}const _0x302077=_0x4fb5c6[_0x52e232(0x246,'E51F')]('/')[0x0];if(_0x5ae8d9[_0x4bc2e7(0x260,'lzIx')](_0x5ae8d9['VDCsX'],_0x302077)||_0x5ae8d9[_0x52e232(0x2bf,'dhmR')]===_0x302077){_0x48018c[_0x52e232(0x255,'##dz')](wrapAsDefine(_0x4fb5c6,_0x4fd248)),_0xcb6727++;for(const _0x3389a9 of extractBabelRuntimeRequires(_0x4fd248))_0x35a941[_0x4bc2e7(0x2d2,'L^^K')](_0x3389a9);continue;}const {code:_0x6f52ef,helpers:_0xbfe90f}=transformJs(_0x4fd248,_0x4fb5c6,_0x384e47,_0x2b307d[_0x52e232(0x29e,'##dz')],_0x5302a2);for(const _0x20a170 of _0xbfe90f)_0x35a941[_0x4bc2e7(0x25c,'t!ix')](_0x20a170);_0x48018c[_0x4bc2e7(0x262,'L^^K')](wrapAsDefine(_0x4fb5c6,_0x6f52ef)),_0xcb6727++;}const _0x2ecc91=materialiseHelpers(_0x35a941,_0x384e47,_0x2b307d[_0x52e232(0x1fb,'t!ix')]);for(const _0x235567 of _0x2ecc91)_0x48018c[_0x52e232(0x1a0,'Mhpw')](_0x5ae8d9['XilEt'](wrapAsDefine,_0x235567[_0x52e232(0x2d3,'8Xt$')],_0x235567['source']));if(_0xbf42b4)(_0x48018c['length']>0x0||_0x2ecc91['length']>0x0)&&_0x5302a2(_0x5ae8d9['AzMBF'],'[packager]\x20('+(_0x2b307d[_0x4bc2e7(0x1c6,'1rkQ')]||_0x4bc2e7(0x281,'dhmR'))+')\x20entry\x20is\x20self-bootstrapping\x20but\x20found\x20'+_0xcb6727+'\x20extra\x20module(s)\x20and\x20'+_0x2ecc91[_0x4bc2e7(0x272,'vfKW')]+'\x20helper(s)\x20that\x20will\x20be\x20ignored.\x20Remove\x20them\x20from\x20the\x20package\x20or\x20remove\x20the\x20trailing\x20require(\x22'+_0x2b307d[_0x4bc2e7(0x2b1,'L^^K')]+_0x4bc2e7(0x2b7,'dhmR'));else{if(_0x52e232(0x215,'Un)d')===_0x52e232(0x2d0,'gFoK')){const _0x246054=_0x4bc2e7(0x25a,'J%DV')+(_0x2b307d[_0x52e232(0x2ac,'3mUu')]||_0x5ae8d9[_0x4bc2e7(0x287,'b37L')])+_0x52e232(0x1a8,'E51F')+_0xcb6727+_0x52e232(0x235,'lzIx')+_0x300880+_0x4bc2e7(0x1bb,'b37L')+_0x2ecc91['length']+'\x20helper(s)\x0a',_0x5e3b9a=_0x52e232(0x219,'8Xt$')+JSON['stringify'](_0x2b307d[_0x4bc2e7(0x259,'z$HI')])+');\x0a',_0x381dff=_0x5ae8d9['oNcMW'](_0x246054+_0x48018c[_0x52e232(0x1e0,'Pd1x')](''),_0x5e3b9a),_0xf1a741=path2[_0x4bc2e7(0x21a,'vMPH')](_0x36171d,_0x2b307d[_0x52e232(0x1eb,'St1)')]);fs2['mkdirSync'](path2[_0x52e232(0x2cb,'vV#&')](_0xf1a741),{'recursive':!0x0}),fs2['writeFileSync'](_0xf1a741,_0x381dff,'utf-8');}else{const _0x522fb8=_0x24c193[_0x52e232(0x199,'q0CZ')]('System.register(');if(_0x522fb8<0x0)return!0x1;const _0x11fa35=_0x5593b0['indexOf'](_0x52e232(0x25b,'3mUu'));return _0x5ae8d9[_0x4bc2e7(0x24e,'[2cE')](_0x11fa35,0x0)||_0x5ae8d9[_0x52e232(0x1d6,'Fsp7')](_0x522fb8,_0x11fa35);}}return _0x5302a2(_0x4bc2e7(0x229,'lzIx'),_0x52e232(0x1c9,'YwT2')+(_0x2b307d['name']||_0x4bc2e7(0x1e3,'b2Gu'))+')\x20'+(_0xbf42b4?'entry\x20passthrough\x20('+_0x5ee33c+_0x52e232(0x1d5,'[]KN'):_0xcb6727+'\x20bundled,\x20'+_0x300880+_0x4bc2e7(0x1da,'Olyx')+_0x2ecc91[_0x52e232(0x272,'vfKW')]+'\x20helpers,\x20'+_0x5ee33c+'\x20assets')),{'name':_0x2b307d['name'],'root':_0x2b307d[_0x52e232(0x276,'Fsp7')],'entry':_0x2b307d[_0x4bc2e7(0x264,'EI2x')],'modules':_0xcb6727,'assets':_0x5ee33c,'helpers':_0x2ecc91['length'],'scripts':_0x300880};}function _0x2eff(_0x4d3b9b,_0x38600d){_0x4d3b9b=_0x4d3b9b-0x191;const _0x5a6307=_0x5a63();let _0x2efff5=_0x5a6307[_0x4d3b9b];if(_0x2eff['qiTHnr']===undefined){var _0x1e1421=function(_0x1b5de5){const _0x4388a0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x391e85='',_0x592cec='';for(let _0x5e14db=0x0,_0x42d845,_0x49a6a0,_0x2ab50c=0x0;_0x49a6a0=_0x1b5de5['charAt'](_0x2ab50c++);~_0x49a6a0&&(_0x42d845=_0x5e14db%0x4?_0x42d845*0x40+_0x49a6a0:_0x49a6a0,_0x5e14db++%0x4)?_0x391e85+=String['fromCharCode'](0xff&_0x42d845>>(-0x2*_0x5e14db&0x6)):0x0){_0x49a6a0=_0x4388a0['indexOf'](_0x49a6a0);}for(let _0xc0defe=0x0,_0x470773=_0x391e85['length'];_0xc0defe<_0x470773;_0xc0defe++){_0x592cec+='%'+('00'+_0x391e85['charCodeAt'](_0xc0defe)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x592cec);};const _0x4fbe71=function(_0x2c1457,_0x11b7f2){let _0x4f9038=[],_0x1de4bc=0x0,_0xfc5acb,_0x1a09e2='';_0x2c1457=_0x1e1421(_0x2c1457);let _0x2b58c8;for(_0x2b58c8=0x0;_0x2b58c8<0x100;_0x2b58c8++){_0x4f9038[_0x2b58c8]=_0x2b58c8;}for(_0x2b58c8=0x0;_0x2b58c8<0x100;_0x2b58c8++){_0x1de4bc=(_0x1de4bc+_0x4f9038[_0x2b58c8]+_0x11b7f2['charCodeAt'](_0x2b58c8%_0x11b7f2['length']))%0x100,_0xfc5acb=_0x4f9038[_0x2b58c8],_0x4f9038[_0x2b58c8]=_0x4f9038[_0x1de4bc],_0x4f9038[_0x1de4bc]=_0xfc5acb;}_0x2b58c8=0x0,_0x1de4bc=0x0;for(let _0x4daceb=0x0;_0x4daceb<_0x2c1457['length'];_0x4daceb++){_0x2b58c8=(_0x2b58c8+0x1)%0x100,_0x1de4bc=(_0x1de4bc+_0x4f9038[_0x2b58c8])%0x100,_0xfc5acb=_0x4f9038[_0x2b58c8],_0x4f9038[_0x2b58c8]=_0x4f9038[_0x1de4bc],_0x4f9038[_0x1de4bc]=_0xfc5acb,_0x1a09e2+=String['fromCharCode'](_0x2c1457['charCodeAt'](_0x4daceb)^_0x4f9038[(_0x4f9038[_0x2b58c8]+_0x4f9038[_0x1de4bc])%0x100]);}return _0x1a09e2;};_0x2eff['rmgJxQ']=_0x4fbe71,_0x2eff['wyBkVK']={},_0x2eff['qiTHnr']=!![];}const _0x3cc3cf=_0x5a6307[0x0],_0xeb44dc=_0x4d3b9b+_0x3cc3cf,_0x2d63bd=_0x2eff['wyBkVK'][_0xeb44dc];return!_0x2d63bd?(_0x2eff['igeFfz']===undefined&&(_0x2eff['igeFfz']=!![]),_0x2efff5=_0x2eff['rmgJxQ'](_0x2efff5,_0x38600d),_0x2eff['wyBkVK'][_0xeb44dc]=_0x2efff5):_0x2efff5=_0x2d63bd,_0x2efff5;}function packageGameToDir(_0x3211d7,_0x37841f,_0x18ebf4){const _0x54f31f=_0x1c36a3,_0x21b8d0=_0x1c36a3,_0x37b695={'VBSwG':'ZZzQa','MCAYi':'error','YvgRy':function(_0x31d397,_0x15f181){return _0x31d397 instanceof _0x15f181;},'Gzfmz':_0x54f31f(0x291,'CDcJ'),'QQcpR':function(_0x5b8170,_0xc3305e){return _0x5b8170(_0xc3305e);},'sNzwN':function(_0x3d027f,_0x14c751){return _0x3d027f!==_0x14c751;},'DQASN':_0x21b8d0(0x193,'A1de'),'zYsdS':'jWqlG','PWkfd':'BIgpk','HfIIN':_0x54f31f(0x26b,'gFoK')},_0x4ef22a=Date[_0x21b8d0(0x2a0,'vV#&')](),_0x5e178f=_0x18ebf4??((_0x2ab773,_0x56f514)=>{const _0x3d9067=_0x54f31f,_0x594056=_0x21b8d0,_0x5bef3b={'bdPcM':_0x3d9067(0x1d9,'Un)d')};if(_0x594056(0x1d4,'z$HI')===_0x37b695[_0x3d9067(0x2b5,'@gQO')]){const _0x17fda5='string'==typeof _0x267d6a['root']?_0x3d08ff['root']:'',name='string'==typeof _0x50ca7f[_0x3d9067(0x1e6,'L^^K')]?_0x39cf9f['name']:_0x17fda5,_0x220da3=_0x39cc28(_0x17fda5);_0x220da3&&_0x4b9eff['push']({'name':name,'root':_0x220da3,'entry':_0x5bef3b[_0x594056(0x22d,'Olyx')]});}else _0x37b695[_0x3d9067(0x1b6,'[2cE')]===_0x2ab773?console['error'](_0x56f514):_0x594056(0x1f0,']@mL')===_0x2ab773?console[_0x3d9067(0x19e,'##dz')](_0x56f514):console[_0x3d9067(0x2a8,'wh7L')](_0x56f514);});if(_0x5e178f(_0x37b695[_0x21b8d0(0x211,'3mUu')],_0x21b8d0(0x1a2,'vfKW')+_0x3211d7+_0x21b8d0(0x2bd,'7l!m')+_0x37841f),!fs2[_0x54f31f(0x1f2,'EI2x')](path2[_0x21b8d0(0x195,'a&gD')](_0x3211d7,'game.js')))throw new Error('[packager]\x20Entry\x20file\x20not\x20found:\x20'+path2['join'](_0x3211d7,'game.js'));fs2['rmSync'](_0x37841f,{'recursive':!0x0,'force':!0x0}),fs2[_0x54f31f(0x1bf,'V#Uf')](_0x37841f,{'recursive':!0x0});for(const name of[_0x21b8d0(0x269,'GJlk'),_0x54f31f(0x19f,'Pd1x'),'project.private.config.json',_0x21b8d0(0x237,'y7j3')]){const _0x34444f=path2['join'](_0x3211d7,name);fs2[_0x54f31f(0x26a,'Olyx')](_0x34444f)&©File(_0x34444f,path2[_0x54f31f(0x29c,'3mUu')](_0x37841f,name));}const _0x17725d=_0x37b695[_0x54f31f(0x1f9,'*b8r')](discoverPackages,_0x3211d7),_0x1c4b0d=new Set(_0x17725d['filter'](_0x557c99=>''!==_0x557c99['root'])[_0x54f31f(0x1b5,'3xr@')](_0x3277d3=>_0x3277d3[_0x21b8d0(0x1ad,'(%Mn')])),_0x168849=[],_0x2db54a=[];for(const _0x325c58 of _0x17725d){if(_0x37b695['sNzwN'](_0x37b695[_0x54f31f(0x20d,'J%DV')],_0x37b695['zYsdS'])){const _0x281948=''===_0x325c58[_0x54f31f(0x1d8,'J%DV')]?_0x1c4b0d:new Set();try{if(_0x37b695[_0x21b8d0(0x23d,'Un)d')]!=='nZwNS')_0x2db54a[_0x54f31f(0x2c4,'y7j3')](packOnePackage(_0x3211d7,_0x37841f,_0x325c58,_0x281948,_0x168849,_0x5e178f));else{const _0x543880=_0x37b695['YvgRy'](_0x51118e,_0x4c9551)?_0x197c91[_0x21b8d0(0x1e9,'3mUu')]:_0x5e322b(_0x5bdada),_0x395d78=_0x37b695[_0x21b8d0(0x1ee,'##dz')](_0x436a0d,_0x13366c)?_0x3eea8e['stack']:void 0x0;_0x2c0f0b['postMessage']({'kind':_0x37b695['MCAYi'],'id':_0x16425a,'message':_0x543880,'stack':_0x395d78});}}catch(_0x3cdcfa){const _0x268101=_0x37b695[_0x54f31f(0x1df,'Olyx')](_0x3cdcfa,Error)?_0x3cdcfa[_0x54f31f(0x213,'gFoK')]:String(_0x3cdcfa);throw _0x5e178f('error',_0x54f31f(0x267,'t!ix')+(_0x325c58[_0x21b8d0(0x1f7,'vV#&')]||_0x21b8d0(0x2a6,'wh7L'))+_0x54f31f(0x1dc,'EI2x')+_0x268101),_0x168849[_0x21b8d0(0x1a9,'dhmR')]({'pkg':_0x325c58[_0x54f31f(0x2be,'Di*i')],'file':_0x37b695[_0x21b8d0(0x239,'3xr@')],'level':'error','message':_0x268101}),_0x3cdcfa;}}else{const {setCiDepsDir:_0x28c828}=(_0x2dc691(),_0x2fc5a0(_0x2fcbcb));_0x28c828(_0x3d612e);}}const _0x358fc1=Date[_0x54f31f(0x252,'3mUu')]()-_0x4ef22a,_0x528b79=_0x2db54a[_0x54f31f(0x1ba,'7dc)')]((_0x2082f7,_0x299dd0)=>_0x2082f7+_0x299dd0['modules'],0x0),_0x274b6b=_0x2db54a[_0x54f31f(0x29b,'z$HI')]((_0x4a9136,_0x13fc6a)=>_0x4a9136+_0x13fc6a[_0x54f31f(0x256,'(%Mn')],0x0),_0x155e98=_0x2db54a[_0x54f31f(0x29b,'z$HI')]((_0x37939a,_0x5d212b)=>_0x37939a+_0x5d212b[_0x54f31f(0x24a,'1rkQ')],0x0),_0x30117d=_0x2db54a[_0x21b8d0(0x263,'3xr@')]((_0x41fc3f,_0x316fef)=>_0x41fc3f+_0x316fef[_0x21b8d0(0x2c7,'Di*i')],0x0);return _0x5e178f(_0x21b8d0(0x257,'iFJJ'),'[packager]\x20Done\x20in\x20'+_0x358fc1+'ms\x20—\x20'+_0x2db54a['length']+'\x20package(s),\x20'+_0x528b79+'\x20bundled\x20module(s),\x20'+_0x30117d+'\x20standalone\x20script(s),\x20'+_0x274b6b+_0x54f31f(0x1f5,'iFJJ')+_0x155e98+'\x20helper(s)'),{'packages':_0x2db54a,'diagnostics':_0x168849,'elapsed':_0x358fc1};}if(import_worker_threads[_0x4ec9c3(0x1e1,'dhmR')]){const e=import_worker_threads[_0x4ec9c3(0x26c,'vfKW')];e['on'](_0x1c36a3(0x2ce,'z$HI'),_0x127f24=>{const _0x50e605=_0x1c36a3,_0x2acefa=_0x1c36a3,_0x227cc4={'JJbug':function(_0x2b813f){return _0x2b813f();},'toINH':function(_0x34d42b,_0x4809e3){return _0x34d42b(_0x4809e3);},'hIlkc':_0x50e605(0x2c9,'@gQO'),'AtHLw':function(_0x164866,_0x1f0a46){return _0x164866 instanceof _0x1f0a46;}};if(!_0x127f24||'run'!==_0x127f24[_0x50e605(0x23c,'2c&]')])return;const {id:_0x1ed2a2,gameDir:_0x3bfd94,outputDir:_0x361aca,ciDepsDir:_0x3fd63b}=_0x127f24;if(_0x3fd63b){const {setCiDepsDir:_0x150564}=(_0x227cc4[_0x2acefa(0x21f,'Olyx')](init_ci_installer),_0x227cc4['toINH'](__toCommonJS,ci_installer_exports));_0x150564(_0x3fd63b);}const _0x5788da=(_0x2096f9,_0xf48903)=>{const _0x37cb47=_0x2acefa,_0x234e30=_0x50e605;e[_0x37cb47(0x2c3,'7dc)')]({'kind':_0x37cb47(0x25e,'2c&]'),'id':_0x1ed2a2,'level':_0x2096f9,'message':_0xf48903});};try{const _0x390384=packageGameToDir(_0x3bfd94,_0x361aca,_0x5788da);e['postMessage']({'kind':_0x227cc4[_0x50e605(0x1a6,'Mhpw')],'id':_0x1ed2a2,'result':_0x390384});}catch(_0xc58dbf){const _0x561003=_0x227cc4['AtHLw'](_0xc58dbf,Error)?_0xc58dbf[_0x50e605(0x2b9,'7l!m')]:String(_0xc58dbf),_0x49614c=_0xc58dbf instanceof Error?_0xc58dbf['stack']:void 0x0;e['postMessage']({'kind':'error','id':_0x1ed2a2,'message':_0x561003,'stack':_0x49614c});}});}else console[_0x1c36a3(0x20f,'7dc)')]('[game-bundler-worker]\x20Loaded\x20outside\x20a\x20worker_threads\x20context\x20—\x20doing\x20nothing.');
|