@nuvin/nuvin-cli 1.19.1 → 1.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AutoUpdater-B3B4RLR4.js +1 -1
- package/dist/UpdateChecker-2LAM3Q56.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-2U3P6AHV.js +1 -0
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-CIGVGDJE.js +1 -1
- package/dist/chunk-M6KACDU7.js +1 -1
- package/dist/chunk-PC75UOLY.js +1 -1
- package/dist/chunk-WIGFOWBJ.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-ZKUW24V3.js +1 -0
- package/dist/mcp-handler-EMT3B64H.js +1 -1
- package/dist/messageProcessor-6LZZDCBX.js +1 -1
- package/dist/profile-handler-YJGREJDI.js +1 -1
- package/dist/useSessionManagement-4KJ55VBF.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-Q5SES4QP.js +0 -1
- package/dist/demo-mode-5LV7UDHX.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x207c3f,_0x4a84d6){const _0x3f0cdd={_0x272b1c:0x248,_0x14bfe4:0x236,_0x6ec9f9:0x226,_0x411ce3:0x1f,_0xb9dc8:0xb,_0x437f28:0x4,_0x3ffb21:0x9,_0xfdb80b:0x10,_0x19af01:0x19,_0x429751:0x241,_0x439104:0x250,_0x463f3b:0xa,_0x2c98ea:0x1c,_0x3ad5a1:0x13,_0x70c6d3:0x8},_0x498ccc={_0x5130ec:0x80},_0xa5fa12={_0x5eced6:0x1bb};function _0x5e08cc(_0x4d017d,_0x305d4c,_0x52f79d,_0x134b9f){return _0x1fe3(_0x134b9f- -_0xa5fa12._0x5eced6,_0x305d4c);}function _0x366125(_0x3ef042,_0x562b6f,_0x379fa7,_0x47a373){return _0x1fe3(_0x562b6f-_0x498ccc._0x5130ec,_0x3ef042);}const _0x2a8f22=_0x207c3f();while(!![]){try{const _0x208bde=parseInt(_0x366125(0x259,0x255,0x257,_0x3f0cdd._0x272b1c))/0x1+-parseInt(_0x366125(0x232,_0x3f0cdd._0x14bfe4,0x226,_0x3f0cdd._0x6ec9f9))/0x2+parseInt(_0x5e08cc(-_0x3f0cdd._0x411ce3,_0x3f0cdd._0xb9dc8,_0x3f0cdd._0x437f28,-0x9))/0x3*(parseInt(_0x5e08cc(0x14,0x1c,_0x3f0cdd._0x3ffb21,_0x3f0cdd._0xfdb80b))/0x4)+-parseInt(_0x5e08cc(_0x3f0cdd._0x3ffb21,0x4,-_0x3f0cdd._0x19af01,-0x8))/0x5*(-parseInt(_0x366125(0x265,0x24f,0x262,_0x3f0cdd._0x429751))/0x6)+parseInt(_0x366125(0x252,0x250,0x250,0x247))/0x7*(parseInt(_0x366125(_0x3f0cdd._0x439104,0x253,0x253,0x25f))/0x8)+-parseInt(_0x5e08cc(0x19,_0x3f0cdd._0x463f3b,0x23,_0x3f0cdd._0x2c98ea))/0x9*(parseInt(_0x5e08cc(0x1f,-0x4,_0x3f0cdd._0x3ad5a1,0xd))/0xa)+-parseInt(_0x5e08cc(-0x1,-0x13,_0x3f0cdd._0x70c6d3,-0x7))/0xb;if(_0x208bde===_0x4a84d6)break;else _0x2a8f22['push'](_0x2a8f22['shift']());}catch(_0x16ee4b){_0x2a8f22['push'](_0x2a8f22['shift']());}}}(_0x35b7,0xaabac));import{exec as _0x5453ac,spawn as _0x26751c}from'child_process';import{promisify as _0x1c751c}from'util';var v=_0x1c751c(_0x5453ac),d=_0x8aed90(0x8e,0x9e,0xb0,0xa8);async function a(_0x48f6fd,_0x46e70d){const _0x1d6c47={_0x19b6cf:0x20f};function _0x330a38(_0x1796c1,_0x241cdc,_0x25d659,_0x4631bb){return _0x8aed90(_0x4631bb,_0x241cdc- -0x2b1,_0x25d659-0x1f3,_0x4631bb-0x19c);}try{let {stdout:_0x310bd8}=await v(_0x48f6fd,{'timeout':_0x46e70d});return _0x310bd8[_0x330a38(-0x208,-_0x1d6c47._0x19b6cf,-0x213,-0x1fd)]();}catch{return null;}}function _0x1fe3(_0x4e27b1,_0x23a630){_0x4e27b1=_0x4e27b1-0x1b2;const _0x35b7ea=_0x35b7();let _0x1fe3f4=_0x35b7ea[_0x4e27b1];if(_0x1fe3['NNPHYm']===undefined){var _0x4387da=function(_0x4c7b26){const _0x375b83='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5453ac='',_0x26751c='';for(let _0x1c751c=0x0,_0x48f6fd,_0x46e70d,_0x310bd8=0x0;_0x46e70d=_0x4c7b26['charAt'](_0x310bd8++);~_0x46e70d&&(_0x48f6fd=_0x1c751c%0x4?_0x48f6fd*0x40+_0x46e70d:_0x46e70d,_0x1c751c++%0x4)?_0x5453ac+=String['fromCharCode'](0xff&_0x48f6fd>>(-0x2*_0x1c751c&0x6)):0x0){_0x46e70d=_0x375b83['indexOf'](_0x46e70d);}for(let _0x326247=0x0,_0x4a6fea=_0x5453ac['length'];_0x326247<_0x4a6fea;_0x326247++){_0x26751c+='%'+('00'+_0x5453ac['charCodeAt'](_0x326247)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x26751c);};_0x1fe3['nHtFIs']=_0x4387da,_0x1fe3['GiEjFB']={},_0x1fe3['NNPHYm']=!![];}const _0x360f33=_0x35b7ea[0x0],_0x3bb785=_0x4e27b1+_0x360f33,_0x254c01=_0x1fe3['GiEjFB'][_0x3bb785];return!_0x254c01?(_0x1fe3f4=_0x1fe3['nHtFIs'](_0x1fe3f4),_0x1fe3['GiEjFB'][_0x3bb785]=_0x1fe3f4):_0x1fe3f4=_0x254c01,_0x1fe3f4;}var h;function _0x8aed90(_0x4d454c,_0x40230e,_0xe8d46b,_0x2db255){const _0x2776d8={_0x1f881b:0x120};return _0x1fe3(_0x40230e- -_0x2776d8._0x1f881b,_0x4d454c);}function _0x35b7(){const _0x5d9580=['AgfZvxbKyxrL','zxjYB3i','qgXHDgvZDa','qg51DMLUl251DMLUlwnSAq','BNbT','vxbKyxrLigzHAwXLzdOG','EwfYBIbNBg9IywWGywrKia','DhjPBq','Aw5JBhvKzxm','D2HPy2GGBNv2Aw4','l25WBs8','lY55yxjUlW','B25vCgrHDgvbDMfPBgfIBgu','mti4nJu4meviqvb2CG','l3LHCM4V','Cg5WBsbHzgqGlwCG','ody1ntjqwg5Uuvm','lY5WBNbTlW','ywXS','B25vCgrHDgvtDgfYDgvK','mJGYtuXHBNHo','mZG4mdfAtxPIz2C','l3bUCg0V','Dw5Yzwy','mtGXnLDSA1bjEq','EwfYBG','mta2mJuWmgvLDeftCa','B25vCgrHDgvdB21WBgv0zwq','mZzRvMnWCLu','BNbTigLUC3rHBgWGlwCG','vxbKyxrLihrVihy','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','y2HLy2TbBMrvCgrHDgu','lI9vCgrHDgvdAgvJA2vYltjmqu0Zutu2lMPZ','mtvACgjJENq','mtq0oduWqwTTvuX0','mtu3otm1mdnIt3vhzgy','B25fCNjVCG','mJi4mty1nNn5u2nWzW','vxbKyxrLigzHAwXLzc4GugXLyxnLihrYEsbTyw51ywXSEs4','Cg5WBq','Bgf0zxn0','y2HLy2TgB3jvCgrHDgu'];_0x35b7=function(){return _0x5d9580;};return _0x35b7();}(_0x326247=>{const _0x148c05={_0x557f71:0x1ec,_0x24ba3c:0x13b,_0x32a2c7:0xa2},_0x3a9bb2={_0x2b43b2:0x42d,_0x40fc4f:0x41c,_0x12fb82:0x403,_0x582a6a:0x401,_0x3f27f4:0x2fc,_0x504a58:0x2f8,_0x536750:0x2dc,_0x33b5a1:0x2f0,_0x4c1d68:0x2ee,_0x3fbda6:0x2ea,_0x2938c6:0x2e9,_0x39120b:0x417,_0x4575fa:0x403,_0x4a249b:0x40a,_0x8b536:0x41b,_0x3e8994:0x30d,_0x7e2c59:0x303,_0x21420e:0x2ee,_0x42f698:0x2fa,_0x8a3ce4:0x302,_0x29bf75:0x2e6,_0x16cb66:0x305,_0x302132:0x2f4},_0x3fa1ef={_0x3406fb:0x2,_0x5e97f3:0x3,_0x5d8501:0x29b,_0x2edaf1:0x272},_0x50de4f={_0x4655cc:0x73,_0x54a1bb:0x78,_0x521de1:0x16f,_0x5934b0:0x176,_0x43bc1a:0x169,_0x612363:0x164,_0x1a9a2a:0x167,_0x52b356:0x14a,_0x1cc3e5:0x16d,_0x5b350e:0x15f,_0x2e7f32:0x17e,_0x17d4e0:0x143,_0x59863b:0x156},_0x20ff84={_0x5d2edf:0x235},_0x4bc40b={_0x2ca209:0x1a4,_0x129ec3:0x192,_0x2edb60:0x1b8,_0x257916:0x1a5,_0x120ae4:0x1ab,_0x43941b:0x1a9,_0x2d0ec2:0x1bd,_0x892462:0x1b1,_0x558da3:0x1c3,_0x30eb84:0x1b0,_0x1c956a:0x1bc,_0x528487:0x1b1,_0x3830c5:0x1a5,_0x4a4945:0x1b1,_0x229416:0x1ba,_0x4bedbc:0x1bf,_0x126f88:0x1a2,_0x54dd15:0x1b4,_0x58fadb:0x191,_0x464ba1:0x1a2,_0xce82d3:0x181,_0x3a0602:0x194,_0x712b83:0x18a,_0x33e26e:0x1a5,_0x463ef8:0x1a7,_0x1fecdb:0x1a1,_0x89b705:0x1a3,_0x14db3c:0x1b5,_0x90ba9f:0x1ad,_0x423ab4:0x1a8,_0x34a78a:0x1af,_0xf422ba:0x1a0,_0x3f238a:0x1b6,_0x1b6f0e:0x192,_0x3c28b3:0x1d5,_0x332d43:0x1ad,_0x1595f2:0x1c2,_0x596120:0x1a5,_0x106816:0x1a0,_0x4de484:0x1c0,_0xf2097e:0x1ca,_0x387265:0x1b6,_0x49c74f:0x1ba,_0x558c40:0x1a3,_0x665c12:0x195,_0xc178de:0x1a0,_0x504cc8:0x19b,_0x53ce89:0x181,_0x4912bf:0x183,_0x53cf11:0x18e,_0x5b9898:0x19d,_0x1e1d68:0x1a9,_0x5141a2:0x1b3,_0x49e9e6:0x1ba};async function _0x4a6fea(){const _0x110fca={_0xba22c7:0xf};let _0x3811e9=await a(_0x5056b7(-0x1aa,-0x1ac,-_0x4bc40b._0x2ca209,-_0x4bc40b._0x129ec3),0xbb8);function _0x5407be(_0x2b842a,_0x318baa,_0x5260ed,_0x19c720){return _0x1fe3(_0x19c720- -_0x110fca._0xba22c7,_0x318baa);}if(_0x3811e9){let _0x4ebda1=await a('readlink\x20\x22'+_0x3811e9+'\x22',0xbb8);if(_0x4ebda1){if(_0x4ebda1[_0x5056b7(-0x1b9,-_0x4bc40b._0x2edb60,-_0x4bc40b._0x257916,-_0x4bc40b._0x120ae4)]('/pnpm/')||_0x4ebda1['includes'](_0x5407be(0x1c6,0x1b3,_0x4bc40b._0x43941b,_0x4bc40b._0x2d0ec2)))return _0x5056b7(-_0x4bc40b._0x892462,-_0x4bc40b._0x558da3,-_0x4bc40b._0x30eb84,-_0x4bc40b._0x1c956a);if(_0x4ebda1[_0x5056b7(-_0x4bc40b._0x528487,-0x195,-_0x4bc40b._0x3830c5,-_0x4bc40b._0x4a4945)](_0x5407be(0x1bf,_0x4bc40b._0x257916,0x1a7,_0x4bc40b._0x229416))||_0x4ebda1[_0x5407be(0x1b0,_0x4bc40b._0x4bedbc,_0x4bc40b._0x126f88,_0x4bc40b._0x54dd15)](_0x5056b7(-_0x4bc40b._0x58fadb,-_0x4bc40b._0x129ec3,-_0x4bc40b._0x464ba1,-0x191)))return _0x5056b7(-_0x4bc40b._0xce82d3,-0x184,-_0x4bc40b._0x3a0602,-_0x4bc40b._0x712b83);if(_0x4ebda1[_0x5056b7(-0x1ae,-0x1b5,-_0x4bc40b._0x33e26e,-_0x4bc40b._0x463ef8)](_0x5056b7(-_0x4bc40b._0x1fecdb,-0x19f,-_0x4bc40b._0x89b705,-_0x4bc40b._0x14db3c))||_0x4ebda1[_0x5056b7(-_0x4bc40b._0x90ba9f,-_0x4bc40b._0x423ab4,-0x1a5,-_0x4bc40b._0x34a78a)]('node_modules'))return _0x5056b7(-0x1a7,-_0x4bc40b._0xf422ba,-0x1a9,-0x1b4);}else{if(_0x3811e9[_0x5056b7(-_0x4bc40b._0x3f238a,-_0x4bc40b._0x1b6f0e,-_0x4bc40b._0x33e26e,-0x1a8)](_0x5407be(_0x4bc40b._0x54dd15,_0x4bc40b._0x3c28b3,_0x4bc40b._0x332d43,_0x4bc40b._0x1595f2))||_0x3811e9[_0x5056b7(-_0x4bc40b._0x58fadb,-0x1b9,-_0x4bc40b._0x596120,-0x193)](_0x5407be(0x1b8,0x1b1,0x1a9,_0x4bc40b._0x2d0ec2)))return _0x5056b7(-0x1a7,-_0x4bc40b._0x558da3,-0x1b0,-_0x4bc40b._0x106816);if(_0x3811e9['includes'](_0x5407be(_0x4bc40b._0x4de484,_0x4bc40b._0xf2097e,_0x4bc40b._0x387265,_0x4bc40b._0x49c74f))||_0x3811e9[_0x5407be(_0x4bc40b._0x558c40,0x1be,0x1b1,0x1b4)]('/.yarn/'))return _0x5056b7(-0x181,-0x192,-0x194,-_0x4bc40b._0x665c12);}}function _0x5056b7(_0xf174b4,_0x365bc3,_0x47a241,_0x1de0af){return _0x1fe3(_0x47a241- -0x368,_0x1de0af);}let [_0x4eb2df,_0xca3d9,_0x2b3e10]=await Promise[_0x5056b7(-_0x4bc40b._0x1b6f0e,-_0x4bc40b._0xc178de,-_0x4bc40b._0x504cc8,-0x1a1)]([a('npm\x20list\x20-g\x20@nuvin/nuvin-cli\x20--depth=0\x202>/dev/null',0x1388),a(_0x5056b7(-_0x4bc40b._0x53ce89,-_0x4bc40b._0x4912bf,-_0x4bc40b._0x53cf11,-0x196),0x1388),a('yarn\x20global\x20list\x20--pattern\x20@nuvin/nuvin-cli\x202>/dev/null',0x1388)]);return _0x4eb2df?.['includes'](_0x5407be(0x1b7,_0x4bc40b._0x5b9898,0x1b5,0x1af))?_0x5056b7(-0x1ab,-_0x4bc40b._0x892462,-_0x4bc40b._0x1e1d68,-0x1b1):_0xca3d9?.['includes'](_0x5407be(0x1c1,_0x4bc40b._0x120ae4,_0x4bc40b._0x5141a2,_0x4bc40b._0x34a78a))?_0x5056b7(-0x1ab,-_0x4bc40b._0x49e9e6,-_0x4bc40b._0x30eb84,-0x1a6):_0x2b3e10?.['includes']('@nuvin/nuvin-cli')?_0x5056b7(-0x18c,-_0x4bc40b._0x2ca209,-_0x4bc40b._0x3a0602,-0x199):'npm';}function _0x5822d4(_0x4ba1dd,_0x53f55f){function _0x218e7d(_0x2f42e1,_0x1e9fbf,_0x1534c8,_0x1f30cc){return _0x1fe3(_0x1e9fbf- -0x32e,_0x1534c8);}function _0x163ca7(_0x47458c,_0x2897d9,_0x54d75c,_0x25a2a2){return _0x1fe3(_0x54d75c- -_0x20ff84._0x5d2edf,_0x2897d9);}let _0x731c3=_0x53f55f?d+'@'+_0x53f55f:d+_0x163ca7(-0x7a,-_0x50de4f._0x4655cc,-_0x50de4f._0x54a1bb,-0x89);switch(_0x4ba1dd){case _0x218e7d(-_0x50de4f._0x521de1,-_0x50de4f._0x5934b0,-0x187,-0x16d):return _0x218e7d(-_0x50de4f._0x43bc1a,-_0x50de4f._0x612363,-0x179,-_0x50de4f._0x1a9a2a)+_0x731c3;case _0x218e7d(-0x14d,-0x15a,-_0x50de4f._0x52b356,-_0x50de4f._0x1cc3e5):return _0x218e7d(-0x17c,-0x16d,-_0x50de4f._0x5b350e,-_0x50de4f._0x2e7f32)+_0x731c3;default:return _0x218e7d(-_0x50de4f._0x17d4e0,-_0x50de4f._0x59863b,-_0x50de4f._0x5b350e,-0x161)+_0x731c3;}}async function _0x4b62e4(_0x36994a){const _0x1af085={_0x445e10:0x58},_0x3612c2={_0x55dc81:0x417,_0xeef55d:0x1a6,_0x42aab3:0x12d},_0x22cbb6={_0x5ef8e0:0xac,_0x1705b4:0xb7,_0x4fe69d:0xa7,_0x5a224b:0x3b2,_0x13e7a9:0x3b9,_0x5a4b5e:0x3c4,_0x179302:0xa9,_0x306b75:0x97},_0xc913d7={_0x39a508:0xdf},_0x5d2823={_0x29c00a:0x3c,_0x5be0d3:0x110};let {UpdateChecker:_0x419338}=await import(_0x37ac55(0x425,_0x3a9bb2._0x2b43b2,0x414,_0x3a9bb2._0x40fc4f));function _0x37ac55(_0x25704e,_0x1a3ea9,_0xb4104,_0x49f8c0){return _0x1fe3(_0x25704e-0x249,_0x1a3ea9);}function _0x3f413f(_0x2334af,_0x4bc53f,_0x5074fd,_0x3fe261){return _0x1fe3(_0x5074fd-0x135,_0x3fe261);}try{let _0x436f88=await _0x419338[_0x37ac55(_0x3a9bb2._0x12fb82,0x3f3,0x3f5,_0x3a9bb2._0x582a6a)]({'onUpdateAvailable':_0x36994a?.[_0x3f413f(0x30f,0x2fb,_0x3a9bb2._0x3f27f4,_0x3a9bb2._0x504a58)],'onError':_0x36994a?.[_0x3f413f(0x2db,_0x3a9bb2._0x536750,0x2ea,_0x3a9bb2._0x33b5a1)]});if(!_0x436f88[_0x3f413f(_0x3a9bb2._0x4c1d68,_0x3a9bb2._0x3fbda6,0x2f0,_0x3a9bb2._0x2938c6)])return!0x1;_0x36994a?.[_0x37ac55(_0x3a9bb2._0x39120b,_0x3a9bb2._0x4575fa,_0x3a9bb2._0x4a249b,_0x3a9bb2._0x8b536)]&&_0x36994a[_0x3f413f(0x2f8,_0x3a9bb2._0x3e8994,_0x3a9bb2._0x7e2c59,0x313)]();let _0x2ef07f=await _0x4a6fea(),_0x504cdf=_0x5822d4(_0x2ef07f,_0x436f88[_0x3f413f(0x2d9,_0x3a9bb2._0x3fbda6,_0x3a9bb2._0x21420e,_0x3a9bb2._0x42f698)]),_0x56d995=_0x26751c('sh',['-c',_0x504cdf],{'detached':!0x0,'stdio':'ignore'});return _0x56d995['on']('exit',_0x4ced26=>{function _0x1ac826(_0x320a8d,_0x591ac6,_0x572971,_0x4e41b0){return _0x37ac55(_0x4e41b0- -_0x5d2823._0x29c00a,_0x572971,_0x572971-_0x5d2823._0x5be0d3,_0x4e41b0-0x13b);}function _0x207e33(_0x575f13,_0x2d369d,_0x343038,_0x4910c6){return _0x37ac55(_0x575f13- -0x376,_0x343038,_0x343038-_0xc913d7._0x39a508,_0x4910c6-0x5d);}if(_0x36994a?.[_0x1ac826(0x3d9,0x3ea,0x3ce,0x3e3)]){let _0x4d72bd=_0x4ced26===0x0,_0x27a5df=_0x4d72bd?_0x207e33(_0x22cbb6._0x5ef8e0,0x9a,_0x22cbb6._0x1705b4,_0x22cbb6._0x4fe69d)+_0x436f88[_0x1ac826(_0x22cbb6._0x5a224b,_0x22cbb6._0x13e7a9,0x3b2,0x3c6)]+'\x20completed\x20successfully!':_0x1ac826(0x3cb,0x3ce,0x3c7,_0x22cbb6._0x5a4b5e);_0x36994a[_0x207e33(_0x22cbb6._0x179302,0xa3,_0x22cbb6._0x306b75,0x9e)](_0x4d72bd,_0x27a5df);}}),_0x56d995['on'](_0x3f413f(_0x3a9bb2._0x8a3ce4,0x303,0x2f1,_0x3a9bb2._0x29bf75),_0x1119a5=>{function _0x868756(_0x44b6a2,_0x50516b,_0x3c70a3,_0x54492f){return _0x37ac55(_0x54492f- -_0x3612c2._0x55dc81,_0x3c70a3,_0x3c70a3-_0x3612c2._0xeef55d,_0x54492f-_0x3612c2._0x42aab3);}function _0x58d961(_0x118992,_0x462f3e,_0x47623b,_0x228a1a){return _0x37ac55(_0x462f3e- -0x188,_0x118992,_0x47623b-_0x1af085._0x445e10,_0x228a1a-0x199);}_0x36994a?.[_0x868756(-_0x3fa1ef._0x3406fb,-_0x3fa1ef._0x5e97f3,-0x8,0x8)]&&_0x36994a[_0x58d961(_0x3fa1ef._0x5d8501,0x297,0x29e,0x2a5)](!0x1,_0x58d961(0x293,0x281,0x27f,_0x3fa1ef._0x2edaf1)+_0x1119a5['message']);}),_0x56d995[_0x3f413f(_0x3a9bb2._0x16cb66,0x301,0x307,0x313)](),!0x0;}catch(_0x4e8ebc){return _0x36994a?.[_0x3f413f(0x2df,_0x3a9bb2._0x302132,_0x3a9bb2._0x3fbda6,0x2f7)]&&_0x36994a['onError'](_0x4e8ebc instanceof Error?_0x4e8ebc:new Error(String(_0x4e8ebc))),!0x1;}}function _0xa9976d(_0x1acae9,_0x1e722c,_0x4186e3,_0x516f4f){return _0x8aed90(_0x4186e3,_0x1acae9- -_0x148c05._0x557f71,_0x4186e3-_0x148c05._0x24ba3c,_0x516f4f-_0x148c05._0x32a2c7);}_0x326247[_0xa9976d(-0x131,-0x126,-0x132,-0x121)]=_0x4b62e4;})(h||={});export{h as AutoUpdater};
|
|
1
|
+
(function(_0x27deed,_0x1c006d){const _0xc4c325={_0x1da252:0x13d,_0x3f2207:0x134,_0x5bddea:0x12b,_0x6dc89e:0x1d3,_0x13b7b7:0x1de,_0x13ba70:0x1df,_0x137ad4:0x128,_0x207cb9:0x124,_0x1c084f:0x136,_0x35e184:0x1f5,_0x2f9e14:0x1f6,_0xe0ee9a:0x1e4,_0x4541fa:0x11b,_0x1ee009:0x127,_0x2a0a88:0x12a,_0x1fbfa5:0x1e1},_0x526c14={_0x33e591:0x3e1},_0x10c650={_0xb1af4e:0x337},_0x40c031=_0x27deed();function _0x28f893(_0x3d32ef,_0x31c67c,_0x243a8c,_0x3ceb45){return _0x51bd(_0x3ceb45- -_0x10c650._0xb1af4e,_0x3d32ef);}function _0x1ba194(_0x27b824,_0x403803,_0xfc0cd,_0x407ea1){return _0x51bd(_0x407ea1- -_0x526c14._0x33e591,_0xfc0cd);}while(!![]){try{const _0x1daec5=parseInt(_0x28f893(-_0xc4c325._0x1da252,-0x119,-_0xc4c325._0x3f2207,-_0xc4c325._0x5bddea))/0x1+-parseInt(_0x1ba194(-0x1be,-0x1e0,-0x1e1,-0x1d0))/0x2+parseInt(_0x1ba194(-_0xc4c325._0x6dc89e,-0x1d8,-_0xc4c325._0x13b7b7,-_0xc4c325._0x13ba70))/0x3+parseInt(_0x28f893(-_0xc4c325._0x137ad4,-0x138,-_0xc4c325._0x207cb9,-_0xc4c325._0x1c084f))/0x4+parseInt(_0x1ba194(-_0xc4c325._0x35e184,-0x1e6,-_0xc4c325._0x2f9e14,-_0xc4c325._0xe0ee9a))/0x5*(-parseInt(_0x28f893(-0x116,-_0xc4c325._0x4541fa,-0x136,-_0xc4c325._0x1ee009))/0x6)+parseInt(_0x28f893(-0x142,-_0xc4c325._0x2a0a88,-0x12c,-0x131))/0x7+-parseInt(_0x1ba194(-0x1e7,-0x1ea,-_0xc4c325._0x1fbfa5,-0x1dc))/0x8;if(_0x1daec5===_0x1c006d)break;else _0x40c031['push'](_0x40c031['shift']());}catch(_0x74091e){_0x40c031['push'](_0x40c031['shift']());}}}(_0x1077,0x438f8));import{exec as _0x4a302a,spawn as _0x461dea}from'child_process';import{promisify as _0x24a604}from'util';function _0x1077(){const _0x5e0347=['ndi2mdy5rfDwzLb1','l25WBs8','EwfYBIbNBg9IywWGywrKia','lY5WBNbTlW','EwfYBG','BM9Kzv9TB2r1BgvZ','nduWotC2rvnHs3v3','Cg5WBsbHzgqGlwCG','Aw5JBhvKzxm','BNbTigXPC3qGlwCGqg51DMLUl251DMLUlwnSAsaTlwrLChrOptaGmJ4Vzgv2l251BgW','mta4tKr2rhfn','ndm1mJHVwKHNz3e','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','vxbKyxrLigzHAwXLzdOG','l3bUCg0V','BwvZC2fNzq','B25vCgrHDgvdB21WBgv0zwq','Cg5WBq','Dw5Yzwy','BNbT','Bgf0zxn0','qg51DMLUl251DMLUlwnSAq','D2HPy2GGBNv2Aw4','B25vCgrHDgvtDgfYDgvK','qgXHDgvZDa','B25fCNjVCG','lY55yxjUlW','nJC5odv0sePdAxG','CMvHzgXPBMSGiG','l3LHCM4V','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','mtu0mZm2ngLVCM9TEG','mteYoty3n0z2sNrAyW','y2HLy2TbBMrvCgrHDgu','B25vCgrHDgvbDMfPBgfIBgu','ntG0oda0mhDvtNPkDq'];_0x1077=function(){return _0x5e0347;};return _0x1077();}var v=_0x24a604(_0x4a302a),d='@nuvin/nuvin-cli';async function a(_0x5e7fa3,_0x2a11f3){try{let {stdout:_0x35545f}=await v(_0x5e7fa3,{'timeout':_0x2a11f3});return _0x35545f['trim']();}catch{return null;}}function _0x51bd(_0x14c909,_0x51dc8f){_0x14c909=_0x14c909-0x1f1;const _0x107795=_0x1077();let _0x51bde9=_0x107795[_0x14c909];if(_0x51bd['DZsBbO']===undefined){var _0x223c93=function(_0x34e92b){const _0x432294='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a302a='',_0x461dea='';for(let _0x24a604=0x0,_0x5e7fa3,_0x2a11f3,_0x35545f=0x0;_0x2a11f3=_0x34e92b['charAt'](_0x35545f++);~_0x2a11f3&&(_0x5e7fa3=_0x24a604%0x4?_0x5e7fa3*0x40+_0x2a11f3:_0x2a11f3,_0x24a604++%0x4)?_0x4a302a+=String['fromCharCode'](0xff&_0x5e7fa3>>(-0x2*_0x24a604&0x6)):0x0){_0x2a11f3=_0x432294['indexOf'](_0x2a11f3);}for(let _0x4d7a9f=0x0,_0x3bc076=_0x4a302a['length'];_0x4d7a9f<_0x3bc076;_0x4d7a9f++){_0x461dea+='%'+('00'+_0x4a302a['charCodeAt'](_0x4d7a9f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x461dea);};_0x51bd['ROnSfa']=_0x223c93,_0x51bd['QyRQQB']={},_0x51bd['DZsBbO']=!![];}const _0x4e9863=_0x107795[0x0],_0x4be23b=_0x14c909+_0x4e9863,_0x485228=_0x51bd['QyRQQB'][_0x4be23b];return!_0x485228?(_0x51bde9=_0x51bd['ROnSfa'](_0x51bde9),_0x51bd['QyRQQB'][_0x4be23b]=_0x51bde9):_0x51bde9=_0x485228,_0x51bde9;}var h;(_0x4d7a9f=>{const _0x4bf8cd={_0x5dd009:0x252,_0xc8f71f:0x251,_0x5b3ec5:0x231},_0x2c07e6={_0x8e217d:0x428,_0x280e0b:0x41a,_0x289b00:0x425,_0x904dbd:0x108,_0x24f32b:0x11e,_0x265d41:0x10d,_0x2d1cf9:0xfa,_0xa4617:0x118,_0x70eae8:0x102,_0x46bd95:0x111,_0x3928fb:0x105},_0x314ca2={_0x5aa632:0x1f6,_0x463a49:0x1e8,_0xfa67ae:0x205,_0x362a14:0x48e,_0x5a4e22:0x4a2,_0x1815da:0x49f,_0x18ad0e:0x4a4,_0x1cf3b5:0x49e},_0x25883f={_0x31d93c:0x313,_0x45d311:0x2f4,_0x3f51a8:0x2f7,_0x56d0f5:0x309,_0x4cff7e:0x2f7,_0x16107f:0x324,_0x46dbae:0x326,_0x24048d:0x310},_0xa166da={_0x3e9963:0x1f0,_0x5f3812:0x41c,_0x252cf5:0x413,_0x46beba:0x41b,_0x398f30:0x419,_0x566fc3:0x428,_0x57bc93:0x41a},_0x46ea21={_0x2197e3:0x3d9},_0x2da2c4={_0xaa6e06:0x1c4,_0x481e08:0x1c0,_0x292d56:0x1b0,_0xf48c47:0x1e3,_0x1ead86:0x1f4,_0x34e8c9:0x204,_0x3a49cc:0x1a9,_0x3b07be:0x1b1,_0x589376:0x1c7,_0x4c0115:0x1c5,_0x4eb415:0x1c6,_0x267b8a:0x19e,_0x517bff:0x1aa,_0x182b03:0x1b4,_0x5ad09f:0x1b8,_0x234ffa:0x1ee,_0x52c052:0x1d3,_0x35b52f:0x1e9,_0x207a30:0x1ea,_0x503ece:0x1a0,_0x590f81:0x1bf,_0x1e22b8:0x1bd,_0x2fa460:0x1a3,_0x2fc452:0x1ac,_0x9b6dd1:0x1da,_0x1d9c42:0x1de,_0x3946ba:0x203,_0x15113a:0x1f6,_0x53df21:0x205,_0x90202b:0x1c5,_0x2d4122:0x1bb,_0x15aab1:0x1c8,_0x223f91:0x1aa,_0x5d05d8:0x1e1,_0x1dca03:0x1ef,_0x5155f8:0x1fd,_0x307762:0x1a4,_0x2ccf9c:0x1a9,_0x4a8ab5:0x1b7,_0x49d8a5:0x1be,_0x3666c4:0x1ba,_0x50674e:0x1ec,_0xeef1d5:0x1d9,_0x1dfcbb:0x1f3};function _0x4fa2aa(_0x25d8ee,_0x1cab79,_0x3b0b5f,_0x22c2b5){return _0x51bd(_0x25d8ee-0x40,_0x3b0b5f);}async function _0x3bc076(){let _0x4a85a4=await a(_0x5a6b8b(-0x1c7,-_0x2da2c4._0xaa6e06,-_0x2da2c4._0x481e08,-_0x2da2c4._0x292d56),0xbb8);function _0x5a6b8b(_0x561240,_0x4533b9,_0x12a890,_0x393b96){return _0x51bd(_0x12a890- -0x3b8,_0x4533b9);}if(_0x4a85a4){let _0x1a3a08=await a(_0xd83fb6(0x1e8,_0x2da2c4._0xf48c47,0x1e0,0x1da)+_0x4a85a4+'\x22',0xbb8);if(_0x1a3a08){if(_0x1a3a08[_0xd83fb6(0x1fc,0x1f3,_0x2da2c4._0x1ead86,0x203)](_0xd83fb6(_0x2da2c4._0x34e8c9,0x1f9,0x209,0x1fe))||_0x1a3a08[_0x5a6b8b(-_0x2da2c4._0x3a49cc,-0x1a5,-0x1aa,-_0x2da2c4._0x3b07be)]('/.pnpm/'))return _0x5a6b8b(-_0x2da2c4._0x589376,-0x1b3,-_0x2da2c4._0x4c0115,-_0x2da2c4._0x4eb415);if(_0x1a3a08[_0x5a6b8b(-0x1a4,-_0x2da2c4._0x267b8a,-_0x2da2c4._0x517bff,-_0x2da2c4._0x182b03)]('/yarn/')||_0x1a3a08[_0x5a6b8b(-_0x2da2c4._0x5ad09f,-0x1a4,-0x1aa,-0x1ad)](_0xd83fb6(_0x2da2c4._0x234ffa,0x1e1,_0x2da2c4._0x52c052,0x1d3)))return _0xd83fb6(_0x2da2c4._0x35b52f,0x1ef,_0x2da2c4._0x207a30,_0x2da2c4._0x234ffa);if(_0x1a3a08[_0x5a6b8b(-0x19b,-0x1bb,-_0x2da2c4._0x517bff,-_0x2da2c4._0x503ece)](_0x5a6b8b(-_0x2da2c4._0x590f81,-0x1ae,-0x1b1,-_0x2da2c4._0x1e22b8))||_0x1a3a08['includes'](_0x5a6b8b(-_0x2da2c4._0x2fa460,-0x1a0,-0x1ad,-_0x2da2c4._0x2fc452)))return _0xd83fb6(_0x2da2c4._0x9b6dd1,0x1da,_0x2da2c4._0x1d9c42,0x1e3);}else{if(_0x4a85a4[_0xd83fb6(_0x2da2c4._0x3946ba,0x1f3,_0x2da2c4._0x15113a,_0x2da2c4._0x53df21)]('/pnpm/')||_0x4a85a4['includes'](_0x5a6b8b(-0x1b2,-0x1b2,-0x1af,-0x1a6)))return _0x5a6b8b(-0x1b3,-0x1cb,-_0x2da2c4._0x90202b,-0x1c9);if(_0x4a85a4[_0x5a6b8b(-0x19c,-0x1bb,-0x1aa,-_0x2da2c4._0x2d4122)](_0x5a6b8b(-0x1ad,-0x1c9,-0x1b9,-_0x2da2c4._0x15aab1))||_0x4a85a4[_0x5a6b8b(-0x1b2,-0x19d,-_0x2da2c4._0x223f91,-0x1ad)](_0xd83fb6(0x1de,_0x2da2c4._0x5d05d8,0x1f2,0x1d9)))return _0xd83fb6(0x1df,_0x2da2c4._0x1dca03,0x1fb,_0x2da2c4._0x5155f8);}}let [_0x49fe4f,_0x56322d,_0x2f1843]=await Promise['all']([a(_0x5a6b8b(-_0x2da2c4._0x307762,-0x1a8,-_0x2da2c4._0x2ccf9c,-_0x2da2c4._0x4a8ab5),0x1388),a(_0x5a6b8b(-_0x2da2c4._0x49d8a5,-0x1b1,-0x1b8,-_0x2da2c4._0x3666c4),0x1388),a('yarn\x20global\x20list\x20--pattern\x20@nuvin/nuvin-cli\x202>/dev/null',0x1388)]);function _0xd83fb6(_0x19cc10,_0x44cb05,_0x2926fa,_0x30eb1c){return _0x51bd(_0x44cb05- -0x1b,_0x2926fa);}return _0x49fe4f?.['includes'](_0xd83fb6(_0x2da2c4._0x50674e,0x1dc,_0x2da2c4._0xeef1d5,0x1e6))?'npm':_0x56322d?.[_0xd83fb6(0x1ff,_0x2da2c4._0x1dfcbb,_0x2da2c4._0x207a30,0x1e7)]('@nuvin/nuvin-cli')?'pnpm':_0x2f1843?.['includes']('@nuvin/nuvin-cli')?'yarn':'npm';}function _0x4b9d5d(_0x117f7d,_0x438c14){function _0xb190f(_0x34872c,_0x438d66,_0x5b68c6,_0x3a2c4a){return _0x51bd(_0x5b68c6- -_0x46ea21._0x2197e3,_0x438d66);}let _0x182132=_0x438c14?d+'@'+_0x438c14:d+_0xb190f(-_0xa166da._0x3e9963,-0x1cd,-0x1df,-0x1e5);function _0x45cc29(_0x55c595,_0x32ccb4,_0x5d2fa5,_0x2bc260){return _0x51bd(_0x5d2fa5-0x212,_0x55c595);}switch(_0x117f7d){case'pnpm':return _0x45cc29(0x412,0x419,0x41f,_0xa166da._0x5f3812)+_0x182132;case _0x45cc29(_0xa166da._0x252cf5,_0xa166da._0x46beba,0x41c,_0xa166da._0x398f30):return _0x45cc29(0x424,_0xa166da._0x566fc3,_0xa166da._0x57bc93,0x41c)+_0x182132;default:return'npm\x20install\x20-g\x20'+_0x182132;}}async function _0x2f21db(_0x1bce2a){const _0x49227c={_0x251de6:0x58},_0xb88262={_0x54ca71:0x3,_0x39fdc7:0x1aa};let {UpdateChecker:_0x4b207a}=await import('./UpdateChecker-2LAM3Q56.js');function _0x1ff30d(_0x2cb9da,_0x180351,_0x4d99bb,_0x374092){return _0x51bd(_0x2cb9da-0x232,_0x4d99bb);}function _0x25c294(_0x1bd3f5,_0x56927b,_0x43f79f,_0x251b91){return _0x51bd(_0x1bd3f5- -0x306,_0x251b91);}try{let _0x133af8=await _0x4b207a['checkForUpdate']({'onUpdateAvailable':_0x1bce2a?.[_0x1ff30d(0x436,0x428,0x448,_0x2c07e6._0x8e217d)],'onError':_0x1bce2a?.[_0x1ff30d(0x42d,0x423,0x426,0x420)]});if(!_0x133af8['hasUpdate'])return!0x1;_0x1bce2a?.[_0x1ff30d(0x42b,0x439,0x427,_0x2c07e6._0x280e0b)]&&_0x1bce2a[_0x1ff30d(0x42b,0x41a,_0x2c07e6._0x289b00,0x437)]();let _0x431ccd=await _0x3bc076(),_0x59ff52=_0x4b9d5d(_0x431ccd,_0x133af8['latest']),_0x13069f=_0x461dea('sh',['-c',_0x59ff52],{'detached':!0x0,'stdio':'ignore'});return _0x13069f['on']('exit',_0x3f70ea=>{const _0x4785bd={_0x2fdd5a:0x10e,_0x2b35b4:0x1bb,_0x33f263:0x197};function _0x2c655b(_0x335c7d,_0x3a89b8,_0x4c1e82,_0x344d1a){return _0x1ff30d(_0x4c1e82- -0x11f,_0x3a89b8-0x1d9,_0x3a89b8,_0x344d1a-0xbe);}function _0x143d2a(_0x238bd8,_0x538121,_0x1f400a,_0x5d47e1){return _0x1ff30d(_0x538121- -_0x4785bd._0x2fdd5a,_0x538121-_0x4785bd._0x2b35b4,_0x238bd8,_0x5d47e1-_0x4785bd._0x33f263);}if(_0x1bce2a?.[_0x2c655b(_0x25883f._0x31d93c,0x30e,0x305,_0x25883f._0x45d311)]){let _0x334b22=_0x3f70ea===0x0,_0x505477=_0x334b22?'Update\x20to\x20v'+_0x133af8[_0x2c655b(_0x25883f._0x3f51a8,0x312,_0x25883f._0x56d0f5,_0x25883f._0x4cff7e)]+_0x143d2a(_0x25883f._0x16107f,0x336,_0x25883f._0x46dbae,0x344):'Update\x20failed.\x20Please\x20try\x20manually.';_0x1bce2a[_0x143d2a(0x311,0x316,_0x25883f._0x24048d,0x326)](_0x334b22,_0x505477);}}),_0x13069f['on']('error',_0x4f00e0=>{function _0x429c4f(_0xb58a2b,_0x2a1e9d,_0x37c895,_0xdf3b6){return _0x25c294(_0xdf3b6-0x5b3,_0x2a1e9d-_0xb88262._0x54ca71,_0x37c895-_0xb88262._0x39fdc7,_0x2a1e9d);}function _0xd8b508(_0x10f611,_0x215792,_0xa3c3f9,_0x2999bc){return _0x25c294(_0x10f611- -0xe2,_0x215792-_0x49227c._0x251de6,_0xa3c3f9-0x1d2,_0x215792);}_0x1bce2a?.[_0xd8b508(-_0x314ca2._0x5aa632,-_0x314ca2._0x463a49,-_0x314ca2._0xfa67ae,-0x1ea)]&&_0x1bce2a[_0x429c4f(_0x314ca2._0x362a14,_0x314ca2._0x5a4e22,0x4ad,_0x314ca2._0x1815da)](!0x1,_0x429c4f(0x4b7,0x4ca,0x4bc,0x4c0)+_0x4f00e0[_0x429c4f(0x49c,0x49a,_0x314ca2._0x18ad0e,_0x314ca2._0x1cf3b5)]);}),_0x13069f[_0x25c294(-0x112,-_0x2c07e6._0x904dbd,-0x101,-_0x2c07e6._0x24f32b)](),!0x0;}catch(_0xc65473){return _0x1bce2a?.[_0x25c294(-0x10b,-_0x2c07e6._0x265d41,-_0x2c07e6._0x2d1cf9,-_0x2c07e6._0xa4617)]&&_0x1bce2a[_0x25c294(-0x10b,-_0x2c07e6._0x70eae8,-_0x2c07e6._0x46bd95,-_0x2c07e6._0x3928fb)](_0xc65473 instanceof Error?_0xc65473:new Error(String(_0xc65473))),!0x1;}}_0x4d7a9f[_0x4fa2aa(0x243,_0x4bf8cd._0x5dd009,_0x4bf8cd._0xc8f71f,_0x4bf8cd._0x5b3ec5)]=_0x2f21db;})(h||={});export{h as AutoUpdater};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5235(){const _0xf1975=['BgvUz3rO','CMvXDwvZDa','B25vCgrHDgvbDMfPBgfIBgu','qg51DMLUl251DMLUlwnSAq','zw5K','CMvWBgfJzq','yxbWBgLJyxrPB24VANnVBG','ntmYmtKZnNfizNb6rG','DMvYC2LVBG','Aw5JBhvKzxm','C3bSAxq','ntmZndnlD01ky24','B25fCNjVCG','mti3ntKWnvDyzMXAsa','ngPTA01YBa','DgLTzw91Da','y2HLy2TgB3jvCgrHDgu','nJC1odG0A3fez09f','C3rHDhvZq29Kzq','m3P1rwjxtq','BwfW','zgvZDhjVEq','zxjYB3i','mZuXmdqXmZv6shn0DeO','CMvNAxn0CNKUBNbTANmUB3jN','CgfYC2u','nJa0nJjfBNLxCvm','mti3mtGXnfHwDfLjAq','zgf0yq','mta5mhDbyKLrvG','mZiYwwTSs3vw'];_0x5235=function(){return _0xf1975;};return _0x5235();}(function(_0x5034b2,_0x5be66d){const _0x5f19f2={_0x296ff1:0x3b0,_0x1b3141:0x3ad,_0x476a18:0x3a3,_0x14eba2:0x119,_0x43289f:0x11c,_0x222598:0x140,_0x7f982e:0x131,_0x369bab:0x3a9,_0x21609e:0x391,_0x40ab11:0x10f,_0x4a56b8:0x11d,_0x156ca3:0x117,_0x4ec54f:0x125,_0x3aa2b9:0x129,_0x3b05b8:0x123,_0x14b691:0x11c,_0x479576:0x116,_0x510ea2:0x10f,_0x44a671:0x108},_0xa3c3ef={_0x5c6da8:0x56},_0xe04186={_0x5c470b:0x2d4};function _0x5ccb22(_0x339632,_0x35f9b4,_0x496e47,_0x251748){return _0x4951(_0x339632-_0xe04186._0x5c470b,_0x496e47);}const _0x29e833=_0x5034b2();function _0x513610(_0x5d68e5,_0x114a02,_0x2517a8,_0x11dea9){return _0x4951(_0x114a02-_0xa3c3ef._0x5c6da8,_0x2517a8);}while(!![]){try{const _0x502568=-parseInt(_0x5ccb22(0x3ad,_0x5f19f2._0x296ff1,_0x5f19f2._0x1b3141,_0x5f19f2._0x476a18))/0x1+parseInt(_0x513610(0x120,0x11a,_0x5f19f2._0x14eba2,_0x5f19f2._0x43289f))/0x2*(-parseInt(_0x513610(_0x5f19f2._0x222598,_0x5f19f2._0x7f982e,0x139,0x124))/0x3)+parseInt(_0x5ccb22(0x3aa,0x39f,0x3a7,0x3a7))/0x4*(parseInt(_0x5ccb22(_0x5f19f2._0x369bab,0x3ab,0x3b7,_0x5f19f2._0x1b3141))/0x5)+-parseInt(_0x5ccb22(0x397,0x394,0x38a,_0x5f19f2._0x21609e))/0x6*(parseInt(_0x513610(_0x5f19f2._0x40ab11,_0x5f19f2._0x4a56b8,0x117,0x10f))/0x7)+-parseInt(_0x513610(_0x5f19f2._0x156ca3,_0x5f19f2._0x4ec54f,0x134,0x128))/0x8+-parseInt(_0x513610(0x128,_0x5f19f2._0x3aa2b9,0x11a,_0x5f19f2._0x3b05b8))/0x9*(parseInt(_0x513610(0x113,_0x5f19f2._0x14b691,0x114,0x11f))/0xa)+parseInt(_0x513610(0x122,_0x5f19f2._0x479576,_0x5f19f2._0x510ea2,_0x5f19f2._0x44a671))/0xb;if(_0x502568===_0x5be66d)break;else _0x29e833['push'](_0x29e833['shift']());}catch(_0x506ea5){_0x29e833['push'](_0x29e833['shift']());}}}(_0x5235,0x57da8));import{a as _0x1ff72e}from'./chunk-AJHDLTY3.js';function _0xacf43d(_0x5a9062,_0x1dcb23,_0x14f86e,_0x3bc6a3){return _0x4951(_0x1dcb23- -0x1f3,_0x14f86e);}import _0x161fdc from'https';function _0x1a7d61(_0x30e2f7,_0x5101f6,_0x447a80,_0x4b7dcc){const _0x4629b3={_0x3de777:0x289};return _0x4951(_0x30e2f7- -_0x4629b3._0x3de777,_0x447a80);}var d=_0xacf43d(-0x12c,-0x132,-0x123,-0x128),m=_0x1a7d61(-0x1be,-0x1b8,-0x1c2,-0x1b7),f=0x1388,h;function _0x4951(_0x23fd1d,_0x41297b){_0x23fd1d=_0x23fd1d-0xbf;const _0x5235ab=_0x5235();let _0x49511d=_0x5235ab[_0x23fd1d];if(_0x4951['rxoIXh']===undefined){var _0x55eee6=function(_0xb9bc72){const _0x444235='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ff72e='',_0x161fdc='';for(let _0x1f7aa5=0x0,_0x24eb42,_0x1c04f9,_0x173789=0x0;_0x1c04f9=_0xb9bc72['charAt'](_0x173789++);~_0x1c04f9&&(_0x24eb42=_0x1f7aa5%0x4?_0x24eb42*0x40+_0x1c04f9:_0x1c04f9,_0x1f7aa5++%0x4)?_0x1ff72e+=String['fromCharCode'](0xff&_0x24eb42>>(-0x2*_0x1f7aa5&0x6)):0x0){_0x1c04f9=_0x444235['indexOf'](_0x1c04f9);}for(let _0x31fbb5=0x0,_0x2d5e4c=_0x1ff72e['length'];_0x31fbb5<_0x2d5e4c;_0x31fbb5++){_0x161fdc+='%'+('00'+_0x1ff72e['charCodeAt'](_0x31fbb5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x161fdc);};_0x4951['OWRGld']=_0x55eee6,_0x4951['gRcraD']={},_0x4951['rxoIXh']=!![];}const _0x2f7a05=_0x5235ab[0x0],_0x1aa5c4=_0x23fd1d+_0x2f7a05,_0x2b7c84=_0x4951['gRcraD'][_0x1aa5c4];return!_0x2b7c84?(_0x49511d=_0x4951['OWRGld'](_0x49511d),_0x4951['gRcraD'][_0x1aa5c4]=_0x49511d):_0x49511d=_0x2b7c84,_0x49511d;}(_0x1f7aa5=>{const _0x54f094={_0x490248:0x15d,_0x5245ab:0x157},_0x4e7c38={_0x359b95:0x2cf,_0x257c72:0x2bc,_0x55be0:0x2be,_0x2ca50e:0x2c7,_0x4bb9c0:0x202,_0x2088e3:0x1f7,_0x2515a4:0x2df,_0x8b65c2:0x1ec,_0x9794cb:0x1e2,_0x5129ab:0x1f0},_0x2be652={_0x46117f:0x286,_0xd27f3f:0x288,_0x1c38ed:0x273,_0x5abac8:0xf2,_0x3b31e2:0x26b,_0x4c8344:0x285,_0x563174:0x283},_0x43519e={_0x5be663:0x11b,_0x3f03f0:0x128,_0x596af0:0x330,_0x30b0cb:0x137,_0x247eae:0x129,_0x5e6442:0x11f},_0x11102f={_0x201880:0x5a};function _0x436d80(_0x298c32,_0x295779,_0x10d5d4,_0x547c11){return _0x1a7d61(_0x295779-_0x11102f._0x201880,_0x295779-0x159,_0x298c32,_0x547c11-0xa0);}async function _0x24eb42(_0x31fbb5){let _0x2d5e4c=_0x1ff72e();function _0x245e33(_0xfe6fb,_0x184e0f,_0x453001,_0x9d8b73){return _0x4951(_0x184e0f-0x55,_0x9d8b73);}function _0x2fec96(_0x2460b2,_0x11ee90,_0x5008f2,_0x558962){return _0x4951(_0x11ee90-0x25c,_0x5008f2);}try{let _0x574ff9=await _0x1c04f9();if(_0x574ff9[_0x245e33(_0x43519e._0x5be663,0x126,0x11d,_0x43519e._0x3f03f0)]('-'))return{'current':_0x2d5e4c,'latest':_0x574ff9,'hasUpdate':!0x1};let _0x4e9e74=_0x173789(_0x2d5e4c,_0x574ff9)<0x0,_0x11d04b={'current':_0x2d5e4c,'latest':_0x574ff9,'hasUpdate':_0x4e9e74};return _0x4e9e74&&_0x31fbb5?.['onUpdateAvailable']&&_0x31fbb5[_0x2fec96(0x32e,0x326,_0x43519e._0x596af0,0x324)](_0x11d04b),_0x11d04b;}catch(_0x57e98e){return _0x31fbb5?.[_0x245e33(_0x43519e._0x30b0cb,_0x43519e._0x247eae,0x11e,_0x43519e._0x5e6442)]&&_0x31fbb5['onError'](_0x57e98e instanceof Error?_0x57e98e:new Error(String(_0x57e98e))),{'current':_0x2d5e4c,'latest':_0x2d5e4c,'hasUpdate':!0x1};}}_0x1f7aa5[_0x436d80(-_0x54f094._0x490248,-_0x54f094._0x5245ab,-0x149,-0x14a)]=_0x24eb42;function _0x1c04f9(){const _0x519c56={_0x1100f4:0x1ac,_0x50fa14:0x1a4,_0x224a41:0x1a0},_0x331d49={_0xe9a12d:0x29};return new Promise((_0x554278,_0x383ae1)=>{const _0x1467b9={_0x51c3cf:0x455,_0x1ba6f3:0x46a},_0x4b5bdc={_0x400f9c:0xc4,_0x2912dd:0x35c},_0x2f064a={_0x28c628:0x304,_0x3bcfa4:0x2ef,_0xb5d9:0x2fe,_0x28dad7:0x154,_0x2d102e:0x156,_0x3c651c:0x167},_0x1ee252={_0x12918d:0xa9,_0x56645c:0x20e};function _0x584e2e(_0x223847,_0x289d7f,_0x32b50a,_0x487bbd){return _0x4951(_0x487bbd-0x1ac,_0x289d7f);}function _0x10c692(_0x3bf22d,_0x58a2fd,_0x43b575,_0x28e975){return _0x4951(_0x28e975-_0x331d49._0xe9a12d,_0x43b575);}let _0x5ee433={'hostname':d,'path':'/'+encodeURIComponent(m)+'/latest','method':'GET','headers':{'Accept':_0x584e2e(_0x2be652._0x46117f,_0x2be652._0xd27f3f,_0x2be652._0x1c38ed,0x27a)},'timeout':f},_0x28cb5e=_0x161fdc[_0x10c692(0xf1,0xf0,0xf4,_0x2be652._0x5abac8)](_0x5ee433,_0x387ba1=>{const _0x107f97={_0x5061d2:0x10,_0x29f18f:0x99,_0x48827c:0x295};function _0x483482(_0x839962,_0x330379,_0x41c4ef,_0x1d7546){return _0x584e2e(_0x839962-_0x1ee252._0x12918d,_0x41c4ef,_0x41c4ef-0x94,_0x1d7546-_0x1ee252._0x56645c);}function _0x1bc180(_0x1dc050,_0x227804,_0x2dc312,_0x1cf9e6){return _0x10c692(_0x1dc050-_0x107f97._0x5061d2,_0x227804-_0x107f97._0x29f18f,_0x227804,_0x1cf9e6- -_0x107f97._0x48827c);}let _0x3420fe='';_0x387ba1['on'](_0x483482(0x470,0x471,0x472,0x47f),_0xcd2933=>{_0x3420fe+=_0xcd2933;}),_0x387ba1['on'](_0x1bc180(-0x1af,-_0x519c56._0x1100f4,-_0x519c56._0x50fa14,-_0x519c56._0x224a41),()=>{const _0x543ff2={_0x52c7f9:0x5},_0x3ae8eb={_0x2f4954:0xdb};function _0x1f4a19(_0x387cb6,_0x23d986,_0x11eb69,_0x484764){return _0x1bc180(_0x387cb6-_0x3ae8eb._0x2f4954,_0x387cb6,_0x11eb69-0x140,_0x11eb69- -0x16c);}function _0x240aac(_0x691b65,_0x22515a,_0x48dcbc,_0x41a5f6){return _0x1bc180(_0x691b65-0xf8,_0x41a5f6,_0x48dcbc-_0x543ff2._0x52c7f9,_0x22515a-0x2fe);}try{if(_0x387ba1[_0x1f4a19(-_0x2f064a._0x28c628,-_0x2f064a._0x3bcfa4,-_0x2f064a._0xb5d9,-0x306)]===0xc8){let _0x41d174=JSON[_0x240aac(0x144,_0x2f064a._0x28dad7,0x15d,0x147)](_0x3420fe);_0x554278(_0x41d174[_0x240aac(0x16d,0x162,_0x2f064a._0x2d102e,_0x2f064a._0x3c651c)]);}else _0x383ae1(new Error('HTTP\x20'+_0x387ba1[_0x1f4a19(-0x302,-0x2f9,-0x2fe,-0x300)]));}catch(_0x18ac98){_0x383ae1(_0x18ac98);}});});_0x28cb5e['on'](_0x584e2e(0x273,0x264,0x274,_0x2be652._0x3b31e2),_0x383ae1),_0x28cb5e['on'](_0x584e2e(_0x2be652._0x4c8344,0x274,0x279,_0x2be652._0x563174),()=>{function _0x1bd57c(_0x1325d3,_0x5d02cb,_0x52d2cc,_0x4c7b36){return _0x10c692(_0x1325d3-0x9b,_0x5d02cb-_0x4b5bdc._0x400f9c,_0x4c7b36,_0x1325d3-_0x4b5bdc._0x2912dd);}_0x28cb5e[_0x1bd57c(0x462,_0x1467b9._0x51c3cf,0x463,_0x1467b9._0x1ba6f3)](),_0x383ae1(new Error('Request\x20timeout'));}),_0x28cb5e['end']();});}function _0x173789(_0x5a9dbb,_0x40ea5f){const _0x35bf80={_0x4420b5:0x353,_0x1ef3ce:0x179},_0xb403b6={_0x4610d9:0x3f};let _0x4d4e7e=_0x510607=>_0x510607[_0x4ce99e(0x1f1,0x1fd,0x1ee,0x1e5)](/^v/,'')[_0x4ce99e(0x1f6,0x1fc,0x1fc,0x1f1)]('-')[0x0],_0x35954c=_0x4d4e7e(_0x5a9dbb)[_0xe419ae(-0x2c6,-_0x4e7c38._0x359b95,-0x2bd,-0x2cd)]('.')[_0xe419ae(-_0x4e7c38._0x257c72,-0x2c0,-0x2b2,-0x2cc)](Number),_0x230e20=_0x4d4e7e(_0x40ea5f)[_0xe419ae(-0x2c6,-0x2ce,-_0x4e7c38._0x55be0,-_0x4e7c38._0x2ca50e)]('.')[_0x4ce99e(0x200,_0x4e7c38._0x4bb9c0,0x1f1,_0x4e7c38._0x2088e3)](Number);for(let _0x5512cf=0x0;_0x5512cf<Math['max'](_0x35954c[_0xe419ae(-0x2d0,-0x2cb,-_0x4e7c38._0x2515a4,-0x2cf)],_0x230e20[_0x4ce99e(_0x4e7c38._0x8b65c2,_0x4e7c38._0x9794cb,_0x4e7c38._0x5129ab,0x1dc)]);_0x5512cf++){let _0x3fd92b=_0x35954c[_0x5512cf]||0x0,_0x1e3e51=_0x230e20[_0x5512cf]||0x0;if(_0x3fd92b>_0x1e3e51)return 0x1;if(_0x3fd92b<_0x1e3e51)return-0x1;}function _0xe419ae(_0x321bad,_0x3cece9,_0x4a9f7b,_0x248215){return _0x436d80(_0x4a9f7b,_0x321bad- -0x169,_0x4a9f7b-0x2,_0x248215-_0xb403b6._0x4610d9);}function _0x4ce99e(_0x2698a0,_0x14d2a5,_0x3f8ad2,_0x2088f1){return _0x436d80(_0x14d2a5,_0x2698a0-_0x35bf80._0x4420b5,_0x3f8ad2-_0x35bf80._0x1ef3ce,_0x2088f1-0x1cf);}return 0x0;}})(h||={});export{h as UpdateChecker};
|
package/dist/VERSION
CHANGED