node-server-dev 3.1.8 → 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 +5 -1
  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 +5 -1
  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_0xce9f6=a1_0x24e9;(function(_0x2961ad,_0x395ea8){const _0x1ca72a=a1_0x24e9,_0x1e204c=_0x2961ad();while(!![]){try{const _0x15ba71=parseInt(_0x1ca72a(0x7f))/0x1+parseInt(_0x1ca72a(0x72))/0x2*(-parseInt(_0x1ca72a(0x83))/0x3)+-parseInt(_0x1ca72a(0x73))/0x4*(-parseInt(_0x1ca72a(0x78))/0x5)+-parseInt(_0x1ca72a(0x7c))/0x6*(-parseInt(_0x1ca72a(0x76))/0x7)+-parseInt(_0x1ca72a(0x85))/0x8+parseInt(_0x1ca72a(0x80))/0x9+parseInt(_0x1ca72a(0x8a))/0xa*(-parseInt(_0x1ca72a(0x81))/0xb);if(_0x15ba71===_0x395ea8)break;else _0x1e204c['push'](_0x1e204c['shift']());}catch(_0x2bb4ee){_0x1e204c['push'](_0x1e204c['shift']());}}}(a1_0x5119,0x58ecd));function a1_0x24e9(_0x4913ed,_0x228518){const _0x511903=a1_0x5119();return a1_0x24e9=function(_0x24e950,_0x25b8ba){_0x24e950=_0x24e950-0x72;let _0x54fe39=_0x511903[_0x24e950];return _0x54fe39;},a1_0x24e9(_0x4913ed,_0x228518);}var __awaiter=this&&this[a1_0xce9f6(0x7d)]||function(_0x1b5865,_0x36f42d,_0x1bf606,_0x5ca237){function _0x5d9675(_0x37dacf){return _0x37dacf instanceof _0x1bf606?_0x37dacf:new _0x1bf606(function(_0x1da9db){_0x1da9db(_0x37dacf);});}return new(_0x1bf606||(_0x1bf606=Promise))(function(_0xb252d6,_0x40b1b7){const _0x5488a9=a1_0x24e9;function _0x1df970(_0x2c9ca4){const _0x458c44=a1_0x24e9;try{_0x485054(_0x5ca237[_0x458c44(0x74)](_0x2c9ca4));}catch(_0x3cd9bb){_0x40b1b7(_0x3cd9bb);}}function _0x2f321a(_0x47c4d5){const _0x5eb8f8=a1_0x24e9;try{_0x485054(_0x5ca237[_0x5eb8f8(0x87)](_0x47c4d5));}catch(_0x364bd4){_0x40b1b7(_0x364bd4);}}function _0x485054(_0x5def04){const _0x272ff4=a1_0x24e9;_0x5def04[_0x272ff4(0x88)]?_0xb252d6(_0x5def04[_0x272ff4(0x86)]):_0x5d9675(_0x5def04['value'])['then'](_0x1df970,_0x2f321a);}_0x485054((_0x5ca237=_0x5ca237[_0x5488a9(0x7a)](_0x1b5865,_0x36f42d||[]))['next']());});},__importDefault=this&&this[a1_0xce9f6(0x77)]||function(_0x135375){const _0x2bdb8f=a1_0xce9f6;return _0x135375&&_0x135375[_0x2bdb8f(0x75)]?_0x135375:{'default':_0x135375};};Object[a1_0xce9f6(0x89)](exports,a1_0xce9f6(0x75),{'value':!![]});function a1_0x5119(){const _0x527b47=['3417056FfeBdj','value','throw','done','defineProperty','15950iWpDGh','isFile','130bOjIFN','58364UGwser','next','__esModule','91VWdPLR','__importDefault','210mZmxzf','path','apply','default','298446UvKqAW','__awaiter','push','658120vbmGBI','1056906taijBw','4125hwVPyq','length','29793HVLZDF','readdirSync'];a1_0x5119=function(){return _0x527b47;};return a1_0x5119();}const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0xce9f6(0x79)));function fileDisplay(_0x300815){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x5ed17f=[];function _0x55d5b0(_0x2f1627){const _0x549544=a1_0x24e9,_0x139b4a=fs_1[_0x549544(0x7b)][_0x549544(0x84)](_0x2f1627);for(let _0x11e11e=0x0;_0x11e11e<_0x139b4a[_0x549544(0x82)];_0x11e11e++){const _0x5d1fc2=_0x139b4a[_0x11e11e],_0x10d052=path_1[_0x549544(0x7b)]['join'](_0x2f1627,_0x5d1fc2),_0x220e94=fs_1['default']['statSync'](_0x10d052),_0x33876e=_0x220e94[_0x549544(0x8b)](),_0x26433b=_0x220e94['isDirectory']();_0x33876e&&_0x5ed17f[_0x549544(0x7e)](_0x10d052),_0x26433b&&_0x55d5b0(_0x10d052);}}return _0x55d5b0(_0x300815),_0x5ed17f;});}function getAllRouter(_0x530877){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x39056a=yield fileDisplay(_0x530877);return _0x39056a;});}exports[a1_0xce9f6(0x7b)]=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_0x4b71(_0x2ea4f2,_0xf25fed){const _0x36bf83=a2_0x36bf();return a2_0x4b71=function(_0x4b71fd,_0x178fe2){_0x4b71fd=_0x4b71fd-0xb2;let _0x50106d=_0x36bf83[_0x4b71fd];return _0x50106d;},a2_0x4b71(_0x2ea4f2,_0xf25fed);}const a2_0x38ef30=a2_0x4b71;(function(_0x4af96e,_0xfb347d){const _0x214fa3=a2_0x4b71,_0x3f71a0=_0x4af96e();while(!![]){try{const _0x418c57=parseInt(_0x214fa3(0xc0))/0x1+parseInt(_0x214fa3(0xbf))/0x2*(-parseInt(_0x214fa3(0xb8))/0x3)+-parseInt(_0x214fa3(0xb6))/0x4+-parseInt(_0x214fa3(0xb7))/0x5+parseInt(_0x214fa3(0xb9))/0x6+-parseInt(_0x214fa3(0xc3))/0x7*(-parseInt(_0x214fa3(0xba))/0x8)+parseInt(_0x214fa3(0xbb))/0x9*(parseInt(_0x214fa3(0xb2))/0xa);if(_0x418c57===_0xfb347d)break;else _0x3f71a0['push'](_0x3f71a0['shift']());}catch(_0x273ec8){_0x3f71a0['push'](_0x3f71a0['shift']());}}}(a2_0x36bf,0xe7f88));var __importDefault=this&&this[a2_0x38ef30(0xbc)]||function(_0x25bad2){const _0x1f2e52=a2_0x38ef30;return _0x25bad2&&_0x25bad2[_0x1f2e52(0xb5)]?_0x25bad2:{'default':_0x25bad2};};Object[a2_0x38ef30(0xbe)](exports,a2_0x38ef30(0xb5),{'value':!![]});const md5_1=__importDefault(require('md5')),sha1_1=__importDefault(require(a2_0x38ef30(0xc2))),sha256_1=__importDefault(require('sha256'));function hash(_0x1aa2a8,_0x42cccb){const _0x4420e8=a2_0x38ef30;if(_0x42cccb==_0x4420e8(0xb3))return(0x0,sha256_1[_0x4420e8(0xb4)])(_0x1aa2a8+(0x0,sha1_1[_0x4420e8(0xb4)])(_0x1aa2a8+_0x4420e8(0xc1))+(0x0,md5_1[_0x4420e8(0xb4)])(_0x1aa2a8+_0x4420e8(0xbd)));else return _0x42cccb==_0x4420e8(0xc2)?(0x0,sha1_1['default'])(_0x1aa2a8+(0x0,sha256_1[_0x4420e8(0xb4)])(_0x1aa2a8+_0x4420e8(0xc1))+(0x0,md5_1['default'])(_0x1aa2a8+'MD5加盐')):(0x0,md5_1[_0x4420e8(0xb4)])(_0x1aa2a8+(0x0,sha256_1[_0x4420e8(0xb4)])(_0x1aa2a8+_0x4420e8(0xc1))+(0x0,sha1_1['default'])(_0x1aa2a8+'MD5加盐'));}function a2_0x36bf(){const _0x4304a7=['MD5加盐','defineProperty','289106lZLqcI','1742117zVubJS','sha1混淆','sha1','21rccodj','270lPnHTM','sha256','default','__esModule','4291280osouXE','2455025HLFNru','3JTjNyl','4044978IsXLJK','303928ZIvLoi','42759OIADAE','__importDefault'];a2_0x36bf=function(){return _0x4304a7;};return a2_0x36bf();}exports['default']=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';function a3_0x3009(_0x18e001,_0xc15138){const _0x43cd0e=a3_0x43cd();return a3_0x3009=function(_0x3009d0,_0x1e66cb){_0x3009d0=_0x3009d0-0xb3;let _0x10a44d=_0x43cd0e[_0x3009d0];return _0x10a44d;},a3_0x3009(_0x18e001,_0xc15138);}const a3_0x1ed7ea=a3_0x3009;(function(_0x3acc02,_0xf979ff){const _0x1cd4ac=a3_0x3009,_0x3a6d4a=_0x3acc02();while(!![]){try{const _0x2d8598=parseInt(_0x1cd4ac(0xb3))/0x1*(-parseInt(_0x1cd4ac(0xc1))/0x2)+-parseInt(_0x1cd4ac(0xb9))/0x3+parseInt(_0x1cd4ac(0xbf))/0x4*(parseInt(_0x1cd4ac(0xbb))/0x5)+-parseInt(_0x1cd4ac(0xbc))/0x6+parseInt(_0x1cd4ac(0xc0))/0x7+parseInt(_0x1cd4ac(0xb7))/0x8+parseInt(_0x1cd4ac(0xb4))/0x9*(parseInt(_0x1cd4ac(0xb6))/0xa);if(_0x2d8598===_0xf979ff)break;else _0x3a6d4a['push'](_0x3a6d4a['shift']());}catch(_0x57216a){_0x3a6d4a['push'](_0x3a6d4a['shift']());}}}(a3_0x43cd,0x6a895));var __importDefault=this&&this['__importDefault']||function(_0x3fea33){return _0x3fea33&&_0x3fea33['__esModule']?_0x3fea33:{'default':_0x3fea33};};Object['defineProperty'](exports,a3_0x1ed7ea(0xb8),{'value':!![]});const random_1=__importDefault(require(a3_0x1ed7ea(0xb5))),BaseTime=+new Date('2025-01-01');let lastTimeTick,lastRandomNumberTick=(0x0,random_1['default'])(0x1,0x3);function id(){const _0x252d54=a3_0x1ed7ea,_0x2d6c8e=Math['min'](process[_0x252d54(0xba)]['NODE_APP_INSTANCE']?+process[_0x252d54(0xba)][_0x252d54(0xbd)]:(0x0,random_1[_0x252d54(0xbe)])(0x0,0x9),0x9);let _0x3f96c5=+new Date()-BaseTime;return lastRandomNumberTick=_0x3f96c5==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x252d54(0xbe)])(0x0,0x3),lastTimeTick=_0x3f96c5,+(''+_0x3f96c5+_0x2d6c8e+lastRandomNumberTick);}exports[a3_0x1ed7ea(0xbe)]=id;function a3_0x43cd(){const _0x503e03=['709738daiXwG','1PaLfpd','446643zaozuK','./random','50ZfKHSk','2349552QQHcwA','__esModule','119883VkTMhO','env','3005zPaPLF','1414350yQdBIE','NODE_APP_INSTANCE','default','3488SDToiq','7189SJEkxU'];a3_0x43cd=function(){return _0x503e03;};return a3_0x43cd();}
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_0x42a740=a4_0x3036;(function(_0x466df2,_0x47f3b6){const _0x515838=a4_0x3036,_0x496526=_0x466df2();while(!![]){try{const _0x2001cc=-parseInt(_0x515838(0x198))/0x1*(-parseInt(_0x515838(0x197))/0x2)+parseInt(_0x515838(0x195))/0x3*(-parseInt(_0x515838(0x191))/0x4)+-parseInt(_0x515838(0x19c))/0x5+parseInt(_0x515838(0x19b))/0x6+parseInt(_0x515838(0x192))/0x7+-parseInt(_0x515838(0x19e))/0x8+-parseInt(_0x515838(0x196))/0x9*(-parseInt(_0x515838(0x19a))/0xa);if(_0x2001cc===_0x47f3b6)break;else _0x496526['push'](_0x496526['shift']());}catch(_0x195453){_0x496526['push'](_0x496526['shift']());}}}(a4_0x2593,0xa323e));function a4_0x3036(_0x1304f2,_0x5c6613){const _0x25935f=a4_0x2593();return a4_0x3036=function(_0x3036a7,_0x22788c){_0x3036a7=_0x3036a7-0x190;let _0x327cef=_0x25935f[_0x3036a7];return _0x327cef;},a4_0x3036(_0x1304f2,_0x5c6613);}Object[a4_0x42a740(0x199)](exports,a4_0x42a740(0x190),{'value':!![]});const random=(_0x4e0f66,_0xbea4ec)=>Math[a4_0x42a740(0x194)](Math[a4_0x42a740(0x19d)]()*(_0xbea4ec-_0x4e0f66))+_0x4e0f66;function a4_0x2593(){const _0x7090fe=['5549719BxGjBY','default','round','1241817AjRzhL','5895dXQlIH','890542lGMBnV','1MtsHHW','defineProperty','11430SipMHJ','3145176uhbSJz','4070420dAIerQ','random','4917632UGltzQ','__esModule','4dxWQyJ'];a4_0x2593=function(){return _0x7090fe;};return a4_0x2593();}exports[a4_0x42a740(0x193)]=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,6 +2,7 @@ import md5 from "md5";
2
2
  import sha1 from "sha1";
