jjb-cmd 2.1.6 → 2.1.8

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 CHANGED
@@ -1,6 +1,14 @@
1
1
  <h1>重庆市建教帮科技有限公司-前端脚手架</h1>
2
2
  <h3>更新日志:</h3>
3
3
  <ul>
4
+ <li>
5
+ <p>2.1.8</p>
6
+ <div>增加auth登录授权-push java</div>
7
+ </li>
8
+ <li>
9
+ <p>2.1.7</p>
10
+ <div>增加auth登录授权</div>
11
+ </li>
4
12
  <li>
5
13
  <p>2.1.6</p>
6
14
  <div>增加push组件日志</div>
package/bin/command.js CHANGED
@@ -58,6 +58,11 @@ commander.command('link').option('-A').description('-- 创建符号链接').acti
58
58
  r1.on('close', () => process.exit(0));
59
59
  });
60
60
 
61
+ // auth 命令
62
+ commander.command('auth [args]').description('-- 授权').action(args => {
63
+ require('../src/new/cmd.auth/index.js')(process.argv.splice(3));
64
+ });
65
+
61
66
  // publish 命令
62
67
  commander.command('push [args]').description('-- 发布包').action(args => {
63
68
  if (args) {
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
- "version": "2.1.6",
3
+ "use": "no",
4
+ "version": "2.1.8",
4
5
  "description": "jjb脚手架工具",
5
6
  "main": "index.js",
6
7
  "scripts": {
@@ -0,0 +1 @@
1
+ function a0_0x3280(_0x34305f,_0x5891df){const _0x32c6cf=a0_0x32c6();return a0_0x3280=function(_0x328038,_0x348c89){_0x328038=_0x328038-0xf5;let _0x32aab8=_0x32c6cf[_0x328038];return _0x32aab8;},a0_0x3280(_0x34305f,_0x5891df);}const a0_0x2ea3c8=a0_0x3280;(function(_0x279eaa,_0x176306){const _0x5e9711=a0_0x3280,_0x3b85d7=_0x279eaa();while(!![]){try{const _0x2e3d58=parseInt(_0x5e9711(0x105))/0x1+-parseInt(_0x5e9711(0xfb))/0x2*(-parseInt(_0x5e9711(0xf5))/0x3)+parseInt(_0x5e9711(0x104))/0x4*(-parseInt(_0x5e9711(0xfc))/0x5)+parseInt(_0x5e9711(0x106))/0x6*(-parseInt(_0x5e9711(0xfa))/0x7)+parseInt(_0x5e9711(0x107))/0x8+parseInt(_0x5e9711(0xf8))/0x9+-parseInt(_0x5e9711(0xff))/0xa;if(_0x2e3d58===_0x176306)break;else _0x3b85d7['push'](_0x3b85d7['shift']());}catch(_0x324118){_0x3b85d7['push'](_0x3b85d7['shift']());}}}(a0_0x32c6,0x3aeb0));const axios=require(a0_0x2ea3c8(0xf6)),fs=require('fs'),path=require('path'),{API_HOST}=require(a0_0x2ea3c8(0x108));module['exports']=_0x5f04af=>{const _0x2c7a82=a0_0x2ea3c8;console['log'](_0x5f04af);const [_0x4b7fe6,_0x248145]=_0x5f04af;axios[_0x2c7a82(0x10d)](API_HOST+_0x2c7a82(0xfe),{'username':_0x4b7fe6,'password':_0x248145})[_0x2c7a82(0xf9)](_0xb7056d=>{const _0x3cf770=_0x2c7a82,_0x32ed92=path[_0x3cf770(0x100)](__dirname,_0x3cf770(0x103));_0xb7056d[_0x3cf770(0x101)][_0x3cf770(0x109)]?(console[_0x3cf770(0x102)]('Auth\x20Success!'),fs[_0x3cf770(0xfd)](_0x32ed92,_0x4b7fe6+'/'+_0x248145)):(console[_0x3cf770(0x102)](_0x3cf770(0xf7)),fs[_0x3cf770(0x10a)](_0x32ed92)&&fs['unlinkSync'](_0x32ed92));})[_0x2c7a82(0x10c)](_0xddcc69=>{const _0x3da5bd=_0x2c7a82;console[_0x3da5bd(0x102)](_0x3da5bd(0x10b));});};function a0_0x32c6(){const _0x17799c=['2994SxXHKn','axios','Auth\x20Fail!','4049019PWuvkt','then','117446YdZppz','110eVpbhY','655aUQxDT','writeFileSync','/api/auth','7414330tGulVI','join','data','log','../../../.auth','1532zvjNjg','426639PTFwet','114fpXnFk','3362368oRoWpV','../cmd.install/config','status','existsSync','Auth\x20NetWork\x20Fail!','catch','post'];a0_0x32c6=function(){return _0x17799c;};return a0_0x32c6();}
@@ -1 +1 @@
1
- function a0_0x33c1(){const _0x50c304=['compressing','zip','uncompress','pipe','&ref=master','58579623wbNCty','../../old/util','path','12gPxiSg','token','33iFmCpM','forEach','/repository/archive.zip?private_token=','2098089BYEQmC','不存在。','mkdirSync','close','87786BdiMIS','log','tmpdir','../cmd.install/config','5923812liweHj','DeleteDirAllFile','exit','then','/unzip/','/api/v4/projects/','4541193uNuRSm','.zip','readdirSync','CopyFolder','12053752PfvpuY','indexOf','projectId','createWriteStream','resolve','703995VlMyzl'];a0_0x33c1=function(){return _0x50c304;};return a0_0x33c1();}function a0_0x1aa7(_0x5e966b,_0x3fb0a9){const _0x33c16d=a0_0x33c1();return a0_0x1aa7=function(_0x1aa71b,_0x2607b9){_0x1aa71b=_0x1aa71b-0x1ba;let _0x21717a=_0x33c16d[_0x1aa71b];return _0x21717a;},a0_0x1aa7(_0x5e966b,_0x3fb0a9);}const a0_0x83c7e7=a0_0x1aa7;(function(_0x14db20,_0x7f078e){const _0x12cbf6=a0_0x1aa7,_0x218668=_0x14db20();while(!![]){try{const _0x6285ca=parseInt(_0x12cbf6(0x1ba))/0x1*(-parseInt(_0x12cbf6(0x1c1))/0x2)+-parseInt(_0x12cbf6(0x1cb))/0x3+parseInt(_0x12cbf6(0x1dd))/0x4*(-parseInt(_0x12cbf6(0x1d4))/0x5)+-parseInt(_0x12cbf6(0x1c5))/0x6+parseInt(_0x12cbf6(0x1bd))/0x7+-parseInt(_0x12cbf6(0x1cf))/0x8+parseInt(_0x12cbf6(0x1da))/0x9;if(_0x6285ca===_0x7f078e)break;else _0x218668['push'](_0x218668['shift']());}catch(_0x577338){_0x218668['push'](_0x218668['shift']());}}}(a0_0x33c1,0xe30a4));const path=require(a0_0x83c7e7(0x1dc)),{f_file_copy}=require('../cmd.install/tools'),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a0_0x83c7e7(0x1c4)),fs=require('fs'),os=require('os'),utils=require(a0_0x83c7e7(0x1db)),request=require('request'),compressing=require(a0_0x83c7e7(0x1d5));module['exports']=_0x57d1ee=>{const _0x411493=a0_0x83c7e7,_0x36bd8b=path[_0x411493(0x1d3)]('./'),_0x510733=CLOUD_PROJECT[_0x57d1ee]||undefined;if(_0x510733){const _0x4849dd=os[_0x411493(0x1c3)](),_0x1532a0=_0x4849dd+'/'+GIT_TEMP_DIR+'/'+_0x57d1ee+_0x411493(0x1cc),_0x48c9fc=_0x4849dd+'/'+GIT_TEMP_DIR+_0x411493(0x1c9);utils[_0x411493(0x1c6)](_0x4849dd+'/'+GIT_TEMP_DIR,()=>{const _0x334214=_0x411493;fs[_0x334214(0x1bf)](_0x4849dd+'/'+GIT_TEMP_DIR);let _0x6f601c=fs[_0x334214(0x1d2)](_0x1532a0);request(GIT_HOST+_0x334214(0x1ca)+_0x510733[_0x334214(0x1d1)]+_0x334214(0x1bc)+_0x510733[_0x334214(0x1de)]+_0x334214(0x1d9))[_0x334214(0x1d8)](_0x6f601c)['on'](_0x334214(0x1c0),()=>{const _0xaf03da=_0x334214;fs[_0xaf03da(0x1bf)](_0x48c9fc),compressing[_0xaf03da(0x1d6)][_0xaf03da(0x1d7)](_0x1532a0,_0x48c9fc)[_0xaf03da(0x1c8)](()=>{setTimeout(()=>{const _0x5dfea=a0_0x1aa7;fs[_0x5dfea(0x1cd)](_0x48c9fc)[_0x5dfea(0x1bb)](_0x553c2b=>{const _0x4e0d7a=_0x5dfea;_0x553c2b[_0x4e0d7a(0x1d0)]('-master-')!==-0x1&&utils[_0x4e0d7a(0x1ce)](_0x48c9fc+_0x553c2b,_0x36bd8b,()=>{const _0x2cfc53=_0x4e0d7a;console['log']('初始化完成!'),process[_0x2cfc53(0x1c7)](0x0);});});},0x7d0);});});});}else console[_0x411493(0x1c2)]('【Error】:初始化失败,'+_0x57d1ee+_0x411493(0x1be));};
1
+ const a1_0x4edd74=a1_0x2fa8;(function(_0x5e8d5d,_0x446783){const _0x2f49d5=a1_0x2fa8,_0x2a0df7=_0x5e8d5d();while(!![]){try{const _0x50b55e=parseInt(_0x2f49d5(0x1b9))/0x1*(-parseInt(_0x2f49d5(0x1b8))/0x2)+-parseInt(_0x2f49d5(0x1ca))/0x3*(-parseInt(_0x2f49d5(0x1cf))/0x4)+-parseInt(_0x2f49d5(0x1d2))/0x5*(parseInt(_0x2f49d5(0x1c3))/0x6)+-parseInt(_0x2f49d5(0x1b4))/0x7*(parseInt(_0x2f49d5(0x1b1))/0x8)+-parseInt(_0x2f49d5(0x1c9))/0x9*(parseInt(_0x2f49d5(0x1bc))/0xa)+-parseInt(_0x2f49d5(0x1b2))/0xb*(parseInt(_0x2f49d5(0x1b5))/0xc)+parseInt(_0x2f49d5(0x1c5))/0xd;if(_0x50b55e===_0x446783)break;else _0x2a0df7['push'](_0x2a0df7['shift']());}catch(_0x1393b4){_0x2a0df7['push'](_0x2a0df7['shift']());}}}(a1_0x2a8b,0x4dbdd));function a1_0x2fa8(_0x11a419,_0x1e0afb){const _0x2a8b88=a1_0x2a8b();return a1_0x2fa8=function(_0x2fa8c3,_0x9aa898){_0x2fa8c3=_0x2fa8c3-0x1ab;let _0x1dc88f=_0x2a8b88[_0x2fa8c3];return _0x1dc88f;},a1_0x2fa8(_0x11a419,_0x1e0afb);}const path=require(a1_0x4edd74(0x1b7)),{f_file_copy}=require(a1_0x4edd74(0x1d3)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require('../cmd.install/config'),fs=require('fs'),os=require('os'),utils=require(a1_0x4edd74(0x1c4)),request=require(a1_0x4edd74(0x1af)),compressing=require(a1_0x4edd74(0x1ae));module['exports']=_0x1b8161=>{const _0x24567d=a1_0x4edd74,_0x2bab6f=path['resolve']('./'),_0x1c4e31=CLOUD_PROJECT[_0x1b8161]||undefined;if(_0x1c4e31){const _0x94ca03=os[_0x24567d(0x1c2)](),_0x29fdc3=_0x94ca03+'/'+GIT_TEMP_DIR+'/'+_0x1b8161+_0x24567d(0x1c0),_0x5dcf9f=_0x94ca03+'/'+GIT_TEMP_DIR+_0x24567d(0x1cd);utils[_0x24567d(0x1bd)](_0x94ca03+'/'+GIT_TEMP_DIR,()=>{const _0x393dcc=_0x24567d;fs[_0x393dcc(0x1ba)](_0x94ca03+'/'+GIT_TEMP_DIR);let _0x48f616=fs['createWriteStream'](_0x29fdc3);request(GIT_HOST+_0x393dcc(0x1ce)+_0x1c4e31[_0x393dcc(0x1b0)]+_0x393dcc(0x1c1)+_0x1c4e31[_0x393dcc(0x1b3)]+_0x393dcc(0x1be))[_0x393dcc(0x1b6)](_0x48f616)['on'](_0x393dcc(0x1bb),()=>{const _0x39798e=_0x393dcc;fs[_0x39798e(0x1ba)](_0x5dcf9f),compressing[_0x39798e(0x1bf)][_0x39798e(0x1cc)](_0x29fdc3,_0x5dcf9f)[_0x39798e(0x1d1)](()=>{setTimeout(()=>{const _0x2e4a26=a1_0x2fa8;fs[_0x2e4a26(0x1ab)](_0x5dcf9f)[_0x2e4a26(0x1c8)](_0x29e135=>{const _0x3431f2=_0x2e4a26;_0x29e135['indexOf'](_0x3431f2(0x1c7))!==-0x1&&utils[_0x3431f2(0x1ad)](_0x5dcf9f+_0x29e135,_0x2bab6f,()=>{const _0x316053=_0x3431f2;console[_0x316053(0x1cb)](_0x316053(0x1ac)),process['exit'](0x0);});});},0x7d0);});});});}else console[_0x24567d(0x1cb)](_0x24567d(0x1c6)+_0x1b8161+_0x24567d(0x1d0));};function a1_0x2a8b(){const _0x4fe9dd=['compressing','request','projectId','1648008hKjMzJ','6369627NwvYcu','token','14WStiwW','12mxumyb','pipe','path','552550pEsSja','1XQpGqL','mkdirSync','close','8900rpeoSz','DeleteDirAllFile','&ref=master','zip','.zip','/repository/archive.zip?private_token=','tmpdir','6UbslkW','../../old/util','18733052znmzNr','【Error】:初始化失败,','-master-','forEach','495ZqXLYN','87bGsbQS','log','uncompress','/unzip/','/api/v4/projects/','44456tqeikF','不存在。','then','642985GaVQeM','../cmd.install/tools','readdirSync','初始化完成!','CopyFolder'];a1_0x2a8b=function(){return _0x4fe9dd;};return a1_0x2a8b();}
@@ -1 +1 @@
1
- function a1_0x14e5(){const _0xa879e1=['now','7V-YUxhmh51Mdhgx4rq4','CLOUD_PROJECT','3819234npwaNo','test','hLqARY89CN6fUD3yg4NL','TEMPLATE_FOLDER','5tLcJzb','GIT_HOST','prod','20193hoWaiA','1724616csXmPS','1104408qKJGMq','254nPgrxK','4559310pgCOEm','ywPtT3xCG6b_vAxp6sTj','GIT_TEMP_DIR','http://192.168.1.242:10985','FT3pKzxpRynFkmddJ9Bs','e9njpBd1nS_LREN8GFpR','snBxJ2i5kYarGGcsojhY','dev','jjb-assembly-java','5582104eqAnEM','gPSit8aJsLVmNzuQ5Cy4','661299jkBkre'];a1_0x14e5=function(){return _0xa879e1;};return a1_0x14e5();}const a1_0x559e7f=a1_0xe633;function a1_0xe633(_0x4728cb,_0x3b7329){const _0x14e5cc=a1_0x14e5();return a1_0xe633=function(_0xe6336d,_0x3dac03){_0xe6336d=_0xe6336d-0x71;let _0x15e0f5=_0x14e5cc[_0xe6336d];return _0x15e0f5;},a1_0xe633(_0x4728cb,_0x3b7329);}(function(_0x12f612,_0x5148ce){const _0x29e8d5=a1_0xe633,_0x128bc4=_0x12f612();while(!![]){try{const _0x53bffc=parseInt(_0x29e8d5(0x75))/0x1+-parseInt(_0x29e8d5(0x83))/0x2*(-parseInt(_0x29e8d5(0x80))/0x3)+-parseInt(_0x29e8d5(0x81))/0x4+-parseInt(_0x29e8d5(0x7d))/0x5*(parseInt(_0x29e8d5(0x79))/0x6)+parseInt(_0x29e8d5(0x84))/0x7+-parseInt(_0x29e8d5(0x73))/0x8+parseInt(_0x29e8d5(0x82))/0x9;if(_0x53bffc===_0x5148ce)break;else _0x128bc4['push'](_0x128bc4['shift']());}catch(_0x547755){_0x128bc4['push'](_0x128bc4['shift']());}}}(a1_0x14e5,0x801b2));const os=require('os');exports[a1_0x559e7f(0x7e)]=a1_0x559e7f(0x87),exports[a1_0x559e7f(0x86)]='jjb-assembly-'+Date[a1_0x559e7f(0x76)](),exports['GIT_TEMP_JAVA']=a1_0x559e7f(0x72),exports['GIT_JAVA_ENV_JSON']={'development':a1_0x559e7f(0x71),'production':a1_0x559e7f(0x7f),'test':a1_0x559e7f(0x7a)},exports[a1_0x559e7f(0x78)]={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117},'react-admin-component':{'token':a1_0x559e7f(0x88),'projectId':0x154},'jjb-dva-runtime':{'token':a1_0x559e7f(0x7b),'projectId':0x23b},'jjb-common-lib':{'token':a1_0x559e7f(0x89),'projectId':0x23c},'jjb-common-decorator':{'token':a1_0x559e7f(0x74),'projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153},'react-component':{'token':a1_0x559e7f(0x8a),'projectId':0x33f},'micro-app-ts':{'token':a1_0x559e7f(0x77),'projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a1_0x559e7f(0x85),'projectId':0x33c}},exports[a1_0x559e7f(0x7c)]=os['tmpdir']()+'\x5c'+exports[a1_0x559e7f(0x86)];
1
+ const a2_0x41651d=a2_0x1e13;(function(_0xc878d5,_0x33e4e6){const _0x13f5f4=a2_0x1e13,_0x4ce859=_0xc878d5();while(!![]){try{const _0x1a35f8=parseInt(_0x13f5f4(0x1ff))/0x1*(-parseInt(_0x13f5f4(0x1f4))/0x2)+-parseInt(_0x13f5f4(0x1f5))/0x3+-parseInt(_0x13f5f4(0x1fb))/0x4+-parseInt(_0x13f5f4(0x209))/0x5*(parseInt(_0x13f5f4(0x1fe))/0x6)+parseInt(_0x13f5f4(0x1f1))/0x7+-parseInt(_0x13f5f4(0x208))/0x8+parseInt(_0x13f5f4(0x207))/0x9;if(_0x1a35f8===_0x33e4e6)break;else _0x4ce859['push'](_0x4ce859['shift']());}catch(_0x1abb33){_0x4ce859['push'](_0x4ce859['shift']());}}}(a2_0x211c,0x4e3ce));const os=require('os');function a2_0x1e13(_0x308a0f,_0x35908d){const _0x211cb2=a2_0x211c();return a2_0x1e13=function(_0x1e13ac,_0x40aff0){_0x1e13ac=_0x1e13ac-0x1ed;let _0x3eab79=_0x211cb2[_0x1e13ac];return _0x3eab79;},a2_0x1e13(_0x308a0f,_0x35908d);}function a2_0x211c(){const _0xead052=['GIT_HOST','12762OpoIVO','5IVvRBt','dev','GIT_TEMP_JAVA','gPSit8aJsLVmNzuQ5Cy4','now','http://192.168.1.242:10985','API_HOST','jjb-assembly-java','3625695IzGkvN','813576qSpnEc','695sHyPnR','hLqARY89CN6fUD3yg4NL','tmpdir','ywPtT3xCG6b_vAxp6sTj','http://120.26.210.58:8088','GIT_JAVA_ENV_JSON','snBxJ2i5kYarGGcsojhY','4298924SsYqQj','TEMPLATE_FOLDER','G4HJRsHr9D7Ssmixegw2','87294JJPcWW','114096FCJNDZ','e9njpBd1nS_LREN8GFpR','GIT_TEMP_DIR','CLOUD_PROJECT','FT3pKzxpRynFkmddJ9Bs','test','171632AlBJYV','d4wQ7dzEjYPsgVbKnYei'];a2_0x211c=function(){return _0xead052;};return a2_0x211c();}exports[a2_0x41651d(0x205)]=a2_0x41651d(0x1ee),exports[a2_0x41651d(0x1fd)]=a2_0x41651d(0x204),exports[a2_0x41651d(0x1f7)]='jjb-assembly-'+Date[a2_0x41651d(0x203)](),exports[a2_0x41651d(0x201)]=a2_0x41651d(0x206),exports[a2_0x41651d(0x1ef)]={'development':a2_0x41651d(0x200),'production':'prod','test':a2_0x41651d(0x1fa)},exports[a2_0x41651d(0x1f8)]={'common':{'token':a2_0x41651d(0x1f3),'projectId':0x117},'react-admin-component':{'token':a2_0x41651d(0x1f9),'projectId':0x154},'jjb-dva-runtime':{'token':a2_0x41651d(0x20a),'projectId':0x23b},'jjb-common-lib':{'token':a2_0x41651d(0x1f6),'projectId':0x23c},'jjb-common-decorator':{'token':a2_0x41651d(0x202),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x41651d(0x1fc),'projectId':0x153},'react-component':{'token':a2_0x41651d(0x1f0),'projectId':0x33f},'micro-app-ts':{'token':'7V-YUxhmh51Mdhgx4rq4','projectId':0x33e},'micro-app':{'token':'FqNrmFAgrxasMrbbjvq9','projectId':0x33d},'lib':{'token':a2_0x41651d(0x1ed),'projectId':0x33c}},exports[a2_0x41651d(0x1f2)]=os[a2_0x41651d(0x20b)]()+'\x5c'+exports[a2_0x41651d(0x1f7)];
@@ -1 +1 @@
1
- const a2_0x2d1680=a2_0x1abd;function a2_0x1abd(_0x2ba560,_0x188e5d){const _0x21c58a=a2_0x21c5();return a2_0x1abd=function(_0x1abdc0,_0x1b1291){_0x1abdc0=_0x1abdc0-0x11c;let _0x4ff65b=_0x21c58a[_0x1abdc0];return _0x4ff65b;},a2_0x1abd(_0x2ba560,_0x188e5d);}(function(_0x152a30,_0xe0ae3e){const _0x3074c4=a2_0x1abd,_0x6de3a7=_0x152a30();while(!![]){try{const _0x17f175=parseInt(_0x3074c4(0x145))/0x1*(-parseInt(_0x3074c4(0x149))/0x2)+-parseInt(_0x3074c4(0x14d))/0x3+-parseInt(_0x3074c4(0x126))/0x4+parseInt(_0x3074c4(0x129))/0x5+-parseInt(_0x3074c4(0x121))/0x6+parseInt(_0x3074c4(0x138))/0x7*(-parseInt(_0x3074c4(0x12e))/0x8)+parseInt(_0x3074c4(0x130))/0x9*(parseInt(_0x3074c4(0x127))/0xa);if(_0x17f175===_0xe0ae3e)break;else _0x6de3a7['push'](_0x6de3a7['shift']());}catch(_0xa8d71c){_0x6de3a7['push'](_0x6de3a7['shift']());}}}(a2_0x21c5,0x68770));const fs=require('fs'),path=require('path'),request=require(a2_0x2d1680(0x147)),compressing=require('compressing'),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a2_0x2d1680(0x123)),{TEMPLATE_FOLDER}=require('./config'),start_time=Date[a2_0x2d1680(0x14e)]();module[a2_0x2d1680(0x139)]=()=>{const _0x5a384e=a2_0x2d1680,_0x4547ca=path[_0x5a384e(0x125)]('./'),_0x44f4d6=[_0x4547ca,_0x5a384e(0x137)]['join']('\x5c'),_0x1c0ab0=[_0x4547ca,_0x5a384e(0x12c)][_0x5a384e(0x141)]('\x5c'),_0xa3b824=[_0x4547ca,'package.json']['join']('\x5c');if(f_scan_jjb_config_json(_0x4547ca)){const _0x5d7aee=f_scan_jjb_config_json_rules(_0x4547ca);_0x5d7aee[_0x5a384e(0x12f)]===_0x5a384e(0x12c)?!fs[_0x5a384e(0x142)](_0x1c0ab0)?(console['log'](_0x5a384e(0x13c)),process[_0x5a384e(0x12d)](0x0)):console[_0x5a384e(0x146)](_0x5a384e(0x14b)):!fs[_0x5a384e(0x142)](_0x44f4d6)&&(console['log']('【Error】:安装失败,src目录不存在。'),process[_0x5a384e(0x12d)](0x0));fs[_0x5a384e(0x124)](TEMPLATE_FOLDER),f_pull_git_repository(_0x5d7aee['installResources'])[_0x5a384e(0x135)](_0x2433ed=>{const _0x163827=_0x5a384e,_0x4a1d1a=fs[_0x163827(0x131)](_0x2433ed[_0x163827(0x128)]);request(_0x2433ed[_0x163827(0x136)])[_0x163827(0x143)](_0x4a1d1a)['on'](_0x163827(0x11c),()=>{const _0x333bfa=_0x163827;fs[_0x333bfa(0x124)](_0x2433ed[_0x333bfa(0x150)]),compressing[_0x333bfa(0x122)]['uncompress'](_0x2433ed[_0x333bfa(0x128)],_0x2433ed[_0x333bfa(0x150)]);});});const _0x55ef70=setInterval(()=>{const _0x492fdf=_0x5a384e,_0x31e096=fs[_0x492fdf(0x133)](TEMPLATE_FOLDER),_0x1b55e7=_0x31e096[_0x492fdf(0x120)](_0x1e9af9=>_0x5d7aee[_0x492fdf(0x14c)][_0x492fdf(0x135)](_0x414a6a=>_0x414a6a[_0x492fdf(0x11e)]+_0x492fdf(0x12a))['includes'](_0x1e9af9));if(_0x1b55e7[_0x492fdf(0x11d)]===_0x5d7aee['installResources'][_0x492fdf(0x11d)]){clearInterval(_0x55ef70);const _0xd6d91f=[];_0x1b55e7[_0x492fdf(0x14f)](_0x462489=>{const _0x46dbba=_0x492fdf,_0x8b7277=[TEMPLATE_FOLDER,_0x462489][_0x46dbba(0x141)]('\x5c');fs[_0x46dbba(0x133)](_0x8b7277)[_0x46dbba(0x14f)](_0x4291ba=>_0xd6d91f[_0x46dbba(0x134)]({'name':_0x462489,'path':[_0x8b7277,_0x4291ba][_0x46dbba(0x141)]('\x5c'),'pure_name':_0x462489[_0x46dbba(0x151)](/_zip$/,''),'import_list':_0x5d7aee['installResources'][_0x46dbba(0x140)](_0x1b0879=>_0x1b0879[_0x46dbba(0x11e)]+_0x46dbba(0x12a)===_0x462489)[_0x46dbba(0x13a)]}));}),_0xd6d91f[_0x492fdf(0x14f)](_0x1b9b33=>{const _0x15a561=_0x492fdf,_0x55b1ff=_0x1b9b33['pure_name'],_0x19a431=_0x1b9b33[_0x15a561(0x132)],_0x4f69d1=[_0x1b9b33['path'],'.idea'][_0x15a561(0x141)]('//'),_0x1adc05=[_0x1b9b33[_0x15a561(0x128)],_0x15a561(0x144)][_0x15a561(0x141)]('//');fs['existsSync'](_0x4f69d1)&&(f_rm_rf(_0x4f69d1),fs[_0x15a561(0x14a)](_0x4f69d1));fs[_0x15a561(0x142)](_0x1adc05)&&fs[_0x15a561(0x13e)](_0x1adc05);_0x19a431[_0x15a561(0x11d)]&&fs[_0x15a561(0x133)](_0x1b9b33[_0x15a561(0x128)])[_0x15a561(0x120)](_0x2e71b4=>!_0x19a431['includes'](_0x2e71b4)&&_0x2e71b4!==_0x15a561(0x148)&&_0x2e71b4!==_0x15a561(0x13d))[_0x15a561(0x14f)](_0x3bda8c=>{const _0xc378a9=_0x1b9b33['path']+'\x5c'+_0x3bda8c;f_rm_rf(_0xc378a9),fs['rmdirSync'](_0xc378a9);});if(_0x5d7aee[_0x15a561(0x12f)]===_0x15a561(0x12c)){const _0x2f6842=_0x55b1ff;fs[_0x15a561(0x142)](_0x1c0ab0+'\x5c'+_0x2f6842)?f_rm_rf(_0x1c0ab0+'\x5c'+_0x2f6842):fs[_0x15a561(0x124)](_0x1c0ab0+'\x5c'+_0x2f6842),_0x2f6842!=='jjb-common-lib'?(f_file_copy(_0x1b9b33[_0x15a561(0x128)],_0x1c0ab0+'\x5c'+_0x2f6842),f_create_package_json(_0x1c0ab0+'\x5c'+_0x2f6842,_0x2f6842,_0x15a561(0x12b))):f_file_copy(_0x1b9b33[_0x15a561(0x128)]+'\x5ctypes',_0x1c0ab0+'\x5c'+_0x2f6842),f_update_project_package_json(_0xa3b824,_0x2f6842,_0x15a561(0x12b));}else _0x5d7aee[_0x15a561(0x12f)]===_0x15a561(0x13f)&&(fs[_0x15a561(0x142)](_0x44f4d6+_0x55b1ff)?f_rm_rf(_0x44f4d6+_0x55b1ff):fs[_0x15a561(0x124)](_0x44f4d6+_0x55b1ff),f_file_copy(_0x1b9b33[_0x15a561(0x128)],_0x44f4d6+_0x55b1ff));}),setTimeout(()=>{const _0x2070c3=_0x492fdf;f_rm_rf(TEMPLATE_FOLDER),fs[_0x2070c3(0x14a)](TEMPLATE_FOLDER);const _0x6c58d9=Date['now']();console[_0x2070c3(0x146)](_0x2070c3(0x11f)+(_0x6c58d9-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x5a384e(0x146)](_0x5a384e(0x13b));};function a2_0x21c5(){const _0x307191=['push','map','repository','src\x5c','294xvUsAx','exports','importList','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','【Error】:安装失败,node_modules目录不存在。','setting.json','unlinkSync','src','find','join','existsSync','pipe','.gitignore','96158zHKyNX','log','request','index.js','6MhiuZY','rmdirSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','installResources','1548126SPQxSX','now','forEach','compress','replace','close','length','name','【jjb-cmd】:install命令执行完成,用时','filter','1613634RCnPHv','zip','./tools','mkdirSync','resolve','2736172bWTUpY','267940hOxvie','path','3244930eXEsgX','_zip','1.0.0','node_modules','exit','33984MWBbfl','installTarget','576oYikcU','createWriteStream','import_list','readdirSync'];a2_0x21c5=function(){return _0x307191;};return a2_0x21c5();}
1
+ const a3_0x25a971=a3_0x1921;(function(_0x21b191,_0x33e7d7){const _0x35338b=a3_0x1921,_0x3d34d3=_0x21b191();while(!![]){try{const _0x40bcc0=parseInt(_0x35338b(0x184))/0x1*(-parseInt(_0x35338b(0x167))/0x2)+parseInt(_0x35338b(0x181))/0x3+-parseInt(_0x35338b(0x15f))/0x4*(-parseInt(_0x35338b(0x15d))/0x5)+-parseInt(_0x35338b(0x173))/0x6*(-parseInt(_0x35338b(0x161))/0x7)+parseInt(_0x35338b(0x171))/0x8+parseInt(_0x35338b(0x172))/0x9*(-parseInt(_0x35338b(0x18c))/0xa)+-parseInt(_0x35338b(0x162))/0xb;if(_0x40bcc0===_0x33e7d7)break;else _0x3d34d3['push'](_0x3d34d3['shift']());}catch(_0x118fa3){_0x3d34d3['push'](_0x3d34d3['shift']());}}}(a3_0xe7ac,0xb36d5));function a3_0x1921(_0x564b02,_0x48a948){const _0xe7ace1=a3_0xe7ac();return a3_0x1921=function(_0x192104,_0xd36c37){_0x192104=_0x192104-0x15c;let _0x51c284=_0xe7ace1[_0x192104];return _0x51c284;},a3_0x1921(_0x564b02,_0x48a948);}const fs=require('fs'),path=require('path'),request=require('request'),compressing=require(a3_0x25a971(0x190)),{f_rm_rf,f_file_copy,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a3_0x25a971(0x17e)),{TEMPLATE_FOLDER}=require('./config'),start_time=Date[a3_0x25a971(0x178)]();module[a3_0x25a971(0x183)]=()=>{const _0x591a78=a3_0x25a971,_0x3925ed=path[_0x591a78(0x189)]('./'),_0x5eafae=[_0x3925ed,_0x591a78(0x160)][_0x591a78(0x174)]('\x5c'),_0x3e07ec=[_0x3925ed,_0x591a78(0x16d)][_0x591a78(0x174)]('\x5c'),_0x5df6e4=[_0x3925ed,'package.json'][_0x591a78(0x174)]('\x5c');if(f_scan_jjb_config_json(_0x3925ed)){const _0x1465ad=f_scan_jjb_config_json_rules(_0x3925ed);_0x1465ad['installTarget']==='node_modules'?!fs[_0x591a78(0x175)](_0x3e07ec)?(console[_0x591a78(0x15c)](_0x591a78(0x18f)),process[_0x591a78(0x182)](0x0)):console[_0x591a78(0x15c)](_0x591a78(0x17d)):!fs[_0x591a78(0x175)](_0x5eafae)&&(console[_0x591a78(0x15c)]('【Error】:安装失败,src目录不存在。'),process['exit'](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x1465ad[_0x591a78(0x166)])[_0x591a78(0x164)](_0x1207af=>{const _0x5807da=_0x591a78,_0x41c2ed=fs['createWriteStream'](_0x1207af[_0x5807da(0x18b)]);request(_0x1207af[_0x5807da(0x170)])['pipe'](_0x41c2ed)['on'](_0x5807da(0x17a),()=>{const _0x53011a=_0x5807da;fs[_0x53011a(0x16e)](_0x1207af[_0x53011a(0x15e)]),compressing['zip'][_0x53011a(0x17c)](_0x1207af['path'],_0x1207af['compress']);});});const _0x1f56f4=setInterval(()=>{const _0x100b40=_0x591a78,_0x3d9229=fs[_0x100b40(0x163)](TEMPLATE_FOLDER),_0x5cff1b=_0x3d9229[_0x100b40(0x16c)](_0x670690=>_0x1465ad['installResources'][_0x100b40(0x164)](_0xd3a4bd=>_0xd3a4bd[_0x100b40(0x165)]+'_zip')[_0x100b40(0x18e)](_0x670690));if(_0x5cff1b[_0x100b40(0x18d)]===_0x1465ad[_0x100b40(0x166)][_0x100b40(0x18d)]){clearInterval(_0x1f56f4);const _0x24345a=[];_0x5cff1b[_0x100b40(0x16a)](_0x4f441a=>{const _0x117fc1=_0x100b40,_0x475a34=[TEMPLATE_FOLDER,_0x4f441a][_0x117fc1(0x174)]('\x5c');fs[_0x117fc1(0x163)](_0x475a34)[_0x117fc1(0x16a)](_0x4c4cbb=>_0x24345a[_0x117fc1(0x187)]({'name':_0x4f441a,'path':[_0x475a34,_0x4c4cbb][_0x117fc1(0x174)]('\x5c'),'pure_name':_0x4f441a[_0x117fc1(0x177)](/_zip$/,''),'import_list':_0x1465ad[_0x117fc1(0x166)][_0x117fc1(0x180)](_0x3dc050=>_0x3dc050['name']+_0x117fc1(0x18a)===_0x4f441a)[_0x117fc1(0x16b)]}));}),_0x24345a['forEach'](_0x275d17=>{const _0x47e28b=_0x100b40,_0xd78d55=_0x275d17[_0x47e28b(0x17f)],_0x37a63b=_0x275d17[_0x47e28b(0x186)],_0x3419c6=[_0x275d17[_0x47e28b(0x18b)],'.idea'][_0x47e28b(0x174)]('//'),_0x366136=[_0x275d17[_0x47e28b(0x18b)],_0x47e28b(0x176)][_0x47e28b(0x174)]('//');fs[_0x47e28b(0x175)](_0x3419c6)&&(f_rm_rf(_0x3419c6),fs[_0x47e28b(0x185)](_0x3419c6));fs['existsSync'](_0x366136)&&fs[_0x47e28b(0x179)](_0x366136);_0x37a63b[_0x47e28b(0x18d)]&&fs[_0x47e28b(0x163)](_0x275d17['path'])['filter'](_0xfaac3d=>!_0x37a63b['includes'](_0xfaac3d)&&_0xfaac3d!==_0x47e28b(0x188)&&_0xfaac3d!==_0x47e28b(0x17b))[_0x47e28b(0x16a)](_0x4aba28=>{const _0x317d9c=_0x47e28b,_0x4dc80d=_0x275d17[_0x317d9c(0x18b)]+'\x5c'+_0x4aba28;f_rm_rf(_0x4dc80d),fs[_0x317d9c(0x185)](_0x4dc80d);});if(_0x1465ad['installTarget']===_0x47e28b(0x16d)){const _0x21681a=_0xd78d55;fs[_0x47e28b(0x175)](_0x3e07ec+'\x5c'+_0x21681a)?f_rm_rf(_0x3e07ec+'\x5c'+_0x21681a):fs[_0x47e28b(0x16e)](_0x3e07ec+'\x5c'+_0x21681a),_0x21681a!==_0x47e28b(0x168)?(f_file_copy(_0x275d17[_0x47e28b(0x18b)],_0x3e07ec+'\x5c'+_0x21681a),f_create_package_json(_0x3e07ec+'\x5c'+_0x21681a,_0x21681a,_0x47e28b(0x169))):f_file_copy(_0x275d17[_0x47e28b(0x18b)]+_0x47e28b(0x16f),_0x3e07ec+'\x5c'+_0x21681a),f_update_project_package_json(_0x5df6e4,_0x21681a,_0x47e28b(0x169));}else _0x1465ad['installTarget']==='src'&&(fs[_0x47e28b(0x175)](_0x5eafae+_0xd78d55)?f_rm_rf(_0x5eafae+_0xd78d55):fs['mkdirSync'](_0x5eafae+_0xd78d55),f_file_copy(_0x275d17[_0x47e28b(0x18b)],_0x5eafae+_0xd78d55));}),setTimeout(()=>{const _0x5cf41f=_0x100b40;f_rm_rf(TEMPLATE_FOLDER),fs[_0x5cf41f(0x185)](TEMPLATE_FOLDER);const _0x4e2c1c=Date[_0x5cf41f(0x178)]();console[_0x5cf41f(0x15c)]('【jjb-cmd】:install命令执行完成,用时'+(_0x4e2c1c-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x591a78(0x15c)]('【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。');};function a3_0xe7ac(){const _0x456e47=['close','setting.json','uncompress','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','./tools','pure_name','find','2732655fbdUli','exit','exports','17nGygTo','rmdirSync','import_list','push','index.js','resolve','_zip','path','94090GATldz','length','includes','【Error】:安装失败,node_modules目录不存在。','compressing','log','5NkYeYs','compress','3672796xaJNfa','src\x5c','2551661OBIWcm','19054090YCxTJG','readdirSync','map','name','installResources','85702vCZGmR','jjb-common-lib','1.0.0','forEach','importList','filter','node_modules','mkdirSync','\x5ctypes','repository','6755664nRkWij','198RUCkXL','12HJaolf','join','existsSync','.gitignore','replace','now','unlinkSync'];a3_0xe7ac=function(){return _0x456e47;};return a3_0xe7ac();}
@@ -1 +1 @@
1
- const a3_0x6398b=a3_0x57bc;function a3_0x44e8(){const _0x221c32=['installResources','react-admin-component','jjb-dva-runtime','micro-spa','includes','log','/api/v4/projects/','map','vue-unisass-component','3533229THxFia','src','toString','6671zTYXSE','f_create_package_json','installTarget','forEach','.zip','writeFileSync','string','mkdirSync','jjb-common-lib','length','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','/repository/archive.zip?private_token=','existsSync','【Error】:[jjb.config.json.installResources]无资源。','name','token','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','parse','projectId','1544qrfioa','statSync','f_rm_rf','\x5cjjb.config.json','f_content_replace','f_scan_jjb_config_json','f_update_project_package_json','replace','readdirSync','f_resolve_install_resources','unlinkSync','140730HgrkqF','5nceHHU','\x22,\x22main\x22:\x20\x22index.js\x22}','jjb-common','spa','946429YLVqnI','f_pull_git_repository','\x5cpackage.json','multi','dependencies','【Error】:[jjb.config.json.projectType]类型是一个string。','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','tmpdir','316237QnrqvL','path','\x22,\x22version\x22:\x22','filter','20ArIDba','f_file_copy','projectType','isArray','readFileSync','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','stringify','20wATZFr','exit','【Error】:[jjb.config.json.installTarget]类型是一个string。','811068wPTOIH','1310088xKfDJX'];a3_0x44e8=function(){return _0x221c32;};return a3_0x44e8();}(function(_0x38908a,_0x2d0164){const _0x43a82e=a3_0x57bc,_0x1a2f31=_0x38908a();while(!![]){try{const _0xfba736=parseInt(_0x43a82e(0x1aa))/0x1+parseInt(_0x43a82e(0x1b5))/0x2*(-parseInt(_0x43a82e(0x1e4))/0x3)+parseInt(_0x43a82e(0x1b9))/0x4+parseInt(_0x43a82e(0x1e5))/0x5*(parseInt(_0x43a82e(0x1b8))/0x6)+-parseInt(_0x43a82e(0x1c6))/0x7*(-parseInt(_0x43a82e(0x1d9))/0x8)+-parseInt(_0x43a82e(0x1c3))/0x9+parseInt(_0x43a82e(0x1ae))/0xa*(parseInt(_0x43a82e(0x1e9))/0xb);if(_0xfba736===_0x2d0164)break;else _0x1a2f31['push'](_0x1a2f31['shift']());}catch(_0x3fdf01){_0x1a2f31['push'](_0x1a2f31['shift']());}}}(a3_0x44e8,0x42b6f));function a3_0x57bc(_0xdf42ad,_0x1a81f8){const _0x44e83c=a3_0x44e8();return a3_0x57bc=function(_0x57bc5c,_0x16c766){_0x57bc5c=_0x57bc5c-0x1a4;let _0x5a8fb6=_0x44e83c[_0x57bc5c];return _0x5a8fb6;},a3_0x57bc(_0xdf42ad,_0x1a81f8);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');exports[a3_0x6398b(0x1db)]=function(_0x5cf429){const _0x3464fa=a3_0x6398b;if(fs[_0x3464fa(0x1d2)](_0x5cf429)){const _0x2a32e7=fs[_0x3464fa(0x1e1)](_0x5cf429);for(let _0x229085=0x0;_0x229085<_0x2a32e7['length'];_0x229085++){const _0x51ecf5=_0x2a32e7[_0x229085],_0x32684d=_0x5cf429+'/'+_0x51ecf5;fs[_0x3464fa(0x1da)](_0x32684d)['isDirectory']()?(exports['f_rm_rf'](_0x32684d),fs['rmdirSync'](_0x32684d)):fs[_0x3464fa(0x1e3)](_0x32684d);}}},exports[a3_0x6398b(0x1ea)]=function(_0x5d1b18=[]){const _0x15458e=a3_0x6398b;return _0x5d1b18[_0x15458e(0x1c1)](_0x2d37ff=>{const _0x357ef0=_0x15458e,_0x165085=CLOUD_PROJECT[_0x2d37ff[_0x357ef0(0x1d4)]]||undefined,_0x4cc32d=os[_0x357ef0(0x1a9)]();return{'path':_0x4cc32d+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x2d37ff[_0x357ef0(0x1d4)]+_0x357ef0(0x1ca),'compress':_0x4cc32d+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x2d37ff[_0x357ef0(0x1d4)]+'_zip','repository':GIT_HOST+_0x357ef0(0x1c0)+_0x165085[_0x357ef0(0x1d8)]+_0x357ef0(0x1d1)+_0x165085[_0x357ef0(0x1d5)]+'&ref=master'};});},exports[a3_0x6398b(0x1de)]=function(_0x55a7f6){const _0x35e1bd=a3_0x6398b;return fs[_0x35e1bd(0x1d2)](_0x55a7f6+_0x35e1bd(0x1dc));},exports['f_scan_jjb_config_json_rules']=function(_0x19b71c){const _0x5f5463=a3_0x6398b;let _0x2ff0be={};try{_0x2ff0be=JSON[_0x5f5463(0x1d7)](fs[_0x5f5463(0x1b2)](_0x19b71c+_0x5f5463(0x1dc))[_0x5f5463(0x1c5)]());}catch(_0x509fcd){console['log'](_0x5f5463(0x1d6)),process['exit'](0x0);}!(_0x5f5463(0x1b0)in _0x2ff0be)&&(console[_0x5f5463(0x1bf)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0x5f5463(0x1b6)](0x0));!(_0x5f5463(0x1c8)in _0x2ff0be)&&(console['log'](_0x5f5463(0x1b3)),process[_0x5f5463(0x1b6)](0x0));!(_0x5f5463(0x1ba)in _0x2ff0be)&&(console['log'](_0x5f5463(0x1a8)),process[_0x5f5463(0x1b6)](0x0));typeof _0x2ff0be[_0x5f5463(0x1b0)]!==_0x5f5463(0x1cc)&&(console[_0x5f5463(0x1bf)](_0x5f5463(0x1a7)),process[_0x5f5463(0x1b6)](0x0));![_0x5f5463(0x1a5),_0x5f5463(0x1e8),'uniapp',_0x5f5463(0x1bd)][_0x5f5463(0x1be)](_0x2ff0be['projectType'])&&(console[_0x5f5463(0x1bf)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process['exit'](0x0));typeof _0x2ff0be['installTarget']!==_0x5f5463(0x1cc)&&(console[_0x5f5463(0x1bf)](_0x5f5463(0x1b7)),process[_0x5f5463(0x1b6)](0x0));!['node_modules',_0x5f5463(0x1c4)][_0x5f5463(0x1be)](_0x2ff0be[_0x5f5463(0x1c8)])&&(console[_0x5f5463(0x1bf)](_0x5f5463(0x1d0)),process[_0x5f5463(0x1b6)](0x0));!Array[_0x5f5463(0x1b1)](_0x2ff0be[_0x5f5463(0x1ba)])&&(console[_0x5f5463(0x1bf)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process['exit'](0x0));_0x2ff0be[_0x5f5463(0x1ba)][_0x5f5463(0x1cf)]===0x0&&(console['log'](_0x5f5463(0x1d3)),process[_0x5f5463(0x1b6)](0x0));const _0x3b0f45=exports[_0x5f5463(0x1e2)](_0x2ff0be[_0x5f5463(0x1ba)]);return _0x3b0f45[_0x5f5463(0x1c1)](_0x35aff7=>_0x35aff7[_0x5f5463(0x1d4)])[_0x5f5463(0x1ad)](_0x290098=>![_0x5f5463(0x1e7),_0x5f5463(0x1bc),_0x5f5463(0x1ce),'jjb-common-decorator',_0x5f5463(0x1bb),_0x5f5463(0x1c2)][_0x5f5463(0x1be)](_0x290098))[_0x5f5463(0x1cf)]!==0x0&&(console[_0x5f5463(0x1bf)]('【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。'),process[_0x5f5463(0x1b6)](0x0)),_0x2ff0be[_0x5f5463(0x1ba)]=_0x3b0f45,_0x2ff0be;},exports[a3_0x6398b(0x1c7)]=function(_0x3fcf01,_0x40df40,_0x165bc5){const _0x2652f0=a3_0x6398b;fs[_0x2652f0(0x1cb)](_0x3fcf01+_0x2652f0(0x1a4),'{\x22name\x22:\x22'+_0x40df40+_0x2652f0(0x1ac)+_0x165bc5+_0x2652f0(0x1e6));},exports['f_resolve_install_resources']=function(_0x1b5f61=[]){const _0x7c414b=a3_0x6398b,_0x360b62=[];return Array['isArray'](_0x1b5f61)&&_0x1b5f61[_0x7c414b(0x1c9)](_0x5c74c1=>{const _0x35ee7e=_0x7c414b;if(Array[_0x35ee7e(0x1b1)](_0x5c74c1)){const [_0x194bf6,_0x4f0a90=[]]=_0x5c74c1;_0x360b62['push']({'name':_0x194bf6,'importList':_0x4f0a90});}else _0x360b62['push']({'name':_0x5c74c1,'importList':[]});}),_0x360b62;},exports[a3_0x6398b(0x1df)]=function(_0x735ae8,_0x3d5c64,_0xa3586e){const _0x2aa7f5=a3_0x6398b,_0x135493=JSON[_0x2aa7f5(0x1d7)](fs['readFileSync'](_0x735ae8)['toString']());_0x135493[_0x2aa7f5(0x1a6)][_0x3d5c64]=_0xa3586e,fs[_0x2aa7f5(0x1cb)](_0x735ae8,JSON[_0x2aa7f5(0x1b4)](_0x135493,null,0x2));},exports[a3_0x6398b(0x1af)]=function(_0xdb7156,_0x507e1f){const _0x5e8219=a3_0x6398b;fs[_0x5e8219(0x1e1)](_0xdb7156)[_0x5e8219(0x1c9)](_0x452f72=>{const _0x63e69a=_0x5e8219,_0x31f089=_0xdb7156+'\x5c'+_0x452f72,_0x4d5aae=_0x507e1f+'\x5c'+_0x452f72;fs[_0x63e69a(0x1da)](_0x31f089)['isDirectory']()?(fs[_0x63e69a(0x1cd)](_0x4d5aae),exports['f_file_copy'](_0x31f089,_0x4d5aae)):fs[_0x63e69a(0x1cb)](_0x4d5aae,fs[_0x63e69a(0x1b2)](_0x31f089)[_0x63e69a(0x1c5)]());});},exports[a3_0x6398b(0x1dd)]=function(_0x5a14b1=[],_0x12bac5){const _0x56421f=a3_0x6398b;_0x5a14b1[_0x56421f(0x1c9)](_0xa62d6f=>{const _0x956bba=_0x56421f,_0x587f56=_0x12bac5+_0xa62d6f[_0x956bba(0x1ab)];if(fs['existsSync'](_0x587f56)){let _0x208583=fs[_0x956bba(0x1b2)](_0x587f56)[_0x956bba(0x1c5)]();_0xa62d6f[_0x956bba(0x1e0)]['forEach'](_0x3f9e57=>{const _0x43ff03=_0x956bba;_0x208583=_0x208583[_0x43ff03(0x1e0)](_0x3f9e57[0x0],_0x3f9e57[0x1]);}),fs[_0x956bba(0x1cb)](_0x587f56,_0x208583);}});};
1
+ const a4_0x5cbbc5=a4_0x2eb4;function a4_0x1557(){const _0x211ec2=['isArray','forEach','src','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','parse','13fsaALe','567336UxWxbZ','659491yFMKyw','641840xaHOSQ','15020qvnQbM','filter','f_resolve_install_resources','8pfcfWw','jjb-dva-runtime','installTarget','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','194368LYoPsM','f_scan_jjb_config_json','./config','jjb-common-lib','tmpdir','log','node_modules','f_create_package_json','6ppyumf','stringify','76UtgYCm','\x22,\x22main\x22:\x20\x22index.js\x22}','\x22,\x22version\x22:\x22','2982516yIajUY','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','\x5cjjb.config.json','includes','f_rm_rf','dependencies','/api/v4/projects/','spa','\x5cpackage.json','4826zoYFrQ','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','multi','react-admin-component','string','f_file_copy','projectType','【Error】:[jjb.config.json.projectType]类型是一个string。','token','installResources','unlinkSync','【Error】:[jjb.config.json.installTarget]类型是一个string。','writeFileSync','isDirectory','name','replace','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','exit','f_update_project_package_json','readdirSync','378bAieCz','f_pull_git_repository','projectId','_zip','micro-spa','uniapp','12VWKcqW','toString','.zip','&ref=master','statSync','length','map','readFileSync','jjb-common','push','existsSync','mkdirSync','f_scan_jjb_config_json_rules'];a4_0x1557=function(){return _0x211ec2;};return a4_0x1557();}(function(_0x2384ca,_0x449b15){const _0x1b225f=a4_0x2eb4,_0x1f2f2e=_0x2384ca();while(!![]){try{const _0x39884c=-parseInt(_0x1b225f(0xab))/0x1*(parseInt(_0x1b225f(0xb7))/0x2)+parseInt(_0x1b225f(0x84))/0x3*(parseInt(_0x1b225f(0xa1))/0x4)+parseInt(_0x1b225f(0x99))/0x5*(-parseInt(_0x1b225f(0xa9))/0x6)+parseInt(_0x1b225f(0x98))/0x7*(parseInt(_0x1b225f(0x9d))/0x8)+-parseInt(_0x1b225f(0x7e))/0x9*(parseInt(_0x1b225f(0x9a))/0xa)+-parseInt(_0x1b225f(0x97))/0xb+parseInt(_0x1b225f(0xae))/0xc*(parseInt(_0x1b225f(0x96))/0xd);if(_0x39884c===_0x449b15)break;else _0x1f2f2e['push'](_0x1f2f2e['shift']());}catch(_0x41bfc1){_0x1f2f2e['push'](_0x1f2f2e['shift']());}}}(a4_0x1557,0x1b074));function a4_0x2eb4(_0x69ef96,_0x339fc1){const _0x15579a=a4_0x1557();return a4_0x2eb4=function(_0x2eb49e,_0x15ef69){_0x2eb49e=_0x2eb49e-0x7b;let _0x15c46f=_0x15579a[_0x2eb49e];return _0x15c46f;},a4_0x2eb4(_0x69ef96,_0x339fc1);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a4_0x5cbbc5(0xa3));exports[a4_0x5cbbc5(0xb2)]=function(_0x2d9511){const _0x28014a=a4_0x5cbbc5;if(fs[_0x28014a(0x8e)](_0x2d9511)){const _0x22ef10=fs['readdirSync'](_0x2d9511);for(let _0x37d4e4=0x0;_0x37d4e4<_0x22ef10[_0x28014a(0x89)];_0x37d4e4++){const _0xdc889a=_0x22ef10[_0x37d4e4],_0x3dbbf7=_0x2d9511+'/'+_0xdc889a;fs[_0x28014a(0x88)](_0x3dbbf7)[_0x28014a(0xc4)]()?(exports[_0x28014a(0xb2)](_0x3dbbf7),fs['rmdirSync'](_0x3dbbf7)):fs[_0x28014a(0xc1)](_0x3dbbf7);}}},exports[a4_0x5cbbc5(0x7f)]=function(_0x267673=[]){const _0x2482d=a4_0x5cbbc5;return _0x267673[_0x2482d(0x8a)](_0x5971b5=>{const _0x30c389=_0x2482d,_0x20a741=CLOUD_PROJECT[_0x5971b5[_0x30c389(0xc5)]]||undefined,_0x50e0be=os[_0x30c389(0xa5)]();return{'path':_0x50e0be+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x5971b5[_0x30c389(0xc5)]+_0x30c389(0x86),'compress':_0x50e0be+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x5971b5['name']+_0x30c389(0x81),'repository':GIT_HOST+_0x30c389(0xb4)+_0x20a741[_0x30c389(0x80)]+'/repository/archive.zip?private_token='+_0x20a741[_0x30c389(0xbf)]+_0x30c389(0x87)};});},exports[a4_0x5cbbc5(0xa2)]=function(_0x41960f){const _0x3d379e=a4_0x5cbbc5;return fs[_0x3d379e(0x8e)](_0x41960f+_0x3d379e(0xb0));},exports[a4_0x5cbbc5(0x90)]=function(_0x1e3b73){const _0xb506f9=a4_0x5cbbc5;let _0x161292={};try{_0x161292=JSON[_0xb506f9(0x95)](fs[_0xb506f9(0x8b)](_0x1e3b73+_0xb506f9(0xb0))[_0xb506f9(0x85)]());}catch(_0x39f933){console['log'](_0xb506f9(0x94)),process[_0xb506f9(0x7b)](0x0);}!('projectType'in _0x161292)&&(console[_0xb506f9(0xa6)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process[_0xb506f9(0x7b)](0x0));!('installTarget'in _0x161292)&&(console[_0xb506f9(0xa6)]('【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。'),process['exit'](0x0));!('installResources'in _0x161292)&&(console[_0xb506f9(0xa6)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0xb506f9(0x7b)](0x0));typeof _0x161292[_0xb506f9(0xbd)]!==_0xb506f9(0xbb)&&(console['log'](_0xb506f9(0xbe)),process[_0xb506f9(0x7b)](0x0));![_0xb506f9(0xb9),_0xb506f9(0xb5),_0xb506f9(0x83),_0xb506f9(0x82)][_0xb506f9(0xb1)](_0x161292[_0xb506f9(0xbd)])&&(console[_0xb506f9(0xa6)](_0xb506f9(0xc7)),process['exit'](0x0));typeof _0x161292['installTarget']!==_0xb506f9(0xbb)&&(console['log'](_0xb506f9(0xc2)),process[_0xb506f9(0x7b)](0x0));![_0xb506f9(0xa7),_0xb506f9(0x93)][_0xb506f9(0xb1)](_0x161292[_0xb506f9(0x9f)])&&(console[_0xb506f9(0xa6)](_0xb506f9(0xb8)),process['exit'](0x0));!Array[_0xb506f9(0x91)](_0x161292[_0xb506f9(0xc0)])&&(console[_0xb506f9(0xa6)](_0xb506f9(0xa0)),process['exit'](0x0));_0x161292[_0xb506f9(0xc0)]['length']===0x0&&(console[_0xb506f9(0xa6)]('【Error】:[jjb.config.json.installResources]无资源。'),process[_0xb506f9(0x7b)](0x0));const _0x4f2859=exports['f_resolve_install_resources'](_0x161292['installResources']);return _0x4f2859['map'](_0x457857=>_0x457857[_0xb506f9(0xc5)])[_0xb506f9(0x9b)](_0x20d33d=>![_0xb506f9(0x8c),_0xb506f9(0x9e),_0xb506f9(0xa4),'jjb-common-decorator',_0xb506f9(0xba),'vue-unisass-component'][_0xb506f9(0xb1)](_0x20d33d))[_0xb506f9(0x89)]!==0x0&&(console[_0xb506f9(0xa6)](_0xb506f9(0xaf)),process['exit'](0x0)),_0x161292[_0xb506f9(0xc0)]=_0x4f2859,_0x161292;},exports[a4_0x5cbbc5(0xa8)]=function(_0x701c71,_0x8c924c,_0x347cc1){const _0x52a7df=a4_0x5cbbc5;fs[_0x52a7df(0xc3)](_0x701c71+_0x52a7df(0xb6),'{\x22name\x22:\x22'+_0x8c924c+_0x52a7df(0xad)+_0x347cc1+_0x52a7df(0xac));},exports[a4_0x5cbbc5(0x9c)]=function(_0x406312=[]){const _0x56cf03=a4_0x5cbbc5,_0xf9106a=[];return Array['isArray'](_0x406312)&&_0x406312[_0x56cf03(0x92)](_0x5aa3ab=>{const _0x3272d7=_0x56cf03;if(Array[_0x3272d7(0x91)](_0x5aa3ab)){const [_0x3ac402,_0x42c106=[]]=_0x5aa3ab;_0xf9106a[_0x3272d7(0x8d)]({'name':_0x3ac402,'importList':_0x42c106});}else _0xf9106a['push']({'name':_0x5aa3ab,'importList':[]});}),_0xf9106a;},exports[a4_0x5cbbc5(0x7c)]=function(_0x4937c6,_0x5c353c,_0x382625){const _0x4316d6=a4_0x5cbbc5,_0x1e5133=JSON[_0x4316d6(0x95)](fs[_0x4316d6(0x8b)](_0x4937c6)[_0x4316d6(0x85)]());_0x1e5133[_0x4316d6(0xb3)][_0x5c353c]=_0x382625,fs['writeFileSync'](_0x4937c6,JSON[_0x4316d6(0xaa)](_0x1e5133,null,0x2));},exports['f_file_copy']=function(_0x24dfb6,_0x3a2744){const _0x15714a=a4_0x5cbbc5;fs[_0x15714a(0x7d)](_0x24dfb6)[_0x15714a(0x92)](_0x2e01ae=>{const _0x572f92=_0x15714a,_0x4d4862=_0x24dfb6+'\x5c'+_0x2e01ae,_0x3810d5=_0x3a2744+'\x5c'+_0x2e01ae;fs[_0x572f92(0x88)](_0x4d4862)[_0x572f92(0xc4)]()?(fs[_0x572f92(0x8f)](_0x3810d5),exports[_0x572f92(0xbc)](_0x4d4862,_0x3810d5)):fs[_0x572f92(0xc3)](_0x3810d5,fs[_0x572f92(0x8b)](_0x4d4862)[_0x572f92(0x85)]());});},exports['f_content_replace']=function(_0x599d81=[],_0x5c57bc){_0x599d81['forEach'](_0x4d56e0=>{const _0x4c47ec=a4_0x2eb4,_0xc24e6f=_0x5c57bc+_0x4d56e0['path'];if(fs[_0x4c47ec(0x8e)](_0xc24e6f)){let _0x1525c6=fs['readFileSync'](_0xc24e6f)[_0x4c47ec(0x85)]();_0x4d56e0[_0x4c47ec(0xc6)]['forEach'](_0x1da2c7=>{_0x1525c6=_0x1525c6['replace'](_0x1da2c7[0x0],_0x1da2c7[0x1]);}),fs[_0x4c47ec(0xc3)](_0xc24e6f,_0x1525c6);}});};
@@ -1 +1 @@
1
- const a4_0x591d57=a4_0x3f04;(function(_0x595215,_0x138847){const _0x548e7a=a4_0x3f04,_0x481210=_0x595215();while(!![]){try{const _0x48305b=-parseInt(_0x548e7a(0x176))/0x1*(-parseInt(_0x548e7a(0x178))/0x2)+parseInt(_0x548e7a(0x172))/0x3+parseInt(_0x548e7a(0x177))/0x4*(-parseInt(_0x548e7a(0x164))/0x5)+parseInt(_0x548e7a(0x162))/0x6+parseInt(_0x548e7a(0x163))/0x7+-parseInt(_0x548e7a(0x161))/0x8+parseInt(_0x548e7a(0x17d))/0x9*(-parseInt(_0x548e7a(0x17c))/0xa);if(_0x48305b===_0x138847)break;else _0x481210['push'](_0x481210['shift']());}catch(_0x280ab6){_0x481210['push'](_0x481210['shift']());}}}(a4_0x4c52,0xf0389));function a4_0x3f04(_0x2cf3db,_0x270770){const _0x4c52b8=a4_0x4c52();return a4_0x3f04=function(_0x3f04a6,_0x58c48a){_0x3f04a6=_0x3f04a6-0x15e;let _0x1f3487=_0x4c52b8[_0x3f04a6];return _0x1f3487;},a4_0x3f04(_0x2cf3db,_0x270770);}function a4_0x4c52(){const _0x3ee8d1=['10szjFdN','stringify','path','log','axios','exit','\x5cpackage.json','发布失败!根目录缺少‘package.json’文件,无法完成发布。','\x5cdist\x5cindex.js','exports','join','existsSync','网络异常。','readFileSync','4026537cYSymx','toString','http://120.26.210.58:8088/api/file/push','networkInterfaces','3734qzSzof','64348OhbOVu','308WlkpgV','resolve','catch','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','30lcPckw','5453037JPDlMp','hostname','platform','post','arch','4304592MTsmLA','3861930mimbAM','5677014sKsPuY'];a4_0x4c52=function(){return _0x3ee8d1;};return a4_0x4c52();}const path=require(a4_0x591d57(0x166)),fs=require('fs'),os=require('os'),axios=require(a4_0x591d57(0x168));module[a4_0x591d57(0x16d)]=_0x11689a=>{const _0x3a7da2=a4_0x591d57,_0x45e9c7=path[_0x3a7da2(0x179)]('./'),_0xb13a08=_0x45e9c7+_0x3a7da2(0x16c),_0x43cbd1=_0x45e9c7+_0x3a7da2(0x16a),_0x5d7272=[os[_0x3a7da2(0x17e)](),os[_0x3a7da2(0x15e)](),os[_0x3a7da2(0x160)](),new Date()[_0x3a7da2(0x173)](),JSON['stringify'](os[_0x3a7da2(0x175)](),null,'\x09')][_0x3a7da2(0x16e)]('\x0a');if(fs[_0x3a7da2(0x16f)](_0x43cbd1)){if(fs[_0x3a7da2(0x16f)](_0xb13a08)){const _0x31e0c6=JSON['parse'](fs[_0x3a7da2(0x171)](_0x43cbd1)['toString']()),{name:_0x4df7d1,version:_0x5aa74a}=_0x31e0c6;_0x5d7272['push'](JSON[_0x3a7da2(0x165)](_0x31e0c6)),axios[_0x3a7da2(0x15f)](_0x3a7da2(0x174),{'log_text':_0x5d7272,'package_name':_0x4df7d1,'package_version':_0x11689a?_0x11689a:_0x5aa74a,'package_content':fs['readFileSync'](_0xb13a08)[_0x3a7da2(0x173)]()})['then'](_0x33db55=>{const _0x29799a=_0x3a7da2;console[_0x29799a(0x167)](_0x33db55['data']['message']),process[_0x29799a(0x169)](0x0);})[_0x3a7da2(0x17a)](_0x466496=>{const _0x31ec45=_0x3a7da2;console[_0x31ec45(0x167)](_0x466496),console['log'](_0x31ec45(0x170)),process[_0x31ec45(0x169)](0x0);});}else console['log'](_0x3a7da2(0x17b)),process['exit'](0x0);}else console[_0x3a7da2(0x167)](_0x3a7da2(0x16b)),process[_0x3a7da2(0x169)](0x0);};
1
+ const a5_0x296f77=a5_0x390b;(function(_0x363a23,_0x4a1c04){const _0x3409e9=a5_0x390b,_0x3bc324=_0x363a23();while(!![]){try{const _0x378898=parseInt(_0x3409e9(0x1d4))/0x1*(parseInt(_0x3409e9(0x1e4))/0x2)+-parseInt(_0x3409e9(0x1d6))/0x3+parseInt(_0x3409e9(0x1db))/0x4*(-parseInt(_0x3409e9(0x1c7))/0x5)+parseInt(_0x3409e9(0x1ca))/0x6+-parseInt(_0x3409e9(0x1d1))/0x7*(parseInt(_0x3409e9(0x1dd))/0x8)+-parseInt(_0x3409e9(0x1d5))/0x9+-parseInt(_0x3409e9(0x1d2))/0xa*(-parseInt(_0x3409e9(0x1d8))/0xb);if(_0x378898===_0x4a1c04)break;else _0x3bc324['push'](_0x3bc324['shift']());}catch(_0x299b53){_0x3bc324['push'](_0x3bc324['shift']());}}}(a5_0x3c5b,0x9df7d));function a5_0x3c5b(){const _0x872c0a=['Auth\x20Fail!','60mOhSpg','stringify','exit','5785224seJxtR','exports','hostname','【Error】:no\x20auth\x20login','/api/auth','log','data','7CCQNxv','70BffaPd','message','1262RawLYt','1478736nSdoIA','2651379CSCSKE','axios','2721279fMsmzS','Auth\x20NetWork\x20Fail!','/api/file/push','319416PjNkzz','../cmd.install/config','3460024UDQsjl','networkInterfaces','catch','join','\x5cdist\x5cindex.js','发布失败!根目录缺少‘package.json’文件,无法完成发布。','arch','618LOkGTB','path','then','status','resolve','toString','\x5cpackage.json','post','网络异常。','readFileSync','existsSync'];a5_0x3c5b=function(){return _0x872c0a;};return a5_0x3c5b();}function a5_0x390b(_0x442d1a,_0x3a5c6f){const _0x3c5b18=a5_0x3c5b();return a5_0x390b=function(_0x390b5b,_0x43b240){_0x390b5b=_0x390b5b-0x1c6;let _0xd665fe=_0x3c5b18[_0x390b5b];return _0xd665fe;},a5_0x390b(_0x442d1a,_0x3a5c6f);}const path=require(a5_0x296f77(0x1e5)),fs=require('fs'),os=require('os'),axios=require(a5_0x296f77(0x1d7)),{API_HOST}=require(a5_0x296f77(0x1dc));module[a5_0x296f77(0x1cb)]=_0x5377e0=>{const _0x35868e=a5_0x296f77,_0x164761=path[_0x35868e(0x1e0)](__dirname,'../../../.auth');!fs[_0x35868e(0x1ee)](_0x164761)&&(console['log'](_0x35868e(0x1cd)),process[_0x35868e(0x1c9)](0x0));const [_0x33a3dc,_0x2ee028]=fs[_0x35868e(0x1ed)](_0x164761)['toString']()['split']('/');axios['post'](API_HOST+_0x35868e(0x1ce),{'username':_0x33a3dc,'password':_0x2ee028})[_0x35868e(0x1e6)](_0x30aff6=>{const _0x2d00e7=_0x35868e;if(_0x30aff6['data'][_0x2d00e7(0x1e7)]){const _0x248245=path[_0x2d00e7(0x1e8)]('./'),_0x5b4e2d=_0x248245+_0x2d00e7(0x1e1),_0x75439b=_0x248245+_0x2d00e7(0x1ea),_0x2519bd=[os[_0x2d00e7(0x1cc)](),os['platform'](),os[_0x2d00e7(0x1e3)](),new Date()['toString'](),JSON[_0x2d00e7(0x1c8)](os[_0x2d00e7(0x1de)](),null,'\x09')];if(fs[_0x2d00e7(0x1ee)](_0x75439b)){if(fs[_0x2d00e7(0x1ee)](_0x5b4e2d)){const _0x4e6b99=JSON['parse'](fs['readFileSync'](_0x75439b)[_0x2d00e7(0x1e9)]()),{name:_0x1c4253,version:_0x5b332d}=_0x4e6b99;_0x2519bd['push'](JSON[_0x2d00e7(0x1c8)](_0x4e6b99)),axios[_0x2d00e7(0x1eb)](API_HOST+_0x2d00e7(0x1da),{'log_text':_0x2519bd[_0x2d00e7(0x1e0)]('\x0a'),'package_name':_0x1c4253,'package_version':_0x5377e0?_0x5377e0:_0x5b332d,'package_content':fs[_0x2d00e7(0x1ed)](_0x5b4e2d)['toString']()})[_0x2d00e7(0x1e6)](_0x271c9d=>{const _0x3d6cd0=_0x2d00e7;console[_0x3d6cd0(0x1cf)](_0x271c9d[_0x3d6cd0(0x1d0)][_0x3d6cd0(0x1d3)]),process[_0x3d6cd0(0x1c9)](0x0);})[_0x2d00e7(0x1df)](_0x171956=>{const _0x49af88=_0x2d00e7;console['log'](_0x171956),console[_0x49af88(0x1cf)](_0x49af88(0x1ec)),process[_0x49af88(0x1c9)](0x0);});}else console[_0x2d00e7(0x1cf)]('发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。'),process[_0x2d00e7(0x1c9)](0x0);}else console[_0x2d00e7(0x1cf)](_0x2d00e7(0x1e2)),process[_0x2d00e7(0x1c9)](0x0);}else console[_0x2d00e7(0x1cf)](_0x2d00e7(0x1c6));})[_0x35868e(0x1df)](_0x4fd60c=>{const _0x501072=_0x35868e;console[_0x501072(0x1cf)](_0x501072(0x1d9));});};
@@ -1 +1 @@
1
- function a5_0xfea6(){const _0x2af49e=['execSync','\x5cjjb.config.json','1115178GPHOzS','10202238tLbbWQ','git\x20commit\x20-m\x20','existsSync','toString','path','readFileSync','git\x20add\x20.','git\x20clone\x20','【Error】:no\x20setting\x20git','no\x20message','Git\x20Pull\x20Done,yarn\x20build:','gitName','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','log','yarn','1302891HOmCZb','5BdhxIk','Git\x20Commit\x20Done,git\x20push,please\x20wait...','Git\x20Push\x20Done!','exit','mkdirSync','\x20--no-verify','yarn\x20build:','tmpdir','Git\x20Add\x20Done,git\x20commit,please\x20wait...','492269xUJHMS','1058494kzoFCe','git','1903308HHIATO','85288HGDvOZ','/node_modules','../cmd.install/config','child_process','112xAJsXq','【Error】:参数传递错误','git\x20pull','/src/main/resources/templates/','yarn\x20install\x20Done!','git\x20push\x20-f'];a5_0xfea6=function(){return _0x2af49e;};return a5_0xfea6();}function a5_0x22c1(_0x5e49b4,_0x1114d4){const _0xfea60b=a5_0xfea6();return a5_0x22c1=function(_0x22c164,_0x586116){_0x22c164=_0x22c164-0x7a;let _0x59bbc0=_0xfea60b[_0x22c164];return _0x59bbc0;},a5_0x22c1(_0x5e49b4,_0x1114d4);}const a5_0x3da0da=a5_0x22c1;(function(_0x1a2040,_0xb77aab){const _0x462574=a5_0x22c1,_0x197bfa=_0x1a2040();while(!![]){try{const _0xfb84a8=-parseInt(_0x462574(0x96))/0x1+parseInt(_0x462574(0x97))/0x2+-parseInt(_0x462574(0x8c))/0x3+-parseInt(_0x462574(0x99))/0x4+parseInt(_0x462574(0x8d))/0x5*(parseInt(_0x462574(0x7c))/0x6)+-parseInt(_0x462574(0x9e))/0x7*(parseInt(_0x462574(0x9a))/0x8)+parseInt(_0x462574(0x7d))/0x9;if(_0xfb84a8===_0xb77aab)break;else _0x197bfa['push'](_0x197bfa['shift']());}catch(_0x487290){_0x197bfa['push'](_0x197bfa['shift']());}}}(a5_0xfea6,0x4350b));const fs=require('fs'),os=require('os'),path=require(a5_0x3da0da(0x81)),child_process=require(a5_0x3da0da(0x9d)),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON}=require(a5_0x3da0da(0x9c));module['exports']=arguments=>{const _0xb99c14=a5_0x3da0da;console[_0xb99c14(0x8a)](arguments);arguments['length']<0x2&&(console[_0xb99c14(0x8a)](_0xb99c14(0x9f)),process[_0xb99c14(0x90)](0x0));const _0x5e2b89=arguments[0x1],_0x1df420=arguments[0x2]||_0xb99c14(0x86),_0xcfa682=path['resolve']('./'),_0x447917=_0xcfa682+_0xb99c14(0x7b),_0x5dcacc=_0xcfa682+'\x5cdist',_0x1de460=os[_0xb99c14(0x94)]();if(fs[_0xb99c14(0x7f)](_0x447917)){const _0x3bd3a8=JSON['parse'](fs[_0xb99c14(0x82)](_0x447917)[_0xb99c14(0x80)]());if(_0x3bd3a8[_0xb99c14(0x98)]){const _0x36d39c=_0x1de460+'/'+GIT_TEMP_JAVA;!fs[_0xb99c14(0x7f)](_0x36d39c)&&(fs[_0xb99c14(0x91)](_0x36d39c),child_process[_0xb99c14(0x7a)](_0xb99c14(0x84)+_0x3bd3a8[_0xb99c14(0x98)],{'cwd':_0x36d39c})),_0x5369df(_0x36d39c,_0x3bd3a8);}else console[_0xb99c14(0x8a)](_0xb99c14(0x85));}function _0x5369df(_0x43371c,_0x3ea57f){const _0x4b6b9e=_0xb99c14,_0x3d315f=_0x43371c+'/'+_0x3ea57f[_0x4b6b9e(0x88)];!fs['existsSync'](_0x3d315f)&&(console[_0x4b6b9e(0x8a)]('【Error】:no\x20setting\x20gitName'),process[_0x4b6b9e(0x90)](0x0));child_process['execSync'](_0x4b6b9e(0xa0),{'cwd':_0x3d315f});!fs[_0x4b6b9e(0x7f)](_0xcfa682+_0x4b6b9e(0x9b))?(console[_0x4b6b9e(0x8a)]('【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...'),child_process[_0x4b6b9e(0x7a)](_0x4b6b9e(0x8b),{'cwd':_0xcfa682}),console[_0x4b6b9e(0x8a)](_0x4b6b9e(0xa2))):console[_0x4b6b9e(0x8a)](_0x4b6b9e(0x87)+_0x5e2b89+',please\x20wait...');child_process['execSync'](_0x4b6b9e(0x93)+_0x5e2b89,{'cwd':_0xcfa682}),console[_0x4b6b9e(0x8a)]('Project\x20build\x20Done,copy\x20project,please\x20wait...');if(fs[_0x4b6b9e(0x7f)](_0x5dcacc)){const _0x3cfe6c=_0x3d315f+_0x4b6b9e(0xa1)+GIT_JAVA_ENV_JSON[_0x5e2b89];DeleteDirAllFile(_0x3cfe6c,()=>{const _0x3420c6=_0x4b6b9e;fs[_0x3420c6(0x91)](_0x3cfe6c),CopyFolder(_0x5dcacc,_0x3cfe6c,()=>{const _0xca84cb=_0x3420c6;console[_0xca84cb(0x8a)](_0xca84cb(0x89)),setTimeout(()=>{const _0x1bec4f=_0xca84cb;child_process[_0x1bec4f(0x7a)](_0x1bec4f(0x83),{'cwd':_0x3d315f}),console[_0x1bec4f(0x8a)](_0x1bec4f(0x95));try{child_process[_0x1bec4f(0x7a)](_0x1bec4f(0x7e)+_0x1df420+_0x1bec4f(0x92),{'cwd':_0x3d315f}),console[_0x1bec4f(0x8a)](_0x1bec4f(0x8e));}catch(_0x179d15){console[_0x1bec4f(0x8a)]('【warning】:no\x20commit,git\x20push,please\x20wait...');}child_process[_0x1bec4f(0x7a)](_0x1bec4f(0xa3),{'cwd':_0x3d315f}),console[_0x1bec4f(0x8a)](_0x1bec4f(0x8f));},0x3e8);});});}else console[_0x4b6b9e(0x8a)]('【Error】:打包失败,没有dist目录!');}};
1
+ function a6_0x1fa5(_0xbc9215,_0x50393a){const _0x5b660f=a6_0x5b66();return a6_0x1fa5=function(_0x1fa5a4,_0x57f640){_0x1fa5a4=_0x1fa5a4-0x80;let _0x390f64=_0x5b660f[_0x1fa5a4];return _0x390f64;},a6_0x1fa5(_0xbc9215,_0x50393a);}const a6_0x4b31da=a6_0x1fa5;(function(_0x5075f7,_0x2dce1a){const _0x556c09=a6_0x1fa5,_0x566e34=_0x5075f7();while(!![]){try{const _0x405829=parseInt(_0x556c09(0x95))/0x1+-parseInt(_0x556c09(0x98))/0x2*(-parseInt(_0x556c09(0xa6))/0x3)+-parseInt(_0x556c09(0x8a))/0x4*(-parseInt(_0x556c09(0xa9))/0x5)+parseInt(_0x556c09(0x8d))/0x6+parseInt(_0x556c09(0x92))/0x7+parseInt(_0x556c09(0x94))/0x8+-parseInt(_0x556c09(0x87))/0x9*(parseInt(_0x556c09(0x91))/0xa);if(_0x405829===_0x2dce1a)break;else _0x566e34['push'](_0x566e34['shift']());}catch(_0x5a4cbf){_0x566e34['push'](_0x566e34['shift']());}}}(a6_0x5b66,0x292f3));const fs=require('fs'),os=require('os'),path=require(a6_0x4b31da(0xb0)),child_process=require(a6_0x4b31da(0x9c)),{CopyFolder,DeleteDirAllFile}=require(a6_0x4b31da(0x8c)),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON,API_HOST}=require('../cmd.install/config'),axios=require('axios');module['exports']=arguments=>{const _0x2d3792=a6_0x4b31da,_0x3a5e7a=path[_0x2d3792(0x89)](__dirname,_0x2d3792(0x86));!fs[_0x2d3792(0x83)](_0x3a5e7a)&&(console[_0x2d3792(0x93)](_0x2d3792(0xb3)),process[_0x2d3792(0x9d)](0x0));const _0x1d4ccd=arguments[0x1],_0x5be1eb=arguments[0x2]||_0x2d3792(0xb8),_0x16ac2e=path[_0x2d3792(0xa3)]('./'),_0x21bb0b=_0x16ac2e+_0x2d3792(0x96),_0x2f21be=_0x16ac2e+_0x2d3792(0x97),_0x5af074=os[_0x2d3792(0x8f)](),[_0x50e18a,_0x2d1253]=fs[_0x2d3792(0x8b)](_0x3a5e7a)[_0x2d3792(0xb2)]()[_0x2d3792(0xb6)]('/');axios[_0x2d3792(0xb7)](API_HOST+'/api/auth',{'username':_0x50e18a,'password':_0x2d1253})[_0x2d3792(0xae)](_0x562c26=>{const _0x56cfb6=_0x2d3792;if(_0x562c26[_0x56cfb6(0xa8)][_0x56cfb6(0xaf)]){if(fs[_0x56cfb6(0x83)](_0x21bb0b)){const _0x4c2784=JSON[_0x56cfb6(0xad)](fs[_0x56cfb6(0x8b)](_0x21bb0b)['toString']());if(_0x4c2784[_0x56cfb6(0xb1)]){const _0x54724e=_0x5af074+'/'+GIT_TEMP_JAVA;!fs[_0x56cfb6(0x83)](_0x54724e)&&(fs[_0x56cfb6(0x82)](_0x54724e),child_process[_0x56cfb6(0xa4)](_0x56cfb6(0x8e)+_0x4c2784[_0x56cfb6(0xb1)],{'cwd':_0x54724e})),_0x1864d9(_0x54724e,_0x4c2784);}else console['log'](_0x56cfb6(0xb5));}}else console[_0x56cfb6(0x93)](_0x56cfb6(0xa1));})[_0x2d3792(0x9a)](_0x1e3de8=>{const _0x47abd5=_0x2d3792;console[_0x47abd5(0x93)](_0x47abd5(0xaa));});arguments['length']<0x2&&(console['log'](_0x2d3792(0x90)),process[_0x2d3792(0x9d)](0x0));function _0x1864d9(_0x654acc,_0x5b3a63){const _0x4e0917=_0x2d3792,_0x5f3457=_0x654acc+'/'+_0x5b3a63[_0x4e0917(0x88)];!fs[_0x4e0917(0x83)](_0x5f3457)&&(console[_0x4e0917(0x93)](_0x4e0917(0x85)),process[_0x4e0917(0x9d)](0x0));child_process[_0x4e0917(0xa4)]('git\x20pull',{'cwd':_0x5f3457});!fs[_0x4e0917(0x83)](_0x16ac2e+'/node_modules')?(console[_0x4e0917(0x93)](_0x4e0917(0xac)),child_process[_0x4e0917(0xa4)](_0x4e0917(0xa2),{'cwd':_0x16ac2e}),console['log']('yarn\x20install\x20Done!')):console[_0x4e0917(0x93)]('Git\x20Pull\x20Doneyarn\x20build:'+_0x1d4ccd+_0x4e0917(0x99));child_process['execSync']('yarn\x20build:'+_0x1d4ccd,{'cwd':_0x16ac2e}),console[_0x4e0917(0x93)](_0x4e0917(0xa0));if(fs['existsSync'](_0x2f21be)){const _0x238c1a=_0x5f3457+_0x4e0917(0x9b)+GIT_JAVA_ENV_JSON[_0x1d4ccd];DeleteDirAllFile(_0x238c1a,()=>{const _0x1f4178=_0x4e0917;fs[_0x1f4178(0x82)](_0x238c1a),CopyFolder(_0x2f21be,_0x238c1a,()=>{const _0x4628f4=_0x1f4178;console['log'](_0x4628f4(0xb4)),setTimeout(()=>{const _0x281e1d=_0x4628f4;child_process[_0x281e1d(0xa4)](_0x281e1d(0xa5),{'cwd':_0x5f3457}),console[_0x281e1d(0x93)](_0x281e1d(0xa7));try{child_process[_0x281e1d(0xa4)](_0x281e1d(0x9e)+_0x5be1eb+_0x281e1d(0xab),{'cwd':_0x5f3457}),console[_0x281e1d(0x93)](_0x281e1d(0xb9));}catch(_0x3e188a){console[_0x281e1d(0x93)](_0x281e1d(0x80));}child_process['execSync'](_0x281e1d(0x84),{'cwd':_0x5f3457}),console[_0x281e1d(0x93)](_0x281e1d(0x81));},0x3e8);});});}else console[_0x4e0917(0x93)](_0x4e0917(0x9f));}};function a6_0x5b66(){const _0xaeb76d=['Git\x20Add\x20Done,git\x20commit,please\x20wait...','data','68905hZKJxe','Auth\x20NetWork\x20Fail!','\x20--no-verify','warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','parse','then','status','path','git','toString','【Error】:no\x20auth\x20login','Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...','【Error】:no\x20setting\x20git','split','post','no\x20message','Git\x20Commit\x20Done,git\x20push,please\x20wait...','【warning】:no\x20commit,git\x20push,please\x20wait...','Git\x20Push\x20Done!','mkdirSync','existsSync','git\x20push\x20-f','【Error】:no\x20setting\x20gitName','../../../.auth','9lNZQpo','gitName','join','52VhMpml','readFileSync','../../old/util','1349490JXIklU','git\x20clone\x20','tmpdir','【Error】:参数传递错误','12764830zVvNJR','2110206WPxtum','log','2487800uMorVy','94199hkyZvf','\x5cjjb.config.json','\x5cdist','668948mbHzoq',',please\x20wait...','catch','/src/main/resources/templates/','child_process','exit','git\x20commit\x20-m\x20','【Error】:打包失败,没有dist目录!','Project\x20build\x20Done,copy\x20project,please\x20wait...','Auth\x20Fail!','yarn','resolve','execSync','git\x20add\x20.','3XyBxxr'];a6_0x5b66=function(){return _0xaeb76d;};return a6_0x5b66();}
@@ -1 +1 @@
1
- function a6_0x4287(){const _0x48612a=['707817faJYIq','216SEzLji','91268UaZeeA','55AtgpCW','267970wFFpIe','exit','exports','status','14EwOiVd','16308qqfZfE','log','then','post','1050344hGtCCx','data','11870UGZsIc','components','http://120.26.210.58:8088/api/file/config','catch','243222peLizd','9PwWUmb','网络异常。'];a6_0x4287=function(){return _0x48612a;};return a6_0x4287();}const a6_0x1c41d2=a6_0x1036;(function(_0xab1708,_0x24d794){const _0x3f0f1=a6_0x1036,_0x1ddf15=_0xab1708();while(!![]){try{const _0x12ad2d=-parseInt(_0x3f0f1(0x185))/0x1+-parseInt(_0x3f0f1(0x17c))/0x2*(-parseInt(_0x3f0f1(0x184))/0x3)+-parseInt(_0x3f0f1(0x18c))/0x4*(parseInt(_0x3f0f1(0x186))/0x5)+-parseInt(_0x3f0f1(0x180))/0x6*(-parseInt(_0x3f0f1(0x18b))/0x7)+-parseInt(_0x3f0f1(0x17a))/0x8*(parseInt(_0x3f0f1(0x181))/0x9)+-parseInt(_0x3f0f1(0x187))/0xa+parseInt(_0x3f0f1(0x183))/0xb;if(_0x12ad2d===_0x24d794)break;else _0x1ddf15['push'](_0x1ddf15['shift']());}catch(_0x52d3de){_0x1ddf15['push'](_0x1ddf15['shift']());}}}(a6_0x4287,0x44008));const axios=require('axios');function a6_0x1036(_0x42b277,_0x3efaa7){const _0x428745=a6_0x4287();return a6_0x1036=function(_0x1036f1,_0x676f3a){_0x1036f1=_0x1036f1-0x17a;let _0x1f8369=_0x428745[_0x1036f1];return _0x1f8369;},a6_0x1036(_0x42b277,_0x3efaa7);}module[a6_0x1c41d2(0x189)]=_0x15e674=>{const _0xba3157=a6_0x1c41d2;axios[_0xba3157(0x18f)](_0xba3157(0x17e))[_0xba3157(0x18e)](_0x32f103=>{const _0x2157a0=_0xba3157;if(_0x32f103[_0x2157a0(0x17b)][_0x2157a0(0x18a)]){const _0x1b4531=_0x32f103['data'][_0x2157a0(0x17b)];_0x15e674==='server'&&(console[_0x2157a0(0x18d)](_0x1b4531['host']),console[_0x2157a0(0x18d)](_0x1b4531['port'])),_0x15e674===_0x2157a0(0x17d)&&console[_0x2157a0(0x18d)](_0x1b4531[_0x2157a0(0x17d)]);}else console[_0x2157a0(0x18d)](_0x32f103[_0x2157a0(0x17b)]['message']);process['exit'](0x0);})[_0xba3157(0x17f)](()=>{const _0x4cbc3f=_0xba3157;console[_0x4cbc3f(0x18d)](_0x4cbc3f(0x182)),process[_0x4cbc3f(0x188)](0x0);});};
1
+ const a7_0x4b9f01=a7_0x4b6f;(function(_0x5e6e44,_0x384aab){const _0x8c076=a7_0x4b6f,_0x2dc726=_0x5e6e44();while(!![]){try{const _0x38e73f=parseInt(_0x8c076(0x88))/0x1*(parseInt(_0x8c076(0x96))/0x2)+-parseInt(_0x8c076(0x9a))/0x3*(-parseInt(_0x8c076(0x8b))/0x4)+parseInt(_0x8c076(0x91))/0x5+-parseInt(_0x8c076(0x8c))/0x6+parseInt(_0x8c076(0x99))/0x7+-parseInt(_0x8c076(0x8e))/0x8+parseInt(_0x8c076(0x9e))/0x9;if(_0x38e73f===_0x384aab)break;else _0x2dc726['push'](_0x2dc726['shift']());}catch(_0x1194eb){_0x2dc726['push'](_0x2dc726['shift']());}}}(a7_0x2def,0xa486b));const axios=require(a7_0x4b9f01(0x8a));function a7_0x4b6f(_0x1852d0,_0x1e9a2c){const _0x2def81=a7_0x2def();return a7_0x4b6f=function(_0x4b6f14,_0x41da9f){_0x4b6f14=_0x4b6f14-0x88;let _0x9cf4ff=_0x2def81[_0x4b6f14];return _0x9cf4ff;},a7_0x4b6f(_0x1852d0,_0x1e9a2c);}function a7_0x2def(){const _0x49269b=['网络异常。','4262195GEiDKo','51lHCXAK','port','data','server','5645574mOIQjL','4045evQSxd','status','axios','21288rbECZI','7020024UcBqZu','then','1058168cgwQmd','log','exports','3207195UtNcQw','components','host','http://120.26.210.58:8088/api/file/config','exit','4hrBnVi','message'];a7_0x2def=function(){return _0x49269b;};return a7_0x2def();}module[a7_0x4b9f01(0x90)]=_0x4043bd=>{const _0x42d2d0=a7_0x4b9f01;axios['post'](_0x42d2d0(0x94))[_0x42d2d0(0x8d)](_0x55cb31=>{const _0x4b1972=_0x42d2d0;if(_0x55cb31[_0x4b1972(0x9c)][_0x4b1972(0x89)]){const _0x4c9e96=_0x55cb31[_0x4b1972(0x9c)]['data'];_0x4043bd===_0x4b1972(0x9d)&&(console[_0x4b1972(0x8f)](_0x4c9e96[_0x4b1972(0x93)]),console[_0x4b1972(0x8f)](_0x4c9e96[_0x4b1972(0x9b)])),_0x4043bd===_0x4b1972(0x92)&&console['log'](_0x4c9e96[_0x4b1972(0x92)]);}else console[_0x4b1972(0x8f)](_0x55cb31[_0x4b1972(0x9c)][_0x4b1972(0x97)]);process[_0x4b1972(0x95)](0x0);})['catch'](()=>{const _0x60e9ba=_0x42d2d0;console[_0x60e9ba(0x8f)](_0x60e9ba(0x98)),process[_0x60e9ba(0x95)](0x0);});};
@@ -1 +1 @@
1
- const a7_0x475227=a7_0x3eab;(function(_0x5baac5,_0x58d986){const _0x4285e9=a7_0x3eab,_0x18c51e=_0x5baac5();while(!![]){try{const _0x1072e7=parseInt(_0x4285e9(0x1fc))/0x1*(parseInt(_0x4285e9(0x1fe))/0x2)+-parseInt(_0x4285e9(0x1f9))/0x3+parseInt(_0x4285e9(0x20b))/0x4+-parseInt(_0x4285e9(0x204))/0x5*(-parseInt(_0x4285e9(0x20f))/0x6)+-parseInt(_0x4285e9(0x207))/0x7+-parseInt(_0x4285e9(0x202))/0x8+parseInt(_0x4285e9(0x205))/0x9*(parseInt(_0x4285e9(0x1fd))/0xa);if(_0x1072e7===_0x58d986)break;else _0x18c51e['push'](_0x18c51e['shift']());}catch(_0x23403b){_0x18c51e['push'](_0x18c51e['shift']());}}}(a7_0x3b43,0x653f5));const fs=require('fs'),path=require(a7_0x475227(0x1ff)),readline=require('readline'),io=readline[a7_0x475227(0x203)]({'input':process[a7_0x475227(0x200)],'output':process[a7_0x475227(0x20a)]});let f_total=0x0;function a7_0x3eab(_0x1f81e1,_0x385fe2){const _0x3b439a=a7_0x3b43();return a7_0x3eab=function(_0x3eab96,_0x5e2cc7){_0x3eab96=_0x3eab96-0x1f3;let _0x248608=_0x3b439a[_0x3eab96];return _0x248608;},a7_0x3eab(_0x1f81e1,_0x385fe2);}module[a7_0x475227(0x1f6)]=function(){const _0x555239=a7_0x475227,_0x4a877a=path['resolve']('./');io['question'](_0x555239(0x20d),function(_0x30a8ca){const _0x561359=_0x555239;if(_0x30a8ca[_0x561359(0x201)]()==='y')console[_0x561359(0x1f3)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{const _0x1d5196=a7_0x3eab;console[_0x1d5196(0x1fb)](),exec(_0x4a877a),setTimeout(()=>{const _0x3b593b=_0x1d5196;console[_0x3b593b(0x1f3)](_0x3b593b(0x20e)),console[_0x3b593b(0x1fb)](),process['exit'](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x30a8ca[_0x561359(0x201)]()==='n'?(console[_0x561359(0x1f3)]('取消删除。'),process[_0x561359(0x1f8)](0x0)):(console['log']('无效操作。'),process[_0x561359(0x1f8)](0x0));});};function a7_0x3b43(){const _0x1fa427=['3274390GDgRtk','statSync','删除文件夹:','stdout','1584236GzKOQO','existsSync','是否确认删除?删除后不可恢复![y/n]:','删除完成。','6kENNjO','log','length','删除文件:','exports','readdirSync','exit','1771254iWLOOR','rmdirSync','clear','165352DUJMlh','770wSnHvZ','2DSvPfS','path','stdin','trim','6126832uyUmvn','createInterface','2946650jdvMAc','127170EOTDXD','删除异常:'];a7_0x3b43=function(){return _0x1fa427;};return a7_0x3b43();}function exec(_0x419a62){const _0x189957=a7_0x475227;if(fs[_0x189957(0x20c)](_0x419a62)){const _0x15bf54=fs[_0x189957(0x1f7)](_0x419a62);for(let _0x45023c=0x0;_0x45023c<_0x15bf54[_0x189957(0x1f4)];_0x45023c++){const _0x47508e=_0x15bf54[_0x45023c],_0x116214=_0x419a62+'/'+_0x47508e;try{fs[_0x189957(0x208)](_0x116214)['isDirectory']()?(exec(_0x116214),fs[_0x189957(0x1fa)](_0x116214,{'recursive':!![]}),console[_0x189957(0x1f3)](_0x189957(0x209)+_0x116214)):(fs['unlinkSync'](_0x116214),console[_0x189957(0x1f3)](_0x189957(0x1f5)+_0x116214));}catch(_0xc0358c){console['log'](_0x189957(0x206)+_0x116214);}}}}
1
+ const a8_0x146b44=a8_0x22a3;function a8_0x22a3(_0x2bd095,_0x3aa6d7){const _0x1dc782=a8_0x1dc7();return a8_0x22a3=function(_0x22a3c2,_0x21f77a){_0x22a3c2=_0x22a3c2-0x7e;let _0x291993=_0x1dc782[_0x22a3c2];return _0x291993;},a8_0x22a3(_0x2bd095,_0x3aa6d7);}function a8_0x1dc7(){const _0x39e210=['3926315VcOJiW','rmdirSync','path','4MnRRbL','question','28100268hudBbl','3256358ctcZSL','createInterface','stdout','删除异常:','exit','existsSync','1752320gcGKcP','readline','log','删除完成。','8BCpujq','正在计算项目数,请稍等...','statSync','245190cDCyev','2196366ZyiRNa','unlinkSync','取消删除。','338277tnDjVA','删除文件夹:','resolve','clear'];a8_0x1dc7=function(){return _0x39e210;};return a8_0x1dc7();}(function(_0x12258b,_0x9da77c){const _0x5a6fc8=a8_0x22a3,_0x1f34bc=_0x12258b();while(!![]){try{const _0x5d2695=-parseInt(_0x5a6fc8(0x97))/0x1*(parseInt(_0x5a6fc8(0x83))/0x2)+parseInt(_0x5a6fc8(0x93))/0x3+-parseInt(_0x5a6fc8(0x8c))/0x4+-parseInt(_0x5a6fc8(0x80))/0x5+-parseInt(_0x5a6fc8(0x94))/0x6+parseInt(_0x5a6fc8(0x86))/0x7*(-parseInt(_0x5a6fc8(0x90))/0x8)+parseInt(_0x5a6fc8(0x85))/0x9;if(_0x5d2695===_0x9da77c)break;else _0x1f34bc['push'](_0x1f34bc['shift']());}catch(_0x576fec){_0x1f34bc['push'](_0x1f34bc['shift']());}}}(a8_0x1dc7,0x736fe));const fs=require('fs'),path=require(a8_0x146b44(0x82)),readline=require(a8_0x146b44(0x8d)),io=readline[a8_0x146b44(0x87)]({'input':process['stdin'],'output':process[a8_0x146b44(0x88)]});let f_total=0x0;module['exports']=function(){const _0x17b577=a8_0x146b44,_0x1eab9d=path[_0x17b577(0x7e)]('./');io[_0x17b577(0x84)]('是否确认删除?删除后不可恢复![y/n]:',function(_0x463b9a){const _0x5cc041=_0x17b577;if(_0x463b9a['trim']()==='y')console[_0x5cc041(0x8e)](_0x5cc041(0x91)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x1eab9d),setTimeout(()=>{const _0x20e6e8=a8_0x22a3;console[_0x20e6e8(0x8e)](_0x20e6e8(0x8f)),console[_0x20e6e8(0x7f)](),process[_0x20e6e8(0x8a)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x463b9a['trim']()==='n'?(console[_0x5cc041(0x8e)](_0x5cc041(0x96)),process[_0x5cc041(0x8a)](0x0)):(console[_0x5cc041(0x8e)]('无效操作。'),process['exit'](0x0));});};function exec(_0x96282a){const _0x10ca84=a8_0x146b44;if(fs[_0x10ca84(0x8b)](_0x96282a)){const _0x28dd51=fs['readdirSync'](_0x96282a);for(let _0x4096e1=0x0;_0x4096e1<_0x28dd51['length'];_0x4096e1++){const _0x58b2a7=_0x28dd51[_0x4096e1],_0x477b74=_0x96282a+'/'+_0x58b2a7;try{fs[_0x10ca84(0x92)](_0x477b74)['isDirectory']()?(exec(_0x477b74),fs[_0x10ca84(0x81)](_0x477b74,{'recursive':!![]}),console[_0x10ca84(0x8e)](_0x10ca84(0x98)+_0x477b74)):(fs[_0x10ca84(0x95)](_0x477b74),console['log']('删除文件:'+_0x477b74));}catch(_0x4bfe04){console[_0x10ca84(0x8e)](_0x10ca84(0x89)+_0x477b74);}}}}
@@ -1 +1 @@
1
- const a8_0x506750=a8_0x3fd7;function a8_0x43de(){const _0x28a1e9=['131429shBxpT','readFileSync','status','488222thpgaU','138342tXXCEO','path','166608yLepxX','catch','existsSync','543456rKWBGQ','查询失败!根目录缺少‘package.json’文件,无法完成查询。','log','4XqcLBL','414670NMdSCg','网络异常。','exit','post','528BWuzeU','4060rvDGBr','\x5cpackage.json','message','data'];a8_0x43de=function(){return _0x28a1e9;};return a8_0x43de();}(function(_0x6dc0ee,_0x2642e0){const _0x14add5=a8_0x3fd7,_0x5e52ce=_0x6dc0ee();while(!![]){try{const _0x4ff662=parseInt(_0x14add5(0x1ab))/0x1+parseInt(_0x14add5(0x1a2))/0x2+-parseInt(_0x14add5(0x1af))/0x3*(parseInt(_0x14add5(0x1a1))/0x4)+parseInt(_0x14add5(0x1a7))/0x5*(-parseInt(_0x14add5(0x1a6))/0x6)+-parseInt(_0x14add5(0x1ae))/0x7+parseInt(_0x14add5(0x19b))/0x8+-parseInt(_0x14add5(0x19e))/0x9;if(_0x4ff662===_0x2642e0)break;else _0x5e52ce['push'](_0x5e52ce['shift']());}catch(_0x4fd8b8){_0x5e52ce['push'](_0x5e52ce['shift']());}}}(a8_0x43de,0x1b512));const path=require(a8_0x506750(0x19a)),fs=require('fs'),axios=require('axios');function a8_0x3fd7(_0x1c3b5f,_0x1328b9){const _0x43dee5=a8_0x43de();return a8_0x3fd7=function(_0x3fd7f8,_0x5637c8){_0x3fd7f8=_0x3fd7f8-0x19a;let _0x4c09f9=_0x43dee5[_0x3fd7f8];return _0x4c09f9;},a8_0x3fd7(_0x1c3b5f,_0x1328b9);}module['exports']=()=>{const _0x1f5f22=a8_0x506750,_0x1bee3d=path['resolve']('./'),_0x4462ca=_0x1bee3d+_0x1f5f22(0x1a8);if(fs[_0x1f5f22(0x19d)](_0x4462ca)){const _0x99fbaa=JSON['parse'](fs[_0x1f5f22(0x1ac)](_0x4462ca)['toString']()),{name:_0x7cd4b2}=_0x99fbaa;axios[_0x1f5f22(0x1a5)]('http://120.26.210.58:8088/api/file/version',{'package_name':_0x7cd4b2})['then'](_0x27e700=>{const _0x812f95=_0x1f5f22;_0x27e700[_0x812f95(0x1aa)][_0x812f95(0x1ad)]?console[_0x812f95(0x1a0)](_0x27e700['data'][_0x812f95(0x1aa)]):console['log'](_0x27e700[_0x812f95(0x1aa)][_0x812f95(0x1a9)]),process[_0x812f95(0x1a4)](0x0);})[_0x1f5f22(0x19c)](()=>{const _0x5d1f38=_0x1f5f22;console[_0x5d1f38(0x1a0)](_0x5d1f38(0x1a3)),process['exit'](0x0);});}else console['log'](_0x1f5f22(0x19f)),process[_0x1f5f22(0x1a4)](0x0);};
1
+ const a9_0x58e52c=a9_0x2b9b;(function(_0xd77d10,_0x1c9c22){const _0x5d71f6=a9_0x2b9b,_0x1e42e5=_0xd77d10();while(!![]){try{const _0x45d753=parseInt(_0x5d71f6(0xa0))/0x1+-parseInt(_0x5d71f6(0x9d))/0x2*(-parseInt(_0x5d71f6(0xa5))/0x3)+parseInt(_0x5d71f6(0x94))/0x4+parseInt(_0x5d71f6(0x8d))/0x5*(-parseInt(_0x5d71f6(0x9c))/0x6)+parseInt(_0x5d71f6(0x97))/0x7+-parseInt(_0x5d71f6(0x91))/0x8+parseInt(_0x5d71f6(0xa1))/0x9*(parseInt(_0x5d71f6(0x96))/0xa);if(_0x45d753===_0x1c9c22)break;else _0x1e42e5['push'](_0x1e42e5['shift']());}catch(_0x33f1f5){_0x1e42e5['push'](_0x1e42e5['shift']());}}}(a9_0x3fdf,0x7e1c5));const path=require(a9_0x58e52c(0x90)),fs=require('fs'),axios=require('axios');function a9_0x3fdf(){const _0x4833c2=['resolve','log','path','6742152tJOOLj','post','message','1143848rIWIOv','http://120.26.210.58:8088/api/file/version','330570wVBJlM','1219918SjqITk','existsSync','catch','\x5cpackage.json','exit','570702ebtspx','2hriwHa','网络异常。','status','433597HnksxH','135qRhjkZ','readFileSync','then','data','194241RvGBhD','5gJdmXv'];a9_0x3fdf=function(){return _0x4833c2;};return a9_0x3fdf();}function a9_0x2b9b(_0x5588d8,_0x1c6d19){const _0x3fdf88=a9_0x3fdf();return a9_0x2b9b=function(_0x2b9b2a,_0xa83bad){_0x2b9b2a=_0x2b9b2a-0x8d;let _0x117880=_0x3fdf88[_0x2b9b2a];return _0x117880;},a9_0x2b9b(_0x5588d8,_0x1c6d19);}module['exports']=()=>{const _0x524942=a9_0x58e52c,_0x27e6ed=path[_0x524942(0x8e)]('./'),_0x44d934=_0x27e6ed+_0x524942(0x9a);if(fs[_0x524942(0x98)](_0x44d934)){const _0x43bba4=JSON['parse'](fs[_0x524942(0xa2)](_0x44d934)['toString']()),{name:_0x10dc20}=_0x43bba4;axios[_0x524942(0x92)](_0x524942(0x95),{'package_name':_0x10dc20})[_0x524942(0xa3)](_0x195c7b=>{const _0x482618=_0x524942;_0x195c7b[_0x482618(0xa4)][_0x482618(0x9f)]?console[_0x482618(0x8f)](_0x195c7b[_0x482618(0xa4)]['data']):console[_0x482618(0x8f)](_0x195c7b[_0x482618(0xa4)][_0x482618(0x93)]),process[_0x482618(0x9b)](0x0);})[_0x524942(0x99)](()=>{const _0xc5115=_0x524942;console[_0xc5115(0x8f)](_0xc5115(0x9e)),process['exit'](0x0);});}else console['log']('查询失败!根目录缺少‘package.json’文件,无法完成查询。'),process[_0x524942(0x9b)](0x0);};
@@ -1 +1 @@
1
- function a9_0x3b20(_0x277cfd,_0x576bae){const _0x2b5c58=a9_0x2b5c();return a9_0x3b20=function(_0x3b206c,_0x545cb8){_0x3b206c=_0x3b206c-0x125;let _0x2d9c7f=_0x2b5c58[_0x3b206c];return _0x2d9c7f;},a9_0x3b20(_0x277cfd,_0x576bae);}const a9_0x2ec46e=a9_0x3b20;(function(_0x1ae8c7,_0x5c697a){const _0x391f3e=a9_0x3b20,_0xd2991a=_0x1ae8c7();while(!![]){try{const _0x15a15b=-parseInt(_0x391f3e(0x134))/0x1+parseInt(_0x391f3e(0x137))/0x2+parseInt(_0x391f3e(0x12a))/0x3*(-parseInt(_0x391f3e(0x13d))/0x4)+parseInt(_0x391f3e(0x136))/0x5+-parseInt(_0x391f3e(0x12e))/0x6*(parseInt(_0x391f3e(0x132))/0x7)+-parseInt(_0x391f3e(0x126))/0x8*(parseInt(_0x391f3e(0x128))/0x9)+-parseInt(_0x391f3e(0x129))/0xa*(-parseInt(_0x391f3e(0x13c))/0xb);if(_0x15a15b===_0x5c697a)break;else _0xd2991a['push'](_0xd2991a['shift']());}catch(_0x5c8332){_0xd2991a['push'](_0xd2991a['shift']());}}}(a9_0x2b5c,0x1cd5f));function a9_0x2b5c(){const _0x25da85=['103492LGLEee','path','16kxSPHA','初始化失败,文件已存在!','221499CwcZVn','63540lqZzTw','24AozTnh','\x5cjjb.config.json','./cli.install/tools','\x5cwebstorm.config.js','62394rHUEfT','\x5cpackage.json','\x5cpublic','log','119KSbKhv','exit','54914DeBKWm','readline','268210zuetLb','342264alJyIY','\x5cjjb.script','初始化完成!','resolve','existsSync','660TEKKna'];a9_0x2b5c=function(){return _0x25da85;};return a9_0x2b5c();}const path=require(a9_0x2ec46e(0x125)),readline=require(a9_0x2ec46e(0x135)),{f_file_copy}=require(a9_0x2ec46e(0x12c)),fs=require('fs');module['exports']=()=>{const _0x4b588d=a9_0x2ec46e,_0x37dd32=path[_0x4b588d(0x13a)]('./');!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x138))&&!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x130))&&!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x12b))&&!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x12f))&&!fs[_0x4b588d(0x13b)](_0x37dd32+_0x4b588d(0x12d))?(f_file_copy(__dirname+'\x5ccli.init',_0x37dd32),console[_0x4b588d(0x131)](_0x4b588d(0x139)),process[_0x4b588d(0x133)](0x0)):(console[_0x4b588d(0x131)](_0x4b588d(0x127)),process[_0x4b588d(0x133)](0x0));};
1
+ function a10_0x5deb(){const _0x491d00=['330465xLdEBD','119dLXPcA','初始化失败,文件已存在!','readline','resolve','12mxytQS','124971CtTLhL','\x5ccli.init','\x5cwebstorm.config.js','56vrXhoA','\x5cjjb.config.json','24zHHLXi','exit','390yuaLaY','\x5cpackage.json','141876AoyUzi','10stQphd','17736HhNGDK','455088uDspKY','log','path','\x5cpublic','12469613gKmzwC','existsSync','96207hTixNz'];a10_0x5deb=function(){return _0x491d00;};return a10_0x5deb();}const a10_0x45f8e4=a10_0x2a3f;(function(_0x428813,_0x383ceb){const _0x36c191=a10_0x2a3f,_0x247212=_0x428813();while(!![]){try{const _0x3ae3e2=parseInt(_0x36c191(0xd0))/0x1+parseInt(_0x36c191(0xce))/0x2*(-parseInt(_0x36c191(0xd6))/0x3)+-parseInt(_0x36c191(0xc9))/0x4*(parseInt(_0x36c191(0xd7))/0x5)+parseInt(_0x36c191(0xcf))/0x6*(-parseInt(_0x36c191(0xd8))/0x7)+-parseInt(_0x36c191(0xe0))/0x8*(parseInt(_0x36c191(0xcd))/0x9)+parseInt(_0x36c191(0xcb))/0xa*(-parseInt(_0x36c191(0xdd))/0xb)+-parseInt(_0x36c191(0xdc))/0xc*(-parseInt(_0x36c191(0xd4))/0xd);if(_0x3ae3e2===_0x383ceb)break;else _0x247212['push'](_0x247212['shift']());}catch(_0x18261c){_0x247212['push'](_0x247212['shift']());}}}(a10_0x5deb,0x3df0b));function a10_0x2a3f(_0x37a496,_0x3fc9e2){const _0x5deb49=a10_0x5deb();return a10_0x2a3f=function(_0x2a3f9e,_0x4ef9fe){_0x2a3f9e=_0x2a3f9e-0xc8;let _0x17f9df=_0x5deb49[_0x2a3f9e];return _0x17f9df;},a10_0x2a3f(_0x37a496,_0x3fc9e2);}const path=require(a10_0x45f8e4(0xd2)),readline=require(a10_0x45f8e4(0xda)),{f_file_copy}=require('./cli.install/tools'),fs=require('fs');module['exports']=()=>{const _0x381aef=a10_0x45f8e4,_0x3df91f=path[_0x381aef(0xdb)]('./');!fs[_0x381aef(0xd5)](_0x3df91f+'\x5cjjb.script')&&!fs['existsSync'](_0x3df91f+_0x381aef(0xd3))&&!fs[_0x381aef(0xd5)](_0x3df91f+_0x381aef(0xc8))&&!fs[_0x381aef(0xd5)](_0x3df91f+_0x381aef(0xcc))&&!fs[_0x381aef(0xd5)](_0x3df91f+_0x381aef(0xdf))?(f_file_copy(__dirname+_0x381aef(0xde),_0x3df91f),console[_0x381aef(0xd1)]('初始化完成!'),process[_0x381aef(0xca)](0x0)):(console['log'](_0x381aef(0xd9)),process[_0x381aef(0xca)](0x0));};
@@ -1 +1 @@
1
- const a10_0x534e1a=a10_0x533e;function a10_0xe86a(){const _0x59a8eb=['CLI_DVA_ROUTER_SPA','jjb-common/http','CLI_DVA_REGISTER_PATH','3876846UBjmHi','COMMON_CONTENT_SPA_REPLACE','\x5cwebsite\x5cindex.js','return\x20__planA();','\x5cRejectText\x5cindex.js','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','CLOUD_PROJECT','common/website','hLqARY89CN6fUD3yg4NL','\x5cImageCropper\x5cindex.js','jjb-common/tools','\x5cImageUploader\x5cindex.js','2QqEobV','e9njpBd1nS_LREN8GFpR','G4HJRsHr9D7Ssmixegw2','8gaPDfU','now','GIT_HOST','jjb-common/color','\x5cdva\x5cautomatic\x5cregister.js','\x5cPageHeaderBar\x5cindex.js','\x5cRouterMenu\x5cindex.js','components','CLI_DVA_ROUTER_SAAS','common/tools','d4wQ7dzEjYPsgVbKnYei','common/http','282ASCesv','COMPONENTS_CONTENT_REPLACE','jjbAssembly_','jjb-react-admin-component','43596120vcOfEN','\x5c..\x5ccli.dva.register.spa.txt','FT3pKzxpRynFkmddJ9Bs','return\x20process.env;','CLI_DVA_REGISTER_SAAS','\x5c..\x5ccli.dva.router.saas.txt','CLI_DVA_REGISTER_SPA','3240345yTZJnF','3304764AfQsZb','GIT_TEMP_DIR','15544314FzsOLp','\x5cFileUploader\x5cindex.js','\x5cEditor\x5cindex.js','jjb-common/crypto','73507sfDfQV','COMMON_CONTENT_NOR_REPLACE','\x5ctools\x5cindex.js','http://192.168.1.242:10985','553168buGRKO'];a10_0xe86a=function(){return _0x59a8eb;};return a10_0xe86a();}(function(_0x46c489,_0x52f63d){const _0x3d6be2=a10_0x533e,_0x38f6ac=_0x46c489();while(!![]){try{const _0x1fa1f0=parseInt(_0x3d6be2(0xfb))/0x1*(parseInt(_0x3d6be2(0x10b))/0x2)+-parseInt(_0x3d6be2(0xff))/0x3+-parseInt(_0x3d6be2(0x126))/0x4+-parseInt(_0x3d6be2(0x125))/0x5+parseInt(_0x3d6be2(0x11a))/0x6*(parseInt(_0x3d6be2(0xf7))/0x7)+-parseInt(_0x3d6be2(0x10e))/0x8*(parseInt(_0x3d6be2(0xf3))/0x9)+parseInt(_0x3d6be2(0x11e))/0xa;if(_0x1fa1f0===_0x52f63d)break;else _0x38f6ac['push'](_0x38f6ac['shift']());}catch(_0x5edf23){_0x38f6ac['push'](_0x38f6ac['shift']());}}}(a10_0xe86a,0xdecff));function a10_0x533e(_0x368609,_0x4f72e2){const _0xe86ae=a10_0xe86a();return a10_0x533e=function(_0x533e2d,_0x313220){_0x533e2d=_0x533e2d-0xf2;let _0x32165d=_0xe86ae[_0x533e2d];return _0x32165d;},a10_0x533e(_0x368609,_0x4f72e2);}const os=require('os');exports[a10_0x534e1a(0x110)]=a10_0x534e1a(0xfa),exports[a10_0x534e1a(0xf2)]=a10_0x534e1a(0x11c)+Date[a10_0x534e1a(0x10f)](),exports[a10_0x534e1a(0x105)]={'common':{'token':a10_0x534e1a(0x10d),'projectId':0x117},'react-admin-component':{'token':a10_0x534e1a(0x120),'projectId':0x154},'jjb-dva-runtime':{'token':a10_0x534e1a(0x107),'projectId':0x23b},'jjb-common-lib':{'token':a10_0x534e1a(0x10c),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':a10_0x534e1a(0x118),'projectId':0x153}},exports['TEMPLATE_FOLDER']=os['tmpdir']()+'\x5c'+exports[a10_0x534e1a(0xf2)],exports[a10_0x534e1a(0xfc)]=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports[a10_0x534e1a(0x116)]=__dirname+a10_0x534e1a(0x123),exports[a10_0x534e1a(0x124)]=__dirname+a10_0x534e1a(0x11f),exports[a10_0x534e1a(0x122)]=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports['CLI_DVA_ROUTER_PATH']='\x5cdva\x5cautomatic\x5crouter.js',exports[a10_0x534e1a(0xfe)]=a10_0x534e1a(0x112),exports[a10_0x534e1a(0xf8)]=[{'path':a10_0x534e1a(0xf9),'replace':[[a10_0x534e1a(0x115),a10_0x534e1a(0x11d)]]},{'path':a10_0x534e1a(0x101),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a10_0x534e1a(0x104)],[a10_0x534e1a(0x115),a10_0x534e1a(0x11d)]]}],exports[a10_0x534e1a(0x100)]=[{'path':a10_0x534e1a(0xf9),'replace':[[a10_0x534e1a(0x102),a10_0x534e1a(0x121)]]}],exports['COMMON_CONTENT_MICRO_REPLACE']=[{'path':a10_0x534e1a(0xf9),'replace':[['return\x20__planA();','return\x20process.env.app;']]}],exports[a10_0x534e1a(0x11b)]=[{'path':a10_0x534e1a(0xf5),'replace':[[a10_0x534e1a(0x119),'jjb-common/http'],['common/crypto',a10_0x534e1a(0xf6)],['common/tools',a10_0x534e1a(0x109)]]},{'path':a10_0x534e1a(0x103),'replace':[['common/color',a10_0x534e1a(0x111)]]},{'path':a10_0x534e1a(0x114),'replace':[[a10_0x534e1a(0x117),a10_0x534e1a(0x109)]]},{'path':a10_0x534e1a(0xf4),'replace':[[a10_0x534e1a(0x119),a10_0x534e1a(0xfd)],['common/tools',a10_0x534e1a(0x109)]]},{'path':a10_0x534e1a(0x108),'replace':[['common/http','jjb-common/http'],[a10_0x534e1a(0x117),'jjb-common/tools']]},{'path':a10_0x534e1a(0x10a),'replace':[[a10_0x534e1a(0x119),a10_0x534e1a(0xfd)],[a10_0x534e1a(0x117),a10_0x534e1a(0x109)]]},{'path':a10_0x534e1a(0x113),'replace':[['common/color',a10_0x534e1a(0x111)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[[a10_0x534e1a(0x117),a10_0x534e1a(0x109)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[[a10_0x534e1a(0x106),'jjb-common/website'],['common/tools',a10_0x534e1a(0x109)]]}];
1
+ const a11_0x1ce676=a11_0x1df7;(function(_0x463178,_0x1226d8){const _0x51f168=a11_0x1df7,_0x2d6e19=_0x463178();while(!![]){try{const _0x3cf358=parseInt(_0x51f168(0x160))/0x1*(-parseInt(_0x51f168(0x16d))/0x2)+parseInt(_0x51f168(0x168))/0x3*(parseInt(_0x51f168(0x155))/0x4)+-parseInt(_0x51f168(0x17d))/0x5*(-parseInt(_0x51f168(0x170))/0x6)+-parseInt(_0x51f168(0x14b))/0x7*(-parseInt(_0x51f168(0x163))/0x8)+-parseInt(_0x51f168(0x15f))/0x9*(parseInt(_0x51f168(0x157))/0xa)+parseInt(_0x51f168(0x150))/0xb*(parseInt(_0x51f168(0x15a))/0xc)+-parseInt(_0x51f168(0x179))/0xd;if(_0x3cf358===_0x1226d8)break;else _0x2d6e19['push'](_0x2d6e19['shift']());}catch(_0xddbcfa){_0x2d6e19['push'](_0x2d6e19['shift']());}}}(a11_0x3494,0x564d9));const os=require('os');exports[a11_0x1ce676(0x158)]='http://192.168.1.242:10985',exports['GIT_TEMP_DIR']='jjbAssembly_'+Date[a11_0x1ce676(0x166)](),exports[a11_0x1ce676(0x14c)]={'common':{'token':a11_0x1ce676(0x175),'projectId':0x117},'react-admin-component':{'token':a11_0x1ce676(0x173),'projectId':0x154},'jjb-dva-runtime':{'token':a11_0x1ce676(0x16a),'projectId':0x23b},'jjb-common-lib':{'token':a11_0x1ce676(0x14e),'projectId':0x23c},'jjb-common-decorator':{'token':'gPSit8aJsLVmNzuQ5Cy4','projectId':0x23e},'vue-unisass-component':{'token':'d4wQ7dzEjYPsgVbKnYei','projectId':0x153}},exports[a11_0x1ce676(0x171)]=os[a11_0x1ce676(0x15e)]()+'\x5c'+exports[a11_0x1ce676(0x156)],exports[a11_0x1ce676(0x172)]=__dirname+'\x5c..\x5ccli.dva.router.spa.txt',exports[a11_0x1ce676(0x15b)]=__dirname+'\x5c..\x5ccli.dva.router.saas.txt',exports['CLI_DVA_REGISTER_SPA']=__dirname+a11_0x1ce676(0x15c),exports[a11_0x1ce676(0x16f)]=__dirname+a11_0x1ce676(0x14a),exports[a11_0x1ce676(0x174)]=a11_0x1ce676(0x162),exports[a11_0x1ce676(0x164)]=a11_0x1ce676(0x15d),exports[a11_0x1ce676(0x177)]=[{'path':a11_0x1ce676(0x17b),'replace':[[a11_0x1ce676(0x152),a11_0x1ce676(0x169)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a11_0x1ce676(0x152),a11_0x1ce676(0x169)]]}],exports[a11_0x1ce676(0x14f)]=[{'path':a11_0x1ce676(0x17b),'replace':[[a11_0x1ce676(0x159),a11_0x1ce676(0x151)]]}],exports[a11_0x1ce676(0x16c)]=[{'path':a11_0x1ce676(0x17b),'replace':[[a11_0x1ce676(0x159),a11_0x1ce676(0x17c)]]}],exports['COMPONENTS_CONTENT_REPLACE']=[{'path':a11_0x1ce676(0x176),'replace':[[a11_0x1ce676(0x17a),a11_0x1ce676(0x167)],['common/crypto',a11_0x1ce676(0x149)],[a11_0x1ce676(0x161),a11_0x1ce676(0x178)]]},{'path':a11_0x1ce676(0x165),'replace':[[a11_0x1ce676(0x153),a11_0x1ce676(0x16b)]]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[['common/tools',a11_0x1ce676(0x178)]]},{'path':a11_0x1ce676(0x154),'replace':[[a11_0x1ce676(0x17a),a11_0x1ce676(0x167)],[a11_0x1ce676(0x161),a11_0x1ce676(0x178)]]},{'path':'\x5cImageCropper\x5cindex.js','replace':[[a11_0x1ce676(0x17a),a11_0x1ce676(0x167)],[a11_0x1ce676(0x161),a11_0x1ce676(0x178)]]},{'path':a11_0x1ce676(0x14d),'replace':[[a11_0x1ce676(0x17a),'jjb-common/http'],[a11_0x1ce676(0x161),a11_0x1ce676(0x178)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a11_0x1ce676(0x153),a11_0x1ce676(0x16b)]]},{'path':'\x5cRouterContainer\x5cindex.js','replace':[['common/tools',a11_0x1ce676(0x178)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[['common/website',a11_0x1ce676(0x16e)],[a11_0x1ce676(0x161),a11_0x1ce676(0x178)]]}];function a11_0x1df7(_0x3ae89e,_0x190ea1){const _0x34948d=a11_0x3494();return a11_0x1df7=function(_0x1df748,_0xc2e69a){_0x1df748=_0x1df748-0x149;let _0x51be47=_0x34948d[_0x1df748];return _0x51be47;},a11_0x1df7(_0x3ae89e,_0x190ea1);}function a11_0x3494(){const _0x913f2a=['\x5cdva\x5cautomatic\x5crouter.js','528368piSjqV','CLI_DVA_REGISTER_PATH','\x5cRejectText\x5cindex.js','now','jjb-common/http','460407QsKKwy','jjb-react-admin-component','hLqARY89CN6fUD3yg4NL','jjb-common/color','COMMON_CONTENT_MICRO_REPLACE','116cPHIPC','jjb-common/website','CLI_DVA_REGISTER_SAAS','95826cngHlQ','TEMPLATE_FOLDER','CLI_DVA_ROUTER_SPA','FT3pKzxpRynFkmddJ9Bs','CLI_DVA_ROUTER_PATH','G4HJRsHr9D7Ssmixegw2','\x5cEditor\x5cindex.js','COMMON_CONTENT_NOR_REPLACE','jjb-common/tools','1134198ddVXYl','common/http','\x5ctools\x5cindex.js','return\x20process.env.app;','25wIjIAI','jjb-common/crypto','\x5c..\x5ccli.dva.register.saas.txt','56ggaUeW','CLOUD_PROJECT','\x5cImageUploader\x5cindex.js','e9njpBd1nS_LREN8GFpR','COMMON_CONTENT_SPA_REPLACE','12287HhfgDy','return\x20process.env;','components','common/color','\x5cFileUploader\x5cindex.js','12LqIVoP','GIT_TEMP_DIR','808270udopBi','GIT_HOST','return\x20__planA();','2376ZMghbB','CLI_DVA_ROUTER_SAAS','\x5c..\x5ccli.dva.register.spa.txt','\x5cdva\x5cautomatic\x5cregister.js','tmpdir','45GSQNnD','7671IQNCpU','common/tools'];a11_0x3494=function(){return _0x913f2a;};return a11_0x3494();}
@@ -1 +1 @@
1
- const a11_0x1775e6=a11_0x3a2f;(function(_0x38b318,_0x24d2ea){const _0x3ebf9f=a11_0x3a2f,_0x175e61=_0x38b318();while(!![]){try{const _0x38f0b0=parseInt(_0x3ebf9f(0x1a2))/0x1+-parseInt(_0x3ebf9f(0x1d4))/0x2+parseInt(_0x3ebf9f(0x1de))/0x3*(-parseInt(_0x3ebf9f(0x1a0))/0x4)+parseInt(_0x3ebf9f(0x1ae))/0x5+parseInt(_0x3ebf9f(0x1dd))/0x6*(-parseInt(_0x3ebf9f(0x1a6))/0x7)+-parseInt(_0x3ebf9f(0x1b3))/0x8*(parseInt(_0x3ebf9f(0x1d7))/0x9)+parseInt(_0x3ebf9f(0x1ca))/0xa;if(_0x38f0b0===_0x24d2ea)break;else _0x175e61['push'](_0x175e61['shift']());}catch(_0x37589f){_0x175e61['push'](_0x175e61['shift']());}}}(a11_0x284b,0x80c18));function a11_0x284b(){const _0x40d61c=['.idea','join','.gitignore','filter','exit','1516975EeTQXz','index.js','length','rmdirSync','exports','40tcCAGH','\x20}\x20from\x20\x27./','push','./config','zip','installResources','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','setting.json','existsSync','unlinkSync','\x5cindex.js','repository','1.0.0','name','uncompress','micro-spa','forEach','mkdirSync','toString','installTarget','request','replace','compressing','28346200AOSbAQ','\x5cdva\x5cautomatic','pipe','readFileSync','now','jjb-common','./tools','src\x5c','【jjb-cmd】:install命令执行完成,用时','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','1159496jnTvQK','compress','close','1296459eQIhRQ','spa','src','writeFileSync','log','map','1971042xjoezu','8139pFeTGw','_zip','node_modules','pure_name','readdirSync','1376tQTUdq','【Error】:安装失败,node_modules目录不存在。','608165PixSHz','projectType','react-admin-component','RouterContainer','21MzZUSW','path','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;'];a11_0x284b=function(){return _0x40d61c;};return a11_0x284b();}const fs=require('fs'),path=require('path'),request=require(a11_0x1775e6(0x1c7)),compressing=require(a11_0x1775e6(0x1c9)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a11_0x1775e6(0x1d0)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a11_0x1775e6(0x1b6)),start_time=Date[a11_0x1775e6(0x1ce)]();function a11_0x3a2f(_0xa0fb76,_0x37744c){const _0x284b59=a11_0x284b();return a11_0x3a2f=function(_0x3a2f32,_0x63d6d7){_0x3a2f32=_0x3a2f32-0x19e;let _0x177e30=_0x284b59[_0x3a2f32];return _0x177e30;},a11_0x3a2f(_0xa0fb76,_0x37744c);}module[a11_0x1775e6(0x1b2)]=()=>{const _0x4f8096=a11_0x1775e6,_0x6c1f1d=path['resolve']('./'),_0x5b7e00=[_0x6c1f1d,_0x4f8096(0x1d1)]['join']('\x5c'),_0x22687b=[_0x6c1f1d,_0x4f8096(0x1e0)][_0x4f8096(0x1aa)]('\x5c'),_0x43ccbb=[_0x6c1f1d,'package.json'][_0x4f8096(0x1aa)]('\x5c');if(f_scan_jjb_config_json(_0x6c1f1d)){const _0x1fa857=f_scan_jjb_config_json_rules(_0x6c1f1d);_0x1fa857[_0x4f8096(0x1c6)]===_0x4f8096(0x1e0)?!fs[_0x4f8096(0x1bb)](_0x22687b)?(console[_0x4f8096(0x1db)](_0x4f8096(0x1a1)),process[_0x4f8096(0x1ad)](0x0)):console[_0x4f8096(0x1db)](_0x4f8096(0x1d3)):!fs[_0x4f8096(0x1bb)](_0x5b7e00)&&(console[_0x4f8096(0x1db)]('【Error】:安装失败,src目录不存在。'),process['exit'](0x0));fs[_0x4f8096(0x1c4)](TEMPLATE_FOLDER),f_pull_git_repository(_0x1fa857['installResources'])[_0x4f8096(0x1dc)](_0x2ff255=>{const _0x4d3f0c=_0x4f8096,_0x146be2=fs['createWriteStream'](_0x2ff255[_0x4d3f0c(0x1a7)]);request(_0x2ff255[_0x4d3f0c(0x1be)])[_0x4d3f0c(0x1cc)](_0x146be2)['on'](_0x4d3f0c(0x1d6),()=>{const _0x3128=_0x4d3f0c;fs[_0x3128(0x1c4)](_0x2ff255[_0x3128(0x1d5)]),compressing[_0x3128(0x1b7)][_0x3128(0x1c1)](_0x2ff255[_0x3128(0x1a7)],_0x2ff255[_0x3128(0x1d5)]);});});const _0x2e93b8=setInterval(()=>{const _0x2eb484=_0x4f8096,_0x5df155=fs[_0x2eb484(0x19f)](TEMPLATE_FOLDER),_0x1fbddc=_0x5df155[_0x2eb484(0x1ac)](_0x27fd46=>_0x1fa857[_0x2eb484(0x1b8)][_0x2eb484(0x1dc)](_0x18638e=>_0x18638e[_0x2eb484(0x1c0)]+_0x2eb484(0x1df))['includes'](_0x27fd46));if(_0x1fbddc[_0x2eb484(0x1b0)]===_0x1fa857[_0x2eb484(0x1b8)]['length']){clearInterval(_0x2e93b8);const _0x42114d=[];_0x1fbddc['forEach'](_0x4dbda8=>{const _0x48ec38=_0x2eb484,_0xdaf4d9=[TEMPLATE_FOLDER,_0x4dbda8][_0x48ec38(0x1aa)]('\x5c');fs[_0x48ec38(0x19f)](_0xdaf4d9)['forEach'](_0x355b27=>_0x42114d[_0x48ec38(0x1b5)]({'name':_0x4dbda8,'path':[_0xdaf4d9,_0x355b27][_0x48ec38(0x1aa)]('\x5c'),'pure_name':_0x4dbda8[_0x48ec38(0x1c8)](/_zip$/,''),'import_list':_0x1fa857[_0x48ec38(0x1b8)]['find'](_0x193985=>_0x193985[_0x48ec38(0x1c0)]+'_zip'===_0x4dbda8)['importList']}));}),_0x42114d[_0x2eb484(0x1c3)](_0x2e9ae7=>{const _0x5566e9=_0x2eb484,_0x519d90=_0x2e9ae7[_0x5566e9(0x19e)],_0x1717d0=_0x2e9ae7['import_list'],_0x9b6968=[_0x2e9ae7[_0x5566e9(0x1a7)],_0x5566e9(0x1a9)][_0x5566e9(0x1aa)]('//'),_0x39e096=[_0x2e9ae7['path'],_0x5566e9(0x1ab)][_0x5566e9(0x1aa)]('//');fs[_0x5566e9(0x1bb)](_0x9b6968)&&(f_rm_rf(_0x9b6968),fs[_0x5566e9(0x1b1)](_0x9b6968));fs[_0x5566e9(0x1bb)](_0x39e096)&&fs[_0x5566e9(0x1bc)](_0x39e096);if(_0x1717d0['length']){fs[_0x5566e9(0x19f)](_0x2e9ae7[_0x5566e9(0x1a7)])[_0x5566e9(0x1ac)](_0x50aa88=>!_0x1717d0['includes'](_0x50aa88)&&_0x50aa88!==_0x5566e9(0x1af)&&_0x50aa88!==_0x5566e9(0x1ba))['forEach'](_0x2fba3f=>{const _0x527978=_0x5566e9,_0x4947ba=_0x2e9ae7[_0x527978(0x1a7)]+'\x5c'+_0x2fba3f;f_rm_rf(_0x4947ba),fs[_0x527978(0x1b1)](_0x4947ba);});if(_0x519d90==='react-admin-component'){const _0x444e48=[];fs[_0x5566e9(0x19f)](_0x2e9ae7[_0x5566e9(0x1a7)])[_0x5566e9(0x1ac)](_0x5e7cb3=>_0x5e7cb3!==_0x5566e9(0x1af))[_0x5566e9(0x1c3)](_0x1dc3e4=>{const _0x57e577=_0x5566e9;_0x1dc3e4===_0x57e577(0x1a5)?_0x444e48[_0x57e577(0x1b5)](_0x57e577(0x1a8)):_0x444e48[_0x57e577(0x1b5)]('export\x20{\x20default\x20as\x20'+_0x1dc3e4+_0x57e577(0x1b4)+_0x1dc3e4+'\x27;');}),fs[_0x5566e9(0x1da)](_0x2e9ae7[_0x5566e9(0x1a7)]+_0x5566e9(0x1bd),_0x444e48[_0x5566e9(0x1aa)]('\x0a'));}}if(_0x519d90===_0x5566e9(0x1cf)){const _0x5bf2b9=[_0x2e9ae7[_0x5566e9(0x1a7)],_0x5566e9(0x1cb)]['join']('\x5c');if([_0x5566e9(0x1d8),_0x5566e9(0x1c2)]['includes'](_0x1fa857[_0x5566e9(0x1a3)]))fs[_0x5566e9(0x1bb)](_0x5bf2b9)&&(f_content_replace(_0x1fa857['projectType']==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x2e9ae7[_0x5566e9(0x1a7)]),fs[_0x5566e9(0x1da)](_0x2e9ae7[_0x5566e9(0x1a7)]+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x1fa857[_0x5566e9(0x1a3)]==='spa'?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x5566e9(0x1c5)]()),fs['writeFileSync'](_0x2e9ae7[_0x5566e9(0x1a7)]+CLI_DVA_REGISTER_PATH,fs[_0x5566e9(0x1cd)](_0x1fa857['projectType']===_0x5566e9(0x1d8)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)['toString']()));else _0x1fa857[_0x5566e9(0x1a3)]==='multi'&&(fs[_0x5566e9(0x1bb)](_0x5bf2b9)&&(f_rm_rf(_0x5bf2b9),fs[_0x5566e9(0x1b1)](_0x5bf2b9)));}else{if(_0x519d90===_0x5566e9(0x1a4))_0x1fa857[_0x5566e9(0x1a3)]===_0x5566e9(0x1c2)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x2e9ae7[_0x5566e9(0x1a7)]);else{if(_0x519d90==='vue-unisass-component'){}}}if(_0x1fa857[_0x5566e9(0x1c6)]==='node_modules'){const _0x1e7f6c=_0x519d90;fs['existsSync'](_0x22687b+'\x5c'+_0x1e7f6c)?f_rm_rf(_0x22687b+'\x5c'+_0x1e7f6c):fs[_0x5566e9(0x1c4)](_0x22687b+'\x5c'+_0x1e7f6c),f_file_copy(_0x2e9ae7['path'],_0x22687b+'\x5c'+_0x1e7f6c),f_create_package_json(_0x22687b+'\x5c'+_0x1e7f6c,_0x1e7f6c,'1.0.0'),f_update_project_package_json(_0x43ccbb,_0x1e7f6c,_0x5566e9(0x1bf));}else{if(_0x1fa857['installTarget']===_0x5566e9(0x1d9)){const _0x5b6546=_0x5566e9(0x1a4);fs[_0x5566e9(0x1bb)](_0x5b7e00+_0x5b6546)?f_rm_rf(_0x5b7e00+_0x5b6546):fs[_0x5566e9(0x1c4)](_0x5b7e00+_0x5b6546),f_file_copy(_0x2e9ae7['path'],_0x5b7e00+_0x5b6546);}}}),setTimeout(()=>{const _0x3e53f6=_0x2eb484;f_rm_rf(TEMPLATE_FOLDER),fs[_0x3e53f6(0x1b1)](TEMPLATE_FOLDER);const _0x1b0566=Date[_0x3e53f6(0x1ce)]();console[_0x3e53f6(0x1db)](_0x3e53f6(0x1d2)+(_0x1b0566-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x4f8096(0x1db)](_0x4f8096(0x1b9));};
1
+ const a12_0x4c4325=a12_0x5f20;(function(_0x30a275,_0x4d8908){const _0xdd61a9=a12_0x5f20,_0x39c7fc=_0x30a275();while(!![]){try{const _0x4fd8f2=-parseInt(_0xdd61a9(0xeb))/0x1+parseInt(_0xdd61a9(0x10c))/0x2*(-parseInt(_0xdd61a9(0xff))/0x3)+-parseInt(_0xdd61a9(0xe8))/0x4+-parseInt(_0xdd61a9(0x118))/0x5+-parseInt(_0xdd61a9(0xe4))/0x6*(parseInt(_0xdd61a9(0xe0))/0x7)+parseInt(_0xdd61a9(0xec))/0x8+parseInt(_0xdd61a9(0x102))/0x9*(parseInt(_0xdd61a9(0xf8))/0xa);if(_0x4fd8f2===_0x4d8908)break;else _0x39c7fc['push'](_0x39c7fc['shift']());}catch(_0x49b999){_0x39c7fc['push'](_0x39c7fc['shift']());}}}(a12_0x2fd5,0xd8fb4));function a12_0x5f20(_0x414242,_0x3055d8){const _0x2fd5e4=a12_0x2fd5();return a12_0x5f20=function(_0x5f20f0,_0x56c2df){_0x5f20f0=_0x5f20f0-0xe0;let _0x293ac4=_0x2fd5e4[_0x5f20f0];return _0x293ac4;},a12_0x5f20(_0x414242,_0x3055d8);}const fs=require('fs'),path=require(a12_0x4c4325(0xe1)),request=require(a12_0x4c4325(0xf3)),compressing=require(a12_0x4c4325(0x103)),{f_rm_rf,f_file_copy,f_content_replace,f_create_package_json,f_pull_git_repository,f_scan_jjb_config_json,f_scan_jjb_config_json_rules,f_update_project_package_json}=require(a12_0x4c4325(0xfa)),{TEMPLATE_FOLDER,COMMON_CONTENT_SPA_REPLACE,CLI_DVA_ROUTER_PATH,CLI_DVA_REGISTER_PATH,CLI_DVA_ROUTER_SPA,CLI_DVA_REGISTER_SPA,CLI_DVA_ROUTER_SAAS,CLI_DVA_REGISTER_SAAS,COMMON_CONTENT_MICRO_REPLACE,COMMON_CONTENT_NOR_REPLACE,COMPONENTS_CONTENT_REPLACE}=require(a12_0x4c4325(0x10a)),start_time=Date[a12_0x4c4325(0x11f)]();function a12_0x2fd5(){const _0x1396ba=['name','vue-unisass-component','.gitignore','setting.json','\x5cindex.js','now','writeFileSync','installTarget','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','readFileSync','1079015kbwWYN','path','jjb-common','\x20}\x20from\x20\x27./','12prsLvA','push','node_modules','package.json','1130036edkNYz','micro-spa','\x5cdva\x5cautomatic','512497drYxPO','5525064TNgcWA','【Error】:安装失败,node_modules目录不存在。','index.js','close','readdirSync','1.0.0','toString','request','unlinkSync','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','compress','resolve','18444730kcWGXq','filter','./tools','repository','join','react-admin-component','log','1239TgEUIf','import_list','.idea','9zhgWvS','compressing','spa','【jjb-cmd】:install命令执行完成,用时','mkdirSync','map','src\x5c','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','./config','export\x20{\x20default\x20as\x20','2062jppXAj','replace','RouterContainer','importList','src','forEach','_zip','existsSync','installResources','projectType','rmdirSync','includes','586255LoJlEv','length'];a12_0x2fd5=function(){return _0x1396ba;};return a12_0x2fd5();}module['exports']=()=>{const _0x1f4dd8=a12_0x4c4325,_0x4e1b90=path[_0x1f4dd8(0xf7)]('./'),_0x52512d=[_0x4e1b90,_0x1f4dd8(0x108)]['join']('\x5c'),_0x4c4531=[_0x4e1b90,'node_modules']['join']('\x5c'),_0x19dcb9=[_0x4e1b90,_0x1f4dd8(0xe7)][_0x1f4dd8(0xfc)]('\x5c');if(f_scan_jjb_config_json(_0x4e1b90)){const _0x5ceff6=f_scan_jjb_config_json_rules(_0x4e1b90);_0x5ceff6[_0x1f4dd8(0x121)]===_0x1f4dd8(0xe6)?!fs[_0x1f4dd8(0x113)](_0x4c4531)?(console[_0x1f4dd8(0xfe)](_0x1f4dd8(0xed)),process['exit'](0x0)):console[_0x1f4dd8(0xfe)](_0x1f4dd8(0x109)):!fs[_0x1f4dd8(0x113)](_0x52512d)&&(console[_0x1f4dd8(0xfe)]('【Error】:安装失败,src目录不存在。'),process['exit'](0x0));fs['mkdirSync'](TEMPLATE_FOLDER),f_pull_git_repository(_0x5ceff6[_0x1f4dd8(0x114)])['map'](_0x414206=>{const _0x576856=_0x1f4dd8,_0x31921c=fs['createWriteStream'](_0x414206[_0x576856(0xe1)]);request(_0x414206[_0x576856(0xfb)])['pipe'](_0x31921c)['on'](_0x576856(0xef),()=>{const _0x2df3ec=_0x576856;fs[_0x2df3ec(0x106)](_0x414206[_0x2df3ec(0xf6)]),compressing['zip']['uncompress'](_0x414206[_0x2df3ec(0xe1)],_0x414206['compress']);});});const _0x45251e=setInterval(()=>{const _0x15e80e=_0x1f4dd8,_0x399947=fs[_0x15e80e(0xf0)](TEMPLATE_FOLDER),_0xab6e04=_0x399947['filter'](_0x2a6112=>_0x5ceff6[_0x15e80e(0x114)][_0x15e80e(0x107)](_0x5e85ae=>_0x5e85ae['name']+'_zip')[_0x15e80e(0x117)](_0x2a6112));if(_0xab6e04['length']===_0x5ceff6['installResources'][_0x15e80e(0x119)]){clearInterval(_0x45251e);const _0xa8cf0e=[];_0xab6e04[_0x15e80e(0x111)](_0x3e30b2=>{const _0x190f2d=_0x15e80e,_0x51ef06=[TEMPLATE_FOLDER,_0x3e30b2][_0x190f2d(0xfc)]('\x5c');fs['readdirSync'](_0x51ef06)[_0x190f2d(0x111)](_0x4874eb=>_0xa8cf0e[_0x190f2d(0xe5)]({'name':_0x3e30b2,'path':[_0x51ef06,_0x4874eb][_0x190f2d(0xfc)]('\x5c'),'pure_name':_0x3e30b2[_0x190f2d(0x10d)](/_zip$/,''),'import_list':_0x5ceff6[_0x190f2d(0x114)]['find'](_0x5cf733=>_0x5cf733[_0x190f2d(0x11a)]+_0x190f2d(0x112)===_0x3e30b2)[_0x190f2d(0x10f)]}));}),_0xa8cf0e[_0x15e80e(0x111)](_0x251ce8=>{const _0x469a61=_0x15e80e,_0x66fa30=_0x251ce8['pure_name'],_0x227ae7=_0x251ce8[_0x469a61(0x100)],_0x72f0ac=[_0x251ce8[_0x469a61(0xe1)],_0x469a61(0x101)]['join']('//'),_0x1888ba=[_0x251ce8[_0x469a61(0xe1)],_0x469a61(0x11c)]['join']('//');fs[_0x469a61(0x113)](_0x72f0ac)&&(f_rm_rf(_0x72f0ac),fs[_0x469a61(0x116)](_0x72f0ac));fs['existsSync'](_0x1888ba)&&fs[_0x469a61(0xf4)](_0x1888ba);if(_0x227ae7[_0x469a61(0x119)]){fs[_0x469a61(0xf0)](_0x251ce8[_0x469a61(0xe1)])['filter'](_0x28c48b=>!_0x227ae7[_0x469a61(0x117)](_0x28c48b)&&_0x28c48b!==_0x469a61(0xee)&&_0x28c48b!==_0x469a61(0x11d))[_0x469a61(0x111)](_0x1402e1=>{const _0x19c647=_0x469a61,_0x1cbed5=_0x251ce8[_0x19c647(0xe1)]+'\x5c'+_0x1402e1;f_rm_rf(_0x1cbed5),fs[_0x19c647(0x116)](_0x1cbed5);});if(_0x66fa30===_0x469a61(0xfd)){const _0x784a36=[];fs['readdirSync'](_0x251ce8[_0x469a61(0xe1)])[_0x469a61(0xf9)](_0x58daf7=>_0x58daf7!==_0x469a61(0xee))[_0x469a61(0x111)](_0x44c7d3=>{const _0x4b57c1=_0x469a61;_0x44c7d3===_0x4b57c1(0x10e)?_0x784a36[_0x4b57c1(0xe5)](_0x4b57c1(0xf5)):_0x784a36[_0x4b57c1(0xe5)](_0x4b57c1(0x10b)+_0x44c7d3+_0x4b57c1(0xe3)+_0x44c7d3+'\x27;');}),fs[_0x469a61(0x120)](_0x251ce8[_0x469a61(0xe1)]+_0x469a61(0x11e),_0x784a36[_0x469a61(0xfc)]('\x0a'));}}if(_0x66fa30===_0x469a61(0xe2)){const _0x22255f=[_0x251ce8['path'],_0x469a61(0xea)][_0x469a61(0xfc)]('\x5c');if(['spa',_0x469a61(0xe9)][_0x469a61(0x117)](_0x5ceff6['projectType']))fs['existsSync'](_0x22255f)&&(f_content_replace(_0x5ceff6[_0x469a61(0x115)]===_0x469a61(0x104)?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x251ce8[_0x469a61(0xe1)]),fs[_0x469a61(0x120)](_0x251ce8[_0x469a61(0xe1)]+CLI_DVA_ROUTER_PATH,fs[_0x469a61(0x123)](_0x5ceff6[_0x469a61(0x115)]===_0x469a61(0x104)?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x469a61(0xf2)]()),fs[_0x469a61(0x120)](_0x251ce8[_0x469a61(0xe1)]+CLI_DVA_REGISTER_PATH,fs[_0x469a61(0x123)](_0x5ceff6[_0x469a61(0x115)]===_0x469a61(0x104)?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x469a61(0xf2)]()));else _0x5ceff6[_0x469a61(0x115)]==='multi'&&(fs[_0x469a61(0x113)](_0x22255f)&&(f_rm_rf(_0x22255f),fs['rmdirSync'](_0x22255f)));}else{if(_0x66fa30===_0x469a61(0xfd))_0x5ceff6[_0x469a61(0x115)]==='micro-spa'&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x251ce8[_0x469a61(0xe1)]);else{if(_0x66fa30===_0x469a61(0x11b)){}}}if(_0x5ceff6['installTarget']===_0x469a61(0xe6)){const _0x25123a=_0x66fa30;fs['existsSync'](_0x4c4531+'\x5c'+_0x25123a)?f_rm_rf(_0x4c4531+'\x5c'+_0x25123a):fs['mkdirSync'](_0x4c4531+'\x5c'+_0x25123a),f_file_copy(_0x251ce8['path'],_0x4c4531+'\x5c'+_0x25123a),f_create_package_json(_0x4c4531+'\x5c'+_0x25123a,_0x25123a,_0x469a61(0xf1)),f_update_project_package_json(_0x19dcb9,_0x25123a,_0x469a61(0xf1));}else{if(_0x5ceff6[_0x469a61(0x121)]===_0x469a61(0x110)){const _0x42380f=_0x469a61(0xfd);fs['existsSync'](_0x52512d+_0x42380f)?f_rm_rf(_0x52512d+_0x42380f):fs['mkdirSync'](_0x52512d+_0x42380f),f_file_copy(_0x251ce8[_0x469a61(0xe1)],_0x52512d+_0x42380f);}}}),setTimeout(()=>{const _0x391795=_0x15e80e;f_rm_rf(TEMPLATE_FOLDER),fs[_0x391795(0x116)](TEMPLATE_FOLDER);const _0x3f4c61=Date[_0x391795(0x11f)]();console[_0x391795(0xfe)](_0x391795(0x105)+(_0x3f4c61-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x1f4dd8(0xfe)](_0x1f4dd8(0x122));};
@@ -1 +1 @@
1
- const a12_0x4762a5=a12_0x49cc;(function(_0x101aef,_0x323210){const _0x4b52d9=a12_0x49cc,_0x26edc8=_0x101aef();while(!![]){try{const _0x5625fa=-parseInt(_0x4b52d9(0x114))/0x1+-parseInt(_0x4b52d9(0x133))/0x2*(parseInt(_0x4b52d9(0x121))/0x3)+parseInt(_0x4b52d9(0x13a))/0x4*(parseInt(_0x4b52d9(0x13f))/0x5)+-parseInt(_0x4b52d9(0x143))/0x6*(parseInt(_0x4b52d9(0x134))/0x7)+parseInt(_0x4b52d9(0x118))/0x8*(-parseInt(_0x4b52d9(0x11e))/0x9)+-parseInt(_0x4b52d9(0x128))/0xa*(-parseInt(_0x4b52d9(0x10a))/0xb)+parseInt(_0x4b52d9(0x11b))/0xc;if(_0x5625fa===_0x323210)break;else _0x26edc8['push'](_0x26edc8['shift']());}catch(_0x486369){_0x26edc8['push'](_0x26edc8['shift']());}}}(a12_0x5648,0x4d33f));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a12_0x4762a5(0x141));function a12_0x5648(){const _0x5a5b16=['src','unlinkSync','installTarget','stringify','map','/repository/archive.zip?private_token=','4730IHQCjT','isDirectory','readdirSync','f_rm_rf','rmdirSync','【Error】:[jjb.config.json.projectType]类型是一个string。','parse','f_file_copy','projectId','\x22,\x22version\x22:\x22','18118uMFQtA','string','f_resolve_install_resources','【Error】:[jjb.config.json.installTarget]类型是一个string。','856smWLSg','includes','readFileSync','3947004eHbwVl','jjb-common-lib','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','16911aKGyfQ','f_scan_jjb_config_json','vue-unisass-component','3aWeVJG','installResources','uniapp','f_create_package_json','_zip','statSync','jjb-common-decorator','3920zzqFzU','writeFileSync','micro-spa','\x5cjjb.config.json','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','dependencies','jjb-common','projectType','\x5cpackage.json','push','465574pmbohX','7mEbyqH','f_content_replace','log','\x22,\x22main\x22:\x20\x22index.js\x22}','tmpdir','【Error】:[jjb.config.json.installResources]无资源。','1106884OCbpGx','length','forEach','f_scan_jjb_config_json_rules','multi','5RvfVmG','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','./config','token','36102gQDlni','spa','isArray','exit','jjb-dva-runtime','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','toString','name','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'];a12_0x5648=function(){return _0x5a5b16;};return a12_0x5648();}function a12_0x49cc(_0xab897a,_0x2b9741){const _0x564815=a12_0x5648();return a12_0x49cc=function(_0x49ccdf,_0x24fd15){_0x49ccdf=_0x49ccdf-0xfe;let _0x4f86cb=_0x564815[_0x49ccdf];return _0x4f86cb;},a12_0x49cc(_0xab897a,_0x2b9741);}exports[a12_0x4762a5(0x10d)]=function(_0xb28c16){const _0x30f9df=a12_0x4762a5;if(fs['existsSync'](_0xb28c16)){const _0x4983b7=fs[_0x30f9df(0x10c)](_0xb28c16);for(let _0xbffbdb=0x0;_0xbffbdb<_0x4983b7[_0x30f9df(0x13b)];_0xbffbdb++){const _0x48e472=_0x4983b7[_0xbffbdb],_0x5bf36c=_0xb28c16+'/'+_0x48e472;fs['statSync'](_0x5bf36c)[_0x30f9df(0x10b)]()?(exports[_0x30f9df(0x10d)](_0x5bf36c),fs[_0x30f9df(0x10e)](_0x5bf36c)):fs[_0x30f9df(0x105)](_0x5bf36c);}}},exports['f_pull_git_repository']=function(_0x338d71=[]){const _0x22d986=a12_0x4762a5;return _0x338d71[_0x22d986(0x108)](_0x2a1880=>{const _0x387bf0=_0x22d986,_0x3c4c44=CLOUD_PROJECT[_0x2a1880[_0x387bf0(0x102)]]||undefined,_0x5460fa=os[_0x387bf0(0x138)]();return{'path':_0x5460fa+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x2a1880[_0x387bf0(0x102)]+'.zip','compress':_0x5460fa+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x2a1880[_0x387bf0(0x102)]+_0x387bf0(0x125),'repository':GIT_HOST+'/api/v4/projects/'+_0x3c4c44[_0x387bf0(0x112)]+_0x387bf0(0x109)+_0x3c4c44[_0x387bf0(0x142)]+'&ref=master'};});},exports[a12_0x4762a5(0x11f)]=function(_0x2fa52c){const _0x46ae10=a12_0x4762a5;return fs['existsSync'](_0x2fa52c+_0x46ae10(0x12b));},exports[a12_0x4762a5(0x13d)]=function(_0x17889e){const _0x2481fe=a12_0x4762a5;let _0x1ce8b6={};try{_0x1ce8b6=JSON[_0x2481fe(0x110)](fs[_0x2481fe(0x11a)](_0x17889e+'\x5cjjb.config.json')[_0x2481fe(0x101)]());}catch(_0x216fde){console[_0x2481fe(0x136)](_0x2481fe(0x103)),process[_0x2481fe(0x146)](0x0);}!(_0x2481fe(0x130)in _0x1ce8b6)&&(console['log'](_0x2481fe(0x11d)),process['exit'](0x0));!(_0x2481fe(0x106)in _0x1ce8b6)&&(console[_0x2481fe(0x136)](_0x2481fe(0x12d)),process['exit'](0x0));!(_0x2481fe(0x122)in _0x1ce8b6)&&(console['log'](_0x2481fe(0xff)),process[_0x2481fe(0x146)](0x0));typeof _0x1ce8b6[_0x2481fe(0x130)]!==_0x2481fe(0x115)&&(console[_0x2481fe(0x136)](_0x2481fe(0x10f)),process[_0x2481fe(0x146)](0x0));![_0x2481fe(0x13e),_0x2481fe(0x144),_0x2481fe(0x123),_0x2481fe(0x12a)][_0x2481fe(0x119)](_0x1ce8b6['projectType'])&&(console[_0x2481fe(0x136)](_0x2481fe(0x12c)),process['exit'](0x0));typeof _0x1ce8b6[_0x2481fe(0x106)]!=='string'&&(console[_0x2481fe(0x136)](_0x2481fe(0x117)),process['exit'](0x0));!['node_modules',_0x2481fe(0x104)]['includes'](_0x1ce8b6[_0x2481fe(0x106)])&&(console[_0x2481fe(0x136)]('【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。'),process[_0x2481fe(0x146)](0x0));!Array[_0x2481fe(0x145)](_0x1ce8b6[_0x2481fe(0x122)])&&(console[_0x2481fe(0x136)](_0x2481fe(0x100)),process[_0x2481fe(0x146)](0x0));_0x1ce8b6[_0x2481fe(0x122)]['length']===0x0&&(console['log'](_0x2481fe(0x139)),process[_0x2481fe(0x146)](0x0));const _0x36e32c=exports[_0x2481fe(0x116)](_0x1ce8b6[_0x2481fe(0x122)]);return _0x36e32c[_0x2481fe(0x108)](_0x5d5109=>_0x5d5109[_0x2481fe(0x102)])['filter'](_0x496fb6=>![_0x2481fe(0x12f),_0x2481fe(0xfe),_0x2481fe(0x11c),_0x2481fe(0x127),'react-admin-component',_0x2481fe(0x120)][_0x2481fe(0x119)](_0x496fb6))[_0x2481fe(0x13b)]!==0x0&&(console[_0x2481fe(0x136)](_0x2481fe(0x140)),process[_0x2481fe(0x146)](0x0)),_0x1ce8b6[_0x2481fe(0x122)]=_0x36e32c,_0x1ce8b6;},exports[a12_0x4762a5(0x124)]=function(_0x2a861b,_0x1754a3,_0x1b0ab3){const _0x2c2b99=a12_0x4762a5;fs[_0x2c2b99(0x129)](_0x2a861b+_0x2c2b99(0x131),'{\x22name\x22:\x22'+_0x1754a3+_0x2c2b99(0x113)+_0x1b0ab3+_0x2c2b99(0x137));},exports[a12_0x4762a5(0x116)]=function(_0x219b26=[]){const _0x28774e=a12_0x4762a5,_0x30fe09=[];return Array['isArray'](_0x219b26)&&_0x219b26[_0x28774e(0x13c)](_0x1b2aa6=>{const _0x371154=_0x28774e;if(Array['isArray'](_0x1b2aa6)){const [_0x18af0f,_0x3c464c=[]]=_0x1b2aa6;_0x30fe09['push']({'name':_0x18af0f,'importList':_0x3c464c});}else _0x30fe09[_0x371154(0x132)]({'name':_0x1b2aa6,'importList':[]});}),_0x30fe09;},exports['f_update_project_package_json']=function(_0x313410,_0x51aed6,_0x4895f9){const _0xb47a37=a12_0x4762a5,_0xe42a4f=JSON['parse'](fs[_0xb47a37(0x11a)](_0x313410)[_0xb47a37(0x101)]());_0xe42a4f[_0xb47a37(0x12e)][_0x51aed6]=_0x4895f9,fs[_0xb47a37(0x129)](_0x313410,JSON[_0xb47a37(0x107)](_0xe42a4f,null,0x2));},exports['f_file_copy']=function(_0x4713e6,_0x5f039e){const _0x21503b=a12_0x4762a5;fs[_0x21503b(0x10c)](_0x4713e6)[_0x21503b(0x13c)](_0x4b4921=>{const _0x229389=_0x21503b,_0x42b5f6=_0x4713e6+'\x5c'+_0x4b4921,_0x13271b=_0x5f039e+'\x5c'+_0x4b4921;fs[_0x229389(0x126)](_0x42b5f6)['isDirectory']()?(fs['mkdirSync'](_0x13271b),exports[_0x229389(0x111)](_0x42b5f6,_0x13271b)):fs['writeFileSync'](_0x13271b,fs[_0x229389(0x11a)](_0x42b5f6)[_0x229389(0x101)]());});},exports[a12_0x4762a5(0x135)]=function(_0xe17a03=[],_0x2cba53){_0xe17a03['forEach'](_0x2bc567=>{const _0x518a35=a12_0x49cc,_0x2b3102=_0x2cba53+_0x2bc567['path'];if(fs['existsSync'](_0x2b3102)){let _0x4d669a=fs[_0x518a35(0x11a)](_0x2b3102)[_0x518a35(0x101)]();_0x2bc567['replace']['forEach'](_0x20b828=>{_0x4d669a=_0x4d669a['replace'](_0x20b828[0x0],_0x20b828[0x1]);}),fs[_0x518a35(0x129)](_0x2b3102,_0x4d669a);}});};
1
+ const a13_0x359d07=a13_0x22cd;function a13_0x22cd(_0x520957,_0x4a1bb1){const _0x55a4fa=a13_0x55a4();return a13_0x22cd=function(_0x22cd30,_0x1c1b8b){_0x22cd30=_0x22cd30-0xfa;let _0x460dd8=_0x55a4fa[_0x22cd30];return _0x460dd8;},a13_0x22cd(_0x520957,_0x4a1bb1);}(function(_0x98e656,_0x24d046){const _0x4245aa=a13_0x22cd,_0x50adfe=_0x98e656();while(!![]){try{const _0x58447f=parseInt(_0x4245aa(0x13d))/0x1*(parseInt(_0x4245aa(0x102))/0x2)+parseInt(_0x4245aa(0x129))/0x3+-parseInt(_0x4245aa(0x10e))/0x4+-parseInt(_0x4245aa(0x137))/0x5*(-parseInt(_0x4245aa(0x116))/0x6)+parseInt(_0x4245aa(0x108))/0x7*(-parseInt(_0x4245aa(0x101))/0x8)+parseInt(_0x4245aa(0x10b))/0x9*(parseInt(_0x4245aa(0x133))/0xa)+-parseInt(_0x4245aa(0x135))/0xb;if(_0x58447f===_0x24d046)break;else _0x50adfe['push'](_0x50adfe['shift']());}catch(_0xdc7ac9){_0x50adfe['push'](_0x50adfe['shift']());}}}(a13_0x55a4,0x3994f));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a13_0x359d07(0x13a));exports[a13_0x359d07(0x122)]=function(_0x2bee2f){const _0x16e8e1=a13_0x359d07;if(fs[_0x16e8e1(0x139)](_0x2bee2f)){const _0x2517b6=fs['readdirSync'](_0x2bee2f);for(let _0x46d219=0x0;_0x46d219<_0x2517b6[_0x16e8e1(0x119)];_0x46d219++){const _0x4e81cb=_0x2517b6[_0x46d219],_0xb45cb7=_0x2bee2f+'/'+_0x4e81cb;fs[_0x16e8e1(0x12d)](_0xb45cb7)[_0x16e8e1(0xfb)]()?(exports['f_rm_rf'](_0xb45cb7),fs[_0x16e8e1(0x12a)](_0xb45cb7)):fs[_0x16e8e1(0x142)](_0xb45cb7);}}},exports['f_pull_git_repository']=function(_0xf96f45=[]){const _0x23f63c=a13_0x359d07;return _0xf96f45[_0x23f63c(0x138)](_0x4ae5ad=>{const _0x1fdca4=_0x23f63c,_0x4745ec=CLOUD_PROJECT[_0x4ae5ad[_0x1fdca4(0x12f)]]||undefined,_0x2bb7fa=os[_0x1fdca4(0x10d)]();return{'path':_0x2bb7fa+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4ae5ad[_0x1fdca4(0x12f)]+_0x1fdca4(0x114),'compress':_0x2bb7fa+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x4ae5ad[_0x1fdca4(0x12f)]+_0x1fdca4(0xff),'repository':GIT_HOST+'/api/v4/projects/'+_0x4745ec[_0x1fdca4(0x124)]+'/repository/archive.zip?private_token='+_0x4745ec[_0x1fdca4(0x118)]+_0x1fdca4(0x103)};});},exports[a13_0x359d07(0x130)]=function(_0x415dd9){const _0x18183e=a13_0x359d07;return fs[_0x18183e(0x139)](_0x415dd9+_0x18183e(0x13f));},exports[a13_0x359d07(0x115)]=function(_0x4558e9){const _0x4bf838=a13_0x359d07;let _0x538d45={};try{_0x538d45=JSON['parse'](fs[_0x4bf838(0xfc)](_0x4558e9+_0x4bf838(0x13f))['toString']());}catch(_0x36e478){console[_0x4bf838(0x11e)](_0x4bf838(0xfe)),process[_0x4bf838(0x140)](0x0);}!(_0x4bf838(0x13c)in _0x538d45)&&(console['log'](_0x4bf838(0x126)),process[_0x4bf838(0x140)](0x0));!(_0x4bf838(0x112)in _0x538d45)&&(console[_0x4bf838(0x11e)](_0x4bf838(0x117)),process[_0x4bf838(0x140)](0x0));!('installResources'in _0x538d45)&&(console[_0x4bf838(0x11e)](_0x4bf838(0x141)),process['exit'](0x0));typeof _0x538d45[_0x4bf838(0x13c)]!==_0x4bf838(0x11a)&&(console[_0x4bf838(0x11e)](_0x4bf838(0x123)),process[_0x4bf838(0x140)](0x0));![_0x4bf838(0x12b),_0x4bf838(0x12e),_0x4bf838(0x134),_0x4bf838(0x111)]['includes'](_0x538d45[_0x4bf838(0x13c)])&&(console[_0x4bf838(0x11e)]('【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。'),process[_0x4bf838(0x140)](0x0));typeof _0x538d45[_0x4bf838(0x112)]!==_0x4bf838(0x11a)&&(console['log']('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process['exit'](0x0));![_0x4bf838(0x100),_0x4bf838(0xfa)][_0x4bf838(0x11c)](_0x538d45[_0x4bf838(0x112)])&&(console['log'](_0x4bf838(0x120)),process[_0x4bf838(0x140)](0x0));!Array[_0x4bf838(0x11d)](_0x538d45[_0x4bf838(0xfd)])&&(console[_0x4bf838(0x11e)](_0x4bf838(0x125)),process[_0x4bf838(0x140)](0x0));_0x538d45[_0x4bf838(0xfd)][_0x4bf838(0x119)]===0x0&&(console['log']('【Error】:[jjb.config.json.installResources]无资源。'),process[_0x4bf838(0x140)](0x0));const _0x1dc96e=exports['f_resolve_install_resources'](_0x538d45[_0x4bf838(0xfd)]);return _0x1dc96e[_0x4bf838(0x138)](_0x2a9eda=>_0x2a9eda['name'])['filter'](_0x5baeea=>![_0x4bf838(0x13b),_0x4bf838(0x11b),_0x4bf838(0x143),_0x4bf838(0x107),'react-admin-component',_0x4bf838(0x10c)][_0x4bf838(0x11c)](_0x5baeea))[_0x4bf838(0x119)]!==0x0&&(console[_0x4bf838(0x11e)](_0x4bf838(0x105)),process[_0x4bf838(0x140)](0x0)),_0x538d45[_0x4bf838(0xfd)]=_0x1dc96e,_0x538d45;},exports[a13_0x359d07(0x136)]=function(_0x5b2ccb,_0x4abb07,_0x5c84e3){const _0xe379af=a13_0x359d07;fs[_0xe379af(0x110)](_0x5b2ccb+_0xe379af(0x10f),'{\x22name\x22:\x22'+_0x4abb07+_0xe379af(0x128)+_0x5c84e3+_0xe379af(0x11f));},exports[a13_0x359d07(0x132)]=function(_0x3f3311=[]){const _0x1b948b=a13_0x359d07,_0x313728=[];return Array[_0x1b948b(0x11d)](_0x3f3311)&&_0x3f3311[_0x1b948b(0x127)](_0x125775=>{const _0x58dc57=_0x1b948b;if(Array[_0x58dc57(0x11d)](_0x125775)){const [_0x2e2e6f,_0x2f8e37=[]]=_0x125775;_0x313728['push']({'name':_0x2e2e6f,'importList':_0x2f8e37});}else _0x313728[_0x58dc57(0x109)]({'name':_0x125775,'importList':[]});}),_0x313728;},exports[a13_0x359d07(0x13e)]=function(_0x48c20b,_0x2c6607,_0xb77be5){const _0x3bf604=a13_0x359d07,_0x2c96ff=JSON['parse'](fs['readFileSync'](_0x48c20b)[_0x3bf604(0x106)]());_0x2c96ff[_0x3bf604(0x12c)][_0x2c6607]=_0xb77be5,fs[_0x3bf604(0x110)](_0x48c20b,JSON['stringify'](_0x2c96ff,null,0x2));},exports[a13_0x359d07(0x104)]=function(_0x26a404,_0x37d651){const _0xf73290=a13_0x359d07;fs[_0xf73290(0x131)](_0x26a404)[_0xf73290(0x127)](_0x2a470c=>{const _0x22b25e=_0xf73290,_0x37ace5=_0x26a404+'\x5c'+_0x2a470c,_0x5cf646=_0x37d651+'\x5c'+_0x2a470c;fs[_0x22b25e(0x12d)](_0x37ace5)[_0x22b25e(0xfb)]()?(fs[_0x22b25e(0x113)](_0x5cf646),exports[_0x22b25e(0x104)](_0x37ace5,_0x5cf646)):fs[_0x22b25e(0x110)](_0x5cf646,fs[_0x22b25e(0xfc)](_0x37ace5)[_0x22b25e(0x106)]());});},exports[a13_0x359d07(0x121)]=function(_0x18592d=[],_0x13609f){const _0x50af18=a13_0x359d07;_0x18592d[_0x50af18(0x127)](_0x339df9=>{const _0x35993a=_0x50af18,_0x3f1e2e=_0x13609f+_0x339df9[_0x35993a(0x10a)];if(fs['existsSync'](_0x3f1e2e)){let _0x4755a3=fs[_0x35993a(0xfc)](_0x3f1e2e)[_0x35993a(0x106)]();_0x339df9['replace'][_0x35993a(0x127)](_0x4c688c=>{_0x4755a3=_0x4755a3['replace'](_0x4c688c[0x0],_0x4c688c[0x1]);}),fs[_0x35993a(0x110)](_0x3f1e2e,_0x4755a3);}});};function a13_0x55a4(){const _0x33fa62=['【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','_zip','node_modules','56bxIkUK','178hTlLde','&ref=master','f_file_copy','【Error】:[jjb.config.json.installResources]配置无效,有效值<common\x20|\x20react-admin-component\x20|\x20vue-unisass-component\x20|\x20jjb-common-decorator\x20|\x20jjb-dva-runtime\x20|\x20jjb-common-lib>。','toString','jjb-common-decorator','106442ACVdvt','push','path','18sHwzRg','vue-unisass-component','tmpdir','1461748pJyuVl','\x5cpackage.json','writeFileSync','micro-spa','installTarget','mkdirSync','.zip','f_scan_jjb_config_json_rules','144864yuqIBp','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','token','length','string','jjb-dva-runtime','includes','isArray','log','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','f_content_replace','f_rm_rf','【Error】:[jjb.config.json.projectType]类型是一个string。','projectId','【Error】:[jjb.config.json.installResources]类型是一个Array<string>。','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','forEach','\x22,\x22version\x22:\x22','414186OaJRaS','rmdirSync','multi','dependencies','statSync','spa','name','f_scan_jjb_config_json','readdirSync','f_resolve_install_resources','1928890eASryx','uniapp','827827xDtplo','f_create_package_json','50xIDCNH','map','existsSync','./config','jjb-common','projectType','199tZDSbW','f_update_project_package_json','\x5cjjb.config.json','exit','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','unlinkSync','jjb-common-lib','src','isDirectory','readFileSync','installResources'];a13_0x55a4=function(){return _0x33fa62;};return a13_0x55a4();}
@@ -1 +1 @@
1
- const a13_0x25aac0=a13_0x279c;function a13_0x279c(_0xff8e6f,_0x2b3392){const _0x5400d2=a13_0x5400();return a13_0x279c=function(_0x279c2e,_0xd06828){_0x279c2e=_0x279c2e-0xd3;let _0x1c322c=_0x5400d2[_0x279c2e];return _0x1c322c;},a13_0x279c(_0xff8e6f,_0x2b3392);}(function(_0x25605d,_0x415d7f){const _0x9abf7f=a13_0x279c,_0x4553d2=_0x25605d();while(!![]){try{const _0x14805d=parseInt(_0x9abf7f(0xe2))/0x1+parseInt(_0x9abf7f(0xfb))/0x2*(-parseInt(_0x9abf7f(0xd3))/0x3)+parseInt(_0x9abf7f(0xdf))/0x4*(-parseInt(_0x9abf7f(0xef))/0x5)+-parseInt(_0x9abf7f(0xfa))/0x6*(parseInt(_0x9abf7f(0xfc))/0x7)+parseInt(_0x9abf7f(0xe6))/0x8+-parseInt(_0x9abf7f(0xdb))/0x9*(parseInt(_0x9abf7f(0xed))/0xa)+parseInt(_0x9abf7f(0xe3))/0xb;if(_0x14805d===_0x415d7f)break;else _0x4553d2['push'](_0x4553d2['shift']());}catch(_0x505fe3){_0x4553d2['push'](_0x4553d2['shift']());}}}(a13_0x5400,0x2face));const fs=require('fs'),path=require(a13_0x25aac0(0xf3)),utils=require(a13_0x25aac0(0xd4));function a13_0x5400(){const _0x53505b=['160970Myaaby','join','10NMpiFN','writeFileSync','split','\x27)\x20}','path','region','map','routerPath','exports','items','{\x20path:\x20\x27','2162826hOxBac','2mBGKrm','7AKDvdl','file','1133709jyiFHT','./util.js','CreatePaths','/application','resolve','from','DeepScanner','./project','81DreyaT','routerConfig','length','pathAdr','615768WSoQvR','fileType','toString','203531esdVix','12434939cQJniv','push','parse','419432RmASCB','/setting.json','router','forEach','readFileSync','\x27,\x20component:\x20()\x20=>\x20import(\x27','application'];a13_0x5400=function(){return _0x53505b;};return a13_0x5400();}let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a13_0x25aac0(0xf7)]=(_0x4d3057,_0x18288f)=>{const _0xff48a=a13_0x25aac0;commandArr=_0x4d3057[_0xff48a(0xf1)](':'),projectPath=path['resolve'](_0xff48a(0xda)),vesselPath=path[_0xff48a(0xd7)]('./vessel/src');let _0x56fe40=vesselPath;_0x18288f==='mp'&&(_0x56fe40=vesselPath+_0xff48a(0xd6),utils[_0xff48a(0xd5)](vesselPath,[_0xff48a(0xec)]));const _0x3c76b1=commandArr[0x1],_0x5763d7=JSON[_0xff48a(0xe5)](fs[_0xff48a(0xea)](projectPath+'/'+_0x3c76b1+_0xff48a(0xe7))[_0xff48a(0xe1)]());TileItems(_0x5763d7[_0xff48a(0xf8)],()=>{const _0xf9dc59=_0xff48a;fromFileData[_0xf9dc59(0xe8)][_0xf9dc59(0xe9)](_0x234768=>{const _0x333096=_0xf9dc59,_0xce52cf=_0x234768[_0x333096(0xde)]['split'](_0x234768[_0x333096(0xf4)]),_0x595cb1=_0xce52cf[0x1][_0x333096(0xf1)]('/'),_0x4ac762=_0x595cb1[0x1];!applicationJson[_0x4ac762]&&(applicationJson[_0x4ac762]={'routerConfig':[],'routerPath':[]});applicationJson[_0x4ac762][_0x333096(0xdc)][_0x333096(0xe4)](_0x333096(0xf9)+_0x234768[_0x333096(0xf3)]+_0x333096(0xeb)+_0x234768[_0x333096(0xfd)]+_0x333096(0xf2)),applicationJson[_0x4ac762][_0x333096(0xf6)][_0x333096(0xe4)](_0x234768[_0x333096(0xf3)]);let _0x41a473=_0x595cb1[_0x333096(0xee)]('/');const _0x226fed=_0x41a473[_0x333096(0xf1)]('/');utils[_0x333096(0xd5)](_0x56fe40,_0x226fed['slice'](0x0,_0x226fed[_0x333096(0xdd)]-0x1))['then'](()=>{const _0x2b60dd=_0x333096,_0x5b6ddf=fs['readFileSync'](_0x234768['pathAdr'])[_0x2b60dd(0xe1)]();fs[_0x2b60dd(0xf0)](vesselPath+'/'+_0x41a473,_0x5b6ddf);});});});};function TileItems(_0x4cc58e,_0x259eda){const _0x2f2c71=a13_0x25aac0;_0x4cc58e[_0x2f2c71(0xe9)]((_0x4430dc,_0x133908)=>{const _0x5d3251=_0x2f2c71,_0x371139=_0x4430dc[_0x5d3251(0xf4)];_0x4430dc[_0x5d3251(0xd8)][_0x5d3251(0xe9)]((_0x4c343b,_0x4930ab)=>{const _0x399010=_0x5d3251,_0x4e3aea=[];utils[_0x399010(0xd9)](projectPath+'/'+_0x371139+'/'+_0x4c343b[_0x399010(0xfd)],_0x4e3aea);const _0x521d23=_0x4e3aea[_0x399010(0xf5)](_0x541215=>({'region':_0x371139,'pathAdr':_0x541215,..._0x4c343b}));!fromFileData[_0x4c343b[_0x399010(0xe0)]]?fromFileData[_0x4c343b['fileType']]=_0x521d23:fromFileData[_0x4c343b[_0x399010(0xe0)]]=fromFileData[_0x4c343b[_0x399010(0xe0)]]['concat'](_0x521d23),_0x133908===_0x4cc58e['length']-0x1&&_0x4930ab===_0x4430dc[_0x399010(0xd8)][_0x399010(0xdd)]-0x1&&_0x259eda();});});}
1
+ const a14_0x396adc=a14_0x2883;(function(_0x211191,_0x361a14){const _0x4944ba=a14_0x2883,_0x50d6c5=_0x211191();while(!![]){try{const _0x583d56=-parseInt(_0x4944ba(0x1a7))/0x1+-parseInt(_0x4944ba(0x187))/0x2+-parseInt(_0x4944ba(0x18f))/0x3+parseInt(_0x4944ba(0x191))/0x4+parseInt(_0x4944ba(0x198))/0x5+-parseInt(_0x4944ba(0x18d))/0x6*(parseInt(_0x4944ba(0x18a))/0x7)+-parseInt(_0x4944ba(0x190))/0x8*(-parseInt(_0x4944ba(0x1a5))/0x9);if(_0x583d56===_0x361a14)break;else _0x50d6c5['push'](_0x50d6c5['shift']());}catch(_0x234cd3){_0x50d6c5['push'](_0x50d6c5['shift']());}}}(a14_0x5799,0xdcd6f));const fs=require('fs'),path=require(a14_0x396adc(0x1a2)),utils=require('./util.js');function a14_0x2883(_0x348291,_0x196464){const _0x57997c=a14_0x5799();return a14_0x2883=function(_0x288369,_0x40ace4){_0x288369=_0x288369-0x184;let _0x2216f7=_0x57997c[_0x288369];return _0x2216f7;},a14_0x2883(_0x348291,_0x196464);}let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module['exports']=(_0x4238aa,_0x23a2eb)=>{const _0x1a6987=a14_0x396adc;commandArr=_0x4238aa[_0x1a6987(0x186)](':'),projectPath=path[_0x1a6987(0x19d)](_0x1a6987(0x192)),vesselPath=path[_0x1a6987(0x19d)](_0x1a6987(0x18e));let _0x3fa88e=vesselPath;_0x23a2eb==='mp'&&(_0x3fa88e=vesselPath+'/application',utils['CreatePaths'](vesselPath,[_0x1a6987(0x1a3)]));const _0x19890b=commandArr[0x1],_0x7d067=JSON[_0x1a6987(0x1a4)](fs['readFileSync'](projectPath+'/'+_0x19890b+_0x1a6987(0x1a6))['toString']());TileItems(_0x7d067[_0x1a6987(0x18b)],()=>{const _0x134a3f=_0x1a6987;fromFileData[_0x134a3f(0x195)]['forEach'](_0x1a983b=>{const _0x25d89d=_0x134a3f,_0x3a56a6=_0x1a983b['pathAdr'][_0x25d89d(0x186)](_0x1a983b['region']),_0x4f3dff=_0x3a56a6[0x1]['split']('/'),_0x2d9b33=_0x4f3dff[0x1];!applicationJson[_0x2d9b33]&&(applicationJson[_0x2d9b33]={'routerConfig':[],'routerPath':[]});applicationJson[_0x2d9b33][_0x25d89d(0x188)]['push']('{\x20path:\x20\x27'+_0x1a983b[_0x25d89d(0x1a2)]+_0x25d89d(0x19b)+_0x1a983b[_0x25d89d(0x18c)]+_0x25d89d(0x19f)),applicationJson[_0x2d9b33][_0x25d89d(0x199)]['push'](_0x1a983b[_0x25d89d(0x1a2)]);let _0x1f9816=_0x4f3dff[_0x25d89d(0x1a0)]('/');const _0x48c664=_0x1f9816[_0x25d89d(0x186)]('/');utils['CreatePaths'](_0x3fa88e,_0x48c664[_0x25d89d(0x19a)](0x0,_0x48c664[_0x25d89d(0x184)]-0x1))['then'](()=>{const _0x56b340=_0x25d89d,_0x25ee8f=fs['readFileSync'](_0x1a983b['pathAdr'])[_0x56b340(0x1a1)]();fs[_0x56b340(0x19e)](vesselPath+'/'+_0x1f9816,_0x25ee8f);});});});};function a14_0x5799(){const _0x433f8f=['items','file','72DVWDmV','./vessel/src','4404744qkHsmq','24TNeHvf','2365740WFMmZA','./project','DeepScanner','map','router','concat','forEach','3372755tUYUwJ','routerPath','slice','\x27,\x20component:\x20()\x20=>\x20import(\x27','from','resolve','writeFileSync','\x27)\x20}','join','toString','path','application','parse','9561681EMwKtE','/setting.json','658981YfvBYJ','length','region','split','1278458lHdaPP','routerConfig','fileType','456281pRNXaz'];a14_0x5799=function(){return _0x433f8f;};return a14_0x5799();}function TileItems(_0x59f1da,_0x37c1a3){_0x59f1da['forEach']((_0x57dad8,_0x15680c)=>{const _0x6e5b1a=a14_0x2883,_0x2a6f31=_0x57dad8[_0x6e5b1a(0x185)];_0x57dad8[_0x6e5b1a(0x19c)][_0x6e5b1a(0x197)]((_0x2a3674,_0x4e959c)=>{const _0x26e2a4=_0x6e5b1a,_0x56c872=[];utils[_0x26e2a4(0x193)](projectPath+'/'+_0x2a6f31+'/'+_0x2a3674['file'],_0x56c872);const _0xa195ba=_0x56c872[_0x26e2a4(0x194)](_0xe94ea3=>({'region':_0x2a6f31,'pathAdr':_0xe94ea3,..._0x2a3674}));!fromFileData[_0x2a3674[_0x26e2a4(0x189)]]?fromFileData[_0x2a3674['fileType']]=_0xa195ba:fromFileData[_0x2a3674[_0x26e2a4(0x189)]]=fromFileData[_0x2a3674[_0x26e2a4(0x189)]][_0x26e2a4(0x196)](_0xa195ba),_0x15680c===_0x59f1da[_0x26e2a4(0x184)]-0x1&&_0x4e959c===_0x57dad8[_0x26e2a4(0x19c)][_0x26e2a4(0x184)]-0x1&&_0x37c1a3();});});}
@@ -1 +1 @@
1
- 'use strict';function a14_0x3ef4(_0x55068b,_0x460ea1){const _0x5b813f=a14_0x5b81();return a14_0x3ef4=function(_0x3ef4a4,_0x3763ce){_0x3ef4a4=_0x3ef4a4-0x7c;let _0x574e50=_0x5b813f[_0x3ef4a4];return _0x574e50;},a14_0x3ef4(_0x55068b,_0x460ea1);}const a14_0x40820a=a14_0x3ef4;(function(_0x393cbb,_0x34f85d){const _0x528045=a14_0x3ef4,_0x3aaaac=_0x393cbb();while(!![]){try{const _0x2c3e78=parseInt(_0x528045(0xa3))/0x1*(-parseInt(_0x528045(0xae))/0x2)+-parseInt(_0x528045(0xaf))/0x3+parseInt(_0x528045(0x86))/0x4*(parseInt(_0x528045(0x9c))/0x5)+parseInt(_0x528045(0xb3))/0x6+parseInt(_0x528045(0xa7))/0x7+-parseInt(_0x528045(0x9d))/0x8+parseInt(_0x528045(0x90))/0x9;if(_0x2c3e78===_0x34f85d)break;else _0x3aaaac['push'](_0x3aaaac['shift']());}catch(_0x29b881){_0x3aaaac['push'](_0x3aaaac['shift']());}}}(a14_0x5b81,0x47493));const fs=require('fs'),os=require('os'),path=require(a14_0x40820a(0xb1)),utils=require(a14_0x40820a(0x94)),request=require(a14_0x40820a(0x95)),compressing=require(a14_0x40820a(0x8c)),GIT_TEMP_DIR=a14_0x40820a(0x7d),GIT_HOST=a14_0x40820a(0xa6),CLOUD_PROJECT={'common':{'token':a14_0x40820a(0x92),'projectId':0x117,'localName':a14_0x40820a(0xb5)},'react-admin-component':{'token':a14_0x40820a(0xa8),'projectId':0x154,'localName':'components'}};function a14_0x5b81(){const _0x7513db=['localName','forEach','1622709LUnSUl','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','G4HJRsHr9D7Ssmixegw2','CopyFolder','./util','request','.zip','exports','common\x5ctools\x5cindex.js','application','-文件下载完毕','mkdirSync','15XcvXeb','818392sdYDMq','zip','resolve','statSync','common\x5cdva\x5cautomatic','/repository/archive.zip?private_token=','3kHaPFo','tmpdir','common\x5cdva\x5cautomatic\x5cindex.js','http://192.168.1.242:10985','541471JPesfv','FT3pKzxpRynFkmddJ9Bs','then','token','rmdirSync','common\x5cwebsite\x5cindex.js','writeFileSync','61718bbMPGf','1468956vOGvFa','unlinkSync','path','replace','1285368ytZanr','uncompress','common','return\x20__planA();','jjbAssembly','readdirSync','toString','【Error】:\x20未获取到项目\x20','indexOf','DeleteDirAllFile','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','existsSync','readFileSync','672844SQBtir','createWriteStream','\x5csrc','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','/api/v4/projects/','error','compressing','-master-'];a14_0x5b81=function(){return _0x7513db;};return a14_0x5b81();}module[a14_0x40820a(0x97)]=_0x1a1ad4=>{const _0x3a5a37=a14_0x40820a,_0x208fb3=_0x1a1ad4,_0x1a32f7=path[_0x3a5a37(0x9f)]('./');try{if(fs[_0x3a5a37(0xa0)](_0x1a32f7+'\x5csrc')){const _0x2ce986=_0x1a32f7+_0x3a5a37(0x88),_0x270aa9=CLOUD_PROJECT[_0x208fb3]||undefined;if(_0x270aa9){const _0x3cbc43=os[_0x3a5a37(0xa4)](),_0x2bc2b1=_0x3cbc43+('/'+GIT_TEMP_DIR+'/'+_0x208fb3+_0x3a5a37(0x96)),_0x38a208=_0x3cbc43+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x3a5a37(0x82)](_0x3cbc43+'/'+GIT_TEMP_DIR,()=>{const _0x28f09a=_0x3a5a37;fs[_0x28f09a(0x9b)](_0x3cbc43+'/'+GIT_TEMP_DIR);let _0x309924=fs[_0x28f09a(0x87)](_0x2bc2b1);request(GIT_HOST+_0x28f09a(0x8a)+_0x270aa9['projectId']+_0x28f09a(0xa2)+_0x270aa9[_0x28f09a(0xaa)]+'&ref=master')['pipe'](_0x309924)['on']('close',()=>{const _0x41f6aa=_0x28f09a;fs[_0x41f6aa(0x9b)](_0x38a208),compressing[_0x41f6aa(0x9e)][_0x41f6aa(0xb4)](_0x2bc2b1,_0x38a208)[_0x41f6aa(0xa9)](()=>{setTimeout(()=>{const _0x3520c9=a14_0x3ef4,_0x364ebe=fs[_0x3520c9(0x7e)](_0x38a208);_0x364ebe[_0x3520c9(0x8f)](_0x42811a=>{const _0x4b7fd1=_0x3520c9;if(_0x42811a[_0x4b7fd1(0x81)](_0x4b7fd1(0x8d))!==-0x1){const _0x48faeb=_0x2ce986+'\x5c'+_0x270aa9[_0x4b7fd1(0x8e)];utils[_0x4b7fd1(0x82)](_0x48faeb,()=>{const _0x2b3586=_0x4b7fd1;fs['mkdirSync'](_0x48faeb),utils[_0x2b3586(0x93)](_0x38a208+_0x42811a,_0x48faeb),setTimeout(()=>{const _0x34f164=_0x2b3586,_0x5076a3=fs[_0x34f164(0x84)](_0x2ce986+'\x5c'+_0x34f164(0x99));if(!_0x5076a3){const _0xa1912e=_0x2ce986+'\x5c'+_0x34f164(0x98),_0x592794=_0x2ce986+'\x5c'+_0x34f164(0xac);let _0x1d6b2c=fs[_0x34f164(0x85)](_0xa1912e)[_0x34f164(0x7f)](),_0x2daaef=fs[_0x34f164(0x85)](_0x592794)[_0x34f164(0x7f)]();_0x1d6b2c=_0x1d6b2c[_0x34f164(0xb2)](_0x34f164(0x7c),'return\x20process.env;'),_0x2daaef=_0x2daaef['replace'](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x34f164(0xad)](_0xa1912e,_0x1d6b2c),fs[_0x34f164(0xad)](_0x592794,_0x2daaef),fs[_0x34f164(0xad)](_0x2ce986+_0x34f164(0x91),fs[_0x34f164(0x85)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x34f164(0x7f)]()),fs['writeFileSync'](_0x2ce986+_0x34f164(0x83),fs[_0x34f164(0x85)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x34f164(0x7f)]());}else fs['exists'](_0x2ce986+'\x5c'+_0x34f164(0xa5),_0x39ac23=>{const _0x5db7a8=_0x34f164;_0x39ac23&&(fs[_0x5db7a8(0x7e)](_0x2ce986+'\x5c'+_0x5db7a8(0xa1))[_0x5db7a8(0x8f)](_0x54c60b=>{const _0x297d18=_0x5db7a8;fs[_0x297d18(0xb0)](_0x2ce986+'\x5c'+'common\x5cdva\x5cautomatic\x5c'+_0x54c60b);}),fs[_0x5db7a8(0xab)](_0x2ce986+'\x5c'+'common\x5cdva\x5cautomatic'));});},0x3e8);});}}),console['log'](_0x208fb3+_0x3520c9(0x9a));},0x7d0);});});});}else console[_0x3a5a37(0x8b)](_0x3a5a37(0x80)+_0x208fb3);}}catch(_0x22f364){console['error'](_0x3a5a37(0x89));}};
1
+ 'use strict';function a15_0x3719(_0xfa1f71,_0x55eb94){const _0x2f4e74=a15_0x2f4e();return a15_0x3719=function(_0x371918,_0x3e3f01){_0x371918=_0x371918-0x107;let _0x50f485=_0x2f4e74[_0x371918];return _0x50f485;},a15_0x3719(_0xfa1f71,_0x55eb94);}const a15_0x28a571=a15_0x3719;function a15_0x2f4e(){const _0x524e98=['application','existsSync','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','compressing','uncompress','toString','log','pipe','\x5csrc','common\x5cdva\x5cautomatic\x5cindex.js','300296lslDRT','\x5ccommon\x5cdva\x5cautomatic\x5crouter.js','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','token','replace','http://192.168.1.242:10985','-文件下载完毕','common\x5ctools\x5cindex.js','DeleteDirAllFile','error','indexOf','then','return\x20process.env;','10HKJBrI','exists','components','projectId','-master-','statSync','G4HJRsHr9D7Ssmixegw2','2212962vcXWBZ','63bSBtXG','resolve','15623157qtqxbh','writeFileSync','660vpiouQ','zip','common\x5cdva\x5cautomatic','&ref=master','close','1295384OMQKyl','.zip','common\x5cdva\x5cautomatic\x5c','readFileSync','mkdirSync','/api/v4/projects/','return\x20__planA();','CopyFolder','4214gKGrcz','createWriteStream','/unzip/','FT3pKzxpRynFkmddJ9Bs','3341139IKfwpd','common\x5cwebsite\x5cindex.js','【Error】:\x20未获取到项目\x20','unlinkSync','forEach','5fvFmFu','674067Svgjif','localName','readdirSync'];a15_0x2f4e=function(){return _0x524e98;};return a15_0x2f4e();}(function(_0x3cae51,_0x2dce9e){const _0x3b0f09=a15_0x3719,_0x37fd45=_0x3cae51();while(!![]){try{const _0x4307ec=-parseInt(_0x3b0f09(0x121))/0x1+parseInt(_0x3b0f09(0x142))/0x2+-parseInt(_0x3b0f09(0x11b))/0x3+-parseInt(_0x3b0f09(0x10f))/0x4*(parseInt(_0x3b0f09(0x120))/0x5)+-parseInt(_0x3b0f09(0x10a))/0x6*(parseInt(_0x3b0f09(0x117))/0x7)+parseInt(_0x3b0f09(0x12e))/0x8*(parseInt(_0x3b0f09(0x143))/0x9)+parseInt(_0x3b0f09(0x13b))/0xa*(parseInt(_0x3b0f09(0x108))/0xb);if(_0x4307ec===_0x2dce9e)break;else _0x37fd45['push'](_0x37fd45['shift']());}catch(_0x339e5e){_0x37fd45['push'](_0x37fd45['shift']());}}}(a15_0x2f4e,0x95561));const fs=require('fs'),os=require('os'),path=require('path'),utils=require('./util'),request=require('request'),compressing=require(a15_0x28a571(0x127)),GIT_TEMP_DIR='jjbAssembly',GIT_HOST=a15_0x28a571(0x133),CLOUD_PROJECT={'common':{'token':a15_0x28a571(0x141),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a15_0x28a571(0x11a),'projectId':0x154,'localName':a15_0x28a571(0x13d)}};module['exports']=_0x4a72b8=>{const _0x2ece4e=a15_0x28a571,_0x11bc53=_0x4a72b8,_0x5cd6c7=path[_0x2ece4e(0x107)]('./');try{if(fs[_0x2ece4e(0x140)](_0x5cd6c7+_0x2ece4e(0x12c))){const _0x91bf82=_0x5cd6c7+_0x2ece4e(0x12c),_0x40799e=CLOUD_PROJECT[_0x11bc53]||undefined;if(_0x40799e){const _0x56e394=os['tmpdir'](),_0x23dbac=_0x56e394+('/'+GIT_TEMP_DIR+'/'+_0x11bc53+_0x2ece4e(0x110)),_0x1147e8=_0x56e394+'/'+GIT_TEMP_DIR+_0x2ece4e(0x119);utils[_0x2ece4e(0x136)](_0x56e394+'/'+GIT_TEMP_DIR,()=>{const _0x2af5b2=_0x2ece4e;fs['mkdirSync'](_0x56e394+'/'+GIT_TEMP_DIR);let _0x53ae19=fs[_0x2af5b2(0x118)](_0x23dbac);request(GIT_HOST+_0x2af5b2(0x114)+_0x40799e[_0x2af5b2(0x13e)]+'/repository/archive.zip?private_token='+_0x40799e[_0x2af5b2(0x131)]+_0x2af5b2(0x10d))[_0x2af5b2(0x12b)](_0x53ae19)['on'](_0x2af5b2(0x10e),()=>{const _0x4f326c=_0x2af5b2;fs['mkdirSync'](_0x1147e8),compressing[_0x4f326c(0x10b)][_0x4f326c(0x128)](_0x23dbac,_0x1147e8)[_0x4f326c(0x139)](()=>{setTimeout(()=>{const _0x3e355f=a15_0x3719,_0x5701b9=fs['readdirSync'](_0x1147e8);_0x5701b9[_0x3e355f(0x11f)](_0x2f05f1=>{const _0x349683=_0x3e355f;if(_0x2f05f1[_0x349683(0x138)](_0x349683(0x13f))!==-0x1){const _0x20ee76=_0x91bf82+'\x5c'+_0x40799e[_0x349683(0x122)];utils[_0x349683(0x136)](_0x20ee76,()=>{const _0x5cfcee=_0x349683;fs[_0x5cfcee(0x113)](_0x20ee76),utils[_0x5cfcee(0x116)](_0x1147e8+_0x2f05f1,_0x20ee76),setTimeout(()=>{const _0x12d19e=_0x5cfcee,_0x325595=fs[_0x12d19e(0x125)](_0x91bf82+'\x5c'+_0x12d19e(0x124));if(!_0x325595){const _0x2ed438=_0x91bf82+'\x5c'+_0x12d19e(0x135),_0x3c46d1=_0x91bf82+'\x5c'+_0x12d19e(0x11c);let _0x2ca03e=fs['readFileSync'](_0x2ed438)[_0x12d19e(0x129)](),_0x180e9e=fs[_0x12d19e(0x112)](_0x3c46d1)[_0x12d19e(0x129)]();_0x2ca03e=_0x2ca03e[_0x12d19e(0x132)](_0x12d19e(0x115),_0x12d19e(0x13a)),_0x180e9e=_0x180e9e[_0x12d19e(0x132)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,_0x12d19e(0x126)),fs[_0x12d19e(0x109)](_0x2ed438,_0x2ca03e),fs[_0x12d19e(0x109)](_0x3c46d1,_0x180e9e),fs[_0x12d19e(0x109)](_0x91bf82+_0x12d19e(0x12f),fs['readFileSync'](__dirname+'\x5ccli.dva.router.spa.txt')[_0x12d19e(0x129)]()),fs[_0x12d19e(0x109)](_0x91bf82+_0x12d19e(0x130),fs[_0x12d19e(0x112)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x12d19e(0x129)]());}else fs[_0x12d19e(0x13c)](_0x91bf82+'\x5c'+_0x12d19e(0x12d),_0x3b2eda=>{const _0x3b9df3=_0x12d19e;_0x3b2eda&&(fs[_0x3b9df3(0x123)](_0x91bf82+'\x5c'+'common\x5cdva\x5cautomatic')[_0x3b9df3(0x11f)](_0x4d6310=>{const _0x36fe46=_0x3b9df3;fs[_0x36fe46(0x11e)](_0x91bf82+'\x5c'+_0x36fe46(0x111)+_0x4d6310);}),fs['rmdirSync'](_0x91bf82+'\x5c'+_0x3b9df3(0x10c)));});},0x3e8);});}}),console[_0x3e355f(0x12a)](_0x11bc53+_0x3e355f(0x134));},0x7d0);});});});}else console[_0x2ece4e(0x137)](_0x2ece4e(0x11d)+_0x11bc53);}}catch(_0x2f69a1){console[_0x2ece4e(0x137)]('【Error】:\x20当前目录不存在src子目录,无法完成pull操作。');}};
@@ -1 +1 @@
1
- 'use strict';const a15_0x2fd40b=a15_0x36a4;(function(_0x460703,_0x132558){const _0x188249=a15_0x36a4,_0x3cb795=_0x460703();while(!![]){try{const _0x2e26aa=-parseInt(_0x188249(0x13e))/0x1*(-parseInt(_0x188249(0x137))/0x2)+-parseInt(_0x188249(0xf4))/0x3*(parseInt(_0x188249(0xea))/0x4)+parseInt(_0x188249(0x10c))/0x5+parseInt(_0x188249(0x129))/0x6+-parseInt(_0x188249(0xf8))/0x7+parseInt(_0x188249(0x105))/0x8+-parseInt(_0x188249(0xf6))/0x9;if(_0x2e26aa===_0x132558)break;else _0x3cb795['push'](_0x3cb795['shift']());}catch(_0x2d8596){_0x3cb795['push'](_0x3cb795['shift']());}}}(a15_0x322a,0xab4e5));const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a15_0x2fd40b(0x111)),request=require(a15_0x2fd40b(0x103)),compressing=require(a15_0x2fd40b(0x11c)),GIT_HOST=a15_0x2fd40b(0x128),GIT_TEMP_DIR=a15_0x2fd40b(0x132),CLOUD_PROJECT={'common':{'token':a15_0x2fd40b(0xfe),'projectId':0x117,'localName':'common'},'react-admin-component':{'token':a15_0x2fd40b(0x131),'projectId':0x154,'localName':a15_0x2fd40b(0x141)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a15_0x2fd40b(0x12b),'replace':[['components',a15_0x2fd40b(0x120)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a15_0x2fd40b(0x12f)],[a15_0x2fd40b(0x141),a15_0x2fd40b(0x120)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a15_0x2fd40b(0x12b),'replace':[[a15_0x2fd40b(0x115),a15_0x2fd40b(0xf9)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a15_0x2fd40b(0x12b),'replace':[[a15_0x2fd40b(0x115),a15_0x2fd40b(0x13a)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a15_0x2fd40b(0x135),'replace':[[a15_0x2fd40b(0xff),a15_0x2fd40b(0x133)],[a15_0x2fd40b(0x10e),a15_0x2fd40b(0x122)],[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[[a15_0x2fd40b(0x100),'jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a15_0x2fd40b(0xf3),'jjb-common/tools']]},{'path':a15_0x2fd40b(0x107),'replace':[[a15_0x2fd40b(0xff),a15_0x2fd40b(0x133)],[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]},{'path':a15_0x2fd40b(0xfa),'replace':[[a15_0x2fd40b(0xff),a15_0x2fd40b(0x133)],[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]},{'path':a15_0x2fd40b(0x119),'replace':[[a15_0x2fd40b(0xff),a15_0x2fd40b(0x133)],[a15_0x2fd40b(0xf3),'jjb-common/tools']]},{'path':a15_0x2fd40b(0xf0),'replace':[['common/color',a15_0x2fd40b(0x134)]]},{'path':a15_0x2fd40b(0x104),'replace':[[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]},{'path':a15_0x2fd40b(0x10f),'replace':[[a15_0x2fd40b(0x110),a15_0x2fd40b(0x113)],[a15_0x2fd40b(0xf3),a15_0x2fd40b(0x10a)]]}];function a15_0x36a4(_0x29f6df,_0x37374f){const _0x322a78=a15_0x322a();return a15_0x36a4=function(_0x36a4e6,_0x9eb0fe){_0x36a4e6=_0x36a4e6-0xe7;let _0xa5d367=_0x322a78[_0x36a4e6];return _0xa5d367;},a15_0x36a4(_0x29f6df,_0x37374f);}function uid(){const _0x3c3859=a15_0x2fd40b;return Math['random']()['toString']()[_0x3c3859(0x124)](0x2);}module[a15_0x2fd40b(0xf1)]=_0x303c06=>{const _0xe07a0b=a15_0x2fd40b,_0x1c2e99=path[_0xe07a0b(0xed)]('./'),_0x37f74c=_0xe07a0b(0x116)+_0x303c06,_0x18c6e6=_0xe07a0b(0x11f),_0x563cf8=_0x1c2e99+_0xe07a0b(0x11d),_0xfbea6='template_'+uid(),_0x27a552=__dirname+'\x5c'+_0xfbea6,_0x37b52e=_0x1c2e99+_0xe07a0b(0xef),_0x58f609=_0x1c2e99+_0xe07a0b(0x108)+_0x303c06;try{if(fs['existsSync'](_0x563cf8)){const _0x4902fc=CLOUD_PROJECT[_0x303c06]||undefined;if(_0x4902fc){const _0x4f5002=os[_0xe07a0b(0xfb)](),_0x51f366=_0x4f5002+'/'+GIT_TEMP_DIR+'/'+_0x303c06+'.zip',_0x27078e=_0x4f5002+'/'+GIT_TEMP_DIR+_0xe07a0b(0x112);utils[_0xe07a0b(0xf2)](_0x4f5002+'/'+GIT_TEMP_DIR,()=>{const _0x36b1ad=_0xe07a0b;fs['mkdirSync'](_0x4f5002+'/'+GIT_TEMP_DIR);const _0x66bfb4=fs['createWriteStream'](_0x51f366);request(GIT_HOST+_0x36b1ad(0x121)+_0x4902fc[_0x36b1ad(0x13f)]+_0x36b1ad(0x126)+_0x4902fc['token']+'&ref=master')[_0x36b1ad(0x13c)](_0x66bfb4)['on'](_0x36b1ad(0x11e),()=>{const _0x1d31be=_0x36b1ad;fs[_0x1d31be(0xec)](_0x27078e),compressing[_0x1d31be(0x12c)][_0x1d31be(0xf5)](_0x51f366,_0x27078e)[_0x1d31be(0xfc)](()=>{setTimeout(()=>{const _0x7a5c39=a15_0x36a4;fs[_0x7a5c39(0xe8)](_0x27078e)[_0x7a5c39(0x13d)](_0x1a38a3=>{const _0x346b43=_0x7a5c39;_0x1a38a3[_0x346b43(0x117)](_0x346b43(0x138))!==-0x1&&utils['DeleteDirAllFile'](_0x563cf8+'\x5c'+_0x4902fc[_0x346b43(0x118)],()=>{const _0x28114d=_0x346b43;fs[_0x28114d(0xec)](_0x27a552),utils[_0x28114d(0xf7)](_0x27078e+_0x1a38a3,_0x27a552),setTimeout(()=>{const _0x4ed2a2=_0x28114d;if(_0x303c06==='common'){const _0x691a60=fs[_0x4ed2a2(0x101)](_0x563cf8+_0x4ed2a2(0x106));if(_0x691a60)rm_rf(_0x27a552+_0x4ed2a2(0x12a)),fs[_0x4ed2a2(0x125)](_0x27a552+_0x4ed2a2(0x12a));else{if(get_project_type(_0x37b52e)==='spa')content_replace(COMMON_CONTENT_SPA_REPLACE,_0x27a552),fs[_0x4ed2a2(0x136)](_0x27a552+_0x4ed2a2(0x127),fs[_0x4ed2a2(0x12e)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x4ed2a2(0xfd)]()),fs[_0x4ed2a2(0x136)](_0x27a552+'\x5cdva\x5cautomatic\x5cregister.js',fs['readFileSync'](__dirname+_0x4ed2a2(0x11a))[_0x4ed2a2(0xfd)]());else get_project_type(_0x37b52e)===_0x4ed2a2(0xe9)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x27a552),fs[_0x4ed2a2(0x136)](_0x27a552+_0x4ed2a2(0x127),fs[_0x4ed2a2(0x12e)](__dirname+'\x5ccli.dva.router.saas.txt')[_0x4ed2a2(0xfd)]()),fs[_0x4ed2a2(0x136)](_0x27a552+_0x4ed2a2(0x140),fs[_0x4ed2a2(0x12e)](__dirname+_0x4ed2a2(0x139))[_0x4ed2a2(0xfd)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x27a552);}_0x303c06===_0x4ed2a2(0x10b)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x27a552),rm_rf(_0x27a552+_0x4ed2a2(0xee)),fs['existsSync'](_0x27a552+'\x5c.idea')&&fs[_0x4ed2a2(0x125)](_0x27a552+'\x5c.idea'),fs[_0x4ed2a2(0x101)](_0x27a552+'\x5c.gitignore')&&fs['unlinkSync'](_0x27a552+_0x4ed2a2(0xe7)),!fs[_0x4ed2a2(0x101)](_0x58f609)?fs['mkdirSync'](_0x58f609):rm_rf(_0x58f609),utils[_0x4ed2a2(0xf7)](_0x27a552,_0x58f609,()=>{const _0x215af1=_0x4ed2a2;rm_rf(_0x27a552),fs['rmdirSync'](_0x27a552),create_package_json(_0x58f609,_0x37f74c,_0x18c6e6),update_project_package_json(_0x37b52e,_0x37f74c,_0x18c6e6),console['log'](_0x215af1(0x11b)+_0x37f74c+'\x20v'+_0x18c6e6);});},0x3e8);});});},0x7d0);});});});}else console['error']('【Error】:\x20未获取到项目\x20'+_0x303c06);}}catch(_0x35af63){console['error'](_0xe07a0b(0x12d));}};function rm_rf(_0x44e3b8){const _0x407b9b=a15_0x2fd40b;if(fs[_0x407b9b(0x101)](_0x44e3b8)){const _0x4c4465=fs[_0x407b9b(0xe8)](_0x44e3b8);for(let _0x48770b=0x0;_0x48770b<_0x4c4465[_0x407b9b(0x123)];_0x48770b++){const _0x5099c8=_0x4c4465[_0x48770b],_0x348449=_0x44e3b8+'/'+_0x5099c8;fs[_0x407b9b(0x114)](_0x348449)[_0x407b9b(0x142)]()?(rm_rf(_0x348449),fs[_0x407b9b(0x125)](_0x348449)):fs['unlinkSync'](_0x348449);}}}function create_package_json(_0x30a8e5,_0x2490d3,_0x2354f8){const _0x18c1f7=a15_0x2fd40b;fs[_0x18c1f7(0x136)](_0x30a8e5+_0x18c1f7(0xef),_0x18c1f7(0x13b)+_0x2490d3+_0x18c1f7(0x109)+_0x2354f8+_0x18c1f7(0x130));}function get_project_type(_0x5d0a9b){const _0x339334=a15_0x2fd40b,_0x38f145=JSON[_0x339334(0x102)](fs['readFileSync'](_0x5d0a9b)[_0x339334(0xfd)]());return _0x38f145[_0x339334(0xeb)];}function a15_0x322a(){const _0x28f6ec=['mkdirSync','resolve','\x5c.idea','\x5cpackage.json','\x5cPageHeaderBar\x5cindex.js','exports','DeleteDirAllFile','common/tools','6UxPvVU','uncompress','8556381mmFJbQ','CopyFolder','9310406TRhMEN','return\x20process.env;','\x5cImageCropper\x5cindex.js','tmpdir','then','toString','G4HJRsHr9D7Ssmixegw2','common/http','common/color','existsSync','parse','request','\x5cRouterContainer\x5cindex.js','7378720dphuMl','\x5capplication','\x5cFileUploader\x5cindex.js','\x5cnode_modules\x5cjjb-','\x22,\x22version\x22:\x22','jjb-common/tools','react-admin-component','1229580ELfJBf','replace','common/crypto','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','common/website','./util','/unzip/','jjb-common/website','statSync','return\x20__planA();','jjb-','indexOf','localName','\x5cImageUploader\x5cindex.js','\x5ccli.dva.register.spa.txt','【已安装】:','compressing','\x5csrc','close','1.0.0','jjb-react-admin-component','/api/v4/projects/','jjb-common/crypto','length','substr','rmdirSync','/repository/archive.zip?private_token=','\x5cdva\x5cautomatic\x5crouter.js','http://192.168.1.242:10985','6094536CAIBIN','\x5cdva\x5cautomatic','\x5ctools\x5cindex.js','zip','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','readFileSync','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x22,\x22main\x22:\x20\x22index.js\x22}','FT3pKzxpRynFkmddJ9Bs','jjbAssembly','jjb-common/http','jjb-common/color','\x5cEditor\x5cindex.js','writeFileSync','306018aUaySt','-master-','\x5ccli.dva.register.saas.txt','return\x20process.env.app;','{\x22name\x22:\x22','pipe','forEach','6tMzSIA','projectId','\x5cdva\x5cautomatic\x5cregister.js','components','isDirectory','\x5c.gitignore','readdirSync','micro-spa','239260ggMUWs','projectType'];a15_0x322a=function(){return _0x28f6ec;};return a15_0x322a();}function update_project_package_json(_0x1ec842,_0x4989ee,_0x3abbad){const _0x29602f=a15_0x2fd40b,_0x58bf62=JSON['parse'](fs['readFileSync'](_0x1ec842)[_0x29602f(0xfd)]());_0x58bf62['dependencies'][_0x4989ee]=_0x3abbad,fs[_0x29602f(0x136)](_0x1ec842,JSON['stringify'](_0x58bf62,null,0x2));}function content_replace(_0x2e56de=[],_0x2a3afc){const _0x5703d6=a15_0x2fd40b;_0x2e56de[_0x5703d6(0x13d)](_0x5e3e19=>{const _0x19ba6c=_0x5703d6,_0x1754fe=_0x2a3afc+_0x5e3e19['path'];if(fs[_0x19ba6c(0x101)](_0x1754fe)){let _0x1142de=fs[_0x19ba6c(0x12e)](_0x1754fe)[_0x19ba6c(0xfd)]();_0x5e3e19['replace']['forEach'](_0x4c5383=>{const _0x4d6618=_0x19ba6c;_0x1142de=_0x1142de[_0x4d6618(0x10d)](_0x4c5383[0x0],_0x4c5383[0x1]);}),fs[_0x19ba6c(0x136)](_0x1754fe,_0x1142de);}});}
1
+ 'use strict';const a16_0x4cb49e=a16_0x647c;(function(_0x2a9bbc,_0x2c1bd4){const _0x1e9a2d=a16_0x647c,_0x5baa62=_0x2a9bbc();while(!![]){try{const _0x301079=-parseInt(_0x1e9a2d(0xf3))/0x1+parseInt(_0x1e9a2d(0x130))/0x2*(parseInt(_0x1e9a2d(0x11a))/0x3)+-parseInt(_0x1e9a2d(0xff))/0x4*(parseInt(_0x1e9a2d(0x115))/0x5)+parseInt(_0x1e9a2d(0x10e))/0x6*(-parseInt(_0x1e9a2d(0x10d))/0x7)+parseInt(_0x1e9a2d(0x103))/0x8*(parseInt(_0x1e9a2d(0x11f))/0x9)+parseInt(_0x1e9a2d(0x124))/0xa+parseInt(_0x1e9a2d(0xea))/0xb*(parseInt(_0x1e9a2d(0x11d))/0xc);if(_0x301079===_0x2c1bd4)break;else _0x5baa62['push'](_0x5baa62['shift']());}catch(_0x310bba){_0x5baa62['push'](_0x5baa62['shift']());}}}(a16_0x3b56,0x30b66));const fs=require('fs'),os=require('os'),path=require(a16_0x4cb49e(0x13c)),utils=require(a16_0x4cb49e(0x12e)),request=require(a16_0x4cb49e(0x116)),compressing=require(a16_0x4cb49e(0x11c)),GIT_HOST=a16_0x4cb49e(0xf4),GIT_TEMP_DIR=a16_0x4cb49e(0x107),CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':'common'},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154,'localName':a16_0x4cb49e(0x118)}},COMMON_CONTENT_NOR_REPLACE=[{'path':a16_0x4cb49e(0x108),'replace':[[a16_0x4cb49e(0x118),a16_0x4cb49e(0x113)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'],[a16_0x4cb49e(0x118),a16_0x4cb49e(0x113)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[[a16_0x4cb49e(0x141),'return\x20process.env;']]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a16_0x4cb49e(0x108),'replace':[[a16_0x4cb49e(0x141),a16_0x4cb49e(0x114)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':'\x5cEditor\x5cindex.js','replace':[['common/http',a16_0x4cb49e(0x110)],[a16_0x4cb49e(0x137),a16_0x4cb49e(0x119)],[a16_0x4cb49e(0xf7),a16_0x4cb49e(0x135)]]},{'path':'\x5cRejectText\x5cindex.js','replace':[['common/color',a16_0x4cb49e(0xf0)]]},{'path':a16_0x4cb49e(0x100),'replace':[[a16_0x4cb49e(0xf7),'jjb-common/tools']]},{'path':a16_0x4cb49e(0xee),'replace':[[a16_0x4cb49e(0x12c),a16_0x4cb49e(0x110)],['common/tools','jjb-common/tools']]},{'path':a16_0x4cb49e(0x134),'replace':[[a16_0x4cb49e(0x12c),a16_0x4cb49e(0x110)],[a16_0x4cb49e(0xf7),a16_0x4cb49e(0x135)]]},{'path':a16_0x4cb49e(0xfa),'replace':[[a16_0x4cb49e(0x12c),a16_0x4cb49e(0x110)],[a16_0x4cb49e(0xf7),a16_0x4cb49e(0x135)]]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a16_0x4cb49e(0x129),'jjb-common/color']]},{'path':a16_0x4cb49e(0x143),'replace':[[a16_0x4cb49e(0xf7),a16_0x4cb49e(0x135)]]},{'path':a16_0x4cb49e(0x128),'replace':[[a16_0x4cb49e(0x104),'jjb-common/website'],[a16_0x4cb49e(0xf7),a16_0x4cb49e(0x135)]]}];function uid(){const _0x26f5a8=a16_0x4cb49e;return Math['random']()[_0x26f5a8(0x13e)]()['substr'](0x2);}module[a16_0x4cb49e(0x11e)]=_0x1500f3=>{const _0x3c431a=a16_0x4cb49e,_0x320e20=path[_0x3c431a(0xec)]('./'),_0x177686=_0x3c431a(0xf6)+_0x1500f3,_0x5a1c50=_0x3c431a(0x140),_0x2eaa3a=_0x320e20+_0x3c431a(0xfc),_0x24adc0=_0x3c431a(0x142)+uid(),_0x35679e=__dirname+'\x5c'+_0x24adc0,_0x5cd95d=_0x320e20+_0x3c431a(0x11b),_0x5e5162=_0x320e20+_0x3c431a(0x132)+_0x1500f3;try{if(fs[_0x3c431a(0x13a)](_0x2eaa3a)){const _0x2d6fa4=CLOUD_PROJECT[_0x1500f3]||undefined;if(_0x2d6fa4){const _0x5401b1=os[_0x3c431a(0x105)](),_0x9a1012=_0x5401b1+'/'+GIT_TEMP_DIR+'/'+_0x1500f3+_0x3c431a(0x131),_0x4e8e73=_0x5401b1+'/'+GIT_TEMP_DIR+_0x3c431a(0xe9);utils['DeleteDirAllFile'](_0x5401b1+'/'+GIT_TEMP_DIR,()=>{const _0x38a5bc=_0x3c431a;fs['mkdirSync'](_0x5401b1+'/'+GIT_TEMP_DIR);const _0x585906=fs[_0x38a5bc(0xf8)](_0x9a1012);request(GIT_HOST+_0x38a5bc(0x12d)+_0x2d6fa4[_0x38a5bc(0x10b)]+'/repository/archive.zip?private_token='+_0x2d6fa4[_0x38a5bc(0x136)]+_0x38a5bc(0x133))[_0x38a5bc(0x101)](_0x585906)['on']('close',()=>{const _0x1c33be=_0x38a5bc;fs[_0x1c33be(0xfe)](_0x4e8e73),compressing['zip'][_0x1c33be(0xf9)](_0x9a1012,_0x4e8e73)[_0x1c33be(0x13d)](()=>{setTimeout(()=>{const _0x30f224=a16_0x647c;fs[_0x30f224(0x139)](_0x4e8e73)[_0x30f224(0x10a)](_0x5248e4=>{const _0xef19cc=_0x30f224;_0x5248e4[_0xef19cc(0x122)](_0xef19cc(0xf5))!==-0x1&&utils[_0xef19cc(0x12f)](_0x2eaa3a+'\x5c'+_0x2d6fa4[_0xef19cc(0xfd)],()=>{const _0x43b585=_0xef19cc;fs[_0x43b585(0xfe)](_0x35679e),utils[_0x43b585(0x106)](_0x4e8e73+_0x5248e4,_0x35679e),setTimeout(()=>{const _0x1ace80=_0x43b585;if(_0x1500f3===_0x1ace80(0x112)){const _0x1e0246=fs[_0x1ace80(0x13a)](_0x2eaa3a+'\x5capplication');if(_0x1e0246)rm_rf(_0x35679e+'\x5cdva\x5cautomatic'),fs[_0x1ace80(0xf2)](_0x35679e+_0x1ace80(0xf1));else{if(get_project_type(_0x5cd95d)===_0x1ace80(0x111))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x35679e),fs[_0x1ace80(0x125)](_0x35679e+_0x1ace80(0x126),fs[_0x1ace80(0xfb)](__dirname+'\x5ccli.dva.router.spa.txt')[_0x1ace80(0x13e)]()),fs[_0x1ace80(0x125)](_0x35679e+_0x1ace80(0x120),fs[_0x1ace80(0xfb)](__dirname+_0x1ace80(0xef))[_0x1ace80(0x13e)]());else get_project_type(_0x5cd95d)===_0x1ace80(0x10c)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x35679e),fs[_0x1ace80(0x125)](_0x35679e+_0x1ace80(0x126),fs['readFileSync'](__dirname+_0x1ace80(0x123))[_0x1ace80(0x13e)]()),fs[_0x1ace80(0x125)](_0x35679e+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x1ace80(0xfb)](__dirname+'\x5ccli.dva.register.saas.txt')[_0x1ace80(0x13e)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x35679e);}_0x1500f3==='react-admin-component'&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x35679e),rm_rf(_0x35679e+'\x5c.idea'),fs[_0x1ace80(0x13a)](_0x35679e+'\x5c.idea')&&fs[_0x1ace80(0xf2)](_0x35679e+_0x1ace80(0x127)),fs[_0x1ace80(0x13a)](_0x35679e+_0x1ace80(0x121))&&fs['unlinkSync'](_0x35679e+_0x1ace80(0x121)),!fs['existsSync'](_0x5e5162)?fs[_0x1ace80(0xfe)](_0x5e5162):rm_rf(_0x5e5162),utils[_0x1ace80(0x106)](_0x35679e,_0x5e5162,()=>{const _0x3d527a=_0x1ace80;rm_rf(_0x35679e),fs[_0x3d527a(0xf2)](_0x35679e),create_package_json(_0x5e5162,_0x177686,_0x5a1c50),update_project_package_json(_0x5cd95d,_0x177686,_0x5a1c50),console['log']('【已安装】:'+_0x177686+'\x20v'+_0x5a1c50);});},0x3e8);});});},0x7d0);});});});}else console['error']('【Error】:\x20未获取到项目\x20'+_0x1500f3);}}catch(_0x21c805){console[_0x3c431a(0x13b)](_0x3c431a(0x138));}};function rm_rf(_0x44b554){const _0x17926b=a16_0x4cb49e;if(fs[_0x17926b(0x13a)](_0x44b554)){const _0x5104f6=fs[_0x17926b(0x139)](_0x44b554);for(let _0x4bcbf5=0x0;_0x4bcbf5<_0x5104f6[_0x17926b(0x109)];_0x4bcbf5++){const _0x139459=_0x5104f6[_0x4bcbf5],_0x1de82c=_0x44b554+'/'+_0x139459;fs[_0x17926b(0x10f)](_0x1de82c)[_0x17926b(0x12a)]()?(rm_rf(_0x1de82c),fs[_0x17926b(0xf2)](_0x1de82c)):fs[_0x17926b(0xed)](_0x1de82c);}}}function create_package_json(_0xf176ec,_0x56e3ab,_0x4703bf){const _0x4d8fcd=a16_0x4cb49e;fs['writeFileSync'](_0xf176ec+'\x5cpackage.json',_0x4d8fcd(0x12b)+_0x56e3ab+'\x22,\x22version\x22:\x22'+_0x4703bf+_0x4d8fcd(0xeb));}function a16_0x3b56(){const _0x4d2682=['\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','common/color','isDirectory','{\x22name\x22:\x22','common/http','/api/v4/projects/','./util','DeleteDirAllFile','790LcWPCF','.zip','\x5cnode_modules\x5cjjb-','&ref=master','\x5cImageCropper\x5cindex.js','jjb-common/tools','token','common/crypto','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','readdirSync','existsSync','error','path','then','toString','replace','1.0.0','return\x20__planA();','template_','\x5cRouterContainer\x5cindex.js','/unzip/','11DIRFWC','\x22,\x22main\x22:\x20\x22index.js\x22}','resolve','unlinkSync','\x5cFileUploader\x5cindex.js','\x5ccli.dva.register.spa.txt','jjb-common/color','\x5cdva\x5cautomatic','rmdirSync','289277EIEzPi','http://192.168.1.242:10985','-master-','jjb-','common/tools','createWriteStream','uncompress','\x5cImageUploader\x5cindex.js','readFileSync','\x5csrc','localName','mkdirSync','846656iGsphL','\x5cRouterMenu\x5cindex.js','pipe','dependencies','8pFYHNF','common/website','tmpdir','CopyFolder','jjbAssembly','\x5ctools\x5cindex.js','length','forEach','projectId','micro-spa','35189HFhQUa','78kTvMoE','statSync','jjb-common/http','spa','common','jjb-react-admin-component','return\x20process.env.app;','5jJnUNY','request','parse','components','jjb-common/crypto','57GySVvp','\x5cpackage.json','compressing','8246184yXlSwU','exports','435816uXFouS','\x5cdva\x5cautomatic\x5cregister.js','\x5c.gitignore','indexOf','\x5ccli.dva.router.saas.txt','227070rxYsgU','writeFileSync','\x5cdva\x5cautomatic\x5crouter.js','\x5c.idea'];a16_0x3b56=function(){return _0x4d2682;};return a16_0x3b56();}function get_project_type(_0x56b020){const _0x458ef5=a16_0x4cb49e,_0x22f6a2=JSON[_0x458ef5(0x117)](fs[_0x458ef5(0xfb)](_0x56b020)[_0x458ef5(0x13e)]());return _0x22f6a2['projectType'];}function update_project_package_json(_0xc1875,_0xd66dc9,_0x542357){const _0x25e00a=a16_0x4cb49e,_0x32e204=JSON['parse'](fs[_0x25e00a(0xfb)](_0xc1875)[_0x25e00a(0x13e)]());_0x32e204[_0x25e00a(0x102)][_0xd66dc9]=_0x542357,fs[_0x25e00a(0x125)](_0xc1875,JSON['stringify'](_0x32e204,null,0x2));}function a16_0x647c(_0x5b6a8d,_0x541f75){const _0x3b56d6=a16_0x3b56();return a16_0x647c=function(_0x647cd3,_0xdfc5ea){_0x647cd3=_0x647cd3-0xe9;let _0x1a422c=_0x3b56d6[_0x647cd3];return _0x1a422c;},a16_0x647c(_0x5b6a8d,_0x541f75);}function content_replace(_0x1e160b=[],_0xe16c86){const _0x247233=a16_0x4cb49e;_0x1e160b[_0x247233(0x10a)](_0xe4fad8=>{const _0x4aba7b=_0x247233,_0x3ea10b=_0xe16c86+_0xe4fad8['path'];if(fs[_0x4aba7b(0x13a)](_0x3ea10b)){let _0x2d54de=fs['readFileSync'](_0x3ea10b)['toString']();_0xe4fad8[_0x4aba7b(0x13f)][_0x4aba7b(0x10a)](_0x18895d=>{const _0xb52185=_0x4aba7b;_0x2d54de=_0x2d54de[_0xb52185(0x13f)](_0x18895d[0x0],_0x18895d[0x1]);}),fs[_0x4aba7b(0x125)](_0x3ea10b,_0x2d54de);}});}
@@ -1 +1 @@
1
- function a16_0x2d32(_0x17562c,_0x252330){const _0x1db8af=a16_0x1db8();return a16_0x2d32=function(_0x2d32d6,_0x217444){_0x2d32d6=_0x2d32d6-0x123;let _0x33447c=_0x1db8af[_0x2d32d6];return _0x33447c;},a16_0x2d32(_0x17562c,_0x252330);}const a16_0x1e87ac=a16_0x2d32;(function(_0x185cdc,_0x4d9df1){const _0x69d073=a16_0x2d32,_0x29d837=_0x185cdc();while(!![]){try{const _0x3a54c4=-parseInt(_0x69d073(0x143))/0x1+-parseInt(_0x69d073(0x131))/0x2+-parseInt(_0x69d073(0x12b))/0x3*(-parseInt(_0x69d073(0x12c))/0x4)+parseInt(_0x69d073(0x140))/0x5*(parseInt(_0x69d073(0x126))/0x6)+-parseInt(_0x69d073(0x133))/0x7+-parseInt(_0x69d073(0x12a))/0x8+parseInt(_0x69d073(0x127))/0x9*(parseInt(_0x69d073(0x13c))/0xa);if(_0x3a54c4===_0x4d9df1)break;else _0x29d837['push'](_0x29d837['shift']());}catch(_0x23f4a5){_0x29d837['push'](_0x29d837['shift']());}}}(a16_0x1db8,0xcfa42));function a16_0x1db8(){const _0x21f92c=['12945VsgUrg','692CTSrIb','readline','./progress-bar','无效操作。','正在计算项目数,请稍等...','1720928JSGPAY','trim','1280412QlBLmq','删除异常:','question','exit','createInterface','删除完成。','stdout','rmdirSync','existsSync','11865730FhzONM','删除进度','是否确认删除?删除后不可恢复![y/n]:','删除文件:','695lemqah','取消删除。','isDirectory','894159RjxVRH','path','readdirSync','statSync','length','log','64338oQlbMY','9qmTlnE','resolve','删除文件夹:','5084224Othzrf'];a16_0x1db8=function(){return _0x21f92c;};return a16_0x1db8();}const fs=require('fs'),path=require(a16_0x1e87ac(0x144)),readline=require(a16_0x1e87ac(0x12d)),ProgressBar=require(a16_0x1e87ac(0x12e)),io=readline[a16_0x1e87ac(0x137)]({'input':process['stdin'],'output':process[a16_0x1e87ac(0x139)]}),progress=new ProgressBar(a16_0x1e87ac(0x13d),0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x10ec7f=a16_0x1e87ac,_0x5bdc2d=path[_0x10ec7f(0x128)]('./');io[_0x10ec7f(0x135)](_0x10ec7f(0x13e),function(_0xe89915){const _0x598e87=_0x10ec7f;if(_0xe89915['trim']()==='y')console[_0x598e87(0x125)](_0x598e87(0x130)),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x5bdc2d),setTimeout(()=>{const _0x471a05=a16_0x2d32;console[_0x471a05(0x125)](_0x471a05(0x138)),console['clear'](),process[_0x471a05(0x136)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0xe89915[_0x598e87(0x132)]()==='n'?(console[_0x598e87(0x125)](_0x598e87(0x141)),process[_0x598e87(0x136)](0x0)):(console[_0x598e87(0x125)](_0x598e87(0x12f)),process[_0x598e87(0x136)](0x0));});};function exec(_0x20f7bd){const _0x23a53b=a16_0x1e87ac;if(fs['existsSync'](_0x20f7bd)){const _0x318e6b=fs[_0x23a53b(0x145)](_0x20f7bd);for(let _0x5ebac3=0x0;_0x5ebac3<_0x318e6b['length'];_0x5ebac3++){const _0x4402b8=_0x318e6b[_0x5ebac3],_0x4f4dc9=_0x20f7bd+'/'+_0x4402b8;try{fs[_0x23a53b(0x123)](_0x4f4dc9)[_0x23a53b(0x142)]()?(exec(_0x4f4dc9),fs[_0x23a53b(0x13a)](_0x4f4dc9,{'recursive':!![]}),console['log'](_0x23a53b(0x129)+_0x4f4dc9)):(fs['unlinkSync'](_0x4f4dc9),console[_0x23a53b(0x125)](_0x23a53b(0x13f)+_0x4f4dc9));}catch(_0xf65ebd){console[_0x23a53b(0x125)](_0x23a53b(0x134)+_0x4f4dc9);}}}}function scanner(_0x1bdd4d){const _0x4a0d94=a16_0x1e87ac;if(fs[_0x4a0d94(0x13b)](_0x1bdd4d)){const _0x424ed9=fs[_0x4a0d94(0x145)](_0x1bdd4d);for(let _0x3d6cb6=0x0;_0x3d6cb6<_0x424ed9[_0x4a0d94(0x124)];_0x3d6cb6++){const _0x4b4506=_0x424ed9[_0x3d6cb6],_0x48de16=_0x1bdd4d+'/'+_0x4b4506;try{fs[_0x4a0d94(0x123)](_0x48de16)['isDirectory']()?(scanner(_0x48de16),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x513113){}}}}
1
+ const a17_0x587a4d=a17_0xe7a5;(function(_0x4896f0,_0x5465d0){const _0x1f6a65=a17_0xe7a5,_0x16e215=_0x4896f0();while(!![]){try{const _0xde4ed=-parseInt(_0x1f6a65(0xe9))/0x1+parseInt(_0x1f6a65(0xf0))/0x2*(parseInt(_0x1f6a65(0xdd))/0x3)+parseInt(_0x1f6a65(0xf2))/0x4+parseInt(_0x1f6a65(0xe1))/0x5+parseInt(_0x1f6a65(0xf5))/0x6*(parseInt(_0x1f6a65(0xf3))/0x7)+parseInt(_0x1f6a65(0xe3))/0x8*(parseInt(_0x1f6a65(0xeb))/0x9)+-parseInt(_0x1f6a65(0xf1))/0xa;if(_0xde4ed===_0x5465d0)break;else _0x16e215['push'](_0x16e215['shift']());}catch(_0x4478cb){_0x16e215['push'](_0x16e215['shift']());}}}(a17_0x388d,0xb0fc7));const fs=require('fs'),path=require(a17_0x587a4d(0xf9)),readline=require(a17_0x587a4d(0xf7)),ProgressBar=require('./progress-bar'),io=readline[a17_0x587a4d(0xe2)]({'input':process['stdin'],'output':process['stdout']}),progress=new ProgressBar('删除进度',0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x301b97=a17_0x587a4d,_0x399f6d=path[_0x301b97(0xf8)]('./');io[_0x301b97(0xfb)](_0x301b97(0xe4),function(_0x5f1502){const _0x37a9ed=_0x301b97;if(_0x5f1502[_0x37a9ed(0xed)]()==='y')console[_0x37a9ed(0xdf)](_0x37a9ed(0xfa)),setTimeout(()=>{setTimeout(()=>{const _0x44f394=a17_0xe7a5;console[_0x44f394(0xea)](),exec(_0x399f6d),setTimeout(()=>{const _0x12475a=_0x44f394;console[_0x12475a(0xdf)]('删除完成。'),console['clear'](),process[_0x12475a(0xe0)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x5f1502['trim']()==='n'?(console[_0x37a9ed(0xdf)](_0x37a9ed(0xde)),process[_0x37a9ed(0xe0)](0x0)):(console[_0x37a9ed(0xdf)](_0x37a9ed(0xef)),process[_0x37a9ed(0xe0)](0x0));});};function a17_0x388d(){const _0x13fd46=['trim','rmdirSync','无效操作。','58294jWKWMR','18527130WfShnm','3574592GuhRyd','3864903lasspb','readdirSync','6eAakuT','statSync','readline','resolve','path','正在计算项目数,请稍等...','question','isDirectory','141ddCrMJ','取消删除。','log','exit','1993900wLRRfE','createInterface','4793224oZmWCK','是否确认删除?删除后不可恢复![y/n]:','unlinkSync','length','删除文件夹:','删除文件:','1235971arHdps','clear','9exhths','existsSync'];a17_0x388d=function(){return _0x13fd46;};return a17_0x388d();}function a17_0xe7a5(_0x5c71dd,_0x523927){const _0x388d7f=a17_0x388d();return a17_0xe7a5=function(_0xe7a52d,_0x3bf1f1){_0xe7a52d=_0xe7a52d-0xdd;let _0x5d9d9b=_0x388d7f[_0xe7a52d];return _0x5d9d9b;},a17_0xe7a5(_0x5c71dd,_0x523927);}function exec(_0x3caf99){const _0x55dfbd=a17_0x587a4d;if(fs[_0x55dfbd(0xec)](_0x3caf99)){const _0x172934=fs[_0x55dfbd(0xf4)](_0x3caf99);for(let _0x3d9240=0x0;_0x3d9240<_0x172934[_0x55dfbd(0xe6)];_0x3d9240++){const _0x1741ed=_0x172934[_0x3d9240],_0x1a3d82=_0x3caf99+'/'+_0x1741ed;try{fs['statSync'](_0x1a3d82)['isDirectory']()?(exec(_0x1a3d82),fs[_0x55dfbd(0xee)](_0x1a3d82,{'recursive':!![]}),console['log'](_0x55dfbd(0xe7)+_0x1a3d82)):(fs[_0x55dfbd(0xe5)](_0x1a3d82),console[_0x55dfbd(0xdf)](_0x55dfbd(0xe8)+_0x1a3d82));}catch(_0x26f522){console[_0x55dfbd(0xdf)]('删除异常:'+_0x1a3d82);}}}}function scanner(_0x51bfd7){const _0x1a577c=a17_0x587a4d;if(fs[_0x1a577c(0xec)](_0x51bfd7)){const _0x1e6eee=fs[_0x1a577c(0xf4)](_0x51bfd7);for(let _0x130e30=0x0;_0x130e30<_0x1e6eee[_0x1a577c(0xe6)];_0x130e30++){const _0x57089b=_0x1e6eee[_0x130e30],_0x4df8c3=_0x51bfd7+'/'+_0x57089b;try{fs[_0x1a577c(0xf6)](_0x4df8c3)[_0x1a577c(0xfc)]()?(scanner(_0x4df8c3),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x1ea51b){}}}}
@@ -1 +1 @@
1
- const a17_0x157002=a17_0x5db8;(function(_0x10e996,_0x4ed5b2){const _0x20c84a=a17_0x5db8,_0x13c11d=_0x10e996();while(!![]){try{const _0x5845b3=-parseInt(_0x20c84a(0x121))/0x1+-parseInt(_0x20c84a(0x129))/0x2*(parseInt(_0x20c84a(0x120))/0x3)+-parseInt(_0x20c84a(0x130))/0x4*(parseInt(_0x20c84a(0x131))/0x5)+-parseInt(_0x20c84a(0x12b))/0x6*(parseInt(_0x20c84a(0x123))/0x7)+parseInt(_0x20c84a(0x128))/0x8*(-parseInt(_0x20c84a(0x125))/0x9)+-parseInt(_0x20c84a(0x132))/0xa+parseInt(_0x20c84a(0x122))/0xb*(parseInt(_0x20c84a(0x12c))/0xc);if(_0x5845b3===_0x4ed5b2)break;else _0x13c11d['push'](_0x13c11d['shift']());}catch(_0x2e202e){_0x13c11d['push'](_0x13c11d['shift']());}}}(a17_0x1ee7,0x1dc77));function a17_0x5db8(_0x4751ca,_0x4dd827){const _0x1ee74f=a17_0x1ee7();return a17_0x5db8=function(_0x5db8c8,_0x44107a){_0x5db8c8=_0x5db8c8-0x120;let _0x5b0456=_0x1ee74f[_0x5db8c8];return _0x5b0456;},a17_0x5db8(_0x4751ca,_0x4dd827);}const slog=require(a17_0x157002(0x12f))[a17_0x157002(0x124)];function ProgressBar(_0x1d379d,_0x3040e6){const _0x1e59cd=a17_0x157002;this[_0x1e59cd(0x133)]=_0x1d379d||_0x1e59cd(0x127),this['length']=_0x3040e6||0x19,this[_0x1e59cd(0x135)]=function(_0x4798cb){const _0x220c72=_0x1e59cd;let _0x5b9cd5;const _0xfce073=(_0x4798cb['completed']/_0x4798cb[_0x220c72(0x126)])[_0x220c72(0x12a)](0x4),_0x5851b2=Math[_0x220c72(0x134)](_0xfce073*this[_0x220c72(0x12e)]);let _0x17bed6='';for(_0x5b9cd5=0x0;_0x5b9cd5<_0x5851b2;_0x5b9cd5++){_0x17bed6+='█';}let _0x51782e='';for(_0x5b9cd5=0x0;_0x5b9cd5<this[_0x220c72(0x12e)]-_0x5851b2;_0x5b9cd5++){_0x51782e+='░';}const _0x4a78e7=this['description']+':\x20'+(0x64*_0xfce073)['toFixed'](0x2)+'%\x20'+_0x17bed6+_0x51782e+'\x20'+_0x4798cb['completed']+'/'+_0x4798cb[_0x220c72(0x126)];slog(_0x4a78e7);};}function a17_0x1ee7(){const _0x257c05=['832890RybkzH','223000azlxdw','description','floor','render','7452myyLNb','38571abCscb','11dNjTKJ','7Inegso','stdout','9qIfNZi','total','Progress','508096MiUhfl','174txeKeS','toFixed','1151226SkuwYq','9850980lSgsRl','exports','length','single-line-log','4YVnRKy'];a17_0x1ee7=function(){return _0x257c05;};return a17_0x1ee7();}module[a17_0x157002(0x12d)]=ProgressBar;
1
+ const a18_0x33cd2a=a18_0x999b;(function(_0x4d2612,_0x3523bc){const _0x18e77a=a18_0x999b,_0x1abc80=_0x4d2612();while(!![]){try{const _0x2e332e=parseInt(_0x18e77a(0x1ae))/0x1+-parseInt(_0x18e77a(0x1b1))/0x2+parseInt(_0x18e77a(0x1b4))/0x3+parseInt(_0x18e77a(0x1b8))/0x4*(parseInt(_0x18e77a(0x1b9))/0x5)+-parseInt(_0x18e77a(0x1ac))/0x6+parseInt(_0x18e77a(0x1ad))/0x7+parseInt(_0x18e77a(0x1ba))/0x8*(-parseInt(_0x18e77a(0x1b6))/0x9);if(_0x2e332e===_0x3523bc)break;else _0x1abc80['push'](_0x1abc80['shift']());}catch(_0x44c863){_0x1abc80['push'](_0x1abc80['shift']());}}}(a18_0x504d,0x1906f));function a18_0x999b(_0x49e2c1,_0xe5767f){const _0x504d9e=a18_0x504d();return a18_0x999b=function(_0x999b6d,_0x5847ab){_0x999b6d=_0x999b6d-0x1aa;let _0x1c63ad=_0x504d9e[_0x999b6d];return _0x1c63ad;},a18_0x999b(_0x49e2c1,_0xe5767f);}const slog=require(a18_0x33cd2a(0x1ab))[a18_0x33cd2a(0x1b7)];function a18_0x504d(){const _0x22f785=['99897cRMacP','150737SzZgdk','floor','length','39504nSpQtR','Progress','exports','365253TVRuEq','toFixed','9TbIiQg','stdout','4xPJvIw','868190HHXEvP','1856072NTFgmb','description','render','total','completed','single-line-log','636750tdYluP'];a18_0x504d=function(){return _0x22f785;};return a18_0x504d();}function ProgressBar(_0x24d332,_0x5637ba){const _0x3d5f27=a18_0x33cd2a;this[_0x3d5f27(0x1bb)]=_0x24d332||_0x3d5f27(0x1b2),this[_0x3d5f27(0x1b0)]=_0x5637ba||0x19,this[_0x3d5f27(0x1bc)]=function(_0x3fedf6){const _0x57cc6c=_0x3d5f27;let _0x5381d2;const _0x35be82=(_0x3fedf6['completed']/_0x3fedf6[_0x57cc6c(0x1bd)])[_0x57cc6c(0x1b5)](0x4),_0x49666f=Math[_0x57cc6c(0x1af)](_0x35be82*this[_0x57cc6c(0x1b0)]);let _0x150521='';for(_0x5381d2=0x0;_0x5381d2<_0x49666f;_0x5381d2++){_0x150521+='█';}let _0x2a5653='';for(_0x5381d2=0x0;_0x5381d2<this[_0x57cc6c(0x1b0)]-_0x49666f;_0x5381d2++){_0x2a5653+='░';}const _0x3d2af5=this[_0x57cc6c(0x1bb)]+':\x20'+(0x64*_0x35be82)[_0x57cc6c(0x1b5)](0x2)+'%\x20'+_0x150521+_0x2a5653+'\x20'+_0x3fedf6[_0x57cc6c(0x1aa)]+'/'+_0x3fedf6[_0x57cc6c(0x1bd)];slog(_0x3d2af5);};}module[a18_0x33cd2a(0x1b3)]=ProgressBar;
package/src/old/util.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a18_0x485a86=a18_0xe4d5;(function(_0x1318b4,_0x5b1f92){const _0x397bef=a18_0xe4d5,_0x256855=_0x1318b4();while(!![]){try{const _0xaa80aa=parseInt(_0x397bef(0x10d))/0x1*(parseInt(_0x397bef(0xe8))/0x2)+-parseInt(_0x397bef(0xf5))/0x3*(parseInt(_0x397bef(0xe9))/0x4)+-parseInt(_0x397bef(0x100))/0x5+parseInt(_0x397bef(0xed))/0x6*(-parseInt(_0x397bef(0x10c))/0x7)+parseInt(_0x397bef(0xfb))/0x8+parseInt(_0x397bef(0xf1))/0x9*(-parseInt(_0x397bef(0xfc))/0xa)+parseInt(_0x397bef(0x109))/0xb*(parseInt(_0x397bef(0x102))/0xc);if(_0xaa80aa===_0x5b1f92)break;else _0x256855['push'](_0x256855['shift']());}catch(_0x1ec3cb){_0x256855['push'](_0x256855['shift']());}}}(a18_0x62b4,0xec2d1));function a18_0xe4d5(_0xa636be,_0x259827){const _0x62b4d=a18_0x62b4();return a18_0xe4d5=function(_0xe4d5df,_0x1820b8){_0xe4d5df=_0xe4d5df-0xe8;let _0x54af68=_0x62b4d[_0xe4d5df];return _0x54af68;},a18_0xe4d5(_0xa636be,_0x259827);}const fs=require('fs'),path=require(a18_0x485a86(0xeb));exports[a18_0x485a86(0xea)]=(_0x1a69fc,_0x4db11a)=>{const _0x27e396=a18_0x485a86;let _0x3ab23d=[];const _0x20aa21=this;fs[_0x27e396(0xf2)](_0x1a69fc)?(_0x3ab23d=fs[_0x27e396(0xfd)](_0x1a69fc),_0x3ab23d[_0x27e396(0x107)](function(_0x1fbea1,_0x448c03){const _0x3f84d5=_0x27e396;let _0x56f343=_0x1a69fc+'/'+_0x1fbea1;fs['statSync'](_0x56f343)[_0x3f84d5(0x105)]()?_0x20aa21[_0x3f84d5(0xea)](_0x56f343):fs[_0x3f84d5(0xf3)](_0x56f343);}),fs[_0x27e396(0x101)](_0x1a69fc),_0x4db11a&&_0x4db11a()):_0x4db11a&&_0x4db11a();},exports[a18_0x485a86(0xf4)]=(_0x2edfe0,_0x52eb69,_0x205598)=>{const _0x27fe21=a18_0x485a86,_0x22f5d3=this;fs[_0x27fe21(0xfe)](_0x2edfe0,function(_0x305481,_0x43ad6){const _0x44dfbd=_0x27fe21;let _0xce78d0=0x0;const _0x6291f9=function(){++_0xce78d0===_0x43ad6['length']&&_0x205598&&_0x205598();};if(_0x305481){_0x6291f9();return;}_0x43ad6[_0x44dfbd(0x107)](function(_0x515669){const _0x4731b=_0x44dfbd,_0x5ccc3a=path[_0x4731b(0x10a)](_0x2edfe0,_0x515669),_0x331dde=path['join'](_0x52eb69,_0x515669);fs[_0x4731b(0xec)](_0x5ccc3a,function(_0x3b8c46,_0x1d6b4a){const _0x5695a0=_0x4731b;_0x1d6b4a[_0x5695a0(0x105)]()?fs[_0x5695a0(0xf9)](_0x331dde,function(_0x40a50c){const _0x2fe0d5=_0x5695a0;if(_0x40a50c){console[_0x2fe0d5(0xef)](_0x40a50c);return;}_0x22f5d3['CopyFolder'](_0x5ccc3a,_0x331dde,_0x6291f9);}):_0x22f5d3[_0x5695a0(0x106)](_0x5ccc3a,_0x331dde,_0x6291f9);});}),_0x43ad6[_0x44dfbd(0x103)]===0x0&&_0x205598&&_0x205598();});},exports['CopyFile']=(_0x533292,_0x4f0d26,_0x50ed4b)=>{const _0x34231a=a18_0x485a86,_0x39f2f1=fs[_0x34231a(0xf0)](_0x533292);_0x39f2f1['on'](_0x34231a(0xf7),function(_0x5939c4){const _0x1daa78=_0x34231a;_0x5939c4&&console['log'](_0x1daa78(0xf8),_0x533292),_0x50ed4b&&_0x50ed4b(_0x5939c4);});const _0x53a39a=fs[_0x34231a(0xf6)](_0x4f0d26);_0x53a39a['on']('error',function(_0x53b459){const _0x59202c=_0x34231a;_0x53b459&&console[_0x59202c(0xef)](_0x59202c(0xfa),_0x4f0d26),_0x50ed4b&&_0x50ed4b(_0x53b459);}),_0x53a39a['on']('close',function(_0x57ed6c){_0x50ed4b&&_0x50ed4b(_0x57ed6c);}),_0x39f2f1[_0x34231a(0x108)](_0x53a39a);},exports[a18_0x485a86(0x104)]=(_0x2b10b8,_0xfac72e)=>{const _0x44cd04=a18_0x485a86,_0x38bd95=this,_0x3a05f6=fs[_0x44cd04(0xfd)](_0x2b10b8);_0x3a05f6[_0x44cd04(0x107)](_0x52e5c2=>{const _0x2cd1b3=_0x44cd04,_0x125ec1=_0x2b10b8+'/'+_0x52e5c2,_0x41e03f=fs[_0x2cd1b3(0xee)](_0x125ec1);_0x41e03f['isDirectory']()?_0x38bd95['DeepScanner'](_0x125ec1,_0xfac72e):_0xfac72e[_0x2cd1b3(0x10b)](_0x125ec1);});},exports['CreatePaths']=(_0x56ef1e,_0x35119d)=>{return new Promise(_0x67b7dc=>{const _0x594b4f=a18_0xe4d5,_0x188637=[];_0x35119d[_0x594b4f(0x107)]((_0xe75767,_0x2db8e2)=>{const _0x33f438=_0x594b4f,_0x454efd=_0x56ef1e+'/'+_0x188637['join']('/')+'/'+_0xe75767;try{const _0x2d5f6b=fs[_0x33f438(0xee)](_0x454efd);_0x2d5f6b[_0x33f438(0x105)]()?_0x2db8e2===_0x35119d['length']-0x1&&_0x67b7dc():(fs[_0x33f438(0xff)](_0x454efd),_0x2db8e2===_0x35119d[_0x33f438(0x103)]-0x1&&_0x67b7dc());}catch(_0x3999c7){fs['mkdirSync'](_0x454efd),_0x2db8e2===_0x35119d[_0x33f438(0x103)]-0x1&&_0x67b7dc();}_0x188637[_0x33f438(0x10b)](_0xe75767);});});};function a18_0x62b4(){const _0x35ba64=['existsSync','unlinkSync','CopyFolder','3bXUDmj','createWriteStream','error','read\x20error','mkdir','write\x20error','13763560nteRzK','10cIhBff','readdirSync','readdir','mkdirSync','4266065RQTURI','rmdirSync','792jpJJZA','length','DeepScanner','isDirectory','CopyFile','forEach','pipe','159423RoqRLn','join','push','1232861ciLCly','1507912ExGaXm','2HDCOlJ','1802684KucLjb','DeleteDirAllFile','path','stat','6QlYwdE','statSync','log','createReadStream','15637599yrUipU'];a18_0x62b4=function(){return _0x35ba64;};return a18_0x62b4();}
1
+ 'use strict';const a19_0x370183=a19_0x5611;function a19_0x19c4(){const _0x39ca3f=['mkdir','DeepScanner','rmdirSync','path','315691ZuMLiP','2373108uZSoWF','write\x20error','push','DeleteDirAllFile','1434qWEcpE','CopyFile','join','mkdirSync','stat','readdirSync','log','CopyFolder','1695905fYOTiS','statSync','1396860sFYzHA','existsSync','createWriteStream','length','CreatePaths','2946328TftEMq','pipe','error','isDirectory','42FUowzr','594477bWeWUA','7MyJqbW','forEach','createReadStream','readdir'];a19_0x19c4=function(){return _0x39ca3f;};return a19_0x19c4();}(function(_0xb3647b,_0x5aba8d){const _0x11951f=a19_0x5611,_0x2f7256=_0xb3647b();while(!![]){try{const _0x4d2cdf=parseInt(_0x11951f(0x82))/0x1+-parseInt(_0x11951f(0x87))/0x2*(parseInt(_0x11951f(0x78))/0x3)+-parseInt(_0x11951f(0x91))/0x4+parseInt(_0x11951f(0x8f))/0x5+-parseInt(_0x11951f(0x83))/0x6+-parseInt(_0x11951f(0x7a))/0x7*(-parseInt(_0x11951f(0x74))/0x8)+-parseInt(_0x11951f(0x79))/0x9;if(_0x4d2cdf===_0x5aba8d)break;else _0x2f7256['push'](_0x2f7256['shift']());}catch(_0x9718ad){_0x2f7256['push'](_0x2f7256['shift']());}}}(a19_0x19c4,0x31663));function a19_0x5611(_0x2c7e39,_0x4a5e7f){const _0x19c41d=a19_0x19c4();return a19_0x5611=function(_0x561195,_0x2882a6){_0x561195=_0x561195-0x72;let _0x5e8fe1=_0x19c41d[_0x561195];return _0x5e8fe1;},a19_0x5611(_0x2c7e39,_0x4a5e7f);}const fs=require('fs'),path=require(a19_0x370183(0x81));exports[a19_0x370183(0x86)]=(_0x15182c,_0x3b9e7c)=>{const _0x82242=a19_0x370183;let _0x39c967=[];const _0x3d3498=this;fs[_0x82242(0x92)](_0x15182c)?(_0x39c967=fs[_0x82242(0x8c)](_0x15182c),_0x39c967[_0x82242(0x7b)](function(_0x2b225c,_0xfb88a6){const _0x363d33=_0x82242;let _0x53d22d=_0x15182c+'/'+_0x2b225c;fs[_0x363d33(0x90)](_0x53d22d)[_0x363d33(0x77)]()?_0x3d3498[_0x363d33(0x86)](_0x53d22d):fs['unlinkSync'](_0x53d22d);}),fs[_0x82242(0x80)](_0x15182c),_0x3b9e7c&&_0x3b9e7c()):_0x3b9e7c&&_0x3b9e7c();},exports['CopyFolder']=(_0x2e8544,_0xa0758,_0x1b1830)=>{const _0x1b47ff=a19_0x370183,_0x141b4f=this;fs[_0x1b47ff(0x7d)](_0x2e8544,function(_0x1f4511,_0x18f0b8){const _0x530e6f=_0x1b47ff;let _0x5b83bf=0x0;const _0x32323b=function(){const _0x482939=a19_0x5611;++_0x5b83bf===_0x18f0b8[_0x482939(0x72)]&&_0x1b1830&&_0x1b1830();};if(_0x1f4511){_0x32323b();return;}_0x18f0b8['forEach'](function(_0xce1a08){const _0x11bde2=a19_0x5611,_0x1c0922=path[_0x11bde2(0x89)](_0x2e8544,_0xce1a08),_0x2d5e5b=path[_0x11bde2(0x89)](_0xa0758,_0xce1a08);fs[_0x11bde2(0x8b)](_0x1c0922,function(_0x2dd036,_0x5a7eae){const _0x293166=_0x11bde2;_0x5a7eae[_0x293166(0x77)]()?fs[_0x293166(0x7e)](_0x2d5e5b,function(_0x29b4e5){const _0x53eb7d=_0x293166;if(_0x29b4e5){console[_0x53eb7d(0x8d)](_0x29b4e5);return;}_0x141b4f[_0x53eb7d(0x8e)](_0x1c0922,_0x2d5e5b,_0x32323b);}):_0x141b4f[_0x293166(0x88)](_0x1c0922,_0x2d5e5b,_0x32323b);});}),_0x18f0b8[_0x530e6f(0x72)]===0x0&&_0x1b1830&&_0x1b1830();});},exports[a19_0x370183(0x88)]=(_0x152b54,_0x5e6a16,_0x39434e)=>{const _0x308d45=a19_0x370183,_0x352f8e=fs[_0x308d45(0x7c)](_0x152b54);_0x352f8e['on'](_0x308d45(0x76),function(_0x57c038){const _0x163e3e=_0x308d45;_0x57c038&&console[_0x163e3e(0x8d)]('read\x20error',_0x152b54),_0x39434e&&_0x39434e(_0x57c038);});const _0x451f66=fs[_0x308d45(0x93)](_0x5e6a16);_0x451f66['on'](_0x308d45(0x76),function(_0x515ced){const _0xff1fde=_0x308d45;_0x515ced&&console[_0xff1fde(0x8d)](_0xff1fde(0x84),_0x5e6a16),_0x39434e&&_0x39434e(_0x515ced);}),_0x451f66['on']('close',function(_0x4091fe){_0x39434e&&_0x39434e(_0x4091fe);}),_0x352f8e[_0x308d45(0x75)](_0x451f66);},exports[a19_0x370183(0x7f)]=(_0x2046ca,_0x56d561)=>{const _0x2a60db=this,_0x44f899=fs['readdirSync'](_0x2046ca);_0x44f899['forEach'](_0x35ba32=>{const _0x528f3d=a19_0x5611,_0x2b7d68=_0x2046ca+'/'+_0x35ba32,_0x135362=fs[_0x528f3d(0x90)](_0x2b7d68);_0x135362[_0x528f3d(0x77)]()?_0x2a60db['DeepScanner'](_0x2b7d68,_0x56d561):_0x56d561[_0x528f3d(0x85)](_0x2b7d68);});},exports[a19_0x370183(0x73)]=(_0x19a4e9,_0x3250e7)=>{return new Promise(_0x4b3dd0=>{const _0x540456=a19_0x5611,_0x5a22ad=[];_0x3250e7[_0x540456(0x7b)]((_0x1c43af,_0x14f84d)=>{const _0x4f5794=_0x540456,_0x45db9e=_0x19a4e9+'/'+_0x5a22ad[_0x4f5794(0x89)]('/')+'/'+_0x1c43af;try{const _0x349dfa=fs[_0x4f5794(0x90)](_0x45db9e);_0x349dfa[_0x4f5794(0x77)]()?_0x14f84d===_0x3250e7[_0x4f5794(0x72)]-0x1&&_0x4b3dd0():(fs[_0x4f5794(0x8a)](_0x45db9e),_0x14f84d===_0x3250e7[_0x4f5794(0x72)]-0x1&&_0x4b3dd0());}catch(_0x3e6853){fs[_0x4f5794(0x8a)](_0x45db9e),_0x14f84d===_0x3250e7['length']-0x1&&_0x4b3dd0();}_0x5a22ad[_0x4f5794(0x85)](_0x1c43af);});});};