node-server-dev 3.1.8 → 3.2.1

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';const a0_0x314ba4=a0_0x364f;function a0_0x364f(_0xdce8bd,_0x2e30e0){const _0xe230ba=a0_0xe230();return a0_0x364f=function(_0x364f99,_0x148f63){_0x364f99=_0x364f99-0x186;let _0x1a83e1=_0xe230ba[_0x364f99];return _0x1a83e1;},a0_0x364f(_0xdce8bd,_0x2e30e0);}function a0_0xe230(){const _0x447706=['501012QdDodV','try\x20{\x0a\x20\x20\x20','2wzmwNV','30NcCFKZ','innerText','32822832fkrPVe','1017890XJmMDs','default','connectError','1487332kLdIsY','runScript','getEnv','head','../id/random','./tools','11oAmYXF','5aHrZXS','5867718olhWZe','27441ZOhmaT','appendChild','__esModule','remove','browser','8605PYsOFe','script','1432jtIcBQ','__importDefault'];a0_0xe230=function(){return _0x447706;};return a0_0xe230();}(function(_0xa932ac,_0x198d42){const _0x1a8fd9=a0_0x364f,_0x1eb12d=_0xa932ac();while(!![]){try{const _0x78e5a5=-parseInt(_0x1a8fd9(0x199))/0x1*(-parseInt(_0x1a8fd9(0x19f))/0x2)+-parseInt(_0x1a8fd9(0x1a0))/0x3*(parseInt(_0x1a8fd9(0x19d))/0x4)+parseInt(_0x1a8fd9(0x192))/0x5*(-parseInt(_0x1a8fd9(0x193))/0x6)+-parseInt(_0x1a8fd9(0x18b))/0x7+-parseInt(_0x1a8fd9(0x19b))/0x8*(-parseInt(_0x1a8fd9(0x194))/0x9)+parseInt(_0x1a8fd9(0x188))/0xa*(-parseInt(_0x1a8fd9(0x191))/0xb)+parseInt(_0x1a8fd9(0x187))/0xc;if(_0x78e5a5===_0x198d42)break;else _0x1eb12d['push'](_0x1eb12d['shift']());}catch(_0x5a060f){_0x1eb12d['push'](_0x1eb12d['shift']());}}}(a0_0xe230,0xb5da0));var __importDefault=this&&this[a0_0x314ba4(0x19c)]||function(_0xead105){const _0x44ca50=a0_0x314ba4;return _0xead105&&_0xead105[_0x44ca50(0x196)]?_0xead105:{'default':_0xead105};};Object['defineProperty'](exports,a0_0x314ba4(0x196),{'value':!![]}),exports[a0_0x314ba4(0x18c)]=runScript,exports[a0_0x314ba4(0x198)]=browser;const random_1=__importDefault(require(a0_0x314ba4(0x18f))),index_1=require('../index'),tools_1=__importDefault(require(a0_0x314ba4(0x190)));function runScript(_0x1be567){const _0x3712ca=a0_0x314ba4;let _0x247a3a=document['createElement'](_0x3712ca(0x19a));_0x247a3a[_0x3712ca(0x186)]=_0x3712ca(0x19e)+_0x1be567+'\x20\x0a\x20\x20}\x20catch\x20(err)\x20{\x0a\x20\x20}',document[_0x3712ca(0x18e)][_0x3712ca(0x195)](_0x247a3a),setTimeout(()=>{const _0x481e06=_0x3712ca;_0x247a3a[_0x481e06(0x197)]();},0x14);}function browser(){const _0x2f2d0f=a0_0x314ba4;(0x0,index_1[_0x2f2d0f(0x18d)])(_0x2f2d0f(0x18a))&&(0x0,tools_1[_0x2f2d0f(0x189)])(),setInterval(()=>{const _0x5c8773=_0x2f2d0f;(0x0,index_1[_0x5c8773(0x18d)])('connectError')&&(0x0,tools_1[_0x5c8773(0x189)])();},(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_0x15e7ca=a1_0x1169;function a1_0x46c2(){const _0x1fed4e=['apply','17660troFui','109gghStc','6930goUcvo','6XktqBR','2475KcZXIB','forEach','1248lYxAcT','1430331rYqdHP','__removeStyleAndClassEveryThirdDone','540656MhfHzZ','body','316aeaOzN','addEventListener','1024080AHUmUB','href','4138475VZOlTY','removeAttribute','observe','popstate','style','defineProperty','pushState','__esModule','urlchange','querySelectorAll'];a1_0x46c2=function(){return _0x1fed4e;};return a1_0x46c2();}(function(_0x4d6e27,_0x1b4a7a){const _0x49c210=a1_0x1169,_0x23ec95=_0x4d6e27();while(!![]){try{const _0x158948=parseInt(_0x49c210(0x1f7))/0x1*(-parseInt(_0x49c210(0x1fc))/0x2)+-parseInt(_0x49c210(0x203))/0x3+parseInt(_0x49c210(0x201))/0x4*(parseInt(_0x49c210(0x1f6))/0x5)+-parseInt(_0x49c210(0x1f9))/0x6*(parseInt(_0x49c210(0x1fd))/0x7)+parseInt(_0x49c210(0x1ff))/0x8+parseInt(_0x49c210(0x1fa))/0x9*(parseInt(_0x49c210(0x1f8))/0xa)+parseInt(_0x49c210(0x1eb))/0xb;if(_0x158948===_0x1b4a7a)break;else _0x23ec95['push'](_0x23ec95['shift']());}catch(_0x5a69ca){_0x23ec95['push'](_0x23ec95['shift']());}}}(a1_0x46c2,0x492b5));function a1_0x1169(_0x36687e,_0x6511f){const _0x46c2da=a1_0x46c2();return a1_0x1169=function(_0x1169c8,_0x452b16){_0x1169c8=_0x1169c8-0x1eb;let _0x15eb3a=_0x46c2da[_0x1169c8];return _0x15eb3a;},a1_0x1169(_0x36687e,_0x6511f);}Object[a1_0x15e7ca(0x1f0)](exports,a1_0x15e7ca(0x1f2),{'value':!![]});function browserTools(){const _0x4552da=a1_0x15e7ca;let _0x368571=location[_0x4552da(0x204)];function _0x5b3023(_0x730f70={}){const _0x1aeb46=_0x4552da,{force:force=![]}=_0x730f70;if(!force&&window['__removeStyleAndClassEveryThirdDone'])return;window[_0x1aeb46(0x1fe)]=!![];const _0x23223c=document[_0x1aeb46(0x200)],_0x1054d6=_0x23223c[_0x1aeb46(0x1f4)]('*');_0x1054d6[_0x1aeb46(0x1fb)]((_0x1015f9,_0x31a1c5)=>{const _0x21d1bd=_0x1aeb46;(_0x31a1c5+0x1)%0x3===0x0&&(_0x1015f9[_0x21d1bd(0x1ec)](_0x21d1bd(0x1ef)),_0x1015f9[_0x21d1bd(0x1ec)]('class'),_0x1015f9[_0x21d1bd(0x1ec)]('id'));});}setTimeout(()=>{const _0x5445bf=_0x4552da;window[_0x5445bf(0x1fe)]=![],_0x368571=location['href'],_0x5b3023();},0x1),[_0x4552da(0x1f1),'replaceState']['forEach'](_0x76d6f8=>{const _0x3c8ef7=history[_0x76d6f8];history[_0x76d6f8]=function(..._0x8ee0d1){const _0x493ef3=a1_0x1169,_0x24ec61=_0x3c8ef7[_0x493ef3(0x1f5)](this,_0x8ee0d1);return window['dispatchEvent'](new Event(_0x493ef3(0x1f3))),_0x24ec61;};});function _0x32feab(){const _0x528b3f=_0x4552da,_0x54c944=location[_0x528b3f(0x204)];_0x54c944!==_0x368571&&(_0x368571=_0x54c944,window[_0x528b3f(0x1fe)]=![],_0x5b3023({'force':!![]}));}window[_0x4552da(0x202)](_0x4552da(0x1f3),_0x32feab),window[_0x4552da(0x202)](_0x4552da(0x1ee),_0x32feab);const _0x851a67=new MutationObserver(()=>_0x32feab());_0x851a67[_0x4552da(0x1ed)](document,{'childList':!![],'subtree':!![]});}exports['default']=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_0x3fc319=a2_0x3a0f;(function(_0x55d28d,_0x2dd4d7){const _0x1da88b=a2_0x3a0f,_0x6b993e=_0x55d28d();while(!![]){try{const _0x29c3a1=-parseInt(_0x1da88b(0x104))/0x1+-parseInt(_0x1da88b(0x112))/0x2*(parseInt(_0x1da88b(0x111))/0x3)+parseInt(_0x1da88b(0x102))/0x4+parseInt(_0x1da88b(0x113))/0x5*(-parseInt(_0x1da88b(0x10c))/0x6)+parseInt(_0x1da88b(0x115))/0x7*(-parseInt(_0x1da88b(0x103))/0x8)+-parseInt(_0x1da88b(0x10d))/0x9+parseInt(_0x1da88b(0x10f))/0xa;if(_0x29c3a1===_0x2dd4d7)break;else _0x6b993e['push'](_0x6b993e['shift']());}catch(_0x5de979){_0x6b993e['push'](_0x6b993e['shift']());}}}(a2_0x15ea,0x4a2aa));function a2_0x15ea(){const _0x1da35c=['throw','isFile','defineProperty','6ZGoEQS','1740537rSkJTX','then','11511050yvQwqL','value','2454dBcxVP','110AXqzkH','642785vWUyJw','__awaiter','7bymbdZ','readdirSync','__importDefault','push','join','path','272504erVHmN','1945256afIzQR','305348aeqVWD','apply','next','done','default'];a2_0x15ea=function(){return _0x1da35c;};return a2_0x15ea();}function a2_0x3a0f(_0x19428f,_0x23f300){const _0x15ea4c=a2_0x15ea();return a2_0x3a0f=function(_0x3a0f2f,_0x16476b){_0x3a0f2f=_0x3a0f2f-0xfd;let _0x1104f2=_0x15ea4c[_0x3a0f2f];return _0x1104f2;},a2_0x3a0f(_0x19428f,_0x23f300);}var __awaiter=this&&this[a2_0x3fc319(0x114)]||function(_0x30339d,_0x32f147,_0x4bf672,_0x3685e6){function _0x4b940e(_0xa96daa){return _0xa96daa instanceof _0x4bf672?_0xa96daa:new _0x4bf672(function(_0x2ad9f0){_0x2ad9f0(_0xa96daa);});}return new(_0x4bf672||(_0x4bf672=Promise))(function(_0xf7ba76,_0x574ef5){const _0x5977b3=a2_0x3a0f;function _0x4d42de(_0x572239){const _0x3d3ee3=a2_0x3a0f;try{_0x184c0a(_0x3685e6[_0x3d3ee3(0x106)](_0x572239));}catch(_0x26a33d){_0x574ef5(_0x26a33d);}}function _0x546175(_0x41cef7){const _0x361292=a2_0x3a0f;try{_0x184c0a(_0x3685e6[_0x361292(0x109)](_0x41cef7));}catch(_0x5e594a){_0x574ef5(_0x5e594a);}}function _0x184c0a(_0x20c556){const _0x4222d6=a2_0x3a0f;_0x20c556[_0x4222d6(0x107)]?_0xf7ba76(_0x20c556['value']):_0x4b940e(_0x20c556[_0x4222d6(0x110)])[_0x4222d6(0x10e)](_0x4d42de,_0x546175);}_0x184c0a((_0x3685e6=_0x3685e6[_0x5977b3(0x105)](_0x30339d,_0x32f147||[]))[_0x5977b3(0x106)]());});},__importDefault=this&&this[a2_0x3fc319(0xfe)]||function(_0x5c776b){return _0x5c776b&&_0x5c776b['__esModule']?_0x5c776b:{'default':_0x5c776b};};Object[a2_0x3fc319(0x10b)](exports,'__esModule',{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a2_0x3fc319(0x101)));function fileDisplay(_0x1970e4){return __awaiter(this,void 0x0,void 0x0,function*(){let _0xd9c475=[];function _0x399c8f(_0x3790be){const _0x12681f=a2_0x3a0f,_0x203cb1=fs_1[_0x12681f(0x108)][_0x12681f(0xfd)](_0x3790be);for(let _0x593ef7=0x0;_0x593ef7<_0x203cb1['length'];_0x593ef7++){const _0x430b06=_0x203cb1[_0x593ef7],_0x29a7b6=path_1[_0x12681f(0x108)][_0x12681f(0x100)](_0x3790be,_0x430b06),_0x115ad6=fs_1[_0x12681f(0x108)]['statSync'](_0x29a7b6),_0x34ab61=_0x115ad6[_0x12681f(0x10a)](),_0x6d6ce1=_0x115ad6['isDirectory']();_0x34ab61&&_0xd9c475[_0x12681f(0xff)](_0x29a7b6),_0x6d6ce1&&_0x399c8f(_0x29a7b6);}}return _0x399c8f(_0x1970e4),_0xd9c475;});}function getAllRouter(_0x598783){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x1f08d6=yield fileDisplay(_0x598783);return _0x1f08d6;});}exports[a2_0x3fc319(0x108)]=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_0x781490=a3_0x2195;(function(_0x5c54dd,_0xb01f8e){const _0x932ef0=a3_0x2195,_0x32c39b=_0x5c54dd();while(!![]){try{const _0x3d6955=-parseInt(_0x932ef0(0xe6))/0x1*(parseInt(_0x932ef0(0xf3))/0x2)+parseInt(_0x932ef0(0xe8))/0x3*(parseInt(_0x932ef0(0xea))/0x4)+parseInt(_0x932ef0(0xe7))/0x5*(parseInt(_0x932ef0(0xf1))/0x6)+-parseInt(_0x932ef0(0xf5))/0x7+parseInt(_0x932ef0(0xe5))/0x8*(parseInt(_0x932ef0(0xf2))/0x9)+parseInt(_0x932ef0(0xef))/0xa+parseInt(_0x932ef0(0xf4))/0xb*(-parseInt(_0x932ef0(0xe3))/0xc);if(_0x3d6955===_0xb01f8e)break;else _0x32c39b['push'](_0x32c39b['shift']());}catch(_0x13d736){_0x32c39b['push'](_0x32c39b['shift']());}}}(a3_0x55c1,0x2765e));var __importDefault=this&&this[a3_0x781490(0xe9)]||function(_0x4dbcc4){return _0x4dbcc4&&_0x4dbcc4['__esModule']?_0x4dbcc4:{'default':_0x4dbcc4};};Object['defineProperty'](exports,a3_0x781490(0xe4),{'value':!![]});const md5_1=__importDefault(require(a3_0x781490(0xec))),sha1_1=__importDefault(require('sha1')),sha256_1=__importDefault(require('sha256'));function hash(_0x4a6b2f,_0x55cb99){const _0x3c18b3=a3_0x781490;if(_0x55cb99=='sha256')return(0x0,sha256_1['default'])(_0x4a6b2f+(0x0,sha1_1[_0x3c18b3(0xed)])(_0x4a6b2f+_0x3c18b3(0xf0))+(0x0,md5_1[_0x3c18b3(0xed)])(_0x4a6b2f+_0x3c18b3(0xee)));else return _0x55cb99==_0x3c18b3(0xeb)?(0x0,sha1_1['default'])(_0x4a6b2f+(0x0,sha256_1[_0x3c18b3(0xed)])(_0x4a6b2f+_0x3c18b3(0xf0))+(0x0,md5_1[_0x3c18b3(0xed)])(_0x4a6b2f+'MD5加盐')):(0x0,md5_1[_0x3c18b3(0xed)])(_0x4a6b2f+(0x0,sha256_1['default'])(_0x4a6b2f+_0x3c18b3(0xf0))+(0x0,sha1_1[_0x3c18b3(0xed)])(_0x4a6b2f+_0x3c18b3(0xee)));}function a3_0x2195(_0x2fc374,_0xee64b){const _0x55c12e=a3_0x55c1();return a3_0x2195=function(_0x2195a1,_0x56b30d){_0x2195a1=_0x2195a1-0xe3;let _0xf43165=_0x55c12e[_0x2195a1];return _0xf43165;},a3_0x2195(_0x2fc374,_0xee64b);}exports[a3_0x781490(0xed)]=hash;function a3_0x55c1(){const _0x1bd24b=['24vYEClJ','32392cMWXvS','40yssBvD','239139mtWiuL','__importDefault','12mUEjGC','sha1','md5','default','MD5加盐','831830FDbVau','sha1混淆','226110TxOxJf','95607LRfsaJ','16iPVLpa','11daMlFO','763406bqlKAl','1513236TvcAQB','__esModule'];a3_0x55c1=function(){return _0x1bd24b;};return a3_0x55c1();}
@@ -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_0x212cbd=a4_0x5ed3;(function(_0x4fdbb1,_0x39306c){const _0x3bef4c=a4_0x5ed3,_0xa84df6=_0x4fdbb1();while(!![]){try{const _0xd281da=-parseInt(_0x3bef4c(0x16a))/0x1*(-parseInt(_0x3bef4c(0x165))/0x2)+-parseInt(_0x3bef4c(0x16c))/0x3+-parseInt(_0x3bef4c(0x174))/0x4+parseInt(_0x3bef4c(0x172))/0x5+-parseInt(_0x3bef4c(0x16d))/0x6*(-parseInt(_0x3bef4c(0x171))/0x7)+-parseInt(_0x3bef4c(0x173))/0x8+parseInt(_0x3bef4c(0x16e))/0x9;if(_0xd281da===_0x39306c)break;else _0xa84df6['push'](_0xa84df6['shift']());}catch(_0x1d01b9){_0xa84df6['push'](_0xa84df6['shift']());}}}(a4_0x25da,0xbf9c9));function a4_0x5ed3(_0x4e28d8,_0xfd424){const _0x25da9b=a4_0x25da();return a4_0x5ed3=function(_0x5ed3de,_0x581d16){_0x5ed3de=_0x5ed3de-0x165;let _0x49be06=_0x25da9b[_0x5ed3de];return _0x49be06;},a4_0x5ed3(_0x4e28d8,_0xfd424);}var __importDefault=this&&this[a4_0x212cbd(0x170)]||function(_0x34fba0){const _0x2c1496=a4_0x212cbd;return _0x34fba0&&_0x34fba0[_0x2c1496(0x169)]?_0x34fba0:{'default':_0x34fba0};};Object['defineProperty'](exports,a4_0x212cbd(0x169),{'value':!![]});const random_1=__importDefault(require(a4_0x212cbd(0x167))),BaseTime=+new Date('2025-01-01');let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a4_0x212cbd(0x168)])(0x1,0x3);function id(){const _0x5d4ac8=a4_0x212cbd,_0x1e68f1=Math[_0x5d4ac8(0x16f)](process['env'][_0x5d4ac8(0x16b)]?+process[_0x5d4ac8(0x166)][_0x5d4ac8(0x16b)]:(0x0,random_1[_0x5d4ac8(0x168)])(0x0,0x9),0x9);let _0x10fb79=+new Date()-BaseTime;return lastRandomNumberTick=_0x10fb79==lastTimeTick?++lastRandomNumberTick:(0x0,random_1['default'])(0x0,0x3),lastTimeTick=_0x10fb79,+(''+_0x10fb79+_0x1e68f1+lastRandomNumberTick);}function a4_0x25da(){const _0x30bedc=['21HWAaCm','4676795qdgkLU','6262624sxzxhW','5125432qsVayG','1310MOAEeH','env','./random','default','__esModule','86wYMrMO','NODE_APP_INSTANCE','3796461jZdidv','2866026GLYBHk','15208308erLFFp','min','__importDefault'];a4_0x25da=function(){return _0x30bedc;};return a4_0x25da();}exports[a4_0x212cbd(0x168)]=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_0x163065=a5_0x5847;(function(_0x2c39d2,_0xf2ddc4){const _0x2fc918=a5_0x5847,_0x26086e=_0x2c39d2();while(!![]){try{const _0x25dc39=parseInt(_0x2fc918(0x1d7))/0x1*(-parseInt(_0x2fc918(0x1cd))/0x2)+parseInt(_0x2fc918(0x1d2))/0x3*(-parseInt(_0x2fc918(0x1d5))/0x4)+parseInt(_0x2fc918(0x1db))/0x5+parseInt(_0x2fc918(0x1d0))/0x6*(parseInt(_0x2fc918(0x1d3))/0x7)+parseInt(_0x2fc918(0x1ce))/0x8+parseInt(_0x2fc918(0x1d4))/0x9+parseInt(_0x2fc918(0x1d1))/0xa;if(_0x25dc39===_0xf2ddc4)break;else _0x26086e['push'](_0x26086e['shift']());}catch(_0x222c21){_0x26086e['push'](_0x26086e['shift']());}}}(a5_0x3ea2,0xbafde));function a5_0x3ea2(){const _0x6959a4=['1280816fTunuX','5822480BpwwCP','defineProperty','332502vTgjtd','7993840jXSYcs','15JKpHoi','119RJXrHv','4601124NNdnqh','906964yfliHB','__esModule','2FCdfok','random','round','default','999600GKNTlE'];a5_0x3ea2=function(){return _0x6959a4;};return a5_0x3ea2();}function a5_0x5847(_0x215ebd,_0x18a517){const _0x3ea2f2=a5_0x3ea2();return a5_0x5847=function(_0x58476d,_0x13d9c3){_0x58476d=_0x58476d-0x1cd;let _0x31fa74=_0x3ea2f2[_0x58476d];return _0x31fa74;},a5_0x5847(_0x215ebd,_0x18a517);}Object[a5_0x163065(0x1cf)](exports,a5_0x163065(0x1d6),{'value':!![]});const random=(_0x507519,_0x34f43a)=>Math[a5_0x163065(0x1d9)](Math[a5_0x163065(0x1d8)]()*(_0x34f43a-_0x507519))+_0x507519;exports[a5_0x163065(0x1da)]=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_0x5b315c=a6_0x1b04;(function(_0x1ce84b,_0x5ace06){const _0x18898f=a6_0x1b04,_0x2d2f4c=_0x1ce84b();while(!![]){try{const _0x23abc5=parseInt(_0x18898f(0xa9))/0x1+parseInt(_0x18898f(0xab))/0x2+parseInt(_0x18898f(0x8f))/0x3*(parseInt(_0x18898f(0x9a))/0x4)+parseInt(_0x18898f(0x81))/0x5*(-parseInt(_0x18898f(0xa1))/0x6)+-parseInt(_0x18898f(0x9b))/0x7+-parseInt(_0x18898f(0xa8))/0x8*(-parseInt(_0x18898f(0xac))/0x9)+-parseInt(_0x18898f(0x9f))/0xa;if(_0x23abc5===_0x5ace06)break;else _0x2d2f4c['push'](_0x2d2f4c['shift']());}catch(_0x46a415){_0x2d2f4c['push'](_0x2d2f4c['shift']());}}}(a6_0x4c5d,0xd5f27));var __awaiter=this&&this['__awaiter']||function(_0x43435d,_0x42e501,_0x255218,_0x22adc9){function _0xc97936(_0x3da21a){return _0x3da21a instanceof _0x255218?_0x3da21a:new _0x255218(function(_0x2c4335){_0x2c4335(_0x3da21a);});}return new(_0x255218||(_0x255218=Promise))(function(_0x3f19ec,_0x2d5876){const _0x26521b=a6_0x1b04;function _0x52552f(_0x1b4245){try{_0x507ff3(_0x22adc9['next'](_0x1b4245));}catch(_0x1c2dc9){_0x2d5876(_0x1c2dc9);}}function _0x34a94d(_0x183ecb){const _0x57b135=a6_0x1b04;try{_0x507ff3(_0x22adc9[_0x57b135(0x7f)](_0x183ecb));}catch(_0x5f3440){_0x2d5876(_0x5f3440);}}function _0x507ff3(_0x2d2d4d){const _0x18a6d5=a6_0x1b04;_0x2d2d4d[_0x18a6d5(0x86)]?_0x3f19ec(_0x2d2d4d[_0x18a6d5(0x99)]):_0xc97936(_0x2d2d4d['value'])['then'](_0x52552f,_0x34a94d);}_0x507ff3((_0x22adc9=_0x22adc9[_0x26521b(0xa3)](_0x43435d,_0x42e501||[]))[_0x26521b(0x7d)]());});},__importDefault=this&&this[a6_0x5b315c(0x7e)]||function(_0x481988){return _0x481988&&_0x481988['__esModule']?_0x481988:{'default':_0x481988};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x5b315c(0x9d)]=exports[a6_0x5b315c(0xa6)]=exports['hash']=exports[a6_0x5b315c(0x8e)]=exports[a6_0x5b315c(0x92)]=exports[a6_0x5b315c(0xa7)]=exports['mysql']=exports[a6_0x5b315c(0x91)]=exports['id']=exports[a6_0x5b315c(0x88)]=exports[a6_0x5b315c(0x8a)]=void 0x0,exports[a6_0x5b315c(0x82)]=setEnv,exports[a6_0x5b315c(0x85)]=getEnv;const uuid_1=require(a6_0x5b315c(0x88)),md5_1=__importDefault(require(a6_0x5b315c(0x8e)));exports['md5']=md5_1['default'];const sha1_1=__importDefault(require(a6_0x5b315c(0xa7)));exports[a6_0x5b315c(0xa7)]=sha1_1[a6_0x5b315c(0x97)];function a6_0x4c5d(){const _0x19f109=['join','getEnv','done','meta_event','uuid','./start','url','catch','then','mysql','md5','3517284UDPrDs','@fingerprintjs/fingerprintjs','getAllRouter','sha256','js-base64','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','path','js-cookie','default','./server','value','4HtakrD','5548144mgGpCf','map','cookie','./getAllRouter','11478850gHxbVP','node.js','1146BLBOfd','./hash','apply','aHR0cDovL2xvY2FsaG9zdDoxMDg4','undefined','jwt','sha1','24ZCzTjA','81432dSmPnU','decode','900730jnLMgh','3785823iCjldr','hash_key','next','__importDefault','throw','assign','3910RKpgTH','setEnv','hash'];a6_0x4c5d=function(){return _0x19f109;};return a6_0x4c5d();}const sha256_1=__importDefault(require('sha256'));exports[a6_0x5b315c(0x92)]=sha256_1[a6_0x5b315c(0x97)];const start_1=__importDefault(require(a6_0x5b315c(0x89))),hash_1=__importDefault(require(a6_0x5b315c(0xa2)));exports[a6_0x5b315c(0x83)]=hash_1['default'];const path_1=__importDefault(require(a6_0x5b315c(0x95))),fingerprintjs_1=__importDefault(require(a6_0x5b315c(0x90))),js_base64_1=require(a6_0x5b315c(0x93)),js_cookie_1=__importDefault(require(a6_0x5b315c(0x96)));exports[a6_0x5b315c(0x9d)]=js_cookie_1[a6_0x5b315c(0x97)];const isBrowser=typeof window!==a6_0x5b315c(0xa5);let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports[a6_0x5b315c(0x91)]=getAllRouter;let mysql={};exports['mysql']=mysql;let jwt=()=>{};exports[a6_0x5b315c(0xa6)]=jwt;function a6_0x1b04(_0x1a0992,_0x236d20){const _0x4c5d37=a6_0x4c5d();return a6_0x1b04=function(_0x1b04f8,_0x5f39d0){_0x1b04f8=_0x1b04f8-0x7d;let _0x5d50f6=_0x4c5d37[_0x1b04f8];return _0x5d50f6;},a6_0x1b04(_0x1a0992,_0x236d20);}const globalObject=isBrowser?window:global;let metaEvent=Object[a6_0x5b315c(0x80)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a6_0x5b315c(0x87)])||{},{'connectError':![],'isDBDataEmpty':![]});function setEnv(_0x276005,_0x121554){metaEvent[_0x276005]=_0x121554;}function getEnv(_0x1f3922){return metaEvent[_0x1f3922];}let dev=a6_0x5b315c(0xa4),pro=a6_0x5b315c(0x94);exports[a6_0x5b315c(0x8a)]=getEnv('dev')?(0x0,js_base64_1[a6_0x5b315c(0xaa)])(dev):(0x0,js_base64_1[a6_0x5b315c(0xaa)])(pro);if(!isBrowser){exports['id']=id=require('./id')[a6_0x5b315c(0x97)],exports[a6_0x5b315c(0x91)]=getAllRouter=require(a6_0x5b315c(0x9e))['default'],exports[a6_0x5b315c(0x8d)]=mysql=require(a6_0x5b315c(0x98))['mysql'],exports[a6_0x5b315c(0xa6)]=jwt=require('./jwt')['default'];if(!(metaEvent===null||metaEvent===void 0x0?void 0x0:metaEvent['not_update'])){}}let mac=[];((()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const _0x40b07c=a6_0x5b315c;if(!isBrowser){const _0xcb4a40=require(path_1[_0x40b07c(0x97)][_0x40b07c(0x84)](__dirname,'./mac'))[_0x40b07c(0x97)];mac=_0xcb4a40();}else{let _0x4d1cc7=yield fingerprintjs_1[_0x40b07c(0x97)]['load']()[_0x40b07c(0x8c)](_0x41a19f=>_0x41a19f['get']())[_0x40b07c(0x8c)](_0x2399c8=>{const _0x3b098d=_0x2399c8['visitorId'];return _0x3b098d;})[_0x40b07c(0x8b)](()=>'');mac=[_0x4d1cc7];}const _0x34babc=mac['sort']()[_0x40b07c(0x9c)](_0x46378f=>(0x0,sha1_1[_0x40b07c(0x97)])(_0x46378f+'node.js'))[_0x40b07c(0x84)](';'),_0x3d689e=(0x0,sha256_1[_0x40b07c(0x97)])(_0x34babc);globalObject['hash_id']=_0x3d689e,globalObject[_0x40b07c(0xad)]!=(0x0,sha256_1['default'])(_0x3d689e+(0x0,sha1_1[_0x40b07c(0x97)])(_0x40b07c(0xa0)+_0x3d689e))&&(0x0,start_1[_0x40b07c(0x97)])();}))());const uuid=uuid_1['v4'];exports[a6_0x5b315c(0x88)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql,'hash':hash_1[a6_0x5b315c(0x97)],'sha1':sha1_1['default'],'md5':md5_1[a6_0x5b315c(0x97)],'jwt':jwt,'cookie':js_cookie_1[a6_0x5b315c(0x97)]};exports[a6_0x5b315c(0x97)]=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_0x3dbdb7=a7_0x3d07;(function(_0x27f174,_0x3280c0){var _0x16c72f=a7_0x3d07,_0x18bcc6=_0x27f174();while(!![]){try{var _0x3118dd=-parseInt(_0x16c72f(0x9a))/0x1+-parseInt(_0x16c72f(0x9b))/0x2*(parseInt(_0x16c72f(0x93))/0x3)+parseInt(_0x16c72f(0x8c))/0x4*(parseInt(_0x16c72f(0x96))/0x5)+-parseInt(_0x16c72f(0x9f))/0x6+-parseInt(_0x16c72f(0x92))/0x7+-parseInt(_0x16c72f(0xa0))/0x8+parseInt(_0x16c72f(0x97))/0x9;if(_0x3118dd===_0x3280c0)break;else _0x18bcc6['push'](_0x18bcc6['shift']());}catch(_0xd5479c){_0x18bcc6['push'](_0x18bcc6['shift']());}}}(a7_0x5a64,0x86c44));function a7_0x5a64(){var _0x2657e1=['value','key','990XSqMhh','15140619sYMGKN','jwt_key','default','563584fIPQpl','926uGEayj','__importDefault','365d','next','304566UASWAQ','6500496koIIXX','14792mlCSqG','__awaiter','jsonwebtoken','defineProperty','expiresIn','verify','2812495ovMVQw','219SjpVnC'];a7_0x5a64=function(){return _0x2657e1;};return a7_0x5a64();}var __awaiter=this&&this[a7_0x3dbdb7(0x8d)]||function(_0x5e7ce5,_0x57fa5c,_0x561e09,_0x400b91){function _0xa5b03(_0x376c2f){return _0x376c2f instanceof _0x561e09?_0x376c2f:new _0x561e09(function(_0x2038dc){_0x2038dc(_0x376c2f);});}return new(_0x561e09||(_0x561e09=Promise))(function(_0x13d772,_0x3385a0){var _0x1fd639=a7_0x3d07;function _0x1b1d40(_0x5c8f5c){var _0x18071e=a7_0x3d07;try{_0x29a887(_0x400b91[_0x18071e(0x9e)](_0x5c8f5c));}catch(_0x202062){_0x3385a0(_0x202062);}}function _0x2eab12(_0x3db0e4){try{_0x29a887(_0x400b91['throw'](_0x3db0e4));}catch(_0x530687){_0x3385a0(_0x530687);}}function _0x29a887(_0x364fe0){var _0x94a827=a7_0x3d07;_0x364fe0['done']?_0x13d772(_0x364fe0[_0x94a827(0x94)]):_0xa5b03(_0x364fe0['value'])['then'](_0x1b1d40,_0x2eab12);}_0x29a887((_0x400b91=_0x400b91['apply'](_0x5e7ce5,_0x57fa5c||[]))[_0x1fd639(0x9e)]());});},__importDefault=this&&this[a7_0x3dbdb7(0x9c)]||function(_0x4edb54){return _0x4edb54&&_0x4edb54['__esModule']?_0x4edb54:{'default':_0x4edb54};};Object[a7_0x3dbdb7(0x8f)](exports,'__esModule',{'value':!![]});const jsonwebtoken_1=__importDefault(require(a7_0x3dbdb7(0x8e)));function a7_0x3d07(_0xd1d841,_0x2886cd){var _0x5a6459=a7_0x5a64();return a7_0x3d07=function(_0x3d07f8,_0x302400){_0x3d07f8=_0x3d07f8-0x8c;var _0x3ab919=_0x5a6459[_0x3d07f8];return _0x3ab919;},a7_0x3d07(_0xd1d841,_0x2886cd);}function jwt(_0x2494e1){var _0x11e26b=a7_0x3dbdb7;return!global['jwt_key']&&(global[_0x11e26b(0x98)]=_0x2494e1[_0x11e26b(0x95)]),{'sign':_0x14d964=>jsonwebtoken_1[_0x11e26b(0x99)]['sign'](_0x14d964,global[_0x11e26b(0x98)],{'expiresIn':_0x2494e1[_0x11e26b(0x90)]||_0x11e26b(0x9d)}),'verify':function(_0x36baf7){return __awaiter(this,void 0x0,void 0x0,function*(){return new Promise((_0x884092,_0x3d7760)=>{var _0x3fe75e=a7_0x3d07;jsonwebtoken_1['default'][_0x3fe75e(0x91)](_0x36baf7,global['jwt_key'],function(_0x2e866f,_0x3ed491){return __awaiter(this,void 0x0,void 0x0,function*(){_0x2e866f?_0x3d7760():_0x884092(_0x3ed491);});});});});}};}exports['default']=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_0x7d1620=a8_0x2b5d;(function(_0x1fcb7b,_0x4c1ea7){const _0x183eaa=a8_0x2b5d,_0x3f1d01=_0x1fcb7b();while(!![]){try{const _0x15f547=parseInt(_0x183eaa(0x9e))/0x1*(parseInt(_0x183eaa(0xa6))/0x2)+-parseInt(_0x183eaa(0x90))/0x3+-parseInt(_0x183eaa(0x92))/0x4+-parseInt(_0x183eaa(0xab))/0x5*(parseInt(_0x183eaa(0xa5))/0x6)+parseInt(_0x183eaa(0xa2))/0x7*(-parseInt(_0x183eaa(0x99))/0x8)+parseInt(_0x183eaa(0xaa))/0x9+parseInt(_0x183eaa(0xa1))/0xa*(parseInt(_0x183eaa(0x9d))/0xb);if(_0x15f547===_0x4c1ea7)break;else _0x3f1d01['push'](_0x3f1d01['shift']());}catch(_0x187788){_0x3f1d01['push'](_0x3f1d01['shift']());}}}(a8_0x1ff7,0x4ddde));Object['defineProperty'](exports,a8_0x7d1620(0x97),{'value':!![]}),exports['isMac']=isMac,exports[a8_0x7d1620(0x9a)]=formatMac,exports[a8_0x7d1620(0xa3)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x1a51de){const _0x27a223=a8_0x7d1620;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x27a223(0xa4)](_0x1a51de);}function getMac(_0x53853f=a8_0x7d1620(0x95)){const _0x83cfbe=a8_0x7d1620,_0xccab50=(0x0,os_1[_0x83cfbe(0xa7)])();let _0x4ee168=[];for(const _0x15081f of Object[_0x83cfbe(0x93)](_0xccab50)){const _0x370d35=_0x15081f[_0x83cfbe(0x9f)](_0x3ac3cb=>!_0x3ac3cb['internal']&&!isZeroMac(_0x3ac3cb[_0x83cfbe(0xa8)])&&(!_0x3ac3cb[_0x83cfbe(0xac)]||_0x3ac3cb['family']===_0x53853f)&&!isVirtualMac(_0x3ac3cb['mac']));_0x370d35&&_0x4ee168['push'](_0x370d35[_0x83cfbe(0xa8)]);}return[...new Set(_0x4ee168)];}const isValid=_0x129db5=>_0x129db5['internal']===![]&&!isZeroMac(_0x129db5['mac']),virtualMacPrefix=new Set([a8_0x7d1620(0x98),a8_0x7d1620(0x9c),'00:50:56',a8_0x7d1620(0x96),a8_0x7d1620(0xa0),'02:00:4c','00:03:ff',a8_0x7d1620(0xa9),'00:16:3e',a8_0x7d1620(0x9b),'00:15:5d']);function isMac(_0x2b2ccd){const _0x380674=a8_0x7d1620;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x380674(0xa4)](_0x2b2ccd);}function a8_0x1ff7(){const _0x597560=['8YHhkrm','formatMac','08:00:27','00:0c:29','341bYKgpK','562CFWRae','find','00:1c:42','416810HPpuZa','1171667udRUtw','isVirtualMac','test','482916wMJrVP','818ZnKdPl','networkInterfaces','mac','00:0f:4b','1759302arewyu','30koDElV','family','396618KjPOaC','default','2464008zoVARN','values','toLowerCase','IPv4','00:1c:14','__esModule','00:05:69'];a8_0x1ff7=function(){return _0x597560;};return a8_0x1ff7();}function formatMac(_0x123be3){const _0x4cbba5=a8_0x7d1620;return String(_0x123be3)['trim']()[_0x4cbba5(0x94)]()['replace'](/-/g,':');}function a8_0x2b5d(_0x49ad45,_0x4cd39d){const _0x1ff79b=a8_0x1ff7();return a8_0x2b5d=function(_0x2b5d21,_0x36b805){_0x2b5d21=_0x2b5d21-0x90;let _0x16eeca=_0x1ff79b[_0x2b5d21];return _0x16eeca;},a8_0x2b5d(_0x49ad45,_0x4cd39d);}function isVirtualMac(_0x1f1ffb){return isMac(_0x1f1ffb)&&virtualMacPrefix['has'](formatMac(_0x1f1ffb)['slice'](0x0,0x8));}exports[a8_0x7d1620(0x91)]=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;