jjb-cmd 2.1.7 → 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,10 @@
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>
4
8
  <li>
5
9
  <p>2.1.7</p>
6
10
  <div>增加auth登录授权</div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jjb-cmd",
3
3
  "use": "no",
4
- "version": "2.1.7",
4
+ "version": "2.1.8",
5
5
  "description": "jjb脚手架工具",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -1 +1 @@
1
- const a0_0x558ec8=a0_0xf20a;(function(_0x1a082f,_0x194a63){const _0x47caa6=a0_0xf20a,_0x3bb69d=_0x1a082f();while(!![]){try{const _0x42721a=parseInt(_0x47caa6(0x1c6))/0x1*(-parseInt(_0x47caa6(0x1bb))/0x2)+parseInt(_0x47caa6(0x1c2))/0x3+parseInt(_0x47caa6(0x1ca))/0x4*(-parseInt(_0x47caa6(0x1c8))/0x5)+parseInt(_0x47caa6(0x1bc))/0x6*(-parseInt(_0x47caa6(0x1b3))/0x7)+-parseInt(_0x47caa6(0x1b2))/0x8*(-parseInt(_0x47caa6(0x1b7))/0x9)+parseInt(_0x47caa6(0x1c7))/0xa+-parseInt(_0x47caa6(0x1ba))/0xb*(-parseInt(_0x47caa6(0x1c4))/0xc);if(_0x42721a===_0x194a63)break;else _0x3bb69d['push'](_0x3bb69d['shift']());}catch(_0x32a231){_0x3bb69d['push'](_0x3bb69d['shift']());}}}(a0_0x5849,0x27eaa));function a0_0x5849(){const _0x2cc566=['post','unlinkSync','22gZeNET','66zQnDYw','54Ixngsl','axios','exports','Auth\x20Success!','then','/api/auth','797820ZcsgVH','path','1015260cUqGgm','join','9683vjYnnb','2343730cffAtb','19525oIfugh','../cmd.install/config','172ZicOlH','catch','../../../.auth','16CccqPS','177639tjVRwJ','data','writeFileSync','log','944199VbKQRX'];a0_0x5849=function(){return _0x2cc566;};return a0_0x5849();}const axios=require(a0_0x558ec8(0x1bd)),fs=require('fs'),path=require(a0_0x558ec8(0x1c3)),{API_HOST}=require(a0_0x558ec8(0x1c9));function a0_0xf20a(_0x4220ea,_0x2843dc){const _0x5849a8=a0_0x5849();return a0_0xf20a=function(_0xf20a6a,_0xaa9527){_0xf20a6a=_0xf20a6a-0x1b1;let _0x5bec15=_0x5849a8[_0xf20a6a];return _0x5bec15;},a0_0xf20a(_0x4220ea,_0x2843dc);}module[a0_0x558ec8(0x1be)]=_0x14c452=>{const _0x3769de=a0_0x558ec8;console[_0x3769de(0x1b6)](_0x14c452);const [_0x16f96a,_0x1186be]=_0x14c452;axios[_0x3769de(0x1b8)](API_HOST+_0x3769de(0x1c1),{'username':_0x16f96a,'password':_0x1186be})[_0x3769de(0x1c0)](_0x104ba0=>{const _0x3aca95=_0x3769de,_0x2224f1=path[_0x3aca95(0x1c5)](__dirname,_0x3aca95(0x1b1));_0x104ba0[_0x3aca95(0x1b4)]['status']?(console[_0x3aca95(0x1b6)](_0x3aca95(0x1bf)),fs[_0x3aca95(0x1b5)](_0x2224f1,_0x16f96a+'/'+_0x1186be)):(console['log']('Auth\x20Fail!'),fs['existsSync'](_0x2224f1)&&fs[_0x3aca95(0x1b9)](_0x2224f1));})[_0x3769de(0x1cb)](_0x48f745=>{console['log']('Auth\x20NetWork\x20Fail!');});};
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
- const a1_0xb29ad8=a1_0x5481;(function(_0x32944,_0x1811db){const _0x5cd58d=a1_0x5481,_0x1cc58e=_0x32944();while(!![]){try{const _0x5430b4=-parseInt(_0x5cd58d(0x1c1))/0x1*(-parseInt(_0x5cd58d(0x1d0))/0x2)+parseInt(_0x5cd58d(0x1c8))/0x3+parseInt(_0x5cd58d(0x1d3))/0x4*(-parseInt(_0x5cd58d(0x1bc))/0x5)+parseInt(_0x5cd58d(0x1b5))/0x6*(parseInt(_0x5cd58d(0x1af))/0x7)+-parseInt(_0x5cd58d(0x1ca))/0x8*(-parseInt(_0x5cd58d(0x1ac))/0x9)+parseInt(_0x5cd58d(0x1cb))/0xa*(parseInt(_0x5cd58d(0x1b1))/0xb)+-parseInt(_0x5cd58d(0x1b2))/0xc;if(_0x5430b4===_0x1811db)break;else _0x1cc58e['push'](_0x1cc58e['shift']());}catch(_0x4c3d53){_0x1cc58e['push'](_0x1cc58e['shift']());}}}(a1_0x8fcb,0xbd86e));const path=require(a1_0xb29ad8(0x1c9)),{f_file_copy}=require(a1_0xb29ad8(0x1c6)),{CLOUD_PROJECT,GIT_TEMP_DIR,GIT_HOST}=require(a1_0xb29ad8(0x1b4)),fs=require('fs'),os=require('os'),utils=require(a1_0xb29ad8(0x1c2)),request=require(a1_0xb29ad8(0x1c5)),compressing=require(a1_0xb29ad8(0x1cc));function a1_0x5481(_0xc25000,_0x107555){const _0x8fcb8=a1_0x8fcb();return a1_0x5481=function(_0x54811f,_0x2a33b2){_0x54811f=_0x54811f-0x1ac;let _0x217a4f=_0x8fcb8[_0x54811f];return _0x217a4f;},a1_0x5481(_0xc25000,_0x107555);}function a1_0x8fcb(){const _0x4a8145=['readdirSync','request','../cmd.install/tools','.zip','1764381KwMVzl','path','45856EimzLD','500ODuPqT','compressing','then','/repository/archive.zip?private_token=','close','6AMnvpE','projectId','log','94008rWodTX','1161DcDchK','CopyFolder','exports','14XSaeHM','resolve','290488hMcegb','27836400UiwTTI','-master-','../cmd.install/config','3612312ZfZVid','forEach','不存在。','createWriteStream','indexOf','DeleteDirAllFile','uncompress','275vJeLSq','&ref=master','mkdirSync','token','初始化完成!','178851ggiwZF','../../old/util','tmpdir'];a1_0x8fcb=function(){return _0x4a8145;};return a1_0x8fcb();}module[a1_0xb29ad8(0x1ae)]=_0x31e37f=>{const _0x31a58b=a1_0xb29ad8,_0x5ba023=path[_0x31a58b(0x1b0)]('./'),_0x871b7f=CLOUD_PROJECT[_0x31e37f]||undefined;if(_0x871b7f){const _0x270730=os[_0x31a58b(0x1c3)](),_0x4e2111=_0x270730+'/'+GIT_TEMP_DIR+'/'+_0x31e37f+_0x31a58b(0x1c7),_0x343081=_0x270730+'/'+GIT_TEMP_DIR+'/unzip/';utils[_0x31a58b(0x1ba)](_0x270730+'/'+GIT_TEMP_DIR,()=>{const _0x40cd37=_0x31a58b;fs[_0x40cd37(0x1be)](_0x270730+'/'+GIT_TEMP_DIR);let _0x56e146=fs[_0x40cd37(0x1b8)](_0x4e2111);request(GIT_HOST+'/api/v4/projects/'+_0x871b7f[_0x40cd37(0x1d1)]+_0x40cd37(0x1ce)+_0x871b7f[_0x40cd37(0x1bf)]+_0x40cd37(0x1bd))['pipe'](_0x56e146)['on'](_0x40cd37(0x1cf),()=>{const _0x73336d=_0x40cd37;fs[_0x73336d(0x1be)](_0x343081),compressing['zip'][_0x73336d(0x1bb)](_0x4e2111,_0x343081)[_0x73336d(0x1cd)](()=>{setTimeout(()=>{const _0x4f5210=a1_0x5481;fs[_0x4f5210(0x1c4)](_0x343081)[_0x4f5210(0x1b6)](_0x9872be=>{const _0x47c474=_0x4f5210;_0x9872be[_0x47c474(0x1b9)](_0x47c474(0x1b3))!==-0x1&&utils[_0x47c474(0x1ad)](_0x343081+_0x9872be,_0x5ba023,()=>{const _0x3ea0b1=_0x47c474;console['log'](_0x3ea0b1(0x1c0)),process['exit'](0x0);});});},0x7d0);});});});}else console[_0x31a58b(0x1d2)]('【Error】:初始化失败,'+_0x31e37f+_0x31a58b(0x1b7));};
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
- const a2_0x4092f4=a2_0x337d;(function(_0x32f8d6,_0x5cd607){const _0x489d6d=a2_0x337d,_0x4674c7=_0x32f8d6();while(!![]){try{const _0x464fba=parseInt(_0x489d6d(0x18e))/0x1*(parseInt(_0x489d6d(0x188))/0x2)+-parseInt(_0x489d6d(0x183))/0x3*(parseInt(_0x489d6d(0x190))/0x4)+parseInt(_0x489d6d(0x17c))/0x5+parseInt(_0x489d6d(0x179))/0x6+parseInt(_0x489d6d(0x177))/0x7*(parseInt(_0x489d6d(0x187))/0x8)+-parseInt(_0x489d6d(0x184))/0x9*(parseInt(_0x489d6d(0x192))/0xa)+-parseInt(_0x489d6d(0x182))/0xb*(-parseInt(_0x489d6d(0x191))/0xc);if(_0x464fba===_0x5cd607)break;else _0x4674c7['push'](_0x4674c7['shift']());}catch(_0x131abb){_0x4674c7['push'](_0x4674c7['shift']());}}}(a2_0x3359,0xd4ff8));function a2_0x337d(_0x412563,_0x27546c){const _0x3359d6=a2_0x3359();return a2_0x337d=function(_0x337df5,_0x50877f){_0x337df5=_0x337df5-0x173;let _0x4eacd6=_0x3359d6[_0x337df5];return _0x4eacd6;},a2_0x337d(_0x412563,_0x27546c);}const os=require('os');function a2_0x3359(){const _0x488627=['10CYCIGJ','snBxJ2i5kYarGGcsojhY','G4HJRsHr9D7Ssmixegw2','gPSit8aJsLVmNzuQ5Cy4','GIT_JAVA_ENV_JSON','CLOUD_PROJECT','35RlvJTB','FqNrmFAgrxasMrbbjvq9','928728THRMhv','d4wQ7dzEjYPsgVbKnYei','GIT_TEMP_DIR','995920dBgmGE','now','GIT_HOST','jjb-assembly-java','http://192.168.1.242:10985','test','70268oQCPEM','70431TiJLlt','8001459InmWBq','GIT_TEMP_JAVA','prod','119976RLnzna','166514trqVrk','http://120.26.210.58:8088','jjb-assembly-','tmpdir','ywPtT3xCG6b_vAxp6sTj','dev','1EAPqAq','7V-YUxhmh51Mdhgx4rq4','204xwKdzX','4596JCvrKZ'];a2_0x3359=function(){return _0x488627;};return a2_0x3359();}exports['API_HOST']=a2_0x4092f4(0x189),exports[a2_0x4092f4(0x17e)]=a2_0x4092f4(0x180),exports['GIT_TEMP_DIR']=a2_0x4092f4(0x18a)+Date[a2_0x4092f4(0x17d)](),exports[a2_0x4092f4(0x185)]=a2_0x4092f4(0x17f),exports[a2_0x4092f4(0x175)]={'development':a2_0x4092f4(0x18d),'production':a2_0x4092f4(0x186),'test':a2_0x4092f4(0x181)},exports[a2_0x4092f4(0x176)]={'common':{'token':a2_0x4092f4(0x173),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':'hLqARY89CN6fUD3yg4NL','projectId':0x23b},'jjb-common-lib':{'token':'e9njpBd1nS_LREN8GFpR','projectId':0x23c},'jjb-common-decorator':{'token':a2_0x4092f4(0x174),'projectId':0x23e},'vue-unisass-component':{'token':a2_0x4092f4(0x17a),'projectId':0x153},'react-component':{'token':a2_0x4092f4(0x193),'projectId':0x33f},'micro-app-ts':{'token':a2_0x4092f4(0x18f),'projectId':0x33e},'micro-app':{'token':a2_0x4092f4(0x178),'projectId':0x33d},'lib':{'token':a2_0x4092f4(0x18c),'projectId':0x33c}},exports['TEMPLATE_FOLDER']=os[a2_0x4092f4(0x18b)]()+'\x5c'+exports[a2_0x4092f4(0x17b)];
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 a3_0x309620=a3_0x3909;(function(_0x5e5ce2,_0x32edca){const _0x43d441=a3_0x3909,_0x56ee56=_0x5e5ce2();while(!![]){try{const _0xaf2221=parseInt(_0x43d441(0xbc))/0x1*(parseInt(_0x43d441(0xaa))/0x2)+parseInt(_0x43d441(0xa2))/0x3*(parseInt(_0x43d441(0xb3))/0x4)+-parseInt(_0x43d441(0xa4))/0x5+parseInt(_0x43d441(0xb7))/0x6+parseInt(_0x43d441(0xc6))/0x7+-parseInt(_0x43d441(0xc8))/0x8*(-parseInt(_0x43d441(0xd1))/0x9)+-parseInt(_0x43d441(0xbe))/0xa;if(_0xaf2221===_0x32edca)break;else _0x56ee56['push'](_0x56ee56['shift']());}catch(_0x270f32){_0x56ee56['push'](_0x56ee56['shift']());}}}(a3_0x3b04,0x6d46c));function a3_0x3909(_0x4d6d3f,_0x3d3a89){const _0x3b04c3=a3_0x3b04();return a3_0x3909=function(_0x3909a1,_0x5485a0){_0x3909a1=_0x3909a1-0x9d;let _0x5b2cc4=_0x3b04c3[_0x3909a1];return _0x5b2cc4;},a3_0x3909(_0x4d6d3f,_0x3d3a89);}function a3_0x3b04(){const _0x5e5da5=['pipe','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','pure_name','3282902woHMZw','find','3790936ryZQSD','.gitignore','join','\x5ctypes','importList','log','1.0.0','forEach','zip','9GslDHg','exit','【Error】:安装失败,node_modules目录不存在。','createWriteStream','now','jjb-common-lib','path','3acJbRC','request','757450oSisJE','mkdirSync','installTarget','name','replace','./tools','124242TwFvOG','src','rmdirSync','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','./config','node_modules','includes','readdirSync','_zip','3417980QYpGvk','close','length','【Error】:安装失败,src目录不存在。','2743008OjeqDU','src\x5c','installResources','package.json','push','5rTjzXl','map','19660350bXwLmS','.idea','compress','filter','existsSync'];a3_0x3b04=function(){return _0x5e5da5;};return a3_0x3b04();}const fs=require('fs'),path=require(a3_0x309620(0xa1)),request=require(a3_0x309620(0xa3)),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(a3_0x309620(0xa9)),{TEMPLATE_FOLDER}=require(a3_0x309620(0xae)),start_time=Date[a3_0x309620(0x9f)]();module['exports']=()=>{const _0x213f09=a3_0x309620,_0x43e8a6=path['resolve']('./'),_0x1389d6=[_0x43e8a6,_0x213f09(0xb8)][_0x213f09(0xca)]('\x5c'),_0x21d4d7=[_0x43e8a6,_0x213f09(0xaf)][_0x213f09(0xca)]('\x5c'),_0x5cc030=[_0x43e8a6,_0x213f09(0xba)][_0x213f09(0xca)]('\x5c');if(f_scan_jjb_config_json(_0x43e8a6)){const _0x35a8a4=f_scan_jjb_config_json_rules(_0x43e8a6);_0x35a8a4[_0x213f09(0xa6)]==='node_modules'?!fs[_0x213f09(0xc2)](_0x21d4d7)?(console[_0x213f09(0xcd)](_0x213f09(0x9d)),process['exit'](0x0)):console['log'](_0x213f09(0xc4)):!fs[_0x213f09(0xc2)](_0x1389d6)&&(console['log'](_0x213f09(0xb6)),process[_0x213f09(0xd2)](0x0));fs[_0x213f09(0xa5)](TEMPLATE_FOLDER),f_pull_git_repository(_0x35a8a4[_0x213f09(0xb9)])[_0x213f09(0xbd)](_0x498c4c=>{const _0x4c22a5=_0x213f09,_0x125f3f=fs[_0x4c22a5(0x9e)](_0x498c4c['path']);request(_0x498c4c['repository'])[_0x4c22a5(0xc3)](_0x125f3f)['on'](_0x4c22a5(0xb4),()=>{const _0x209533=_0x4c22a5;fs['mkdirSync'](_0x498c4c['compress']),compressing[_0x209533(0xd0)]['uncompress'](_0x498c4c[_0x209533(0xa1)],_0x498c4c[_0x209533(0xc0)]);});});const _0x6da049=setInterval(()=>{const _0x546a56=_0x213f09,_0x4707a0=fs[_0x546a56(0xb1)](TEMPLATE_FOLDER),_0x1030d2=_0x4707a0[_0x546a56(0xc1)](_0x281db1=>_0x35a8a4[_0x546a56(0xb9)][_0x546a56(0xbd)](_0x5c3764=>_0x5c3764[_0x546a56(0xa7)]+_0x546a56(0xb2))[_0x546a56(0xb0)](_0x281db1));if(_0x1030d2[_0x546a56(0xb5)]===_0x35a8a4[_0x546a56(0xb9)]['length']){clearInterval(_0x6da049);const _0x144fce=[];_0x1030d2[_0x546a56(0xcf)](_0x2c7f1c=>{const _0x39de94=_0x546a56,_0x312557=[TEMPLATE_FOLDER,_0x2c7f1c][_0x39de94(0xca)]('\x5c');fs['readdirSync'](_0x312557)[_0x39de94(0xcf)](_0x169c65=>_0x144fce[_0x39de94(0xbb)]({'name':_0x2c7f1c,'path':[_0x312557,_0x169c65][_0x39de94(0xca)]('\x5c'),'pure_name':_0x2c7f1c[_0x39de94(0xa8)](/_zip$/,''),'import_list':_0x35a8a4[_0x39de94(0xb9)][_0x39de94(0xc7)](_0x2b1919=>_0x2b1919[_0x39de94(0xa7)]+_0x39de94(0xb2)===_0x2c7f1c)[_0x39de94(0xcc)]}));}),_0x144fce[_0x546a56(0xcf)](_0x202273=>{const _0x4ad935=_0x546a56,_0x1c148f=_0x202273[_0x4ad935(0xc5)],_0x416bea=_0x202273['import_list'],_0x89db2=[_0x202273[_0x4ad935(0xa1)],_0x4ad935(0xbf)][_0x4ad935(0xca)]('//'),_0x12043c=[_0x202273['path'],_0x4ad935(0xc9)][_0x4ad935(0xca)]('//');fs[_0x4ad935(0xc2)](_0x89db2)&&(f_rm_rf(_0x89db2),fs[_0x4ad935(0xac)](_0x89db2));fs[_0x4ad935(0xc2)](_0x12043c)&&fs['unlinkSync'](_0x12043c);_0x416bea['length']&&fs['readdirSync'](_0x202273[_0x4ad935(0xa1)])[_0x4ad935(0xc1)](_0x3ab720=>!_0x416bea[_0x4ad935(0xb0)](_0x3ab720)&&_0x3ab720!=='index.js'&&_0x3ab720!=='setting.json')['forEach'](_0x543eba=>{const _0x1eb627=_0x4ad935,_0x29a8bd=_0x202273[_0x1eb627(0xa1)]+'\x5c'+_0x543eba;f_rm_rf(_0x29a8bd),fs[_0x1eb627(0xac)](_0x29a8bd);});if(_0x35a8a4[_0x4ad935(0xa6)]===_0x4ad935(0xaf)){const _0x32ac3f=_0x1c148f;fs[_0x4ad935(0xc2)](_0x21d4d7+'\x5c'+_0x32ac3f)?f_rm_rf(_0x21d4d7+'\x5c'+_0x32ac3f):fs['mkdirSync'](_0x21d4d7+'\x5c'+_0x32ac3f),_0x32ac3f!==_0x4ad935(0xa0)?(f_file_copy(_0x202273[_0x4ad935(0xa1)],_0x21d4d7+'\x5c'+_0x32ac3f),f_create_package_json(_0x21d4d7+'\x5c'+_0x32ac3f,_0x32ac3f,_0x4ad935(0xce))):f_file_copy(_0x202273['path']+_0x4ad935(0xcb),_0x21d4d7+'\x5c'+_0x32ac3f),f_update_project_package_json(_0x5cc030,_0x32ac3f,'1.0.0');}else _0x35a8a4[_0x4ad935(0xa6)]===_0x4ad935(0xab)&&(fs['existsSync'](_0x1389d6+_0x1c148f)?f_rm_rf(_0x1389d6+_0x1c148f):fs[_0x4ad935(0xa5)](_0x1389d6+_0x1c148f),f_file_copy(_0x202273[_0x4ad935(0xa1)],_0x1389d6+_0x1c148f));}),setTimeout(()=>{const _0x1dc4fd=_0x546a56;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x11730b=Date[_0x1dc4fd(0x9f)]();console[_0x1dc4fd(0xcd)]('【jjb-cmd】:install命令执行完成,用时'+(_0x11730b-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x213f09(0xcd)](_0x213f09(0xad));};
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 a4_0x38b6c8=a4_0x5963;(function(_0x107422,_0x11d0cb){const _0x1f4da5=a4_0x5963,_0xb51fcb=_0x107422();while(!![]){try{const _0x3b2d05=-parseInt(_0x1f4da5(0xc4))/0x1*(parseInt(_0x1f4da5(0xd5))/0x2)+-parseInt(_0x1f4da5(0xf1))/0x3+parseInt(_0x1f4da5(0xe2))/0x4*(parseInt(_0x1f4da5(0xf0))/0x5)+-parseInt(_0x1f4da5(0xe0))/0x6+parseInt(_0x1f4da5(0xbc))/0x7*(-parseInt(_0x1f4da5(0xbf))/0x8)+-parseInt(_0x1f4da5(0xb9))/0x9+parseInt(_0x1f4da5(0xc5))/0xa;if(_0x3b2d05===_0x11d0cb)break;else _0xb51fcb['push'](_0xb51fcb['shift']());}catch(_0x27d6c3){_0xb51fcb['push'](_0xb51fcb['shift']());}}}(a4_0x41f5,0x22136));function a4_0x41f5(){const _0x20eefc=['\x5cpackage.json','\x22,\x22main\x22:\x20\x22index.js\x22}','writeFileSync','readdirSync','includes','forEach','exit','jjb-dva-runtime','name','2462715XAJyQa','projectId','readFileSync','1967pvaNYm','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','path','3544kiRYIs','filter','【Error】:[jjb.config.json.projectType]类型是一个string。','mkdirSync','push','963BGhClu','8782920JCDoNZ','f_file_copy','toString','\x22,\x22version\x22:\x22','replace','【Error】:[jjb.config.json]文件配置无效,需要projectType属性。','length','&ref=master','jjb-common','projectType','installResources','/api/v4/projects/','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','isDirectory','/repository/archive.zip?private_token=','parse','390MwgbiD','react-admin-component','{\x22name\x22:\x22','spa','string','vue-unisass-component','installTarget','\x5cjjb.config.json','token','isArray','【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>。','1277640VflVzW','node_modules','22248GYCQIZ','jjb-common-decorator','dependencies','f_content_replace','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','f_resolve_install_resources','jjb-common-lib','【Error】:[jjb.config.json.installTarget]类型是一个string。','unlinkSync','f_scan_jjb_config_json','log','.zip','f_rm_rf','existsSync','115gOvMGq','203403lHBicP','statSync'];a4_0x41f5=function(){return _0x20eefc;};return a4_0x41f5();}function a4_0x5963(_0x411ba8,_0x308716){const _0x41f577=a4_0x41f5();return a4_0x5963=function(_0x5963cb,_0x3c5ef8){_0x5963cb=_0x5963cb-0xb2;let _0x464fb2=_0x41f577[_0x5963cb];return _0x464fb2;},a4_0x5963(_0x411ba8,_0x308716);}const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require('./config');exports[a4_0x38b6c8(0xee)]=function(_0x4001e8){const _0x36fc95=a4_0x38b6c8;if(fs['existsSync'](_0x4001e8)){const _0x2fec87=fs['readdirSync'](_0x4001e8);for(let _0x235a1f=0x0;_0x235a1f<_0x2fec87[_0x36fc95(0xcb)];_0x235a1f++){const _0x4adfd8=_0x2fec87[_0x235a1f],_0x52d474=_0x4001e8+'/'+_0x4adfd8;fs[_0x36fc95(0xf2)](_0x52d474)[_0x36fc95(0xd2)]()?(exports[_0x36fc95(0xee)](_0x52d474),fs['rmdirSync'](_0x52d474)):fs[_0x36fc95(0xea)](_0x52d474);}}},exports['f_pull_git_repository']=function(_0x46a23b=[]){return _0x46a23b['map'](_0x300f97=>{const _0x841888=a4_0x5963,_0x2b8c61=CLOUD_PROJECT[_0x300f97[_0x841888(0xb8)]]||undefined,_0x558d1f=os['tmpdir']();return{'path':_0x558d1f+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x300f97[_0x841888(0xb8)]+_0x841888(0xed),'compress':_0x558d1f+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x300f97['name']+'_zip','repository':GIT_HOST+_0x841888(0xd0)+_0x2b8c61[_0x841888(0xba)]+_0x841888(0xd3)+_0x2b8c61[_0x841888(0xdd)]+_0x841888(0xcc)};});},exports[a4_0x38b6c8(0xeb)]=function(_0x47943a){const _0x314dc4=a4_0x38b6c8;return fs['existsSync'](_0x47943a+_0x314dc4(0xdc));},exports['f_scan_jjb_config_json_rules']=function(_0x15eed3){const _0x5860af=a4_0x38b6c8;let _0x509415={};try{_0x509415=JSON[_0x5860af(0xd4)](fs[_0x5860af(0xbb)](_0x15eed3+'\x5cjjb.config.json')[_0x5860af(0xc7)]());}catch(_0x30b704){console[_0x5860af(0xec)]('【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。'),process[_0x5860af(0xb6)](0x0);}!(_0x5860af(0xce)in _0x509415)&&(console[_0x5860af(0xec)](_0x5860af(0xca)),process[_0x5860af(0xb6)](0x0));!(_0x5860af(0xdb)in _0x509415)&&(console[_0x5860af(0xec)](_0x5860af(0xd1)),process['exit'](0x0));!(_0x5860af(0xcf)in _0x509415)&&(console[_0x5860af(0xec)]('【Error】:[jjb.config.json]文件配置无效,需要installResources属性。'),process[_0x5860af(0xb6)](0x0));typeof _0x509415[_0x5860af(0xce)]!=='string'&&(console[_0x5860af(0xec)](_0x5860af(0xc1)),process[_0x5860af(0xb6)](0x0));!['multi',_0x5860af(0xd8),'uniapp','micro-spa'][_0x5860af(0xb4)](_0x509415['projectType'])&&(console['log'](_0x5860af(0xe6)),process[_0x5860af(0xb6)](0x0));typeof _0x509415[_0x5860af(0xdb)]!==_0x5860af(0xd9)&&(console[_0x5860af(0xec)](_0x5860af(0xe9)),process[_0x5860af(0xb6)](0x0));![_0x5860af(0xe1),'src']['includes'](_0x509415[_0x5860af(0xdb)])&&(console[_0x5860af(0xec)](_0x5860af(0xbd)),process[_0x5860af(0xb6)](0x0));!Array[_0x5860af(0xde)](_0x509415[_0x5860af(0xcf)])&&(console[_0x5860af(0xec)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process['exit'](0x0));_0x509415[_0x5860af(0xcf)]['length']===0x0&&(console['log']('【Error】:[jjb.config.json.installResources]无资源。'),process[_0x5860af(0xb6)](0x0));const _0x11f29e=exports[_0x5860af(0xe7)](_0x509415[_0x5860af(0xcf)]);return _0x11f29e['map'](_0x2a803b=>_0x2a803b[_0x5860af(0xb8)])[_0x5860af(0xc0)](_0x518ecb=>![_0x5860af(0xcd),_0x5860af(0xb7),_0x5860af(0xe8),_0x5860af(0xe3),_0x5860af(0xd6),_0x5860af(0xda)][_0x5860af(0xb4)](_0x518ecb))['length']!==0x0&&(console[_0x5860af(0xec)](_0x5860af(0xdf)),process[_0x5860af(0xb6)](0x0)),_0x509415[_0x5860af(0xcf)]=_0x11f29e,_0x509415;},exports['f_create_package_json']=function(_0x261b94,_0x306a3a,_0x14ba1a){const _0x590aaf=a4_0x38b6c8;fs[_0x590aaf(0xb2)](_0x261b94+_0x590aaf(0xf3),_0x590aaf(0xd7)+_0x306a3a+_0x590aaf(0xc8)+_0x14ba1a+_0x590aaf(0xf4));},exports['f_resolve_install_resources']=function(_0x10f0dd=[]){const _0x2a6b07=a4_0x38b6c8,_0x19f450=[];return Array[_0x2a6b07(0xde)](_0x10f0dd)&&_0x10f0dd['forEach'](_0x27f0f8=>{const _0x5e5f7b=_0x2a6b07;if(Array[_0x5e5f7b(0xde)](_0x27f0f8)){const [_0x4e039c,_0x55ab21=[]]=_0x27f0f8;_0x19f450[_0x5e5f7b(0xc3)]({'name':_0x4e039c,'importList':_0x55ab21});}else _0x19f450[_0x5e5f7b(0xc3)]({'name':_0x27f0f8,'importList':[]});}),_0x19f450;},exports['f_update_project_package_json']=function(_0x46a4d0,_0x2e7795,_0xabb9fe){const _0x508914=a4_0x38b6c8,_0x385b1b=JSON[_0x508914(0xd4)](fs[_0x508914(0xbb)](_0x46a4d0)['toString']());_0x385b1b[_0x508914(0xe4)][_0x2e7795]=_0xabb9fe,fs[_0x508914(0xb2)](_0x46a4d0,JSON['stringify'](_0x385b1b,null,0x2));},exports[a4_0x38b6c8(0xc6)]=function(_0x4a57ac,_0x5ea72a){const _0x5b9757=a4_0x38b6c8;fs[_0x5b9757(0xb3)](_0x4a57ac)[_0x5b9757(0xb5)](_0x3d0b1c=>{const _0x191755=_0x5b9757,_0x2461ed=_0x4a57ac+'\x5c'+_0x3d0b1c,_0x49d072=_0x5ea72a+'\x5c'+_0x3d0b1c;fs[_0x191755(0xf2)](_0x2461ed)['isDirectory']()?(fs[_0x191755(0xc2)](_0x49d072),exports['f_file_copy'](_0x2461ed,_0x49d072)):fs[_0x191755(0xb2)](_0x49d072,fs[_0x191755(0xbb)](_0x2461ed)[_0x191755(0xc7)]());});},exports[a4_0x38b6c8(0xe5)]=function(_0x3162e7=[],_0x469b0b){_0x3162e7['forEach'](_0x4ec5d8=>{const _0x28091e=a4_0x5963,_0x5dbf17=_0x469b0b+_0x4ec5d8[_0x28091e(0xbe)];if(fs[_0x28091e(0xef)](_0x5dbf17)){let _0x21bf87=fs[_0x28091e(0xbb)](_0x5dbf17)[_0x28091e(0xc7)]();_0x4ec5d8[_0x28091e(0xc9)][_0x28091e(0xb5)](_0x3fcaa1=>{const _0x1a724f=_0x28091e;_0x21bf87=_0x21bf87[_0x1a724f(0xc9)](_0x3fcaa1[0x0],_0x3fcaa1[0x1]);}),fs[_0x28091e(0xb2)](_0x5dbf17,_0x21bf87);}});};
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
- function a5_0x2c3a(){const _0x35bc1a=['14270PtYJQY','13288zTjYWH','status','发布失败!根目录缺少‘package.json’文件,无法完成发布。','2502XVdTDi','77lLRGrX','catch','705895iJGNIb','data','log','/api/file/push','4PdMtoe','\x5cdist\x5cindex.js','readFileSync','exit','existsSync','message','axios','../cmd.install/config','发布失败!根目录缺少‘dist/index.js’文件,无法完成发布。','8620176sVQmpG','../../../.auth','platform','网络异常。','stringify','then','path','26IuDPPK','exports','44JqRLIo','push','325626tGJpWZ','228441tXKAOJ','6vwdAFH','\x5cpackage.json','Auth\x20Fail!','toString','parse','/api/auth','616169TfyoLL','arch','join'];a5_0x2c3a=function(){return _0x35bc1a;};return a5_0x2c3a();}const a5_0x58d2b9=a5_0x33f7;(function(_0xbe967f,_0x12bb7b){const _0x310572=a5_0x33f7,_0x5bf51d=_0xbe967f();while(!![]){try{const _0x41066b=-parseInt(_0x310572(0xe5))/0x1+-parseInt(_0x310572(0xdf))/0x2*(parseInt(_0x310572(0xde))/0x3)+-parseInt(_0x310572(0xc9))/0x4*(parseInt(_0x310572(0xc5))/0x5)+parseInt(_0x310572(0xdd))/0x6*(parseInt(_0x310572(0xc3))/0x7)+-parseInt(_0x310572(0xbf))/0x8*(parseInt(_0x310572(0xc2))/0x9)+-parseInt(_0x310572(0xbe))/0xa*(parseInt(_0x310572(0xdb))/0xb)+parseInt(_0x310572(0xd2))/0xc*(parseInt(_0x310572(0xd9))/0xd);if(_0x41066b===_0x12bb7b)break;else _0x5bf51d['push'](_0x5bf51d['shift']());}catch(_0x1b842b){_0x5bf51d['push'](_0x5bf51d['shift']());}}}(a5_0x2c3a,0x8db46));function a5_0x33f7(_0x3c2836,_0x5177e8){const _0x2c3a6b=a5_0x2c3a();return a5_0x33f7=function(_0x33f71a,_0x38a74c){_0x33f71a=_0x33f71a-0xbc;let _0x5b9895=_0x2c3a6b[_0x33f71a];return _0x5b9895;},a5_0x33f7(_0x3c2836,_0x5177e8);}const path=require(a5_0x58d2b9(0xd8)),fs=require('fs'),os=require('os'),axios=require(a5_0x58d2b9(0xcf)),{API_HOST}=require(a5_0x58d2b9(0xd0));module[a5_0x58d2b9(0xda)]=_0xd488a6=>{const _0x50e0e8=a5_0x58d2b9,_0x44b94e=path['join'](__dirname,_0x50e0e8(0xd3));!fs[_0x50e0e8(0xcd)](_0x44b94e)&&(console[_0x50e0e8(0xc7)]('【Error】:no\x20auth\x20login'),process[_0x50e0e8(0xcc)](0x0));const [_0x5c83e0,_0x384909]=fs[_0x50e0e8(0xcb)](_0x44b94e)[_0x50e0e8(0xe2)]()['split']('/');console[_0x50e0e8(0xc7)](_0x5c83e0,_0x384909),axios['post'](API_HOST+_0x50e0e8(0xe4),{'username':_0x5c83e0,'password':_0x384909})['then'](_0x1054cc=>{const _0x29dea2=_0x50e0e8;if(_0x1054cc[_0x29dea2(0xc6)][_0x29dea2(0xc0)]){const _0x4ef3e3=path['resolve']('./'),_0x19caf8=_0x4ef3e3+_0x29dea2(0xca),_0x10c157=_0x4ef3e3+_0x29dea2(0xe0),_0x259720=[os['hostname'](),os[_0x29dea2(0xd4)](),os[_0x29dea2(0xbc)](),new Date()[_0x29dea2(0xe2)](),JSON['stringify'](os['networkInterfaces'](),null,'\x09')];if(fs[_0x29dea2(0xcd)](_0x10c157)){if(fs[_0x29dea2(0xcd)](_0x19caf8)){const _0x29fbad=JSON[_0x29dea2(0xe3)](fs[_0x29dea2(0xcb)](_0x10c157)[_0x29dea2(0xe2)]()),{name:_0x1ac6c7,version:_0x1c8e42}=_0x29fbad;_0x259720[_0x29dea2(0xdc)](JSON[_0x29dea2(0xd6)](_0x29fbad)),axios['post'](API_HOST+_0x29dea2(0xc8),{'log_text':_0x259720[_0x29dea2(0xbd)]('\x0a'),'package_name':_0x1ac6c7,'package_version':_0xd488a6?_0xd488a6:_0x1c8e42,'package_content':fs[_0x29dea2(0xcb)](_0x19caf8)[_0x29dea2(0xe2)]()})[_0x29dea2(0xd7)](_0x233f85=>{const _0x4c5087=_0x29dea2;console['log'](_0x233f85['data'][_0x4c5087(0xce)]),process[_0x4c5087(0xcc)](0x0);})[_0x29dea2(0xc4)](_0xdc206f=>{const _0x46d18e=_0x29dea2;console['log'](_0xdc206f),console[_0x46d18e(0xc7)](_0x46d18e(0xd5)),process[_0x46d18e(0xcc)](0x0);});}else console[_0x29dea2(0xc7)](_0x29dea2(0xd1)),process['exit'](0x0);}else console[_0x29dea2(0xc7)](_0x29dea2(0xc1)),process[_0x29dea2(0xcc)](0x0);}else console[_0x29dea2(0xc7)](_0x29dea2(0xe1));})[_0x50e0e8(0xc4)](_0x42fb7b=>{const _0x120e73=_0x50e0e8;console[_0x120e73(0xc7)]('Auth\x20NetWork\x20Fail!');});};
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 a6_0x1447(_0x55cedf,_0x4bb10a){const _0x1c1392=a6_0x1c13();return a6_0x1447=function(_0x1447ad,_0xa7b1cd){_0x1447ad=_0x1447ad-0x11b;let _0x4432aa=_0x1c1392[_0x1447ad];return _0x4432aa;},a6_0x1447(_0x55cedf,_0x4bb10a);}const a6_0xe2d20b=a6_0x1447;(function(_0x41d75e,_0x3e5b84){const _0xd09d68=a6_0x1447,_0x1cfae4=_0x41d75e();while(!![]){try{const _0x2b8b7a=parseInt(_0xd09d68(0x138))/0x1*(-parseInt(_0xd09d68(0x125))/0x2)+-parseInt(_0xd09d68(0x14a))/0x3+-parseInt(_0xd09d68(0x11d))/0x4+parseInt(_0xd09d68(0x131))/0x5*(-parseInt(_0xd09d68(0x120))/0x6)+-parseInt(_0xd09d68(0x144))/0x7*(parseInt(_0xd09d68(0x126))/0x8)+parseInt(_0xd09d68(0x13d))/0x9*(parseInt(_0xd09d68(0x11c))/0xa)+-parseInt(_0xd09d68(0x14e))/0xb*(-parseInt(_0xd09d68(0x12b))/0xc);if(_0x2b8b7a===_0x3e5b84)break;else _0x1cfae4['push'](_0x1cfae4['shift']());}catch(_0x4bed6a){_0x1cfae4['push'](_0x1cfae4['shift']());}}}(a6_0x1c13,0x65b8b));const fs=require('fs'),os=require('os'),path=require(a6_0xe2d20b(0x11f)),child_process=require(a6_0xe2d20b(0x147)),{CopyFolder,DeleteDirAllFile}=require('../../old/util'),{GIT_TEMP_JAVA,GIT_JAVA_ENV_JSON}=require(a6_0xe2d20b(0x129));function a6_0x1c13(){const _0x45b1dc=['git\x20commit\x20-m\x20','26095620YFYjMQ','git\x20add\x20.','yarn','【Error】:no\x20setting\x20git','parse','toString','2780320nHAuUI','Git\x20Commit\x20Done,git\x20push,please\x20wait...','yarn\x20build:','Git\x20Push\x20Done!','log','git\x20pull','\x5cdist','1DhrLIT','Project\x20build\x20Done,copy\x20project,please\x20wait...','Git\x20Add\x20Done,git\x20commit,please\x20wait...','yarn\x20install\x20Done!','【warning】:Git\x20Pull\x20Done,yarn\x20install\x20project,please\x20wait...','45jXlenp','exit',',please\x20wait...','Git\x20Pull\x20Done,yarn\x20build:','【Error】:no\x20auth\x20login','git','/src/main/resources/templates/','1329258NKYJXz','\x20--no-verify','git\x20push\x20-f','child_process','resolve','join','1673211KvpFQW','【Error】:no\x20setting\x20gitName','【Error】:参数传递错误','no\x20message','11FdQFfY','exports','318610YCYPvJ','1285308OoEiPq','git\x20clone\x20','path','6fqETNo','/node_modules','tmpdir','readFileSync','../../../.auth','584534MoEdHs','8sEDTEy','execSync','existsSync','../cmd.install/config'];a6_0x1c13=function(){return _0x45b1dc;};return a6_0x1c13();}module[a6_0xe2d20b(0x11b)]=arguments=>{const _0x3da99a=a6_0xe2d20b,_0x66b48=path[_0x3da99a(0x149)](__dirname,_0x3da99a(0x124));!fs[_0x3da99a(0x128)](_0x66b48)&&(console[_0x3da99a(0x135)](_0x3da99a(0x141)),process[_0x3da99a(0x13e)](0x0));arguments['length']<0x2&&(console[_0x3da99a(0x135)](_0x3da99a(0x14c)),process['exit'](0x0));const _0x361b1e=arguments[0x1],_0x19e10c=arguments[0x2]||_0x3da99a(0x14d),_0x2c4c72=path[_0x3da99a(0x148)]('./'),_0x57c5aa=_0x2c4c72+'\x5cjjb.config.json',_0x2b2de8=_0x2c4c72+_0x3da99a(0x137),_0x1bc80e=os[_0x3da99a(0x122)]();if(fs[_0x3da99a(0x128)](_0x57c5aa)){const _0x1dd1c3=JSON[_0x3da99a(0x12f)](fs[_0x3da99a(0x123)](_0x57c5aa)[_0x3da99a(0x130)]());if(_0x1dd1c3[_0x3da99a(0x142)]){const _0x12cbb1=_0x1bc80e+'/'+GIT_TEMP_JAVA;!fs[_0x3da99a(0x128)](_0x12cbb1)&&(fs['mkdirSync'](_0x12cbb1),child_process[_0x3da99a(0x127)](_0x3da99a(0x11e)+_0x1dd1c3[_0x3da99a(0x142)],{'cwd':_0x12cbb1})),_0x292798(_0x12cbb1,_0x1dd1c3);}else console[_0x3da99a(0x135)](_0x3da99a(0x12e));}function _0x292798(_0x3e153f,_0xbbe410){const _0x228629=_0x3da99a,_0x8a5f02=_0x3e153f+'/'+_0xbbe410['gitName'];!fs[_0x228629(0x128)](_0x8a5f02)&&(console[_0x228629(0x135)](_0x228629(0x14b)),process['exit'](0x0));child_process[_0x228629(0x127)](_0x228629(0x136),{'cwd':_0x8a5f02});!fs[_0x228629(0x128)](_0x2c4c72+_0x228629(0x121))?(console['log'](_0x228629(0x13c)),child_process[_0x228629(0x127)](_0x228629(0x12d),{'cwd':_0x2c4c72}),console['log'](_0x228629(0x13b))):console[_0x228629(0x135)](_0x228629(0x140)+_0x361b1e+_0x228629(0x13f));child_process[_0x228629(0x127)](_0x228629(0x133)+_0x361b1e,{'cwd':_0x2c4c72}),console['log'](_0x228629(0x139));if(fs[_0x228629(0x128)](_0x2b2de8)){const _0x1f40cd=_0x8a5f02+_0x228629(0x143)+GIT_JAVA_ENV_JSON[_0x361b1e];DeleteDirAllFile(_0x1f40cd,()=>{fs['mkdirSync'](_0x1f40cd),CopyFolder(_0x2b2de8,_0x1f40cd,()=>{console['log']('Dist\x20output\x20copy\x20Done,git\x20add,please\x20wait...'),setTimeout(()=>{const _0x2de6a9=a6_0x1447;child_process[_0x2de6a9(0x127)](_0x2de6a9(0x12c),{'cwd':_0x8a5f02}),console[_0x2de6a9(0x135)](_0x2de6a9(0x13a));try{child_process[_0x2de6a9(0x127)](_0x2de6a9(0x12a)+_0x19e10c+_0x2de6a9(0x145),{'cwd':_0x8a5f02}),console[_0x2de6a9(0x135)](_0x2de6a9(0x132));}catch(_0x14cb11){console['log']('【warning】:no\x20commit,git\x20push,please\x20wait...');}child_process[_0x2de6a9(0x127)](_0x2de6a9(0x146),{'cwd':_0x8a5f02}),console[_0x2de6a9(0x135)](_0x2de6a9(0x134));},0x3e8);});});}else console['log']('【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\x20Done,yarn\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
- const a7_0x583404=a7_0x4453;(function(_0x16d672,_0x280ba4){const _0x39f225=a7_0x4453,_0x54b00d=_0x16d672();while(!![]){try{const _0x17c98a=-parseInt(_0x39f225(0x101))/0x1*(parseInt(_0x39f225(0x10a))/0x2)+parseInt(_0x39f225(0xfc))/0x3*(-parseInt(_0x39f225(0xf8))/0x4)+parseInt(_0x39f225(0xfa))/0x5*(-parseInt(_0x39f225(0xfd))/0x6)+-parseInt(_0x39f225(0xff))/0x7+-parseInt(_0x39f225(0x103))/0x8*(-parseInt(_0x39f225(0xf6))/0x9)+-parseInt(_0x39f225(0xf5))/0xa+-parseInt(_0x39f225(0xfb))/0xb*(-parseInt(_0x39f225(0x107))/0xc);if(_0x17c98a===_0x280ba4)break;else _0x54b00d['push'](_0x54b00d['shift']());}catch(_0x1adf0e){_0x54b00d['push'](_0x54b00d['shift']());}}}(a7_0x4c18,0x92802));const axios=require('axios');function a7_0x4c18(){const _0x32e1d8=['104DuGkJW','server','290eBohcf','11kQpeeT','2913ZVdsDf','123354DldRvW','components','4708767ghqLgp','post','208954WbDItk','port','8xiFJDR','status','message','exports','35546484yuBFNV','log','网络异常。','4iRRaVT','data','exit','8148470eGwygT','6848667mwQrTj','http://120.26.210.58:8088/api/file/config'];a7_0x4c18=function(){return _0x32e1d8;};return a7_0x4c18();}function a7_0x4453(_0x529362,_0x4a88ca){const _0x4c1874=a7_0x4c18();return a7_0x4453=function(_0x44532b,_0x48cbc8){_0x44532b=_0x44532b-0xf3;let _0x32fc1e=_0x4c1874[_0x44532b];return _0x32fc1e;},a7_0x4453(_0x529362,_0x4a88ca);}module[a7_0x583404(0x106)]=_0x3b28e9=>{const _0x460dcb=a7_0x583404;axios[_0x460dcb(0x100)](_0x460dcb(0xf7))['then'](_0x42ca41=>{const _0x4b6811=_0x460dcb;if(_0x42ca41[_0x4b6811(0xf3)][_0x4b6811(0x104)]){const _0x13eb00=_0x42ca41[_0x4b6811(0xf3)]['data'];_0x3b28e9===_0x4b6811(0xf9)&&(console[_0x4b6811(0x108)](_0x13eb00['host']),console[_0x4b6811(0x108)](_0x13eb00[_0x4b6811(0x102)])),_0x3b28e9===_0x4b6811(0xfe)&&console[_0x4b6811(0x108)](_0x13eb00[_0x4b6811(0xfe)]);}else console[_0x4b6811(0x108)](_0x42ca41[_0x4b6811(0xf3)][_0x4b6811(0x105)]);process[_0x4b6811(0xf4)](0x0);})['catch'](()=>{const _0x317acc=_0x460dcb;console[_0x317acc(0x108)](_0x317acc(0x109)),process[_0x317acc(0xf4)](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
- function a8_0x665e(_0x5f5184,_0xe80c0){const _0x91098c=a8_0x9109();return a8_0x665e=function(_0x665e85,_0x3e891c){_0x665e85=_0x665e85-0x131;let _0x278e53=_0x91098c[_0x665e85];return _0x278e53;},a8_0x665e(_0x5f5184,_0xe80c0);}const a8_0x1fe36f=a8_0x665e;(function(_0x3a674a,_0x249110){const _0x23378d=a8_0x665e,_0xa47e90=_0x3a674a();while(!![]){try{const _0x3be261=-parseInt(_0x23378d(0x147))/0x1*(-parseInt(_0x23378d(0x13f))/0x2)+-parseInt(_0x23378d(0x131))/0x3+-parseInt(_0x23378d(0x14e))/0x4*(parseInt(_0x23378d(0x137))/0x5)+-parseInt(_0x23378d(0x132))/0x6+-parseInt(_0x23378d(0x13d))/0x7*(parseInt(_0x23378d(0x138))/0x8)+-parseInt(_0x23378d(0x142))/0x9+parseInt(_0x23378d(0x140))/0xa*(parseInt(_0x23378d(0x136))/0xb);if(_0x3be261===_0x249110)break;else _0xa47e90['push'](_0xa47e90['shift']());}catch(_0x16db3e){_0xa47e90['push'](_0xa47e90['shift']());}}}(a8_0x9109,0x5ebe3));function a8_0x9109(){const _0x319bb6=['exports','question','删除异常:','14NwdwgP','exit','374018AiZiHK','547250xCGYAx','是否确认删除?删除后不可恢复![y/n]:','5659677yaZykm','stdin','无效操作。','log','readline','4KYpNVX','length','path','resolve','stdout','删除文件:','createInterface','4wpupgF','clear','1244217YugNfM','2426016hdUUTF','trim','isDirectory','删除完成。','330dnWCTj','174215JFNnQg','2075792AOMmSU','existsSync'];a8_0x9109=function(){return _0x319bb6;};return a8_0x9109();}const fs=require('fs'),path=require(a8_0x1fe36f(0x149)),readline=require(a8_0x1fe36f(0x146)),io=readline[a8_0x1fe36f(0x14d)]({'input':process[a8_0x1fe36f(0x143)],'output':process[a8_0x1fe36f(0x14b)]});let f_total=0x0;module[a8_0x1fe36f(0x13a)]=function(){const _0x322144=a8_0x1fe36f,_0x173da2=path[_0x322144(0x14a)]('./');io[_0x322144(0x13b)](_0x322144(0x141),function(_0x5b7092){const _0xea651d=_0x322144;if(_0x5b7092[_0xea651d(0x133)]()==='y')console[_0xea651d(0x145)]('正在计算项目数,请稍等...'),setTimeout(()=>{setTimeout(()=>{console['clear'](),exec(_0x173da2),setTimeout(()=>{const _0x3461e3=a8_0x665e;console[_0x3461e3(0x145)](_0x3461e3(0x135)),console[_0x3461e3(0x14f)](),process[_0x3461e3(0x13e)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x5b7092[_0xea651d(0x133)]()==='n'?(console['log']('取消删除。'),process[_0xea651d(0x13e)](0x0)):(console['log'](_0xea651d(0x144)),process[_0xea651d(0x13e)](0x0));});};function exec(_0x42a1d8){const _0x502111=a8_0x1fe36f;if(fs[_0x502111(0x139)](_0x42a1d8)){const _0x17e7f8=fs['readdirSync'](_0x42a1d8);for(let _0x2d6c96=0x0;_0x2d6c96<_0x17e7f8[_0x502111(0x148)];_0x2d6c96++){const _0x37dcf1=_0x17e7f8[_0x2d6c96],_0x45b9e3=_0x42a1d8+'/'+_0x37dcf1;try{fs['statSync'](_0x45b9e3)[_0x502111(0x134)]()?(exec(_0x45b9e3),fs['rmdirSync'](_0x45b9e3,{'recursive':!![]}),console[_0x502111(0x145)]('删除文件夹:'+_0x45b9e3)):(fs['unlinkSync'](_0x45b9e3),console['log'](_0x502111(0x14c)+_0x45b9e3));}catch(_0x2bf12a){console['log'](_0x502111(0x13c)+_0x45b9e3);}}}}
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 a9_0x3a7eca=a9_0x5463;(function(_0x1b42c8,_0x1f8dab){const _0xf711ca=a9_0x5463,_0xddc9e7=_0x1b42c8();while(!![]){try{const _0x53abbc=parseInt(_0xf711ca(0x116))/0x1*(parseInt(_0xf711ca(0x115))/0x2)+-parseInt(_0xf711ca(0x111))/0x3+parseInt(_0xf711ca(0x113))/0x4*(parseInt(_0xf711ca(0x11e))/0x5)+-parseInt(_0xf711ca(0x119))/0x6+parseInt(_0xf711ca(0x118))/0x7+-parseInt(_0xf711ca(0x10f))/0x8+parseInt(_0xf711ca(0x11a))/0x9*(-parseInt(_0xf711ca(0x11f))/0xa);if(_0x53abbc===_0x1f8dab)break;else _0xddc9e7['push'](_0xddc9e7['shift']());}catch(_0x1a4b3e){_0xddc9e7['push'](_0xddc9e7['shift']());}}}(a9_0x1963,0xa747b));function a9_0x1963(){const _0x2875bd=['exit','data','83565vCLsdm','3070KYszKB','axios','readFileSync','查询失败!根目录缺少‘package.json’文件,无法完成查询。','3009592UZTtNk','status','2208015Wowjfp','toString','316VneKDB','parse','190aAzSwJ','10535kOwNFT','exports','8522367tXDVJD','834102vRrNFk','46971ZEaeHX','log'];a9_0x1963=function(){return _0x2875bd;};return a9_0x1963();}const path=require('path'),fs=require('fs'),axios=require(a9_0x3a7eca(0x120));function a9_0x5463(_0x1eecc4,_0x4aac4d){const _0x19631d=a9_0x1963();return a9_0x5463=function(_0x546392,_0x1a4a49){_0x546392=_0x546392-0x10d;let _0x1a02da=_0x19631d[_0x546392];return _0x1a02da;},a9_0x5463(_0x1eecc4,_0x4aac4d);}module[a9_0x3a7eca(0x117)]=()=>{const _0x5360ee=a9_0x3a7eca,_0x3eacf2=path['resolve']('./'),_0x417965=_0x3eacf2+'\x5cpackage.json';if(fs['existsSync'](_0x417965)){const _0xd217af=JSON[_0x5360ee(0x114)](fs[_0x5360ee(0x10d)](_0x417965)[_0x5360ee(0x112)]()),{name:_0x19a8c2}=_0xd217af;axios['post']('http://120.26.210.58:8088/api/file/version',{'package_name':_0x19a8c2})['then'](_0x4b0763=>{const _0x12020f=_0x5360ee;_0x4b0763['data'][_0x12020f(0x110)]?console['log'](_0x4b0763[_0x12020f(0x11d)][_0x12020f(0x11d)]):console[_0x12020f(0x11b)](_0x4b0763['data']['message']),process[_0x12020f(0x11c)](0x0);})['catch'](()=>{const _0x581506=_0x5360ee;console['log']('网络异常。'),process[_0x581506(0x11c)](0x0);});}else console['log'](_0x5360ee(0x10e)),process['exit'](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
- const a10_0x42aa66=a10_0x3269;(function(_0x53478e,_0x5936cf){const _0x3ed188=a10_0x3269,_0x1c10cc=_0x53478e();while(!![]){try{const _0x17c98d=parseInt(_0x3ed188(0xc0))/0x1*(parseInt(_0x3ed188(0xb9))/0x2)+parseInt(_0x3ed188(0xbc))/0x3*(-parseInt(_0x3ed188(0xc8))/0x4)+parseInt(_0x3ed188(0xc7))/0x5+-parseInt(_0x3ed188(0xb1))/0x6+parseInt(_0x3ed188(0xc1))/0x7*(parseInt(_0x3ed188(0xc5))/0x8)+parseInt(_0x3ed188(0xb2))/0x9+-parseInt(_0x3ed188(0xba))/0xa*(parseInt(_0x3ed188(0xc2))/0xb);if(_0x17c98d===_0x5936cf)break;else _0x1c10cc['push'](_0x1c10cc['shift']());}catch(_0x41cc23){_0x1c10cc['push'](_0x1c10cc['shift']());}}}(a10_0x271b,0x1f9bd));function a10_0x3269(_0x34af0c,_0x508243){const _0x271b51=a10_0x271b();return a10_0x3269=function(_0x3269e5,_0x34b74a){_0x3269e5=_0x3269e5-0xb1;let _0x197192=_0x271b51[_0x3269e5];return _0x197192;},a10_0x3269(_0x34af0c,_0x508243);}const path=require(a10_0x42aa66(0xb7)),readline=require(a10_0x42aa66(0xbd)),{f_file_copy}=require(a10_0x42aa66(0xc3)),fs=require('fs');module['exports']=()=>{const _0x4f5aa7=a10_0x42aa66,_0x39ece0=path[_0x4f5aa7(0xb4)]('./');!fs[_0x4f5aa7(0xb8)](_0x39ece0+_0x4f5aa7(0xb5))&&!fs[_0x4f5aa7(0xb8)](_0x39ece0+_0x4f5aa7(0xb3))&&!fs[_0x4f5aa7(0xb8)](_0x39ece0+'\x5cjjb.config.json')&&!fs[_0x4f5aa7(0xb8)](_0x39ece0+_0x4f5aa7(0xc6))&&!fs[_0x4f5aa7(0xb8)](_0x39ece0+_0x4f5aa7(0xb6))?(f_file_copy(__dirname+_0x4f5aa7(0xbb),_0x39ece0),console[_0x4f5aa7(0xbe)]('初始化完成!'),process[_0x4f5aa7(0xc4)](0x0)):(console['log'](_0x4f5aa7(0xbf)),process[_0x4f5aa7(0xc4)](0x0));};function a10_0x271b(){const _0x28c999=['1044990pLLQsc','\x5cpublic','resolve','\x5cjjb.script','\x5cwebstorm.config.js','path','existsSync','481310rSWEmB','3560vFrKKR','\x5ccli.init','241245xfjXfS','readline','log','初始化失败,文件已存在!','1ZSYIEl','7385vRxMGY','3355UFlpoJ','./cli.install/tools','exit','848bZbWmQ','\x5cpackage.json','855100zDutCn','12TfMClG','961926xQpcLs'];a10_0x271b=function(){return _0x28c999;};return a10_0x271b();}
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
- function a11_0x5061(){const _0x89bf57=['COMMON_CONTENT_MICRO_REPLACE','CLI_DVA_ROUTER_SPA','hLqARY89CN6fUD3yg4NL','common/crypto','6629270rjMsNp','\x5cdva\x5cautomatic\x5cregister.js','75870TXajPI','\x5cFileUploader\x5cindex.js','now','jjb-common/tools','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','\x5c..\x5ccli.dva.register.spa.txt','2046vchcop','return\x20process.env;','e9njpBd1nS_LREN8GFpR','d4wQ7dzEjYPsgVbKnYei','5692sZXdba','3501tbzebZ','CLI_DVA_REGISTER_PATH','jjb-common/color','914gPhkjH','\x5cRejectText\x5cindex.js','jjb-common/crypto','jjb-react-admin-component','common/http','gPSit8aJsLVmNzuQ5Cy4','GIT_HOST','\x5cdva\x5cautomatic\x5crouter.js','COMPONENTS_CONTENT_REPLACE','components','\x5cRouterContainer\x5cindex.js','common/website','CLI_DVA_ROUTER_PATH','479592VwBaCD','common/tools','http://192.168.1.242:10985','23046vTZSwW','3480nlCYQg','common/color','442XXEbSs','11pZuzYm','jjb-common/http','COMMON_CONTENT_SPA_REPLACE','\x5cEditor\x5cindex.js','\x5cwebsite\x5cindex.js','return\x20__planA();','G4HJRsHr9D7Ssmixegw2','jjbAssembly_','GIT_TEMP_DIR','COMMON_CONTENT_NOR_REPLACE','\x5cImageCropper\x5cindex.js','\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','4752IGNEYQ','\x5ctools\x5cindex.js','jjb-common/website','tmpdir','return\x20process.env.app;','\x5cImageUploader\x5cindex.js','CLI_DVA_REGISTER_SAAS','\x5cPageHeaderBar\x5cindex.js','\x5c..\x5ccli.dva.router.saas.txt','2275DrWrIl','\x5c..\x5ccli.dva.router.spa.txt','TEMPLATE_FOLDER'];a11_0x5061=function(){return _0x89bf57;};return a11_0x5061();}const a11_0x17a34d=a11_0x5a56;(function(_0x39c2ec,_0x4d83ab){const _0x4c5d04=a11_0x5a56,_0x1a3a59=_0x39c2ec();while(!![]){try{const _0x182d56=-parseInt(_0x4c5d04(0xc5))/0x1*(-parseInt(_0x4c5d04(0xbd))/0x2)+-parseInt(_0x4c5d04(0xb7))/0x3+parseInt(_0x4c5d04(0xc1))/0x4*(parseInt(_0x4c5d04(0xd6))/0x5)+-parseInt(_0x4c5d04(0xd5))/0x6*(-parseInt(_0x4c5d04(0xae))/0x7)+parseInt(_0x4c5d04(0xe5))/0x8*(-parseInt(_0x4c5d04(0xc2))/0x9)+parseInt(_0x4c5d04(0xb5))/0xa*(-parseInt(_0x4c5d04(0xd9))/0xb)+-parseInt(_0x4c5d04(0xd2))/0xc*(parseInt(_0x4c5d04(0xd8))/0xd);if(_0x182d56===_0x4d83ab)break;else _0x1a3a59['push'](_0x1a3a59['shift']());}catch(_0x59d798){_0x1a3a59['push'](_0x1a3a59['shift']());}}}(a11_0x5061,0xdaa8c));const os=require('os');function a11_0x5a56(_0x145506,_0x2f80eb){const _0x506110=a11_0x5061();return a11_0x5a56=function(_0x5a5638,_0x20ce19){_0x5a5638=_0x5a5638-0xae;let _0x49b5f7=_0x506110[_0x5a5638];return _0x49b5f7;},a11_0x5a56(_0x145506,_0x2f80eb);}exports[a11_0x17a34d(0xcb)]=a11_0x17a34d(0xd4),exports['GIT_TEMP_DIR']=a11_0x17a34d(0xe0)+Date[a11_0x17a34d(0xb9)](),exports['CLOUD_PROJECT']={'common':{'token':a11_0x17a34d(0xdf),'projectId':0x117},'react-admin-component':{'token':'FT3pKzxpRynFkmddJ9Bs','projectId':0x154},'jjb-dva-runtime':{'token':a11_0x17a34d(0xb3),'projectId':0x23b},'jjb-common-lib':{'token':a11_0x17a34d(0xbf),'projectId':0x23c},'jjb-common-decorator':{'token':a11_0x17a34d(0xca),'projectId':0x23e},'vue-unisass-component':{'token':a11_0x17a34d(0xc0),'projectId':0x153}},exports[a11_0x17a34d(0xb0)]=os[a11_0x17a34d(0xe8)]()+'\x5c'+exports[a11_0x17a34d(0xe1)],exports[a11_0x17a34d(0xb2)]=__dirname+a11_0x17a34d(0xaf),exports['CLI_DVA_ROUTER_SAAS']=__dirname+a11_0x17a34d(0xed),exports['CLI_DVA_REGISTER_SPA']=__dirname+a11_0x17a34d(0xbc),exports[a11_0x17a34d(0xeb)]=__dirname+'\x5c..\x5ccli.dva.register.saas.txt',exports[a11_0x17a34d(0xd1)]=a11_0x17a34d(0xcc),exports[a11_0x17a34d(0xc3)]=a11_0x17a34d(0xb6),exports[a11_0x17a34d(0xe2)]=[{'path':a11_0x17a34d(0xe6),'replace':[[a11_0x17a34d(0xce),a11_0x17a34d(0xc8)]]},{'path':a11_0x17a34d(0xdd),'replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a11_0x17a34d(0xbb)],[a11_0x17a34d(0xce),'jjb-react-admin-component']]}],exports[a11_0x17a34d(0xdb)]=[{'path':a11_0x17a34d(0xe6),'replace':[[a11_0x17a34d(0xde),a11_0x17a34d(0xbe)]]}],exports[a11_0x17a34d(0xb1)]=[{'path':'\x5ctools\x5cindex.js','replace':[['return\x20__planA();',a11_0x17a34d(0xe9)]]}],exports[a11_0x17a34d(0xcd)]=[{'path':a11_0x17a34d(0xdc),'replace':[[a11_0x17a34d(0xc9),a11_0x17a34d(0xda)],[a11_0x17a34d(0xb4),a11_0x17a34d(0xc7)],[a11_0x17a34d(0xd3),'jjb-common/tools']]},{'path':a11_0x17a34d(0xc6),'replace':[[a11_0x17a34d(0xd7),'jjb-common/color']]},{'path':'\x5cRouterMenu\x5cindex.js','replace':[[a11_0x17a34d(0xd3),a11_0x17a34d(0xba)]]},{'path':a11_0x17a34d(0xb8),'replace':[[a11_0x17a34d(0xc9),a11_0x17a34d(0xda)],[a11_0x17a34d(0xd3),'jjb-common/tools']]},{'path':a11_0x17a34d(0xe3),'replace':[[a11_0x17a34d(0xc9),'jjb-common/http'],[a11_0x17a34d(0xd3),a11_0x17a34d(0xba)]]},{'path':a11_0x17a34d(0xea),'replace':[[a11_0x17a34d(0xc9),a11_0x17a34d(0xda)],['common/tools',a11_0x17a34d(0xba)]]},{'path':a11_0x17a34d(0xec),'replace':[[a11_0x17a34d(0xd7),a11_0x17a34d(0xc4)]]},{'path':a11_0x17a34d(0xcf),'replace':[[a11_0x17a34d(0xd3),a11_0x17a34d(0xba)]]},{'path':a11_0x17a34d(0xe4),'replace':[[a11_0x17a34d(0xd0),a11_0x17a34d(0xe7)],['common/tools',a11_0x17a34d(0xba)]]}];
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
- function a12_0x45ca(){const _0x4ce252=['find','map','uncompress','filter','react-admin-component','unlinkSync','join','length','2096tqfHbV','【Error】:执行失败,在您的项目根目录,需要一个jjb.config.json文件。','forEach','exit','47835CoTxUR','1207374QLwsjC','rmdirSync','export\x20{\x20default\x20as\x20','compress','【Error】:安装失败,node_modules目录不存在。','existsSync','【Warning】:若安装在node_modules中,请确保projectType\x20=\x20micro-spa,并关闭webpack.config.js\x20rules限制。','pipe','exports','jjb-common','toString','installResources','close','importList','request','path','push','3659200TkLspt','zip','multi','installTarget','includes','.idea','import_list','package.json','replace','vue-unisass-component','pure_name','resolve','spa','RouterContainer','node_modules','3187516ZsNmec','export\x20{\x20default\x20as\x20RouterContainer,\x20PATH\x20as\x20RouterContainerPATH\x20}\x20from\x20\x27./RouterContainer\x27;','\x20}\x20from\x20\x27./','34531gsUzFt','now','name','7850JKueST','writeFileSync','1.0.0','projectType','index.js','mkdirSync','_zip','【Error】:安装失败,src目录不存在。','log','src\x5c','micro-spa','setting.json','6MpczxW','./tools','406145DgAMCZ','src','2128775jogUqp'];a12_0x45ca=function(){return _0x4ce252;};return a12_0x45ca();}const a12_0x4f494a=a12_0x466a;(function(_0xe3647a,_0x3c4f2b){const _0x3ad089=a12_0x466a,_0x178617=_0xe3647a();while(!![]){try{const _0x43d7d9=parseInt(_0x3ad089(0x173))/0x1+parseInt(_0x3ad089(0x15f))/0x2+parseInt(_0x3ad089(0x13f))/0x3+parseInt(_0x3ad089(0x150))/0x4+-parseInt(_0x3ad089(0x175))/0x5*(-parseInt(_0x3ad089(0x171))/0x6)+parseInt(_0x3ad089(0x162))/0x7*(parseInt(_0x3ad089(0x17e))/0x8)+-parseInt(_0x3ad089(0x13e))/0x9*(parseInt(_0x3ad089(0x165))/0xa);if(_0x43d7d9===_0x3c4f2b)break;else _0x178617['push'](_0x178617['shift']());}catch(_0x40245d){_0x178617['push'](_0x178617['shift']());}}}(a12_0x45ca,0xd2b6f));function a12_0x466a(_0x2e7243,_0x3e006d){const _0x45ca8e=a12_0x45ca();return a12_0x466a=function(_0x466aac,_0x2fbc25){_0x466aac=_0x466aac-0x13b;let _0x548628=_0x45ca8e[_0x466aac];return _0x548628;},a12_0x466a(_0x2e7243,_0x3e006d);}const fs=require('fs'),path=require(a12_0x4f494a(0x14e)),request=require(a12_0x4f494a(0x14d)),compressing=require('compressing'),{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_0x4f494a(0x172)),{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('./config'),start_time=Date[a12_0x4f494a(0x163)]();module[a12_0x4f494a(0x147)]=()=>{const _0x61200d=a12_0x4f494a,_0x33bfb9=path[_0x61200d(0x15b)]('./'),_0x57da6a=[_0x33bfb9,_0x61200d(0x16e)][_0x61200d(0x17c)]('\x5c'),_0x2e2f91=[_0x33bfb9,_0x61200d(0x15e)]['join']('\x5c'),_0x4de549=[_0x33bfb9,_0x61200d(0x157)][_0x61200d(0x17c)]('\x5c');if(f_scan_jjb_config_json(_0x33bfb9)){const _0x524fd3=f_scan_jjb_config_json_rules(_0x33bfb9);_0x524fd3[_0x61200d(0x153)]===_0x61200d(0x15e)?!fs[_0x61200d(0x144)](_0x2e2f91)?(console[_0x61200d(0x16d)](_0x61200d(0x143)),process[_0x61200d(0x13d)](0x0)):console[_0x61200d(0x16d)](_0x61200d(0x145)):!fs['existsSync'](_0x57da6a)&&(console[_0x61200d(0x16d)](_0x61200d(0x16c)),process[_0x61200d(0x13d)](0x0));fs[_0x61200d(0x16a)](TEMPLATE_FOLDER),f_pull_git_repository(_0x524fd3['installResources'])[_0x61200d(0x177)](_0x5b826e=>{const _0x57e281=_0x61200d,_0x286cf8=fs['createWriteStream'](_0x5b826e[_0x57e281(0x14e)]);request(_0x5b826e['repository'])[_0x57e281(0x146)](_0x286cf8)['on'](_0x57e281(0x14b),()=>{const _0x4909e8=_0x57e281;fs['mkdirSync'](_0x5b826e[_0x4909e8(0x142)]),compressing[_0x4909e8(0x151)][_0x4909e8(0x178)](_0x5b826e['path'],_0x5b826e[_0x4909e8(0x142)]);});});const _0x1ce4c4=setInterval(()=>{const _0x4a29da=_0x61200d,_0x3f4268=fs['readdirSync'](TEMPLATE_FOLDER),_0x59b3cd=_0x3f4268[_0x4a29da(0x179)](_0x44a7c1=>_0x524fd3['installResources'][_0x4a29da(0x177)](_0x28f313=>_0x28f313[_0x4a29da(0x164)]+_0x4a29da(0x16b))[_0x4a29da(0x154)](_0x44a7c1));if(_0x59b3cd['length']===_0x524fd3[_0x4a29da(0x14a)][_0x4a29da(0x17d)]){clearInterval(_0x1ce4c4);const _0x3e8d2b=[];_0x59b3cd[_0x4a29da(0x13c)](_0x40e02a=>{const _0x3059c3=_0x4a29da,_0x4ae91a=[TEMPLATE_FOLDER,_0x40e02a][_0x3059c3(0x17c)]('\x5c');fs['readdirSync'](_0x4ae91a)[_0x3059c3(0x13c)](_0x4ce8d9=>_0x3e8d2b[_0x3059c3(0x14f)]({'name':_0x40e02a,'path':[_0x4ae91a,_0x4ce8d9][_0x3059c3(0x17c)]('\x5c'),'pure_name':_0x40e02a[_0x3059c3(0x158)](/_zip$/,''),'import_list':_0x524fd3[_0x3059c3(0x14a)][_0x3059c3(0x176)](_0x36f37c=>_0x36f37c[_0x3059c3(0x164)]+_0x3059c3(0x16b)===_0x40e02a)[_0x3059c3(0x14c)]}));}),_0x3e8d2b[_0x4a29da(0x13c)](_0x29e248=>{const _0x4e8373=_0x4a29da,_0x530745=_0x29e248[_0x4e8373(0x15a)],_0x5f5752=_0x29e248[_0x4e8373(0x156)],_0x17f309=[_0x29e248['path'],_0x4e8373(0x155)][_0x4e8373(0x17c)]('//'),_0x24fddd=[_0x29e248['path'],'.gitignore']['join']('//');fs[_0x4e8373(0x144)](_0x17f309)&&(f_rm_rf(_0x17f309),fs[_0x4e8373(0x140)](_0x17f309));fs[_0x4e8373(0x144)](_0x24fddd)&&fs[_0x4e8373(0x17b)](_0x24fddd);if(_0x5f5752[_0x4e8373(0x17d)]){fs['readdirSync'](_0x29e248[_0x4e8373(0x14e)])[_0x4e8373(0x179)](_0x20ba04=>!_0x5f5752[_0x4e8373(0x154)](_0x20ba04)&&_0x20ba04!==_0x4e8373(0x169)&&_0x20ba04!==_0x4e8373(0x170))[_0x4e8373(0x13c)](_0x568a6e=>{const _0x4ba5fd=_0x29e248['path']+'\x5c'+_0x568a6e;f_rm_rf(_0x4ba5fd),fs['rmdirSync'](_0x4ba5fd);});if(_0x530745===_0x4e8373(0x17a)){const _0x315d9c=[];fs['readdirSync'](_0x29e248['path'])[_0x4e8373(0x179)](_0x520747=>_0x520747!=='index.js')[_0x4e8373(0x13c)](_0x2cc2ed=>{const _0x1e4df7=_0x4e8373;_0x2cc2ed===_0x1e4df7(0x15d)?_0x315d9c[_0x1e4df7(0x14f)](_0x1e4df7(0x160)):_0x315d9c[_0x1e4df7(0x14f)](_0x1e4df7(0x141)+_0x2cc2ed+_0x1e4df7(0x161)+_0x2cc2ed+'\x27;');}),fs[_0x4e8373(0x166)](_0x29e248[_0x4e8373(0x14e)]+'\x5cindex.js',_0x315d9c['join']('\x0a'));}}if(_0x530745===_0x4e8373(0x148)){const _0x15d4c1=[_0x29e248[_0x4e8373(0x14e)],'\x5cdva\x5cautomatic'][_0x4e8373(0x17c)]('\x5c');if([_0x4e8373(0x15c),_0x4e8373(0x16f)][_0x4e8373(0x154)](_0x524fd3[_0x4e8373(0x168)]))fs['existsSync'](_0x15d4c1)&&(f_content_replace(_0x524fd3['projectType']==='spa'?COMMON_CONTENT_SPA_REPLACE:[...COMMON_CONTENT_MICRO_REPLACE,...COMMON_CONTENT_NOR_REPLACE],_0x29e248['path']),fs['writeFileSync'](_0x29e248[_0x4e8373(0x14e)]+CLI_DVA_ROUTER_PATH,fs['readFileSync'](_0x524fd3[_0x4e8373(0x168)]==='spa'?CLI_DVA_ROUTER_SPA:CLI_DVA_ROUTER_SAAS)[_0x4e8373(0x149)]()),fs[_0x4e8373(0x166)](_0x29e248[_0x4e8373(0x14e)]+CLI_DVA_REGISTER_PATH,fs['readFileSync'](_0x524fd3['projectType']==='spa'?CLI_DVA_REGISTER_SPA:CLI_DVA_REGISTER_SAAS)[_0x4e8373(0x149)]()));else _0x524fd3[_0x4e8373(0x168)]===_0x4e8373(0x152)&&(fs['existsSync'](_0x15d4c1)&&(f_rm_rf(_0x15d4c1),fs[_0x4e8373(0x140)](_0x15d4c1)));}else{if(_0x530745===_0x4e8373(0x17a))_0x524fd3[_0x4e8373(0x168)]===_0x4e8373(0x16f)&&f_content_replace(COMPONENTS_CONTENT_REPLACE,_0x29e248['path']);else{if(_0x530745===_0x4e8373(0x159)){}}}if(_0x524fd3[_0x4e8373(0x153)]==='node_modules'){const _0x1b23e4=_0x530745;fs[_0x4e8373(0x144)](_0x2e2f91+'\x5c'+_0x1b23e4)?f_rm_rf(_0x2e2f91+'\x5c'+_0x1b23e4):fs[_0x4e8373(0x16a)](_0x2e2f91+'\x5c'+_0x1b23e4),f_file_copy(_0x29e248[_0x4e8373(0x14e)],_0x2e2f91+'\x5c'+_0x1b23e4),f_create_package_json(_0x2e2f91+'\x5c'+_0x1b23e4,_0x1b23e4,'1.0.0'),f_update_project_package_json(_0x4de549,_0x1b23e4,_0x4e8373(0x167));}else{if(_0x524fd3[_0x4e8373(0x153)]===_0x4e8373(0x174)){const _0x5420aa=_0x4e8373(0x17a);fs['existsSync'](_0x57da6a+_0x5420aa)?f_rm_rf(_0x57da6a+_0x5420aa):fs[_0x4e8373(0x16a)](_0x57da6a+_0x5420aa),f_file_copy(_0x29e248['path'],_0x57da6a+_0x5420aa);}}}),setTimeout(()=>{const _0x3340fc=_0x4a29da;f_rm_rf(TEMPLATE_FOLDER),fs['rmdirSync'](TEMPLATE_FOLDER);const _0x5c0a52=Date[_0x3340fc(0x163)]();console[_0x3340fc(0x16d)]('【jjb-cmd】:install命令执行完成,用时'+(_0x5c0a52-start_time)/0x3e8+'s');},0x5dc);}},0x3e8);}else console[_0x61200d(0x16d)](_0x61200d(0x13b));};
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
- function a13_0x112e(_0x24a669,_0x4423e7){const _0x4509aa=a13_0x4509();return a13_0x112e=function(_0x112e65,_0xf9be12){_0x112e65=_0x112e65-0x186;let _0x5d8b83=_0x4509aa[_0x112e65];return _0x5d8b83;},a13_0x112e(_0x24a669,_0x4423e7);}const a13_0x109973=a13_0x112e;function a13_0x4509(){const _0x57ae1e=['11517670MKDBHF','map','parse','_zip','f_rm_rf','includes','string','push','6928086XNaZRQ','f_update_project_package_json','vue-unisass-component','spa','installTarget','1968uwrZrI','./config','\x5cpackage.json','f_pull_git_repository','exit','projectType','【Error】:[jjb.config.json.projectType]配置无效,有效值<multi\x20|\x20spa\x20|\x20micro-spa\x20|\x20uniapp>。','【Error】:[jjb.config.json]文件解析失败,请确认是否配置正确。','51884OkrSNT','toString','f_content_replace','2564105yqeFau','12PcpmtD','forEach','readFileSync','token','log','dependencies','writeFileSync','537aEvAdI','tmpdir','readdirSync','node_modules','【Error】:[jjb.config.json]文件配置无效,需要installResources属性。','f_file_copy','.zip','f_scan_jjb_config_json','length','8441700BjHULk','\x5cjjb.config.json','1744999jUdjMu','name','statSync','f_scan_jjb_config_json_rules','micro-spa','react-admin-component','uniapp','【Error】:[jjb.config.json]文件配置无效,需要installTarget属性。','2514WSmzBD','isDirectory','jjb-dva-runtime','jjb-common-decorator','projectId','{\x22name\x22:\x22','f_create_package_json','multi','【Error】:[jjb.config.json.node_modules]配置无效,有效值<node_modules\x20|\x20src>。','\x22,\x22main\x22:\x20\x22index.js\x22}','【Error】:[jjb.config.json.installResources]无资源。','filter','f_resolve_install_resources','path','mkdirSync','/api/v4/projects/','unlinkSync','replace','existsSync','\x22,\x22version\x22:\x22','&ref=master','installResources','rmdirSync','9dzTCsv'];a13_0x4509=function(){return _0x57ae1e;};return a13_0x4509();}(function(_0x1ddfa8,_0x59fd05){const _0x29db5e=a13_0x112e,_0x3aab44=_0x1ddfa8();while(!![]){try{const _0x43dab0=-parseInt(_0x29db5e(0x187))/0x1+parseInt(_0x29db5e(0x18f))/0x2*(parseInt(_0x29db5e(0x1c7))/0x3)+-parseInt(_0x29db5e(0x1c0))/0x4*(-parseInt(_0x29db5e(0x1bf))/0x5)+-parseInt(_0x29db5e(0x1d0))/0x6+parseInt(_0x29db5e(0x1bc))/0x7*(parseInt(_0x29db5e(0x1b4))/0x8)+-parseInt(_0x29db5e(0x1a6))/0x9*(-parseInt(_0x29db5e(0x1a7))/0xa)+-parseInt(_0x29db5e(0x1af))/0xb;if(_0x43dab0===_0x59fd05)break;else _0x3aab44['push'](_0x3aab44['shift']());}catch(_0x768656){_0x3aab44['push'](_0x3aab44['shift']());}}}(a13_0x4509,0xe998a));const fs=require('fs'),os=require('os'),{GIT_HOST,GIT_TEMP_DIR,CLOUD_PROJECT}=require(a13_0x109973(0x1b5));exports['f_rm_rf']=function(_0x17108f){const _0x4314f7=a13_0x109973;if(fs['existsSync'](_0x17108f)){const _0x113e52=fs['readdirSync'](_0x17108f);for(let _0x48bc9f=0x0;_0x48bc9f<_0x113e52['length'];_0x48bc9f++){const _0x508302=_0x113e52[_0x48bc9f],_0x292e33=_0x17108f+'/'+_0x508302;fs['statSync'](_0x292e33)['isDirectory']()?(exports[_0x4314f7(0x1ab)](_0x292e33),fs[_0x4314f7(0x1a5)](_0x292e33)):fs[_0x4314f7(0x19f)](_0x292e33);}}},exports[a13_0x109973(0x1b7)]=function(_0x3d194b=[]){const _0x52d5fb=a13_0x109973;return _0x3d194b[_0x52d5fb(0x1a8)](_0x229c3b=>{const _0x477886=_0x52d5fb,_0x1ed8e0=CLOUD_PROJECT[_0x229c3b['name']]||undefined,_0x580e67=os[_0x477886(0x1c8)]();return{'path':_0x580e67+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x229c3b[_0x477886(0x188)]+_0x477886(0x1cd),'compress':_0x580e67+'\x5c'+GIT_TEMP_DIR+'\x5c'+_0x229c3b[_0x477886(0x188)]+_0x477886(0x1aa),'repository':GIT_HOST+_0x477886(0x19e)+_0x1ed8e0[_0x477886(0x193)]+'/repository/archive.zip?private_token='+_0x1ed8e0[_0x477886(0x1c3)]+_0x477886(0x1a3)};});},exports[a13_0x109973(0x1ce)]=function(_0x506791){const _0x1251f1=a13_0x109973;return fs[_0x1251f1(0x1a1)](_0x506791+'\x5cjjb.config.json');},exports[a13_0x109973(0x18a)]=function(_0x1045ff){const _0x1b4862=a13_0x109973;let _0xe8518e={};try{_0xe8518e=JSON[_0x1b4862(0x1a9)](fs[_0x1b4862(0x1c2)](_0x1045ff+_0x1b4862(0x186))[_0x1b4862(0x1bd)]());}catch(_0x2f97d9){console['log'](_0x1b4862(0x1bb)),process[_0x1b4862(0x1b8)](0x0);}!(_0x1b4862(0x1b9)in _0xe8518e)&&(console[_0x1b4862(0x1c4)]('【Error】:[jjb.config.json]文件配置无效,需要projectType属性。'),process['exit'](0x0));!(_0x1b4862(0x1b3)in _0xe8518e)&&(console[_0x1b4862(0x1c4)](_0x1b4862(0x18e)),process['exit'](0x0));!(_0x1b4862(0x1a4)in _0xe8518e)&&(console[_0x1b4862(0x1c4)](_0x1b4862(0x1cb)),process[_0x1b4862(0x1b8)](0x0));typeof _0xe8518e[_0x1b4862(0x1b9)]!=='string'&&(console['log']('【Error】:[jjb.config.json.projectType]类型是一个string。'),process[_0x1b4862(0x1b8)](0x0));![_0x1b4862(0x196),_0x1b4862(0x1b2),_0x1b4862(0x18d),_0x1b4862(0x18b)]['includes'](_0xe8518e['projectType'])&&(console[_0x1b4862(0x1c4)](_0x1b4862(0x1ba)),process[_0x1b4862(0x1b8)](0x0));typeof _0xe8518e[_0x1b4862(0x1b3)]!==_0x1b4862(0x1ad)&&(console[_0x1b4862(0x1c4)]('【Error】:[jjb.config.json.installTarget]类型是一个string。'),process['exit'](0x0));![_0x1b4862(0x1ca),'src']['includes'](_0xe8518e['installTarget'])&&(console[_0x1b4862(0x1c4)](_0x1b4862(0x197)),process['exit'](0x0));!Array['isArray'](_0xe8518e['installResources'])&&(console[_0x1b4862(0x1c4)]('【Error】:[jjb.config.json.installResources]类型是一个Array<string>。'),process[_0x1b4862(0x1b8)](0x0));_0xe8518e[_0x1b4862(0x1a4)]['length']===0x0&&(console[_0x1b4862(0x1c4)](_0x1b4862(0x199)),process[_0x1b4862(0x1b8)](0x0));const _0x472df9=exports[_0x1b4862(0x19b)](_0xe8518e[_0x1b4862(0x1a4)]);return _0x472df9[_0x1b4862(0x1a8)](_0x2b1699=>_0x2b1699['name'])[_0x1b4862(0x19a)](_0x323347=>!['jjb-common',_0x1b4862(0x191),'jjb-common-lib',_0x1b4862(0x192),_0x1b4862(0x18c),_0x1b4862(0x1b1)][_0x1b4862(0x1ac)](_0x323347))[_0x1b4862(0x1cf)]!==0x0&&(console['log']('【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[_0x1b4862(0x1b8)](0x0)),_0xe8518e[_0x1b4862(0x1a4)]=_0x472df9,_0xe8518e;},exports[a13_0x109973(0x195)]=function(_0x5147c2,_0x335aa0,_0x223b46){const _0x139d9f=a13_0x109973;fs[_0x139d9f(0x1c6)](_0x5147c2+_0x139d9f(0x1b6),_0x139d9f(0x194)+_0x335aa0+_0x139d9f(0x1a2)+_0x223b46+_0x139d9f(0x198));},exports[a13_0x109973(0x19b)]=function(_0x41268b=[]){const _0x2933cc=a13_0x109973,_0x102f65=[];return Array['isArray'](_0x41268b)&&_0x41268b[_0x2933cc(0x1c1)](_0x2614f9=>{const _0x24f011=_0x2933cc;if(Array['isArray'](_0x2614f9)){const [_0x259e32,_0x45f366=[]]=_0x2614f9;_0x102f65[_0x24f011(0x1ae)]({'name':_0x259e32,'importList':_0x45f366});}else _0x102f65[_0x24f011(0x1ae)]({'name':_0x2614f9,'importList':[]});}),_0x102f65;},exports[a13_0x109973(0x1b0)]=function(_0x4047f7,_0x38d92b,_0x2f7ca0){const _0x444380=a13_0x109973,_0x170776=JSON[_0x444380(0x1a9)](fs[_0x444380(0x1c2)](_0x4047f7)[_0x444380(0x1bd)]());_0x170776[_0x444380(0x1c5)][_0x38d92b]=_0x2f7ca0,fs[_0x444380(0x1c6)](_0x4047f7,JSON['stringify'](_0x170776,null,0x2));},exports[a13_0x109973(0x1cc)]=function(_0x38988e,_0x9c39d6){const _0x30a1ca=a13_0x109973;fs[_0x30a1ca(0x1c9)](_0x38988e)[_0x30a1ca(0x1c1)](_0xa515fd=>{const _0xf4309f=_0x30a1ca,_0x7225da=_0x38988e+'\x5c'+_0xa515fd,_0x4307e0=_0x9c39d6+'\x5c'+_0xa515fd;fs[_0xf4309f(0x189)](_0x7225da)[_0xf4309f(0x190)]()?(fs[_0xf4309f(0x19d)](_0x4307e0),exports[_0xf4309f(0x1cc)](_0x7225da,_0x4307e0)):fs[_0xf4309f(0x1c6)](_0x4307e0,fs[_0xf4309f(0x1c2)](_0x7225da)['toString']());});},exports[a13_0x109973(0x1be)]=function(_0x954b21=[],_0x1b439f){_0x954b21['forEach'](_0x49a0a4=>{const _0x4c8e27=a13_0x112e,_0x256578=_0x1b439f+_0x49a0a4[_0x4c8e27(0x19c)];if(fs[_0x4c8e27(0x1a1)](_0x256578)){let _0x3c8fcd=fs[_0x4c8e27(0x1c2)](_0x256578)[_0x4c8e27(0x1bd)]();_0x49a0a4[_0x4c8e27(0x1a0)][_0x4c8e27(0x1c1)](_0x48a0b2=>{const _0x34edd0=_0x4c8e27;_0x3c8fcd=_0x3c8fcd[_0x34edd0(0x1a0)](_0x48a0b2[0x0],_0x48a0b2[0x1]);}),fs['writeFileSync'](_0x256578,_0x3c8fcd);}});};
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
- function a14_0x2b2e(){const _0x3d60bb=['file','./util.js','resolve','writeFileSync','50769OAJqsi','\x27,\x20component:\x20()\x20=>\x20import(\x27','/setting.json','split','2154cAxSXA','join','toString','3801985Ftcnkh','slice','1908020QJCkyB','readFileSync','length','router','CreatePaths','./project','2304342TEwevL','path','items','388234pVZlUd','./vessel/src','\x27)\x20}','pathAdr','exports','region','forEach','application','88PbmMTU','993291FrWuUq','routerPath','/application','55QFRIgT','routerConfig','from','{\x20path:\x20\x27','5oUthss','push','610eGDVqw','parse','fileType','map','DeepScanner'];a14_0x2b2e=function(){return _0x3d60bb;};return a14_0x2b2e();}const a14_0x5ae559=a14_0x3cd0;(function(_0x4c51ee,_0x46535e){const _0x5180f3=a14_0x3cd0,_0x235d5c=_0x4c51ee();while(!![]){try{const _0x4a368e=parseInt(_0x5180f3(0x119))/0x1*(-parseInt(_0x5180f3(0xff))/0x2)+-parseInt(_0x5180f3(0x116))/0x3+-parseInt(_0x5180f3(0x104))/0x4*(-parseInt(_0x5180f3(0xf0))/0x5)+-parseInt(_0x5180f3(0x10a))/0x6+-parseInt(_0x5180f3(0x10d))/0x7*(-parseInt(_0x5180f3(0x115))/0x8)+parseInt(_0x5180f3(0xfb))/0x9*(-parseInt(_0x5180f3(0xf2))/0xa)+parseInt(_0x5180f3(0x102))/0xb;if(_0x4a368e===_0x46535e)break;else _0x235d5c['push'](_0x235d5c['shift']());}catch(_0x409b22){_0x235d5c['push'](_0x235d5c['shift']());}}}(a14_0x2b2e,0x4cb78));function a14_0x3cd0(_0x520698,_0x5b14df){const _0x2b2ebf=a14_0x2b2e();return a14_0x3cd0=function(_0x3cd0ad,_0x33915a){_0x3cd0ad=_0x3cd0ad-0xef;let _0x184835=_0x2b2ebf[_0x3cd0ad];return _0x184835;},a14_0x3cd0(_0x520698,_0x5b14df);}const fs=require('fs'),path=require('path'),utils=require(a14_0x5ae559(0xf8));let projectPath='',vesselPath='',commandArr=[];const fromFileData={},applicationJson={};module[a14_0x5ae559(0x111)]=(_0x558ed5,_0x717f3c)=>{const _0x40f6da=a14_0x5ae559;commandArr=_0x558ed5[_0x40f6da(0xfe)](':'),projectPath=path[_0x40f6da(0xf9)](_0x40f6da(0x109)),vesselPath=path[_0x40f6da(0xf9)](_0x40f6da(0x10e));let _0x495f3d=vesselPath;_0x717f3c==='mp'&&(_0x495f3d=vesselPath+_0x40f6da(0x118),utils[_0x40f6da(0x108)](vesselPath,[_0x40f6da(0x114)]));const _0x300cb0=commandArr[0x1],_0x1cbd88=JSON[_0x40f6da(0xf3)](fs['readFileSync'](projectPath+'/'+_0x300cb0+_0x40f6da(0xfd))[_0x40f6da(0x101)]());TileItems(_0x1cbd88[_0x40f6da(0x10c)],()=>{const _0xf8d83a=_0x40f6da;fromFileData[_0xf8d83a(0x107)][_0xf8d83a(0x113)](_0x3367c6=>{const _0x43c0c4=_0xf8d83a,_0x4d92d5=_0x3367c6[_0x43c0c4(0x110)][_0x43c0c4(0xfe)](_0x3367c6[_0x43c0c4(0x112)]),_0x38c905=_0x4d92d5[0x1]['split']('/'),_0x2c9233=_0x38c905[0x1];!applicationJson[_0x2c9233]&&(applicationJson[_0x2c9233]={'routerConfig':[],'routerPath':[]});applicationJson[_0x2c9233][_0x43c0c4(0x11a)][_0x43c0c4(0xf1)](_0x43c0c4(0xef)+_0x3367c6[_0x43c0c4(0x10b)]+_0x43c0c4(0xfc)+_0x3367c6[_0x43c0c4(0xf7)]+_0x43c0c4(0x10f)),applicationJson[_0x2c9233][_0x43c0c4(0x117)][_0x43c0c4(0xf1)](_0x3367c6[_0x43c0c4(0x10b)]);let _0x5f20d5=_0x38c905[_0x43c0c4(0x100)]('/');const _0x50f7fd=_0x5f20d5[_0x43c0c4(0xfe)]('/');utils[_0x43c0c4(0x108)](_0x495f3d,_0x50f7fd[_0x43c0c4(0x103)](0x0,_0x50f7fd['length']-0x1))['then'](()=>{const _0x1fe9f0=_0x43c0c4,_0x1a512a=fs[_0x1fe9f0(0x105)](_0x3367c6[_0x1fe9f0(0x110)])[_0x1fe9f0(0x101)]();fs[_0x1fe9f0(0xfa)](vesselPath+'/'+_0x5f20d5,_0x1a512a);});});});};function TileItems(_0x1938ef,_0x5be42c){const _0x2624b5=a14_0x5ae559;_0x1938ef[_0x2624b5(0x113)]((_0x4dd435,_0x55dabc)=>{const _0x5ca542=_0x2624b5,_0x27eb82=_0x4dd435[_0x5ca542(0x112)];_0x4dd435[_0x5ca542(0x11b)][_0x5ca542(0x113)]((_0x4a89af,_0x3acc97)=>{const _0x317576=_0x5ca542,_0x12d94e=[];utils[_0x317576(0xf6)](projectPath+'/'+_0x27eb82+'/'+_0x4a89af[_0x317576(0xf7)],_0x12d94e);const _0x44ffd6=_0x12d94e[_0x317576(0xf5)](_0x2025d0=>({'region':_0x27eb82,'pathAdr':_0x2025d0,..._0x4a89af}));!fromFileData[_0x4a89af[_0x317576(0xf4)]]?fromFileData[_0x4a89af[_0x317576(0xf4)]]=_0x44ffd6:fromFileData[_0x4a89af['fileType']]=fromFileData[_0x4a89af[_0x317576(0xf4)]]['concat'](_0x44ffd6),_0x55dabc===_0x1938ef['length']-0x1&&_0x3acc97===_0x4dd435[_0x317576(0x11b)][_0x317576(0x106)]-0x1&&_0x5be42c();});});}
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 a15_0x52cd(_0x5bebbd,_0x16bb6c){const _0x5ef6a3=a15_0x5ef6();return a15_0x52cd=function(_0x52cd2a,_0x1906f2){_0x52cd2a=_0x52cd2a-0xcb;let _0x18e827=_0x5ef6a3[_0x52cd2a];return _0x18e827;},a15_0x52cd(_0x5bebbd,_0x16bb6c);}const a15_0x3b00b8=a15_0x52cd;(function(_0x30866a,_0x1bc4b2){const _0x3a7182=a15_0x52cd,_0x32307f=_0x30866a();while(!![]){try{const _0x223226=parseInt(_0x3a7182(0xf7))/0x1+parseInt(_0x3a7182(0xef))/0x2*(parseInt(_0x3a7182(0xfe))/0x3)+-parseInt(_0x3a7182(0xf0))/0x4*(-parseInt(_0x3a7182(0xf5))/0x5)+-parseInt(_0x3a7182(0xe9))/0x6+parseInt(_0x3a7182(0xe5))/0x7*(-parseInt(_0x3a7182(0xd1))/0x8)+parseInt(_0x3a7182(0xcb))/0x9+-parseInt(_0x3a7182(0xf3))/0xa;if(_0x223226===_0x1bc4b2)break;else _0x32307f['push'](_0x32307f['shift']());}catch(_0xdd340c){_0x32307f['push'](_0x32307f['shift']());}}}(a15_0x5ef6,0xd2470));function a15_0x5ef6(){const _0x100ad9=['compressing','tmpdir','unlinkSync','writeFileSync','/unzip/','readdirSync','log','CopyFolder','397026NzSSlK','existsSync','createWriteStream','/repository/archive.zip?private_token=','1646304yGRJED','token','DeleteDirAllFile','request','\x5ccli.dva.router.spa.txt','-文件下载完毕','904hXSzFS','4562708dFTjso','exports','exists','8804810MVznjw','mkdirSync','5GueGah','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','682625LIujws','common\x5cdva\x5cautomatic\x5cindex.js','common\x5cdva\x5cautomatic\x5c','resolve','./util','indexOf','error','204wPyUDN','common','common\x5cwebsite\x5cindex.js','http://192.168.1.242:10985','15241581ZtIYuH','.zip','G4HJRsHr9D7Ssmixegw2','/api/v4/projects/','common\x5cdva\x5cautomatic','common\x5ctools\x5cindex.js','216UggKYZ','readFileSync','【Error】:\x20未获取到项目\x20','jjbAssembly','FT3pKzxpRynFkmddJ9Bs','&ref=master','\x5ccommon\x5cdva\x5cautomatic\x5cregister.js','forEach','replace','\x5csrc','toString','pipe'];a15_0x5ef6=function(){return _0x100ad9;};return a15_0x5ef6();}const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a15_0x3b00b8(0xfb)),request=require(a15_0x3b00b8(0xec)),compressing=require(a15_0x3b00b8(0xdd)),GIT_TEMP_DIR=a15_0x3b00b8(0xd4),GIT_HOST=a15_0x3b00b8(0x101),CLOUD_PROJECT={'common':{'token':a15_0x3b00b8(0xcd),'projectId':0x117,'localName':a15_0x3b00b8(0xff)},'react-admin-component':{'token':a15_0x3b00b8(0xd5),'projectId':0x154,'localName':'components'}};module[a15_0x3b00b8(0xf1)]=_0x3d70e9=>{const _0x2a5bd7=a15_0x3b00b8,_0x4260c4=_0x3d70e9,_0x2a4133=path[_0x2a5bd7(0xfa)]('./');try{if(fs['statSync'](_0x2a4133+_0x2a5bd7(0xda))){const _0xd02959=_0x2a4133+'\x5csrc',_0x19c709=CLOUD_PROJECT[_0x4260c4]||undefined;if(_0x19c709){const _0x10766f=os[_0x2a5bd7(0xde)](),_0x51afb8=_0x10766f+('/'+GIT_TEMP_DIR+'/'+_0x4260c4+_0x2a5bd7(0xcc)),_0x16e5b9=_0x10766f+'/'+GIT_TEMP_DIR+_0x2a5bd7(0xe1);utils[_0x2a5bd7(0xeb)](_0x10766f+'/'+GIT_TEMP_DIR,()=>{const _0x3437df=_0x2a5bd7;fs[_0x3437df(0xf4)](_0x10766f+'/'+GIT_TEMP_DIR);let _0x574521=fs[_0x3437df(0xe7)](_0x51afb8);request(GIT_HOST+_0x3437df(0xce)+_0x19c709['projectId']+_0x3437df(0xe8)+_0x19c709[_0x3437df(0xea)]+_0x3437df(0xd6))[_0x3437df(0xdc)](_0x574521)['on']('close',()=>{const _0x26167b=_0x3437df;fs[_0x26167b(0xf4)](_0x16e5b9),compressing['zip']['uncompress'](_0x51afb8,_0x16e5b9)['then'](()=>{setTimeout(()=>{const _0x8a25c2=a15_0x52cd,_0x58887b=fs['readdirSync'](_0x16e5b9);_0x58887b[_0x8a25c2(0xd8)](_0x5e9642=>{const _0x1c47fa=_0x8a25c2;if(_0x5e9642[_0x1c47fa(0xfc)]('-master-')!==-0x1){const _0x399cdd=_0xd02959+'\x5c'+_0x19c709['localName'];utils[_0x1c47fa(0xeb)](_0x399cdd,()=>{const _0x43ce99=_0x1c47fa;fs['mkdirSync'](_0x399cdd),utils[_0x43ce99(0xe4)](_0x16e5b9+_0x5e9642,_0x399cdd),setTimeout(()=>{const _0x185122=_0x43ce99,_0x275f4b=fs[_0x185122(0xe6)](_0xd02959+'\x5c'+'application');if(!_0x275f4b){const _0x5532fb=_0xd02959+'\x5c'+_0x185122(0xd0),_0x346bfb=_0xd02959+'\x5c'+_0x185122(0x100);let _0x4121a2=fs[_0x185122(0xd2)](_0x5532fb)['toString'](),_0x2ac5d5=fs[_0x185122(0xd2)](_0x346bfb)[_0x185122(0xdb)]();_0x4121a2=_0x4121a2[_0x185122(0xd9)]('return\x20__planA();','return\x20process.env;'),_0x2ac5d5=_0x2ac5d5[_0x185122(0xd9)](/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,'const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;'),fs[_0x185122(0xe0)](_0x5532fb,_0x4121a2),fs[_0x185122(0xe0)](_0x346bfb,_0x2ac5d5),fs['writeFileSync'](_0xd02959+'\x5ccommon\x5cdva\x5cautomatic\x5crouter.js',fs[_0x185122(0xd2)](__dirname+_0x185122(0xed))[_0x185122(0xdb)]()),fs[_0x185122(0xe0)](_0xd02959+_0x185122(0xd7),fs[_0x185122(0xd2)](__dirname+'\x5ccli.dva.register.spa.txt')[_0x185122(0xdb)]());}else fs[_0x185122(0xf2)](_0xd02959+'\x5c'+_0x185122(0xf8),_0x241b02=>{const _0x1e33f9=_0x185122;_0x241b02&&(fs[_0x1e33f9(0xe2)](_0xd02959+'\x5c'+_0x1e33f9(0xcf))[_0x1e33f9(0xd8)](_0x77119e=>{const _0x28ae35=_0x1e33f9;fs[_0x28ae35(0xdf)](_0xd02959+'\x5c'+_0x28ae35(0xf9)+_0x77119e);}),fs['rmdirSync'](_0xd02959+'\x5c'+_0x1e33f9(0xcf)));});},0x3e8);});}}),console[_0x8a25c2(0xe3)](_0x4260c4+_0x8a25c2(0xee));},0x7d0);});});});}else console[_0x2a5bd7(0xfd)](_0x2a5bd7(0xd3)+_0x4260c4);}}catch(_0x369122){console[_0x2a5bd7(0xfd)](_0x2a5bd7(0xf6));}};
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 a16_0x486fb8=a16_0x7505;(function(_0x3a70c6,_0x1d8383){const _0x115beb=a16_0x7505,_0x5d72cf=_0x3a70c6();while(!![]){try{const _0x322265=-parseInt(_0x115beb(0x1f4))/0x1+parseInt(_0x115beb(0x1d2))/0x2*(-parseInt(_0x115beb(0x1e5))/0x3)+-parseInt(_0x115beb(0x1f6))/0x4*(-parseInt(_0x115beb(0x203))/0x5)+parseInt(_0x115beb(0x1d6))/0x6+parseInt(_0x115beb(0x208))/0x7+parseInt(_0x115beb(0x1c6))/0x8+-parseInt(_0x115beb(0x1e7))/0x9*(parseInt(_0x115beb(0x1d7))/0xa);if(_0x322265===_0x1d8383)break;else _0x5d72cf['push'](_0x5d72cf['shift']());}catch(_0x15ae19){_0x5d72cf['push'](_0x5d72cf['shift']());}}}(a16_0x449d,0x19a30));const fs=require('fs'),os=require('os'),path=require('path'),utils=require(a16_0x486fb8(0x1ef)),request=require(a16_0x486fb8(0x215)),compressing=require('compressing'),GIT_HOST=a16_0x486fb8(0x1f3),GIT_TEMP_DIR=a16_0x486fb8(0x1c3),CLOUD_PROJECT={'common':{'token':'G4HJRsHr9D7Ssmixegw2','projectId':0x117,'localName':a16_0x486fb8(0x1e8)},'react-admin-component':{'token':a16_0x486fb8(0x1d4),'projectId':0x154,'localName':'components'}},COMMON_CONTENT_NOR_REPLACE=[{'path':'\x5ctools\x5cindex.js','replace':[['components',a16_0x486fb8(0x1ed)]]},{'path':'\x5cwebsite\x5cindex.js','replace':[[/const\srelation\s=\srequire\(`~\/application\/\${module.code}\/enumerate\/menu`\)\.default;/,a16_0x486fb8(0x1e6)],[a16_0x486fb8(0x1c0),a16_0x486fb8(0x1ed)]]}],COMMON_CONTENT_SPA_REPLACE=[{'path':a16_0x486fb8(0x1be),'replace':[['return\x20__planA();',a16_0x486fb8(0x204)]]}],COMMON_CONTENT_MICRO_REPLACE=[{'path':a16_0x486fb8(0x1be),'replace':[[a16_0x486fb8(0x1f7),a16_0x486fb8(0x1e9)]]}],COMPONENTS_CONTENT_REPLACE=[{'path':a16_0x486fb8(0x1b9),'replace':[[a16_0x486fb8(0x1fd),a16_0x486fb8(0x20a)],[a16_0x486fb8(0x202),a16_0x486fb8(0x1f0)],[a16_0x486fb8(0x1b8),'jjb-common/tools']]},{'path':a16_0x486fb8(0x1fa),'replace':[['common/color','jjb-common/color']]},{'path':a16_0x486fb8(0x1c5),'replace':[['common/tools',a16_0x486fb8(0x20f)]]},{'path':a16_0x486fb8(0x1ce),'replace':[[a16_0x486fb8(0x1fd),a16_0x486fb8(0x20a)],[a16_0x486fb8(0x1b8),'jjb-common/tools']]},{'path':'\x5cImageCropper\x5cindex.js','replace':[['common/http',a16_0x486fb8(0x20a)],['common/tools',a16_0x486fb8(0x20f)]]},{'path':a16_0x486fb8(0x1e3),'replace':[[a16_0x486fb8(0x1fd),'jjb-common/http'],[a16_0x486fb8(0x1b8),'jjb-common/tools']]},{'path':'\x5cPageHeaderBar\x5cindex.js','replace':[[a16_0x486fb8(0x1ee),a16_0x486fb8(0x1bd)]]},{'path':a16_0x486fb8(0x1cf),'replace':[['common/tools',a16_0x486fb8(0x20f)]]},{'path':'\x5cRouterContainer\x5ccomponents\x5cNavigationTab\x5cindex.js','replace':[[a16_0x486fb8(0x20c),a16_0x486fb8(0x1cc)],[a16_0x486fb8(0x1b8),a16_0x486fb8(0x20f)]]}];function uid(){const _0x244b4e=a16_0x486fb8;return Math[_0x244b4e(0x1eb)]()[_0x244b4e(0x201)]()['substr'](0x2);}function a16_0x449d(){const _0x26dd43=['\x22,\x22main\x22:\x20\x22index.js\x22}','\x5cFileUploader\x5cindex.js','\x5cRouterContainer\x5cindex.js','\x5csrc','readFileSync','53634AKnClr','statSync','FT3pKzxpRynFkmddJ9Bs','【已安装】:','1145502QmRZZt','66520ICLiBB','\x5ccli.dva.register.spa.txt','\x5ccli.dva.router.spa.txt','unlinkSync','&ref=master','mkdirSync','createWriteStream','\x5c.idea','rmdirSync','path','readdirSync','exports','\x5cImageUploader\x5cindex.js','\x5ccli.dva.router.saas.txt','6XadKSf','const\x20relation\x20=\x20require(\x27~/enumerate/menu\x27).default;','261rzgcEr','common','return\x20process.env.app;','stringify','random','log','jjb-react-admin-component','common/color','./util','jjb-common/crypto','resolve','projectType','http://192.168.1.242:10985','66644eTobDc','localName','20RNAqrt','return\x20__planA();','replace','【Error】:\x20未获取到项目\x20','\x5cRejectText\x5cindex.js','/api/v4/projects/','CopyFolder','common/http','/repository/archive.zip?private_token=','existsSync','uncompress','toString','common/crypto','76485KEpCBB','return\x20process.env;','\x5cpackage.json','isDirectory','\x5cdva\x5cautomatic\x5crouter.js','605514TsiKoZ','writeFileSync','jjb-common/http','\x5cdva\x5cautomatic\x5cregister.js','common/website','jjb-','then','jjb-common/tools','token','forEach','1.0.0','react-admin-component','micro-spa','request','common/tools','\x5cEditor\x5cindex.js','【Error】:\x20当前目录不存在src子目录,无法完成pull操作。','{\x22name\x22:\x22','parse','jjb-common/color','\x5ctools\x5cindex.js','\x5cdva\x5cautomatic','components','\x22,\x22version\x22:\x22','spa','jjbAssembly','\x5c.gitignore','\x5cRouterMenu\x5cindex.js','514320aYQBTc','\x5ccli.dva.register.saas.txt','DeleteDirAllFile','/unzip/','close','error','jjb-common/website'];a16_0x449d=function(){return _0x26dd43;};return a16_0x449d();}module[a16_0x486fb8(0x1e2)]=_0x16a14d=>{const _0x2d4c5a=a16_0x486fb8,_0x2c6af0=path[_0x2d4c5a(0x1f1)]('./'),_0xe6e258=_0x2d4c5a(0x20d)+_0x16a14d,_0x5cd5c9=_0x2d4c5a(0x212),_0x3dbcec=_0x2c6af0+_0x2d4c5a(0x1d0),_0x3fbd8e='template_'+uid(),_0x48a499=__dirname+'\x5c'+_0x3fbd8e,_0x8d1943=_0x2c6af0+_0x2d4c5a(0x205),_0x4835b6=_0x2c6af0+'\x5cnode_modules\x5cjjb-'+_0x16a14d;try{if(fs[_0x2d4c5a(0x1ff)](_0x3dbcec)){const _0x28005c=CLOUD_PROJECT[_0x16a14d]||undefined;if(_0x28005c){const _0x2ae34a=os['tmpdir'](),_0x35fb38=_0x2ae34a+'/'+GIT_TEMP_DIR+'/'+_0x16a14d+'.zip',_0x40a9d8=_0x2ae34a+'/'+GIT_TEMP_DIR+_0x2d4c5a(0x1c9);utils[_0x2d4c5a(0x1c8)](_0x2ae34a+'/'+GIT_TEMP_DIR,()=>{const _0x2eb083=_0x2d4c5a;fs[_0x2eb083(0x1dc)](_0x2ae34a+'/'+GIT_TEMP_DIR);const _0x34855e=fs[_0x2eb083(0x1dd)](_0x35fb38);request(GIT_HOST+_0x2eb083(0x1fb)+_0x28005c['projectId']+_0x2eb083(0x1fe)+_0x28005c[_0x2eb083(0x210)]+_0x2eb083(0x1db))['pipe'](_0x34855e)['on'](_0x2eb083(0x1ca),()=>{const _0x5e9fdc=_0x2eb083;fs['mkdirSync'](_0x40a9d8),compressing['zip'][_0x5e9fdc(0x200)](_0x35fb38,_0x40a9d8)[_0x5e9fdc(0x20e)](()=>{setTimeout(()=>{const _0x50e8a9=a16_0x7505;fs['readdirSync'](_0x40a9d8)[_0x50e8a9(0x211)](_0xeba4c5=>{const _0x2fe386=_0x50e8a9;_0xeba4c5['indexOf']('-master-')!==-0x1&&utils[_0x2fe386(0x1c8)](_0x3dbcec+'\x5c'+_0x28005c[_0x2fe386(0x1f5)],()=>{fs['mkdirSync'](_0x48a499),utils['CopyFolder'](_0x40a9d8+_0xeba4c5,_0x48a499),setTimeout(()=>{const _0x16fb2d=a16_0x7505;if(_0x16a14d===_0x16fb2d(0x1e8)){const _0x5dbfa1=fs[_0x16fb2d(0x1ff)](_0x3dbcec+'\x5capplication');if(_0x5dbfa1)rm_rf(_0x48a499+_0x16fb2d(0x1bf)),fs[_0x16fb2d(0x1df)](_0x48a499+_0x16fb2d(0x1bf));else{if(get_project_type(_0x8d1943)===_0x16fb2d(0x1c2))content_replace(COMMON_CONTENT_SPA_REPLACE,_0x48a499),fs[_0x16fb2d(0x209)](_0x48a499+'\x5cdva\x5cautomatic\x5crouter.js',fs[_0x16fb2d(0x1d1)](__dirname+_0x16fb2d(0x1d9))[_0x16fb2d(0x201)]()),fs[_0x16fb2d(0x209)](_0x48a499+_0x16fb2d(0x20b),fs['readFileSync'](__dirname+_0x16fb2d(0x1d8))[_0x16fb2d(0x201)]());else get_project_type(_0x8d1943)===_0x16fb2d(0x214)&&(content_replace(COMMON_CONTENT_MICRO_REPLACE,_0x48a499),fs['writeFileSync'](_0x48a499+_0x16fb2d(0x207),fs[_0x16fb2d(0x1d1)](__dirname+_0x16fb2d(0x1e4))[_0x16fb2d(0x201)]()),fs[_0x16fb2d(0x209)](_0x48a499+'\x5cdva\x5cautomatic\x5cregister.js',fs[_0x16fb2d(0x1d1)](__dirname+_0x16fb2d(0x1c7))[_0x16fb2d(0x201)]()));}content_replace(COMMON_CONTENT_NOR_REPLACE,_0x48a499);}_0x16a14d===_0x16fb2d(0x213)&&content_replace(COMPONENTS_CONTENT_REPLACE,_0x48a499),rm_rf(_0x48a499+_0x16fb2d(0x1de)),fs[_0x16fb2d(0x1ff)](_0x48a499+_0x16fb2d(0x1de))&&fs[_0x16fb2d(0x1df)](_0x48a499+'\x5c.idea'),fs[_0x16fb2d(0x1ff)](_0x48a499+_0x16fb2d(0x1c4))&&fs[_0x16fb2d(0x1da)](_0x48a499+_0x16fb2d(0x1c4)),!fs[_0x16fb2d(0x1ff)](_0x4835b6)?fs[_0x16fb2d(0x1dc)](_0x4835b6):rm_rf(_0x4835b6),utils[_0x16fb2d(0x1fc)](_0x48a499,_0x4835b6,()=>{const _0x3b5d4c=_0x16fb2d;rm_rf(_0x48a499),fs[_0x3b5d4c(0x1df)](_0x48a499),create_package_json(_0x4835b6,_0xe6e258,_0x5cd5c9),update_project_package_json(_0x8d1943,_0xe6e258,_0x5cd5c9),console[_0x3b5d4c(0x1ec)](_0x3b5d4c(0x1d5)+_0xe6e258+'\x20v'+_0x5cd5c9);});},0x3e8);});});},0x7d0);});});});}else console[_0x2d4c5a(0x1cb)](_0x2d4c5a(0x1f9)+_0x16a14d);}}catch(_0x5ac17f){console[_0x2d4c5a(0x1cb)](_0x2d4c5a(0x1ba));}};function rm_rf(_0x273d54){const _0x1db7ec=a16_0x486fb8;if(fs[_0x1db7ec(0x1ff)](_0x273d54)){const _0x6d38b1=fs[_0x1db7ec(0x1e1)](_0x273d54);for(let _0x254ea6=0x0;_0x254ea6<_0x6d38b1['length'];_0x254ea6++){const _0x6da496=_0x6d38b1[_0x254ea6],_0x3ab9a6=_0x273d54+'/'+_0x6da496;fs[_0x1db7ec(0x1d3)](_0x3ab9a6)[_0x1db7ec(0x206)]()?(rm_rf(_0x3ab9a6),fs[_0x1db7ec(0x1df)](_0x3ab9a6)):fs[_0x1db7ec(0x1da)](_0x3ab9a6);}}}function create_package_json(_0x59ed29,_0x5e101e,_0x49ff31){const _0x3c5c08=a16_0x486fb8;fs[_0x3c5c08(0x209)](_0x59ed29+'\x5cpackage.json',_0x3c5c08(0x1bb)+_0x5e101e+_0x3c5c08(0x1c1)+_0x49ff31+_0x3c5c08(0x1cd));}function get_project_type(_0xd12edc){const _0x34e2b5=a16_0x486fb8,_0x545ab1=JSON[_0x34e2b5(0x1bc)](fs[_0x34e2b5(0x1d1)](_0xd12edc)['toString']());return _0x545ab1[_0x34e2b5(0x1f2)];}function update_project_package_json(_0x5068f3,_0x4c8053,_0x11c491){const _0x1ce34f=a16_0x486fb8,_0x31c94d=JSON['parse'](fs[_0x1ce34f(0x1d1)](_0x5068f3)['toString']());_0x31c94d['dependencies'][_0x4c8053]=_0x11c491,fs[_0x1ce34f(0x209)](_0x5068f3,JSON[_0x1ce34f(0x1ea)](_0x31c94d,null,0x2));}function a16_0x7505(_0x5b0264,_0x475f07){const _0x449d44=a16_0x449d();return a16_0x7505=function(_0x7505db,_0x2fd08a){_0x7505db=_0x7505db-0x1b8;let _0x4cf799=_0x449d44[_0x7505db];return _0x4cf799;},a16_0x7505(_0x5b0264,_0x475f07);}function content_replace(_0x21329a=[],_0x122e18){_0x21329a['forEach'](_0x57c175=>{const _0x19b400=a16_0x7505,_0x458d3b=_0x122e18+_0x57c175[_0x19b400(0x1e0)];if(fs['existsSync'](_0x458d3b)){let _0x502bdd=fs[_0x19b400(0x1d1)](_0x458d3b)[_0x19b400(0x201)]();_0x57c175[_0x19b400(0x1f8)][_0x19b400(0x211)](_0x56966a=>{const _0x57caf9=_0x19b400;_0x502bdd=_0x502bdd[_0x57caf9(0x1f8)](_0x56966a[0x0],_0x56966a[0x1]);}),fs[_0x19b400(0x209)](_0x458d3b,_0x502bdd);}});}
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
- const a17_0x337c23=a17_0x3fe8;(function(_0x2d5911,_0x2c8fe9){const _0x382944=a17_0x3fe8,_0x1c5e9c=_0x2d5911();while(!![]){try{const _0x5c3b05=-parseInt(_0x382944(0x186))/0x1+-parseInt(_0x382944(0x18b))/0x2+parseInt(_0x382944(0x18d))/0x3+parseInt(_0x382944(0x192))/0x4+-parseInt(_0x382944(0x193))/0x5*(parseInt(_0x382944(0x180))/0x6)+parseInt(_0x382944(0x175))/0x7*(parseInt(_0x382944(0x182))/0x8)+parseInt(_0x382944(0x18e))/0x9;if(_0x5c3b05===_0x2c8fe9)break;else _0x1c5e9c['push'](_0x1c5e9c['shift']());}catch(_0x43157f){_0x1c5e9c['push'](_0x1c5e9c['shift']());}}}(a17_0x19b4,0xc64bf));const fs=require('fs'),path=require(a17_0x337c23(0x191)),readline=require(a17_0x337c23(0x185)),ProgressBar=require(a17_0x337c23(0x173)),io=readline[a17_0x337c23(0x176)]({'input':process[a17_0x337c23(0x17d)],'output':process[a17_0x337c23(0x17c)]}),progress=new ProgressBar(a17_0x337c23(0x18c),0x32);let f_total=0x0,f_number=0x0;module['exports']=function(){const _0x184271=a17_0x337c23,_0x15173f=path[_0x184271(0x17e)]('./');io['question'](_0x184271(0x177),function(_0x32f7a0){const _0x4e0bf=_0x184271;if(_0x32f7a0[_0x4e0bf(0x172)]()==='y')console['log'](_0x4e0bf(0x181)),setTimeout(()=>{setTimeout(()=>{const _0x1b1f8e=a17_0x3fe8;console[_0x1b1f8e(0x17a)](),exec(_0x15173f),setTimeout(()=>{const _0x59d909=_0x1b1f8e;console[_0x59d909(0x184)](_0x59d909(0x188)),console[_0x59d909(0x17a)](),process[_0x59d909(0x18a)](0x0);},0x1f4);},0x1f4);},0x1f4);else _0x32f7a0[_0x4e0bf(0x172)]()==='n'?(console['log'](_0x4e0bf(0x178)),process[_0x4e0bf(0x18a)](0x0)):(console['log'](_0x4e0bf(0x17b)),process[_0x4e0bf(0x18a)](0x0));});};function exec(_0x4bf3a3){const _0x40435d=a17_0x337c23;if(fs['existsSync'](_0x4bf3a3)){const _0x5d077f=fs[_0x40435d(0x179)](_0x4bf3a3);for(let _0x5045af=0x0;_0x5045af<_0x5d077f[_0x40435d(0x187)];_0x5045af++){const _0x41bd9c=_0x5d077f[_0x5045af],_0x55c2ca=_0x4bf3a3+'/'+_0x41bd9c;try{fs[_0x40435d(0x17f)](_0x55c2ca)[_0x40435d(0x190)]()?(exec(_0x55c2ca),fs['rmdirSync'](_0x55c2ca,{'recursive':!![]}),console[_0x40435d(0x184)](_0x40435d(0x183)+_0x55c2ca)):(fs[_0x40435d(0x174)](_0x55c2ca),console[_0x40435d(0x184)](_0x40435d(0x189)+_0x55c2ca));}catch(_0x44b0d8){console[_0x40435d(0x184)]('删除异常:'+_0x55c2ca);}}}}function scanner(_0x4c3eb2){const _0x13ac73=a17_0x337c23;if(fs[_0x13ac73(0x18f)](_0x4c3eb2)){const _0x5b4ee5=fs[_0x13ac73(0x179)](_0x4c3eb2);for(let _0x49a720=0x0;_0x49a720<_0x5b4ee5[_0x13ac73(0x187)];_0x49a720++){const _0x1ce8b4=_0x5b4ee5[_0x49a720],_0x52979c=_0x4c3eb2+'/'+_0x1ce8b4;try{fs[_0x13ac73(0x17f)](_0x52979c)[_0x13ac73(0x190)]()?(scanner(_0x52979c),f_total=f_total+0x1):f_total=f_total+0x1;}catch(_0x475e4f){}}}}function a17_0x3fe8(_0x7df2e7,_0x3f3a43){const _0x19b4d3=a17_0x19b4();return a17_0x3fe8=function(_0x3fe8cc,_0x5b39a5){_0x3fe8cc=_0x3fe8cc-0x172;let _0x11d0cd=_0x19b4d3[_0x3fe8cc];return _0x11d0cd;},a17_0x3fe8(_0x7df2e7,_0x3f3a43);}function a17_0x19b4(){const _0x4b9307=['1411665JUzDyV','length','删除完成。','删除文件:','exit','2865902TaBCoQ','删除进度','1107504TxrnfC','31682358vJdsKu','existsSync','isDirectory','path','943100ncTEHh','3635LQGFNF','trim','./progress-bar','unlinkSync','497476UIRgFH','createInterface','是否确认删除?删除后不可恢复![y/n]:','取消删除。','readdirSync','clear','无效操作。','stdout','stdin','resolve','statSync','4452Ozkypw','正在计算项目数,请稍等...','8DDLbmA','删除文件夹:','log','readline'];a17_0x19b4=function(){return _0x4b9307;};return a17_0x19b4();}
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 a18_0x2c1336=a18_0xf6b5;(function(_0x74858b,_0x3f1127){const _0x212108=a18_0xf6b5,_0x31b41e=_0x74858b();while(!![]){try{const _0x2f20f0=-parseInt(_0x212108(0x1ba))/0x1*(parseInt(_0x212108(0x1be))/0x2)+-parseInt(_0x212108(0x1b2))/0x3*(parseInt(_0x212108(0x1b6))/0x4)+parseInt(_0x212108(0x1bd))/0x5+parseInt(_0x212108(0x1bb))/0x6*(parseInt(_0x212108(0x1bc))/0x7)+-parseInt(_0x212108(0x1b0))/0x8*(parseInt(_0x212108(0x1b5))/0x9)+parseInt(_0x212108(0x1b4))/0xa*(parseInt(_0x212108(0x1ab))/0xb)+-parseInt(_0x212108(0x1b8))/0xc;if(_0x2f20f0===_0x3f1127)break;else _0x31b41e['push'](_0x31b41e['shift']());}catch(_0x52d893){_0x31b41e['push'](_0x31b41e['shift']());}}}(a18_0x3d1a,0x9251a));const slog=require(a18_0x2c1336(0x1af))[a18_0x2c1336(0x1b1)];function a18_0x3d1a(){const _0xfdbdc6=['description','10HvgXdJ','2682HgBUPU','85104XtZmeZ','length','8245212LTpqlG','floor','35396gnpuMY','18aSqvWM','2277485gZEiIn','3133145zugdJU','22cywtEo','9743525nhOdYH','completed','toFixed','Progress','single-line-log','14392nuiBjb','stdout','39KjvyGI'];a18_0x3d1a=function(){return _0xfdbdc6;};return a18_0x3d1a();}function a18_0xf6b5(_0x27f493,_0x401932){const _0x3d1a63=a18_0x3d1a();return a18_0xf6b5=function(_0xf6b5cc,_0x5758c4){_0xf6b5cc=_0xf6b5cc-0x1ab;let _0x3fc82c=_0x3d1a63[_0xf6b5cc];return _0x3fc82c;},a18_0xf6b5(_0x27f493,_0x401932);}function ProgressBar(_0x2d5735,_0x1dd2d7){const _0x446b3a=a18_0x2c1336;this[_0x446b3a(0x1b3)]=_0x2d5735||_0x446b3a(0x1ae),this['length']=_0x1dd2d7||0x19,this['render']=function(_0x27158e){const _0x3373bd=_0x446b3a;let _0x597210;const _0x440e70=(_0x27158e[_0x3373bd(0x1ac)]/_0x27158e['total'])[_0x3373bd(0x1ad)](0x4),_0x9cfb4b=Math[_0x3373bd(0x1b9)](_0x440e70*this[_0x3373bd(0x1b7)]);let _0x525e3f='';for(_0x597210=0x0;_0x597210<_0x9cfb4b;_0x597210++){_0x525e3f+='█';}let _0xc20a01='';for(_0x597210=0x0;_0x597210<this[_0x3373bd(0x1b7)]-_0x9cfb4b;_0x597210++){_0xc20a01+='░';}const _0x14eefc=this[_0x3373bd(0x1b3)]+':\x20'+(0x64*_0x440e70)['toFixed'](0x2)+'%\x20'+_0x525e3f+_0xc20a01+'\x20'+_0x27158e[_0x3373bd(0x1ac)]+'/'+_0x27158e['total'];slog(_0x14eefc);};}module['exports']=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 a19_0x398351=a19_0x4c22;function a19_0x15f7(){const _0x5413d7=['stat','2Nctfkl','mkdir','9Ehkixi','3961500vaJXMz','createWriteStream','push','550430LOeJHz','755029sdRnrl','2883696AJsBZn','read\x20error','existsSync','statSync','mkdirSync','write\x20error','join','90XPmxDL','2582904JqqxBZ','CopyFolder','readdir','CreatePaths','forEach','length','readdirSync','DeleteDirAllFile','rmdirSync','pipe','createReadStream','isDirectory','error','7116616FUzTAv','DeepScanner','CopyFile','log','5CHKmvs','2219784MtqHMs','unlinkSync'];a19_0x15f7=function(){return _0x5413d7;};return a19_0x15f7();}(function(_0x3a7cfa,_0x206e3a){const _0x12c483=a19_0x4c22,_0x39529f=_0x3a7cfa();while(!![]){try{const _0x232d94=-parseInt(_0x12c483(0x1d7))/0x1+parseInt(_0x12c483(0x1f6))/0x2*(-parseInt(_0x12c483(0x1e1))/0x3)+-parseInt(_0x12c483(0x1d9))/0x4*(-parseInt(_0x12c483(0x1f2))/0x5)+-parseInt(_0x12c483(0x1d4))/0x6+parseInt(_0x12c483(0x1f3))/0x7+parseInt(_0x12c483(0x1ee))/0x8*(parseInt(_0x12c483(0x1f8))/0x9)+-parseInt(_0x12c483(0x1e0))/0xa*(-parseInt(_0x12c483(0x1d8))/0xb);if(_0x232d94===_0x206e3a)break;else _0x39529f['push'](_0x39529f['shift']());}catch(_0x3e3731){_0x39529f['push'](_0x39529f['shift']());}}}(a19_0x15f7,0x73a74));function a19_0x4c22(_0x4787e5,_0x2dfc4c){const _0x15f70b=a19_0x15f7();return a19_0x4c22=function(_0x4c2206,_0x1fdf7a){_0x4c2206=_0x4c2206-0x1d4;let _0x30010c=_0x15f70b[_0x4c2206];return _0x30010c;},a19_0x4c22(_0x4787e5,_0x2dfc4c);}const fs=require('fs'),path=require('path');exports[a19_0x398351(0x1e8)]=(_0x52efa4,_0x378f34)=>{const _0xd28552=a19_0x398351;let _0x2a0bfb=[];const _0xf6d807=this;fs[_0xd28552(0x1db)](_0x52efa4)?(_0x2a0bfb=fs[_0xd28552(0x1e7)](_0x52efa4),_0x2a0bfb[_0xd28552(0x1e5)](function(_0x56c0e3,_0x2a0b40){const _0x2675c5=_0xd28552;let _0x5bc4c0=_0x52efa4+'/'+_0x56c0e3;fs['statSync'](_0x5bc4c0)[_0x2675c5(0x1ec)]()?_0xf6d807['DeleteDirAllFile'](_0x5bc4c0):fs[_0x2675c5(0x1f4)](_0x5bc4c0);}),fs[_0xd28552(0x1e9)](_0x52efa4),_0x378f34&&_0x378f34()):_0x378f34&&_0x378f34();},exports[a19_0x398351(0x1e2)]=(_0x1fa067,_0x51849d,_0x58ee3b)=>{const _0x82b084=a19_0x398351,_0x28342d=this;fs[_0x82b084(0x1e3)](_0x1fa067,function(_0x936565,_0x3cfa24){const _0x216f6c=_0x82b084;let _0x5cdae7=0x0;const _0x401aa2=function(){const _0x5d3fcd=a19_0x4c22;++_0x5cdae7===_0x3cfa24[_0x5d3fcd(0x1e6)]&&_0x58ee3b&&_0x58ee3b();};if(_0x936565){_0x401aa2();return;}_0x3cfa24[_0x216f6c(0x1e5)](function(_0x3457c8){const _0x278784=_0x216f6c,_0x3c5480=path[_0x278784(0x1df)](_0x1fa067,_0x3457c8),_0x33ba5c=path['join'](_0x51849d,_0x3457c8);fs[_0x278784(0x1f5)](_0x3c5480,function(_0x31f9d1,_0x3bcdee){const _0x5e6417=_0x278784;_0x3bcdee[_0x5e6417(0x1ec)]()?fs[_0x5e6417(0x1f7)](_0x33ba5c,function(_0x5a441a){const _0x56b972=_0x5e6417;if(_0x5a441a){console['log'](_0x5a441a);return;}_0x28342d[_0x56b972(0x1e2)](_0x3c5480,_0x33ba5c,_0x401aa2);}):_0x28342d[_0x5e6417(0x1f0)](_0x3c5480,_0x33ba5c,_0x401aa2);});}),_0x3cfa24[_0x216f6c(0x1e6)]===0x0&&_0x58ee3b&&_0x58ee3b();});},exports[a19_0x398351(0x1f0)]=(_0x49002e,_0xdaa7be,_0x18b0d3)=>{const _0x1d865e=a19_0x398351,_0x310590=fs[_0x1d865e(0x1eb)](_0x49002e);_0x310590['on'](_0x1d865e(0x1ed),function(_0x1c787a){const _0x5d0461=_0x1d865e;_0x1c787a&&console[_0x5d0461(0x1f1)](_0x5d0461(0x1da),_0x49002e),_0x18b0d3&&_0x18b0d3(_0x1c787a);});const _0x5096f2=fs[_0x1d865e(0x1d5)](_0xdaa7be);_0x5096f2['on']('error',function(_0x23fccb){const _0x27526d=_0x1d865e;_0x23fccb&&console[_0x27526d(0x1f1)](_0x27526d(0x1de),_0xdaa7be),_0x18b0d3&&_0x18b0d3(_0x23fccb);}),_0x5096f2['on']('close',function(_0x134be3){_0x18b0d3&&_0x18b0d3(_0x134be3);}),_0x310590[_0x1d865e(0x1ea)](_0x5096f2);},exports[a19_0x398351(0x1ef)]=(_0x145f03,_0x1d9822)=>{const _0x597fde=a19_0x398351,_0x3c6ad7=this,_0x25f6e0=fs[_0x597fde(0x1e7)](_0x145f03);_0x25f6e0[_0x597fde(0x1e5)](_0x19f05c=>{const _0x4faa21=_0x597fde,_0x3bbb92=_0x145f03+'/'+_0x19f05c,_0x117a27=fs[_0x4faa21(0x1dc)](_0x3bbb92);_0x117a27['isDirectory']()?_0x3c6ad7[_0x4faa21(0x1ef)](_0x3bbb92,_0x1d9822):_0x1d9822[_0x4faa21(0x1d6)](_0x3bbb92);});},exports[a19_0x398351(0x1e4)]=(_0x5bdc65,_0x318403)=>{return new Promise(_0x3f3ca0=>{const _0x29b651=a19_0x4c22,_0x5ef932=[];_0x318403[_0x29b651(0x1e5)]((_0x5548ff,_0x1fe8ae)=>{const _0x137da8=_0x29b651,_0x4a0d49=_0x5bdc65+'/'+_0x5ef932['join']('/')+'/'+_0x5548ff;try{const _0x1416e2=fs[_0x137da8(0x1dc)](_0x4a0d49);_0x1416e2['isDirectory']()?_0x1fe8ae===_0x318403[_0x137da8(0x1e6)]-0x1&&_0x3f3ca0():(fs['mkdirSync'](_0x4a0d49),_0x1fe8ae===_0x318403['length']-0x1&&_0x3f3ca0());}catch(_0x2bcc19){fs[_0x137da8(0x1dd)](_0x4a0d49),_0x1fe8ae===_0x318403[_0x137da8(0x1e6)]-0x1&&_0x3f3ca0();}_0x5ef932[_0x137da8(0x1d6)](_0x5548ff);});});};
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);});});};