@swishfoundry/qew 1.0.23 → 1.0.24-beta.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/commands/queue.js +1 -1
- package/dist/commands/start.js +1 -1
- package/dist/commands/usage.js +1 -1
- package/dist/core/claudeRunner.js +1 -1
- package/dist/core/claudeSessionManager.js +1 -1
- package/dist/core/gitService.js +1 -1
- package/dist/core/outputParser.js +1 -1
- package/dist/core/queueManager.js +1 -1
- package/dist/core/runnerPool.js +1 -1
- package/dist/core/sessionManager.js +1 -1
- package/dist/core/shortcutManager.js +1 -1
- package/dist/crypto/encryption.js +1 -1
- package/dist/crypto/keypair.js +1 -1
- package/dist/index.js +1 -1
- package/dist/network/ipDetect.js +1 -1
- package/dist/network/messageHandler.js +1 -1
- package/dist/network/relayClient.js +1 -1
- package/dist/network/server.js +1 -1
- package/dist/network/tlsCert.js +1 -1
- package/dist/network/tunnel.js +1 -1
- package/dist/providers/claude.js +1 -1
- package/dist/providers/codex.js +1 -1
- package/dist/providers/gemini.js +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/types.js +1 -1
- package/dist/services/versionConfig.js +1 -1
- package/dist/ui/App.js +1 -1
- package/dist/ui/components/Header.js +1 -1
- package/dist/ui/components/Layout.js +1 -1
- package/dist/ui/components/common/StatusDot.js +1 -1
- package/dist/ui/components/left/ConnectionPanel.js +1 -1
- package/dist/ui/components/left/QRCodeDisplay.js +1 -1
- package/dist/ui/components/prompts/AskUserQuestionPrompt.js +1 -1
- package/dist/ui/components/prompts/ExitPlanPrompt.js +1 -1
- package/dist/ui/components/prompts/PermissionPrompt.js +1 -1
- package/dist/ui/components/right/AnswerBox.js +1 -1
- package/dist/ui/components/right/ChatMessage.js +1 -1
- package/dist/ui/components/right/ChatPanel.js +1 -1
- package/dist/ui/components/right/StreamingText.js +1 -1
- package/dist/ui/components/right/ToolGroup.js +1 -1
- package/dist/ui/hooks/useEventBridge.js +1 -1
- package/dist/ui/index.js +1 -1
- package/dist/ui/store/index.js +1 -1
- package/dist/ui/theme/colors.js +1 -1
- package/dist/utils/claudePath.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4fd8(){const _0x1bf7d5=['AvbcCem','C2XPy2u','ifjLCxvPCMvK','s2zStMW','EMLUyZqWma','rgvUEq','BgvUz3rO','ugvYBwLZC2LVBG','w3LD','rMLSztOG','rfDcrLG','nJqWndfozxrSs3K','EMLUyZCWma','CMDOsey','y1riDwe','DMLVBgv0','qxbWCM92zq','ALD2C3u','wuHgr3K','A2nPy3m','CMvK','mtiXoda2nwfQvKrnCW','v2fJs3O','tujizNm','zMLSzvbHDgG','mte2nJKYmdHbCfDiqMe','otGZnZKWmezVCe5QzG','rK1NCKe','Dgv4DfbYAw1HCG','C2LUz2XL','ndyYmJKYnNPcwMDjwq','quzZwMK','mtaYCgjvC0fO','mJrQD21sCMK','BKr4sha','EMLUyZuWma','nduWotK0mgDor2D6uq','wxzktfK','wNbmDeS','twTVug4','lI4U','rvzQB28','Dg9mB3DLCKnHCW','y29SDw1U','y29UDgvUDa','yxj5','CvH3s28','weTtDKC','mtuWnZKZn25Ls3rkta'];_0x4fd8=function(){return _0x1bf7d5;};return _0x4fd8();}(function(_0x3e7b6e,_0x111729){const _0x4b81b0={_0x2e522e:0x25c,_0xb7f46e:0x25e,_0x78c7ea:0x63,_0x4bef30:0x58,_0x5aa354:0x52,_0xbcfde8:0x5b,_0x12401d:0x74,_0x38fb09:0x56,_0x4a8368:0x83,_0x16ca7f:0x70,_0x340f5f:0x24c,_0x20db68:0x260,_0x4fbf52:0x25a},_0x114e8b={_0x37525e:0x3a9},_0x2dec96={_0x32604d:0xf8},_0x52a7b4=_0x3e7b6e();function _0x1be112(_0xc65e61,_0x542cd7,_0x218874,_0x5633f4){return _0xb28d(_0x218874- -_0x2dec96._0x32604d,_0x542cd7);}function _0x20b0cc(_0x4ed54d,_0x5a1fe4,_0x3b86ee,_0x4a50c2){return _0xb28d(_0x3b86ee- -_0x114e8b._0x37525e,_0x5a1fe4);}while(!![]){try{const _0x4f8282=-parseInt(_0x20b0cc(-_0x4b81b0._0x2e522e,-0x24c,-0x262,-_0x4b81b0._0xb7f46e))/(-0x1*-0x13a5+-0x24*-0xa0+-0x1512*0x2)+-parseInt(_0x1be112(_0x4b81b0._0x78c7ea,0x7b,0x70,_0x4b81b0._0x4bef30))/(0xbd9+-0x1d87+-0x10*-0x11b)*(-parseInt(_0x1be112(_0x4b81b0._0x5aa354,_0x4b81b0._0xbcfde8,_0x4b81b0._0xbcfde8,0x52))/(0x762+-0xa65+0x306))+parseInt(_0x1be112(0x7f,0x82,_0x4b81b0._0x12401d,0x65))/(-0x17d4+0xc2c+0x14c*0x9)+-parseInt(_0x1be112(_0x4b81b0._0x38fb09,_0x4b81b0._0x78c7ea,0x65,0x55))/(-0x25e5+0xc17+0x1*0x19d3)*(parseInt(_0x1be112(0x74,_0x4b81b0._0x4a8368,0x71,_0x4b81b0._0x16ca7f))/(-0xb93+-0x7c2*0x2+0x1b1d*0x1))+parseInt(_0x20b0cc(-0x245,-_0x4b81b0._0x340f5f,-0x243,-0x255))/(-0x5b9+0x1f68+-0x19a8)+parseInt(_0x20b0cc(-0x241,-_0x4b81b0._0x20db68,-0x248,-0x236))/(-0x181f+-0x3af+-0x1*-0x1bd6)+-parseInt(_0x20b0cc(-_0x4b81b0._0x4fbf52,-0x258,-0x247,-0x24b))/(-0x1418+-0x1e3f+0x3260);if(_0x4f8282===_0x111729)break;else _0x52a7b4['push'](_0x52a7b4['shift']());}catch(_0x1a20a6){_0x52a7b4['push'](_0x52a7b4['shift']());}}}(_0x4fd8,-0x6f2e9+0xb78*-0xe6+0x1cd88b*0x1));import{jsx as _0x4c0e4a,jsxs as _0x3773bb}from'react/jsx-runtime';import{Box,Text,useInput}from'ink';import{colors}from'../../theme/colors.js';function _0xb28d(_0x57d220,_0x18922a){_0x57d220=_0x57d220-(-0x2168*-0x1+0x8*-0x35b+-0x2a7*0x2);const _0xd3041b=_0x4fd8();let _0x3d5778=_0xd3041b[_0x57d220];if(_0xb28d['zDKxmg']===undefined){var _0x2fe27e=function(_0xed5399){const _0x23e41='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x330817='',_0xfd6a5a='';for(let _0x51a2c9=0x13d*-0x3+-0x9*-0x409+-0x209a,_0x2d6a02,_0x2191b1,_0x527a44=-0x28*-0xee+0x2*0xdd3+-0x40d6;_0x2191b1=_0xed5399['charAt'](_0x527a44++);~_0x2191b1&&(_0x2d6a02=_0x51a2c9%(0x10f5*-0x1+0x1441+-0x348)?_0x2d6a02*(0xc*0x4+0x4a8*-0x4+0x2*0x958)+_0x2191b1:_0x2191b1,_0x51a2c9++%(-0x2*0x209+0x2*0x2f3+0x4*-0x74))?_0x330817+=String['fromCharCode'](0x16cc+-0x1b06+0x1*0x539&_0x2d6a02>>(-(0xb9*0x5+0x12be+-0x1659)*_0x51a2c9&-0xaaf+-0x15f*-0x9+0xb*-0x26)):0x1784+0x26c+-0x19f0){_0x2191b1=_0x23e41['indexOf'](_0x2191b1);}for(let _0x4b1501=0xc90+-0x2457+0x17c7*0x1,_0x3f2566=_0x330817['length'];_0x4b1501<_0x3f2566;_0x4b1501++){_0xfd6a5a+='%'+('00'+_0x330817['charCodeAt'](_0x4b1501)['toString'](0xf75+-0x1a*0x4f+-0x75f))['slice'](-(0x1850+0x8f9+0x2147*-0x1));}return decodeURIComponent(_0xfd6a5a);};_0xb28d['hbuOlg']=_0x2fe27e,_0xb28d['MvoFsp']={},_0xb28d['zDKxmg']=!![];}const _0x2d4a4a=_0xd3041b[-0x2*-0xcf2+0x9f4+0x1f*-0x128],_0x37cd5c=_0x57d220+_0x2d4a4a,_0x2a2c7a=_0xb28d['MvoFsp'][_0x37cd5c];return!_0x2a2c7a?(_0x3d5778=_0xb28d['hbuOlg'](_0x3d5778),_0xb28d['MvoFsp'][_0x37cd5c]=_0x3d5778):_0x3d5778=_0x2a2c7a,_0x3d5778;}export function PermissionPrompt({permission:_0xdb8601,onApprove:_0x4bb53a,onDeny:_0x4c86e7}){const _0x3e4109={_0x482d67:0x1fd,_0x1a9667:0x202,_0x5db3ef:0x149,_0x4a2b12:0x15a,_0x2cd5f5:0x142,_0xc58ed4:0x140,_0x2cf4ac:0x164,_0x2ae62f:0x146,_0x2000a6:0x152,_0x4eac8c:0x13e,_0x160f5c:0x14b,_0x47c5d2:0x144,_0x420e8b:0x14d,_0x1580a4:0x1e0,_0x475d9c:0x1d7,_0x482365:0x1ea,_0x23a6f4:0x1dd,_0x7c7c64:0x1d9,_0x43ae12:0x1ee,_0x4abcb0:0x1ed,_0x23c68a:0x1ec,_0x3ffc16:0x14c,_0x1f9aca:0x1ff,_0x209187:0x159,_0x2f74e4:0x16e,_0x247504:0x13d,_0x39f83c:0x14e,_0x43eef4:0x15a,_0x445aba:0x147,_0x3e8022:0x14e,_0x45e206:0x1d3,_0x30c90e:0x1f6,_0x5833ea:0x1fc,_0x271e97:0x1cf,_0x3f83d9:0x128,_0x4d6b43:0x134,_0x3187c:0x1d5,_0x2911:0x1ec,_0x20f100:0x1db,_0xc0ed9f:0x12d,_0x95f976:0x152,_0x5e30e6:0x209,_0x2a699b:0x1fa,_0x501fb6:0x148,_0x54fb5e:0x1d4,_0x17473b:0x1ca,_0x47669e:0x123,_0x435a30:0x138,_0x33cb45:0x143,_0x5a85ea:0x121,_0x11b904:0x13c,_0x35c2a3:0x125,_0x1379d1:0x132,_0x185e3d:0x11c,_0x32f283:0x12b,_0x16b4f6:0x148,_0x1798e9:0x12e,_0x846e74:0x129,_0x55311a:0x117,_0x5cd3a7:0x1fe,_0x401adc:0x1d8,_0x3bd3bf:0x1dc,_0x5be5e3:0x1f4,_0x47039b:0x203,_0x2c8144:0x207,_0x4d3599:0x14b,_0x54be38:0x1db,_0x5593eb:0x1eb,_0x2510bc:0x1ea,_0x58bb9c:0x12f,_0x9ea5d1:0x1d4,_0x28c8c4:0x145},_0x5766dd={_0x4a0773:0x90},_0x508bdb={_0x183f25:0x510,_0x10e34e:0xe1,_0x4d0db9:0xd0,_0x31bc9f:0x50b,_0xbb0db2:0x50d,_0x2818cc:0x51d,_0x2a6cc0:0xd8,_0x459641:0xc1,_0x546f78:0xca},_0x25d6c8={_0x3e973e:0x222},_0x580b11={'bVkhD':function(_0x2b0401,_0x127dfe){return _0x2b0401===_0x127dfe;},'rghHF':function(_0x3c952e){return _0x3c952e();},'YHFGy':function(_0x3713a6,_0x3956f7){return _0x3713a6===_0x3956f7;},'DWBFX':function(_0x326f83){return _0x326f83();},'WacKz':function(_0x32f7dc,_0x24dc4b){return _0x32f7dc(_0x24dc4b);},'cTHua':function(_0x58a64b,_0x1f24bd){return _0x58a64b+_0x1f24bd;},'MkoPn':function(_0xf2f51b,_0xd15613){return _0xf2f51b>_0xd15613;},'AFsZi':_0x2c299f(0x217,_0x3e4109._0x482d67,_0x3e4109._0x1a9667,0x200),'KflNl':function(_0x1548fd,_0x106eb9,_0x66d6be){return _0x1548fd(_0x106eb9,_0x66d6be);},'EVjoo':_0x3a18c0(-_0x3e4109._0x5db3ef,-_0x3e4109._0x4a2b12,-0x16d,-_0x3e4109._0x2cd5f5),'FMgrA':_0x3a18c0(-_0x3e4109._0xc58ed4,-0x137,-0x12f,-0x125),'qXwKo':_0x3a18c0(-0x160,-0x14d,-_0x3e4109._0x2cf4ac,-0x13d)+_0x3a18c0(-_0x3e4109._0x2ae62f,-_0x3e4109._0x2000a6,-0x13b,-_0x3e4109._0x4eac8c),'KYuTM':_0x3a18c0(-0x138,-_0x3e4109._0x160f5c,-_0x3e4109._0x47c5d2,-_0x3e4109._0x420e8b),'nDxHp':function(_0xef2cd1,_0x523834,_0x45d72a){return _0xef2cd1(_0x523834,_0x45d72a);},'ZpLtK':function(_0x2552c6,_0x2b2f15,_0x3fbb6e){return _0x2552c6(_0x2b2f15,_0x3fbb6e);},'XKSvG':_0x2c299f(0x1f1,0x1f4,0x1d9,_0x3e4109._0x1580a4),'iPBpC':_0x2c299f(0x1e4,0x1fc,_0x3e4109._0x475d9c,0x1e8),'kcics':function(_0x24ede6,_0xcaea59,_0x5f29ff){return _0x24ede6(_0xcaea59,_0x5f29ff);},'MBHfs':function(_0x4b197c,_0x1df8ad,_0x21a85f){return _0x4b197c(_0x1df8ad,_0x21a85f);},'YvJLY':'[n]','jWvsu':_0x2c299f(_0x3e4109._0x482365,_0x3e4109._0x482365,0x1d3,_0x3e4109._0x23a6f4)};function _0x3a18c0(_0x3cb917,_0x15ee05,_0x59b654,_0x124df0){return _0xb28d(_0x15ee05- -0x29c,_0x3cb917);}_0x580b11[_0x2c299f(0x1df,0x1dd,_0x3e4109._0x7c7c64,0x1ee)](useInput,_0x4f8f90=>{const _0x31c571={_0x252ecc:0x9d};function _0x3153ad(_0x4686c0,_0x21f572,_0x251ec5,_0x17a93c){return _0x3a18c0(_0x251ec5,_0x4686c0-_0x25d6c8._0x3e973e,_0x251ec5-0xc4,_0x17a93c-0x4);}function _0xf62cfa(_0x1ccf7a,_0x124802,_0x18fe13,_0x417d8a){return _0x3a18c0(_0x124802,_0x18fe13-0x647,_0x18fe13-0x64,_0x417d8a-_0x31c571._0x252ecc);}if(_0x580b11['bVkhD'](_0x4f8f90['toLowerCas'+'e'](),'y'))_0x580b11[_0xf62cfa(0x512,_0x508bdb._0x183f25,0x500,0x50b)](_0x4bb53a);else _0x580b11[_0x3153ad(0xe0,0xdb,_0x508bdb._0x10e34e,_0x508bdb._0x4d0db9)](_0x4f8f90[_0xf62cfa(_0x508bdb._0x31bc9f,_0x508bdb._0xbb0db2,_0x508bdb._0x2818cc,0x525)+'e'](),'n')&&_0x580b11[_0x3153ad(_0x508bdb._0x2a6cc0,_0x508bdb._0x459641,0xcb,_0x508bdb._0x546f78)](_0x4c86e7);});const _0x226b5a=_0x580b11[_0x2c299f(0x1df,0x1dc,_0x3e4109._0x43ae12,0x1e6)](_0xdb8601['toolName']['charAt'](-0x15*-0xa2+-0x1d19+-0xd5*-0x13)['toUpperCas'+'e'](),_0xdb8601['toolName'][_0x2c299f(0x1ed,_0x3e4109._0x4abcb0,_0x3e4109._0x23c68a,0x1d9)](0x60d+0x3e3*0x9+-0x1*0x2907));function _0x2c299f(_0x41a92f,_0xbdbea9,_0x56094f,_0x548b7b){return _0xb28d(_0x548b7b-_0x5766dd._0x4a0773,_0xbdbea9);}const _0x39f0df=_0xdb8601[_0x3a18c0(-_0x3e4109._0x420e8b,-0x159,-_0x3e4109._0x2cd5f5,-_0x3e4109._0x3ffc16)]?_0x580b11[_0x2c299f(0x1f3,0x1f1,0x1f2,_0x3e4109._0x1f9aca)](_0xdb8601[_0x3a18c0(-0x142,-_0x3e4109._0x209187,-_0x3e4109._0x2f74e4,-0x14f)][_0x3a18c0(-_0x3e4109._0x247504,-_0x3e4109._0x39f83c,-0x138,-0x155)],0xfeb*-0x1+0x11*0xf1+0xb2*0x1)?_0x580b11[_0x3a18c0(-_0x3e4109._0x43eef4,-0x146,-_0x3e4109._0x445aba,-_0x3e4109._0x3e8022)](_0xdb8601[_0x2c299f(0x1e0,0x1ce,0x1e6,_0x3e4109._0x45e206)]['substring'](-0x3c7*0x7+-0x7c1*-0x1+0x68*0x2e,0x1ba5+-0x90e+-0x11cf),_0x580b11[_0x2c299f(0x20c,_0x3e4109._0x30c90e,_0x3e4109._0x5833ea,0x1f7)]):_0xdb8601[_0x2c299f(0x1e2,_0x3e4109._0x271e97,0x1bb,_0x3e4109._0x45e206)]:null;return _0x580b11['KflNl'](_0x3773bb,Box,{'flexDirection':_0x580b11['EVjoo'],'borderStyle':_0x580b11[_0x3a18c0(-_0x3e4109._0x3f83d9,-0x139,-_0x3e4109._0x4d6b43,-0x14c)],'borderColor':colors['violet'],'paddingX':0x1,'paddingY':0x1,'marginY':0x1,'children':[_0x580b11[_0x2c299f(0x1c5,_0x3e4109._0x3187c,_0x3e4109._0x2911,_0x3e4109._0x20f100)](_0x3773bb,Box,{'gap':0x1,'children':[_0x4c0e4a(Text,{'color':colors[_0x3a18c0(-_0x3e4109._0xc0ed9f,-0x145,-0x15b,-0x135)],'bold':!![],'children':_0x580b11[_0x3a18c0(-_0x3e4109._0x95f976,-0x157,-0x140,-0x154)]}),_0x580b11['KflNl'](_0x3773bb,Text,{'color':colors[_0x2c299f(_0x3e4109._0x5e30e6,_0x3e4109._0x2a699b,0x20a,0x1fb)],'children':['-\x20',_0x226b5a]})]}),_0xdb8601[_0x3a18c0(-0x144,-0x13c,-_0x3e4109._0x501fb6,-0x143)]&&_0x580b11[_0x2c299f(_0x3e4109._0x54fb5e,0x1f1,_0x3e4109._0x17473b,_0x3e4109._0x20f100)](_0x3773bb,Box,{'marginTop':0x1,'children':[_0x4c0e4a(Text,{'color':colors['zinc400'],'children':_0x580b11['KYuTM']}),_0x4c0e4a(Text,{'color':colors[_0x3a18c0(-_0x3e4109._0x47669e,-_0x3e4109._0x435a30,-_0x3e4109._0x33cb45,-_0x3e4109._0x5a85ea)+'y'],'children':_0xdb8601[_0x3a18c0(-0x136,-_0x3e4109._0x11b904,-0x141,-_0x3e4109._0x33cb45)]})]}),_0x39f0df&&_0x580b11[_0x3a18c0(-_0x3e4109._0x35c2a3,-_0x3e4109._0x1379d1,-_0x3e4109._0x185e3d,-0x13e)](_0x3773bb,Box,{'marginTop':0x1,'flexDirection':_0x580b11[_0x3a18c0(-_0x3e4109._0x3f83d9,-_0x3e4109._0x32f283,-0x13d,-0x134)],'borderStyle':_0x580b11['FMgrA'],'borderColor':colors[_0x3a18c0(-0x131,-_0x3e4109._0x16b4f6,-0x14f,-0x14a)],'paddingX':0x1,'children':[_0x580b11[_0x3a18c0(-_0x3e4109._0x47669e,-_0x3e4109._0x1798e9,-_0x3e4109._0x846e74,-_0x3e4109._0x55311a)](_0x4c0e4a,Text,{'color':colors[_0x3a18c0(-0x12e,-0x131,-0x122,-0x128)],'children':'Preview:'}),_0x580b11[_0x2c299f(0x20e,0x1f3,0x200,_0x3e4109._0x5cd3a7)](_0x4c0e4a,Text,{'color':colors[_0x2c299f(0x1e1,0x1e0,_0x3e4109._0x401adc,0x1dc)],'wrap':'wrap','children':_0x39f0df})]}),_0x3773bb(Box,{'marginTop':0x1,'gap':0x2,'children':[_0x3773bb(Box,{'gap':0x1,'children':[_0x4c0e4a(Text,{'color':colors['emerald'],'bold':!![],'children':_0x580b11[_0x2c299f(0x1cd,0x1da,_0x3e4109._0x3bd3bf,0x1d6)]}),_0x580b11[_0x2c299f(_0x3e4109._0x5be5e3,_0x3e4109._0x47039b,_0x3e4109._0x2c8144,0x1fa)](_0x4c0e4a,Text,{'color':colors['textSecond'+_0x3a18c0(-0x146,-0x158,-_0x3e4109._0x4d3599,-0x14a)],'children':_0x580b11[_0x3a18c0(-0x168,-0x154,-0x149,-_0x3e4109._0x160f5c)]})]}),_0x580b11[_0x2c299f(_0x3e4109._0x7c7c64,_0x3e4109._0x54be38,0x1e1,_0x3e4109._0x5593eb)](_0x3773bb,Box,{'gap':0x1,'children':[_0x580b11['MBHfs'](_0x4c0e4a,Text,{'color':colors[_0x2c299f(0x1ed,_0x3e4109._0x2510bc,0x1d5,_0x3e4109._0x23c68a)],'bold':!![],'children':_0x580b11[_0x3a18c0(-0x146,-_0x3e4109._0x58bb9c,-0x128,-0x11f)]}),_0x580b11[_0x2c299f(0x201,0x1ef,0x201,0x1ef)](_0x4c0e4a,Text,{'color':colors['textSecond'+_0x2c299f(0x1bf,0x1db,0x1e0,_0x3e4109._0x9ea5d1)],'children':_0x580b11[_0x3a18c0(-0x153,-_0x3e4109._0x33cb45,-0x138,-_0x3e4109._0x28c8c4)]})]})]})]});}
|
|
1
|
+
(function(_0x54f8ad,_0x5f0094){const _0x2a1963={_0x4e0531:0x3bb,_0x3b9d59:0x3ac,_0x16352a:0x3bc,_0x18877a:0x38a,_0x371bc1:0x399,_0x569664:0x24e,_0x3c9cbe:0x26f,_0xa5e7aa:0x268,_0x103f99:0x26e,_0x4474f3:0x282,_0x283220:0x243,_0x4161f8:0x268,_0x143e78:0x262,_0x4fad73:0x3a8,_0x170410:0x39e,_0x50fadb:0x250,_0x1be1d6:0x249,_0x41175b:0x39c,_0x7c24b4:0x3a6},_0x4cffd6={_0x52e884:0x62},_0x2fae9f=_0x54f8ad();function _0x5ea405(_0x10bb5d,_0x3a87de,_0x1a3027,_0x3977a8){return _0x1e6b(_0x1a3027-_0x4cffd6._0x52e884,_0x3977a8);}function _0x1c78ce(_0x38fa24,_0x5397cc,_0x5a8113,_0x4b654b){return _0x1e6b(_0x5a8113-0x1a2,_0x5397cc);}while(!![]){try{const _0x500f76=parseInt(_0x1c78ce(0x394,_0x2a1963._0x4e0531,_0x2a1963._0x3b9d59,_0x2a1963._0x16352a))/(0x562+-0x76a+-0x209*-0x1)*(parseInt(_0x1c78ce(_0x2a1963._0x18877a,_0x2a1963._0x371bc1,0x386,0x39c))/(0x305+-0x1*-0x219f+0x209*-0x12))+-parseInt(_0x5ea405(0x25a,_0x2a1963._0x569664,0x256,_0x2a1963._0x3c9cbe))/(0x2c5*0x4+0x31*0xb7+-0x2e18)+parseInt(_0x5ea405(_0x2a1963._0xa5e7aa,_0x2a1963._0x103f99,0x26f,_0x2a1963._0x4474f3))/(0x17e1+-0x222d+0xa50)*(-parseInt(_0x5ea405(_0x2a1963._0x283220,0x23a,0x24a,0x25b))/(-0x3bf*0x3+-0x9e*-0x29+-0xe0c))+parseInt(_0x5ea405(0x25f,_0x2a1963._0x4161f8,0x258,_0x2a1963._0x143e78))/(-0x2302+-0x10bd+0x33c5)+parseInt(_0x1c78ce(_0x2a1963._0x4fad73,0x392,0x392,0x396))/(0x36*0x97+0xeca+0x1*-0x2e9d)*(parseInt(_0x1c78ce(0x3b8,_0x2a1963._0x170410,0x3a1,0x3a0))/(-0xe0a+-0x2522+0x3334))+parseInt(_0x5ea405(0x280,0x27d,0x26e,0x256))/(0x15d1+0x18a5+-0x1*0x2e6d)*(-parseInt(_0x5ea405(_0x2a1963._0x50fadb,_0x2a1963._0x1be1d6,0x25e,0x273))/(0x1374+-0x1*0xbef+-0x5*0x17f))+parseInt(_0x1c78ce(0x3b5,0x38c,_0x2a1963._0x41175b,_0x2a1963._0x7c24b4))/(0x1*0x6f7+0x6e1+-0xdcd);if(_0x500f76===_0x5f0094)break;else _0x2fae9f['push'](_0x2fae9f['shift']());}catch(_0x20d5b2){_0x2fae9f['push'](_0x2fae9f['shift']());}}}(_0x12e1,0x2*0x5ad47+-0x9f851+0x6eea9));import{jsx as _0x13137d,jsxs as _0x2652d0}from'react/jsx-runtime';function _0x12e1(){const _0x347072=['Cxb2Bw8','y29UDgvUDa','mti2nJG4mKnbBu5uzG','rgvUEq','mta4mJC2nKLJCwPNqq','C3vIC3rYAw5N','wgzKtem','D3jHCa','nta2nZa0mejYEvvTAW','lI4U','nJuYmtb0DwH5vNO','Dg9mB3DLCKnHCW','DNrsDgm','ohDOA2XVza','zhDJv1K','BgvUz3rO','yLLJuK8','Dg9vChbLCKnHCW','w3LD','C2LUz2XL','zMjwELa','EMLUyZuWma','Dgv4DfnLy29Uza','DLjAtMC','mvb6uKPeCG','zhn4ALq','odu1DeX1Bwjv','mJqZnJHprun0EMe','ELz3rfu','rePLCxq','ueziuha','v1bfreG','s0LKyvi','C2XPy2u','zw1LCMfSza','DMLVBgv0','zMLSzvbHDgG','w25D','BNLqqxi','mtKXotm4nKHYCMrNrG','CMvK','qxbWCM92zq','ugvYBwLZC2LVBG','mZqWtNntz0fJ','uvL4C3y','yxj5','vgD3t3O','uKjpt0C','EMLUyZqWma','Dg9VBe5HBwu','s1n3Eve','mJGWmtC0m29us1vluW','y2HHCKf0'];_0x12e1=function(){return _0x347072;};return _0x12e1();}import{Box,Text,useInput}from'ink';function _0x1e6b(_0x34e0ca,_0x452770){_0x34e0ca=_0x34e0ca-(-0x61c+0x1f81+-0x1787);const _0xd5e44f=_0x12e1();let _0xd376c2=_0xd5e44f[_0x34e0ca];if(_0x1e6b['ovDJhW']===undefined){var _0x1d05ee=function(_0x2d5b1b){const _0x2cf66a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x480c4d='',_0x1f5bf5='';for(let _0x498e48=-0x2572+-0xe9e+0x3410,_0x596911,_0x1dcdde,_0x2e8ce6=0x215d+0x10f*0x7+-0x28c6;_0x1dcdde=_0x2d5b1b['charAt'](_0x2e8ce6++);~_0x1dcdde&&(_0x596911=_0x498e48%(-0x3*0x5e9+0x122e+0x25*-0x3)?_0x596911*(0x1ee2+-0x2*-0xf16+-0x3cce)+_0x1dcdde:_0x1dcdde,_0x498e48++%(-0x343+-0x1733+0x1a7a))?_0x480c4d+=String['fromCharCode'](-0x9*0x165+-0x2c8+-0x26*-0x6e&_0x596911>>(-(0x367*0x2+-0x1e04*0x1+0x2e7*0x8)*_0x498e48&0x7f4*0x1+0x7c4+-0x2*0x7d9)):-0x41+0x3*0x881+-0x1942){_0x1dcdde=_0x2cf66a['indexOf'](_0x1dcdde);}for(let _0x452e01=-0x89f*-0x1+0x15f8+0x1e97*-0x1,_0x3db29e=_0x480c4d['length'];_0x452e01<_0x3db29e;_0x452e01++){_0x1f5bf5+='%'+('00'+_0x480c4d['charCodeAt'](_0x452e01)['toString'](0x1217+-0x16d3*-0x1+-0x1*0x28da))['slice'](-(0x12cb+-0x915+-0x9b4));}return decodeURIComponent(_0x1f5bf5);};_0x1e6b['iXWZlp']=_0x1d05ee,_0x1e6b['Cteesl']={},_0x1e6b['ovDJhW']=!![];}const _0x49ddc7=_0xd5e44f[0x164d+-0x12dd+0xa*-0x58],_0x3cd05b=_0x34e0ca+_0x49ddc7,_0x1bd93b=_0x1e6b['Cteesl'][_0x3cd05b];return!_0x1bd93b?(_0xd376c2=_0x1e6b['iXWZlp'](_0xd376c2),_0x1e6b['Cteesl'][_0x3cd05b]=_0xd376c2):_0xd376c2=_0x1bd93b,_0xd376c2;}import{colors}from'../../theme/colors.js';export function PermissionPrompt({permission:_0x41140e,onApprove:_0x36b094,onDeny:_0x1f9358}){const _0x3492e5={_0x565449:0x145,_0x255bf3:0x142,_0x46797f:0x449,_0x17e37a:0x45c,_0x4399b9:0x42e,_0x2ff6e7:0x433,_0x48a669:0x456,_0x86815:0x444,_0x4e32a7:0x454,_0x597dd6:0x143,_0x1891f2:0x12b,_0x3bbb1d:0x43e,_0x3033ef:0x42f,_0xd6bdc4:0x458,_0x1af409:0x450,_0x53dd21:0x112,_0x46ccba:0x431,_0x586ac7:0x42c,_0x194f40:0x448,_0xcbde98:0x133,_0x310a81:0x12f,_0x43e777:0x461,_0xfbdd79:0x47c,_0x6dcf0f:0x14c,_0x3f639b:0x143,_0x4be805:0x13b,_0x170401:0x14b,_0x2675d7:0x151,_0x4f1903:0x45f,_0x323c13:0x120,_0x4c9e76:0x118,_0x49d93c:0x437,_0x3fb0d5:0x420,_0x33f74a:0x445,_0x1eb2f2:0x457,_0x2e6156:0x458,_0x5e0e36:0x46d,_0x5e41ba:0x431,_0x2f3aef:0x446,_0x4dd3bb:0x426,_0x22bc28:0x43f,_0x1078c6:0x451,_0x8ec796:0x43d,_0x5ca394:0x436,_0x562ee5:0x142,_0x45ec66:0x13f,_0x41ad79:0x15c,_0x508f60:0x470,_0x58bc0b:0x45b,_0x4df3dc:0x121,_0x4a9371:0x12f,_0x482ec8:0x129,_0x204171:0x14c,_0x31ab27:0x14a,_0x279247:0x44d,_0xe4553:0x47a,_0xb4f688:0x45d,_0x1d011b:0x474,_0x58200f:0x446,_0x59374e:0x12b,_0x49f6a8:0x131,_0x514e43:0x157,_0x5396b7:0x11b,_0x151eab:0x456,_0x4ed68b:0x469,_0x1ea453:0x439,_0x48887c:0x430,_0x297e83:0x13e,_0x447063:0x14e,_0x4712df:0x157,_0x13dca5:0x117,_0x2d077a:0x126,_0x2ee94b:0x114,_0x29230c:0x435,_0x5529b6:0x41e,_0x1dd997:0x122,_0x511433:0x108,_0x592b42:0x124,_0x592c15:0x142,_0x272623:0x148,_0x41d97f:0x149,_0x35dbe9:0x140,_0x3f1da8:0x12a,_0x3f7847:0x445,_0x124262:0x432},_0x4be99f={_0x318d9f:0x22c,_0x552e7b:0x211,_0x3f70d6:0x552,_0x12c184:0x54e,_0x5140e9:0x1f3,_0x308b49:0x56c,_0x37e2b8:0x573,_0x1ad41e:0x55f,_0x834b6d:0x565,_0x37894a:0x564,_0x1240ec:0x53b,_0x4ff935:0x54e,_0x18e269:0x1fa},_0x5ee41f={_0x3f005b:0x248,_0x5dee1b:0x52},_0x4d5051={_0x256fe6:0xc0},_0x29b37c={'KIdaR':function(_0x3e2979,_0x4d646f){return _0x3e2979===_0x4d646f;},'TgwOz':function(_0x31322a){return _0x31322a();},'zVwDU':function(_0x224470,_0x36238e){return _0x224470===_0x36238e;},'qpvmo':function(_0x27ca13){return _0x27ca13();},'nyPAr':function(_0x96db93,_0x5bed97){return _0x96db93(_0x5bed97);},'RBOOG':function(_0x504d9f,_0x164e87){return _0x504d9f>_0x164e87;},'WPEDH':function(_0x16a147,_0x1d166e){return _0x16a147+_0x1d166e;},'dsxjT':function(_0x5e857f,_0x511939,_0x523158){return _0x5e857f(_0x511939,_0x523158);},'XfdLC':'column','ALtiT':_0x5adaa8(_0x3492e5._0x565449,0x15a,_0x3492e5._0x255bf3,0x135),'DJeqt':function(_0x4e640c,_0x1d9fba,_0x4dd178){return _0x4e640c(_0x1d9fba,_0x4dd178);},'uazrw':function(_0x4bb3e5,_0x4d813c,_0x333837){return _0x4bb3e5(_0x4d813c,_0x333837);},'KSwyQ':function(_0x1f6919,_0x4cbfa0,_0x300144){return _0x1f6919(_0x4cbfa0,_0x300144);},'bYcRO':'File:\x20','QYxsv':function(_0x457030,_0x36eb2c,_0x247377){return _0x457030(_0x36eb2c,_0x247377);},'PFHPp':'Preview:','dwcWY':_0x4fa207(_0x3492e5._0x46797f,_0x3492e5._0x17e37a,_0x3492e5._0x4399b9,0x44d),'fbVzP':function(_0x22f0db,_0x5ade3e,_0x50020f){return _0x22f0db(_0x5ade3e,_0x50020f);},'vtRtc':function(_0x202899,_0x1be882,_0x3b499e){return _0x202899(_0x1be882,_0x3b499e);},'vRZNg':function(_0x5c6417,_0x12dd0c,_0x588e5a){return _0x5c6417(_0x12dd0c,_0x588e5a);}};function _0x5adaa8(_0x463cd2,_0x4fa32d,_0x7051f9,_0x26b150){return _0x1e6b(_0x463cd2- -_0x4d5051._0x256fe6,_0x4fa32d);}_0x29b37c[_0x4fa207(_0x3492e5._0x2ff6e7,0x434,0x442,0x41d)](useInput,_0x35e683=>{const _0x531b17={_0x59e6b0:0x411,_0x405b6b:0x13a};function _0x24de16(_0x4ed2e4,_0x481ef4,_0x3fd71b,_0x30c311){return _0x4fa207(_0x30c311- -_0x5ee41f._0x3f005b,_0x3fd71b,_0x3fd71b-0x145,_0x30c311-_0x5ee41f._0x5dee1b);}function _0x4f0105(_0x51b114,_0x182e06,_0x26e4f8,_0x298627){return _0x5adaa8(_0x298627-_0x531b17._0x59e6b0,_0x26e4f8,_0x26e4f8-_0x531b17._0x405b6b,_0x298627-0x1e9);}if(_0x29b37c[_0x24de16(_0x4be99f._0x318d9f,0x209,_0x4be99f._0x552e7b,0x21a)](_0x35e683[_0x4f0105(0x537,_0x4be99f._0x3f70d6,0x535,_0x4be99f._0x12c184)+'e'](),'y'))_0x29b37c[_0x24de16(0x20a,0x201,0x1ed,_0x4be99f._0x5140e9)](_0x36b094);else _0x29b37c[_0x4f0105(_0x4be99f._0x308b49,_0x4be99f._0x37e2b8,_0x4be99f._0x3f70d6,_0x4be99f._0x1ad41e)](_0x35e683[_0x4f0105(_0x4be99f._0x834b6d,_0x4be99f._0x37894a,_0x4be99f._0x1240ec,_0x4be99f._0x4ff935)+'e'](),'n')&&_0x29b37c[_0x24de16(0x201,0x1eb,0x1ec,_0x4be99f._0x18e269)](_0x1f9358);});const _0xac299e=_0x41140e[_0x4fa207(0x43e,_0x3492e5._0x48a669,_0x3492e5._0x86815,0x456)][_0x4fa207(0x441,0x44c,_0x3492e5._0x4e32a7,0x454)](0xa*0x2cc+-0xceb*0x3+0x1*0xac9)[_0x5adaa8(_0x3492e5._0x597dd6,0x14b,_0x3492e5._0x1891f2,0x15b)+'e']()+_0x41140e[_0x4fa207(_0x3492e5._0x3bbb1d,_0x3492e5._0x3033ef,_0x3492e5._0xd6bdc4,_0x3492e5._0x1af409)][_0x5adaa8(0x11e,_0x3492e5._0x53dd21,0x115,0x117)](0x1cfc+-0xf0*-0x1a+-0x355b);function _0x4fa207(_0xd2d5a3,_0x2ef6ac,_0x21b79a,_0x5587ff){return _0x1e6b(_0xd2d5a3-0x250,_0x2ef6ac);}const _0x2f263b=_0x41140e[_0x4fa207(0x443,0x445,0x459,0x450)]?_0x29b37c[_0x4fa207(0x43c,_0x3492e5._0x46ccba,_0x3492e5._0x586ac7,_0x3492e5._0x194f40)](_0x41140e[_0x5adaa8(_0x3492e5._0xcbde98,0x121,_0x3492e5._0x310a81,0x145)][_0x5adaa8(0x141,_0x3492e5._0x1891f2,0x130,0x14b)],0x1a6b+0x222a+-0x3bcd)?_0x29b37c[_0x4fa207(_0x3492e5._0x43e777,0x459,_0x3492e5._0xfbdd79,0x464)](_0x41140e['content'][_0x5adaa8(0x137,_0x3492e5._0x6dcf0f,0x124,_0x3492e5._0x3f639b)](-0x9*0x2cb+-0x162f+0x542*0x9,0x3a*0x3d+-0x24f6+0xbf6*0x2),_0x5adaa8(_0x3492e5._0x4be805,0x156,0x12b,0x135)):_0x41140e[_0x5adaa8(_0x3492e5._0xcbde98,0x12b,_0x3492e5._0x4be805,0x14b)]:null;return _0x29b37c[_0x5adaa8(_0x3492e5._0x170401,_0x3492e5._0x2675d7,0x15e,0x134)](_0x2652d0,Box,{'flexDirection':_0x29b37c[_0x5adaa8(0x138,0x13c,0x127,0x143)],'borderStyle':_0x29b37c['ALtiT'],'borderColor':colors['violet'],'paddingX':0x1,'paddingY':0x1,'marginY':0x1,'children':[_0x29b37c[_0x4fa207(_0x3492e5._0x4f1903,0x477,0x471,0x478)](_0x2652d0,Box,{'gap':0x1,'children':[_0x29b37c[_0x4fa207(0x45b,0x453,0x455,0x476)](_0x13137d,Text,{'color':colors[_0x5adaa8(_0x3492e5._0x323c13,0x11a,0x109,_0x3492e5._0x4c9e76)],'bold':!![],'children':_0x4fa207(_0x3492e5._0x49d93c,_0x3492e5._0x3fb0d5,0x428,_0x3492e5._0x33f74a)+'\x20Required'}),_0x29b37c['uazrw'](_0x2652d0,Text,{'color':colors[_0x4fa207(_0x3492e5._0x1eb2f2,0x456,_0x3492e5._0x2e6156,_0x3492e5._0x5e0e36)],'children':['-\x20',_0xac299e]})]}),_0x41140e[_0x4fa207(_0x3492e5._0x5e41ba,_0x3492e5._0x194f40,_0x3492e5._0x2f3aef,_0x3492e5._0x4dd3bb)]&&_0x29b37c[_0x4fa207(_0x3492e5._0x22bc28,_0x3492e5._0x1078c6,0x44e,0x42f)](_0x2652d0,Box,{'marginTop':0x1,'children':[_0x13137d(Text,{'color':colors[_0x4fa207(_0x3492e5._0x8ec796,0x429,_0x3492e5._0x22bc28,_0x3492e5._0x5ca394)],'children':_0x29b37c[_0x5adaa8(_0x3492e5._0x562ee5,_0x3492e5._0x45ec66,0x159,_0x3492e5._0x41ad79)]}),_0x29b37c[_0x4fa207(0x45b,0x46e,_0x3492e5._0x508f60,_0x3492e5._0x58bc0b)](_0x13137d,Text,{'color':colors['textPrimar'+'y'],'children':_0x41140e[_0x5adaa8(_0x3492e5._0x4df3dc,0x130,0x124,_0x3492e5._0x4a9371)]})]}),_0x2f263b&&_0x29b37c[_0x5adaa8(_0x3492e5._0x482ec8,0x138,0x112,0x10f)](_0x2652d0,Box,{'marginTop':0x1,'flexDirection':_0x29b37c['XfdLC'],'borderStyle':_0x5adaa8(_0x3492e5._0x565449,_0x3492e5._0x204171,0x133,_0x3492e5._0x31ab27),'borderColor':colors['zinc700'],'paddingX':0x1,'children':[_0x13137d(Text,{'color':colors[_0x4fa207(0x457,0x46d,0x450,_0x3492e5._0x279247)],'children':_0x29b37c[_0x4fa207(0x460,0x46d,_0x3492e5._0xe4553,_0x3492e5._0xb4f688)]}),_0x29b37c[_0x4fa207(0x45f,0x453,_0x3492e5._0x1d011b,_0x3492e5._0x86815)](_0x13137d,Text,{'color':colors[_0x5adaa8(0x12d,0x12a,0x12f,0x12b)],'wrap':_0x29b37c[_0x4fa207(0x450,0x43e,_0x3492e5._0x58200f,0x458)],'children':_0x2f263b})]}),_0x29b37c['KSwyQ'](_0x2652d0,Box,{'marginTop':0x1,'gap':0x2,'children':[_0x29b37c[_0x5adaa8(0x146,_0x3492e5._0x45ec66,0x158,_0x3492e5._0x59374e)](_0x2652d0,Box,{'gap':0x1,'children':[_0x29b37c[_0x5adaa8(0x13e,_0x3492e5._0x49f6a8,_0x3492e5._0x514e43,0x152)](_0x13137d,Text,{'color':colors[_0x5adaa8(0x11f,_0x3492e5._0x5396b7,_0x3492e5._0xcbde98,0x10c)],'bold':!![],'children':_0x4fa207(_0x3492e5._0x4e32a7,0x447,_0x3492e5._0x151eab,_0x3492e5._0x4ed68b)}),_0x29b37c[_0x4fa207(_0x3492e5._0x1ea453,_0x3492e5._0x48887c,_0x3492e5._0x3033ef,_0x3492e5._0x4399b9)](_0x13137d,Text,{'color':colors[_0x5adaa8(0x148,_0x3492e5._0x297e83,_0x3492e5._0x447063,_0x3492e5._0x4712df)+_0x5adaa8(0x12a,_0x3492e5._0x13dca5,0x129,0x12c)],'children':_0x5adaa8(_0x3492e5._0x2d077a,0x120,_0x3492e5._0x2ee94b,0x11c)})]}),_0x29b37c[_0x4fa207(_0x3492e5._0x58bc0b,0x460,0x45f,0x454)](_0x2652d0,Box,{'gap':0x1,'children':[_0x29b37c['dsxjT'](_0x13137d,Text,{'color':colors[_0x4fa207(_0x3492e5._0x29230c,0x43e,_0x3492e5._0x5529b6,_0x3492e5._0x48887c)],'bold':!![],'children':_0x5adaa8(_0x3492e5._0x1dd997,0x125,_0x3492e5._0x511433,_0x3492e5._0x592b42)}),_0x29b37c[_0x5adaa8(0x149,0x13e,_0x3492e5._0x592c15,0x130)](_0x13137d,Text,{'color':colors[_0x5adaa8(_0x3492e5._0x272623,0x14d,_0x3492e5._0x41d97f,_0x3492e5._0x35dbe9)+_0x5adaa8(_0x3492e5._0x3f1da8,0x128,0x116,0x11d)],'children':_0x4fa207(_0x3492e5._0x3f7847,_0x3492e5._0x1ea453,0x455,_0x3492e5._0x124262)})]})]})]});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3b4bd0,_0x59483b){var _0x40f0e2={_0x324fae:0x14d,_0x4a26a7:0x14c,_0x3c30d6:0x14b,_0x21d6b9:0xab,_0x2152c4:0xaa,_0x1948d8:0xb2,_0x138d24:0xbf,_0x35729a:0xbb,_0x6c8f37:0xbb,_0x591de4:0xc4,_0x311f94:0xc0,_0x13e92a:0xbe,_0x23c8e2:0x136,_0x18d3c5:0x13e,_0x24cb80:0xb8,_0x3e8300:0xc5,_0x4261e2:0xc3,_0x41f5dd:0x152,_0x24e19a:0x150};function _0x8bdf5a(_0x195708,_0x2dca6e,_0x3ec990,_0x179ac9){return _0x4ee4(_0x179ac9- -0x223,_0x3ec990);}function _0x31e7d3(_0x159a70,_0x3a673c,_0x1969b9,_0xcd0e8d){return _0x4ee4(_0x1969b9- -0x2ad,_0x3a673c);}var _0xc5ac15=_0x3b4bd0();while(!![]){try{var _0x1a8ead=parseInt(_0x31e7d3(-_0x40f0e2._0x324fae,-0x145,-_0x40f0e2._0x4a26a7,-_0x40f0e2._0x3c30d6))/(-0x1368+-0x2197+-0x35*-0x100)*(parseInt(_0x8bdf5a(-_0x40f0e2._0x21d6b9,-_0x40f0e2._0x2152c4,-0xac,-_0x40f0e2._0x1948d8))/(-0x2455+-0x1fe4+0x443b))+-parseInt(_0x8bdf5a(-_0x40f0e2._0x138d24,-_0x40f0e2._0x35729a,-0xbb,-_0x40f0e2._0x6c8f37))/(-0x22dd+-0x5e1+0x28c1)*(-parseInt(_0x8bdf5a(-_0x40f0e2._0x591de4,-0xc3,-0xb9,-_0x40f0e2._0x311f94))/(0xf59+-0x2473*-0x1+-0x33c8))+-parseInt(_0x8bdf5a(-_0x40f0e2._0x13e92a,-0xbf,-0xbf,-_0x40f0e2._0x13e92a))/(-0x15f*0x2+0x1*0x1655+-0x1392)+-parseInt(_0x31e7d3(-_0x40f0e2._0x23c8e2,-0x146,-_0x40f0e2._0x18d3c5,-0x13c))/(-0x177d+-0x149d+0x2c20*0x1)+parseInt(_0x8bdf5a(-_0x40f0e2._0x24cb80,-_0x40f0e2._0x3e8300,-_0x40f0e2._0x4261e2,-0xbc))/(-0x41d*0x9+-0x1*-0xc9d+-0x825*-0x3)+parseInt(_0x31e7d3(-_0x40f0e2._0x41f5dd,-0x151,-0x149,-_0x40f0e2._0x24e19a))/(0x13a*-0xb+-0x1e0d+-0x5*-0x8b7)+-parseInt(_0x8bdf5a(-0xba,-_0x40f0e2._0x138d24,-0xc9,-0xc1))/(-0x2517+-0x2*0x1bb+0x2896);if(_0x1a8ead===_0x59483b)break;else _0xc5ac15['push'](_0xc5ac15['shift']());}catch(_0x251a43){_0xc5ac15['push'](_0xc5ac15['shift']());}}}(_0x1f2e,0x89507+-0x1*-0xa511b+-0x9e197));import{jsx as _0x19a0fa,jsxs as _0x12e0a0}from'react/jsx-runtime';import{Box,Text}from'ink';import{colors}from'../../theme/colors.js';function _0x4ee4(_0x3ea86e,_0x462b51){_0x3ea86e=_0x3ea86e-(0x41f+0x11ca*0x1+-0x8*0x291);var _0x449c86=_0x1f2e();var _0x34273c=_0x449c86[_0x3ea86e];if(_0x4ee4['VYjdhl']===undefined){var _0x2ca3f5=function(_0x23cbc2){var _0x3a41bc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5d4855='',_0x7714d2='';for(var _0x39a64f=-0x1*-0x5+-0x1743+-0x173e*-0x1,_0x3407fa,_0x32ec5e,_0x349d0c=0x17bd+-0x223d+-0x1*-0xa80;_0x32ec5e=_0x23cbc2['charAt'](_0x349d0c++);~_0x32ec5e&&(_0x3407fa=_0x39a64f%(-0x14c3+0x7b9*0x2+0x23*0x27)?_0x3407fa*(-0x1*-0x3fd+-0x1db0+0x19f3)+_0x32ec5e:_0x32ec5e,_0x39a64f++%(0x1e00+0x10a*0xd+-0x2b7e))?_0x5d4855+=String['fromCharCode'](0x16d9+-0x1c6f+-0x695*-0x1&_0x3407fa>>(-(0x11ee+-0x1*0xdb7+0x3*-0x167)*_0x39a64f&-0xa03*0x2+-0x2493+0x389f)):0xb11+0x3f8+-0xf09){_0x32ec5e=_0x3a41bc['indexOf'](_0x32ec5e);}for(var _0x2dcd50=0xb77*0x3+0x66c+-0x28d1,_0x2d1b01=_0x5d4855['length'];_0x2dcd50<_0x2d1b01;_0x2dcd50++){_0x7714d2+='%'+('00'+_0x5d4855['charCodeAt'](_0x2dcd50)['toString'](0x20c7+0xf5+-0x21ac))['slice'](-(0x107*0x9+0x5*0xe3+-0xdac));}return decodeURIComponent(_0x7714d2);};_0x4ee4['ylpmaD']=_0x2ca3f5,_0x4ee4['RmtAfa']={},_0x4ee4['VYjdhl']=!![];}var _0x282ae6=_0x449c86[0x1bd7+-0x3*-0x1b5+-0x1*0x20f6],_0x19a0fa=_0x3ea86e+_0x282ae6,_0x12e0a0=_0x4ee4['RmtAfa'][_0x19a0fa];return!_0x12e0a0?(_0x34273c=_0x4ee4['ylpmaD'](_0x34273c),_0x4ee4['RmtAfa'][_0x19a0fa]=_0x34273c):_0x34273c=_0x12e0a0,_0x34273c;}function _0x1f2e(){var _0x188521=['qw5ZD2vY','ufnnCvm','C1b5q0K','mZG0mtK4re9HA2LO','zw1LCMfSza','mJHev0vnuuC','C2LUz2XL','twrRDKG','ntCYohvfzxrwrG','nde1ndiZohbqsgXZCa','mta0ofb1B3LlBG','nJaWnJa1nMLYCgHcrG','mJmZodmWy3f5suHn','D3jHCa','mtq3mJi4ou1Nuxn5Ba','mtm5oenstejqtq','Dgv4DfbYAw1HCG','y29SDw1U','CNfxruu'];_0x1f2e=function(){return _0x188521;};return _0x1f2e();}export function AnswerBox({content:_0x23cbc2}){var _0x57014e={_0x32d08e:0x4c4,_0x1880a:0x4b6,_0xc0be7b:0x4c5,_0x51802c:0x4c9,_0x1510ba:0x4c5,_0x3b13f8:0x1ff,_0x25991f:0x1f8,_0x247da1:0x209,_0x2b46ac:0x4c2,_0x34c2a7:0x4b9,_0x321541:0x4c3,_0x25db35:0x200,_0x4a0c2e:0x201,_0x50ce82:0x4ba,_0x228961:0x4bb,_0x1f578b:0x4c8,_0x220503:0x4c1,_0x423c28:0x1fb,_0x30b730:0x1f9,_0x5ea7d9:0x208,_0x50678d:0x4bc},_0x50c9e7={_0x5a3eba:0x353},_0x4bc4b9={_0x2d53e9:0x36b};function _0x282cab(_0x3ace7d,_0x3f7c76,_0x1ff663,_0x481969){return _0x4ee4(_0x3ace7d- -_0x4bc4b9._0x2d53e9,_0x1ff663);}var _0x3a41bc={'sPyCI':function(_0x5d4855,_0x7714d2,_0x39a64f){return _0x5d4855(_0x7714d2,_0x39a64f);},'MdkvH':_0x539e59(_0x57014e._0x32d08e,_0x57014e._0x1880a,_0x57014e._0xc0be7b,0x4bd),'rqWEE':_0x539e59(_0x57014e._0xc0be7b,_0x57014e._0x51802c,0x4c3,_0x57014e._0x1510ba),'PSMqS':_0x282cab(-_0x57014e._0x3b13f8,-_0x57014e._0x25991f,-0x205,-_0x57014e._0x247da1),'MLCyv':_0x539e59(0x4be,_0x57014e._0x2b46ac,0x4b1,_0x57014e._0x34c2a7)};function _0x539e59(_0x25ea2e,_0x2486a5,_0x211228,_0x52b178){return _0x4ee4(_0x52b178-_0x50c9e7._0x5a3eba,_0x25ea2e);}return _0x3a41bc[_0x539e59(0x4ba,0x4b7,_0x57014e._0x321541,0x4c1)](_0x12e0a0,Box,{'flexDirection':_0x3a41bc[_0x282cab(-_0x57014e._0x25991f,-0x1fc,-0x1ff,-0x1fa)],'borderStyle':_0x3a41bc[_0x282cab(-_0x57014e._0x25db35,-0x207,-_0x57014e._0x4a0c2e,-0x205)],'borderColor':colors['emerald'],'paddingX':0x1,'children':[_0x3a41bc[_0x539e59(_0x57014e._0x50ce82,_0x57014e._0x228961,0x4c0,0x4c1)](_0x19a0fa,Box,{'gap':0x1,'children':_0x3a41bc[_0x539e59(_0x57014e._0x1f578b,0x4c4,0x4c4,_0x57014e._0x220503)](_0x19a0fa,Text,{'color':colors[_0x282cab(-_0x57014e._0x423c28,-0x1fa,-_0x57014e._0x3b13f8,-0x1f5)],'bold':!![],'children':_0x3a41bc[_0x282cab(-0x1fe,-0x202,-_0x57014e._0x30b730,-_0x57014e._0x5ea7d9)]})}),_0x3a41bc['sPyCI'](_0x19a0fa,Box,{'marginTop':0x1,'children':_0x19a0fa(Text,{'color':colors[_0x539e59(0x4bc,0x4ba,_0x57014e._0x50678d,_0x57014e._0x50678d)+'y'],'wrap':_0x3a41bc['MLCyv'],'children':_0x23cbc2})})]});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1be4(_0x3889e7,_0x43b9d0){_0x3889e7=_0x3889e7-(-0x17*-0x10f+0x19ef*0x1+-0x30c8);const _0x1bdcff=_0x515c();let _0x3ffb72=_0x1bdcff[_0x3889e7];if(_0x1be4['neYemd']===undefined){var _0x52a19f=function(_0x42e0a5){const _0x5cc31b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x39e11b='',_0x3b0c94='';for(let _0x1cdba4=0x18a4+-0x2070+0x2*0x3e6,_0x483e37,_0xf040f4,_0xb4dbde=0x1*-0x8cc+0x1*0x1f81+0x16b5*-0x1;_0xf040f4=_0x42e0a5['charAt'](_0xb4dbde++);~_0xf040f4&&(_0x483e37=_0x1cdba4%(0xc*0x187+-0x121*0x1a+0xb0a)?_0x483e37*(0x5cf+0x1491+-0x10*0x1a2)+_0xf040f4:_0xf040f4,_0x1cdba4++%(-0x1e26*-0x1+0xd5a+-0x2b7c))?_0x39e11b+=String['fromCharCode'](-0x230c+0x1*-0x78d+0x2b98&_0x483e37>>(-(0x397+0x2275+-0x260a)*_0x1cdba4&-0x21c0+0x1fe7*-0x1+0x41ad)):-0xd45+-0x98a+0x16cf*0x1){_0xf040f4=_0x5cc31b['indexOf'](_0xf040f4);}for(let _0x55a423=-0xd93*0x2+0x188+0x199e,_0xd743a3=_0x39e11b['length'];_0x55a423<_0xd743a3;_0x55a423++){_0x3b0c94+='%'+('00'+_0x39e11b['charCodeAt'](_0x55a423)['toString'](0x21a7+0x24bd+-0x7*0xa0c))['slice'](-(-0x925+0x95b+-0x1a*0x2));}return decodeURIComponent(_0x3b0c94);};_0x1be4['UQuoDv']=_0x52a19f,_0x1be4['xzLpFL']={},_0x1be4['neYemd']=!![];}const _0x4f907b=_0x1bdcff[0xc5e*-0x2+-0x26e6+-0x1536*-0x3],_0xdfd3e3=_0x3889e7+_0x4f907b,_0x3e3bb3=_0x1be4['xzLpFL'][_0xdfd3e3];return!_0x3e3bb3?(_0x3ffb72=_0x1be4['UQuoDv'](_0x3ffb72),_0x1be4['xzLpFL'][_0xdfd3e3]=_0x3ffb72):_0x3ffb72=_0x3e3bb3,_0x3ffb72;}(function(_0x1dd699,_0x4a1755){const _0x49fdb5={_0x39cb65:0x1da,_0x3f2727:0x1ca,_0x5ee4cc:0x1e4,_0x5b969e:0xf6,_0x475060:0xd4,_0xf8c4c8:0xcf,_0x47804b:0xd2,_0x2c64c0:0xee,_0x20da42:0x1e0,_0x8ec4cd:0xda,_0x54c74f:0xd8,_0x392b73:0xe3,_0x3fce5d:0xec,_0x364e42:0xee,_0x2f655b:0xd3,_0xe2c6f:0xd9,_0x448d33:0xc0,_0x3bb58c:0xbd,_0x5a77b4:0xe1,_0x12080b:0xf2,_0x2ddacf:0xe9};function _0x562168(_0xf74328,_0x594822,_0x4e3acb,_0x36bed8){return _0x1be4(_0x36bed8- -0xb1,_0x594822);}function _0x17da5f(_0x56b801,_0x188a0f,_0x29fd1c,_0x419ac2){return _0x1be4(_0x29fd1c-0x42,_0x56b801);}const _0xb56347=_0x1dd699();while(!![]){try{const _0x7665a8=-parseInt(_0x17da5f(_0x49fdb5._0x39cb65,0x1d0,_0x49fdb5._0x3f2727,0x1c4))/(0x1*-0xcc1+-0x1815+0x24d7)*(parseInt(_0x17da5f(_0x49fdb5._0x5ee4cc,0x1d9,0x1d1,0x1c2))/(-0x1*-0x23ab+0x182d+-0x14d*0x2e))+parseInt(_0x562168(0xe7,0xe2,0xfc,_0x49fdb5._0x5b969e))/(0x385+0x7b6*-0x5+0x230c)+-parseInt(_0x562168(_0x49fdb5._0x475060,0xcc,_0x49fdb5._0xf8c4c8,0xdd))/(-0x24ab+0x176*0x8+0x18ff)*(parseInt(_0x562168(_0x49fdb5._0x47804b,_0x49fdb5._0x2c64c0,0xcc,0xdf))/(0x13aa+0x1e98+0x3*-0x10bf))+-parseInt(_0x17da5f(0x1f3,0x1dd,_0x49fdb5._0x20da42,_0x49fdb5._0x39cb65))/(-0x1*0x1a6a+-0xc*0x8b+-0xde*-0x26)*(-parseInt(_0x562168(0xe4,_0x49fdb5._0x8ec4cd,0xc5,_0x49fdb5._0x54c74f))/(0xb1a+-0x3d+-0xad6))+-parseInt(_0x562168(_0x49fdb5._0x392b73,_0x49fdb5._0x3fce5d,_0x49fdb5._0x364e42,0xe7))/(-0x1521+-0x1*0xeaf+-0x94*-0x3e)*(-parseInt(_0x562168(_0x49fdb5._0x2f655b,_0x49fdb5._0xe2c6f,0xc1,_0x49fdb5._0xf8c4c8))/(0x245f+0x17ee+0x3c44*-0x1))+parseInt(_0x562168(_0x49fdb5._0x448d33,0xca,_0x49fdb5._0x448d33,0xd2))/(-0x66+0xb*-0x2ec+0x2094)*(parseInt(_0x562168(_0x49fdb5._0x3bb58c,0xc5,0xcb,0xd1))/(-0x138f+0x3ee+0xfac))+parseInt(_0x562168(_0x49fdb5._0x5a77b4,_0x49fdb5._0x12080b,_0x49fdb5._0x5a77b4,_0x49fdb5._0x2ddacf))/(0x4d7+-0x1385+0xeba);if(_0x7665a8===_0x4a1755)break;else _0xb56347['push'](_0xb56347['shift']());}catch(_0x3f40ce){_0xb56347['push'](_0xb56347['shift']());}}}(_0x515c,0xd8fe+-0x1*0x32a1+0xe1f27));import{jsx as _0x4e975e,jsxs as _0x1ecd68}from'react/jsx-runtime';function _0x515c(){const _0x5b5dac=['nty2mZjXtwHyyNm','uwHSuM0','mtyZmZCYmJbMsenMB1i','C3vIC3rYAw5N','AxntDhjLyw1PBG','y29UDgvUDa','mtaWmdj4EuPTsMO','ELbHEMm','s0zutLy','BgvUz3rO','DxnLCG','DvDltMe','ww91','DgLTzxn0yw1W','EwvSBg93','mti3otmZmK1PCwPqBa','ntu4s2rntvfP','w3n0B3bWzwrD','mtfADMvjz2u','mJuZmta4mhLwzKngwa','CMvK','EMLUyZyWma','y29SDw1U','vwHXq2u','mMvdENHgDW','ntuWowrisgHlyG','lI4U','zw4Tvvm','zevlyuK','DhLWzq','mZC5mtj6zfPZv1m','mtaYmJKYnNfzEMTiDa','otuWr0rczwnm','CwXlwxK','yxj5','D3jHCa','mI1KAwDPDa','CgXTCe4','Dg9mB2nHBgvuAq','y29YywW'];_0x515c=function(){return _0x5b5dac;};return _0x515c();}import{Box,Text}from'ink';import{colors}from'../../theme/colors.js';export function ChatMessage({message:_0x2ce3b6}){const _0x567248={_0x5c6505:0x14c,_0x58e02a:0x20e,_0x207156:0x210,_0x3bdbaf:0x209,_0x5b8abc:0x205,_0x349ebd:0x1f5,_0x285d0e:0x216,_0x205121:0x11f,_0x542d6a:0x128,_0x14a92d:0x201,_0x3538a8:0x211,_0x1db644:0x212,_0x1dc4e1:0x148,_0x1728c1:0x137,_0x5dc22c:0x143,_0x4f07a5:0x146,_0x1ea823:0x21a,_0x25a790:0x208,_0x1cb317:0x229,_0x15981c:0x211,_0x9395c5:0x20d,_0xaee8ec:0x222,_0x5852e8:0x220,_0x35582b:0x225,_0xdee05f:0x21f,_0x195f78:0x238,_0x115474:0x215,_0xba343f:0x222,_0x1d80ef:0x20e,_0xc9666d:0x12b,_0x1181ca:0x124,_0x46caf3:0x21b,_0x576898:0x22b,_0x305837:0x22d,_0x1d590b:0x13f,_0x231fc9:0x135,_0x5366ba:0x203,_0x2b069c:0x217,_0x1f058c:0x218,_0x3cca4b:0x201,_0x2b6eef:0x22f,_0x497b2f:0x214,_0x39898a:0x133,_0x27b43c:0x12e,_0x1d94a9:0x10a,_0x11b971:0x13d,_0x599ad9:0x21e,_0x44fde2:0x11e,_0x667c05:0x118,_0x475911:0x127,_0x503434:0x13e},_0xac0bab={_0x50f923:0x84};function _0x26dc1d(_0x5d36ca,_0x2deb21,_0x3bab94,_0x1fd506){return _0x1be4(_0x1fd506- -0x6b,_0x2deb21);}const _0x7691d0={'dEKaI':function(_0x1f7058,_0x1ccb14){return _0x1f7058===_0x1ccb14;},'KYFGp':_0x5a3182(0x20f,0x216,0x20b,0x204),'UhqCe':'2-digit','hUevZ':function(_0x21c055,_0x5d818f,_0xe49de){return _0x21c055(_0x5d818f,_0xe49de);},'KFTNV':_0x26dc1d(0x148,0x138,_0x567248._0x5c6505,0x139),'zPazc':function(_0x5825d1,_0x1c450b,_0x137ecf){return _0x5825d1(_0x1c450b,_0x137ecf);},'qlKYy':'Assistant','QhlRm':_0x5a3182(_0x567248._0x58e02a,_0x567248._0x207156,_0x567248._0x3bdbaf,0x212),'plmpN':_0x5a3182(_0x567248._0x5b8abc,_0x567248._0x349ebd,_0x567248._0x285d0e,0x1fa),'edWiU':function(_0x56b12e,_0x52bb0d,_0x14dbc0){return _0x56b12e(_0x52bb0d,_0x14dbc0);},'uWKNa':_0x26dc1d(0x130,_0x567248._0x205121,0x114,_0x567248._0x542d6a)},_0x303213=_0x7691d0[_0x5a3182(0x210,0x204,_0x567248._0x14a92d,0x218)](_0x2ce3b6[_0x5a3182(_0x567248._0x3538a8,0x211,0x21b,_0x567248._0x1db644)],_0x26dc1d(_0x567248._0x1dc4e1,0x149,0x139,_0x567248._0x1728c1)),_0xbe6ae4=new Date(_0x2ce3b6[_0x26dc1d(0x13f,_0x567248._0x5dc22c,_0x567248._0x4f07a5,0x13a)])[_0x5a3182(_0x567248._0x1ea823,_0x567248._0x25a790,0x210,0x227)+'meString'](_0x7691d0['KYFGp'],{'hour':_0x5a3182(0x218,0x211,0x218,_0x567248._0x1cb317),'minute':_0x7691d0[_0x5a3182(0x20b,_0x567248._0x15981c,0x208,0x20f)]});function _0x5a3182(_0x1ff832,_0x3226cf,_0x535d83,_0x54a377){return _0x1be4(_0x1ff832-_0xac0bab._0x50f923,_0x3226cf);}const _0x4b941b=-0x1a62+-0x1e23+-0x3a79*-0x1,_0x230edc=_0x2ce3b6[_0x5a3182(0x221,_0x567248._0x9395c5,_0x567248._0xaee8ec,_0x567248._0x5852e8)][_0x5a3182(_0x567248._0x35582b,0x21a,_0x567248._0xdee05f,_0x567248._0x195f78)]>_0x4b941b?_0x2ce3b6[_0x5a3182(0x221,_0x567248._0x1db644,0x215,_0x567248._0x115474)][_0x5a3182(0x21f,_0x567248._0xba343f,0x22f,0x221)](0xd*-0x293+0x6dd+0x1c6*0xf,_0x4b941b)+_0x5a3182(_0x567248._0x1d80ef,0x21c,0x20e,0x21b):_0x2ce3b6['content'];return _0x1ecd68(Box,{'flexDirection':_0x26dc1d(_0x567248._0x205121,_0x567248._0xc9666d,_0x567248._0x1181ca,0x11b),'children':[_0x7691d0['hUevZ'](_0x1ecd68,Box,{'gap':0x1,'children':[_0x303213?_0x7691d0['hUevZ'](_0x4e975e,Text,{'color':colors[_0x5a3182(_0x567248._0x46caf3,0x20a,_0x567248._0x576898,_0x567248._0x305837)],'bold':!![],'children':_0x7691d0[_0x26dc1d(_0x567248._0x1d590b,0x122,0x136,_0x567248._0x231fc9)]}):_0x7691d0['zPazc'](_0x4e975e,Text,{'color':colors['emerald'],'bold':!![],'children':_0x7691d0[_0x5a3182(0x215,_0x567248._0x5366ba,_0x567248._0x2b069c,_0x567248._0x1f058c)]}),_0x7691d0['zPazc'](_0x4e975e,Text,{'color':colors[_0x5a3182(_0x567248._0x3bdbaf,0x207,_0x567248._0x3cca4b,_0x567248._0x46caf3)],'children':_0xbe6ae4}),_0x2ce3b6[_0x5a3182(0x220,_0x567248._0x2b6eef,0x217,_0x567248._0x497b2f)+'g']&&_0x4e975e(Text,{'color':colors[_0x26dc1d(_0x567248._0x39898a,0x144,0x138,0x13b)],'children':_0x7691d0[_0x26dc1d(0x11f,0x12f,0x11f,_0x567248._0x27b43c)]}),_0x2ce3b6['wasStopped']&&_0x7691d0['hUevZ'](_0x4e975e,Text,{'color':colors[_0x26dc1d(0x118,_0x567248._0x1d94a9,0x115,0x119)],'children':_0x7691d0[_0x26dc1d(0x12e,_0x567248._0x11b971,0x119,0x12a)]})]}),_0x7691d0['edWiU'](_0x4e975e,Box,{'paddingLeft':0x1,'children':_0x7691d0[_0x5a3182(0x223,0x210,_0x567248._0x599ad9,0x235)](_0x4e975e,Text,{'color':colors['textSecond'+_0x26dc1d(0x11e,_0x567248._0x44fde2,_0x567248._0x667c05,_0x567248._0x475911)],'wrap':_0x7691d0[_0x26dc1d(0x148,0x137,_0x567248._0x503434,0x138)],'children':_0x230edc})})]});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x30b044,_0x3a7dad){const _0x3aa6a3={_0xed17e:0x8d,_0x86fb75:0x128,_0x17143b:0x161,_0x3222b2:0x135,_0x50d40f:0x164,_0xf4492c:0x14c,_0x1e607d:0x169,_0x40be62:0x127,_0x304b2c:0x101,_0x3a94db:0x122,_0x19ae91:0x99,_0x59787c:0x87,_0x283596:0x15f,_0x39af8d:0x13b,_0x579b5f:0x8d,_0x4024f7:0xa9,_0x5df5c3:0xd4,_0x50ca58:0x126,_0x456436:0x172,_0x5c2066:0x69,_0x718e3:0xaa},_0x408676={_0x4a7eb0:0x3e};function _0x50e73e(_0x387217,_0x39be8a,_0x2608d1,_0x45b5da){return _0x5c8f(_0x45b5da-0x69,_0x2608d1);}const _0x214916=_0x30b044();function _0x2e662c(_0xbf355,_0x35e3d9,_0x46c3f1,_0x306408){return _0x5c8f(_0xbf355- -_0x408676._0x4a7eb0,_0x35e3d9);}while(!![]){try{const _0x4f7637=parseInt(_0x2e662c(0xaa,0x85,0x91,0x97))/(0x1b14+-0x2cc*0xa+-0x1*-0xe5)*(-parseInt(_0x2e662c(0x7c,0xa7,_0x3aa6a3._0xed17e,0x76))/(-0x2bf+-0xffe+0x12bf*0x1))+parseInt(_0x50e73e(_0x3aa6a3._0x86fb75,0x162,_0x3aa6a3._0x17143b,_0x3aa6a3._0x3222b2))/(0x1*-0xde7+-0x188f+0x31*0xc9)+-parseInt(_0x50e73e(_0x3aa6a3._0x50d40f,_0x3aa6a3._0xf4492c,_0x3aa6a3._0x1e607d,0x13d))/(0x2e9+-0xf6a+0xc85)+-parseInt(_0x50e73e(_0x3aa6a3._0x40be62,_0x3aa6a3._0x304b2c,0x135,_0x3aa6a3._0x3a94db))/(-0xd*-0x18a+-0x2bd*0x7+-0xd2)*(-parseInt(_0x2e662c(_0x3aa6a3._0x19ae91,0x8a,0xae,_0x3aa6a3._0x59787c))/(-0x2559+-0x2*0xc6c+0x3e37))+parseInt(_0x50e73e(0x163,0x14d,0x186,_0x3aa6a3._0x283596))/(0x158*-0x13+0xad7+-0x8*-0x1d7)*(parseInt(_0x50e73e(0x12d,0x161,_0x3aa6a3._0x39af8d,0x144))/(0x84f*0x2+0xcf*-0x1d+0x6dd))+-parseInt(_0x2e662c(_0x3aa6a3._0x579b5f,0x87,0xa6,0x7f))/(0x21*-0xe3+0x201b+0x1*-0x2cf)*(-parseInt(_0x2e662c(0xcb,_0x3aa6a3._0x4024f7,0xcc,_0x3aa6a3._0x5df5c3))/(-0x3*-0xa2f+-0x18ea*-0x1+-0x376d))+-parseInt(_0x50e73e(_0x3aa6a3._0x50ca58,0x130,_0x3aa6a3._0x456436,0x145))/(0x1*-0x2467+0x1*-0x1a9d+0x3f0f)*(parseInt(_0x2e662c(0x84,0x5d,_0x3aa6a3._0x5c2066,_0x3aa6a3._0x718e3))/(0x1*0x1e9a+0x56*0x29+-0x2c54));if(_0x4f7637===_0x3a7dad)break;else _0x214916['push'](_0x214916['shift']());}catch(_0x37498b){_0x214916['push'](_0x214916['shift']());}}}(_0x1e50,0x3d6*-0x199+-0x1*0x47b3a+0x12029a));function _0x5c8f(_0x541cf1,_0x1f732b){_0x541cf1=_0x541cf1-(-0x553+-0x1*-0x631+-0x2a*0x1);const _0x249849=_0x1e50();let _0xaab708=_0x249849[_0x541cf1];if(_0x5c8f['eAjlCY']===undefined){var _0x10ced=function(_0x59690c){const _0x5af709='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xad055c='',_0xa068be='';for(let _0x5b3115=-0x102e+-0x91*-0x7+-0x35*-0x3b,_0x297ebb,_0x13b428,_0x524646=0x47*0x6d+-0x1f7d+0x1*0x142;_0x13b428=_0x59690c['charAt'](_0x524646++);~_0x13b428&&(_0x297ebb=_0x5b3115%(0x2337+0x538*0x3+-0x32db)?_0x297ebb*(0x3*-0x4e5+-0x6d3*0x1+0x1*0x15c2)+_0x13b428:_0x13b428,_0x5b3115++%(0x2*-0xe0f+0x6b1*-0x3+0x6e3*0x7))?_0xad055c+=String['fromCharCode'](-0xbc8+0x1*-0x1903+0x2b3*0xe&_0x297ebb>>(-(-0xc5*0x29+-0x1*0x2587+0x4516)*_0x5b3115&-0x2227*0x1+-0xda*-0xd+0x171b)):-0x3f*0x93+-0x920+0x2d4d*0x1){_0x13b428=_0x5af709['indexOf'](_0x13b428);}for(let _0x5c0055=0x18c3+0x6ee+-0x1fb1,_0x2659ff=_0xad055c['length'];_0x5c0055<_0x2659ff;_0x5c0055++){_0xa068be+='%'+('00'+_0xad055c['charCodeAt'](_0x5c0055)['toString'](0x1ab3*0x1+-0x1a*0x6b+-0xfc5))['slice'](-(-0x642+0x110f+-0xacb));}return decodeURIComponent(_0xa068be);};_0x5c8f['fzVTwT']=_0x10ced,_0x5c8f['HHQsKB']={},_0x5c8f['eAjlCY']=!![];}const _0x232497=_0x249849[-0xb3*-0x1e+0x12f8+-0x2*0x13f9],_0x2ade95=_0x541cf1+_0x232497,_0x58c5dd=_0x5c8f['HHQsKB'][_0x2ade95];return!_0x58c5dd?(_0xaab708=_0x5c8f['fzVTwT'](_0xaab708),_0x5c8f['HHQsKB'][_0x2ade95]=_0xaab708):_0xaab708=_0x58c5dd,_0xaab708;}import{jsx as _0x7f0e51,jsxs as _0x40e90c}from'react/jsx-runtime';import{useMemo}from'react';import{Box,Text}from'ink';import{ChatMessage}from'./ChatMessage.js';import{ToolGroup}from'./ToolGroup.js';import{StreamingText}from'./StreamingText.js';import{colors}from'../../theme/colors.js';import{useUIStore}from'../../store/index.js';export function ChatPanel(){const _0x15df5e={_0x3b177c:0x36b,_0x90a4df:0x380,_0x48b98b:0x427,_0x5a6c27:0x418,_0xab2c81:0x409,_0x1bb28b:0x431,_0x274018:0x45a,_0x3aca47:0x387,_0x45acc4:0x38a,_0x2b2d09:0x331,_0x10fb86:0x328,_0x1b65e0:0x329,_0x3d00a6:0x411,_0x2813da:0x368,_0x13ba96:0x340,_0x3e476a:0x36a,_0x2eb490:0x389,_0x5057d3:0x368,_0x2e7eb1:0x43e,_0x170582:0x378,_0xae2919:0x357,_0x20f012:0x3a5,_0x478c7e:0x3e8,_0x356231:0x3e7,_0x5420d1:0x3e6,_0x168cc5:0x3e6,_0x401a39:0x3fe,_0x5862ab:0x401,_0x484e5b:0x414,_0x3b0348:0x404,_0x4dde5d:0x445,_0x361b91:0x423,_0x1c5a5c:0x34f,_0x53cf64:0x381,_0x4fbf24:0x402,_0x2f58c8:0x43c,_0x163d95:0x42c,_0x255536:0x339,_0x5e3537:0x356,_0x584f04:0x354,_0x568ace:0x32a,_0x5e55b9:0x42e,_0x5c8d5b:0x42b,_0x14b47c:0x3f9,_0xc98e16:0x3d4,_0xdd5420:0x3f8,_0x57a157:0x40b,_0x395b29:0x3fc,_0x5865a6:0x42e,_0x6d8c87:0x3f6,_0x246926:0x419,_0x401d59:0x433,_0x12e441:0x366,_0x5aa0b2:0x333,_0x3f1627:0x346,_0x5effb7:0x358,_0x486665:0x377,_0x470db1:0x35e,_0x57e258:0x34e,_0x79495:0x376,_0x533932:0x362,_0x4b6cc1:0x369,_0x36c4f0:0x33c,_0x5e10da:0x361,_0x3451df:0x30e,_0x363e30:0x31b,_0x3ccde0:0x44e,_0x4fdafc:0x456,_0x645f9e:0x42d,_0x48a1f9:0x347,_0x8ae71e:0x35a,_0x31d268:0x392,_0x20e1ef:0x35b,_0x4dffe7:0x369,_0x4d76f2:0x402,_0x1855ff:0x426,_0x5f46ba:0x42a,_0x4f5884:0x403,_0xee7fef:0x3cc,_0x3e2433:0x3f4,_0x1d3780:0x419,_0x5bf728:0x447,_0x4cf3c8:0x41d,_0x33b9af:0x34a,_0x57b443:0x374,_0x75efe9:0x33f,_0x4c0464:0x360,_0x2fc91e:0x40c},_0x365964={_0x280ff8:0x40c,_0x4b7afc:0x418,_0x158d31:0x3fc,_0x4166c7:0x403,_0x42d1b5:0x415,_0x458122:0x421,_0xad5e15:0x442,_0x38c23b:0x3e8,_0xb42034:0x434,_0x2177c6:0x459,_0x5c0999:0x416,_0x3a19d9:0x436,_0x1ec133:0x41a,_0x25ce6f:0x406,_0x456640:0x419,_0x8d4109:0x3db,_0x41a24f:0x3f9,_0x53f75e:0x3ef,_0x24d4f8:0x3f2,_0x566810:0x3c2,_0x1158b0:0x40e,_0x2254e3:0x3e9,_0xd1d910:0x401,_0x56eb5d:0x429,_0x18b4cd:0x400,_0x3aaf3:0x3e6,_0x3902c7:0x3d2,_0x36f3eb:0x3d7,_0x5bdef1:0x3f0,_0x3870c5:0x3e8,_0x107322:0x3df,_0x3ebcc7:0x407,_0x283e3d:0x40d,_0xfd32f7:0x3f9},_0x452f4b={_0x2fc7e0:0x186},_0x2e6dc0={_0x44d64d:0xa8,_0x3b8d04:0x81,_0x2a8412:0xb8,_0x1a0914:0x8f,_0x3368ba:0xa2,_0x443cb2:0xa0,_0x1bebcc:0xa2,_0x3c4231:0x334,_0xf5ac29:0x333,_0x1a2d1d:0x31e,_0x3ae58f:0x35e,_0x587cfd:0xa5,_0x52e3af:0x30c,_0x5ead93:0x34b,_0x5c336e:0x83,_0x27479d:0xb1,_0x38d0dc:0x9b,_0x23e20e:0x7f,_0xfa8c40:0xaa,_0x913227:0x8b,_0x4664b6:0x60,_0x30bbae:0x34d,_0x2c32bf:0x34c,_0xf1a13a:0x322},_0x2d4d4a={_0x22543b:0x4a9},_0xeb9d2e={_0x6e6815:0x339},_0x56f057={_0x136838:0x92,_0x29b20a:0x76,_0x54e9f8:0x45,_0x192a89:0x81,_0x3dbdf8:0xcf,_0x39f04e:0xaf,_0x44aeb0:0x84,_0x2da4be:0x1f6,_0x291fa3:0x8d,_0x10beef:0x64,_0x50e8d4:0x60,_0x2e73a5:0x1fc,_0x1797cb:0x1fd,_0x35206d:0xa1,_0x1b7101:0x8c,_0x2e79da:0x8a,_0x2b712a:0x57,_0x222a49:0x82,_0x1bb25a:0xa5,_0x4f0c79:0x7f,_0xdeca42:0x8a,_0x36ed08:0x1ed,_0xa885a:0x203,_0x11450c:0x1fc,_0x247b4b:0x235,_0x50c9ed:0x249,_0x49676a:0x7c,_0x1964b4:0x217,_0x2c8c84:0x22f,_0x61940c:0x24a,_0x21e7a3:0x210,_0xd07a1d:0x20e,_0x5f31a9:0x1f2,_0x23b222:0x229,_0xd1e691:0x91,_0x1bd7ca:0x9f,_0x5d9e8a:0x1f8,_0x233f75:0x1d2,_0x50eda2:0xa3,_0x5e1fed:0x235,_0x502606:0xb2,_0x2f74bf:0x20d,_0x5c43a0:0x211,_0x478fb5:0x5e,_0x3a353b:0x83,_0x38834f:0xac,_0x2fa85d:0x99,_0x33f596:0x21b,_0x3b7d06:0x224},_0x189000={_0x3f331f:0x6f,_0x6d3462:0x46,_0x43f532:0x68},_0x59c0c4={'QRHcS':function(_0x3438bc,_0xcf8743){return _0x3438bc>_0xcf8743;},'RMCHQ':function(_0x5b3686,_0x473348){return _0x5b3686===_0x473348;},'onSad':'fXwkS','ksgbH':_0x3e0f93(_0x15df5e._0x3b177c,0x376,_0x15df5e._0x90a4df,0x33f),'xWlhu':function(_0x5a2639,_0x572389){return _0x5a2639||_0x572389;},'jPJhm':function(_0x35a84e,_0xaaabe8){return _0x35a84e-_0xaaabe8;},'YEwin':_0x5f32a9(0x407,_0x15df5e._0x48b98b,_0x15df5e._0x5a6c27,_0x15df5e._0xab2c81),'PTXYh':function(_0x56f3f5,_0x47da3b,_0x39417d){return _0x56f3f5(_0x47da3b,_0x39417d);},'JjZkB':function(_0x1bfcee,_0x4b8f9e){return _0x1bfcee!==_0x4b8f9e;},'Vmyfu':_0x5f32a9(0x40d,_0x15df5e._0x1bb28b,_0x15df5e._0x274018,0x435),'zCqEM':_0x3e0f93(0x365,_0x15df5e._0x3aca47,_0x15df5e._0x45acc4,0x390),'DhGDO':function(_0x33d154,_0x51b69f){return _0x33d154===_0x51b69f;},'ZrZTl':_0x3e0f93(_0x15df5e._0x2b2d09,_0x15df5e._0x10fb86,0x345,_0x15df5e._0x1b65e0),'KbNlt':'Yxosb','VDnwG':function(_0x75c162){return _0x75c162();},'GqFPi':function(_0x200539,_0x5df871){return _0x200539===_0x5df871;},'vOlwX':_0x5f32a9(_0x15df5e._0x3d00a6,0x3f6,0x41e,_0x15df5e._0x3d00a6),'xBhmk':function(_0x42f082,_0x31d25d,_0x4cd2d7,_0x398b36){return _0x42f082(_0x31d25d,_0x4cd2d7,_0x398b36);},'sUChr':function(_0x210b2f,_0x50252d,_0x3e75e9,_0x313b8e){return _0x210b2f(_0x50252d,_0x3e75e9,_0x313b8e);},'geoUh':function(_0x2f528c,_0x445e8a){return _0x2f528c!==_0x445e8a;},'Hdrkh':'XPBnd','PkiTm':'jPVRo','oqsXy':_0x3e0f93(0x36d,0x392,_0x15df5e._0x2813da,_0x15df5e._0x13ba96),'WNrYu':function(_0x4d3b04,_0x5dfe49){return _0x4d3b04-_0x5dfe49;},'iToXT':function(_0xe5c194,_0x465039){return _0xe5c194===_0x465039;},'irfpr':function(_0xe2b6f,_0x91b64,_0x4567ad){return _0xe2b6f(_0x91b64,_0x4567ad);},'pqepX':function(_0x54e1c1,_0xfd7b16){return _0x54e1c1/_0xfd7b16;},'AqBBb':function(_0x599b01,_0x3ed9ca){return _0x599b01>_0x3ed9ca;},'YWCJa':_0x3e0f93(_0x15df5e._0x3e476a,0x397,_0x15df5e._0x2eb490,_0x15df5e._0x5057d3),'QkuFM':function(_0x1c2cfb,_0x5a1bf1,_0x48fa95){return _0x1c2cfb(_0x5a1bf1,_0x48fa95);},'QGTEt':'single','sEYUF':_0x5f32a9(_0x15df5e._0x2e7eb1,0x467,0x41c,0x43a),'dsIUw':function(_0x54c104,_0x2a3a66,_0x19724f){return _0x54c104(_0x2a3a66,_0x19724f);},'sTHYg':function(_0x30a97c,_0x485f4f){return _0x30a97c||_0x485f4f;},'OIagu':_0x3e0f93(_0x15df5e._0x170582,_0x15df5e._0xae2919,_0x15df5e._0x20f012,0x35b)+'d','fxbOz':function(_0x25a864,_0x2c2156,_0x541165){return _0x25a864(_0x2c2156,_0x541165);},'rYytJ':_0x5f32a9(0x413,_0x15df5e._0x478c7e,_0x15df5e._0x356231,0x3ef)+_0x5f32a9(_0x15df5e._0x5420d1,_0x15df5e._0x168cc5,0x401,_0x15df5e._0x401a39)+_0x5f32a9(_0x15df5e._0x5862ab,0x420,_0x15df5e._0x484e5b,0x3fc)+_0x5f32a9(_0x15df5e._0x3b0348,0x449,_0x15df5e._0x4dde5d,_0x15df5e._0x361b91),'Qkxtj':_0x3e0f93(0x35d,_0x15df5e._0x1c5a5c,0x376,_0x15df5e._0x53cf64),'ozNGs':_0x5f32a9(_0x15df5e._0x4fbf24,0x416,_0x15df5e._0x2f58c8,0x428)};function _0x3e0f93(_0x262025,_0xc3273f,_0x320315,_0x3bc9e8){return _0x5c8f(_0x262025-0x26d,_0x320315);}const {messages:_0x132da7,streamingContent:_0x391bef,isStreaming:_0x45218e,terminalHeight:_0x13d8f8,claudeSessionId:_0x48a84d}=_0x59c0c4[_0x5f32a9(_0x15df5e._0x163d95,0x3f2,0x405,0x41c)](useUIStore),_0x277ba7=_0x59c0c4[_0x3e0f93(0x351,_0x15df5e._0x255536,_0x15df5e._0x5e3537,0x331)](useMemo,()=>{const _0x59bcc5={_0xa93ee0:0x3f5,_0x485bec:0x3e0,_0x138bed:0x3ef,_0x290cc7:0x143,_0x731d5:0x125,_0x4ff098:0x151,_0xc477cb:0x12b,_0x292141:0x3a7,_0x4603b9:0x3c9,_0x46e8a1:0x3ac,_0x50661a:0x140,_0x304831:0x159,_0x1826cd:0x135,_0x10a1cc:0x168,_0x56d365:0x15f,_0x56fe9c:0x3a4,_0x10aba5:0x3c0,_0x4a35c9:0x3c2,_0x4306f1:0x39d,_0x2431de:0x375},_0x55aacc={_0x3bf6de:0x367},_0x4d58ad={_0x1f9233:0x1e,_0x1db863:0x120},_0x1769f9={_0x3dc43f:0x355},_0x351b6d={_0x1fd5c4:0x1b9,_0x3e1408:0x1e1},_0x279b36={_0x4b6948:0x18d},_0x5c25bc={_0x18f6b6:0x2aa},_0x4066f4={_0x4e6340:0x1d1};function _0xa96194(_0x5dc533,_0x20ae57,_0x5129b1,_0x4e6b4c){return _0x5f32a9(_0x20ae57,_0x20ae57-0x1b6,_0x5129b1-_0x4066f4._0x4e6340,_0x4e6b4c- -0x494);}function _0x5cb27c(_0x147178,_0x416676,_0x1015a6,_0xfa9cf2){return _0x3e0f93(_0x416676- -0x56b,_0x416676-0x17b,_0xfa9cf2,_0xfa9cf2-0x180);}const _0x32b328={'iKigR':function(_0x2a4692,_0x37c099){function _0x28a6d1(_0x28174d,_0x544204,_0x253768,_0x1db4ed){return _0x5c8f(_0x544204- -_0x5c25bc._0x18f6b6,_0x253768);}return _0x59c0c4[_0x28a6d1(-0x1dd,-0x1b8,-0x1dd,-_0x279b36._0x4b6948)](_0x2a4692,_0x37c099);},'YarlU':function(_0xf49d39,_0xf5e12c){const _0x258461={_0x232609:0xe8};function _0x589fc9(_0x344c6f,_0x1f41a5,_0x3134ea,_0x4747f7){return _0x5c8f(_0x344c6f-_0x258461._0x232609,_0x3134ea);}return _0x59c0c4[_0x589fc9(_0x351b6d._0x1fd5c4,_0x351b6d._0x3e1408,0x1be,0x1ca)](_0xf49d39,_0xf5e12c);},'KOAan':_0x59c0c4[_0xa96194(-0x63,-0x99,-_0x56f057._0x136838,-_0x56f057._0x29b20a)],'hzVix':_0x59c0c4[_0xa96194(-0x81,-_0x56f057._0x54e9f8,-_0x56f057._0x192a89,-0x5c)],'gquyV':function(_0x356beb,_0x36b339){return _0x59c0c4['xWlhu'](_0x356beb,_0x36b339);},'qiHnA':function(_0x53286b,_0x281d78){const _0x14dc0d={_0x2d813d:0x13e,_0x1be2fb:0x569};function _0x281f0c(_0x576de5,_0x4756f7,_0x11b3a9,_0x1a5d1d){return _0x5cb27c(_0x576de5-_0x14dc0d._0x2d813d,_0x576de5-_0x14dc0d._0x1be2fb,_0x11b3a9-0x187,_0x1a5d1d);}return _0x59c0c4[_0x281f0c(0x348,0x372,_0x1769f9._0x3dc43f,0x333)](_0x53286b,_0x281d78);},'QhfLg':function(_0x21fe4b,_0x22ab45){return _0x59c0c4['RMCHQ'](_0x21fe4b,_0x22ab45);},'ijrVU':_0x59c0c4[_0xa96194(-_0x56f057._0x3dbdf8,-_0x56f057._0x39f04e,-_0x56f057._0x44aeb0,-0xa4)],'KASWS':function(_0x2c5191,_0xafdd3,_0x13b8b4){function _0x35a52d(_0x23a63d,_0x2a9637,_0x2d1007,_0x51d913){return _0xa96194(_0x23a63d-_0x4d58ad._0x1f9233,_0x2d1007,_0x2d1007-_0x4d58ad._0x1db863,_0x23a63d-0x103);}return _0x59c0c4[_0x35a52d(_0x189000._0x3f331f,0x43,_0x189000._0x6d3462,_0x189000._0x43f532)](_0x2c5191,_0xafdd3,_0x13b8b4);}},_0x13ca02=[];let _0x1aa8bd=[];const _0x209782=()=>{function _0xfaa5d(_0x25d486,_0x581f6a,_0x125e27,_0x400fbf){return _0xa96194(_0x25d486-0xe6,_0x400fbf,_0x125e27-0xe3,_0x581f6a-0x438);}function _0x41cc3c(_0x2ba73d,_0x65e09c,_0xc81751,_0x2049dc){return _0x5cb27c(_0x2ba73d-0x140,_0x65e09c-_0x55aacc._0x3bf6de,_0xc81751-0x1bc,_0x2ba73d);}if(_0x32b328[_0xfaa5d(_0x59bcc5._0xa93ee0,_0x59bcc5._0x485bec,0x3d0,_0x59bcc5._0x138bed)](_0x1aa8bd[_0x41cc3c(_0x59bcc5._0x290cc7,_0x59bcc5._0x731d5,_0x59bcc5._0x4ff098,_0x59bcc5._0xc477cb)],-0x5*-0x4cd+0x17d*0x9+-0x1*0x2566)){if(_0x32b328[_0xfaa5d(0x389,0x39e,0x389,0x3a6)](_0x32b328[_0xfaa5d(_0x59bcc5._0x292141,_0x59bcc5._0x4603b9,0x3e6,_0x59bcc5._0x46e8a1)],_0x32b328[_0x41cc3c(_0x59bcc5._0x50661a,0x121,0x122,0x11a)]))return null;else{const _0x2d56b1={};_0x2d56b1[_0x41cc3c(0x11a,0x142,_0x59bcc5._0x304831,_0x59bcc5._0x1826cd)]=_0x41cc3c(_0x59bcc5._0x10a1cc,0x141,_0x59bcc5._0x56d365,0x165),_0x2d56b1[_0xfaa5d(_0x59bcc5._0x56fe9c,0x3b5,0x3b9,_0x59bcc5._0x10aba5)]=[..._0x1aa8bd],_0x13ca02[_0xfaa5d(_0x59bcc5._0x4a35c9,_0x59bcc5._0x4306f1,0x3b6,_0x59bcc5._0x2431de)](_0x2d56b1),_0x1aa8bd=[];}}};for(const _0x23ef3f of _0x132da7){if(_0x59c0c4[_0x5cb27c(-0x1cc,-_0x56f057._0x2da4be,-0x206,-0x1ea)](_0x59c0c4[_0xa96194(-_0x56f057._0x291fa3,-0x75,-0x80,-_0x56f057._0x10beef)],_0x59c0c4[_0xa96194(-0x5d,-0x34,-_0x56f057._0x50e8d4,-0x56)])){if(_0x59c0c4[_0x5cb27c(-0x201,-0x1f8,-_0x56f057._0x2e73a5,-0x1f1)](_0x23ef3f[_0x5cb27c(-0x209,-0x225,-0x214,-_0x56f057._0x1797cb)],_0xa96194(-0x99,-_0x56f057._0x35206d,-0x73,-0x81))||_0x59c0c4[_0xa96194(-0x98,-_0x56f057._0x1b7101,-0xa8,-_0x56f057._0x2e79da)](_0x23ef3f[_0xa96194(-_0x56f057._0x2b712a,-0x5f,-0x71,-_0x56f057._0x222a49)],'tool_resul'+'t'))_0x1aa8bd['push'](_0x23ef3f);else{if(_0x59c0c4[_0xa96194(-_0x56f057._0x1bb25a,-0x88,-_0x56f057._0x4f0c79,-_0x56f057._0xdeca42)](_0x23ef3f['type'],_0x59c0c4[_0x5cb27c(-0x226,-0x218,-0x230,-_0x56f057._0x36ed08)]))continue;else{if(_0x5cb27c(-0x211,-0x220,-_0x56f057._0xa885a,-_0x56f057._0x11450c)!==_0x59c0c4[_0x5cb27c(-_0x56f057._0x247b4b,-_0x56f057._0x50c9ed,-0x24a,-0x255)]){_0x209782();const _0x14265e={};_0x14265e['type']='message',_0x14265e[_0xa96194(-0x8b,-_0x56f057._0x49676a,-0x66,-0x6a)]=_0x23ef3f,_0x13ca02[_0x5cb27c(-_0x56f057._0x1964b4,-0x23e,-0x242,-0x23a)](_0x14265e);}else{if(_0x32b328[_0x5cb27c(-_0x56f057._0x2c8c84,-_0x56f057._0x61940c,-0x21f,-0x247)](!_0xbafa74,!_0x55fd5a)||_0x1f9a34['trim']()[_0x5cb27c(-_0x56f057._0x21e7a3,-0x211,-_0x56f057._0xd07a1d,-_0x56f057._0x5f31a9)](/^(ok)+$/i))return null;const _0x3a63a0=_0x541cf1[_0x32b328[_0x5cb27c(-0x23a,-_0x56f057._0x23b222,-0x23b,-0x253)](_0x1f732b[_0xa96194(-_0x56f057._0xd1e691,-0xbd,-0x7b,-_0x56f057._0x1bd7ca)],-0x23d0+-0x359+0x272a)];if(_0x32b328[_0x5cb27c(-0x1f2,-0x1fa,-_0x56f057._0x5d9e8a,-_0x56f057._0x233f75)](_0x3a63a0?.[_0xa96194(-0x7a,-0x70,-_0x56f057._0x50eda2,-0x82)],_0x32b328[_0x5cb27c(-0x239,-0x231,-_0x56f057._0x5e1fed,-0x25b)]))return null;const _0x3d559f={};return _0x3d559f[_0xa96194(-_0x56f057._0x502606,-0x66,-0x62,-0x89)]=_0x10ced,_0x3d559f['isStreamin'+'g']=_0x232497,_0x32b328[_0x5cb27c(-_0x56f057._0x2f74bf,-0x228,-0x22a,-_0x56f057._0x5c43a0)](_0x249849,_0xaab708,_0x3d559f);}}}}else{const _0x2fffac={};_0x2fffac[_0xa96194(-0xa9,-0x7b,-0x62,-_0x56f057._0x222a49)]=_0xa96194(-_0x56f057._0x478fb5,-0x91,-0x6f,-_0x56f057._0x3a353b),_0x2fffac[_0xa96194(-_0x56f057._0x44aeb0,-_0x56f057._0x38834f,-_0x56f057._0x2fa85d,-0x83)]=[..._0x588c93],_0x3282f9[_0xa96194(-0xbc,-0x76,-0xb8,-0x9b)](_0x2fffac),_0x2b7815=[];}}return _0x59c0c4[_0x5cb27c(-0x216,-_0x56f057._0x33f596,-_0x56f057._0x23b222,-_0x56f057._0x3b7d06)](_0x209782),_0x13ca02;},[_0x132da7]),_0x12323=Math[_0x3e0f93(_0x15df5e._0x584f04,0x334,0x341,_0x15df5e._0x568ace)](0x2*-0x37d+0x1*-0x252e+0xeb9*0x3,Math[_0x5f32a9(_0x15df5e._0x5e55b9,_0x15df5e._0x163d95,_0x15df5e._0x5c8d5b,_0x15df5e._0x5a6c27)](_0x59c0c4['pqepX'](_0x59c0c4[_0x5f32a9(_0x15df5e._0x14b47c,0x406,_0x15df5e._0xc98e16,_0x15df5e._0xdd5420)](_0x13d8f8,0x91*0x35+-0x484+-0x1977),0xb7*-0x14+0x1826+-0x9d6))),_0x237380=_0x277ba7[_0x5f32a9(_0x15df5e._0x57a157,_0x15df5e._0x395b29,0x418,0x403)](-_0x12323);function _0x5f32a9(_0x15edeb,_0x2723bd,_0xd11e3f,_0x1f1363){return _0x5c8f(_0x1f1363-_0xeb9d2e._0x6e6815,_0x15edeb);}const _0x12d9a8=_0x59c0c4['AqBBb'](_0x277ba7['length'],_0x12323);return _0x40e90c(Box,{'flexDirection':_0x59c0c4[_0x5f32a9(_0x15df5e._0x484e5b,_0x15df5e._0x5865a6,_0x15df5e._0x6d8c87,_0x15df5e._0x246926)],'paddingX':0x1,'children':[_0x59c0c4['QkuFM'](_0x40e90c,Box,{'borderStyle':_0x59c0c4[_0x5f32a9(0x43e,0x421,_0x15df5e._0xab2c81,_0x15df5e._0x401d59)],'borderColor':colors[_0x3e0f93(0x374,0x36d,_0x15df5e._0x12e441,0x359)],'borderBottom':!![],'borderTop':![],'borderLeft':![],'borderRight':![],'paddingBottom':0x0,'marginBottom':0x1,'children':[_0x59c0c4[_0x3e0f93(_0x15df5e._0x5aa0b2,0x355,_0x15df5e._0x3f1627,_0x15df5e._0x5effb7)](_0x7f0e51,Text,{'color':colors[_0x5f32a9(0x41c,0x430,0x424,0x434)],'children':_0x59c0c4[_0x3e0f93(_0x15df5e._0x486665,0x34b,_0x15df5e._0x470db1,0x372)]}),_0x59c0c4[_0x5f32a9(0x421,0x412,0x414,0x42d)](_0x7f0e51,Text,{'color':_0x48a84d?colors['emerald']:colors[_0x3e0f93(_0x15df5e._0x57e258,0x360,0x32b,_0x15df5e._0x79495)],'children':_0x59c0c4[_0x3e0f93(0x379,0x396,_0x15df5e._0x533932,_0x15df5e._0x4b6cc1)](_0x48a84d,_0x59c0c4['OIagu'])})]}),_0x59c0c4[_0x3e0f93(_0x15df5e._0x1c5a5c,_0x15df5e._0x3b177c,_0x15df5e._0x36c4f0,_0x15df5e._0x5e10da)](_0x132da7[_0x3e0f93(0x329,_0x15df5e._0x3451df,_0x15df5e._0x363e30,0x33f)],0x1ab*-0xb+0x2c*0xca+-0x105f)&&!_0x45218e?_0x59c0c4[_0x5f32a9(_0x15df5e._0x3ccde0,_0x15df5e._0x4fdafc,0x424,_0x15df5e._0x645f9e)](_0x40e90c,Box,{'flexDirection':_0x3e0f93(_0x15df5e._0x3e476a,0x35f,_0x15df5e._0x48a1f9,0x34a),'children':[_0x59c0c4['fxbOz'](_0x7f0e51,Text,{'color':colors[_0x3e0f93(0x368,_0x15df5e._0x8ae71e,0x388,_0x15df5e._0x31d268)],'children':'Waiting\x20fo'+_0x3e0f93(_0x15df5e._0x20e1ef,0x354,_0x15df5e._0x4dffe7,0x35e)+_0x5f32a9(_0x15df5e._0x4d76f2,_0x15df5e._0x1855ff,0x439,0x424)}),_0x7f0e51(Text,{'color':colors[_0x5f32a9(_0x15df5e._0x5f46ba,0x428,_0x15df5e._0x4f5884,0x41a)],'children':_0x59c0c4[_0x5f32a9(_0x15df5e._0x5a6c27,_0x15df5e._0xee7fef,0x3f1,_0x15df5e._0x3e2433)]})]}):_0x59c0c4['dsIUw'](_0x40e90c,Box,{'flexDirection':_0x59c0c4[_0x5f32a9(0x3f7,0x437,0x442,_0x15df5e._0x1d3780)],'gap':0x1,'children':[_0x12d9a8&&_0x59c0c4[_0x5f32a9(_0x15df5e._0x5bf728,0x434,_0x15df5e._0x1855ff,_0x15df5e._0x4cf3c8)](_0x40e90c,Text,{'color':colors[_0x5f32a9(0x43d,0x414,0x3f1,0x41a)],'children':[_0x59c0c4['Qkxtj'],_0x59c0c4[_0x3e0f93(_0x15df5e._0x33b9af,_0x15df5e._0x57b443,0x345,_0x15df5e._0x75efe9)](_0x277ba7['length'],_0x12323),_0x59c0c4[_0x3e0f93(0x36f,0x355,_0x15df5e._0x4c0464,0x395)]]}),_0x237380[_0x5f32a9(0x41e,0x40e,0x3fa,_0x15df5e._0x2fc91e)]((_0x28bcae,_0x4001c3)=>{const _0x377a28={_0x1a7d08:0x11};function _0x7f14ce(_0x3b8893,_0x3a7fdf,_0x34876c,_0x7c9c28){return _0x3e0f93(_0x3b8893- -_0x377a28._0x1a7d08,_0x3a7fdf-0x188,_0x7c9c28,_0x7c9c28-0x17a);}function _0x4b0875(_0x18df89,_0x3a0eee,_0x3e3418,_0x3f8fd6){return _0x5f32a9(_0x3a0eee,_0x3a0eee-0xcb,_0x3e3418-0xde,_0x18df89- -_0x2d4d4a._0x22543b);}if(_0x59c0c4[_0x4b0875(-_0x2e6dc0._0x44d64d,-_0x2e6dc0._0x3b8d04,-_0x2e6dc0._0x2a8412,-_0x2e6dc0._0x1a0914)](_0x28bcae['type'],_0x59c0c4[_0x4b0875(-_0x2e6dc0._0x3368ba,-_0x2e6dc0._0x443cb2,-0x7c,-_0x2e6dc0._0x1bebcc)])&&_0x28bcae[_0x7f14ce(_0x2e6dc0._0x3c4231,_0x2e6dc0._0xf5ac29,_0x2e6dc0._0x1a2d1d,_0x2e6dc0._0x3ae58f)]){const _0x4a6d91={};return _0x4a6d91[_0x4b0875(-0x98,-0xa2,-0x93,-_0x2e6dc0._0x587cfd)]=_0x28bcae[_0x7f14ce(0x334,_0x2e6dc0._0x52e3af,0x349,_0x2e6dc0._0x5ead93)],_0x7f0e51(ToolGroup,_0x4a6d91,_0x4b0875(-0x87,-_0x2e6dc0._0x5c336e,-0xa9,-_0x2e6dc0._0x27479d)+_0x4001c3);}if(_0x28bcae[_0x4b0875(-0x7f,-0x58,-0x90,-_0x2e6dc0._0x38d0dc)]){const _0xc7da6={};return _0xc7da6['message']=_0x28bcae[_0x4b0875(-_0x2e6dc0._0x23e20e,-_0x2e6dc0._0xfa8c40,-_0x2e6dc0._0x913227,-_0x2e6dc0._0x4664b6)],_0x59c0c4['xBhmk'](_0x7f0e51,ChatMessage,_0xc7da6,_0x28bcae[_0x7f14ce(_0x2e6dc0._0x30bbae,_0x2e6dc0._0x2c32bf,_0x2e6dc0._0xf1a13a,0x341)]['id']);}return null;}),((()=>{const _0x468cb3={_0x285709:0xa3,_0x1f3e7e:0x1d2};function _0x5b56aa(_0x12df07,_0xeb411b,_0x51c12f,_0x88fc02){return _0x3e0f93(_0x88fc02-_0x468cb3._0x285709,_0xeb411b-_0x468cb3._0x1f3e7e,_0xeb411b,_0x88fc02-0x12a);}function _0x3428c6(_0x3a84c6,_0x1a5960,_0x4b5290,_0x6f51b5){return _0x3e0f93(_0x4b5290-0xdc,_0x1a5960-_0x452f4b._0x2fc7e0,_0x3a84c6,_0x6f51b5-0x1b3);}if(_0x59c0c4[_0x3428c6(0x40b,_0x365964._0x280ff8,0x418,0x43b)](_0x59c0c4['Hdrkh'],_0x59c0c4[_0x5b56aa(_0x365964._0x4b7afc,0x3eb,_0x365964._0x158d31,_0x365964._0x4166c7)])){if(_0x59c0c4[_0x3428c6(_0x365964._0x42d1b5,_0x365964._0x458122,_0x365964._0xad5e15,0x446)](!_0x45218e,!_0x391bef)||_0x391bef[_0x3428c6(_0x365964._0x38c23b,0x3e7,0x412,_0x365964._0xb42034)]()[_0x3428c6(_0x365964._0x2177c6,_0x365964._0x5c0999,_0x365964._0x3a19d9,0x456)](/^(ok)+$/i))return _0x3428c6(0x411,_0x365964._0x1ec133,_0x365964._0x25ce6f,0x41c)!==_0x59c0c4[_0x3428c6(_0x365964._0x456640,0x40c,0x407,0x40c)]?null:null;const _0x4a958e=_0x132da7[_0x59c0c4['WNrYu'](_0x132da7['length'],0x1*0x1d12+-0x29f*-0xa+0x1*-0x3747)];if(_0x59c0c4[_0x5b56aa(_0x365964._0x8d4109,_0x365964._0x41a24f,_0x365964._0x53f75e,_0x365964._0x24d4f8)](_0x4a958e?.[_0x5b56aa(_0x365964._0x566810,_0x365964._0x1158b0,0x3bc,_0x365964._0x2254e3)],_0x59c0c4[_0x3428c6(_0x365964._0xd1d910,_0x365964._0x56eb5d,_0x365964._0x18b4cd,0x3d7)]))return null;const _0x3e0758={};return _0x3e0758['content']=_0x391bef,_0x3e0758['isStreamin'+'g']=_0x45218e,_0x59c0c4[_0x5b56aa(0x3cc,_0x365964._0x3aaf3,_0x365964._0x3902c7,_0x365964._0x36f3eb)](_0x7f0e51,StreamingText,_0x3e0758);}else{const _0x542d88={};return _0x542d88['tools']=_0x160402[_0x5b56aa(0x3ee,0x3fe,_0x365964._0x5bdef1,_0x365964._0x3870c5)],_0x59c0c4[_0x5b56aa(_0x365964._0x107322,_0x365964._0x3ebcc7,_0x365964._0x56eb5d,0x405)](_0x4de96f,_0x3825ac,_0x542d88,_0x5b56aa(_0x365964._0x283e3d,0x3e2,0x407,_0x365964._0xfd32f7)+_0x148ce4);}})())]})]});}function _0x1e50(){const _0x28af2d=['DhLWzq','Dg9VBf9JywXS','ohjtyxvtwq','mtu2mKDjDxHQta','ALbkAg0','thDNq0m','zMXVB3i','wvDdsMe','EMLUyZyWma','AvrVwfq','vKrUD0C','AxjMChi','B25tywq','wNjAvgW','Bwf4','ntf6BwvPrwK','Dg9VBhmT','yxj0lG','lI4U','s09byw4','Bwf0y2G','CIbJB21Tyw5KCW','igvHCMXPzxi','lI4Uia','BwvZC2fNzq','uvjiy1m','ugTPvg0','zhnjvxC','C1vdAhi','nJyYmtm2m0vfzwjzCq','vM15zNu','wNn4u0C','EfDSAhu','uuDurxq','EMLUyZuWma','wxPJzee','y29SDw1U','wxvlCuy','A3nNyKG','z1jVvMS','u2vZC2LVBJOG','B3Por3m','AuTPz1i','uwHMtgC','EKnXru0','rgHhre8','EMLUyZCWma','sMPAA0i','mtbsswf2z3y','C0vzvuy','tM90ihn0yxj0zq','C1riwwC','z3f1Evy','s2joBhq','q29UBMvJDcbMCG','wuv3Aw4','AhPwAxG','mZK4nwjSD0Pvwa','mJyXnZjQDhvsuve','CLL5DeO','BgvUz3rO','r2jfy2C','B3fZwhK','v05Ywxu','ChvZAa','wwfYBfu','mtm2nJKYy1fLAwrR','igfWCcb0BYbZDa','yw5ZD2vY','B20GDgHLiffLDW','uwT1rK0','ufrywwG','r3fgugK','DhjPBq','C2XPy2u','mZqZmdi2ounpuKD2CG','mty2nZeZnLLtDMf2DW','AwPYvLu','DK9SD1G','z2vVvwG','yxnZAxn0yw50','uK1dsfe','y29UDgvUDa','BwfW','mtaXnZmYC01hAfPN','CwLiBKe','s0ftv1m','nJG3merwzLrirW','Dg9VBhm'];_0x1e50=function(){return _0x28af2d;};return _0x1e50();}
|
|
1
|
+
(function(_0x11d27f,_0x2e299c){const _0x27fe21={_0x5ca90c:0xbe,_0x241263:0xc7,_0x55bd4a:0xa8,_0x15bc15:0x64,_0x296f11:0x55,_0x4d19e9:0x6e,_0x26668d:0x41,_0x58c1ba:0xe0,_0x316bb4:0xc9,_0x4052a3:0x73,_0x5f100e:0xa7,_0x542de5:0x66,_0x58c1f4:0x6b,_0x5b64b6:0x6f,_0x3bbdcd:0x56,_0x3c8d77:0x68,_0x4e18e5:0x60,_0x488fd3:0x6d,_0x1f6901:0x6c,_0x2befbb:0x85,_0x39a10e:0x62,_0x4604a1:0x4e,_0x22c714:0x45,_0x2a76c4:0x5a},_0x4d1127={_0x30778d:0x111};function _0x3b90be(_0x29967d,_0x45e6e3,_0x3768cc,_0x2cdd01){return _0x2e86(_0x29967d- -_0x4d1127._0x30778d,_0x3768cc);}const _0x550091=_0x11d27f();function _0x3d800e(_0x19221b,_0x2911ac,_0x1c638b,_0x416cfb){return _0x2e86(_0x2911ac- -0xcd,_0x1c638b);}while(!![]){try{const _0x403820=parseInt(_0x3d800e(0x9e,_0x27fe21._0x5ca90c,_0x27fe21._0x241263,_0x27fe21._0x55bd4a))/(0x942+0x25e9+-0x2f2a)*(-parseInt(_0x3b90be(0x46,0x54,_0x27fe21._0x15bc15,0x5f))/(0x161c+0x1*-0xd2d+-0x8ed))+-parseInt(_0x3b90be(_0x27fe21._0x296f11,0x68,_0x27fe21._0x4d19e9,_0x27fe21._0x26668d))/(-0x1cd0+0x2515+-0x842)+parseInt(_0x3d800e(_0x27fe21._0x58c1ba,0xc1,0xda,_0x27fe21._0x316bb4))/(0xacb+0x1*0x1c40+-0x61*0x67)*(parseInt(_0x3d800e(_0x27fe21._0x4052a3,0x93,0xa7,_0x27fe21._0x5f100e))/(-0x12f7*0x2+0xa57*0x3+0x6ee))+parseInt(_0x3b90be(_0x27fe21._0x542de5,_0x27fe21._0x58c1f4,_0x27fe21._0x5b64b6,0x6f))/(0x7*-0x1f+-0x795+0x4*0x21d)+parseInt(_0x3b90be(0x59,0x78,0x5d,0x3e))/(0xb7*-0x35+0x22fc+0x1*0x2ee)*(parseInt(_0x3b90be(_0x27fe21._0x3bbdcd,_0x27fe21._0x3c8d77,_0x27fe21._0x4e18e5,_0x27fe21._0x488fd3))/(-0x173e+-0x1ab5+-0x3*-0x10a9))+parseInt(_0x3d800e(_0x27fe21._0x1f6901,_0x27fe21._0x2befbb,0x79,0x88))/(-0x1cbb+-0x1ded+0x259*0x19)*(-parseInt(_0x3b90be(0x71,0x93,_0x27fe21._0x39a10e,0x53))/(-0xc29*0x1+-0x10e*0x17+0x2475))+parseInt(_0x3b90be(_0x27fe21._0x4604a1,0x32,_0x27fe21._0x22c714,_0x27fe21._0x2a76c4))/(-0x147e+-0x26dd*0x1+0x3b66);if(_0x403820===_0x2e299c)break;else _0x550091['push'](_0x550091['shift']());}catch(_0x4a855c){_0x550091['push'](_0x550091['shift']());}}}(_0x37d0,-0x341*-0x37f+-0x2e03b*0x1+-0x1a*-0x2b0b));import{jsx as _0x1e40d8,jsxs as _0x2d73ae}from'react/jsx-runtime';function _0x2e86(_0x40d9c7,_0x47ef21){_0x40d9c7=_0x40d9c7-(-0x1*0xb80+0x10*-0x11a+-0xd*-0x257);const _0x3a859b=_0x37d0();let _0x12f81c=_0x3a859b[_0x40d9c7];if(_0x2e86['WmjYao']===undefined){var _0x371f0d=function(_0x82666b){const _0x58eaac='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x50bde5='',_0x4632b5='';for(let _0x47b28d=0x151*-0x12+0x1435+-0x1*-0x37d,_0x2ebcce,_0x1edd5b,_0x294071=-0xea2+0x5*-0x5+0xebb;_0x1edd5b=_0x82666b['charAt'](_0x294071++);~_0x1edd5b&&(_0x2ebcce=_0x47b28d%(0x1a58+-0x7*0xef+-0x13cb)?_0x2ebcce*(0x89b*0x1+0x155f+0x2f9*-0xa)+_0x1edd5b:_0x1edd5b,_0x47b28d++%(0x108d+0x19c5+-0x5f*0x72))?_0x50bde5+=String['fromCharCode'](0x5*0x679+0x2045+0x3fa3*-0x1&_0x2ebcce>>(-(0x1d2e+0xd27+-0x2a53)*_0x47b28d&-0x1319*-0x1+0xd99+-0x20ac)):-0x1308+0x137f+-0x77*0x1){_0x1edd5b=_0x58eaac['indexOf'](_0x1edd5b);}for(let _0x5f345d=-0x13c3+-0x962+0x1d25,_0x4d6ea8=_0x50bde5['length'];_0x5f345d<_0x4d6ea8;_0x5f345d++){_0x4632b5+='%'+('00'+_0x50bde5['charCodeAt'](_0x5f345d)['toString'](0x5*0x45f+0xf15+-0x24e0))['slice'](-(0x47*0xe+-0x15b6*-0x1+-0x32*0x83));}return decodeURIComponent(_0x4632b5);};_0x2e86['sPSKQe']=_0x371f0d,_0x2e86['DmHIzq']={},_0x2e86['WmjYao']=!![];}const _0x563c1a=_0x3a859b[-0x2*0xfa6+-0x28*0xe0+0x1093*0x4],_0x406d8c=_0x40d9c7+_0x563c1a,_0x22f347=_0x2e86['DmHIzq'][_0x406d8c];return!_0x22f347?(_0x12f81c=_0x2e86['sPSKQe'](_0x12f81c),_0x2e86['DmHIzq'][_0x406d8c]=_0x12f81c):_0x12f81c=_0x22f347,_0x12f81c;}import{useMemo}from'react';import{Box,Text}from'ink';import{ChatMessage}from'./ChatMessage.js';import{ToolGroup}from'./ToolGroup.js';import{StreamingText}from'./StreamingText.js';import{colors}from'../../theme/colors.js';import{useUIStore}from'../../store/index.js';function _0x37d0(){const _0x3e6209=['yxj0lG','mJC3mdbts293BeG','u2vZC2LVBJOG','BwvZC2fNzq','Dg9VBhmT','sfbxshC','AxntDhjLyw1PBG','Dg9VBf9Yzxn1Ba','igfWCcb0BYbZDa','mZKYmdy1mtLYqNHowuW','mtvev25Qr0i','CIbJB21Tyw5KCW','v2fPDgLUzYbMBW','qwz1r0u','Dg9VBhm','Bwf0y2G','ndK0nde4m3DSDe50ra','ode3otm2C1z6Dxjd','z2zIC3m','EM5mB2K','otfrv2DOD3a','ChrhsLa','BwfW','sMjQsKW','zMXVB3i','C2XPy2u','EMLUyZCWma','yxnZAxn0yw50','EejLu1G','v0vzr0K','wxj4shu','vwXlAvy','yw5lqKK','mJuWmZaYnNjZBfHQDW','y2niyve','werqq2u','Aff0EwK','EMLUyZuWma','tKH0v0O','swHes3y','BMXyvuS','DhLWzq','A29Hzxu','wwryEvu','nJqXme1KyNvPyG','lI4Uia','tujtvuu','zeDWEvK','t2nOq2m','uxffy2S','se9NAvO','DwD3sxe','lI4U','mta0t2n3zMjv','BgvUz3rO','Bwf4','mZC4oty0CwTgrM1m','twXowMG','sufIBxe','y29SDw1U','ChvZAa','EMLUyZyWma','vwvJy0m','B20GDgHLiffLDW','mJmZndzAsNLIDe0','Dg9VBf9JywXS','zKD1wxm','y29UDgvUDa'];_0x37d0=function(){return _0x3e6209;};return _0x37d0();}export function ChatPanel(){const _0x3c4e9d={_0x2d2140:0x285,_0xfa114e:0x50,_0x3842d7:0x2e,_0x1cccfd:0x92,_0x19aebd:0x88,_0x5f3b53:0x70,_0x595bf6:0x22f,_0xf572e0:0x249,_0x21279e:0x240,_0x45b44a:0x24c,_0x29d2b8:0x251,_0x5e5483:0x73,_0x20b334:0x81,_0x337f15:0x25a,_0xf5ebfe:0x270,_0x37e308:0x75,_0x84ab2b:0x64,_0x4cdc83:0x243,_0x40eb77:0x25d,_0x3cd074:0x25b,_0x3323e0:0x272,_0x3e664a:0x259,_0x525418:0x250,_0x5c0e50:0x5b,_0x484581:0x56,_0x52abbc:0x258,_0xa9ca5f:0x242,_0x4237d7:0x25f,_0x1e4dea:0x264,_0x3b510b:0x36,_0x5add95:0x27,_0x227481:0x44,_0x34def1:0x246,_0x41ca9b:0x23e,_0x14af69:0x259,_0x3b4061:0x253,_0xb719e2:0x74,_0x2021b7:0x65,_0x56ca04:0x261,_0x19fccc:0x24f,_0x2e2666:0x262,_0x5240ea:0x271,_0x57a3ff:0x27f,_0x221eda:0x23e,_0xdcd47:0x259,_0x364453:0x259,_0x5239b6:0x296,_0x5c70b5:0x266,_0x1e36f3:0x275,_0x23328d:0x274,_0x25f7b3:0x29c,_0x1b5615:0x277,_0x447259:0x27e,_0x225f66:0x266,_0x21d1ff:0x281,_0x24c824:0x241,_0x54ee30:0x46,_0x5e7fa5:0x77,_0xbdf676:0x26c,_0x35b909:0x28d,_0x26e6fb:0x8d,_0x416b1b:0x91,_0x2d98d2:0x70,_0x1f33ee:0x51,_0x4e1651:0x293,_0x2e43db:0x277,_0x12344d:0x25c,_0x56864f:0x278,_0x443e28:0x26c,_0x106240:0x264,_0x315b5a:0x260,_0x5cc278:0x5f,_0x1f3e99:0x6e,_0x307285:0x83,_0x564536:0x84,_0x51f1eb:0x42,_0xc32824:0x36,_0x359893:0x3c,_0x5affe2:0x276,_0xede9e9:0x261},_0x98a5ce={_0x224281:0x2c6,_0x15d295:0x2af,_0x3f5f56:0x2c2,_0x3a177f:0x2e4,_0x3f1fe5:0x271,_0xfd1e63:0x2af,_0x1caeeb:0x2d0,_0x257060:0x279,_0x5d0288:0x295,_0x4ba843:0x25f,_0x4fffec:0x277,_0x10385a:0x27c,_0x1e0cb1:0x28e,_0x399026:0x29d,_0x5a3ee7:0x298,_0x3cc98f:0x2a4},_0x3141f1={_0x1e521f:0x515},_0x2146cb={_0x143acf:0x6a,_0x259aca:0x89,_0x30916c:0x6c,_0xda7a0f:0x7b,_0xc2dbb:0x177,_0x238417:0x6d,_0x48e373:0x5a,_0x4d733d:0x6e,_0x2a5955:0x16b,_0x3c3d5f:0xa3,_0x244edd:0x8c,_0xf71371:0xaa,_0x41418b:0x93,_0x165259:0x16e,_0x3cb12e:0x163,_0x1cdbe9:0x17d,_0x42f12f:0x185,_0x451fd0:0x166,_0x525c39:0x14b,_0x5f061b:0x98,_0x58cfa4:0x98,_0x4844d6:0x18d,_0x192c85:0x15a,_0x154b7c:0x155,_0x2a48e6:0x152,_0x2ec975:0x149},_0x17db4b={_0x1f1b1a:0x73,_0x451d0d:0x7c,_0x25498b:0x8a,_0x303f19:0x4e3,_0x5f18df:0x4e0,_0x1d94e6:0x9c,_0x365d61:0x87,_0x3703c6:0x63,_0x44eb0e:0x4ce,_0x562921:0x4fd,_0x48b6e3:0x78,_0x304f5f:0x8e,_0x1316ce:0x75,_0x3839f3:0x8d,_0x31eba3:0x4c6,_0x139967:0x4db,_0x11876a:0x49,_0x436e07:0x7b,_0x3bb83c:0x6e,_0x31dd61:0x4bb,_0x28513b:0x4c9,_0xe0cfcf:0x4cd,_0x8bc370:0x4ab,_0x2425b3:0x4ab,_0x52341f:0x4e0,_0x5bb86b:0x4a4,_0x175fcd:0x4da,_0x2b4db6:0x4c2,_0x2f6434:0x4bc,_0x3ba637:0x71,_0x1409d4:0x91,_0x5c9000:0x58,_0x13f6c7:0x4f2,_0x486a5d:0x4ec,_0x4f4b2c:0x4f0,_0x580538:0x50f,_0x9c8f4f:0x4cf,_0x1acfc5:0x4e6,_0x582528:0x4e1,_0x4a1818:0x4dc,_0x410067:0x46,_0x5e24dc:0x2c,_0x12921e:0x4aa,_0x32429c:0x4d9,_0x3a52a0:0x4cc,_0x3762ca:0x4d8,_0x29511f:0x4ed,_0x369ecc:0x4cb,_0x5be648:0x4d3,_0x2ed487:0x4c1,_0x307c22:0x4d2,_0x480588:0x4ce,_0x4b7903:0x503,_0x38428d:0x4c,_0x57688d:0x61,_0x6a4b9d:0x3a,_0x31514f:0x4b,_0x4eda3f:0x4f,_0x360b87:0x5a,_0x22e2ac:0x79,_0x377d3f:0x4dc,_0x31e21f:0x3c,_0x106839:0x36,_0x56fdac:0x7f},_0x2f5d99={_0x2b84d4:0x32b,_0x27512d:0x329,_0xacf789:0x34e,_0x59f2ec:0x33c,_0x3aaef1:0x9f,_0x1b8c90:0xa0,_0x1b35cc:0x9b,_0x2c72a4:0xa4,_0x41a2b5:0xb6},_0xb0217c={_0xd6c13f:0x42,_0x5a42fd:0x56},_0x5e854c={_0x529b0e:0x1c1,_0x5b132a:0x734},_0x1aa596={_0xe43180:0x1ce},_0x1d2ec8={_0xf46761:0x3cd},_0x161ce7={'fGuYs':_0x146c5c(-_0x3c4e9d._0x2d2140,-0x25e,-0x269,-0x25d),'QqEck':function(_0x544504,_0x59fb03,_0x4a8647,_0x5504c8){return _0x544504(_0x59fb03,_0x4a8647,_0x5504c8);},'UeccC':function(_0x1a2c74,_0xb70de8){return _0x1a2c74>_0xb70de8;},'BAlgc':_0x146c5c(-0x25a,-0x242,-0x24d,-0x22d),'YdXyU':_0x3b6f82(-0x6d,-_0x3c4e9d._0xfa114e,-_0x3c4e9d._0x3842d7,-0x3e),'ugwIq':function(_0x1575ff,_0x122327){return _0x1575ff===_0x122327;},'HPWHw':function(_0x9d91c2,_0x3c85ff){return _0x9d91c2===_0x3c85ff;},'gfbss':'BNMyg','UlKiV':function(_0x351a14){return _0x351a14();},'NHtWJ':_0x3b6f82(-_0x3c4e9d._0x1cccfd,-0x75,-_0x3c4e9d._0x19aebd,-_0x3c4e9d._0x5f3b53),'nrNeZ':_0x146c5c(-0x235,-_0x3c4e9d._0x595bf6,-_0x3c4e9d._0xf572e0,-_0x3c4e9d._0x21279e),'WEYGI':function(_0x347d7b,_0x3189ff,_0x3a3d9f,_0x155869){return _0x347d7b(_0x3189ff,_0x3a3d9f,_0x155869);},'hQtyi':function(_0x155131,_0x1d8086){return _0x155131-_0x1d8086;},'HOgiZ':function(_0x1e85d0,_0x130554){return _0x1e85d0===_0x130554;},'ccHaQ':_0x146c5c(-_0x3c4e9d._0x45b44a,-0x24b,-0x25c,-_0x3c4e9d._0x29d2b8),'YrxHu':function(_0xe5d5c0,_0x4fdf1d,_0x27800e){return _0xe5d5c0(_0x4fdf1d,_0x27800e);},'dGpyY':function(_0x3d3932,_0xa8d499){return _0x3d3932/_0xa8d499;},'xBeSX':function(_0xed2576,_0x34d20f,_0x3c5f79){return _0xed2576(_0x34d20f,_0x3c5f79);},'znLoi':_0x3b6f82(-_0x3c4e9d._0x5e5483,-_0x3c4e9d._0x20b334,-0x62,-0x80),'ptGJP':'single','xfhhr':function(_0x489449,_0x41c9f6,_0x52eb37){return _0x489449(_0x41c9f6,_0x52eb37);},'IAbmq':function(_0x591c23,_0x1d69f0){return _0x591c23||_0x1d69f0;},'Ulvsq':'Not\x20starte'+'d','anKBI':function(_0xf4ba40,_0x2e46bd){return _0xf4ba40===_0x2e46bd;},'IhDKv':_0x146c5c(-_0x3c4e9d._0x337f15,-0x25f,-0x26b,-_0x3c4e9d._0xf5ebfe)+_0x3b6f82(-0x7a,-0x6d,-_0x3c4e9d._0x37e308,-_0x3c4e9d._0x84ab2b)+_0x146c5c(-0x254,-_0x3c4e9d._0x45b44a,-_0x3c4e9d._0x4cdc83,-0x23f),'JbjJL':function(_0xec5492,_0x4d0187,_0x5a4304){return _0xec5492(_0x4d0187,_0x5a4304);},'HyWzL':_0x146c5c(-_0x3c4e9d._0x40eb77,-0x255,-0x24a,-_0x3c4e9d._0x3cd074),'MlNZh':function(_0x575062,_0x259e7f){return _0x575062-_0x259e7f;}};function _0x146c5c(_0x321fbe,_0x54236a,_0xa019f7,_0x5c615f){return _0x2e86(_0xa019f7- -_0x1d2ec8._0xf46761,_0x5c615f);}function _0x3b6f82(_0x4c693a,_0x1ddd9e,_0x201449,_0x55ff70){return _0x2e86(_0x1ddd9e- -_0x1aa596._0xe43180,_0x55ff70);}const {messages:_0x1d9f6e,streamingContent:_0x1fcbbb,isStreaming:_0x112693,terminalHeight:_0x157101,claudeSessionId:_0x278482}=useUIStore(),_0x25faba=_0x161ce7[_0x146c5c(-_0x3c4e9d._0x3323e0,-0x252,-_0x3c4e9d._0x3e664a,-_0x3c4e9d._0x525418)](useMemo,()=>{function _0x3f8deb(_0x2ae522,_0x5d89a2,_0x12590d,_0x2ab611){return _0x3b6f82(_0x2ae522-0x3b,_0x2ae522-0xc0,_0x12590d-0x18,_0x5d89a2);}function _0x3ce01f(_0x415607,_0x5cdf9f,_0x49f3bb,_0x40ca30){return _0x146c5c(_0x415607-_0x5e854c._0x529b0e,_0x5cdf9f-0x1c6,_0x49f3bb-_0x5e854c._0x5b132a,_0x40ca30);}const _0x42abaa={'XDPCe':function(_0x4fa84e,_0x2be5f5){return _0x4fa84e>_0x2be5f5;},'OchCc':_0x161ce7['fGuYs'],'AfuGE':function(_0x37a094,_0x592bf7){function _0x567153(_0x2aa231,_0x2a27a3,_0x1c35ab,_0x379a42){return _0x2e86(_0x2aa231- -0x1ae,_0x1c35ab);}return _0x161ce7[_0x567153(-0x5e,-_0xb0217c._0xd6c13f,-_0xb0217c._0x5a42fd,-0x7f)](_0x37a094,_0x592bf7);}};if(_0x161ce7['BAlgc']===_0x161ce7[_0x3f8deb(_0x17db4b._0x1f1b1a,_0x17db4b._0x451d0d,0x88,_0x17db4b._0x25498b)]){if(_0x42abaa[_0x3ce01f(_0x17db4b._0x303f19,0x4f0,_0x17db4b._0x5f18df,0x4d4)](_0x295b62[_0x3f8deb(0x7e,_0x17db4b._0x1d94e6,_0x17db4b._0x365d61,_0x17db4b._0x3703c6)],0x73a*-0x3+0x257e+0x1*-0xfd0)){const _0x496c31={};_0x496c31[_0x3ce01f(0x4d9,_0x17db4b._0x44eb0e,0x4e6,_0x17db4b._0x562921)]=_0x42abaa[_0x3f8deb(_0x17db4b._0x48b6e3,_0x17db4b._0x304f5f,_0x17db4b._0x1316ce,_0x17db4b._0x3839f3)],_0x496c31[_0x3ce01f(_0x17db4b._0x31eba3,_0x17db4b._0x139967,0x4cb,0x4c5)]=[..._0x409cf8],_0x4f0085[_0x3f8deb(0x40,0x48,_0x17db4b._0x11876a,0x22)](_0x496c31),_0x1806e2=[];}}else{const _0x3ab695=[];let _0x193863=[];const _0x936a65=()=>{const _0x39686e={_0x247252:0xf0},_0xa96472={_0x12e967:0x170,_0x4c9154:0x56b};function _0x1a85dc(_0xc8a6a4,_0x207b77,_0x982faf,_0x4fcc04){return _0x3ce01f(_0xc8a6a4-_0xa96472._0x12e967,_0x207b77-0x156,_0x982faf- -_0xa96472._0x4c9154,_0x4fcc04);}function _0x440f2b(_0x1368ed,_0x4a93e0,_0x4386b5,_0x53addc){return _0x3ce01f(_0x1368ed-0x179,_0x4a93e0-_0x39686e._0x247252,_0x4a93e0- -0x19c,_0x4386b5);}if(_0x42abaa[_0x440f2b(0x317,0x32e,_0x2f5d99._0x2b84d4,_0x2f5d99._0x27512d)](_0x193863['length'],0x18ed*-0x1+-0x24*-0x40+0xfed)){const _0x5c9776={};_0x5c9776[_0x440f2b(0x36a,0x34a,_0x2f5d99._0xacf789,_0x2f5d99._0x59f2ec)]=_0x42abaa['OchCc'],_0x5c9776[_0x1a85dc(-_0x2f5d99._0x3aaef1,-0x93,-_0x2f5d99._0x1b8c90,-_0x2f5d99._0x3aaef1)]=[..._0x193863],_0x3ab695[_0x1a85dc(-_0x2f5d99._0x1b35cc,-_0x2f5d99._0x2c72a4,-_0x2f5d99._0x41a2b5,-0xb6)](_0x5c9776),_0x193863=[];}};for(const _0x3059ad of _0x1d9f6e){if(_0x161ce7[_0x3f8deb(_0x17db4b._0x436e07,_0x17db4b._0x3bb83c,0x7c,0x6b)](_0x3059ad[_0x3ce01f(0x4d1,0x4f5,0x4e6,0x500)],_0x3ce01f(_0x17db4b._0x31dd61,_0x17db4b._0x28513b,0x4ba,_0x17db4b._0xe0cfcf))||_0x3059ad['type']===_0x3ce01f(_0x17db4b._0x8bc370,_0x17db4b._0x2425b3,0x4c4,_0x17db4b._0x52341f)+'t')_0x193863[_0x3ce01f(0x497,0x4c2,0x4b5,0x4a0)](_0x3059ad);else{if(_0x161ce7[_0x3ce01f(_0x17db4b._0x5bb86b,_0x17db4b._0x175fcd,_0x17db4b._0x2b4db6,_0x17db4b._0x2f6434)](_0x3059ad[_0x3f8deb(_0x17db4b._0x3ba637,0x50,_0x17db4b._0x1409d4,_0x17db4b._0x5c9000)],'answer')){if(_0x161ce7[_0x3ce01f(_0x17db4b._0x13f6c7,_0x17db4b._0x486a5d,_0x17db4b._0x4f4b2c,_0x17db4b._0x580538)](_0x161ce7[_0x3ce01f(0x4e3,_0x17db4b._0x44eb0e,_0x17db4b._0x9c8f4f,_0x17db4b._0x1acfc5)],_0x161ce7['gfbss']))continue;else{if(_0x3fbdd1[_0x3ce01f(_0x17db4b._0x582528,0x4c4,0x4e6,_0x17db4b._0x4a1818)]===_0x161ce7[_0x3f8deb(_0x17db4b._0x410067,0x68,0x59,_0x17db4b._0x5e24dc)]&&_0x218453[_0x3ce01f(_0x17db4b._0x12921e,_0x17db4b._0x32429c,0x4cb,_0x17db4b._0x3a52a0)]){const _0x143747={};return _0x143747[_0x3ce01f(_0x17db4b._0x3762ca,_0x17db4b._0x29511f,_0x17db4b._0x369ecc,_0x17db4b._0x5be648)]=_0x5ce51a[_0x3ce01f(_0x17db4b._0x2ed487,_0x17db4b._0x307c22,0x4cb,_0x17db4b._0x480588)],_0x161ce7[_0x3ce01f(0x4d4,_0x17db4b._0x13f6c7,0x4ee,_0x17db4b._0x4b7903)](_0x477b59,_0x2f71a7,_0x143747,_0x3f8deb(_0x17db4b._0x38428d,_0x17db4b._0x57688d,0x64,_0x17db4b._0x6a4b9d)+_0x574800);}if(_0x375f02['message']){const _0xfe853f={};return _0xfe853f['message']=_0x243c0e[_0x3f8deb(_0x17db4b._0x31514f,_0x17db4b._0x4eda3f,_0x17db4b._0x360b87,0x37)],_0x161ce7[_0x3f8deb(_0x17db4b._0x22e2ac,0x58,0x93,0x86)](_0xb740b2,_0x179132,_0xfe853f,_0x1336e7['message']['id']);}return null;}}else{_0x161ce7[_0x3ce01f(_0x17db4b._0x486a5d,0x4f5,_0x17db4b._0x377d3f,0x4c8)](_0x936a65);const _0x2570a2={};_0x2570a2['type']=_0x161ce7[_0x3ce01f(0x4d1,0x4ee,0x4e3,0x4f4)],_0x2570a2['message']=_0x3059ad,_0x3ab695[_0x3f8deb(0x40,_0x17db4b._0x31e21f,0x42,_0x17db4b._0x106839)](_0x2570a2);}}}return _0x161ce7[_0x3f8deb(0x67,0x73,0x86,_0x17db4b._0x56fdac)](_0x936a65),_0x3ab695;}},[_0x1d9f6e]),_0x290119=Math[_0x3b6f82(-0x48,-0x41,-_0x3c4e9d._0x5c0e50,-_0x3c4e9d._0x484581)](0xbf2*0x3+0xd97+0x4f1*-0xa,Math[_0x146c5c(-_0x3c4e9d._0x52abbc,-_0x3c4e9d._0xa9ca5f,-_0x3c4e9d._0x4237d7,-_0x3c4e9d._0x1e4dea)](_0x161ce7[_0x3b6f82(-_0x3c4e9d._0x3b510b,-0x49,-_0x3c4e9d._0x5add95,-_0x3c4e9d._0x227481)](_0x157101-(-0x88c+0x2191+-0x18fb),0x34e+-0x2bb*0x1+-0xb*0xd))),_0x57ca7d=_0x25faba[_0x146c5c(-_0x3c4e9d._0x34def1,-0x261,-0x25e,-_0x3c4e9d._0x41ca9b)](-_0x290119),_0x24f165=_0x25faba['length']>_0x290119;return _0x161ce7[_0x146c5c(-_0x3c4e9d._0x14af69,-_0x3c4e9d._0x3b4061,-_0x3c4e9d._0x3cd074,-0x24b)](_0x2d73ae,Box,{'flexDirection':_0x161ce7[_0x3b6f82(-_0x3c4e9d._0xb719e2,-_0x3c4e9d._0x2021b7,-0x75,-0x4f)],'paddingX':0x1,'children':[_0x161ce7[_0x3b6f82(-0x55,-0x5c,-0x5f,-0x3d)](_0x2d73ae,Box,{'borderStyle':_0x161ce7[_0x146c5c(-_0x3c4e9d._0x56ca04,-_0x3c4e9d._0x19fccc,-_0x3c4e9d._0x2e2666,-0x25e)],'borderColor':colors[_0x146c5c(-_0x3c4e9d._0x5240ea,-_0x3c4e9d._0x57a3ff,-0x25d,-0x247)],'borderBottom':!![],'borderTop':![],'borderLeft':![],'borderRight':![],'paddingBottom':0x0,'marginBottom':0x1,'children':[_0x161ce7[_0x146c5c(-0x252,-_0x3c4e9d._0x221eda,-_0x3c4e9d._0xdcd47,-_0x3c4e9d._0x364453)](_0x1e40d8,Text,{'color':colors[_0x146c5c(-_0x3c4e9d._0x525418,-0x26c,-0x252,-0x270)],'children':_0x146c5c(-_0x3c4e9d._0x5239b6,-_0x3c4e9d._0x5c70b5,-_0x3c4e9d._0x1e36f3,-_0x3c4e9d._0x23328d)}),_0x161ce7['xfhhr'](_0x1e40d8,Text,{'color':_0x278482?colors['emerald']:colors[_0x146c5c(-_0x3c4e9d._0x25f7b3,-_0x3c4e9d._0x1b5615,-_0x3c4e9d._0x447259,-0x268)],'children':_0x161ce7[_0x146c5c(-_0x3c4e9d._0x225f66,-0x2a0,-_0x3c4e9d._0x21d1ff,-0x284)](_0x278482,_0x161ce7['Ulvsq'])})]}),_0x161ce7[_0x146c5c(-_0x3c4e9d._0xa9ca5f,-_0x3c4e9d._0x24c824,-0x257,-0x251)](_0x1d9f6e[_0x146c5c(-0x248,-0x23a,-0x241,-_0x3c4e9d._0x34def1)],-0x1*-0x2441+-0x1*-0x200e+-0x444f)&&!_0x112693?_0x2d73ae(Box,{'flexDirection':_0x161ce7[_0x3b6f82(-_0x3c4e9d._0x54ee30,-_0x3c4e9d._0x2021b7,-_0x3c4e9d._0x5e7fa5,-0x65)],'children':[_0x1e40d8(Text,{'color':colors['zinc500'],'children':_0x161ce7[_0x146c5c(-_0x3c4e9d._0xbdf676,-0x25c,-0x250,-0x26b)]}),_0x1e40d8(Text,{'color':colors[_0x146c5c(-0x260,-0x272,-_0x3c4e9d._0x447259,-_0x3c4e9d._0x35b909)],'children':'Connect\x20fr'+_0x3b6f82(-_0x3c4e9d._0x26e6fb,-0x7d,-0x86,-0x8c)+_0x3b6f82(-_0x3c4e9d._0x416b1b,-_0x3c4e9d._0x2d98d2,-_0x3c4e9d._0x1f33ee,-0x8d)+_0x146c5c(-_0x3c4e9d._0x4e1651,-0x25c,-_0x3c4e9d._0x2e43db,-_0x3c4e9d._0x12344d)})]}):_0x161ce7[_0x3b6f82(-0x65,-0x61,-0x6b,-0x40)](_0x2d73ae,Box,{'flexDirection':_0x161ce7[_0x146c5c(-_0x3c4e9d._0x56864f,-_0x3c4e9d._0x443e28,-_0x3c4e9d._0x106240,-_0x3c4e9d._0x315b5a)],'gap':0x1,'children':[_0x24f165&&_0x2d73ae(Text,{'color':colors[_0x3b6f82(-_0x3c4e9d._0x5cc278,-0x7f,-_0x3c4e9d._0x1f3e99,-0x75)],'children':[_0x161ce7['HyWzL'],_0x161ce7[_0x3b6f82(-0x89,-_0x3c4e9d._0x307285,-0x82,-_0x3c4e9d._0x564536)](_0x25faba[_0x3b6f82(-_0x3c4e9d._0x227481,-_0x3c4e9d._0x51f1eb,-_0x3c4e9d._0xc32824,-_0x3c4e9d._0x359893)],_0x290119),'\x20earlier']}),_0x57ca7d[_0x146c5c(-0x24c,-_0x3c4e9d._0x5affe2,-_0x3c4e9d._0xede9e9,-_0x3c4e9d._0x21279e)]((_0x477ba3,_0x2d3e43)=>{const _0x253ede={_0x11e451:0xfc},_0x2fca69={_0x1b726f:0x1e2,_0x4b0ba1:0x6c};function _0x2c737c(_0x23b3be,_0x40ab7c,_0x554d9a,_0x10f10a){return _0x3b6f82(_0x23b3be-_0x2fca69._0x1b726f,_0x10f10a- -0x29,_0x554d9a-_0x2fca69._0x4b0ba1,_0x23b3be);}function _0xa2ac17(_0xf725ae,_0x36f6b6,_0x1b5dc4,_0x2e9c1e){return _0x3b6f82(_0xf725ae-0x16,_0x36f6b6- -_0x253ede._0x11e451,_0x1b5dc4-0xf6,_0x1b5dc4);}if(_0x161ce7['nrNeZ']!==_0x161ce7['nrNeZ']){_0x161ce7['UlKiV'](_0x43e3ec);const _0x15f6fb={};_0x15f6fb[_0x2c737c(-_0x2146cb._0x143acf,-_0x2146cb._0x259aca,-0x5f,-0x78)]=_0x161ce7[_0x2c737c(-0x6c,-0x7c,-_0x2146cb._0x30916c,-_0x2146cb._0xda7a0f)],_0x15f6fb[_0xa2ac17(-0x16f,-0x171,-0x17f,-_0x2146cb._0xc2dbb)]=_0x29777d,_0x4f245e['push'](_0x15f6fb);}else{if(_0x161ce7[_0x2c737c(-_0x2146cb._0x238417,-_0x2146cb._0x48e373,-0x68,-_0x2146cb._0x4d733d)](_0x477ba3[_0xa2ac17(-0x129,-0x14b,-_0x2146cb._0x2a5955,-_0x2146cb._0x2a5955)],_0x161ce7[_0x2c737c(-0xc1,-0xab,-0x81,-_0x2146cb._0x3c3d5f)])&&_0x477ba3[_0x2c737c(-_0x2146cb._0x244edd,-_0x2146cb._0xf71371,-0x8d,-_0x2146cb._0x41418b)]){const _0x8a82e9={};return _0x8a82e9[_0xa2ac17(-_0x2146cb._0x165259,-0x166,-_0x2146cb._0x3cb12e,-_0x2146cb._0x1cdbe9)]=_0x477ba3[_0xa2ac17(-_0x2146cb._0x42f12f,-_0x2146cb._0x451fd0,-_0x2146cb._0x3cb12e,-_0x2146cb._0x525c39)],_0x161ce7[_0x2c737c(-0x81,-0x69,-0x61,-0x70)](_0x1e40d8,ToolGroup,_0x8a82e9,_0x2c737c(-0xba,-_0x2146cb._0x5f061b,-_0x2146cb._0x58cfa4,-0x9d)+_0x2d3e43);}if(_0x477ba3[_0xa2ac17(-0x15f,-0x171,-_0x2146cb._0x4844d6,-0x18f)]){const _0x26c81f={};return _0x26c81f[_0xa2ac17(-0x165,-0x171,-0x164,-_0x2146cb._0x192c85)]=_0x477ba3[_0xa2ac17(-0x183,-0x171,-_0x2146cb._0x154b7c,-0x150)],_0x161ce7[_0xa2ac17(-0x14c,-0x157,-_0x2146cb._0x2a48e6,-_0x2146cb._0x2ec975)](_0x1e40d8,ChatMessage,_0x26c81f,_0x477ba3['message']['id']);}return null;}}),((()=>{const _0x2ce91e={_0x4d28a5:0x4cc};if(!_0x112693||!_0x1fcbbb||_0x1fcbbb['trim']()[_0x5a93e5(_0x98a5ce._0x224281,0x2ad,_0x98a5ce._0x15d295,0x2be)](/^(ok)+$/i))return null;const _0x562a76=_0x1d9f6e[_0x161ce7[_0x5a93e5(0x2a3,_0x98a5ce._0x3f5f56,_0x98a5ce._0x3a177f,0x2cf)](_0x1d9f6e[_0x5f4c85(0x26d,0x28b,_0x98a5ce._0x3f1fe5,0x282)],0xd*-0x2f9+-0x3*-0x41c+-0x1*-0x1a52)];if(_0x161ce7[_0x5a93e5(_0x98a5ce._0xfd1e63,_0x98a5ce._0x1caeeb,0x2e4,0x2dc)](_0x562a76?.[_0x5f4c85(_0x98a5ce._0x257060,0x27e,_0x98a5ce._0x5d0288,_0x98a5ce._0x4ba843)],_0x161ce7[_0x5f4c85(0x289,_0x98a5ce._0x4fffec,_0x98a5ce._0x10385a,_0x98a5ce._0x1e0cb1)]))return null;function _0x5a93e5(_0x3d3931,_0x246aab,_0x48ac05,_0x4ec646){return _0x146c5c(_0x3d3931-0xf3,_0x246aab-0x34,_0x246aab-_0x3141f1._0x1e521f,_0x4ec646);}const _0x4f1adb={};_0x4f1adb[_0x5a93e5(0x2a6,_0x98a5ce._0x399026,0x2ba,0x2a5)]=_0x1fcbbb,_0x4f1adb[_0x5a93e5(_0x98a5ce._0x5a3ee7,_0x98a5ce._0x3cc98f,0x2a1,0x296)+'g']=_0x112693;function _0x5f4c85(_0x4ca244,_0x452921,_0x178c32,_0x1c1237){return _0x146c5c(_0x4ca244-0x50,_0x452921-0x63,_0x452921-_0x2ce91e._0x4d28a5,_0x1c1237);}return _0x161ce7['YrxHu'](_0x1e40d8,StreamingText,_0x4f1adb);})())]})]});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x543a(){const _0x21bf14=['t3bUtfy','odeYCM5kyK1R','uw1MC0u','lI4UcG','mJu2ntLvBgHbuKq','EMLUyZuWma','nJGWCfHgAxjZ','D29IEe4','mtGYodK4nvPorxjnAq','y29SDw1U','odCWB2jfu0Pr','mZm5nZaWChPxuevS','DuLnC0y','y29YywW','u3rYzwfTAw5NlG','mtC4mZi2C3v4C0nx','zg90CW','n1req0zcrq','otC5otG4nfHXufrqrW','C3bSAxq','yxj5','AM9PBG','q3bJB1m','BgvUz3rO','mKrSCxzYyG','mtiWm2zJtvbMCW','Dgv4DfnLy29Uza','mJu5mJDIrezKwui','D3jHCa','svn4sK4'];_0x543a=function(){return _0x21bf14;};return _0x543a();}(function(_0x33297d,_0x56c789){const _0x24fe9b={_0x4cb9a0:0x1e7,_0x1a3285:0x1e5,_0x218450:0x1e2,_0x43518f:0x1f6,_0x49b93f:0x1e9,_0x571e0f:0x1e6,_0x4abcfd:0x1f1,_0x3771bf:0x1ed,_0x26be19:0x138,_0x7874cd:0x13f,_0x16636a:0x12d,_0x140617:0x1fe,_0x4ce4a2:0x1fa,_0x49f20c:0x1f2,_0x2520bb:0x121,_0x240e48:0x1f1,_0x3b24eb:0x1ea,_0x3ea5d3:0x137,_0x10cb52:0x12c,_0x513cb7:0x1e6,_0x42c745:0x204,_0x20aa4e:0x1db,_0x2a82c1:0x1e8,_0x1462ad:0x1f0,_0x43fa82:0x1fe},_0x2b5b95={_0x3fcee0:0x228},_0x263ed6={_0x51ed49:0xf8};function _0x3afc48(_0x225b80,_0x33e6dd,_0x433e64,_0x2f3744){return _0xc140(_0x33e6dd-_0x263ed6._0x51ed49,_0x433e64);}const _0x55d98b=_0x33297d();function _0x555152(_0x24ce95,_0xb47b9e,_0x2ba10c,_0x17d1df){return _0xc140(_0x24ce95- -_0x2b5b95._0x3fcee0,_0x2ba10c);}while(!![]){try{const _0x3d720f=parseInt(_0x3afc48(_0x24fe9b._0x4cb9a0,0x1e5,_0x24fe9b._0x1a3285,_0x24fe9b._0x218450))/(-0x2c2*0x2+-0xe36+0x13bb)*(-parseInt(_0x3afc48(0x201,_0x24fe9b._0x43518f,0x1f2,_0x24fe9b._0x49b93f))/(-0x8e*0x9+-0x12fe+0x1*0x17fe))+parseInt(_0x3afc48(0x1ec,_0x24fe9b._0x571e0f,_0x24fe9b._0x4abcfd,_0x24fe9b._0x3771bf))/(0x23b5+-0x12*-0x1cb+-0x43f8)*(parseInt(_0x555152(-0x134,-_0x24fe9b._0x26be19,-_0x24fe9b._0x7874cd,-0x13d))/(-0x1577+0x320+0x1*0x125b))+-parseInt(_0x555152(-_0x24fe9b._0x16636a,-0x13c,-0x12c,-0x138))/(-0xdba*0x1+0x2da+0x1*0xae5)+parseInt(_0x3afc48(_0x24fe9b._0x140617,_0x24fe9b._0x4ce4a2,_0x24fe9b._0x49f20c,0x1ee))/(-0x1520+-0x18*-0xd3+0x15e)*(parseInt(_0x555152(-0x124,-_0x24fe9b._0x2520bb,-0x128,-0x123))/(0x20d4+-0x2700+0x633))+-parseInt(_0x3afc48(0x1e7,_0x24fe9b._0x240e48,_0x24fe9b._0x571e0f,_0x24fe9b._0x3b24eb))/(0x403*-0x8+-0x197*-0x7+0x14ff)*(parseInt(_0x555152(-0x131,-_0x24fe9b._0x3ea5d3,-0x12f,-_0x24fe9b._0x10cb52))/(-0x1ae+0x139d*-0x1+0x1554))+-parseInt(_0x3afc48(_0x24fe9b._0x513cb7,0x1f5,_0x24fe9b._0x42c745,0x1ea))/(0x1223+0x1138+-0x2351)*(-parseInt(_0x3afc48(_0x24fe9b._0x20aa4e,_0x24fe9b._0x2a82c1,0x1e2,_0x24fe9b._0x1462ad))/(-0x10d6+-0x637*-0x2+0x473))+parseInt(_0x3afc48(0x205,0x1fd,0x1f1,_0x24fe9b._0x43fa82))/(-0x6*-0x31b+-0xadc+-0x2*0x3dd);if(_0x3d720f===_0x56c789)break;else _0x55d98b['push'](_0x55d98b['shift']());}catch(_0x4fdae8){_0x55d98b['push'](_0x55d98b['shift']());}}}(_0x543a,0x451ad+0x19cbc+0x31bb9*-0x1));import{jsx as _0x27c203,jsxs as _0x4486f5}from'react/jsx-runtime';import{Box,Text}from'ink';import _0x2a202c from'ink-spinner';import{colors}from'../../theme/colors.js';function _0xc140(_0x22ab58,_0x38a3e2){_0x22ab58=_0x22ab58-(-0x136*0xb+0x7*-0x3d+0x1*0xfe8);const _0x3c13f3=_0x543a();let _0x2a376a=_0x3c13f3[_0x22ab58];if(_0xc140['lBdySg']===undefined){var _0xc4f287=function(_0x3a4b80){const _0xd2e88='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5ef790='',_0x183d96='';for(let _0x48d575=-0x184d+0x1*0x2125+-0x4*0x236,_0x195bef,_0x48d9e1,_0x4acd3c=0x200d+-0xa86+0x1*-0x1587;_0x48d9e1=_0x3a4b80['charAt'](_0x4acd3c++);~_0x48d9e1&&(_0x195bef=_0x48d575%(-0x26c4+-0x53*-0x1e+-0xe87*-0x2)?_0x195bef*(0xff7*0x1+-0x26b+-0x17*0x94)+_0x48d9e1:_0x48d9e1,_0x48d575++%(-0x11f1*0x2+0x1f2d+0xd*0x5d))?_0x5ef790+=String['fromCharCode'](0xa4d+0x3fa*0x2+0x1142*-0x1&_0x195bef>>(-(-0x2*0x1cf+-0x1*0x1ac2+0x1e62)*_0x48d575&0x2*-0x12bb+-0x1*-0x1f67+0x9*0xad)):0xafd*-0x1+0x286*0x3+0x36b){_0x48d9e1=_0xd2e88['indexOf'](_0x48d9e1);}for(let _0x1c155e=0x515*-0x4+-0x895+0x1ce9,_0x17f589=_0x5ef790['length'];_0x1c155e<_0x17f589;_0x1c155e++){_0x183d96+='%'+('00'+_0x5ef790['charCodeAt'](_0x1c155e)['toString'](0x24e4*-0x1+-0x3a2+0x2896))['slice'](-(-0x33*0x9c+-0x1e9d+0x3db3));}return decodeURIComponent(_0x183d96);};_0xc140['xRsdtc']=_0xc4f287,_0xc140['FFhZay']={},_0xc140['lBdySg']=!![];}const _0x435b3a=_0x3c13f3[0x1c18+-0x139*0x1c+0x624],_0x550ff2=_0x22ab58+_0x435b3a,_0x1b9789=_0xc140['FFhZay'][_0x550ff2];return!_0x1b9789?(_0x2a376a=_0xc140['xRsdtc'](_0x2a376a),_0xc140['FFhZay'][_0x550ff2]=_0x2a376a):_0x2a376a=_0x1b9789,_0x2a376a;}export function StreamingText({content:_0x1e5b69,isStreaming:_0x3b73cc}){const _0x59f593={_0x4ebeab:0x4,_0x11bd12:0x7,_0x49a4a3:0x2,_0x8107ab:0x1f,_0x51cb2d:0x3,_0x4733bc:0x16,_0x357d80:0x7,_0x1702f5:0x1,_0x49bc04:0x4,_0x5c0f3f:0x5,_0x147ac4:0xc,_0x100f92:0x18,_0x57f4e9:0x1f,_0x1c5521:0x21,_0x1d5872:0x0,_0x4a430c:0x1,_0x312c23:0x8,_0x58f773:0x1c,_0x2e1275:0x1d,_0x4c9d45:0x1b,_0x50bbf5:0x1c,_0x11dd23:0x21,_0x5d3220:0x22,_0xa0738d:0xd,_0x34af3c:0x1b,_0x58c58a:0x29,_0x4febe1:0x13,_0x488412:0x8,_0x1c43ca:0x2,_0x23e936:0xc,_0x36e130:0x12,_0x284b93:0x4,_0x3edce5:0x1b},_0x24c4bd={_0x2556a4:0x10d};function _0x298e03(_0x49ab33,_0x8397dd,_0x578e18,_0x3f0adc){return _0xc140(_0x49ab33- -_0x24c4bd._0x2556a4,_0x8397dd);}function _0x23ceaa(_0x5caa2a,_0xc9898d,_0x28e679,_0x97e32e){return _0xc140(_0x5caa2a- -0xeb,_0x97e32e);}const _0xc0d810={'uIMsF':function(_0x1d3641,_0xf1c295){return _0x1d3641>_0xf1c295;},'DVmmu':function(_0x571759,_0x3d4b66){return _0x571759+_0x3d4b66;},'wobxN':_0x23ceaa(0xb,-_0x59f593._0x4ebeab,-0x3,0x4),'CpcoS':function(_0x3846ee,_0x5729cd,_0x399da3){return _0x3846ee(_0x5729cd,_0x399da3);},'QmfsE':_0x298e03(-0x11,-_0x59f593._0x11bd12,-_0x59f593._0x49a4a3,-_0x59f593._0x8107ab),'OpnLV':function(_0x28cc1c,_0x142f58,_0x298ccc){return _0x28cc1c(_0x142f58,_0x298ccc);},'ISxJN':_0x298e03(-0xa,-0x17,_0x59f593._0x51cb2d,-_0x59f593._0x4733bc)},_0x134d6e=-0x1c79+-0x1*0x7f6+-0x1*-0x2479,_0x3148d8=_0x1e5b69[_0x298e03(-_0x59f593._0x357d80,-0xe,0x2,-0xc)]('\x0a'),_0x3b731b=_0xc0d810[_0x298e03(-0xe,-_0x59f593._0x1702f5,-0xb,-0x14)](_0x3148d8[_0x23ceaa(0x1,-0x3,-0x9,-0x4)],_0x134d6e)?_0xc0d810['DVmmu'](_0xc0d810[_0x298e03(-0x13,-_0x59f593._0x49bc04,-0x6,-0x1b)],_0x3148d8['slice'](-_0x134d6e)[_0x298e03(-_0x59f593._0x5c0f3f,-_0x59f593._0x147ac4,-0x4,0x9)]('\x0a')):_0x1e5b69;return _0xc0d810[_0x298e03(-0x22,-0x14,-0x14,-0x15)](_0x4486f5,Box,{'flexDirection':_0xc0d810[_0x298e03(-_0x59f593._0x100f92,-_0x59f593._0x8107ab,-_0x59f593._0x57f4e9,-_0x59f593._0x1c5521)],'children':[_0x3b731b&&_0xc0d810[_0x23ceaa(_0x59f593._0x1d5872,-0xb,-0x7,-0xf)](_0x27c203,Text,{'color':colors[_0x23ceaa(0x4,0x0,_0x59f593._0x4a430c,_0x59f593._0x312c23)+_0x23ceaa(_0x59f593._0x58f773,_0x59f593._0x2e1275,_0x59f593._0x4c9d45,_0x59f593._0x50bbf5)],'wrap':_0x298e03(-0x1c,-_0x59f593._0x11dd23,-0x23,-0x1c),'children':_0x3b731b}),_0x3b73cc&&_0xc0d810[_0x298e03(-_0x59f593._0x5d3220,-0x22,-0x29,-0x2b)](_0x4486f5,Box,{'gap':0x1,'children':[_0x27c203(Text,{'color':colors[_0x298e03(-_0x59f593._0xa0738d,-0xf,0x0,-0x3)],'children':_0xc0d810['OpnLV'](_0x27c203,_0x2a202c,{'type':_0xc0d810[_0x298e03(-_0x59f593._0x34af3c,-_0x59f593._0x58c58a,-_0x59f593._0x4733bc,-_0x59f593._0x4febe1)]})}),_0xc0d810[_0x23ceaa(_0x59f593._0x488412,0x3,-0x2,0x9)](_0x27c203,Text,{'color':colors[_0x23ceaa(0xd,0x9,-_0x59f593._0x1c43ca,0x1c)],'children':_0x298e03(-_0x59f593._0x23e936,-_0x59f593._0x36e130,-_0x59f593._0x284b93,-_0x59f593._0x3edce5)+'..'})]})]});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x218503,_0x56db39){const _0x270e63={_0x88f60c:0x16d,_0x11a2d6:0x15a,_0xad6a31:0x15c,_0x504a16:0x3a7,_0x19f663:0x38f,_0x4aa3aa:0x154,_0x2d2109:0x39a,_0x4577a9:0x37c,_0x41d695:0x386,_0x52eb82:0x3ae,_0x56ff44:0x397,_0x4e976b:0x35c,_0x1522f7:0x377,_0x55b39d:0x179,_0x23bb09:0x18d,_0x2c0ca9:0x171},_0x183425={_0xbd8a6:0x5},_0x22643b={_0x13b008:0x21e};function _0x1935c8(_0x4c4f6f,_0x2ff33e,_0x51265a,_0x4517ba){return _0x50d9(_0x4517ba-_0x22643b._0x13b008,_0x4c4f6f);}const _0x1f3466=_0x218503();function _0x4c0507(_0x332bda,_0x5b34f6,_0x5ee2b8,_0x1367d8){return _0x50d9(_0x5ee2b8- -_0x183425._0xbd8a6,_0x332bda);}while(!![]){try{const _0xdcb484=parseInt(_0x4c0507(_0x270e63._0x88f60c,0x14d,_0x270e63._0x11a2d6,_0x270e63._0xad6a31))/(0x25e9+-0x2ff*0xb+-0xb5*0x7)+-parseInt(_0x1935c8(0x392,_0x270e63._0x504a16,0x373,_0x270e63._0x19f663))/(-0x5c4+-0x11f7+0x17bd)+-parseInt(_0x4c0507(0x157,0x16b,_0x270e63._0x4aa3aa,0x149))/(0x1ce6+-0xaa7+-0x123c)*(parseInt(_0x1935c8(0x378,_0x270e63._0x2d2109,_0x270e63._0x4577a9,0x38c))/(-0x35*0x32+-0x17f*0x9+0x17d5*0x1))+-parseInt(_0x1935c8(0x380,0x39c,0x397,_0x270e63._0x41d695))/(-0x17f7+-0x19*-0x51+0x5*0x337)+-parseInt(_0x1935c8(_0x270e63._0x52eb82,0x3a5,0x39d,_0x270e63._0x56ff44))/(0x135*0x10+-0xdc3+-0x587)+parseInt(_0x1935c8(_0x270e63._0x4e976b,0x38a,_0x270e63._0x1522f7,0x373))/(0xb64+-0x5ca+-0x1*0x593)+parseInt(_0x4c0507(_0x270e63._0x55b39d,_0x270e63._0x23bb09,0x184,_0x270e63._0x2c0ca9))/(0x1093+-0xb5d+-0x52e);if(_0xdcb484===_0x56db39)break;else _0x1f3466['push'](_0x1f3466['shift']());}catch(_0x2dc1a4){_0x1f3466['push'](_0x1f3466['shift']());}}}(_0x351a,-0x2c0bf+0x2eb*0xa0+0x343d0));import{jsx as _0x552d03,jsxs as _0x4bac25}from'react/jsx-runtime';function _0x50d9(_0x3a265e,_0x4bed54){_0x3a265e=_0x3a265e-(0x23ac+0xc3e*-0x3+0x2*0x131);const _0x132e57=_0x351a();let _0x50f25c=_0x132e57[_0x3a265e];if(_0x50d9['LbjrDk']===undefined){var _0x2e17c2=function(_0x5d1b14){const _0x380ba5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2cae32='',_0x36caf8='';for(let _0x257299=0x1*-0xad5+0xbf+0xa16,_0x59c023,_0x1347b4,_0x4ae8e1=0xc11+0x226e+0x1*-0x2e7f;_0x1347b4=_0x5d1b14['charAt'](_0x4ae8e1++);~_0x1347b4&&(_0x59c023=_0x257299%(0x9e*-0x18+0xc4d+0x1*0x287)?_0x59c023*(0x17f1+0x35*0x95+-0x368a)+_0x1347b4:_0x1347b4,_0x257299++%(0x2d*0xac+0x2204+-0x201e*0x2))?_0x2cae32+=String['fromCharCode'](0x1*-0xd0a+-0x1256+0x1*0x205f&_0x59c023>>(-(-0x1*-0x1ffd+0x123f+0x85f*-0x6)*_0x257299&-0x250b+0x22b0+0x261)):-0xb*0x293+0x203d+-0x3ec){_0x1347b4=_0x380ba5['indexOf'](_0x1347b4);}for(let _0x49b345=-0x1421+0x21e5+-0x4*0x371,_0x4b516d=_0x2cae32['length'];_0x49b345<_0x4b516d;_0x49b345++){_0x36caf8+='%'+('00'+_0x2cae32['charCodeAt'](_0x49b345)['toString'](0x41e+-0x1*0x1f84+-0x5f*-0x4a))['slice'](-(0x2*-0x515+0x1*-0x15ef+0x201b));}return decodeURIComponent(_0x36caf8);};_0x50d9['TOrLdu']=_0x2e17c2,_0x50d9['chrskW']={},_0x50d9['LbjrDk']=!![];}const _0x137e8f=_0x132e57[-0xe2+-0x44b+0x52d*0x1],_0x30de83=_0x3a265e+_0x137e8f,_0x423cea=_0x50d9['chrskW'][_0x30de83];return!_0x423cea?(_0x50f25c=_0x50d9['TOrLdu'](_0x50f25c),_0x50d9['chrskW'][_0x30de83]=_0x50f25c):_0x50f25c=_0x423cea,_0x50f25c;}import{useState}from'react';function _0x351a(){const _0x48b9bd=['AfHAtfO','yvD3t2K','Dg9VBf9Yzxn1Ba','y29TBwfUza','BfbxBuy','EMLUyZyWma','ugf0DgvYBJOG','y29SB3i','EMLUyZuWma','Cgf0DgvYBG','C1fwqMq','qNfpDxi','mZmWnJK0nhfXzujura','r0Lzwgy','DhLWzq','mtaWotmZme5Xv1r2uW','Ce9KsKu','CMv0DxjU','sNbdD3O','nZG4mZm0t2zevgDj','zMLSzv9WyxrO','zhb6yxm','y2HPBgrYzw4','y29SDw1U','wMrNBMK','mJqWndq0tNvZtwjc','s0PytMe','AMPYy00','BgvUz3rO','D3jHCa','zMLSzvbHDgG','txDowuq','ifTZCgfJzsb0BW','u2vIEgq','otG0ntG1uvvZte1W','BwfW','zw1LCMfSza','Dg9VBeLUChv0','ruTHyxG','C3vIC3rYAw5N','nhHOzu5Qyq','Dg9VBe5HBwu','BwP3A0G','mJK5ndH6vKjnEge','vw5RBM93BG','ENH4BMu','B2jQzwn0','qMPyrxu','wxrYEuy','ihrVz2DSzv0','rhH1tNO','mtaYmtu2merJwvrswa','vg9VBa','C3rYAw5NAwz5','rMLSztOG'];_0x351a=function(){return _0x48b9bd;};return _0x351a();}import{Box,Text,useInput}from'ink';import{colors}from'../../theme/colors.js';export function ToolGroup({tools:_0x327b4f,isSelected:isSelected=![]}){const _0x31ff3b={_0x1b2a91:0x460,_0x1cc53d:0x463,_0x2d91c4:0x461,_0x73da24:0x477,_0x2d4d3d:0x47b,_0x1e1788:0x45b,_0x558380:0x466,_0xb9561c:0x46b,_0x5e9c0a:0x48d,_0xd1f45e:0x479,_0x32683b:0x476,_0x20da70:0x500,_0x2d3bf4:0x4cb,_0x1c598a:0x4cf,_0x35dd64:0x46e,_0x29e8d4:0x460,_0x1f9481:0x470,_0x1b8225:0x45e,_0xcb76:0x45c,_0x189313:0x447,_0x397cb5:0x473,_0x1ce6b3:0x509,_0x26a232:0x50b,_0x1a84fa:0x441,_0x404865:0x45c},_0xc55d1={_0x4cc4cc:0x304},_0x5db8e4={_0x5b441d:0x536,_0x5c9a23:0x553,_0x21629b:0x438,_0x357f87:0x43b,_0x359360:0x420,_0x361479:0x566,_0x165573:0x55b,_0x1ecb10:0x562,_0xf598fb:0x534,_0x5e587c:0x53c,_0x42d7e7:0x53f,_0x1a985b:0x52d},_0x5bffd3={_0x597fc9:0x6c,_0x44a152:0x6d},_0x117d2c={_0x3ab2c5:0x1a4},_0x4734bc={_0x21915a:0x37b},_0x51cb3a={'AJjxQ':function(_0x242024,_0x2a5b01){return _0x242024===_0x2a5b01;},'jjrcM':function(_0x50685b,_0x5c1987){return _0x50685b!==_0x5c1987;},'zxxne':function(_0x44167a,_0x4469d8){return _0x44167a(_0x4469d8);},'lPWmF':function(_0x440427,_0x1e9906){return _0x440427(_0x1e9906);},'BjXEu':function(_0x3b5320,_0x200f4d,_0x1ad11b){return _0x3b5320(_0x200f4d,_0x1ad11b);},'MwNYD':function(_0x5ee83c,_0x43baf9,_0x38fe28){return _0x5ee83c(_0x43baf9,_0x38fe28);},'JpCwz':_0x2ba7b6(_0x31ff3b._0x1b2a91,_0x31ff3b._0x1cc53d,_0x31ff3b._0x2d91c4,_0x31ff3b._0x73da24),'mjwkH':function(_0x41cfd8,_0x467e18,_0x39cb2d){return _0x41cfd8(_0x467e18,_0x39cb2d);},'BVCKh':function(_0x5b8723,_0x492cc7,_0x2c71d5){return _0x5b8723(_0x492cc7,_0x2c71d5);},'TCImD':function(_0x5c8a70,_0x455156,_0xaa9c1e){return _0x5c8a70(_0x455156,_0xaa9c1e);},'DxuNz':_0x2ba7b6(0x451,0x462,0x46a,0x461)+_0x2ba7b6(0x483,0x483,_0x31ff3b._0x2d4d3d,0x48a)},[_0x1b3b80,_0x1f0f94]=_0x51cb3a[_0x2ba7b6(0x499,0x47b,0x485,0x495)](useState,![]),_0x46300c=[...new Set(_0x327b4f[_0x3ac1a3(0x4e9,0x4ce,0x4fc,0x4e4)](_0x571642=>_0x571642[_0x2ba7b6(0x463,0x46c,0x473,0x48c)]||_0x2ba7b6(0x47c,0x48f,0x476,0x489)))],_0x877be2=_0x327b4f[_0x2ba7b6(_0x31ff3b._0x1e1788,0x44b,_0x31ff3b._0x558380,0x471)]+'\x20Tool'+(_0x327b4f[_0x2ba7b6(0x457,_0x31ff3b._0xb9561c,0x466,0x45d)]>0xf1*0xd+-0x1*-0x1dd5+-0x2a11?'s':'')+':\x20'+_0x46300c['join'](',\x20');function _0x3ac1a3(_0x131fe2,_0x3c5ec7,_0x4b5f35,_0x51b4e0){return _0x50d9(_0x51b4e0-_0x4734bc._0x21915a,_0x131fe2);}_0x51cb3a[_0x2ba7b6(_0x31ff3b._0x5e9c0a,0x485,_0x31ff3b._0xd1f45e,_0x31ff3b._0xd1f45e)](useInput,(_0x244c3f,_0x4ad84f)=>{function _0x190413(_0x6a7e7f,_0x370c16,_0x4e21a8,_0x247444){return _0x3ac1a3(_0x4e21a8,_0x370c16-_0x117d2c._0x3ab2c5,_0x4e21a8-0x1ec,_0x6a7e7f- -0xcb);}function _0x23bea2(_0x454241,_0xfda32c,_0x5f3908,_0x346173){return _0x3ac1a3(_0x346173,_0xfda32c-_0x5bffd3._0x597fc9,_0x5f3908-0x1f0,_0x5f3908-_0x5bffd3._0x44a152);}isSelected&&(_0x51cb3a['AJjxQ'](_0x244c3f,'\x20')||_0x4ad84f['return'])&&(_0x51cb3a[_0x23bea2(0x55d,_0x5db8e4._0x5b441d,0x549,_0x5db8e4._0x5c9a23)](_0x190413(0x41c,0x409,0x42f,0x423),_0x190413(_0x5db8e4._0x21629b,_0x5db8e4._0x357f87,_0x5db8e4._0x359360,0x432))?_0x51cb3a[_0x23bea2(_0x5db8e4._0x361479,0x547,_0x5db8e4._0x165573,_0x5db8e4._0x1ecb10)](_0x1f0f94,!_0x1b3b80):_0x7d0378&&(_0x24bfa1==='\x20'||_0x19a291[_0x23bea2(_0x5db8e4._0xf598fb,_0x5db8e4._0x5e587c,_0x5db8e4._0x42d7e7,_0x5db8e4._0x1a985b)])&&_0x4ab618(!_0x84e641));},{'isActive':isSelected});const _0x4fec81={};_0x4fec81[_0x2ba7b6(_0x31ff3b._0x32683b,0x485,0x488,0x48f)]=colors[_0x3ac1a3(0x511,0x506,0x4fa,_0x31ff3b._0x20da70)];function _0x2ba7b6(_0x439ca6,_0x45d779,_0xfa48d1,_0x2f7f0d){return _0x50d9(_0xfa48d1-_0xc55d1._0x4cc4cc,_0x45d779);}_0x4fec81[_0x3ac1a3(0x4c5,_0x31ff3b._0x2d3bf4,_0x31ff3b._0x1c598a,0x4d7)]=_0x1b3b80?'▼':'▶';const _0x5420d2={};return _0x5420d2['color']=colors['zinc400'],_0x5420d2[_0x2ba7b6(0x467,_0x31ff3b._0x35dd64,0x460,0x459)]=_0x877be2,_0x51cb3a[_0x2ba7b6(_0x31ff3b._0x29e8d4,0x458,0x469,_0x31ff3b._0x1f9481)](_0x4bac25,Box,{'flexDirection':_0x51cb3a[_0x2ba7b6(0x46b,_0x31ff3b._0x1b8225,_0x31ff3b._0xcb76,_0x31ff3b._0x189313)],'children':[_0x51cb3a[_0x2ba7b6(0x48c,0x47e,0x474,_0x31ff3b._0x397cb5)](_0x4bac25,Box,{'gap':0x1,'children':[_0x552d03(Text,_0x4fec81),_0x51cb3a['BVCKh'](_0x552d03,Text,_0x5420d2),isSelected&&_0x51cb3a['TCImD'](_0x552d03,Text,{'color':colors[_0x3ac1a3(0x515,_0x31ff3b._0x1ce6b3,0x50c,0x4fd)],'children':_0x51cb3a[_0x3ac1a3(0x4e6,_0x31ff3b._0x26a232,_0x31ff3b._0x20da70,0x4f3)]})]}),_0x1b3b80&&_0x51cb3a['BVCKh'](_0x552d03,Box,{'flexDirection':_0x51cb3a[_0x2ba7b6(_0x31ff3b._0x1a84fa,_0x31ff3b._0x2d91c4,_0x31ff3b._0x404865,0x452)],'paddingLeft':0x2,'marginTop':0x1,'children':_0x327b4f[_0x2ba7b6(0x453,0x489,0x46d,0x47d)]((_0x5b28ea,_0x1f880e)=>_0x4bac25(Box,{'flexDirection':_0x2ba7b6(0x45e,0x46d,0x461,0x459),'marginBottom':0x1,'children':[_0x4bac25(Box,{'gap':0x1,'children':[_0x552d03(Text,{'color':colors['coral'],'children':_0x5b28ea[_0x3ac1a3(0x4fb,0x4e1,0x4d7,0x4ea)]||_0x3ac1a3(0x4f1,0x502,0x50c,0x4f5)}),_0x5b28ea[_0x2ba7b6(0x450,0x45e,0x458,0x440)]===_0x3ac1a3(0x4ef,0x502,0x50a,0x4fa)+'t'&&_0x552d03(Text,{'color':colors[_0x2ba7b6(0x45e,0x477,0x46e,0x46d)],'children':'Done'})]}),_0x5b28ea[_0x2ba7b6(0x476,0x480,0x46f,0x45b)]!==undefined&&_0x5b28ea[_0x3ac1a3(0x4df,0x4f8,0x4d4,0x4e6)]!==null&&_0x552d03(Box,{'paddingLeft':0x1,'children':_0x552d03(Text,{'color':colors[_0x3ac1a3(0x513,0x511,0x51b,0x500)],'wrap':_0x2ba7b6(0x465,0x481,0x467,0x44b),'children':formatToolInput(_0x5b28ea[_0x2ba7b6(0x45b,0x478,0x46f,0x46a)])})}),_0x5b28ea['toolOutput']&&_0x552d03(Box,{'paddingLeft':0x1,'marginTop':0x1,'children':_0x552d03(Text,{'color':colors['zinc400'],'wrap':_0x2ba7b6(0x45b,0x45c,0x467,0x44c),'children':truncate(_0x5b28ea['toolOutput'],0xaa6*-0x1+-0x37*0x6b+0xb*0x321)})})]},_0x5b28ea['id']||_0x1f880e))})]});}function formatToolInput(_0x31fd84){const _0xac5b14={_0x3f2186:0x223,_0x595d24:0x20b,_0x24d922:0x200,_0x235f9e:0x201,_0x62ad28:0x219,_0x1aa90d:0x38c,_0x41482a:0x38e,_0x1d8c77:0x1f4,_0x464ce0:0x35c,_0x3edb7e:0x35f,_0x569d4a:0x375,_0x2dfd8e:0x387,_0x58dc5d:0x21c,_0x21e6b4:0x213,_0x4f2170:0x36c,_0x452895:0x384,_0x2099a8:0x1f7,_0xb5cb9e:0x207,_0x49c2bd:0x20f,_0x17fe7b:0x22a,_0x4cd0eb:0x365,_0x5ed4cd:0x370,_0x18abe7:0x395,_0x4de810:0x3aa,_0x17ff18:0x374,_0x4de64c:0x374,_0xd3e39:0x357,_0x263d0c:0x231,_0x1c0824:0x367,_0x5c44c3:0x227,_0x45c6f5:0x220,_0x1d9d1f:0x37b,_0x401f65:0x3ab,_0x362698:0x37d,_0x259c82:0x39e,_0x151f5b:0x389,_0x2a2aba:0x216,_0x3e039d:0x1f0,_0x537694:0x1f2,_0x3b918a:0x222,_0x249689:0x228},_0x2d54dd={_0xc7991a:0x20e},_0x152584={'nbgJC':function(_0x2bcd0a,_0x17d8d6){return _0x2bcd0a(_0x17d8d6);},'sQVBd':function(_0x5e0964,_0x67b27d,_0x1744e5){return _0x5e0964(_0x67b27d,_0x1744e5);},'pOdJE':function(_0x50a48d,_0x5110f3){return _0x50a48d(_0x5110f3);},'GIYXf':function(_0xd2d8f3,_0x3ac1d5){return _0xd2d8f3===_0x3ac1d5;},'vMLeb':'string','YtryF':function(_0x47f32b,_0x12616a){return _0x47f32b!==_0x12616a;},'Sebxd':_0x152553(-_0xac5b14._0x3f2186,-_0xac5b14._0x595d24,-_0xac5b14._0x24d922,-0x1f4),'JLzRF':function(_0x5a0768,_0x72b8c9){return _0x5a0768===_0x72b8c9;},'dpzas':_0x152553(-_0xac5b14._0x235f9e,-0x214,-_0xac5b14._0x62ad28,-0x225),'Zdgni':_0xf553d1(0x380,_0xac5b14._0x1aa90d,_0xac5b14._0x41482a,0x37d)};if(_0x152584[_0x152553(-0x201,-0x1fe,-0x211,-_0xac5b14._0x1d8c77)](typeof _0x31fd84,_0x152584['vMLeb'])){if(_0x152584['YtryF'](_0x152584[_0xf553d1(_0xac5b14._0x464ce0,0x375,0x35e,_0xac5b14._0x3edb7e)],_0x152584[_0xf553d1(0x375,_0xac5b14._0x569d4a,_0xac5b14._0x2dfd8e,0x37c)]))_0x152584['nbgJC'](_0x2cf03b,!_0x3dafaf);else return _0x152584[_0x152553(-0x204,-_0xac5b14._0x235f9e,-_0xac5b14._0x58dc5d,-0x203)](truncate,_0x31fd84,-0xd31*-0x1+0xf6f+-0x34*0x8b);}if(_0x152584['JLzRF'](typeof _0x31fd84,_0x152584[_0x152553(-_0xac5b14._0x21e6b4,-0x22d,-0x229,-0x232)])&&_0x152584[_0xf553d1(_0xac5b14._0x4f2170,_0xac5b14._0x452895,0x396,0x371)](_0x31fd84,null)){if(_0x152584[_0x152553(-0x219,-0x212,-_0xac5b14._0x2099a8,-_0xac5b14._0xb5cb9e)](_0x152584[_0x152553(-_0xac5b14._0x49c2bd,-_0xac5b14._0x17fe7b,-0x215,-0x243)],_0x152584[_0xf553d1(_0xac5b14._0x4cd0eb,0x36c,_0xac5b14._0x5ed4cd,0x385)]))return'Command:\x20'+_0x152584[_0xf553d1(0x3a0,_0xac5b14._0x18abe7,_0xac5b14._0x4de810,0x383)](_0x10de27,_0x152584[_0xf553d1(_0xac5b14._0x17ff18,0x364,_0xac5b14._0x4de64c,_0xac5b14._0xd3e39)](_0x4f0ab0,_0x2415a0['command']),-0x1498+-0x1*-0x15b+0x8f*0x23);else{const _0x51d5f8=_0x31fd84;if(_0x51d5f8[_0x152553(-0x239,-0x22e,-_0xac5b14._0x263d0c,-0x230)]||_0x51d5f8[_0xf553d1(_0xac5b14._0x452895,0x372,0x388,_0xac5b14._0x1c0824)])return _0xf553d1(0x372,0x38a,0x381,0x394)+(_0x51d5f8['file_path']||_0x51d5f8[_0x152553(-0x22d,-0x224,-_0xac5b14._0x5c44c3,-_0xac5b14._0x45c6f5)]);if(_0x51d5f8['command'])return'Command:\x20'+_0x152584[_0xf553d1(_0xac5b14._0x1d9d1f,0x395,_0xac5b14._0x401f65,_0xac5b14._0x362698)](truncate,String(_0x51d5f8[_0xf553d1(0x377,0x38e,0x38d,0x3a0)]),0x1*0x1337+-0x46c+-0x151*0xb);if(_0x51d5f8[_0x152553(-0x214,-0x202,-0x213,-0x218)])return _0xf553d1(0x3a7,0x391,_0xac5b14._0x259c82,_0xac5b14._0x151f5b)+_0x51d5f8[_0x152553(-_0xac5b14._0x2a2aba,-0x202,-_0xac5b14._0x3e039d,-_0xac5b14._0x537694)];return truncate(JSON[_0x152553(-_0xac5b14._0x3b918a,-0x20d,-0x1fa,-_0xac5b14._0x249689)](_0x31fd84),-0x22e0+0x1a88+0x8bc);}}function _0xf553d1(_0x18a618,_0x4fd00c,_0x3e5b56,_0x1c8e1f){return _0x50d9(_0x4fd00c-_0x2d54dd._0xc7991a,_0x1c8e1f);}function _0x152553(_0x4bb17f,_0x1e8fb0,_0x23cf18,_0x5a7928){return _0x50d9(_0x1e8fb0- -0x388,_0x4bb17f);}return String(_0x31fd84);}function truncate(_0x20eb2b,_0x181ebc){const _0x3dc813={_0x15e38a:0x16e,_0xcf9d05:0x27b,_0x17f1e0:0x26f,_0x4c581f:0x282},_0x31c131={_0xf88eb3:0x107},_0x2951cc={_0x401055:0x2c7},_0xaa7c68={};_0xaa7c68[_0x3fd3c2(-0x16e,-_0x3dc813._0x15e38a,-0x167,-0x163)]=function(_0x4693df,_0x252465){return _0x4693df-_0x252465;};const _0x5c7eb9=_0xaa7c68;function _0x3fd3c2(_0x390fa0,_0x1bb861,_0x368290,_0x57f84d){return _0x50d9(_0x368290- -_0x2951cc._0x401055,_0x1bb861);}function _0x134e2c(_0x3f3ec8,_0x153a7b,_0x1ff2e4,_0x1ca916){return _0x50d9(_0x153a7b-_0x31c131._0xf88eb3,_0x1ca916);}if(_0x20eb2b[_0x134e2c(0x25e,0x269,0x25d,_0x3dc813._0xcf9d05)]<=_0x181ebc)return _0x20eb2b;return _0x20eb2b[_0x134e2c(0x26a,0x274,_0x3dc813._0x17f1e0,_0x3dc813._0x4c581f)](0x15f6+-0x3b*0x1+-0x15bb,_0x5c7eb9['KJXNa'](_0x181ebc,-0x4*0x334+-0x56a+0x7*0x29b))+'...';}
|
|
1
|
+
function _0xe206(){const _0x447ee8=['ifTZCgfJzsb0BW','EMLUyZuWma','Dg9VBf9Yzxn1Ba','zw1LCMfSza','Dg9VBe5HBwu','ChbXAeO','B2jQzwn0','mta5mtKWmJrxwvv6wwe','q29TBwfUzdOG','CNrgvMe','mMXlAxPlua','qLD0uvq','mJeYnZm2ouLzrvPZAa','vw5RBM93BG','BxDpBve','CMv0DxjU','wu1oAxG','y29YywW','DgjhCeW','CeDvtNm','y2HPBgrYzw4','y29SDw1U','lI4U','ndu4oduYnhvhvgvtvW','nJi0mdmXmen0vvbiCa','ntK4mZy2m2fTB3jcDW','ifrVB2W','zMLSzv9WyxrO','rM9xsvu','D2jVD3i','BgvUz3rO','y29TBwfUza','Dg9VBeLUChv0','mtmXmJG3n3bnwwP2Aa','C3vIC3rYAw5N','weXyyLu','B2HJCeG','ntmZodmWnfHRzxjQCW','D3jHCa','zMLSzvbHDgG','Dg9VBe91Dhb1Da','EMLUyZyWma','ugf0DgvYBJOG','BwfW','C3rYAw5NAwz5','BvDfuhG','C3rYAw5N','EwvUC1y','tKPHz2i','Cgf0DgvYBG','vg9VBa','ihrVz2DSzv0','AxrZqMK','tvvXwvi','teX0tuy'];_0xe206=function(){return _0x447ee8;};return _0xe206();}(function(_0x51da21,_0x86a60b){const _0x2b4bdf={_0x4c2e12:0x2b2,_0xe4b499:0x2a8,_0x42d780:0x205,_0x1a6175:0x216,_0x4527f0:0x1f6,_0x22c8b9:0x1f3,_0x57a448:0x221,_0x4229cc:0x20d,_0x4b92eb:0x21b,_0x514fbe:0x291,_0x109ee4:0x278,_0x39ccf4:0x1f7,_0x4bddd9:0x206,_0x5500be:0x1f6,_0x3c0c15:0x1f4,_0x4f29c4:0x20e,_0x475b4d:0x1fc,_0x442677:0x20b},_0x151801={_0x11b9fa:0x2ee};function _0x92290(_0x2d823e,_0x3dd130,_0x237024,_0x270680){return _0x44c4(_0x270680- -0x371,_0x2d823e);}const _0x2a0e37=_0x51da21();function _0x34d4f9(_0x266d01,_0x296b93,_0x338ec4,_0x4d59c1){return _0x44c4(_0x296b93- -_0x151801._0x11b9fa,_0x266d01);}while(!![]){try{const _0x1d1a87=parseInt(_0x92290(-0x2b8,-0x2a0,-_0x2b4bdf._0x4c2e12,-_0x2b4bdf._0xe4b499))/(0xb5+0x1f0a+-0x1fbe)+-parseInt(_0x34d4f9(-0x21e,-_0x2b4bdf._0x42d780,-0x1ee,-0x213))/(-0xc1a*0x1+0x1*-0x10a2+0x1cbe)*(parseInt(_0x34d4f9(-_0x2b4bdf._0x1a6175,-0x203,-_0x2b4bdf._0x4527f0,-_0x2b4bdf._0x22c8b9))/(-0x16de+-0x1499*-0x1+-0x8*-0x49))+parseInt(_0x34d4f9(-0x207,-_0x2b4bdf._0x57a448,-_0x2b4bdf._0x4229cc,-_0x2b4bdf._0x4b92eb))/(0x1cd*0x7+-0x148b+0x7f4)+-parseInt(_0x92290(-_0x2b4bdf._0x514fbe,-0x268,-_0x2b4bdf._0x109ee4,-0x27a))/(0x1*0x255f+-0x238*-0x8+0x125e*-0x3)+parseInt(_0x34d4f9(-_0x2b4bdf._0x39ccf4,-0x1f8,-0x1f9,-0x1e5))/(0x3b8+0x1*0x231d+0x7c3*-0x5)+parseInt(_0x34d4f9(-_0x2b4bdf._0x4bddd9,-_0x2b4bdf._0x5500be,-_0x2b4bdf._0x3c0c15,-0x1f1))/(0x1*0x849+-0x13d5+0xb93)+-parseInt(_0x34d4f9(-_0x2b4bdf._0x4f29c4,-0x208,-_0x2b4bdf._0x475b4d,-_0x2b4bdf._0x442677))/(0x5f5+-0x1*0x1019+-0x6*-0x1b2);if(_0x1d1a87===_0x86a60b)break;else _0x2a0e37['push'](_0x2a0e37['shift']());}catch(_0x5eaa86){_0x2a0e37['push'](_0x2a0e37['shift']());}}}(_0xe206,0x127104+0x2*0x381fe+-0xb7*0xf71));import{jsx as _0x25cd3c,jsxs as _0x3cf26d}from'react/jsx-runtime';import{useState}from'react';import{Box,Text,useInput}from'ink';import{colors}from'../../theme/colors.js';function _0x44c4(_0x189f16,_0x37058e){_0x189f16=_0x189f16-(0x194c+-0x2*-0x413+-0x20aa);const _0x587608=_0xe206();let _0x284851=_0x587608[_0x189f16];if(_0x44c4['dvhRdx']===undefined){var _0x501a0c=function(_0x1c61f8){const _0x1fd9f2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21eb64='',_0x79df12='';for(let _0x22cae1=0x65*0xe+-0x8*-0x128+-0xec6,_0x46d0a4,_0x56d55f,_0x3c38d2=0xc49+-0x1fe8+-0x139f*-0x1;_0x56d55f=_0x1c61f8['charAt'](_0x3c38d2++);~_0x56d55f&&(_0x46d0a4=_0x22cae1%(0x11fe+0x1920+-0x2b1a)?_0x46d0a4*(-0x219+0x229b+0x2*-0x1021)+_0x56d55f:_0x56d55f,_0x22cae1++%(0x1cf*0x5+0x2*0x120b+-0x2d1d))?_0x21eb64+=String['fromCharCode'](0x47*-0x61+0x1*-0x1518+0x1*0x30fe&_0x46d0a4>>(-(0x2638+-0x1496+0x4*-0x468)*_0x22cae1&-0x141+-0x9d+0x1e4)):-0x1d48+0xca8+0x85*0x20){_0x56d55f=_0x1fd9f2['indexOf'](_0x56d55f);}for(let _0x378240=0xa5*-0x2d+-0x100*0x1+0x1e01*0x1,_0x4c6d0b=_0x21eb64['length'];_0x378240<_0x4c6d0b;_0x378240++){_0x79df12+='%'+('00'+_0x21eb64['charCodeAt'](_0x378240)['toString'](0x9*-0x25+-0x1f55*-0x1+-0x1df8))['slice'](-(-0xf60+0x226a+-0x1308));}return decodeURIComponent(_0x79df12);};_0x44c4['VuUukC']=_0x501a0c,_0x44c4['PfxSDK']={},_0x44c4['dvhRdx']=!![];}const _0x41e76f=_0x587608[-0xf9b+0x235d+-0x13c2],_0x32a43e=_0x189f16+_0x41e76f,_0x58b15e=_0x44c4['PfxSDK'][_0x32a43e];return!_0x58b15e?(_0x284851=_0x44c4['VuUukC'](_0x284851),_0x44c4['PfxSDK'][_0x32a43e]=_0x284851):_0x284851=_0x58b15e,_0x284851;}export function ToolGroup({tools:_0x35a228,isSelected:isSelected=![]}){const _0xc8e1f3={_0x175e59:0x101,_0x1e2e0f:0x10b,_0x41a70e:0x112,_0x34b0e7:0x13c,_0x1b42f2:0x153,_0x44cb53:0x154,_0x137f55:0x147,_0x237786:0x167,_0x45b15c:0x15a,_0x30b808:0x11d,_0x36a78f:0x117,_0x18de7a:0x143,_0x9943d5:0x125,_0xdc4df:0x12a,_0x549c91:0x103,_0x58ec15:0x108,_0x5a0397:0x172,_0x729b4:0x15d,_0x2925eb:0x15d,_0x16fa77:0x146,_0x31551b:0x136},_0x292998={_0x530275:0x37},_0x4956bd={_0x246f96:0x18a,_0x34e0ef:0x1a3},_0x408e3f={_0x389d51:0x2eb,_0x1bb872:0x10a},_0x1393f3={_0x10acd8:0x73},_0x469f52={'mWEPx':function(_0x596538,_0x5f0ba7){return _0x596538(_0x5f0ba7);},'LLtMF':function(_0x56b1b1,_0x22d556){return _0x56b1b1>_0x22d556;},'BWtQT':'column','rtFVa':function(_0x28465d,_0x392276,_0x357bf4){return _0x28465d(_0x392276,_0x357bf4);},'tNDkn':_0x47797c(0x13a,0x152,0x15b,0x13e)+_0x505dd3(0x11a,_0xc8e1f3._0x175e59,_0xc8e1f3._0x1e2e0f,_0xc8e1f3._0x41a70e),'wbowr':function(_0xef1999,_0xa68c7,_0x36b77c){return _0xef1999(_0xa68c7,_0x36b77c);}};function _0x47797c(_0x1f0871,_0x5e25a5,_0x4789bf,_0x47d340){return _0x44c4(_0x5e25a5-_0x1393f3._0x10acd8,_0x1f0871);}const [_0x135181,_0x15c83a]=useState(![]),_0x40eb76=[...new Set(_0x35a228[_0x47797c(0x157,0x146,_0xc8e1f3._0x34b0e7,0x13e)](_0x169d57=>_0x169d57['toolName']||_0x505dd3(0x12d,0x126,0x13f,0x123)))],_0x1606aa=_0x35a228['length']+_0x47797c(0x17f,0x16c,_0xc8e1f3._0x1b42f2,_0xc8e1f3._0x44cb53)+(_0x469f52[_0x47797c(_0xc8e1f3._0x137f55,0x151,_0xc8e1f3._0x237786,_0xc8e1f3._0x45b15c)](_0x35a228[_0x505dd3(0x12b,0x121,_0xc8e1f3._0x30b808,0x134)],0x11d*-0x1b+-0x8*0x24b+0x2*0x1834)?'s':'')+':\x20'+_0x40eb76['join'](',\x20');useInput((_0x4eb875,_0x1a17c9)=>{const _0x1cbf75={_0x4eb9e1:0x2e};function _0x409fcf(_0x3df852,_0x17d50f,_0x5a6f41,_0x38a0dd){return _0x47797c(_0x17d50f,_0x3df852- -_0x408e3f._0x389d51,_0x5a6f41-_0x408e3f._0x1bb872,_0x38a0dd-0x106);}function _0x3302e2(_0x2acf18,_0x1989b9,_0x10fb85,_0x1df1c0){return _0x505dd3(_0x2acf18-_0x1cbf75._0x4eb9e1,_0x1df1c0,_0x10fb85-0xa1,_0x10fb85- -0x3c6);}isSelected&&(_0x4eb875==='\x20'||_0x1a17c9[_0x409fcf(-_0x4956bd._0x246f96,-0x177,-0x1a2,-0x183)])&&_0x469f52[_0x409fcf(-_0x4956bd._0x34e0ef,-0x1b8,-0x194,-0x1ab)](_0x15c83a,!_0x135181);},{'isActive':isSelected});const _0x3122aa={};function _0x505dd3(_0x4f2f8c,_0x1c9dab,_0x25a040,_0x28d032){return _0x44c4(_0x28d032-_0x292998._0x530275,_0x1c9dab);}_0x3122aa['color']=colors[_0x505dd3(0x11b,0x107,0x131,_0xc8e1f3._0x36a78f)],_0x3122aa['children']=_0x135181?'▼':'▶';const _0x24c6af={};return _0x24c6af['color']=colors['zinc400'],_0x24c6af[_0x505dd3(_0xc8e1f3._0x18de7a,_0xc8e1f3._0x9943d5,0x137,_0xc8e1f3._0xdc4df)]=_0x1606aa,_0x3cf26d(Box,{'flexDirection':_0x469f52['BWtQT'],'children':[_0x469f52['rtFVa'](_0x3cf26d,Box,{'gap':0x1,'children':[_0x469f52[_0x505dd3(_0xc8e1f3._0x549c91,0x114,0x137,0x11f)](_0x25cd3c,Text,_0x3122aa),_0x25cd3c(Text,_0x24c6af),isSelected&&_0x25cd3c(Text,{'color':colors[_0x505dd3(0xf9,0x117,0xf3,_0xc8e1f3._0x58ec15)],'children':_0x469f52['tNDkn']})]}),_0x135181&&_0x469f52[_0x47797c(0x169,0x16f,0x16f,_0xc8e1f3._0x5a0397)](_0x25cd3c,Box,{'flexDirection':_0x469f52[_0x47797c(0x160,_0xc8e1f3._0x729b4,_0xc8e1f3._0x2925eb,0x179)],'paddingLeft':0x2,'marginTop':0x1,'children':_0x35a228[_0x47797c(0x13b,_0xc8e1f3._0x16fa77,_0xc8e1f3._0x31551b,_0xc8e1f3._0x45b15c)]((_0x2544f3,_0x3b6c2d)=>_0x3cf26d(Box,{'flexDirection':_0x47797c(0x14e,0x167,0x151,0x14c),'marginBottom':0x1,'children':[_0x3cf26d(Box,{'gap':0x1,'children':[_0x25cd3c(Text,{'color':colors[_0x505dd3(0x13b,0x13c,0x134,0x127)],'children':_0x2544f3[_0x47797c(0x171,0x156,0x16e,0x14c)]||_0x505dd3(0x100,0x103,0x120,0x111)}),_0x2544f3['type']===_0x47797c(0x147,0x154,0x146,0x16d)+'t'&&_0x25cd3c(Text,{'color':colors[_0x505dd3(0x10d,0x10d,0x12a,0x119)],'children':'Done'})]}),_0x2544f3[_0x47797c(0x136,0x13b,0x133,0x123)]!==undefined&&_0x2544f3[_0x505dd3(0xe8,0x103,0x113,0xff)]!==null&&_0x25cd3c(Box,{'paddingLeft':0x1,'children':_0x25cd3c(Text,{'color':colors[_0x47797c(0x156,0x153,0x13e,0x168)],'wrap':'wrap','children':formatToolInput(_0x2544f3[_0x505dd3(0xe4,0xfe,0x11a,0xff)])})}),_0x2544f3[_0x47797c(0x15e,0x143,0x14b,0x15e)]&&_0x25cd3c(Box,{'paddingLeft':0x1,'marginTop':0x1,'children':_0x25cd3c(Text,{'color':colors['zinc400'],'wrap':_0x47797c(0x150,0x141,0x150,0x15d),'children':truncate(_0x2544f3[_0x505dd3(0xf9,0xf0,0x10e,0x107)],0x1*-0x3e7+-0x193*0x1+0x642)})})]},_0x2544f3['id']||_0x3b6c2d))})]});}function formatToolInput(_0x2ce484){const _0x5cc083={_0x491dac:0x21a,_0x5ab36c:0x2a5,_0x5d5cbd:0x293,_0x57ec14:0x20d,_0x2d68b8:0x2be,_0x530b58:0x291,_0x183ca4:0x2ab,_0x2758d8:0x297,_0x255d53:0x2c1,_0x131c5e:0x2b0,_0x276093:0x285,_0x4ff1f6:0x2b4,_0x559d3c:0x288,_0x1ed220:0x234,_0x4847e6:0x280,_0x32ce09:0x2a7,_0x4dad0d:0x28c,_0x208898:0x1ff,_0x3f703f:0x281,_0x244f71:0x298,_0x35e90d:0x284,_0x315222:0x20b,_0x2e803e:0x24e,_0x3f18cc:0x2ad,_0x3f4ec3:0x2b6,_0x2babb7:0x288,_0x23fe5f:0x298,_0x4c2d28:0x226,_0x30af8e:0x24c,_0x5365c6:0x225,_0x151a98:0x239,_0x4c428c:0x29d,_0x2ab424:0x2b9,_0x97025f:0x2cd,_0x298645:0x2b3,_0x40d30e:0x2a4,_0xecd48c:0x298,_0x51c029:0x28e,_0x41013e:0x287,_0x109765:0x276,_0x4fec8a:0x2a3,_0x124b3d:0x27e,_0x1d600f:0x2a4,_0x43996d:0x247,_0x142a8d:0x241,_0x670ee2:0x24d,_0x1a4f2c:0x2a2,_0x47a6d3:0x29f,_0x596cd8:0x29c,_0x22d812:0x271,_0x950531:0x279,_0x201503:0x29c,_0xdb2065:0x29e,_0x83ac9b:0x2a2,_0x39b0c9:0x26b,_0x211193:0x280,_0x416f74:0x236},_0x4c0ff2={_0x4bfaa7:0x1b5},_0x514cf2={'MUqYR':function(_0x3530fe,_0x56da9a){return _0x3530fe<=_0x56da9a;},'NJagb':function(_0x563bb6,_0x19e62b){return _0x563bb6+_0x19e62b;},'mwOmQ':function(_0x3d7845,_0x163b6){return _0x3d7845-_0x163b6;},'XLXbU':_0x451c3a(-_0x5cc083._0x491dac,-0x232,-0x209,-0x220),'FoWIU':function(_0x504656,_0x1d057b){return _0x504656===_0x1d057b;},'tbGpL':_0x5f5b46(0x286,_0x5cc083._0x5ab36c,_0x5cc083._0x5d5cbd,0x28b),'YMNix':function(_0x34939,_0x22ddc4,_0x23c7d9){return _0x34939(_0x22ddc4,_0x23c7d9);},'yensV':'SnDYy','itsBi':function(_0xa1ceae,_0x472324){return _0xa1ceae(_0x472324);}};function _0x451c3a(_0x46eec2,_0xda3ccc,_0x5a24db,_0x339b9d){return _0x44c4(_0x339b9d- -0x315,_0x46eec2);}function _0x5f5b46(_0x1cba54,_0x24dc20,_0x438220,_0x1c43cd){return _0x44c4(_0x1c43cd-_0x4c0ff2._0x4bfaa7,_0x438220);}if(_0x514cf2['FoWIU'](typeof _0x2ce484,_0x514cf2[_0x451c3a(-0x218,-0x235,-_0x5cc083._0x57ec14,-0x224)]))return _0x514cf2[_0x5f5b46(_0x5cc083._0x2d68b8,_0x5cc083._0x530b58,_0x5cc083._0x183ca4,0x2a4)](truncate,_0x2ce484,-0x1aa6+0x11ea+-0x10*-0x92);if(_0x514cf2[_0x5f5b46(_0x5cc083._0x2758d8,_0x5cc083._0x255d53,0x2b9,_0x5cc083._0x131c5e)](typeof _0x2ce484,_0x5f5b46(_0x5cc083._0x276093,_0x5cc083._0x4ff1f6,_0x5cc083._0x559d3c,0x29a))&&_0x2ce484!==null){if(_0x514cf2[_0x451c3a(-0x1ff,-_0x5cc083._0x1ed220,-0x208,-0x21a)](_0x514cf2['yensV'],_0x514cf2[_0x5f5b46(0x295,_0x5cc083._0x4847e6,_0x5cc083._0x32ce09,_0x5cc083._0x4dad0d)])){const _0x1503bb=_0x2ce484;if(_0x1503bb[_0x451c3a(-0x204,-0x20e,-_0x5cc083._0x208898,-0x21b)]||_0x1503bb[_0x5f5b46(0x278,_0x5cc083._0x3f703f,_0x5cc083._0x244f71,_0x5cc083._0x35e90d)])return'File:\x20'+(_0x1503bb[_0x451c3a(-0x22a,-0x236,-_0x5cc083._0x315222,-0x21b)]||_0x1503bb[_0x451c3a(-_0x5cc083._0x2e803e,-0x23d,-0x24d,-0x246)]);if(_0x1503bb[_0x5f5b46(_0x5cc083._0x3f18cc,_0x5cc083._0x3f4ec3,0x29b,0x2b3)])return _0x5f5b46(_0x5cc083._0x2babb7,_0x5cc083._0x23fe5f,0x2b2,0x29c)+_0x514cf2[_0x451c3a(-0x23f,-0x230,-0x227,-_0x5cc083._0x4c2d28)](truncate,_0x514cf2[_0x451c3a(-0x230,-_0x5cc083._0x30af8e,-_0x5cc083._0x5365c6,-_0x5cc083._0x151a98)](String,_0x1503bb[_0x5f5b46(_0x5cc083._0x4c428c,_0x5cc083._0x2ab424,_0x5cc083._0x97025f,_0x5cc083._0x298645)]),-0x2007+0x18c5+0x792);if(_0x1503bb[_0x5f5b46(_0x5cc083._0x40d30e,0x298,_0x5cc083._0xecd48c,0x28e)])return _0x5f5b46(0x295,0x271,_0x5cc083._0x51c029,_0x5cc083._0x41013e)+_0x1503bb[_0x5f5b46(_0x5cc083._0x109765,_0x5cc083._0x4fec8a,_0x5cc083._0x124b3d,0x28e)];return _0x514cf2[_0x5f5b46(0x2b7,_0x5cc083._0x530b58,0x2a4,_0x5cc083._0x1d600f)](truncate,JSON[_0x451c3a(-_0x5cc083._0x43996d,-0x237,-0x250,-_0x5cc083._0x142a8d)](_0x2ce484),0x9b4+0x3*-0x20c+-0x32c);}else{if(_0x514cf2[_0x451c3a(-_0x5cc083._0x670ee2,-0x22e,-0x246,-0x238)](_0x3e1f70[_0x5f5b46(_0x5cc083._0x1a4f2c,_0x5cc083._0x3f18cc,0x2ae,0x2b2)],_0xd609cc))return _0x2c90eb;return _0x514cf2[_0x5f5b46(_0x5cc083._0x47a6d3,_0x5cc083._0x596cd8,0x293,0x28d)](_0x423bea[_0x5f5b46(0x286,_0x5cc083._0x22d812,_0x5cc083._0x950531,0x27f)](-0x981+-0x31*0x5e+-0x1*-0x1b7f,_0x514cf2[_0x5f5b46(_0x5cc083._0x201503,0x2b0,_0x5cc083._0xdb2065,_0x5cc083._0x83ac9b)](_0xbf5cc2,-0xb*-0x62+-0x76*-0x4f+0x289d*-0x1)),_0x514cf2[_0x5f5b46(0x27a,_0x5cc083._0x39b0c9,0x26c,_0x5cc083._0x211193)]);}}return _0x514cf2[_0x451c3a(-0x246,-0x252,-_0x5cc083._0x416f74,-0x239)](String,_0x2ce484);}function truncate(_0x2cc27c,_0x3a4cf4){const _0x25d2be={_0x5c6886:0x8e,_0x535a88:0x8c,_0x2c24db:0x81,_0x166412:0x74,_0x407a95:0x9d,_0x21dd17:0x8f,_0x48baee:0x5a,_0x182768:0x4e,_0x47d41d:0x58,_0x581626:0x67,_0x1f6bf1:0x6a,_0x226313:0x3a},_0xf466fe={_0x1e78ff:0xa2};function _0x7a8905(_0x52a3a7,_0x361a92,_0x64907a,_0x56383e){return _0x44c4(_0x361a92- -0x66,_0x52a3a7);}const _0x3a26e5={};function _0x130d73(_0x556a52,_0x291782,_0x270764,_0x5264a5){return _0x44c4(_0x556a52- -_0xf466fe._0x1e78ff,_0x270764);}_0x3a26e5['ohcpH']=function(_0x2c57b6,_0xb7f29d){return _0x2c57b6<=_0xb7f29d;},_0x3a26e5[_0x7a8905(_0x25d2be._0x5c6886,_0x25d2be._0x535a88,0x9a,_0x25d2be._0x2c24db)]=function(_0x2c1e04,_0x950ca9){return _0x2c1e04-_0x950ca9;},_0x3a26e5[_0x7a8905(_0x25d2be._0x166412,0x7e,0x70,0x79)]=_0x7a8905(_0x25d2be._0x407a95,_0x25d2be._0x21dd17,0x73,0x7d);const _0x2da206=_0x3a26e5;if(_0x2da206[_0x7a8905(0x50,0x66,_0x25d2be._0x48baee,_0x25d2be._0x182768)](_0x2cc27c[_0x130d73(0x5b,0x6c,_0x25d2be._0x47d41d,_0x25d2be._0x581626)],_0x3a4cf4))return _0x2cc27c;return _0x2cc27c[_0x130d73(0x28,0x2e,0x15,0x15)](0x1*0x1c3b+-0x2*-0xed5+-0x39e5,_0x2da206[_0x130d73(0x50,_0x25d2be._0x1f6bf1,_0x25d2be._0x226313,0x46)](_0x3a4cf4,0x3*0x56b+-0x83*-0x47+0x3493*-0x1))+_0x2da206['ppqhJ'];}
|