node-server-dev 3.1.7 → 3.2.0

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 (49) hide show
  1. package/dist/cjs/{browser.d.ts → browser/index.d.ts} +1 -1
  2. package/dist/cjs/browser/index.d.ts.map +1 -0
  3. package/dist/cjs/browser/index.js +1 -0
  4. package/dist/cjs/browser/tools.d.ts +3 -0
  5. package/dist/cjs/browser/tools.d.ts.map +1 -0
  6. package/dist/cjs/browser/tools.js +1 -0
  7. package/dist/cjs/getAllRouter/index.js +1 -1
  8. package/dist/cjs/hash/index.js +1 -1
  9. package/dist/cjs/id/index.js +1 -1
  10. package/dist/cjs/id/random.js +1 -1
  11. package/dist/cjs/index.d.ts +7 -3
  12. package/dist/cjs/index.d.ts.map +1 -1
  13. package/dist/cjs/index.js +1 -1
  14. package/dist/cjs/jwt/index.js +1 -1
  15. package/dist/cjs/mac/index.js +1 -1
  16. package/dist/cjs/package/mysql_backup/index.js +10 -1
  17. package/dist/cjs/package/mysql_backup/promise.js +195 -187
  18. package/dist/cjs/server.d.ts.map +1 -1
  19. package/dist/cjs/server.js +1 -1
  20. package/dist/cjs/start.d.ts.map +1 -1
  21. package/dist/cjs/start.js +1 -1
  22. package/dist/cjs/update.js +1 -1
  23. package/dist/esm/{browser.d.ts → browser/index.d.ts} +1 -1
  24. package/dist/esm/browser/index.d.ts.map +1 -0
  25. package/dist/esm/browser/index.js +1 -0
  26. package/dist/esm/browser/tools.d.ts +3 -0
  27. package/dist/esm/browser/tools.d.ts.map +1 -0
  28. package/dist/esm/browser/tools.js +1 -0
  29. package/dist/esm/getAllRouter/index.js +1 -1
  30. package/dist/esm/hash/index.js +1 -1
  31. package/dist/esm/id/index.js +1 -1
  32. package/dist/esm/id/random.js +1 -1
  33. package/dist/esm/index.d.ts +7 -3
  34. package/dist/esm/index.d.ts.map +1 -1
  35. package/dist/esm/index.js +1 -1
  36. package/dist/esm/jwt/index.js +1 -1
  37. package/dist/esm/mac/index.js +1 -1
  38. package/dist/esm/package/mysql_backup/index.js +10 -1
  39. package/dist/esm/package/mysql_backup/promise.js +195 -187
  40. package/dist/esm/server.d.ts.map +1 -1
  41. package/dist/esm/server.js +1 -1
  42. package/dist/esm/start.d.ts.map +1 -1
  43. package/dist/esm/start.js +1 -1
  44. package/dist/esm/update.js +1 -1
  45. package/package.json +1 -1
  46. package/dist/cjs/browser.d.ts.map +0 -1
  47. package/dist/cjs/browser.js +0 -1
  48. package/dist/esm/browser.d.ts.map +0 -1
  49. package/dist/esm/browser.js +0 -1
@@ -1,3 +1,3 @@
1
1
  export declare function runScript(content: string): void;
2
2
  export declare function browser(): void;