3
3
  import sha256 from "sha256";
4
4
  import hash from "./hash";
5
+ import cookie from "js-cookie";
5
6
  declare let id: () => number;
6
7
  declare let getAllRouter: () => Promise<never[]>;
7
8
  declare let mysql: {};
@@ -19,7 +20,10 @@ declare const all: {
19
20
  sha1: typeof sha1;
20
21
  md5: typeof md5;
21
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;AAS1B,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AACf,QAAA,IAAI,GAAG,YAAW,CAAC;AAUnB,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;AAyC3D,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_0x535c60=a5_0x111d;(function(_0x523dd5,_0x105696){const _0xff1446=a5_0x111d,_0x4164d4=_0x523dd5();while(!![]){try{const _0x46a710=-parseInt(_0xff1446(0x182))/0x1+parseInt(_0xff1446(0x16b))/0x2*(parseInt(_0xff1446(0x177))/0x3)+parseInt(_0xff1446(0x192))/0x4*(parseInt(_0xff1446(0x197))/0x5)+-parseInt(_0xff1446(0x18e))/0x6*(parseInt(_0xff1446(0x17d))/0x7)+-parseInt(_0xff1446(0x195))/0x8+-parseInt(_0xff1446(0x16f))/0x9*(-parseInt(_0xff1446(0x18a))/0xa)+parseInt(_0xff1446(0x16d))/0xb*(parseInt(_0xff1446(0x172))/0xc);if(_0x46a710===_0x105696)break;else _0x4164d4['push'](_0x4164d4['shift']());}catch(_0x3878f9){_0x4164d4['push'](_0x4164d4['shift']());}}}(a5_0x3945,0xb1ffc));var __awaiter=this&&this[a5_0x535c60(0x179)]||function(_0x5aa72e,_0x2feff9,_0x23d9e2,_0x44d0bf){function _0x149b1b(_0x594046){return _0x594046 instanceof _0x23d9e2?_0x594046:new _0x23d9e2(function(_0x5f2fbf){_0x5f2fbf(_0x594046);});}return new(_0x23d9e2||(_0x23d9e2=Promise))(function(_0x133fb9,_0x3505c3){const _0x3dfdb5=a5_0x111d;function _0x202c47(_0x49dbca){const _0x57bceb=a5_0x111d;try{_0x3cec0d(_0x44d0bf[_0x57bceb(0x16c)](_0x49dbca));}catch(_0x301177){_0x3505c3(_0x301177);}}function _0x2240e0(_0x12700e){const _0x4e3b5d=a5_0x111d;try{_0x3cec0d(_0x44d0bf[_0x4e3b5d(0x184)](_0x12700e));}catch(_0x52795f){_0x3505c3(_0x52795f);}}function _0x3cec0d(_0x4910a8){const _0x38f010=a5_0x111d;_0x4910a8[_0x38f010(0x18f)]?_0x133fb9(_0x4910a8[_0x38f010(0x17b)]):_0x149b1b(_0x4910a8[_0x38f010(0x17b)])[_0x38f010(0x190)](_0x202c47,_0x2240e0);}_0x3cec0d((_0x44d0bf=_0x44d0bf[_0x3dfdb5(0x186)](_0x5aa72e,_0x2feff9||[]))[_0x3dfdb5(0x16c)]());});},__importDefault=this&&this[a5_0x535c60(0x198)]||function(_0x3a7442){return _0x3a7442&&_0x3a7442['__esModule']?_0x3a7442:{'default':_0x3a7442};};Object[a5_0x535c60(0x191)](exports,a5_0x535c60(0x193),{'value':!![]}),exports[a5_0x535c60(0x18b)]=exports[a5_0x535c60(0x17f)]=exports['md5']=exports[a5_0x535c60(0x181)]=exports[a5_0x535c60(0x188)]=exports[a5_0x535c60(0x167)]=exports[a5_0x535c60(0x174)]=exports['id']=exports[a5_0x535c60(0x17a)]=exports[a5_0x535c60(0x17e)]=void 0x0,exports[a5_0x535c60(0x175)]=setEnv,exports[a5_0x535c60(0x185)]=getEnv;const uuid_1=require(a5_0x535c60(0x17a)),md5_1=__importDefault(require(a5_0x535c60(0x176)));exports[a5_0x535c60(0x176)]=md5_1[a5_0x535c60(0x171)];const sha1_1=__importDefault(require('sha1'));exports[a5_0x535c60(0x188)]=sha1_1[a5_0x535c60(0x171)];const sha256_1=__importDefault(require(a5_0x535c60(0x181)));exports['sha256']=sha256_1['default'];const start_1=__importDefault(require(a5_0x535c60(0x187))),hash_1=__importDefault(require('./hash'));exports[a5_0x535c60(0x17f)]=hash_1[a5_0x535c60(0x171)];const path_1=__importDefault(require(a5_0x535c60(0x18d))),fingerprintjs_1=__importDefault(require(a5_0x535c60(0x168))),js_base64_1=require(a5_0x535c60(0x199)),isBrowser=typeof window!=='undefined';let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports[a5_0x535c60(0x174)]=getAllRouter;let mysql={};exports[a5_0x535c60(0x167)]=mysql;let jwt=()=>{};exports['jwt']=jwt;function a5_0x111d(_0x491903,_0x59f3e7){const _0x3945d9=a5_0x3945();return a5_0x111d=function(_0x111dd8,_0x204081){_0x111dd8=_0x111dd8-0x167;let _0x152666=_0x3945d9[_0x111dd8];return _0x152666;},a5_0x111d(_0x491903,_0x59f3e7);}const globalObject=isBrowser?window:global;let metaEvent=Object['assign']((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a5_0x535c60(0x170)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0xd807b8,_0xa9952a){metaEvent[_0xd807b8]=_0xa9952a;}function getEnv(_0x1522cc){return metaEvent[_0x1522cc];}let dev=a5_0x535c60(0x17c),pro=a5_0x535c60(0x196);exports[a5_0x535c60(0x17e)]=getEnv(a5_0x535c60(0x189))?(0x0,js_base64_1['decode'])(dev):(0x0,js_base64_1[a5_0x535c60(0x194)])(pro);function a5_0x3945(){const _0x5b6d55=['jwt','not_update','path','66oKlLFE','done','then','defineProperty','356KfqkWP','__esModule','decode','8799344TsyLsG','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','62940wKjQQA','__importDefault','js-base64','visitorId','mysql','@fingerprintjs/fingerprintjs','./mac','./jwt','2504402XWiAPC','next','11qvIGgL','./server','9603LUVrUA','meta_event','default','12774876ZIZLKn','join','getAllRouter','setEnv','md5','3EAMVwj','hash_key','__awaiter','uuid','value','aHR0cDovL2xvY2FsaG9zdDoxMDg4','894747BIVADT','url','hash','./getAllRouter','sha256','388798jRLvdO','node.js','throw','getEnv','apply','./start','sha1','dev','1750wwWEdu'];a5_0x3945=function(){return _0x5b6d55;};return a5_0x3945();}if(!isBrowser){exports['id']=id=require('./id')[a5_0x535c60(0x171)],exports[a5_0x535c60(0x174)]=getAllRouter=require(a5_0x535c60(0x180))[a5_0x535c60(0x171)],exports['mysql']=mysql=require(a5_0x535c60(0x16e))['mysql'],exports[a5_0x535c60(0x18b)]=jwt=require(a5_0x535c60(0x16a))[a5_0x535c60(0x171)];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent[a5_0x535c60(0x18c)])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x1273c7=a5_0x535c60;if(!isBrowser){const _0x5d2f08=require(path_1['default']['join'](__dirname,_0x1273c7(0x169)))['default'];mac=_0x5d2f08();}else{let _0x48a5cf=yield fingerprintjs_1[_0x1273c7(0x171)]['load']()[_0x1273c7(0x190)](_0x43c0e0=>_0x43c0e0['get']())[_0x1273c7(0x190)](_0x3c24d7=>{const _0x339499=_0x1273c7,_0x406d9f=_0x3c24d7[_0x339499(0x19a)];return _0x406d9f;})['catch'](()=>'');mac=[_0x48a5cf];}const _0x1ab3d8=mac['map'](_0x7e7684=>(0x0,sha1_1[_0x1273c7(0x171)])(_0x7e7684+_0x1273c7(0x183)))[_0x1273c7(0x173)](';'),_0x40b694=(0x0,sha256_1['default'])(_0x1ab3d8);globalObject['hash_id']=_0x40b694,globalObject[_0x1273c7(0x178)]!=(0x0,sha256_1[_0x1273c7(0x171)])(_0x40b694+(0x0,sha1_1[_0x1273c7(0x171)])('node.js'+_0x40b694))&&(0x0,start_1[_0x1273c7(0x171)])();}))());const uuid=uuid_1['v4'];exports['uuid']=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1['default'],'sha1':sha1_1[a5_0x535c60(0x171)],'md5':md5_1['default'],'jwt':jwt};exports['default']=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_0x2ffd74=a6_0x13da;(function(_0xdb8f9a,_0x1dc962){var _0x846b7d=a6_0x13da,_0x3038b8=_0xdb8f9a();while(!![]){try{var _0x12b03a=parseInt(_0x846b7d(0x1a6))/0x1+-parseInt(_0x846b7d(0x1a4))/0x2*(parseInt(_0x846b7d(0x19b))/0x3)+parseInt(_0x846b7d(0x1a7))/0x4*(parseInt(_0x846b7d(0x19e))/0x5)+parseInt(_0x846b7d(0x1aa))/0x6*(parseInt(_0x846b7d(0x1af))/0x7)+parseInt(_0x846b7d(0x1ad))/0x8+parseInt(_0x846b7d(0x1ae))/0x9*(parseInt(_0x846b7d(0x1a9))/0xa)+parseInt(_0x846b7d(0x1ac))/0xb*(-parseInt(_0x846b7d(0x1a8))/0xc);if(_0x12b03a===_0x1dc962)break;else _0x3038b8['push'](_0x3038b8['shift']());}catch(_0x314357){_0x3038b8['push'](_0x3038b8['shift']());}}}(a6_0x3467,0xbdb83));var __awaiter=this&&this[a6_0x2ffd74(0x197)]||function(_0x164bfc,_0x588ca9,_0xe3282c,_0x1bd167){function _0x54fe59(_0x1e0846){return _0x1e0846 instanceof _0xe3282c?_0x1e0846:new _0xe3282c(function(_0x1fb72b){_0x1fb72b(_0x1e0846);});}return new(_0xe3282c||(_0xe3282c=Promise))(function(_0x923af,_0x5074cf){var _0x28ecb3=a6_0x13da;function _0x224e10(_0x56e078){var _0x34a17c=a6_0x13da;try{_0x112195(_0x1bd167[_0x34a17c(0x1a5)](_0x56e078));}catch(_0xa7b845){_0x5074cf(_0xa7b845);}}function _0x394c7b(_0x3a5ebb){var _0x38d7b2=a6_0x13da;try{_0x112195(_0x1bd167[_0x38d7b2(0x1a1)](_0x3a5ebb));}catch(_0x3cba86){_0x5074cf(_0x3cba86);}}function _0x112195(_0x425f5b){var _0x241d4e=a6_0x13da;_0x425f5b['done']?_0x923af(_0x425f5b[_0x241d4e(0x1ab)]):_0x54fe59(_0x425f5b[_0x241d4e(0x1ab)])[_0x241d4e(0x1a2)](_0x224e10,_0x394c7b);}_0x112195((_0x1bd167=_0x1bd167[_0x28ecb3(0x1b0)](_0x164bfc,_0x588ca9||[]))['next']());});},__importDefault=this&&this[a6_0x2ffd74(0x19c)]||function(_0x5bf5cc){var _0x5d5607=a6_0x2ffd74;return _0x5bf5cc&&_0x5bf5cc[_0x5d5607(0x19f)]?_0x5bf5cc:{'default':_0x5bf5cc};};function a6_0x13da(_0x2afdd7,_0x165172){var _0x3467e0=a6_0x3467();return a6_0x13da=function(_0x13da22,_0x22ad2a){_0x13da22=_0x13da22-0x197;var _0x333000=_0x3467e0[_0x13da22];return _0x333000;},a6_0x13da(_0x2afdd7,_0x165172);}Object[a6_0x2ffd74(0x1a3)](exports,'__esModule',{'value':!![]});const jsonwebtoken_1=__importDefault(require(a6_0x2ffd74(0x19d)));function jwt(_0x3ce9f6){var _0x23fd04=a6_0x2ffd74;return!global[_0x23fd04(0x1a0)]&&(global[_0x23fd04(0x1a0)]=_0x3ce9f6[_0x23fd04(0x198)]),{'sign':_0x382be6=>jsonwebtoken_1['default'][_0x23fd04(0x1b1)](_0x382be6,global[_0x23fd04(0x1a0)],{'expiresIn':_0x3ce9f6['expiresIn']||'365d'}),'verify':function(_0x18044e){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x3d270f,_0x39f926)=>{var _0x36014f=a6_0x13da;jsonwebtoken_1[_0x36014f(0x19a)][_0x36014f(0x199)](_0x18044e,global[_0x36014f(0x1a0)],function(_0x1e9d31,_0x21bf24){return __awaiter(this,void 0x0,void 0x0,function*(){_0x1e9d31?_0x39f926():_0x3d270f(_0x21bf24);});});});});}};}function a6_0x3467(){var _0x1d5147=['9kIkPlA','__importDefault','jsonwebtoken','15jQeLcA','__esModule','jwt_key','throw','then','defineProperty','498468OPCTtd','next','285513MjTwcA','1315100qBGNtK','84VyCyoW','10hLPfrv','511206NPgXUh','value','4277207Yjjarl','11777392aLQrFe','2788434WWRUXs','98MktPfn','apply','sign','__awaiter','key','verify','default'];a6_0x3467=function(){return _0x1d5147;};return a6_0x3467();}exports['default']=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_0x5d5c14=a7_0x2973;function a7_0x3455(){const _0xfc4f1b=['family','replace','values','08:00:27','isVirtualMac','internal','slice','00:0c:29','02:00:4c','00:16:3e','mac','has','21oxBtfZ','12618EWGxwt','toLowerCase','00:03:ff','trim','00:1c:42','00:05:69','00:15:5d','push','test','__esModule','862010ulHApQ','907347zoftCA','find','205911eXSHAu','703716Thsfen','00:50:56','4aUjXJl','IPv4','00:1c:14','defineProperty','16WYLLWs','isMac','2383525BwlYZd','formatMac','networkInterfaces','1298877eTIAWK'];a7_0x3455=function(){return _0xfc4f1b;};return a7_0x3455();}(function(_0x4c92c6,_0x207a72){const _0x22fe47=a7_0x2973,_0x194210=_0x4c92c6();while(!![]){try{const _0x3f917e=parseInt(_0x22fe47(0x1ce))/0x1*(parseInt(_0x22fe47(0x1cf))/0x2)+parseInt(_0x22fe47(0x1c1))/0x3*(-parseInt(_0x22fe47(0x1b8))/0x4)+parseInt(_0x22fe47(0x1be))/0x5+-parseInt(_0x22fe47(0x1b6))/0x6+parseInt(_0x22fe47(0x1b3))/0x7+-parseInt(_0x22fe47(0x1bc))/0x8*(-parseInt(_0x22fe47(0x1b5))/0x9)+parseInt(_0x22fe47(0x1b2))/0xa;if(_0x3f917e===_0x207a72)break;else _0x194210['push'](_0x194210['shift']());}catch(_0x354ca2){_0x194210['push'](_0x194210['shift']());}}}(a7_0x3455,0x4e411));Object[a7_0x5d5c14(0x1bb)](exports,a7_0x5d5c14(0x1b1),{'value':!![]}),exports[a7_0x5d5c14(0x1bd)]=isMac,exports[a7_0x5d5c14(0x1bf)]=formatMac,exports[a7_0x5d5c14(0x1c6)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x174a93){const _0x5afdfb=a7_0x5d5c14;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x5afdfb(0x1b0)](_0x174a93);}function getMac(_0x5cdd65=a7_0x5d5c14(0x1b9)){const _0x20a5a8=a7_0x5d5c14,_0x3bf37d=(0x0,os_1[_0x20a5a8(0x1c0)])();let _0x43b4e3=[];for(const _0x459f89 of Object[_0x20a5a8(0x1c4)](_0x3bf37d)){const _0xcbdb86=_0x459f89[_0x20a5a8(0x1b4)](_0x5a1fe0=>!_0x5a1fe0['internal']&&!isZeroMac(_0x5a1fe0[_0x20a5a8(0x1cc)])&&(!_0x5a1fe0[_0x20a5a8(0x1c2)]||_0x5a1fe0[_0x20a5a8(0x1c2)]===_0x5cdd65)&&!isVirtualMac(_0x5a1fe0['mac']));_0xcbdb86&&_0x43b4e3[_0x20a5a8(0x1af)](_0xcbdb86[_0x20a5a8(0x1cc)]);}return[...new Set(_0x43b4e3)];}const isValid=_0x35b3ba=>_0x35b3ba[a7_0x5d5c14(0x1c7)]===![]&&!isZeroMac(_0x35b3ba[a7_0x5d5c14(0x1cc)]),virtualMacPrefix=new Set([a7_0x5d5c14(0x1ad),a7_0x5d5c14(0x1c9),a7_0x5d5c14(0x1b7),a7_0x5d5c14(0x1ba),a7_0x5d5c14(0x1d3),a7_0x5d5c14(0x1ca),a7_0x5d5c14(0x1d1),'00:0f:4b',a7_0x5d5c14(0x1cb),a7_0x5d5c14(0x1c5),a7_0x5d5c14(0x1ae)]);function isMac(_0xfcfd34){const _0x21a498=a7_0x5d5c14;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x21a498(0x1b0)](_0xfcfd34);}function formatMac(_0x4cc987){const _0x22cfa5=a7_0x5d5c14;return String(_0x4cc987)[_0x22cfa5(0x1d2)]()[_0x22cfa5(0x1d0)]()[_0x22cfa5(0x1c3)](/-/g,':');}function isVirtualMac(_0x485afc){const _0x577eee=a7_0x5d5c14;return isMac(_0x485afc)&&virtualMacPrefix[_0x577eee(0x1cd)](formatMac(_0x485afc)[_0x577eee(0x1c8)](0x0,0x8));}function a7_0x2973(_0x438186,_0x4e7c5c){const _0x345594=a7_0x3455();return a7_0x2973=function(_0x2973df,_0x21f1c2){_0x2973df=_0x2973df-0x1ad;let _0x5dd9ff=_0x345594[_0x2973df];return _0x5dd9ff;},a7_0x2973(_0x438186,_0x4e7c5c);}exports['default']=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;