@nuvin/nuvin-cli 1.9.3 → 1.10.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.
- package/dist/AutoUpdater-RY55SRHZ.js +1 -1
- package/dist/UpdateChecker-2LAM3Q56.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-BJASH6JU.js +1 -1
- package/dist/chunk-CVZ34Z6X.js +1 -0
- package/dist/chunk-IBBR3QGZ.js +1 -0
- package/dist/chunk-NWZGLSYF.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-MW54IF33.js +1 -0
- package/dist/messageProcessor-6VTRO5TD.js +1 -1
- package/dist/profile-handler-Q2IML5ME.js +1 -1
- package/dist/useSessionManagement-HOAUUUWR.js +1 -0
- package/package.json +2 -2
- package/dist/chunk-LVUEHBHE.js +0 -1
- package/dist/chunk-XPU55FDM.js +0 -1
- package/dist/demo-mode-QC6RZX7G.js +0 -1
- package/dist/useSessionManagement-PNTXHKVN.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1c4c6d,_0x4c3746){const _0x46662d={_0x479f95:0x3d,_0x365c21:0x27,_0x14d20b:0x12,_0x5b9d3c:0x3e,_0x541af4:0x48,_0x287353:0x1e,_0x1958f4:0x2a,_0x821306:0x43,_0x10cdc2:0x39,_0x1903ea:0x13,_0x46e649:0x13,_0x499bbb:0x35,_0x10add1:0x46,_0x839423:0x37,_0x4054ea:0x2d,_0x58f1bb:0x30},_0x1dbbe4=_0x1c4c6d();function _0x3756cf(_0x57e219,_0x2dff80,_0x19d339,_0x11570c){return _0x6355(_0x57e219- -0x158,_0x2dff80);}function _0x4f6c6a(_0x48ea11,_0x10aa75,_0xfb77e0,_0x3e025d){return _0x6355(_0x10aa75- -0x15b,_0x3e025d);}while(!![]){try{const _0x3ef8f9=parseInt(_0x4f6c6a(-_0x46662d._0x479f95,-_0x46662d._0x365c21,-0x35,-0x3f))/0x1*(-parseInt(_0x4f6c6a(-0x8,-0x18,-_0x46662d._0x365c21,-_0x46662d._0x14d20b))/0x2)+-parseInt(_0x4f6c6a(-0x57,-0x44,-_0x46662d._0x5b9d3c,-_0x46662d._0x541af4))/0x3+parseInt(_0x4f6c6a(-_0x46662d._0x287353,-_0x46662d._0x1958f4,-0x2b,-_0x46662d._0x821306))/0x4+-parseInt(_0x4f6c6a(-0x28,-0x29,-0x17,-0x13))/0x5+-parseInt(_0x3756cf(-0x3e,-0x3a,-_0x46662d._0x10cdc2,-0x36))/0x6*(-parseInt(_0x3756cf(-0x1b,-_0x46662d._0x1903ea,-_0x46662d._0x46e649,-0x15))/0x7)+parseInt(_0x4f6c6a(-0x39,-_0x46662d._0x499bbb,-0x1c,-_0x46662d._0x10add1))/0x8*(-parseInt(_0x4f6c6a(-_0x46662d._0x839423,-0x3f,-_0x46662d._0x4054ea,-0x58))/0x9)+parseInt(_0x3756cf(-0x2b,-0x41,-_0x46662d._0x58f1bb,-0x37))/0xa;if(_0x3ef8f9===_0x4c3746)break;else _0x1dbbe4['push'](_0x1dbbe4['shift']());}catch(_0x36df2d){_0x1dbbe4['push'](_0x1dbbe4['shift']());}}}(_0x5d8b,0xd4698));import{exec as _0x1286af}from'child_process';import{promisify as _0x28bd6d}from'util';import{platform as _0xb7d98f}from'os';function _0x6355(_0x5035bc,_0x445697){const _0x5d8b1a=_0x5d8b();return _0x6355=function(_0x63558f,_0x2f0749){_0x63558f=_0x63558f-0x115;let _0x147028=_0x5d8b1a[_0x63558f];if(_0x6355['fQSrYF']===undefined){var _0x31dd70=function(_0x1286af){const _0x28bd6d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xb7d98f='',_0x47d0be='';for(let _0x2a6c45=0x0,_0x57c26e,_0x4dedf2,_0x171b0f=0x0;_0x4dedf2=_0x1286af['charAt'](_0x171b0f++);~_0x4dedf2&&(_0x57c26e=_0x2a6c45%0x4?_0x57c26e*0x40+_0x4dedf2:_0x4dedf2,_0x2a6c45++%0x4)?_0xb7d98f+=String['fromCharCode'](0xff&_0x57c26e>>(-0x2*_0x2a6c45&0x6)):0x0){_0x4dedf2=_0x28bd6d['indexOf'](_0x4dedf2);}for(let _0x4ba899=0x0,_0xb00968=_0xb7d98f['length'];_0x4ba899<_0xb00968;_0x4ba899++){_0x47d0be+='%'+('00'+_0xb7d98f['charCodeAt'](_0x4ba899)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x47d0be);};_0x6355['upNWNX']=_0x31dd70,_0x5035bc=arguments,_0x6355['fQSrYF']=!![];}const _0x37db65=_0x5d8b1a[0x0],_0x2266ed=_0x63558f+_0x37db65,_0x296088=_0x5035bc[_0x2266ed];return!_0x296088?(_0x147028=_0x6355['upNWNX'](_0x147028),_0x5035bc[_0x2266ed]=_0x147028):_0x147028=_0x296088,_0x147028;},_0x6355(_0x5035bc,_0x445697);}import{readFileSync as _0x47d0be,unlinkSync as _0x2a6c45}from'fs';import{tmpdir as _0x57c26e}from'os';import{join as _0x4dedf2}from'path';var a=_0x28bd6d(_0x1286af);async function I(){const _0x206a2d={_0x25adfe:0x2c3,_0x1a625f:0x2cb,_0x5693dd:0x2cf,_0x2646f7:0x304,_0x4de602:0x30d,_0x50c57d:0x2f8,_0x456c55:0x2e0,_0x1106d2:0x2ef,_0x33669a:0x2e3,_0x304ffb:0x2d4,_0x411fbe:0x2da,_0x470ffc:0x30a,_0x56acfb:0x30f,_0x1df5fe:0x2c2,_0x3cb256:0x2f8,_0x46560f:0x2fe,_0x4ec0e4:0x306,_0x52fc3d:0x2c9,_0x317cfb:0x2cc,_0x15ca25:0x2d4,_0x512fd9:0x2be,_0x33164c:0x2fa,_0x5ea069:0x2ea,_0x554da7:0x2d9,_0x55e857:0x2e6,_0xc1fc02:0x2d7,_0x2b8411:0x2f3,_0x230bd3:0x2e2,_0x41e9d6:0x2e5,_0x4d1380:0x2ad,_0x2415da:0x309,_0x44a261:0x30b,_0x369a2a:0x2c7,_0x48f70b:0x2ef,_0x5d1bd7:0x2d7,_0x3ab583:0x2de,_0x341f46:0x2e0,_0x4e11c3:0x2d2,_0x1770ee:0x2ec,_0x331ccd:0x2e3},_0x4152da={_0x53840a:0x1a2},_0x1fdf69={_0x452945:0x1c0};function _0x50de50(_0x456920,_0x37a232,_0x1bd7c4,_0x597cc6){return _0x6355(_0x37a232-_0x1fdf69._0x452945,_0x456920);}function _0x1f753e(_0x1f2802,_0x443eff,_0x35410e,_0x136a39){return _0x6355(_0x136a39-_0x4152da._0x53840a,_0x443eff);}try{let _0x171b0f=_0xb7d98f();if(_0x171b0f===_0x1f753e(0x2d1,_0x206a2d._0x25adfe,_0x206a2d._0x1a625f,0x2b7)){let {stdout:_0x4ba899}=await a(_0x1f753e(_0x206a2d._0x5693dd,0x2b7,_0x206a2d._0x25adfe,0x2b8));return _0x4ba899[_0x50de50(0x2e7,0x2f8,0x312,_0x206a2d._0x2646f7)]('«class\x20PNGf»')||_0x4ba899[_0x50de50(_0x206a2d._0x4de602,_0x206a2d._0x50c57d,0x307,0x2ed)]('«class\x20TIFF»')||_0x4ba899[_0x50de50(0x2f7,0x2f8,0x309,_0x206a2d._0x456c55)]('«class\x20JPEG»')||_0x4ba899[_0x50de50(0x2f3,_0x206a2d._0x50c57d,0x2f5,0x303)](_0x50de50(_0x206a2d._0x1106d2,_0x206a2d._0x33669a,_0x206a2d._0x304ffb,_0x206a2d._0x411fbe))||_0x4ba899[_0x50de50(_0x206a2d._0x470ffc,0x2f8,0x2f8,_0x206a2d._0x56acfb)]('«class\x20BMPf»')||_0x4ba899[_0x1f753e(_0x206a2d._0x1df5fe,0x2e3,0x2c4,0x2da)]('«class\x20HEIF»')||_0x4ba899[_0x50de50(0x301,_0x206a2d._0x3cb256,_0x206a2d._0x46560f,_0x206a2d._0x4ec0e4)](_0x50de50(0x2dd,0x2eb,0x301,0x2eb));}else{if(_0x171b0f===_0x50de50(_0x206a2d._0x304ffb,0x2e1,0x2f7,_0x206a2d._0x52fc3d)){let {stdout:_0xb00968}=await a(_0x1f753e(_0x206a2d._0x317cfb,_0x206a2d._0x15ca25,_0x206a2d._0x512fd9,0x2ca));return _0xb00968[_0x50de50(0x2f3,0x2f8,0x30f,_0x206a2d._0x33164c)](_0x50de50(_0x206a2d._0x5ea069,0x2f6,0x2fe,0x2e7))||_0xb00968['includes'](_0x1f753e(_0x206a2d._0x554da7,0x2bd,_0x206a2d._0x55e857,_0x206a2d._0xc1fc02))||_0xb00968['includes'](_0x1f753e(0x2c9,_0x206a2d._0x2b8411,_0x206a2d._0x50c57d,_0x206a2d._0x230bd3))||_0xb00968[_0x50de50(_0x206a2d._0x41e9d6,_0x206a2d._0x50c57d,0x2de,0x30d)](_0x1f753e(0x2a6,_0x206a2d._0x4d1380,0x2c5,0x2bd))||_0xb00968[_0x50de50(_0x206a2d._0x2415da,0x2f8,0x2f6,_0x206a2d._0x44a261)]('image/tiff')||_0xb00968[_0x1f753e(_0x206a2d._0x369a2a,0x2c9,_0x206a2d._0x48f70b,0x2da)]('image/webp');}else{if(_0x171b0f===_0x50de50(_0x206a2d._0x5d1bd7,0x2e2,_0x206a2d._0x3ab583,0x2c9))try{let {stdout:_0x49731a}=await a(_0x50de50(0x2ea,_0x206a2d._0x341f46,_0x206a2d._0x4e11c3,0x2d7));return _0x49731a['trim']()===_0x1f753e(0x2c9,_0x206a2d._0x1770ee,0x2f1,_0x206a2d._0x331ccd);}catch{return!0x1;}}}return!0x1;}catch{return!0x1;}}async function S(){const _0x3971a0={_0x53622a:0xea,_0x3952d9:0xc3,_0x17a24d:0xc5,_0x59fbdd:0xc0,_0x43ed0f:0xaf,_0x39795f:0xc6,_0x511880:0xbc,_0x159bf9:0x150,_0x5302ce:0x145,_0x9ca467:0x13b,_0x3f351a:0x12c,_0xf2d076:0x131,_0x50f38c:0x148},_0x20c302={_0x2032ec:0x1e8};function _0x33820f(_0x3012be,_0x3a4193,_0x3d00c5,_0x2b4a43){return _0x6355(_0x3d00c5- -_0x20c302._0x2032ec,_0x3012be);}function _0x4adad3(_0x521e40,_0x1b6de6,_0x350750,_0x30426f){return _0x6355(_0x350750- -0x278,_0x1b6de6);}try{let _0x30cefb=_0xb7d98f();return _0x30cefb===_0x33820f(-_0x3971a0._0x53622a,-0xbf,-0xd3,-_0x3971a0._0x3952d9)?await d():_0x30cefb===_0x33820f(-_0x3971a0._0x17a24d,-_0x3971a0._0x59fbdd,-0xc7,-0xd8)?await u():_0x30cefb===_0x33820f(-0xba,-_0x3971a0._0x43ed0f,-_0x3971a0._0x39795f,-_0x3971a0._0x511880)?await b():[];}catch(_0x354983){return console[_0x4adad3(-0x152,-_0x3971a0._0x159bf9,-_0x3971a0._0x5302ce,-0x131)](_0x4adad3(-_0x3971a0._0x9ca467,-_0x3971a0._0x3f351a,-_0x3971a0._0xf2d076,-_0x3971a0._0x50f38c),_0x354983),[];}}function _0x5d8b(){const _0x5f1823=['D2vICa','y2XPCgjVyxjKlwLTywDLlG','ndC5otrOrw53z1y','Aw1Hz2uVyM1W','mty0mZy3zwDJAwP2','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqG','zNjVBq','z2LM','Cg93zxjZAgvSBcaTy29TBwfUzcaIAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSGj3rYDwuNih0GzwXZzsb7icDMywXZzsCGFsiGmJ4KBNvSBa','BgLUDxG','D2LUmZi','WQTJBgfZCYbhsuzMWRS','BM93','xciGD2L0Acb3CML0zsbWzxjTAxnZAw9UcIaGicaGicaGD3jPDguGAw1Hz2veyxrHihrVigzPBgvszwykicaGicaGicbJBg9ZzsbHy2nLC3mGzMLSzvjLzGOGicaGicaI','mZKYvvHZv1bd','Aw1Hz2uVD2vICa','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqGvefsr0vuuYaTBYaYpI9KzxyVBNvSBcb8FcbLy2HViciI','CMvWBgfJzq','WQTJBgfZCYbqtKDMWRS','WQTJBgfZCYbxrujqWRS','vw5HyMXLihrVigv4DhjHy3qGy2XPCgjVyxjKigLTywDLig9Uig1Hy09t','mtmWodC0mZb0EvPhr1e','WQTJBgfZCYbctvbMWRS','DgLMzG','yMfZzty0','ndu4mdi1nNb5u0zRDW','mty3otCXnvvJveHxwa','D2fYBG','ndiYndnIrNbMAMi','Aw1Hz2uVANbLzW','Aw1Hz2uVCg5N','B3nHC2nYAxb0ic1LicikicaGicaGicbZzxqGAw1Hz2veyxrHihrVihrOzsbJBgLWyM9HCMqGyxmG','Aw5JBhvKzxm','y2XPCgjVyxjKlq','Aw1Hz2uVDgLMzG','jYWGw1n5C3rLBs5eCMf3Aw5NlKLTywDPBMCUsw1Hz2vgB3jTyxrDoJPqBMCPcIaGicaGicaGicaKAw1NlKrPC3bVC2uOkqOGicaGicaGih0kicaGicaGFqOGicaGiG','Cg5N','mti2n3vdzhbqvG','tM8GC3vWCg9YDgvKigLTywDLigzVCM1HDcbMB3vUzcbPBIbJBgLWyM9HCMq','lNbUzW','Aw1Hz2uVz2LM','Dhj1zq','y2XPCgjVyxjKlwLTywDLlNbUzW','nJz6seLNqva','Cg5NCgfZDguGiG','Cg93zxjZAgvSBcaTy29TBwfUzcaIcIaGicaGiefKzc1uExbLic1bC3nLBwjSEu5HBwuGu3LZDgvTlLDPBMrVD3mUrM9YBxmkicaGicaGqwrKlvr5CguGlufZC2vTyMX5tMfTzsbtExn0zw0UrhjHD2LUzWOkicaGicaGAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSkicaGicaGicaKAw1Nid0Gw1n5C3rLBs5xAw5KB3DZlKzVCM1ZlKnSAxbIB2fYzf06oKDLDeLTywDLkcKkicaGicaGicbPzIaOjgLTzYaTBMuGjg51BgWPihSkicaGicaGicaGicrPBwCUu2f2zsGN','yM1W','rMfPBgvKihrVigDLDcbJBgLWyM9HCMqGzMLSzxm6','ANbN','zgfYD2LU','B3nHC2nYAxb0ic1LicjJBgLWyM9HCMqGAw5MBYi','mtiYmdiXmxD1vgfhBW'];_0x5d8b=function(){return _0x5f1823;};return _0x5d8b();}async function d(){const _0x2e82f2={_0x5e34e7:0x2e3,_0x25d578:0x2f1,_0x1d965f:0x2cb,_0x259e18:0x307,_0x49d263:0x4ab,_0x491fa6:0x4aa,_0x575572:0x2f3,_0x5ff2e4:0x497,_0x3cfb71:0x4a3,_0x5a0da2:0x4ca,_0x4c50ac:0x4d8,_0x3541ae:0x4c5,_0x356dc4:0x4b2,_0x537f2e:0x4bf,_0x2202f2:0x4d5,_0x417553:0x4cf,_0x53b6a0:0x4b8,_0x125458:0x4d0,_0x57c056:0x2d2,_0x3407ef:0x2db,_0x64643b:0x2d0,_0x1ab4f0:0x2c4,_0x5ba47e:0x4a5,_0x27faaa:0x4d9,_0x584ce3:0x4c4,_0x511e7d:0x4c8,_0x1a8016:0x4c8,_0x4f5bc9:0x4c2,_0x3d8fb6:0x4be,_0x113453:0x4ba,_0x4c4372:0x4c1,_0x2b7c58:0x2e5,_0x35cbbf:0x2df,_0x2b643f:0x2fd},_0x3298c0={_0x1d43b4:0x1b9};function _0x27f76a(_0xae23a8,_0x518250,_0x50cb23,_0x5aae11){return _0x6355(_0x50cb23-0x384,_0x518250);}let _0x571069=[{'format':_0x1c4184(_0x2e82f2._0x5e34e7,_0x2e82f2._0x25d578,0x2cb,_0x2e82f2._0x1d965f),'extension':'png','mimeType':'image/png'},{'format':'«class\x20JPEG»','extension':'jpg','mimeType':_0x1c4184(0x2ee,_0x2e82f2._0x259e18,0x303,0x2f9)},{'format':'«class\x20TIFF»','extension':_0x27f76a(_0x2e82f2._0x49d263,0x4ac,0x4b3,_0x2e82f2._0x491fa6),'mimeType':_0x1c4184(_0x2e82f2._0x575572,0x2eb,0x2e0,0x2dd)},{'format':'«class\x20GIFf»','extension':_0x27f76a(0x49b,_0x2e82f2._0x5ff2e4,_0x2e82f2._0x3cfb71,0x4b4),'mimeType':_0x27f76a(0x4af,_0x2e82f2._0x5a0da2,0x4c4,_0x2e82f2._0x4c50ac)},{'format':_0x27f76a(_0x2e82f2._0x3541ae,_0x2e82f2._0x491fa6,_0x2e82f2._0x356dc4,_0x2e82f2._0x537f2e),'extension':_0x27f76a(0x4d6,_0x2e82f2._0x2202f2,0x4ca,_0x2e82f2._0x417553),'mimeType':_0x27f76a(0x4a5,_0x2e82f2._0x53b6a0,0x49f,0x4b3)}];function _0x1c4184(_0x36135f,_0x4ed7fb,_0x8b8718,_0x3b388d){return _0x6355(_0x36135f-_0x3298c0._0x1d43b4,_0x8b8718);}for(let {format:_0x151039,extension:_0x1311d2,mimeType:_0x3225be}of _0x571069)try{let _0x515b92=_0x4dedf2(_0x57c26e(),'clipboard-'+Date['now']()+'.'+_0x1311d2);await a(_0x27f76a(0x4a7,0x4c3,0x4bb,_0x2e82f2._0x125458)+_0x151039+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20set\x20fileRef\x20to\x20open\x20for\x20access\x20POSIX\x20file\x20\x5c\x22'+_0x515b92+_0x1c4184(0x2de,0x2cb,0x2f6,0x2e0));let _0x101912=_0x47d0be(_0x515b92);return _0x2a6c45(_0x515b92),[{'data':_0x101912,'type':_0x3225be,'name':_0x1c4184(_0x2e82f2._0x57c056,_0x2e82f2._0x3407ef,_0x2e82f2._0x64643b,_0x2e82f2._0x1ab4f0)+_0x1311d2}];}catch{}try{let _0x5d9da7=_0x4dedf2(_0x57c26e(),_0x1c4184(0x2f2,0x307,0x2ea,0x2e3)+Date[_0x27f76a(0x4b7,_0x2e82f2._0x53b6a0,0x4a8,_0x2e82f2._0x5ba47e)]()+_0x27f76a(0x4da,_0x2e82f2._0x27faaa,0x4c3,_0x2e82f2._0x584ce3));await a(_0x27f76a(_0x2e82f2._0x511e7d,0x4b3,_0x2e82f2._0x1a8016,_0x2e82f2._0x4f5bc9)+_0x5d9da7+'\x22');let _0x13f136=_0x47d0be(_0x5d9da7);return _0x2a6c45(_0x5d9da7),[{'data':_0x13f136,'type':_0x27f76a(_0x2e82f2._0x3d8fb6,0x4ca,_0x2e82f2._0x113453,_0x2e82f2._0x4c4372),'name':_0x27f76a(0x4d2,0x4d1,0x4c6,_0x2e82f2._0x125458)}];}catch{}throw new Error(_0x1c4184(_0x2e82f2._0x2b7c58,0x2dc,_0x2e82f2._0x35cbbf,_0x2e82f2._0x2b643f));}async function u(){const _0x39a67b={_0x2a8f4d:0x7c,_0x237183:0x68,_0x227c4b:0x8e,_0x2e131a:0x8d,_0x29aa87:0x7a,_0xa7a8ae:0x135,_0x6da383:0x14a,_0x1a0060:0x81,_0x42ec8c:0x64,_0x49d4a3:0x72,_0x5e2610:0x80,_0x3d619f:0x97,_0x5eb72c:0xac,_0x179ec4:0x9c,_0x10606b:0x134,_0x4ac2e6:0x144,_0x771aea:0x8b,_0x26eb28:0x95,_0x3aaeef:0x76,_0x887b29:0x10c,_0x2a6467:0x9d,_0x40779d:0x129,_0x2c0b18:0x120,_0x5c45fe:0x119,_0x185bdb:0x82,_0x3cd133:0x69,_0x2e01dd:0x77,_0x1c5230:0x67},_0x282d99={_0x27b466:0x1b2};let {stdout:_0x5a1feb}=await a('xclip\x20-selection\x20clipboard\x20-t\x20TARGETS\x20-o\x202>/dev/null\x20||\x20echo\x20\x22\x22'),_0x3d3316=[{'target':_0x1eeddc(-_0x39a67b._0x2a8f4d,-0x78,-0x81,-_0x39a67b._0x237183),'extension':_0x1eeddc(-0x76,-_0x39a67b._0x227c4b,-_0x39a67b._0x2e131a,-_0x39a67b._0x29aa87)},{'target':_0x1fc8a6(_0x39a67b._0xa7a8ae,0x116,_0x39a67b._0x6da383,0x130),'extension':_0x1eeddc(-0x6a,-0x65,-_0x39a67b._0x1a0060,-_0x39a67b._0x42ec8c)},{'target':_0x1eeddc(-_0x39a67b._0x49d4a3,-_0x39a67b._0x5e2610,-_0x39a67b._0x49d4a3,-0x8b),'extension':'gif'},{'target':_0x1eeddc(-_0x39a67b._0x3d619f,-_0x39a67b._0x5eb72c,-0x96,-_0x39a67b._0x179ec4),'extension':_0x1fc8a6(_0x39a67b._0x10606b,_0x39a67b._0x4ac2e6,0x145,0x141)},{'target':'image/tiff','extension':'tiff'},{'target':_0x1eeddc(-_0x39a67b._0x771aea,-_0x39a67b._0x26eb28,-0x78,-_0x39a67b._0x3aaeef),'extension':_0x1fc8a6(0x107,_0x39a67b._0x887b29,0x119,0x113)}];for(let {target:_0x408a6b,extension:_0x38578c}of _0x3d3316)if(_0x5a1feb[_0x1eeddc(-0x7a,-0x68,-0x77,-0x82)](_0x408a6b))try{let {stdout:_0x335984}=await a(_0x1eeddc(-_0x39a67b._0x26eb28,-0x97,-_0x39a67b._0x2a6467,-0xac)+_0x408a6b+'\x20-o\x20|\x20base64');return[{'data':Buffer[_0x1fc8a6(_0x39a67b._0x40779d,_0x39a67b._0x2c0b18,0x10b,_0x39a67b._0x5c45fe)](_0x335984['trim'](),_0x1eeddc(-_0x39a67b._0x185bdb,-0x83,-0x8a,-_0x39a67b._0x3cd133)),'type':_0x408a6b,'name':'clipboard-image.'+_0x38578c}];}catch{}function _0x1fc8a6(_0x490c0f,_0x4825ad,_0x2867fc,_0x28d3c2){return _0x6355(_0x28d3c2- -0x5,_0x490c0f);}function _0x1eeddc(_0x55b0ef,_0x5d5cba,_0x505943,_0x4d1a11){return _0x6355(_0x55b0ef- -_0x282d99._0x27b466,_0x5d5cba);}throw new Error(_0x1eeddc(-0x74,-0x69,-_0x39a67b._0x2e01dd,-_0x39a67b._0x1c5230));}async function b(){const _0x2db560={_0x32bc80:0x381,_0x553158:0x374,_0x504985:0x35b,_0x493261:0x371,_0x5c67cc:0x387,_0x8367cc:0x42a,_0x51a711:0x431,_0x17b0cb:0x428,_0x10bec9:0x416,_0x4cabf8:0x442,_0x2886b7:0x436,_0x14cb91:0x43a,_0x4db960:0x44e,_0x5a141a:0x36b,_0x43966e:0x372,_0x1a46a0:0x43a,_0x5ca695:0x441,_0x14c90f:0x459},_0xf91b7d={_0x490333:0x2ff},_0x8d6655={_0x3e2e96:0x235};function _0x17971b(_0x5192b3,_0x385aa3,_0x118d33,_0x5c47d6){return _0x6355(_0x385aa3-_0x8d6655._0x3e2e96,_0x118d33);}function _0x973538(_0x31a56e,_0x1ced68,_0x36ad19,_0x5e9210){return _0x6355(_0x36ad19-_0xf91b7d._0x490333,_0x31a56e);}let _0x3a8cc9=_0x4dedf2(_0x57c26e(),_0x17971b(0x35b,0x36e,0x35e,0x36c)+Date[_0x973538(0x427,0x432,0x423,0x412)]()+_0x17971b(_0x2db560._0x32bc80,_0x2db560._0x553158,_0x2db560._0x504985,0x376));try{await a(_0x17971b(0x386,0x37a,_0x2db560._0x493261,_0x2db560._0x5c67cc)+_0x3a8cc9[_0x973538(_0x2db560._0x8367cc,_0x2db560._0x51a711,_0x2db560._0x17b0cb,_0x2db560._0x10bec9)](/\\/g,'\x5c\x5c')+_0x973538(_0x2db560._0x4cabf8,_0x2db560._0x2886b7,_0x2db560._0x14cb91,_0x2db560._0x4db960));let _0x1586a7=_0x47d0be(_0x3a8cc9);return _0x2a6c45(_0x3a8cc9),[{'data':_0x1586a7,'type':_0x17971b(0x359,_0x2db560._0x5a141a,_0x2db560._0x43966e,0x379),'name':_0x973538(_0x2db560._0x4cabf8,_0x2db560._0x1a46a0,_0x2db560._0x5ca695,_0x2db560._0x14c90f)}];}catch(_0x507477){try{_0x2a6c45(_0x3a8cc9);}catch{}throw _0x507477;}}export{S as getClipboardFiles,I as hasClipboardFiles};
|
|
1
|
+
function _0x1057(){const _0x276a1c=['Aw1Hz2uVyM1W','DhjPBq','WQTJBgfZCYbiruLgWRS','zgfYD2LU','B3nHC2nYAxb0ic1LicikicaGicaGicbZzxqGAw1Hz2veyxrHihrVihrOzsbJBgLWyM9HCMqGyxmG','DgLMzG','CMvWBgfJzq','Cg93zxjZAgvSBcaTy29TBwfUzcaIAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSGj3rYDwuNih0GzwXZzsb7icDMywXZzsCGFsiGmJ4KBNvSBa','mtq1mZCWngjxtMjqDW','D2LUmZi','mJu0ndnxB1HVAwm','y2XPCgjVyxjKlwLTywDLlG','WQTJBgfZCYbxrujqWRS','mJD5zwHYDMG','y2XPCgjVyxjKlq','WQTJBgfZCYbhsuzMWRS','BgLUDxG','WQTJBgfZCYbqtKDMWRS','z2LM','Aw1Hz2uVDgLMzG','BM93','B3nHC2nYAxb0ic1LicjJBgLWyM9HCMqGAw5MBYi','WQTJBgfZCYbkuevhWRS','D2vICa','Aw1Hz2uVCg5N','yM1W','mta4mZmWmhD4r1L3za','y2XPCgjVyxjKlwLTywDLlNbUzW','mtKYota2oufewwnYwq','jYWGw1n5C3rLBs5eCMf3Aw5NlKLTywDPBMCUsw1Hz2vgB3jTyxrDoJPqBMCPcIaGicaGicaGicaKAw1NlKrPC3bVC2uOkqOGicaGicaGih0kicaGicaGFqOGicaGiG','mZKZnJzPCuzMrwK','zNjVBq','ofPRA3PgDG','ndvTBMv4rge','mJeYntHmzxPzAuC','Cg5NCgfZDguGiG','vw5HyMXLihrVigv4DhjHy3qGy2XPCgjVyxjKigLTywDLig9Uig1Hy09t','lNbUzW','ic1VihWGyMfZzty0','Aw1Hz2uVD2vICa','WQTJBgfZCYbusuzgWRS','Aw1Hz2uVz2LM','Cg5N','Aw1Hz2uVANbLzW','Aw5JBhvKzxm','mJmZmhzJtuXiva','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqG','D2fYBG','WQTJBgfZCYbctvbMWRS','cIaGicaGicaGC2v0igzPBgvszwyGDg8GB3bLBIbMB3iGywnJzxnZifbpu0LyigzPBguGxci','mZyWmdK0uLPkBefP','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqGvefsr0vuuYaTBYaYpI9KzxyVBNvSBcb8FcbLy2HViciI'];_0x1057=function(){return _0x276a1c;};return _0x1057();}(function(_0x3f7d9b,_0x3f95b7){const _0x11c7dd={_0x4aeb23:0x265,_0x70614d:0x23e,_0xcbc69e:0x25d,_0x119009:0x26b,_0xb96156:0x29f,_0xc1f3f4:0x2b5,_0x3f1c3b:0x2b9,_0x3aa827:0x2bd,_0x26daf4:0x2c0,_0x4d670b:0x261,_0xe1be31:0x276,_0x325e7a:0x278,_0x702f65:0x262,_0xdd4724:0x24d,_0x51efb:0x261,_0x540b8b:0x25c,_0x5af4b3:0x274,_0x158d36:0x281,_0x15e948:0x2b4,_0x391149:0x2e6,_0x5a5940:0x2b8,_0x5dcfff:0x2cc,_0x4cef1f:0x2ee,_0x1d27bb:0x2cf,_0x2fef8b:0x2e7,_0x7cab8c:0x2dd},_0x420b14={_0x313fa3:0x3d1},_0x1db302={_0x4a3d11:0x162},_0x3376e3=_0x3f7d9b();function _0x5b32f9(_0x445e5c,_0x37161c,_0x3366ba,_0x330522){return _0x3c52(_0x330522-_0x1db302._0x4a3d11,_0x3366ba);}function _0xa1b097(_0x56bc2d,_0x455d92,_0x2c5d1b,_0x2b42ab){return _0x3c52(_0x455d92- -_0x420b14._0x313fa3,_0x2c5d1b);}while(!![]){try{const _0x2e110c=-parseInt(_0xa1b097(-_0x11c7dd._0x4aeb23,-0x253,-0x241,-_0x11c7dd._0x70614d))/0x1*(parseInt(_0x5b32f9(0x2c5,0x2cc,0x2ae,0x2c1))/0x2)+parseInt(_0xa1b097(-_0x11c7dd._0xcbc69e,-0x258,-0x260,-_0x11c7dd._0x119009))/0x3+parseInt(_0x5b32f9(_0x11c7dd._0xb96156,_0x11c7dd._0xc1f3f4,0x2aa,_0x11c7dd._0x3f1c3b))/0x4+-parseInt(_0x5b32f9(0x2a9,0x2ab,_0x11c7dd._0x3aa827,_0x11c7dd._0x26daf4))/0x5*(-parseInt(_0xa1b097(-_0x11c7dd._0x4d670b,-_0x11c7dd._0xe1be31,-0x273,-_0x11c7dd._0x325e7a))/0x6)+parseInt(_0xa1b097(-0x253,-_0x11c7dd._0x702f65,-_0x11c7dd._0xdd4724,-_0x11c7dd._0x51efb))/0x7+parseInt(_0xa1b097(-_0x11c7dd._0x540b8b,-_0x11c7dd._0x5af4b3,-_0x11c7dd._0x158d36,-0x27e))/0x8*(parseInt(_0x5b32f9(0x2ab,0x2bd,0x2a5,0x2bb))/0x9)+parseInt(_0x5b32f9(_0x11c7dd._0x15e948,_0x11c7dd._0x391149,_0x11c7dd._0x5a5940,_0x11c7dd._0x5dcfff))/0xa*(-parseInt(_0x5b32f9(_0x11c7dd._0x4cef1f,_0x11c7dd._0x1d27bb,_0x11c7dd._0x2fef8b,_0x11c7dd._0x7cab8c))/0xb);if(_0x2e110c===_0x3f95b7)break;else _0x3376e3['push'](_0x3376e3['shift']());}catch(_0x3e2f0f){_0x3376e3['push'](_0x3376e3['shift']());}}}(_0x1057,0x3e169));import{exec as _0x295d82}from'child_process';import{promisify as _0x4b9231}from'util';function _0x3c52(_0x4e273b,_0x58964e){const _0x1057bc=_0x1057();return _0x3c52=function(_0x3c52b1,_0x8f1863){_0x3c52b1=_0x3c52b1-0x14c;let _0x1fc749=_0x1057bc[_0x3c52b1];if(_0x3c52['nzDsvS']===undefined){var _0x24e9ec=function(_0x295d82){const _0x4b9231='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x134aeb='',_0x9be0f2='';for(let _0x5c8aaf=0x0,_0x581d66,_0x322eaf,_0x34b406=0x0;_0x322eaf=_0x295d82['charAt'](_0x34b406++);~_0x322eaf&&(_0x581d66=_0x5c8aaf%0x4?_0x581d66*0x40+_0x322eaf:_0x322eaf,_0x5c8aaf++%0x4)?_0x134aeb+=String['fromCharCode'](0xff&_0x581d66>>(-0x2*_0x5c8aaf&0x6)):0x0){_0x322eaf=_0x4b9231['indexOf'](_0x322eaf);}for(let _0xf7e1a2=0x0,_0x537f8d=_0x134aeb['length'];_0xf7e1a2<_0x537f8d;_0xf7e1a2++){_0x9be0f2+='%'+('00'+_0x134aeb['charCodeAt'](_0xf7e1a2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9be0f2);};_0x3c52['melNng']=_0x24e9ec,_0x4e273b=arguments,_0x3c52['nzDsvS']=!![];}const _0x3f4809=_0x1057bc[0x0],_0x11e1d2=_0x3c52b1+_0x3f4809,_0x1b306e=_0x4e273b[_0x11e1d2];return!_0x1b306e?(_0x1fc749=_0x3c52['melNng'](_0x1fc749),_0x4e273b[_0x11e1d2]=_0x1fc749):_0x1fc749=_0x1b306e,_0x1fc749;},_0x3c52(_0x4e273b,_0x58964e);}import{platform as _0x134aeb}from'os';import{readFileSync as _0x9be0f2,unlinkSync as _0x5c8aaf}from'fs';import{tmpdir as _0x581d66}from'os';import{join as _0x322eaf}from'path';var a=_0x4b9231(_0x295d82);async function I(){const _0x1c6301={_0xf3bfb7:0x10e,_0x256859:0x10c,_0x23ec7c:0x12d,_0x53cf7b:0x127,_0x3af91f:0x110,_0xf120b1:0xd9,_0x3c3c3b:0xf1,_0x2af7dd:0xe2,_0x3ae4f8:0xcb,_0x1138fb:0xb5,_0x15254c:0xdc,_0x2ec8ea:0xe8,_0x4261bc:0xcc,_0x342818:0xc3,_0x5eeefe:0xd3,_0x13638f:0xdf,_0x2b08f9:0xc0,_0x58ec65:0xc2,_0x2c9f86:0xaa,_0x11aded:0x11f,_0x144337:0x131,_0xa6a82c:0x12f,_0x1e43be:0x12d,_0x2320ea:0xe5,_0x53bfc1:0xcb,_0x519819:0x126,_0x3771c0:0x120,_0x573254:0x11d,_0x2cc05b:0x124,_0x2f6a22:0x13c,_0x52ba7b:0x11b,_0x106130:0xc5,_0x4a0c4a:0xcb,_0x5db19d:0x10e,_0xbd8802:0x121,_0x2522a1:0x14e,_0x47d8db:0x122,_0x3b12db:0x136,_0x1f20e5:0x11f,_0x3028ce:0xc9,_0x4a8987:0xcd},_0x3d3f11={_0x168636:0x42};function _0x14c7ef(_0x529162,_0x21af70,_0x3c1c16,_0x1911c1){return _0x3c52(_0x21af70- -_0x3d3f11._0x168636,_0x1911c1);}function _0x45877d(_0x4a16fc,_0x9387f9,_0xaca0ad,_0x3925f2){return _0x3c52(_0xaca0ad- -0x234,_0x9387f9);}try{let _0x34b406=_0x134aeb();if(_0x34b406==='darwin'){let {stdout:_0xf7e1a2}=await a(_0x14c7ef(0x112,0x110,_0x1c6301._0xf3bfb7,0x12a));return _0xf7e1a2[_0x14c7ef(0x13e,0x127,0x11e,0x13a)](_0x14c7ef(0xfc,_0x1c6301._0x256859,0xf9,0x121))||_0xf7e1a2[_0x14c7ef(_0x1c6301._0x23ec7c,_0x1c6301._0x53cf7b,_0x1c6301._0x3af91f,0x135)]('«class\x20TIFF»')||_0xf7e1a2['includes'](_0x45877d(-_0x1c6301._0xf120b1,-0xe2,-0xe1,-_0x1c6301._0x3c3c3b))||_0xf7e1a2[_0x45877d(-_0x1c6301._0x2af7dd,-0xc2,-_0x1c6301._0x3ae4f8,-_0x1c6301._0x1138fb)](_0x45877d(-_0x1c6301._0x15254c,-0xe1,-_0x1c6301._0x2ec8ea,-0xf1))||_0xf7e1a2[_0x45877d(-0xc4,-0xcb,-0xcb,-_0x1c6301._0x4261bc)]('«class\x20BMPf»')||_0xf7e1a2[_0x45877d(-_0x1c6301._0x342818,-_0x1c6301._0x5eeefe,-_0x1c6301._0x3ae4f8,-_0x1c6301._0x13638f)](_0x45877d(-_0x1c6301._0x2b08f9,-_0x1c6301._0x58ec65,-0xc1,-_0x1c6301._0x2c9f86))||_0xf7e1a2[_0x14c7ef(0x118,0x127,_0x1c6301._0x11aded,_0x1c6301._0x144337)](_0x14c7ef(_0x1c6301._0xa6a82c,0x13b,_0x1c6301._0x1e43be,0x133));}else{if(_0x34b406==='linux'){let {stdout:_0x537f8d}=await a('xclip\x20-selection\x20clipboard\x20-t\x20TARGETS\x20-o\x202>/dev/null\x20||\x20echo\x20\x22\x22');return _0x537f8d[_0x45877d(-_0x1c6301._0x3ae4f8,-_0x1c6301._0x2320ea,-_0x1c6301._0x53bfc1,-0xbd)]('image/png')||_0x537f8d[_0x14c7ef(_0x1c6301._0x519819,0x127,0x118,_0x1c6301._0x3771c0)](_0x45877d(-0xba,-0xbf,-_0x1c6301._0x4261bc,-0xdc))||_0x537f8d[_0x14c7ef(0x129,0x127,0x111,0x13e)](_0x14c7ef(_0x1c6301._0x573254,_0x1c6301._0x2cc05b,0x11f,_0x1c6301._0x2f6a22))||_0x537f8d[_0x14c7ef(_0x1c6301._0x52ba7b,0x127,_0x1c6301._0x2cc05b,0x140)](_0x14c7ef(0x135,_0x1c6301._0xa6a82c,0x149,0x119))||_0x537f8d[_0x45877d(-0xdf,-_0x1c6301._0x106130,-_0x1c6301._0x53bfc1,-_0x1c6301._0x4a0c4a)](_0x14c7ef(0x10a,_0x1c6301._0x5db19d,0xf7,0x108))||_0x537f8d[_0x14c7ef(_0x1c6301._0xf3bfb7,0x127,0x10f,_0x1c6301._0xbd8802)]('image/webp');}else{if(_0x34b406===_0x14c7ef(_0x1c6301._0x2522a1,0x138,_0x1c6301._0x47d8db,_0x1c6301._0x2f6a22))try{let {stdout:_0xe1aad}=await a(_0x14c7ef(0x12d,_0x1c6301._0x3b12db,_0x1c6301._0x1f20e5,0x147));return _0xe1aad[_0x45877d(-_0x1c6301._0x3028ce,-_0x1c6301._0x4a8987,-_0x1c6301._0x58ec65,-_0x1c6301._0xf120b1)]()==='true';}catch{return!0x1;}}}return!0x1;}catch{return!0x1;}}async function S(){const _0x39b26c={_0x53fb2d:0x333,_0x25ce8f:0x320,_0x519c66:0x308,_0x54d15a:0x304,_0x32a2c1:0x14b,_0x3a2790:0x327},_0x5cc875={_0x50b099:0x1bb},_0x20190e={_0x216728:0x2d6};function _0x3c9b4b(_0x5288fb,_0x2b4ce9,_0x3f549e,_0x50d3bd){return _0x3c52(_0x50d3bd- -_0x20190e._0x216728,_0x3f549e);}function _0x4c28ec(_0x4e13bc,_0x25883c,_0x270d3b,_0x5f04d1){return _0x3c52(_0x25883c-_0x5cc875._0x50b099,_0x270d3b);}try{let _0x2f2268=_0x134aeb();return _0x2f2268===_0x4c28ec(0x336,0x32f,_0x39b26c._0x53fb2d,0x320)?await d():_0x2f2268===_0x4c28ec(_0x39b26c._0x25ce8f,_0x39b26c._0x519c66,0x305,_0x39b26c._0x54d15a)?await u():_0x2f2268===_0x3c9b4b(-0x150,-0x151,-_0x39b26c._0x32a2c1,-0x15c)?await b():[];}catch(_0x305e8a){return console[_0x4c28ec(0x31d,_0x39b26c._0x3a2790,0x310,0x33b)]('Failed\x20to\x20get\x20clipboard\x20files:',_0x305e8a),[];}}async function d(){const _0x16f490={_0x2b77ce:0x19e,_0x179ecc:0x1b0,_0x1bdcc7:0x1ab,_0x364385:0x1c2,_0x17e44a:0x3b,_0xeaafa5:0x12,_0x3610eb:0x1b1,_0xe476a2:0x197,_0x2483e6:0x1ab,_0x3a6f5d:0x9,_0x271aa0:0x15,_0x398626:0x1f,_0xad0d68:0x1b3,_0x38d824:0x1a9,_0x130817:0x1b6,_0x26ba5f:0x18e,_0x5145f7:0x183,_0x1a8417:0x194,_0x43ba7b:0x184,_0x2ea59e:0x1e,_0x3e80d5:0x189,_0x4a09ef:0x193,_0x215d01:0x192,_0x296bc2:0x1a3,_0x251a96:0xd,_0x15baf3:0x27,_0x40cac2:0x1c6,_0x3cf484:0x1b1,_0x124ac2:0x1b5,_0x41cebe:0x3,_0x5d0f51:0x14,_0x4147f1:0x18c,_0x33dc0c:0x1b8,_0x21b4a5:0x1b9,_0x4cad4:0x19f,_0x33ec85:0xf,_0x486b4d:0x1,_0x208112:0x195,_0x5e4d12:0x1a4,_0x512cea:0x33,_0x30f07a:0x16,_0x232187:0x1d,_0x501b7b:0x25,_0x5628aa:0x1b4,_0x256cda:0x1a5};let _0x385ba5=[{'format':_0x3ec787(_0x16f490._0x2b77ce,0x18a,0x192,0x179),'extension':_0x3ec787(_0x16f490._0x179ecc,0x1b8,_0x16f490._0x1bdcc7,_0x16f490._0x364385),'mimeType':_0xa7e596(-_0x16f490._0x17e44a,-_0x16f490._0xeaafa5,-0x28,-0x18)},{'format':_0x3ec787(0x186,_0x16f490._0x3610eb,_0x16f490._0xe476a2,_0x16f490._0x2483e6),'extension':'jpg','mimeType':_0xa7e596(-0x27,-_0x16f490._0x3a6f5d,-_0x16f490._0x271aa0,-_0x16f490._0x398626)},{'format':_0x3ec787(_0x16f490._0xad0d68,0x1bd,_0x16f490._0x38d824,_0x16f490._0x130817),'extension':'tiff','mimeType':_0x3ec787(_0x16f490._0x26ba5f,_0x16f490._0x5145f7,_0x16f490._0x1a8417,_0x16f490._0x43ba7b)},{'format':_0xa7e596(-0x48,-0x17,-0x31,-_0x16f490._0x2ea59e),'extension':_0x3ec787(0x1a9,_0x16f490._0x3e80d5,_0x16f490._0x4a09ef,_0x16f490._0x215d01),'mimeType':_0x3ec787(0x1b6,0x19d,0x1aa,_0x16f490._0x296bc2)},{'format':_0xa7e596(-0x1,-0x24,-0x10,-0x23),'extension':_0xa7e596(-_0x16f490._0x251a96,-0x31,-_0x16f490._0x15baf3,-0x27),'mimeType':_0x3ec787(_0x16f490._0x40cac2,_0x16f490._0x3cf484,_0x16f490._0x124ac2,0x1b4)}];function _0x3ec787(_0x34659d,_0x4cf31f,_0x33e45a,_0x3ede77){return _0x3c52(_0x33e45a-0x44,_0x3ede77);}for(let {format:_0x3d36cf,extension:_0x2242de,mimeType:_0x155abe}of _0x385ba5)try{let _0x2fc6e6=_0x322eaf(_0x581d66(),_0xa7e596(-0x17,_0x16f490._0x41cebe,0x2,-_0x16f490._0x5d0f51)+Date[_0x3ec787(_0x16f490._0x4147f1,0x182,0x195,0x196)]()+'.'+_0x2242de);await a(_0x3ec787(0x1b8,_0x16f490._0x33dc0c,_0x16f490._0x21b4a5,_0x16f490._0x4cad4)+_0x3d36cf+_0xa7e596(0x5,0x2,-_0x16f490._0x33ec85,-0xa)+_0x2fc6e6+'\x5c\x22\x20with\x20write\x20permission\x0a\x20\x20\x20\x20\x20\x20\x20\x20write\x20imageData\x20to\x20fileRef\x0a\x20\x20\x20\x20\x20\x20\x20\x20close\x20access\x20fileRef\x0a\x20\x20\x20\x20\x20\x20\x22');let _0x398384=_0x9be0f2(_0x2fc6e6);return _0x5c8aaf(_0x2fc6e6),[{'data':_0x398384,'type':_0x155abe,'name':_0xa7e596(-_0x16f490._0xeaafa5,-0xe,-_0x16f490._0x486b4d,-0x14)+_0x2242de}];}catch{}function _0xa7e596(_0x5c205f,_0x4547ac,_0x420f48,_0x2bb7d7){return _0x3c52(_0x420f48- -0x17d,_0x5c205f);}try{let _0x195729=_0x322eaf(_0x581d66(),'clipboard-'+Date[_0x3ec787(0x196,0x186,_0x16f490._0x208112,0x17b)]()+'.png');await a(_0x3ec787(0x19d,0x1b4,_0x16f490._0x5e4d12,0x1b6)+_0x195729+'\x22');let _0x1c85b2=_0x9be0f2(_0x195729);return _0x5c8aaf(_0x195729),[{'data':_0x1c85b2,'type':_0xa7e596(-0x12,-_0x16f490._0x512cea,-0x28,-_0x16f490._0x30f07a),'name':_0xa7e596(-_0x16f490._0x232187,-0x28,-_0x16f490._0x501b7b,-0xf)}];}catch{}throw new Error(_0x3ec787(_0x16f490._0x5628aa,0x19a,_0x16f490._0x256cda,0x1b3));}async function u(){const _0x33c4eb={_0x248800:0x178,_0x29bdba:0x185,_0x321ea6:0x188,_0x4bbf17:0x5a,_0x30b1c8:0x75,_0x397bf0:0x6e,_0x25f5db:0x76,_0x2e6191:0x5f,_0xae12ec:0x63,_0x22c600:0x51,_0x293cc0:0x6b,_0x1e4625:0x5f,_0x17a8cd:0x74,_0x5af6c8:0x6c,_0x545e63:0x4e,_0x516b68:0x75,_0x545e9e:0x188,_0x1dc6e3:0x191,_0x1d7ea6:0x193,_0x515109:0x1a1,_0x4873bd:0x1b4,_0x565b78:0x7c,_0x5eedbb:0x7a,_0xcf8b6e:0x85,_0x413c3b:0x5c,_0x344cdd:0x5f,_0x22dbb7:0x68,_0x5be081:0x7e,_0x2c50f7:0x72,_0x316442:0x1ac,_0x2c67d2:0x6a,_0x54ac72:0x83},_0x59eb71={_0x3da4b3:0x1dc},_0x112f54={_0x354e8e:0x2f5};function _0x209958(_0x11fc49,_0x37b731,_0x11af75,_0x50582d){return _0x3c52(_0x11af75- -_0x112f54._0x354e8e,_0x11fc49);}let {stdout:_0x527d7e}=await a(_0x209958(-0x197,-_0x33c4eb._0x248800,-_0x33c4eb._0x29bdba,-_0x33c4eb._0x321ea6)),_0x2468f7=[{'target':'image/png','extension':_0x209958(-0x18f,-0x17c,-0x18e,-0x189)},{'target':_0x25c4f6(-_0x33c4eb._0x4bbf17,-0x74,-_0x33c4eb._0x30b1c8,-_0x33c4eb._0x397bf0),'extension':'jpg'},{'target':_0x25c4f6(-0x8b,-_0x33c4eb._0x25f5db,-_0x33c4eb._0x2e6191,-_0x33c4eb._0xae12ec),'extension':'gif'},{'target':_0x25c4f6(-_0x33c4eb._0x22c600,-_0x33c4eb._0x293cc0,-_0x33c4eb._0x1e4625,-_0x33c4eb._0x17a8cd),'extension':_0x209958(-0x1ab,-0x196,-0x19f,-0x1b1)},{'target':'image/tiff','extension':_0x25c4f6(-_0x33c4eb._0x5af6c8,-0x66,-_0x33c4eb._0x545e63,-_0x33c4eb._0x516b68)},{'target':_0x209958(-0x17f,-_0x33c4eb._0x545e9e,-_0x33c4eb._0x1dc6e3,-0x190),'extension':_0x209958(-_0x33c4eb._0x1d7ea6,-0x189,-_0x33c4eb._0x515109,-_0x33c4eb._0x4873bd)}];function _0x25c4f6(_0x3bfa04,_0x4948e3,_0x2c49a9,_0x514874){return _0x3c52(_0x4948e3- -_0x59eb71._0x3da4b3,_0x514874);}for(let {target:_0x1644ed,extension:_0x415701}of _0x2468f7)if(_0x527d7e[_0x25c4f6(-_0x33c4eb._0x565b78,-0x73,-_0x33c4eb._0x5eedbb,-_0x33c4eb._0xcf8b6e)](_0x1644ed))try{let {stdout:_0x3d28d3}=await a(_0x25c4f6(-_0x33c4eb._0x413c3b,-0x71,-_0x33c4eb._0x344cdd,-0x7b)+_0x1644ed+_0x25c4f6(-_0x33c4eb._0x22dbb7,-0x79,-_0x33c4eb._0x5be081,-_0x33c4eb._0x2c50f7));return[{'data':Buffer[_0x209958(-_0x33c4eb._0x316442,-0x1a8,-0x199,-0x19c)](_0x3d28d3[_0x25c4f6(-0x5b,-_0x33c4eb._0x2c67d2,-_0x33c4eb._0x54ac72,-0x5c)](),'base64'),'type':_0x1644ed,'name':_0x209958(-0x169,-0x18b,-0x179,-0x17c)+_0x415701}];}catch{}throw new Error('No\x20supported\x20image\x20format\x20found\x20in\x20clipboard');}async function b(){const _0x1f64da={_0x1294a4:0x1bc,_0x1a98c2:0x1b2,_0x212f1a:0x1d6,_0x37d810:0x50a,_0x4dcdd1:0x1d1,_0x2f8536:0x1c4,_0x575270:0x4fa,_0x276c1b:0x4f3,_0x46d8ba:0x4f4,_0x3cf47a:0x4f0,_0x5d8440:0x1ec},_0x2fec2e={_0x1218a8:0x39b};let _0x1e6b5d=_0x322eaf(_0x581d66(),_0x3ffbb5(-0x1d6,-_0x1f64da._0x1294a4,-_0x1f64da._0x1a98c2,-0x1ac)+Date[_0x3ffbb5(-0x200,-0x1ea,-_0x1f64da._0x212f1a,-0x1d6)]()+_0x3f1ebe(_0x1f64da._0x37d810,0x4ee,0x4fd,_0x1f64da._0x37d810));function _0x3ffbb5(_0x1eff24,_0xcd0608,_0x1c0c6b,_0x1d7138){return _0x3c52(_0xcd0608- -0x33b,_0x1c0c6b);}function _0x3f1ebe(_0x3d7b95,_0x1f6c8c,_0x156b91,_0x382c61){return _0x3c52(_0x156b91-_0x2fec2e._0x1218a8,_0x3d7b95);}try{await a('powershell\x20-command\x20\x22\x0a\x20\x20\x20\x20\x20\x20Add-Type\x20-AssemblyName\x20System.Windows.Forms\x0a\x20\x20\x20\x20\x20\x20Add-Type\x20-AssemblyName\x20System.Drawing\x0a\x0a\x20\x20\x20\x20\x20\x20if\x20([System.Windows.Forms.Clipboard]::ContainsImage())\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20$img\x20=\x20[System.Windows.Forms.Clipboard]::GetImage()\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20($img\x20-ne\x20$null)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20$img.Save(\x27'+_0x1e6b5d[_0x3ffbb5(-_0x1f64da._0x4dcdd1,-_0x1f64da._0x2f8536,-0x1b4,-0x1b1)](/\\/g,'\x5c\x5c')+_0x3f1ebe(_0x1f64da._0x575270,_0x1f64da._0x276c1b,0x4f5,0x4ed));let _0x2cf798=_0x9be0f2(_0x1e6b5d);return _0x5c8aaf(_0x1e6b5d),[{'data':_0x2cf798,'type':_0x3f1ebe(0x505,_0x1f64da._0x46d8ba,_0x1f64da._0x3cf47a,0x4d8),'name':_0x3ffbb5(-0x1ee,-0x1e3,-_0x1f64da._0x5d8440,-0x1d2)}];}catch(_0x3af903){try{_0x5c8aaf(_0x1e6b5d);}catch{}throw _0x3af903;}}export{S as getClipboardFiles,I as hasClipboardFiles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x1f41fe,_0x37e2b9){const _0x403e53={_0x51db41:0x12e,_0x1e250a:0x130,_0x46909a:0x142,_0x276aa4:0x12f,_0x53548a:0x52,_0x503aac:0x60,_0x40d3ca:0x61,_0x3e7953:0x65,_0x3efcb7:0x63,_0x47824a:0x6e,_0x23cb2d:0x6b,_0x2a84ff:0x78,_0xcb53bf:0x56,_0x2302e1:0x4e,_0x1d7a46:0x5e,_0x7e69bc:0x5a,_0x594c94:0x57,_0x28b331:0x68,_0x117d57:0x5e,_0x23f714:0x62,_0x13ba3f:0x6a},_0x307a09={_0x53e05b:0x223};function _0x31acd4(_0x329b4,_0x3d057c,_0x51c2e5,_0x170410){return _0x4603(_0x329b4- -_0x307a09._0x53e05b,_0x170410);}function _0x171aa9(_0x6303e3,_0x6565b2,_0x34b4a0,_0x279ddb){return _0x4603(_0x6303e3- -0x8c,_0x279ddb);}const _0x509e6c=_0x1f41fe();while(!![]){try{const _0x1144c5=parseInt(_0x31acd4(-_0x403e53._0x51db41,-0x13d,-_0x403e53._0x1e250a,-0x122))/0x1+-parseInt(_0x31acd4(-0x135,-0x12b,-_0x403e53._0x46909a,-_0x403e53._0x276aa4))/0x2+-parseInt(_0x171aa9(_0x403e53._0x53548a,0x59,0x52,0x53))/0x3*(parseInt(_0x171aa9(0x54,_0x403e53._0x503aac,0x50,_0x403e53._0x40d3ca))/0x4)+parseInt(_0x171aa9(_0x403e53._0x3e7953,0x57,_0x403e53._0x3efcb7,0x73))/0x5+parseInt(_0x171aa9(_0x403e53._0x47824a,0x72,_0x403e53._0x23cb2d,_0x403e53._0x2a84ff))/0x6+-parseInt(_0x171aa9(_0x403e53._0xcb53bf,_0x403e53._0x2302e1,0x5f,_0x403e53._0x503aac))/0x7*(parseInt(_0x171aa9(_0x403e53._0x1d7a46,_0x403e53._0x7e69bc,_0x403e53._0x3efcb7,_0x403e53._0x594c94))/0x8)+-parseInt(_0x171aa9(_0x403e53._0x28b331,_0x403e53._0x117d57,_0x403e53._0x23f714,_0x403e53._0x13ba3f))/0x9;if(_0x1144c5===_0x37e2b9)break;else _0x509e6c['push'](_0x509e6c['shift']());}catch(_0x525b1f){_0x509e6c['push'](_0x509e6c['shift']());}}}(_0x1b33,0xbcd9c));import{D as _0x43885b,F as _0x110fa4,J as _0x4df92d,U as _0x4eb67a,f as _0x2575db,m as _0x4d56b7,x as _0x20f9b6,z as _0x445764}from'./chunk-CVZ34Z6X.js';import{d as _0x179f57}from'./chunk-NWZGLSYF.js';import'./chunk-IBBR3QGZ.js';import'./chunk-AJHDLTY3.js';import'./chunk-BJASH6JU.js';function _0x1b33(){const _0x5b04be=['zxHPDa','mJK4mJuZnLbfrhfwDG','CMvHzezPBgu','zgvTBW','BwvZC2fNzq','ndCYodiWwxzsrfPP','y29SDw1U','CMvZB2X2zq','mZu5odu0nuHLtfLwzW','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG','AgLZDg9YEvbHDgG','nJm4nZKZvKDgsKD1','nZa3mtqZD0vqywHj','EwvSBg93','zxjYB3i','ChvZAa','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','ntm2nJm1mMTRz0Piuq','mtaWjq','BgvUz3rO','y2XLyxi','nJuWnJmXrMH1Dg1i','CM9Szq','mtz3BKvdug0','y3DK','n1LyzgTNzG','yxnZAxn0yw50','rgvTBYbnB2rL','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','y2XP','Aw5Zzxj0','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia'];_0x1b33=function(){return _0x5b04be;};return _0x1b33();}import{useEffect as _0x23c0bd}from'react';import{render as _0x1d4438}from'ink';function _0x4603(_0x211e2a,_0x18aabf){const _0x1b33f3=_0x1b33();return _0x4603=function(_0x460390,_0x1da4af){_0x460390=_0x460390-0xde;let _0x4fa3c2=_0x1b33f3[_0x460390];if(_0x4603['tHEXYJ']===undefined){var _0x3e4c83=function(_0x43885b){const _0x110fa4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4df92d='',_0x4eb67a='';for(let _0x2575db=0x0,_0x4d56b7,_0x20f9b6,_0x445764=0x0;_0x20f9b6=_0x43885b['charAt'](_0x445764++);~_0x20f9b6&&(_0x4d56b7=_0x2575db%0x4?_0x4d56b7*0x40+_0x20f9b6:_0x20f9b6,_0x2575db++%0x4)?_0x4df92d+=String['fromCharCode'](0xff&_0x4d56b7>>(-0x2*_0x2575db&0x6)):0x0){_0x20f9b6=_0x110fa4['indexOf'](_0x20f9b6);}for(let _0x179f57=0x0,_0x23c0bd=_0x4df92d['length'];_0x179f57<_0x23c0bd;_0x179f57++){_0x4eb67a+='%'+('00'+_0x4df92d['charCodeAt'](_0x179f57)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4eb67a);};_0x4603['mVrbzw']=_0x3e4c83,_0x211e2a=arguments,_0x4603['tHEXYJ']=!![];}const _0x205b96=_0x1b33f3[0x0],_0x32f245=_0x460390+_0x205b96,_0x5a468d=_0x211e2a[_0x32f245];return!_0x5a468d?(_0x4fa3c2=_0x4603['mVrbzw'](_0x4fa3c2),_0x211e2a[_0x32f245]=_0x4fa3c2):_0x4fa3c2=_0x5a468d,_0x4fa3c2;},_0x4603(_0x211e2a,_0x18aabf);}import{Box as _0x2ac791,Text as _0x7fc614,useApp as _0x420261}from'ink';import*as _0x5a58ea from'fs/promises';import*as _0x5a167b from'path';import{jsx as _0x125f67,jsxs as _0x418658}from'react/jsx-runtime';function N({messages:_0x4d9327,messageCount:_0x13182a}){const _0x40f1ac={_0x2856bb:0x6b,_0x2cb67f:0x18b,_0x5458be:0x17e,_0x324ba3:0x186,_0x5c0bf7:0x16f,_0x310a9a:0x15b,_0x59e914:0x60,_0x3c9ca1:0x56,_0x3a2bf9:0x164,_0x3a82fb:0x157,_0x2213ff:0x16f,_0x8cab46:0x179,_0x25ae20:0x172,_0x5176da:0x186,_0x28585c:0x6e,_0x1d4fd1:0x70,_0x383377:0x5a,_0x3a9434:0x64},_0x5a097a={_0x409192:0x91};let {exit:_0xfa59a6}=_0x420261();function _0x46b5ce(_0x156088,_0x328b38,_0x16750e,_0xbceb2c){return _0x4603(_0x156088-0x83,_0xbceb2c);}function _0x5a0bd5(_0x5eb8bf,_0x1c3549,_0x73db35,_0x56c492){return _0x4603(_0x1c3549- -_0x5a097a._0x409192,_0x56c492);}return _0x23c0bd(()=>{let _0x193be6=setTimeout(()=>{_0xfa59a6();},0x12c);return()=>clearTimeout(_0x193be6);},[_0xfa59a6]),_0x418658(_0x2ac791,{'flexDirection':_0x5a0bd5(_0x40f1ac._0x2856bb,0x5e,0x63,0x6d),'height':_0x46b5ce(0x17e,0x18d,_0x40f1ac._0x2cb67f,0x17e),'width':_0x46b5ce(_0x40f1ac._0x5458be,0x183,_0x40f1ac._0x324ba3,0x16f),'children':[_0x125f67(_0x445764,{'messages':_0x4d9327},_0x46b5ce(_0x40f1ac._0x5c0bf7,0x167,0x16b,0x17f)),_0x125f67(_0x4df92d,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x125f67(_0x110fa4,{'status':_0x46b5ce(0x167,0x16d,0x16d,_0x40f1ac._0x310a9a),'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0x5a0bd5(_0x40f1ac._0x59e914,_0x40f1ac._0x3c9ca1,0x59,0x53),'workingDirectory':process[_0x46b5ce(_0x40f1ac._0x3a2bf9,_0x40f1ac._0x3a82fb,_0x40f1ac._0x2213ff,0x156)]()}),_0x125f67(_0x2ac791,{'paddingX':0x1,'borderStyle':'single','borderColor':_0x46b5ce(_0x40f1ac._0x8cab46,_0x40f1ac._0x25ae20,0x177,_0x40f1ac._0x5176da),'marginTop':-0x1,'children':_0x418658(_0x7fc614,{'color':_0x5a0bd5(_0x40f1ac._0x28585c,0x65,0x5a,_0x40f1ac._0x1d4fd1),'children':[_0x5a0bd5(0x65,0x61,_0x40f1ac._0x383377,_0x40f1ac._0x3a9434),_0x13182a,_0x5a0bd5(_0x40f1ac._0x383377,0x68,0x60,0x5a)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0x510d09,metadata:_0x59a3ae,messageCount:_0x414a59}){return _0x125f67(_0x20f9b6,{'children':_0x125f67(_0x43885b,{'initialConfig':b,'children':_0x125f67(_0x4d56b7,{'children':_0x125f67(_0x2575db,{'orchestratorManager':null,'requireToolApproval':!0x1,'onError':_0x4004fb=>console['error'](_0x4004fb),'children':_0x125f67(_0x4eb67a,{'children':_0x125f67(N,{'messages':_0x510d09,'metadata':_0x59a3ae,'messageCount':_0x414a59})})})})})});}var P=class{constructor(_0x1748e1){const _0x2800d9={_0x4bcb29:0x331,_0x4ab3b0:0x328};function _0x346465(_0x2f163c,_0x2959ea,_0x1df77c,_0x90d30){return _0x4603(_0x90d30-0x235,_0x2959ea);}this[_0x346465(0x324,_0x2800d9._0x4bcb29,0x331,_0x2800d9._0x4ab3b0)]=_0x1748e1;}async['run'](){const _0x387471={_0x10f57f:0x283,_0x44fb84:0x298,_0x1a7366:0x289,_0x3c5c81:0x292,_0x5b09a0:0x286,_0x1336a4:0x293,_0x392cd7:0x28a,_0x251165:0x294,_0x121621:0x291,_0x381f18:0x58,_0x16e484:0x66,_0x3e1cd0:0x5f,_0x2bc1e1:0x28f,_0x32b086:0x27b,_0x372e27:0x288,_0x39c715:0x2a4,_0x3b75ca:0x294,_0x11a57d:0x29a,_0x5e9c85:0x76,_0x84ca97:0x275,_0x2b3f04:0x289,_0x14fef2:0x2a2,_0x5d1d6e:0x29f,_0x3fd5b7:0x2a6,_0x49d640:0x28e,_0x933885:0x296,_0x3f1ad2:0x29e,_0x418890:0x2a1,_0x598cc6:0x299,_0x4ac357:0x71,_0x468f36:0x63,_0x5bff5e:0x6a,_0x31c410:0x81,_0x46e936:0x2a0,_0x1735a5:0x2a3,_0x16cfb4:0x295,_0x476b2e:0x77,_0x315d47:0x70,_0x100d3f:0x28d,_0x4b9523:0x289,_0x279054:0x299,_0x38d2c3:0x6b},_0x1576e7={_0xb081b4:0x1a2},_0x11a75d={_0x3a3f7c:0x15d};function _0x290499(_0x2de140,_0x18969,_0xe41610,_0x16e6e5){return _0x4603(_0xe41610- -_0x11a75d._0x3a3f7c,_0x16e6e5);}function _0x4c395b(_0x408bc0,_0x53be42,_0x31dd84,_0x57d9bb){return _0x4603(_0x57d9bb-_0x1576e7._0xb081b4,_0x31dd84);}try{let _0xf4140d=_0x5a167b[_0x4c395b(_0x387471._0x10f57f,_0x387471._0x44fb84,_0x387471._0x1a7366,_0x387471._0x3c5c81)](this[_0x4c395b(0x295,0x2a4,0x2a0,0x295)]),_0x9a32e5=await _0x5a58ea[_0x4c395b(0x27f,0x288,_0x387471._0x5b09a0,0x28d)](_0xf4140d,'utf-8'),_0x1463a1=JSON['parse'](_0x9a32e5);(!_0x1463a1[_0x4c395b(_0x387471._0x1336a4,_0x387471._0x392cd7,0x279,0x288)]||_0x1463a1[_0x4c395b(0x296,_0x387471._0x251165,_0x387471._0x121621,0x288)]['length']===0x0)&&(console[_0x290499(-_0x387471._0x381f18,-_0x387471._0x16e484,-0x66,-_0x387471._0x3e1cd0)]('Error:\x20No\x20messages\x20found\x20in\x20history\x20file'),process['exit'](0x1));let _0x559b16=_0x1463a1[_0x4c395b(0x28d,_0x387471._0x2bc1e1,_0x387471._0x32b086,_0x387471._0x372e27)],_0x4e83f7=[];for(let _0x375558 of _0x559b16)_0x4e83f7[_0x4c395b(_0x387471._0x39c715,0x291,_0x387471._0x3b75ca,_0x387471._0x11a57d)](..._0x179f57(_0x375558));let _0x3bf9a3=null;for(let _0xa63277=_0x559b16['length']-0x1;_0xa63277>=0x0;_0xa63277--)if(_0x559b16[_0xa63277][_0x290499(-0x6f,-_0x387471._0x5e9c85,-0x7e,-0x6e)]===_0x4c395b(0x28d,_0x387471._0x84ca97,_0x387471._0x2b3f04,0x285)){_0x3bf9a3={'totalTokens':0x0};break;}console[_0x4c395b(0x2a5,_0x387471._0x14fef2,0x2ac,_0x387471._0x5d1d6e)](),console['log']('\x1bc');let {waitUntilExit:_0x24f2c5}=_0x1d4438(_0x125f67(S,{'messages':_0x4e83f7,'metadata':_0x3bf9a3,'messageCount':_0x559b16[_0x4c395b(_0x387471._0x3fd5b7,0x2a5,_0x387471._0x49d640,0x29e)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x24f2c5();}catch(_0x4cc301){if(_0x4cc301['code']==='ENOENT')console[_0x4c395b(_0x387471._0x933885,_0x387471._0x3f1ad2,_0x387471._0x418890,_0x387471._0x598cc6)](_0x4c395b(0x294,0x291,0x28c,0x287)+this[_0x290499(-_0x387471._0x4ac357,-_0x387471._0x468f36,-_0x387471._0x5bff5e,-0x5f)]);else{if(_0x4cc301 instanceof SyntaxError)console['error'](_0x290499(-0x7f,-0x77,-0x75,-_0x387471._0x31c410)+this[_0x4c395b(_0x387471._0x14fef2,_0x387471._0x46e936,_0x387471._0x1735a5,_0x387471._0x16cfb4)]);else{let _0x36b1ec=_0x4cc301 instanceof Error?_0x4cc301[_0x290499(-_0x387471._0x476b2e,-0x79,-_0x387471._0x315d47,-0x80)]:String(_0x4cc301);console[_0x4c395b(_0x387471._0x100d3f,_0x387471._0x4b9523,_0x387471._0x279054,_0x387471._0x279054)]('Error\x20loading\x20demo:\x20'+_0x36b1ec);}}process[_0x290499(-0x76,-_0x387471._0x38d2c3,-0x74,-_0x387471._0x5bff5e)](0x1);}}};export{P as DemoMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5538(){var _0x1df3d2=['nJa0mdq1mMLRtvjgtW','mtyXsg5LqxH1','mZuWnZyXCxvsEffx','oxD3vhPYqq','nJKWndCYD2v1sgDq','mti3nJG2ofb0yuPqDW','nteYmZm2AgnKu2zs','nZe3mJK5q0rezxDV','nuLiAwrmva','otmZoty4mejZBe92za','ndq0qKPmwuzM','mtvhC3jkANi'];_0x5538=function(){return _0x1df3d2;};return _0x5538();}(function(_0x510bb3,_0xd94500){var _0x5e3f4d={_0x524018:0x16a,_0x72c9f3:0x166,_0x3c2c50:0x163,_0x1efd46:0x1a8,_0x5dd7bf:0x1a4,_0x41d924:0x19c,_0x18df5f:0x19a,_0x248615:0x19e,_0x110b3e:0x162,_0x34b69f:0x165,_0x3b4c23:0x167,_0x4383bc:0x15c,_0x5e71d5:0x15e,_0x350ca1:0x15a,_0x5bf014:0x16d,_0x2e6b50:0x1a1,_0x2e00a1:0x19d,_0x1c1716:0x1a3,_0x44ddc7:0x169,_0x4baf6b:0x19e,_0x535f8b:0x1a0,_0x5d3286:0x15a},_0x2c8757={_0x1db0eb:0xd2};function _0x37bfa9(_0x267d2c,_0x5d80fd,_0x5eaf8d,_0x3d2100){return _0x115b(_0x5d80fd-_0x2c8757._0x1db0eb,_0x267d2c);}function _0x244947(_0x3778a3,_0x45347d,_0x26ca04,_0x21a453){return _0x115b(_0x45347d- -0x22f,_0x3778a3);}var _0x38f78b=_0x510bb3();while(!![]){try{var _0x5079ab=parseInt(_0x244947(-0x165,-0x168,-0x16a,-_0x5e3f4d._0x524018))/0x1+-parseInt(_0x244947(-0x163,-_0x5e3f4d._0x72c9f3,-_0x5e3f4d._0x3c2c50,-0x162))/0x2*(parseInt(_0x37bfa9(0x1a4,0x1a2,_0x5e3f4d._0x1efd46,_0x5e3f4d._0x5dd7bf))/0x3)+parseInt(_0x37bfa9(0x19e,_0x5e3f4d._0x41d924,_0x5e3f4d._0x18df5f,_0x5e3f4d._0x248615))/0x4*(parseInt(_0x244947(-0x167,-_0x5e3f4d._0x110b3e,-_0x5e3f4d._0x34b69f,-_0x5e3f4d._0x3b4c23))/0x5)+-parseInt(_0x244947(-_0x5e3f4d._0x4383bc,-_0x5e3f4d._0x5e71d5,-0x15b,-_0x5e3f4d._0x350ca1))/0x6+parseInt(_0x244947(-0x16e,-0x169,-0x169,-_0x5e3f4d._0x5bf014))/0x7*(parseInt(_0x37bfa9(_0x5e3f4d._0x2e6b50,_0x5e3f4d._0x2e00a1,_0x5e3f4d._0x2e00a1,_0x5e3f4d._0x1c1716))/0x8)+-parseInt(_0x244947(-0x16a,-0x167,-0x167,-_0x5e3f4d._0x44ddc7))/0x9*(parseInt(_0x244947(-0x162,-0x161,-0x160,-0x15c))/0xa)+parseInt(_0x37bfa9(_0x5e3f4d._0x2e00a1,_0x5e3f4d._0x4baf6b,_0x5e3f4d._0x535f8b,0x19a))/0xb*(parseInt(_0x244947(-0x161,-0x160,-_0x5e3f4d._0x34b69f,-_0x5e3f4d._0x5d3286))/0xc);if(_0x5079ab===_0xd94500)break;else _0x38f78b['push'](_0x38f78b['shift']());}catch(_0x4dbf91){_0x38f78b['push'](_0x38f78b['shift']());}}}(_0x5538,0xd8fd3));import{a,b,c,d}from'./chunk-NWZGLSYF.js';function _0x115b(_0x374e87,_0x1c91a8){var _0x55388a=_0x5538();return _0x115b=function(_0x115b1c,_0x284022){_0x115b1c=_0x115b1c-0xc6;var _0x3e100e=_0x55388a[_0x115b1c];if(_0x115b['xZmiWk']===undefined){var _0x588e0c=function(_0x539582){var _0x3918c5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x16357f='',_0x38402b='';for(var _0x14af68=0x0,_0x573272,_0x16a31b,_0x82cb73=0x0;_0x16a31b=_0x539582['charAt'](_0x82cb73++);~_0x16a31b&&(_0x573272=_0x14af68%0x4?_0x573272*0x40+_0x16a31b:_0x16a31b,_0x14af68++%0x4)?_0x16357f+=String['fromCharCode'](0xff&_0x573272>>(-0x2*_0x14af68&0x6)):0x0){_0x16a31b=_0x3918c5['indexOf'](_0x16a31b);}for(var _0x3021c2=0x0,_0x7b7096=_0x16357f['length'];_0x3021c2<_0x7b7096;_0x3021c2++){_0x38402b+='%'+('00'+_0x16357f['charCodeAt'](_0x3021c2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x38402b);};_0x115b['QQebep']=_0x588e0c,_0x374e87=arguments,_0x115b['xZmiWk']=!![];}var _0x30f7d2=_0x55388a[0x0],_0x1a23fc=_0x115b1c+_0x30f7d2,_0x14507f=_0x374e87[_0x1a23fc];return!_0x14507f?(_0x3e100e=_0x115b['QQebep'](_0x3e100e),_0x374e87[_0x1a23fc]=_0x3e100e):_0x3e100e=_0x14507f,_0x3e100e;},_0x115b(_0x374e87,_0x1c91a8);}export{a as flattenError,b as flattenObject,d as processMessageToUILines,c as renderToolCall};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x50709e,_0x2a3bb7){const _0xf7a8f6={_0x39313e:0xf3,_0x125d27:0xe1,_0x104f2d:0x126,_0x3cb16a:0x10d,_0x2203db:0xfc,_0x29850f:0xdf,_0x128267:0x144,_0x5a184b:0x10f,_0x1bbb87:0x41e,_0x164b6f:0x412,_0xe60da9:0x404,_0x2367ab:0x401,_0x5f587f:0x424,_0x44dad9:0x43b,_0x2c555c:0x102,_0x2b3d1b:0x101,_0x13720a:0xf4,_0x333eb4:0x3db,_0x3beb48:0x3fe,_0x202a8:0x133,_0xf7bee9:0x150,_0x1ee411:0x130};function _0x3a329d(_0x11f83e,_0x581582,_0x36b53a,_0x28e6aa){return _0xb5f3(_0x36b53a-0x219,_0x581582);}function _0x58c622(_0x4662de,_0xcc663,_0x172cc1,_0x11efa5){return _0xb5f3(_0xcc663- -0x313,_0x172cc1);}const _0x4e85cd=_0x50709e();while(!![]){try{const _0xb58693=parseInt(_0x58c622(-_0xf7a8f6._0x39313e,-0xf3,-0x109,-_0xf7a8f6._0x125d27))/0x1+-parseInt(_0x58c622(-_0xf7a8f6._0x104f2d,-_0xf7a8f6._0x3cb16a,-0x118,-0x103))/0x2+-parseInt(_0x58c622(-0xea,-_0xf7a8f6._0x2203db,-_0xf7a8f6._0x29850f,-_0xf7a8f6._0x2203db))/0x3*(parseInt(_0x3a329d(0x44b,0x41f,0x43a,0x437))/0x4)+parseInt(_0x58c622(-_0xf7a8f6._0x128267,-0x123,-0x140,-_0xf7a8f6._0x5a184b))/0x5*(-parseInt(_0x3a329d(_0xf7a8f6._0x1bbb87,0x407,0x425,0x445))/0x6)+parseInt(_0x3a329d(0x3fe,_0xf7a8f6._0x164b6f,0x3f8,_0xf7a8f6._0xe60da9))/0x7+-parseInt(_0x3a329d(_0xf7a8f6._0x2367ab,_0xf7a8f6._0x5f587f,0x427,_0xf7a8f6._0x44dad9))/0x8*(-parseInt(_0x58c622(-0xf8,-_0xf7a8f6._0x2c555c,-_0xf7a8f6._0x2b3d1b,-_0xf7a8f6._0x13720a))/0x9)+parseInt(_0x3a329d(0x3fa,_0xf7a8f6._0x333eb4,_0xf7a8f6._0x3beb48,0x400))/0xa*(parseInt(_0x58c622(-0x13d,-_0xf7a8f6._0x202a8,-_0xf7a8f6._0xf7bee9,-_0xf7a8f6._0x1ee411))/0xb);if(_0xb58693===_0x2a3bb7)break;else _0x4e85cd['push'](_0x4e85cd['shift']());}catch(_0x59d073){_0x4e85cd['push'](_0x4e85cd['shift']());}}}(_0x2f6b,0xef6fa));import{a as _0x1a6e90,b as _0x48202a}from'./chunk-BJASH6JU.js';var a=class{constructor(){const _0x2e9fde={_0x1e54b6:0x1e0,_0x43f170:0x201,_0x4b213c:0x10a,_0x16e53c:0xea},_0x19a28e={_0x2a0208:0xa},_0x428e2c={_0x3974c0:0xf4};function _0x538751(_0x1efa29,_0x2705f8,_0x26239d,_0x1dedbc){return _0xb5f3(_0x1dedbc- -_0x428e2c._0x3974c0,_0x26239d);}function _0x5ed012(_0x39f55f,_0x4c360c,_0x1b3e58,_0x331a3c){return _0xb5f3(_0x331a3c-_0x19a28e._0x2a0208,_0x39f55f);}this[_0x5ed012(0x21c,_0x2e9fde._0x1e54b6,0x202,_0x2e9fde._0x43f170)]=new _0x48202a(console[_0x538751(0xc4,0xcb,_0x2e9fde._0x4b213c,_0x2e9fde._0x16e53c)]);}async['handleProfileCommand'](_0x206d54){const _0x16e4e9={_0x319d5c:0x32d,_0x5b6f69:0x2f6,_0x5c9e13:0x361,_0x25aa1f:0x39c,_0x464ec5:0x39a,_0x26bcf7:0x323,_0x17823e:0x30f,_0xf7a212:0x36c,_0x2564f0:0x36b,_0x581b8c:0x369,_0x208de1:0x314,_0x43d413:0x307,_0x27288d:0x2f7,_0x3197ea:0x2eb,_0x13831c:0x2d7,_0x2b0dda:0x2ea,_0x39508a:0x3a0,_0x21fb73:0x39d,_0x185b6b:0x3c1,_0x3d99a1:0x2fc,_0x2ac54e:0x2e6,_0x33a736:0x314,_0x1ed0e3:0x32b,_0x5c22b6:0x338,_0x246a57:0x380,_0x4a1bde:0x381,_0x4cfddf:0x383,_0x5572a0:0x380,_0x5db2e8:0x382,_0x40857f:0x313,_0x4655ce:0x302,_0xb152e4:0x35f,_0x4680b6:0x384,_0x7a6627:0x3a3,_0x22f8c9:0x320,_0x49bd16:0x312,_0x1e4919:0x32b,_0x3aea72:0x315,_0x5ce651:0x2f5,_0x54c6ba:0x36d,_0x1d7b2b:0x37a,_0x5a61db:0x38b},_0x52eb5c={_0x3717fa:0x111};function _0x23ed63(_0x15c20c,_0x1a8858,_0x1100d2,_0xb6b829){return _0xb5f3(_0x1a8858-0x179,_0x1100d2);}await this[_0x1de1d4(0x308,_0x16e4e9._0x319d5c,0x2f8,_0x16e4e9._0x5b6f69)][_0x23ed63(_0x16e4e9._0x5c9e13,0x381,_0x16e4e9._0x25aa1f,_0x16e4e9._0x464ec5)]();let [_0x1d8beb,..._0x1dd7d0]=_0x206d54;function _0x1de1d4(_0x116613,_0x1f2d40,_0x386b76,_0x565461){return _0xb5f3(_0x116613-_0x52eb5c._0x3717fa,_0x565461);}switch(_0x1d8beb){case _0x1de1d4(_0x16e4e9._0x26bcf7,_0x16e4e9._0x17823e,0x310,0x328):await this[_0x23ed63(_0x16e4e9._0xf7a212,_0x16e4e9._0x2564f0,0x38c,_0x16e4e9._0x581b8c)]();break;case _0x1de1d4(0x333,0x33d,_0x16e4e9._0x208de1,0x356):await this[_0x1de1d4(_0x16e4e9._0x43d413,_0x16e4e9._0x27288d,0x2f3,0x309)](_0x1dd7d0[0x0],_0x1dd7d0[_0x1de1d4(_0x16e4e9._0x3197ea,_0x16e4e9._0x13831c,_0x16e4e9._0x2b0dda,0x2e7)](0x1));break;case _0x23ed63(_0x16e4e9._0x39508a,_0x16e4e9._0x21fb73,_0x16e4e9._0x185b6b,0x3a3):await this['deleteProfile'](_0x1dd7d0[0x0],_0x1dd7d0[_0x1de1d4(0x2eb,0x308,_0x16e4e9._0x3d99a1,_0x16e4e9._0x2ac54e)](0x1));break;case _0x1de1d4(_0x16e4e9._0x33a736,0x2f8,_0x16e4e9._0x1ed0e3,_0x16e4e9._0x5c22b6):await this[_0x23ed63(_0x16e4e9._0x246a57,0x377,_0x16e4e9._0x4a1bde,_0x16e4e9._0x4cfddf)](_0x1dd7d0[0x0]);break;case _0x23ed63(0x377,_0x16e4e9._0x5572a0,0x381,_0x16e4e9._0x5db2e8):await this['showProfile']();break;case _0x1de1d4(_0x16e4e9._0x40857f,_0x16e4e9._0x4655ce,0x328,0x324):await this[_0x23ed63(_0x16e4e9._0xb152e4,_0x16e4e9._0x4680b6,_0x16e4e9._0x7a6627,0x361)](_0x1dd7d0[0x0],_0x1dd7d0[0x1]);break;case _0x1de1d4(0x2ff,0x311,_0x16e4e9._0x22f8c9,0x2f4):case'--help':case'-h':this['showHelp']();break;default:_0x1d8beb?(console[_0x1de1d4(_0x16e4e9._0x49bd16,_0x16e4e9._0x1e4919,_0x16e4e9._0x3aea72,_0x16e4e9._0x5ce651)](_0x23ed63(0x352,_0x16e4e9._0x54c6ba,_0x16e4e9._0x1d7b2b,0x36a)+_0x1d8beb),this[_0x23ed63(0x37a,0x38c,0x391,_0x16e4e9._0x5a61db)](),process['exit'](0x1)):this['showHelp']();}}async['listProfiles'](){const _0x2784ed={_0x3fddb4:0x4f9,_0x323f02:0x53e,_0x335722:0x51d,_0x3b5325:0x39d,_0xa4efef:0x374,_0x550685:0x50b,_0x546f2a:0x4e9,_0x705654:0x4f8,_0x2b23c1:0x515,_0x11d1e0:0x527,_0x18d51c:0x502,_0x5762c1:0x37a,_0x9fb5ed:0x39f,_0x5bfa88:0x531,_0x507541:0x521,_0x32aa4b:0x521,_0x45fcfa:0x4f4,_0x3d1b57:0x500,_0x55c93f:0x51c,_0x41643f:0x4fc,_0xf8025c:0x3d0,_0x304e7c:0x3ba,_0x5e6c6f:0x3d5,_0x571eca:0x520,_0x411a50:0x507,_0x4e7357:0x4f1,_0x7f6fb9:0x37e,_0x4ed7d2:0x368,_0x599d8f:0x365,_0x14df11:0x3a9,_0x202712:0x35e,_0x34b3cd:0x515,_0x561ae8:0x51e,_0x5af80d:0x39a,_0x4a4743:0x509,_0x355258:0x536,_0x857cac:0x54f,_0x23d004:0x382,_0x3f5303:0x390,_0x4b2aba:0x36f,_0x55d27c:0x3b7,_0x325ac8:0x386,_0x51f365:0x529,_0x495963:0x522,_0x5aa5d4:0x3ca,_0x374a55:0x3bf,_0x2db1f3:0x393,_0x2bba03:0x398,_0xce4e18:0x4ea,_0x2670bb:0x4f2,_0x23b211:0x4e1,_0x2643a1:0x4fc,_0x11b480:0x505,_0x1d4c73:0x3dc,_0x2edb9f:0x3c2},_0x399b62={_0x1cdd3a:0x30b},_0x512e06={_0x3704dc:0x19c};function _0x389731(_0x133983,_0x4fb889,_0x41f0be,_0x3d47f9){return _0xb5f3(_0x41f0be-_0x512e06._0x3704dc,_0x3d47f9);}function _0x29768c(_0x13c070,_0x37e511,_0x29f5be,_0x3798e6){return _0xb5f3(_0x29f5be-_0x399b62._0x1cdd3a,_0x3798e6);}try{let _0x10471a=await this['profileManager'][_0x29768c(_0x2784ed._0x3fddb4,_0x2784ed._0x323f02,_0x2784ed._0x335722,0x523)](),_0x1bf8c9=await this[_0x389731(_0x2784ed._0x3b5325,_0x2784ed._0xa4efef,0x393,0x384)]['getActive']();console[_0x29768c(0x4e1,_0x2784ed._0x550685,_0x2784ed._0x546f2a,_0x2784ed._0x705654)](_0x29768c(_0x2784ed._0x2b23c1,0x52e,_0x2784ed._0x11d1e0,_0x2784ed._0x18d51c)),console[_0x389731(0x378,0x372,_0x2784ed._0x5762c1,_0x2784ed._0x9fb5ed)](_0x29768c(0x52a,_0x2784ed._0x5bfa88,_0x2784ed._0x507541,0x518)),_0x10471a[_0x29768c(_0x2784ed._0x32aa4b,_0x2784ed._0x45fcfa,_0x2784ed._0x3d1b57,_0x2784ed._0x18d51c)]((_0x39439b,_0x1f667a)=>_0x39439b[_0x389731(0x3d4,0x3a7,0x3ba,0x3c1)]===_0x1a6e90?-0x1:_0x1f667a['name']===_0x1a6e90?0x1:_0x39439b[_0x29768c(0x50e,0x50b,0x529,0x535)][_0x29768c(0x4e7,0x4eb,0x4ec,0x4de)](_0x1f667a[_0x29768c(0x53f,0x53f,0x529,0x546)]));for(let _0x264c78 of _0x10471a){let _0x10f525=_0x264c78[_0x29768c(0x518,0x516,0x529,0x547)]===_0x1bf8c9?_0x29768c(_0x2784ed._0x55c93f,_0x2784ed._0x41643f,0x50f,0x4f1):'';console[_0x389731(0x38a,0x370,_0x2784ed._0x5762c1,0x387)]('\x0a'+_0x264c78[_0x389731(_0x2784ed._0xf8025c,0x397,_0x2784ed._0x304e7c,_0x2784ed._0x5e6c6f)]+_0x10f525),_0x264c78[_0x29768c(_0x2784ed._0x571eca,_0x2784ed._0x411a50,0x510,_0x2784ed._0x4e7357)]&&console[_0x389731(_0x2784ed._0x7f6fb9,_0x2784ed._0x4ed7d2,0x37a,_0x2784ed._0x599d8f)]('\x20\x20Description:\x20'+_0x264c78[_0x389731(_0x2784ed._0x14df11,0x39a,0x3a1,0x39f)]),console[_0x389731(0x355,_0x2784ed._0x202712,0x37a,_0x2784ed._0x4ed7d2)](_0x29768c(0x51b,0x538,_0x2784ed._0x34b3cd,_0x2784ed._0x561ae8)+new Date(_0x264c78['created'])['toLocaleString']()),console['log']('\x20\x20Last\x20used:\x20'+new Date(_0x264c78[_0x29768c(_0x2784ed._0x411a50,0x51d,0x4f8,0x4e8)])[_0x389731(0x367,_0x2784ed._0x5af80d,_0x2784ed._0x7f6fb9,0x361)]()),this[_0x29768c(_0x2784ed._0x571eca,0x50e,0x502,0x4f9)][_0x29768c(0x4e9,_0x2784ed._0x4a4743,0x507,0x521)](_0x264c78['name'])?console['log'](_0x29768c(_0x2784ed._0x355258,0x51a,0x52e,_0x2784ed._0x857cac)+this[_0x389731(_0x2784ed._0x23d004,_0x2784ed._0x3f5303,0x393,_0x2784ed._0x4b2aba)][_0x389731(_0x2784ed._0x55d27c,0x3b4,0x39c,_0x2784ed._0x325ac8)](_0x264c78[_0x29768c(0x540,0x540,_0x2784ed._0x51f365,_0x2784ed._0x495963)])):console[_0x389731(0x372,0x38d,0x37a,0x39f)](_0x389731(_0x2784ed._0x5aa5d4,0x3d0,_0x2784ed._0x374a55,0x3b9)+this[_0x389731(0x387,0x379,_0x2784ed._0x2db1f3,_0x2784ed._0x2bba03)][_0x29768c(_0x2784ed._0x18d51c,0x4f2,0x50b,0x505)](_0x264c78['name']));}console[_0x29768c(_0x2784ed._0xce4e18,0x4e5,0x4e9,0x50d)]();}catch(_0x4e3358){console[_0x29768c(0x52d,0x513,0x50c,_0x2784ed._0x2670bb)](_0x29768c(_0x2784ed._0x23b211,0x4fc,_0x2784ed._0x2643a1,_0x2784ed._0x11b480),_0x4e3358 instanceof Error?_0x4e3358[_0x389731(_0x2784ed._0x1d4c73,_0x2784ed._0x55d27c,0x3b9,_0x2784ed._0x2edb9f)]:String(_0x4e3358)),process['exit'](0x1);}}async[_0x3a715f(0x343,0x354,0x364,0x34f)](_0x15bdf4,_0x230cc4){const _0x150598={_0x2fa4b2:0x33f,_0x4acbe5:0x32b,_0x5efc95:0x18f,_0x2f4a87:0x308,_0x1e4f47:0x18d,_0x3af120:0x18c,_0x55d68d:0x1b5,_0x367763:0x1b0,_0x2775f9:0x1bc,_0x46d9c9:0x30e,_0xcdff2d:0x324,_0x250e47:0x311,_0x35a718:0x301,_0x257a7e:0x2f5,_0x1b3f33:0x33e,_0x229b08:0x306,_0x363c89:0x1cd,_0x4b61b9:0x1aa,_0x542937:0x189,_0x4206a1:0x1ab,_0x5cee05:0x30b,_0x2b1336:0x1a4,_0x525a93:0x195,_0x5bebb8:0x188,_0x529983:0x16f,_0x3b52cf:0x16b,_0xb599db:0x170,_0x2c66be:0x1bd,_0x465165:0x188,_0x3e9c31:0x180,_0xf0238:0x181,_0x137c5f:0x190,_0x2230bd:0x183,_0x1c94a1:0x19e,_0xb8bf66:0x1ca,_0xf22dcb:0x1cf,_0x2f23be:0x35c,_0x16d533:0x347},_0x42f1c1={_0x42102a:0x5d,_0x2de411:0xb0},_0x3ad914={_0x15fd88:0x87};function _0x5f5b96(_0x4b7aec,_0x16f4e2,_0xbba4b0,_0x40b4f7){return _0x3a715f(_0x4b7aec,_0x16f4e2-0x61,_0x40b4f7- -0x44,_0x40b4f7-_0x3ad914._0x15fd88);}_0x15bdf4||(console[_0x5f5b96(_0x150598._0x2fa4b2,0x337,0x32f,_0x150598._0x4acbe5)](_0xa04eea(_0x150598._0x5efc95,0x19e,0x16b,0x1b3)),console[_0x5f5b96(0x310,0x31c,0x2ec,_0x150598._0x2f4a87)]('Usage:\x20nuvin-cli\x20profile\x20create\x20<name>\x20[--description\x20\x22Description\x22]\x20[--clone-from\x20<source>]'),process[_0xa04eea(0x187,_0x150598._0x1e4f47,0x187,_0x150598._0x3af120)](0x1));function _0xa04eea(_0x12a314,_0x38df07,_0x26685d,_0x1b7c14){return _0x3a715f(_0x26685d,_0x38df07-_0x42f1c1._0x42102a,_0x12a314- -0x1c3,_0x1b7c14-_0x42f1c1._0x2de411);}try{let _0xad7100={};for(let _0x3304cb=0x0;_0x3304cb<_0x230cc4['length'];_0x3304cb+=0x2){let _0x3064b5=_0x230cc4[_0x3304cb],_0x1c9dd4=_0x230cc4[_0x3304cb+0x1];if(_0x1c9dd4)switch(_0x3064b5){case _0xa04eea(0x193,0x19c,0x18b,_0x150598._0x55d68d):case'-d':_0xad7100[_0xa04eea(_0x150598._0x367763,0x19f,_0x150598._0x2775f9,0x1a1)]=_0x1c9dd4;break;case _0x5f5b96(_0x150598._0x46d9c9,_0x150598._0xcdff2d,0x319,_0x150598._0x250e47):case'-c':_0xad7100[_0x5f5b96(_0x150598._0x35a718,0x310,_0x150598._0x257a7e,0x307)]=_0x1c9dd4;break;}}await this[_0x5f5b96(0x346,_0x150598._0x1b3f33,_0x150598._0x229b08,0x321)][_0xa04eea(_0x150598._0x363c89,_0x150598._0x4b61b9,0x1c6,0x1ce)](_0x15bdf4,_0xad7100),console[_0xa04eea(_0x150598._0x542937,0x171,0x165,_0x150598._0x4206a1)](_0x5f5b96(_0x150598._0x5cee05,0x30f,0x335,0x31d)+_0x15bdf4+_0xa04eea(_0x150598._0x2b1336,_0x150598._0x525a93,0x189,0x1a7)),_0xad7100[_0xa04eea(_0x150598._0x5bebb8,_0x150598._0x529983,_0x150598._0x3b52cf,_0x150598._0x529983)]&&console[_0xa04eea(0x189,0x164,0x163,_0x150598._0xb599db)](_0xa04eea(0x1c6,_0x150598._0x2c66be,0x1b4,0x1eb)+_0xad7100[_0xa04eea(_0x150598._0x465165,_0x150598._0x3e9c31,_0x150598._0xf0238,_0x150598._0x137c5f)]+'\x27)'),console[_0xa04eea(_0x150598._0x542937,0x189,0x18f,_0x150598._0x2230bd)]('\x20\x20\x20Path:\x20'+this['profileManager']['getProfileDir'](_0x15bdf4));}catch(_0x58c13f){console[_0xa04eea(0x1ac,_0x150598._0x1c94a1,0x1b5,0x1b9)](_0xa04eea(_0x150598._0xb8bf66,_0x150598._0x2c66be,0x1b0,_0x150598._0xf22dcb),_0x58c13f instanceof Error?_0x58c13f[_0x5f5b96(0x346,0x32f,_0x150598._0x2f23be,_0x150598._0x16d533)]:String(_0x58c13f)),process['exit'](0x1);}}async[_0x3a715f(0x355,0x369,0x35a,0x334)](_0x539a18,_0x3c28e9){const _0x59e58b={_0x2834d0:0x28e,_0x525836:0x29d,_0x3efd5b:0x245,_0x1406c8:0x266,_0x19cde7:0x1b7,_0x420a14:0x1b6,_0x5ac594:0x1db,_0x1ec9e4:0x1e8,_0x839ce5:0x1cb,_0x62e0d6:0x1c9,_0x30f37d:0x205,_0x117619:0x24e,_0x5cec93:0x23a,_0x18567d:0x1fb,_0x376ee1:0x1c0,_0x24837d:0x1c2,_0x4d9bf4:0x1e9,_0x5c0afe:0x1f1,_0x56baac:0x1fe,_0x10a408:0x1d8,_0x55952f:0x1b5,_0x583ce6:0x1b1,_0x3143d2:0x1fd,_0x4419b5:0x1e7,_0x15f601:0x1cc,_0x174feb:0x1d5,_0x7e81b4:0x28a,_0x1f7102:0x284,_0x17edaa:0x26b,_0x40c1cf:0x1bc,_0x5ccc71:0x196,_0x125947:0x19f,_0x2cb53:0x29a,_0x3c7d05:0x2a7,_0x252d92:0x25d,_0x56ec33:0x25e},_0x2bc6c0={_0x51ca44:0x168},_0x5f226a={_0x21ce98:0xe6,_0x56efbd:0x19b};function _0x30759d(_0x549573,_0x208882,_0x8426ee,_0x583ff2){return _0x3c5762(_0x583ff2,_0x208882-0x7e,_0x8426ee-_0x5f226a._0x21ce98,_0x549573- -_0x5f226a._0x56efbd);}_0x539a18||(console[_0x19543b(_0x59e58b._0x2834d0,0x261,0x283,_0x59e58b._0x525836)](_0x19543b(0x269,_0x59e58b._0x3efd5b,_0x59e58b._0x1406c8,0x27b)),console[_0x30759d(_0x59e58b._0x19cde7,_0x59e58b._0x420a14,_0x59e58b._0x5ac594,0x19d)](_0x30759d(_0x59e58b._0x1ec9e4,_0x59e58b._0x839ce5,_0x59e58b._0x62e0d6,_0x59e58b._0x30f37d)),process[_0x19543b(_0x59e58b._0x117619,0x27a,0x25e,_0x59e58b._0x5cec93)](0x1));function _0x19543b(_0x14d00c,_0x43481b,_0x1a6c79,_0x24a9f0){return _0x3a715f(_0x43481b,_0x43481b-0x1f2,_0x1a6c79- -0xec,_0x24a9f0-_0x2bc6c0._0x51ca44);}try{let _0x185626={'force':_0x3c28e9[_0x30759d(0x1d8,_0x59e58b._0x18567d,0x1d1,_0x59e58b._0x376ee1)](_0x30759d(0x1e6,0x1e7,_0x59e58b._0x24837d,_0x59e58b._0x4d9bf4))||_0x3c28e9[_0x30759d(0x1d8,_0x59e58b._0x5c0afe,_0x59e58b._0x56baac,_0x59e58b._0x10a408)]('-f')};await this[_0x30759d(0x1d0,_0x59e58b._0x55952f,_0x59e58b._0x5ac594,_0x59e58b._0x583ce6)][_0x30759d(_0x59e58b._0x3143d2,_0x59e58b._0x4419b5,0x211,_0x59e58b._0x4d9bf4)](_0x539a18,_0x185626),console['log'](_0x30759d(_0x59e58b._0x15f601,0x1be,0x1d8,_0x59e58b._0x174feb)+_0x539a18+_0x19543b(_0x59e58b._0x7e81b4,_0x59e58b._0x1f7102,_0x59e58b._0x17edaa,0x28c));}catch(_0x35be1c){console['error'](_0x30759d(_0x59e58b._0x40c1cf,_0x59e58b._0x55952f,_0x59e58b._0x5ccc71,_0x59e58b._0x125947),_0x35be1c instanceof Error?_0x35be1c[_0x19543b(0x29e,_0x59e58b._0x2cb53,0x29f,_0x59e58b._0x3c7d05)]:String(_0x35be1c)),process[_0x19543b(0x239,_0x59e58b._0x252d92,_0x59e58b._0x56ec33,0x27e)](0x1);}}async[_0x3a715f(0x388,0x360,0x36c,0x376)](_0x365148){const _0x3a3963={_0x46a128:0xcb,_0x58148c:0xed,_0x45cd87:0xea,_0x12c6cd:0x148,_0x71dc57:0x16d,_0x4bbbc1:0x16f,_0x465195:0x17c,_0x906e8:0x166,_0x2d0b7c:0x12f,_0x4c9cca:0xb1,_0x14aa8a:0xd2,_0x8f0aba:0x161,_0x553503:0x187,_0x1e8651:0x189,_0x426de9:0x16a,_0x3a85a6:0x16b,_0x9e8fcb:0xe4,_0x2640ac:0xdc,_0xfd0aac:0xdb,_0x5d093f:0xfe,_0x4da2fb:0x165,_0x3a4a77:0x18a,_0x5307ce:0x15a,_0xff8e7f:0x164,_0x22a466:0x186,_0x315183:0x129},_0xda7a7={_0x2c3a4b:0xb4,_0x178232:0xb5,_0x5b3e3d:0x287};function _0x1111b9(_0x2b626a,_0x5141af,_0x3106ee,_0x40cca1){return _0x3a715f(_0x3106ee,_0x5141af-0x14,_0x5141af- -0x4d3,_0x40cca1-0x1e0);}_0x365148||(console['error']('Error:\x20Profile\x20name\x20is\x20required'),console[_0x23d8a4(_0x3a3963._0x46a128,_0x3a3963._0x58148c,0xb6,_0x3a3963._0x45cd87)](_0x1111b9(-_0x3a3963._0x12c6cd,-_0x3a3963._0x71dc57,-_0x3a3963._0x4bbbc1,-_0x3a3963._0x465195)),console['log'](_0x1111b9(-_0x3a3963._0x906e8,-0x151,-0x163,-_0x3a3963._0x2d0b7c)),await this['listProfiles'](),process[_0x23d8a4(0xc9,0xd1,_0x3a3963._0x4c9cca,_0x3a3963._0x14aa8a)](0x1));function _0x23d8a4(_0x3a3a49,_0x4fc55e,_0x50ae8f,_0x3c953f){return _0x3c5762(_0x4fc55e,_0x4fc55e-_0xda7a7._0x2c3a4b,_0x50ae8f-_0xda7a7._0x178232,_0x3a3a49- -_0xda7a7._0x5b3e3d);}try{await this['profileManager'][_0x23d8a4(0xf0,0xd4,0xf0,0xcc)](_0x365148),console['log']('✅\x20Switched\x20to\x20profile\x20\x27'+_0x365148+'\x27'),console[_0x1111b9(-_0x3a3963._0x8f0aba,-_0x3a3963._0x553503,-_0x3a3963._0x1e8651,-0x1a8)](_0x1111b9(-0x15f,-_0x3a3963._0x426de9,-0x162,-_0x3a3963._0x3a85a6)+this[_0x23d8a4(_0x3a3963._0x9e8fcb,_0x3a3963._0x2640ac,_0x3a3963._0xfd0aac,_0x3a3963._0x5d093f)][_0x1111b9(-0x187,-_0x3a3963._0x4da2fb,-_0x3a3963._0x3a4a77,-_0x3a3963._0x5307ce)](_0x365148));}catch(_0x224d82){console[_0x1111b9(-0x160,-_0x3a3963._0xff8e7f,-_0x3a3963._0x22a466,-0x15d)]('Failed\x20to\x20switch\x20profile:',_0x224d82 instanceof Error?_0x224d82[_0x23d8a4(0x10a,_0x3a3963._0x315183,0x112,0xf5)]:String(_0x224d82)),process['exit'](0x1);}}async[_0x3a715f(0x372,0x397,0x37e,0x35a)](){const _0xe08f2e={_0x24ff9d:0x3a3,_0x55c024:0x391,_0xee53eb:0x3cb,_0x1aa9ce:0x380,_0x4c364f:0x39c,_0x5e7d87:0x71,_0x118d65:0x3e3,_0x311258:0x38c,_0x446bfe:0x3a0,_0x290fc:0x3a1,_0x4ee3c0:0x398,_0xb57a49:0x387,_0x1b5b4f:0x3b7,_0x3ff9a5:0xa0,_0x4b04b6:0x38c,_0x3bc850:0x39d,_0x447643:0x3a8,_0x380fc8:0x89,_0x337ea6:0x74,_0x14e0bf:0x65,_0x2da991:0x387,_0x28291b:0x3a5,_0x2b9c0f:0x362,_0x19bd18:0x98,_0x986185:0x8c,_0x9d7db:0xa3,_0x4a8fd9:0x90,_0x4a2427:0x3af,_0x5c5ddf:0x3b6,_0x37a45d:0x3ca,_0x3f643c:0x39b,_0x208d33:0x388,_0x27c41f:0x390,_0xa70470:0x3a0,_0x1be02a:0x38a,_0x12ee13:0x65,_0x5c2ea0:0x4d,_0xcdf3fb:0x3bf,_0x75e134:0x8a,_0x3938de:0x88,_0x2943eb:0x77,_0x149bc9:0x5e,_0x47a100:0x7d,_0x22fa3e:0x85,_0xa80753:0x89,_0x419d7a:0xa6,_0x2ff72d:0x3c7,_0x2d7c83:0x37b,_0x1d72af:0x3b0,_0x1c7d32:0x38b,_0x4c1030:0xa8,_0x22576a:0x3bb,_0x192fdc:0xb5,_0x5bd18a:0x93},_0xe3c29e={_0x7b3345:0x3dc,_0x409a48:0x1c5},_0x33fb78={_0x411334:0x4b};function _0x3cd355(_0x16d764,_0x495909,_0x2e4c8d,_0xcaa90a){return _0x3c5762(_0x2e4c8d,_0x495909-_0x33fb78._0x411334,_0x2e4c8d-0x3,_0x16d764-0x3a);}function _0x2a0751(_0x40c298,_0x3153e4,_0x5d85e6,_0x443d51){return _0x3a715f(_0x40c298,_0x3153e4-0x1bc,_0x5d85e6- -_0xe3c29e._0x7b3345,_0x443d51-_0xe3c29e._0x409a48);}try{let _0x5cfa35=await this[_0x3cd355(0x3a5,_0xe08f2e._0x24ff9d,_0xe08f2e._0x55c024,_0xe08f2e._0xee53eb)]['getActive'](),_0x5e89a9=await this[_0x3cd355(0x3a5,0x38e,_0xe08f2e._0x1aa9ce,0x3c9)][_0x3cd355(0x3c0,0x3e6,_0xe08f2e._0x4c364f,0x39b)]()['then'](_0xd9f176=>_0xd9f176[_0x3cd355(0x3c6,0x3c7,0x3af,0x3cd)](_0x16f622=>_0x16f622['name']===_0x5cfa35));console[_0x2a0751(-0x84,-0xab,-0x90,-_0xe08f2e._0x5e7d87)](_0x3cd355(0x3c3,0x3da,_0xe08f2e._0x118d65,0x3e1)),console[_0x3cd355(_0xe08f2e._0x311258,0x367,_0xe08f2e._0x446bfe,_0xe08f2e._0x290fc)](_0x3cd355(_0xe08f2e._0x4ee3c0,_0xe08f2e._0xb57a49,_0xe08f2e._0x1b5b4f,0x397)),console[_0x2a0751(-0x95,-_0xe08f2e._0x3ff9a5,-0x90,-0x96)]('Name:\x20'+_0x5cfa35),_0x5e89a9&&(_0x5e89a9['description']&&console['log']('Description:\x20'+_0x5e89a9['description']),console[_0x3cd355(_0xe08f2e._0x4b04b6,_0xe08f2e._0x3bc850,0x382,_0xe08f2e._0x447643)](_0x2a0751(-0x8d,-_0xe08f2e._0x380fc8,-_0xe08f2e._0x337ea6,-_0xe08f2e._0x14e0bf)+new Date(_0x5e89a9[_0x3cd355(_0xe08f2e._0x2da991,0x369,_0xe08f2e._0x28291b,_0xe08f2e._0x2b9c0f)])[_0x2a0751(-_0xe08f2e._0x19bd18,-0x9a,-_0xe08f2e._0x986185,-_0xe08f2e._0x5e7d87)]()),console[_0x2a0751(-0xaf,-_0xe08f2e._0x9d7db,-_0xe08f2e._0x4a8fd9,-0x7e)](_0x3cd355(0x3c8,_0xe08f2e._0x4a2427,_0xe08f2e._0x5c5ddf,_0xe08f2e._0x37a45d)+new Date(_0x5e89a9[_0x3cd355(_0xe08f2e._0x3f643c,_0xe08f2e._0x208d33,0x379,0x3c1)])['toLocaleString']())),console[_0x3cd355(0x38c,_0xe08f2e._0x27c41f,_0xe08f2e._0xa70470,_0xe08f2e._0x1be02a)](_0x2a0751(-0x71,-0x89,-_0xe08f2e._0x12ee13,-_0xe08f2e._0x5c2ea0)+this[_0x3cd355(0x3a5,0x381,_0xe08f2e._0xcdf3fb,0x386)]['getProfileDir'](_0x5cfa35)),console[_0x2a0751(-_0xe08f2e._0x75e134,-_0xe08f2e._0x3938de,-0x90,-0xa7)]('Config:\x20'+this[_0x2a0751(-0x74,-0x64,-_0xe08f2e._0x2943eb,-_0xe08f2e._0x149bc9)]['getProfileConfigPath'](_0x5cfa35)),console[_0x2a0751(-_0xe08f2e._0x47a100,-_0xe08f2e._0x22fa3e,-0x90,-_0xe08f2e._0xa80753)](_0x2a0751(-_0xe08f2e._0x419d7a,-_0xe08f2e._0x5e7d87,-0x83,-0xa5)+this['profileManager']['getProfileMcpConfigPath'](_0x5cfa35)),console['log'](_0x3cd355(_0xe08f2e._0x2ff72d,0x3da,0x3d2,0x3c1)+this['profileManager'][_0x3cd355(0x394,0x37a,_0xe08f2e._0x2d7c83,_0xe08f2e._0x1d72af)](_0x5cfa35)),console['log']('Sessions:\x20'+this[_0x3cd355(0x3a5,_0xe08f2e._0x1c7d32,0x384,0x3b9)]['getProfileSessionsDir'](_0x5cfa35)),console[_0x2a0751(-0x94,-_0xe08f2e._0x4c1030,-0x90,-0x7d)]();}catch(_0x209e34){console[_0x3cd355(0x3af,0x3d5,0x3c2,_0xe08f2e._0x22576a)](_0x2a0751(-0x79,-_0xe08f2e._0x192fdc,-_0xe08f2e._0x5bd18a,-0xa5),_0x209e34 instanceof Error?_0x209e34[_0x2a0751(-0x39,-0x5f,-0x51,-0x4e)]:String(_0x209e34)),process[_0x2a0751(-0x7b,-0x80,-0x92,-0xae)](0x1);}}async[_0x3c5762(0x377,0x375,0x361,0x37f)](_0x6a6da4,_0x550fc9){const _0x1f1040={_0x489cca:0x13,_0x200484:0x3f2,_0x299503:0x3f1,_0x2cf44a:0x40e,_0xd945f0:0x3ee,_0x9f2764:0x31,_0x8d6c94:0x4,_0x12c9e9:0x3a,_0x18c116:0x60,_0x55860f:0x40e,_0x48b4d8:0x3fd,_0x1b5c8a:0x36,_0x4aa67d:0x52,_0x33028b:0x45,_0x9a4df7:0x40d,_0x2abe8c:0x3d4,_0x5f1fd9:0x3f2,_0x52b5b0:0x3f0,_0x4509f1:0x411,_0x18e097:0x3ee,_0x467271:0x1d,_0x3f67d1:0x28,_0x21713f:0x43,_0x265c07:0xb,_0x246fef:0x436,_0xa7451e:0x3f6,_0x5824d6:0x417,_0x39da83:0x42c,_0x170de6:0x3eb,_0x512f1d:0x3e2,_0x1251b6:0x3cf,_0x141e74:0x3ec},_0x527252={_0x191ff1:0xb,_0x5dc16e:0x9c},_0x404744={_0xc13558:0xca};(!_0x6a6da4||!_0x550fc9)&&(console[_0x11ada2(0xc,0x27,0x4d,_0x1f1040._0x489cca)]('Error:\x20Both\x20source\x20and\x20target\x20profile\x20names\x20are\x20required'),console[_0x78c5a5(_0x1f1040._0x200484,_0x1f1040._0x299503,_0x1f1040._0x2cf44a,_0x1f1040._0xd945f0)](_0x11ada2(_0x1f1040._0x9f2764,0x23,0x1a,0x3f)),console[_0x11ada2(0x23,_0x1f1040._0x8d6c94,0x1e,-0x15)](_0x11ada2(0x1e,_0x1f1040._0x12c9e9,_0x1f1040._0x18c116,0x60)),await this['listProfiles'](),process['exit'](0x1));function _0x11ada2(_0x84eb51,_0x5b15ef,_0x2663ea,_0x157b47){return _0x3c5762(_0x157b47,_0x5b15ef-_0x404744._0xc13558,_0x2663ea-0xdb,_0x5b15ef- -0x34e);}function _0x78c5a5(_0x49a50a,_0x2f7707,_0x40360f,_0x32ee3f){return _0x3c5762(_0x2f7707,_0x2f7707-0xb2,_0x40360f-_0x527252._0x191ff1,_0x32ee3f-_0x527252._0x5dc16e);}try{let _0x316c33={'cloneFrom':_0x6a6da4,'description':_0x78c5a5(0x3f4,_0x1f1040._0x55860f,_0x1f1040._0x48b4d8,0x3ff)+_0x6a6da4+'\x27'};await this['profileManager'][_0x11ada2(_0x1f1040._0x1b5c8a,0x48,_0x1f1040._0x4aa67d,_0x1f1040._0x33028b)](_0x550fc9,_0x316c33),console[_0x78c5a5(_0x1f1040._0x9a4df7,_0x1f1040._0x2abe8c,0x3e0,0x3ee)]('✅\x20Profile\x20\x27'+_0x550fc9+_0x78c5a5(_0x1f1040._0x5f1fd9,0x425,_0x1f1040._0x52b5b0,0x409)),console['log']('\x20\x20\x20(cloned\x20from\x20\x27'+_0x6a6da4+'\x27)'),console[_0x78c5a5(0x414,_0x1f1040._0x4509f1,0x3f9,_0x1f1040._0x18e097)]('\x20\x20\x20Path:\x20'+this[_0x11ada2(0xc,_0x1f1040._0x467271,0x14,_0x1f1040._0x3f67d1)][_0x11ada2(0x20,0x26,_0x1f1040._0x21713f,_0x1f1040._0x265c07)](_0x550fc9));}catch(_0x4b0321){console[_0x78c5a5(0x40d,_0x1f1040._0x246fef,_0x1f1040._0xa7451e,0x411)]('Failed\x20to\x20clone\x20profile:',_0x4b0321 instanceof Error?_0x4b0321[_0x78c5a5(_0x1f1040._0x5824d6,0x41f,_0x1f1040._0x39da83,0x42d)]:String(_0x4b0321)),process[_0x78c5a5(_0x1f1040._0x170de6,_0x1f1040._0x512f1d,_0x1f1040._0x1251b6,_0x1f1040._0x141e74)](0x1);}}['showHelp'](){const _0x2ba370={_0x2ab381:0x2fc,_0x4d2e55:0x2e8,_0x64e586:0x305,_0x198d25:0x31d},_0x26cb27={_0x16a343:0xa4};function _0x150a64(_0x179ec4,_0x466776,_0x2f40b9,_0x3720bd){return _0x3c5762(_0x466776,_0x466776-0x1c4,_0x2f40b9-_0x26cb27._0x16a343,_0x179ec4- -0x56);}console[_0x150a64(_0x2ba370._0x2ab381,_0x2ba370._0x4d2e55,_0x2ba370._0x64e586,_0x2ba370._0x198d25)]('\x0aProfile\x20Management\x20Commands\x0a\x0aUsage:\x0a\x20\x20nuvin\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20profiles\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20new\x20profile\x0a\x20\x20delete\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x20a\x20profile\x0a\x20\x20switch\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20show\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20current\x20profile\x20info\x0a\x20\x20clone\x20<source>\x20<target>\x20\x20\x20\x20\x20Clone\x20an\x20existing\x20profile\x0a\x20\x20help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20this\x20help\x20message\x0a\x0aCreate\x20Options:\x0a\x20\x20--description,\x20-d\x20<text>\x20\x20\x20\x20\x20Profile\x20description\x0a\x20\x20--clone-from,\x20-c\x20<source>\x20\x20\x20\x20Clone\x20existing\x20profile\x0a\x0aDelete\x20Options:\x0a\x20\x20--force,\x20-f\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Force\x20delete\x20even\x20if\x20active\x0a\x0aExamples:\x0a\x20\x20nuvin\x20profile\x20list\x0a\x20\x20nuvin\x20profile\x20create\x20work\x20--description\x20\x22Work\x20projects\x22\x0a\x20\x20nuvin\x20profile\x20switch\x20work\x0a\x20\x20nuvin\x20profile\x20clone\x20work\x20client-project\x0a\x20\x20nuvin\x20profile\x20delete\x20old-project\x20--force\x0a\x20\x20nuvin\x20profile\x20show\x0a\x0aNote:\x20The\x20\x27default\x27\x20profile\x20is\x20reserved\x20and\x20cannot\x20be\x20deleted.\x0aThe\x20default\x20profile\x20uses\x20the\x20root\x20~/.nuvin-cli\x20directory.\x0a');}};function _0xb5f3(_0x28414d,_0x3ae160){const _0x2f6b7d=_0x2f6b();return _0xb5f3=function(_0xb5f35c,_0x342b83){_0xb5f35c=_0xb5f35c-0x1d9;let _0x4a6fad=_0x2f6b7d[_0xb5f35c];if(_0xb5f3['bhcDdU']===undefined){var _0x390b6f=function(_0x1a6e90){const _0x48202a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x206d54='',_0x1d8beb='';for(let _0x1dd7d0=0x0,_0x10471a,_0x1bf8c9,_0x39439b=0x0;_0x1bf8c9=_0x1a6e90['charAt'](_0x39439b++);~_0x1bf8c9&&(_0x10471a=_0x1dd7d0%0x4?_0x10471a*0x40+_0x1bf8c9:_0x1bf8c9,_0x1dd7d0++%0x4)?_0x206d54+=String['fromCharCode'](0xff&_0x10471a>>(-0x2*_0x1dd7d0&0x6)):0x0){_0x1bf8c9=_0x48202a['indexOf'](_0x1bf8c9);}for(let _0x1f667a=0x0,_0x264c78=_0x206d54['length'];_0x1f667a<_0x264c78;_0x1f667a++){_0x1d8beb+='%'+('00'+_0x206d54['charCodeAt'](_0x1f667a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1d8beb);};_0xb5f3['mfrpGZ']=_0x390b6f,_0x28414d=arguments,_0xb5f3['bhcDdU']=!![];}const _0x314428=_0x2f6b7d[0x0],_0x39ec09=_0xb5f35c+_0x314428,_0x5a8c32=_0x28414d[_0x39ec09];return!_0x5a8c32?(_0x4a6fad=_0xb5f3['mfrpGZ'](_0x4a6fad),_0x28414d[_0x39ec09]=_0x4a6fad):_0x4a6fad=_0x5a8c32,_0x4a6fad;},_0xb5f3(_0x28414d,_0x3ae160);}function _0x2f6b(){const _0x3539ac=['tgfZDcb1C2vKoIa','icaGkgnSB25LzcbMCM9TicC','cKf2ywLSywjSzsbqCM9MAwXLCZO','BwvZC2fNzq','BMfTzq','rMfPBgvKihrVignYzwf0zsbWCM9MAwXLoG','ode2nduYC0zXsNbO','ntu2DNDRqMfH','y3jLyxrL','icbqyxrOoIa','zgvSzxrL','y3jLyxrLza','C2XPy2u','rMfPBgvKihrVihnOB3CGChjVzMLSztO','zxHPDa','y2XVBMvgCM9T','Bg9N','nZe3mZi0m1v3Afbjsa','mJGWmZL1vgrZu0m','Bg9JywXLq29TCgfYzq','Dg9mB2nHBgvtDhjPBMC','rMfPBgvKihrVigrLBgv0zsbWCM9MAwXLoG','rxjYB3i6ifbYB2zPBguGBMfTzsbPCYbYzxf1AxjLza','oteWvK1Aqxbi','z2v0uhjVzMLSzufNzw50C0rPCG','ls1JBg9Uzs1MCM9T','ls1KzxnJCMLWDgLVBG','jYbKzwXLDgvKihn1y2nLC3nMDwXSEq','pt09pt09pt09pt09pt09pq','tunqienVBMzPzZOG','zgvSzxrLuhjVzMLSzq','BgfZDfvZzwq','AgvSCa','q2XVBMuGB2yGjW','mZvOrhjztwK','rMfPBgvKihrVigXPC3qGChjVzMLSzxm6','BgLZDfbYB2zPBgvZ','4PYfifbYB2zPBguGjW','vw5RBM93BIbWCM9MAwXLignVBw1HBMq6ia','C29YDa','y3jLyxrLuhjVzMLSzq','ChjVzMLSzu1HBMfNzxi','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLihn3AxrJAca8BMfTzt4','jYbJCMvHDgvKihn1y2nLC3nMDwXSEq','q3jLyxrLzdOG','icaGugf0AdOG','AxnezwzHDwX0','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignSB25LidXZB3vYy2u+idX0yxjNzxq+','C3DPDgnOuhjVzMLSzq','Aw5JBhvKzxm','z2v0uhjVzMLSzurPCG','zxjYB3i','y2XVBMu','C3DPDgnO','ifTbq1rjvKvD','zgvZy3jPChrPB24','mtm3mtuYmhjWywLsDq','C2HVDW','Aw5PDgLHBgL6zq','ugf0AdOG','icbdCMvHDgvKoIa','y2XVBMvqCM9MAwXL','mJaZnJK0qvP5C0vS','ls1MB3jJzq','ogPurhrjua','vxnHz2u6ig51DMLUihbYB2zPBguGzgvSzxrLidXUyw1LpIbBls1MB3jJzv0','C2HVD1bYB2zPBgu','mZi5mZG1nNDwyvveyW','BgLZDa','C2HVD0HLBha','qxzHAwXHyMXLihbYB2zPBgvZoG','cKn1CNjLBNqGuhjVzMLSztO','pt09pt09pt09pt09pt09pt09pq','mte1ndDPtwX4EK0','zMLUza','qwDLBNrZoIa'];_0x2f6b=function(){return _0x3539ac;};return _0x2f6b();}function _0x3c5762(_0x528e6a,_0x4ccf58,_0x5cc53d,_0x578a80){return _0xb5f3(_0x578a80-0x174,_0x528e6a);}function _0x3a715f(_0x29f7a6,_0x4c4a35,_0x3b8eea,_0x13582f){return _0xb5f3(_0x3b8eea-0x16e,_0x29f7a6);}export{a as ProfileCliHandler};
|
|
1
|
+
function _0x2eb4(){const _0x36ca7e=['u2vZC2LVBNm6ia','zgvZy3jPChrPB24','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignYzwf0zsa8BMfTzt4GwY0TzgvZy3jPChrPB24GiKrLC2nYAxb0Aw9UiL0GwY0Ty2XVBMuTzNjVBsa8C291CMnLpL0','BgLZDa','ifTbq1rjvKvD','pt09pt09pt09pt09pt09pt09pq','icaGugf0AdOG','mZC0nda2ou9VuKTdtq','z2v0uhjVzMLSzufNzw50C0rPCG','ndjMuwnHz2C','ChjVzMLSzu1HBMfNzxi','AgvSCa','z2v0uhjVzMLSzu1JCenVBMzPz1bHDgG','BgfZDfvZzwq','C2HVDW','odiYnJm1wNvfy3Lg','BwvZC2fNzq','q2XVBMuGB2yGjW','q3jLyxrLzdOG','mtu4oda0mJbSA1jUuKK','C2HVD0HLBha','qwDLBNrZoIa','zgvSzxrL','y2XVBMvgCM9T','Dg9mB2nHBgvtDhjPBMC','Bg9JywXLq29TCgfYzq','icaGkgnSB25LzcbMCM9TicC','C2HVD1bYB2zPBgu','y2XVBMvqCM9MAwXL','rMfPBgvKihrVihnOB3CGChjVzMLSztO','Bg9N','mJGZmtaYmgDKugn5rq','cKf2ywLSywjSzsbqCM9MAwXLCZO','rxjYB3i6ifbYB2zPBguGBMfTzsbPCYbYzxf1AxjLza','ls1MB3jJzq','Aw5JBhvKzxm','y3jLyxrL','mZaWngTMAe1PAa','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignSB25LidXZB3vYy2u+idX0yxjNzxq+','cLbYB2zPBguGtwfUywDLBwvUDcbdB21Tyw5KCWOkvxnHz2u6cIaGBNv2Aw4GChjVzMLSzsa8y29TBwfUzd4Gw29WDgLVBNnDcGPdB21Tyw5KCZOkicbSAxn0icaGicaGicaGicaGicaGicaGicaGicaGtgLZDcbHBgWGChjVzMLSzxmkicbJCMvHDguGpg5HBwu+icaGicaGicaGicaGicaGq3jLyxrLigeGBMv3ihbYB2zPBgukicbKzwXLDguGpg5HBwu+icaGicaGicaGicaGicaGrgvSzxrLigeGChjVzMLSzqOGihn3AxrJAca8BMfTzt4GicaGicaGicaGicaGicbtD2L0y2GGywn0AxzLihbYB2zPBgukicbZAg93icaGicaGicaGicaGicaGicaGicaGicaGu2HVDYbJDxjYzw50ihbYB2zPBguGAw5MBWOGignSB25LidXZB3vYy2u+idX0yxjNzxq+icaGicbdBg9UzsbHBIbLEgLZDgLUzYbWCM9MAwXLcIaGAgvSCcaGicaGicaGicaGicaGicaGicaGicaGifnOB3CGDgHPCYbOzwXWig1LC3nHz2ukcKnYzwf0zsbpChrPB25ZoGOGic0TzgvZy3jPChrPB24Sic1KidX0zxH0pIaGicaGuhjVzMLSzsbKzxnJCMLWDgLVBGOGic0Ty2XVBMuTzNjVBsWGlwmGphnVDxjJzt4GicaGq2XVBMuGzxHPC3rPBMCGChjVzMLSzqOkrgvSzxrLie9WDgLVBNm6cIaGls1MB3jJzsWGlwyGicaGicaGicaGicaGicaGicbgB3jJzsbKzwXLDguGzxzLBIbPzIbHy3rPDMukcKv4yw1WBgvZoGOGig51DMLUihbYB2zPBguGBgLZDaOGig51DMLUihbYB2zPBguGy3jLyxrLihDVCMSGls1KzxnJCMLWDgLVBIaIv29YAYbWCM9Qzwn0CYikicbUDxzPBIbWCM9MAwXLihn3AxrJAcb3B3jRcIaGBNv2Aw4GChjVzMLSzsbJBg9Uzsb3B3jRignSAwvUDc1WCM9Qzwn0cIaGBNv2Aw4GChjVzMLSzsbKzwXLDguGB2XKlxbYB2PLy3qGls1MB3jJzqOGig51DMLUihbYB2zPBguGC2HVDWOktM90ztOGvgHLicDKzwzHDwX0jYbWCM9MAwXLigLZihjLC2vYDMvKigfUzcbJyw5UB3qGyMuGzgvSzxrLzc4kvgHLigrLzMf1BhqGChjVzMLSzsb1C2vZihrOzsbYB290ih4VlM51DMLUlwnSAsbKAxjLy3rVCNKUcG','z2v0qwn0AxzL','zxjYB3i','rMfPBgvKihrVigXPC3qGChjVzMLSzxm6','C2XPy2u','jYbKzwXLDgvKihn1y2nLC3nMDwXSEq','cKn1CNjLBNqGuhjVzMLSztO','icbmyxn0ihvZzwq6ia','rgvZy3jPChrPB246ia','nZmZmdG2meHctwXuwa','C3DPDgnOuhjVzMLSzq','ugf0AdOG','4PYfifbYB2zPBguGjW','zgvSzxrLuhjVzMLSzq','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','AgfUzgXLuhjVzMLSzunVBw1HBMq','nJfpr09KsuS','zMLUza','rMfPBgvKihrVignYzwf0zsbWCM9MAwXLoG','icbqyxrOoIa','m2fcrLD3vq','mtaWnZu2mZjTt0PKv2C','y3jLyxrLuhjVzMLSzq','z2v0uhjVzMLSzurPCG','DgHLBG','BgvUz3rO','BMfTzq','zxHPDa','BgLZDfbYB2zPBgvZ','Aw5PDgLHBgL6zq','4PYfifn3AxrJAgvKihrVihbYB2zPBguGjW','rMfPBgvKihrVignSB25LihbYB2zPBgu6'];_0x2eb4=function(){return _0x36ca7e;};return _0x2eb4();}function _0x1476(_0x2cb9c9,_0x13aa94){const _0x2eb485=_0x2eb4();return _0x1476=function(_0x1476f8,_0x54fcca){_0x1476f8=_0x1476f8-0x170;let _0x21fed3=_0x2eb485[_0x1476f8];if(_0x1476['qAGGkR']===undefined){var _0x7963aa=function(_0x5d477b){const _0x171c77='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x12ecf1='',_0x1a6ad7='';for(let _0x11d80d=0x0,_0x1c7e5a,_0x5c0a2c,_0x590c08=0x0;_0x5c0a2c=_0x5d477b['charAt'](_0x590c08++);~_0x5c0a2c&&(_0x1c7e5a=_0x11d80d%0x4?_0x1c7e5a*0x40+_0x5c0a2c:_0x5c0a2c,_0x11d80d++%0x4)?_0x12ecf1+=String['fromCharCode'](0xff&_0x1c7e5a>>(-0x2*_0x11d80d&0x6)):0x0){_0x5c0a2c=_0x171c77['indexOf'](_0x5c0a2c);}for(let _0x141fbf=0x0,_0x53b850=_0x12ecf1['length'];_0x141fbf<_0x53b850;_0x141fbf++){_0x1a6ad7+='%'+('00'+_0x12ecf1['charCodeAt'](_0x141fbf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a6ad7);};_0x1476['ErTXZQ']=_0x7963aa,_0x2cb9c9=arguments,_0x1476['qAGGkR']=!![];}const _0x484f89=_0x2eb485[0x0],_0x5691bd=_0x1476f8+_0x484f89,_0x11a11f=_0x2cb9c9[_0x5691bd];return!_0x11a11f?(_0x21fed3=_0x1476['ErTXZQ'](_0x21fed3),_0x2cb9c9[_0x5691bd]=_0x21fed3):_0x21fed3=_0x11a11f,_0x21fed3;},_0x1476(_0x2cb9c9,_0x13aa94);}(function(_0x48cf06,_0x4b3a05){const _0xa7d416={_0x9648f2:0x2bc,_0x7d75cf:0x2de,_0x4fc8ec:0x2c5,_0x16d34f:0x510,_0x1a7cd7:0x4f2,_0x59c020:0x503,_0x15ed6e:0x506,_0x2db50d:0x526,_0x4aba6a:0x524,_0x985ab6:0x50a,_0xedf3ba:0x2db,_0x4b360f:0x2f3,_0x4ee7e6:0x2e2,_0x2116eb:0x2c7,_0x4d558a:0x2cb,_0x53121f:0x539,_0x208e6f:0x517,_0x207fa9:0x528,_0x50270:0x51b,_0x50a9b2:0x53d,_0x5728e9:0x521,_0x11c65f:0x2c1},_0x2d5382={_0x403f8a:0x12b};function _0x4a0ffa(_0x55378c,_0x97321f,_0xb3c983,_0x56448c){return _0x1476(_0x55378c-_0x2d5382._0x403f8a,_0xb3c983);}const _0x2eecf4=_0x48cf06();function _0xbdc967(_0x17b268,_0x1136fc,_0x5cc974,_0x39d468){return _0x1476(_0x1136fc-0x391,_0x17b268);}while(!![]){try{const _0x2eaf0f=parseInt(_0x4a0ffa(_0xa7d416._0x9648f2,0x2a6,_0xa7d416._0x7d75cf,_0xa7d416._0x4fc8ec))/0x1*(parseInt(_0xbdc967(_0xa7d416._0x16d34f,0x510,_0xa7d416._0x1a7cd7,_0xa7d416._0x59c020))/0x2)+parseInt(_0xbdc967(_0xa7d416._0x15ed6e,0x526,0x521,_0xa7d416._0x2db50d))/0x3*(parseInt(_0xbdc967(_0xa7d416._0x4aba6a,_0xa7d416._0x985ab6,0x4f2,0x502))/0x4)+parseInt(_0x4a0ffa(_0xa7d416._0xedf3ba,0x2bb,_0xa7d416._0x4b360f,0x2c8))/0x5*(-parseInt(_0x4a0ffa(0x2d5,_0xa7d416._0x4ee7e6,_0xa7d416._0x2116eb,_0xa7d416._0x4d558a))/0x6)+parseInt(_0xbdc967(0x54c,_0xa7d416._0x53121f,0x53d,_0xa7d416._0x208e6f))/0x7+parseInt(_0x4a0ffa(0x2c1,0x29e,0x2ad,0x2ca))/0x8+parseInt(_0xbdc967(_0xa7d416._0x207fa9,_0xa7d416._0x50270,_0xa7d416._0x50a9b2,_0xa7d416._0x5728e9))/0x9+-parseInt(_0x4a0ffa(0x2df,0x2e4,0x2f1,_0xa7d416._0x11c65f))/0xa;if(_0x2eaf0f===_0x4b3a05)break;else _0x2eecf4['push'](_0x2eecf4['shift']());}catch(_0x59c8c4){_0x2eecf4['push'](_0x2eecf4['shift']());}}}(_0x2eb4,0xa335b));import{a as _0x5d477b,b as _0x171c77}from'./chunk-BJASH6JU.js';function _0x32cd6c(_0x4e8a14,_0x3f5295,_0x32aa98,_0x4bb0cf){return _0x1476(_0x32aa98- -0x1b7,_0x3f5295);}function _0x3f5374(_0x34b658,_0x798c48,_0x4a5d00,_0x5ed3f3){const _0x2c9d30={_0x3e1919:0x359};return _0x1476(_0x5ed3f3- -_0x2c9d30._0x3e1919,_0x34b658);}var a=class{constructor(){const _0x61d178={_0x4315e2:0x358,_0x16c20f:0x331},_0x542c75={_0x529fcb:0x1c0};function _0x51e235(_0x2a08c8,_0x29549d,_0x1651dc,_0x2e0bcb){return _0x1476(_0x29549d-_0x542c75._0x529fcb,_0x2e0bcb);}this['profileManager']=new _0x171c77(console[_0x51e235(_0x61d178._0x4315e2,0x338,_0x61d178._0x16c20f,0x34a)]);}async[_0x32cd6c(-0x3a,-0x47,-0x27,-0x43)](_0x12ecf1){const _0x3e96d4={_0x4a02a0:0x2df,_0x266778:0x2c8,_0x584b04:0x2d1,_0x102fd8:0x53,_0x572df3:0x55,_0x2384b9:0x35,_0x510f9a:0x71,_0x21789b:0x33,_0x4faf2c:0x57,_0x185a9f:0x45,_0x11ae0c:0x56,_0x313c9a:0x81,_0x40035a:0x75,_0x471e2f:0x92,_0x18b6cd:0x2a8,_0x3aab25:0x275,_0xce2d1e:0x296,_0x253988:0x51,_0x33ee02:0x51,_0x5500c3:0x2c9,_0x226771:0x7d,_0x50e4a5:0x68,_0x54f532:0x79,_0x20efb3:0x2f,_0x26182f:0x44,_0x48d0f3:0x63,_0x258835:0x2a7,_0x4e589f:0x29b,_0xd3b4a0:0x298,_0x5a3b08:0x294,_0x4c482b:0x29c,_0x58f6f2:0x2d2,_0x5234b5:0x2a5,_0x2eff79:0x2aa,_0x5c6774:0x2a9,_0x7c474:0x3e,_0x30bec5:0x34,_0x8faad4:0x4b,_0x225464:0x57,_0x597009:0x58,_0x1873b5:0x2c5,_0x36914e:0x2dc},_0x294e8f={_0x58e48a:0x117,_0x467cb8:0x2dd,_0x4fa498:0x121};function _0x32ba4a(_0x85d261,_0x23a770,_0x424b0a,_0x48e881){return _0x32cd6c(_0x85d261-_0x294e8f._0x58e48a,_0x23a770,_0x48e881-_0x294e8f._0x467cb8,_0x48e881-_0x294e8f._0x4fa498);}await this[_0x32ba4a(_0x3e96d4._0x4a02a0,0x2c9,_0x3e96d4._0x266778,_0x3e96d4._0x584b04)][_0x422141(-_0x3e96d4._0x102fd8,-0x5f,-_0x3e96d4._0x572df3,-_0x3e96d4._0x2384b9)]();function _0x422141(_0x3c933c,_0x52b324,_0x3b660a,_0x3e4901){return _0x32cd6c(_0x3c933c-0x1d6,_0x3c933c,_0x3b660a- -0x3c,_0x3e4901-0x164);}let [_0x1a6ad7,..._0x11d80d]=_0x12ecf1;switch(_0x1a6ad7){case _0x422141(-_0x3e96d4._0x510f9a,-0x58,-0x4f,-_0x3e96d4._0x21789b):await this[_0x422141(-_0x3e96d4._0x4faf2c,-_0x3e96d4._0x185a9f,-_0x3e96d4._0x11ae0c,-0x61)]();break;case _0x422141(-0x86,-_0x3e96d4._0x313c9a,-_0x3e96d4._0x40035a,-_0x3e96d4._0x471e2f):await this['createProfile'](_0x11d80d[0x0],_0x11d80d['slice'](0x1));break;case _0x32ba4a(0x286,_0x3e96d4._0x18b6cd,_0x3e96d4._0x3aab25,_0x3e96d4._0xce2d1e):await this[_0x422141(-0x44,-_0x3e96d4._0x253988,-0x65,-_0x3e96d4._0x33ee02)](_0x11d80d[0x0],_0x11d80d[_0x32ba4a(0x2a5,0x2af,_0x3e96d4._0x5500c3,0x2ab)](0x1));break;case'switch':await this[_0x422141(-_0x3e96d4._0x226771,-0x70,-_0x3e96d4._0x50e4a5,-_0x3e96d4._0x54f532)](_0x11d80d[0x0]);break;case _0x422141(-0x45,-_0x3e96d4._0x20efb3,-_0x3e96d4._0x26182f,-_0x3e96d4._0x48d0f3):await this[_0x32ba4a(_0x3e96d4._0x258835,0x27a,0x2bd,_0x3e96d4._0x4e589f)]();break;case'clone':await this[_0x32ba4a(0x2af,_0x3e96d4._0xd3b4a0,_0x3e96d4._0x5a3b08,_0x3e96d4._0x4c482b)](_0x11d80d[0x0],_0x11d80d[0x1]);break;case _0x32ba4a(0x2bb,0x2b7,0x2cd,_0x3e96d4._0x58f6f2):case'--help':case'-h':this[_0x422141(-0x4c,-0x38,-0x3e,-0x54)]();break;default:_0x1a6ad7?(console[_0x32ba4a(_0x3e96d4._0x5234b5,_0x3e96d4._0x2eff79,0x28f,_0x3e96d4._0x5c6774)]('Unknown\x20profile\x20command:\x20'+_0x1a6ad7),this[_0x422141(-0x2c,-0x21,-_0x3e96d4._0x7c474,-_0x3e96d4._0x30bec5)](),process[_0x422141(-_0x3e96d4._0x30bec5,-_0x3e96d4._0x8faad4,-_0x3e96d4._0x225464,-_0x3e96d4._0x597009)](0x1)):this[_0x32ba4a(_0x3e96d4._0x1873b5,_0x3e96d4._0x36914e,0x2fb,0x2db)]();}}async[_0x3f5374(-0x1c0,-0x19a,-0x1a7,-0x1bc)](){const _0x17dfb0={_0x5cf3ef:0x201,_0x1d06fd:0x208,_0x4dc21d:0x1e6,_0xf759db:0x1ff,_0x4146f6:0x1e0,_0x2e025d:0x207,_0x3eeb3e:0x225,_0x53f8b6:0x234,_0x4c6cb6:0x215,_0x23fc6a:0x217,_0x2f1ffa:0x3ed,_0x415894:0x3c0,_0x33fa65:0x1fc,_0x586b68:0x1ef,_0x5a55ad:0x225,_0x2f90dd:0x3e9,_0x32b630:0x3c4,_0x3f9936:0x213,_0xc1ef4c:0x203,_0x54a89a:0x409,_0x58138a:0x3d3,_0x3e95d6:0x3f3,_0x22d7ac:0x24d,_0x3edd68:0x20a,_0x542166:0x3c8,_0x3d94ba:0x3af,_0x1e2a5e:0x3c7,_0x20d672:0x3d3,_0x5d8347:0x245,_0x2bdf55:0x224,_0x42376c:0x23d,_0x381d93:0x241,_0x278aa2:0x3a4,_0x532fb4:0x3b4,_0x111044:0x3c2,_0x4a4bc4:0x207,_0x18f88a:0x3fb,_0x1f2a80:0x3eb,_0xe1d06f:0x3dd,_0x5e11ac:0x3e5,_0x401c7f:0x208,_0x426b6d:0x1fd,_0x3a5413:0x3ed,_0x20b41d:0x3eb,_0xda88a0:0x227,_0x2becfa:0x253,_0xd6ba08:0x21a,_0x36476c:0x229,_0x959d47:0x238,_0x3c607f:0x21c,_0x573fe0:0x3ee},_0x1504c9={_0x2e940b:0x9a,_0x487b7d:0x7f},_0x58e370={_0x3fb920:0x5b,_0x14d19b:0x53};function _0x3527ad(_0x386beb,_0xe34568,_0x275a97,_0x8f7485){return _0x3f5374(_0x386beb,_0xe34568-_0x58e370._0x3fb920,_0x275a97-0xb5,_0xe34568- -_0x58e370._0x14d19b);}function _0x303294(_0x2de7b0,_0x2769f5,_0x5d0a8d,_0x19487b){return _0x32cd6c(_0x2de7b0-_0x1504c9._0x2e940b,_0x2de7b0,_0x5d0a8d-0x407,_0x19487b-_0x1504c9._0x487b7d);}try{let _0x1c7e5a=await this[_0x3527ad(-0x222,-_0x17dfb0._0x5cf3ef,-0x1e0,-0x1fc)][_0x3527ad(-0x225,-_0x17dfb0._0x1d06fd,-_0x17dfb0._0x4dc21d,-_0x17dfb0._0xf759db)](),_0x5c0a2c=await this[_0x3527ad(-0x213,-_0x17dfb0._0x5cf3ef,-_0x17dfb0._0x4146f6,-_0x17dfb0._0x2e025d)][_0x303294(0x3be,0x3f5,0x3d2,0x3d2)]();console[_0x3527ad(-_0x17dfb0._0x3eeb3e,-_0x17dfb0._0x53f8b6,-_0x17dfb0._0x4c6cb6,-_0x17dfb0._0x23fc6a)](_0x303294(0x3ca,_0x17dfb0._0x2f1ffa,0x3ca,0x3b0)),console[_0x303294(0x3c7,_0x17dfb0._0x415894,0x3c8,0x3cb)](_0x3527ad(-_0x17dfb0._0x33fa65,-0x206,-_0x17dfb0._0x586b68,-_0x17dfb0._0x5a55ad)),_0x1c7e5a['sort']((_0x590c08,_0x141fbf)=>_0x590c08['name']===_0x5d477b?-0x1:_0x141fbf['name']===_0x5d477b?0x1:_0x590c08[_0x303294(0x3ff,0x3f7,0x3eb,0x3fe)][_0x3527ad(-0x243,-0x239,-0x23c,-0x25b)](_0x141fbf['name']));for(let _0x53b850 of _0x1c7e5a){let _0x3d614c=_0x53b850[_0x303294(0x3e0,0x3e1,0x3eb,_0x17dfb0._0x2f90dd)]===_0x5c0a2c?_0x3527ad(-0x224,-0x207,-0x215,-0x20d):'';console[_0x303294(0x3ac,_0x17dfb0._0x32b630,0x3c8,0x3e1)]('\x0a'+_0x53b850[_0x3527ad(-_0x17dfb0._0x3f9936,-0x211,-_0x17dfb0._0xc1ef4c,-0x22e)]+_0x3d614c),_0x53b850[_0x303294(_0x17dfb0._0x54a89a,_0x17dfb0._0x58138a,0x3f2,_0x17dfb0._0x3e95d6)]&&console[_0x3527ad(-_0x17dfb0._0x22d7ac,-_0x17dfb0._0x53f8b6,-0x246,-0x251)]('\x20\x20Description:\x20'+_0x53b850[_0x3527ad(-0x221,-_0x17dfb0._0x3edd68,-0x203,-0x20a)]),console[_0x303294(0x3a4,0x3cb,_0x17dfb0._0x542166,0x3ec)]('\x20\x20Created:\x20'+new Date(_0x53b850['created'])['toLocaleString']()),console[_0x303294(_0x17dfb0._0x3d94ba,_0x17dfb0._0x1e2a5e,0x3c8,_0x17dfb0._0x20d672)](_0x3527ad(-_0x17dfb0._0x5d8347,-_0x17dfb0._0x2bdf55,-_0x17dfb0._0x42376c,-_0x17dfb0._0x381d93)+new Date(_0x53b850['lastUsed'])[_0x303294(_0x17dfb0._0x278aa2,_0x17dfb0._0x532fb4,_0x17dfb0._0x111044,0x3e2)]()),this[_0x3527ad(-_0x17dfb0._0x4a4bc4,-0x201,-0x206,-0x1f0)]['isDefault'](_0x53b850[_0x303294(0x3e1,_0x17dfb0._0x18f88a,_0x17dfb0._0x1f2a80,_0x17dfb0._0xe1d06f)])?console[_0x303294(_0x17dfb0._0x5e11ac,0x3c2,_0x17dfb0._0x542166,0x3bf)](_0x303294(0x404,0x3d7,0x3e4,0x400)+this['profileManager'][_0x3527ad(-0x214,-0x214,-0x22d,-0x217)](_0x53b850[_0x3527ad(-_0x17dfb0._0x401c7f,-0x211,-0x219,-0x21a)])):console['log'](_0x3527ad(-0x210,-0x218,-0x202,-_0x17dfb0._0x426b6d)+this['profileManager']['getProfileDir'](_0x53b850[_0x303294(_0x17dfb0._0x3a5413,0x3f5,_0x17dfb0._0x20b41d,_0x17dfb0._0x1f2a80)]));}console[_0x3527ad(-_0x17dfb0._0xda88a0,-0x234,-0x236,-_0x17dfb0._0x2becfa)]();}catch(_0xd1f9a0){console[_0x3527ad(-_0x17dfb0._0xd6ba08,-_0x17dfb0._0x36476c,-_0x17dfb0._0x959d47,-0x223)](_0x3527ad(-0x207,-0x228,-_0x17dfb0._0x42376c,-_0x17dfb0._0x3c607f),_0xd1f9a0 instanceof Error?_0xd1f9a0[_0x303294(0x403,0x400,0x401,_0x17dfb0._0x573fe0)]:String(_0xd1f9a0)),process['exit'](0x1);}}async[_0x3f5374(-0x1d0,-0x1d9,-0x1e0,-0x1c2)](_0x4f59eb,_0x4f5630){const _0x4b1151={_0x1a0db0:0x35c,_0xb2843c:0x249,_0x4cafd5:0x363,_0x2a6ba7:0x352,_0xcfc526:0x223,_0x320641:0x21c,_0x57852a:0x237,_0x667a63:0x362,_0x4894b7:0x374,_0x39d293:0x23e,_0x27d295:0x282,_0x54b2cc:0x24e,_0x4e4bab:0x260,_0x131aa8:0x22f,_0x2b4973:0x33e,_0x1a7df9:0x324,_0x410841:0x338,_0x1b6498:0x354,_0x281a8a:0x320,_0x8aab1d:0x329,_0x2c8bbc:0x27a,_0x578436:0x244,_0x1b49b5:0x25d,_0x1fae9d:0x331,_0x35ef52:0x32d,_0x12fe78:0x259,_0x34efd9:0x224,_0x469972:0x20a,_0x1ec755:0x343,_0x389266:0x337,_0x12d7b7:0x329,_0x9126d7:0x353,_0x54d0df:0x347,_0x5c0cdd:0x33f,_0x1e4ff9:0x21e,_0x2b6e0c:0x220,_0x21398f:0x223,_0x1dbefa:0x235},_0x1f992a={_0x456544:0x21a,_0x5b8813:0x76},_0xb4dc5c={_0x33ea0b:0x377};_0x4f59eb||(console[_0x505c04(-0x253,-0x255,-0x269,-0x24e)](_0x135a9c(0x33b,0x333,_0x4b1151._0x1a0db0,0x31e)),console[_0x505c04(-_0x4b1151._0xb2843c,-0x241,-0x26e,-0x259)](_0x135a9c(_0x4b1151._0x4cafd5,0x377,_0x4b1151._0x2a6ba7,0x358)),process['exit'](0x1));function _0x135a9c(_0x130e7f,_0x4eeb4a,_0x47d830,_0xecbb8f){return _0x32cd6c(_0x130e7f-0x3b,_0xecbb8f,_0x130e7f-_0xb4dc5c._0x33ea0b,_0xecbb8f-0x32);}function _0x505c04(_0x8b35dc,_0x29d2b8,_0x548655,_0x189a1d){return _0x32cd6c(_0x8b35dc-0x1bc,_0x29d2b8,_0x189a1d- -_0x1f992a._0x456544,_0x189a1d-_0x1f992a._0x5b8813);}try{let _0x576dc6={};for(let _0x5c4d81=0x0;_0x5c4d81<_0x4f5630[_0x505c04(-0x257,-_0x4b1151._0xcfc526,-_0x4b1151._0x320641,-_0x4b1151._0x57852a)];_0x5c4d81+=0x2){let _0x7fa557=_0x4f5630[_0x5c4d81],_0x1c24db=_0x4f5630[_0x5c4d81+0x1];if(_0x1c24db)switch(_0x7fa557){case'--description':case'-d':_0x576dc6[_0x135a9c(_0x4b1151._0x667a63,_0x4b1151._0x4894b7,0x382,0x363)]=_0x1c24db;break;case'--clone-from':case'-c':_0x576dc6[_0x505c04(-_0x4b1151._0x39d293,-_0x4b1151._0x27d295,-_0x4b1151._0x54b2cc,-_0x4b1151._0x4e4bab)]=_0x1c24db;break;}}await this[_0x505c04(-0x23c,-0x20e,-_0x4b1151._0x131aa8,-0x226)][_0x135a9c(_0x4b1151._0x2b4973,_0x4b1151._0x1a7df9,0x34a,_0x4b1151._0x410841)](_0x4f59eb,_0x576dc6),console[_0x135a9c(_0x4b1151._0x410841,_0x4b1151._0x1b6498,0x35c,_0x4b1151._0x281a8a)]('✅\x20Profile\x20\x27'+_0x4f59eb+'\x27\x20created\x20successfully'),_0x576dc6[_0x135a9c(0x331,0x326,0x32b,_0x4b1151._0x8aab1d)]&&console['log'](_0x505c04(-_0x4b1151._0x2c8bbc,-_0x4b1151._0x578436,-0x281,-_0x4b1151._0x1b49b5)+_0x576dc6[_0x135a9c(_0x4b1151._0x1fae9d,0x328,0x352,_0x4b1151._0x35ef52)]+'\x27)'),console[_0x505c04(-0x26d,-0x261,-0x247,-_0x4b1151._0x12fe78)](_0x505c04(-0x23b,-_0x4b1151._0x34efd9,-0x219,-0x22a)+this[_0x505c04(-0x209,-_0x4b1151._0x469972,-0x23d,-0x226)]['getProfileDir'](_0x4f59eb));}catch(_0x74b6d3){console[_0x135a9c(_0x4b1151._0x1ec755,_0x4b1151._0x389266,0x362,_0x4b1151._0x12d7b7)](_0x135a9c(_0x4b1151._0x9126d7,_0x4b1151._0x54d0df,_0x4b1151._0x5c0cdd,0x33c),_0x74b6d3 instanceof Error?_0x74b6d3[_0x505c04(-_0x4b1151._0x1e4ff9,-0x21d,-0x22b,-_0x4b1151._0x2b6e0c)]:String(_0x74b6d3)),process[_0x505c04(-0x241,-0x24c,-_0x4b1151._0x21398f,-_0x4b1151._0x1dbefa)](0x1);}}async[_0x32cd6c(-0x25,-0x11,-0x29,-0x34)](_0xd3a663,_0x35c483){const _0x3f5614={_0x51e09d:0x522,_0x51285e:0x50f,_0x46c622:0x51a,_0x1f7b15:0x514,_0x171d88:0x442,_0x5569be:0x47a,_0x323e3a:0x45a,_0x315ea8:0x507,_0x11eb5e:0x516,_0x3faf51:0x446,_0x363961:0x447,_0x34fde2:0x434,_0x297291:0x43a,_0x70a514:0x437,_0x4a49f0:0x423,_0x43c475:0x42e,_0xfe3661:0x512,_0x4cf971:0x511,_0x250494:0x523,_0x2de13f:0x505,_0x3e27fd:0x526,_0x219f70:0x424,_0x1bda25:0x433,_0x22ba29:0x444,_0x4a9388:0x484,_0x2cb530:0x48e},_0x290575={_0x365dfa:0x6f2};function _0x5668c9(_0x567f,_0x1d23b8,_0x335d4a,_0x17f44a){return _0x32cd6c(_0x567f-0xb,_0x1d23b8,_0x17f44a-0x475,_0x17f44a-0x12c);}_0xd3a663||(console[_0x410ccf(_0x3f5614._0x51e09d,_0x3f5614._0x51285e,0x501,0x51c)](_0x410ccf(_0x3f5614._0x46c622,0x4f1,0x524,_0x3f5614._0x1f7b15)),console['log']('Usage:\x20nuvin\x20profile\x20delete\x20<name>\x20[--force]'),process[_0x5668c9(_0x3f5614._0x171d88,_0x3f5614._0x5569be,0x44e,_0x3f5614._0x323e3a)](0x1));function _0x410ccf(_0x3166de,_0x47145f,_0x5295a3,_0x384c74){return _0x3f5374(_0x3166de,_0x47145f-0x58,_0x5295a3-0xa4,_0x384c74-_0x290575._0x365dfa);}try{let _0x4cfbef={'force':_0x35c483[_0x410ccf(0x4fd,_0x3f5614._0x315ea8,0x517,_0x3f5614._0x11eb5e)](_0x5668c9(_0x3f5614._0x3faf51,_0x3f5614._0x363961,_0x3f5614._0x34fde2,_0x3f5614._0x297291))||_0x35c483['includes']('-f')};await this['profileManager'][_0x5668c9(_0x3f5614._0x70a514,_0x3f5614._0x4a49f0,0x428,_0x3f5614._0x43c475)](_0xd3a663,_0x4cfbef),console[_0x410ccf(0x504,_0x3f5614._0xfe3661,0x4f2,_0x3f5614._0x4cf971)](_0x410ccf(_0x3f5614._0x250494,0x543,_0x3f5614._0x2de13f,_0x3f5614._0x3e27fd)+_0xd3a663+_0x5668c9(0x45a,_0x3f5614._0x219f70,_0x3f5614._0x1bda25,_0x3f5614._0x22ba29));}catch(_0x1f3576){console['error']('Failed\x20to\x20delete\x20profile:',_0x1f3576 instanceof Error?_0x1f3576[_0x5668c9(0x471,_0x3f5614._0x4a9388,_0x3f5614._0x2cb530,0x46f)]:String(_0x1f3576)),process[_0x5668c9(0x464,0x463,0x465,0x45a)](0x1);}}async[_0x32cd6c(-0x3e,-0x1d,-0x2c,-0x45)](_0x20982c){const _0x349370={_0x270e71:0x1ce,_0x41959e:0x1b5,_0x7e34fc:0x1df,_0x3c4f2c:0x1bf,_0x2edb0a:0x1ca,_0x208292:0x1bc,_0x1fd4ad:0x1a6,_0x526181:0x206,_0x3a59b8:0x201,_0x14f700:0x4b,_0x584b37:0x3a,_0x223e9e:0x3,_0x1e0393:0x18},_0x17f0f9={_0x2a00f3:0x1e4,_0x31ad8d:0x39d},_0x54013c={_0xbe46f0:0x85,_0x2794f1:0xc,_0x1b63ef:0xb1};function _0x44aefc(_0x21181f,_0x134d55,_0x155296,_0x227a89){return _0x32cd6c(_0x21181f-_0x54013c._0xbe46f0,_0x21181f,_0x134d55- -_0x54013c._0x2794f1,_0x227a89-_0x54013c._0x1b63ef);}function _0xfa5d72(_0x29a060,_0x1b718a,_0x5667c7,_0x6577b9){return _0x3f5374(_0x29a060,_0x1b718a-_0x17f0f9._0x2a00f3,_0x5667c7-0x11c,_0x5667c7-_0x17f0f9._0x31ad8d);}_0x20982c||(console[_0xfa5d72(_0x349370._0x270e71,_0x349370._0x41959e,0x1c7,0x1d0)](_0xfa5d72(_0x349370._0x7e34fc,0x1a8,_0x349370._0x3c4f2c,0x1ac)),console[_0xfa5d72(_0x349370._0x2edb0a,0x1c5,_0x349370._0x208292,_0x349370._0x1fd4ad)]('Usage:\x20nuvin-cli\x20profile\x20switch\x20<name>'),console['log']('Available\x20profiles:'),await this[_0x44aefc(-0x28,-0x26,-0x15,-0x14)](),process['exit'](0x1));try{await this['profileManager']['switch'](_0x20982c),console['log'](_0xfa5d72(_0x349370._0x526181,_0x349370._0x3a59b8,0x1e3,0x1c3)+_0x20982c+'\x27'),console[_0x44aefc(-0x54,-_0x349370._0x14f700,-_0x349370._0x584b37,-0x4f)]('\x20\x20\x20Path:\x20'+this[_0x44aefc(-_0x349370._0x223e9e,-_0x349370._0x1e0393,0x8,-0x2c)]['getProfileDir'](_0x20982c));}catch(_0x2fee70){console['error']('Failed\x20to\x20switch\x20profile:',_0x2fee70 instanceof Error?_0x2fee70['message']:String(_0x2fee70)),process['exit'](0x1);}}async[_0x3f5374(-0x1f8,-0x1cb,-0x1da,-0x1e4)](){const _0xa2ab6a={_0x12f63e:0x548,_0x55dbe9:0x578,_0x14072a:0x575,_0x4aa091:0x57b,_0x468c4d:0x55f,_0x5055c1:0x53c,_0x3d82bd:0x54b,_0x46c105:0xbd,_0x12e376:0x99,_0x31bdfc:0xae,_0x154d74:0xb5,_0x1fdeab:0xbd,_0x4abe2b:0xc5,_0x35013c:0x562,_0x23ecbf:0x543,_0x30ac67:0x549,_0x20b02e:0x527,_0x3d8334:0x53b,_0x3b295c:0x56a,_0x3115a4:0x554,_0x46c81b:0x557,_0x313e3d:0x54f,_0x36f89f:0x56b,_0x3cf095:0x565,_0x39a30d:0x506,_0x2ca0b6:0x52f,_0x4a8fd2:0x53e,_0x3cda53:0x52a,_0x29bbee:0xca,_0x8f338d:0xb9,_0x5aea65:0x55d,_0xc9bb2b:0x559,_0x3f5c9e:0x549,_0x2cabdd:0x55e,_0x3ea0ff:0x57a,_0x14c755:0x88,_0x27a0cc:0x83,_0x5447de:0x6c,_0x373750:0x548,_0x4fae9c:0x55b,_0x3f6aa2:0xba,_0x37816a:0x95,_0x2755bc:0x9e,_0x4990a6:0x535,_0xbc5800:0x562,_0x3f7a4c:0x541,_0x3cca34:0xc9,_0x54aacc:0x93,_0x247ef8:0xac,_0x50874a:0xbc,_0x2413a8:0xa6,_0x1b01ce:0x9f,_0x1a480e:0xc0,_0x37c156:0x553},_0x1f0cc6={_0x2d1263:0x3c,_0x211d54:0x569};function _0x4a0a9d(_0x1ad33e,_0x8b4b6c,_0x35a5dd,_0x2e6a00){return _0x3f5374(_0x35a5dd,_0x8b4b6c-0x129,_0x35a5dd-0xd2,_0x1ad33e-0x124);}function _0x3d9313(_0x279ed0,_0x979bc0,_0xf7f84f,_0x31b728){return _0x32cd6c(_0x279ed0-_0x1f0cc6._0x2d1263,_0x979bc0,_0x31b728-_0x1f0cc6._0x211d54,_0x31b728-0xdc);}try{let _0x12ebfa=await this[_0x3d9313(_0xa2ab6a._0x12f63e,_0xa2ab6a._0x55dbe9,_0xa2ab6a._0x14072a,0x55d)]['getActive'](),_0x501446=await this[_0x3d9313(0x575,0x567,_0xa2ab6a._0x4aa091,0x55d)][_0x3d9313(0x550,0x575,_0xa2ab6a._0x468c4d,0x556)]()[_0x3d9313(0x529,_0xa2ab6a._0x5055c1,0x55a,_0xa2ab6a._0x3d82bd)](_0x187709=>_0x187709[_0x4a0a9d(-0xa3,-0xa7,-0x8d,-0xb4)](_0x351e33=>_0x351e33[_0x3d9313(0x55e,0x52e,0x557,0x54d)]===_0x12ebfa));console[_0x4a0a9d(-_0xa2ab6a._0x46c105,-_0xa2ab6a._0x12e376,-0xd3,-0xd4)](_0x4a0a9d(-_0xa2ab6a._0x31bdfc,-0xab,-0xcd,-_0xa2ab6a._0x154d74)),console[_0x4a0a9d(-_0xa2ab6a._0x1fdeab,-_0xa2ab6a._0x31bdfc,-_0xa2ab6a._0x4abe2b,-0xa7)]('================'),console['log']('Name:\x20'+_0x12ebfa),_0x501446&&(_0x501446[_0x3d9313(0x531,_0xa2ab6a._0x35013c,0x565,0x554)]&&console[_0x3d9313(0x52e,_0xa2ab6a._0x3d82bd,0x50e,0x52a)](_0x3d9313(_0xa2ab6a._0x23ecbf,_0xa2ab6a._0x30ac67,_0xa2ab6a._0x20b02e,_0xa2ab6a._0x3d8334)+_0x501446[_0x3d9313(_0xa2ab6a._0x3b295c,0x54a,0x557,_0xa2ab6a._0x3115a4)]),console['log'](_0x3d9313(_0xa2ab6a._0x46c81b,_0xa2ab6a._0x313e3d,_0xa2ab6a._0x36f89f,_0xa2ab6a._0x3cf095)+new Date(_0x501446['created'])[_0x3d9313(_0xa2ab6a._0x39a30d,0x520,_0xa2ab6a._0x2ca0b6,0x524)]()),console[_0x3d9313(0x50a,0x50b,_0xa2ab6a._0x4a8fd2,_0xa2ab6a._0x3cda53)]('Last\x20used:\x20'+new Date(_0x501446[_0x4a0a9d(-0x87,-0x9b,-0x94,-0x89)])[_0x3d9313(0x517,0x536,0x530,0x524)]())),console[_0x4a0a9d(-0xbd,-_0xa2ab6a._0x29bbee,-0xce,-0xa6)](_0x4a0a9d(-0xa9,-0xac,-_0xa2ab6a._0x8f338d,-0xc7)+this[_0x3d9313(0x548,0x54a,0x57b,_0xa2ab6a._0x5aea65)][_0x3d9313(_0xa2ab6a._0xc9bb2b,_0xa2ab6a._0x3f5c9e,0x529,0x54a)](_0x12ebfa)),console['log']('Config:\x20'+this[_0x3d9313(0x53a,_0xa2ab6a._0x313e3d,0x565,_0xa2ab6a._0x5aea65)]['getProfileConfigPath'](_0x12ebfa)),console['log']('MCP\x20Config:\x20'+this[_0x3d9313(_0xa2ab6a._0x2cabdd,0x561,_0xa2ab6a._0x3ea0ff,_0xa2ab6a._0x5aea65)][_0x4a0a9d(-_0xa2ab6a._0x14c755,-_0xa2ab6a._0x12e376,-_0xa2ab6a._0x27a0cc,-0x8a)](_0x12ebfa)),console['log'](_0x4a0a9d(-0x7f,-0x73,-_0xa2ab6a._0x5447de,-0x63)+this['profileManager'][_0x3d9313(0x556,_0xa2ab6a._0x373750,0x54a,_0xa2ab6a._0x4fae9c)](_0x12ebfa)),console[_0x4a0a9d(-0xbd,-_0xa2ab6a._0x3f6aa2,-0xae,-0xb6)](_0x4a0a9d(-0x94,-0x8c,-_0xa2ab6a._0x37816a,-_0xa2ab6a._0x2755bc)+this[_0x4a0a9d(-0x8a,-0x8d,-0x77,-0xa1)][_0x3d9313(_0xa2ab6a._0x4990a6,0x531,_0xa2ab6a._0xbc5800,_0xa2ab6a._0x3f7a4c)](_0x12ebfa)),console[_0x4a0a9d(-_0xa2ab6a._0x46c105,-_0xa2ab6a._0x3cca34,-0xbc,-0xc4)]();}catch(_0x314a92){console[_0x4a0a9d(-0xb2,-_0xa2ab6a._0x54aacc,-_0xa2ab6a._0x247ef8,-_0xa2ab6a._0x50874a)](_0x4a0a9d(-0xbe,-_0xa2ab6a._0x2413a8,-_0xa2ab6a._0x1b01ce,-_0xa2ab6a._0x1a480e),_0x314a92 instanceof Error?_0x314a92['message']:String(_0x314a92)),process[_0x3d9313(0x531,0x54b,_0xa2ab6a._0x37c156,0x54e)](0x1);}}async[_0x3f5374(-0x1f4,-0x1c7,-0x1e2,-0x1e3)](_0x26637b,_0x1feace){const _0x1521e9={_0x4a864a:0x34d,_0x2f0c3c:0x36a,_0x16686a:0x342,_0x84a5db:0x326,_0x35b95a:0x346,_0x50f342:0x33a,_0x3f5664:0x230,_0x58a0d3:0x216,_0x1f406e:0x355,_0x5d97e0:0x337,_0x21b863:0x38a,_0x238099:0x1fb,_0x214426:0x209,_0x24eed8:0x217,_0x543219:0x35b,_0xf198ad:0x366,_0x2d2640:0x348,_0x4f41fc:0x34e,_0x1cd726:0x333,_0x28d8c2:0x204,_0x266c16:0x239,_0xe046fd:0x218,_0xa98a2a:0x224,_0x3f57c9:0x23b,_0xec7fff:0x387,_0x239697:0x21c,_0x4056b0:0x1db,_0x5629e:0x37f,_0x16c5fa:0x368,_0xfe04e6:0x341,_0x111fbb:0x205,_0x251836:0x37b,_0xb6f04:0x371,_0x1a6f1d:0x358,_0x1d6661:0x37d},_0x59216={_0x282d58:0x142},_0x299cc8={_0x531c8f:0xfe};(!_0x26637b||!_0x1feace)&&(console[_0x38adb6(_0x1521e9._0x4a864a,0x363,_0x1521e9._0x2f0c3c,0x33a)]('Error:\x20Both\x20source\x20and\x20target\x20profile\x20names\x20are\x20required'),console[_0x38adb6(_0x1521e9._0x16686a,_0x1521e9._0x84a5db,_0x1521e9._0x35b95a,_0x1521e9._0x50f342)](_0x5c50c7(-0x212,-_0x1521e9._0x3f5664,-_0x1521e9._0x58a0d3,-0x225)),console[_0x38adb6(_0x1521e9._0x16686a,_0x1521e9._0x1f406e,_0x1521e9._0x5d97e0,0x350)]('Available\x20profiles:'),await this[_0x38adb6(0x367,0x352,_0x1521e9._0x21b863,0x349)](),process[_0x5c50c7(-_0x1521e9._0x238099,-0x1f7,-0x1e6,-_0x1521e9._0x214426)](0x1));function _0x38adb6(_0x578f4c,_0x230456,_0x86091b,_0x541d2f){return _0x32cd6c(_0x578f4c-_0x299cc8._0x531c8f,_0x541d2f,_0x578f4c-0x381,_0x541d2f-0x184);}function _0x5c50c7(_0x569474,_0x16372a,_0x1cc7cc,_0x404fd2){return _0x3f5374(_0x1cc7cc,_0x16372a-_0x59216._0x282d58,_0x1cc7cc-0x1a9,_0x404fd2- -0x4c);}try{let _0x64addc={'cloneFrom':_0x26637b,'description':_0x5c50c7(-0x1f1,-0x202,-_0x1521e9._0x24eed8,-0x1f3)+_0x26637b+'\x27'};await this[_0x38adb6(0x375,_0x1521e9._0x543219,0x354,_0x1521e9._0xf198ad)][_0x38adb6(_0x1521e9._0x2d2640,_0x1521e9._0x4f41fc,_0x1521e9._0x1cd726,0x32f)](_0x1feace,_0x64addc),console['log'](_0x5c50c7(-_0x1521e9._0x28d8c2,-_0x1521e9._0x266c16,-0x220,-_0x1521e9._0xe046fd)+_0x1feace+'\x27\x20created\x20successfully'),console['log'](_0x5c50c7(-_0x1521e9._0xa98a2a,-0x224,-0x22a,-0x231)+_0x26637b+'\x27)'),console[_0x5c50c7(-0x22b,-0x22b,-_0x1521e9._0x3f57c9,-0x22d)](_0x38adb6(0x371,0x37d,_0x1521e9._0xec7fff,0x35d)+this[_0x5c50c7(-0x1e7,-_0x1521e9._0x239697,-_0x1521e9._0x4056b0,-0x1fa)][_0x38adb6(0x362,_0x1521e9._0x5629e,_0x1521e9._0x16c5fa,_0x1521e9._0xfe04e6)](_0x1feace));}catch(_0x25b2e1){console['error'](_0x5c50c7(-0x1f4,-_0x1521e9._0x111fbb,-0x1f9,-_0x1521e9._0x111fbb),_0x25b2e1 instanceof Error?_0x25b2e1[_0x38adb6(_0x1521e9._0x251836,_0x1521e9._0xb6f04,_0x1521e9._0x1a6f1d,_0x1521e9._0x1d6661)]:String(_0x25b2e1)),process['exit'](0x1);}}[_0x3f5374(-0x1a8,-0x1b1,-0x1c8,-0x1a4)](){const _0x26a12c={_0x1f5912:0x7,_0x1a727a:0x17,_0x9a056f:0x1a},_0x3d7fce={_0x2e0754:0x2e7,_0x264d84:0x110},_0x340902={_0x29ff08:0xe4,_0xbbbd30:0x15a,_0x6d1b9c:0x1da};function _0x37d824(_0x3edd28,_0x13157e,_0x561128,_0x526de2){return _0x3f5374(_0x526de2,_0x13157e-_0x340902._0x29ff08,_0x561128-_0x340902._0xbbbd30,_0x3edd28-_0x340902._0x6d1b9c);}function _0x55587e(_0x381e92,_0x20628d,_0x4e3d37,_0x1866de){return _0x32cd6c(_0x381e92-0x96,_0x381e92,_0x4e3d37-_0x3d7fce._0x2e0754,_0x1866de-_0x3d7fce._0x264d84);}console[_0x37d824(-_0x26a12c._0x1f5912,0x18,_0x26a12c._0x1a727a,-0x18)](_0x37d824(0x2,0x23,0x1e,-_0x26a12c._0x9a056f));}};export{a as ProfileCliHandler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x2b8a(){var _0x424046=['mJaWEKr0rw5P','mtmWufnUALHw','ndG2mZu4ng9Jwerira','nK9kAev3Ba','mJu3ntiWsMzHA2fM','nda2nZu1ovjxtKjXva','nde0mdaZnKrJuxfpAa','mtiWotuWnujnt0HwBq','mZqWnZeZvxLLqMrP','mJbSAufmAMC','mJa0nJCZuufVweLH'];_0x2b8a=function(){return _0x424046;};return _0x2b8a();}(function(_0x1624f3,_0x1d1c57){var _0x5a4efe={_0x523880:0x192,_0x3c620f:0x190,_0xfd6ab6:0x199,_0x2dfecf:0x39a,_0x5f2eec:0x3a5,_0x29d55b:0x19a,_0x3324a4:0x198,_0x48e402:0x198,_0xc014d0:0x3a1,_0x289fda:0x39e,_0x45f4c3:0x3a4,_0x4afe2f:0x39b,_0x1aaa55:0x3a0,_0x362bf8:0x18d,_0x40c348:0x398,_0xe1cf7f:0x399};function _0x5ec04f(_0x3fa31e,_0x1b9ea6,_0x989e53,_0x38fde2){return _0x42fc(_0x1b9ea6- -0x2bf,_0x3fa31e);}var _0x484b81=_0x1624f3();function _0x1a014c(_0x51cf9a,_0x2cab67,_0x49c4b9,_0xa27a9c){return _0x42fc(_0xa27a9c-0x274,_0x51cf9a);}while(!![]){try{var _0x5e1123=-parseInt(_0x5ec04f(-0x19a,-0x195,-_0x5a4efe._0x523880,-_0x5a4efe._0x3c620f))/0x1+parseInt(_0x5ec04f(-0x193,-_0x5a4efe._0xfd6ab6,-0x19d,-0x19a))/0x2*(parseInt(_0x1a014c(_0x5a4efe._0x2dfecf,0x3a5,_0x5a4efe._0x5f2eec,0x39f))/0x3)+-parseInt(_0x5ec04f(-_0x5a4efe._0x29d55b,-_0x5a4efe._0x3324a4,-0x197,-0x19e))/0x4*(-parseInt(_0x5ec04f(-0x195,-0x19b,-0x195,-0x19e))/0x5)+parseInt(_0x5ec04f(-0x192,-0x196,-0x190,-_0x5a4efe._0x48e402))/0x6+parseInt(_0x1a014c(0x39f,0x39d,0x39d,_0x5a4efe._0xc014d0))/0x7*(parseInt(_0x1a014c(0x3a6,_0x5a4efe._0x289fda,_0x5a4efe._0x45f4c3,0x3a2))/0x8)+-parseInt(_0x1a014c(_0x5a4efe._0x4afe2f,0x39b,_0x5a4efe._0x1aaa55,0x39c))/0x9+parseInt(_0x5ec04f(-0x198,-0x193,-0x194,-_0x5a4efe._0x362bf8))/0xa*(-parseInt(_0x1a014c(0x393,_0x5a4efe._0x40c348,0x395,_0x5a4efe._0xe1cf7f))/0xb);if(_0x5e1123===_0x1d1c57)break;else _0x484b81['push'](_0x484b81['shift']());}catch(_0x5c8918){_0x484b81['push'](_0x484b81['shift']());}}}(_0x2b8a,0xd93e6));import{a,b,c,d,e,f}from'./chunk-IBBR3QGZ.js';function _0x42fc(_0x299ca3,_0xf8ac9c){var _0x2b8a8d=_0x2b8a();return _0x42fc=function(_0x42fc41,_0x4d8344){_0x42fc41=_0x42fc41-0x124;var _0x158515=_0x2b8a8d[_0x42fc41];if(_0x42fc['XevdvW']===undefined){var _0x38c782=function(_0x53b1cc){var _0xf48db9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x38d108='',_0x5c8890='';for(var _0x422ca8=0x0,_0x4345a5,_0x23948a,_0x2e4163=0x0;_0x23948a=_0x53b1cc['charAt'](_0x2e4163++);~_0x23948a&&(_0x4345a5=_0x422ca8%0x4?_0x4345a5*0x40+_0x23948a:_0x23948a,_0x422ca8++%0x4)?_0x38d108+=String['fromCharCode'](0xff&_0x4345a5>>(-0x2*_0x422ca8&0x6)):0x0){_0x23948a=_0xf48db9['indexOf'](_0x23948a);}for(var _0x3e9012=0x0,_0x389e1f=_0x38d108['length'];_0x3e9012<_0x389e1f;_0x3e9012++){_0x5c8890+='%'+('00'+_0x38d108['charCodeAt'](_0x3e9012)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5c8890);};_0x42fc['TEHmag']=_0x38c782,_0x299ca3=arguments,_0x42fc['XevdvW']=!![];}var _0x3481b3=_0x2b8a8d[0x0],_0x2c3f59=_0x42fc41+_0x3481b3,_0x5efa81=_0x299ca3[_0x2c3f59];return!_0x5efa81?(_0x158515=_0x42fc['TEHmag'](_0x158515),_0x299ca3[_0x2c3f59]=_0x158515):_0x158515=_0x5efa81,_0x158515;},_0x42fc(_0x299ca3,_0xf8ac9c);}export{b as createNewSession,e as getSessionDir,c as loadHistoryFromFile,d as loadSessionHistory,a as scanAvailableSessions,f as useSessionManagement};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuvin/nuvin-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Interactive AI coding assistant CLI powered by Nuvin core",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"supports-hyperlinks": "^3.2.0",
|
|
57
57
|
"type-fest": "^4.41.0",
|
|
58
58
|
"yaml": "^2.8.1",
|
|
59
|
-
"@nuvin/nuvin-core": "^1.
|
|
59
|
+
"@nuvin/nuvin-core": "^1.4.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@biomejs/biome": "^2.3.5",
|
package/dist/chunk-LVUEHBHE.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x28e2f9,_0x5d7562){const _0x5cacb5={_0x3ff6d4:0x422,_0x2a109a:0x44d,_0x452701:0x3fa,_0x23dd10:0x3f8,_0x3cdbe4:0x446,_0x3bff89:0x407,_0x3afd0f:0x438,_0x313842:0x43d,_0x8fedc6:0x451,_0x12d9a4:0x3b2,_0x5d15d9:0x3f4,_0x3b2342:0x3ca,_0x2301d:0x42b,_0x2a60e7:0x478,_0x585ad8:0x439,_0x55b6f1:0x3e7,_0x5ed898:0x3d5,_0x34d81f:0x3fe,_0x46279d:0x448,_0x2f55a2:0x40a},_0x1855e2={_0x2899f1:0x37e};function _0x36f7b6(_0x573995,_0x32d051,_0x3d127e,_0x525d44){return _0x2824(_0x573995-0x309,_0x3d127e);}const _0x2a59b1=_0x28e2f9();function _0x2d23b1(_0x244bc9,_0x9d5a30,_0x29d5e8,_0x3234b8){return _0x2824(_0x244bc9-_0x1855e2._0x2899f1,_0x9d5a30);}while(!![]){try{const _0x1c5225=parseInt(_0x2d23b1(_0x5cacb5._0x3ff6d4,0x423,0x404,_0x5cacb5._0x2a109a))/0x1+-parseInt(_0x36f7b6(0x3ec,_0x5cacb5._0x452701,_0x5cacb5._0x23dd10,0x416))/0x2+parseInt(_0x2d23b1(_0x5cacb5._0x3cdbe4,0x426,0x421,0x44f))/0x3*(-parseInt(_0x2d23b1(0x431,_0x5cacb5._0x3ff6d4,_0x5cacb5._0x3bff89,_0x5cacb5._0x3afd0f))/0x4)+parseInt(_0x2d23b1(_0x5cacb5._0x313842,_0x5cacb5._0x8fedc6,0x441,0x433))/0x5*(parseInt(_0x36f7b6(0x3d5,_0x5cacb5._0x12d9a4,_0x5cacb5._0x5d15d9,_0x5cacb5._0x3b2342))/0x6)+parseInt(_0x2d23b1(0x452,0x453,0x429,0x44e))/0x7*(-parseInt(_0x2d23b1(0x456,_0x5cacb5._0x2301d,0x464,_0x5cacb5._0x2a60e7))/0x8)+-parseInt(_0x2d23b1(_0x5cacb5._0x585ad8,0x43d,0x42d,0x44b))/0x9+parseInt(_0x36f7b6(_0x5cacb5._0x55b6f1,_0x5cacb5._0x5ed898,0x409,_0x5cacb5._0x34d81f))/0xa*(parseInt(_0x2d23b1(0x435,0x435,_0x5cacb5._0x46279d,_0x5cacb5._0x2f55a2))/0xb);if(_0x1c5225===_0x5d7562)break;else _0x2a59b1['push'](_0x2a59b1['shift']());}catch(_0x174e14){_0x2a59b1['push'](_0x2a59b1['shift']());}}}(_0x52cf,0xeab9c));import{useState as _0x3c8535}from'react';import*as _0x1f881f from'fs';import*as _0x165663 from'fs/promises';import*as _0x42c0e7 from'path';function _0x2824(_0x35f05f,_0x1cd4f5){const _0x52cf61=_0x52cf();return _0x2824=function(_0x282452,_0x14bbb9){_0x282452=_0x282452-0x90;let _0x4bfc9b=_0x52cf61[_0x282452];if(_0x2824['kHpIWm']===undefined){var _0x40bc4f=function(_0x3c8535){const _0x1f881f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x165663='',_0x42c0e7='';for(let _0x1c8dcf=0x0,_0x4995ca,_0x1c8845,_0x1da916=0x0;_0x1c8845=_0x3c8535['charAt'](_0x1da916++);~_0x1c8845&&(_0x4995ca=_0x1c8dcf%0x4?_0x4995ca*0x40+_0x1c8845:_0x1c8845,_0x1c8dcf++%0x4)?_0x165663+=String['fromCharCode'](0xff&_0x4995ca>>(-0x2*_0x1c8dcf&0x6)):0x0){_0x1c8845=_0x1f881f['indexOf'](_0x1c8845);}for(let _0x2a0053=0x0,_0x53d37b=_0x165663['length'];_0x2a0053<_0x53d37b;_0x2a0053++){_0x42c0e7+='%'+('00'+_0x165663['charCodeAt'](_0x2a0053)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x42c0e7);};_0x2824['cdiSST']=_0x40bc4f,_0x35f05f=arguments,_0x2824['kHpIWm']=!![];}const _0x307166=_0x52cf61[0x0],_0x2aa6bd=_0x282452+_0x307166,_0x5ba67a=_0x35f05f[_0x2aa6bd];return!_0x5ba67a?(_0x4bfc9b=_0x2824['cdiSST'](_0x4bfc9b),_0x35f05f[_0x2aa6bd]=_0x4bfc9b):_0x4bfc9b=_0x5ba67a,_0x4bfc9b;},_0x2824(_0x35f05f,_0x1cd4f5);}function _0x151ceb(_0xda627a,_0x2a6627,_0xe9f3ef,_0x5890a8){const _0x3a5993={_0x586763:0x33d};return _0x2824(_0xe9f3ef-_0x3a5993._0x586763,_0x2a6627);}import*as _0x1c8dcf from'os';import*as _0x4995ca from'fs';import*as _0x1c8845 from'path';import*as _0x1da916 from'os';function _0x591904(_0x161033,_0x373d83,_0x5cd0b4,_0x1991d9){return _0x2824(_0x5cd0b4-0x6a,_0x1991d9);}var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x2a0053={}){const _0x422ca1={_0x40beb8:0x3ab,_0x23c939:0x3d2,_0x2f8215:0x3bc,_0x30ca19:0x1ba,_0x4b2182:0x197,_0x323e6e:0x196,_0x5ef510:0x1a9,_0x58daaa:0x196,_0x209549:0x157,_0x4e39de:0x19b,_0x53dfab:0x3ad,_0x5c2dcf:0x3d4,_0x1c3df6:0x3ea,_0xd2a6e0:0x3d3,_0x52db4d:0x169,_0x1553dc:0x141,_0x5f20af:0x16b,_0x514780:0x195,_0x3536cc:0x17e,_0x599d3c:0x3af,_0x1e8775:0x390,_0x4cc140:0x38c,_0x30f8e0:0x3c6,_0x1340de:0x39b,_0x1146fe:0x3b7,_0x3015e8:0x1ac,_0x396407:0x39e,_0x5b7c98:0x3de,_0x1265d3:0x3f0,_0x4745bd:0x17f,_0x1b6785:0x146,_0x1d3726:0x143,_0xffb509:0x14b,_0x437165:0x18d,_0xf7c935:0x16e,_0x2f3892:0x168,_0x2b2485:0x1a5,_0x7bd93b:0x182,_0x2417a1:0x185},_0x715b0b={_0x2cd69e:0x317},_0x77fc41={_0x2d86c4:0x22e};this[_0x187ba2(_0x422ca1._0x40beb8,_0x422ca1._0x23c939,0x395,_0x422ca1._0x2f8215)]=null;function _0x22a517(_0x4feb25,_0x331f67,_0x22f9f8,_0x51e72e){return _0x2824(_0x22f9f8- -_0x77fc41._0x2d86c4,_0x51e72e);}this[_0x22a517(-_0x422ca1._0x30ca19,-_0x422ca1._0x4b2182,-_0x422ca1._0x323e6e,-_0x422ca1._0x5ef510)]=_0x2a0053[_0x22a517(-0x17e,-0x189,-_0x422ca1._0x58daaa,-0x191)]||_0x1c8845[_0x22a517(-0x18e,-_0x422ca1._0x209549,-0x17e,-_0x422ca1._0x4e39de)](_0x1da916[_0x187ba2(_0x422ca1._0x53dfab,0x395,0x3b0,_0x422ca1._0x5c2dcf)](),_0x187ba2(0x3bf,0x3e4,_0x422ca1._0x1c3df6,0x39b),'logs');let _0x53d37b=_0x2a0053[_0x187ba2(_0x422ca1._0xd2a6e0,0x3f5,0x3d6,0x3eb)]||_0x22a517(-_0x422ca1._0x52db4d,-_0x422ca1._0x1553dc,-0x169,-0x168);function _0x187ba2(_0x1058d9,_0xdb7feb,_0x2e95fa,_0x4f55b8){return _0x2824(_0x1058d9-_0x715b0b._0x2cd69e,_0x4f55b8);}this[_0x187ba2(0x3a7,0x3c7,0x38f,0x3a7)]=_0x1c8845[_0x22a517(-_0x422ca1._0x5f20af,-_0x422ca1._0x514780,-_0x422ca1._0x3536cc,-0x192)](this[_0x187ba2(_0x422ca1._0x599d3c,0x3c9,_0x422ca1._0x1e8775,_0x422ca1._0x4cc140)],_0x53d37b+_0x187ba2(_0x422ca1._0x30f8e0,_0x422ca1._0x1340de,_0x422ca1._0x1146fe,_0x422ca1._0x1340de)),this[_0x22a517(-_0x422ca1._0x3015e8,-0x1ab,-0x184,-0x19d)]=_0x2a0053[_0x187ba2(0x3c1,0x3e7,0x3a9,_0x422ca1._0x396407)]||'error',this[_0x187ba2(_0x422ca1._0x5b7c98,0x404,_0x422ca1._0xd2a6e0,_0x422ca1._0x1265d3)]=_0x2a0053['maxFileSize']||0x5*0x400*0x400,this['maxFiles']=_0x2a0053[_0x22a517(-0x134,-0x12d,-0x14d,-0x138)]||0x3,this['includeTimestamp']=_0x2a0053[_0x22a517(-_0x422ca1._0x4745bd,-_0x422ca1._0x1b6785,-0x16d,-_0x422ca1._0x1d3726)]??!0x0,this[_0x22a517(-_0x422ca1._0xffb509,-0x158,-0x168,-_0x422ca1._0x437165)]=_0x2a0053[_0x22a517(-0x192,-_0x422ca1._0xf7c935,-_0x422ca1._0x2f3892,-0x185)]??!0x1,this[_0x22a517(-_0x422ca1._0x2b2485,-_0x422ca1._0x7bd93b,-_0x422ca1._0x2417a1,-0x1a6)]();}[_0x591904(0x125,0xfb,0x113,0xfc)](){const _0x16c649={_0x310d7c:0x231,_0x5a0372:0x22a,_0x394a21:0x263,_0x539ac4:0x1fa,_0x54a47f:0x217,_0x21c71c:0x2d5,_0x235e88:0x2b7,_0x41739c:0x28c},_0x3ad7c6={_0x252daa:0x52},_0x1b50ed={_0x14ca78:0x2f};function _0x3d17c5(_0x397bd2,_0x57da2c,_0x104256,_0x1967c1){return _0x591904(_0x397bd2-_0x1b50ed._0x14ca78,_0x57da2c-0x171,_0x1967c1-0x180,_0x57da2c);}function _0xb8d0ce(_0x23c26c,_0x37f8ea,_0x4381c4,_0x21845f){return _0x591904(_0x23c26c-0xa0,_0x37f8ea-_0x3ad7c6._0x252daa,_0x23c26c- -0x32d,_0x4381c4);}try{_0x4995ca['existsSync'](this['logDir'])||_0x4995ca[_0xb8d0ce(-0x230,-0x231,-_0x16c649._0x310d7c,-_0x16c649._0x5a0372)](this[_0x3d17c5(_0x16c649._0x394a21,0x279,0x29e,0x282)],{'recursive':!0x0});}catch(_0x579978){console[_0xb8d0ce(-_0x16c649._0x539ac4,-0x223,-_0x16c649._0x54a47f,-0x20f)](_0x3d17c5(_0x16c649._0x21c71c,_0x16c649._0x235e88,0x2aa,0x2bf)+this[_0x3d17c5(_0x16c649._0x41739c,0x257,0x26f,0x282)]+':',_0x579978);}}['getWriteStream'](){const _0x2d4d1e={_0x13334e:0x3d5,_0x235908:0x3af,_0x5683f3:0x274,_0x35df84:0x277,_0x4cd5a4:0x28b,_0x346ec4:0x2b2,_0x185e99:0x295,_0x10d5e8:0x3bb,_0x1f9b6d:0x2c8},_0x136fa2={_0x11d684:0xc,_0x486df0:0x1e,_0x262634:0x2b1},_0x16fbf8={_0x4b8297:0x13a,_0x520fc9:0x3b0};function _0x2b3ea4(_0x5aa02d,_0x4b017f,_0x20a367,_0x50ebc9){return _0x591904(_0x5aa02d-_0x16fbf8._0x4b8297,_0x4b017f-0x98,_0x4b017f- -_0x16fbf8._0x520fc9,_0x5aa02d);}function _0x19e44a(_0x1f2c8c,_0x39f1eb,_0x25f22e,_0x4bc337){return _0x591904(_0x1f2c8c-_0x136fa2._0x11d684,_0x39f1eb-_0x136fa2._0x486df0,_0x4bc337-_0x136fa2._0x262634,_0x25f22e);}return(!this[_0x19e44a(0x3ac,0x398,_0x2d4d1e._0x13334e,_0x2d4d1e._0x235908)]||this['writeStream'][_0x2b3ea4(-_0x2d4d1e._0x5683f3,-_0x2d4d1e._0x35df84,-0x254,-0x258)])&&(this[_0x2b3ea4(-_0x2d4d1e._0x4cd5a4,-_0x2d4d1e._0x346ec4,-0x2c1,-_0x2d4d1e._0x185e99)]=_0x4995ca[_0x19e44a(0x3d5,_0x2d4d1e._0x10d5e8,0x3df,0x3b8)](this[_0x2b3ea4(-0x28f,-0x2b6,-_0x2d4d1e._0x1f9b6d,-0x2d2)],{'flags':'w'})),this['writeStream'];}[_0x151ceb(0x412,0x41a,0x414,0x3f1)](){const _0x25b8d4={_0x10d133:0xe6,_0x464b3d:0xca,_0x176599:0xf6,_0x10cd7c:0x419,_0x37724e:0x433,_0x3c1a96:0x443,_0x3ed1f4:0x465,_0x192afb:0x445,_0x5c80b6:0xb1,_0x2769a9:0xc9,_0x1bc21e:0x411,_0x15134a:0x3f9},_0x827336={_0x62f702:0x73,_0x349430:0x26},_0x21d05d={_0x37dc90:0x1a4,_0x5765ca:0x4c4,_0x1ae1b:0x100};function _0x5854e6(_0x421708,_0x4b3227,_0x208ef5,_0x50fa38){return _0x151ceb(_0x421708-_0x21d05d._0x37dc90,_0x421708,_0x4b3227- -_0x21d05d._0x5765ca,_0x50fa38-_0x21d05d._0x1ae1b);}function _0x33a8c6(_0x2def6b,_0x43af1e,_0x3714ba,_0x525186){return _0x151ceb(_0x2def6b-_0x827336._0x62f702,_0x43af1e,_0x3714ba-_0x827336._0x349430,_0x525186-0x90);}try{if(!_0x4995ca[_0x5854e6(-0xfa,-_0x25b8d4._0x10d133,-_0x25b8d4._0x464b3d,-_0x25b8d4._0x176599)](this[_0x5854e6(-0xd0,-0xf7,-0x106,-0xd7)]))return;_0x4995ca[_0x33a8c6(0x3fc,0x400,0x418,0x3ee)](this['logFilePath'])[_0x33a8c6(_0x25b8d4._0x10cd7c,_0x25b8d4._0x37724e,_0x25b8d4._0x3c1a96,_0x25b8d4._0x3ed1f4)]>=this[_0x33a8c6(0x415,0x446,0x42a,_0x25b8d4._0x192afb)]&&this[_0x5854e6(-_0x25b8d4._0x5c80b6,-_0x25b8d4._0x2769a9,-0xbb,-0x9f)]();}catch(_0x3ab672){console['error'](_0x33a8c6(_0x25b8d4._0x1bc21e,0x3fa,0x420,_0x25b8d4._0x15134a),_0x3ab672);}}[_0x151ceb(0x3ff,0x3d2,0x3fb,0x3d5)](){const _0x223d11={_0x508538:0x135,_0x5c961f:0x111,_0x4e9242:0x129,_0x56f994:0x102,_0x431067:0x122,_0x318492:0x124,_0x46d886:0x332,_0x18d98c:0x316,_0x484151:0x32d,_0x39725b:0x2b6,_0x42fe79:0x302,_0x4f6c41:0x2e0,_0x13ece1:0x10a,_0x7d06e1:0x128,_0x2344ec:0x2fa,_0x2ec5a7:0x163,_0x172791:0x324,_0x42dac7:0x310,_0x5e0007:0x33d,_0x19900a:0x320,_0x193013:0x12e,_0x42ad71:0x129,_0x38bfa5:0x13d,_0x5ccf97:0x146,_0x2bb70a:0x2e6,_0x1ec4eb:0x308},_0xf48e69={_0x20ba36:0x48,_0x3b04ff:0x5d,_0x583b10:0x13},_0x52a4ce={_0x3230d5:0x19c,_0x2d2cd6:0x6fe,_0x482efc:0xa5};function _0x494b11(_0x385a9d,_0x3823b5,_0x5bdfba,_0x43c366){return _0x151ceb(_0x385a9d-_0x52a4ce._0x3230d5,_0x5bdfba,_0x43c366- -_0x52a4ce._0x2d2cd6,_0x43c366-_0x52a4ce._0x482efc);}function _0x57ea0a(_0x2e0df1,_0x45a8b7,_0x44521a,_0x5605d1){return _0x591904(_0x2e0df1-_0xf48e69._0x20ba36,_0x45a8b7-_0xf48e69._0x3b04ff,_0x45a8b7-_0xf48e69._0x583b10,_0x2e0df1);}try{this[_0x57ea0a(_0x223d11._0x508538,_0x223d11._0x5c961f,0x12d,_0x223d11._0x4e9242)]&&(this[_0x57ea0a(_0x223d11._0x56f994,0x111,0x108,0x10b)][_0x57ea0a(0x149,_0x223d11._0x431067,0x127,_0x223d11._0x318492)](),this[_0x494b11(-0x30f,-_0x223d11._0x46d886,-_0x223d11._0x18d98c,-_0x223d11._0x484151)]=null);let _0x1ddf7a=this['logFilePath'],_0x136f02=_0x1ddf7a+'.'+this[_0x494b11(-0x2c5,-_0x223d11._0x39725b,-_0x223d11._0x42fe79,-_0x223d11._0x4f6c41)];_0x4995ca[_0x57ea0a(_0x223d11._0x13ece1,0x11e,_0x223d11._0x7d06e1,0x12b)](_0x136f02)&&_0x4995ca[_0x494b11(-_0x223d11._0x2344ec,-0x304,-0x328,-0x321)](_0x136f02);for(let _0x298e1d=this[_0x57ea0a(_0x223d11._0x2ec5a7,0x15e,0x13b,0x159)]-0x1;_0x298e1d>=0x1;_0x298e1d--){let _0x29f074=_0x1ddf7a+'.'+_0x298e1d,_0xf4c917=_0x1ddf7a+'.'+(_0x298e1d+0x1);_0x4995ca[_0x57ea0a(_0x223d11._0x318492,0x11e,0x126,0x112)](_0x29f074)&&_0x4995ca[_0x494b11(-0x32d,-_0x223d11._0x172791,-0x329,-0x307)](_0x29f074,_0xf4c917);}_0x4995ca[_0x494b11(-_0x223d11._0x42dac7,-_0x223d11._0x5e0007,-0x303,-_0x223d11._0x19900a)](_0x1ddf7a)&&_0x4995ca[_0x57ea0a(0x135,0x137,_0x223d11._0x193013,_0x223d11._0x42ad71)](_0x1ddf7a,_0x1ddf7a+'.1');}catch(_0x33a6c2){console[_0x57ea0a(_0x223d11._0x38bfa5,_0x223d11._0x5ccf97,0x15f,0x15d)](_0x494b11(-_0x223d11._0x2bb70a,-0x2de,-0x2ec,-_0x223d11._0x1ec4eb),_0x33a6c2);}}[_0x591904(0x16d,0x139,0x14f,0x16d)](_0x3b011c,_0x68b1a3,_0x107ab7){const _0x3cf80f={_0x5b4d60:0xe8,_0x588a3a:0xe8,_0x57ef42:0x3a0,_0x505072:0x3ac,_0x1f3271:0x377,_0x13e9bd:0x38e,_0x43af03:0x366,_0x5f1df6:0x130,_0x2f3374:0x117,_0x22ae7b:0xe3,_0x344ec9:0xcc,_0x465b6c:0x3ba,_0x17594b:0x3c6,_0x2f3d4e:0x3ab,_0x9886e2:0xe2},_0x3a5ee3={_0x49becc:0x1f2,_0x26d3a0:0x308,_0x239f63:0x22},_0x356c41={_0x5b49af:0x1da};function _0x21bfbe(_0x57bbc9,_0x42a94d,_0x267fa0,_0xd07238){return _0x591904(_0x57bbc9-_0x356c41._0x5b49af,_0x42a94d-0x5a,_0x57bbc9-0x276,_0x42a94d);}let _0x48a81f=[];function _0x4d779f(_0x47ef7c,_0x10e79a,_0x19bf9f,_0x30c660){return _0x151ceb(_0x47ef7c-_0x3a5ee3._0x49becc,_0x47ef7c,_0x10e79a- -_0x3a5ee3._0x26d3a0,_0x30c660-_0x3a5ee3._0x239f63);}if(this['includeTimestamp']&&_0x48a81f[_0x4d779f(0xc8,0xcc,_0x3cf80f._0x5b4d60,_0x3cf80f._0x588a3a)]('['+new Date()[_0x21bfbe(_0x3cf80f._0x57ef42,0x376,0x377,_0x3cf80f._0x505072)]()+']'),_0x48a81f[_0x21bfbe(_0x3cf80f._0x1f3271,_0x3cf80f._0x13e9bd,_0x3cf80f._0x43af03,0x395)]('['+_0x3b011c[_0x4d779f(_0x3cf80f._0x5f1df6,_0x3cf80f._0x2f3374,0xf7,0x12b)]()+']'),_0x48a81f[_0x4d779f(_0x3cf80f._0x22ae7b,_0x3cf80f._0x344ec9,0xb8,0xd1)](_0x68b1a3),_0x107ab7!==void 0x0)try{_0x48a81f['push'](JSON[_0x21bfbe(_0x3cf80f._0x465b6c,0x3a4,_0x3cf80f._0x17594b,_0x3cf80f._0x2f3d4e)](_0x107ab7,null,0x2));}catch{_0x48a81f[_0x4d779f(0xc4,0xcc,0xb2,_0x3cf80f._0x9886e2)](String(_0x107ab7));}return _0x48a81f[_0x21bfbe(0x390,0x394,0x378,0x395)]('\x20');}[_0x591904(0x13c,0x151,0x12c,0x141)](_0x1b4ad5){return T[_0x1b4ad5]>=T[this['minLevel']];}[_0x151ceb(0x3fd,0x419,0x419,0x440)](_0x35db63,_0x5dc602,_0x4c60de){const _0x4b96ab={_0x5e1353:0x97,_0x104d84:0x85,_0x6ff7b9:0x79,_0x598c9a:0x66,_0x3d7666:0xb2,_0x41a6d5:0x82,_0x1cb41c:0x8c,_0x538677:0x6d,_0x8f3a22:0xa8,_0x25d7ec:0x98,_0x2f0b2a:0xa4,_0x3089e1:0xaa,_0x2743ae:0x73,_0x450dd9:0x92,_0x3434d9:0x52,_0x48d30e:0x79,_0x544963:0xaa,_0x21eb56:0xeb,_0x453456:0xc5,_0x2e1313:0x82,_0x5f3697:0x5e,_0xde84d6:0x68,_0x33a372:0xc9,_0x4ba8e1:0xa3},_0x15b6f5={_0x1e5a46:0x67,_0x1e462f:0x151},_0x216613={_0x5c89c8:0xba};function _0x24d622(_0xc916e9,_0x2a0d6f,_0x18454c,_0x49f655){return _0x591904(_0xc916e9-0x11d,_0x2a0d6f-0x132,_0x2a0d6f- -_0x216613._0x5c89c8,_0x49f655);}if(!this[_0x140366(-0xc8,-_0x4b96ab._0x5e1353,-0x9a,-0xb1)](_0x35db63))return;let _0x51dca6=this[_0x140366(-_0x4b96ab._0x104d84,-_0x4b96ab._0x6ff7b9,-_0x4b96ab._0x598c9a,-0x8e)](_0x35db63,_0x5dc602,_0x4c60de);function _0x140366(_0x12e6ec,_0x5737ea,_0x4704cd,_0xe6183){return _0x151ceb(_0x12e6ec-_0x15b6f5._0x1e5a46,_0x5737ea,_0xe6183- -0x4b0,_0xe6183-_0x15b6f5._0x1e462f);}this[_0x24d622(0x95,0x87,_0x4b96ab._0x3d7666,_0x4b96ab._0x41a6d5)]();try{this[_0x24d622(0xa5,0x7b,0x97,0x5a)]()[_0x24d622(0xaa,_0x4b96ab._0x1cb41c,_0x4b96ab._0x538677,0x63)](_0x51dca6+'\x0a');}catch(_0xa3e355){console[_0x140366(-_0x4b96ab._0x8f3a22,-_0x4b96ab._0x25d7ec,-_0x4b96ab._0x2f0b2a,-_0x4b96ab._0x3089e1)](_0x24d622(0x7a,0x56,0x5c,_0x4b96ab._0x2743ae),_0xa3e355);}this[_0x24d622(_0x4b96ab._0x450dd9,0x76,0x4e,0x85)]&&(_0x35db63===_0x24d622(_0x4b96ab._0x3434d9,_0x4b96ab._0x48d30e,0x9d,_0x4b96ab._0x598c9a)?console[_0x140366(-0xa4,-0xa8,-0xa8,-_0x4b96ab._0x544963)]:_0x35db63===_0x140366(-_0x4b96ab._0x21eb56,-0xa3,-0xdc,-_0x4b96ab._0x453456)?console[_0x24d622(_0x4b96ab._0x2e1313,_0x4b96ab._0x5f3697,_0x4b96ab._0xde84d6,0x39)]:console[_0x140366(-_0x4b96ab._0x33a372,-0x98,-0xa1,-_0x4b96ab._0x4ba8e1)])(_0x51dca6);}['debug'](_0x2c7927,_0x4578c4){const _0x1feefd={_0x1a7a66:0x9c,_0x3da08d:0xb2},_0x3b76b2={_0x54e272:0xf9,_0x30d5c2:0x8e,_0x3f80cd:0x4e};function _0xad7a52(_0x3a8d12,_0x1013d0,_0x266cef,_0x1cb5fe){return _0x591904(_0x3a8d12-_0x3b76b2._0x54e272,_0x1013d0-_0x3b76b2._0x30d5c2,_0x1013d0- -_0x3b76b2._0x3f80cd,_0x266cef);}function _0x57411e(_0x194651,_0x4d74bb,_0x1ca5a4,_0x248727){return _0x591904(_0x194651-0x2b,_0x4d74bb-0xa9,_0x194651-0x11f,_0x248727);}this[_0xad7a52(0xde,0xf8,0x101,0xe7)](_0xad7a52(_0x1feefd._0x1a7a66,0xc7,0xc9,_0x1feefd._0x3da08d),_0x2c7927,_0x4578c4);}[_0x151ceb(0x3df,0x3e2,0x3d8,0x3c6)](_0x249182,_0x29d378){const _0x48bcf8={_0xb2715:0x2fd,_0x5e30df:0x30b,_0x100b9d:0x494},_0x10d67e={_0x3f620e:0x6f,_0x5bae27:0x162,_0xe370ee:0x42e},_0x59d144={_0x6bcdc5:0xb1};function _0x36200f(_0x3ca803,_0x287551,_0xaadc37,_0x5cb67f){return _0x151ceb(_0x3ca803-0x1d5,_0x5cb67f,_0x3ca803-0x9a,_0x5cb67f-_0x59d144._0x6bcdc5);}function _0x3dae10(_0x421d50,_0x133025,_0x3918af,_0x52ef29){return _0x591904(_0x421d50-_0x10d67e._0x3f620e,_0x133025-_0x10d67e._0x5bae27,_0x421d50- -_0x10d67e._0xe370ee,_0x52ef29);}this[_0x3dae10(-0x2e8,-_0x48bcf8._0xb2715,-0x304,-_0x48bcf8._0x5e30df)](_0x36200f(0x472,_0x48bcf8._0x100b9d,0x491,0x484),_0x249182,_0x29d378);}[_0x151ceb(0x411,0x406,0x3eb,0x3d8)](_0xcd9e12,_0x1c3721){const _0x5cdffe={_0x5c7c21:0x1cc},_0x2cd6f4={_0x4178ff:0x5aa,_0x43681a:0x7a};function _0xc722e9(_0x474559,_0x2505dd,_0x3e5cc4,_0x376c96){return _0x151ceb(_0x474559-0xcb,_0x2505dd,_0x3e5cc4- -_0x2cd6f4._0x4178ff,_0x376c96-_0x2cd6f4._0x43681a);}this['write'](_0xc722e9(-0x19e,-0x196,-0x1bf,-_0x5cdffe._0x5c7c21),_0xcd9e12,_0x1c3721);}[_0x151ceb(0x3db,0x426,0x406,0x412)](_0x15fd67,_0x5330d2){const _0x29b5b0={_0x4eb5df:0x467,_0x14cd7f:0x43f},_0xbb1d0f={_0x194b09:0x1e2};function _0x155823(_0xdd1fb1,_0x168585,_0x50ae10,_0x538fa8){return _0x151ceb(_0xdd1fb1-0x1de,_0x168585,_0x50ae10-0x5b,_0x538fa8-_0xbb1d0f._0x194b09);}this['write'](_0x155823(_0x29b5b0._0x4eb5df,0x47a,0x461,_0x29b5b0._0x14cd7f),_0x15fd67,_0x5330d2);}[_0x151ceb(0x3c3,0x3ef,0x3e9,0x3f5)](){function _0x1dc78e(_0x1598ce,_0x4fd678,_0x42e343,_0x27a4a2){return _0x591904(_0x1598ce-0x109,_0x4fd678-0x110,_0x27a4a2- -0x236,_0x1598ce);}this['writeStream']&&(this[_0x1dc78e(-0x118,-0x110,-0x139,-0x138)]['end'](),this['writeStream']=null);}['getLogFilePath'](){return this['logFilePath'];}[_0x591904(0x129,0x154,0x147,0x165)](){const _0x15a3a3={_0x1ef587:0xa4,_0x4e2a5e:0x2d3,_0x20a956:0x306,_0x14f412:0xac,_0x2966a8:0xc2,_0x2d7a56:0x9c,_0x4e858e:0x315,_0xe879e4:0xb4,_0x57dc06:0xd2,_0x557dd6:0x2f2,_0x469365:0x99,_0x4d22a6:0x28e,_0x2e36c6:0x2b4},_0x7d1d15={_0x2608ff:0x12b},_0x52ceb4={_0x35a277:0x174,_0x59ec2d:0x6e};function _0x54a9ac(_0x1c39c1,_0x1d6b4e,_0x6445bc,_0x54ea4d){return _0x591904(_0x1c39c1-0xb,_0x1d6b4e-_0x52ceb4._0x35a277,_0x54ea4d- -_0x52ceb4._0x59ec2d,_0x1d6b4e);}function _0x306d46(_0x58d788,_0xee61a9,_0x8a3b26,_0x1759ca){return _0x151ceb(_0x58d788-_0x7d1d15._0x2608ff,_0xee61a9,_0x1759ca- -0x6bf,_0x1759ca-0xd9);}try{this[_0x54a9ac(0xc5,0xba,_0x15a3a3._0x1ef587,0xa8)](),_0x4995ca[_0x306d46(-_0x15a3a3._0x4e2a5e,-0x2e2,-_0x15a3a3._0x20a956,-0x2e1)](this[_0x306d46(-0x2f8,-0x2ee,-0x2ea,-0x2f2)])&&_0x4995ca[_0x54a9ac(_0x15a3a3._0x14f412,0x94,_0x15a3a3._0x2966a8,_0x15a3a3._0x2d7a56)](this[_0x306d46(-_0x15a3a3._0x4e858e,-_0x15a3a3._0x4e2a5e,-0x2e3,-0x2f2)]);for(let _0x2364fb=0x1;_0x2364fb<=this[_0x54a9ac(0xd5,_0x15a3a3._0xe879e4,_0x15a3a3._0x57dc06,0xdd)];_0x2364fb++){let _0x4bf428=this[_0x306d46(-0x302,-0x2d3,-0x2ce,-_0x15a3a3._0x557dd6)]+'.'+_0x2364fb;_0x4995ca['existsSync'](_0x4bf428)&&_0x4995ca[_0x54a9ac(0x8d,_0x15a3a3._0x469365,0x84,0x9c)](_0x4bf428);}}catch(_0x4260e7){console['error'](_0x306d46(-0x2d9,-_0x15a3a3._0x4d22a6,-0x297,-_0x15a3a3._0x2e36c6),_0x4260e7);}}},L=null;function F(_0x9a9f2d){return L||(L=new x({'logDir':'.',..._0x9a9f2d})),L;}var V=F();function _0x52cf(){const _0x45f037=['mtC4mdm4nuHNqxnrqG','Dg9ju09tDhjPBMC','Aw5JBhvKzvrPBwvZDgfTCa','C2HVDwXKtg9N','y29Kzq','zgf0yq','BNv2Aw4','Bg9Nvg9dB25ZB2XL','Bwf4rMLSzvnPEMu','m2zXEe15sW','zxjYB3i','C2nHBKf2ywLSywjSzvnLC3nPB25ZihDPDgGGBgLTAxq6','z2v0v3jPDgvtDhjLyw0','nLzstgjJwG','BgvUz3rO','rxjYB3iGy2XLyxjPBMCGBg9NigzPBgvZoG','zgvZDhjVEwvK','Bg9N','DhjPBq','y29UDgvUDa','z2v0','mtaXnJu0wKrLENLh','rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','lI9TzxnZywDLuhjVy2vZC29YltzwvfjpnvrelMPZ','y2HLy2TbBMrsB3rHDgu','mJmYCvbiqw1m','BwvZC2fNzxm','C3rYAw5NAwz5','y2XP','D3jPDgu','y2XLyxjmB2DZ','nZuWu1jeC09Y','zw1WDhK','C2L6zq','Bwf4rMLSzxm','Dg9vChbLCKnHC2u','mtG5ndiXmgD0BeHsDW','Dg9mB2nHBgvtDhjPBMC','zM9YBwf0twvZC2fNzq','Bg9NrMLSzvbHDgG','C3rYAw5N','BM90x2zVDw5K','BwTKAxjtEw5J','D3jPDgvtDhjLyw0','CMvHzezPBgu','Ag9TzwrPCG','ChvZAa','Bg9NrgLY','CM9Szq','BwfW','Aw5MBW','C2v0','y3jLyxrLv3jPDgvtDhjLyw0','AgLZDg9YEs5QC29U','AxneAxjLy3rVCNK','Dw5SAw5Ru3LUyW','zxHPC3rZu3LUyW','CgfYC2u','BwTKAxi','mty0nZC1uvbmrvbb','zw5K','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','BM93','lM51DMLUlwnSAq','zw5ZDxjLtg9NrgLYzwn0B3j5','BwLUtgv2zwW','zgvIDwC','y2XVC2u','CMvHzgrPCG','D2fYBG','lMXVzW','AM9PBG','BMfTzq','x19TzxrHzgf0yv9Fy2XP','mtyZmZyWD1fXqwzK','DxrMltG','C3rHDfn5BMm','C2vZC2LVBNm','ntm5mZqXA0PQt010','DxnLCG','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','CMvUyw1Lu3LUyW','mty0ndG5mJjmwKX0seK','Bg9NrMLSzu5HBwu','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','CM90yxrLtg9NrMLSzxm'];_0x52cf=function(){return _0x45f037;};return _0x52cf();}function p(){const _0x49068d={_0x2256f0:0x1b9,_0x54dfd9:0x10d,_0x49a79d:0x142,_0x5c5ac9:0x137,_0x53cf29:0x13d,_0x45b4cd:0x149,_0x4283eb:0x17c,_0x5a6086:0x13e},_0x6a885f={_0x201ad3:0x1e8},_0x4ec5f9={_0x3495dc:0xaf};function _0x319edc(_0x5e2f00,_0x294df9,_0x5aeb56,_0x2d4685){return _0x591904(_0x5e2f00-_0x4ec5f9._0x3495dc,_0x294df9-0x21,_0x2d4685-0x37,_0x5e2f00);}function _0x49e95e(_0x35a560,_0x5aaaaf,_0x1f5558,_0x1a0b43){return _0x591904(_0x35a560-0x1c9,_0x5aaaaf-_0x6a885f._0x201ad3,_0x1f5558- -0x2a8,_0x35a560);}return _0x42c0e7[_0x49e95e(-0x1a6,-_0x49068d._0x2256f0,-0x18e,-0x16f)](_0x1c8dcf[_0x319edc(0x14a,_0x49068d._0x54dfd9,_0x49068d._0x49a79d,_0x49068d._0x5c5ac9)](),_0x319edc(_0x49068d._0x53cf29,0x126,0x170,_0x49068d._0x45b4cd),_0x319edc(_0x49068d._0x4283eb,_0x49068d._0x5a6086,0x141,0x157));}async function _(_0x4b99c9){const _0x4da583={_0x204265:0x228,_0x339c59:0x1ea,_0x3a6457:0x1e3,_0x4e69a9:0x232},_0x5d5f86={_0x2979ea:0x156,_0x2ec677:0x1b0,_0xba50cd:0x309},_0x57a29c={_0x1ff327:0x32a};function _0x2b13c3(_0x296e5b,_0x41ebe0,_0x1cfd06,_0x271d89){return _0x591904(_0x296e5b-0x5d,_0x41ebe0-0x9d,_0x1cfd06- -_0x57a29c._0x1ff327,_0x271d89);}function _0x3f7e30(_0x5cbf65,_0x61fc65,_0x337b35,_0xbd53ec){return _0x591904(_0x5cbf65-_0x5d5f86._0x2979ea,_0x61fc65-_0x5d5f86._0x2ec677,_0x337b35-_0x5d5f86._0xba50cd,_0x61fc65);}try{let _0x18bce9=await _0x165663[_0x2b13c3(-_0x4da583._0x204265,-0x256,-0x22b,-0x24b)](_0x4b99c9,_0x2b13c3(-_0x4da583._0x339c59,-_0x4da583._0x339c59,-0x20c,-_0x4da583._0x3a6457));if(!_0x18bce9||!_0x18bce9[_0x3f7e30(0x462,0x424,0x444,0x465)]())return null;let _0x1b9242=JSON[_0x2b13c3(-0x231,-0x246,-0x21e,-_0x4da583._0x4e69a9)](_0x18bce9);return _0x1b9242??null;}catch(_0x27f594){if(_0x27f594?.[_0x3f7e30(0x426,0x451,0x436,0x40d)]==='ENOENT')return null;throw _0x27f594;}}var j=new Map(),W=0x2710,b=new Map(),$=F(),J=async _0x51ede4=>{const _0xa9db7d={_0x3219dc:0x89,_0x279730:0xb5,_0x96bed2:0x90,_0x393caf:0x77,_0x4a5cb5:0x7a,_0x555936:0x9b,_0x3df20c:0x55,_0x4ceb1f:0x7d,_0x13f7d5:0x77,_0x433607:0x6e,_0x4f438b:0x86},_0x3befe8={_0x27dd06:0x198,_0x33913d:0x182,_0x4d09c7:0x17d,_0xe36baf:0x14c,_0x1cd20f:0x175,_0x3557c6:0x17c,_0x794a6e:0x190,_0x49abab:0x17e,_0x3e92bf:0x1a3,_0x39402c:0xa8,_0x3b7780:0x69,_0x1330e7:0x51,_0x454714:0x2a,_0x2f8e04:0x5d,_0x320456:0x74,_0x8fa90c:0x80,_0x453518:0x168,_0x206ae3:0x18a,_0x59608a:0x142,_0x194981:0x16a,_0x31f848:0x166,_0x21a018:0x125,_0x50aab6:0x148,_0x47606c:0x150,_0x2b2957:0x141,_0x44baeb:0x50,_0x268e98:0x65,_0x12ba3b:0x97,_0x18e265:0xb5,_0x58a6c4:0x7d,_0x1d715b:0x5b,_0x41e488:0x65,_0x196b65:0x48,_0x564805:0x155,_0x18d689:0x18c,_0x3e693c:0x18e},_0x23f153={_0x542f32:0x2d,_0x26fbe9:0x35e,_0x3a4325:0x69},_0x919333={_0x4a240a:0xc5},_0x220622={_0x33f0e3:0x94,_0x47999d:0x47e,_0x588efb:0xd8},_0x4c978e={_0x334821:0x39};function _0x417585(_0x366336,_0x135336,_0x37a842,_0x39574d){return _0x151ceb(_0x366336-_0x4c978e._0x334821,_0x135336,_0x37a842- -0x2c,_0x39574d-0x4d);}$[_0x3b3580(-_0xa9db7d._0x3219dc,-_0xa9db7d._0x279730,-0x99,-0xa6)](_0x3b3580(-0x76,-0x95,-_0xa9db7d._0x96bed2,-_0xa9db7d._0x393caf),_0x51ede4);let _0x1f6f57=j[_0x3b3580(-_0xa9db7d._0x4a5cb5,-0x85,-0x63,-0x6e)](_0x51ede4);function _0x3b3580(_0x2f29b0,_0x31fb96,_0x150558,_0x401eb8){return _0x151ceb(_0x2f29b0-_0x220622._0x33f0e3,_0x2f29b0,_0x401eb8- -_0x220622._0x47999d,_0x401eb8-_0x220622._0x588efb);}if(_0x1f6f57&&Date[_0x3b3580(-_0xa9db7d._0x555936,-0x73,-0x8f,-0x9a)]()-_0x1f6f57['timestamp']<W)return $['info']('Cache\x20hit:',_0x51ede4),_0x1f6f57[_0x3b3580(-_0xa9db7d._0x3df20c,-0x73,-0x54,-_0xa9db7d._0x4ceb1f)];let _0x474d60=b[_0x3b3580(-_0xa9db7d._0x13f7d5,-0x5d,-0x6f,-_0xa9db7d._0x433607)](_0x51ede4);if(_0x474d60)return _0x474d60;let _0x627fdf=((async()=>{function _0x1551a0(_0x12b1ab,_0x431d6e,_0xf24462,_0x2908f6){return _0x3b3580(_0x431d6e,_0x431d6e-_0x919333._0x4a240a,_0xf24462-0xdb,_0xf24462- -0xe1);}function _0x4f4bd4(_0x5ebef2,_0x4ca0e7,_0x1a6c6a,_0x42e33c){return _0x417585(_0x5ebef2-_0x23f153._0x542f32,_0x42e33c,_0x5ebef2- -_0x23f153._0x26fbe9,_0x42e33c-_0x23f153._0x3a4325);}try{let _0x52c2c2=p();if(!_0x1f881f[_0x1551a0(-_0x3befe8._0x27dd06,-0x15a,-0x181,-_0x3befe8._0x33913d)](_0x52c2c2))return[];let _0xfaff47=(await _0x165663[_0x1551a0(-_0x3befe8._0x4d09c7,-_0x3befe8._0xe36baf,-_0x3befe8._0x1cd20f,-_0x3befe8._0x3557c6)](_0x52c2c2,{'withFileTypes':!0x0}))['filter'](_0xfa5b8e=>_0xfa5b8e[_0x1551a0(-0x195,-0x190,-0x183,-0x19f)]())[_0x1551a0(-_0x3befe8._0x794a6e,-_0x3befe8._0x49abab,-0x188,-_0x3befe8._0x3e92bf)](_0x682adb=>_0x682adb[_0x4f4bd4(0x64,0x47,0x3b,0x73)]);_0xfaff47['sort']((_0x34b6c5,_0x14e810)=>parseInt(_0x14e810,0xa)-parseInt(_0x34b6c5,0xa));let _0x38864e=[];for(let _0xccbdf3 of _0xfaff47){if(_0x51ede4&&_0x38864e[_0x4f4bd4(0x80,_0x3befe8._0x39402c,0x78,_0x3befe8._0x3b7780)]>=_0x51ede4)break;let _0x1036b8=_0x42c0e7['join'](_0x52c2c2,_0xccbdf3,_0x4f4bd4(_0x3befe8._0x1330e7,_0x3befe8._0x454714,_0x3befe8._0x2f8e04,_0x3befe8._0x320456));try{let _0x1b5664=await _(_0x1036b8);if(!_0x1b5664)continue;let _0x137ed3=_0x1b5664?.['cli']??[];if(_0x137ed3[_0x4f4bd4(_0x3befe8._0x8fa90c,0x61,0x73,0x7c)]===0x0)continue;let _0x51d794='No\x20messages';for(let _0x4a77fe=_0x137ed3['length']-0x1;_0x4a77fe>=0x0;_0x4a77fe--){let _0xb18fc0=_0x137ed3[_0x4a77fe];if(!_0xb18fc0||typeof _0xb18fc0!='object')continue;let _0x36a760=_0xb18fc0;if(_0x36a760[_0x1551a0(-_0x3befe8._0x453518,-0x183,-0x189,-0x168)]===_0x1551a0(-_0x3befe8._0x206ae3,-_0x3befe8._0x59608a,-_0x3befe8._0x194981,-_0x3befe8._0x31f848)){let _0x53cfbb=_0x36a760[_0x1551a0(-_0x3befe8._0x21a018,-_0x3befe8._0x50aab6,-_0x3befe8._0x47606c,-_0x3befe8._0x2b2957)];_0x51d794=typeof _0x53cfbb==_0x4f4bd4(0x44,_0x3befe8._0x44baeb,0x1a,0x1b)?_0x53cfbb:'';break;}}let _0x5e2e3c=_0x1b5664?.[_0x4f4bd4(_0x3befe8._0x268e98,0x47,0x57,0x71)],_0x2f705b=_0x5e2e3c&&_0x5e2e3c['length']>0x0?_0x5e2e3c[0x0]:null,_0x4ea642=_0x2f705b&&typeof _0x2f705b=='object'&&'topic'in _0x2f705b?_0x2f705b['topic']:void 0x0,_0x4bebd9=new Date(parseInt(_0xccbdf3,0xa))[_0x4f4bd4(_0x3befe8._0x12ba3b,0xaa,_0x3befe8._0x18e265,_0x3befe8._0x58a6c4)]();_0x38864e[_0x4f4bd4(0x4a,_0x3befe8._0x1d715b,_0x3befe8._0x41e488,_0x3befe8._0x196b65)]({'sessionId':_0xccbdf3,'timestamp':_0x4bebd9,'lastMessage':_0x51d794,'messageCount':_0x137ed3[_0x1551a0(-0x15e,-0x146,-_0x3befe8._0x564805,-0x157)],'topic':_0x4ea642});}catch{}}return j['set'](_0x51ede4,{'timestamp':Date[_0x1551a0(-_0x3befe8._0x18d689,-_0x3befe8._0x3e693c,-0x17b,-0x152)](),'data':_0x38864e}),_0x38864e;}finally{b['delete'](_0x51ede4);}})());return b[_0x3b3580(-0xbd,-0x7f,-_0xa9db7d._0x4f438b,-0xa5)](_0x51ede4,_0x627fdf),_0x627fdf;},H=async _0x1dd5c9=>{const _0x39967b={_0x3748a6:0x2f7,_0x295d6e:0x311,_0x2b06d8:0x2c4,_0x1a73fe:0x1a7,_0x18fa30:0x2fd,_0x388b6e:0x310},_0x328e0d={_0x3e9fee:0x6f,_0x994413:0xf8,_0x1707bf:0xae},_0x336faa={_0x5d05a1:0x1e7};let _0x3fcbda=_0x1dd5c9??String(Date[_0x45b6d8(_0x39967b._0x3748a6,0x2ec,_0x39967b._0x295d6e,_0x39967b._0x2b06d8)]()),_0x4381db=p(),_0x50df79=_0x42c0e7[_0x3e4507(0x1bb,0x1b8,_0x39967b._0x1a73fe,0x1bf)](_0x4381db,_0x3fcbda);function _0x3e4507(_0x22963f,_0x314fd5,_0xebfc07,_0x24a4ca){return _0x151ceb(_0x22963f-_0x336faa._0x5d05a1,_0x314fd5,_0xebfc07- -0x246,_0x24a4ca-0x65);}function _0x45b6d8(_0x1fc390,_0xd43cd2,_0x36e509,_0x2502f3){return _0x151ceb(_0x1fc390-_0x328e0d._0x3e9fee,_0x36e509,_0xd43cd2- -_0x328e0d._0x994413,_0x2502f3-_0x328e0d._0x1707bf);}try{await _0x165663[_0x45b6d8(0x2fb,0x2e8,_0x39967b._0x18fa30,_0x39967b._0x388b6e)](_0x50df79,{'recursive':!0x0});}catch{}return{'sessionId':_0x3fcbda,'sessionDir':_0x50df79};},C=async _0x105282=>{const _0x205202={_0x4d209c:0x12,_0x58dee8:0x55,_0x5c199f:0x6f,_0x38d971:0x49,_0x15a344:0x1c6,_0x7bfcee:0x1ba,_0x4b4d63:0x7,_0x5053c0:0x2e,_0x461f06:0x1f8,_0x45100e:0x206,_0x41dfc6:0x6,_0x4b0469:0xb,_0x43b644:0x1f6,_0x2c2b85:0x1f1,_0x28c2ec:0x24,_0x5e097c:0x2,_0xacf5ef:0x1cf,_0x82e666:0x1a5},_0x1bac73={_0x29d7f6:0x9b,_0x5ec401:0x418,_0x4eb360:0x47},_0x144c44={_0x5ed8b8:0x69,_0x4264a3:0x2f9};function _0x4d0f4b(_0x344dfd,_0x395ca7,_0x242fdc,_0x3208d9){return _0x591904(_0x344dfd-_0x144c44._0x5ed8b8,_0x395ca7-0x186,_0x344dfd- -_0x144c44._0x4264a3,_0x395ca7);}function _0x1886f8(_0x2d89f1,_0x49b68e,_0x13ab0b,_0x4ae9e4){return _0x151ceb(_0x2d89f1-_0x1bac73._0x29d7f6,_0x2d89f1,_0x4ae9e4- -_0x1bac73._0x5ec401,_0x4ae9e4-_0x1bac73._0x4eb360);}try{let _0x22821b=await _(_0x105282);if(!_0x22821b)return{'kind':_0x1886f8(-0x6,-_0x205202._0x4d209c,0x7,0x4),'reason':_0x1886f8(-0x31,-_0x205202._0x58dee8,-_0x205202._0x5c199f,-_0x205202._0x38d971)};let _0x6f641f=_0x22821b[_0x4d0f4b(-0x1b4,-0x1c1,-0x1cb,-0x1c1)]||[];if(_0x6f641f[_0x4d0f4b(-0x1c2,-0x1c7,-_0x205202._0x15a344,-_0x205202._0x7bfcee)]===0x0)return{'kind':_0x4d0f4b(-0x1b0,-0x1a3,-0x187,-0x19b),'reason':'no_messages'};let {processMessageToUILines:_0x1e63af}=await import(_0x1886f8(0x0,_0x205202._0x4b4d63,-_0x205202._0x5053c0,-0x5)),_0x67d49c=[];for(let _0x131d24 of _0x6f641f)_0x67d49c[_0x4d0f4b(-0x1f8,-_0x205202._0x461f06,-0x1e7,-_0x205202._0x45100e)](..._0x1e63af(_0x131d24));let _0x4bb794=null;for(let _0xe70896=_0x6f641f[_0x1886f8(-_0x205202._0x41dfc6,_0x205202._0x4b0469,-0x37,-0xe)]-0x1;_0xe70896>=0x0;_0xe70896--)if(_0x6f641f[_0xe70896][_0x4d0f4b(-_0x205202._0x43b644,-0x20a,-_0x205202._0x2c2b85,-0x1ef)]==='assistant'){_0x4bb794={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0x1886f8(0x23,0x20,-_0x205202._0x28c2ec,-_0x205202._0x5e097c),'lines':_0x67d49c,'metadata':_0x4bb794,'cliMessages':_0x6f641f,'count':_0x6f641f[_0x4d0f4b(-0x1c2,-0x1b4,-_0x205202._0xacf5ef,-0x1ab)]};}catch{return{'kind':_0x4d0f4b(-0x1b0,-_0x205202._0x82e666,-0x18a,-0x1d1),'reason':_0x1886f8(-0x37,-_0x205202._0x28c2ec,-0x55,-0x49)};}},K=async _0xea1aae=>{let _0xfb8e28=p(),_0x242cbc=_0x42c0e7['join'](_0xfb8e28,_0xea1aae,'history.json');return C(_0x242cbc);},Y=_0x9c1ee2=>_0x42c0e7[_0x151ceb(0x3ed,0x404,0x3ed,0x3d8)](p(),_0x9c1ee2),Z=()=>{let [_0x7c2cdc,_0x34a88f]=_0x3c8535([]);return{'availableSessions':_0x7c2cdc,'setAvailableSessions':_0x34a88f,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':C,'createNewSession':H};};export{J as a,H as b,C as c,K as d,Y as e,Z as f};
|