zmp-cli 3.15.12 → 3.15.14

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.
Files changed (42) hide show
  1. package/build/index.js +1 -1
  2. package/config/index.js +1 -1
  3. package/create/index.js +1 -1
  4. package/create/utils/generate-app-config.js +1 -1
  5. package/create/utils/generate-npm-scripts.js +1 -1
  6. package/create/utils/get-options.js +1 -1
  7. package/create/utils/npm-scripts.js +1 -1
  8. package/deploy/index.js +1 -1
  9. package/deploy/utils/get-options.js +1 -1
  10. package/deploy/utils/request-upload.js +1 -1
  11. package/deploy/utils/upload-app.js +1 -1
  12. package/index.js +1 -1
  13. package/login/index.js +1 -1
  14. package/login/utils/get-options.js +1 -1
  15. package/login/utils/zalo-login.js +1 -1
  16. package/migrate/icons/update-icon-v3.js +1 -1
  17. package/migrate/index.js +1 -1
  18. package/migrate/utils/get-options.js +1 -1
  19. package/migrate/utils/migrate-react.js +1 -1
  20. package/package.json +11 -2
  21. package/start/index.js +1 -1
  22. package/sync/index-to-app-config.js +1 -1
  23. package/sync/index.js +1 -1
  24. package/utils/axios.js +1 -1
  25. package/utils/check-update.js +1 -1
  26. package/utils/constants.js +1 -1
  27. package/utils/env.js +1 -1
  28. package/utils/error.js +1 -1
  29. package/utils/find-files-by-ext.js +1 -1
  30. package/utils/find-free-port.js +1 -1
  31. package/utils/fs-extra.js +1 -1
  32. package/utils/generate-pages-map.js +1 -1
  33. package/utils/get-app-info.js +1 -1
  34. package/utils/get-current-project.js +1 -1
  35. package/utils/get-ip.js +1 -1
  36. package/utils/get-latest-version.js +1 -1
  37. package/utils/log.js +1 -1
  38. package/utils/node-blob.js +1 -1
  39. package/utils/resumable.d.js +1 -1
  40. package/utils/resumable.js +1 -1
  41. package/utils/spinner.js +1 -1
  42. package/utils/tunnel.js +1 -1
@@ -1 +1 @@
1
- 'use strict';function _0x523b(){const _0x43af98=['then','list','other','1978228AbGVkf','94286oGejEt','29529lWuoqT','prompt','Icons\x20(fix\x20icon\x20not\x20displayed\x20in\x20iOS\x20v16+)','35bujAOx','Choose\x20which\x20framework\x20or\x20library\x20used\x20in\x20your\x20project','1706886QPRThr','Other','iconsv3','10NKZeSg','487698PhzZoN','v1tov2','4279oCujdw','1150dxZcWf','migrateVersion','inquirer','Version\x201\x20=>\x20Version\x202','zmp-ui','2847580DVxvaK','zmp-framework','1192fhlons'];_0x523b=function(){return _0x43af98;};return _0x523b();}const _0x180157=_0x133b;function _0x133b(_0x1dc590,_0x32dd9a){const _0x523bf0=_0x523b();return _0x133b=function(_0x133b1a,_0x19a657){_0x133b1a=_0x133b1a-0xcf;let _0x3a08f2=_0x523bf0[_0x133b1a];return _0x3a08f2;},_0x133b(_0x1dc590,_0x32dd9a);}(function(_0x7b91fe,_0xe758bf){const _0xbc367=_0x133b,_0x5941f9=_0x7b91fe();while(!![]){try{const _0x712cef=-parseInt(_0xbc367(0xd4))/0x1*(parseInt(_0xbc367(0xdd))/0x2)+parseInt(_0xbc367(0xda))/0x3+-parseInt(_0xbc367(0xd3))/0x4+parseInt(_0xbc367(0xe6))/0x5+-parseInt(_0xbc367(0xde))/0x6*(parseInt(_0xbc367(0xd8))/0x7)+-parseInt(_0xbc367(0xcf))/0x8*(-parseInt(_0xbc367(0xd5))/0x9)+parseInt(_0xbc367(0xe1))/0xa*(parseInt(_0xbc367(0xe0))/0xb);if(_0x712cef===_0xe758bf)break;else _0x5941f9['push'](_0x5941f9['shift']());}catch(_0x5dba9c){_0x5941f9['push'](_0x5941f9['shift']());}}}(_0x523b,0x492a0));const e=require(_0x180157(0xe3)),r=[{'type':_0x180157(0xd1),'name':'migrateVersion','message':'What\x20version\x20do\x20you\x20want\x20to\x20migrate?','choices':[{'name':_0x180157(0xe4),'value':_0x180157(0xdf)},{'name':_0x180157(0xd7),'value':'iconsv3'}]},{'type':_0x180157(0xd1),'name':'uiFramework','message':_0x180157(0xd9),'when':_0x4923e2=>_0x180157(0xdc)===_0x4923e2[_0x180157(0xe2)],'choices':[{'name':'zmp-framework','value':_0x180157(0xe7)},{'name':_0x180157(0xe5),'value':_0x180157(0xe5)},{'name':_0x180157(0xdb),'value':_0x180157(0xd2)}]}];module['exports']=function(){const _0x20f9be=_0x180157;return e[_0x20f9be(0xd6)](r)[_0x20f9be(0xd0)](_0x2fea47=>Promise['resolve'](_0x2fea47));};
1
+ 'use strict';const _0x281ff4=_0x4849;function _0x4849(_0x4a19a1,_0x399b53){const _0x11bf18=_0x11bf();return _0x4849=function(_0x48498a,_0x27a692){_0x48498a=_0x48498a-0x195;let _0x4ea6ec=_0x11bf18[_0x48498a];return _0x4ea6ec;},_0x4849(_0x4a19a1,_0x399b53);}(function(_0x5859b5,_0x4692ed){const _0x5968e4=_0x4849,_0x1f2672=_0x5859b5();while(!![]){try{const _0x65fe5d=parseInt(_0x5968e4(0x1a1))/0x1+parseInt(_0x5968e4(0x1a9))/0x2+parseInt(_0x5968e4(0x1a5))/0x3*(parseInt(_0x5968e4(0x1a8))/0x4)+parseInt(_0x5968e4(0x1a2))/0x5+-parseInt(_0x5968e4(0x1a6))/0x6+parseInt(_0x5968e4(0x19e))/0x7*(parseInt(_0x5968e4(0x199))/0x8)+-parseInt(_0x5968e4(0x198))/0x9;if(_0x65fe5d===_0x4692ed)break;else _0x1f2672['push'](_0x1f2672['shift']());}catch(_0x3a35e6){_0x1f2672['push'](_0x1f2672['shift']());}}}(_0x11bf,0xa26a3));function _0x11bf(){const _0x3646d9=['iconsv3','130188rQKPmG','1210238JFiKEe','migrateVersion','Icons\x20(fix\x20icon\x20not\x20displayed\x20in\x20iOS\x20v16+)','uiFramework','resolve','list','prompt','8879103ogShVy','656eNdMzG','inquirer','exports','zmp-framework','Choose\x20which\x20framework\x20or\x20library\x20used\x20in\x20your\x20project','9751iTDwfK','then','v1tov2','615243QhzzEt','269690Uwqidk','Version\x201\x20=>\x20Version\x202','zmp-ui','114HiVYuZ','5840964kcRKkQ'];_0x11bf=function(){return _0x3646d9;};return _0x11bf();}const e=require(_0x281ff4(0x19a)),r=[{'type':_0x281ff4(0x196),'name':_0x281ff4(0x1aa),'message':'What\x20version\x20do\x20you\x20want\x20to\x20migrate?','choices':[{'name':_0x281ff4(0x1a3),'value':_0x281ff4(0x1a0)},{'name':_0x281ff4(0x1ab),'value':_0x281ff4(0x1a7)}]},{'type':_0x281ff4(0x196),'name':_0x281ff4(0x1ac),'message':_0x281ff4(0x19d),'when':_0x178e0c=>_0x281ff4(0x1a7)===_0x178e0c[_0x281ff4(0x1aa)],'choices':[{'name':'zmp-framework','value':_0x281ff4(0x19c)},{'name':'zmp-ui','value':_0x281ff4(0x1a4)},{'name':'Other','value':'other'}]}];module[_0x281ff4(0x19b)]=function(){const _0x291d39=_0x281ff4;return e[_0x291d39(0x197)](r)[_0x291d39(0x19f)](_0x1cda9e=>Promise[_0x291d39(0x195)](_0x1cda9e));};
@@ -1 +1 @@
1
- 'use strict';const _0x1edad3=_0x44bc;function _0x44bc(_0x759d9b,_0x48bd4e){const _0x18e270=_0x18e2();return _0x44bc=function(_0x44bc03,_0x1906c8){_0x44bc03=_0x44bc03-0x1e3;let _0x17e44e=_0x18e270[_0x44bc03];return _0x17e44e;},_0x44bc(_0x759d9b,_0x48bd4e);}(function(_0x96edac,_0x38329c){const _0x28d78d=_0x44bc,_0x3fec98=_0x96edac();while(!![]){try{const _0x4d0e4a=parseInt(_0x28d78d(0x1e3))/0x1*(-parseInt(_0x28d78d(0x1ec))/0x2)+parseInt(_0x28d78d(0x1e6))/0x3*(-parseInt(_0x28d78d(0x1ed))/0x4)+parseInt(_0x28d78d(0x1e9))/0x5+parseInt(_0x28d78d(0x1f5))/0x6+parseInt(_0x28d78d(0x1ef))/0x7*(-parseInt(_0x28d78d(0x1ea))/0x8)+-parseInt(_0x28d78d(0x1eb))/0x9+parseInt(_0x28d78d(0x1f4))/0xa;if(_0x4d0e4a===_0x38329c)break;else _0x3fec98['push'](_0x3fec98['shift']());}catch(_0x4a32fa){_0x3fec98['push'](_0x3fec98['shift']());}}}(_0x18e2,0x23e82));const e=require(_0x1edad3(0x1fb)),i=require(_0x1edad3(0x1f6)),t=require(_0x1edad3(0x1f1)),s=require(_0x1edad3(0x1fa)),r=require(_0x1edad3(0x1f8));function _0x18e2(){const _0x280579=['v1tov2','4128400QacaMH','1088976YaTRBR','../../utils/fs-extra','../templates/v2/vite.config.js','../icons/update-icon-v3','cwd','exec-sh','../templates/v2/generate-index.react','vite.config.js','join','1019KXdunM','exports','npm\x20install\x20vite\x20@vitejs/plugin-react-refresh\x20--save-dev','4332EJXFgD','migrateVersion','writeFileSync','740760gZYFru','1888InCHIR','896157NGMpgR','206gdpeRp','448jCHWDB','iconsv3','6797qyRLEo','resolve','path','index.html'];_0x18e2=function(){return _0x280579;};return _0x18e2();}async function a(_0x8156ea){const _0x5a0c86=_0x1edad3;let _0x20f7c6=e(_0x8156ea);i[_0x5a0c86(0x1e8)](t[_0x5a0c86(0x1fd)](_0x8156ea['cwd'],_0x5a0c86(0x1f2)),_0x20f7c6),i['copyFileAsync'](t[_0x5a0c86(0x1f0)](__dirname,_0x5a0c86(0x1f7)),t[_0x5a0c86(0x1f0)](_0x8156ea[_0x5a0c86(0x1f9)],_0x5a0c86(0x1fc))),await s['promise'](_0x5a0c86(0x1e5),!0x0);}async function n(_0x1409d5){const _0x16c16c=_0x1edad3;switch(_0x1409d5[_0x16c16c(0x1e7)]){case _0x16c16c(0x1f3):await a(_0x1409d5);break;case _0x16c16c(0x1ee):await r(_0x1409d5);}}module[_0x1edad3(0x1e4)]=n;
1
+ 'use strict';const _0xbdd5cb=_0x4a2e;function _0x425a(){const _0x107373=['../../utils/fs-extra','976oSuEiF','2088rLhxvN','../icons/update-icon-v3','../templates/v2/generate-index.react','1706747jfolka','npm\x20install\x20vite\x20@vitejs/plugin-react-refresh\x20--save-dev','93mLVxEw','15970493YVymhB','238066yxwOAw','index.html','vite.config.js','iconsv3','writeFileSync','copyFileAsync','cwd','6MSqnDa','path','exports','7655kqwboH','migrateVersion','74338RUOVTP','39270wkyqOe','resolve','6590272gDTJjY'];_0x425a=function(){return _0x107373;};return _0x425a();}(function(_0xf88269,_0x3a5824){const _0x40f3f4=_0x4a2e,_0x40ab5e=_0xf88269();while(!![]){try{const _0x266b32=-parseInt(_0x40f3f4(0x115))/0x1+-parseInt(_0x40f3f4(0x121))/0x2*(parseInt(_0x40f3f4(0x113))/0x3)+-parseInt(_0x40f3f4(0x126))/0x4*(-parseInt(_0x40f3f4(0x11f))/0x5)+-parseInt(_0x40f3f4(0x11c))/0x6*(-parseInt(_0x40f3f4(0x111))/0x7)+parseInt(_0x40f3f4(0x124))/0x8+-parseInt(_0x40f3f4(0x127))/0x9*(parseInt(_0x40f3f4(0x122))/0xa)+parseInt(_0x40f3f4(0x114))/0xb;if(_0x266b32===_0x3a5824)break;else _0x40ab5e['push'](_0x40ab5e['shift']());}catch(_0x837907){_0x40ab5e['push'](_0x40ab5e['shift']());}}}(_0x425a,0x9072f));const e=require(_0xbdd5cb(0x110)),i=require(_0xbdd5cb(0x125)),t=require(_0xbdd5cb(0x11d)),s=require('exec-sh'),r=require(_0xbdd5cb(0x10f));async function a(_0xbfd313){const _0x9a2349=_0xbdd5cb;let _0xc19d2d=e(_0xbfd313);i[_0x9a2349(0x119)](t['join'](_0xbfd313[_0x9a2349(0x11b)],_0x9a2349(0x116)),_0xc19d2d),i[_0x9a2349(0x11a)](t['resolve'](__dirname,'../templates/v2/vite.config.js'),t[_0x9a2349(0x123)](_0xbfd313['cwd'],_0x9a2349(0x117))),await s['promise'](_0x9a2349(0x112),!0x0);}function _0x4a2e(_0x1d18a7,_0x432617){const _0x425a5c=_0x425a();return _0x4a2e=function(_0x4a2ed1,_0x1a1389){_0x4a2ed1=_0x4a2ed1-0x10f;let _0x755c48=_0x425a5c[_0x4a2ed1];return _0x755c48;},_0x4a2e(_0x1d18a7,_0x432617);}async function n(_0x1d397c){const _0x7531b3=_0xbdd5cb;switch(_0x1d397c[_0x7531b3(0x120)]){case'v1tov2':await a(_0x1d397c);break;case _0x7531b3(0x118):await r(_0x1d397c);}}module[_0xbdd5cb(0x11e)]=n;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmp-cli",
3
- "version": "3.15.12",
3
+ "version": "3.15.14",
4
4
  "description": "ZMP command line utility (CLI)",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -23,7 +23,7 @@
23
23
  "body-parser": "^1.19.0",
24
24
  "browser-sync": "^2.26.14",
25
25
  "chalk": "^4.1.2",
26
- "chii": "^1.9.0",
26
+ "chii": "^1.15.3",
27
27
  "clear": "^0.1.0",
28
28
  "cli-progress": "^3.9.0",
29
29
  "clui": "^0.3.6",
@@ -76,5 +76,14 @@
76
76
  "xmlhttprequest": "^1.8.0",
77
77
  "zip-local": "^0.3.4",
78
78
  "zmp-cli-core": "~1.0.11"
79
+ },
80
+ "overrides": {
81
+ "chii": {
82
+ "koa-router": "~13.0.1"
83
+ }
84
+ },
85
+ "resolutions": {
86
+ "strip-ansi": "6.0.0",
87
+ "koa-router": "~13.0.1"
79
88
  }
80
89
  }