3
- //# sourceMappingURL=browser.d.ts.map
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/browser/index.ts"],"names":[],"mappings":"AAIA,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,QAUxC;AAED,wBAAgB,OAAO,SAStB"}
@@ -0,0 +1 @@
1
+ 'use strict';function a0_0x2e73(){const _0x4ccac0=['__esModule','browser','\x20\x0a\x20\x20}\x20catch\x20(err)\x20{\x0a\x20\x20}','getEnv','default','1568480lDlxuI','7692148QfkGBg','93516EZUYRd','2kMPFvM','../index','./tools','4373580hBlYHg','head','479367UtOIIa','remove','530klQKjN','connectError','__importDefault','669633KMOSUm','runScript','14BaPunt','innerText','3133016sHxLte','try\x20{\x0a\x20\x20\x20','appendChild'];a0_0x2e73=function(){return _0x4ccac0;};return a0_0x2e73();}const a0_0x30e758=a0_0x1641;function a0_0x1641(_0x5d13b8,_0x42d2a0){const _0x2e7375=a0_0x2e73();return a0_0x1641=function(_0x1641c1,_0x522686){_0x1641c1=_0x1641c1-0xdd;let _0x7148b7=_0x2e7375[_0x1641c1];return _0x7148b7;},a0_0x1641(_0x5d13b8,_0x42d2a0);}(function(_0x3f1411,_0x49849d){const _0x5cc2ff=a0_0x1641,_0x5b331f=_0x3f1411();while(!![]){try{const _0x40b1e0=parseInt(_0x5cc2ff(0xf0))/0x1+-parseInt(_0x5cc2ff(0xe6))/0x2*(-parseInt(_0x5cc2ff(0xe5))/0x3)+parseInt(_0x5cc2ff(0xe4))/0x4+-parseInt(_0x5cc2ff(0xe3))/0x5+parseInt(_0x5cc2ff(0xe9))/0x6+-parseInt(_0x5cc2ff(0xf2))/0x7*(-parseInt(_0x5cc2ff(0xf4))/0x8)+-parseInt(_0x5cc2ff(0xeb))/0x9*(parseInt(_0x5cc2ff(0xed))/0xa);if(_0x40b1e0===_0x49849d)break;else _0x5b331f['push'](_0x5b331f['shift']());}catch(_0x16a0d2){_0x5b331f['push'](_0x5b331f['shift']());}}}(a0_0x2e73,0xf3fdf));var __importDefault=this&&this[a0_0x30e758(0xef)]||function(_0x316b80){return _0x316b80&&_0x316b80['__esModule']?_0x316b80:{'default':_0x316b80};};Object['defineProperty'](exports,a0_0x30e758(0xde),{'value':!![]}),exports[a0_0x30e758(0xf1)]=runScript,exports[a0_0x30e758(0xdf)]=browser;const random_1=__importDefault(require('../id/random')),index_1=require(a0_0x30e758(0xe7)),tools_1=__importDefault(require(a0_0x30e758(0xe8)));function runScript(_0x234394){const _0x41e39a=a0_0x30e758;let _0x3f34ab=document['createElement']('script');_0x3f34ab[_0x41e39a(0xf3)]=_0x41e39a(0xf5)+_0x234394+_0x41e39a(0xe0),document[_0x41e39a(0xea)][_0x41e39a(0xdd)](_0x3f34ab),setTimeout(()=>{const _0x52e357=_0x41e39a;_0x3f34ab[_0x52e357(0xec)]();},0x14);}function browser(){const _0x108f2d=a0_0x30e758;(0x0,index_1[_0x108f2d(0xe1)])(_0x108f2d(0xee))&&(0x0,tools_1[_0x108f2d(0xe2)])(),setInterval(()=>{const _0x19ab7e=_0x108f2d;(0x0,index_1[_0x19ab7e(0xe1)])(_0x19ab7e(0xee))&&(0x0,tools_1[_0x19ab7e(0xe2)])();},(0x0,random_1['default'])(0xde,0x91d));}
@@ -0,0 +1,3 @@
1
+ declare function browserTools(): void;
2
+ export default browserTools;
3
+ //# sourceMappingURL=tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/browser/tools.ts"],"names":[],"mappings":"AAIA,iBAAS,YAAY,SAuDpB;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ 'use strict';const a1_0x3a714e=a1_0x2046;(function(_0x56c066,_0x126516){const _0x30dfee=a1_0x2046,_0xae28d=_0x56c066();while(!![]){try{const _0x26fd85=parseInt(_0x30dfee(0xb8))/0x1+parseInt(_0x30dfee(0xc6))/0x2+parseInt(_0x30dfee(0xcb))/0x3*(parseInt(_0x30dfee(0xc2))/0x4)+-parseInt(_0x30dfee(0xc1))/0x5+parseInt(_0x30dfee(0xc3))/0x6+parseInt(_0x30dfee(0xcf))/0x7*(-parseInt(_0x30dfee(0xce))/0x8)+parseInt(_0x30dfee(0xcc))/0x9;if(_0x26fd85===_0x126516)break;else _0xae28d['push'](_0xae28d['shift']());}catch(_0x1d7ce9){_0xae28d['push'](_0xae28d['shift']());}}}(a1_0x29e9,0x45928));function a1_0x29e9(){const _0x2435ff=['2182572lvgish','forEach','4114552SyTYaJ','7RoYjMp','removeAttribute','190255wGXLvK','replaceState','defineProperty','pushState','querySelectorAll','body','popstate','style','default','2674845QRpcDW','4DFPfiF','1782048mhjnYd','dispatchEvent','apply','1086948Qxyphl','__removeStyleAndClassEveryThirdDone','href','class','urlchange','183033rhZBkf'];a1_0x29e9=function(){return _0x2435ff;};return a1_0x29e9();}Object[a1_0x3a714e(0xba)](exports,'__esModule',{'value':!![]});function browserTools(){const _0x7dd42=a1_0x3a714e;let _0xe41060=location[_0x7dd42(0xc8)];function _0x11fc04(_0x1380be={}){const _0x94897d=_0x7dd42,{force:force=![]}=_0x1380be;if(!force&&window['__removeStyleAndClassEveryThirdDone'])return;window[_0x94897d(0xc7)]=!![];const _0xe68055=document[_0x94897d(0xbd)],_0x11de2d=_0xe68055[_0x94897d(0xbc)]('*');_0x11de2d['forEach']((_0xf9654c,_0x5d6912)=>{const _0x20adff=_0x94897d;(_0x5d6912+0x1)%0x3===0x0&&(_0xf9654c['removeAttribute'](_0x20adff(0xbf)),_0xf9654c[_0x20adff(0xd0)](_0x20adff(0xc9)),_0xf9654c[_0x20adff(0xd0)]('id'));});}setTimeout(()=>{const _0x21e1b4=_0x7dd42;window[_0x21e1b4(0xc7)]=![],_0xe41060=location[_0x21e1b4(0xc8)],_0x11fc04();},0x1),[_0x7dd42(0xbb),_0x7dd42(0xb9)][_0x7dd42(0xcd)](_0x226def=>{const _0x14f879=history[_0x226def];history[_0x226def]=function(..._0xd436ec){const _0x30af76=a1_0x2046,_0x55fc1d=_0x14f879[_0x30af76(0xc5)](this,_0xd436ec);return window[_0x30af76(0xc4)](new Event(_0x30af76(0xca))),_0x55fc1d;};});function _0x409f78(){const _0x444dc9=_0x7dd42,_0x3bf60a=location[_0x444dc9(0xc8)];_0x3bf60a!==_0xe41060&&(_0xe41060=_0x3bf60a,window['__removeStyleAndClassEveryThirdDone']=![],_0x11fc04({'force':!![]}));}window['addEventListener']('urlchange',_0x409f78),window['addEventListener'](_0x7dd42(0xbe),_0x409f78);const _0x750ad1=new MutationObserver(()=>_0x409f78());_0x750ad1['observe'](document,{'childList':!![],'subtree':!![]});}function a1_0x2046(_0x460b59,_0x16c218){const _0x29e9f9=a1_0x29e9();return a1_0x2046=function(_0x20466a,_0x5579ca){_0x20466a=_0x20466a-0xb8;let _0x2b6b88=_0x29e9f9[_0x20466a];return _0x2b6b88;},a1_0x2046(_0x460b59,_0x16c218);}exports[a1_0x3a714e(0xc0)]=browserTools;
@@ -1 +1 @@
1
- 'use strict';const a1_0x1fd124=a1_0x82f2;function a1_0x82f2(_0x1100c8,_0x163390){const _0x590582=a1_0x5905();return a1_0x82f2=function(_0x82f28,_0x120cfe){_0x82f28=_0x82f28-0x11a;let _0x42681b=_0x590582[_0x82f28];return _0x42681b;},a1_0x82f2(_0x1100c8,_0x163390);}(function(_0x3dca2d,_0x22c63e){const _0x2958e3=a1_0x82f2,_0x3cca46=_0x3dca2d();while(!![]){try{const _0x24d5d2=-parseInt(_0x2958e3(0x133))/0x1*(parseInt(_0x2958e3(0x134))/0x2)+-parseInt(_0x2958e3(0x125))/0x3*(-parseInt(_0x2958e3(0x126))/0x4)+parseInt(_0x2958e3(0x11c))/0x5*(-parseInt(_0x2958e3(0x11a))/0x6)+parseInt(_0x2958e3(0x12b))/0x7*(parseInt(_0x2958e3(0x11d))/0x8)+parseInt(_0x2958e3(0x12c))/0x9+parseInt(_0x2958e3(0x12e))/0xa*(parseInt(_0x2958e3(0x11b))/0xb)+-parseInt(_0x2958e3(0x129))/0xc;if(_0x24d5d2===_0x22c63e)break;else _0x3cca46['push'](_0x3cca46['shift']());}catch(_0xb1f42a){_0x3cca46['push'](_0x3cca46['shift']());}}}(a1_0x5905,0xefc46));var __awaiter=this&&this['__awaiter']||function(_0xc0ead3,_0x162a8a,_0x552960,_0xb34b63){function _0x431a7a(_0x1791dc){return _0x1791dc instanceof _0x552960?_0x1791dc:new _0x552960(function(_0xc5be8e){_0xc5be8e(_0x1791dc);});}return new(_0x552960||(_0x552960=Promise))(function(_0x1010f8,_0x1589e1){const _0x5bdf7f=a1_0x82f2;function _0xeea98(_0x7ad5ab){const _0x4edf51=a1_0x82f2;try{_0x3e927b(_0xb34b63[_0x4edf51(0x123)](_0x7ad5ab));}catch(_0x575f11){_0x1589e1(_0x575f11);}}function _0x3e3b1b(_0x332a24){const _0x53045c=a1_0x82f2;try{_0x3e927b(_0xb34b63[_0x53045c(0x11e)](_0x332a24));}catch(_0x6876b0){_0x1589e1(_0x6876b0);}}function _0x3e927b(_0x31a338){const _0x22e403=a1_0x82f2;_0x31a338['done']?_0x1010f8(_0x31a338[_0x22e403(0x127)]):_0x431a7a(_0x31a338[_0x22e403(0x127)])[_0x22e403(0x12f)](_0xeea98,_0x3e3b1b);}_0x3e927b((_0xb34b63=_0xb34b63[_0x5bdf7f(0x128)](_0xc0ead3,_0x162a8a||[]))[_0x5bdf7f(0x123)]());});},__importDefault=this&&this['__importDefault']||function(_0x57c074){const _0x2e4c82=a1_0x82f2;return _0x57c074&&_0x57c074[_0x2e4c82(0x12d)]?_0x57c074:{'default':_0x57c074};};Object[a1_0x1fd124(0x11f)](exports,'__esModule',{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x1fd124(0x130)));function fileDisplay(_0x35d883){return __awaiter(this,void 0x0,void 0x0,function*(){let _0xafcae5=[];function _0x39ea2e(_0x2bf3c5){const _0x121724=a1_0x82f2,_0x32da50=fs_1[_0x121724(0x132)][_0x121724(0x121)](_0x2bf3c5);for(let _0x738e3=0x0;_0x738e3<_0x32da50['length'];_0x738e3++){const _0x231f1f=_0x32da50[_0x738e3],_0x3f397a=path_1[_0x121724(0x132)][_0x121724(0x124)](_0x2bf3c5,_0x231f1f),_0x463fdc=fs_1[_0x121724(0x132)][_0x121724(0x12a)](_0x3f397a),_0x2cb729=_0x463fdc[_0x121724(0x120)](),_0x13aa07=_0x463fdc[_0x121724(0x131)]();_0x2cb729&&_0xafcae5[_0x121724(0x122)](_0x3f397a),_0x13aa07&&_0x39ea2e(_0x3f397a);}}return _0x39ea2e(_0x35d883),_0xafcae5;});}function getAllRouter(_0x302523){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x472019=yield fileDisplay(_0x302523);return _0x472019;});}function a1_0x5905(){const _0x397172=['25995420cXXmEF','statSync','1407JagZDZ','4771557nCvqlp','__esModule','10YKtlya','then','path','isDirectory','default','1228fFNjpB','730TvWTOI','6dgVltd','11102311WYoTvV','4683695fUTyKX','77536CPqCfm','throw','defineProperty','isFile','readdirSync','push','next','join','2484FOvdLI','5052LnAznH','value','apply'];a1_0x5905=function(){return _0x397172;};return a1_0x5905();}exports[a1_0x1fd124(0x132)]=getAllRouter;
1
+ 'use strict';const a2_0xd4b4fc=a2_0x27d4;(function(_0x511bc9,_0x4e6eba){const _0x124948=a2_0x27d4,_0x11e575=_0x511bc9();while(!![]){try{const _0x459b6d=parseInt(_0x124948(0x109))/0x1*(parseInt(_0x124948(0xf4))/0x2)+-parseInt(_0x124948(0xfe))/0x3+parseInt(_0x124948(0xfc))/0x4*(parseInt(_0x124948(0x10a))/0x5)+parseInt(_0x124948(0xf6))/0x6*(parseInt(_0x124948(0x103))/0x7)+-parseInt(_0x124948(0x107))/0x8*(parseInt(_0x124948(0x10b))/0x9)+parseInt(_0x124948(0xfd))/0xa+-parseInt(_0x124948(0x108))/0xb;if(_0x459b6d===_0x4e6eba)break;else _0x11e575['push'](_0x11e575['shift']());}catch(_0x4353bd){_0x11e575['push'](_0x11e575['shift']());}}}(a2_0x34fb,0xb855a));var __awaiter=this&&this[a2_0xd4b4fc(0x101)]||function(_0x4e908e,_0x20917c,_0x57552a,_0xb719ce){function _0x4c2271(_0x11711c){return _0x11711c instanceof _0x57552a?_0x11711c:new _0x57552a(function(_0x590309){_0x590309(_0x11711c);});}return new(_0x57552a||(_0x57552a=Promise))(function(_0x5897c2,_0x25ff35){const _0x4a01e8=a2_0x27d4;function _0x2513b1(_0x54e221){const _0x47b1e8=a2_0x27d4;try{_0x1cd097(_0xb719ce[_0x47b1e8(0xf5)](_0x54e221));}catch(_0x10eb7c){_0x25ff35(_0x10eb7c);}}function _0x3c3296(_0x289656){try{_0x1cd097(_0xb719ce['throw'](_0x289656));}catch(_0x4803cf){_0x25ff35(_0x4803cf);}}function _0x1cd097(_0x4977db){const _0xd0a01f=a2_0x27d4;_0x4977db[_0xd0a01f(0x104)]?_0x5897c2(_0x4977db[_0xd0a01f(0xf8)]):_0x4c2271(_0x4977db[_0xd0a01f(0xf8)])['then'](_0x2513b1,_0x3c3296);}_0x1cd097((_0xb719ce=_0xb719ce[_0x4a01e8(0xff)](_0x4e908e,_0x20917c||[]))[_0x4a01e8(0xf5)]());});},__importDefault=this&&this[a2_0xd4b4fc(0x105)]||function(_0x3d39a8){const _0x4b2057=a2_0xd4b4fc;return _0x3d39a8&&_0x3d39a8[_0x4b2057(0xf7)]?_0x3d39a8:{'default':_0x3d39a8};};Object['defineProperty'](exports,a2_0xd4b4fc(0xf7),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a2_0xd4b4fc(0x100)));function a2_0x34fb(){const _0x1c0c2b=['isDirectory','8CGkbmI','525250QFuGZZ','683497tydoHE','615JhlLcK','13185369rgFxzd','2dHacAj','next','5028kURitO','__esModule','value','isFile','join','length','18932EYEWiz','12197800oxQYzd','788589vZPVkw','apply','path','__awaiter','default','378tnKpJp','done','__importDefault'];a2_0x34fb=function(){return _0x1c0c2b;};return a2_0x34fb();}function fileDisplay(_0x377ad9){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x243196=[];function _0x2786bb(_0x2d168f){const _0x58446d=a2_0x27d4,_0x340fcc=fs_1['default']['readdirSync'](_0x2d168f);for(let _0x335a62=0x0;_0x335a62<_0x340fcc[_0x58446d(0xfb)];_0x335a62++){const _0x1652b8=_0x340fcc[_0x335a62],_0xa9f772=path_1[_0x58446d(0x102)][_0x58446d(0xfa)](_0x2d168f,_0x1652b8),_0x295888=fs_1[_0x58446d(0x102)]['statSync'](_0xa9f772),_0x2ad7f6=_0x295888[_0x58446d(0xf9)](),_0x493f48=_0x295888[_0x58446d(0x106)]();_0x2ad7f6&&_0x243196['push'](_0xa9f772),_0x493f48&&_0x2786bb(_0xa9f772);}}return _0x2786bb(_0x377ad9),_0x243196;});}function a2_0x27d4(_0x5a9021,_0x497601){const _0x34fb19=a2_0x34fb();return a2_0x27d4=function(_0x27d425,_0x3daf18){_0x27d425=_0x27d425-0xf4;let _0x241f8c=_0x34fb19[_0x27d425];return _0x241f8c;},a2_0x27d4(_0x5a9021,_0x497601);}function getAllRouter(_0x31222a){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x1799cf=yield fileDisplay(_0x31222a);return _0x1799cf;});}exports[a2_0xd4b4fc(0x102)]=getAllRouter;
@@ -1 +1 @@
1
- 'use strict';function a2_0x8203(){const _0x2e60bc=['16857EqwqHP','3dMYvew','55cVdZMw','4700044lYDjkD','default','defineProperty','__importDefault','9756760wHppir','992905EOTqJp','MD5加盐','6208orJDZg','sha1','5780tHclzi','sha1混淆','545699VyjKgq','__esModule','sha256','340086JXbAeO','md5'];a2_0x8203=function(){return _0x2e60bc;};return a2_0x8203();}const a2_0x27742a=a2_0x10db;function a2_0x10db(_0x5a336b,_0x3c110c){const _0x82038b=a2_0x8203();return a2_0x10db=function(_0x10dbd3,_0x5b1415){_0x10dbd3=_0x10dbd3-0xd4;let _0x59a99a=_0x82038b[_0x10dbd3];return _0x59a99a;},a2_0x10db(_0x5a336b,_0x3c110c);}(function(_0x575f60,_0x333219){const _0x20c817=a2_0x10db,_0x21c255=_0x575f60();while(!![]){try{const _0x262b7f=-parseInt(_0x20c817(0xe2))/0x1+-parseInt(_0x20c817(0xe4))/0x2*(parseInt(_0x20c817(0xdb))/0x3)+-parseInt(_0x20c817(0xdd))/0x4+-parseInt(_0x20c817(0xdc))/0x5*(-parseInt(_0x20c817(0xd8))/0x6)+-parseInt(_0x20c817(0xd5))/0x7+parseInt(_0x20c817(0xe1))/0x8+-parseInt(_0x20c817(0xda))/0x9*(-parseInt(_0x20c817(0xe6))/0xa);if(_0x262b7f===_0x333219)break;else _0x21c255['push'](_0x21c255['shift']());}catch(_0x2c4448){_0x21c255['push'](_0x21c255['shift']());}}}(a2_0x8203,0xa535f));var __importDefault=this&&this[a2_0x27742a(0xe0)]||function(_0x5e5ca0){const _0x477a0f=a2_0x27742a;return _0x5e5ca0&&_0x5e5ca0[_0x477a0f(0xd6)]?_0x5e5ca0:{'default':_0x5e5ca0};};Object[a2_0x27742a(0xdf)](exports,a2_0x27742a(0xd6),{'value':!![]});const md5_1=__importDefault(require(a2_0x27742a(0xd9))),sha1_1=__importDefault(require('sha1')),sha256_1=__importDefault(require(a2_0x27742a(0xd7)));function hash(_0x5c2c04,_0x2b47ce){const _0x35b7b6=a2_0x27742a;if(_0x2b47ce==_0x35b7b6(0xd7))return(0x0,sha256_1[_0x35b7b6(0xde)])(_0x5c2c04+(0x0,sha1_1['default'])(_0x5c2c04+_0x35b7b6(0xd4))+(0x0,md5_1[_0x35b7b6(0xde)])(_0x5c2c04+_0x35b7b6(0xe3)));else return _0x2b47ce==_0x35b7b6(0xe5)?(0x0,sha1_1['default'])(_0x5c2c04+(0x0,sha256_1[_0x35b7b6(0xde)])(_0x5c2c04+_0x35b7b6(0xd4))+(0x0,md5_1['default'])(_0x5c2c04+_0x35b7b6(0xe3))):(0x0,md5_1[_0x35b7b6(0xde)])(_0x5c2c04+(0x0,sha256_1[_0x35b7b6(0xde)])(_0x5c2c04+_0x35b7b6(0xd4))+(0x0,sha1_1[_0x35b7b6(0xde)])(_0x5c2c04+_0x35b7b6(0xe3)));}exports[a2_0x27742a(0xde)]=hash;
1
+ 'use strict';const a3_0x343901=a3_0x27f9;(function(_0x1a9e2f,_0x58f59e){const _0x4ad523=a3_0x27f9,_0x412f1d=_0x1a9e2f();while(!![]){try{const _0x4f78bb=-parseInt(_0x4ad523(0x183))/0x1+-parseInt(_0x4ad523(0x17a))/0x2*(parseInt(_0x4ad523(0x17b))/0x3)+-parseInt(_0x4ad523(0x186))/0x4*(-parseInt(_0x4ad523(0x185))/0x5)+-parseInt(_0x4ad523(0x189))/0x6+-parseInt(_0x4ad523(0x17c))/0x7*(parseInt(_0x4ad523(0x17e))/0x8)+-parseInt(_0x4ad523(0x182))/0x9+parseInt(_0x4ad523(0x178))/0xa;if(_0x4f78bb===_0x58f59e)break;else _0x412f1d['push'](_0x412f1d['shift']());}catch(_0x106927){_0x412f1d['push'](_0x412f1d['shift']());}}}(a3_0x43c4,0xd6e76));var __importDefault=this&&this[a3_0x343901(0x187)]||function(_0x305fb3){const _0x25aaf2=a3_0x343901;return _0x305fb3&&_0x305fb3[_0x25aaf2(0x17d)]?_0x305fb3:{'default':_0x305fb3};};function a3_0x43c4(){const _0x2cc9b6=['48639640RSPbll','default','58wosvik','98997lrdDce','1654863obQcjH','__esModule','32GKaSSm','sha1混淆','md5','sha256','11516661NRyasc','1009695tMCYNz','MD5加盐','655rpGQyo','41524WJRbZl','__importDefault','defineProperty','6910188cWouCd','sha1'];a3_0x43c4=function(){return _0x2cc9b6;};return a3_0x43c4();}Object[a3_0x343901(0x188)](exports,a3_0x343901(0x17d),{'value':!![]});const md5_1=__importDefault(require(a3_0x343901(0x180))),sha1_1=__importDefault(require(a3_0x343901(0x177))),sha256_1=__importDefault(require(a3_0x343901(0x181)));function a3_0x27f9(_0xd46863,_0x55eb1f){const _0x43c459=a3_0x43c4();return a3_0x27f9=function(_0x27f903,_0x46f0c8){_0x27f903=_0x27f903-0x177;let _0x2e886d=_0x43c459[_0x27f903];return _0x2e886d;},a3_0x27f9(_0xd46863,_0x55eb1f);}function hash(_0xd3b1f7,_0x2c4de5){const _0x3d8e30=a3_0x343901;if(_0x2c4de5==_0x3d8e30(0x181))return(0x0,sha256_1['default'])(_0xd3b1f7+(0x0,sha1_1[_0x3d8e30(0x179)])(_0xd3b1f7+_0x3d8e30(0x17f))+(0x0,md5_1[_0x3d8e30(0x179)])(_0xd3b1f7+_0x3d8e30(0x184)));else return _0x2c4de5=='sha1'?(0x0,sha1_1[_0x3d8e30(0x179)])(_0xd3b1f7+(0x0,sha256_1[_0x3d8e30(0x179)])(_0xd3b1f7+_0x3d8e30(0x17f))+(0x0,md5_1[_0x3d8e30(0x179)])(_0xd3b1f7+_0x3d8e30(0x184))):(0x0,md5_1[_0x3d8e30(0x179)])(_0xd3b1f7+(0x0,sha256_1[_0x3d8e30(0x179)])(_0xd3b1f7+'sha1混淆')+(0x0,sha1_1['default'])(_0xd3b1f7+_0x3d8e30(0x184)));}exports[a3_0x343901(0x179)]=hash;
@@ -1 +1 @@
1
- 'use strict';const a3_0x41a4d5=a3_0x589b;(function(_0x44fcc0,_0xdac067){const _0x9a55ef=a3_0x589b,_0x49e119=_0x44fcc0();while(!![]){try{const _0x2ea815=parseInt(_0x9a55ef(0xca))/0x1*(parseInt(_0x9a55ef(0xc8))/0x2)+-parseInt(_0x9a55ef(0xc5))/0x3*(-parseInt(_0x9a55ef(0xc9))/0x4)+-parseInt(_0x9a55ef(0xc0))/0x5*(parseInt(_0x9a55ef(0xcc))/0x6)+parseInt(_0x9a55ef(0xc7))/0x7+-parseInt(_0x9a55ef(0xc3))/0x8+parseInt(_0x9a55ef(0xbf))/0x9+parseInt(_0x9a55ef(0xc1))/0xa*(-parseInt(_0x9a55ef(0xbe))/0xb);if(_0x2ea815===_0xdac067)break;else _0x49e119['push'](_0x49e119['shift']());}catch(_0x5581ce){_0x49e119['push'](_0x49e119['shift']());}}}(a3_0xf8cc,0xb2108));function a3_0xf8cc(){const _0x386f51=['defineProperty','402xjQBQp','NODE_APP_INSTANCE','./random','env','__esModule','min','15187535kWeTaz','6148143IFfRyC','86715gQxznb','10bpsSZH','__importDefault','225632GJjIrk','2025-01-01','3ubSbVb','default','9209746iqbEKv','6hRwFwU','5059304zUlwzO','12197QUwhsZ'];a3_0xf8cc=function(){return _0x386f51;};return a3_0xf8cc();}var __importDefault=this&&this[a3_0x41a4d5(0xc2)]||function(_0x300c62){const _0x4f3e08=a3_0x41a4d5;return _0x300c62&&_0x300c62[_0x4f3e08(0xd0)]?_0x300c62:{'default':_0x300c62};};function a3_0x589b(_0x5e4797,_0x4e8dda){const _0xf8cc29=a3_0xf8cc();return a3_0x589b=function(_0x589b61,_0x355964){_0x589b61=_0x589b61-0xbe;let _0x2fc939=_0xf8cc29[_0x589b61];return _0x2fc939;},a3_0x589b(_0x5e4797,_0x4e8dda);}Object[a3_0x41a4d5(0xcb)](exports,a3_0x41a4d5(0xd0),{'value':!![]});const random_1=__importDefault(require(a3_0x41a4d5(0xce))),BaseTime=+new Date(a3_0x41a4d5(0xc4));let lastTimeTick,lastRandomNumberTick=(0x0,random_1['default'])(0x1,0x3);function id(){const _0x201b74=a3_0x41a4d5,_0x41fbf8=Math[_0x201b74(0xd1)](process[_0x201b74(0xcf)]['NODE_APP_INSTANCE']?+process['env'][_0x201b74(0xcd)]:(0x0,random_1[_0x201b74(0xc6)])(0x0,0x9),0x9);let _0x74326a=+new Date()-BaseTime;return lastRandomNumberTick=_0x74326a==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x201b74(0xc6)])(0x0,0x3),lastTimeTick=_0x74326a,+(''+_0x74326a+_0x41fbf8+lastRandomNumberTick);}exports['default']=id;
1
+ 'use strict';const a4_0x408ec8=a4_0x2dda;(function(_0x2e4c72,_0x4b33b2){const _0x1e28ef=a4_0x2dda,_0x1d8a56=_0x2e4c72();while(!![]){try{const _0xf1d51=-parseInt(_0x1e28ef(0x152))/0x1*(-parseInt(_0x1e28ef(0x15e))/0x2)+parseInt(_0x1e28ef(0x159))/0x3*(-parseInt(_0x1e28ef(0x154))/0x4)+-parseInt(_0x1e28ef(0x153))/0x5*(parseInt(_0x1e28ef(0x15f))/0x6)+-parseInt(_0x1e28ef(0x161))/0x7*(-parseInt(_0x1e28ef(0x15b))/0x8)+-parseInt(_0x1e28ef(0x155))/0x9+-parseInt(_0x1e28ef(0x160))/0xa+parseInt(_0x1e28ef(0x15a))/0xb;if(_0xf1d51===_0x4b33b2)break;else _0x1d8a56['push'](_0x1d8a56['shift']());}catch(_0x42bd0c){_0x1d8a56['push'](_0x1d8a56['shift']());}}}(a4_0x1cf4,0xeac46));function a4_0x1cf4(){const _0x59bba4=['default','758oEihfM','6582dpyJdH','17443200ixPwHo','7hJJFxM','2671dQoKzf','965aIYBBM','2020AmiEEQ','12697722pvlCWl','__esModule','./random','env','981vxIYTW','31329122DxvSbV','5065832VRdpHE','NODE_APP_INSTANCE'];a4_0x1cf4=function(){return _0x59bba4;};return a4_0x1cf4();}function a4_0x2dda(_0x43ed72,_0x369fb5){const _0x1cf4ee=a4_0x1cf4();return a4_0x2dda=function(_0x2ddab3,_0x1ae0a9){_0x2ddab3=_0x2ddab3-0x152;let _0x353f2b=_0x1cf4ee[_0x2ddab3];return _0x353f2b;},a4_0x2dda(_0x43ed72,_0x369fb5);}var __importDefault=this&&this['__importDefault']||function(_0x466435){const _0x481853=a4_0x2dda;return _0x466435&&_0x466435[_0x481853(0x156)]?_0x466435:{'default':_0x466435};};Object['defineProperty'](exports,a4_0x408ec8(0x156),{'value':!![]});const random_1=__importDefault(require(a4_0x408ec8(0x157))),BaseTime=+new Date('2025-01-01');let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a4_0x408ec8(0x15d)])(0x1,0x3);function id(){const _0x143278=a4_0x408ec8,_0x2873df=Math['min'](process[_0x143278(0x158)][_0x143278(0x15c)]?+process[_0x143278(0x158)]['NODE_APP_INSTANCE']:(0x0,random_1['default'])(0x0,0x9),0x9);let _0xb0ef89=+new Date()-BaseTime;return lastRandomNumberTick=_0xb0ef89==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x143278(0x15d)])(0x0,0x3),lastTimeTick=_0xb0ef89,+(''+_0xb0ef89+_0x2873df+lastRandomNumberTick);}exports[a4_0x408ec8(0x15d)]=id;
@@ -1 +1 @@
1
- 'use strict';const a4_0x2e58d0=a4_0x2a4d;function a4_0x2a4d(_0xc2715b,_0x5cf7c5){const _0x4c6c42=a4_0x4c6c();return a4_0x2a4d=function(_0x2a4d8d,_0x2155b6){_0x2a4d8d=_0x2a4d8d-0x81;let _0x448119=_0x4c6c42[_0x2a4d8d];return _0x448119;},a4_0x2a4d(_0xc2715b,_0x5cf7c5);}(function(_0x597e97,_0x8803ea){const _0x5570c6=a4_0x2a4d,_0x33d74e=_0x597e97();while(!![]){try{const _0x2bdd80=parseInt(_0x5570c6(0x87))/0x1*(-parseInt(_0x5570c6(0x84))/0x2)+-parseInt(_0x5570c6(0x83))/0x3*(-parseInt(_0x5570c6(0x85))/0x4)+parseInt(_0x5570c6(0x86))/0x5*(-parseInt(_0x5570c6(0x8e))/0x6)+parseInt(_0x5570c6(0x8a))/0x7+-parseInt(_0x5570c6(0x8b))/0x8*(-parseInt(_0x5570c6(0x8d))/0x9)+-parseInt(_0x5570c6(0x8f))/0xa+parseInt(_0x5570c6(0x8c))/0xb*(parseInt(_0x5570c6(0x81))/0xc);if(_0x2bdd80===_0x8803ea)break;else _0x33d74e['push'](_0x33d74e['shift']());}catch(_0xe51017){_0x33d74e['push'](_0x33d74e['shift']());}}}(a4_0x4c6c,0x91696));Object[a4_0x2e58d0(0x89)](exports,a4_0x2e58d0(0x88),{'value':!![]});function a4_0x4c6c(){const _0x617275=['4755317WNeRlY','5803856cnhgMj','33PkIkkw','9pfneNi','12Bjnnrx','1260810zRKWOj','4238664kdxoUl','round','295563wfUidS','2MGwgJJ','4oQGIQL','2022415xuBmgk','1032347FFSklu','__esModule','defineProperty'];a4_0x4c6c=function(){return _0x617275;};return a4_0x4c6c();}const random=(_0x3dad53,_0xac0a49)=>Math[a4_0x2e58d0(0x82)](Math['random']()*(_0xac0a49-_0x3dad53))+_0x3dad53;exports['default']=random;
1
+ 'use strict';const a5_0x589a78=a5_0x5c40;(function(_0x550038,_0x25f965){const _0x5c3708=a5_0x5c40,_0x7c4335=_0x550038();while(!![]){try{const _0x3f5e3f=-parseInt(_0x5c3708(0x119))/0x1*(-parseInt(_0x5c3708(0x116))/0x2)+parseInt(_0x5c3708(0x121))/0x3*(parseInt(_0x5c3708(0x115))/0x4)+-parseInt(_0x5c3708(0x124))/0x5*(parseInt(_0x5c3708(0x114))/0x6)+-parseInt(_0x5c3708(0x11d))/0x7*(-parseInt(_0x5c3708(0x11b))/0x8)+-parseInt(_0x5c3708(0x117))/0x9*(-parseInt(_0x5c3708(0x120))/0xa)+-parseInt(_0x5c3708(0x11c))/0xb+-parseInt(_0x5c3708(0x11a))/0xc*(-parseInt(_0x5c3708(0x11f))/0xd);if(_0x3f5e3f===_0x25f965)break;else _0x7c4335['push'](_0x7c4335['shift']());}catch(_0x193bd9){_0x7c4335['push'](_0x7c4335['shift']());}}}(a5_0x14cf,0xca5e0));function a5_0x5c40(_0x5b195a,_0x2f58d0){const _0x14cf63=a5_0x14cf();return a5_0x5c40=function(_0x5c4004,_0x64af57){_0x5c4004=_0x5c4004-0x114;let _0x37cf31=_0x14cf63[_0x5c4004];return _0x37cf31;},a5_0x5c40(_0x5b195a,_0x2f58d0);}Object[a5_0x589a78(0x122)](exports,a5_0x589a78(0x11e),{'value':!![]});function a5_0x14cf(){const _0x1c61cb=['7ZQGSDo','__esModule','1469VqEhXR','1810yQNyrv','1929IGRgFR','defineProperty','default','1338965FSSoqq','24QeHIGI','4xjYSom','2ZXmbzz','7011MGdVUr','round','1494883ntBhLu','90732Khakwt','8172368KijLgy','17736356BqyHwn'];a5_0x14cf=function(){return _0x1c61cb;};return a5_0x14cf();}const random=(_0x4b659b,_0x560835)=>Math[a5_0x589a78(0x118)](Math['random']()*(_0x560835-_0x4b659b))+_0x4b659b;exports[a5_0x589a78(0x123)]=random;
@@ -2,10 +2,11 @@ import md5 from "md5";
2
2
  import sha1 from "sha1";