package/start/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x278cc7=_0x3da2;(function(_0x4708b2,_0x296804){const _0x27e539=_0x3da2,_0x222ebe=_0x4708b2();while(!![]){try{const _0x14f04e=parseInt(_0x27e539(0x164))/0x1*(-parseInt(_0x27e539(0x161))/0x2)+-parseInt(_0x27e539(0x181))/0x3+parseInt(_0x27e539(0x142))/0x4+-parseInt(_0x27e539(0x179))/0x5+-parseInt(_0x27e539(0x168))/0x6*(parseInt(_0x27e539(0x173))/0x7)+-parseInt(_0x27e539(0x14d))/0x8*(-parseInt(_0x27e539(0x18e))/0x9)+parseInt(_0x27e539(0x182))/0xa;if(_0x14f04e===_0x296804)break;else _0x222ebe['push'](_0x222ebe['shift']());}catch(_0x4e5609){_0x222ebe['push'](_0x222ebe['shift']());}}}(_0x14ec,0x5f644));function _0x3da2(_0xa09468,_0x4a075d){const _0x14ec3a=_0x14ec();return _0x3da2=function(_0x3da288,_0x2f0302){_0x3da288=_0x3da288-0x133;let _0x20fc50=_0x14ec3a[_0x3da288];return _0x20fc50;},_0x3da2(_0xa09468,_0x4a075d);}function _0x14ec(){const _0x124473=['/?env=TESTING_LOCAL&clientIp=http://','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a','Google\x20Chrome','filename','2798MQLCUI','Chromium-based','vite','355sVGNpq','data','Trying\x20reverse\x20socket\x20connection','Error\x20starting\x20project','17772zgsuVZ','qrcode-terminal','/src/app.js','path','stdout','toString','listen','../utils/tunnel','app','spawn','appId','70tuJkoP','httpServer','stderr','/?env=TESTING_LOCAL&clientIp=','log-symbols','\x20browser.','2153095ILLnNT','\x20in\x20','port','existsSync','printUrls','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x20','../config','adb\x20reverse\x20error:\x20','1609284KrKyPl','6897340ciHBHh','isArray','/target.js\x27;\x20document.body.appendChild(script);\x20})()','join','stop','Starting\x20mini\x20app...','ora','mode','text','red','\x20or\x20a\x20','zmp-cli-core','768906ntNAZl','server','chalk','listJS','To\x20inspect\x20your\x20app,\x20open:\x20http://localhost:','getEnv','blue','reverse','../utils/fs-extra','previewOnZalo','appConfigJson','bold','/frame','env','stringify','text/javascript','address','module','Remote\x20debugging\x20tool\x20is\x20running\x20at:\x20http://localhost:','0.0.0.0','random','2043320ShWxQV','../utils/find-free-port','start','adb','(function\x20()\x20{\x20var\x20script\x20=\x20document.createElement(\x27script\x27);\x20script.src=\x27http://','remote-debug-script','parse','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','config','writeFileSync','https://zalo.me/app/link/zapps/','64TZsvJx','logger','../utils/error','generate','splice','yellow','push','devices','appConfig','info','tcp:','green','findIndex','localhost','hr.config.json','readFileSync'];_0x14ec=function(){return _0x124473;};return _0x14ec();}const e=require(_0x278cc7(0x190)),r=require(_0x278cc7(0x188)),t=require(_0x278cc7(0x16b)),i=require(_0x278cc7(0x169)),o=require(_0x278cc7(0x177)),n=require('chii'),{hri:s}=require('human-readable-ids'),{startLocal:a,startDevice:p}=require(_0x278cc7(0x18d)),l=require(_0x278cc7(0x17f)),c=require('../utils/env'),{errorExit:d}=require(_0x278cc7(0x14f)),u=require(_0x278cc7(0x135)),f=require(_0x278cc7(0x143)),{openTunnel:g}=require(_0x278cc7(0x16f)),$=r(_0x278cc7(0x187));module['exports']=async(_0x51c657={},_0x3a4ec9)=>{const _0x4de5e1=_0x278cc7;let _0x48f2dd;_0x3a4ec9||(_0x3a4ec9={'statusStart'(){},'statusDone'(){},'statusError'(){},'text'(){},'error'(){}}),$[_0x4de5e1(0x144)]();let _0x5b4897=_0x51c657['cwd']||process['cwd'](),_0x247db0=_0x51c657[_0x4de5e1(0x172)]||c[_0x4de5e1(0x193)](l[_0x4de5e1(0x13a)][_0x4de5e1(0x172)]),_0x324ad3=_0x51c657[_0x4de5e1(0x136)],_0x55e781=_0x51c657['ios'],_0x2866c8=_0x51c657['iosHostName'],_0x340739=_0x51c657['frame'],_0x5152d7=_0x55e781?_0x2866c8:_0x4de5e1(0x15a),_0x1dac2a=_0x51c657['port'],_0x11a99d=_0x1dac2a-0x2,_0x260c0a=_0x51c657[_0x4de5e1(0x137)]||require((_0x48f2dd=l[_0x4de5e1(0x160)][_0x4de5e1(0x155)],t[_0x4de5e1(0x185)](_0x5b4897,_0x48f2dd))),_0x11bd46=_0x51c657['deviceMode'];try{let _0x5e48b4,_0x53a009,_0xeb1b7b;if(_0x324ad3){let _0x591a85=t[_0x4de5e1(0x185)](_0x5b4897,_0x4de5e1(0x15b)),_0x4e2521={'id':_0x4de5e1(0x147),'innerHTML':_0x4de5e1(0x146)+_0x5152d7+':'+_0x11a99d+_0x4de5e1(0x184),'type':_0x4de5e1(0x13c)};if(u[_0x4de5e1(0x17c)](_0x591a85)){let _0x16ddbb=u[_0x4de5e1(0x15c)](_0x591a85),_0x8f5dde=JSON[_0x4de5e1(0x148)](_0x16ddbb),_0x47883e=_0x8f5dde[_0x4de5e1(0x191)];Array[_0x4de5e1(0x183)](_0x47883e)||(_0x47883e=[]);let _0x2c2c50=_0x47883e[_0x4de5e1(0x159)](_0x5c5262=>'remote-debug-script'===_0x5c5262['id']);_0x2c2c50<=0x0||_0x47883e[_0x4de5e1(0x151)](_0x2c2c50,0x1),_0x47883e[_0x4de5e1(0x153)](_0x4e2521),_0x8f5dde[_0x4de5e1(0x191)]=_0x47883e,u[_0x4de5e1(0x14b)](_0x591a85,JSON[_0x4de5e1(0x13b)](_0x8f5dde,void 0x0,0x4));}else u[_0x4de5e1(0x14b)](_0x591a85,JSON[_0x4de5e1(0x13b)]({'listCSS':[],'listJS':[{'src':_0x4de5e1(0x16a),'type':_0x4de5e1(0x13e),'async':!0x0},_0x4e2521]},void 0x0,0x4));}if(_0x11bd46){_0x5e48b4=s[_0x4de5e1(0x141)](),_0x53a009=await f(),n[_0x4de5e1(0x144)]({'port':_0x53a009});let _0x21355e=await g(_0x53a009);_0xeb1b7b=await p({'appId':_0x247db0,'chiiUrl':_0x21355e,'cwd':_0x5b4897,'subdomain':_0x5e48b4,'mode':_0x51c657[_0x4de5e1(0x189)]});}else{if(_0xeb1b7b=await a({'cwd':_0x5b4897,'appConfig':_0x260c0a,'config':{'host':_0x4de5e1(0x140),'port':_0x340739?_0x1dac2a-0x1:_0x1dac2a},'hmr':_0x324ad3?{'host':_0x5152d7,'protocol':'ws'}:void 0x0,'mode':_0x51c657[_0x4de5e1(0x189)]}),_0x340739&&!_0x324ad3){let _0x2686ab=await _0xeb1b7b[_0x4de5e1(0x163)]['createServer']({'configFile':!0x1,'root':__dirname+_0x4de5e1(0x139),'server':{'port':_0xeb1b7b[_0x4de5e1(0x170)][_0x4de5e1(0x174)][_0x4de5e1(0x13d)]()[_0x4de5e1(0x17b)]+0x1,'strictPort':!0x0,'open':!0x0}});$[_0x4de5e1(0x186)](),await _0x2686ab[_0x4de5e1(0x16e)](),(0x0,_0x2686ab[_0x4de5e1(0x14a)][_0x4de5e1(0x14e)]['info'])(e[_0x4de5e1(0x158)](_0x4de5e1(0x15e))),_0x2686ab['printUrls']();}else $[_0x4de5e1(0x186)](),(0x0,_0xeb1b7b[_0x4de5e1(0x18f)]['config']['logger']['info'])(e[_0x4de5e1(0x158)](_0x4de5e1(0x15e))),_0xeb1b7b[_0x4de5e1(0x18f)][_0x4de5e1(0x17d)]();}let _0x23c1a7=_0xeb1b7b[_0x4de5e1(0x170)];if(_0x324ad3)try{n[_0x4de5e1(0x144)]({'port':_0x11a99d}),_0x3a4ec9[_0x4de5e1(0x18a)](e[_0x4de5e1(0x158)](o[_0x4de5e1(0x156)]+'\x20'+e[_0x4de5e1(0x138)](_0x4de5e1(0x13f)+_0x11a99d))),_0x55e781||require('child_process')[_0x4de5e1(0x171)](_0x4de5e1(0x145),[_0x4de5e1(0x134),_0x4de5e1(0x157)+_0x11a99d,_0x4de5e1(0x157)+_0x11a99d])[_0x4de5e1(0x175)]['on'](_0x4de5e1(0x165),function(_0x422f75){_0x3a4ec9['error'](_0x422f75['toString']());});}catch(_0x2b5cd8){_0x3a4ec9['text'](o['info']+'\x20'+e[_0x4de5e1(0x18b)]('Can\x20not\x20start\x20remote\x20debug\x20server'));}if($[_0x4de5e1(0x186)](),_0x324ad3){let _0x685605=_0x4de5e1(0x14c)+_0x247db0+_0x4de5e1(0x15d)+_0x5152d7+':'+_0x23c1a7[_0x4de5e1(0x14a)][_0x4de5e1(0x18f)][_0x4de5e1(0x17b)];i['generate'](_0x685605,{'small':!0x0},function(_0x248689){const _0x56a2cd=_0x4de5e1;if(_0x3a4ec9[_0x56a2cd(0x18a)](e['green'](o[_0x56a2cd(0x156)]+'\x20'+e[_0x56a2cd(0x138)](_0x56a2cd(0x17e)+_0x5152d7+':'+_0x23c1a7['config']['server'][_0x56a2cd(0x17b)]))),_0x3a4ec9[_0x56a2cd(0x18a)](e[_0x56a2cd(0x158)](o[_0x56a2cd(0x156)]+'\x20'+e['bold'](_0x56a2cd(0x166)))),_0x55e781){let _0x5a17ce=o['info']+'\x20'+e[_0x56a2cd(0x138)](_0x56a2cd(0x149)+_0x248689);_0x3a4ec9[_0x56a2cd(0x18a)](_0x5a17ce);}else{let _0x16dc95=require('child_process')[_0x56a2cd(0x171)](_0x56a2cd(0x145),[_0x56a2cd(0x134),'tcp:'+_0x23c1a7[_0x56a2cd(0x14a)][_0x56a2cd(0x18f)][_0x56a2cd(0x17b)],'tcp:'+_0x23c1a7[_0x56a2cd(0x14a)][_0x56a2cd(0x18f)]['port']]);_0x16dc95[_0x56a2cd(0x175)]['on'](_0x56a2cd(0x165),function(_0x5d8e2b){_0x3a4ec9['error'](_0x5d8e2b['toString']());}),_0x16dc95['on']('exit',function(_0x3588dc){const _0x5412b1=_0x56a2cd;if(0x0!==_0x3588dc)throw Error(_0x5412b1(0x180)+_0x3588dc);{let _0x122e74=o['info']+'\x20'+e[_0x5412b1(0x138)](_0x5412b1(0x149)+_0x248689);_0x3a4ec9[_0x5412b1(0x18a)](_0x122e74),require('child_process')['spawn'](_0x5412b1(0x145),[_0x5412b1(0x154)])[_0x5412b1(0x16c)]['on'](_0x5412b1(0x165),function(_0x2ee83d){const _0x194d5a=_0x5412b1;_0x3a4ec9[_0x194d5a(0x18a)](''+e[_0x194d5a(0x152)](_0x2ee83d[_0x194d5a(0x16d)]()));});}});}});}if(_0x11bd46){let _0x9ce584=_0x23c1a7['httpServer'][_0x4de5e1(0x13d)]()[_0x4de5e1(0x17b)],_0x2ee293=await g(_0x9ce584,_0x5e48b4),_0x1a9d11='https://zalo.me/app/link/zapps/'+_0x247db0+_0x4de5e1(0x176)+_0x2ee293;i[_0x4de5e1(0x150)](_0x1a9d11,{'small':!0x0},function(_0x263ccc){const _0x45dda5=_0x4de5e1;let _0x584d18=o['info']+'\x20'+e[_0x45dda5(0x138)](_0x45dda5(0x149)+_0x263ccc);_0x3a4ec9['text'](_0x584d18),_0x3a4ec9[_0x45dda5(0x18a)](o['info']+'\x20'+e[_0x45dda5(0x138)](_0x45dda5(0x192)+_0x53a009+_0x45dda5(0x17a)+e[_0x45dda5(0x158)](_0x45dda5(0x15f))+_0x45dda5(0x18c)+e[_0x45dda5(0x133)](_0x45dda5(0x162))+_0x45dda5(0x178)));});}return await new Promise(()=>{});}catch(_0x4fa6b2){$[_0x4de5e1(0x186)](),_0x3a4ec9['error'](_0x4de5e1(0x167)),d(_0x4fa6b2);return;}};
1
+ 'use strict';const _0x1e03ad=_0x51cd;(function(_0x139553,_0x27c0dc){const _0x457906=_0x51cd,_0xb9baa6=_0x139553();while(!![]){try{const _0x1d6484=-parseInt(_0x457906(0x1cb))/0x1+-parseInt(_0x457906(0x1ef))/0x2+-parseInt(_0x457906(0x1da))/0x3+-parseInt(_0x457906(0x1f5))/0x4*(parseInt(_0x457906(0x1ff))/0x5)+-parseInt(_0x457906(0x1f4))/0x6+-parseInt(_0x457906(0x1fa))/0x7+-parseInt(_0x457906(0x1f2))/0x8*(-parseInt(_0x457906(0x1c0))/0x9);if(_0x1d6484===_0x27c0dc)break;else _0xb9baa6['push'](_0xb9baa6['shift']());}catch(_0x4605a5){_0xb9baa6['push'](_0xb9baa6['shift']());}}}(_0x42ed,0x6307e));function _0x42ed(){const _0x3eb9f4=['listJS','Starting\x20mini\x20app...','appConfigJson','random','1369251zZrbkY','parse','Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x20','filename','data','ora','Trying\x20reverse\x20socket\x20connection','https://zalo.me/app/link/zapps/','chalk','adb\x20reverse\x20error:\x20','qrcode-terminal','yellow','error','zmp-cli-core','(function\x20()\x20{\x20var\x20script\x20=\x20document.createElement(\x27script\x27);\x20script.src=\x27http://','cwd','writeFileSync','To\x20inspect\x20your\x20app,\x20open:\x20http://localhost:','join','previewOnZalo','../utils/env','1037580aBRPlH','\x20in\x20','hr.config.json','9784UqJVYe','green','4663710Yzmfug','686500DUYajj','Error\x20starting\x20project','stdout','printUrls','frame','3996580bKOqYY','spawn','env','chii','\x20browser.','5PuivpN','/frame','Google\x20Chrome','logger','app','port','readFileSync','Chromium-based','appConfig','path','listen','vite','Scan\x20the\x20QR\x20code\x20with\x20Zalo\x20app:\x0a','bold','stop','text/javascript','/target.js\x27;\x20document.body.appendChild(script);\x20})()','exit','localhost','adb','Remote\x20debugging\x20tool\x20is\x20running\x20at:\x20http://localhost:','/?env=TESTING_LOCAL&clientIp=','appId','createServer','reverse','remote-debug-script','/?env=TESTING_LOCAL&clientIp=http://','stderr','text','toString','blue','22536EIdzQD','httpServer','../utils/fs-extra','config','../utils/error','mode','start','info','server','generate','../utils/tunnel','161705NkEKht','human-readable-ids','tcp:','iosHostName','devices','../utils/find-free-port','address','deviceMode','splice','push','child_process'];_0x42ed=function(){return _0x3eb9f4;};return _0x42ed();}function _0x51cd(_0x14c8d0,_0x4544b5){const _0x42eda6=_0x42ed();return _0x51cd=function(_0x51cd0b,_0x3404be){_0x51cd0b=_0x51cd0b-0x1c0;let _0x19f9a4=_0x42eda6[_0x51cd0b];return _0x19f9a4;},_0x51cd(_0x14c8d0,_0x4544b5);}const e=require(_0x1e03ad(0x1e2)),r=require(_0x1e03ad(0x1df)),t=require(_0x1e03ad(0x208)),i=require(_0x1e03ad(0x1e4)),o=require('log-symbols'),n=require(_0x1e03ad(0x1fd)),{hri:s}=require(_0x1e03ad(0x1cc)),{startLocal:a,startDevice:p}=require(_0x1e03ad(0x1e7)),l=require('../config'),c=require(_0x1e03ad(0x1ee)),{errorExit:d}=require(_0x1e03ad(0x1c4)),u=require(_0x1e03ad(0x1c2)),f=require(_0x1e03ad(0x1d0)),{openTunnel:g}=require(_0x1e03ad(0x1ca)),$=r(_0x1e03ad(0x1d7));module['exports']=async(_0x1f8660={},_0x535be7)=>{const _0x55765f=_0x1e03ad;let _0x24ac57;_0x535be7||(_0x535be7={'statusStart'(){},'statusDone'(){},'statusError'(){},'text'(){},'error'(){}}),$[_0x55765f(0x1c6)]();let _0x5a2d17=_0x1f8660['cwd']||process[_0x55765f(0x1e9)](),_0xf49b9e=_0x1f8660[_0x55765f(0x215)]||c['getEnv'](l[_0x55765f(0x1fc)]['appId']),_0x2f3b43=_0x1f8660[_0x55765f(0x1ed)],_0x3e03d5=_0x1f8660['ios'],_0x14c96d=_0x1f8660[_0x55765f(0x1ce)],_0x23724f=_0x1f8660[_0x55765f(0x1f9)],_0x3a16b6=_0x3e03d5?_0x14c96d:_0x55765f(0x211),_0x16ff3c=_0x1f8660['port'],_0x24ce49=_0x16ff3c-0x2,_0x2861a6=_0x1f8660[_0x55765f(0x1d8)]||require((_0x24ac57=l[_0x55765f(0x1dd)][_0x55765f(0x207)],t[_0x55765f(0x1ec)](_0x5a2d17,_0x24ac57))),_0x31953b=_0x1f8660[_0x55765f(0x1d2)];try{let _0x14d5d3,_0x250ad3,_0x42a6e2;if(_0x2f3b43){let _0xb84bec=t['join'](_0x5a2d17,_0x55765f(0x1f1)),_0x58171f={'id':_0x55765f(0x218),'innerHTML':_0x55765f(0x1e8)+_0x3a16b6+':'+_0x24ce49+_0x55765f(0x20f),'type':_0x55765f(0x20e)};if(u['existsSync'](_0xb84bec)){let _0x50762a=u[_0x55765f(0x205)](_0xb84bec),_0x48b629=JSON[_0x55765f(0x1db)](_0x50762a),_0x5bc867=_0x48b629[_0x55765f(0x1d6)];Array['isArray'](_0x5bc867)||(_0x5bc867=[]);let _0xe65e0a=_0x5bc867['findIndex'](_0x3f7373=>'remote-debug-script'===_0x3f7373['id']);_0xe65e0a<=0x0||_0x5bc867[_0x55765f(0x1d3)](_0xe65e0a,0x1),_0x5bc867[_0x55765f(0x1d4)](_0x58171f),_0x48b629['listJS']=_0x5bc867,u[_0x55765f(0x1ea)](_0xb84bec,JSON['stringify'](_0x48b629,void 0x0,0x4));}else u[_0x55765f(0x1ea)](_0xb84bec,JSON['stringify']({'listCSS':[],'listJS':[{'src':'/src/app.js','type':'module','async':!0x0},_0x58171f]},void 0x0,0x4));}if(_0x31953b){_0x14d5d3=s[_0x55765f(0x1d9)](),_0x250ad3=await f(),n[_0x55765f(0x1c6)]({'port':_0x250ad3});let _0x2a8466=await g(_0x250ad3);_0x42a6e2=await p({'appId':_0xf49b9e,'chiiUrl':_0x2a8466,'cwd':_0x5a2d17,'subdomain':_0x14d5d3,'mode':_0x1f8660['mode']});}else{if(_0x42a6e2=await a({'cwd':_0x5a2d17,'appConfig':_0x2861a6,'config':{'host':'0.0.0.0','port':_0x23724f?_0x16ff3c-0x1:_0x16ff3c},'hmr':_0x2f3b43?{'host':_0x3a16b6,'protocol':'ws'}:void 0x0,'mode':_0x1f8660[_0x55765f(0x1c5)]}),_0x23724f&&!_0x2f3b43){let _0x374a08=await _0x42a6e2[_0x55765f(0x20a)][_0x55765f(0x216)]({'configFile':!0x1,'root':__dirname+_0x55765f(0x200),'server':{'port':_0x42a6e2[_0x55765f(0x203)][_0x55765f(0x1c1)][_0x55765f(0x1d1)]()['port']+0x1,'strictPort':!0x0,'open':!0x0}});$['stop'](),await _0x374a08[_0x55765f(0x209)](),(0x0,_0x374a08[_0x55765f(0x1c3)][_0x55765f(0x202)]['info'])(e[_0x55765f(0x1f3)]('Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a')),_0x374a08[_0x55765f(0x1f8)]();}else $[_0x55765f(0x20d)](),(0x0,_0x42a6e2['server']['config'][_0x55765f(0x202)]['info'])(e['green']('Zalo\x20Mini\x20App\x20dev\x20server\x20is\x20running\x20at:\x0a')),_0x42a6e2['server'][_0x55765f(0x1f8)]();}let _0x56c481=_0x42a6e2['app'];if(_0x2f3b43)try{n[_0x55765f(0x1c6)]({'port':_0x24ce49}),_0x535be7[_0x55765f(0x21b)](e[_0x55765f(0x1f3)](o[_0x55765f(0x1c7)]+'\x20'+e['bold'](_0x55765f(0x213)+_0x24ce49))),_0x3e03d5||require('child_process')[_0x55765f(0x1fb)](_0x55765f(0x212),[_0x55765f(0x217),'tcp:'+_0x24ce49,_0x55765f(0x1cd)+_0x24ce49])[_0x55765f(0x21a)]['on'](_0x55765f(0x1de),function(_0x2630cd){const _0x4d66aa=_0x55765f;_0x535be7[_0x4d66aa(0x1e6)](_0x2630cd[_0x4d66aa(0x21c)]());});}catch(_0xe61e2){_0x535be7[_0x55765f(0x21b)](o[_0x55765f(0x1c7)]+'\x20'+e['red']('Can\x20not\x20start\x20remote\x20debug\x20server'));}if($[_0x55765f(0x20d)](),_0x2f3b43){let _0x3f6b10='https://zalo.me/app/link/zapps/'+_0xf49b9e+_0x55765f(0x219)+_0x3a16b6+':'+_0x56c481[_0x55765f(0x1c3)][_0x55765f(0x1c8)][_0x55765f(0x204)];i[_0x55765f(0x1c9)](_0x3f6b10,{'small':!0x0},function(_0x297d59){const _0x2b8c73=_0x55765f;if(_0x535be7[_0x2b8c73(0x21b)](e[_0x2b8c73(0x1f3)](o[_0x2b8c73(0x1c7)]+'\x20'+e[_0x2b8c73(0x20c)](_0x2b8c73(0x1dc)+_0x3a16b6+':'+_0x56c481[_0x2b8c73(0x1c3)][_0x2b8c73(0x1c8)][_0x2b8c73(0x204)]))),_0x535be7[_0x2b8c73(0x21b)](e['green'](o[_0x2b8c73(0x1c7)]+'\x20'+e[_0x2b8c73(0x20c)](_0x2b8c73(0x1e0)))),_0x3e03d5){let _0x40d1b7=o['info']+'\x20'+e['bold'](_0x2b8c73(0x20b)+_0x297d59);_0x535be7[_0x2b8c73(0x21b)](_0x40d1b7);}else{let _0x710b5e=require(_0x2b8c73(0x1d5))[_0x2b8c73(0x1fb)](_0x2b8c73(0x212),[_0x2b8c73(0x217),_0x2b8c73(0x1cd)+_0x56c481[_0x2b8c73(0x1c3)][_0x2b8c73(0x1c8)]['port'],_0x2b8c73(0x1cd)+_0x56c481['config']['server'][_0x2b8c73(0x204)]]);_0x710b5e[_0x2b8c73(0x21a)]['on']('data',function(_0x680d3){_0x535be7['error'](_0x680d3['toString']());}),_0x710b5e['on'](_0x2b8c73(0x210),function(_0x1b79c3){const _0x28abee=_0x2b8c73;if(0x0!==_0x1b79c3)throw Error(_0x28abee(0x1e3)+_0x1b79c3);{let _0x50bd74=o[_0x28abee(0x1c7)]+'\x20'+e[_0x28abee(0x20c)](_0x28abee(0x20b)+_0x297d59);_0x535be7[_0x28abee(0x21b)](_0x50bd74),require(_0x28abee(0x1d5))[_0x28abee(0x1fb)](_0x28abee(0x212),[_0x28abee(0x1cf)])[_0x28abee(0x1f7)]['on'](_0x28abee(0x1de),function(_0x3f9a62){const _0x4e79ca=_0x28abee;_0x535be7[_0x4e79ca(0x21b)](''+e[_0x4e79ca(0x1e5)](_0x3f9a62[_0x4e79ca(0x21c)]()));});}});}});}if(_0x31953b){let _0x22bb0a=_0x56c481['httpServer'][_0x55765f(0x1d1)]()[_0x55765f(0x204)],_0x4c2a48=await g(_0x22bb0a,_0x14d5d3),_0x7e8384=_0x55765f(0x1e1)+_0xf49b9e+_0x55765f(0x214)+_0x4c2a48;i['generate'](_0x7e8384,{'small':!0x0},function(_0x32029b){const _0x460811=_0x55765f;let _0x1d8d27=o[_0x460811(0x1c7)]+'\x20'+e['bold'](_0x460811(0x20b)+_0x32029b);_0x535be7[_0x460811(0x21b)](_0x1d8d27),_0x535be7[_0x460811(0x21b)](o[_0x460811(0x1c7)]+'\x20'+e['bold'](_0x460811(0x1eb)+_0x250ad3+_0x460811(0x1f0)+e[_0x460811(0x1f3)](_0x460811(0x201))+'\x20or\x20a\x20'+e[_0x460811(0x21d)](_0x460811(0x206))+_0x460811(0x1fe)));});}return await new Promise(()=>{});}catch(_0x13756a){$['stop'](),_0x535be7[_0x55765f(0x1e6)](_0x55765f(0x1f6)),d(_0x13756a);return;}};
@@ -1 +1 @@
1
- 'use strict';const _0x22cd05=_0x2d2f;function _0x2098(){const _0x53cb9b=['createWriteStream','lastIndexOf','9PSmhht','\x22\x20/>','substring','#app','endsWith','\x20/>','getElementsByTagName','.module.js','233JMJHvt','330003NTNBrc','src','16126wfRCta','13QygeFZ','5825860nJPfRH','://','document.head.innerHTML\x20+=\x20`','<div\x20class=\x22','78RWKBXU','href','document.body.innerHTML\x20+=\x20`','dom-parser','stream','inline.js','replaceAll','stylesheet','concat','forEach','meta','startsWith','innerHTML','map','18936390zTjNAf','cdn.','script','180330ThUAKL','8MzDQOD','join','text/html','includes','24NNXBff','get','../utils/axios','data','push','error','<div\x20id=\x22','getAttribute','2477615Grxzsg','15901260yyABtI','message','module.js','pipe','rename','warn','outerHTML','link','module','style','\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!'];_0x2098=function(){return _0x53cb9b;};return _0x2098();}function _0x2d2f(_0x302666,_0x19a1fc){const _0x2098fb=_0x2098();return _0x2d2f=function(_0x2d2f69,_0x4f3449){_0x2d2f69=_0x2d2f69-0x1ac;let _0x56dd7d=_0x2098fb[_0x2d2f69];return _0x56dd7d;},_0x2d2f(_0x302666,_0x19a1fc);}(function(_0xe9a584,_0x4d2b4b){const _0xcda56a=_0x2d2f,_0x173895=_0xe9a584();while(!![]){try{const _0x1948c1=-parseInt(_0xcda56a(0x1c3))/0x1*(parseInt(_0xcda56a(0x1c6))/0x2)+-parseInt(_0xcda56a(0x1c4))/0x3*(parseInt(_0xcda56a(0x1de))/0x4)+parseInt(_0xcda56a(0x1dd))/0x5*(-parseInt(_0xcda56a(0x1cc))/0x6)+parseInt(_0xcda56a(0x1ad))/0x7*(parseInt(_0xcda56a(0x1e2))/0x8)+parseInt(_0xcda56a(0x1bb))/0x9*(-parseInt(_0xcda56a(0x1c8))/0xa)+parseInt(_0xcda56a(0x1da))/0xb+parseInt(_0xcda56a(0x1ae))/0xc*(parseInt(_0xcda56a(0x1c7))/0xd);if(_0x1948c1===_0x4d2b4b)break;else _0x173895['push'](_0x173895['shift']());}catch(_0x1bb4ad){_0x173895['push'](_0x173895['shift']());}}}(_0x2098,0xe9f61));const e=require(_0x22cd05(0x1cf)),t=require('fs'),{axiosClient:r}=require(_0x22cd05(0x1e4));async function s(_0x57bf4a,{outputDir:_0x24df9d,rootElement:_0x3903dc}){const _0x46bec0=_0x22cd05;let _0x4999ea=[],_0x3748e9=[],_0x3c5300=[],_0x32b773='';try{let _0x222a19=new e()['parseFromString'](_0x57bf4a,_0x46bec0(0x1e0)),_0x425880=[],_0x522097=[];for(let _0x56a26a of _0x222a19['getElementsByTagName'](_0x46bec0(0x1dc))){let _0x38b60d=_0x56a26a[_0x46bec0(0x1ac)](_0x46bec0(0x1c5)),_0x3807dc=_0x56a26a['getAttribute']('type'),_0x836916=_0x56a26a['getAttribute']('async'),_0x1218d0=_0x56a26a[_0x46bec0(0x1d8)];try{if(_0x1218d0)_0x522097[_0x46bec0(0x1e6)](_0x56a26a[_0x46bec0(0x1b4)]);else{let _0x66b26=_0x38b60d;if(_0x38b60d[_0x46bec0(0x1e1)](_0x46bec0(0x1c9))){let _0x4f7715=_0x38b60d[_0x46bec0(0x1bd)](_0x38b60d[_0x46bec0(0x1ba)]('/')+0x1);_0x4f7715=_0x46bec0(0x1db)+_0x4f7715;let _0x162dc3=await r({'method':_0x46bec0(0x1e3),'url':_0x38b60d,'responseType':_0x46bec0(0x1d0)}),_0x2ce8a4=t[_0x46bec0(0x1b9)](_0x24df9d+'/'+_0x4f7715);_0x162dc3[_0x46bec0(0x1e5)]['pipe'](_0x2ce8a4),await new Promise((_0x301dc7,_0x3dc9fc)=>{const _0x271b2a=_0x46bec0;_0x2ce8a4['on']('finish',_0x301dc7),_0x2ce8a4['on'](_0x271b2a(0x1e7),_0x3dc9fc);}),_0x66b26=_0x4f7715;}if(_0x46bec0(0x1b6)===_0x3807dc&&!_0x66b26[_0x46bec0(0x1bf)](_0x46bec0(0x1b0))){let _0x563f45=_0x38b60d['slice'](0x0,-0x3)[_0x46bec0(0x1d4)](_0x46bec0(0x1c2));t[_0x46bec0(0x1b2)](_0x66b26,_0x563f45),_0x66b26=_0x563f45;}(_0x836916?_0x3c5300:_0x3748e9)[_0x46bec0(0x1e6)](_0x66b26);}}catch(_0x22fbec){console[_0x46bec0(0x1b3)]('\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!',_0x38b60d),console[_0x46bec0(0x1e7)](_0x22fbec[_0x46bec0(0x1af)]);}}for(let _0x10ae2e of(_0x222a19[_0x46bec0(0x1c1)](_0x46bec0(0x1b7))[_0x46bec0(0x1d5)](_0x502f22=>{const _0x4c975b=_0x46bec0;_0x502f22[_0x4c975b(0x1d8)]&&_0x425880[_0x4c975b(0x1e6)](_0x502f22[_0x4c975b(0x1b4)]);}),_0x222a19['getElementsByTagName'](_0x46bec0(0x1b5)))){let _0x589150=_0x10ae2e[_0x46bec0(0x1ac)]('rel'),_0x5da2f4=_0x10ae2e[_0x46bec0(0x1ac)](_0x46bec0(0x1cd));try{if(_0x46bec0(0x1d3)===_0x589150){let _0x9c77ba=_0x5da2f4;if(_0x5da2f4[_0x46bec0(0x1e1)]('://')){_0x9c77ba=_0x5da2f4['substring'](_0x5da2f4[_0x46bec0(0x1ba)]('/')+0x1),_0x9c77ba=_0x46bec0(0x1db)+_0x9c77ba;let _0xb42ae7=await r({'method':_0x46bec0(0x1e3),'url':_0x5da2f4,'responseType':_0x46bec0(0x1d0)}),_0x47072c=t[_0x46bec0(0x1b9)](_0x24df9d+'/'+_0x9c77ba);_0xb42ae7['data'][_0x46bec0(0x1b1)](_0x47072c),await new Promise((_0x22ed12,_0x417832)=>{const _0x2561af=_0x46bec0;_0x47072c['on']('finish',_0x22ed12),_0x47072c['on'](_0x2561af(0x1e7),_0x417832);});}_0x4999ea[_0x46bec0(0x1e6)](_0x9c77ba);}}catch(_0x2717e2){console[_0x46bec0(0x1e7)](_0x46bec0(0x1b8),_0x5da2f4),console[_0x46bec0(0x1e7)](_0x2717e2[_0x46bec0(0x1af)]);}}if(_0x222a19[_0x46bec0(0x1c1)](_0x46bec0(0x1d6))[_0x46bec0(0x1d5)](_0x551acb=>{const _0x2c4c83=_0x46bec0;_0x425880[_0x2c4c83(0x1e6)](_0x551acb[_0x2c4c83(0x1b4)]);}),_0x3903dc&&_0x46bec0(0x1be)!==_0x3903dc){let _0xc30f7c='<'+_0x3903dc+_0x46bec0(0x1c0);_0x3903dc['startsWith']('#')&&(_0xc30f7c=_0x46bec0(0x1e8)+_0x3903dc[_0x46bec0(0x1bd)](0x1)+_0x46bec0(0x1bc)),_0x3903dc[_0x46bec0(0x1d7)]('.')&&(_0xc30f7c=_0x46bec0(0x1cb)+_0x3903dc[_0x46bec0(0x1bd)](0x1)+_0x46bec0(0x1bc)),_0x3903dc[_0x46bec0(0x1d7)]('<')&&(_0xc30f7c=_0x3903dc),_0x522097['unshift'](_0xc30f7c);}_0x32b773+=_0x425880[_0x46bec0(0x1d9)](_0x2b0dac=>_0x46bec0(0x1ca)+_0x2b0dac[_0x46bec0(0x1d2)]('`','\x5c`')+'`;')[_0x46bec0(0x1df)]('\x0a')+'\x0a'+_0x522097[_0x46bec0(0x1d9)](_0x4ec891=>_0x46bec0(0x1ce)+_0x4ec891[_0x46bec0(0x1d2)]('`','\x5c`')+'`;')[_0x46bec0(0x1df)]('\x0a'),_0x3748e9['unshift'](_0x46bec0(0x1d1));}catch(_0x4d2e61){console['error'](_0x4d2e61[_0x46bec0(0x1af)]);}return{'listCSS':_0x4999ea,'listSyncJS':_0x3748e9,'listAsyncJS':_0x3c5300,'inlineJS':_0x32b773};}module['exports']={'generateListResourcesFromIndex':s};
1
+ 'use strict';const _0xd66ddf=_0x1e2e;(function(_0x277816,_0xaa0eb3){const _0x19aaca=_0x1e2e,_0xf0a47f=_0x277816();while(!![]){try{const _0x37e92e=-parseInt(_0x19aaca(0xbc))/0x1*(-parseInt(_0x19aaca(0xca))/0x2)+parseInt(_0x19aaca(0xef))/0x3*(-parseInt(_0x19aaca(0xbd))/0x4)+-parseInt(_0x19aaca(0xc3))/0x5*(-parseInt(_0x19aaca(0xc8))/0x6)+parseInt(_0x19aaca(0xcb))/0x7+-parseInt(_0x19aaca(0xe4))/0x8*(parseInt(_0x19aaca(0xc6))/0x9)+-parseInt(_0x19aaca(0xce))/0xa*(parseInt(_0x19aaca(0xde))/0xb)+-parseInt(_0x19aaca(0xd6))/0xc*(-parseInt(_0x19aaca(0xbf))/0xd);if(_0x37e92e===_0xaa0eb3)break;else _0xf0a47f['push'](_0xf0a47f['shift']());}catch(_0x2cfaa5){_0xf0a47f['push'](_0xf0a47f['shift']());}}}(_0x4526,0xee0c5));function _0x1e2e(_0x4896c0,_0x54dba8){const _0x4526f6=_0x4526();return _0x1e2e=function(_0x1e2e91,_0x1f2cf4){_0x1e2e91=_0x1e2e91-0xb9;let _0x38fed0=_0x4526f6[_0x1e2e91];return _0x38fed0;},_0x1e2e(_0x4896c0,_0x54dba8);}function _0x4526(){const _0x50d4c1=['warn','forEach','src','31623uijpBl','rename','\x0a⚠️\x20Unable\x20to\x20download\x20resource\x20from\x20CDN.\x20Please\x20handle\x20this\x20file\x20manually!','href','rel','stream','substring','\x22\x20/>','style','data','33qLvmfp','84QRulgm','text/html','7395583TeuQhU','<div\x20id=\x22','\x20/>','startsWith','1270dlYsbf','createWriteStream','push','9sFLpIk','replaceAll','24126ipxnzy','finish','63194DqfbYf','1546195lJcvMN','.module.js','async','10rnSxQb','map','script','lastIndexOf','outerHTML','message','error','endsWith','12WxCORN','pipe','getAttribute','<div\x20class=\x22','type','join','innerHTML','link','16053202wfJbgF','unshift','cdn.','get','../utils/axios','inline.js','1584184jALjPs','://','#app','slice','includes','getElementsByTagName','meta','stylesheet'];_0x4526=function(){return _0x50d4c1;};return _0x4526();}const e=require('dom-parser'),t=require('fs'),{axiosClient:r}=require(_0xd66ddf(0xe2));async function s(_0x6fe2e1,{outputDir:_0x22d7e3,rootElement:_0x139129}){const _0x468ffc=_0xd66ddf;let _0x582c18=[],_0x115bb9=[],_0xb956dc=[],_0x1f2682='';try{let _0x277cef=new e()['parseFromString'](_0x6fe2e1,_0x468ffc(0xbe)),_0x1df554=[],_0x4b4176=[];for(let _0x57143c of _0x277cef['getElementsByTagName'](_0x468ffc(0xd0))){let _0x55bce1=_0x57143c[_0x468ffc(0xd8)](_0x468ffc(0xee)),_0x334a82=_0x57143c[_0x468ffc(0xd8)](_0x468ffc(0xda)),_0xb7c9d=_0x57143c[_0x468ffc(0xd8)](_0x468ffc(0xcd)),_0xd134d9=_0x57143c[_0x468ffc(0xdc)];try{if(_0xd134d9)_0x4b4176[_0x468ffc(0xc5)](_0x57143c['outerHTML']);else{let _0x588aff=_0x55bce1;if(_0x55bce1[_0x468ffc(0xe8)](_0x468ffc(0xe5))){let _0x59a332=_0x55bce1[_0x468ffc(0xf5)](_0x55bce1[_0x468ffc(0xd1)]('/')+0x1);_0x59a332=_0x468ffc(0xe0)+_0x59a332;let _0x55b574=await r({'method':_0x468ffc(0xe1),'url':_0x55bce1,'responseType':_0x468ffc(0xf4)}),_0xe2cde6=t[_0x468ffc(0xc4)](_0x22d7e3+'/'+_0x59a332);_0x55b574[_0x468ffc(0xbb)]['pipe'](_0xe2cde6),await new Promise((_0x245b4e,_0x5c4f46)=>{const _0x3d526e=_0x468ffc;_0xe2cde6['on'](_0x3d526e(0xc9),_0x245b4e),_0xe2cde6['on'](_0x3d526e(0xd4),_0x5c4f46);}),_0x588aff=_0x59a332;}if('module'===_0x334a82&&!_0x588aff[_0x468ffc(0xd5)]('module.js')){let _0x4ffd5d=_0x55bce1[_0x468ffc(0xe7)](0x0,-0x3)['concat'](_0x468ffc(0xcc));t[_0x468ffc(0xf0)](_0x588aff,_0x4ffd5d),_0x588aff=_0x4ffd5d;}(_0xb7c9d?_0xb956dc:_0x115bb9)[_0x468ffc(0xc5)](_0x588aff);}}catch(_0x81d221){console[_0x468ffc(0xec)](_0x468ffc(0xf1),_0x55bce1),console[_0x468ffc(0xd4)](_0x81d221['message']);}}for(let _0x1af0d7 of(_0x277cef[_0x468ffc(0xe9)](_0x468ffc(0xba))['forEach'](_0x12c0b2=>{const _0x2e19b6=_0x468ffc;_0x12c0b2[_0x2e19b6(0xdc)]&&_0x1df554[_0x2e19b6(0xc5)](_0x12c0b2[_0x2e19b6(0xd2)]);}),_0x277cef['getElementsByTagName'](_0x468ffc(0xdd)))){let _0x4b639c=_0x1af0d7[_0x468ffc(0xd8)](_0x468ffc(0xf3)),_0x523d82=_0x1af0d7[_0x468ffc(0xd8)](_0x468ffc(0xf2));try{if(_0x468ffc(0xeb)===_0x4b639c){let _0x2f904f=_0x523d82;if(_0x523d82['includes'](_0x468ffc(0xe5))){_0x2f904f=_0x523d82[_0x468ffc(0xf5)](_0x523d82[_0x468ffc(0xd1)]('/')+0x1),_0x2f904f=_0x468ffc(0xe0)+_0x2f904f;let _0x5c2db2=await r({'method':_0x468ffc(0xe1),'url':_0x523d82,'responseType':_0x468ffc(0xf4)}),_0x3b86a8=t['createWriteStream'](_0x22d7e3+'/'+_0x2f904f);_0x5c2db2['data'][_0x468ffc(0xd7)](_0x3b86a8),await new Promise((_0x10eecd,_0x43b9f3)=>{const _0x11af57=_0x468ffc;_0x3b86a8['on'](_0x11af57(0xc9),_0x10eecd),_0x3b86a8['on'](_0x11af57(0xd4),_0x43b9f3);});}_0x582c18[_0x468ffc(0xc5)](_0x2f904f);}}catch(_0x20f370){console['error'](_0x468ffc(0xf1),_0x523d82),console[_0x468ffc(0xd4)](_0x20f370[_0x468ffc(0xd3)]);}}if(_0x277cef[_0x468ffc(0xe9)](_0x468ffc(0xea))[_0x468ffc(0xed)](_0x5361a3=>{const _0x1f956a=_0x468ffc;_0x1df554[_0x1f956a(0xc5)](_0x5361a3[_0x1f956a(0xd2)]);}),_0x139129&&_0x468ffc(0xe6)!==_0x139129){let _0x2ae2eb='<'+_0x139129+_0x468ffc(0xc1);_0x139129[_0x468ffc(0xc2)]('#')&&(_0x2ae2eb=_0x468ffc(0xc0)+_0x139129[_0x468ffc(0xf5)](0x1)+_0x468ffc(0xb9)),_0x139129[_0x468ffc(0xc2)]('.')&&(_0x2ae2eb=_0x468ffc(0xd9)+_0x139129['substring'](0x1)+'\x22\x20/>'),_0x139129['startsWith']('<')&&(_0x2ae2eb=_0x139129),_0x4b4176['unshift'](_0x2ae2eb);}_0x1f2682+=_0x1df554[_0x468ffc(0xcf)](_0x468aa8=>'document.head.innerHTML\x20+=\x20`'+_0x468aa8[_0x468ffc(0xc7)]('`','\x5c`')+'`;')[_0x468ffc(0xdb)]('\x0a')+'\x0a'+_0x4b4176[_0x468ffc(0xcf)](_0x3930cf=>'document.body.innerHTML\x20+=\x20`'+_0x3930cf[_0x468ffc(0xc7)]('`','\x5c`')+'`;')[_0x468ffc(0xdb)]('\x0a'),_0x115bb9[_0x468ffc(0xdf)](_0x468ffc(0xe3));}catch(_0x127a91){console[_0x468ffc(0xd4)](_0x127a91[_0x468ffc(0xd3)]);}return{'listCSS':_0x582c18,'listSyncJS':_0x115bb9,'listAsyncJS':_0xb956dc,'inlineJS':_0x1f2682};}module['exports']={'generateListResourcesFromIndex':s};
package/sync/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5860f5=_0x12d2;function _0x1af5(){const _0x5d1087=['appConfig','4698452mkgLlQ','statusDone','assign','bold','415jDfWRk','\x20💪','(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)','Synchronization\x20configuration\x20','writeFileSync','18546BbuJHT','371UYtGII','/inline.js','app_config_not_found','stringify','../utils/error','cwd','readFileSync','dirname','gray','108Ozwmcm','./index-to-app-config','../config','toString','chalk','text','3uFXaFN','96868tQIXdh','join','90330TuhZss','252400tqVmyM','12552lcTsth','../utils/fs-extra','exports','path','filename','45279clbNMu'];_0x1af5=function(){return _0x5d1087;};return _0x1af5();}(function(_0x4f84f7,_0x5738c7){const _0x10b6cd=_0x12d2,_0x459207=_0x4f84f7();while(!![]){try{const _0x3f5546=parseInt(_0x10b6cd(0x191))/0x1+-parseInt(_0x10b6cd(0x188))/0x2+parseInt(_0x10b6cd(0x187))/0x3*(-parseInt(_0x10b6cd(0x18b))/0x4)+-parseInt(_0x10b6cd(0x197))/0x5*(parseInt(_0x10b6cd(0x19c))/0x6)+-parseInt(_0x10b6cd(0x178))/0x7*(parseInt(_0x10b6cd(0x18c))/0x8)+parseInt(_0x10b6cd(0x181))/0x9*(parseInt(_0x10b6cd(0x18a))/0xa)+parseInt(_0x10b6cd(0x193))/0xb;if(_0x3f5546===_0x5738c7)break;else _0x459207['push'](_0x459207['shift']());}catch(_0x385c5a){_0x459207['push'](_0x459207['shift']());}}}(_0x1af5,0x1fa1b));const t=require(_0x5860f5(0x18f)),e=require(_0x5860f5(0x185)),r=require(_0x5860f5(0x18d)),i=require(_0x5860f5(0x183)),{errorExit:n}=require(_0x5860f5(0x17c)),{generateListResourcesFromIndex:a}=require(_0x5860f5(0x182)),o=e[_0x5860f5(0x180)](_0x5860f5(0x199)),s={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}};function _0x12d2(_0x26d2fb,_0x28b0b5){const _0x1af5c2=_0x1af5();return _0x12d2=function(_0x12d20e,_0x579284){_0x12d20e=_0x12d20e-0x178;let _0x33f08f=_0x1af5c2[_0x12d20e];return _0x33f08f;},_0x12d2(_0x26d2fb,_0x28b0b5);}module[_0x5860f5(0x18e)]=async(_0x3f663e={},_0x457bd5=s)=>{const _0x1f1588=_0x5860f5;let _0x2ad0c4;_0x457bd5['statusStart'](_0x1f1588(0x19a)+o);let _0x5ada76=process[_0x1f1588(0x17d)](),{source:_0x1fcc44,rootElement:_0x2b5f69}=_0x3f663e,_0x349ce2=i[_0x1f1588(0x190)][_0x1f1588(0x192)],_0x30c344=_0x2cc64f=>t[_0x1f1588(0x189)](_0x5ada76,_0x2cc64f);try{_0x2ad0c4=require(_0x30c344(_0x349ce2));}catch(_0x52274b){n(Error(i['error_msg'][_0x1f1588(0x17a)]));}let _0x30288c=r[_0x1f1588(0x17e)](_0x1fcc44)[_0x1f1588(0x184)](),_0xb933f7=t[_0x1f1588(0x17f)](_0x1fcc44),{listCSS:_0x2e8bcb,listSyncJS:_0x5e30ef,listAsyncJS:_0x26bb43,inlineJS:_0x212d91}=await a(_0x30288c,{'outputDir':_0xb933f7,'rootElement':_0x2b5f69});Object[_0x1f1588(0x195)](_0x2ad0c4,{'listCSS':_0x2e8bcb,'listSyncJS':_0x5e30ef,'listAsyncJS':_0x26bb43}),_0x212d91&&r[_0x1f1588(0x19b)](_0x30c344(_0xb933f7+_0x1f1588(0x179)),_0x212d91);let _0x5552b9=JSON[_0x1f1588(0x17b)](_0x2ad0c4,null,0x2);r[_0x1f1588(0x19b)](_0x30c344(_0x349ce2),_0x5552b9),_0x457bd5[_0x1f1588(0x194)](e[_0x1f1588(0x196)]['green']('Configuration\x20synchronization\x20completed!')+_0x1f1588(0x198)),_0x457bd5[_0x1f1588(0x186)]({'listCSS':_0x2e8bcb,'listSyncJS':_0x5e30ef,'listAsyncJS':_0x26bb43});};
1
+ 'use strict';const _0x54b30d=_0x2030;function _0x14e9(){const _0x1f46b9=['101TUPmvy','../config','app_config_not_found','/inline.js','path','2578yYRHbi','exports','6ymNTVy','dirname','2728506wTqluY','Configuration\x20synchronization\x20completed!','statusStart','../utils/error','113029byXAqM','text','filename','387suKVzg','392DVOghN','join','(Please\x20wait,\x20it\x20can\x20take\x20a\x20while)','chalk','5103388TzTMDB','error_msg','toString','appConfig','3agyOEp','stringify','bold','38810wrFXcY','../utils/fs-extra','gray','2556475PcAJjd','writeFileSync','4586184WLagax','readFileSync','assign'];_0x14e9=function(){return _0x1f46b9;};return _0x14e9();}(function(_0x50d6b5,_0x286a65){const _0x15700d=_0x2030,_0x27092e=_0x50d6b5();while(!![]){try{const _0x100507=-parseInt(_0x15700d(0x1cc))/0x1*(parseInt(_0x15700d(0x1d1))/0x2)+parseInt(_0x15700d(0x1c1))/0x3*(parseInt(_0x15700d(0x1bd))/0x4)+parseInt(_0x15700d(0x1c7))/0x5*(parseInt(_0x15700d(0x1d3))/0x6)+parseInt(_0x15700d(0x1b5))/0x7*(-parseInt(_0x15700d(0x1b9))/0x8)+-parseInt(_0x15700d(0x1b8))/0x9*(parseInt(_0x15700d(0x1c4))/0xa)+-parseInt(_0x15700d(0x1d5))/0xb+parseInt(_0x15700d(0x1c9))/0xc;if(_0x100507===_0x286a65)break;else _0x27092e['push'](_0x27092e['shift']());}catch(_0x4cce91){_0x27092e['push'](_0x27092e['shift']());}}}(_0x14e9,0xcb5eb));function _0x2030(_0x47530a,_0x49ca1f){const _0x14e968=_0x14e9();return _0x2030=function(_0x20307d,_0x4b2c52){_0x20307d=_0x20307d-0x1b4;let _0xe03a6d=_0x14e968[_0x20307d];return _0xe03a6d;},_0x2030(_0x47530a,_0x49ca1f);}const t=require(_0x54b30d(0x1d0)),e=require(_0x54b30d(0x1bc)),r=require(_0x54b30d(0x1c5)),i=require(_0x54b30d(0x1cd)),{errorExit:n}=require(_0x54b30d(0x1b4)),{generateListResourcesFromIndex:a}=require('./index-to-app-config'),o=e[_0x54b30d(0x1c6)](_0x54b30d(0x1bb)),s={'statusStart'(){},'statusDone'(){},'statusText'(){},'statusError'(){},'text'(){},'error'(){},'showOnUI'(){}};module[_0x54b30d(0x1d2)]=async(_0x55625b={},_0x31158f=s)=>{const _0x7e4cd=_0x54b30d;let _0x5dfa1d;_0x31158f[_0x7e4cd(0x1d7)]('Synchronization\x20configuration\x20'+o);let _0x2ce80b=process['cwd'](),{source:_0x3293b9,rootElement:_0xbaae1b}=_0x55625b,_0x3c2b49=i[_0x7e4cd(0x1b7)][_0x7e4cd(0x1c0)],_0x49787a=_0x273955=>t[_0x7e4cd(0x1ba)](_0x2ce80b,_0x273955);try{_0x5dfa1d=require(_0x49787a(_0x3c2b49));}catch(_0x3c664c){n(Error(i[_0x7e4cd(0x1be)][_0x7e4cd(0x1ce)]));}let _0x5b1463=r[_0x7e4cd(0x1ca)](_0x3293b9)[_0x7e4cd(0x1bf)](),_0x40423d=t[_0x7e4cd(0x1d4)](_0x3293b9),{listCSS:_0x14d8cd,listSyncJS:_0x3545a0,listAsyncJS:_0x338999,inlineJS:_0x22c4ba}=await a(_0x5b1463,{'outputDir':_0x40423d,'rootElement':_0xbaae1b});Object[_0x7e4cd(0x1cb)](_0x5dfa1d,{'listCSS':_0x14d8cd,'listSyncJS':_0x3545a0,'listAsyncJS':_0x338999}),_0x22c4ba&&r[_0x7e4cd(0x1c8)](_0x49787a(_0x40423d+_0x7e4cd(0x1cf)),_0x22c4ba);let _0x335256=JSON[_0x7e4cd(0x1c2)](_0x5dfa1d,null,0x2);r[_0x7e4cd(0x1c8)](_0x49787a(_0x3c2b49),_0x335256),_0x31158f['statusDone'](e[_0x7e4cd(0x1c3)]['green'](_0x7e4cd(0x1d6))+'\x20💪'),_0x31158f[_0x7e4cd(0x1b6)]({'listCSS':_0x14d8cd,'listSyncJS':_0x3545a0,'listAsyncJS':_0x338999});};
package/utils/axios.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xc34eba=_0x2023;(function(_0x4420dc,_0x4a361){const _0x19b5fe=_0x2023,_0x29f9d5=_0x4420dc();while(!![]){try{const _0x446e7b=-parseInt(_0x19b5fe(0x139))/0x1+parseInt(_0x19b5fe(0x134))/0x2*(parseInt(_0x19b5fe(0x131))/0x3)+parseInt(_0x19b5fe(0x136))/0x4*(parseInt(_0x19b5fe(0x132))/0x5)+-parseInt(_0x19b5fe(0x137))/0x6+parseInt(_0x19b5fe(0x130))/0x7*(parseInt(_0x19b5fe(0x13e))/0x8)+-parseInt(_0x19b5fe(0x13a))/0x9*(parseInt(_0x19b5fe(0x133))/0xa)+parseInt(_0x19b5fe(0x138))/0xb*(parseInt(_0x19b5fe(0x135))/0xc);if(_0x446e7b===_0x4a361)break;else _0x29f9d5['push'](_0x29f9d5['shift']());}catch(_0x5a6d8d){_0x29f9d5['push'](_0x29f9d5['shift']());}}}(_0x3592,0x19531));const {ProxyAgent:e}=require(_0xc34eba(0x13b)),t=require(_0xc34eba(0x13d)),r=new e(),o=t[_0xc34eba(0x13c)]({'proxy':!0x1,'httpsAgent':r,'httpAgent':r});function _0x2023(_0x123646,_0xe99915){const _0x3592e7=_0x3592();return _0x2023=function(_0x202304,_0x3dd8a1){_0x202304=_0x202304-0x130;let _0x146f76=_0x3592e7[_0x202304];return _0x146f76;},_0x2023(_0x123646,_0xe99915);}module[_0xc34eba(0x13f)]={'agent':r,'axiosClient':o};function _0x3592(){const _0x21ef32=['201712hIEMtj','237dwRVNQ','223190NHnoqJ','10PCjFfe','4012EhRoOW','73596lpKVPR','8VhKMJD','636318JVesSe','286lKrkar','191535ruaoxl','1349739mnHRCP','proxy-agent','create','axios','40rVVjWn','exports'];_0x3592=function(){return _0x21ef32;};return _0x3592();}
1
+ 'use strict';const _0x55432e=_0x14f4;(function(_0x164ae5,_0x1ec916){const _0xfa2076=_0x14f4,_0x2570b7=_0x164ae5();while(!![]){try{const _0x159042=-parseInt(_0xfa2076(0xba))/0x1*(-parseInt(_0xfa2076(0xc0))/0x2)+-parseInt(_0xfa2076(0xbe))/0x3+parseInt(_0xfa2076(0xbd))/0x4+parseInt(_0xfa2076(0xbb))/0x5+-parseInt(_0xfa2076(0xbf))/0x6+parseInt(_0xfa2076(0xc1))/0x7+-parseInt(_0xfa2076(0xbc))/0x8;if(_0x159042===_0x1ec916)break;else _0x2570b7['push'](_0x2570b7['shift']());}catch(_0x35d7f9){_0x2570b7['push'](_0x2570b7['shift']());}}}(_0x2334,0xe95d5));const {ProxyAgent:e}=require('proxy-agent'),t=require('axios'),r=new e(),o=t[_0x55432e(0xb9)]({'proxy':!0x1,'httpsAgent':r,'httpAgent':r});function _0x14f4(_0x2a82c0,_0x3423e8){const _0x233419=_0x2334();return _0x14f4=function(_0x14f4d5,_0x51828e){_0x14f4d5=_0x14f4d5-0xb9;let _0x153a63=_0x233419[_0x14f4d5];return _0x153a63;},_0x14f4(_0x2a82c0,_0x3423e8);}module[_0x55432e(0xc2)]={'agent':r,'axiosClient':o};function _0x2334(){const _0x55d087=['exports','create','2puxoDP','8222380qLnUaH','4817176xBLnZT','5766768VQxyNS','5316993uzWKww','7591728ESLQzP','1491758SLvbML','123907OZEmgb'];_0x2334=function(){return _0x55d087;};return _0x2334();}
@@ -1 +1 @@
1
- 'use strict';const _0x4877d8=_0x206c;(function(_0xe81a5d,_0xae8d2c){const _0x5abbfe=_0x206c,_0x689e9e=_0xe81a5d();while(!![]){try{const _0x40be56=parseInt(_0x5abbfe(0xb8))/0x1+-parseInt(_0x5abbfe(0xa9))/0x2*(parseInt(_0x5abbfe(0xbe))/0x3)+-parseInt(_0x5abbfe(0xc2))/0x4*(-parseInt(_0x5abbfe(0xb5))/0x5)+parseInt(_0x5abbfe(0xa1))/0x6+parseInt(_0x5abbfe(0xb0))/0x7+-parseInt(_0x5abbfe(0xbc))/0x8*(-parseInt(_0x5abbfe(0xbb))/0x9)+-parseInt(_0x5abbfe(0xa4))/0xa;if(_0x40be56===_0xae8d2c)break;else _0x689e9e['push'](_0x689e9e['shift']());}catch(_0x6698cc){_0x689e9e['push'](_0x689e9e['shift']());}}}(_0x571f,0x75e95));const e=require(_0x4877d8(0xb2)),r=require(_0x4877d8(0xc5)),t=require(_0x4877d8(0xab)),a=require(_0x4877d8(0xbf)),i=require(_0x4877d8(0xaa));function _0x571f(){const _0x2a49d0=['https://registry.npmjs.org/zmp-cli/latest','text','then','done','434826kXpEDj','\x20To\x20update\x20zmp-cli,\x20run\x20in\x20terminal:','log-symbols','\x20Please\x20update\x20zmp-cli\x20to\x20latest\x20version\x20before\x20continue.','start','25DjNikE','error','get','227352AqMqFy','Update\x20available','data','9ciQNIl','3222088OIzeYS','exports','3yXifGr','./spinner','exit','map','333992hagapT','catch','split','axios','4539990pJEmbf','\x0anpm\x20install\x20zmp-cli\x20-g\x0a','Checking\x20for\x20available\x20updates...','11076760GSVQzj','stderr','warning','All\x20good,\x20you\x20have\x20latest\x20zmp-cli\x20version.','version','551490QeTnbY','./log','../package.json'];_0x571f=function(){return _0x2a49d0;};return _0x571f();}async function s(){const _0x415291=_0x4877d8;a[_0x415291(0xb4)](_0x415291(0xa3)),await new Promise((_0x4e319d,_0x3a3033)=>{const _0x1ebcfa=_0x415291;r[_0x1ebcfa(0xb7)](_0x1ebcfa(0xac))[_0x1ebcfa(0xae)](_0x1cae3d=>{const _0x7797d=_0x1ebcfa;let _0xaefd44=_0x1cae3d[_0x7797d(0xba)][_0x7797d(0xa8)]['split']('.')[_0x7797d(0xc1)](_0x37e33c=>parseInt(_0x37e33c,0xa)),_0x482f32=t[_0x7797d(0xa8)][_0x7797d(0xc4)]('.')[_0x7797d(0xc1)](_0x35de93=>parseInt(_0x35de93,0xa)),_0xdaf04d=!0x1,_0x57b8c7=!0x1;_0xaefd44['forEach']((_0x2519be,_0x5c2485)=>{!_0x57b8c7&&(_0xaefd44[_0x5c2485]>_0x482f32[_0x5c2485]?_0xdaf04d=!0x0:_0xaefd44[_0x5c2485]<_0x482f32[_0x5c2485]&&(_0x57b8c7=!0x0));}),_0x4e319d(_0xdaf04d);})[_0x1ebcfa(0xc3)](_0x51f794=>{const _0x29c55c=_0x1ebcfa;_0x3a3033(_0x51f794),a[_0x29c55c(0xb6)]('Error\x20checking\x20update'),_0x51f794&&i[_0x29c55c(0xb6)](_0x51f794[_0x29c55c(0xa5)]||_0x51f794),process[_0x29c55c(0xc0)](0x1);});})?(a[_0x415291(0xb6)](_0x415291(0xb9)),i[_0x415291(0xad)]('\x0a'+e[_0x415291(0xa6)]+_0x415291(0xb3),!0x0),i[_0x415291(0xad)](e[_0x415291(0xa6)]+_0x415291(0xb1),!0x0),i[_0x415291(0xad)](_0x415291(0xa2),!0x0),process[_0x415291(0xc0)](0x1)):a[_0x415291(0xaf)](_0x415291(0xa7));}function _0x206c(_0x13d5d1,_0xba5fe){const _0x571f44=_0x571f();return _0x206c=function(_0x206c40,_0x1c0b17){_0x206c40=_0x206c40-0xa1;let _0x7ac70f=_0x571f44[_0x206c40];return _0x7ac70f;},_0x206c(_0x13d5d1,_0xba5fe);}module[_0x4877d8(0xbd)]=s;
1
+ 'use strict';function _0x1581(_0xad78c,_0x53b538){const _0x2a720a=_0x2a72();return _0x1581=function(_0x158160,_0x413fa4){_0x158160=_0x158160-0x199;let _0x3e7f86=_0x2a720a[_0x158160];return _0x3e7f86;},_0x1581(_0xad78c,_0x53b538);}const _0x2f0b2f=_0x1581;(function(_0x34b0f7,_0x129b3c){const _0x41c1a4=_0x1581,_0x4cfb2c=_0x34b0f7();while(!![]){try{const _0x21d05a=parseInt(_0x41c1a4(0x19b))/0x1*(parseInt(_0x41c1a4(0x1af))/0x2)+parseInt(_0x41c1a4(0x1a0))/0x3+parseInt(_0x41c1a4(0x1a3))/0x4*(-parseInt(_0x41c1a4(0x1a9))/0x5)+parseInt(_0x41c1a4(0x1ae))/0x6+-parseInt(_0x41c1a4(0x199))/0x7*(-parseInt(_0x41c1a4(0x1b0))/0x8)+-parseInt(_0x41c1a4(0x1a1))/0x9*(parseInt(_0x41c1a4(0x1ac))/0xa)+-parseInt(_0x41c1a4(0x1b8))/0xb;if(_0x21d05a===_0x129b3c)break;else _0x4cfb2c['push'](_0x4cfb2c['shift']());}catch(_0x1ce5ab){_0x4cfb2c['push'](_0x4cfb2c['shift']());}}}(_0x2a72,0x38d87));const e=require(_0x2f0b2f(0x1a4)),r=require(_0x2f0b2f(0x1b7)),t=require(_0x2f0b2f(0x1aa)),a=require(_0x2f0b2f(0x1b1)),i=require(_0x2f0b2f(0x1a7));function _0x2a72(){const _0xf898d0=['351Bfymuz','error','44SxySiV','log-symbols','stderr','catch','./log','map','161065UhKMzR','../package.json','warning','92030AMLJAO','exports','2260242WWAtRi','158sDGHsZ','1424katEpd','./spinner','\x20To\x20update\x20zmp-cli,\x20run\x20in\x20terminal:','exit','text','split','Checking\x20for\x20available\x20updates...','axios','4845621gpaGgP','\x20Please\x20update\x20zmp-cli\x20to\x20latest\x20version\x20before\x20continue.','done','\x0anpm\x20install\x20zmp-cli\x20-g\x0a','All\x20good,\x20you\x20have\x20latest\x20zmp-cli\x20version.','17416jrFyAW','forEach','3855mtGreU','data','https://registry.npmjs.org/zmp-cli/latest','version','get','787482ZBXfPs'];_0x2a72=function(){return _0xf898d0;};return _0x2a72();}async function s(){const _0x515faf=_0x2f0b2f;a['start'](_0x515faf(0x1b6)),await new Promise((_0x3014dc,_0x5eb2e5)=>{const _0x5d9bc6=_0x515faf;r[_0x5d9bc6(0x19f)](_0x5d9bc6(0x19d))['then'](_0x1dbcaa=>{const _0x57e21c=_0x5d9bc6;let _0x201901=_0x1dbcaa[_0x57e21c(0x19c)]['version'][_0x57e21c(0x1b5)]('.')[_0x57e21c(0x1a8)](_0x298e2f=>parseInt(_0x298e2f,0xa)),_0x55bc1c=t[_0x57e21c(0x19e)][_0x57e21c(0x1b5)]('.')[_0x57e21c(0x1a8)](_0x330df7=>parseInt(_0x330df7,0xa)),_0x5d9fd0=!0x1,_0x376151=!0x1;_0x201901[_0x57e21c(0x19a)]((_0x2ba4ff,_0x5eb616)=>{!_0x376151&&(_0x201901[_0x5eb616]>_0x55bc1c[_0x5eb616]?_0x5d9fd0=!0x0:_0x201901[_0x5eb616]<_0x55bc1c[_0x5eb616]&&(_0x376151=!0x0));}),_0x3014dc(_0x5d9fd0);})[_0x5d9bc6(0x1a6)](_0x5e64b7=>{const _0x46386b=_0x5d9bc6;_0x5eb2e5(_0x5e64b7),a[_0x46386b(0x1a2)]('Error\x20checking\x20update'),_0x5e64b7&&i[_0x46386b(0x1a2)](_0x5e64b7[_0x46386b(0x1a5)]||_0x5e64b7),process[_0x46386b(0x1b3)](0x1);});})?(a[_0x515faf(0x1a2)]('Update\x20available'),i[_0x515faf(0x1b4)]('\x0a'+e[_0x515faf(0x1ab)]+_0x515faf(0x1b9),!0x0),i[_0x515faf(0x1b4)](e[_0x515faf(0x1ab)]+_0x515faf(0x1b2),!0x0),i['text'](_0x515faf(0x1bb),!0x0),process[_0x515faf(0x1b3)](0x1)):a[_0x515faf(0x1ba)](_0x515faf(0x1bc));}module[_0x2f0b2f(0x1ad)]=s;
@@ -1 +1 @@
1
- 'use strict';(function(_0x484005,_0x1f82ea){var _0x32f24e=_0x5eb6,_0x152706=_0x484005();while(!![]){try{var _0x9fa833=parseInt(_0x32f24e(0x9c))/0x1*(-parseInt(_0x32f24e(0xa2))/0x2)+-parseInt(_0x32f24e(0x98))/0x3+-parseInt(_0x32f24e(0x9b))/0x4+-parseInt(_0x32f24e(0xa1))/0x5*(-parseInt(_0x32f24e(0x9d))/0x6)+parseInt(_0x32f24e(0x9a))/0x7*(parseInt(_0x32f24e(0xa0))/0x8)+parseInt(_0x32f24e(0xa3))/0x9*(parseInt(_0x32f24e(0x9f))/0xa)+parseInt(_0x32f24e(0x9e))/0xb*(parseInt(_0x32f24e(0x99))/0xc);if(_0x9fa833===_0x1f82ea)break;else _0x152706['push'](_0x152706['shift']());}catch(_0x18767a){_0x152706['push'](_0x152706['shift']());}}}(_0x43fe,0x59b50));function _0x43fe(){var _0x30e23f=['995281uZjdVi','2781340ltAqxW','313577rydJuY','150mLPNIb','7925137KRXTtO','681480SLTvVH','40nfdjgm','25345zpKavY','2ZtxapE','54OGMuBE','1771929SVriSJ','12PTMgWf'];_0x43fe=function(){return _0x30e23f;};return _0x43fe();}function _0x5eb6(_0x56a508,_0xe9e501){var _0x43feee=_0x43fe();return _0x5eb6=function(_0x5eb648,_0x119a59){_0x5eb648=_0x5eb648-0x98;var _0xe2170e=_0x43feee[_0x5eb648];return _0xe2170e;},_0x5eb6(_0x56a508,_0xe9e501);}module['exports']={'versionStatus':{'DEVELOPMENT':0x0,'TESTING':0x2},'deviceModeSetup':{'TUNNEL_SERVER_HOST':'mini.123c.vn'}};
1
+ 'use strict';var _0x15d4d1=_0x161b;(function(_0xdc1182,_0x1223c0){var _0x715ce9=_0x161b,_0xbbbeda=_0xdc1182();while(!![]){try{var _0x374804=-parseInt(_0x715ce9(0x17e))/0x1+parseInt(_0x715ce9(0x17f))/0x2+-parseInt(_0x715ce9(0x179))/0x3*(parseInt(_0x715ce9(0x17a))/0x4)+-parseInt(_0x715ce9(0x17d))/0x5+parseInt(_0x715ce9(0x178))/0x6+parseInt(_0x715ce9(0x177))/0x7+parseInt(_0x715ce9(0x17b))/0x8*(-parseInt(_0x715ce9(0x180))/0x9);if(_0x374804===_0x1223c0)break;else _0xbbbeda['push'](_0xbbbeda['shift']());}catch(_0x45a671){_0xbbbeda['push'](_0xbbbeda['shift']());}}}(_0x4aff,0xd5b6a));function _0x4aff(){var _0x1ed0be=['42488hLPIht','exports','1699330BQfgUf','1163645iulKML','1091022GINEFx','1368urqDzs','mini.123c.vn','10886687iyHCcC','9241308UpccoQ','3FZzFcM','1819268MQflPz'];_0x4aff=function(){return _0x1ed0be;};return _0x4aff();}function _0x161b(_0x9403ef,_0x381e2e){var _0x4aff35=_0x4aff();return _0x161b=function(_0x161b77,_0x165965){_0x161b77=_0x161b77-0x176;var _0x145f52=_0x4aff35[_0x161b77];return _0x145f52;},_0x161b(_0x9403ef,_0x381e2e);}module[_0x15d4d1(0x17c)]={'versionStatus':{'DEVELOPMENT':0x0,'TESTING':0x2},'deviceModeSetup':{'TUNNEL_SERVER_HOST':_0x15d4d1(0x176)}};
package/utils/env.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x44fde8=_0x474d;(function(_0x510afe,_0x167dcd){const _0x1b51a3=_0x474d,_0x4514d3=_0x510afe();while(!![]){try{const _0x370019=parseInt(_0x1b51a3(0x13d))/0x1*(-parseInt(_0x1b51a3(0x151))/0x2)+parseInt(_0x1b51a3(0x142))/0x3*(-parseInt(_0x1b51a3(0x14f))/0x4)+-parseInt(_0x1b51a3(0x13f))/0x5*(-parseInt(_0x1b51a3(0x144))/0x6)+parseInt(_0x1b51a3(0x14e))/0x7*(-parseInt(_0x1b51a3(0x14c))/0x8)+parseInt(_0x1b51a3(0x140))/0x9*(-parseInt(_0x1b51a3(0x148))/0xa)+-parseInt(_0x1b51a3(0x147))/0xb*(parseInt(_0x1b51a3(0x145))/0xc)+parseInt(_0x1b51a3(0x150))/0xd;if(_0x370019===_0x167dcd)break;else _0x4514d3['push'](_0x4514d3['shift']());}catch(_0x33d206){_0x4514d3['push'](_0x4514d3['shift']());}}}(_0xa0e2,0x46417));const e=require('./fs-extra'),t=require(_0x44fde8(0x14a)),{parse:r,stringify:n}=require(_0x44fde8(0x141));function _0x474d(_0x4fd842,_0x483ca6){const _0xa0e2aa=_0xa0e2();return _0x474d=function(_0x474d41,_0x1abd3d){_0x474d41=_0x474d41-0x13d;let _0x3291ad=_0xa0e2aa[_0x474d41];return _0x3291ad;},_0x474d(_0x4fd842,_0x483ca6);}function _0xa0e2(){const _0x2b90ff=['2060772gniuwe','writeFileSync','11XEiaZp','2213810HJGWzA','exports','../config','readFileSync','2248hPKHuE','root_env','10864HGRMrT','8SEgmLb','22411038vPEVNa','794972sJqiHA','1nuvnSV','existsSync','63610IoyRHC','18kaqcRH','envfile','497343NEWanG','utf8','162ctcbAJ'];_0xa0e2=function(){return _0x2b90ff;};return _0xa0e2();}module[_0x44fde8(0x149)]={'getEnv':function(_0x1879c6){const _0x2eb21c=_0x44fde8;let _0x2b538c=process['env'][_0x1879c6];if(_0x2b538c)return _0x2b538c;let _0xae5e81=t[_0x2eb21c(0x14d)]();if(e[_0x2eb21c(0x13e)](_0xae5e81))return r(e[_0x2eb21c(0x14b)](_0xae5e81,_0x2eb21c(0x143)))[_0x1879c6];},'setEnv':function(_0x494d47,_0x580a48){const _0x56305c=_0x44fde8;let _0x3673c1=t[_0x56305c(0x14d)](),_0x524777=r(e[_0x56305c(0x14b)](_0x3673c1,_0x56305c(0x143)));_0x524777[_0x494d47]=_0x580a48,e[_0x56305c(0x146)](_0x3673c1,n(_0x524777));}};
1
+ 'use strict';const _0x430d9f=_0x5dfb;(function(_0x2b4efb,_0x4ec18c){const _0x198f68=_0x5dfb,_0x42be9c=_0x2b4efb();while(!![]){try{const _0x1e51dc=parseInt(_0x198f68(0x1e4))/0x1+-parseInt(_0x198f68(0x1eb))/0x2*(parseInt(_0x198f68(0x1e3))/0x3)+parseInt(_0x198f68(0x1e5))/0x4*(parseInt(_0x198f68(0x1dd))/0x5)+parseInt(_0x198f68(0x1e0))/0x6+parseInt(_0x198f68(0x1e9))/0x7*(parseInt(_0x198f68(0x1de))/0x8)+parseInt(_0x198f68(0x1e2))/0x9*(-parseInt(_0x198f68(0x1ec))/0xa)+-parseInt(_0x198f68(0x1ef))/0xb;if(_0x1e51dc===_0x4ec18c)break;else _0x42be9c['push'](_0x42be9c['shift']());}catch(_0x435386){_0x42be9c['push'](_0x42be9c['shift']());}}}(_0x37c3,0xc91a8));function _0x5dfb(_0x2b0166,_0x2b6b00){const _0x37c32f=_0x37c3();return _0x5dfb=function(_0x5dfb97,_0x1787a2){_0x5dfb97=_0x5dfb97-0x1dd;let _0x3781fd=_0x37c32f[_0x5dfb97];return _0x3781fd;},_0x5dfb(_0x2b0166,_0x2b6b00);}function _0x37c3(){const _0xfc0000=['9141486axjind','utf8','3244905SMyLVU','73071VzyAdw','962234kaCAIu','72244ZOfqqJ','./fs-extra','env','envfile','4026183kTCFES','writeFileSync','58xrGNbC','10PxMrfx','root_env','exports','25986312SwjNOA','330UyrcuE','8lnnoyu','readFileSync'];_0x37c3=function(){return _0xfc0000;};return _0x37c3();}const e=require(_0x430d9f(0x1e6)),t=require('../config'),{parse:r,stringify:n}=require(_0x430d9f(0x1e8));module[_0x430d9f(0x1ee)]={'getEnv':function(_0x1c7d6c){const _0x4c39c3=_0x430d9f;let _0x1a2c0e=process[_0x4c39c3(0x1e7)][_0x1c7d6c];if(_0x1a2c0e)return _0x1a2c0e;let _0x3c975f=t[_0x4c39c3(0x1ed)]();if(e['existsSync'](_0x3c975f))return r(e[_0x4c39c3(0x1df)](_0x3c975f,_0x4c39c3(0x1e1)))[_0x1c7d6c];},'setEnv':function(_0x4b93de,_0xc29a24){const _0x2a2970=_0x430d9f;let _0x4cf426=t[_0x2a2970(0x1ed)](),_0x46cd70=r(e[_0x2a2970(0x1df)](_0x4cf426,_0x2a2970(0x1e1)));_0x46cd70[_0x4b93de]=_0xc29a24,e[_0x2a2970(0x1ea)](_0x4cf426,n(_0x46cd70));}};
package/utils/error.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1b9d0e=_0x1fff;function _0x48ec(){const _0x2522fb=['854742dthlqd','message','exports','zmp-cli-core','../utils/log','Vite\x20not\x20found.\x20Please\x20install\x20node_modules\x20dependencies\x20and\x20try\x20again.','stderr','8yHEwHY','The\x20destination\x20folder\x20already\x20exists.\x20Please\x20choose\x20another\x20name.','../config','error','3895tRPUYM','permission_denied','1379996UhibHb','11814354IeRyVD','error_code','2262QOxHcG','404585DrqwvI','2752253VGntah','1655769sshAbA'];_0x48ec=function(){return _0x2522fb;};return _0x48ec();}(function(_0x485eb2,_0x58db32){const _0x158641=_0x1fff,_0x278c22=_0x485eb2();while(!![]){try{const _0x2339c1=parseInt(_0x158641(0x1c0))/0x1+parseInt(_0x158641(0x1af))/0x2+parseInt(_0x158641(0x1ae))/0x3+parseInt(_0x158641(0x1bc))/0x4+-parseInt(_0x158641(0x1ba))/0x5*(-parseInt(_0x158641(0x1bf))/0x6)+-parseInt(_0x158641(0x1ad))/0x7+-parseInt(_0x158641(0x1b6))/0x8*(parseInt(_0x158641(0x1bd))/0x9);if(_0x2339c1===_0x58db32)break;else _0x278c22['push'](_0x278c22['shift']());}catch(_0x587b03){_0x278c22['push'](_0x278c22['shift']());}}}(_0x48ec,0x4d504));function _0x1fff(_0xcd03fc,_0x542864){const _0x48ec71=_0x48ec();return _0x1fff=function(_0x1fff7c,_0x572477){_0x1fff7c=_0x1fff7c-0x1ad;let _0x484cf0=_0x48ec71[_0x1fff7c];return _0x484cf0;},_0x1fff(_0xcd03fc,_0x542864);}const {TranslatableError:e}=require(_0x1b9d0e(0x1b2)),r=require(_0x1b9d0e(0x1b8)),s=require(_0x1b9d0e(0x1b3));module[_0x1b9d0e(0x1b1)]={'handleError':function(_0x14c94c){const _0x18acf3=_0x1b9d0e;if(_0x14c94c===r[_0x18acf3(0x1be)][_0x18acf3(0x1bb)])return r['error_msg']['permission_denied'];},'errorExit':function(_0x20c5b5){const _0x2fd514=_0x1b9d0e;_0x20c5b5 instanceof e?s[_0x2fd514(0x1b9)]({'msg.folder-existed':_0x2fd514(0x1b7),'msg.please-install-vite':_0x2fd514(0x1b4)}[_0x20c5b5[_0x2fd514(0x1b0)]]):s[_0x2fd514(0x1b9)](_0x20c5b5[_0x2fd514(0x1b5)]||_0x20c5b5),process['exit'](0x1);}};
1
+ 'use strict';const _0x392e15=_0x3837;(function(_0x53966e,_0x376c84){const _0x12d72c=_0x3837,_0x58b2c9=_0x53966e();while(!![]){try{const _0x27255d=-parseInt(_0x12d72c(0x12e))/0x1+parseInt(_0x12d72c(0x12a))/0x2+-parseInt(_0x12d72c(0x129))/0x3*(parseInt(_0x12d72c(0x126))/0x4)+parseInt(_0x12d72c(0x125))/0x5+parseInt(_0x12d72c(0x122))/0x6+parseInt(_0x12d72c(0x12d))/0x7+parseInt(_0x12d72c(0x123))/0x8*(-parseInt(_0x12d72c(0x124))/0x9);if(_0x27255d===_0x376c84)break;else _0x58b2c9['push'](_0x58b2c9['shift']());}catch(_0x1a2233){_0x58b2c9['push'](_0x58b2c9['shift']());}}}(_0x137e,0xc5ef5));const {TranslatableError:e}=require(_0x392e15(0x12f)),r=require('../config'),s=require('../utils/log');function _0x3837(_0x3d6e5d,_0x5737a4){const _0x137e38=_0x137e();return _0x3837=function(_0x3837db,_0x306912){_0x3837db=_0x3837db-0x122;let _0x51ff74=_0x137e38[_0x3837db];return _0x51ff74;},_0x3837(_0x3d6e5d,_0x5737a4);}module[_0x392e15(0x12c)]={'handleError':function(_0x49a241){const _0x2470d3=_0x392e15;if(_0x49a241===r[_0x2470d3(0x12b)][_0x2470d3(0x130)])return r[_0x2470d3(0x128)][_0x2470d3(0x130)];},'errorExit':function(_0xa21209){const _0x3bb627=_0x392e15;_0xa21209 instanceof e?s['error']({'msg.folder-existed':'The\x20destination\x20folder\x20already\x20exists.\x20Please\x20choose\x20another\x20name.','msg.please-install-vite':'Vite\x20not\x20found.\x20Please\x20install\x20node_modules\x20dependencies\x20and\x20try\x20again.'}[_0xa21209['message']]):s['error'](_0xa21209['stderr']||_0xa21209),process[_0x3bb627(0x127)](0x1);}};function _0x137e(){const _0x3869c9=['1675316vwsTgq','error_code','exports','10383716YMTTpq','1549921BFchps','zmp-cli-core','permission_denied','1257816lbwKmO','4046640bVIOjp','27VPlWtd','8073610bdjJZs','178168nAtiua','exit','error_msg','18BxcbRy'];_0x137e=function(){return _0x3869c9;};return _0x137e();}
@@ -1 +1 @@
1
- 'use strict';function _0x3169(_0x9cf579,_0x529cc3){var _0x2a1fdb=_0x2a1f();return _0x3169=function(_0x316952,_0x455a81){_0x316952=_0x316952-0xa1;var _0xda0c42=_0x2a1fdb[_0x316952];return _0xda0c42;},_0x3169(_0x9cf579,_0x529cc3);}var _0x2b4aaa=_0x3169;(function(_0x39dbf2,_0x59dcbf){var _0x1023a3=_0x3169,_0x267542=_0x39dbf2();while(!![]){try{var _0x1eb3f8=-parseInt(_0x1023a3(0xb2))/0x1+parseInt(_0x1023a3(0xb1))/0x2*(parseInt(_0x1023a3(0xb0))/0x3)+parseInt(_0x1023a3(0xa2))/0x4+parseInt(_0x1023a3(0xa5))/0x5+-parseInt(_0x1023a3(0xa3))/0x6+-parseInt(_0x1023a3(0xac))/0x7+parseInt(_0x1023a3(0xa8))/0x8;if(_0x1eb3f8===_0x59dcbf)break;else _0x267542['push'](_0x267542['shift']());}catch(_0x33ca4a){_0x267542['push'](_0x267542['shift']());}}}(_0x2a1f,0x7597f));function _0x2a1f(){var _0x3fc59b=['2dAIInQ','594434fHdJQX','statSync','substr','2159248digsOR','2044128KVtYpT','tsx','4248615PgozWT','path','join','4586552LieErW','jsx','lastIndexOf','forEach','6385519ycHeWN','readdirSync','includes','push','1098444FgdkRi'];_0x2a1f=function(){return _0x3fc59b;};return _0x2a1f();}const e=require('fs'),s=require(_0x2b4aaa(0xa6));module['exports']=function t(_0x5542a7,_0x16d6c0=[_0x2b4aaa(0xa9),_0x2b4aaa(0xa4),'vue']){var _0x25c00b=_0x2b4aaa,_0x52bb03=e[_0x25c00b(0xad)](_0x5542a7),_0x399013=[];return _0x52bb03[_0x25c00b(0xab)](function(_0x1bb38a){var _0x1e75bd=_0x25c00b,_0x13d5e2=s[_0x1e75bd(0xa7)](_0x5542a7,_0x1bb38a);if(e[_0x1e75bd(0xb3)](_0x13d5e2)['isDirectory']())_0x399013=[..._0x399013,...t(_0x13d5e2,_0x16d6c0)];else{let _0x24fdc6=_0x1bb38a['substr'](_0x1bb38a[_0x1e75bd(0xaa)]('.')+0x1),_0x268c7b=_0x1bb38a[_0x1e75bd(0xa1)](0x0,_0x1bb38a['lastIndexOf']('.'));_0x16d6c0[_0x1e75bd(0xae)](_0x24fdc6)&&_0x399013[_0x1e75bd(0xaf)]({'fileName':_0x268c7b,'ext':_0x24fdc6,'folderPath':_0x5542a7});}}),_0x399013;};
1
+ 'use strict';function _0x22b2(_0x34dd15,_0x9f4af8){var _0x553946=_0x5539();return _0x22b2=function(_0x22b2aa,_0x7d5bd7){_0x22b2aa=_0x22b2aa-0xb6;var _0x157033=_0x553946[_0x22b2aa];return _0x157033;},_0x22b2(_0x34dd15,_0x9f4af8);}var _0x11ed80=_0x22b2;function _0x5539(){var _0x1988af=['4219855XNbwpT','lastIndexOf','exports','5946752RXpbEz','forEach','join','path','tsx','31822XkQSQq','22801230QbVpnh','1599849UhqfgT','5488204Qfwllv','54341fkXEAy','substr','55iUTnGE','push','isDirectory','1290iGsrZk','includes'];_0x5539=function(){return _0x1988af;};return _0x5539();}(function(_0x54cd4f,_0x458e78){var _0x2939d6=_0x22b2,_0x1dedc3=_0x54cd4f();while(!![]){try{var _0x5e6004=parseInt(_0x2939d6(0xc6))/0x1*(-parseInt(_0x2939d6(0xc0))/0x2)+-parseInt(_0x2939d6(0xc2))/0x3+parseInt(_0x2939d6(0xc3))/0x4+parseInt(_0x2939d6(0xb8))/0x5+parseInt(_0x2939d6(0xb6))/0x6*(-parseInt(_0x2939d6(0xc4))/0x7)+-parseInt(_0x2939d6(0xbb))/0x8+parseInt(_0x2939d6(0xc1))/0x9;if(_0x5e6004===_0x458e78)break;else _0x1dedc3['push'](_0x1dedc3['shift']());}catch(_0xf5030c){_0x1dedc3['push'](_0x1dedc3['shift']());}}}(_0x5539,0xe2bcb));const e=require('fs'),s=require(_0x11ed80(0xbe));module[_0x11ed80(0xba)]=function t(_0x163a4a,_0x3a3962=['jsx',_0x11ed80(0xbf),'vue']){var _0x3ad496=_0x11ed80,_0x21acb0=e['readdirSync'](_0x163a4a),_0x39ef0d=[];return _0x21acb0[_0x3ad496(0xbc)](function(_0x2ac07f){var _0x585597=_0x3ad496,_0x10e0d5=s[_0x585597(0xbd)](_0x163a4a,_0x2ac07f);if(e['statSync'](_0x10e0d5)[_0x585597(0xc8)]())_0x39ef0d=[..._0x39ef0d,...t(_0x10e0d5,_0x3a3962)];else{let _0x2cfd57=_0x2ac07f[_0x585597(0xc5)](_0x2ac07f[_0x585597(0xb9)]('.')+0x1),_0x4dfb7a=_0x2ac07f[_0x585597(0xc5)](0x0,_0x2ac07f['lastIndexOf']('.'));_0x3a3962[_0x585597(0xb7)](_0x2cfd57)&&_0x39ef0d[_0x585597(0xc7)]({'fileName':_0x4dfb7a,'ext':_0x2cfd57,'folderPath':_0x163a4a});}}),_0x39ef0d;};
@@ -1 +1 @@
1
- 'use strict';function _0x5953(){const _0xcc7e71=['676fXtWnk','port','53000USiwwm','address','2909880hXDPqg','1195208VlwPuE','1BoNBVY','592064dTZymu','783294JafCkN','createServer','net','5uivKtV','4027750EdvNUe','close','339YApcgq','listen'];_0x5953=function(){return _0xcc7e71;};return _0x5953();}function _0x5583(_0x4b11dc,_0x26081b){const _0x59536c=_0x5953();return _0x5583=function(_0x55833e,_0x3ab3d7){_0x55833e=_0x55833e-0x7d;let _0x58c77f=_0x59536c[_0x55833e];return _0x58c77f;},_0x5583(_0x4b11dc,_0x26081b);}const _0x58f3f7=_0x5583;(function(_0x1ef647,_0x3862b1){const _0x622859=_0x5583,_0x2957fc=_0x1ef647();while(!![]){try{const _0x3f946e=-parseInt(_0x622859(0x83))/0x1*(-parseInt(_0x622859(0x7f))/0x2)+parseInt(_0x622859(0x8b))/0x3*(-parseInt(_0x622859(0x7d))/0x4)+-parseInt(_0x622859(0x88))/0x5*(parseInt(_0x622859(0x85))/0x6)+parseInt(_0x622859(0x82))/0x7+parseInt(_0x622859(0x84))/0x8+-parseInt(_0x622859(0x81))/0x9+parseInt(_0x622859(0x89))/0xa;if(_0x3f946e===_0x3862b1)break;else _0x2957fc['push'](_0x2957fc['shift']());}catch(_0xdc9a97){_0x2957fc['push'](_0x2957fc['shift']());}}}(_0x5953,0x31165));const e=require(_0x58f3f7(0x87));module['exports']=async function(){return new Promise(_0x45ac1c=>{const _0x36c889=_0x5583;let _0x1985ec=e[_0x36c889(0x86)]();_0x1985ec[_0x36c889(0x8c)](0x0,()=>{const _0x3809dd=_0x36c889;let _0x5301d5=_0x1985ec[_0x3809dd(0x80)]()[_0x3809dd(0x7e)];_0x1985ec[_0x3809dd(0x8a)](()=>_0x45ac1c(_0x5301d5));});});};
1
+ 'use strict';const _0x52469b=_0x3d9f;function _0x3d9f(_0x4f5c64,_0x4b719d){const _0x4a1b0f=_0x4a1b();return _0x3d9f=function(_0x3d9fb3,_0x141cee){_0x3d9fb3=_0x3d9fb3-0x134;let _0x31e5d9=_0x4a1b0f[_0x3d9fb3];return _0x31e5d9;},_0x3d9f(_0x4f5c64,_0x4b719d);}function _0x4a1b(){const _0x51ed4b=['createServer','net','258GMably','close','16504362TyyZQb','91fAISnp','6918lrEzpN','825553hthccS','1492JJZwup','3637385HaVbWl','2591940uWReKy','listen','exports','3159568ThnGls'];_0x4a1b=function(){return _0x51ed4b;};return _0x4a1b();}(function(_0x4d4872,_0x26e1e3){const _0x18ada3=_0x3d9f,_0xfc18ac=_0x4d4872();while(!![]){try{const _0x3c0e77=parseInt(_0x18ada3(0x13f))/0x1+-parseInt(_0x18ada3(0x134))/0x2+parseInt(_0x18ada3(0x13e))/0x3*(-parseInt(_0x18ada3(0x140))/0x4)+parseInt(_0x18ada3(0x141))/0x5+-parseInt(_0x18ada3(0x13a))/0x6*(parseInt(_0x18ada3(0x13d))/0x7)+-parseInt(_0x18ada3(0x137))/0x8+parseInt(_0x18ada3(0x13c))/0x9;if(_0x3c0e77===_0x26e1e3)break;else _0xfc18ac['push'](_0xfc18ac['shift']());}catch(_0x293171){_0xfc18ac['push'](_0xfc18ac['shift']());}}}(_0x4a1b,0xcbea3));const e=require(_0x52469b(0x139));module[_0x52469b(0x136)]=async function(){return new Promise(_0x18340c=>{const _0x4d11d9=_0x3d9f;let _0xa29f25=e[_0x4d11d9(0x138)]();_0xa29f25[_0x4d11d9(0x135)](0x0,()=>{const _0x21c992=_0x4d11d9;let _0x5688aa=_0xa29f25['address']()['port'];_0xa29f25[_0x21c992(0x13b)](()=>_0x18340c(_0x5688aa));});});};
package/utils/fs-extra.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x321c(_0x2e856b,_0x2efd19){const _0x54de5c=_0x54de();return _0x321c=function(_0x321c2c,_0x1b7851){_0x321c2c=_0x321c2c-0x147;let _0x3b6586=_0x54de5c[_0x321c2c];return _0x3b6586;},_0x321c(_0x2e856b,_0x2efd19);}function _0x54de(){const _0x3e6e62=['existsSync','4139368fmkUWM','join','utf8','writeFile','249097pVrPqB','161Kouutp','4294040fIebJI','128118wiwVNh','writeFileSync','copyFileSync','469028lunxcA','exports','length','98343McHFvR','removeDirSync','readdirSync','isDirectory','mkdirSync','copyFile','unlinkSync','forEach','dirname','2oewycN','5QMobex','slice','path','sep','split','145281IrBNks'];_0x54de=function(){return _0x3e6e62;};return _0x54de();}const _0x18b7fb=_0x321c;(function(_0x49f74c,_0x5ab445){const _0x37d84a=_0x321c,_0x144e53=_0x49f74c();while(!![]){try{const _0x34e9fd=-parseInt(_0x37d84a(0x150))/0x1*(parseInt(_0x37d84a(0x162))/0x2)+-parseInt(_0x37d84a(0x14a))/0x3+parseInt(_0x37d84a(0x156))/0x4*(parseInt(_0x37d84a(0x163))/0x5)+parseInt(_0x37d84a(0x153))/0x6*(-parseInt(_0x37d84a(0x151))/0x7)+parseInt(_0x37d84a(0x14c))/0x8+parseInt(_0x37d84a(0x159))/0x9+parseInt(_0x37d84a(0x152))/0xa;if(_0x34e9fd===_0x5ab445)break;else _0x144e53['push'](_0x144e53['shift']());}catch(_0x3c691a){_0x144e53['push'](_0x144e53['shift']());}}}(_0x54de,0x45e9e));const e=require('fs'),i=require(_0x18b7fb(0x147)),n={'createReadStream':_0xb0565d=>e['createReadStream'](_0xb0565d),'unlinkSync':_0x3bd9b7=>e[_0x18b7fb(0x15f)](_0x3bd9b7),'existsSync':_0x599e31=>e['existsSync'](_0x599e31),'readdirSync':_0x1afe10=>e['readdirSync'](_0x1afe10),'mkdirSync'(_0x55173d){const _0xee8710=_0x18b7fb;if(e[_0xee8710(0x14b)](_0x55173d)){e['mkdirSync'](_0x55173d);return;}_0x55173d['split'](i[_0xee8710(0x148)])[_0xee8710(0x160)]((_0x35ffcf,_0x6a955b)=>{const _0xac78fc=_0xee8710;if(!_0x35ffcf)return;let _0x1f6489=_0x55173d[_0xac78fc(0x149)](i[_0xac78fc(0x148)])[_0xac78fc(0x164)](0x0,_0x6a955b+0x1)[_0xac78fc(0x14d)](i['sep']);e['existsSync'](_0x1f6489)||e[_0xac78fc(0x15d)](_0x1f6489);});},'readFileSync':(_0x3812d2,_0x46fe53=_0x18b7fb(0x14e))=>e['readFileSync'](_0x3812d2,_0x46fe53),'writeFileSync':(_0x4a4667,_0x46c54a='')=>(e[_0x18b7fb(0x14b)](i[_0x18b7fb(0x161)](_0x4a4667))||n[_0x18b7fb(0x15d)](i[_0x18b7fb(0x161)](_0x4a4667)),e[_0x18b7fb(0x154)](_0x4a4667,_0x46c54a)),'writeFileAsync':(_0x308f4c,_0xbbbe4a='')=>(e[_0x18b7fb(0x14b)](i[_0x18b7fb(0x161)](_0x308f4c))||n[_0x18b7fb(0x15d)](i[_0x18b7fb(0x161)](_0x308f4c)),new Promise((_0x16e97d,_0x17cc77)=>{const _0x1a4ec5=_0x18b7fb;e[_0x1a4ec5(0x14f)](_0x308f4c,_0xbbbe4a,_0x53b80f=>{_0x53b80f?_0x17cc77():_0x16e97d();});})),'copyFileSync'(_0x218003,_0x3b4e54){const _0x56d946=_0x18b7fb;e['existsSync'](i[_0x56d946(0x161)](_0x3b4e54))||n['mkdirSync'](i[_0x56d946(0x161)](_0x3b4e54)),e[_0x56d946(0x155)](_0x218003,_0x3b4e54);},'copyFileAsync':(_0x39dd94,_0x1bdaf2)=>(e['existsSync'](i[_0x18b7fb(0x161)](_0x1bdaf2))||n['mkdirSync'](i['dirname'](_0x1bdaf2)),new Promise((_0x983da3,_0xacb914)=>{const _0x2de3f7=_0x18b7fb;e[_0x2de3f7(0x15e)](_0x39dd94,_0x1bdaf2,_0x248d7d=>{_0x248d7d?_0xacb914(_0x248d7d):_0x983da3();});})),'removeDirSync'(_0x1db9ad){const _0x334e89=_0x18b7fb;if(e['existsSync'](_0x1db9ad)){let _0x126c51=e[_0x334e89(0x15b)](_0x1db9ad);_0x126c51[_0x334e89(0x158)]>0x0&&_0x126c51[_0x334e89(0x160)](function(_0x439fef){const _0x447606=_0x334e89;e['statSync'](_0x1db9ad+'/'+_0x439fef)[_0x447606(0x15c)]()?n[_0x447606(0x15a)](_0x1db9ad+'/'+_0x439fef):e[_0x447606(0x15f)](_0x1db9ad+'/'+_0x439fef);}),e['rmdirSync'](_0x1db9ad);}}};module[_0x18b7fb(0x157)]=n;
1
+ 'use strict';const _0x268d5f=_0x1fa1;(function(_0x490070,_0x487de5){const _0x35757f=_0x1fa1,_0x43e7fa=_0x490070();while(!![]){try{const _0x417250=-parseInt(_0x35757f(0xae))/0x1*(parseInt(_0x35757f(0xa9))/0x2)+parseInt(_0x35757f(0xa6))/0x3*(parseInt(_0x35757f(0xc1))/0x4)+-parseInt(_0x35757f(0xb1))/0x5*(-parseInt(_0x35757f(0xac))/0x6)+-parseInt(_0x35757f(0xa8))/0x7+-parseInt(_0x35757f(0xa5))/0x8+parseInt(_0x35757f(0xba))/0x9*(parseInt(_0x35757f(0xb4))/0xa)+parseInt(_0x35757f(0xbb))/0xb;if(_0x417250===_0x487de5)break;else _0x43e7fa['push'](_0x43e7fa['shift']());}catch(_0x3dce47){_0x43e7fa['push'](_0x43e7fa['shift']());}}}(_0x2699,0xed7ac));function _0x1fa1(_0x4e3069,_0x538b0d){const _0x26993c=_0x2699();return _0x1fa1=function(_0x1fa160,_0x40c699){_0x1fa160=_0x1fa160-0xa4;let _0x55cbf9=_0x26993c[_0x1fa160];return _0x55cbf9;},_0x1fa1(_0x4e3069,_0x538b0d);}const e=require('fs'),i=require('path'),n={'createReadStream':_0x1184fd=>e[_0x268d5f(0xb5)](_0x1184fd),'unlinkSync':_0x59512f=>e['unlinkSync'](_0x59512f),'existsSync':_0x49b381=>e[_0x268d5f(0xbd)](_0x49b381),'readdirSync':_0x4fce2f=>e[_0x268d5f(0xb6)](_0x4fce2f),'mkdirSync'(_0x17f36c){const _0x6b5c6e=_0x268d5f;if(e['existsSync'](_0x17f36c)){e['mkdirSync'](_0x17f36c);return;}_0x17f36c[_0x6b5c6e(0xb2)](i['sep'])[_0x6b5c6e(0xb8)]((_0x55182a,_0x52a302)=>{const _0xc06967=_0x6b5c6e;if(!_0x55182a)return;let _0x3193c4=_0x17f36c[_0xc06967(0xb2)](i[_0xc06967(0xab)])[_0xc06967(0xb9)](0x0,_0x52a302+0x1)[_0xc06967(0xad)](i[_0xc06967(0xab)]);e['existsSync'](_0x3193c4)||e[_0xc06967(0xc0)](_0x3193c4);});},'readFileSync':(_0x486815,_0x47be0f=_0x268d5f(0xa7))=>e['readFileSync'](_0x486815,_0x47be0f),'writeFileSync':(_0x2d65b0,_0x40da6a='')=>(e[_0x268d5f(0xbd)](i[_0x268d5f(0xb7)](_0x2d65b0))||n['mkdirSync'](i[_0x268d5f(0xb7)](_0x2d65b0)),e[_0x268d5f(0xbe)](_0x2d65b0,_0x40da6a)),'writeFileAsync':(_0x9949b4,_0xb72153='')=>(e[_0x268d5f(0xbd)](i[_0x268d5f(0xb7)](_0x9949b4))||n[_0x268d5f(0xc0)](i['dirname'](_0x9949b4)),new Promise((_0x426e61,_0x3f79f2)=>{const _0x2022fc=_0x268d5f;e[_0x2022fc(0xaf)](_0x9949b4,_0xb72153,_0x1dc87f=>{_0x1dc87f?_0x3f79f2():_0x426e61();});})),'copyFileSync'(_0x17a24e,_0xe18065){const _0x30ea34=_0x268d5f;e[_0x30ea34(0xbd)](i[_0x30ea34(0xb7)](_0xe18065))||n[_0x30ea34(0xc0)](i[_0x30ea34(0xb7)](_0xe18065)),e[_0x30ea34(0xbc)](_0x17a24e,_0xe18065);},'copyFileAsync':(_0xde3312,_0x45c5a5)=>(e[_0x268d5f(0xbd)](i[_0x268d5f(0xb7)](_0x45c5a5))||n['mkdirSync'](i[_0x268d5f(0xb7)](_0x45c5a5)),new Promise((_0x4af78e,_0x128b37)=>{const _0x51046e=_0x268d5f;e[_0x51046e(0xaa)](_0xde3312,_0x45c5a5,_0xd94ea=>{_0xd94ea?_0x128b37(_0xd94ea):_0x4af78e();});})),'removeDirSync'(_0x453457){const _0x1a0281=_0x268d5f;if(e['existsSync'](_0x453457)){let _0x5d67c2=e[_0x1a0281(0xb6)](_0x453457);_0x5d67c2[_0x1a0281(0xb0)]>0x0&&_0x5d67c2[_0x1a0281(0xb8)](function(_0x34a054){const _0x425d8c=_0x1a0281;e['statSync'](_0x453457+'/'+_0x34a054)['isDirectory']()?n['removeDirSync'](_0x453457+'/'+_0x34a054):e[_0x425d8c(0xbf)](_0x453457+'/'+_0x34a054);}),e[_0x1a0281(0xb3)](_0x453457);}}};module[_0x268d5f(0xa4)]=n;function _0x2699(){const _0xb8ef06=['unlinkSync','mkdirSync','20UyUOTS','exports','6573928ZTuHCm','258072tisMwr','utf8','2949030vbMtAr','783320obNscR','copyFile','sep','254922TJktOl','join','2FYfnNU','writeFile','length','190KRWmZR','split','rmdirSync','444110PvTvfS','createReadStream','readdirSync','dirname','forEach','slice','54kooLIn','7567725QRssGh','copyFileSync','existsSync','writeFileSync'];_0x2699=function(){return _0xb8ef06;};return _0x2699();}
@@ -1 +1 @@
1
- 'use strict';const _0x188e5a=_0x3320;function _0x3320(_0x5b9f5f,_0x3e94d6){const _0x15542c=_0x1554();return _0x3320=function(_0x332001,_0x384f4d){_0x332001=_0x332001-0x114;let _0x51de15=_0x15542c[_0x332001];return _0x51de15;},_0x3320(_0x5b9f5f,_0x3e94d6);}(function(_0xb7a5f,_0xabc41){const _0x420e09=_0x3320,_0x59b2ee=_0xb7a5f();while(!![]){try{const _0x23c1b5=parseInt(_0x420e09(0x118))/0x1*(-parseInt(_0x420e09(0x119))/0x2)+parseInt(_0x420e09(0x125))/0x3+parseInt(_0x420e09(0x124))/0x4+-parseInt(_0x420e09(0x123))/0x5+parseInt(_0x420e09(0x11b))/0x6*(parseInt(_0x420e09(0x11e))/0x7)+parseInt(_0x420e09(0x126))/0x8*(-parseInt(_0x420e09(0x127))/0x9)+-parseInt(_0x420e09(0x116))/0xa*(parseInt(_0x420e09(0x117))/0xb);if(_0x23c1b5===_0xabc41)break;else _0x59b2ee['push'](_0x59b2ee['shift']());}catch(_0x32d978){_0x59b2ee['push'](_0x59b2ee['shift']());}}}(_0x1554,0x98845));const e=require(_0x188e5a(0x122)),r=require(_0x188e5a(0x114)),t=require(_0x188e5a(0x11f));module[_0x188e5a(0x120)]=_0x21836d=>{const _0x3d3dc5=_0x188e5a;let _0x224d95=e[_0x3d3dc5(0x11d)](_0x21836d,_0x3d3dc5(0x129)+e[_0x3d3dc5(0x115)]+_0x3d3dc5(0x11c)),_0x1455cb=t(_0x224d95)[_0x3d3dc5(0x121)](({fileName:_0xe7d024,folderPath:_0xcd6b31,ext:_0x459ddf})=>{const _0x1b9dac=_0x3d3dc5;let _0x4f45aa=r(e[_0x1b9dac(0x128)](_0xcd6b31,_0xe7d024)[_0x1b9dac(0x11a)](''+_0x224d95+e['sep'],'')),_0x4eb50b=r(e[_0x1b9dac(0x128)](_0xcd6b31,_0xe7d024+'.'+_0x459ddf));return'\x22'+_0x4f45aa+'\x22\x20:\x20()\x20=>\x20import(\x22'+_0x4eb50b+'\x22)';});return'{'+_0x1455cb[_0x3d3dc5(0x128)](',')+'}';};function _0x1554(){const _0x4f4ffb=['sep','107990nwssmd','770TnHaFs','44647ZlWFSZ','20yyesVh','replace','2466RDqnFw','pages','resolve','19397xbaQsw','./find-files-by-ext','exports','map','path','3977395WCjgxA','4672252dqRMJb','1766250IwFQiE','2184848KyEhLU','9yewSdZ','join','src','normalize-path'];_0x1554=function(){return _0x4f4ffb;};return _0x1554();}
1
+ 'use strict';const _0x2af6b7=_0x1176;(function(_0x369a9d,_0x52d14c){const _0x3983ae=_0x1176,_0x801230=_0x369a9d();while(!![]){try{const _0xa66ef4=parseInt(_0x3983ae(0x1e5))/0x1+parseInt(_0x3983ae(0x1e1))/0x2*(parseInt(_0x3983ae(0x1da))/0x3)+-parseInt(_0x3983ae(0x1e9))/0x4+-parseInt(_0x3983ae(0x1e6))/0x5+parseInt(_0x3983ae(0x1e7))/0x6*(-parseInt(_0x3983ae(0x1e2))/0x7)+-parseInt(_0x3983ae(0x1e3))/0x8*(-parseInt(_0x3983ae(0x1de))/0x9)+parseInt(_0x3983ae(0x1dc))/0xa;if(_0xa66ef4===_0x52d14c)break;else _0x801230['push'](_0x801230['shift']());}catch(_0xd14c83){_0x801230['push'](_0x801230['shift']());}}}(_0x7360,0x1e145));function _0x7360(){const _0x372102=['./find-files-by-ext','3613190pbOGjE','sep','24354IfkdxO','normalize-path','map','274JeorkQ','49HOMYpr','56ldGDMh','join','80427GgpcOY','303025fYdqRC','102594ptMDDW','pages','849584epQVSE','path','\x22\x20:\x20()\x20=>\x20import(\x22','1209dharwR'];_0x7360=function(){return _0x372102;};return _0x7360();}function _0x1176(_0x1f04e7,_0x42e2ba){const _0x736027=_0x7360();return _0x1176=function(_0x117641,_0x225b0b){_0x117641=_0x117641-0x1d8;let _0xb08720=_0x736027[_0x117641];return _0xb08720;},_0x1176(_0x1f04e7,_0x42e2ba);}const e=require(_0x2af6b7(0x1d8)),r=require(_0x2af6b7(0x1df)),t=require(_0x2af6b7(0x1db));module['exports']=_0x20f8c2=>{const _0x2013e1=_0x2af6b7;let _0x3e1ac5=e['resolve'](_0x20f8c2,'src'+e['sep']+_0x2013e1(0x1e8)),_0x550d1f=t(_0x3e1ac5)[_0x2013e1(0x1e0)](({fileName:_0x478e5c,folderPath:_0x43241c,ext:_0x2ec3e8})=>{const _0x4839d3=_0x2013e1;let _0x3f44d5=r(e[_0x4839d3(0x1e4)](_0x43241c,_0x478e5c)['replace'](''+_0x3e1ac5+e[_0x4839d3(0x1dd)],'')),_0x163b33=r(e[_0x4839d3(0x1e4)](_0x43241c,_0x478e5c+'.'+_0x2ec3e8));return'\x22'+_0x3f44d5+_0x4839d3(0x1d9)+_0x163b33+'\x22)';});return'{'+_0x550d1f[_0x2013e1(0x1e4)](',')+'}';};
@@ -1 +1 @@
1
- 'use strict';function _0x1f53(){const _0x2f43f6=['stringify','error_msg','7nVsdsS','1253735stbQRf','get','api_domain','27966730CNpVNP','permission_denied','token','err','7925Abaayx','../config','getAppInfo','env','../utils/env','Bearer\x20','exports','getEnv','6dSwCLj','./axios','6253176CLLgTW','5956767LSPiGd','28INbWnY','no-cache','552957OaKFrk','1576828zOlguW','data','?appId='];_0x1f53=function(){return _0x2f43f6;};return _0x1f53();}const _0x55f8d2=_0x1b47;(function(_0x4e8a6d,_0x38a783){const _0x4fd7c6=_0x1b47,_0x476986=_0x4e8a6d();while(!![]){try{const _0x34e0ce=parseInt(_0x4fd7c6(0x1a3))/0x1+parseInt(_0x4fd7c6(0x196))/0x2+-parseInt(_0x4fd7c6(0x195))/0x3*(-parseInt(_0x4fd7c6(0x193))/0x4)+parseInt(_0x4fd7c6(0x19c))/0x5*(parseInt(_0x4fd7c6(0x1ab))/0x6)+-parseInt(_0x4fd7c6(0x19b))/0x7*(-parseInt(_0x4fd7c6(0x191))/0x8)+parseInt(_0x4fd7c6(0x192))/0x9+-parseInt(_0x4fd7c6(0x19f))/0xa;if(_0x34e0ce===_0x38a783)break;else _0x476986['push'](_0x476986['shift']());}catch(_0x4dc089){_0x476986['push'](_0x476986['shift']());}}}(_0x1f53,0xf045c));const r=require(_0x55f8d2(0x1a4)),e=require(_0x55f8d2(0x1a7)),{axiosClient:i}=require(_0x55f8d2(0x190));function _0x1b47(_0x4ce6dc,_0x2dde8e){const _0x1f53eb=_0x1f53();return _0x1b47=function(_0x1b471e,_0x5d6a18){_0x1b471e=_0x1b471e-0x190;let _0xb5cbd2=_0x1f53eb[_0x1b471e];return _0xb5cbd2;},_0x1b47(_0x4ce6dc,_0x2dde8e);}module[_0x55f8d2(0x1a9)]=async function(_0x30ac80){const _0x5c57ee=_0x55f8d2;let _0x4f8ac7=''+r[_0x5c57ee(0x19e)]+r['path'][_0x5c57ee(0x1a5)]+_0x5c57ee(0x198)+_0x30ac80,_0x12b1ac=e[_0x5c57ee(0x1aa)](r[_0x5c57ee(0x1a6)][_0x5c57ee(0x1a1)]),_0x51837c=await i[_0x5c57ee(0x19d)](_0x4f8ac7,{'headers':{'cache-control':_0x5c57ee(0x194),'Authorization':_0x5c57ee(0x1a8)+_0x12b1ac},'withCredentials':!0x0}),_0x2f662b=_0x51837c['data'];if(_0x2f662b&&_0x2f662b['err']>=0x0)return _0x2f662b[_0x5c57ee(0x197)];if(_0x2f662b[_0x5c57ee(0x1a2)]===r['error_code'][_0x5c57ee(0x1a0)])throw Error(r[_0x5c57ee(0x19a)][_0x5c57ee(0x1a0)]);throw Error(JSON[_0x5c57ee(0x199)](_0x51837c[_0x5c57ee(0x197)]));};
1
+ 'use strict';const _0x3079cc=_0x134a;function _0x134a(_0x30ca34,_0x2b9089){const _0x47ecfd=_0x47ec();return _0x134a=function(_0x134a14,_0x455356){_0x134a14=_0x134a14-0x17c;let _0x5b7277=_0x47ecfd[_0x134a14];return _0x5b7277;},_0x134a(_0x30ca34,_0x2b9089);}function _0x47ec(){const _0x720977=['894660BCHMMj','data','3020470grgwcO','474eoekZH','../utils/env','no-cache','stringify','token','api_domain','7687617BtGVOr','3321hhsPZo','error_code','106ziUhiB','6484PZajMW','903685rgmpBz','env','permission_denied','exports','./axios','9326MAuMjv','error_msg','getEnv','../config','20376sfZbIs'];_0x47ec=function(){return _0x720977;};return _0x47ec();}(function(_0x2091ea,_0x7036a8){const _0xd21dfd=_0x134a,_0x46b642=_0x2091ea();while(!![]){try{const _0x453212=-parseInt(_0xd21dfd(0x18f))/0x1*(parseInt(_0xd21dfd(0x17e))/0x2)+-parseInt(_0xd21dfd(0x186))/0x3*(-parseInt(_0xd21dfd(0x190))/0x4)+parseInt(_0xd21dfd(0x191))/0x5+parseInt(_0xd21dfd(0x183))/0x6+parseInt(_0xd21dfd(0x18c))/0x7+parseInt(_0xd21dfd(0x182))/0x8*(-parseInt(_0xd21dfd(0x18d))/0x9)+parseInt(_0xd21dfd(0x185))/0xa;if(_0x453212===_0x7036a8)break;else _0x46b642['push'](_0x46b642['shift']());}catch(_0x46e2e8){_0x46b642['push'](_0x46b642['shift']());}}}(_0x47ec,0x86cba));const r=require(_0x3079cc(0x181)),e=require(_0x3079cc(0x187)),{axiosClient:i}=require(_0x3079cc(0x17d));module[_0x3079cc(0x17c)]=async function(_0x3e01d6){const _0x2e0850=_0x3079cc;let _0x372a7f=''+r[_0x2e0850(0x18b)]+r['path']['getAppInfo']+'?appId='+_0x3e01d6,_0x37c51b=e[_0x2e0850(0x180)](r[_0x2e0850(0x192)][_0x2e0850(0x18a)]),_0x280063=await i['get'](_0x372a7f,{'headers':{'cache-control':_0x2e0850(0x188),'Authorization':'Bearer\x20'+_0x37c51b},'withCredentials':!0x0}),_0x5889ac=_0x280063[_0x2e0850(0x184)];if(_0x5889ac&&_0x5889ac['err']>=0x0)return _0x5889ac[_0x2e0850(0x184)];if(_0x5889ac['err']===r[_0x2e0850(0x18e)][_0x2e0850(0x193)])throw Error(r[_0x2e0850(0x17f)][_0x2e0850(0x193)]);throw Error(JSON[_0x2e0850(0x189)](_0x280063[_0x2e0850(0x184)]));};
@@ -1 +1 @@
1
- 'use strict';const _0x1b31ed=_0x49f4;(function(_0x32227c,_0x3d61ae){const _0x226651=_0x49f4,_0xd5291=_0x32227c();while(!![]){try{const _0x18c036=parseInt(_0x226651(0x7d))/0x1*(-parseInt(_0x226651(0x74))/0x2)+-parseInt(_0x226651(0x71))/0x3+-parseInt(_0x226651(0x78))/0x4*(parseInt(_0x226651(0x73))/0x5)+parseInt(_0x226651(0x79))/0x6*(parseInt(_0x226651(0x7b))/0x7)+parseInt(_0x226651(0x75))/0x8+parseInt(_0x226651(0x77))/0x9+parseInt(_0x226651(0x7a))/0xa;if(_0x18c036===_0x3d61ae)break;else _0xd5291['push'](_0xd5291['shift']());}catch(_0x432891){_0xd5291['push'](_0xd5291['shift']());}}}(_0xafbc,0xa2182));function _0xafbc(){const _0x5550a7=['6020NeIgxo','3505088xWFkHj','path','178983SFDmne','84BGpqFT','4417254KmnTpQ','20793100LxMjKA','7RCAtDq','resolve','283dZTlsa','filename','2694921jnNyAJ','zmp','204635oFydbe'];_0xafbc=function(){return _0x5550a7;};return _0xafbc();}function _0x49f4(_0x450216,_0x3aa8bf){const _0xafbcdd=_0xafbc();return _0x49f4=function(_0x49f4d9,_0x1a6604){_0x49f4d9=_0x49f4d9-0x70;let _0x5a7f92=_0xafbcdd[_0x49f4d9];return _0x5a7f92;},_0x49f4(_0x450216,_0x3aa8bf);}const e=require('../config'),r=require(_0x1b31ed(0x76));module['exports']=_0x53cbd2=>{const _0x422175=_0x1b31ed;let _0x4db204;try{_0x4db204=require(r[_0x422175(0x7c)](_0x53cbd2,e[_0x422175(0x70)]['zmpConfig']));}catch(_0x286f55){}if(!_0x4db204)try{_0x4db204=require(r[_0x422175(0x7c)](_0x53cbd2,'package.json'))[_0x422175(0x72)];}catch(_0x37c213){}if(_0x4db204)return{'cwd':_0x53cbd2,..._0x4db204||{}};};
1
+ 'use strict';const _0x3736f6=_0x4b7d;(function(_0x113e0b,_0x15d318){const _0x44e448=_0x4b7d,_0x331694=_0x113e0b();while(!![]){try{const _0x5b53a9=-parseInt(_0x44e448(0x118))/0x1+parseInt(_0x44e448(0x116))/0x2*(-parseInt(_0x44e448(0x11b))/0x3)+parseInt(_0x44e448(0x11d))/0x4+parseInt(_0x44e448(0x119))/0x5*(-parseInt(_0x44e448(0x111))/0x6)+-parseInt(_0x44e448(0x11a))/0x7+-parseInt(_0x44e448(0x11c))/0x8+parseInt(_0x44e448(0x112))/0x9*(parseInt(_0x44e448(0x117))/0xa);if(_0x5b53a9===_0x15d318)break;else _0x331694['push'](_0x331694['shift']());}catch(_0x16cbbe){_0x331694['push'](_0x331694['shift']());}}}(_0x3c80,0xb5d85));function _0x3c80(){const _0x4aee0e=['zmpConfig','resolve','4282560ONLovR','6289011KqtIBb','exports','package.json','../config','4hVcAEM','60Cxgwzy','451666imMBRe','5zrFAbW','8530893XexRqK','1900101LBFsAG','6287712iCfnzm','3955944DeXwxZ','path'];_0x3c80=function(){return _0x4aee0e;};return _0x3c80();}function _0x4b7d(_0x315327,_0x2d7790){const _0x3c807e=_0x3c80();return _0x4b7d=function(_0x4b7d02,_0x4c76eb){_0x4b7d02=_0x4b7d02-0x10e;let _0x1faca1=_0x3c807e[_0x4b7d02];return _0x1faca1;},_0x4b7d(_0x315327,_0x2d7790);}const e=require(_0x3736f6(0x115)),r=require(_0x3736f6(0x10e));module[_0x3736f6(0x113)]=_0x18d7d9=>{const _0x77d51a=_0x3736f6;let _0x21b7ad;try{_0x21b7ad=require(r[_0x77d51a(0x110)](_0x18d7d9,e['filename'][_0x77d51a(0x10f)]));}catch(_0x2ff611){}if(!_0x21b7ad)try{_0x21b7ad=require(r['resolve'](_0x18d7d9,_0x77d51a(0x114)))['zmp'];}catch(_0x5503e7){}if(_0x21b7ad)return{'cwd':_0x18d7d9,..._0x21b7ad||{}};};
package/utils/get-ip.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x14a3(_0x427270,_0x1890ff){const _0x42fd73=_0x42fd();return _0x14a3=function(_0x14a34f,_0x4a073c){_0x14a34f=_0x14a34f-0x8b;let _0x58b8db=_0x42fd73[_0x14a34f];return _0x58b8db;},_0x14a3(_0x427270,_0x1890ff);}(function(_0x27ba8c,_0x45068b){const _0x3068be=_0x14a3,_0x3ddb97=_0x27ba8c();while(!![]){try{const _0x16faf7=-parseInt(_0x3068be(0x91))/0x1*(parseInt(_0x3068be(0x9b))/0x2)+parseInt(_0x3068be(0x99))/0x3*(-parseInt(_0x3068be(0x8e))/0x4)+-parseInt(_0x3068be(0x8b))/0x5+parseInt(_0x3068be(0x90))/0x6+parseInt(_0x3068be(0x96))/0x7*(parseInt(_0x3068be(0x8d))/0x8)+parseInt(_0x3068be(0x97))/0x9*(-parseInt(_0x3068be(0x92))/0xa)+-parseInt(_0x3068be(0x95))/0xb*(-parseInt(_0x3068be(0x94))/0xc);if(_0x16faf7===_0x45068b)break;else _0x3ddb97['push'](_0x3ddb97['shift']());}catch(_0x5c5802){_0x3ddb97['push'](_0x3ddb97['shift']());}}}(_0x42fd,0xd5ec2));const {networkInterfaces:e}=require('os');module['exports']=function(){const _0x462848=_0x14a3;let _0x8b161a=e(),_0x970ee4=Object[_0x462848(0x8c)](null);for(let _0x2864f2 of Object['keys'](_0x8b161a))for(let _0x2a89c3 of _0x8b161a[_0x2864f2])_0x462848(0x8f)!==_0x2a89c3[_0x462848(0x98)]||_0x2a89c3[_0x462848(0x9a)]||(_0x970ee4[_0x2864f2]||(_0x970ee4[_0x2864f2]=[]),_0x970ee4[_0x2864f2]['push'](_0x2a89c3[_0x462848(0x93)]));return _0x970ee4;};function _0x42fd(){const _0x9c5c9f=['9086yeXWeV','42oqOGgT','29817HjjeNG','family','123CjZZCs','internal','3235220Jzhhhe','2944365ClRiXU','create','1785192VhSUwQ','69172Gqkowe','IPv4','9889506qjUzgz','1iNPBOD','4530MaDfHj','address','33492TjDpRl'];_0x42fd=function(){return _0x9c5c9f;};return _0x42fd();}
1
+ 'use strict';const _0x360822=_0x3538;function _0x3538(_0x3cb254,_0x45b3af){const _0x56f7a6=_0x56f7();return _0x3538=function(_0x353841,_0xbc5286){_0x353841=_0x353841-0x7c;let _0x53970e=_0x56f7a6[_0x353841];return _0x53970e;},_0x3538(_0x3cb254,_0x45b3af);}(function(_0x50bdd4,_0x10c911){const _0x4f4046=_0x3538,_0xd85122=_0x50bdd4();while(!![]){try{const _0x3acfdd=-parseInt(_0x4f4046(0x8b))/0x1+parseInt(_0x4f4046(0x80))/0x2*(-parseInt(_0x4f4046(0x84))/0x3)+-parseInt(_0x4f4046(0x83))/0x4*(-parseInt(_0x4f4046(0x7d))/0x5)+parseInt(_0x4f4046(0x87))/0x6*(-parseInt(_0x4f4046(0x7c))/0x7)+parseInt(_0x4f4046(0x7e))/0x8+-parseInt(_0x4f4046(0x86))/0x9+parseInt(_0x4f4046(0x7f))/0xa;if(_0x3acfdd===_0x10c911)break;else _0xd85122['push'](_0xd85122['shift']());}catch(_0x2c4ec0){_0xd85122['push'](_0xd85122['shift']());}}}(_0x56f7,0x1d40b));function _0x56f7(){const _0x28034d=['85592YyBKxP','IPv4','206059RgIvFP','127555jXRYgF','646328pwejAn','6565040RoYwgm','230190HcoCSo','address','family','4eVXYRI','3HcEdcs','create','1861236TDqbkX','48MaPxWX','push','exports','keys'];_0x56f7=function(){return _0x28034d;};return _0x56f7();}const {networkInterfaces:e}=require('os');module[_0x360822(0x89)]=function(){const _0x51c1d0=_0x360822;let _0x4a650d=e(),_0x22144e=Object[_0x51c1d0(0x85)](null);for(let _0x1dccf8 of Object[_0x51c1d0(0x8a)](_0x4a650d))for(let _0x46ab8f of _0x4a650d[_0x1dccf8])_0x51c1d0(0x8c)!==_0x46ab8f[_0x51c1d0(0x82)]||_0x46ab8f['internal']||(_0x22144e[_0x1dccf8]||(_0x22144e[_0x1dccf8]=[]),_0x22144e[_0x1dccf8][_0x51c1d0(0x88)](_0x46ab8f[_0x51c1d0(0x81)]));return _0x22144e;};
@@ -1 +1 @@
1
- 'use strict';const _0x554599=_0x26c8;(function(_0x70548d,_0x836f9b){const _0x2afa67=_0x26c8,_0x55f86a=_0x70548d();while(!![]){try{const _0x132e11=parseInt(_0x2afa67(0x14a))/0x1+-parseInt(_0x2afa67(0x146))/0x2+parseInt(_0x2afa67(0x149))/0x3*(parseInt(_0x2afa67(0x145))/0x4)+-parseInt(_0x2afa67(0x141))/0x5+parseInt(_0x2afa67(0x150))/0x6*(-parseInt(_0x2afa67(0x14b))/0x7)+-parseInt(_0x2afa67(0x13f))/0x8+parseInt(_0x2afa67(0x144))/0x9;if(_0x132e11===_0x836f9b)break;else _0x55f86a['push'](_0x55f86a['shift']());}catch(_0x26ecb4){_0x55f86a['push'](_0x55f86a['shift']());}}}(_0x3746,0x97800));function _0x3746(){const _0x315d31=['error_code','../config','245589mytKeP','1149377xkiNsL','7NaHOdO','./axios','permission_denied','err','no-cache','7295898QPNHSz','exports','data','?appId=','8826384KoBQAH','getLatestVersion','6133865TPUGMg','error_msg','api_domain','22815108mOBnYI','44lJdcpi','836568wCpZLQ'];_0x3746=function(){return _0x315d31;};return _0x3746();}function _0x26c8(_0x568372,_0x4e6250){const _0x3746df=_0x3746();return _0x26c8=function(_0x26c8b0,_0x934a81){_0x26c8b0=_0x26c8b0-0x13d;let _0x159833=_0x3746df[_0x26c8b0];return _0x159833;},_0x26c8(_0x568372,_0x4e6250);}const r=require(_0x554599(0x148)),{axiosClient:e}=require(_0x554599(0x14c));module[_0x554599(0x151)]=async function(_0x5d56b1){const _0x308dd1=_0x554599;let _0x5c24b3=''+r[_0x308dd1(0x143)]+r['path'][_0x308dd1(0x140)]+_0x308dd1(0x13e)+_0x5d56b1,_0x46d0fc=await e['get'](_0x5c24b3,{'headers':{'cache-control':_0x308dd1(0x14f)}}),_0x56262d=_0x46d0fc[_0x308dd1(0x13d)];if(_0x56262d&&_0x56262d[_0x308dd1(0x14e)]>=0x0)return _0x56262d[_0x308dd1(0x13d)];if(_0x56262d[_0x308dd1(0x14e)]===r[_0x308dd1(0x147)]['permission_denied'])throw Error(r[_0x308dd1(0x142)][_0x308dd1(0x14d)]);throw Error(JSON['stringify'](_0x46d0fc[_0x308dd1(0x13d)]));};
1
+ 'use strict';const _0x8667d1=_0x2725;(function(_0x14e054,_0x259fc6){const _0x288f4c=_0x2725,_0x4358de=_0x14e054();while(!![]){try{const _0x1284ab=-parseInt(_0x288f4c(0x80))/0x1*(-parseInt(_0x288f4c(0x7f))/0x2)+parseInt(_0x288f4c(0x8b))/0x3+parseInt(_0x288f4c(0x88))/0x4+parseInt(_0x288f4c(0x84))/0x5+-parseInt(_0x288f4c(0x85))/0x6+-parseInt(_0x288f4c(0x89))/0x7+parseInt(_0x288f4c(0x8f))/0x8*(-parseInt(_0x288f4c(0x8c))/0x9);if(_0x1284ab===_0x259fc6)break;else _0x4358de['push'](_0x4358de['shift']());}catch(_0x41a710){_0x4358de['push'](_0x4358de['shift']());}}}(_0x2350,0xa5b9c));function _0x2350(){const _0x40cf41=['path','error_msg','4mRTRFx','134282RkKjch','api_domain','no-cache','permission_denied','6147910zsajNO','5792640lPHOKk','?appId=','data','2706732UVXZNO','43771IlYFYp','getLatestVersion','3057873KUzYRH','9OEMndV','err','exports','12348920vtoolc','stringify'];_0x2350=function(){return _0x40cf41;};return _0x2350();}function _0x2725(_0x478bdc,_0x4beba6){const _0x2350e5=_0x2350();return _0x2725=function(_0x2725c6,_0x352e2d){_0x2725c6=_0x2725c6-0x7f;let _0x542fbb=_0x2350e5[_0x2725c6];return _0x542fbb;},_0x2725(_0x478bdc,_0x4beba6);}const r=require('../config'),{axiosClient:e}=require('./axios');module[_0x8667d1(0x8e)]=async function(_0x329aa9){const _0x2eae8d=_0x8667d1;let _0x286fff=''+r[_0x2eae8d(0x81)]+r[_0x2eae8d(0x91)][_0x2eae8d(0x8a)]+_0x2eae8d(0x86)+_0x329aa9,_0x2bb1b4=await e['get'](_0x286fff,{'headers':{'cache-control':_0x2eae8d(0x82)}}),_0x3f4017=_0x2bb1b4[_0x2eae8d(0x87)];if(_0x3f4017&&_0x3f4017[_0x2eae8d(0x8d)]>=0x0)return _0x3f4017[_0x2eae8d(0x87)];if(_0x3f4017[_0x2eae8d(0x8d)]===r['error_code'][_0x2eae8d(0x83)])throw Error(r[_0x2eae8d(0x92)][_0x2eae8d(0x83)]);throw Error(JSON[_0x2eae8d(0x90)](_0x2bb1b4[_0x2eae8d(0x87)]));};
package/utils/log.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x5814(_0x2ee392,_0x28329d){const _0x47f573=_0x47f5();return _0x5814=function(_0x5814d,_0x3fe56e){_0x5814d=_0x5814d-0xce;let _0x41fa5=_0x47f573[_0x5814d];return _0x41fa5;},_0x5814(_0x2ee392,_0x28329d);}function _0x47f5(){const _0x52e6d5=['chalk','110097jIjFkY','18uafSIw','error','bold','6887226wDdwaQ','log','40505420hiARCG','904SRPsae','3138093CeupJi','444591rYyOZU','5XFfVjZ','294736lcVDUI','12863wPyxWC'];_0x47f5=function(){return _0x52e6d5;};return _0x47f5();}const _0xcb3151=_0x5814;(function(_0x843806,_0x27f5f8){const _0x16d53d=_0x5814,_0x5e470b=_0x843806();while(!![]){try{const _0x5123b3=-parseInt(_0x16d53d(0xd8))/0x1*(-parseInt(_0x16d53d(0xdb))/0x2)+-parseInt(_0x16d53d(0xd4))/0x3+parseInt(_0x16d53d(0xd7))/0x4+-parseInt(_0x16d53d(0xd6))/0x5*(parseInt(_0x16d53d(0xd0))/0x6)+parseInt(_0x16d53d(0xd5))/0x7+parseInt(_0x16d53d(0xd3))/0x8*(-parseInt(_0x16d53d(0xda))/0x9)+parseInt(_0x16d53d(0xd2))/0xa;if(_0x5123b3===_0x27f5f8)break;else _0x5e470b['push'](_0x5e470b['shift']());}catch(_0x5f065e){_0x5e470b['push'](_0x5e470b['shift']());}}}(_0x47f5,0xb18eb));const o=require(_0xcb3151(0xd9));module['exports']={'text'(_0x13566d,_0x19fd2e,_0x51a32b){const _0x3af4f0=_0xcb3151;_0x51a32b&&_0x19fd2e?console[_0x3af4f0(0xd1)](o[_0x51a32b]['bold'](_0x13566d)):_0x51a32b?console[_0x3af4f0(0xd1)](o[_0x51a32b](_0x13566d)):_0x19fd2e?console[_0x3af4f0(0xd1)](o[_0x3af4f0(0xcf)](_0x13566d)):console[_0x3af4f0(0xd1)](_0x13566d);},'error'(_0xace96a){const _0x4fb689=_0xcb3151;console[_0x4fb689(0xce)](o['red'](_0xace96a));}};
1
+ 'use strict';const _0x1dfe38=_0x104b;(function(_0x6c5b8b,_0x41c131){const _0x15324e=_0x104b,_0x26852f=_0x6c5b8b();while(!![]){try{const _0x30fac1=parseInt(_0x15324e(0x140))/0x1*(parseInt(_0x15324e(0x14b))/0x2)+parseInt(_0x15324e(0x147))/0x3*(parseInt(_0x15324e(0x14f))/0x4)+-parseInt(_0x15324e(0x146))/0x5+-parseInt(_0x15324e(0x141))/0x6+-parseInt(_0x15324e(0x149))/0x7+parseInt(_0x15324e(0x148))/0x8*(-parseInt(_0x15324e(0x144))/0x9)+-parseInt(_0x15324e(0x150))/0xa*(-parseInt(_0x15324e(0x142))/0xb);if(_0x30fac1===_0x41c131)break;else _0x26852f['push'](_0x26852f['shift']());}catch(_0x4be90f){_0x26852f['push'](_0x26852f['shift']());}}}(_0x4592,0x90410));function _0x4592(){const _0x45306a=['90855EVlodA','8FmfiLk','6691650CTgKac','red','2570ktZlLN','exports','log','chalk','68tGhyRM','74110mNlDBO','262akbmIm','4678278ssZQCt','5269HmoAjT','error','8278479olhGmW','bold','5775130kKuxJW'];_0x4592=function(){return _0x45306a;};return _0x4592();}function _0x104b(_0x14a183,_0x5669fa){const _0x4592c5=_0x4592();return _0x104b=function(_0x104bc1,_0x1a55ce){_0x104bc1=_0x104bc1-0x140;let _0x512bfb=_0x4592c5[_0x104bc1];return _0x512bfb;},_0x104b(_0x14a183,_0x5669fa);}const o=require(_0x1dfe38(0x14e));module[_0x1dfe38(0x14c)]={'text'(_0x5ca715,_0x1ae9f0,_0x2742ac){const _0x4e85cb=_0x1dfe38;_0x2742ac&&_0x1ae9f0?console[_0x4e85cb(0x14d)](o[_0x2742ac]['bold'](_0x5ca715)):_0x2742ac?console[_0x4e85cb(0x14d)](o[_0x2742ac](_0x5ca715)):_0x1ae9f0?console[_0x4e85cb(0x14d)](o[_0x4e85cb(0x145)](_0x5ca715)):console[_0x4e85cb(0x14d)](_0x5ca715);},'error'(_0x335af5){const _0x436bae=_0x1dfe38;console[_0x436bae(0x143)](o[_0x436bae(0x14a)](_0x335af5));}};
@@ -1 +1 @@
1
- 'use strict';const _0x220404=_0x2a61;function _0x2036(){const _0x51a2f4=['Blob','defineProperty','419661DcOvdx','string','13160BaJqOs','7xUsgEH','308685GwmzlI','61110RfqcEl','slice','buffer','1100490QEHqqU','exports','isClosed','215lKtchL','length','closed','max','20qeUDPG','byteLength','test','min','isView','from','type','byteOffset','2864430qPxXwK','BlobPrototype','prototype','size','toLowerCase','push','521616aAQQqt'];_0x2036=function(){return _0x51a2f4;};return _0x2036();}function _0x2a61(_0x55537e,_0x13e6e6){const _0x20367a=_0x2036();return _0x2a61=function(_0x2a61d9,_0x46cda7){_0x2a61d9=_0x2a61d9-0xda;let _0x3045e2=_0x20367a[_0x2a61d9];return _0x3045e2;},_0x2a61(_0x55537e,_0x13e6e6);}(function(_0x5189ce,_0x3026a8){const _0xa8a3d0=_0x2a61,_0x520720=_0x5189ce();while(!![]){try{const _0x800021=-parseInt(_0xa8a3d0(0xf9))/0x1+-parseInt(_0xa8a3d0(0xda))/0x2+parseInt(_0xa8a3d0(0xf5))/0x3+-parseInt(_0xa8a3d0(0xf7))/0x4*(parseInt(_0xa8a3d0(0xe0))/0x5)+-parseInt(_0xa8a3d0(0xdd))/0x6*(parseInt(_0xa8a3d0(0xf8))/0x7)+parseInt(_0xa8a3d0(0xf2))/0x8+parseInt(_0xa8a3d0(0xec))/0x9*(parseInt(_0xa8a3d0(0xe4))/0xa);if(_0x800021===_0x3026a8)break;else _0x520720['push'](_0x520720['shift']());}catch(_0x326410){_0x520720['push'](_0x520720['shift']());}}}(_0x2036,0x2b560));const e=Symbol(_0x220404(0xea)),t=Symbol(_0x220404(0xe2));class r{get['size'](){const _0x184f2e=_0x220404;return this[t]?0x0:this[_0x184f2e(0xdc)]['length'];}get['type'](){return this[e];}get[_0x220404(0xdf)](){return this[t];}[_0x220404(0xdb)](){const _0x460808=_0x220404;let _0x11aa71,_0x5c761a=this[_0x460808(0xef)],_0x5326dc=arguments[0x0],_0xda958d=arguments[0x1];_0x11aa71=void 0x0===_0x5326dc?0x0:_0x5326dc<0x0?Math[_0x460808(0xe3)](_0x5c761a+_0x5326dc,0x0):Math[_0x460808(0xe7)](_0x5326dc,_0x5c761a);let _0xbf0f8a=Math[_0x460808(0xe3)]((void 0x0===_0xda958d?_0x5c761a:_0xda958d<0x0?Math[_0x460808(0xe3)](_0x5c761a+_0xda958d,0x0):Math[_0x460808(0xe7)](_0xda958d,_0x5c761a))-_0x11aa71,0x0),_0x260333=this['buffer'][_0x460808(0xdb)](_0x11aa71,_0x11aa71+_0xbf0f8a),_0x56af69=new r([],{'type':arguments[0x2]});return _0x56af69[_0x460808(0xdc)]=_0x260333,_0x56af69[t]=this[t],_0x56af69;}['close'](){this[t]=!0x0;}constructor(){const _0x47ca11=_0x220404;Object[_0x47ca11(0xf4)](this,Symbol['toStringTag'],{'value':_0x47ca11(0xf3),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),this[t]=!0x1,this[e]='';let _0x79f74a=arguments[0x0],_0x22e600=arguments[0x1],_0x249c03=[];if(_0x79f74a){let _0x2efa11=Number(_0x79f74a[_0x47ca11(0xe1)]);for(let _0x3a5355=0x0;_0x3a5355<_0x2efa11;_0x3a5355++){let _0x290de7,_0x177b5a=_0x79f74a[_0x3a5355];_0x177b5a instanceof Buffer?_0x290de7=_0x177b5a:_0x290de7=ArrayBuffer[_0x47ca11(0xe8)](_0x177b5a)?Buffer[_0x47ca11(0xe9)](_0x177b5a[_0x47ca11(0xdc)],_0x177b5a[_0x47ca11(0xeb)],_0x177b5a[_0x47ca11(0xe5)]):_0x177b5a instanceof ArrayBuffer?Buffer[_0x47ca11(0xe9)](_0x177b5a):_0x177b5a instanceof r?_0x177b5a[_0x47ca11(0xdc)]:Buffer[_0x47ca11(0xe9)](_0x47ca11(0xf6)==typeof _0x177b5a?_0x177b5a:String(_0x177b5a)),_0x249c03[_0x47ca11(0xf1)](_0x290de7);}}this[_0x47ca11(0xdc)]=Buffer['concat'](_0x249c03);let _0xb3007d=_0x22e600&&void 0x0!==_0x22e600[_0x47ca11(0xea)]&&String(_0x22e600[_0x47ca11(0xea)])[_0x47ca11(0xf0)]();_0xb3007d&&!/[^\u0020-\u007E]/[_0x47ca11(0xe6)](_0xb3007d)&&(this[e]=_0xb3007d);}}Object[_0x220404(0xf4)](r[_0x220404(0xee)],Symbol['toStringTag'],{'value':_0x220404(0xed),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),module[_0x220404(0xde)]=r;
1
+ 'use strict';const _0x36d8d6=_0x59f4;(function(_0x1835aa,_0x3ef1bf){const _0x16f8cc=_0x59f4,_0x1a68b1=_0x1835aa();while(!![]){try{const _0x221a5b=-parseInt(_0x16f8cc(0xad))/0x1*(-parseInt(_0x16f8cc(0xc0))/0x2)+parseInt(_0x16f8cc(0xae))/0x3+parseInt(_0x16f8cc(0xb5))/0x4+parseInt(_0x16f8cc(0xaf))/0x5*(-parseInt(_0x16f8cc(0xbd))/0x6)+parseInt(_0x16f8cc(0xc6))/0x7*(-parseInt(_0x16f8cc(0xc4))/0x8)+-parseInt(_0x16f8cc(0xac))/0x9*(-parseInt(_0x16f8cc(0xc1))/0xa)+-parseInt(_0x16f8cc(0xbc))/0xb;if(_0x221a5b===_0x3ef1bf)break;else _0x1a68b1['push'](_0x1a68b1['shift']());}catch(_0x5dba06){_0x1a68b1['push'](_0x1a68b1['shift']());}}}(_0x5b7a,0x2fab8));function _0x5b7a(){const _0x1476a5=['prototype','byteOffset','862232qfQeCK','from','max','min','slice','type','exports','4276162QdiTEA','18bIzwVD','toStringTag','push','1814pIJaYQ','220PJbZuD','Blob','size','8GxfKyU','buffer','337624mkwWik','byteLength','toLowerCase','length','close','150705xyiKCd','29MCqsNT','159861FrWecf','52180WKYLdF','closed','defineProperty','isClosed'];_0x5b7a=function(){return _0x1476a5;};return _0x5b7a();}const e=Symbol(_0x36d8d6(0xba)),t=Symbol(_0x36d8d6(0xb0));function _0x59f4(_0x50377c,_0x29eefa){const _0x5b7a2d=_0x5b7a();return _0x59f4=function(_0x59f4c4,_0x5474bc){_0x59f4c4=_0x59f4c4-0xaa;let _0x31887c=_0x5b7a2d[_0x59f4c4];return _0x31887c;},_0x59f4(_0x50377c,_0x29eefa);}class r{get[_0x36d8d6(0xc3)](){const _0x23ad43=_0x36d8d6;return this[t]?0x0:this[_0x23ad43(0xc5)][_0x23ad43(0xaa)];}get[_0x36d8d6(0xba)](){return this[e];}get[_0x36d8d6(0xb2)](){return this[t];}[_0x36d8d6(0xb9)](){const _0x22f07b=_0x36d8d6;let _0x16df51,_0x382969=this[_0x22f07b(0xc3)],_0x3aa026=arguments[0x0],_0x142ae6=arguments[0x1];_0x16df51=void 0x0===_0x3aa026?0x0:_0x3aa026<0x0?Math['max'](_0x382969+_0x3aa026,0x0):Math[_0x22f07b(0xb8)](_0x3aa026,_0x382969);let _0x4289cc=Math[_0x22f07b(0xb7)]((void 0x0===_0x142ae6?_0x382969:_0x142ae6<0x0?Math[_0x22f07b(0xb7)](_0x382969+_0x142ae6,0x0):Math['min'](_0x142ae6,_0x382969))-_0x16df51,0x0),_0x3a96e2=this[_0x22f07b(0xc5)][_0x22f07b(0xb9)](_0x16df51,_0x16df51+_0x4289cc),_0x5901fd=new r([],{'type':arguments[0x2]});return _0x5901fd[_0x22f07b(0xc5)]=_0x3a96e2,_0x5901fd[t]=this[t],_0x5901fd;}[_0x36d8d6(0xab)](){this[t]=!0x0;}constructor(){const _0x558e5b=_0x36d8d6;Object[_0x558e5b(0xb1)](this,Symbol[_0x558e5b(0xbe)],{'value':_0x558e5b(0xc2),'writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),this[t]=!0x1,this[e]='';let _0x4673ab=arguments[0x0],_0x2fa628=arguments[0x1],_0x57f880=[];if(_0x4673ab){let _0x2fbe2b=Number(_0x4673ab['length']);for(let _0x1cfb26=0x0;_0x1cfb26<_0x2fbe2b;_0x1cfb26++){let _0x3f43b8,_0x57da06=_0x4673ab[_0x1cfb26];_0x57da06 instanceof Buffer?_0x3f43b8=_0x57da06:_0x3f43b8=ArrayBuffer['isView'](_0x57da06)?Buffer[_0x558e5b(0xb6)](_0x57da06['buffer'],_0x57da06[_0x558e5b(0xb4)],_0x57da06[_0x558e5b(0xc7)]):_0x57da06 instanceof ArrayBuffer?Buffer[_0x558e5b(0xb6)](_0x57da06):_0x57da06 instanceof r?_0x57da06['buffer']:Buffer[_0x558e5b(0xb6)]('string'==typeof _0x57da06?_0x57da06:String(_0x57da06)),_0x57f880[_0x558e5b(0xbf)](_0x3f43b8);}}this[_0x558e5b(0xc5)]=Buffer['concat'](_0x57f880);let _0x12c7d5=_0x2fa628&&void 0x0!==_0x2fa628[_0x558e5b(0xba)]&&String(_0x2fa628[_0x558e5b(0xba)])[_0x558e5b(0xc8)]();_0x12c7d5&&!/[^\u0020-\u007E]/['test'](_0x12c7d5)&&(this[e]=_0x12c7d5);}}Object[_0x36d8d6(0xb1)](r[_0x36d8d6(0xb3)],Symbol['toStringTag'],{'value':'BlobPrototype','writable':!0x1,'enumerable':!0x1,'configurable':!0x0}),module[_0x36d8d6(0xbb)]=r;
@@ -1 +1 @@
1
- 'use strict';(function(_0x1d53cf,_0xd10e9){var _0x4f5f98=_0x3f8e,_0x340d82=_0x1d53cf();while(!![]){try{var _0x4eff6a=parseInt(_0x4f5f98(0x1a4))/0x1+parseInt(_0x4f5f98(0x1a5))/0x2*(parseInt(_0x4f5f98(0x1a3))/0x3)+-parseInt(_0x4f5f98(0x1ab))/0x4*(parseInt(_0x4f5f98(0x1a9))/0x5)+parseInt(_0x4f5f98(0x1a2))/0x6*(-parseInt(_0x4f5f98(0x1a8))/0x7)+parseInt(_0x4f5f98(0x1a6))/0x8*(-parseInt(_0x4f5f98(0x1a7))/0x9)+-parseInt(_0x4f5f98(0x1aa))/0xa+parseInt(_0x4f5f98(0x1a1))/0xb;if(_0x4eff6a===_0xd10e9)break;else _0x340d82['push'](_0x340d82['shift']());}catch(_0x222f53){_0x340d82['push'](_0x340d82['shift']());}}}(_0x293a,0x8b530));function _0x3f8e(_0x581eae,_0x5aa413){var _0x293a16=_0x293a();return _0x3f8e=function(_0x3f8ea9,_0x4063f7){_0x3f8ea9=_0x3f8ea9-0x1a1;var _0x1f2ba0=_0x293a16[_0x3f8ea9];return _0x1f2ba0;},_0x3f8e(_0x581eae,_0x5aa413);}function _0x293a(){var _0x4f1508=['1176268jxcSwJ','2373584VKCuUX','18CRjpIt','350UqodhE','154820pRlOBv','9295550gmDlYH','36Gyjrzc','16522154GucOEb','60126GPNpGO','3oPsyKX','783201UyGCke'];_0x293a=function(){return _0x4f1508;};return _0x293a();}
1
+ 'use strict';function _0x2c71(){var _0x1ecf8a=['140SgmOxQ','19860JocVDG','541224RisIwB','467371qXpUIq','53670XgHARN','492951XkjNhh','795879sAbWKU','4YUWbuR','1514933CocBaO','645UJYAqU'];_0x2c71=function(){return _0x1ecf8a;};return _0x2c71();}function _0xe516(_0x5aa593,_0x5645d7){var _0x2c71fb=_0x2c71();return _0xe516=function(_0xe516d3,_0x4d38b3){_0xe516d3=_0xe516d3-0xbd;var _0x183212=_0x2c71fb[_0xe516d3];return _0x183212;},_0xe516(_0x5aa593,_0x5645d7);}(function(_0x10850e,_0xec8a80){var _0x4d5555=_0xe516,_0x145423=_0x10850e();while(!![]){try{var _0x47da72=-parseInt(_0x4d5555(0xbf))/0x1+parseInt(_0x4d5555(0xc0))/0x2+-parseInt(_0x4d5555(0xc1))/0x3*(-parseInt(_0x4d5555(0xc3))/0x4)+parseInt(_0x4d5555(0xc5))/0x5*(-parseInt(_0x4d5555(0xbd))/0x6)+-parseInt(_0x4d5555(0xc4))/0x7+-parseInt(_0x4d5555(0xbe))/0x8+-parseInt(_0x4d5555(0xc2))/0x9*(-parseInt(_0x4d5555(0xc6))/0xa);if(_0x47da72===_0xec8a80)break;else _0x145423['push'](_0x145423['shift']());}catch(_0x535614){_0x145423['push'](_0x145423['shift']());}}}(_0x2c71,0x3d381));