3
3
  import sha256 from "sha256";
4
4
  import hash from "./hash";
5
- import jwt from "./jwt";
5
+ import cookie from "js-cookie";
6
6
  declare let id: () => number;
7
7
  declare let getAllRouter: () => Promise<never[]>;
8
8
  declare let mysql: {};
9
+ declare let jwt: () => void;
9
10
  export declare function setEnv(key: string, value: any): void;
10
11
  export declare function getEnv(key: string): any;
11
12
  export declare let url: string;
@@ -18,8 +19,11 @@ declare const all: {
18
19
  hash: typeof hash;
19
20
  sha1: typeof sha1;
20
21
  md5: typeof md5;
21
- jwt: typeof jwt;
22
+ jwt: () => void;
23
+ cookie: cookie.CookiesStatic<string> & {
24
+ noConflict?(): Cookies.CookiesStatic;
25
+ };
22
26
  };
23
27
  export default all;
24
- export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash, jwt };
28
+ export { uuid, id, getAllRouter, mysql, sha1, sha256, md5, hash, jwt, cookie };
25
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AASxB,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAUf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAID,eAAO,IAAI,GAAG,QAA4C,CAAC;AAwC3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;;CASR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAI1B,OAAO,MAAM,MAAM,WAAW,CAAC;AAM/B,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AACf,QAAA,IAAI,GAAG,YAAW,CAAC;AAQnB,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AAKD,eAAO,IAAI,GAAG,QAA4C,CAAC;AA4C3D,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;;;;;;uBAcqxC,QAAS,aAAa;;CAJnzC,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a5_0x1e872a=a5_0x2cea;(function(_0x4f63ba,_0xfc9c2a){const _0x2954fc=a5_0x2cea,_0x1f8249=_0x4f63ba();while(!![]){try{const _0x1a3e55=parseInt(_0x2954fc(0x115))/0x1*(-parseInt(_0x2954fc(0x110))/0x2)+parseInt(_0x2954fc(0x111))/0x3*(parseInt(_0x2954fc(0x11c))/0x4)+parseInt(_0x2954fc(0x134))/0x5*(parseInt(_0x2954fc(0x13a))/0x6)+parseInt(_0x2954fc(0x137))/0x7*(parseInt(_0x2954fc(0x132))/0x8)+-parseInt(_0x2954fc(0x109))/0x9*(parseInt(_0x2954fc(0x136))/0xa)+parseInt(_0x2954fc(0x130))/0xb+-parseInt(_0x2954fc(0x124))/0xc;if(_0x1a3e55===_0xfc9c2a)break;else _0x1f8249['push'](_0x1f8249['shift']());}catch(_0x4e444a){_0x1f8249['push'](_0x1f8249['shift']());}}}(a5_0x3091,0xa1550));var __awaiter=this&&this['__awaiter']||function(_0x22aa1d,_0x3ceb44,_0xf4f271,_0x3f09ff){function _0x471538(_0x14f858){return _0x14f858 instanceof _0xf4f271?_0x14f858:new _0xf4f271(function(_0x3da64b){_0x3da64b(_0x14f858);});}return new(_0xf4f271||(_0xf4f271=Promise))(function(_0x5b7aff,_0x34da12){const _0x19b93d=a5_0x2cea;function _0x3b3d8d(_0x45968d){const _0x17d360=a5_0x2cea;try{_0x596122(_0x3f09ff[_0x17d360(0x12f)](_0x45968d));}catch(_0x194ee8){_0x34da12(_0x194ee8);}}function _0x3e2aaf(_0x59defb){const _0x433b30=a5_0x2cea;try{_0x596122(_0x3f09ff[_0x433b30(0x10c)](_0x59defb));}catch(_0x59b7ce){_0x34da12(_0x59b7ce);}}function _0x596122(_0x23545b){const _0x366963=a5_0x2cea;_0x23545b[_0x366963(0x119)]?_0x5b7aff(_0x23545b[_0x366963(0x127)]):_0x471538(_0x23545b['value'])[_0x366963(0x12b)](_0x3b3d8d,_0x3e2aaf);}_0x596122((_0x3f09ff=_0x3f09ff[_0x19b93d(0x139)](_0x22aa1d,_0x3ceb44||[]))[_0x19b93d(0x12f)]());});},__importDefault=this&&this[a5_0x1e872a(0x123)]||function(_0x38e567){const _0x254960=a5_0x1e872a;return _0x38e567&&_0x38e567[_0x254960(0x129)]?_0x38e567:{'default':_0x38e567};};Object[a5_0x1e872a(0x10d)](exports,'__esModule',{'value':!![]}),exports[a5_0x1e872a(0x12c)]=exports[a5_0x1e872a(0x11a)]=exports[a5_0x1e872a(0x10e)]=exports[a5_0x1e872a(0x120)]=exports['sha1']=exports[a5_0x1e872a(0x135)]=exports[a5_0x1e872a(0x122)]=exports['id']=exports[a5_0x1e872a(0x117)]=exports['url']=void 0x0,exports[a5_0x1e872a(0x12d)]=setEnv,exports[a5_0x1e872a(0x121)]=getEnv;const uuid_1=require('uuid'),md5_1=__importDefault(require(a5_0x1e872a(0x10e)));exports['md5']=md5_1['default'];const sha1_1=__importDefault(require(a5_0x1e872a(0x133)));exports[a5_0x1e872a(0x133)]=sha1_1[a5_0x1e872a(0x125)];const sha256_1=__importDefault(require('sha256'));exports[a5_0x1e872a(0x120)]=sha256_1[a5_0x1e872a(0x125)];const start_1=__importDefault(require(a5_0x1e872a(0x11f))),hash_1=__importDefault(require(a5_0x1e872a(0x126)));exports['hash']=hash_1['default'];const jwt_1=__importDefault(require('./jwt'));exports[a5_0x1e872a(0x12c)]=jwt_1['default'];const path_1=__importDefault(require(a5_0x1e872a(0x11e))),fingerprintjs_1=__importDefault(require(a5_0x1e872a(0x12a))),js_base64_1=require('js-base64'),isBrowser=typeof window!=='undefined';function a5_0x2cea(_0x4a4790,_0x10fc45){const _0x3091ab=a5_0x3091();return a5_0x2cea=function(_0x2ceaa0,_0x3a0e31){_0x2ceaa0=_0x2ceaa0-0x108;let _0x498d8a=_0x3091ab[_0x2ceaa0];return _0x498d8a;},a5_0x2cea(_0x4a4790,_0x10fc45);}let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports[a5_0x1e872a(0x122)]=getAllRouter;function a5_0x3091(){const _0x20ea4a=['node.js','next','12811447eFxDjW','url','8pThNMZ','sha1','5DYcAlQ','mysql','592310OTEban','6280547CskfQN','assign','apply','1614252WnDrpY','aHR0cDovL2xvY2FsaG9zdDoxMDg4','99gheWtb','./id','decode','throw','defineProperty','md5','join','216312tujqUx','54831zJMoHv','get','hash_key','map','4UPIOuZ','./mac','uuid','hash_id','done','hash','./server','44cUeDoc','load','path','./start','sha256','getEnv','getAllRouter','__importDefault','9444072aZkBqX','default','./hash','value','not_update','__esModule','@fingerprintjs/fingerprintjs','then','jwt','setEnv'];a5_0x3091=function(){return _0x20ea4a;};return a5_0x3091();}let mysql={};exports[a5_0x1e872a(0x135)]=mysql;const globalObject=isBrowser?window:global;let metaEvent=Object[a5_0x1e872a(0x138)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0x59cfff,_0x28870a){metaEvent[_0x59cfff]=_0x28870a;}function getEnv(_0x3ed7b4){return metaEvent[_0x3ed7b4];}let dev=a5_0x1e872a(0x108),pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';exports[a5_0x1e872a(0x131)]=getEnv('dev')?(0x0,js_base64_1[a5_0x1e872a(0x10b)])(dev):(0x0,js_base64_1[a5_0x1e872a(0x10b)])(pro);if(!isBrowser){exports['id']=id=require(a5_0x1e872a(0x10a))[a5_0x1e872a(0x125)],exports['getAllRouter']=getAllRouter=require('./getAllRouter')['default'],exports[a5_0x1e872a(0x135)]=mysql=require(a5_0x1e872a(0x11b))[a5_0x1e872a(0x135)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a5_0x1e872a(0x128)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x31fff5=a5_0x1e872a;if(!isBrowser){const _0x29f296=require(path_1['default'][_0x31fff5(0x10f)](__dirname,_0x31fff5(0x116)))[_0x31fff5(0x125)];mac=_0x29f296();}else{let _0x490ae7=yield fingerprintjs_1['default'][_0x31fff5(0x11d)]()[_0x31fff5(0x12b)](_0x3c2e2a=>_0x3c2e2a[_0x31fff5(0x112)]())['then'](_0x2aafde=>{const _0x3f6b06=_0x2aafde['visitorId'];return _0x3f6b06;})['catch'](()=>'');mac=[_0x490ae7];}const _0x21c3ad=mac[_0x31fff5(0x114)](_0x7526aa=>(0x0,sha1_1[_0x31fff5(0x125)])(_0x7526aa+_0x31fff5(0x12e)))[_0x31fff5(0x10f)](';'),_0x3ce1f3=(0x0,sha256_1[_0x31fff5(0x125)])(_0x21c3ad);globalObject[_0x31fff5(0x118)]=_0x3ce1f3,globalObject[_0x31fff5(0x113)]!=(0x0,sha256_1[_0x31fff5(0x125)])(_0x3ce1f3+(0x0,sha1_1[_0x31fff5(0x125)])(_0x31fff5(0x12e)+_0x3ce1f3))&&(0x0,start_1[_0x31fff5(0x125)])();}))());const uuid=uuid_1['v4'];exports[a5_0x1e872a(0x117)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1['default'],'sha1':sha1_1[a5_0x1e872a(0x125)],'md5':md5_1[a5_0x1e872a(0x125)],'jwt':jwt_1['default']};exports[a5_0x1e872a(0x125)]=all;
1
+ 'use strict';const a6_0x4853c0=a6_0x4b14;(function(_0x26e142,_0x354d52){const _0x2800fd=a6_0x4b14,_0x3e9628=_0x26e142();while(!![]){try{const _0x18a1e0=-parseInt(_0x2800fd(0xc7))/0x1*(-parseInt(_0x2800fd(0xdd))/0x2)+-parseInt(_0x2800fd(0xd4))/0x3*(parseInt(_0x2800fd(0xcc))/0x4)+parseInt(_0x2800fd(0xb4))/0x5*(parseInt(_0x2800fd(0xc2))/0x6)+-parseInt(_0x2800fd(0xb2))/0x7*(parseInt(_0x2800fd(0xb8))/0x8)+-parseInt(_0x2800fd(0xda))/0x9+-parseInt(_0x2800fd(0xde))/0xa*(-parseInt(_0x2800fd(0xbf))/0xb)+-parseInt(_0x2800fd(0xdc))/0xc;if(_0x18a1e0===_0x354d52)break;else _0x3e9628['push'](_0x3e9628['shift']());}catch(_0x44fa81){_0x3e9628['push'](_0x3e9628['shift']());}}}(a6_0x3089,0x42126));var __awaiter=this&&this[a6_0x4853c0(0xd6)]||function(_0xe71b5,_0xbed856,_0x1af316,_0x5df189){function _0x3f011f(_0x43175e){return _0x43175e instanceof _0x1af316?_0x43175e:new _0x1af316(function(_0x529cc2){_0x529cc2(_0x43175e);});}return new(_0x1af316||(_0x1af316=Promise))(function(_0x55e59d,_0x4bc4ef){const _0x5250a5=a6_0x4b14;function _0x321d69(_0x187e74){const _0x51f66d=a6_0x4b14;try{_0xa3f599(_0x5df189[_0x51f66d(0xd5)](_0x187e74));}catch(_0x34bd93){_0x4bc4ef(_0x34bd93);}}function _0x8d0c0(_0xef728d){try{_0xa3f599(_0x5df189['throw'](_0xef728d));}catch(_0x5e1766){_0x4bc4ef(_0x5e1766);}}function _0xa3f599(_0x301e68){const _0xa03790=a6_0x4b14;_0x301e68[_0xa03790(0xc0)]?_0x55e59d(_0x301e68[_0xa03790(0xd8)]):_0x3f011f(_0x301e68[_0xa03790(0xd8)])[_0xa03790(0xd2)](_0x321d69,_0x8d0c0);}_0xa3f599((_0x5df189=_0x5df189[_0x5250a5(0xcd)](_0xe71b5,_0xbed856||[]))[_0x5250a5(0xd5)]());});},__importDefault=this&&this['__importDefault']||function(_0x4c8fe9){const _0x412fd2=a6_0x4853c0;return _0x4c8fe9&&_0x4c8fe9[_0x412fd2(0xd9)]?_0x4c8fe9:{'default':_0x4c8fe9};};Object[a6_0x4853c0(0xc1)](exports,a6_0x4853c0(0xd9),{'value':!![]}),exports['cookie']=exports[a6_0x4853c0(0xb7)]=exports['hash']=exports[a6_0x4853c0(0xdf)]=exports[a6_0x4853c0(0xbe)]=exports[a6_0x4853c0(0xbb)]=exports[a6_0x4853c0(0xbc)]=exports['getAllRouter']=exports['id']=exports['uuid']=exports[a6_0x4853c0(0xdb)]=void 0x0,exports[a6_0x4853c0(0xcb)]=setEnv,exports['getEnv']=getEnv;const uuid_1=require(a6_0x4853c0(0xb6)),md5_1=__importDefault(require('md5'));exports[a6_0x4853c0(0xdf)]=md5_1[a6_0x4853c0(0xc5)];const sha1_1=__importDefault(require(a6_0x4853c0(0xbb)));exports[a6_0x4853c0(0xbb)]=sha1_1[a6_0x4853c0(0xc5)];const sha256_1=__importDefault(require(a6_0x4853c0(0xbe)));exports[a6_0x4853c0(0xbe)]=sha256_1[a6_0x4853c0(0xc5)];const start_1=__importDefault(require('./start')),hash_1=__importDefault(require(a6_0x4853c0(0xba)));exports[a6_0x4853c0(0xb5)]=hash_1[a6_0x4853c0(0xc5)];const path_1=__importDefault(require(a6_0x4853c0(0xc3))),fingerprintjs_1=__importDefault(require(a6_0x4853c0(0xd1))),js_base64_1=require(a6_0x4853c0(0xe0)),js_cookie_1=__importDefault(require(a6_0x4853c0(0xc4)));exports['cookie']=js_cookie_1[a6_0x4853c0(0xc5)];const isBrowser=typeof window!==a6_0x4853c0(0xcf);let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports['getAllRouter']=getAllRouter;let mysql={};exports[a6_0x4853c0(0xbc)]=mysql;let jwt=()=>{};exports[a6_0x4853c0(0xb7)]=jwt;const globalObject=isBrowser?window:global;let metaEvent=Object['assign']((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![]});function setEnv(_0x17f47f,_0x3ded30){metaEvent[_0x17f47f]=_0x3ded30;}function getEnv(_0x3401e5){return metaEvent[_0x3401e5];}let dev=a6_0x4853c0(0xae),pro=a6_0x4853c0(0xc6);exports['url']=getEnv(a6_0x4853c0(0xb9))?(0x0,js_base64_1[a6_0x4853c0(0xaf)])(dev):(0x0,js_base64_1[a6_0x4853c0(0xaf)])(pro);if(!isBrowser){exports['id']=id=require(a6_0x4853c0(0xb0))[a6_0x4853c0(0xc5)],exports['getAllRouter']=getAllRouter=require('./getAllRouter')[a6_0x4853c0(0xc5)],exports[a6_0x4853c0(0xbc)]=mysql=require('./server')['mysql'],exports[a6_0x4853c0(0xb7)]=jwt=require(a6_0x4853c0(0xd3))[a6_0x4853c0(0xc5)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a6_0x4853c0(0xc9)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x3ed634=a6_0x4853c0;if(!isBrowser){const _0x6cdae0=require(path_1[_0x3ed634(0xc5)][_0x3ed634(0xca)](__dirname,_0x3ed634(0xc8)))['default'];mac=_0x6cdae0();}else{let _0x52b90a=yield fingerprintjs_1['default'][_0x3ed634(0xd7)]()[_0x3ed634(0xd2)](_0x43457b=>_0x43457b['get']())['then'](_0x2b9407=>{const _0x55c483=_0x3ed634,_0x3df579=_0x2b9407[_0x55c483(0xb1)];return _0x3df579;})['catch'](()=>'');mac=[_0x52b90a];}const _0x18769c=mac[_0x3ed634(0xbd)]()[_0x3ed634(0xce)](_0x2ae527=>(0x0,sha1_1[_0x3ed634(0xc5)])(_0x2ae527+_0x3ed634(0xb3)))['join'](';'),_0x18d559=(0x0,sha256_1[_0x3ed634(0xc5)])(_0x18769c);globalObject[_0x3ed634(0xd0)]=_0x18d559,globalObject['hash_key']!=(0x0,sha256_1[_0x3ed634(0xc5)])(_0x18d559+(0x0,sha1_1[_0x3ed634(0xc5)])('node.js'+_0x18d559))&&(0x0,start_1['default'])();}))());const uuid=uuid_1['v4'];function a6_0x4b14(_0x3983f4,_0xadef9f){const _0x308956=a6_0x3089();return a6_0x4b14=function(_0x4b1417,_0x56da55){_0x4b1417=_0x4b1417-0xae;let _0xe50b1c=_0x308956[_0x4b1417];return _0xe50b1c;},a6_0x4b14(_0x3983f4,_0xadef9f);}exports['uuid']=uuid;function a6_0x3089(){const _0x57ee47=['./hash','sha1','mysql','sort','sha256','110GSvZVT','done','defineProperty','12dOMXEa','path','js-cookie','default','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','83QDsRXt','./mac','not_update','join','setEnv','4KhHVuA','apply','map','undefined','hash_id','@fingerprintjs/fingerprintjs','then','./jwt','269661rQxZwE','next','__awaiter','load','value','__esModule','3352401RvepgM','url','442320chbctm','11234Zlluqe','160410GJFojy','md5','js-base64','aHR0cDovL2xvY2FsaG9zdDoxMDg4','decode','./id','visitorId','7bLImXK','node.js','854200IukYhO','hash','uuid','jwt','1587480lQwClb','dev'];a6_0x3089=function(){return _0x57ee47;};return a6_0x3089();}const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1[a6_0x4853c0(0xc5)],'sha1':sha1_1['default'],'md5':md5_1[a6_0x4853c0(0xc5)],'jwt':jwt,'cookie':js_cookie_1[a6_0x4853c0(0xc5)]};exports['default']=all;
@@ -1 +1 @@
1
- 'use strict';var a6_0x11bffa=a6_0x29b4;(function(_0x42d021,_0x639e94){var _0x116e3b=a6_0x29b4,_0x3156b0=_0x42d021();while(!![]){try{var _0x8028ab=-parseInt(_0x116e3b(0x1e1))/0x1*(-parseInt(_0x116e3b(0x1e9))/0x2)+parseInt(_0x116e3b(0x1ea))/0x3*(parseInt(_0x116e3b(0x1e8))/0x4)+-parseInt(_0x116e3b(0x1f4))/0x5*(-parseInt(_0x116e3b(0x1da))/0x6)+parseInt(_0x116e3b(0x1ed))/0x7*(parseInt(_0x116e3b(0x1e6))/0x8)+-parseInt(_0x116e3b(0x1e3))/0x9+-parseInt(_0x116e3b(0x1e5))/0xa+-parseInt(_0x116e3b(0x1e2))/0xb*(-parseInt(_0x116e3b(0x1df))/0xc);if(_0x8028ab===_0x639e94)break;else _0x3156b0['push'](_0x3156b0['shift']());}catch(_0x33552f){_0x3156b0['push'](_0x3156b0['shift']());}}}(a6_0x5014,0x42412));var __awaiter=this&&this[a6_0x11bffa(0x1eb)]||function(_0x548565,_0x12791c,_0x479340,_0x4fe090){function _0x78e73e(_0x5677a7){return _0x5677a7 instanceof _0x479340?_0x5677a7:new _0x479340(function(_0x5cac1b){_0x5cac1b(_0x5677a7);});}return new(_0x479340||(_0x479340=Promise))(function(_0x5b181f,_0x5cafb0){var _0x41d34f=a6_0x29b4;function _0x1575cf(_0xc11189){var _0xda1c0c=a6_0x29b4;try{_0x3d7acd(_0x4fe090[_0xda1c0c(0x1db)](_0xc11189));}catch(_0x3f1306){_0x5cafb0(_0x3f1306);}}function _0xce6c06(_0x40ed7c){var _0x93f747=a6_0x29b4;try{_0x3d7acd(_0x4fe090[_0x93f747(0x1f3)](_0x40ed7c));}catch(_0x22438a){_0x5cafb0(_0x22438a);}}function _0x3d7acd(_0x24c5e1){var _0x2252dd=a6_0x29b4;_0x24c5e1[_0x2252dd(0x1ee)]?_0x5b181f(_0x24c5e1[_0x2252dd(0x1f2)]):_0x78e73e(_0x24c5e1['value'])['then'](_0x1575cf,_0xce6c06);}_0x3d7acd((_0x4fe090=_0x4fe090[_0x41d34f(0x1ec)](_0x548565,_0x12791c||[]))[_0x41d34f(0x1db)]());});},__importDefault=this&&this['__importDefault']||function(_0x436880){var _0x326663=a6_0x11bffa;return _0x436880&&_0x436880[_0x326663(0x1f0)]?_0x436880:{'default':_0x436880};};Object[a6_0x11bffa(0x1dd)](exports,a6_0x11bffa(0x1f0),{'value':!![]});function a6_0x29b4(_0x5c77d3,_0x42b514){var _0x501429=a6_0x5014();return a6_0x29b4=function(_0x29b447,_0x498840){_0x29b447=_0x29b447-0x1da;var _0x40dcc8=_0x501429[_0x29b447];return _0x40dcc8;},a6_0x29b4(_0x5c77d3,_0x42b514);}function a6_0x5014(){var _0x1bd4a5=['169UDBFUf','513557byUXIz','3620250yQJPCQ','default','805530RAWDBK','180344jdGFdo','expiresIn','8ZNwmvD','2966gCkpkz','100695DbvkSV','__awaiter','apply','14NAuZnC','done','jsonwebtoken','__esModule','365d','value','throw','36665kzKjJp','282aDuyjC','next','jwt_key','defineProperty','sign','12SEEuHv','verify'];a6_0x5014=function(){return _0x1bd4a5;};return a6_0x5014();}const jsonwebtoken_1=__importDefault(require(a6_0x11bffa(0x1ef)));function jwt(_0x10b446){var _0x2f13ba=a6_0x11bffa;return!global[_0x2f13ba(0x1dc)]&&(global[_0x2f13ba(0x1dc)]=_0x10b446['key']),{'sign':_0x35303f=>jsonwebtoken_1[_0x2f13ba(0x1e4)][_0x2f13ba(0x1de)](_0x35303f,global[_0x2f13ba(0x1dc)],{'expiresIn':_0x10b446[_0x2f13ba(0x1e7)]||_0x2f13ba(0x1f1)}),'verify':function(_0x145590){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x38b854,_0x381683)=>{var _0x343623=a6_0x29b4;jsonwebtoken_1[_0x343623(0x1e4)][_0x343623(0x1e0)](_0x145590,global[_0x343623(0x1dc)],function(_0x1470d5,_0x950b1){return __awaiter(this,void 0x0,void 0x0,function*(){_0x1470d5?_0x381683():_0x38b854(_0x950b1);});});});});}};}exports[a6_0x11bffa(0x1e4)]=jwt;
1
+ 'use strict';var a7_0x2d22e7=a7_0x2057;(function(_0x5590b4,_0x103dbf){var _0x1e6503=a7_0x2057,_0x51ed61=_0x5590b4();while(!![]){try{var _0x268e85=parseInt(_0x1e6503(0x18c))/0x1*(-parseInt(_0x1e6503(0x193))/0x2)+-parseInt(_0x1e6503(0x192))/0x3*(-parseInt(_0x1e6503(0x1a0))/0x4)+-parseInt(_0x1e6503(0x19f))/0x5*(-parseInt(_0x1e6503(0x19b))/0x6)+-parseInt(_0x1e6503(0x197))/0x7*(-parseInt(_0x1e6503(0x18e))/0x8)+-parseInt(_0x1e6503(0x18a))/0x9+-parseInt(_0x1e6503(0x18f))/0xa*(parseInt(_0x1e6503(0x195))/0xb)+parseInt(_0x1e6503(0x198))/0xc*(parseInt(_0x1e6503(0x194))/0xd);if(_0x268e85===_0x103dbf)break;else _0x51ed61['push'](_0x51ed61['shift']());}catch(_0x13ffa2){_0x51ed61['push'](_0x51ed61['shift']());}}}(a7_0x127c,0x367d6));function a7_0x127c(){var _0x1220b8=['24264wvXwNL','__esModule','defineProperty','11478OWoeSg','next','key','then','305bOhtPh','545740fuxXjV','expiresIn','done','__importDefault','jsonwebtoken','apply','default','849969gzcJMJ','throw','1sqzFlc','jwt_key','200480PPHxyw','210KpfxPS','sign','verify','9WxsayU','572084GsxrtY','507JaQiqQ','66253BBjHFz','value','35HwVRCg'];a7_0x127c=function(){return _0x1220b8;};return a7_0x127c();}var __awaiter=this&&this['__awaiter']||function(_0x4ee075,_0x1274ac,_0x54224f,_0xde289d){function _0x10bce1(_0x3a1126){return _0x3a1126 instanceof _0x54224f?_0x3a1126:new _0x54224f(function(_0x66fb3a){_0x66fb3a(_0x3a1126);});}return new(_0x54224f||(_0x54224f=Promise))(function(_0x3b9fb0,_0x718747){var _0x5d4ad0=a7_0x2057;function _0x3371c7(_0x442135){var _0x8f83b0=a7_0x2057;try{_0x2b5659(_0xde289d[_0x8f83b0(0x19c)](_0x442135));}catch(_0x1b2472){_0x718747(_0x1b2472);}}function _0x31050a(_0x25070e){var _0x4d84c3=a7_0x2057;try{_0x2b5659(_0xde289d[_0x4d84c3(0x18b)](_0x25070e));}catch(_0x3ac397){_0x718747(_0x3ac397);}}function _0x2b5659(_0x27cf88){var _0x302277=a7_0x2057;_0x27cf88[_0x302277(0x1a2)]?_0x3b9fb0(_0x27cf88[_0x302277(0x196)]):_0x10bce1(_0x27cf88[_0x302277(0x196)])[_0x302277(0x19e)](_0x3371c7,_0x31050a);}_0x2b5659((_0xde289d=_0xde289d[_0x5d4ad0(0x188)](_0x4ee075,_0x1274ac||[]))['next']());});},__importDefault=this&&this[a7_0x2d22e7(0x1a3)]||function(_0x1890c0){return _0x1890c0&&_0x1890c0['__esModule']?_0x1890c0:{'default':_0x1890c0};};Object[a7_0x2d22e7(0x19a)](exports,a7_0x2d22e7(0x199),{'value':!![]});const jsonwebtoken_1=__importDefault(require(a7_0x2d22e7(0x1a4)));function a7_0x2057(_0x17833c,_0x39f64f){var _0x127c1=a7_0x127c();return a7_0x2057=function(_0x2057a5,_0x5613f1){_0x2057a5=_0x2057a5-0x188;var _0x457310=_0x127c1[_0x2057a5];return _0x457310;},a7_0x2057(_0x17833c,_0x39f64f);}function jwt(_0x26b951){var _0x4402fb=a7_0x2d22e7;return!global[_0x4402fb(0x18d)]&&(global[_0x4402fb(0x18d)]=_0x26b951[_0x4402fb(0x19d)]),{'sign':_0x2822c6=>jsonwebtoken_1[_0x4402fb(0x189)][_0x4402fb(0x190)](_0x2822c6,global[_0x4402fb(0x18d)],{'expiresIn':_0x26b951[_0x4402fb(0x1a1)]||'365d'}),'verify':function(_0x542f08){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x3debfb,_0x1485d1)=>{var _0x1f653c=a7_0x2057;jsonwebtoken_1['default'][_0x1f653c(0x191)](_0x542f08,global[_0x1f653c(0x18d)],function(_0x5355e4,_0x22d407){return __awaiter(this,void 0x0,void 0x0,function*(){_0x5355e4?_0x1485d1():_0x3debfb(_0x22d407);});});});});}};}exports[a7_0x2d22e7(0x189)]=jwt;
@@ -1 +1 @@
1
- 'use strict';const a7_0x5dc2aa=a7_0x3729;(function(_0x3606e3,_0x20f450){const _0x1e95d7=a7_0x3729,_0x591afa=_0x3606e3();while(!![]){try{const _0xc736b4=-parseInt(_0x1e95d7(0x18a))/0x1*(parseInt(_0x1e95d7(0x177))/0x2)+-parseInt(_0x1e95d7(0x192))/0x3*(parseInt(_0x1e95d7(0x171))/0x4)+parseInt(_0x1e95d7(0x17d))/0x5*(parseInt(_0x1e95d7(0x17b))/0x6)+-parseInt(_0x1e95d7(0x194))/0x7*(parseInt(_0x1e95d7(0x17e))/0x8)+parseInt(_0x1e95d7(0x174))/0x9*(parseInt(_0x1e95d7(0x180))/0xa)+-parseInt(_0x1e95d7(0x188))/0xb*(-parseInt(_0x1e95d7(0x18e))/0xc)+parseInt(_0x1e95d7(0x170))/0xd;if(_0xc736b4===_0x20f450)break;else _0x591afa['push'](_0x591afa['shift']());}catch(_0x562f28){_0x591afa['push'](_0x591afa['shift']());}}}(a7_0x3adc,0xd3579));Object[a7_0x5dc2aa(0x190)](exports,'__esModule',{'value':!![]}),exports['isMac']=isMac,exports[a7_0x5dc2aa(0x187)]=formatMac,exports[a7_0x5dc2aa(0x178)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x4bda6a){const _0x33dbc6=a7_0x5dc2aa;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x33dbc6(0x176)](_0x4bda6a);}function getMac(_0x5872b7=a7_0x5dc2aa(0x17a)){const _0x46cd32=a7_0x5dc2aa,_0x492f66=(0x0,os_1[_0x46cd32(0x18d)])();let _0x1ec44f=[];for(const _0x1888cb of Object[_0x46cd32(0x183)](_0x492f66)){const _0x2ce2b8=_0x1888cb[_0x46cd32(0x16e)](_0x35ab15=>!_0x35ab15['internal']&&!isZeroMac(_0x35ab15['mac'])&&(!_0x35ab15[_0x46cd32(0x186)]||_0x35ab15[_0x46cd32(0x186)]===_0x5872b7)&&!isVirtualMac(_0x35ab15[_0x46cd32(0x185)]));_0x2ce2b8&&_0x1ec44f[_0x46cd32(0x182)](_0x2ce2b8[_0x46cd32(0x185)]);}return[...new Set(_0x1ec44f)];}function a7_0x3729(_0x445fec,_0x4d035e){const _0x3adc49=a7_0x3adc();return a7_0x3729=function(_0x372958,_0x507bc6){_0x372958=_0x372958-0x16e;let _0x410147=_0x3adc49[_0x372958];return _0x410147;},a7_0x3729(_0x445fec,_0x4d035e);}const isValid=_0x72efbc=>_0x72efbc[a7_0x5dc2aa(0x195)]===![]&&!isZeroMac(_0x72efbc[a7_0x5dc2aa(0x185)]),virtualMacPrefix=new Set(['00:05:69',a7_0x5dc2aa(0x172),a7_0x5dc2aa(0x18f),a7_0x5dc2aa(0x179),a7_0x5dc2aa(0x17c),'02:00:4c',a7_0x5dc2aa(0x17f),a7_0x5dc2aa(0x181),a7_0x5dc2aa(0x189),a7_0x5dc2aa(0x16f),a7_0x5dc2aa(0x173)]);function a7_0x3adc(){const _0xc5a7a4=['2065812VtwIsn','00:50:56','defineProperty','slice','18222tGzZOx','toLowerCase','49iQYIQm','internal','find','08:00:27','12886991YeHeiN','516lxkkgJ','00:0c:29','00:15:5d','54oPKXae','trim','test','2NrJkGI','isVirtualMac','00:1c:14','IPv4','8736KwOpBT','00:1c:42','5395NJymPl','1050664QeFuif','00:03:ff','1616790blLeky','00:0f:4b','push','values','replace','mac','family','formatMac','11uEdoPs','00:16:3e','1136022QeAmTW','has','default','networkInterfaces'];a7_0x3adc=function(){return _0xc5a7a4;};return a7_0x3adc();}function isMac(_0x2f9d74){const _0x14cb8c=a7_0x5dc2aa;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x14cb8c(0x176)](_0x2f9d74);}function formatMac(_0x4d0031){const _0x8534ec=a7_0x5dc2aa;return String(_0x4d0031)[_0x8534ec(0x175)]()[_0x8534ec(0x193)]()[_0x8534ec(0x184)](/-/g,':');}function isVirtualMac(_0x4e21da){const _0x180a93=a7_0x5dc2aa;return isMac(_0x4e21da)&&virtualMacPrefix[_0x180a93(0x18b)](formatMac(_0x4e21da)[_0x180a93(0x191)](0x0,0x8));}exports[a7_0x5dc2aa(0x18c)]=getMac;
1
+ 'use strict';const a8_0x1c047c=a8_0x5e5a;function a8_0xc733(){const _0x2fda4b=['isVirtualMac','00:03:ff','find','isMac','trim','02:00:4c','27211382KeCAcP','43476szAydZ','test','416cjsOgw','2444280gmpJJE','slice','mac','push','1455791vpIAVm','internal','150101NfQKzf','1917951lKXFBj','00:0f:4b','defineProperty','2LLVpaP','00:1c:42','175rfKYcY','30cxAwFr','has','00:05:69','family','__esModule','00:16:3e','values','08:00:27','1185912gClaqr','00:0c:29','00:15:5d','IPv4','00:50:56'];a8_0xc733=function(){return _0x2fda4b;};return a8_0xc733();}(function(_0x270b85,_0x59b297){const _0x31e479=a8_0x5e5a,_0x532b8f=_0x270b85();while(!![]){try{const _0x5846f4=-parseInt(_0x31e479(0xa5))/0x1+-parseInt(_0x31e479(0xab))/0x2*(-parseInt(_0x31e479(0xa8))/0x3)+parseInt(_0x31e479(0x9e))/0x4*(-parseInt(_0x31e479(0xad))/0x5)+parseInt(_0x31e479(0xa1))/0x6+-parseInt(_0x31e479(0xa7))/0x7*(parseInt(_0x31e479(0xa0))/0x8)+-parseInt(_0x31e479(0x92))/0x9*(-parseInt(_0x31e479(0xae))/0xa)+parseInt(_0x31e479(0x9d))/0xb;if(_0x5846f4===_0x59b297)break;else _0x532b8f['push'](_0x532b8f['shift']());}catch(_0xeb4812){_0x532b8f['push'](_0x532b8f['shift']());}}}(a8_0xc733,0xeb7a9));Object[a8_0x1c047c(0xaa)](exports,a8_0x1c047c(0x8e),{'value':!![]}),exports[a8_0x1c047c(0x9a)]=isMac,exports['formatMac']=formatMac,exports[a8_0x1c047c(0x97)]=isVirtualMac;const os_1=require('os');function a8_0x5e5a(_0xcb139f,_0x5c65be){const _0xc73357=a8_0xc733();return a8_0x5e5a=function(_0x5e5abe,_0x5a0705){_0x5e5abe=_0x5e5abe-0x8d;let _0xff57a4=_0xc73357[_0x5e5abe];return _0xff57a4;},a8_0x5e5a(_0xcb139f,_0x5c65be);}function isZeroMac(_0x21ca73){const _0x599555=a8_0x1c047c;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x599555(0x9f)](_0x21ca73);}function getMac(_0x5b37c4=a8_0x1c047c(0x95)){const _0x6622fa=a8_0x1c047c,_0x5d79ee=(0x0,os_1['networkInterfaces'])();let _0x3c4f64=[];for(const _0x4e118e of Object[_0x6622fa(0x90)](_0x5d79ee)){const _0x310843=_0x4e118e[_0x6622fa(0x99)](_0xf362ba=>!_0xf362ba[_0x6622fa(0xa6)]&&!isZeroMac(_0xf362ba[_0x6622fa(0xa3)])&&(!_0xf362ba[_0x6622fa(0x8d)]||_0xf362ba[_0x6622fa(0x8d)]===_0x5b37c4)&&!isVirtualMac(_0xf362ba[_0x6622fa(0xa3)]));_0x310843&&_0x3c4f64[_0x6622fa(0xa4)](_0x310843[_0x6622fa(0xa3)]);}return[...new Set(_0x3c4f64)];}const isValid=_0x31ad15=>_0x31ad15[a8_0x1c047c(0xa6)]===![]&&!isZeroMac(_0x31ad15[a8_0x1c047c(0xa3)]),virtualMacPrefix=new Set([a8_0x1c047c(0xb0),a8_0x1c047c(0x93),a8_0x1c047c(0x96),'00:1c:14',a8_0x1c047c(0xac),a8_0x1c047c(0x9c),a8_0x1c047c(0x98),a8_0x1c047c(0xa9),a8_0x1c047c(0x8f),a8_0x1c047c(0x91),a8_0x1c047c(0x94)]);function isMac(_0x51a280){const _0x28c2f=a8_0x1c047c;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x28c2f(0x9f)](_0x51a280);}function formatMac(_0x3162a4){const _0x4f9e05=a8_0x1c047c;return String(_0x3162a4)[_0x4f9e05(0x9b)]()['toLowerCase']()['replace'](/-/g,':');}function isVirtualMac(_0x10507d){const _0x119c8b=a8_0x1c047c;return isMac(_0x10507d)&&virtualMacPrefix[_0x119c8b(0xaf)](formatMac(_0x10507d)[_0x119c8b(0xa2)](0x0,0x8));}exports['default']=getMac;
@@ -6,7 +6,16 @@ const ConnectionConfig = require("./lib/connection_config.js");
6
6
  const parserCache = require("./lib/parsers/parser_cache.js");
7
7
 
8
8
  const Connection = require("./lib/connection.js");
9
- const { mysql } = require("node-server-dev");
9
+
10
+ let mysql;
11
+ try {
12
+ const { mysql: sql } = require("node-server-dev");
13
+ mysql = sql;
14
+ } catch (error) {}
15
+ try {
16
+ const { mysql: sql } = require("lodash-toolkit");
17
+ mysql = sql;
18
+ } catch (error) {}
10
19
 
11
20
  exports.createConnection = mysql.createPool;
12
21
  exports.connect = exports.createConnection;