@nuvin/nuvin-cli 1.8.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AutoUpdater-RY55SRHZ.js +1 -1
- package/dist/UpdateChecker-2LAM3Q56.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-75O53JM5.js +1 -0
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-BJASH6JU.js +1 -1
- package/dist/chunk-LVUEHBHE.js +1 -0
- package/dist/chunk-NWZGLSYF.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-U4UZBNLO.js +1 -0
- package/dist/messageProcessor-6VTRO5TD.js +1 -1
- package/dist/profile-handler-Q2IML5ME.js +1 -1
- package/dist/useSessionManagement-PNTXHKVN.js +1 -0
- package/package.json +2 -2
- package/dist/chunk-XGCTN4XG.js +0 -1
- package/dist/chunk-XXEJW6QP.js +0 -1
- package/dist/demo-mode-XY5TWQ3C.js +0 -1
- package/dist/useSessionManagement-SUP6IBE2.js +0 -1
package/dist/chunk-XXEJW6QP.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x23da1e,_0x188b72){const _0x50f578={_0x56c330:0x15a,_0x52af5a:0x2b8,_0x40e7a6:0xba,_0x5ae659:0x452,_0x577e71:0x44a,_0x423b24:0x5af,_0x54c557:0x538,_0x2066d4:0x4ff,_0x947274:0x239,_0xe1f61a:0x3dc,_0x2face2:0x1ca,_0x1a1fbc:0x2ef,_0x33cd00:0x111,_0x4e792c:0x33d,_0x20ee8b:0x313,_0x4e85fc:0x190,_0x458a7f:0xbe,_0x599af6:0xd7,_0x108b1e:0x1d7};function _0x332230(_0x1eb0ce,_0x4ebad3,_0xa66590,_0x563e4f){return _0x58a4(_0x4ebad3- -0x1c2,_0x1eb0ce);}const _0x4a6726=_0x23da1e();function _0x3bb7f5(_0x34d27d,_0x4fc2e2,_0x47bd4e,_0x3f2387){return _0x58a4(_0x3f2387-0x92,_0x4fc2e2);}while(!![]){try{const _0x4ffca4=-parseInt(_0x3bb7f5(0x174,_0x50f578._0x56c330,0x3bf,_0x50f578._0x52af5a))/0x1*(parseInt(_0x3bb7f5(0x359,0x3c8,0x3e4,0x4bc))/0x2)+-parseInt(_0x3bb7f5(0x12c,_0x50f578._0x40e7a6,_0x50f578._0x5ae659,0x27a))/0x3+-parseInt(_0x3bb7f5(_0x50f578._0x577e71,_0x50f578._0x423b24,_0x50f578._0x54c557,_0x50f578._0x2066d4))/0x4*(parseInt(_0x3bb7f5(0x376,_0x50f578._0x947274,_0x50f578._0xe1f61a,0x2b7))/0x5)+-parseInt(_0x3bb7f5(0x234,0x1bc,_0x50f578._0x2face2,0x20e))/0x6*(parseInt(_0x332230(0x3aa,_0x50f578._0x1a1fbc,0x2a6,_0x50f578._0x33cd00))/0x7)+parseInt(_0x3bb7f5(_0x50f578._0x4e792c,0x281,0xf0,0x2f1))/0x8*(parseInt(_0x332230(0x142,_0x50f578._0x20ee8b,_0x50f578._0x4e85fc,0x1ae))/0x9)+-parseInt(_0x332230(_0x50f578._0x458a7f,0x1ab,_0x50f578._0x599af6,_0x50f578._0x108b1e))/0xa+parseInt(_0x3bb7f5(0x5af,0x3e6,0x512,0x495))/0xb;if(_0x4ffca4===_0x188b72)break;else _0x4a6726['push'](_0x4a6726['shift']());}catch(_0x11b85f){_0x4a6726['push'](_0x4a6726['shift']());}}}(_0x2e83,0x3ba04));import{a as _0x3e604e,c as _0x46d597}from'./chunk-NWZGLSYF.js';import{a as _0x47f2bd}from'./chunk-XGCTN4XG.js';import{a as _0xcbfe64}from'./chunk-AJHDLTY3.js';import{a as _0x18d556,b as _0x4f6f10}from'./chunk-BJASH6JU.js';import _0x4d045c from'path';function kt(_0xafe787){const _0x2a5a25={_0x476ae6:0x4a0,_0x41d2d6:0x42d};function _0x2b203d(_0x1945e7,_0x20f0d4,_0xfe9b0c,_0x2710e3){return _0x58a4(_0x1945e7- -0x1e1,_0x20f0d4);}return _0xafe787[_0x2b203d(0x2e0,_0x2a5a25._0x476ae6,0x4b1,_0x2a5a25._0x41d2d6)]((_0x351a26,_0x61db3c)=>ze(_0x351a26,_0x61db3c),{});}function ze(_0x28233f,_0x43608a){const _0x31f82e={_0x42409b:0x593,_0x5c02ce:0x471,_0x4cda7a:0x39b,_0x746c3e:0x64f,_0x527bdc:0x477,_0x216a17:0x5dc,_0x33d7e8:0x671,_0x11338f:0x782};let _0xee5bf8={..._0x28233f};function _0x5b51d7(_0x47bf83,_0x61cceb,_0x552c4b,_0x3f8177){return _0x58a4(_0x3f8177-0xe6,_0x552c4b);}for(let [_0x1d48f0,_0x3037f7]of Object[_0x5b51d7(_0x31f82e._0x42409b,_0x31f82e._0x5c02ce,0x599,_0x31f82e._0x4cda7a)](_0x43608a)){if(_0x3037f7===void 0x0)continue;let _0x41ee16=_0xee5bf8[_0x1d48f0];if(ge(_0x41ee16)&&ge(_0x3037f7)){_0xee5bf8[_0x1d48f0]=ze(_0x41ee16,_0x3037f7);continue;}if(Array[_0x58505d(0x61b,_0x31f82e._0x746c3e,0x610,0x49e)](_0x3037f7)){if(Array['isArray'](_0x41ee16)){let _0x81ab03=[..._0x41ee16];for(let _0x5845b3=0x0;_0x5845b3<_0x3037f7[_0x5b51d7(0x749,0x5ab,0x774,0x5dc)];_0x5845b3++)_0x5845b3<_0x81ab03[_0x5b51d7(0x48b,_0x31f82e._0x527bdc,0x4b7,_0x31f82e._0x216a17)]&&ge(_0x81ab03[_0x5845b3])&&ge(_0x3037f7[_0x5845b3])?_0x81ab03[_0x5845b3]=ze(_0x81ab03[_0x5845b3],_0x3037f7[_0x5845b3]):_0x81ab03[_0x5845b3]=ge(_0x3037f7[_0x5845b3])?ze({},_0x3037f7[_0x5845b3]):_0x3037f7[_0x5845b3];_0xee5bf8[_0x1d48f0]=_0x81ab03;}else _0xee5bf8[_0x1d48f0]=_0x3037f7[_0x5b51d7(_0x31f82e._0x33d7e8,_0x31f82e._0x11338f,0x4d9,0x5d8)](_0x1390cc=>ge(_0x1390cc)?ze({},_0x1390cc):_0x1390cc);continue;}_0xee5bf8[_0x1d48f0]=ge(_0x3037f7)?ze({},_0x3037f7):_0x3037f7;}function _0x58505d(_0x2a8124,_0x413802,_0x5d93df,_0x1f7bc1){return _0x58a4(_0x2a8124-0x1c0,_0x413802);}return _0xee5bf8;}function ge(_0x41895e){const _0x46ba76={_0x32d1a1:0x104,_0x9c17a3:0x199,_0x151b95:0xbf,_0x2644a1:0x1c0,_0x233fa1:0xfa},_0x2ac716={_0x390fb6:0x1d2};function _0x31617c(_0x489fe2,_0x3e9bff,_0x39c70c,_0x32ae9e){return _0x58a4(_0x39c70c- -0x198,_0x32ae9e);}function _0x569613(_0x447b02,_0x4456c2,_0x6e7422,_0x3f7f45){return _0x58a4(_0x3f7f45- -_0x2ac716._0x390fb6,_0x447b02);}return typeof _0x41895e=='object'&&_0x41895e!==null&&(_0x41895e[_0x569613(_0x46ba76._0x32d1a1,_0x46ba76._0x9c17a3,-_0x46ba76._0x151b95,0x126)]===Object||Object[_0x31617c(-0xda,_0x46ba76._0x2644a1,_0x46ba76._0x233fa1,0x25f)](_0x41895e)===null);}function Rt(_0x818bb5){const _0x48b8fb={_0x5acb86:0x2f4,_0x29e7ec:0x617,_0x1b3098:0x35c,_0x3c2da3:0x701,_0x2ac229:0x33a,_0x29f67f:0x36e,_0xfaad1c:0x38d,_0x308cf1:0x358,_0x4590cd:0x2c8,_0x2074ec:0x354};function _0x14cc66(_0x79189d,_0x373d61,_0x5babcc,_0x4b69de){return _0x58a4(_0x79189d-0x12e,_0x4b69de);}let _0x342ce2=globalThis[_0x408916(_0x48b8fb._0x5acb86,0x352,_0x48b8fb._0x29e7ec,0x4d1)];function _0x408916(_0x528df5,_0x33023a,_0x36e1ca,_0x4f8447){return _0x58a4(_0x4f8447-0x154,_0x528df5);}return typeof _0x342ce2==_0x408916(_0x48b8fb._0x1b3098,_0x48b8fb._0x3c2da3,_0x48b8fb._0x2ac229,0x514)?_0x342ce2(_0x818bb5):JSON[_0x14cc66(0x344,_0x48b8fb._0x29f67f,0x408,_0x48b8fb._0xfaad1c)](JSON[_0x408916(_0x48b8fb._0x308cf1,0x363,_0x48b8fb._0x4590cd,_0x48b8fb._0x2074ec)](_0x818bb5));}function Kr(_0x353441,_0x50d9de){const _0x114f03={_0xd00bad:0x693,_0x439ee4:0x4a1,_0x2509ca:0x9c,_0x475ace:0x19d,_0x5bfdd7:0x6d,_0x1dfb89:0x54,_0x14e9ad:0x276,_0x482948:0x64c,_0x27de15:0x506,_0x2c96b0:0x427,_0x4d448e:0x59b,_0x55e7c1:0x6f9,_0x3bf235:0x3a3,_0x29af33:0x59b,_0x5e81c3:0x736,_0x41cb9b:0xbc,_0x579e5a:0x1b6,_0x3d3cc1:0x180,_0x25147a:0x60,_0x4e72d5:0x85,_0x304876:0x17b,_0x127987:0x13,_0x9ab071:0x17f,_0x25035d:0xb9,_0x1166e6:0x7e};if(!_0x50d9de||typeof _0x50d9de!=_0x378687(0x524,0x61a,0x7c9,0x496))return;function _0x48a867(_0x2b050e,_0x34b2bb,_0xca2c98,_0xecc11a){return _0x58a4(_0x2b050e- -0x32e,_0xca2c98);}let _0x2af007=_0x50d9de[_0x378687(_0x114f03._0xd00bad,0x5b4,0x4e0,_0x114f03._0x439ee4)](),_0x1fa3a3=di(_0x353441['providers'],_0x2af007);if(!_0x1fa3a3)return;function _0x378687(_0x3239f9,_0x2a8175,_0x13dd29,_0x2f23fe){return _0x58a4(_0x2a8175-0x1b9,_0x2f23fe);}let _0x205315=_0x1fa3a3['current-auth'],_0xbeee5d=_0x1fa3a3['auth'];if(!_0x205315||!Array[_0x48a867(0x12d,_0x114f03._0x2509ca,_0x114f03._0x475ace,-_0x114f03._0x5bfdd7)](_0xbeee5d))return;let _0x541400=_0xbeee5d[_0x48a867(0xcf,-_0x114f03._0x1dfb89,0x190,_0x114f03._0x14e9ad)](_0xde936c=>_0xde936c[_0x378687(0x65f,0x64c,0x595,0x760)]===_0x205315);if(_0x541400){if(_0x541400[_0x378687(0x5f4,_0x114f03._0x482948,0x6d2,_0x114f03._0x27de15)]===_0x378687(_0x114f03._0x2c96b0,_0x114f03._0x4d448e,_0x114f03._0x55e7c1,0x5cb))return{'apiKey':_0x541400[_0x378687(_0x114f03._0x3bf235,_0x114f03._0x29af33,_0x114f03._0x5e81c3,0x4ad)]};if(_0x541400[_0x48a867(0x165,_0x114f03._0x41cb9b,_0x114f03._0x579e5a,_0x114f03._0x3d3cc1)]===_0x48a867(_0x114f03._0x25147a,0x1bd,-_0x114f03._0x41cb9b,-_0x114f03._0x4e72d5))return{'oauth':{'type':_0x48a867(0x60,-0xf4,0xed,_0x114f03._0x304876),'access':_0x541400[_0x48a867(-_0x114f03._0x127987,_0x114f03._0x9ab071,-_0x114f03._0x25035d,_0x114f03._0x1166e6)],'refresh':_0x541400[_0x48a867(-0xd7,-0x24,0x115,0xe2)],'expires':_0x541400['expires']||Date['now']()}};}}function di(_0x2d0226,_0x21eb1b){const _0xc08b7a={_0x2c86ce:0x5b1,_0x5641e4:0x302};function _0x410622(_0x1ba4ff,_0x4383a4,_0xb9d569,_0x17ea3e){return _0x58a4(_0x17ea3e-0xa5,_0x1ba4ff);}if(_0x2d0226){if(_0x2d0226[_0x21eb1b])return _0x2d0226[_0x21eb1b];for(let [_0x43e2a9,_0x2723a8]of Object['entries'](_0x2d0226))if(_0x43e2a9[_0x410622(0x67c,_0xc08b7a._0x2c86ce,_0xc08b7a._0x5641e4,0x4a0)]()===_0x21eb1b)return _0x2723a8;}}function Hu(_0x2f36c4,_0x76183a=[]){const _0xc1cacd={_0x5f0ed9:0x53d,_0x1a9b08:0x509,_0x4568f0:0x792,_0x3a5361:0x236,_0x24f574:0x241,_0x1ff882:0x8b5,_0x11ba17:0x6f1,_0x589b98:0x6a8,_0x3655e2:0x542,_0x163231:0x1ba,_0x49c94c:0x669,_0x4eb469:0x491,_0x186979:0x35b,_0xf2336d:0x1c1,_0x5d00c4:0x1c,_0x2aa577:0x77,_0x182e57:0x10d,_0x4c6849:0xf0,_0x2b75cd:0x5d,_0xd75501:0x582,_0x2c3b0b:0x6e1,_0x128568:0x58f,_0xaa2c54:0x983,_0x39e957:0xa35,_0x231e1a:0x844};function _0x6e173e(_0x1eb827,_0x5ccee6,_0x47609f,_0x18e730){return _0x58a4(_0x47609f-0x34e,_0x5ccee6);}let _0x591956=typeof _0x2f36c4[_0x6e173e(_0xc1cacd._0x5f0ed9,_0xc1cacd._0x1a9b08,0x689,_0xc1cacd._0x4568f0)]?.[_0x24c853(0x177,_0xc1cacd._0x3a5361,_0xc1cacd._0x24f574,0x1ff)]==_0x6e173e(0x7c7,_0xc1cacd._0x1ff882,0x7af,_0xc1cacd._0x11ba17)?_0x2f36c4[_0x6e173e(_0xc1cacd._0x589b98,_0xc1cacd._0x3655e2,0x689,0x67a)][_0x24c853(0x47,0xbb,0x241,_0xc1cacd._0x163231)][_0x6e173e(0x2c1,_0xc1cacd._0x49c94c,_0xc1cacd._0x4eb469,_0xc1cacd._0x186979)]():void 0x0,_0x179910=_0x2f36c4[_0x24c853(_0xc1cacd._0xf2336d,-_0xc1cacd._0x5d00c4,_0xc1cacd._0x2aa577,-_0xc1cacd._0x182e57)]?.[_0x24c853(-_0xc1cacd._0x4c6849,_0xc1cacd._0x2b75cd,-0x186,-0x2e3)],_0x59038e=_0x179910&&typeof _0x179910==_0x6e173e(_0xc1cacd._0xd75501,_0xc1cacd._0x2c3b0b,0x699,_0xc1cacd._0x128568)&&Object['keys'](_0x179910)[_0x6e173e(_0xc1cacd._0xaa2c54,_0xc1cacd._0x39e957,_0xc1cacd._0x231e1a,0x8e9)]>0x0,_0x234285=_0x591956&&_0x591956[_0x24c853(0x338,0x425,0x232,0x84)]>0x0?_0x591956:void 0x0;if(_0x234285&&!_0x4d045c['isAbsolute'](_0x234285)){let _0x3f3365=pi(_0x76183a);_0x3f3365?_0x234285=_0x4d045c[_0x6e173e(0x832,0x649,0x69a,0x7fb)](_0x4d045c['dirname'](_0x3f3365['path']),_0x234285):_0x234285=_0x4d045c['resolve'](_0x234285);}function _0x24c853(_0x54873a,_0x52d565,_0x5643d3,_0x261eb4){return _0x58a4(_0x5643d3- -0x2c4,_0x54873a);}return{'configPath':_0x234285,'servers':_0x59038e?_0x179910:void 0x0};}function pi(_0x1d1c9d){const _0x5e3d9e={_0x594266:0x863,_0xc5c1f0:0x87c,_0x11be5e:0x3f6,_0x177a6e:0x51e,_0x5ddeb0:0x4f8,_0x938bdd:0x6f8,_0x9f0e3a:0xaa0,_0x1c95c6:0x95c},_0x28b9f6={_0x40d02c:0x6b};let _0x17b556=null;function _0x20af75(_0x3c0c67,_0x38da65,_0x5306ca,_0x44f48e){return _0x58a4(_0x3c0c67-0x3db,_0x38da65);}function _0x1d7036(_0x587745,_0x38b727,_0x154b10,_0x1f3e89){return _0x58a4(_0x154b10- -_0x28b9f6._0x40d02c,_0x1f3e89);}for(let _0x151847 of _0x1d1c9d){let _0x4a0579=_0x151847['data']?.[_0x20af75(0x716,_0x5e3d9e._0x594266,_0x5e3d9e._0xc5c1f0,0x651)]?.[_0x20af75(0x8e0,0x8b9,0x805,0x732)];typeof _0x4a0579==_0x1d7036(0x531,0x51e,_0x5e3d9e._0x11be5e,0x572)&&_0x4a0579[_0x20af75(_0x5e3d9e._0x177a6e,_0x5e3d9e._0x5ddeb0,_0x5e3d9e._0x938bdd,0x366)]()[_0x20af75(0x8d1,0x7a2,_0x5e3d9e._0x9f0e3a,_0x5e3d9e._0x1c95c6)]>0x0&&(_0x17b556=_0x151847);}return _0x17b556;}import*as _0x123f7d from'fs';import*as _0x21b389 from'os';import*as _0x674907 from'path';import{parse as _0x63fe93,stringify as _0xb7f763}from'yaml';var Hr=[_0x3eba7a(0x309,0x3d,0x1ee,0x1c8),'config.yml','config.json'],Ge=class t{constructor(_0x43a63b=()=>{}){const _0x2b9cac={_0x190dac:0x1a7,_0x4d3926:0x416,_0x36a7a5:0x50f,_0x12db35:0x7c,_0x216edb:0x295,_0x94cdc1:0xc5,_0x3b012a:0x151,_0x4620fc:0x2f8,_0xef7228:0x1f0,_0x530cb9:0x423,_0x45a14b:0x2b7,_0x32eb74:0x1fa,_0x2afd76:0x21c,_0x18834d:0x2d7},_0x2ce297={_0x5437c8:0x10c},_0x11aa3e={_0x18366a:0x27};this[_0x5ec3f2(0x2e0,_0x2b9cac._0x190dac,0x255,0x193)]=_0x43a63b,this[_0x5ec3f2(0x52a,_0x2b9cac._0x4d3926,0x47a,_0x2b9cac._0x36a7a5)]=_0x674907[_0x104ab9(_0x2b9cac._0x12db35,-0x234,-0x94,0x14f)](_0x21b389[_0x104ab9(_0x2b9cac._0x216edb,0x23d,0x175,_0x2b9cac._0x94cdc1)](),'.nuvin-cli'),this[_0x104ab9(-0x83,0x113,0xcf,-0xd0)]=_0x674907[_0x5ec3f2(0x25a,_0x2b9cac._0x3b012a,_0x2b9cac._0x4620fc,0xdd)](process['cwd'](),'.nuvin-cli');function _0x104ab9(_0x5b4d51,_0x232a9a,_0x178e29,_0x90c53f){return _0x3eba7a(_0x5b4d51-_0x11aa3e._0x18366a,_0x232a9a-0xb5,_0x232a9a,_0x178e29-0x1b);}this[_0x104ab9(-0x2e,_0x2b9cac._0xef7228,0xe7,-0x53)]={},this[_0x5ec3f2(_0x2b9cac._0x530cb9,_0x2b9cac._0x45a14b,0x4ce,0x5d3)]={};function _0x5ec3f2(_0x19029d,_0x4efd55,_0x31ee77,_0x51baa3){return _0x3eba7a(_0x19029d-_0x2ce297._0x5437c8,_0x4efd55-0xcc,_0x4efd55,_0x19029d-0x309);}this[_0x5ec3f2(_0x2b9cac._0x32eb74,0x7f,_0x2b9cac._0x2afd76,_0x2b9cac._0x18834d)]=_0x18d556;}static{this['instance']=null;}static[_0x3eba7a(0x206,0x2c0,0x33,0x1ac)](_0x4de797){const _0x5ab245={_0x3fc70a:0xbe,_0x575456:0xa3,_0x147d22:0xc9,_0x208eb8:0x1fd,_0x2dcc81:0x41b,_0x37d139:0x4b7},_0x3a6f1={_0x58d43c:0x21};function _0x596c67(_0x55fc90,_0x2c260e,_0x2a3fa6,_0x2dcb40){return _0x199b7d(_0x55fc90-0x49,_0x55fc90- -0x3b6,_0x2a3fa6-0x1e,_0x2c260e);}function _0x963a42(_0x5ef574,_0x309914,_0x109c05,_0xbf2db8){return _0x3eba7a(_0x5ef574-0x6e,_0x309914-_0x3a6f1._0x58d43c,_0x109c05,_0x309914-0x4ea);}return t[_0x596c67(_0x5ab245._0x3fc70a,-_0x5ab245._0x575456,_0x5ab245._0x147d22,_0x5ab245._0x208eb8)]||(t['instance']=new t(_0x4de797)),t[_0x963a42(_0x5ab245._0x2dcc81,_0x5ab245._0x37d139,0x363,0x5ee)];}static[_0x3eba7a(0x28b,0x125,0x9c,0x121)](){const _0x455ac1={_0x1c4772:0x33b,_0x349eea:0x242,_0x19e19b:0x43f},_0x411141={_0x3b09c1:0xbb};function _0x51f639(_0x4ede42,_0x4db000,_0x4a348b,_0x31f819){return _0x3eba7a(_0x4ede42-0x16e,_0x4db000-_0x411141._0x3b09c1,_0x4a348b,_0x4ede42-0x36e);}t[_0x51f639(_0x455ac1._0x1c4772,_0x455ac1._0x349eea,_0x455ac1._0x19e19b,0x21f)]=null;}async[_0x199b7d(0x309,0x401,0x31c,0x564)](_0x3f5d23){const _0x2e39e0={_0x414ed4:0x1e,_0x485409:0x287,_0x28c3e6:0x305,_0x108975:0x25b,_0x1034b7:0xd,_0xe0b08e:0x116,_0xa00d53:0x2fc,_0x35900c:0x4f,_0x48945f:0xbe,_0x1b85f8:0x189,_0x24e725:0x85,_0x568f59:0x1b3,_0x1d190b:0x3fb,_0x14716f:0xb2,_0x3dd24e:0xd4,_0x44dc6e:0x1df,_0x4b0fb9:0xac,_0x2af796:0x2e1,_0x369d8d:0x47f,_0x132973:0x465,_0x2eec40:0xd1,_0xf99d07:0x1f7,_0x29b1c6:0x21f,_0x419150:0x152,_0x1a3ba8:0x2e1,_0x4de3c0:0x30d,_0x7343fa:0x446,_0x9627f9:0x1c7,_0x42b4c6:0x314,_0x351b65:0x20,_0x541eb:0x14e,_0x282c75:0x192,_0x15b4fc:0x44,_0x85057c:0xe7},_0x35e233={_0x4350d7:0x147},_0x202fa9={_0x39a643:0x1e2,_0xe00766:0x7d};function _0x5125c4(_0x3a339b,_0x1559e1,_0x3d0a50,_0x353b89){return _0x199b7d(_0x3a339b-_0x202fa9._0x39a643,_0x3a339b- -0x3e7,_0x3d0a50-_0x202fa9._0xe00766,_0x1559e1);}function _0x46fcb1(_0x2df518,_0x511e4f,_0x2ef516,_0x312004){return _0x199b7d(_0x2df518-0x1b1,_0x511e4f- -0x40a,_0x2ef516-_0x35e233._0x4350d7,_0x2ef516);}this[_0x5125c4(0x1e3,-_0x2e39e0._0x414ed4,_0x2e39e0._0x485409,_0x2e39e0._0x28c3e6)]||(this[_0x46fcb1(0x368,0x1c0,0x3bf,_0x2e39e0._0x108975)]=new _0x4f6f10(this[_0x46fcb1(_0x2e39e0._0x1034b7,0x74,0x75,_0x2e39e0._0xe0b08e)]),await this[_0x5125c4(0x1e3,_0x2e39e0._0xa00d53,0x229,0x331)]['initialize']()),this[_0x5125c4(-_0x2e39e0._0x35900c,-_0x2e39e0._0x48945f,_0x2e39e0._0x1b85f8,-_0x2e39e0._0x24e725)]=_0x3f5d23||await this[_0x5125c4(0x1e3,_0x2e39e0._0x568f59,-0x5,0x107)][_0x46fcb1(_0x2e39e0._0x1d190b,0x278,0x2fb,0x195)](),this[_0x5125c4(0x1e3,_0x2e39e0._0x14716f,0x1a7,_0x2e39e0._0x3dd24e)]['isDefault'](this[_0x5125c4(-_0x2e39e0._0x35900c,-0xb,-_0x2e39e0._0x44dc6e,-_0x2e39e0._0x4b0fb9)])?this[_0x5125c4(_0x2e39e0._0x2af796,0x408,_0x2e39e0._0x369d8d,_0x2e39e0._0x132973)]=_0x674907['join'](_0x21b389[_0x46fcb1(_0x2e39e0._0x2eec40,_0x2e39e0._0xf99d07,0x235,0x53)](),_0x5125c4(_0x2e39e0._0x29b1c6,_0x2e39e0._0x419150,0x1eb,0x1e8)):this[_0x5125c4(_0x2e39e0._0x1a3ba8,_0x2e39e0._0x4de3c0,_0x2e39e0._0x7343fa,0x171)]=this[_0x5125c4(0x1e3,-0xf,_0x2e39e0._0x9627f9,_0x2e39e0._0x42b4c6)][_0x5125c4(0x20,-_0x2e39e0._0x351b65,_0x2e39e0._0x541eb,_0x2e39e0._0x282c75)](this[_0x5125c4(-0x4f,_0x2e39e0._0x15b4fc,-_0x2e39e0._0x85057c,0x2c)]);}['getProfileManager'](){const _0x466621={_0xd96a71:0x7a9,_0x538536:0x666,_0x52c38c:0x8e0},_0x394a39={_0x214543:0x60d};function _0x4f4795(_0x46808a,_0x10f5b5,_0x2d3451,_0x39f019){return _0x3eba7a(_0x46808a-0x1a2,_0x10f5b5-0xcd,_0x2d3451,_0x46808a-_0x394a39._0x214543);}return this[_0x4f4795(0x730,_0x466621._0xd96a71,_0x466621._0x538536,_0x466621._0x52c38c)];}['getCurrentProfile'](){const _0x14604f={_0x2d504a:0x2e3,_0x1d93c3:0x2d0},_0x41c15d={_0x2821e1:0x11};function _0x3df6fc(_0x5b2423,_0x5ce84c,_0x440700,_0x373a68){return _0x199b7d(_0x5b2423-0x1f3,_0x440700- -_0x41c15d._0x2821e1,_0x440700-0x198,_0x5ce84c);}return this[_0x3df6fc(0x3fb,_0x14604f._0x2d504a,0x387,_0x14604f._0x1d93c3)];}async[_0x3eba7a(0x17,0x90,0x16e,-0x1f)](_0x38e694={}){const _0x5d88fe={_0xb1e7b6:0x544,_0x402478:0x4ba,_0x956683:0x5c2,_0x1b722d:0x66,_0x396323:0x2c,_0x1a7b97:0x69e,_0x468259:0x767,_0x2b300a:0x678,_0x4d5874:0x7a2,_0x516cf8:0x4c1,_0x388551:0x70c,_0x12ac64:0x73d,_0x38fc2d:0x703,_0x49a335:0xd4,_0x2399fd:0x724,_0x1f9b97:0x620,_0x58dda1:0x7b1,_0x36d14d:0x3e8,_0x33b988:0x329,_0x5b7c25:0x71d,_0x4b97b7:0x7a2,_0x4690aa:0x504,_0x86ae00:0x51a,_0x4cb0a5:0x681,_0x335dae:0x814,_0xf2030d:0x8fb,_0x1a057c:0xca,_0x499f2b:0xb6,_0x1fcba5:0x168,_0x1e729f:0x37,_0x53fdca:0x3a5,_0x3bf6be:0x1ee,_0x6c827:0x5,_0xedf4f8:0xfa,_0x2d8f5c:0x5bc,_0x14ecde:0x116,_0x591a7d:0xbb},_0x5b42c5={_0x128d4a:0x1d,_0x384844:0xa2,_0x2b07a3:0xc};await this['initializeProfile'](_0x38e694[_0x28f7f5(0x686,_0x5d88fe._0xb1e7b6,_0x5d88fe._0x402478,_0x5d88fe._0x956683)]);let _0x14e149=_0x38e694[_0x336f0d(-0x158,-0x122,_0x5d88fe._0x1b722d,_0x5d88fe._0x396323)]?_0x674907[_0x28f7f5(0x6e7,_0x5d88fe._0x1a7b97,0x608,_0x5d88fe._0x468259)](_0x38e694['cwd']):process[_0x28f7f5(_0x5d88fe._0x2b300a,_0x5d88fe._0x4d5874,_0x5d88fe._0x516cf8,0x57d)]();this[_0x28f7f5(_0x5d88fe._0x388551,_0x5d88fe._0x12ac64,_0x5d88fe._0x38fc2d,0x870)]=_0x674907['join'](_0x14e149,_0x336f0d(0x1e3,0x26d,_0x5d88fe._0x49a335,0x16b)),this[_0x28f7f5(_0x5d88fe._0x2399fd,_0x5d88fe._0x1f9b97,0x7fb,_0x5d88fe._0x58dda1)]={};function _0x28f7f5(_0x2e7358,_0x4bee29,_0x127103,_0x3570ed){return _0x199b7d(_0x2e7358-0x16b,_0x2e7358-0x1b1,_0x127103-0x100,_0x3570ed);}let _0x42fbb2=[],_0x137cd7=await this[_0x28f7f5(0x51a,0x573,_0x5d88fe._0x36d14d,0x646)]('global',this[_0x336f0d(0x412,_0x5d88fe._0x33b988,0x340,0x22d)]);_0x137cd7&&_0x42fbb2[_0x28f7f5(0x6a6,_0x5d88fe._0x5b7c25,_0x5d88fe._0x4b97b7,_0x5d88fe._0x4690aa)](_0x137cd7);function _0x336f0d(_0x105d88,_0x548b03,_0x506b26,_0x3b2545){return _0x3eba7a(_0x105d88-_0x5b42c5._0x128d4a,_0x548b03-_0x5b42c5._0x384844,_0x105d88,_0x3b2545-_0x5b42c5._0x2b07a3);}let _0x50da94=await this[_0x28f7f5(_0x5d88fe._0x86ae00,0x592,0x371,_0x5d88fe._0x4cb0a5)](_0x28f7f5(_0x5d88fe._0x335dae,0x9ff,_0x5d88fe._0xf2030d,0x6f2),this[_0x336f0d(-0x8,0x130,-_0x5d88fe._0x1a057c,0xc0)]);if(_0x50da94&&_0x42fbb2[_0x336f0d(-_0x5d88fe._0x499f2b,-_0x5d88fe._0x1fcba5,-_0x5d88fe._0x1e729f,0x5a)](_0x50da94),_0x38e694[_0x336f0d(0x2,0x2eb,_0x5d88fe._0x53fdca,_0x5d88fe._0x3bf6be)]){let _0x3d471c=_0x674907[_0x336f0d(0x24f,-_0x5d88fe._0x6c827,0xb4,0x9b)](_0x14e149,_0x38e694[_0x336f0d(_0x5d88fe._0xedf4f8,0x14b,0xa7,_0x5d88fe._0x3bf6be)]),_0x579a75=await this['loadFromScope'](_0x28f7f5(0x55a,0x4c0,0x66b,_0x5d88fe._0x2d8f5c),_0x3d471c,!0x0);_0x579a75&&_0x42fbb2['push'](_0x579a75);}return this[_0x336f0d(-0xf2,-_0x5d88fe._0x14ecde,0x1a,-0x170)](),{'config':Rt(this[_0x336f0d(0xf9,0x2d6,_0x5d88fe._0x591a7d,0x126)]),'sources':_0x42fbb2};}[_0x199b7d(0x770,0x664,0x68b,0x729)](_0x1d89ac,_0x25fe9a=_0x199b7d(0x508,0x3c8,0x2f5,0x2b6)){const _0x50c1a5={_0x5a95a3:0x6e0,_0xbb7210:0x3ec},_0x200bb3={_0x4cfab3:0x1b4},_0x1ff275={_0x58d976:0x1de,_0x417e93:0x29a};function _0x7616da(_0x5097a2,_0x53b847,_0x19333d,_0x4aadb8){return _0x199b7d(_0x5097a2-_0x1ff275._0x58d976,_0x53b847- -_0x1ff275._0x417e93,_0x19333d-0x1c7,_0x19333d);}let _0x4bbfc2={'scope':_0x25fe9a,'path':_0x40c2ee(0x5ac,0x5a6,0x5df,_0x50c1a5._0x5a95a3),'format':_0x7616da(0x334,0x459,_0x50c1a5._0xbb7210,0x39f),'data':_0x1d89ac};function _0x40c2ee(_0x4c337d,_0x5583e8,_0x425938,_0x3c7a3b){return _0x199b7d(_0x4c337d-0x1d9,_0x425938-_0x200bb3._0x4cfab3,_0x425938-0x160,_0x5583e8);}this['scopeData'][_0x25fe9a]=_0x4bbfc2,this['recombine']();}[_0x199b7d(0x4ef,0x32b,0x299,0x521)](){const _0x3d08a6={_0xf481b2:0x95,_0x213025:0x20f,_0x303484:0x10a,_0x2a6ce2:0x98,_0x3d637e:0x1eb,_0x454a0b:0x8c,_0x21eb04:0x88,_0x3864a3:0x104,_0x11d334:0x288,_0x9b2d4b:0xc4,_0x239e8f:0x119},_0x501acd={_0x4129be:0x1e1,_0x430ca8:0x95},_0x1296c2={_0x386b43:0x441,_0x5a3c6e:0x1b8};function _0x4787da(_0x4bbaae,_0x4ef738,_0x3a0f14,_0x555ea9){return _0x199b7d(_0x4bbaae-0x18b,_0x4ef738- -_0x1296c2._0x386b43,_0x3a0f14-_0x1296c2._0x5a3c6e,_0x555ea9);}function _0x11765d(_0x1b7ec1,_0x5b74d2,_0x36788b,_0x61bcab){return _0x199b7d(_0x1b7ec1-_0x501acd._0x4129be,_0x61bcab- -0x454,_0x36788b-_0x501acd._0x430ca8,_0x36788b);}let _0x10e7f7=['global',_0x11765d(_0x3d08a6._0xf481b2,0x366,0xa6,_0x3d08a6._0x213025),_0x4787da(_0x3d08a6._0x303484,-_0x3d08a6._0x2a6ce2,-0x63,0x8),'env',_0x11765d(-0xae,-0x28f,-_0x3d08a6._0x3d637e,-_0x3d08a6._0x454a0b)][_0x11765d(_0x3d08a6._0x21eb04,_0x3d08a6._0x3864a3,0x2a0,_0x3d08a6._0x11d334)](_0x487706=>this[_0x11765d(0x61,-0x9b,0x309,0x11f)][_0x487706]?this[_0x11765d(0xf5,-0x2a,0x6e,0x11f)][_0x487706][_0x11765d(0x2d1,0x1e7,0x3cd,0x25b)]:null)[_0x11765d(0x1c1,_0x3d08a6._0x9b2d4b,-_0x3d08a6._0x239e8f,0xe0)](_0x4a6b50=>!!_0x4a6b50);this['combined']=kt(_0x10e7f7);}[_0x3eba7a(0x90,-0x2df,-0xed,-0x157)](){const _0x571896={_0x37bbf5:0x319,_0x5139c4:0x187};function _0x41060e(_0x38efaa,_0x4dbc31,_0x358f9d,_0x3883e6){return _0x3eba7a(_0x38efaa-0x1a7,_0x4dbc31-0x163,_0x358f9d,_0x38efaa-0x1ff);}return Rt(this[_0x41060e(_0x571896._0x37bbf5,0x24d,0x279,_0x571896._0x5139c4)]);}['getScopeSource'](_0x561d58){const _0x1d8725={_0x40e083:0x3,_0x19aac8:0x8d,_0x4f7731:0x26d,_0x66b3ef:0x503,_0x6de45b:0x6a6,_0x9d3c19:0x3fb},_0x1ef202={_0x570b2d:0x1b5},_0x1b0776={_0x122405:0x437};function _0x4a065d(_0x4c896e,_0x4de532,_0x1f2df3,_0x3bc4b3){return _0x3eba7a(_0x4c896e-0xf7,_0x4de532-0x86,_0x3bc4b3,_0x4c896e-_0x1b0776._0x122405);}function _0x54e5cf(_0x58b0aa,_0x25d4ee,_0x55aa94,_0x15d88f){return _0x199b7d(_0x58b0aa-_0x1ef202._0x570b2d,_0x25d4ee- -0x4e6,_0x55aa94-0x18a,_0x15d88f);}return this[_0x54e5cf(_0x1d8725._0x40e083,_0x1d8725._0x19aac8,_0x1d8725._0x4f7731,0x91)][_0x561d58]?{...this[_0x4a065d(_0x1d8725._0x66b3ef,_0x1d8725._0x6de45b,_0x1d8725._0x9d3c19,0x59d)][_0x561d58]}:null;}async[_0x3eba7a(0x347,0x10a,0x102,0x23e)](_0x11f2dc,_0x260ff2){const _0xc26d0d={_0x4554a0:0x4c,_0x36face:0x135,_0x23d7bd:0x1aa,_0x45b891:0x2,_0x5f40ff:0x18f,_0x1026ed:0x5c,_0x40e38c:0x2a5,_0xd6a94a:0x365,_0x25c0fe:0x142,_0x3f4bde:0x203,_0x4f8b66:0xac,_0x4b09ea:0x1ba,_0x2e84a3:0x8e,_0x4c1499:0x1b8,_0x431144:0x254,_0x511efe:0x474,_0x4fa24b:0x583,_0x6cac32:0x650,_0x4ff596:0x47c,_0x1dde52:0x176,_0x28ef1a:0x29b,_0x33421f:0x244,_0x564dd9:0x25b,_0x138c6:0x15f},_0x5ea70a={_0x153100:0x93},_0x4ed391={_0x51193c:0x115,_0x1ea0a2:0x1af};if(_0x11f2dc===_0x18a662(0x1b,-_0xc26d0d._0x4554a0,0x1ac,-_0xc26d0d._0x36face)||_0x11f2dc===_0x18a662(_0xc26d0d._0x23d7bd,-_0xc26d0d._0x45b891,-_0xc26d0d._0x5f40ff,_0xc26d0d._0x1026ed))throw new Error(_0x595c83(_0xc26d0d._0x40e38c,_0xc26d0d._0xd6a94a,0x403,0x3c9));function _0x595c83(_0x28e9df,_0x5cfe3b,_0x10e9a2,_0x5c7295){return _0x3eba7a(_0x28e9df-_0x4ed391._0x51193c,_0x5cfe3b-_0x4ed391._0x1ea0a2,_0x5c7295,_0x28e9df-0x26c);}if(_0x11f2dc===_0x595c83(0x16e,0x15a,_0xc26d0d._0x25c0fe,0x2c4)&&!this[_0x18a662(0x18a,0x15f,_0xc26d0d._0x3f4bde,_0xc26d0d._0x4f8b66)]['explicit'])throw new Error('Cannot\x20update\x20explicit\x20config\x20because\x20no\x20--config\x20file\x20was\x20loaded.');let _0x3ee47a=this[_0x595c83(0x338,_0xc26d0d._0x4b09ea,0x3d5,0x2a1)][_0x11f2dc]??await this[_0x18a662(-0xec,-_0xc26d0d._0x2e84a3,0x136,-_0xc26d0d._0x4c1499)](_0x11f2dc);if(!_0x3ee47a)throw new Error(_0x18a662(0x90,0x114,-0xb3,_0xc26d0d._0x431144)+_0x11f2dc+'\x27.');let _0x897b33=kt([_0x3ee47a[_0x595c83(_0xc26d0d._0x511efe,_0xc26d0d._0x4fa24b,0x291,_0xc26d0d._0x6cac32)],_0x260ff2]);function _0x18a662(_0x6a359f,_0x50b9f3,_0x3ea6b6,_0x279a38){return _0x3eba7a(_0x6a359f-0x148,_0x50b9f3-0x18,_0x3ea6b6,_0x50b9f3-_0x5ea70a._0x153100);}await this[_0x595c83(0x41a,0x5e6,0x445,_0xc26d0d._0x4ff596)](_0x3ee47a[_0x595c83(0x1fd,0x244,_0xc26d0d._0x1dde52,0x77)],_0x3ee47a['format'],_0x897b33),_0x3ee47a[_0x18a662(0x128,_0xc26d0d._0x28ef1a,_0xc26d0d._0x33421f,_0xc26d0d._0x564dd9)]=_0x897b33,this[_0x18a662(0x51,_0xc26d0d._0x138c6,0x3e,0xb4)][_0x11f2dc]=_0x3ee47a,this[_0x18a662(-0x2da,-0xe9,-0x1b2,-0x176)]();}[_0x199b7d(0x576,0x5e0,0x4ec,0x6bd)](_0x128a50,_0x73e09e){const _0x4cb23b={_0x208522:0x67e,_0x2358fc:0x4a9,_0x59563d:0x745,_0x461918:0x62d,_0x27b1c8:0x6ce},_0x40b288={_0x547703:0x18e,_0x13de35:0x1c1};function _0x37aa0d(_0x3fb509,_0x17ff10,_0x1a8c8f,_0x1f589b){return _0x3eba7a(_0x3fb509-_0x40b288._0x547703,_0x17ff10-_0x40b288._0x13de35,_0x17ff10,_0x1a8c8f-0x399);}function _0x1b888a(_0x268e16,_0x1dfffc,_0x4f4b37,_0x549f24){return _0x199b7d(_0x268e16-0x1e8,_0x1dfffc- -0xb,_0x4f4b37-0x47,_0x4f4b37);}let _0x3d4098=_0x73e09e?this['scopeData'][_0x73e09e]?.['data']:this[_0x1b888a(_0x4cb23b._0x208522,0x5b6,0x6d4,_0x4cb23b._0x2358fc)];if(_0x3d4098)return this[_0x1b888a(_0x4cb23b._0x59563d,_0x4cb23b._0x461918,_0x4cb23b._0x27b1c8,0x757)](_0x3d4098,_0x128a50);}async['set'](_0x5e0fbc,_0x5e9231,_0x5941ff=_0x199b7d(0x61a,0x625,0x708,0x828)){const _0x1995e1={_0x5b5237:0x39e,_0x95631d:0x260,_0x2dd1bd:0x511,_0x398cbc:0x657,_0x204192:0x6fa,_0x28537c:0x519,_0xf70774:0x300,_0x3ecee6:0x85c,_0x340a57:0x870,_0x5e64f7:0x720,_0x475624:0x770,_0x27f7f3:0x26c,_0x1555a:0x1f3,_0x4147a0:0x763,_0x3ea059:0x9c2},_0x3841d5={_0x35e663:0x190,_0x336f01:0x1ad,_0x23208a:0x151};if(_0x5941ff===_0x4b3ffc(_0x1995e1._0x5b5237,_0x1995e1._0x95631d,0x3aa,0xc0)||_0x5941ff===_0xbb7cb7(0x5bf,0x613,_0x1995e1._0x2dd1bd,0x454)){let _0x22b7e4=this[_0xbb7cb7(_0x1995e1._0x398cbc,_0x1995e1._0x204192,0x77e,_0x1995e1._0x28537c)](_0x5e0fbc,_0x5e9231),_0xd94d9a=this[_0x4b3ffc(_0x1995e1._0xf70774,0x40b,_0x1995e1._0xf70774,0x55e)][_0x5941ff]?.[_0xbb7cb7(_0x1995e1._0x3ecee6,0x6b0,0x8f5,_0x1995e1._0x340a57)]??{},_0x138393=kt([_0xd94d9a,_0x22b7e4]);this['loadConfig'](_0x138393,_0x5941ff);return;}function _0xbb7cb7(_0x336c50,_0x311d77,_0xa5e8e3,_0x22e2af){return _0x199b7d(_0x336c50-_0x3841d5._0x35e663,_0x336c50-_0x3841d5._0x336f01,_0xa5e8e3-_0x3841d5._0x23208a,_0xa5e8e3);}if(_0x5941ff==='explicit'&&!this[_0xbb7cb7(_0x1995e1._0x5e64f7,0x808,0x889,_0x1995e1._0x475624)]['explicit'])throw new Error(_0x4b3ffc(0x278,_0x1995e1._0x27f7f3,0x41e,_0x1995e1._0x1555a));let _0x176b9c=this[_0xbb7cb7(0x657,_0x1995e1._0x4147a0,0x6fc,0x7f9)](_0x5e0fbc,_0x5e9231);function _0x4b3ffc(_0x1ef66c,_0x352f3d,_0x5ec5b9,_0x491f9b){return _0x199b7d(_0x1ef66c-0xe5,_0x352f3d- -0x168,_0x5ec5b9-0xbb,_0x5ec5b9);}await this[_0xbb7cb7(0x892,_0x1995e1._0x3ea059,0x84d,0x958)](_0x5941ff,_0x176b9c);}async['delete'](_0x145985,_0x1d2c98=_0x199b7d(0x5d1,0x625,0x651,0x58e)){const _0x26926b={_0x6c95b4:0x21c,_0x1cfdfb:0x188,_0x60930d:0xa3,_0x3c952c:0xa4,_0x28b286:0x50,_0x44fc30:0x1f7,_0x39db5c:0x4c,_0xeab0aa:0x196,_0x1d9d9a:0xba,_0x3fc7d2:0x4b,_0x3ad77a:0x49e,_0xf74fdd:0x383,_0x40ef0e:0x131,_0x3c85cd:0x108,_0x20e38f:0x391,_0xf417d7:0x244,_0x137463:0x1d3,_0x2b55f0:0x981,_0x134727:0x807,_0x25963f:0x537,_0xc4f9da:0x7d5,_0x115f2e:0x5f2,_0x1afdc3:0x5f5,_0x3ca606:0x681,_0x3be058:0x332,_0x10100a:0xbc,_0x5d3e32:0x7a,_0x3169f3:0x33,_0x38893a:0xc5,_0x5ae414:0x2b1,_0x28e052:0x7a4,_0x1d76aa:0x615,_0x2cf600:0x7fd,_0x3d44e:0x6ac},_0x44bdcd={_0x9b6741:0x1ad},_0x5a4a9c={_0x14aff7:0xf5};if(_0x1d2c98===_0x21fd85(-_0x26926b._0x6c95b4,-_0x26926b._0x1cfdfb,-_0x26926b._0x60930d,_0x26926b._0x3c952c)||_0x1d2c98===_0x21fd85(-_0x26926b._0x28b286,-_0x26926b._0x44fc30,-0x59,_0x26926b._0x39db5c))throw new Error('Cannot\x20delete\x20from\x20runtime-only\x20config\x20scope.');function _0x18fe24(_0x376682,_0x52c819,_0x4eaccb,_0x5da4b5){return _0x199b7d(_0x376682-0x3e,_0x376682-_0x5a4a9c._0x14aff7,_0x4eaccb-0xb5,_0x4eaccb);}if(_0x1d2c98===_0x21fd85(-0xe0,-_0x26926b._0xeab0aa,-0xc2,-0x5a)&&!this[_0x21fd85(_0x26926b._0x1d9d9a,_0x26926b._0x3fc7d2,0x108,0x41)][_0x18fe24(_0x26926b._0x3ad77a,0x559,_0x26926b._0xf74fdd,0x3ae)])throw new Error('Cannot\x20delete\x20from\x20explicit\x20config\x20because\x20no\x20--config\x20file\x20was\x20loaded.');let _0x15807b=this[_0x21fd85(-0x61,_0x26926b._0x40ef0e,_0x26926b._0x3c85cd,0x2c9)][_0x1d2c98];if(!_0x15807b)return;let _0x362c5b=_0x145985[_0x21fd85(0x113,0xea,0x1dd,0x255)]('.'),_0x4b1d52=Rt(_0x15807b[_0x21fd85(_0x26926b._0x20e38f,0xfd,_0x26926b._0xf417d7,_0x26926b._0x137463)]),_0x20bb06=_0x4b1d52;for(let _0x5ddcc2=0x0;_0x5ddcc2<_0x362c5b[_0x18fe24(0x7d5,0x649,0x92c,_0x26926b._0x2b55f0)]-0x1;_0x5ddcc2++){let _0x4efa77=_0x362c5b[_0x5ddcc2];if(!_0x4efa77||!_0x20bb06[_0x4efa77]||typeof _0x20bb06[_0x4efa77]!=_0x18fe24(0x62a,_0x26926b._0x134727,_0x26926b._0x25963f,0x75d))return;_0x20bb06=_0x20bb06[_0x4efa77];}function _0x21fd85(_0x314717,_0x1d58c5,_0x52a837,_0x53f5bd){return _0x3eba7a(_0x314717-0xd0,_0x1d58c5-_0x44bdcd._0x9b6741,_0x53f5bd,_0x52a837-0x3c);}let _0x1dddc6=_0x362c5b[_0x362c5b[_0x18fe24(_0x26926b._0xc4f9da,_0x26926b._0x115f2e,_0x26926b._0x1afdc3,_0x26926b._0x3ca606)]-0x1];_0x1dddc6&&delete _0x20bb06[_0x1dddc6],await this[_0x21fd85(_0x26926b._0x3be058,0x217,0x1ea,_0x26926b._0x10100a)](_0x15807b[_0x21fd85(-0x118,-_0x26926b._0x5d3e32,-_0x26926b._0x3169f3,-0x6c)],_0x15807b[_0x21fd85(_0x26926b._0x38893a,_0x26926b._0x5ae414,0x135,0x156)],_0x4b1d52),_0x15807b[_0x18fe24(_0x26926b._0x28e052,0x803,_0x26926b._0x1d76aa,0x7ab)]=_0x4b1d52,this[_0x18fe24(0x668,0x7c5,_0x26926b._0x2cf600,_0x26926b._0x3d44e)][_0x1d2c98]=_0x15807b,this['recombine']();}[_0x199b7d(0x832,0x638,0x519,0x564)](_0x2f85e5,_0x34f3a8){const _0x115675={_0x4b2c23:0x54b,_0x4d2f19:0x1e9,_0x46edbb:0x136,_0x3e0baf:0x122},_0x4ed274={_0x2a48be:0x192,_0xe53566:0x54d},_0x4e2a07={_0xfb9116:0x3};let _0x59bbc3=_0x34f3a8[_0x1e932a(_0x115675._0x4b2c23,0x6ae,0x4a5,0x53f)]('.'),_0x55856f=_0x2f85e5;function _0x1e932a(_0x9e20b,_0x27b6a1,_0xb6b37a,_0x5d3316){return _0x199b7d(_0x9e20b-0xf0,_0x5d3316- -0x109,_0xb6b37a-_0x4e2a07._0xfb9116,_0x27b6a1);}function _0x4814a1(_0x3d2f2e,_0x1132f8,_0x301ad9,_0x4b0f7d){return _0x199b7d(_0x3d2f2e-_0x4ed274._0x2a48be,_0x1132f8- -_0x4ed274._0xe53566,_0x301ad9-0x16f,_0x3d2f2e);}for(let _0x2bc33c of _0x59bbc3)if(_0x55856f&&typeof _0x55856f==_0x4814a1(_0x115675._0x4d2f19,-0x18,-_0x115675._0x46edbb,-_0x115675._0x3e0baf)&&_0x2bc33c in _0x55856f)_0x55856f=_0x55856f[_0x2bc33c];else return;return _0x55856f;}[_0x3eba7a(-0x5,0x48,-0xa3,0x3)](_0x7dc13e,_0x168946){const _0xa5c84f={_0x3afdf2:0xdd,_0x4f43bf:0x574,_0x3c5090:0x356,_0xef6e03:0x1d3,_0x31a641:0x538,_0x656165:0x2a1,_0x2839bd:0x3f0,_0x35c66b:0x374,_0x1ca904:0x153,_0x4a15ca:0x147,_0x15f44f:0x61c,_0x526095:0x56c,_0x10ff93:0x62b,_0xa47db8:0x37d,_0x464d3e:0x4b7,_0x343a75:0x183,_0x571974:0x13a,_0x5454d3:0x3af,_0x259130:0x3d9,_0x236bc4:0x3a9,_0x6411fd:0x310,_0x1e5cee:0x13a,_0x542526:0x4b3,_0x366446:0x375,_0x437a93:0x4d9,_0x69e551:0x2e1,_0x2d4220:0x10b,_0xc8c256:0x1c6,_0x4764f4:0x136,_0x3f4039:0x1b2,_0x5a47f3:0x2d5,_0x274022:0x72,_0x1e5dd6:0xa7,_0x2c0f0e:0x461,_0x15e10e:0x692,_0x53ffa4:0x4d9,_0x40e647:0x3ce,_0x1cb877:0x465,_0x44183d:0x59c,_0x2a0114:0x512,_0x40d657:0xcf,_0x417f77:0xa6,_0x1dbdf7:0xd,_0x1b6f35:0x140,_0x5da027:0x48,_0x5248e6:0x303,_0x41b634:0x5e7,_0x58525c:0x3b5,_0x505138:0x119,_0x144b28:0x1f4,_0x5c6d61:0x114,_0x3b614c:0x11f,_0x2370de:0x57,_0x2469cd:0x28b,_0xf81842:0x29f,_0x9ecdd:0x1b2},_0xfb0d44={_0x1729bc:0x69,_0x3c9e52:0x116},_0x5599ea={_0x266834:0x1d4,_0x4b5b4d:0x107,_0x1f3600:0x33b};let _0x43122f=this[_0x2a0e69(-_0xa5c84f._0x3afdf2,-0x11b,0x40,-0x262)](_0x7dc13e),_0x22ae88={},_0x2a2b2c=_0x22ae88;function _0x3eacc1(_0x5f58b,_0x34db4d,_0x15e36d,_0x5efca2){return _0x3eba7a(_0x5f58b-_0x5599ea._0x266834,_0x34db4d-_0x5599ea._0x4b5b4d,_0x5f58b,_0x34db4d-_0x5599ea._0x1f3600);}for(let _0x5b43b0=0x0;_0x5b43b0<_0x43122f[_0x3eacc1(0x435,_0xa5c84f._0x4f43bf,0x6f1,0x58f)]-0x1;_0x5b43b0++){let _0xf05554=_0x43122f[_0x5b43b0];if(_0xf05554){if(_0xf05554[_0x3eacc1(_0xa5c84f._0x3c5090,0x368,_0xa5c84f._0xef6e03,_0xa5c84f._0x31a641)]){if(!Array['isArray'](_0x2a2b2c))throw new Error(_0x2a0e69(_0xa5c84f._0x656165,0x217,0x17e,0x28f)+_0xf05554[_0x3eacc1(0x399,_0xa5c84f._0x2839bd,0x3b7,0x20b)]);let _0xd23a18=Number[_0x2a0e69(0x24c,_0xa5c84f._0x35c66b,_0xa5c84f._0x1ca904,0x24a)](_0xf05554[_0x2a0e69(0x10b,-0x9d,0xcf,_0xa5c84f._0x4a15ca)],0xa);if(Number[_0x3eacc1(_0xa5c84f._0x15f44f,_0xa5c84f._0x526095,_0xa5c84f._0x10ff93,_0xa5c84f._0xa47db8)](_0xd23a18)||_0xd23a18<0x0)throw new Error(_0x3eacc1(0x225,0x2f2,_0xa5c84f._0x464d3e,_0xa5c84f._0x343a75)+_0xf05554['name']);for(;_0x2a2b2c[_0x2a0e69(0x28f,_0xa5c84f._0x571974,_0xa5c84f._0x5454d3,0x147)]<=_0xd23a18;)_0x2a2b2c[_0x3eacc1(0x4ff,0x389,0x273,_0xa5c84f._0x259130)]({});_0x2a2b2c=_0x2a2b2c[_0xd23a18];}else{if(_0xf05554[_0x3eacc1(0x556,_0xa5c84f._0x236bc4,0x44f,_0xa5c84f._0x6411fd)]){let _0x1d2f3e=[];if(Array[_0x2a0e69(0x1f4,_0xa5c84f._0x1e5cee,0x29e,0x1c8)](_0x2a2b2c))throw new Error('Cannot\x20create\x20nested\x20arrays\x20in\x20config\x20path');_0x2a2b2c[_0xf05554[_0x3eacc1(0x530,0x3f0,0x571,_0xa5c84f._0x542526)]]=_0x1d2f3e,_0x2a2b2c=_0x1d2f3e;}else{if(Array[_0x3eacc1(_0xa5c84f._0x366446,_0xa5c84f._0x437a93,0x2eb,_0xa5c84f._0x69e551)](_0x2a2b2c))throw new Error('Cannot\x20use\x20property\x20'+_0xf05554[_0x2a0e69(_0xa5c84f._0x2d4220,0xfe,0x257,0x215)]+_0x3eacc1(-0x3e,_0xa5c84f._0xc8c256,_0xa5c84f._0x4764f4,_0xa5c84f._0x3f4039));_0x2a2b2c[_0xf05554[_0x2a0e69(0x10b,_0xa5c84f._0x5a47f3,0x27a,_0xa5c84f._0x274022)]]={},_0x2a2b2c=_0x2a2b2c[_0xf05554['name']];}}}}let _0x4a943a=_0x43122f[_0x43122f[_0x2a0e69(0x28f,_0xa5c84f._0x1e5dd6,0x373,_0xa5c84f._0x2c0f0e)]-0x1];if(_0x4a943a){if(_0x4a943a['isArrayIndex']){if(!Array[_0x3eacc1(_0xa5c84f._0x15e10e,_0xa5c84f._0x53ffa4,0x487,_0xa5c84f._0x40e647)](_0x2a2b2c))throw new Error(_0x3eacc1(_0xa5c84f._0x1cb877,0x586,_0xa5c84f._0x44183d,_0xa5c84f._0x2a0114)+_0x4a943a[_0x2a0e69(0x10b,_0xa5c84f._0x40d657,-_0xa5c84f._0x417f77,-0xd8)]);let _0x3e2ca6=Number[_0x2a0e69(0x24c,0x425,0x1ac,0x385)](_0x4a943a['name'],0xa);if(Number['isNaN'](_0x3e2ca6)||_0x3e2ca6<0x0)throw new Error(_0x2a0e69(_0xa5c84f._0x1dbdf7,_0xa5c84f._0x1b6f35,-0x41,_0xa5c84f._0x5da027)+_0x4a943a[_0x3eacc1(0x20d,_0xa5c84f._0x2839bd,0x41b,_0xa5c84f._0x5248e6)]);for(;_0x2a2b2c[_0x3eacc1(0x68f,0x574,_0xa5c84f._0x41b634,_0xa5c84f._0x58525c)]<=_0x3e2ca6;)_0x2a2b2c[_0x2a0e69(0xa4,0xc9,-_0xa5c84f._0x505138,0x290)](void 0x0);_0x2a2b2c[_0x3e2ca6]=_0x168946;}else{if(Array[_0x2a0e69(_0xa5c84f._0x144b28,_0xa5c84f._0x5c6d61,0x1a8,0x4b)](_0x2a2b2c))throw new Error('Cannot\x20set\x20property\x20'+_0x4a943a['name']+_0x2a0e69(-_0xa5c84f._0x3b614c,_0xa5c84f._0x2370de,-_0xa5c84f._0x2469cd,-_0xa5c84f._0xf81842));_0x2a2b2c[_0x4a943a[_0x2a0e69(_0xa5c84f._0x2d4220,0x68,0x222,_0xa5c84f._0x9ecdd)]]=_0x168946;}}function _0x2a0e69(_0x170092,_0xb8e427,_0x510961,_0x2245a6){return _0x3eba7a(_0x170092-_0xfb0d44._0x1729bc,_0xb8e427-_0xfb0d44._0x3c9e52,_0xb8e427,_0x170092-0x56);}return _0x22ae88;}[_0x3eba7a(-0x14,0x34,-0x74,-0x133)](_0x4e6190){const _0x10e6a5={_0x14ad87:0x389,_0x28f589:0x1db,_0x1205d7:0x1ca,_0x338d1b:0x3c8,_0x74a377:0x11f,_0x464626:0x53b,_0x377166:0x70c,_0x3d0462:0x139,_0x96f77e:0x77,_0x588ce1:0x20f},_0xa9e70={_0x13ca64:0x1cc},_0x3a5a62={_0x1f792a:0x89,_0x390bbb:0x29};function _0x43983e(_0x4e1f32,_0x29d427,_0x22c65f,_0x3d45c9){return _0x3eba7a(_0x4e1f32-0x160,_0x29d427-_0x3a5a62._0x1f792a,_0x4e1f32,_0x22c65f-_0x3a5a62._0x390bbb);}let _0x36f5e9=[],_0x25b356=_0x4e6190[_0x43983e(_0x10e6a5._0x14ad87,_0x10e6a5._0x28f589,_0x10e6a5._0x1205d7,_0x10e6a5._0x338d1b)]('.');function _0x2176d2(_0x240441,_0x90e607,_0x1dc65d,_0x5cf693){return _0x199b7d(_0x240441-0xc2,_0x90e607-_0xa9e70._0x13ca64,_0x1dc65d-0xe2,_0x1dc65d);}for(let _0x39d203 of _0x25b356){if(!_0x39d203)continue;let _0x848efe=_0x39d203[_0x43983e(-_0x10e6a5._0x74a377,0x11f,-0x75,0x6c)](/^(.+)\[(\d+)\]$/);_0x848efe?(_0x36f5e9[_0x2176d2(0x8bf,0x6c1,_0x10e6a5._0x464626,_0x10e6a5._0x377166)]({'name':_0x848efe[0x1]||'','isArrayIndex':!0x1,'createsArray':!0x0}),_0x36f5e9[_0x43983e(-0xbc,-_0x10e6a5._0x3d0462,_0x10e6a5._0x96f77e,0x243)]({'name':_0x848efe[0x2]||'','isArrayIndex':!0x0,'createsArray':!0x1})):_0x36f5e9[_0x43983e(0x70,_0x10e6a5._0x588ce1,0x77,0x1ee)]({'name':_0x39d203,'isArrayIndex':!0x1,'createsArray':!0x1});}return _0x36f5e9;}async['createEmptyScope'](_0x4fe39c){const _0x5b36bb={_0x4fb1d9:0x61d,_0x2b4490:0x639,_0x473751:0x735,_0x5cba36:0x6c0,_0x3be278:0x73e,_0xb4ca16:0x743,_0x4c883a:0x582,_0x4dd10a:0x667,_0x23760f:0x531,_0x4579ec:0x548,_0x33cbdd:0x421,_0x3fed6d:0x29c,_0x1452b8:0x350,_0xc80fa2:0x182,_0x25b75b:0x4b9,_0x9507f6:0x59a},_0x193f6a={_0x15ffff:0x27},_0xea6aa2={_0xe58a5:0x7c,_0x3ed19c:0x49f};let _0x437270=_0x4fe39c===_0x2f4455(_0x5b36bb._0x4fb1d9,_0x5b36bb._0x2b4490,0x807,_0x5b36bb._0x473751)?this[_0x2f4455(_0x5b36bb._0x5cba36,0x644,0x7f4,_0x5b36bb._0x3be278)]:this[_0x38789d(0x3e5,0x439,_0x5b36bb._0xb4ca16,_0x5b36bb._0x4c883a)],_0x35b7c9=_0x674907['join'](_0x437270,_0x2f4455(_0x5b36bb._0x4dd10a,_0x5b36bb._0x23760f,0x67b,0x4e7));await _0x123f7d[_0x2f4455(0x45f,0x30f,0x47c,_0x5b36bb._0x4579ec)][_0x2f4455(0x443,_0x5b36bb._0x33cbdd,0x313,_0x5b36bb._0x3fed6d)](_0x437270,{'recursive':!0x0});function _0x2f4455(_0x2026c3,_0x50ecc5,_0xadf2b,_0x51c475){return _0x3eba7a(_0x2026c3-_0xea6aa2._0xe58a5,_0x50ecc5-0x18a,_0x51c475,_0x2026c3-_0xea6aa2._0x3ed19c);}let _0x3c4cd9={};await this['writeConfigFile'](_0x35b7c9,_0x2f4455(_0x5b36bb._0x1452b8,0x4b4,0x554,0x1a4),_0x3c4cd9);function _0x38789d(_0x700772,_0x58fdbe,_0x57a53f,_0x20e0ac){return _0x199b7d(_0x700772-0x1cd,_0x20e0ac-_0x193f6a._0x15ffff,_0x57a53f-0xf5,_0x57a53f);}let _0x2c6768={'scope':_0x4fe39c,'path':_0x35b7c9,'format':_0x38789d(0x4d2,0x36f,_0x5b36bb._0xc80fa2,0x37f),'data':_0x3c4cd9};return this[_0x38789d(_0x5b36bb._0x25b75b,0x58c,0x781,_0x5b36bb._0x9507f6)][_0x4fe39c]=_0x2c6768,_0x2c6768;}async['loadFromScope'](_0x206e8c,_0x2c5be4,_0x1c9021=!0x1){const _0x108892={_0x49e689:0x13d,_0x2a74b7:0x2d9,_0x4c3df9:0x5b7,_0x538981:0x3d5,_0x387665:0x51e},_0x4573d4={_0xadb5d9:0xbc},_0x2872ca={_0x3165ae:0x146,_0x3b1dbb:0x452};function _0x5cf9ba(_0x2e1534,_0x20494b,_0x428777,_0x4a73c7){return _0x3eba7a(_0x2e1534-0x1b3,_0x20494b-_0x2872ca._0x3165ae,_0x428777,_0x4a73c7-_0x2872ca._0x3b1dbb);}let _0x2b57bd=this[_0x5cf9ba(0x245,_0x108892._0x49e689,0xe7,_0x108892._0x2a74b7)](_0x2c5be4);if(!_0x2b57bd){if(_0x1c9021)throw new Error('Config\x20file\x20not\x20found\x20at\x20'+_0x2c5be4);return null;}function _0x267570(_0x571866,_0x58a207,_0x4a9a1a,_0x4b3994){return _0x199b7d(_0x571866-0x1d1,_0x58a207-_0x4573d4._0xadb5d9,_0x4a9a1a-0x87,_0x4b3994);}let {data:_0x22a641,format:_0x3b6393}=await this['readConfigFile'](_0x2b57bd),_0x472147={'scope':_0x206e8c,'path':_0x2b57bd,'format':_0x3b6393,'data':_0x22a641};return this[_0x5cf9ba(_0x108892._0x4c3df9,0x5d3,_0x108892._0x538981,_0x108892._0x387665)][_0x206e8c]=_0x472147,_0x472147;}[_0x199b7d(0x4fe,0x32e,0x2d8,0x4d9)](_0x2518d8){const _0xfcda80={_0x2d4b5b:0x11b,_0x417a48:0xd2,_0x85f90a:0x99,_0x277d17:0x1ab,_0x184b19:0x10d,_0x5b8cf3:0x137,_0x1428ef:0x1c,_0x16c54d:0x375,_0x3fee2e:0x29c,_0x3c8d95:0x3aa,_0x5256e1:0x2de,_0x1c9a2c:0x3e8,_0x22fd9a:0x5ab,_0x3c4ca8:0x57d,_0x5cbfac:0x3e1,_0x2c8624:0x3d8},_0x2dccdf={_0x4f0332:0x1ba,_0x1ce647:0x52d};let _0x2948b1=_0x674907['resolve'](_0x2518d8);if(!_0x123f7d[_0x37eb6c(-0x124,-_0xfcda80._0x2d4b5b,-0x52,_0xfcda80._0x417a48)](_0x2948b1))return null;let _0x11f2a2=_0x123f7d[_0x37eb6c(_0xfcda80._0x85f90a,-0x217,-0x59,-_0xfcda80._0x277d17)](_0x2948b1);function _0x37eb6c(_0x47bd7,_0x2dfcb5,_0x25eee5,_0xeee957){return _0x3eba7a(_0x47bd7-0x72,_0x2dfcb5-0xcf,_0x47bd7,_0x25eee5-0xf3);}if(_0x11f2a2[_0x37eb6c(_0xfcda80._0x184b19,-_0xfcda80._0x5b8cf3,-0x7e,_0xfcda80._0x1428ef)]())return _0x2948b1;if(_0x11f2a2[_0x37eb6c(_0xfcda80._0x16c54d,0x234,_0xfcda80._0x3fee2e,_0xfcda80._0x3c8d95)]())for(let _0x49d137 of Hr){let _0x2b7dda=_0x674907['join'](_0x2948b1,_0x49d137);if(_0x123f7d[_0x5406ab(_0xfcda80._0x5256e1,_0xfcda80._0x1c9a2c,_0xfcda80._0x22fd9a,0x570)](_0x2b7dda)&&_0x123f7d[_0x5406ab(_0xfcda80._0x3c4ca8,_0xfcda80._0x5cbfac,_0xfcda80._0x2c8624,0x301)](_0x2b7dda)['isFile']())return _0x2b7dda;}function _0x5406ab(_0x2f5331,_0x198098,_0x57c5ac,_0xcdfbb5){return _0x3eba7a(_0x2f5331-0x19d,_0x198098-_0x2dccdf._0x4f0332,_0x57c5ac,_0x198098-_0x2dccdf._0x1ce647);}return null;}async[_0x3eba7a(0x24d,0x29c,0x94,0xc4)](_0x1d0e15){const _0x5b4533={_0x320293:0x12e,_0x5c2ffa:0xa4,_0xdcc236:0x1b6,_0x17f3f8:0x7f5,_0x499b66:0x6f5,_0x129d33:0x270,_0x181a2a:0x4ee,_0x491d16:0x609,_0x5cac91:0x19e,_0x261e5c:0x1b3,_0x123afa:0x21a,_0x5270b7:0x178,_0x5b2140:0x18d,_0x5ce0b4:0x3c4,_0x8a39c7:0x54d,_0x147bc6:0x760,_0x2bf127:0xbe,_0x2a8f54:0xa,_0x64cc2b:0x156,_0x2465c0:0x918,_0x1b5598:0x67a},_0x3cb92b={_0x3384c2:0x195},_0x4522e1={_0x475e31:0x50b,_0x2b9fd8:0x1e4};function _0x5d852a(_0x1c1dfa,_0x584336,_0x423e50,_0xbe301d){return _0x199b7d(_0x1c1dfa-0x100,_0x423e50- -_0x4522e1._0x475e31,_0x423e50-_0x4522e1._0x2b9fd8,_0xbe301d);}let _0x92719e=await _0x123f7d[_0x5d852a(0xc3,-_0x5b4533._0x320293,-_0x5b4533._0x5c2ffa,-_0x5b4533._0xdcc236)][_0x2da18b(_0x5b4533._0x17f3f8,0x7e0,_0x5b4533._0x499b66,0x864)](_0x1d0e15,_0x5d852a(-0x83,-_0x5b4533._0x129d33,-0x140,-0x26d));if(!_0x92719e[_0x2da18b(_0x5b4533._0x181a2a,0x4c9,0x4b3,_0x5b4533._0x491d16)]())return{'data':{},'format':Wr(_0x1d0e15)};function _0x2da18b(_0x35f1a7,_0x3346d5,_0x39f3be,_0x3a49f9){return _0x3eba7a(_0x35f1a7-_0x3cb92b._0x3384c2,_0x3346d5-0x157,_0x3346d5,_0x35f1a7-0x668);}let _0x163181=Wr(_0x1d0e15);try{if(_0x163181===_0x5d852a(-0xbd,-_0x5b4533._0x5cac91,-_0x5b4533._0x261e5c,-0x23d)){let _0x511957=_0x63fe93(_0x92719e)??{};if(ge(_0x511957))return{'data':_0x511957,'format':_0x163181};throw new Error(_0x5d852a(_0x5b4533._0x123afa,0x12e,_0x5b4533._0x5270b7,_0x5b4533._0x5b2140));}let _0x2cb2ee=JSON[_0x2da18b(0x5c1,_0x5b4533._0x5ce0b4,_0x5b4533._0x8a39c7,_0x5b4533._0x147bc6)](_0x92719e);if(ge(_0x2cb2ee))return{'data':_0x2cb2ee,'format':_0x163181};throw new Error(_0x5d852a(_0x5b4533._0x2bf127,-_0x5b4533._0x2a8f54,_0x5b4533._0x64cc2b,0x1ef));}catch(_0x30ad0e){throw new Error('Failed\x20to\x20parse\x20config\x20at\x20'+_0x1d0e15+':\x20'+(_0x30ad0e instanceof Error?_0x30ad0e[_0x2da18b(0x7d0,0x995,_0x5b4533._0x2465c0,_0x5b4533._0x1b5598)]:String(_0x30ad0e)));}}async[_0x3eba7a(0x293,0x17,0x162,0x1ae)](_0x579c5b,_0xf36a42,_0x566849){const _0x4f6c1b={_0x3f8be7:0x13b,_0x1da8fe:0x2ef,_0x6e5f81:0x335,_0x3ea680:0x4d5,_0x2e7a63:0x164,_0x1002f7:0x22b,_0x76a01:0x451,_0x267ff1:0x458,_0x333dc7:0x569,_0x5a3474:0x439},_0x12a61d={_0x15f839:0x26,_0x2d95d6:0x515},_0x2340c2={_0x1381bd:0x171,_0x5c0274:0x1d7};function _0x9758f4(_0x5df741,_0x4a00a2,_0x360393,_0x5368b8){return _0x199b7d(_0x5df741-_0x2340c2._0x1381bd,_0x4a00a2- -0x4bc,_0x360393-_0x2340c2._0x5c0274,_0x5df741);}let _0x1d5403=_0x674907[_0x9758f4(0xa0,-_0x4f6c1b._0x3f8be7,-_0x4f6c1b._0x1da8fe,-0x2c8)](_0x579c5b);await _0x123f7d[_0x57af77(0x4ae,_0x4f6c1b._0x6e5f81,0x3f1,_0x4f6c1b._0x3ea680)]['mkdir'](_0x1d5403,{'recursive':!0x0});let _0x455c8b=_0xf36a42===_0x9758f4(0x6e,-_0x4f6c1b._0x2e7a63,-_0x4f6c1b._0x1002f7,-0x1a8)?_0xb7f763(_0x566849):JSON[_0x57af77(0x539,_0x4f6c1b._0x76a01,0x406,_0x4f6c1b._0x267ff1)](_0x566849,null,0x2)+'\x0a';function _0x57af77(_0xdfd0c1,_0x59f109,_0x44f23d,_0x76f472){return _0x3eba7a(_0xdfd0c1-_0x12a61d._0x15f839,_0x59f109-0x151,_0xdfd0c1,_0x76f472-_0x12a61d._0x2d95d6);}await _0x123f7d[_0x57af77(0x390,0x5dd,0x5c4,_0x4f6c1b._0x3ea680)]['writeFile'](_0x579c5b,_0x455c8b,_0x57af77(0x2bf,0x276,_0x4f6c1b._0x333dc7,_0x4f6c1b._0x5a3474));}};function Wr(_0x3a0a96){const _0x314f61={_0x6d8c5a:0xc8,_0x61f8eb:0x28b,_0x135ce0:0x19c,_0x5249cc:0x5d,_0x21956e:0x167},_0x580a26={_0x437155:0x31d,_0x4d5398:0x136},_0x5d2e36={_0x136bef:0x79};function _0x34b629(_0x57acfe,_0x670fc,_0x49ab91,_0x2a535d){return _0x3eba7a(_0x57acfe-0xf8,_0x670fc-_0x5d2e36._0x136bef,_0x2a535d,_0x670fc-0x2e0);}function _0x165e11(_0x2ba40b,_0x1c639d,_0x1d0b56,_0x35ec38){return _0x199b7d(_0x2ba40b-0x4,_0x35ec38- -_0x580a26._0x437155,_0x1d0b56-_0x580a26._0x4d5398,_0x1c639d);}let _0x11a62a=_0x674907['extname'](_0x3a0a96)['toLowerCase']();return _0x11a62a===_0x34b629(_0x314f61._0x6d8c5a,_0x314f61._0x61f8eb,_0x314f61._0x135ce0,0x126)||_0x11a62a==='.yml'?_0x165e11(_0x314f61._0x5249cc,_0x314f61._0x21956e,0x1d2,0x3b):'json';}import{createContext as _0x1ea904,useContext as _0x1d798f,useState as _0x4352d2,useEffect as _0x2d8fac,useCallback as _0x26a66f,useRef as _0x15658a,useMemo as _0x54ceaa}from'react';import{EventEmitter as _0xac451a}from'events';var bo=class{constructor(){const _0x40ed5a={_0x17dbe9:0x427,_0x180785:0x56e,_0x98dba4:0x60c,_0x1a6c2d:0x59d,_0x1e325c:0x307,_0x366a25:0x3b7},_0x588d97={_0x2abdab:0x1c2,_0x52ac79:0xd4},_0x1aa0ef={_0x5b87a7:0x1ea,_0x355d8e:0x17f};function _0xcbe7c4(_0x3e4b7e,_0x3c89ec,_0x486b9b,_0x39c25d){return _0x3eba7a(_0x3e4b7e-0x4e,_0x3c89ec-_0x1aa0ef._0x5b87a7,_0x486b9b,_0x39c25d-_0x1aa0ef._0x355d8e);}this[_0x358892(0x486,_0x40ed5a._0x17dbe9,0x43c,_0x40ed5a._0x180785)]=new _0xac451a();function _0x358892(_0x1d7b0c,_0x162cfb,_0x4c39d5,_0x218d9c){return _0x199b7d(_0x1d7b0c-_0x588d97._0x2abdab,_0x162cfb- -0x10b,_0x4c39d5-_0x588d97._0x52ac79,_0x218d9c);}this[_0x358892(_0x40ed5a._0x98dba4,_0x40ed5a._0x17dbe9,_0x40ed5a._0x1a6c2d,_0x40ed5a._0x1e325c)][_0x358892(_0x40ed5a._0x366a25,0x585,0x3b8,0x6a5)](0x1e);}['on'](_0x425350,_0x2f3c29){const _0xae335b={_0x3a596d:0x121,_0x377f83:0x309};function _0x5fb4f3(_0x30b1ad,_0x108829,_0x43404b,_0x40b3c9){return _0x199b7d(_0x30b1ad-0xf,_0x30b1ad- -0x411,_0x43404b-0x11e,_0x43404b);}this[_0x5fb4f3(_0xae335b._0x3a596d,0x179,0x2ea,_0xae335b._0x377f83)]['on'](_0x425350,_0x2f3c29);}[_0x199b7d(0x6bd,0x6a2,0x4f0,0x851)](_0x2320ee,_0x5ccdc5){const _0x128888={_0x4fe6c3:0x94,_0x3200bb:0x2d7},_0x25c444={_0x3ecf49:0x1e5,_0x43c20e:0x2e,_0xda0396:0xa4};function _0x236c18(_0x129872,_0x443731,_0x93636c,_0x402b0c){return _0x3eba7a(_0x129872-_0x25c444._0x3ecf49,_0x443731-_0x25c444._0x43c20e,_0x129872,_0x443731- -_0x25c444._0xda0396);}this['emitter'][_0x236c18(-_0x128888._0x4fe6c3,0x157,0xcc,_0x128888._0x3200bb)](_0x2320ee,_0x5ccdc5);}[_0x199b7d(0x500,0x3f2,0x24d,0x530)](_0x3ba4ca,_0x44847c){const _0x3a0ab6={_0x37abdb:0x1f2,_0x2b794e:0xba,_0x381839:0x28f},_0x651263={_0x110689:0x5b3},_0x2a1656={_0x5d156c:0x13e,_0x7d2a0c:0x22};function _0x2343c(_0x4a7232,_0x500f9c,_0x1926b7,_0x4831e3){return _0x3eba7a(_0x4a7232-0x1c2,_0x500f9c-_0x2a1656._0x5d156c,_0x500f9c,_0x4831e3- -_0x2a1656._0x7d2a0c);}function _0x5007c9(_0x122c48,_0xeb8f40,_0x54f2b6,_0x4325d6){return _0x3eba7a(_0x122c48-0xf1,_0xeb8f40-0x195,_0x122c48,_0x4325d6-_0x651263._0x110689);}this[_0x2343c(0x129,-0xb,_0x3a0ab6._0x37abdb,0x69)][_0x2343c(-_0x3a0ab6._0x2b794e,0xf1,-_0x3a0ab6._0x381839,-0xd7)](_0x3ba4ca,_0x44847c);}[_0x199b7d(0x664,0x4df,0x499,0x4e5)](_0x15dbd9,_0xd30e60){this['emitter']['emit'](_0x15dbd9,_0xd30e60);}},L=new bo();import{readFile as _0x347d45}from'fs/promises';import{resolve as _0x134377}from'path';function To(_0x479ab8){const _0x49847d={_0xc9ea64:0x5b,_0x4c6e1a:0x50},_0x2a0a04={_0x289f65:0x49,_0x3ef247:0x383};function _0x280892(_0x545400,_0x3c69dc,_0x5d66ff,_0x5c7eaf){return _0x199b7d(_0x545400-_0x2a0a04._0x289f65,_0x545400- -_0x2a0a04._0x3ef247,_0x5d66ff-0xf7,_0x5d66ff);}return _0x479ab8[_0x280892(0xa2,-_0x49847d._0xc9ea64,-0xb8,-_0x49847d._0x4c6e1a)](/\r\n/g,'\x0a');}function xi(_0x41fb7c,_0x240336,_0x11290,_0xdc1195){const _0x2c57e7={_0x36ae1f:0x3b3,_0x499842:0x4e6,_0xe8ab81:0x283,_0x12e677:0x71e,_0x5399da:0x593,_0xd1df6f:0x4b3,_0x249285:0x357,_0x35e418:0x3b2,_0x331755:0x4d,_0x12505a:0xf7,_0x28e3cc:0x568,_0xe258ad:0x22a,_0x2983cf:0x6a7,_0x5e6061:0x58c,_0x4b6e0c:0x5f9,_0x360e00:0x73f,_0x36bbec:0x6b6},_0x3067ab={_0x6d0e06:0xe5,_0x2e5a70:0xf},_0x3fbc86={_0x53fbdb:0x18a,_0x12f73a:0x179};let _0x3a5f40=_0x41fb7c[_0x160168(_0x2c57e7._0x36ae1f,_0x2c57e7._0x499842,0x1f7,_0x2c57e7._0xe8ab81)](0x0,_0x11290)[_0x160168(0x6a7,_0x2c57e7._0x12e677,0x828,_0x2c57e7._0x5399da)]('\x0a')['length'],_0x53fcc8=_0x240336['replace'](/\n$/,''),_0x2ba032=_0x53fcc8['length']===0x0?0x0:_0x53fcc8[_0x160168(0x6a7,_0x2c57e7._0xd1df6f,0x711,0x706)]('\x0a')[_0x7728ce(0x460,_0x2c57e7._0x249285,0x21e,_0x2c57e7._0x35e418)],_0x197131=_0x3a5f40+_0x2ba032-0x1,_0x161211=_0xdc1195[_0x7728ce(-_0x2c57e7._0x331755,0x131,0x4c,_0x2c57e7._0x12505a)](/\n$/,''),_0x3dd947=_0x161211[_0x7728ce(0x35a,_0x2c57e7._0x28e3cc,_0x2c57e7._0xe258ad,0x3b2)]===0x0?0x0:_0x161211[_0x160168(_0x2c57e7._0x2983cf,_0x2c57e7._0x5e6061,0x6ce,_0x2c57e7._0x4b6e0c)]('\x0a')[_0x160168(_0x2c57e7._0x360e00,0x6d0,_0x2c57e7._0x36bbec,0x77e)],_0x208d3d=_0x3a5f40,_0x5bd33d=_0x208d3d+_0x3dd947-0x1;function _0x7728ce(_0xf1274b,_0x5be7f7,_0x539208,_0x2ac785){return _0x3eba7a(_0xf1274b-_0x3fbc86._0x53fbdb,_0x5be7f7-0xf8,_0x5be7f7,_0x2ac785-_0x3fbc86._0x12f73a);}function _0x160168(_0x3f2a1f,_0x916ae6,_0x5a3dc0,_0x2e2e6e){return _0x3eba7a(_0x3f2a1f-_0x3067ab._0x6d0e06,_0x916ae6-_0x3067ab._0x2e5a70,_0x2e2e6e,_0x3f2a1f-0x506);}return{'oldStartLine':_0x3a5f40,'oldEndLine':_0x197131,'newStartLine':_0x208d3d,'newEndLine':_0x5bd33d,'oldLineCount':_0x2ba032,'newLineCount':_0x3dd947};}async function Ci(_0x405c7d){const _0x619910={_0x2b2f51:0x656,_0x24386d:0x58c,_0x1685cc:0x4ce,_0x502a3b:0x69a,_0x10cbcc:0x861,_0x1496ac:0x6e7,_0x34faab:0x494,_0x449d6f:0x79f,_0x442ad2:0x3b9,_0x3690fd:0x3f0,_0x3c297d:0x5bf,_0x34553a:0x1d8,_0x12d357:0x1b6,_0x348338:0x5c1,_0x5c70d0:0x4dd,_0x19f6a2:0x50c,_0x1993d5:0x35a,_0x315baa:0x3f9,_0x47e7ff:0x5e1,_0xdf8631:0x510},_0x53cd15={_0xf309eb:0x5};function _0xfd16f5(_0x4cae41,_0x25e9bd,_0x445a2a,_0x5aa757){return _0x199b7d(_0x4cae41-0xc0,_0x5aa757- -0xdc,_0x445a2a-0xff,_0x4cae41);}function _0x24f179(_0x22a396,_0x5df0be,_0x2ed6ca,_0x55cc0b){return _0x3eba7a(_0x22a396-_0x53cd15._0xf309eb,_0x5df0be-0xbc,_0x2ed6ca,_0x22a396-0x69d);}try{let _0x329a77=_0x405c7d[_0xfd16f5(_0x619910._0x2b2f51,0x345,_0x619910._0x24386d,_0x619910._0x1685cc)]['arguments']?JSON[_0x24f179(0x5f6,_0x619910._0x502a3b,0x6ce,0x432)](_0x405c7d['function'][_0x24f179(0x86f,_0x619910._0x10cbcc,0x6bd,_0x619910._0x1496ac)]):{};if(!_0x329a77[_0x24f179(0x5c4,_0x619910._0x34faab,_0x619910._0x449d6f,0x59f)]||_0x329a77[_0xfd16f5(0x157,_0x619910._0x442ad2,0x1e4,0x31b)]===void 0x0||_0x329a77[_0xfd16f5(_0x619910._0x3690fd,_0x619910._0x3c297d,0x3f8,0x452)]===void 0x0)return _0x405c7d;let _0x24dfb8=_0x134377(_0x329a77[_0xfd16f5(0x145,_0x619910._0x34553a,_0x619910._0x12d357,0x2f2)]),_0x4cfaac=await _0x347d45(_0x24dfb8,_0x24f179(_0x619910._0x348338,0x731,_0x619910._0x5c70d0,0x783)),_0x4eab96=To(_0x4cfaac),_0x5729ab=To(_0x329a77[_0xfd16f5(0x16a,_0x619910._0x19f6a2,_0x619910._0x1993d5,0x31b)]),_0x1783a0=To(_0x329a77[_0xfd16f5(_0x619910._0x315baa,_0x619910._0x47e7ff,_0x619910._0xdf8631,0x452)]),_0x474b4d=_0x4eab96['indexOf'](_0x5729ab);if(_0x474b4d===-0x1)return _0x405c7d;let _0x2eb63d=xi(_0x4eab96,_0x5729ab,_0x474b4d,_0x1783a0);return{..._0x405c7d,'metadata':{'lineNumbers':_0x2eb63d}};}catch{return _0x405c7d;}}async function Et(_0x1e2695){const _0x2a19b1={_0x560150:0xd5,_0x2428e0:0x181,_0x472457:0x15,_0x15e353:0x1ca,_0x39cb10:0x4d6,_0x4fc85a:0x3e6,_0x1d364a:0x302,_0x168b31:0x3ba},_0x13f10f={_0xa85479:0x18b,_0x3b0a64:0xf7},_0xc34c1a={_0x576f15:0xa2,_0x2d17f7:0x575,_0x36f6ab:0x44};function _0xaa56c6(_0x2209f6,_0x4367a8,_0x532852,_0x4d4c73){return _0x199b7d(_0x2209f6-_0xc34c1a._0x576f15,_0x532852- -_0xc34c1a._0x2d17f7,_0x532852-_0xc34c1a._0x36f6ab,_0x4d4c73);}function _0x2bc12b(_0x27d3f4,_0x5288ec,_0xcb2e5,_0x42f977){return _0x199b7d(_0x27d3f4-_0x13f10f._0xa85479,_0xcb2e5- -0x3da,_0xcb2e5-_0x13f10f._0x3b0a64,_0x42f977);}return Promise[_0x2bc12b(-_0x2a19b1._0x560150,-_0x2a19b1._0x2428e0,-_0x2a19b1._0x472457,_0x2a19b1._0x15e353)](_0x1e2695[_0x2bc12b(_0x2a19b1._0x39cb10,_0x2a19b1._0x4fc85a,_0x2a19b1._0x1d364a,_0x2a19b1._0x168b31)](_0x55de97=>_0x55de97['function'][_0xaa56c6(0x14d,0x1e4,-0x19,0x18c)]===_0x2bc12b(0x1a9,-0x19f,0x20,-0x14c)?Ci(_0x55de97):_0x55de97));}import{jsx as _0x310786}from'react/jsx-runtime';var zr=_0x1ea904(void 0x0);function pd({requireToolApproval:_0x1f656a,onError:_0x946395,children:_0x3cdbf0}){const _0x43ea71={_0x3b508f:0x606,_0x42a541:0x7e4,_0x50959c:0x8b9,_0x3df2d0:0x8fd,_0x38971e:0x3d6,_0x4a0f43:0x332,_0x1f8425:0x39e},_0x57da76={_0x5893e2:0x163,_0x279653:0x6e},_0x37c7bb={_0x27d65a:0x92,_0x1a4483:0xaf},_0x3597c5={_0x186312:0x5d9,_0x562d21:0x6e4,_0x17dc0e:0x4d9,_0x524f81:0x320},_0x36c7ce={_0x376360:0x5d6,_0x557648:0x478,_0x54e23f:0x135,_0x5506ce:0x422};let [_0x1738f6,_0x1ddd43]=_0x4352d2(_0x1f656a),[_0xee7fc,_0x26bc26]=_0x4352d2(null),[_0xbbd52f,_0x285e1a]=_0x4352d2(new Set()),_0xc2e3e=_0x15658a(null),_0xd5a594=_0x26a66f(_0x12976a=>{_0xc2e3e['current']=_0x12976a;},[]),_0x4f1472=_0x26a66f(_0x5c9966=>{const _0x3b8271={_0x5ff324:0x274};function _0x2cedc3(_0x18cc1a,_0x2052b3,_0x2642e8,_0x357c5b){return _0x58a4(_0x2642e8- -_0x3b8271._0x5ff324,_0x2052b3);}_0x285e1a(_0x20336e=>new Set(_0x20336e)[_0x2cedc3(-0x1a6,-0x259,-0x94,-0x9b)](_0x5c9966));},[]),_0x1cb8cf=_0x26a66f(()=>{_0x285e1a(new Set());},[]),_0x260cce=_0x26a66f((_0x29b3c6,_0x11d14f)=>{function _0x455e42(_0x1301fc,_0x4a0994,_0x173883,_0x401459){return _0x58a4(_0x1301fc- -0x221,_0x4a0994);}function _0x3d338b(_0x2c8397,_0x42c01d,_0x5adb4a,_0x574f23){return _0x58a4(_0x42c01d-0x53,_0x574f23);}if(!(!_0xee7fc||!_0xc2e3e['current']))try{_0xc2e3e['current']['handleToolApproval'](_0xee7fc['approvalId'],_0x29b3c6,_0x11d14f),_0x26bc26(null);}catch(_0x1244f0){let _0x459d3d=_0x1244f0 instanceof Error?_0x1244f0[_0x3d338b(_0x36c7ce._0x376360,_0x36c7ce._0x557648,0x5f5,0x52e)]:String(_0x1244f0);_0x946395(_0x3d338b(_0x36c7ce._0x54e23f,0x2c3,_0x36c7ce._0x5506ce,0x1a4)+_0x459d3d);}},[_0xee7fc,_0x946395]),_0x1cd6e4=_0x15658a(_0xbbd52f);_0x1cd6e4[_0x344311(_0x43ea71._0x3b508f,_0x43ea71._0x42a541,_0x43ea71._0x50959c,_0x43ea71._0x3df2d0)]=_0xbbd52f;let _0x3f2c68=_0x15658a(_0x946395);_0x3f2c68['current']=_0x946395,_0x2d8fac(()=>{const _0x3247bb={_0x314814:0x979,_0x1e75f6:0x91b,_0x52a16e:0x9a9,_0x51b178:0x129,_0x5658ab:0x154,_0x26e484:0x1a5,_0x28d59e:0x181,_0xc6fc08:0x129,_0x5d5e11:0x5bd,_0x36fdc8:0x5cf,_0x232ad0:0x595,_0x3e9266:0x65a},_0x106b7e={_0x18ae9c:0xc9},_0x1e03e0={_0x4f2029:0xcd,_0x359ecd:0xba,_0x56bcaf:0x122,_0x10a953:0x3cf,_0x43eae0:0x461,_0x3b6414:0x19a,_0x5b6028:0xf0,_0x31c0b2:0x2,_0x59ad62:0x1e8,_0xe97a04:0x431,_0xbbb6c:0x3c9,_0x5e2668:0x37e,_0x23e1b2:0x298,_0x86f2dd:0x2be,_0x289be3:0x257,_0x57d336:0x1b6,_0x20357a:0x416,_0x1041f5:0x44a,_0x1f28a3:0x32a,_0x1d5896:0x4d7,_0x169352:0x3be,_0x3a0e88:0x239,_0x2ab77c:0x381,_0x5ab65e:0x265,_0x284d51:0x442,_0x5a7da1:0x3b3,_0x5cc389:0x1fd,_0xa43818:0x408,_0x5e21da:0x416,_0x56cef6:0x27b,_0x11c5cf:0x21d,_0x257cc1:0xea},_0x5bce96={_0x1b4f70:0x5};function _0x3d60f7(_0x5a3234,_0x5bff55,_0x18dcef,_0x26dcc5){return _0x344311(_0x5a3234-0x146,_0x5bff55- -0x1d2,_0x26dcc5,_0x26dcc5-_0x5bce96._0x1b4f70);}let _0x10ea96=async _0x485924=>{function _0xee1fe1(_0x3cac64,_0x421a4d,_0xa8e774,_0x5c4284){return _0x58a4(_0x3cac64- -0xfb,_0xa8e774);}function _0x32aac9(_0x451479,_0x358b4e,_0x1f1258,_0x4b6aa5){return _0x58a4(_0x4b6aa5- -0xb4,_0x451479);}try{let _0x4fe9fb=await Et(_0x485924[_0x32aac9(0x2db,-_0x1e03e0._0x4f2029,_0x1e03e0._0x359ecd,_0x1e03e0._0x56bcaf)]),_0x2fd07c=[],_0x18baeb=[];for(let _0x3f6aa1 of _0x4fe9fb)_0x1cd6e4[_0xee1fe1(_0x1e03e0._0x10a953,0x350,0x30d,_0x1e03e0._0x43eae0)][_0xee1fe1(0x21,_0x1e03e0._0x3b6414,_0x1e03e0._0x5b6028,_0x1e03e0._0x31c0b2)](_0x3f6aa1[_0x32aac9(_0x1e03e0._0x59ad62,_0x1e03e0._0xe97a04,_0x1e03e0._0xbbb6c,0x30c)][_0x32aac9(_0x1e03e0._0x5e2668,_0x1e03e0._0x23e1b2,0x11a,_0x1e03e0._0x86f2dd)])?_0x2fd07c[_0x32aac9(0x39f,0x1c9,0x28e,_0x1e03e0._0x289be3)](_0x3f6aa1):_0x18baeb[_0xee1fe1(0x210,0x116,_0x1e03e0._0x57d336,0x366)](_0x3f6aa1);if(_0x2fd07c['length']>0x0&&_0xc2e3e['current'])try{_0xc2e3e[_0x32aac9(0x32c,0x32d,0x263,_0x1e03e0._0x20357a)][_0x32aac9(0x3cf,_0x1e03e0._0x1041f5,0x50c,0x390)](_0x485924['approvalId'],'approve',_0x2fd07c);}catch(_0x4fb845){let _0x376b95=_0x4fb845 instanceof Error?_0x4fb845[_0xee1fe1(_0x1e03e0._0x1f28a3,0x1a0,_0x1e03e0._0x1d5896,0x527)]:String(_0x4fb845);_0x3f2c68[_0xee1fe1(0x3cf,0x236,_0x1e03e0._0x169352,0x401)](_0x32aac9(0x179,_0x1e03e0._0x3a0e88,0x423,0x31f)+_0x376b95);}_0x18baeb[_0x32aac9(0x463,_0x1e03e0._0x2ab77c,_0x1e03e0._0x5ab65e,_0x1e03e0._0x284d51)]>0x0&&_0x26bc26({..._0x485924,'toolCalls':_0x18baeb});}catch(_0x42983b){let _0x26d574=_0x42983b instanceof Error?_0x42983b[_0x32aac9(_0x1e03e0._0x5a7da1,_0x1e03e0._0x5cc389,0x472,0x371)]:String(_0x42983b);_0x3f2c68[_0x32aac9(0x4f8,0x47e,_0x1e03e0._0xa43818,_0x1e03e0._0x5e21da)](_0x32aac9(_0x1e03e0._0x56cef6,-0x8d,_0x1e03e0._0x11c5cf,_0x1e03e0._0x257cc1)+_0x26d574);}},_0x35d5f7=()=>{_0x1cb8cf();},_0x22a012=()=>{_0x1cb8cf();};function _0x2b2c6c(_0x43be79,_0x192a96,_0x3f7e2d,_0x5ed186){return _0x344311(_0x43be79-0x1c6,_0x3f7e2d- -0x235,_0x5ed186,_0x5ed186-_0x106b7e._0x18ae9c);}return L['on']('ui:toolApprovalRequired',_0x10ea96),L['on'](_0x2b2c6c(0x3e9,0x501,_0x3597c5._0x186312,_0x3597c5._0x562d21),_0x35d5f7),L['on'](_0x2b2c6c(_0x3597c5._0x17dc0e,0x579,0x3c6,_0x3597c5._0x524f81),_0x22a012),()=>{const _0x2410f2={_0x29ced7:0xcd},_0x59af15={_0x3cd13b:0xe6};function _0x83f4ea(_0x4ed64a,_0x33deea,_0x407722,_0x3fea5f){return _0x2b2c6c(_0x4ed64a-_0x59af15._0x3cd13b,_0x33deea-0x138,_0x33deea- -0x434,_0x4ed64a);}function _0x540e56(_0x1cb28a,_0x3a94b5,_0x3ce3bc,_0x1a5490){return _0x2b2c6c(_0x1cb28a-0x1f2,_0x3a94b5-_0x2410f2._0x29ced7,_0x3a94b5-0x209,_0x3ce3bc);}L[_0x540e56(_0x3247bb._0x314814,0x7a6,_0x3247bb._0x1e75f6,_0x3247bb._0x52a16e)](_0x83f4ea(-_0x3247bb._0x51b178,0x75,0x186,-_0x3247bb._0x5658ab),_0x10ea96),L['off'](_0x83f4ea(0x126,_0x3247bb._0x26e484,_0x3247bb._0x28d59e,_0x3247bb._0xc6fc08),_0x35d5f7),L['off'](_0x540e56(_0x3247bb._0x5d5e11,_0x3247bb._0x36fdc8,_0x3247bb._0x232ad0,_0x3247bb._0x3e9266),_0x22a012);};},[_0x1cb8cf]);let _0xcfaf1d=_0x54ceaa(()=>({'toolApprovalMode':_0x1738f6,'setToolApprovalMode':_0x1ddd43,'pendingApproval':_0xee7fc,'sessionApprovedTools':_0xbbd52f,'addSessionApprovedTool':_0x4f1472,'clearSessionApprovedTools':_0x1cb8cf,'handleApprovalResponse':_0x260cce,'setOrchestrator':_0xd5a594}),[_0x1738f6,_0xee7fc,_0xbbd52f,_0x4f1472,_0x1cb8cf,_0x260cce,_0xd5a594]);function _0x344311(_0xff635e,_0x2f1789,_0x1db1d4,_0x2a6fd8){return _0x199b7d(_0xff635e-_0x37c7bb._0x27d65a,_0x2f1789-0x130,_0x1db1d4-_0x37c7bb._0x1a4483,_0x1db1d4);}function _0x4fdd13(_0xb49c79,_0x2952c1,_0x52ef6f,_0x14fcc2){return _0x199b7d(_0xb49c79-_0x57da76._0x5893e2,_0xb49c79-_0x57da76._0x279653,_0x52ef6f-0x1,_0x14fcc2);}return _0x310786(zr[_0x4fdd13(_0x43ea71._0x38971e,0x5cf,_0x43ea71._0x4a0f43,_0x43ea71._0x1f8425)],{'value':_0xcfaf1d,'children':_0x3cdbf0});}function Ae(){let _0xb0153c=_0x1d798f(zr);if(!_0xb0153c)throw new Error('useToolApproval\x20must\x20be\x20used\x20within\x20ToolApprovalProvider');return _0xb0153c;}import{createContext as _0x40040b,useContext as _0x56a867,useState as _0x1212c8,useMemo as _0x35ee6d,useCallback as _0x5936bb}from'react';import{jsx as _0x453811}from'react/jsx-runtime';var Yr=_0x40040b(void 0x0),yd=({children:_0x448e1c})=>{const _0x8fc429={_0x50f923:0x182,_0x55a7d3:0x244,_0x11d341:0x218},_0x11c34e={_0x14eb71:0x15a};function _0x520166(_0xb1a856,_0x362ed0,_0x54de0e,_0x45e88e){return _0x199b7d(_0xb1a856-0x4a,_0x45e88e- -0x150,_0x54de0e-_0x11c34e._0x14eb71,_0xb1a856);}let [_0x423798,_0x50424e]=_0x1212c8(!0x1),_0xf5fb8e=_0x5936bb(()=>{_0x50424e(_0x444c9d=>!_0x444c9d);},[]),_0x29d59e=_0x5936bb(_0x39f333=>{_0x50424e(_0x39f333);},[]),_0x7718fa=_0x35ee6d(()=>({'explainMode':_0x423798,'toggleExplainMode':_0xf5fb8e,'setExplainMode':_0x29d59e}),[_0x423798,_0xf5fb8e,_0x29d59e]);return _0x453811(Yr[_0x520166(_0x8fc429._0x50f923,_0x8fc429._0x55a7d3,0x197,_0x8fc429._0x11d341)],{'value':_0x7718fa,'children':_0x448e1c});},ke=()=>{const _0x8232b0={_0x2a672b:0xb9,_0x571bbe:0x1b3},_0x518ae0={_0x5b141a:0x14e,_0xed20e5:0x302,_0x5c6207:0x2e};function _0x2dec31(_0x4f2323,_0x40afb3,_0x1a9c9d,_0x33ffcb){return _0x199b7d(_0x4f2323-_0x518ae0._0x5b141a,_0x33ffcb- -_0x518ae0._0xed20e5,_0x1a9c9d-_0x518ae0._0x5c6207,_0x1a9c9d);}let _0x205b91=_0x56a867(Yr);return _0x205b91||(console[_0x2dec31(_0x8232b0._0x2a672b,-0x40,-_0x8232b0._0x571bbe,0xa)]('useExplainMode\x20used\x20outside\x20ExplainModeProvider,\x20using\x20defaults'),{'explainMode':!0x1,'toggleExplainMode':()=>{},'setExplainMode':()=>{}});};import{createContext as _0x24ca42,useContext as _0x141d83,useState as _0x2b306f,useCallback as _0x4d6d44,useRef as _0x547ca4,useEffect as _0x26711e,useMemo as _0x1a797c}from'react';import{jsx as _0x485a3b}from'react/jsx-runtime';var qr=_0x24ca42(void 0x0),Td=({children:_0x5a8f7b})=>{const _0x3d6d60={_0x5af9e7:0x332,_0x11a6a8:0x1cd},_0x44b35e={_0x208041:0xec,_0x2c1f2f:0x269,_0x664fb5:0x670,_0x16551a:0x67e,_0x2adf3c:0x837},_0x24e2cc={_0x2338d2:0x47d,_0x2353b6:0x2e9,_0x25d61d:0x639,_0x457fb9:0x540,_0x25d92e:0x450,_0x480742:0x5b7},_0x431150={_0x107c1f:0x2c9,_0x50dc97:0x431},_0x4ee3e2={_0x43dba7:0x43},_0x3510ba={_0x54fc6c:0x1f2};function _0x519582(_0x18ffff,_0x1fb32a,_0x2a8f39,_0x300d98){return _0x3eba7a(_0x18ffff-0x1db,_0x1fb32a-_0x3510ba._0x54fc6c,_0x300d98,_0x2a8f39-0x30c);}let [_0x58a23e,_0x53d240]=_0x2b306f(null),_0x488cb0=_0x547ca4(null),_0x3b9a5a=_0x4d6d44((_0x288826,_0x4df75e=0xbb8)=>{function _0x77189a(_0xdd6859,_0xc1fa7a,_0x58bb1d,_0x323810){return _0x58a4(_0x58bb1d- -0x4d,_0xdd6859);}function _0x192303(_0xde934e,_0x381a30,_0x2803e7,_0x76a9a8){return _0x58a4(_0x381a30- -_0x4ee3e2._0x43dba7,_0x2803e7);}_0x488cb0[_0x77189a(0x61f,0x5b1,_0x24e2cc._0x2338d2,0x509)]&&(clearTimeout(_0x488cb0[_0x77189a(_0x24e2cc._0x2353b6,_0x24e2cc._0x25d61d,_0x24e2cc._0x2338d2,0x2c3)]),_0x488cb0[_0x192303(0x39a,0x487,_0x24e2cc._0x457fb9,0x509)]=null),_0x53d240(_0x288826),_0x288826&&_0x4df75e>0x0&&(_0x4df75e===0x0?_0x53d240(null):_0x488cb0[_0x77189a(_0x24e2cc._0x25d92e,0x35a,0x47d,_0x24e2cc._0x480742)]=setTimeout(()=>{const _0x24456d={_0x3d038a:0x13e,_0x55f2dd:0x59};function _0x2990ea(_0x17c1e0,_0x815a0d,_0x30f1d1,_0x26ea41){return _0x192303(_0x17c1e0-_0x24456d._0x3d038a,_0x815a0d- -0x1be,_0x17c1e0,_0x26ea41-_0x24456d._0x55f2dd);}_0x53d240(null),_0x488cb0[_0x2990ea(0x288,_0x431150._0x107c1f,_0x431150._0x50dc97,0x243)]=null;},_0x4df75e));},[]);_0x26711e(()=>()=>{const _0x16a9ff={_0x1ae748:0x36d},_0x2f7748={_0x22ad71:0x238};function _0x89265(_0xb25ebf,_0x483fef,_0x4d9b37,_0x26ed27){return _0x58a4(_0xb25ebf- -_0x2f7748._0x22ad71,_0x483fef);}function _0x25dd80(_0x5b81cb,_0x456edc,_0x17989c,_0x5211b2){return _0x58a4(_0x5211b2-_0x16a9ff._0x1ae748,_0x5b81cb);}_0x488cb0[_0x89265(0x292,0x306,_0x44b35e._0x208041,_0x44b35e._0x2c1f2f)]&&clearTimeout(_0x488cb0[_0x25dd80(_0x44b35e._0x664fb5,0x693,_0x44b35e._0x16551a,_0x44b35e._0x2adf3c)]);},[]);let _0x5c817c=_0x1a797c(()=>({'notification':_0x58a23e,'setNotification':_0x3b9a5a}),[_0x58a23e,_0x3b9a5a]);return _0x485a3b(qr[_0x519582(0x82,_0x3d6d60._0x5af9e7,_0x3d6d60._0x11a6a8,0x2d3)],{'value':_0x5c817c,'children':_0x5a8f7b});},Jr=()=>{const _0x2661be={_0x4716b1:0x68,_0x256f7e:0x77};let _0x1d799e=_0x141d83(qr);function _0x51a4a2(_0x48c91d,_0x38da55,_0x27110f,_0x9c0813){return _0x3eba7a(_0x48c91d-0x1e0,_0x38da55-0x171,_0x48c91d,_0x27110f-0x4d);}if(_0x1d799e===void 0x0)throw new Error(_0x51a4a2(0xa4,_0x2661be._0x4716b1,0xf9,-_0x2661be._0x256f7e));return _0x1d799e;};import{createContext as _0x4cbe8c,useContext as _0x797a19,useState as _0x4c2644,useEffect as _0x6c3cb4}from'react';import{useStdout as _0x66241f}from'ink';import{jsx as _0x18309c}from'react/jsx-runtime';var Xr=0xa,Zr=0x5,st=0x50,it=0x18,Qr=_0x4cbe8c({'cols':st,'rows':it});function Ad({children:_0x56ef57}){const _0xba93d6={_0x991b02:0x7f,_0x5a5623:0x242},_0x307564={_0x3bcaf5:0x3e7},_0x2f6135={_0x7032af:0x553,_0x4f3c15:0x3c3,_0x53ca27:0x510,_0x367a54:0x529,_0x3e2e20:0x5dc,_0xc57f43:0x2db,_0x25f59e:0xdf,_0x229216:0x1cd,_0xb2c1e3:0x217};let {stdout:_0x52d1fb}=_0x66241f(),[_0x152084,_0x324961]=_0x4c2644(()=>{let _0x2dd268=Math[_0x2fa66f(_0x2f6135._0x7032af,_0x2f6135._0x4f3c15,0x571,_0x2f6135._0x53ca27)](Xr,Math[_0x2fa66f(0x57e,0x389,_0x2f6135._0x367a54,_0x2f6135._0x3e2e20)](_0x52d1fb[_0x16248a(_0x2f6135._0xc57f43,-0x60,_0x2f6135._0x25f59e,-0xd7)]||st,0x3e8)),_0x1edc3b=Math['max'](Zr,Math[_0x16248a(_0x2f6135._0x229216,0x403,_0x2f6135._0xb2c1e3,0x2e8)](_0x52d1fb['rows']||it,0x3e8));function _0x16248a(_0x4ad62e,_0x32cfaa,_0x4e0702,_0x8aeaa){return _0x58a4(_0x4e0702- -0x198,_0x8aeaa);}function _0x2fa66f(_0x4696a2,_0x5803a3,_0x3fc1b3,_0x51790d){return _0x58a4(_0x3fc1b3-0x17a,_0x51790d);}return{'cols':_0x2dd268,'rows':_0x1edc3b};});function _0x57e348(_0x4913f8,_0x1b6c20,_0xd1710d,_0x18565e){return _0x199b7d(_0x4913f8-0xfe,_0x4913f8- -_0x307564._0x3bcaf5,_0xd1710d-0x18a,_0x1b6c20);}return _0x6c3cb4(()=>{const _0x1fcc2b={_0x787c48:0x4e,_0x4d23bf:0x2bb,_0x548a85:0x231},_0x295d78={_0x162996:0x117,_0x44fc8f:0x7c,_0x58f5c0:0x184,_0x544128:0x69,_0x272c1e:0xaf},_0x57e7bb={_0x34fb08:0x3aa};let _0x438301=()=>{function _0x26d113(_0x191b49,_0x494307,_0x45d204,_0x549328){return _0x58a4(_0x191b49- -_0x57e7bb._0x34fb08,_0x45d204);}function _0x5435f1(_0x51d397,_0x43f342,_0x4df2f9,_0x3b1fb6){return _0x58a4(_0x51d397- -0x38e,_0x43f342);}try{let _0x1d6b1b=_0x52d1fb[_0x5435f1(-_0x295d78._0x162996,0xa1,-0xf9,-0x31b)],_0x681aac=_0x52d1fb[_0x5435f1(-_0x295d78._0x44fc8f,-0x84,-_0x295d78._0x58f5c0,-0x213)],_0x5bfb4f=_0x1d6b1b&&_0x1d6b1b>0x0&&_0x1d6b1b<0x2710?Math[_0x5435f1(_0x295d78._0x544128,0x24d,0x13a,-0xb8)](Xr,_0x1d6b1b):st,_0x58cd05=_0x681aac&&_0x681aac>0x0&&_0x681aac<0x2710?Math[_0x26d113(0x4d,0xcd,-_0x295d78._0x272c1e,-0xe8)](Zr,_0x681aac):it;_0x324961(_0x1b0363=>_0x1b0363['cols']===_0x5bfb4f&&_0x1b0363[_0x5435f1(-0x7c,-0xe2,0x12b,-0xdb)]===_0x58cd05?_0x1b0363:{'cols':_0x5bfb4f,'rows':_0x58cd05});}catch(_0x598f0f){console['warn'](_0x26d113(-0x125,-0x19d,0x86,-0x28),_0x598f0f),_0x324961(_0x347313=>_0x347313[_0x26d113(0x135,0x103,0x244,0x26e)]===st&&_0x347313[_0x5435f1(-0x7c,-0x23a,-0x112,0x17c)]===it?_0x347313:{'cols':st,'rows':it});}};return _0x52d1fb['on']('resize',_0x438301),()=>{function _0x2231ae(_0x2ca62b,_0x3af2b3,_0x4674e6,_0x1d0263){return _0x58a4(_0x1d0263-0xc2,_0x3af2b3);}_0x52d1fb['off'](_0x2231ae(_0x1fcc2b._0x787c48,0x1c4,_0x1fcc2b._0x4d23bf,_0x1fcc2b._0x548a85),_0x438301);};},[_0x52d1fb]),_0x18309c(Qr[_0x57e348(-_0xba93d6._0x991b02,-0x9a,-_0xba93d6._0x5a5623,0x124)],{'value':_0x152084,'children':_0x56ef57});}function en(){let {cols:_0x5ee066,rows:_0x2e763d}=_0x797a19(Qr);return[_0x5ee066,_0x2e763d];}import{createContext as _0x1b06dd,useContext as _0x212a70}from'react';var y={'green':'#1baf6a','cyan':'#00d9ff','red':_0x3eba7a(-0x1d6,-0xc1,-0x1ea,-0x13c),'orange':_0x199b7d(0x2fb,0x500,0x3ac,0x574),'yellow':'#FFC371','blue':'#81a2be','magenta':_0x199b7d(0x29e,0x33b,0x1c7,0x20d),'white':'#ffffff','gray':_0x3eba7a(0x160,0x159,-0x18b,0x5d),'black':'#282a36','dim':'#303030','transparent':_0x199b7d(0x7fc,0x5fc,0x67d,0x795)},ae={'tokens':y,'colors':{'success':y[_0x3eba7a(0x10a,-0x180,0x14c,0x83)],'error':y[_0x199b7d(0x49c,0x38c,0x577,0x270)],'warning':y[_0x199b7d(0x2bb,0x323,0x456,0x1ac)],'info':y[_0x3eba7a(0xc8,0x8a,0x10f,-0x90)],'primary':y[_0x3eba7a(-0xab,0x69,0xeb,0x83)],'secondary':y[_0x199b7d(0x3a3,0x309,0x48c,0x223)],'accent':y['orange'],'muted':y[_0x199b7d(0x7e7,0x687,0x6f4,0x78d)],'user':y['cyan'],'assistant':y[_0x3eba7a(-0x1b,-0x164,0x189,0x83)],'system':y['gray'],'thinking':y[_0x199b7d(0x141,0x323,0x4ec,0x230)],'tool':y['green'],'toolResult':y['green'],'toolSuccess':y[_0x199b7d(0x342,0x52a,0x5b8,0x57f)],'toolError':y[_0x199b7d(0x18c,0x38c,0x22e,0x453)],'toolDuration':y[_0x199b7d(0x699,0x687,0x7b3,0x5f8)],'selected':y['green'],'unselected':y[_0x3eba7a(0x4,0x6a,-0xa6,0x155)],'highlight':y['green'],'text':y[_0x199b7d(0x81c,0x6e3,0x569,0x655)],'textDim':y[_0x199b7d(0x4a0,0x687,0x803,0x511)],'textBold':y[_0x199b7d(0x637,0x6e3,0x786,0x647)],'background':y[_0x3eba7a(-0xf1,-0x2f5,-0xfb,-0x174)],'border':y[_0x3eba7a(0x162,-0x9,0x3da,0x1e0)],'badge':{'info':y[_0x199b7d(0x28f,0x417,0x53f,0x45f)],'success':y[_0x199b7d(0x5fc,0x52a,0x432,0x5c7)],'warning':y[_0x3eba7a(0x19,-0x2a3,-0x20b,-0x184)],'error':y['red']}},'status':{'success':y[_0x3eba7a(-0xc,0x14e,-0xc2,0x83)],'error':y[_0x199b7d(0x325,0x38c,0x52c,0x3bb)],'pending':y[_0x199b7d(0x4cf,0x323,0x44c,0x47b)],'running':y[_0x199b7d(0x444,0x417,0x46b,0x336)],'idle':y[_0x3eba7a(0x290,0x209,0x2ad,0x1e0)]},'messageTypes':{'user':y[_0x199b7d(0x4cd,0x417,0x3e8,0x385)],'assistant':y[_0x199b7d(0x3c6,0x52a,0x6df,0x5cd)],'tool':y[_0x3eba7a(0x61,-0xd3,-0xc2,0x83)],'tool_result':y['green'],'system':y[_0x199b7d(0x81c,0x687,0x639,0x830)],'warning':y[_0x199b7d(0x335,0x323,0x30c,0x2c5)],'error':y[_0x3eba7a(-0x262,-0x1d4,-0x1de,-0x11b)],'info':y['cyan'],'thinking':y[_0x3eba7a(-0x68,-0x2ea,-0x338,-0x184)]},'modal':{'title':y[_0x3eba7a(0x160,0x73,-0x26,-0x90)],'subtitle':y[_0x199b7d(0x4a9,0x687,0x5f7,0x848)],'sectionHeader':y[_0x3eba7a(-0x1f9,0x60,-0x35d,-0x184)],'keyBinding':y[_0x199b7d(0x718,0x52a,0x686,0x33c)],'description':y[_0x3eba7a(0x244,0x2a8,0xa6,0x1e0)],'help':y[_0x199b7d(0x707,0x687,0x5a9,0x73e)]},'help':{'title':y[_0x199b7d(0x363,0x417,0x37d,0x282)],'subtitle':y[_0x3eba7a(0x146,0x33d,0xb7,0x1e0)],'sectionHeader':y[_0x199b7d(0x4fa,0x323,0x2f9,0x210)],'keyBinding':y[_0x3eba7a(-0x18,0x20f,0xaf,0x83)],'description':y[_0x3eba7a(0x17b,0x262,0xf,0x1e0)]},'auth':{'provider':y[_0x3eba7a(-0x169,0x278,-0x149,0x83)],'waiting':y['gray'],'code':y[_0x3eba7a(-0x26b,-0x2f9,-0x123,-0x184)],'link':y[_0x199b7d(0x317,0x417,0x4d1,0x5dc)],'success':y[_0x3eba7a(0xaf,0x125,-0xaf,0x83)],'error':y[_0x199b7d(0x1a0,0x38c,0x3b4,0x437)]},'footer':{'provider':y[_0x3eba7a(-0x261,-0x72,-0x9e,-0x184)],'model':y[_0x199b7d(0x815,0x687,0x86d,0x6e8)],'status':y['gray'],'thinking':y[_0x199b7d(0x7dc,0x687,0x7c8,0x75d)],'infoBg':y[_0x199b7d(0x77a,0x68b,0x53b,0x88d)],'currentDir':y['blue'],'gitBranch':y[_0x3eba7a(0x1df,0x2f0,0x391,0x23c)]},'input':{'prompt':y[_0x3eba7a(0xf,0x74,-0x5e,0x83)],'placeholder':y[_0x3eba7a(0x268,0x7d,0x6,0x1e0)],'text':y['white']},'history':{'selected':y[_0x3eba7a(0x85,0x100,0x403,0x23c)],'unselected':y[_0x3eba7a(0x1dc,0xbe,0x3cc,0x1e0)],'badge':y['gray'],'timestamp':y['gray'],'title':y[_0x199b7d(0x4dc,0x417,0x543,0x231)],'help':y['gray'],'keybind':y['yellow']},'toolApproval':{'title':y[_0x3eba7a(-0x204,-0xc2,-0x71,-0x184)],'toolName':y[_0x3eba7a(0x2ce,0x35a,0x1f4,0x23c)],'description':y[_0x199b7d(0x755,0x687,0x6f2,0x5f5)],'paramKey':y['cyan'],'paramValue':y[_0x199b7d(0x8d0,0x6e3,0x673,0x5fa)],'statusText':y['gray'],'approved':y[_0x3eba7a(-0x15,0x3c,-0x15e,0x83)],'denied':y[_0x3eba7a(0xc9,-0x2c5,-0x1d,-0x11b)],'actionSelected':y[_0x3eba7a(0x211,-0xcc,0x18,0x83)],'actionApprove':y[_0x3eba7a(-0x4d,-0x113,-0x14f,0x83)],'actionDeny':y[_0x199b7d(0x2d6,0x38c,0x24a,0x58b)],'actionReview':y[_0x3eba7a(0xd9,0x16b,-0x31,0x9b)]},'model':{'title':y['cyan'],'subtitle':y['gray'],'label':y['green'],'help':y[_0x199b7d(0x6e4,0x687,0x529,0x5be)],'input':y[_0x3eba7a(0x7c,0x238,0xa8,0x23c)],'item':y[_0x199b7d(0x583,0x6e3,0x7ca,0x517)],'selectedItem':y[_0x199b7d(0x4d3,0x52a,0x331,0x6ce)]},'thinking':{'title':y[_0x3eba7a(-0x262,0x7c,-0x28e,-0x90)],'subtitle':y[_0x199b7d(0x5c0,0x687,0x584,0x7f4)]},'welcome':{'title':y[_0x199b7d(0x4cc,0x4c2,0x6a8,0x52b)],'subtitle':y[_0x3eba7a(0x29a,0x196,0x376,0x1e0)],'hint':y[_0x199b7d(0x71d,0x68b,0x7c9,0x771)]},'fileEdit':{'title':y[_0x3eba7a(-0x12e,-0x2c2,-0x121,-0x184)],'label':y[_0x3eba7a(-0x13,0x16a,0x16,-0x90)],'value':y[_0x3eba7a(0x3d9,0x137,0x232,0x23c)],'content':y[_0x199b7d(0x659,0x687,0x591,0x5f0)],'searchHeader':y[_0x3eba7a(0x59,-0xb4,0x16,0x83)],'replaceHeader':y[_0x199b7d(0x247,0x38c,0x2aa,0x4ae)],'error':y[_0x3eba7a(-0x14d,-0x209,-0x2fa,-0x11b)]}};import{jsx as _0x5422d1}from'react/jsx-runtime';var tn=_0x1b06dd(void 0x0);function Fd({children:_0x514dbf}){const _0x5148c8={_0x356095:0x262,_0x5cbe5e:0xbd,_0x5957c3:0x11e,_0x4368be:0x3f3,_0x50fdef:0x234,_0x2564b2:0x2cc},_0x585d4d={_0x3df831:0x3a8};let _0x33485f={'theme':ae,'getColor':_0x5505c3=>{function _0xcb826b(_0x37152e,_0x114e47,_0x5380d6,_0x308425){return _0x58a4(_0x308425-_0x585d4d._0x3df831,_0x37152e);}let _0x47d72d=_0x5505c3['split']('.'),_0x59b79b=ae;for(let _0x3834fa of _0x47d72d)if(_0x59b79b&&typeof _0x59b79b==_0x2845c2(_0x5148c8._0x356095,0x2c9,-_0x5148c8._0x5cbe5e,_0x5148c8._0x5957c3)&&_0x3834fa in _0x59b79b)_0x59b79b=_0x59b79b[_0x3834fa];else return'white';function _0x2845c2(_0x415250,_0x461c02,_0x4b68ca,_0x232e31){return _0x58a4(_0x232e31- -0x22d,_0x415250);}return typeof _0x59b79b==_0x2845c2(_0x5148c8._0x4368be,0x289,0x21c,_0x5148c8._0x50fdef)?_0x59b79b:_0x2845c2(0x2b9,0x195,0x1d3,_0x5148c8._0x2564b2);}};return _0x5422d1(tn['Provider'],{'value':_0x33485f,'children':_0x514dbf});}function D(){const _0x45639c={_0x13d62a:0x37e,_0x5774d4:0x242,_0x3e5cf3:0x277},_0x5d63e9={_0x3912b5:0x0,_0x32581d:0x16e};function _0x350692(_0x34e46c,_0x337622,_0xb7af0a,_0x93e461){return _0x3eba7a(_0x34e46c-_0x5d63e9._0x3912b5,_0x337622-0xa3,_0x93e461,_0x34e46c-_0x5d63e9._0x32581d);}let _0x3ca472=_0x212a70(tn);if(!_0x3ca472)throw new Error(_0x350692(0x373,_0x45639c._0x13d62a,_0x45639c._0x5774d4,_0x45639c._0x3e5cf3));return _0x3ca472;}import _0x35b109,{useCallback as _0x9278bc,useMemo as _0x321f25,useRef as _0x33ba43}from'react';import{Box as _0x37d716,Static as _0x215ca5}from'ink';import _0x5111cc from'react';import{Box as _0xaa52c1,Text as _0x5c1f65}from'ink';import{useMemo as _0x5e3cb1,useCallback as _0xada908}from'react';import{Text as _0x4911e3}from'ink';import{marked as _0x2d0100}from'marked';import _0x3ee1f5 from'chalk';import _0x12b3ab from'ansi-escapes';import{stdout as _0x57de15}from'supports-hyperlinks';import _0x28340a from'ansi-regex';var Yi=_0x28340a(),qi='\x0d',Ji=new RegExp(qi),Xi=['\x09'];function Ye(_0x576e62){return _0x576e62;}function Dt(..._0x107ebb){const _0x4325f1={_0x5c8192:0x4d3,_0x2c51c4:0x496,_0x3b1945:0x541};return _0x46681a=>{let _0x19d6ff=_0x46681a;for(let _0x5574f9=_0x107ebb[_0x5f1bea(_0x4325f1._0x5c8192,_0x4325f1._0x2c51c4,0x429,_0x4325f1._0x3b1945)];_0x5574f9-->0x0;)_0x19d6ff=_0x107ebb[_0x5574f9](_0x19d6ff);function _0x5f1bea(_0x1128b3,_0x569efe,_0x4d1b5f,_0x41fd7f){return _0x58a4(_0x1128b3- -0x23,_0x4d1b5f);}return _0x19d6ff;};}function _t(_0x22ffeb){const _0x2d5798={_0x54d7ce:0x2e5,_0x3bd485:0x650,_0x578b45:0x683,_0x5e01e0:0x85e},_0x5dcc8c={_0x4315f5:0x6b,_0x158e3a:0x1f1},_0x1b2d35={_0x4d2831:0xa,_0x288ad9:0xb0,_0x2d4df3:0x19c};function _0x18055f(_0x29ad96,_0x4fc6a1,_0x35952c,_0x302196){return _0x199b7d(_0x29ad96-_0x1b2d35._0x4d2831,_0x29ad96-_0x1b2d35._0x288ad9,_0x35952c-_0x1b2d35._0x2d4df3,_0x302196);}function _0x8102aa(_0x4ddd99,_0x194058,_0x3349f7,_0x606e12){return _0x3eba7a(_0x4ddd99-_0x5dcc8c._0x4315f5,_0x194058-_0x5dcc8c._0x158e3a,_0x194058,_0x3349f7-0x5ca);}return _0x22ffeb[_0x18055f(0x4d5,0x691,0x5be,_0x2d5798._0x54d7ce)](/[-[\]/{}()*+?.\\^$|]/g,_0x8102aa(0x5a6,_0x2d5798._0x3bd485,_0x2d5798._0x578b45,_0x2d5798._0x5e01e0));}function on(_0x477d24){const _0x1b6f59={_0x5dcd20:0x5fc,_0x57258d:0x2ee,_0x586a58:0x264},_0xe95edf={_0x1b95df:0x15b},_0x314a5a={_0x46d438:0xc6,_0xeea8ad:0x67e};function _0x14176f(_0x421fd5,_0x52f489,_0x2e2a9f,_0x303b7d){return _0x3eba7a(_0x421fd5-0x146,_0x52f489-_0x314a5a._0x46d438,_0x303b7d,_0x52f489-_0x314a5a._0xeea8ad);}function _0x3f6a6c(_0x1cc670,_0x5c751f,_0xbeb704,_0x921513){return _0x199b7d(_0x1cc670-_0xe95edf._0x1b95df,_0x921513- -0x56f,_0xbeb704-0x146,_0x1cc670);}return _0x477d24[_0x14176f(0x67e,_0x1b6f59._0x5dcd20,0x597,0x5e9)](/&/g,'&')[_0x14176f(0x4cb,_0x1b6f59._0x5dcd20,0x761,0x4fb)](/</g,'<')['replace'](/>/g,'>')[_0x3f6a6c(-_0x1b6f59._0x57258d,-0x77,-_0x1b6f59._0x586a58,-0x14a)](/"/g,'\x22')['replace'](/'/g,'\x27');}function at(_0x21ee96){const _0x2e22a2={_0x592203:0x4d7,_0x512b17:0x652,_0x1ffabd:0x6d9},_0x1861ef={_0x3eb76b:0x4a0};function _0x2bfad8(_0x26ff90,_0x4078d9,_0x5b3c5b,_0x2f5c5a){return _0x3eba7a(_0x26ff90-0x1ee,_0x4078d9-0x107,_0x2f5c5a,_0x5b3c5b-_0x1861ef._0x3eb76b);}return _0x21ee96['replace'](Yi,'')[_0x2bfad8(_0x2e22a2._0x592203,_0x2e22a2._0x512b17,_0x2e22a2._0x1ffabd,0x7fc)];}function lt(_0x45e2ad,_0x5b3313){return _0x5b3313?_0x45e2ad['replace'](Ji,'\x0a'):_0x45e2ad;}function Zi(_0x23f61f){const _0x51d891={_0xaddc28:0x69b};function _0x4f898e(_0x561ed9,_0x16277a,_0x124e77,_0x36380e){return _0x3eba7a(_0x561ed9-0x5f,_0x16277a-0x74,_0x36380e,_0x16277a-0x482);}function _0x467166(_0xd21abe,_0x3f4a5f,_0x36ce6a,_0x5eb3ad){return _0x199b7d(_0xd21abe-0xa1,_0x3f4a5f- -0x1f,_0x36ce6a-0x83,_0x5eb3ad);}return Xi[_0x467166(0x49b,_0x51d891._0xaddc28,0x5f1,0x592)](_0x190d29=>_0x23f61f['match']('^('+_0x190d29+_0x467166(0x525,0x610,0x7ab,0x74e)));}function rn(_0x18a87a,_0x16068c){const _0x253977={_0x3994f5:0x51f,_0xd19e1:0x3c5,_0x9293cb:0x46b},_0x3adbbd={_0x3ce77b:0x159,_0x5defae:0xbc,_0x20b1f0:0x70},_0x3b9d6d={_0x425405:0x19e};function _0x42c616(_0x24eaef,_0x1d5e2c,_0x4bb942,_0x6cd47d){return _0x3eba7a(_0x24eaef-_0x3b9d6d._0x425405,_0x1d5e2c-0xa1,_0x4bb942,_0x24eaef-0x509);}function _0x136db7(_0xf0c6eb,_0x35e9fd,_0x55b2f8,_0x4cfb1d){return _0x199b7d(_0xf0c6eb-_0x3adbbd._0x3ce77b,_0xf0c6eb-_0x3adbbd._0x5defae,_0x55b2f8-_0x3adbbd._0x20b1f0,_0x55b2f8);}return typeof _0x18a87a==_0x42c616(_0x253977._0x3994f5,0x6f9,0x5b3,_0x253977._0xd19e1)?new Array(_0x18a87a+0x1)['join']('\x20'):typeof _0x18a87a=='string'&&Zi(_0x18a87a)?_0x18a87a:new Array(_0x16068c+0x1)[_0x136db7(0x4b4,0x54f,0x363,_0x253977._0x9293cb)]('\x20');}import*as _0x46299f from'node-emoji';var Mo=_0x3eba7a(-0x71,-0x219,-0x167,-0x152),Qi=new RegExp(_t(Mo),'g');function sn(_0x451789){const _0x3c6ace={_0xbb455f:0x29a,_0x3944f5:0xda},_0xdaac18={_0x228fc0:0x1a1,_0x30cc27:0x1b2,_0xceaf00:0x51},_0x516126={_0x3c240b:0x120,_0x4bf785:0x11e};function _0x494214(_0x323e70,_0x1f2c2c,_0x57095b,_0x5bb27b){return _0x199b7d(_0x323e70-_0x516126._0x3c240b,_0x323e70- -0x4f2,_0x57095b-_0x516126._0x4bf785,_0x1f2c2c);}return _0x451789[_0x494214(-0xcd,-_0x3c6ace._0xbb455f,-0x1be,_0x3c6ace._0x3944f5)](/:([A-Za-z0-9_\-+]+?):/g,_0x5e5555=>{const _0x3dc2d1={_0x1a1e82:0xb3,_0x566864:0xc0};function _0x3a51dd(_0x16c196,_0x46e3aa,_0x5bfea8,_0x550f77){return _0x494214(_0x16c196-_0x3dc2d1._0x1a1e82,_0x46e3aa,_0x5bfea8-_0x3dc2d1._0x566864,_0x550f77-0x2c);}let _0x1a2071=_0x46299f[_0x3a51dd(_0xdaac18._0x228fc0,_0xdaac18._0x30cc27,0x253,_0xdaac18._0xceaf00)](_0x5e5555);return _0x1a2071?_0x1a2071+'\x20':_0x5e5555;});}function an(_0xf0203d){const _0x3f49b7={_0x4fe608:0x442,_0x28751a:0x27e,_0x5d25c9:0x3eb},_0x28efa3={_0x2d6c09:0x187,_0x26c3b2:0x46d};function _0x12032c(_0x4ccdf6,_0x49e962,_0x54cb63,_0xb89440){return _0x3eba7a(_0x4ccdf6-0x192,_0x49e962-_0x28efa3._0x2d6c09,_0x49e962,_0xb89440-_0x28efa3._0x26c3b2);}return _0xf0203d[_0x12032c(_0x3f49b7._0x4fe608,0x1ed,_0x3f49b7._0x28751a,_0x3f49b7._0x5d25c9)](Qi,':');}import _0x18ec74 from'cli-table3';var Po=_0x199b7d(0x6f9,0x646,0x6f4,0x6eb),Bt=_0x3eba7a(0x318,0x70,0x102,0x199),ta=new RegExp(_t(Bt),'g');function ln(_0x501c49,_0x1fc5ac){const _0x36f2e0={_0x3f8846:0x704,_0x463129:0x778,_0x26b31a:0x45f,_0x2e8245:0x217},_0x40f17e={_0x44003c:0x65,_0x1a2b9e:0x31,_0x3706b1:0x55,_0x35ff17:0x389,_0x53a57e:0x59a,_0x23ab6c:0x6b,_0x419876:0x97,_0xea709e:0x73,_0x380843:0x15c},_0x5c1460={_0x5458d8:0x4d5},_0x248596={_0x2a6004:0xff};function _0x15a8e1(_0x3b30a4,_0x235ab1,_0x41692d,_0x5ee208){return _0x199b7d(_0x3b30a4-_0x248596._0x2a6004,_0x41692d- -0x2,_0x41692d-0x1c4,_0x3b30a4);}if(!_0x501c49)return[];let _0x344c58=(_0x1fc5ac||Ye)(_0x501c49)[_0x15a8e1(_0x36f2e0._0x3f8846,_0x36f2e0._0x463129,0x646,_0x36f2e0._0x26b31a)]('\x0a'),_0x4c5ae1=[];function _0x1b6b2d(_0x42df25,_0x17bcec,_0x2f99ca,_0x55d111){return _0x199b7d(_0x42df25-0x171,_0x55d111- -_0x5c1460._0x5458d8,_0x2f99ca-0x37,_0x17bcec);}return _0x344c58[_0x1b6b2d(0x134,0xd4,_0x36f2e0._0x2e8245,0x1ac)](_0x45e70d=>{const _0x24f464={_0x3bba01:0x7d,_0x4d9711:0x1a7},_0x50f03b={_0x4ce200:0xba,_0x2f6cf3:0x4b};if(!_0x45e70d)return;function _0x4b269f(_0x50b80a,_0x117c00,_0x1dd80e,_0x5a3100){return _0x1b6b2d(_0x50b80a-_0x50f03b._0x4ce200,_0x5a3100,_0x1dd80e-0x7d,_0x50b80a-_0x50f03b._0x2f6cf3);}let _0x74a512=_0x45e70d[_0x4b269f(-_0x40f17e._0x44003c,_0x40f17e._0x1a2b9e,-0x22f,_0x40f17e._0x3706b1)](ta,'')[_0x3b64c2(_0x40f17e._0x35ff17,0x345,_0x40f17e._0x53a57e,0x542)](Po);function _0x3b64c2(_0xbe9cfc,_0x29f974,_0x515034,_0x41cb4f){return _0x15a8e1(_0xbe9cfc,_0x29f974-_0x24f464._0x3bba01,_0x41cb4f- -0x104,_0x41cb4f-_0x24f464._0x4d9711);}_0x4c5ae1[_0x4b269f(_0x40f17e._0x23ab6c,-_0x40f17e._0x419876,-_0x40f17e._0xea709e,_0x40f17e._0x380843)](_0x74a512['splice'](0x0,_0x74a512['length']-0x1));}),_0x4c5ae1;}function cn(_0x2b4de,_0xdd2c31,_0x5228b9,_0x5ba2c7,_0x12ecde){const _0x252ba4={_0x49f15f:0x3ee,_0x5b962c:0x1cc,_0x3c6f0e:0x3ce,_0x1eb05d:0x39e,_0x1bdf46:0x35d,_0x322cd6:0x316},_0x29cc7f={_0x136246:0x198},_0xa66448={_0x15da57:0x125};function _0x285d8f(_0x1b37b7,_0x403837,_0x1dd3c0,_0x2fe5dd){return _0x199b7d(_0x1b37b7-_0xa66448._0x15da57,_0x1b37b7- -0x4b5,_0x1dd3c0-0x118,_0x1dd3c0);}function _0x4e0e41(_0x121411,_0x587d04,_0x55d170,_0x518023){return _0x3eba7a(_0x121411-_0x29cc7f._0x136246,_0x587d04-0x8a,_0x121411,_0x587d04-0x412);}let _0x331c45=new _0x18ec74(Object[_0x4e0e41(0x419,0x416,_0x252ba4._0x49f15f,0x21b)]({},{'head':ln(_0x2b4de)[0x0]},_0x5228b9));return ln(_0xdd2c31||'',_0x5ba2c7)[_0x285d8f(_0x252ba4._0x5b962c,0x27b,_0x252ba4._0x3c6f0e,_0x252ba4._0x1eb05d)](_0x32dc6d=>{_0x331c45['push'](_0x32dc6d);}),_0x12ecde(_0x331c45[_0x4e0e41(_0x252ba4._0x1bdf46,_0x252ba4._0x322cd6,0x4bf,0x438)]());}var oa=_0x3eba7a(0x262,-0x2d,0x311,0x1c6),dn=_0x199b7d(0x341,0x3bb,0x521,0x5af)+['\x5c*',oa]['join']('|')+')',Ft='*\x20';function pn(_0x305b8c,_0x5e88d9){const _0x8c7ffc={_0x35db02:0x2f},_0x3c93f2={_0x2eb52f:0x1a,_0x95e48:0x10e,_0x4c9694:0x21},_0x26159e={_0xde9eca:0x212};function _0x246205(_0x58cc9b,_0x5bf0ce,_0x33570a,_0x5d85bb){return _0x199b7d(_0x58cc9b-0x15f,_0x5bf0ce- -_0x26159e._0xde9eca,_0x33570a-0x1ef,_0x5d85bb);}function _0x97584b(_0x3d00ef,_0x3683c4,_0x2060c3,_0x2233cc){return _0x199b7d(_0x3d00ef-_0x3c93f2._0x2eb52f,_0x2060c3-_0x3c93f2._0x95e48,_0x2060c3-_0x3c93f2._0x4c9694,_0x3683c4);}return!!_0x305b8c[_0x246205(0x3ef,0x1f7,0x123,0x373)](_0x246205(0x281,0x179,_0x8c7ffc._0x35db02,0x271)+_0x5e88d9+')*'+dn);}function mn(_0x6bc8c4){const _0x1dd0b3={_0x12635a:0x1f4,_0x24e687:0x1f6},_0x1ec35d={_0x37635c:0x152,_0x403306:0xfe,_0x21e22d:0xf4};function _0x2e382f(_0xde5e34,_0xe6eca2,_0x4b7e59,_0x3dbae3){return _0x3eba7a(_0xde5e34-_0x1ec35d._0x37635c,_0xe6eca2-_0x1ec35d._0x403306,_0xde5e34,_0x3dbae3- -_0x1ec35d._0x21e22d);}return'\x20'[_0x2e382f(-0x224,-0x1,-_0x1dd0b3._0x12635a,-_0x1dd0b3._0x24e687)](_0x6bc8c4['length']);}function ra(_0x474d3c,_0x2531cc){return pn(_0x2531cc,_0x474d3c)?_0x2531cc:mn(Ft)+_0x2531cc;}function na(_0x51d663,_0x3ce0d4){const _0x3c7bc2={_0x3a98bd:0x295,_0x1f8711:0x23f,_0x52a6ce:0x37,_0x2a5180:0x181,_0x4aaa05:0x12a,_0x4538c2:0xf8,_0x462729:0x1eb,_0xb94c00:0x213,_0x23422e:0x99,_0x4fe288:0xc5},_0x5dc5e8={_0x485084:0x81},_0x5ca3d7={_0x268e4c:0x134,_0x460f1c:0x4c9,_0xc31515:0x187};function _0x6ed6b4(_0x3ff5ea,_0x108c5c,_0xdf92a9,_0x1ee5f9){return _0x199b7d(_0x3ff5ea-_0x5ca3d7._0x268e4c,_0xdf92a9- -_0x5ca3d7._0x460f1c,_0xdf92a9-_0x5ca3d7._0xc31515,_0x108c5c);}function _0x5a94a0(_0x2ae3d7,_0x4b8d51,_0x3313a8,_0x13b8b6){return _0x3eba7a(_0x2ae3d7-0x43,_0x4b8d51-_0x5dc5e8._0x485084,_0x2ae3d7,_0x3313a8-0xf4);}let _0x1da5ac=_0x2e99a4=>ra(_0x3ce0d4,_0x2e99a4);return _0x51d663[_0x5a94a0(0x462,0x3c4,_0x3c7bc2._0x3a98bd,0x173)]('\x0a')[_0x5a94a0(_0x3c7bc2._0x1f8711,_0x3c7bc2._0x52a6ce,_0x3c7bc2._0x2a5180,_0x3c7bc2._0x4aaa05)](_0x375658=>_0x375658['trim']()[_0x6ed6b4(0x40,0x21a,0x217,0x46)]>0x0)[_0x6ed6b4(_0x3c7bc2._0x4538c2,_0x3c7bc2._0x462729,_0x3c7bc2._0xb94c00,0x21f)](_0x1da5ac)[_0x6ed6b4(-_0x3c7bc2._0x23422e,-0x1bf,-0xd1,-_0x3c7bc2._0x4fe288)]('\x0a');}function un(_0x288eb8){return _0x288eb8+'.\x20';}function sa(_0x103038,_0x36c86f,_0x53d0a9){const _0x3656b0={_0x4be7dc:0x429,_0x45d214:0x4f8},_0x39bea2={_0x26e025:0x9f,_0x435eba:0x58d};function _0x3e7b61(_0x127403,_0x52bef0,_0x27d0ac,_0x3950a8){return _0x3eba7a(_0x127403-_0x39bea2._0x26e025,_0x52bef0-0x36,_0x127403,_0x52bef0-_0x39bea2._0x435eba);}return pn(_0x36c86f,_0x103038)?{'num':_0x53d0a9+0x1,'line':_0x36c86f[_0x3e7b61(_0x3656b0._0x4be7dc,0x50b,0x6a8,_0x3656b0._0x45d214)](Ft,un(_0x53d0a9+0x1))}:{'num':_0x53d0a9,'line':mn(un(_0x53d0a9))+_0x36c86f};}function ia(_0x3660cb,_0x8a8963){const _0x42a450={_0x6467e4:0x256,_0x4a25d9:0x1f1,_0x37dc50:0x263,_0x48e156:0x29f},_0x841a5e={_0x15cdda:0x49b,_0x47e9ff:0x596,_0x57654c:0x49b,_0x4f0156:0x326},_0x4e4cd8={_0x3e81b4:0x20a},_0x458876={_0x366456:0xab},_0x403a39={_0x4c658f:0xe7,_0x323f53:0x1da},_0x1e000a={_0x1a277e:0x1af,_0x23efe4:0x1d8};function _0x231ce4(_0x11792d,_0x43166b,_0x50a0f1,_0x28e353){return _0x199b7d(_0x11792d-_0x1e000a._0x1a277e,_0x43166b-0x7b,_0x50a0f1-_0x1e000a._0x23efe4,_0x50a0f1);}function _0x4add9d(_0x189609,_0x1a5f6d,_0x57b51e,_0x4f1f00){return _0x199b7d(_0x189609-_0x403a39._0x4c658f,_0x189609- -0x2de,_0x57b51e-_0x403a39._0x323f53,_0x1a5f6d);}let _0x585a2d=0x0;return _0x3660cb['split']('\x0a')[_0x4add9d(_0x42a450._0x6467e4,0x321,_0x42a450._0x4a25d9,0x447)](_0x2d0785=>_0x2d0785[_0x4add9d(0x4f,-0x194,0x22,0x118)]()[_0x4add9d(0x402,0x269,0x5e0,0x592)]>0x0)[_0x4add9d(0x3fe,0x3e1,0x2ea,0x3f3)](_0x3539ca=>{function _0x4931f6(_0x58ce84,_0x50e462,_0x37b937,_0x4abd75){return _0x4add9d(_0x50e462-0x393,_0x4abd75,_0x37b937-0x7e,_0x4abd75-_0x458876._0x366456);}let _0x4afabb=sa(_0x8a8963,_0x3539ca,_0x585a2d);function _0x41549b(_0x39efe4,_0x3d04dd,_0x555732,_0x118b5a){return _0x4add9d(_0x39efe4-_0x4e4cd8._0x3e81b4,_0x118b5a,_0x555732-0x5f,_0x118b5a-0x97);}return _0x585a2d=_0x4afabb[_0x41549b(0x47c,_0x841a5e._0x15cdda,0x567,_0x841a5e._0x47e9ff)],_0x4afabb[_0x41549b(0x301,_0x841a5e._0x57654c,0x18c,_0x841a5e._0x4f0156)];})[_0x4add9d(0x11a,0x1f2,_0x42a450._0x37dc50,_0x42a450._0x48e156)]('\x0a');}function fn(_0x52384b,_0x55bda2,_0x3b0d0f){const _0xefae8f={_0x28a07a:0x130,_0x1c157d:0x326},_0x1b4a54={_0x25fafb:0x15d,_0x264128:0x1fd,_0x53ed32:0x1b1};function _0x1b11f2(_0x29b588,_0x2428eb,_0x396452,_0x4789b4){return _0x199b7d(_0x29b588-_0x1b4a54._0x25fafb,_0x2428eb- -_0x1b4a54._0x264128,_0x396452-_0x1b4a54._0x53ed32,_0x396452);}return _0x52384b=_0x52384b[_0x1b11f2(0x158,_0xefae8f._0x28a07a,0x2be,_0xefae8f._0x1c157d)](),_0x52384b=_0x55bda2?ia(_0x52384b,_0x3b0d0f):na(_0x52384b,_0x3b0d0f),_0x52384b;}function gn(_0x59ff95,_0x2978d5){const _0x2b24e7={_0x33120c:0x7b8,_0x5be3cd:0x7d6,_0x1025f1:0x77a,_0x431bef:0x2d,_0x42a323:0x2b5,_0x3504d5:0x227,_0x348b6e:0x16e,_0x14bf5d:0x201,_0x470ad9:0xa4},_0xd64cca={_0x57d4d1:0x55,_0x342751:0x658},_0x263314={_0x44d6da:0x176,_0xf4bd02:0x47c,_0x27a91a:0x153};function _0x4688ef(_0x419ac4,_0x4e26cb,_0x1ee1ca,_0x1eea0f){return _0x199b7d(_0x419ac4-_0x263314._0x44d6da,_0x1ee1ca- -_0x263314._0xf4bd02,_0x1ee1ca-_0x263314._0x27a91a,_0x4e26cb);}let _0x14f95b=new RegExp(_0x3f66c1(_0x2b24e7._0x33120c,_0x2b24e7._0x5be3cd,0x5d3,_0x2b24e7._0x1025f1)+_0x2978d5+_0x4688ef(-0xb2,_0x2b24e7._0x431bef,0xbe,-0xcb)+dn+_0x4688ef(0x193,_0x2b24e7._0x42a323,_0x2b24e7._0x3504d5,0x367),'gm');function _0x3f66c1(_0x185608,_0x56aad5,_0x30b6c8,_0x409d02){return _0x3eba7a(_0x185608-_0xd64cca._0x57d4d1,_0x56aad5-0x5c,_0x30b6c8,_0x185608-_0xd64cca._0x342751);}return _0x59ff95[_0x4688ef(-_0x2b24e7._0x348b6e,0x179,-0x57,-0x24e)](_0x14f95b,_0x4688ef(-0x29,0x121,0xc8,-0xe)+_0x2978d5+_0x4688ef(_0x2b24e7._0x14bf5d,0x1f3,_0x2b24e7._0x470ad9,-0xc8));}function hn(_0x5525b9,_0x447545){const _0x59f9b9={_0x599ae7:0x3eb,_0x425da6:0x1b2};function _0x38b813(_0x450dee,_0x4993d1,_0x4885cd,_0x253996){return _0x199b7d(_0x450dee-0x146,_0x450dee- -0x1dc,_0x4885cd-0x12c,_0x4885cd);}return _0x447545[_0x38b813(0x249,_0x59f9b9._0x599ae7,0x3d6,_0x59f9b9._0x425da6)](/(^|\n)(.+)/g,'$1'+_0x5525b9+'$2');}var yn='\x0d',aa=new RegExp(yn),la=new RegExp(yn+_0x199b7d(0x3ad,0x37c,0x396,0x223));function Io(_0x20f983,_0x3ef695,_0x2bcfba){const _0x2acd53={_0x52fd3d:0x72a,_0x48c636:0x791,_0x2a4146:0x797,_0x5bcdf3:0x867,_0x9baa43:0x797,_0x378432:0x776,_0x5eb4b8:0x81c,_0x101d75:0x8bc,_0x1f9527:0x701,_0x52e9d4:0x6cc,_0x24fb77:0x72a,_0x56b8eb:0x7ff,_0xd8f1f7:0x612,_0x4604a3:0x72a,_0x5721d8:0x888,_0x25dcd7:0x378,_0x3d8a81:0x72a,_0x5c8c77:0x43a,_0x72a83c:0x67a,_0x4f433c:0x569,_0x2a2718:0x452,_0x1ff039:0x960,_0x480b3f:0x8bc,_0x6716f3:0x92f,_0xb4ffb1:0x59b,_0x47890c:0x53f,_0x259941:0x3c0,_0x55db9d:0x4d6,_0x323b76:0x74c,_0x36cd2e:0x797,_0x48a1ed:0x53f},_0x5675de={_0x3507a6:0x234};let _0x2ce859=_0x2bcfba?la:aa,_0x451ecd=_0x20f983['split'](_0x2ce859),_0x2c9923=[];return _0x451ecd['forEach'](_0x212f79=>{function _0xbcd380(_0x3db29e,_0x21507d,_0x38f5ff,_0x2c7a36){return _0x58a4(_0x38f5ff-0x3c6,_0x21507d);}let _0x56ef9f=_0x212f79['split'](/(\u001b\[(?:\d{1,3})(?:;\d{1,3})*m)/g),_0x285123=0x0,_0x15270c='',_0x54be70=!0x1;for(;_0x56ef9f[_0x4f39da(0x7b1,0x81f,_0x2acd53._0x52fd3d,0x6d7)];){let _0x2dc75d=_0x56ef9f[0x0];if(_0x2dc75d===''){_0x56ef9f[_0xbcd380(_0x2acd53._0x48c636,0x860,_0x2acd53._0x2a4146,_0x2acd53._0x5bcdf3)](0x0,0x1),_0x54be70=!0x1;continue;}if(!at(_0x2dc75d)){_0x15270c+=_0x2dc75d,_0x56ef9f[_0xbcd380(0x5fc,0x5a6,_0x2acd53._0x9baa43,0x8c4)](0x0,0x1),_0x54be70=!0x0;continue;}let _0x440407=_0x2dc75d['split'](/[ \t\n]+/);for(let _0x25e1db=0x0;_0x25e1db<_0x440407[_0xbcd380(_0x2acd53._0x378432,_0x2acd53._0x5eb4b8,_0x2acd53._0x101d75,_0x2acd53._0x1f9527)];_0x25e1db++){let _0x3a4fe7=_0x440407[_0x25e1db],_0x140658=_0x285123!==0x0;if(_0x54be70&&(_0x140658=!0x1),_0x285123+_0x3a4fe7[_0x4f39da(_0x2acd53._0x52e9d4,0x72a,_0x2acd53._0x24fb77,0x744)]+(_0x140658?0x1:0x0)>_0x3ef695){if(_0x3a4fe7[_0x4f39da(_0x2acd53._0x56b8eb,_0x2acd53._0xd8f1f7,_0x2acd53._0x4604a3,_0x2acd53._0x5721d8)]<=_0x3ef695)_0x2c9923['push'](_0x15270c),_0x15270c=_0x3a4fe7,_0x285123=_0x3a4fe7['length'];else{let _0x4aebee=_0x3a4fe7['substr'](0x0,_0x3ef695-_0x285123-(_0x140658?0x1:0x0));for(_0x140658&&(_0x15270c+='\x20'),_0x15270c+=_0x4aebee,_0x2c9923['push'](_0x15270c),_0x15270c='',_0x285123=0x0,_0x3a4fe7=_0x3a4fe7[_0x4f39da(0x25b,0x354,0x3d7,_0x2acd53._0x25dcd7)](_0x4aebee['length']);_0x3a4fe7[_0x4f39da(0x598,0x691,_0x2acd53._0x3d8a81,0x5a6)]&&(_0x4aebee=_0x3a4fe7[_0xbcd380(_0x2acd53._0x5c8c77,_0x2acd53._0x72a83c,_0x2acd53._0x4f433c,_0x2acd53._0x2a2718)](0x0,_0x3ef695),!!_0x4aebee['length']);)if(_0x4aebee[_0xbcd380(_0x2acd53._0x1ff039,0x6da,_0x2acd53._0x480b3f,_0x2acd53._0x6716f3)]<_0x3ef695){_0x15270c=_0x4aebee,_0x285123=_0x4aebee['length'];break;}else _0x2c9923[_0x4f39da(_0x2acd53._0xb4ffb1,0x629,_0x2acd53._0x47890c,0x33c)](_0x4aebee),_0x3a4fe7=_0x3a4fe7[_0xbcd380(_0x2acd53._0x259941,0x54f,0x569,_0x2acd53._0x55db9d)](_0x3ef695);}}else _0x140658&&(_0x15270c+='\x20',_0x285123++),_0x15270c+=_0x3a4fe7,_0x285123+=_0x3a4fe7['length'];_0x54be70=!0x1;}_0x56ef9f[_0xbcd380(_0x2acd53._0x323b76,0x813,_0x2acd53._0x36cd2e,_0x2acd53._0x48c636)](0x0,0x1);}function _0x4f39da(_0x1fbf96,_0x3c34a4,_0x5312f8,_0x4d7f51){return _0x58a4(_0x5312f8-_0x5675de._0x3507a6,_0x3c34a4);}at(_0x15270c)&&_0x2c9923[_0x4f39da(0x450,0x4f3,_0x2acd53._0x48a1ed,0x40a)](_0x15270c);}),_0x2c9923['join']('\x0a');}function Ao(_0xd882da,_0x22a246){const _0x283d57={_0x5046d9:0x244,_0x10ac9c:0xb2,_0x581c87:0x40c},_0x2c5075={_0xc5c3da:0x5f};function _0x537c84(_0x27b474,_0x32c275,_0x17c32a,_0x4e870a){return _0x199b7d(_0x27b474-_0x2c5075._0xc5c3da,_0x32c275- -0x1b4,_0x17c32a-0x1cf,_0x17c32a);}return _0x22a246&&_0xd882da+_0x22a246['split']('\x0a')[_0x537c84(0x3da,_0x283d57._0x5046d9,_0x283d57._0x10ac9c,_0x283d57._0x581c87)]('\x0a'+_0xd882da);}function xn(_0x1c9830,_0x6091fc){const _0xb395d4={_0x50059e:0x47c,_0x190ef3:0x724,_0x20cf65:0x7ca,_0x3383cd:0x77e,_0x417d44:0x69e,_0x5a78be:0x6a8,_0x5b907e:0x504},_0x4fae22={_0x108c09:0x93,_0x24bc80:0x5b3},_0x4490ba={_0x56f543:0x169,_0x3280f4:0x510};function _0x35e05a(_0x598160,_0x35f38e,_0x3aee81,_0x3de799){return _0x3eba7a(_0x598160-0x5d,_0x35f38e-_0x4490ba._0x56f543,_0x598160,_0x35f38e-_0x4490ba._0x3280f4);}function _0x365896(_0x493cce,_0x35c17f,_0x47b2e2,_0x5d1d43){return _0x3eba7a(_0x493cce-_0x4fae22._0x108c09,_0x35c17f-0x134,_0x35c17f,_0x5d1d43-_0x4fae22._0x24bc80);}let _0x5644e4=typeof _0x6091fc==_0x365896(_0xb395d4._0x50059e,0x437,0x5c7,0x5c9)?_0x6091fc:process[_0x35e05a(0x73e,_0xb395d4._0x190ef3,_0xb395d4._0x20cf65,_0xb395d4._0x3383cd)][_0x35e05a(0x3e2,0x4ca,0x45e,_0xb395d4._0x417d44)]||0x50;return new Array(_0x5644e4)[_0x365896(0x5a1,0x41b,_0xb395d4._0x5a78be,_0xb395d4._0x5b907e)](_0x1c9830);}function $e(_0xff2f76){return _0xff2f76+'\x0a\x0a';}import _0x58568d from'chalk';import{highlight as _0x3759be}from'cli-highlight';function Cn(_0x57e440,_0x4dbdbd,_0x2fcb0e,_0x445f84,_0x52d244){const _0x26bd97={_0x33889e:0x694,_0x5172ee:0x72a,_0x283d99:0x65f,_0x5385e3:0x208},_0x409893={_0x441219:0x14f,_0x3e2fa1:0x16b,_0xa4328a:0x9b},_0x14ad69={_0x3267c2:0xda,_0x493cf1:0x1bb};function _0x13d577(_0x9b96d,_0x24fd37,_0x1fb559,_0x1debc0){return _0x199b7d(_0x9b96d-_0x14ad69._0x3267c2,_0x9b96d- -_0x14ad69._0x493cf1,_0x1fb559-0xb4,_0x1debc0);}if(_0x58568d[_0x8a04c6(0x69c,_0x26bd97._0x33889e,_0x26bd97._0x5172ee,_0x26bd97._0x283d99)]===0x0)return _0x57e440;_0x57e440=lt(_0x57e440,_0x445f84);function _0x8a04c6(_0x266fda,_0x586dcc,_0x3b6dd2,_0x34e384){return _0x199b7d(_0x266fda-_0x409893._0x441219,_0x586dcc-_0x409893._0x3e2fa1,_0x3b6dd2-_0x409893._0xa4328a,_0x266fda);}try{return _0x3759be(_0x57e440,Object[_0x13d577(0x2f0,0x3b9,_0x26bd97._0x5385e3,0x483)]({},{'language':_0x4dbdbd},_0x52d244));}catch{return _0x2fcb0e(_0x57e440);}}var ma={'code':_0x3ee1f5[_0x3eba7a(-0x5c,-0x7a,-0x135,-0x184)],'blockquote':_0x3ee1f5[_0x199b7d(0x508,0x687,0x4b3,0x864)]['italic'],'html':_0x3ee1f5[_0x3eba7a(0x322,0x1b6,0x2c5,0x1e0)],'heading':_0x3ee1f5[_0x3eba7a(0x1d8,0x17d,-0xe2,0x83)][_0x199b7d(0x3d8,0x462,0x4d8,0x2cc)],'firstHeading':_0x3ee1f5[_0x199b7d(0x3c9,0x309,0x3b3,0x170)][_0x199b7d(0x3f1,0x4e6,0x67b,0x6e8)]['bold'],'hr':_0x3ee1f5[_0x199b7d(0x56f,0x6ed,0x5c8,0x548)],'listitem':_0x3ee1f5[_0x199b7d(0x838,0x6ed,0x4ea,0x792)],'list':fn,'table':_0x3ee1f5[_0x199b7d(0x5ff,0x6ed,0x565,0x6c7)],'paragraph':_0x3ee1f5['reset'],'strong':_0x3ee1f5['bold'],'em':_0x3ee1f5['italic'],'codespan':_0x3ee1f5[_0x3eba7a(-0x1b0,0xc,0x24,-0x184)],'del':_0x3ee1f5[_0x199b7d(0x621,0x68b,0x794,0x4bc)]['gray'][_0x199b7d(0x590,0x47b,0x379,0x2ac)],'link':_0x3ee1f5[_0x3eba7a(-0x9c,0xbb,-0x11a,0x9b)],'href':_0x3ee1f5[_0x199b7d(0x69a,0x542,0x57f,0x66a)][_0x199b7d(0x648,0x4e6,0x3db,0x36e)],'text':Ye,'image':void 0x0,'unescape':!0x0,'emoji':!0x0,'width':0x50,'showSectionPrefix':!0x0,'reflowText':!0x1,'tab':0x4,'tableOptions':{}},ko=class{constructor(_0x539962,_0x4e354c){const _0x264fdd={_0x22f8a4:0x80,_0x1356e4:0x383,_0x31cdc3:0x261,_0x556fff:0x2af,_0x14c254:0x70,_0x2d81d4:0x124,_0x5f708d:0x27a,_0x130827:0x3e3,_0x5da736:0x35c,_0x147f70:0x25e,_0x4a8299:0x32,_0x744f1c:0x17a,_0x296374:0xed,_0x2b1199:0xda,_0x9dc19:0x106,_0xc782da:0x8,_0x2edc81:0x11b},_0xc3da66={_0xd7e908:0x88,_0x43b895:0x1c4},_0x536e7d={_0x4bfa2a:0x4b};let _0x2e3cf0={...ma,..._0x539962};function _0x5a902a(_0x550383,_0x2c29b4,_0x574e56,_0x5359a3){return _0x3eba7a(_0x550383-0x3b,_0x2c29b4-_0x536e7d._0x4bfa2a,_0x2c29b4,_0x574e56-0x68);}function _0x381446(_0x142f51,_0x4a39a7,_0x4a4b0f,_0x39c44d){return _0x3eba7a(_0x142f51-_0xc3da66._0xd7e908,_0x4a39a7-_0xc3da66._0x43b895,_0x4a4b0f,_0x39c44d-0x21e);}this[_0x381446(_0x264fdd._0x22f8a4,_0x264fdd._0x1356e4,0x20e,_0x264fdd._0x31cdc3)]=rn(_0x2e3cf0['tab'],0x4),this['o']=_0x2e3cf0,this['tableSettings']=this['o'][_0x5a902a(_0x264fdd._0x556fff,0x29c,0x132,_0x264fdd._0x14c254)],this[_0x5a902a(-0x13,0x15,0x8,-_0x264fdd._0x2d81d4)]=this['o'][_0x381446(_0x264fdd._0x5f708d,0x40b,_0x264fdd._0x130827,0x2b0)]?sn:Ye,this[_0x5a902a(_0x264fdd._0x5da736,_0x264fdd._0x147f70,0x297,0x3cf)]=this['o']['unescape']?on:Ye,this[_0x5a902a(0x96,0x15a,0x197,_0x264fdd._0x4a8299)]=_0x4e354c||{},this[_0x5a902a(-0x94,-_0x264fdd._0x744f1c,-0x78,-_0x264fdd._0x296374)]=Dt(an,this['unescapeTransform'],this[_0x5a902a(-_0x264fdd._0x2b1199,-_0x264fdd._0x9dc19,_0x264fdd._0xc782da,_0x264fdd._0x2edc81)]);}[_0x3eba7a(0x40,0xe7,0x2c3,0xe2)](_0x582943){return at(_0x582943);}[_0x199b7d(0x3ae,0x5a7,0x6e2,0x41a)](){return'';}[_0x3eba7a(-0x43,0xfb,-0x159,-0x10)](_0x4830bc){const _0x2fec1d={_0x32594c:0x3c3,_0x1f4cd5:0x2fc,_0xe21e9e:0x2a4,_0x44f7a6:0x121,_0x3f2c8c:0x45e,_0x506fe8:0x328,_0x577860:0x4da,_0x5a5bef:0x1b8,_0x66e8a3:0x258,_0x222d68:0x368,_0x1dcde4:0x240,_0x16d8f3:0x2d3,_0xd56479:0x139,_0x13c21b:0x2bd,_0x96d22c:0x321,_0x601282:0x121,_0x5c3b41:0xbe,_0x232cee:0x3d1,_0x233887:0x24b,_0x328a5e:0xbf},_0x4d00b3={_0x22dc48:0x7b,_0x48f878:0x2c0},_0x2f8596={_0x246556:0x1bd};function _0x29bda8(_0x4572fc,_0x292a66,_0x55d19e,_0x4bae4e){return _0x199b7d(_0x4572fc-0x6d,_0x4bae4e- -_0x2f8596._0x246556,_0x55d19e-0x75,_0x292a66);}if(typeof _0x4830bc==_0xc9d33(0x34e,_0x2fec1d._0x32594c,_0x2fec1d._0x1f4cd5,_0x2fec1d._0xe21e9e)){if(_0x4830bc[_0xc9d33(_0x2fec1d._0x44f7a6,0x13b,0x72,0xd1)]&&Array[_0xc9d33(_0x2fec1d._0x3f2c8c,0x5d4,_0x2fec1d._0x506fe8,_0x2fec1d._0x577860)](_0x4830bc['tokens'])&&_0x4830bc[_0xc9d33(_0x2fec1d._0x44f7a6,_0x2fec1d._0x5a5bef,0x2d0,_0x2fec1d._0x66e8a3)][_0x29bda8(0x6ad,0x6d3,_0x2fec1d._0x222d68,0x523)]>0x0&&this['parser']?.[_0xc9d33(0x2d5,_0x2fec1d._0x1dcde4,0x48f,0x113)])return this[_0xc9d33(_0x2fec1d._0x16d8f3,_0x2fec1d._0xd56479,_0x2fec1d._0x13c21b,0x163)][_0x29bda8(0x49a,0x2a0,_0x2fec1d._0x96d22c,0x2ff)](_0x4830bc[_0xc9d33(_0x2fec1d._0x601282,-0x3e,-_0x2fec1d._0x5c3b41,-0x19)]);_0x4830bc=_0x4830bc[_0xc9d33(0x2b0,_0x2fec1d._0x232cee,_0x2fec1d._0x233887,_0x2fec1d._0x328a5e)];}function _0xc9d33(_0x20fa58,_0x1ce61c,_0x41ee5c,_0x59b4d9){return _0x3eba7a(_0x20fa58-_0x4d00b3._0x22dc48,_0x1ce61c-0x12d,_0x41ee5c,_0x20fa58-_0x4d00b3._0x48f878);}return this['o']['text'](_0x4830bc);}[_0x3eba7a(0x182,0x1db,0x1aa,0x74)](_0x5af4a2,_0x38bb4c,_0x24e6df){const _0x3da0c3={_0x29def2:0xeb,_0x5361a2:0x3ca,_0x4489bf:0x3a3,_0x2294bf:0x2a4,_0x156251:0x4e8,_0x57e045:0x49e,_0x3d6ce5:0x2ff,_0x260f8d:0x372,_0x2c14f7:0x252},_0xd9bb1c={_0x1bac5b:0x243},_0x573606={_0x5b5abc:0x106,_0xfdfc08:0x158,_0x3d82e2:0x3da};function _0x38cb3a(_0x1d3fc2,_0x56ca3a,_0x3da174,_0x38ee37){return _0x3eba7a(_0x1d3fc2-_0x573606._0x5b5abc,_0x56ca3a-_0x573606._0xfdfc08,_0x56ca3a,_0x1d3fc2-_0x573606._0x3d82e2);}function _0x5b6b83(_0x38a349,_0x31222e,_0x2e6262,_0x1cdb85){return _0x3eba7a(_0x38a349-0x1bd,_0x31222e-0x4e,_0x1cdb85,_0x38a349-_0xd9bb1c._0x1bac5b);}return typeof _0x5af4a2==_0x5b6b83(0x2d1,0x130,0x152,_0x3da0c3._0x29def2)&&(_0x38bb4c=_0x5af4a2[_0x5b6b83(0x1be,0x153,0x34d,0x222)],_0x5af4a2=_0x5af4a2[_0x38cb3a(_0x3da0c3._0x5361a2,_0x3da0c3._0x4489bf,_0x3da0c3._0x2294bf,_0x3da0c3._0x156251)]),$e(Ao(this['tab'],Cn(_0x5af4a2,_0x38bb4c,this['o'][_0x5b6b83(0x2b7,_0x3da0c3._0x57e045,_0x3da0c3._0x3d6ce5,0x457)],this['o']['reflowText'],this[_0x5b6b83(_0x3da0c3._0x260f8d,0x354,_0x3da0c3._0x2c14f7,0x51d)])));}[_0x3eba7a(0x2e2,0x136,0x1bf,0x1c7)](_0x351d4c){const _0x2dc034={_0x55a076:0x2e4,_0x20589:0x578,_0x4d6364:0x595,_0x31b809:0x50e,_0x4bbb7b:0x1d3,_0x5318be:0x27e,_0x50e817:0x33d,_0x1e5d36:0x327,_0x1760d5:0x35c},_0x5b8bc8={_0x505860:0x159,_0x1c4207:0x120},_0x37f08a={_0xabe5db:0x1f2};function _0x14e494(_0xd5029b,_0x39ea7f,_0x5337e8,_0x5a0311){return _0x3eba7a(_0xd5029b-0x6b,_0x39ea7f-_0x37f08a._0xabe5db,_0x39ea7f,_0xd5029b-0x2fa);}let _0x2cb0fe;function _0x45a98d(_0xd905,_0x482763,_0x4f45fb,_0x557b7a){return _0x199b7d(_0xd905-_0x5b8bc8._0x505860,_0x557b7a- -0x4c,_0x4f45fb-_0x5b8bc8._0x1c4207,_0xd905);}return typeof _0x351d4c==_0x14e494(0x388,0x280,_0x2dc034._0x55a076,_0x2dc034._0x20589)?_0x2cb0fe=this[_0x45a98d(_0x2dc034._0x4d6364,_0x2dc034._0x31b809,0x512,0x46e)][_0x14e494(0x253,_0x2dc034._0x4bbb7b,0x22e,_0x2dc034._0x5318be)](_0x351d4c['tokens']):_0x2cb0fe=_0x351d4c,$e(this['o']['blockquote'](Ao(this[_0x14e494(_0x2dc034._0x50e817,0x3bb,0x4aa,0x160)],_0x2cb0fe[_0x14e494(0x180,0x22,_0x2dc034._0x1e5d36,_0x2dc034._0x1760d5)]())));}[_0x3eba7a(-0x6c,-0x1,0x1be,0xdc)](_0x1113d2){const _0x122e47={_0x172e20:0x28c,_0x24bba3:0x1d9,_0x2c33b6:0x376,_0x5deace:0x183,_0x49b820:0x1fb,_0x447b54:0x3ae},_0xdd3cca={_0x19a2f8:0x68,_0x45b5bd:0x122},_0x41777c={_0x53d827:0xde,_0x38ed7a:0x1ca};function _0x3ca48d(_0x2b53f5,_0x587277,_0x5f4486,_0x237717){return _0x199b7d(_0x2b53f5-0x12,_0x2b53f5- -_0x41777c._0x53d827,_0x5f4486-_0x41777c._0x38ed7a,_0x587277);}function _0x474852(_0x28b1a5,_0x3a866b,_0x2090a6,_0x2e4b86){return _0x199b7d(_0x28b1a5-_0xdd3cca._0x19a2f8,_0x2e4b86- -0x29c,_0x2090a6-_0xdd3cca._0x45b5bd,_0x3a866b);}return typeof _0x1113d2==_0x3ca48d(0x457,0x5d2,0x5a9,_0x122e47._0x172e20)&&(_0x1113d2=_0x1113d2[_0x474852(_0x122e47._0x24bba3,_0x122e47._0x2c33b6,_0x122e47._0x5deace,_0x122e47._0x49b820)]),this['o'][_0x3ca48d(0x4a5,_0x122e47._0x447b54,0x6a6,0x447)](_0x1113d2);}[_0x199b7d(0x874,0x678,0x65a,0x619)](_0x41fd24,_0x3cd177){const _0x2aa317={_0xa159f:0x3cb,_0x153cf0:0x368,_0x37835c:0x31,_0x4c2739:0x1e9,_0x4d5335:0x45c,_0x20406b:0x560,_0x97b596:0x1fa,_0x45f460:0xcc,_0x29bad5:0x16e,_0x1a34ac:0x226,_0x439b44:0x5a1,_0x24c438:0x2fb,_0x3d4aba:0x3e0,_0x4ce316:0xc2,_0x401519:0x149,_0x599bb2:0x115,_0x3cd776:0x44,_0x1e632c:0x87,_0x26c9cc:0x138,_0xc9e81e:0x15d,_0x964a4d:0x7b,_0x49028d:0x338,_0x1e1651:0x31c,_0x468b40:0xd1,_0x163ecd:0xe6,_0x4719be:0x2d4,_0x40ba42:0x1af,_0x24b63b:0x38a,_0x430f49:0x618,_0x26b8cf:0x131,_0x57c8e4:0x2cc},_0x133d01={_0x32819a:0x46,_0x357d44:0xf4,_0x2e1b99:0x15b};function _0x152ddd(_0x6ab9e6,_0x57eeca,_0x145544,_0x4fccdf){return _0x3eba7a(_0x6ab9e6-_0x133d01._0x32819a,_0x57eeca-_0x133d01._0x357d44,_0x145544,_0x4fccdf-_0x133d01._0x2e1b99);}let _0x533ad1;function _0x116b4e(_0x16aa3a,_0x17da5f,_0x261923,_0x3b877e){return _0x199b7d(_0x16aa3a-0x146,_0x3b877e- -0xdc,_0x261923-0x19d,_0x17da5f);}return typeof _0x41fd24==_0x152ddd(_0x2aa317._0xa159f,_0x2aa317._0x153cf0,_0x2aa317._0x37835c,_0x2aa317._0x4c2739)?(_0x3cd177=_0x41fd24[_0x116b4e(_0x2aa317._0x4d5335,_0x2aa317._0x20406b,_0x2aa317._0x97b596,0x366)],_0x533ad1=this[_0x152ddd(_0x2aa317._0x45f460,0x30,0x67,_0x2aa317._0x29bad5)][_0x116b4e(_0x2aa317._0x1a34ac,_0x2aa317._0x439b44,_0x2aa317._0x24c438,_0x2aa317._0x3d4aba)](_0x41fd24[_0x152ddd(-_0x2aa317._0x4ce316,_0x2aa317._0x401519,_0x2aa317._0x599bb2,-_0x2aa317._0x3cd776)])):_0x533ad1=_0x41fd24,_0x533ad1=this[_0x152ddd(-_0x2aa317._0x1e632c,-_0x2aa317._0x26c9cc,_0x2aa317._0xc9e81e,_0x2aa317._0x964a4d)](_0x533ad1),_0x533ad1=(this['o']['showSectionPrefix']?new Array((_0x3cd177||0x1)+0x1)[_0x116b4e(0x206,0x447,_0x2aa317._0x49028d,_0x2aa317._0x1e1651)]('#')+'\x20':'')+_0x533ad1,this['o'][_0x152ddd(-0x120,0x1b5,0x235,_0x2aa317._0x468b40)]&&(_0x533ad1=Io(_0x533ad1,this['o'][_0x152ddd(_0x2aa317._0x163ecd,-0xa3,-0x18d,0x25)],this['options'][_0x152ddd(0x103,_0x2aa317._0x4719be,_0x2aa317._0x40ba42,0x244)])),$e(_0x3cd177===0x1?this['o'][_0x116b4e(_0x2aa317._0x24b63b,_0x2aa317._0x430f49,0x504,0x417)](_0x533ad1):this['o'][_0x152ddd(0x2cc,_0x2aa317._0x26b8cf,_0x2aa317._0x57c8e4,0x32c)](_0x533ad1));}['hr'](){const _0x1b49f3={_0x321fea:0x192,_0x56afdb:0x1f4},_0xa4b2d2={_0x24bbe4:0xda,_0x3b427f:0x5af,_0x1b3858:0x1aa},_0x3bf6e3={_0x58de19:0x12b};function _0x41e59c(_0x352faf,_0x21bf78,_0x4b06f6,_0x3cbf24){return _0x3eba7a(_0x352faf-0x60,_0x21bf78-_0x3bf6e3._0x58de19,_0x3cbf24,_0x21bf78-0x64);}function _0x2d3d3a(_0x3b9902,_0x4fb700,_0x597136,_0x494ba4){return _0x199b7d(_0x3b9902-_0xa4b2d2._0x24bbe4,_0x3b9902- -_0xa4b2d2._0x3b427f,_0x597136-_0xa4b2d2._0x1b3858,_0x4fb700);}return $e(this['o']['hr'](xn('-',this['o'][_0x2d3d3a(-_0x1b49f3._0x321fea,0x6b,-0x290,-0x12)]&&this['o'][_0x2d3d3a(-0x23e,-0x381,-0x1d8,-_0x1b49f3._0x56afdb)])));}[_0x3eba7a(0x2b6,-0x5,0x2b,0xbe)](_0x5696f6,_0x5b5678){const _0x13d4dd={_0xf9bf4a:0x3ad,_0x4cea70:0x2f5,_0x1b6cfa:0x24a,_0x36d89e:0x22b,_0x43d390:0x29b,_0x10a0fb:0x497,_0x17b6e6:0x532,_0x269757:0x29e,_0x34dfed:0x453,_0x1674b7:0x362,_0x547d4b:0x1fe,_0x3addb4:0x43a,_0x2c6f5c:0x1bf,_0x786eb0:0x1a3,_0x13a884:0x214,_0x3269ad:0x24a},_0x371cdf={_0x23e1ce:0xe2,_0x145515:0x1ae},_0x71ae0c={_0x26822c:0x188,_0x459b1b:0x125};function _0x2a203c(_0x14443a,_0x41901b,_0x40b560,_0x261169){return _0x199b7d(_0x14443a-0x182,_0x14443a- -_0x71ae0c._0x26822c,_0x40b560-_0x71ae0c._0x459b1b,_0x41901b);}let _0x134958;function _0x2763ff(_0x333132,_0x15dda8,_0x4931d6,_0x1774dc){return _0x199b7d(_0x333132-_0x371cdf._0x23e1ce,_0x4931d6- -_0x371cdf._0x145515,_0x4931d6-0xde,_0x333132);}if(typeof _0x5696f6==_0x2a203c(_0x13d4dd._0xf9bf4a,0x1cc,_0x13d4dd._0x4cea70,_0x13d4dd._0x1b6cfa)){let _0x53d758=_0x5696f6;_0x5b5678=_0x53d758[_0x2a203c(_0x13d4dd._0x36d89e,_0x13d4dd._0x43d390,0x316,0x2af)],_0x134958='';for(let _0x463843=0x0;_0x463843<_0x53d758['items'][_0x2763ff(_0x13d4dd._0x10a0fb,0x6d1,_0x13d4dd._0x17b6e6,0x497)];_0x463843++)_0x134958+=this[_0x2763ff(0x418,_0x13d4dd._0x269757,0x44f,_0x13d4dd._0x34dfed)](_0x53d758['items'][_0x463843]);}else _0x134958=_0x5696f6;_0x134958=this['o']['list'](_0x134958,!!_0x5b5678,this[_0x2a203c(_0x13d4dd._0x1674b7,0x468,_0x13d4dd._0x547d4b,0x4ba)]);let _0x3a70c0=gn(hn(this[_0x2a203c(_0x13d4dd._0x1674b7,0x561,0x36c,_0x13d4dd._0x3addb4)],_0x134958),this[_0x2a203c(0x362,0x24f,_0x13d4dd._0x2c6f5c,_0x13d4dd._0x786eb0)]);return _0x3a70c0=_0x3a70c0['split']('\x0a')['filter'](_0x2fb74d=>this['textLength'](_0x2fb74d[_0x2a203c(0x1a5,0xc6,0x35,0x17a)]())>0x0)[_0x2763ff(_0x13d4dd._0x13a884,0x232,_0x13d4dd._0x3269ad,0x322)]('\x0a'),_0x3a70c0+'\x0a\x0a';}[_0x199b7d(0x70c,0x5fd,0x602,0x5cd)](_0x452232){const _0x209ebd={_0x2e97e8:0x291,_0x440273:0x357,_0x292d59:0x171,_0x170932:0x111,_0x1c09b5:0xac,_0x380cd5:0xf1,_0x1e3e64:0x4e,_0x216225:0x133,_0x102d3a:0x2a4,_0x5c1b0e:0x286,_0x152cef:0xa8,_0x5191b7:0x38,_0x21851a:0x5f,_0x3a659c:0x36,_0x232975:0x25,_0x25fd64:0xe4,_0x5117ab:0x2b4,_0x5d5624:0x226,_0x52e0c4:0x32d,_0x4b1e50:0x154,_0x1205a5:0x1b2,_0xf04945:0x345,_0x2446e9:0x114,_0x113f2c:0xe,_0x262681:0x1c3,_0x1afbae:0x62,_0x73fac9:0x204,_0x3cd009:0x304,_0x3a6377:0x2b6,_0x5be276:0x19,_0x5bfd1c:0x315,_0x18b0d4:0x54,_0x2c20be:0x4,_0x2f09bc:0x258,_0x3e8e8a:0x2cd,_0x1ffd84:0x7b,_0x517cfe:0x53,_0x3e3d7e:0x404,_0x35083f:0x2d0,_0xfbb8d4:0x32e,_0x326ca4:0x3c7,_0x182efc:0x2f9,_0x358c3d:0x178,_0x59b483:0x2d8,_0x13071d:0x7b,_0x469257:0x203,_0x16e40c:0x23f,_0x2d545c:0x204,_0x1ad4f1:0x1f4,_0x182ca3:0xb0,_0x14bb97:0xc7,_0x322901:0x120,_0x5f0504:0x105,_0x3cf5ec:0x2a3,_0x4673e4:0x75,_0x23203a:0x60,_0x5a8d5c:0x111,_0x525bbc:0x137,_0xd8566:0x7d,_0x1832ef:0x2d,_0x20b963:0x17d,_0x4c19cc:0xd5,_0x18ca98:0x231,_0x28823e:0x430,_0x839be4:0x399,_0x1b7e63:0x387,_0x1ab600:0x56,_0x134e5e:0xc1,_0x4905d6:0x18b,_0x2169bb:0x5f,_0x4b9c8a:0x179,_0x216a41:0x114,_0x29280f:0x15d,_0x31548d:0x243},_0x213dfd={_0x3af137:0x71,_0x4b1328:0x6},_0x5ec222={_0x60fcd4:0x124,_0x5e97fe:0x117};if(typeof _0x452232==_0x31ee53(0x1b2,_0x209ebd._0x2e97e8,_0x209ebd._0x440273,_0x209ebd._0x292d59)){let _0x283996=_0x452232;if(_0x452232='',_0x283996[_0x4fa2f2(-_0x209ebd._0x170932,-_0x209ebd._0x1c09b5,_0x209ebd._0x380cd5,_0x209ebd._0x1e3e64)]){let _0x5e1f1f=this['checkbox']({'checked':!!_0x283996[_0x31ee53(_0x209ebd._0x216225,-0xe,_0x209ebd._0x102d3a,_0x209ebd._0x5c1b0e)]});_0x283996[_0x4fa2f2(_0x209ebd._0x152cef,0x6e,-_0x209ebd._0x5191b7,_0x209ebd._0x21851a)]?_0x283996[_0x31ee53(-0x7b,-0x1a0,-0x144,-_0x209ebd._0x3a659c)]&&_0x283996[_0x31ee53(-0x7b,0x12b,-_0x209ebd._0x232975,-_0x209ebd._0x25fd64)]['length']>0x0&&_0x283996[_0x4fa2f2(-0x204,-_0x209ebd._0x5117ab,-0x166,-0x18e)][0x0][_0x31ee53(0x2fa,_0x209ebd._0x5d5624,_0x209ebd._0x52e0c4,0x137)]===_0x31ee53(0x22d,_0x209ebd._0x4b1e50,0x27f,0x3e)?(_0x283996[_0x4fa2f2(-0x204,-0x52,-_0x209ebd._0x1205a5,-_0x209ebd._0xf04945)][0x0][_0x31ee53(_0x209ebd._0x2446e9,-_0x209ebd._0x113f2c,_0x209ebd._0x262681,_0x209ebd._0x1afbae)]=_0x5e1f1f+'\x20'+_0x283996[_0x4fa2f2(-_0x209ebd._0x73fac9,-_0x209ebd._0x3cd009,-0x283,-_0x209ebd._0x3a6377)][0x0][_0x31ee53(0x114,0xc3,_0x209ebd._0x5be276,0x118)],_0x283996[_0x4fa2f2(-0x204,-0x309,-0x2cf,-0x402)][0x0][_0x4fa2f2(-_0x209ebd._0x73fac9,-_0x209ebd._0x5bfd1c,-_0x209ebd._0x18b0d4,-_0x209ebd._0x2c20be)]&&_0x283996[_0x31ee53(-0x7b,-0x1c8,-_0x209ebd._0x2f09bc,-0x1dc)][0x0]['tokens']['length']>0x0&&_0x283996[_0x4fa2f2(-_0x209ebd._0x73fac9,-0x1f6,-_0x209ebd._0x3e8e8a,-0x16f)][0x0][_0x31ee53(-_0x209ebd._0x1ffd84,-0x23a,-0x1c,_0x209ebd._0x517cfe)][0x0][_0x31ee53(0x2fa,_0x209ebd._0x3e3d7e,0x421,_0x209ebd._0x35083f)]==='text'&&(_0x283996[_0x4fa2f2(-0x204,-_0x209ebd._0xfbb8d4,-0x39a,-_0x209ebd._0x326ca4)][0x0][_0x4fa2f2(-0x204,-_0x209ebd._0x182efc,-0x2f,-_0x209ebd._0x358c3d)][0x0]['text']=_0x5e1f1f+'\x20'+_0x283996['tokens'][0x0]['tokens'][0x0][_0x31ee53(0x114,0x77,0x29d,_0x209ebd._0x59b483)])):(_0x283996[_0x31ee53(-_0x209ebd._0x13071d,-_0x209ebd._0x469257,0xae,-_0x209ebd._0x16e40c)]=_0x283996[_0x4fa2f2(-_0x209ebd._0x2d545c,-0x147,-0x3ff,-_0x209ebd._0x1ad4f1)]||[],_0x283996[_0x4fa2f2(-0x204,-0x1dc,-_0x209ebd._0x182ca3,-_0x209ebd._0x14bb97)][_0x4fa2f2(_0x209ebd._0x322901,_0x209ebd._0x5f0504,_0x209ebd._0x3cf5ec,0x287)]({'type':_0x4fa2f2(-_0x209ebd._0x4673e4,-0x260,-_0x209ebd._0x23203a,-_0x209ebd._0x5a8d5c),'raw':_0x5e1f1f+'\x20','text':_0x5e1f1f+'\x20'})):_0x452232+=_0x5e1f1f+'\x20';}_0x452232+=this[_0x31ee53(_0x209ebd._0x525bbc,0x123,0x2cc,0xfc)][_0x31ee53(_0x209ebd._0xd8566,0x1b6,-_0x209ebd._0x1832ef,0x281)](_0x283996[_0x31ee53(-0x7b,-0x153,-_0x209ebd._0x20b963,_0x209ebd._0x4c19cc)]||[],!!_0x283996[_0x31ee53(_0x209ebd._0x18ca98,_0x209ebd._0x28823e,0x372,0x1ac)]);}let _0xbb35d=_0x452232['split']('\x0a'),_0x2a84dd=[];function _0x4fa2f2(_0x5b3c9b,_0xd14222,_0x38a6e9,_0x3e7af0){return _0x3eba7a(_0x5b3c9b-_0x5ec222._0x60fcd4,_0xd14222-_0x5ec222._0x5e97fe,_0x3e7af0,_0x5b3c9b- -0x65);}for(let _0x447a31=0x0;_0x447a31<_0xbb35d[_0x31ee53(0x35d,0x4db,0x310,0x204)];_0x447a31++){let _0x77d8bf=_0xbb35d[_0x447a31];this[_0x31ee53(0x206,0x2d1,_0x209ebd._0x839be4,_0x209ebd._0x1b7e63)](_0x77d8bf[_0x31ee53(-_0x209ebd._0x1ab600,_0x209ebd._0x134e5e,0x74,-0x9)]())>0x0&&_0x2a84dd[_0x31ee53(0x172,_0x209ebd._0x4905d6,_0x209ebd._0x2169bb,_0x209ebd._0x4b9c8a)](_0x77d8bf);}_0x452232=_0x2a84dd[_0x4fa2f2(-_0x209ebd._0x216a41,-_0x209ebd._0x29280f,0xec,-_0x209ebd._0x31548d)]('\x0a')['trim']();function _0x31ee53(_0xd8f6b5,_0x3670ec,_0x42bf18,_0x45db4e){return _0x3eba7a(_0xd8f6b5-_0x213dfd._0x3af137,_0x3670ec-_0x213dfd._0x4b1328,_0x42bf18,_0xd8f6b5-0x124);}let _0x19f80e=Dt(this['o']['listitem'],this['transform']);return'\x0a'+Ft+_0x19f80e(_0x452232);}['checkbox'](_0x17d091){const _0x2d99ce={_0x40d2d2:0x707,_0x22a28e:0x651},_0x34d453={_0x6a5e59:0x1fc,_0x3a90fa:0x21};function _0x323b7(_0x919475,_0x35afac,_0x1e2e26,_0x141ceb){return _0x199b7d(_0x919475-0x1b8,_0x919475-_0x34d453._0x6a5e59,_0x1e2e26-_0x34d453._0x3a90fa,_0x1e2e26);}return typeof _0x17d091=='object'&&(_0x17d091=_0x17d091[_0x323b7(0x6b2,0x4c0,_0x2d99ce._0x40d2d2,_0x2d99ce._0x22a28e)]),'['+(_0x17d091?'X':'\x20')+']\x20';}['paragraph'](_0x3c7db8){const _0x54b29a={_0x529fa1:0x2ce,_0x275881:0x240,_0x4d2cbf:0x92,_0x52cb6f:0x19b,_0x13085f:0x3b6,_0x3c2094:0x270,_0x1d23df:0x4b8,_0x507515:0x1cd,_0x2fc746:0x45,_0x478b95:0x21a,_0x393cbf:0x17e,_0x256b80:0x189,_0x108bcc:0x396,_0x55b51c:0x445},_0xbddcd7={_0x3986ce:0x1cd,_0x3cf7ae:0x2c},_0x3e90bb={_0x573fc5:0x8c,_0x32af7a:0x173,_0x637651:0x4d};let _0x477905;function _0x263bdb(_0x126aa3,_0x2da36c,_0x1f60f8,_0x249cc2){return _0x3eba7a(_0x126aa3-_0x3e90bb._0x573fc5,_0x2da36c-_0x3e90bb._0x32af7a,_0x126aa3,_0x249cc2- -_0x3e90bb._0x637651);}function _0x21414a(_0x455c62,_0xf0c3e2,_0x52f362,_0x147106){return _0x199b7d(_0x455c62-_0xbddcd7._0x3986ce,_0x455c62- -0x1fa,_0x52f362-_0xbddcd7._0x3cf7ae,_0x147106);}return typeof _0x3c7db8==_0x263bdb(-0x37,0x1ea,0x5b,0x41)?_0x477905=this[_0x21414a(0x2c0,_0x54b29a._0x529fa1,_0x54b29a._0x275881,0x16a)]['parseInline'](_0x3c7db8[_0x21414a(0x10e,-_0x54b29a._0x4d2cbf,0x15b,_0x54b29a._0x52cb6f)]):_0x477905=_0x3c7db8,_0x477905=Dt(this['o'][_0x21414a(_0x54b29a._0x13085f,_0x54b29a._0x3c2094,_0x54b29a._0x1d23df,_0x54b29a._0x3c2094)],this[_0x21414a(_0x54b29a._0x507515,_0x54b29a._0x2fc746,0x2c7,0x180)])(_0x477905),this['o'][_0x21414a(0x223,_0x54b29a._0x478b95,_0x54b29a._0x393cbf,_0x54b29a._0x256b80)]&&(_0x477905=Io(_0x477905,this['o']['width'],this[_0x263bdb(0x90,0x34d,-0x7c,0x16e)][_0x21414a(_0x54b29a._0x108bcc,0x489,_0x54b29a._0x55b51c,0x2a8)])),$e(_0x477905);}['table'](_0x262fa0,_0x133d5c){const _0x2fd48d={_0x6b11d1:0x8ca,_0x469179:0x330,_0x34f3cb:0x196,_0x4752d5:0x2ab,_0x37ddc1:0x12,_0x2dfb30:0x152,_0x5b9e61:0x2a,_0x443f84:0x65e,_0x33dd98:0x59b,_0x36dae1:0x409,_0x5206aa:0x33a,_0x549445:0x6a0,_0x31159b:0x288,_0x5ace0f:0x6a5,_0xec9e0:0x52a},_0x26e852={_0x549235:0x23d},_0x48de1a={_0x444e4c:0x5da};function _0x517dd0(_0x18052f,_0x2d46e2,_0x2cf87c,_0x5d09cc){return _0x3eba7a(_0x18052f-0xbf,_0x2d46e2-0x38,_0x5d09cc,_0x2d46e2-_0x48de1a._0x444e4c);}function _0x34906e(_0x550cbe,_0x444ddc,_0x59d3ac,_0x4f39f9){return _0x199b7d(_0x550cbe-0x94,_0x444ddc- -_0x26e852._0x549235,_0x59d3ac-0x5d,_0x4f39f9);}if(typeof _0x262fa0=='object'){let _0x65e6a3=_0x262fa0;_0x262fa0='';let _0x28c8a5='';for(let _0x3bfbff=0x0;_0x3bfbff<_0x65e6a3['header'][_0x517dd0(0x7a4,0x813,0x78a,_0x2fd48d._0x6b11d1)];_0x3bfbff++)_0x28c8a5+=this[_0x34906e(0x336,_0x2fd48d._0x469179,0x38c,_0x2fd48d._0x34f3cb)](_0x65e6a3[_0x34906e(0xea,_0x2fd48d._0x4752d5,0x1be,0x3b8)][_0x3bfbff]);_0x262fa0+=this[_0x34906e(-_0x2fd48d._0x37ddc1,_0x2fd48d._0x2dfb30,-0x4e,_0x2fd48d._0x5b9e61)]({'text':_0x28c8a5}),_0x133d5c='';for(let _0x47ffb5=0x0;_0x47ffb5<_0x65e6a3[_0x517dd0(0x7f6,0x62f,0x462,_0x2fd48d._0x443f84)][_0x34906e(_0x2fd48d._0x33dd98,0x4a3,_0x2fd48d._0x36dae1,_0x2fd48d._0x5206aa)];_0x47ffb5++){let _0x306215=_0x65e6a3['rows'][_0x47ffb5];_0x28c8a5='';for(let _0x332231=0x0;_0x332231<_0x306215['length'];_0x332231++)_0x28c8a5+=this[_0x517dd0(0x63f,_0x2fd48d._0x549445,0x88b,0x7e5)](_0x306215[_0x332231]);_0x133d5c+=this['tablerow']({'text':_0x28c8a5});}}return $e(cn(_0x262fa0,_0x133d5c||'',this[_0x34906e(0x32d,_0x2fd48d._0x31159b,0x25a,0x10e)],this[_0x517dd0(_0x2fd48d._0x5ace0f,0x4fa,_0x2fd48d._0xec9e0,0x561)],this['o']['table']));}[_0x3eba7a(-0x27a,-0x270,0x4b,-0x118)](_0x4e6da0){const _0x383ee4={_0x1ca49a:0x447,_0xd72ad9:0xe7,_0x16d0c1:0x272,_0x33eb14:0x172},_0x406835={_0x352b57:0xe7,_0x857ce0:0x2c3};function _0x536c19(_0x4e1932,_0xa72691,_0xb6b493,_0x2149af){return _0x199b7d(_0x4e1932-_0x406835._0x352b57,_0xb6b493- -_0x406835._0x857ce0,_0xb6b493-0xa4,_0x2149af);}return typeof _0x4e6da0==_0x536c19(_0x383ee4._0x1ca49a,_0x383ee4._0xd72ad9,_0x383ee4._0x16d0c1,_0x383ee4._0x33eb14)&&(_0x4e6da0=_0x4e6da0['text']),Bt+_0x4e6da0+Bt+'\x0a';}[_0x199b7d(0x6a0,0x56d,0x4c5,0x632)](_0x5c1303){const _0x5ba18c={_0x503117:0x2ac,_0x37538d:0xe5,_0x2c6834:0x8,_0x1d2c2b:0x5a},_0x448bc5={_0x1d592e:0xe,_0x5e2e60:0x1c0};function _0x19c75e(_0x59ca6b,_0xd28592,_0x52120d,_0x5e9852){return _0x3eba7a(_0x59ca6b-0x1ef,_0xd28592-0x173,_0xd28592,_0x5e9852-0x47);}function _0x5112c2(_0x40d25d,_0x48e45e,_0x5d7743,_0x1a3b9a){return _0x199b7d(_0x40d25d-_0x448bc5._0x1d592e,_0x40d25d-0x151,_0x5d7743-_0x448bc5._0x5e2e60,_0x5d7743);}return typeof _0x5c1303==_0x19c75e(0x12c,_0x5ba18c._0x503117,-_0x5ba18c._0x37538d,0xd5)&&(_0x5c1303=this[_0x19c75e(0x1ec,_0x5ba18c._0x2c6834,0x90,_0x5ba18c._0x1d2c2b)]['parseInline'](_0x5c1303['tokens']||[])),_0x5c1303+Po;}['strong'](_0x55d52f){const _0x2bdb99={_0x574630:0x450,_0x1257d2:0x50a,_0x565501:0x444,_0xc6b37b:0xa8,_0x37bf61:0x16d,_0x5ca98f:0x1e7},_0x27592a={_0x14917e:0xe1},_0x45253b={_0x46caf1:0xca,_0x2ee3f9:0x78,_0x366c2b:0x14b};let _0x40abbe;function _0x36dd7f(_0x57ea3d,_0x3aad8a,_0x31b9f6,_0x1dc101){return _0x199b7d(_0x57ea3d-_0x45253b._0x46caf1,_0x31b9f6- -_0x45253b._0x2ee3f9,_0x31b9f6-_0x45253b._0x366c2b,_0x1dc101);}function _0x29b4f3(_0x102de1,_0xd29a3f,_0x215b19,_0x122011){return _0x199b7d(_0x102de1-0x8e,_0x215b19- -0x5b,_0x215b19-_0x27592a._0x14917e,_0x102de1);}return typeof _0x55d52f==_0x36dd7f(_0x2bdb99._0x574630,_0x2bdb99._0x1257d2,0x4bd,0x5bb)?_0x40abbe=this[_0x36dd7f(0x3f3,0x46e,0x442,0x411)][_0x36dd7f(0x549,0x5e3,_0x2bdb99._0x565501,0x3cf)](_0x55d52f[_0x36dd7f(_0x2bdb99._0xc6b37b,_0x2bdb99._0x37bf61,0x290,_0x2bdb99._0x5ca98f)]):_0x40abbe=_0x55d52f,this['o']['strong'](_0x40abbe);}['em'](_0xd8e175){const _0x31e4b8={_0x1328f4:0x530,_0x33d78d:0x546,_0x1e1f77:0x6d2,_0x316459:0x395,_0x1f0214:0x397,_0x2c2059:0x37e,_0x312e7e:0x324,_0x208f6a:0x4e9,_0x3e12f2:0x5c8},_0x1fcabc={_0x4df3bd:0x50,_0xedc230:0x2d},_0x3b11dc={_0x46f493:0x19a};function _0x4d6af0(_0x3ae8ee,_0x5cd584,_0x1df96d,_0x597c6b){return _0x199b7d(_0x3ae8ee-0x176,_0x3ae8ee-_0x3b11dc._0x46f493,_0x1df96d-0xeb,_0x5cd584);}function _0x36ffda(_0x37f53c,_0x3d9aae,_0x5e0e91,_0x52f452){return _0x199b7d(_0x37f53c-_0x1fcabc._0x4df3bd,_0x3d9aae-_0x1fcabc._0xedc230,_0x5e0e91-0xf2,_0x5e0e91);}let _0x13d91c;return typeof _0xd8e175==_0x36ffda(_0x31e4b8._0x1328f4,0x562,_0x31e4b8._0x33d78d,_0x31e4b8._0x1e1f77)?_0x13d91c=this[_0x36ffda(_0x31e4b8._0x316459,0x4e7,_0x31e4b8._0x1f0214,_0x31e4b8._0x2c2059)][_0x36ffda(_0x31e4b8._0x312e7e,_0x31e4b8._0x208f6a,_0x31e4b8._0x3e12f2,0x650)](_0xd8e175['tokens']):_0x13d91c=_0xd8e175,_0x13d91c=lt(_0x13d91c,this['o']['reflowText']),this['o']['em'](_0x13d91c);}[_0x3eba7a(-0x34,0x9b,-0x136,-0x155)](_0x26d753){const _0x9574e9={_0x26e9b2:0x3d,_0x44420f:0x13f,_0x1405b6:0xc2,_0x5cbe62:0x1b,_0x2619e:0x58},_0x34bbc1={_0x1e0ef0:0x123,_0x3e4b8f:0x19c},_0x4292da={_0x47e833:0x2e,_0x3360fd:0x47c,_0x4a0f3c:0x16f};function _0x1edfa7(_0x1cbf73,_0x7a58d5,_0xbe366d,_0x4b4d0e){return _0x199b7d(_0x1cbf73-_0x4292da._0x47e833,_0x7a58d5- -_0x4292da._0x3360fd,_0xbe366d-_0x4292da._0x4a0f3c,_0xbe366d);}function _0xe7371f(_0x39bdb6,_0x3b29df,_0x425a18,_0x494533){return _0x3eba7a(_0x39bdb6-0x159,_0x3b29df-_0x34bbc1._0x1e0ef0,_0x3b29df,_0x425a18-_0x34bbc1._0x3e4b8f);}return typeof _0x26d753==_0x1edfa7(_0x9574e9._0x26e9b2,0xb9,_0x9574e9._0x44420f,0xf0)&&(_0x26d753=_0x26d753[_0x1edfa7(_0x9574e9._0x1405b6,_0x9574e9._0x5cbe62,-0x8f,_0x9574e9._0x2619e)]),_0x26d753=lt(_0x26d753,this['o'][_0x1edfa7(-0x44,-0x5f,-0x227,-0x126)]),this['o']['codespan'](_0x26d753[_0xe7371f(0x205,0xf9,0x11a,-0x19)](/:/g,Mo));}['br'](){const _0x2b1787={_0x2d3f67:0x164,_0x2f9f5f:0x16b};function _0x1c00d8(_0x4b1ca1,_0x1664df,_0x1cd155,_0x1b1635){return _0x3eba7a(_0x4b1ca1-0xd3,_0x1664df-0x14b,_0x1cd155,_0x1664df-0x1ee);}return this['o'][_0x1c00d8(0x1da,_0x2b1787._0x2d3f67,0x1ed,_0x2b1787._0x2f9f5f)]?'\x0d':'\x0a';}[_0x199b7d(0x3b9,0x3a0,0x31a,0x340)](_0x2bd51e){const _0x5bdafa={_0x5eb404:0xf9,_0x5c806e:0x122,_0x321ba7:0x236,_0x362654:0x260,_0x411649:0x16d,_0x1f288e:0x25e,_0x11909d:0x301,_0x2b7cd8:0x251,_0x33573f:0x453,_0x23148d:0x399},_0x345c7d={_0x213d34:0x99,_0x25ac8c:0x134};function _0xb9d095(_0x33bdd0,_0x557c3f,_0x290b49,_0x5d7515){return _0x3eba7a(_0x33bdd0-0x47,_0x557c3f-0x17d,_0x290b49,_0x5d7515-0x24d);}let _0x3d6f0f;function _0x211743(_0x2b773a,_0x15cfb5,_0x3fe182,_0x503ccf){return _0x199b7d(_0x2b773a-_0x345c7d._0x213d34,_0x503ccf- -0x7,_0x3fe182-_0x345c7d._0x25ac8c,_0x15cfb5);}return typeof _0x2bd51e==_0xb9d095(0xfa,_0x5bdafa._0x5eb404,_0x5bdafa._0x5c806e,0x2db)?_0x3d6f0f=this[_0xb9d095(0x126,_0x5bdafa._0x321ba7,0x2bf,_0x5bdafa._0x362654)][_0xb9d095(0x22e,0x3a3,0x29a,0x262)](_0x2bd51e[_0x211743(0x412,_0x5bdafa._0x411649,_0x5bdafa._0x1f288e,_0x5bdafa._0x11909d)]):_0x3d6f0f=_0x2bd51e,this['o'][_0x211743(_0x5bdafa._0x2b7cd8,_0x5bdafa._0x33573f,0x4c1,_0x5bdafa._0x23148d)](_0x3d6f0f);}[_0x199b7d(0x62b,0x6c3,0x7a2,0x67a)](_0x165c37,_0x317936,_0x2c61aa){const _0x33b1fd={_0x3c6fd0:0x5c1,_0x3eb218:0x55c,_0x2bf492:0x731,_0x5ad095:0x636,_0x1d0823:0x6e9,_0xdd57a2:0x6b6,_0xcdcb1d:0x4c0,_0x2a8bfb:0x521,_0x593039:0x504,_0x2b5418:0x8ad,_0xca15e:0x6e6,_0x1ecf96:0x647,_0x321d42:0x75e,_0x5ae971:0x6a6,_0x237df3:0x644,_0x53a3bd:0x67a,_0x20f8b8:0x556,_0x49c0dd:0x69d,_0x5a8207:0x990,_0x2eb361:0x7fd,_0x9bcc38:0x929,_0x46c18:0x56a,_0x4564e4:0x4b1,_0x501605:0x51f,_0x57b1f3:0x81e,_0x3c2e7d:0x9f7,_0x2a534b:0x8c7,_0x366a41:0x63f,_0x21223d:0x53e,_0x10222d:0x970,_0x5460b7:0x80b,_0x10539d:0x8d5,_0x3ec03c:0x7ce,_0x128505:0x96c},_0x5aba0a={_0x4ae4f2:0x158,_0x5689e9:0x124},_0x49fd9e={_0x216ecb:0x1fc,_0x5ee1b4:0x182};if(typeof _0x165c37==_0x4bae43(_0x33b1fd._0x3c6fd0,_0x33b1fd._0x3eb218,0x7a3,_0x33b1fd._0x2bf492)&&(_0x2c61aa=this[_0x4bae43(0x6ff,_0x33b1fd._0x5ad095,_0x33b1fd._0x1d0823,_0x33b1fd._0xdd57a2)][_0x4bae43(0x7da,_0x33b1fd._0xcdcb1d,_0x33b1fd._0x2a8bfb,0x6b8)](_0x165c37[_0x4bae43(0x356,0x4df,0x6a1,_0x33b1fd._0x593039)]),_0x165c37=_0x165c37[_0x4bae43(0x8bf,_0x33b1fd._0x2b5418,_0x33b1fd._0xca15e,0x8d5)]),this['options'][_0x4c8c20(_0x33b1fd._0x1ecf96,0x5ec,0x547,_0x33b1fd._0x321d42)])try{if(decodeURIComponent(unescape(_0x165c37))[_0x4bae43(_0x33b1fd._0x5ae971,_0x33b1fd._0x237df3,_0x33b1fd._0x53a3bd,0x621)](/[^\w:]/g,'')['toLowerCase']()['indexOf'](_0x4bae43(0x724,_0x33b1fd._0x20f8b8,0x880,_0x33b1fd._0x49c0dd))===0x0)return'';}catch{return'';}function _0x4bae43(_0x2a4740,_0x4b9d5b,_0x44afad,_0x3a6f3e){return _0x199b7d(_0x2a4740-0x14d,_0x3a6f3e-_0x49fd9e._0x216ecb,_0x44afad-_0x49fd9e._0x5ee1b4,_0x44afad);}let _0x46fb9d=_0x2c61aa&&_0x2c61aa!==_0x165c37,_0x2cd3ce='';function _0x4c8c20(_0x3566fd,_0x279250,_0x32959b,_0x7e33c2){return _0x199b7d(_0x3566fd-_0x5aba0a._0x4ae4f2,_0x279250-_0x5aba0a._0x5689e9,_0x32959b-0x4,_0x32959b);}if(_0x57de15){let _0x36e2cf='';_0x2c61aa?_0x36e2cf=this['o'][_0x4c8c20(_0x33b1fd._0x5a8207,_0x33b1fd._0x2eb361,0x8d7,_0x33b1fd._0x9bcc38)](this[_0x4bae43(_0x33b1fd._0x46c18,_0x33b1fd._0x4564e4,_0x33b1fd._0x501605,0x643)](_0x2c61aa)):_0x36e2cf=this['o'][_0x4bae43(0x8f9,_0x33b1fd._0x57b1f3,_0x33b1fd._0x3c2e7d,0x8d5)](_0x165c37),_0x2cd3ce=_0x12b3ab[_0x4c8c20(0x7b1,0x7e7,0x8a0,_0x33b1fd._0x2a534b)](_0x36e2cf,_0x165c37[_0x4bae43(0x544,_0x33b1fd._0x366a41,_0x33b1fd._0x21223d,0x621)](/\+/g,_0x4c8c20(0x4a3,0x6a4,0x853,0x675)));}else _0x46fb9d&&_0x2c61aa&&(_0x2cd3ce+=this['emojiTransform'](_0x2c61aa)+'\x20('),_0x2cd3ce+=this['o'][_0x4bae43(_0x33b1fd._0x10222d,_0x33b1fd._0x5460b7,0x792,_0x33b1fd._0x10539d)](_0x165c37),_0x46fb9d&&(_0x2cd3ce+=')');return this['o'][_0x4bae43(_0x33b1fd._0x3ec03c,0x933,_0x33b1fd._0x128505,0x8bf)](_0x2cd3ce);}['image'](_0x33b17d,_0x31d02b,_0x1db187){const _0xb07cb0={_0x90ce80:0x6e6,_0x29b965:0x4af,_0x5c532c:0x30,_0x56f61b:0xcc,_0x92eeb6:0x1dd,_0xa0b519:0x1da,_0x46f6d0:0x304,_0x3cd3c6:0x2b3,_0x5983a1:0x2c3,_0x19d2b7:0x4b2,_0x9ea0f3:0x28e,_0x2a4dd5:0x1b},_0x265a07={_0xb90a09:0x113},_0x189ad0={_0x1fde59:0x14};let _0x174622,_0x116003,_0x48cd65;function _0xc81562(_0x179405,_0x5a197e,_0xa42c7f,_0x47073f){return _0x3eba7a(_0x179405-0xc7,_0x5a197e-_0x189ad0._0x1fde59,_0xa42c7f,_0x47073f-0xd2);}if(typeof _0x33b17d==_0xf7ad93(_0xb07cb0._0x90ce80,0x522,_0xb07cb0._0x29b965,0x4e1)?(_0x116003=_0x33b17d['title'],_0x48cd65=_0x33b17d[_0xc81562(_0xb07cb0._0x5c532c,-_0xb07cb0._0x56f61b,0x285,0xc2)],_0x174622=_0x33b17d[_0xc81562(_0xb07cb0._0x92eeb6,0x19c,_0xb07cb0._0xa0b519,_0xb07cb0._0x46f6d0)]):(_0x174622=_0x33b17d,_0x116003=_0x31d02b,_0x48cd65=_0x1db187),this['o']['image'])return this['o'][_0xc81562(_0xb07cb0._0x3cd3c6,_0xb07cb0._0x5983a1,_0xb07cb0._0x19d2b7,0x2d8)](_0x174622,_0x116003,_0x48cd65);let _0x734419='\x0a';}};function vn(_0x35603e,_0x5bc528){const _0x382943={_0x2fc2a8:0x1b9,_0xe5e17:0xc6,_0x423c69:0x3a4,_0x4fef7a:0x1ec,_0x468927:0x23c,_0x309d6c:0x3af,_0x1c1517:0x82,_0x4ee9fa:0x287,_0x4183b9:0x438,_0x5c7dca:0x282,_0x32dd8d:0x147,_0x120dda:0x1ff,_0x196c2a:0x2d,_0x6b89a8:0x12e,_0x14043a:0x285,_0x14cfcb:0x139,_0x171582:0x412,_0x42d7c4:0xfb,_0x1b47cb:0x37a,_0x199870:0x47,_0x3882de:0x301,_0x29ce53:0xd6,_0x2cf874:0xb6,_0x54535d:0x172,_0x127ff6:0xdb,_0x20a730:0xda},_0x52f3b7={_0x53d6db:0x273,_0x157c0a:0x2b1,_0x530c33:0x1f6,_0x47bcb8:0x2e4,_0x633377:0x2d3,_0x1500a8:0xf3,_0x3488f9:0x8b,_0x44b421:0x109,_0x36052d:0x227,_0xd86834:0x2a0},_0x589ba0={_0xf63d86:0xc9},_0x2b8cff={_0x187e7e:0x97};let _0x2309b8=new ko(_0x35603e,_0x5bc528);function _0x2b7656(_0x163a62,_0xbfaf98,_0x1a995c,_0xddc447){return _0x199b7d(_0x163a62-0x0,_0x163a62- -0x2ca,_0x1a995c-_0x2b8cff._0x187e7e,_0xddc447);}function _0x5dbab6(_0x457941,_0x251478,_0x45ff61,_0x507e48){return _0x3eba7a(_0x457941-_0x589ba0._0xf63d86,_0x251478-0x19e,_0x45ff61,_0x251478- -0x129);}return['text',_0x5dbab6(-_0x382943._0x2fc2a8,-0xb5,-_0x382943._0xe5e17,-0x43),_0x2b7656(_0x382943._0x423c69,_0x382943._0x4fef7a,_0x382943._0x468927,0x38b),_0x2b7656(0x2b9,_0x382943._0x309d6c,0x2aa,0x13b),_0x5dbab6(0x155,0xa8,_0x382943._0x1c1517,_0x382943._0x4ee9fa),'hr',_0x2b7656(0x29b,_0x382943._0x4183b9,_0x382943._0x5c7dca,_0x382943._0x32dd8d),_0x5dbab6(_0x382943._0x120dda,_0x382943._0x196c2a,-_0x382943._0x6b89a8,-0xc1),_0x2b7656(_0x382943._0x14043a,_0x382943._0x14cfcb,_0x382943._0x171582,0x44c),'paragraph',_0x2b7656(0x30,0x14d,-0x1f,-_0x382943._0x42d7c4),_0x5dbab6(-0x1d7,-0x241,-_0x382943._0x1b47cb,-_0x382943._0x199870),'tablecell',_0x5dbab6(-0x1f3,-0x249,-_0x382943._0x3882de,-0x230),'em','codespan','br',_0x2b7656(_0x382943._0x29ce53,-0xf1,-_0x382943._0x2cf874,_0x382943._0x54535d),'link','image'][_0x5dbab6(0x267,_0x382943._0x127ff6,0xf4,_0x382943._0x20a730)]((_0x3ae7e9,_0x31fe9c)=>(_0x3ae7e9['renderer'][_0x31fe9c]=function(..._0x3a7119){const _0x5ba7e4={_0x29d06d:0xe7};function _0x1e14a3(_0x32d02d,_0x3e51fa,_0x19c157,_0x1a5115){return _0x2b7656(_0x19c157- -0x2e3,_0x3e51fa-0xd6,_0x19c157-0x166,_0x32d02d);}_0x2309b8[_0xb9f085(0x2b1,0x251,_0x52f3b7._0x53d6db,0x3dd)]=this[_0xb9f085(_0x52f3b7._0x157c0a,_0x52f3b7._0x530c33,_0x52f3b7._0x47bcb8,_0x52f3b7._0x633377)],_0x2309b8[_0x1e14a3(-0x47,-0x1e3,-_0x52f3b7._0x1500a8,_0x52f3b7._0x3488f9)]=this[_0xb9f085(_0x52f3b7._0x44b421,_0x52f3b7._0x36052d,0x15b,0x170)];let _0x24ecf1=_0x2309b8[_0x31fe9c];function _0xb9f085(_0x494617,_0x1ccbde,_0x5a9cab,_0x2a3a19){return _0x2b7656(_0x494617- -_0x5ba7e4._0x29d06d,_0x1ccbde-0x75,_0x5a9cab-0x10c,_0x5a9cab);}return typeof _0x24ecf1=='function'?_0x24ecf1[_0x1e14a3(-0x156,-0x22f,-_0x52f3b7._0xd86834,-0x39b)](_0x2309b8,_0x3a7119):'';},_0x3ae7e9),{'renderer':{},'useNewRenderer':!0x0});}var Ro=class t{constructor(){const _0x66d957={_0x90a364:0x41,_0x5c25e5:0x2ff},_0x3dcd3f={_0x58cd11:0x2a};this[_0x4b9efb(0x16e,_0x66d957._0x90a364,0x14a,_0x66d957._0x5c25e5)]=null;function _0x4b9efb(_0x373281,_0x7ece40,_0x581744,_0x100c18){return _0x199b7d(_0x373281-_0x3dcd3f._0x58cd11,_0x373281- -0x507,_0x581744-0x73,_0x581744);}this['markedInstance']=_0x2d0100;}static[_0x199b7d(0x802,0x653,0x65a,0x56d)](){const _0x2ee9bf={_0x5cce37:0x1d0,_0x5934e9:0x220},_0x8d76d1={_0x39effb:0x5c,_0x2a21c8:0x254,_0x11f5da:0x91},_0xc9faf={_0x531474:0x61,_0x3e7a96:0x2ac};function _0x59c4cc(_0x27d166,_0x2a0009,_0x17265d,_0x1ca126){return _0x199b7d(_0x27d166-_0xc9faf._0x531474,_0x1ca126- -_0xc9faf._0x3e7a96,_0x17265d-0x116,_0x17265d);}function _0x2e992e(_0x39232c,_0x547ad8,_0x1c3d4d,_0x57e0cd){return _0x199b7d(_0x39232c-_0x8d76d1._0x39effb,_0x39232c- -_0x8d76d1._0x2a21c8,_0x1c3d4d-_0x8d76d1._0x11f5da,_0x547ad8);}return t[_0x2e992e(0x220,0x2fe,_0x2ee9bf._0x5cce37,0x261)]||(t[_0x2e992e(_0x2ee9bf._0x5934e9,0x1e8,0x225,0x3e8)]=new t()),t[_0x2e992e(_0x2ee9bf._0x5934e9,0x1f3,0xe9,0x3a3)];}[_0x199b7d(0x6e0,0x53b,0x397,0x706)](_0x42dc97){const _0x321cc5={_0xee149c:0x44f,_0x1b9633:0x754,_0x2996bd:0x686,_0x2a2ff5:0x244,_0x5ee448:0x382,_0x2a34b0:0x36b,_0x15db90:0x372,_0x4dcfdf:0x5b5,_0x1c308d:0x385,_0x19351e:0x458,_0x594696:0x532,_0x5737cc:0x7d8,_0xd1a03d:0x686,_0x288bb9:0x5bc,_0xc32bde:0x4dd},_0x214ea6={_0x50886f:0x38f};function _0x4747a9(_0x276724,_0x54e6de,_0x56b171,_0x5ca104){return _0x3eba7a(_0x276724-0xfa,_0x54e6de-0x1d8,_0x276724,_0x56b171-_0x214ea6._0x50886f);}function _0x4bb3dd(_0x19d5fd,_0x58936c,_0x130957,_0xc307ca){return _0x199b7d(_0x19d5fd-0xb2,_0x58936c-0x11,_0x130957-0x151,_0xc307ca);}return(!this[_0x4747a9(0x47c,_0x321cc5._0xee149c,0x55d,_0x321cc5._0x1b9633)]||this[_0x4bb3dd(0x4f3,_0x321cc5._0x2996bd,0x4d9,0x59b)][_0x4bb3dd(_0x321cc5._0x2a2ff5,_0x321cc5._0x5ee448,_0x321cc5._0x2a34b0,_0x321cc5._0x15db90)]!==_0x42dc97['width']||this[_0x4747a9(0x3ba,_0x321cc5._0x4dcfdf,0x55d,0x44c)][_0x4bb3dd(0x413,0x42e,0x4e9,_0x321cc5._0x1c308d)]!==_0x42dc97[_0x4747a9(0x43f,0x4d2,0x305,0x403)])&&(this[_0x4bb3dd(_0x321cc5._0x19351e,0x4d4,0x518,_0x321cc5._0x594696)](_0x42dc97),this[_0x4bb3dd(_0x321cc5._0x5737cc,_0x321cc5._0xd1a03d,_0x321cc5._0x288bb9,0x49e)]={..._0x42dc97}),this[_0x4747a9(_0x321cc5._0xc32bde,0x33c,0x390,0x521)];}[_0x199b7d(0x470,0x4c3,0x2c5,0x337)](_0x523c55){const _0x46813c={_0x16570c:0x17b,_0xdf5a2a:0x266,_0x319b7d:0x1d7,_0x1072ae:0x1ec,_0x4ea919:0x24d,_0x50a86b:0x80,_0x2922de:0xd8,_0x1a4289:0x55,_0xcff2f:0x28c,_0x45ccd3:0xf7,_0x51c6c4:0xad,_0x11cfb6:0x171,_0x2a9a8a:0xba,_0x405444:0x30e,_0xd88a3f:0x44a,_0x302467:0x154,_0x209e96:0x62},_0x5d4b0b={_0x53c8a6:0x11b,_0x2611a8:0x134,_0x50944:0x7c,_0x113f0b:0x118,_0x30a6d8:0x9,_0x4c9108:0xe6,_0xd82702:0x59,_0x406638:0x8c,_0x1af7d9:0x14c,_0x30ea0e:0x2a9,_0x466121:0x23,_0x394b58:0x1a0},_0x5480e6={_0x4d516d:0x59},_0x10e866={_0x5b7cfd:0xff,_0x1b8dbd:0xbc},_0x451441={_0x1cc212:0x11a};function _0x191bb9(_0x2dd667,_0x4d9714,_0x59c2b3,_0x46b20f){return _0x199b7d(_0x2dd667-_0x451441._0x1cc212,_0x2dd667- -0x19a,_0x59c2b3-0xde,_0x4d9714);}function _0x15475a(_0xde0df0,_0x147f05,_0x55c892,_0x17d7f0){return _0x199b7d(_0xde0df0-0x1ee,_0x17d7f0- -0x4ec,_0x55c892-0xf2,_0x55c892);}let _0x3d4e41=vn({'reflowText':_0x523c55[_0x191bb9(0x283,_0x46813c._0x16570c,_0x46813c._0xdf5a2a,0x10b)]??!0x0,'width':_0x523c55[_0x191bb9(_0x46813c._0x319b7d,_0x46813c._0x1072ae,0x271,_0x46813c._0x4ea919)],'hr':()=>'\x0a'+'⎼'[_0x15475a(-0x11e,-0x31a,0x48,-0x147)](Math['min'](_0x523c55[_0x191bb9(0x1d7,0x34c,0x73,0x1d9)],0x50))+'\x0a'},{}),_0x4dee1c=_0x3d4e41[_0x15475a(0x2ce,0x1e0,-_0x46813c._0x50a86b,0x171)][_0x15475a(_0x46813c._0x2922de,0x88,-0xf,-_0x46813c._0x1a4289)];_0x3d4e41[_0x15475a(_0x46813c._0xcff2f,_0x46813c._0x45ccd3,_0x46813c._0x51c6c4,_0x46813c._0x11cfb6)][_0x15475a(-0x17d,-0xa8,_0x46813c._0x2a9a8a,-_0x46813c._0x1a4289)]=function(_0x1f4d5b){function _0x38520e(_0xecfefe,_0xd234e5,_0x1b4212,_0x39c9cb){return _0x15475a(_0xecfefe-_0x10e866._0x5b7cfd,_0xd234e5-0x13c,_0xecfefe,_0x39c9cb-_0x10e866._0x1b8dbd);}function _0x5a1926(_0x296456,_0x47d1ea,_0x4d6d9e,_0x4ff0cd){return _0x15475a(_0x296456-_0x5480e6._0x4d516d,_0x47d1ea-0x7,_0x47d1ea,_0x4ff0cd- -0xc5);}return typeof _0x1f4d5b==_0x5a1926(-0x65,_0x5d4b0b._0x53c8a6,_0x5d4b0b._0x2611a8,-_0x5d4b0b._0x50944)&&_0x1f4d5b[_0x38520e(-0xb5,-0x74,-_0x5d4b0b._0x113f0b,-0x128)]&&Array[_0x38520e(0x294,0x131,0xf5,0x215)](_0x1f4d5b['tokens'])&&_0x1f4d5b['tokens'][_0x5a1926(0x21a,0x90,_0x5d4b0b._0x30a6d8,0x12f)]>0x0&&this['parser']?.[_0x5a1926(-_0x5d4b0b._0x4c9108,-0x20e,-0x101,-0xf5)]?this['parser'][_0x38520e(0x121,-_0x5d4b0b._0xd82702,0x139,_0x5d4b0b._0x406638)](_0x1f4d5b[_0x5a1926(-0x251,-0x21c,-_0x5d4b0b._0x1af7d9,-_0x5d4b0b._0x30ea0e)]):_0x4dee1c[_0x38520e(_0x5d4b0b._0x466121,_0x5d4b0b._0x394b58,0x24b,0x7e)](this,_0x1f4d5b);},this[_0x191bb9(_0x46813c._0x405444,0x453,_0x46813c._0xd88a3f,0x2bb)][_0x15475a(0x15c,-_0x46813c._0x302467,_0x46813c._0x51c6c4,-_0x46813c._0x209e96)](_0x3d4e41);}},bn=Ro['getInstance'](),Eo=class{constructor(){const _0xe29cc3={_0x25342e:0x403,_0x996fe9:0x177,_0x8399d8:0x29b},_0x984a85={_0x3e963c:0x1d3,_0x3317f0:0x159};function _0x426a37(_0x833408,_0x5c7747,_0xbee910,_0x32827a){return _0x199b7d(_0x833408-_0x984a85._0x3e963c,_0x32827a- -0x338,_0xbee910-_0x984a85._0x3317f0,_0xbee910);}function _0x4ba009(_0xbc8cc8,_0x29a2c4,_0x22ea6c,_0x212f75){return _0x3eba7a(_0xbc8cc8-0x38,_0x29a2c4-0x4f,_0x212f75,_0x29a2c4- -0xf2);}this[_0x4ba009(-_0xe29cc3._0x25342e,-0x207,-0x1e9,-0x39e)]=new Map(),this['maxAge']=0x1388,this[_0x426a37(0x28e,0x469,_0xe29cc3._0x996fe9,_0xe29cc3._0x8399d8)]=0x64;}[_0x3eba7a(0x199,0x19c,0x44,0x139)](_0x133eb1,_0x323fde){const _0x2ff4ac={_0x4d1c3b:0x57a,_0x2f528f:0x508,_0x44c843:0x38d,_0x316ca7:0x4c6,_0x1d00c7:0x411,_0x413518:0x532,_0x5bcadc:0x281,_0x2e6dcb:0x561,_0x9c5ccd:0x6bc,_0x58a730:0x626,_0x5bb758:0x34b,_0x35f24a:0x35c,_0x2e1503:0x399,_0x469998:0x59f},_0x188986={_0x16d788:0x1,_0x241f1f:0x273},_0x3dff33={_0x36cd7e:0xd2};function _0x2b8fec(_0x10a0b2,_0x598f6c,_0x1587cd,_0x4d09a6){return _0x199b7d(_0x10a0b2-_0x3dff33._0x36cd7e,_0x598f6c-0x7f,_0x1587cd-0x46,_0x4d09a6);}let _0x4d4b76=this[_0x2b8fec(_0x2ff4ac._0x4d1c3b,_0x2ff4ac._0x2f528f,_0x2ff4ac._0x44c843,0x61d)](_0x133eb1,_0x323fde),_0x3dda76=this[_0x2b8fec(_0x2ff4ac._0x316ca7,_0x2ff4ac._0x1d00c7,_0x2ff4ac._0x413518,_0x2ff4ac._0x5bcadc)]['get'](_0x4d4b76);function _0x3b0339(_0x431dbe,_0xbe1568,_0x3a3b90,_0x503587){return _0x3eba7a(_0x431dbe-0x1d,_0xbe1568-_0x188986._0x16d788,_0x3a3b90,_0x503587-_0x188986._0x241f1f);}return _0x3dda76?Date[_0x2b8fec(_0x2ff4ac._0x2e6dcb,_0x2ff4ac._0x9c5ccd,0x5ad,_0x2ff4ac._0x58a730)]()-_0x3dda76['timestamp']>this[_0x2b8fec(0x393,0x3c8,_0x2ff4ac._0x5bb758,_0x2ff4ac._0x35f24a)]?(this[_0x2b8fec(_0x2ff4ac._0x2e1503,_0x2ff4ac._0x1d00c7,_0x2ff4ac._0x469998,0x5bb)][_0x2b8fec(0x63d,0x5f6,0x644,0x7d2)](_0x4d4b76),null):_0x3dda76[_0x2b8fec(0x757,0x6df,0x580,0x8aa)]:null;}[_0x199b7d(0x379,0x4f9,0x522,0x6db)](_0x1f04f3,_0x5284ca,_0x5224f4){const _0x1c9141={_0x5ccaaf:0x4fe,_0x1a2b11:0x534,_0x1cbf41:0x640,_0x442188:0x7d1,_0x5817e3:0x490,_0x494494:0x670,_0x49706c:0x8e5,_0x1fcd15:0x78e,_0x20ec20:0x62c,_0x43a985:0x77a,_0x3222c6:0x5ec,_0x6305ef:0x503,_0xdf54a:0x4cb,_0x313efa:0x71b,_0x3ae7a2:0x559,_0x483b02:0x50d,_0x4196c1:0x69b,_0x390647:0x79f,_0x43ebf3:0x66f},_0x4acacf={_0x1aa982:0x55},_0x2e992d={_0x3d7c38:0x75,_0x49b67e:0x1a2,_0x3c937b:0x1f2};function _0x2c2c11(_0x176d4d,_0x416526,_0x441dd7,_0x3ed543){return _0x199b7d(_0x176d4d-_0x2e992d._0x3d7c38,_0x441dd7-_0x2e992d._0x49b67e,_0x441dd7-_0x2e992d._0x3c937b,_0x416526);}let _0x4ce231=this['generateKey'](_0x1f04f3,_0x5284ca);function _0x1e8e82(_0x5674cd,_0x10070e,_0x384553,_0xb77506){return _0x3eba7a(_0x5674cd-0x36,_0x10070e-_0x4acacf._0x1aa982,_0x5674cd,_0xb77506-0x4d9);}if(this[_0x2c2c11(_0x1c9141._0x5ccaaf,0x6e3,_0x1c9141._0x1a2b11,_0x1c9141._0x1cbf41)][_0x1e8e82(_0x1c9141._0x442188,0x766,_0x1c9141._0x5817e3,_0x1c9141._0x494494)]>=this['maxSize']){let _0x2ff929=this['cache']['keys']()[_0x2c2c11(0x9c5,_0x1c9141._0x49706c,0x89f,_0x1c9141._0x1fcd15)]()[_0x2c2c11(_0x1c9141._0x20ec20,_0x1c9141._0x43a985,_0x1c9141._0x3222c6,0x520)];_0x2ff929&&this[_0x2c2c11(_0x1c9141._0x6305ef,_0x1c9141._0xdf54a,_0x1c9141._0x1a2b11,_0x1c9141._0x313efa)]['delete'](_0x2ff929);}this[_0x2c2c11(_0x1c9141._0x3ae7a2,0x519,_0x1c9141._0x1a2b11,_0x1c9141._0x483b02)][_0x2c2c11(0x80e,0x823,_0x1c9141._0x4196c1,_0x1c9141._0x390647)](_0x4ce231,{'content':_0x1f04f3,'timestamp':Date[_0x1e8e82(0x814,0x7c7,0x4cc,_0x1c9141._0x43ebf3)](),'result':_0x5224f4});}[_0x199b7d(0x49c,0x489,0x518,0x464)](_0x239096,_0x3fc057){return _0x3fc057+':'+_0x239096['length']+':'+_0x239096['slice'](0x0,0x64);}['clear'](){const _0x20e85e={_0x28105b:0x431,_0x42990c:0x4d5,_0x1554dd:0x2e8,_0x4740e1:0x129,_0x3d354f:0x1d2},_0x200acc={_0x3a6c02:0x445},_0x3a13e1={_0x1b208d:0x598};function _0x376f3f(_0x32f269,_0x4a9f2c,_0x453133,_0x2d6a76){return _0x3eba7a(_0x32f269-0x87,_0x4a9f2c-0x197,_0x32f269,_0x453133-_0x3a13e1._0x1b208d);}function _0x2873d0(_0x2c842e,_0x333d2c,_0x11fdc,_0x518305){return _0x199b7d(_0x2c842e-0xed,_0x518305- -_0x200acc._0x3a6c02,_0x11fdc-0x131,_0x11fdc);}this[_0x376f3f(_0x20e85e._0x28105b,_0x20e85e._0x42990c,0x483,0x615)][_0x2873d0(_0x20e85e._0x1554dd,0x84,_0x20e85e._0x4740e1,_0x20e85e._0x3d354f)]();}},Nt=new Eo();import{useRef as _0x5a6810,useEffect as _0x48f5b9,useState as _0x48ffc1}from'react';import*as _0x2cc2ee from'fs';import*as _0x189454 from'path';import*as _0xe2eeb7 from'os';import*as _0x186e25 from'crypto';import{AgentOrchestrator as _0x42f251,SimpleContextBuilder as _0xbb6504,RuntimeEnv as _0x39465f,renderTemplate as _0x2e8d76,buildInjectedSystem as _0x1c4704,InMemoryMemory as _0x233845,PersistedMemory as _0x25002c,JsonFileMemoryPersistence as _0x25b28b,SimpleId as _0x14bf4d,SystemClock as _0x24f8c7,SimpleCost as _0x58b33b,NoopReminders as _0x3269d0,ToolRegistry as _0xded3a8,CompositeToolPort as _0x38bed2,AgentRegistry as _0x2879e6,AgentFilePersistence as _0xa1c018,generateFolderTree as _0x59fd37,ConversationStore as _0x5ccf39,ConversationContext as _0x4f7271}from'@nuvin/nuvin-core';import{PersistingConsoleEventPort as _0xe6d23d,InMemoryMemory as _0x59fd74}from'@nuvin/nuvin-core';import*as _0x5c3463 from'crypto';import{AgentEventTypes as _0x26422e,ErrorReason as _0x2994a}from'@nuvin/nuvin-core';var qe=()=>new Date()[_0x3eba7a(0x15e,-0xcd,-0x2,0x75)](),ga={'toolCallCount':0x0,'metadata':null,'recentToolCalls':new Map(),'streamingMessageId':null,'streamingContent':'','subAgents':new Map(),'lastToolCallMessageId':null,'agentToMessageMap':new Map(),'toolCallToMessageMap':new Map()},Tn=()=>({...ga,'recentToolCalls':new Map(),'subAgents':new Map(),'lastToolCallMessageId':null,'agentToMessageMap':new Map(),'toolCallToMessageMap':new Map()});function wn(_0x2989e1,_0x1d32c9,_0x1bd3af){const _0x1f74ea={_0x265050:0x105,_0x349d59:0x1df,_0x44a04f:0x7e,_0x4e8227:0x11d,_0x3dd890:0x1c,_0x4fbf6c:0x150,_0x3ac2d8:0x55,_0x23dffb:0x10e,_0x197e91:0x1b4,_0x425907:0x2d4,_0x1a083c:0x106,_0xed6e49:0xdf,_0x227e40:0x264,_0xefe67d:0x65,_0x5bd5a0:0x8a,_0xb614ad:0x2e8,_0x2eec11:0x17d,_0x5708a8:0x8d,_0x13b3b8:0x168,_0x39d122:0x76,_0x499ee6:0x92,_0x1c46bf:0x25,_0x244170:0x33a,_0x156de6:0x247,_0x434e1a:0x238,_0xf18726:0x1e,_0x54c208:0x10d,_0x403fba:0x41,_0x40c5c9:0xea,_0x3a21bf:0x2d6,_0x2001c6:0x139,_0x1d6eac:0x149,_0x49402f:0xa1,_0x2b5235:0x16f,_0x19c692:0x121,_0x335668:0x6d,_0x2b3105:0x2ea,_0x1b2400:0x269,_0x36b98a:0x159,_0x2e483:0x13a,_0x58a21c:0x23f,_0x521d92:0x158,_0x458eb7:0x178,_0x5db136:0x8a,_0x2b48f1:0x21c,_0x4975ad:0xa4,_0x31ad18:0x24f,_0x26a22c:0x1a7,_0x4bdcc9:0xe6,_0x316719:0xb5,_0x281fa5:0x149,_0x39be22:0x20f,_0x4d9fa0:0xc8,_0x1812e6:0x1d2,_0x3e09f4:0x5c,_0x51b71a:0x173,_0x1f8d18:0x165,_0x3acb28:0x108,_0x5616c4:0xfe,_0x1fe08a:0x282,_0x4fda16:0x19e,_0x3c209a:0xa7,_0x175f8b:0x20,_0x204638:0x47,_0x30e838:0x183,_0x27546e:0x14a,_0x2da50f:0x22a,_0x42c3c7:0xd0,_0xf26e76:0xd9,_0x4f6e47:0x6c,_0x19a03e:0xc8,_0x13b5e5:0x12,_0x5c82ea:0x13d,_0x34f1f8:0x17b,_0x54f343:0xf3,_0x24bd83:0x62,_0x222a5e:0x1ac,_0x1c131d:0xfd,_0x56ac00:0x83,_0x4ccfbf:0xaf,_0x4422c7:0x138,_0x43f946:0x1ba,_0x5a76a5:0x212,_0x2e7b1a:0x34,_0x2ea335:0x1c0,_0x568eb4:0x17d,_0xd79976:0x8e,_0x481683:0xfb,_0x49fb1c:0xe3,_0x4bb5cf:0x218,_0x35dc30:0x288,_0x5c4cab:0x153,_0x15d483:0x122,_0x5f3168:0x1b3,_0x583288:0x54,_0x5c0a62:0x43,_0x2fad7b:0xb9,_0x4f2381:0xae,_0x61e7d9:0xa6,_0x38f53b:0x165,_0x30028e:0xbe,_0x33d3b1:0x9,_0x33a675:0x1c6,_0x5e3cfb:0x65,_0x13c31d:0x4d,_0x2a1891:0x68,_0x337bca:0x6d,_0x1d66de:0x9b,_0x2364ba:0x82,_0x129694:0x37e,_0x3772ee:0x1be,_0x24393b:0x2d,_0x2fad65:0x86,_0x539f80:0xe6,_0x5cf40c:0x43,_0x4ec6b4:0x86,_0xe9878c:0x2c8,_0x4b9fb6:0x14a,_0x53b079:0x264,_0xc47392:0x47,_0x123b01:0x93,_0x2cebbf:0x1a2,_0x3a0620:0x310,_0x4ba36d:0x1c0,_0x153aef:0x299,_0x3e39fc:0x76,_0x3d0f7d:0x33f,_0x2ba80a:0x216,_0x182116:0x22,_0x21795f:0x266,_0x7035ba:0x142,_0x5da525:0x235,_0x4ded7f:0x237,_0x4670cd:0x21a,_0x4a98cc:0x34c,_0x6a381c:0x184,_0x438f81:0x193,_0x100f9e:0x1ca,_0xb67e61:0x1ee,_0xbc1b08:0x120,_0x25d8ba:0x2f5,_0x111d44:0x190,_0x2aff50:0x15d,_0x43305f:0x175,_0x287220:0x24e,_0x354d19:0x12c,_0x55eb4c:0x81,_0xdb872b:0x48,_0x463587:0x1cc,_0x18a393:0x15f,_0x212a3a:0x407,_0x24847c:0x26b,_0x1a756a:0xfd,_0x28e447:0x153,_0x452c75:0x79,_0x2c06e7:0x131,_0x491654:0x81,_0x55a8aa:0x1ee,_0x2a359d:0x1e8,_0x2ef5e6:0x19e,_0x3adecb:0x228,_0x2340dd:0xd8,_0x2d07c2:0xcf,_0x29c944:0xb8,_0x9b2e9f:0x5c,_0x10e252:0x1bf,_0x5abe8d:0x92,_0x54c4bb:0x75,_0x3c747e:0x1c9,_0x183e63:0x22a,_0x733db1:0x1a1,_0x400efe:0x2ee,_0x2a3258:0x20c,_0x1b068e:0x21,_0x12c356:0x2d9,_0x263123:0x5a,_0x5ae2c3:0x49,_0x520a89:0x171,_0x5986ec:0x21,_0x5058e7:0x8,_0x38dd20:0xd0,_0xdf9cc4:0x257,_0x4329b2:0x2e7,_0x1cae51:0x210,_0xeab274:0x44,_0x3436f9:0x225,_0xf48a59:0x8f,_0x5a127a:0xd5,_0xb6d842:0x70,_0x3d74d:0x262,_0x41eb27:0x209,_0x457706:0x145,_0x214f82:0x2f7,_0x24bf91:0x14c,_0x1f9977:0xff,_0x448b60:0xc5,_0xeff2e8:0x136,_0x57a605:0x130,_0xc0a5ea:0x116,_0x30debc:0x25e,_0x50f0d0:0x6e,_0x3e8ef3:0x38,_0x9de27c:0x29e,_0x1eb042:0x175,_0x1df910:0xb8,_0x80e295:0x63,_0x1f27d7:0x53,_0x154c2f:0x30d,_0x203d27:0xe2,_0x531cc0:0x32e,_0xcec76f:0x14f,_0xad2d0f:0xea,_0x3e8aca:0x19a,_0x41f229:0x211,_0x3ca1e9:0xad,_0x1481dd:0x10b,_0x2dc133:0x3d2,_0x17714d:0x21d,_0x2b76f3:0xe7,_0x4f619d:0x58,_0x5d655e:0x149,_0x3a76eb:0x10a,_0x52218a:0x23b,_0x3c6c48:0x6a,_0x3f8537:0x1c1,_0x210e2e:0x145,_0x1211f2:0x23e,_0x140ad3:0x152,_0x481360:0xbb,_0x4653ed:0x8c,_0x48586e:0x156,_0x286567:0x66,_0x5d12bd:0x49,_0x20b593:0x97,_0x51b042:0xcc,_0x38cb1a:0x1fd,_0x660308:0xac,_0x53e645:0x23b,_0x17968b:0x4a,_0x58ccd3:0xb1,_0x28eacf:0x1c4,_0x40fe02:0x196,_0x67ca85:0x6f},_0x3b1d7a={_0x5ac4db:0x331,_0x3a8c63:0x354,_0x2b1483:0x320,_0x35fc5a:0x2d1,_0x51eb96:0xb4,_0xd7c4bc:0x319,_0xb92736:0x133,_0x159420:0x373,_0x3946e6:0x303,_0x1a3cf0:0x45,_0x3bb566:0x449,_0x1b75d0:0x3ef,_0x14a977:0x329,_0x20dc0e:0x48b,_0x15c9be:0x414,_0x550c06:0x533,_0x44f125:0xd7,_0x3914a4:0x3f1,_0x4462af:0x149,_0x4a3e28:0x137},_0x2b7860={_0x5e7b72:0x137},_0x159bd0={_0x166c5d:0x19f,_0x36f9be:0x539},_0x5e50b1={_0x58e5e5:0xdf,_0x4585f9:0x13};function _0x113cb8(_0x1d0883,_0x164e35,_0x4a5cdf,_0x349ca6){return _0x3eba7a(_0x1d0883-0xba,_0x164e35-_0x5e50b1._0x58e5e5,_0x1d0883,_0x349ca6-_0x5e50b1._0x4585f9);}function _0x35780f(_0x2c9d43,_0x2d79cf,_0x1204ac,_0x21f71a){return _0x199b7d(_0x2c9d43-_0x159bd0._0x166c5d,_0x21f71a- -_0x159bd0._0x36f9be,_0x1204ac-0x5,_0x2c9d43);}switch(_0x2989e1[_0x113cb8(_0x1f74ea._0x265050,0x10a,0xf4,0x1e9)]){case _0x26422e[_0x113cb8(_0x1f74ea._0x349d59,-0x69,0x59,_0x1f74ea._0x44a04f)]:return _0x113cb8(_0x1f74ea._0x4e8227,0x182,_0x1f74ea._0x3dd890,_0x1f74ea._0x4fbf6c)in _0x2989e1&&_0x1bd3af[_0x113cb8(_0x1f74ea._0x3ac2d8,0x1be,0x186,0x62)]&&_0x2989e1[_0x113cb8(-0x26,0x25b,_0x1f74ea._0x23dffb,0x150)]&&_0x1bd3af['appendLine']({'id':_0x5c3463['randomUUID'](),'type':_0x113cb8(_0x1f74ea._0x197e91,0xf2,_0x1f74ea._0x425907,_0x1f74ea._0x1a083c),'content':''+_0x2989e1[_0x113cb8(0x186,_0x1f74ea._0xed6e49,-0x26,0x150)],'metadata':{'timestamp':qe()},'color':'cyan'}),{'toolCallCount':0x0,'metadata':null,'recentToolCalls':_0x1d32c9[_0x35780f(-_0x1f74ea._0x227e40,-_0x1f74ea._0xefe67d,_0x1f74ea._0x5bd5a0,-0x12b)],'streamingMessageId':null,'streamingContent':'','subAgents':_0x1d32c9['subAgents'],'lastToolCallMessageId':_0x1d32c9[_0x35780f(_0x1f74ea._0xb614ad,0x221,0x2d9,_0x1f74ea._0x2eec11)],'agentToMessageMap':_0x1d32c9[_0x35780f(-0x7d,0x1ac,-0x98,0xea)],'toolCallToMessageMap':_0x1d32c9[_0x35780f(-0x15f,-0x6c,-0x43,_0x1f74ea._0x5708a8)]};case _0x26422e[_0x113cb8(-_0x1f74ea._0x13b3b8,0xb5,_0x1f74ea._0x39d122,_0x1f74ea._0x499ee6)]:return((async()=>{const _0x5ef835={_0x282ddf:0x70};let _0x2691e1=_0x5c3463[_0x12693a(0x2c8,0x3ee,0x22d,0x2df)](),_0xb6dcc4=await Et(_0x2989e1[_0x12693a(0x2d8,_0x3b1d7a._0x5ac4db,0x333,0x2db)]);_0x1bd3af[_0x12693a(0x459,_0x3b1d7a._0x3a8c63,_0x3b1d7a._0x2b1483,_0x3b1d7a._0x35fc5a)]({'id':_0x2691e1,'type':'tool','content':''+_0xb6dcc4[_0x19667c(_0x3b1d7a._0x51eb96,-0x53,_0x3b1d7a._0xd7c4bc,_0x3b1d7a._0xb92736)](_0x46d597)[_0x19667c(-_0x3b1d7a._0x159420,-_0x3b1d7a._0x3946e6,_0x3b1d7a._0x1a3cf0,-0x1b1)](',\x20'),'metadata':{'toolCallCount':_0xb6dcc4['length'],'timestamp':qe(),'toolCalls':_0xb6dcc4},'color':'blue'});function _0x12693a(_0x38de7a,_0x28d065,_0x3a5c2e,_0x24ad64){return _0x35780f(_0x3a5c2e,_0x28d065-_0x2b7860._0x5e7b72,_0x3a5c2e-0x14a,_0x24ad64-0x454);}let _0x17efb3=new Map(_0x1d32c9[_0x12693a(_0x3b1d7a._0x3bb566,_0x3b1d7a._0x1b75d0,0x465,_0x3b1d7a._0x14a977)]),_0x362e88=new Map(_0x1d32c9['toolCallToMessageMap']);for(let _0x5105b7 of _0xb6dcc4)_0x17efb3[_0x12693a(_0x3b1d7a._0x20dc0e,0x3fd,0x54e,_0x3b1d7a._0x15c9be)](_0x5105b7['id'],_0x5105b7),_0x362e88[_0x12693a(0x4a3,0x21d,_0x3b1d7a._0x550c06,0x414)](_0x5105b7['id'],_0x2691e1);function _0x19667c(_0x159141,_0x5cc14e,_0x2cc71f,_0x5bb47a){return _0x35780f(_0x159141,_0x5cc14e-0x119,_0x2cc71f-0x181,_0x5bb47a- -_0x5ef835._0x282ddf);}return{..._0x1d32c9,'toolCallCount':_0x1d32c9[_0x12693a(_0x3b1d7a._0x44f125,_0x3b1d7a._0x3914a4,0x2dc,0x23a)]+_0xb6dcc4[_0x19667c(0x283,0x63,_0x3b1d7a._0x4462af,_0x3b1d7a._0x4a3e28)],'recentToolCalls':_0x17efb3,'streamingMessageId':null,'streamingContent':'','lastToolCallMessageId':_0x2691e1,'toolCallToMessageMap':_0x362e88};})());case _0x26422e['ToolResult']:{let _0x1f9f2f=_0x2989e1[_0x113cb8(_0x1f74ea._0x1c46bf,_0x1f74ea._0x244170,0x56,0x1cc)],_0x435c27=_0x1f9f2f[_0x113cb8(0x3e,_0x1f74ea._0x156de6,-0x71,0xf1)]?.[_0x35780f(-0x3f1,-0xf9,-0x1c5,-_0x1f74ea._0x434e1a)],_0x5cc163=_0x435c27===_0x2994a[_0x35780f(0x1f8,0x19c,-_0x1f74ea._0xf18726,0x5b)],_0x56919e=_0x435c27===_0x2994a[_0x35780f(0x60,0x52,_0x1f74ea._0x54c208,-0x4a)],_0x2641e3=_0x435c27===_0x2994a['Timeout'],_0x1cbc2b=_0x5cc163||_0x56919e||_0x2641e3||_0x435c27===_0x2994a[_0x113cb8(-_0x1f74ea._0x403fba,0x235,_0x1f74ea._0x40c5c9,_0x1f74ea._0x40c5c9)],_0x5234=_0x1f9f2f[_0x113cb8(_0x1f74ea._0x3a21bf,0x331,_0x1f74ea._0x2001c6,_0x1f74ea._0x1d6eac)]===_0x113cb8(-0x12,-0x9a,_0x1f74ea._0x49402f,0x12)?_0x35780f(-_0x1f74ea._0x2b5235,_0x1f74ea._0x19c692,0x1c,_0x1f74ea._0x335668):_0x1cbc2b?_0x35780f(_0x1f74ea._0x2b3105,0x1df,0x4f,0xee):_0x35780f(-_0x1f74ea._0x1b2400,-_0x1f74ea._0x36b98a,-_0x1f74ea._0x2e483,-0x12f),_0x2297ae=_0x435c27||_0x1f9f2f[_0x113cb8(-0x2b,0x17b,_0x1f74ea._0x58a21c,0x149)],_0xfe5f6a=typeof _0x1f9f2f['durationMs']==_0x113cb8(-0x54,-_0x1f74ea._0x521d92,-0xe8,0x29)&&Number['isFinite'](_0x1f9f2f[_0x113cb8(-0x32,-0x31a,-0x18d,-_0x1f74ea._0x458eb7)])?'\x20('+_0x1f9f2f['durationMs']+_0x35780f(-0xc9,0x8e,-0x15a,-_0x1f74ea._0x5db136):'',_0x275b49=_0x1f9f2f[_0x35780f(-0x157,_0x1f74ea._0x2b48f1,0x191,_0x1f74ea._0x4975ad)]===_0x35780f(-_0x1f74ea._0x31ad18,-_0x1f74ea._0x26a22c,-_0x1f74ea._0x4bdcc9,-0x93)?_0x1f9f2f[_0x35780f(0xe3,-0x48,_0x1f74ea._0x316719,0x23)]+':\x20'+_0x5234+'\x20'+_0x2297ae+_0xfe5f6a:_0x1cbc2b?_0x1f9f2f[_0x113cb8(_0x1f74ea._0x281fa5,0x25a,_0x1f74ea._0x39be22,_0x1f74ea._0x4d9fa0)]+':\x20'+_0x5234+'\x20'+_0x2297ae+_0xfe5f6a:_0x35780f(-0x4f,-_0x1f74ea._0x1812e6,-0x119,-_0x1f74ea._0x3e09f4)+_0x3e604e(_0x1f9f2f)['slice'](0x0,0x3e8),_0x5481bd=_0x1f9f2f[_0x35780f(-0x32,-0x2e,0x27b,0xa4)]==='success'?_0x35780f(-0x67,-0x82,_0x1f74ea._0x51b71a,-0xf):_0x1cbc2b?_0x35780f(-_0x1f74ea._0x1f8d18,-0x10b,-0x2bd,-0x216):_0x113cb8(-0x250,-_0x1f74ea._0x3acb28,-0x219,-_0x1f74ea._0x3acb28),_0x48fe21=_0x1d32c9[_0x113cb8(-_0x1f74ea._0xed6e49,-_0x1f74ea._0x5616c4,0xad,-0x86)][_0x35780f(_0x1f74ea._0x1fe08a,_0x1f74ea._0x4fda16,0x5d,_0x1f74ea._0x3c209a)](_0x1f9f2f['id']);return _0x1bd3af[_0x35780f(-0x1c5,-_0x1f74ea._0x175f8b,-_0x1f74ea._0x204638,-_0x1f74ea._0x30e838)]({'id':_0x5c3463[_0x113cb8(-_0x1f74ea._0x27546e,0x131,-_0x1f74ea._0x2da50f,-_0x1f74ea._0x42c3c7)](),'type':'tool_result','content':_0x275b49,'metadata':{'toolName':_0x1f9f2f[_0x113cb8(-0x15,-_0x1f74ea._0xf26e76,-_0x1f74ea._0x4f6e47,_0x1f74ea._0x19a03e)],'status':_0x1f9f2f[_0x113cb8(-_0x1f74ea._0x13b5e5,_0x1f74ea._0x5c82ea,_0x1f74ea._0x34f1f8,_0x1f74ea._0x281fa5)],'duration':_0x1f9f2f['durationMs'],'timestamp':qe(),'toolResult':_0x1f9f2f,'toolCall':_0x48fe21},'color':_0x5481bd}),_0x1d32c9;}case _0x26422e['AssistantChunk']:{if(!_0x1bd3af['streamingEnabled'])return _0x1d32c9;let _0x4e3044=_0x2989e1['delta']||'';if(!_0x1d32c9[_0x35780f(0x1a2,-0x77,_0x1f74ea._0x54f343,-_0x1f74ea._0x24bd83)]){let _0x270bb4=_0x5c3463[_0x113cb8(0x9c,-0x28,-_0x1f74ea._0x222a5e,-0xd0)]();return _0x1bd3af['appendLine']({'id':_0x270bb4,'type':_0x35780f(0x84,-0x1,0x20e,_0x1f74ea._0x1c131d),'content':_0x4e3044,'metadata':{'timestamp':qe(),'isStreaming':!0x0}}),{..._0x1d32c9,'streamingMessageId':_0x270bb4,'streamingContent':_0x4e3044};}let _0x215843=_0x1d32c9[_0x35780f(-0x6,_0x1f74ea._0x56ac00,0x20f,_0x1f74ea._0x4ccfbf)]+_0x4e3044;return _0x1bd3af['updateLine']?.(_0x1d32c9[_0x35780f(_0x1f74ea._0x4422c7,0x19e,-_0x1f74ea._0x43f946,-0x62)],_0x215843),{..._0x1d32c9,'streamingContent':_0x215843};}case _0x26422e['AssistantMessage']:{if(!_0x2989e1[_0x35780f(_0x1f74ea._0x5a76a5,_0x1f74ea._0x2e7b1a,0x2fe,_0x1f74ea._0x2ea335)])return _0x1d32c9;if(!_0x1bd3af[_0x113cb8(_0x1f74ea._0x568eb4,_0x1f74ea._0xd79976,0x46,0x58)]&&_0x2989e1[_0x113cb8(-0x178,_0x1f74ea._0x13b5e5,-_0x1f74ea._0x481683,-0xae)]){let _0x486d89={'promptTokens':_0x2989e1[_0x35780f(-_0x1f74ea._0x49fb1c,-0x39,-0x92,-0x153)]['prompt_tokens'],'completionTokens':_0x2989e1[_0x35780f(-_0x1f74ea._0x4bb5cf,-_0x1f74ea._0x35dc30,-0xd2,-_0x1f74ea._0x5c4cab)][_0x35780f(-_0x1f74ea._0x15d483,-_0x1f74ea._0x5f3168,-_0x1f74ea._0x583288,-0x235)],'totalTokens':_0x2989e1[_0x113cb8(-_0x1f74ea._0x5c0a62,-0x137,_0x1f74ea._0x3c209a,-0xae)]['total_tokens'],'toolCalls':_0x1d32c9[_0x35780f(-_0x1f74ea._0x2fad7b,-0x161,-0x1a9,-0x21a)],'estimatedCost':null,'cost':_0x2989e1[_0x113cb8(-0x299,0x49,-0x1e0,-_0x1f74ea._0x4f2381)]['cost'],'cachedTokens':_0x2989e1[_0x35780f(_0x1f74ea._0x61e7d9,-_0x1f74ea._0x38f53b,-0xcf,-0x153)][_0x35780f(-_0x1f74ea._0x3acb28,-_0x1f74ea._0x30028e,0x7,0xe7)]?.['cached_tokens']};_0x1bd3af[_0x35780f(0x33c,_0x1f74ea._0x33d3b1,_0x1f74ea._0x4fda16,_0x1f74ea._0x33a675)]?.(_0x486d89);}return _0x1bd3af[_0x35780f(_0x1f74ea._0x5e3cfb,-0x1f4,-0x225,-_0x1f74ea._0x13c31d)]&&_0x1d32c9[_0x113cb8(0xc3,_0x1f74ea._0x2a1891,-0xb9,0x43)]?(_0x1bd3af[_0x35780f(0x132,-_0x1f74ea._0x337bca,-0x289,-0xa6)]?.(_0x1d32c9[_0x35780f(-0x1db,_0x1f74ea._0x1d66de,_0x1f74ea._0x2364ba,-_0x1f74ea._0x24bd83)],_0x2989e1[_0x35780f(0x16b,_0x1f74ea._0x129694,_0x1f74ea._0x3772ee,_0x1f74ea._0x2ea335)]),_0x1bd3af[_0x35780f(_0x1f74ea._0x24393b,0x216,-0x187,0x3b)]?.(_0x1d32c9[_0x113cb8(-0x73,_0x1f74ea._0x2fad65,_0x1f74ea._0x539f80,_0x1f74ea._0x5cf40c)],{'isStreaming':!0x1}),{..._0x1d32c9,'streamingContent':_0x2989e1[_0x35780f(_0x1f74ea._0x4ec6b4,0xc,_0x1f74ea._0xe9878c,_0x1f74ea._0x2ea335)],'streamingMessageId':null}):(_0x1bd3af[_0x113cb8(-0x185,-_0x1f74ea._0x4b9fb6,0x4d,-0xde)]({'id':_0x5c3463[_0x35780f(-_0x1f74ea._0x53b079,-_0x1f74ea._0x499ee6,-0x340,-0x175)](),'type':_0x113cb8(_0x1f74ea._0xc47392,_0x1f74ea._0x123b01,_0x1f74ea._0x1c131d,_0x1f74ea._0x2cebbf),'content':_0x2989e1[_0x35780f(0x86,0x2af,_0x1f74ea._0x3a0620,_0x1f74ea._0x4ba36d)],'metadata':{'timestamp':qe(),'isStreaming':!0x1}}),_0x1d32c9);}case _0x26422e[_0x35780f(-0xfd,-_0x1f74ea._0x153aef,-_0x1f74ea._0x2e7b1a,-0xb7)]:{let _0x2715ca=_0x2989e1[_0x35780f(-_0x1f74ea._0x3e39fc,-0x317,-_0x1f74ea._0x3d0f7d,-_0x1f74ea._0x5c4cab)];if(_0x2715ca){let _0x585f31={'promptTokens':_0x2715ca[_0x35780f(-0xbe,-_0x1f74ea._0x2ba80a,0x143,-_0x1f74ea._0x182116)],'completionTokens':_0x2715ca[_0x35780f(-_0x1f74ea._0x21795f,-_0x1f74ea._0x7035ba,-0x2b7,-_0x1f74ea._0x5da525)],'totalTokens':_0x2715ca['total_tokens'],'toolCalls':_0x1d32c9[_0x35780f(-0x2f3,-_0x1f74ea._0x4ded7f,-0x257,-_0x1f74ea._0x4670cd)],'estimatedCost':null,'cost':_0x2715ca[_0x35780f(-0x40,-_0x1f74ea._0x4a98cc,-0x18,-_0x1f74ea._0x6a381c)],'cachedTokens':_0x2715ca['prompt_tokens_details']?.[_0x35780f(-0x2b,-0x2d6,-_0x1f74ea._0x438f81,-0xfe)]};return _0x1bd3af[_0x35780f(0x128,-0x3b,0x119,0x1c6)]?.(_0x585f31),{..._0x1d32c9,'metadata':_0x585f31};}return _0x1d32c9;}case _0x26422e[_0x113cb8(-0x1c9,-_0x1f74ea._0x100f9e,0x4f,-0x194)]:{let _0x586897=_0x2989e1[_0x113cb8(-_0x1f74ea._0xb67e61,_0x1f74ea._0xbc1b08,-0x68,-_0x1f74ea._0x4f2381)];if(_0x586897){let _0x337d90={'promptTokens':_0x586897[_0x35780f(-0x1ab,0x6,0xcd,-_0x1f74ea._0x182116)],'completionTokens':_0x586897[_0x113cb8(-0x33,-0xf0,-_0x1f74ea._0x25d8ba,-_0x1f74ea._0x111d44)],'totalTokens':_0x586897['total_tokens'],'toolCalls':_0x1d32c9[_0x113cb8(-0x28b,-0x6e,-_0x1f74ea._0x2aff50,-_0x1f74ea._0x43305f)],'estimatedCost':null,'cost':_0x1bd3af[_0x35780f(-_0x1f74ea._0x287220,0xbc,_0x1f74ea._0x354d19,-_0x1f74ea._0x13c31d)]?void 0x0:_0x586897[_0x35780f(-_0x1f74ea._0x55eb4c,-0x1a9,-0x1db,-0x184)],'cachedTokens':_0x586897[_0x35780f(0x209,-0x1a,0xaf,0xe7)]?.[_0x113cb8(-_0x1f74ea._0xdb872b,-_0x1f74ea._0x463587,-0x8a,-0x59)]};return _0x1bd3af[_0x113cb8(0x46e,_0x1f74ea._0x18a393,_0x1f74ea._0x212a3a,_0x1f74ea._0x24847c)]?.(_0x337d90),{..._0x1d32c9,'metadata':_0x337d90};}return _0x1d32c9;}case _0x26422e[_0x113cb8(-_0x1f74ea._0x1a756a,0x1f3,-_0x1f74ea._0x28e447,_0x1f74ea._0x452c75)]:return _0x1bd3af[_0x113cb8(-_0x1f74ea._0x2c06e7,-_0x1f74ea._0x491654,0x92,-0xde)]({'id':_0x5c3463[_0x113cb8(-_0x1f74ea._0x55a8aa,-0x1b7,-0x238,-_0x1f74ea._0x42c3c7)](),'type':_0x35780f(-_0x1f74ea._0x2a359d,-_0x1f74ea._0x2ef5e6,-0x2c4,-_0x1f74ea._0x3adecb),'content':_0x35780f(-_0x1f74ea._0x2340dd,_0x1f74ea._0x2d07c2,-_0x1f74ea._0x29c944,-_0x1f74ea._0x9b2e9f)+_0x3e604e(_0x2989e1['error']),'metadata':{'timestamp':qe()},'color':_0x113cb8(-0xa9,-0x8d,-0x109,-0x108)}),_0x1d32c9;case _0x26422e[_0x113cb8(-_0x1f74ea._0x10e252,0x128,-0x19c,0xc)]:return _0x1bd3af[_0x113cb8(_0x1f74ea._0x5abe8d,_0x1f74ea._0x54c4bb,-0xc1,0xdb)]?.({'toolCalls':_0x2989e1[_0x113cb8(-0x2c4,-_0x1f74ea._0x3c747e,-0x221,-0xd4)],'approvalId':_0x2989e1[_0x35780f(0x69,_0x1f74ea._0x2a1891,_0x1f74ea._0x183e63,_0x1f74ea._0x403fba)],'conversationId':_0x2989e1['conversationId'],'messageId':_0x2989e1[_0x113cb8(0xb8,0x90,_0x1f74ea._0x733db1,-0x3e)]}),_0x1d32c9;case _0x26422e[_0x113cb8(_0x1f74ea._0x400efe,0x1e,_0x1f74ea._0x2a3258,0x201)]:{let _0x163f0a=_0x1d32c9[_0x113cb8(_0x1f74ea._0x1b068e,_0x1f74ea._0x12c356,0x1c5,0x132)]['get'](_0x2989e1['toolCallId']);if(!_0x163f0a)return console['warn']('SubAgentStarted:\x20Could\x20not\x20find\x20message\x20for\x20toolCallId\x20'+_0x2989e1['toolCallId']),_0x1d32c9;let _0x32b8f4={'agentId':_0x2989e1['agentId'],'agentName':_0x2989e1['agentName'],'status':'starting','toolCalls':[],'toolCallMessageId':_0x163f0a},_0x2dd1b3=new Map(_0x1d32c9[_0x35780f(-_0x1f74ea._0x2001c6,0xb7,_0x1f74ea._0x263123,-0x145)]);_0x2dd1b3[_0x35780f(-0x164,_0x1f74ea._0x5ae2c3,-0x107,-0x40)](_0x2989e1[_0x113cb8(_0x1f74ea._0x520a89,-_0x1f74ea._0x5986ec,-0x6,-_0x1f74ea._0x5058e7)],_0x32b8f4);let _0xb40888=new Map(_0x1d32c9['agentToMessageMap']);return _0xb40888[_0x35780f(-_0x1f74ea._0x2364ba,_0x1f74ea._0x38dd20,-0x14e,-0x40)](_0x2989e1['agentId'],_0x163f0a),_0x32b8f4[_0x35780f(-_0x1f74ea._0x452c75,-_0x1f74ea._0xdf9cc4,-_0x1f74ea._0x4329b2,-0x113)]=_0x2989e1[_0x113cb8(0x7d,-_0x1f74ea._0x1cae51,_0x1f74ea._0xeab274,-0x6e)],_0x1bd3af[_0x35780f(_0x1f74ea._0x3436f9,0x5d,_0x1f74ea._0xf48a59,0x3b)]?.(_0x163f0a,{['subAgentState_'+_0x2989e1[_0x113cb8(_0x1f74ea._0x5a127a,_0x1f74ea._0xb6d842,-_0x1f74ea._0x3d74d,-0x6e)]]:_0x32b8f4}),{..._0x1d32c9,'subAgents':_0x2dd1b3,'agentToMessageMap':_0xb40888};}case _0x26422e[_0x35780f(_0x1f74ea._0x41eb27,0x2a5,0x159,0x189)]:{let _0x413d84=_0x1d32c9[_0x35780f(0xb7,-_0x1f74ea._0x2d07c2,_0x1f74ea._0x24393b,-_0x1f74ea._0x457706)][_0x113cb8(0x351,0x34b,_0x1f74ea._0x214f82,_0x1f74ea._0x24bf91)](_0x2989e1[_0x113cb8(0x45,0xa1,_0x1f74ea._0x1f9977,-0x8)]);return _0x413d84&&(_0x413d84[_0x35780f(-_0x1f74ea._0x448b60,0x245,_0x1f74ea._0x100f9e,0xa4)]=_0x35780f(-0x11e,-_0x1f74ea._0xeff2e8,-0x26b,-0x1fd),_0x413d84['toolCalls'][_0x113cb8(-_0x1f74ea._0x57a605,_0x1f74ea._0xc0a5ea,0x38,0x61)]({'id':_0x2989e1[_0x113cb8(0x12d,-0x88,-_0x1f74ea._0x30debc,-_0x1f74ea._0x50f0d0)],'name':_0x2989e1[_0x113cb8(0xe2,-0x5a,-_0x1f74ea._0x3e8ef3,-0xac)],'arguments':_0x2989e1['toolArguments']}),_0x413d84[_0x113cb8(-_0x1f74ea._0x9de27c,-0xe7,-_0x1f74ea._0xbc1b08,-0x196)]&&_0x413d84[_0x113cb8(_0x1f74ea._0x1eb042,_0x1f74ea._0x1df910,-0x24c,-_0x1f74ea._0x50f0d0)]&&_0x1bd3af[_0x35780f(_0x1f74ea._0x80e295,_0x1f74ea._0x1f27d7,0x5e,0x3b)]?.(_0x413d84[_0x35780f(-0x30b,-0x3bd,-_0x1f74ea._0x154c2f,-0x23b)],{['subAgentState_'+_0x413d84['toolCallId']]:_0x413d84})),_0x1d32c9;}case _0x26422e[_0x113cb8(_0x1f74ea._0x203d27,_0x1f74ea._0x531cc0,0x11e,0x256)]:{let _0x271cc8=_0x1d32c9[_0x113cb8(-0xd8,-0x13b,-0x81,-0xa0)][_0x35780f(-0xf2,-_0x1f74ea._0x5db136,-_0x1f74ea._0xcec76f,_0x1f74ea._0x3c209a)](_0x2989e1[_0x35780f(_0x1f74ea._0xad2d0f,-_0x1f74ea._0x3e8aca,-_0x1f74ea._0x41f229,-_0x1f74ea._0x3ca1e9)]);if(!_0x271cc8)return _0x1d32c9;let _0x1d1196=_0x271cc8[_0x35780f(-0x81,-0x38,-0x17e,-0x179)][_0x35780f(-_0x1f74ea._0x1481dd,0x288,0x140,0xae)](_0x447684=>_0x447684['id']===_0x2989e1['toolCallId']);return _0x1d1196&&(_0x1d1196['durationMs']=_0x2989e1[_0x35780f(-0x12f,-0x295,-_0x1f74ea._0x2dc133,-_0x1f74ea._0x17714d)],_0x1d1196[_0x113cb8(_0x1f74ea._0x2b76f3,0x151,_0x1f74ea._0x4f619d,_0x1f74ea._0x5d655e)]=_0x2989e1['status']),_0x271cc8[_0x35780f(-_0x1f74ea._0x3a76eb,-0x41f,-0x203,-_0x1f74ea._0x52218a)]&&_0x271cc8[_0x113cb8(0x80,0xf6,-_0x1f74ea._0x3c6c48,-0x6e)]&&_0x1bd3af['updateLineMetadata']?.(_0x271cc8['toolCallMessageId'],{[_0x35780f(0x12c,0xbc,_0x1f74ea._0x54c208,_0x1f74ea._0x3f8537)+_0x271cc8['toolCallId']]:_0x271cc8}),_0x1d32c9;}case _0x26422e['SubAgentCompleted']:{let _0x20608c=_0x1d32c9[_0x35780f(-0x2fa,-0x233,-0xea,-_0x1f74ea._0x210e2e)][_0x113cb8(_0x1f74ea._0xed6e49,_0x1f74ea._0x1211f2,0x138,0x14c)](_0x2989e1['agentId']);return _0x20608c&&(_0x20608c[_0x35780f(0x246,0x174,_0x1f74ea._0x156de6,0xa4)]=_0x113cb8(-_0x1f74ea._0x140ad3,-0x20,-_0x1f74ea._0x481360,-_0x1f74ea._0x4653ed),_0x20608c[_0x35780f(0x15d,-_0x1f74ea._0x48586e,0x122,-_0x1f74ea._0x286567)]=_0x2989e1['status'],_0x20608c[_0x35780f(_0x1f74ea._0x5d12bd,0x12e,-0x140,_0x1f74ea._0x20b593)]=_0x2989e1['resultMessage'],_0x20608c[_0x113cb8(-_0x1f74ea._0x2b48f1,0x28,-0x1e8,-0xb6)]=_0x2989e1[_0x113cb8(-_0x1f74ea._0x51b042,-0x1e,-0xff,-0xb6)],_0x20608c[_0x35780f(-_0x1f74ea._0x38cb1a,-0xd1,-_0x1f74ea._0x660308,-_0x1f74ea._0x53e645)]&&_0x20608c[_0x35780f(-0x6d,-_0x1f74ea._0x17968b,-0x4f,-0x113)]&&_0x1bd3af[_0x35780f(-0x11f,0x16,_0x1f74ea._0x58ccd3,0x3b)]?.(_0x20608c[_0x113cb8(-_0x1f74ea._0x28eacf,-0x1ee,0x46,-_0x1f74ea._0x40fe02)],{[_0x35780f(0x3a0,_0x1f74ea._0x67ca85,_0x1f74ea._0x4329b2,_0x1f74ea._0x3f8537)+_0x20608c['toolCallId']]:_0x20608c})),_0x1d32c9;}default:return _0x1d32c9;}}var ct=class extends _0xe6d23d{constructor(_0x5f1ec1,_0x20e3ce,_0x4a7718,_0x4b2215,_0x2b944b){const _0x408e83={_0x20b806:0x46,_0x75527b:0x1a0,_0x3e288b:0xf3,_0x2fb379:0x278,_0x48ebf3:0xd4,_0x5ea51e:0x247,_0x183bdc:0xdb,_0x4b55a7:0x8,_0x15ccfb:0xc3,_0xcced7b:0x3f,_0x1ed660:0xe3,_0x306bf3:0x194,_0x3ebe54:0x99,_0x44803a:0x26e,_0x4881e8:0x285,_0x12e11b:0x1d},_0xd2ee0={_0x5cbf56:0x44},_0x457fd0={_0x10de38:0xda,_0x39f54a:0xaf};super(_0x2b944b?.[_0x893b05(-0xd6,0xe5,-_0x408e83._0x20b806,-0xf3)]?{'filename':_0x2b944b[_0x893b05(-_0x408e83._0x75527b,-0x2de,-0x6e,-_0x408e83._0x3e288b)]}:{'memory':new _0x59fd74()}),this[_0x893b05(-_0x408e83._0x2fb379,_0x408e83._0x48ebf3,-_0x408e83._0x5ea51e,-_0x408e83._0x183bdc)]=_0x5f1ec1,this[_0x893b05(_0x408e83._0x4b55a7,0xd1,0xf2,0x2)]=_0x20e3ce,this[_0x893b05(-_0x408e83._0x15ccfb,_0x408e83._0xcced7b,0x210,_0x408e83._0x1ed660)]=_0x4a7718;function _0x31d036(_0x1b3b01,_0x173650,_0x13bda4,_0x51307d){return _0x199b7d(_0x1b3b01-_0x457fd0._0x10de38,_0x1b3b01- -0x379,_0x13bda4-_0x457fd0._0x39f54a,_0x51307d);}this[_0x893b05(0x1a5,_0x408e83._0x306bf3,_0x408e83._0x3ebe54,_0x408e83._0x44803a)]=_0x4b2215,this[_0x893b05(0x41e,0xa9,0xf4,0x221)]=Tn();function _0x893b05(_0x80de75,_0x4c449c,_0x5dc6a5,_0x424689){return _0x199b7d(_0x80de75-0x1da,_0x424689- -0x491,_0x5dc6a5-_0xd2ee0._0x5cbf56,_0x4c449c);}this['streamingEnabled']=_0x2b944b?.[_0x31d036(0x173,_0x408e83._0x4881e8,_0x408e83._0x12e11b,0x8e)]??!0x1;}async[_0x3eba7a(0x1e8,-0x15f,-0x8c,0x38)](_0xa09e44){const _0x43d2ec={_0x5a0e8a:0x44b,_0x3c3bc8:0x4b2,_0x2b3479:0x3eb,_0x3ec0a7:0x5ef,_0x42a29a:0x5e5,_0x6e6dcc:0x547,_0x631e1b:0x61e,_0x4aece6:0x6d2,_0x529f41:0x8b2,_0x3d04e3:0x1fa,_0x2383c9:0x5c1,_0x3f2547:0x685,_0x1c3e10:0x2bb,_0x2cccf3:0x16f,_0xcff94c:0x27b,_0x1dd523:0x1f8},_0x2913f5={_0xb5d0ef:0xcb,_0x52c1ea:0x47a},_0x41249a={_0x546144:0x150,_0x450c4c:0x277},_0x28f513={_0xaf72f3:0x4b};function _0xd9e754(_0x10cffb,_0x1e70c2,_0xccae70,_0xa7fa6e){return _0x3eba7a(_0x10cffb-0x1bc,_0x1e70c2-_0x28f513._0xaf72f3,_0xccae70,_0x10cffb-0xb0);}super[_0x9c28bd(_0x43d2ec._0x5a0e8a,_0x43d2ec._0x3c3bc8,_0x43d2ec._0x2b3479,_0x43d2ec._0x3ec0a7)](_0xa09e44);let _0x52038f={'appendLine':this['appendLine'],'updateLine':this[_0x9c28bd(_0x43d2ec._0x42a29a,0x466,0x401,0x303)],'updateLineMetadata':this[_0x9c28bd(0x6b4,_0x43d2ec._0x6e6dcc,0x3e4,0x64f)],'setLastMetadata':this[_0x9c28bd(_0x43d2ec._0x631e1b,_0x43d2ec._0x4aece6,_0x43d2ec._0x529f41,0x7b1)],'streamingEnabled':this[_0xd9e754(0xf5,_0x43d2ec._0x3d04e3,-0x1d,0x1a4)],'onToolApprovalRequired':_0x5b32ac=>{const _0x11d682={_0x448297:0x565};function _0x5ad91b(_0x526d42,_0x172087,_0x1a23b8,_0x730c01){return _0x9c28bd(_0x526d42-0x139,_0x730c01- -_0x11d682._0x448297,_0x1a23b8-0x17f,_0x526d42);}L[_0x5ad91b(-_0x41249a._0x546144,-0xf3,-_0x41249a._0x450c4c,-0xb3)]('ui:toolApprovalRequired',_0x5b32ac);}},_0x340ac7=wn(_0xa09e44,this[_0x9c28bd(_0x43d2ec._0x2383c9,_0x43d2ec._0x3f2547,0x771,0x49e)],_0x52038f);function _0x9c28bd(_0x18d75a,_0x5e3bd5,_0x565fd8,_0xf330dd){return _0x3eba7a(_0x18d75a-_0x2913f5._0xb5d0ef,_0x5e3bd5-0x19e,_0xf330dd,_0x5e3bd5-_0x2913f5._0x52c1ea);}_0x340ac7 instanceof Promise?this[_0xd9e754(_0x43d2ec._0x1c3e10,_0x43d2ec._0x2cccf3,_0x43d2ec._0xcff94c,_0x43d2ec._0x1dd523)]=await _0x340ac7:this[_0x9c28bd(0x5ac,_0x43d2ec._0x3f2547,0x5cd,0x51c)]=_0x340ac7;}[_0x3eba7a(0x60,0x67,0x61,-0xd6)](_0x4dd7e5){this['streamingEnabled']=_0x4dd7e5;}},Sn='\x0aYou\x20are\x20Nuvin,\x20an\x20interactive\x20CLI\x20assistant\x20for\x20software\x20engineering.\x20Use\x20available\x20tools\x20to\x20complete\x20the\x20user\x27s\x20task.\x0a\x0a##\x20Scope\x20&\x20Safety\x0a\x0a-\x20Defensive\x20security\x20only.\x0a-\x20Allowed:\x20security\x20analysis,\x20detection\x20rules,\x20vuln\x20explanations,\x20hardening/monitoring\x20tools,\x20security\x20docs.\x0a-\x20Refuse\x20any\x20creation/modification\x20that\x20could\x20enable\x20abuse.\x0a-\x20URLs:\x20Never\x20invent/guess\x20links.\x20Only\x20use\x20user-provided\x20URLs\x20or\x20local\x20files\x20when\x20directly\x20useful\x20for\x20programming.\x0a\x0a##\x20Output\x20Rules\x0a\x0a-\x20Be\x20concise\x20and\x20direct.\x20≤4\x20lines\x20per\x20answer\x20(excluding\x20tool\x20output/code).\x20Minimize\x20tokens;\x20answer\x20only\x20what\x20was\x20asked.\x0a-\x20No\x20pre/post-amble\x20unless\x20requested.\x0a-\x20Exception:\x20When\x20running\x20non-trivial\x20bash\x20(changes\x20state,\x20installs,\x20deletes,\x20modifies\x20config,\x20or\x20runs\x20multi-flag\x20commands),\x20briefly\x20explain\x20what\x20and\x20why\x20in\x20≤1\x20line\x20before\x20execution.\x0a\x0a##\x20Interaction\x0a\x0a-\x20Act\x20when\x20asked;\x20avoid\x20surprise\x20actions.\x20If\x20asked\x20“how,”\x20answer\x20first;\x20only\x20then\x20take\x20follow-ups\x20if\x20requested.\x0a-\x20Skip\x20todo_write\x20for\x20yes/no\x20or\x20single-line\x20answers;\x20use\x20todo_write\x20to\x20plan/track\x20multi-step\x20or\x20non-trivial\x20tasks.\x0a-\x20Mark\x20items\x20\x27in_progress\x27\x20and\x20\x27completed\x27\x20promptly.\x0a\x0a##\x20Repository\x20Conventions\x0a\x0a-\x20Detect\x20and\x20follow\x20existing\x20code\x20style,\x20libs,\x20patterns.\x0a-\x20DO\x20NOT\x20assume\x20libraries—verify\x20via\x20manifests/imports.\x0a-\x20New\x20components\x20mirror\x20existing\x20architecture,\x20naming,\x20typing.\x0a-\x20Never\x20expose/log\x20secrets;\x20never\x20commit\x20secrets.\x0a\x0a##\x20Code\x20Style\x0a-\x20DO\x20NOT\x20add\x20comments\x20unless\x20the\x20user\x20asks.\x0a-\x20Follow\x20existing\x20code\x20style,\x20naming,\x20and\x20patterns.\x0a\x0a##\x20Doing\x20Tasks\x0a-\x20Plan(todo_write)\x20→\x20search/inspect\x20codebase\x20→\x20implement\x20→\x20verify/tests.\x0a-\x20Don\x27t\x20assume\x20test/build\x20commands;\x20find\x20them(README/package\x20scripts).\x0a-\x20If\x20unknown,\x20ask\x20and\x20propose\x20documenting.\x0a-\x20For\x20multi-step\x20tasks,\x20use\x20todo_write\x20to\x20plan\x20and\x20track\x20progress.\x0a-\x20DO\x20NOT\x20create\x20any\x20kind\x20of\x20summary\x20document\x20after\x20finish\x20a\x20task.\x0a\x0a##\x20Searching\x0a-\x20Use\x20rg\x20for\x20code\x20searches;\x20prefer\x20specific\x20terms\x20(e.g.,\x20function/class\x20names)\x20over\x20generic\x20ones\x20(e.g.,\x20\x27the\x27,\x20\x27a\x27).\x0a-\x20When\x20rg\x20is\x20unavailable,\x20use\x20grep\x20as\x20fallback.\x0a-\x20Do\x20using\x20the\x20search\x20pattern\x20too\x20generically\x20may\x20yield\x20too\x20many\x20results.\x0a-\x20For\x20config\x20files,\x20use\x20grep\x20if\x20rg\x20is\x20unavailable.\x0a-\x20When\x20searching,\x20include\x20relevant\x20context\x20(e.g.,\x20function\x20name,\x20surrounding\x20lines).\x0a\x0a##\x20Tool\x20Usage\x0a-\x20Prefer\x20Assign\x20tools\x20to\x20reduce\x20context.\x20Use\x20specialized\x20agents\x20when\x20appropriate.\x0a-\x20Batch\x20independent\x20tool\x20calls\x20in\x20one\x20message\x20when\x20possible.\x20Prefer\x20\x27rg\x27\x20over\x20\x27grep\x27.\x0a-\x20For\x20the\x20bash_tool\x20do\x20not\x20batch\x20commands;\x20run\x20one\x20at\x20a\x20time.\x0a-\x20If\x20a\x20hook\x20blocks\x20an\x20action,\x20adapt;\x20otherwise\x20ask\x20the\x20user\x20to\x20adjust\x20hooks.\x0a\x0a##\x20Bash\x20Execution\x20Policy\x0a-\x20Non-trivial\x20bash\x20requires\x20a\x20one-line\x20rationale.\x20Trivial(e.g.,\x20\x27ls\x27,\x20\x27cat\x20file\x27)\x20needs\x20none.\x0a\x0a##\x20Refusals\x0a-\x20If\x20refusing\x20for\x20safety,\x20reply\x20in\x20one\x20line\x20with\x20a\x20brief\x20reason\x20and\x20offer\x20a\x20safe\x20alternative.\x0a\x0a##\x20Code\x20References\x0a-\x20Cite\x20locations\x20as\x20\x27file_path:\x20line_number\x27\x20(e.g.,\x20\x27src/services/process.ts:\x20712\x27).\x0a\x0a##\x20Environment\x20Placeholders\x0a\x0a<env>\x0a{{\x20injectedSystem\x20}}\x0a</env>\x0a\x0a##\x20Defensive\x20Examples(allowed)\x0a\x0a*\x20“Write\x20Sigma\x20rule\x20to\x20detect\x20anomalous\x20PowerShell\x20downloads.”\x0a*\x20“Explain\x20CVE\x20root\x20cause\x20and\x20how\x20to\x20patch.”\x0a*\x20“Add\x20rate-limiting\x20and\x20input\x20validation\x20to\x20this\x20API.”\x0a\x0aAlways\x20enforce\x20defensive-only\x20security\x20and\x20consistent\x20todo_write\x20planning\x20for\x20non-trivial\x20work.\x0a\x0aIMPORTANT:\x20NEVER\x20create\x20any\x20kind\x20of\x20summary\x20document';import{MCPToolPort as _0x1467bf,CoreMCPClient as _0x5a8559,loadMCPConfig as _0x1820f1}from'@nuvin/nuvin-core';import*as _0x5ed8b0 from'crypto';import*as _0x496d17 from'path';import*as _0x9dca6a from'os';var va=_0x496d17[_0x199b7d(0x3c1,0x3f8,0x32b,0x546)](_0x9dca6a[_0x199b7d(0x55f,0x601,0x51e,0x5c8)](),_0x3eba7a(0x254,-0x3c,0x29c,0x15f),_0x199b7d(0x6c8,0x603,0x507,0x720)),$t=class{constructor(_0x257c19){const _0x26f5b1={_0x46807e:0x3fc,_0x508bf4:0x244,_0x34e0c0:0x4,_0x12e3e9:0x66,_0x2d5e7d:0x121,_0x405601:0xe9},_0x919aa3={_0x517958:0x174},_0xf5e07e={_0x24054e:0x1f3};function _0x2208ae(_0x13fd5e,_0x1e4f28,_0x2913f7,_0x35c319){return _0x199b7d(_0x13fd5e-0x10c,_0x35c319- -0x56c,_0x2913f7-_0xf5e07e._0x24054e,_0x2913f7);}this[_0x2208ae(-0x372,-0x184,-_0x26f5b1._0x46807e,-_0x26f5b1._0x508bf4)]=new Map(),this[_0x2208ae(-0x2e,-0x24,_0x26f5b1._0x34e0c0,0x106)]=new Map(),this[_0x2208ae(0x1b5,0x15f,-_0x26f5b1._0x12e3e9,_0x26f5b1._0x2d5e7d)]={};function _0x532ae6(_0x3db017,_0xea9611,_0x5d2ab7,_0x442823){return _0x3eba7a(_0x3db017-_0x919aa3._0x517958,_0xea9611-0x1ed,_0x442823,_0x3db017-0x3a);}this[_0x2208ae(-_0x26f5b1._0x405601,0x277,0x5c,0xf6)]=_0x257c19;}async[_0x3eba7a(0x345,0x114,0x260,0x1eb)](){const _0x50013d={_0x56e434:0x2b1,_0x46929e:0x365,_0x370423:0x25e,_0x3e4762:0x5c1,_0xe44706:0x637,_0x2868ce:0x781,_0x51add2:0x56b,_0x235a1c:0x3b7,_0xb051f1:0x248,_0x53f6d9:0x16c,_0x5e5a6d:0x179,_0x25ed6a:0x257,_0x4a928b:0x426,_0x11b2e2:0x19b,_0x55b57a:0x7c,_0x19aaed:0x238,_0x29a493:0x436,_0x1bbf36:0x243,_0x4b8d85:0x120,_0x4ad65a:0x145,_0x95f6e1:0x185,_0x5bdc4b:0x17c,_0x485f82:0x293,_0x173dff:0x199,_0x354d37:0x141,_0x13160e:0x200,_0x2ef805:0x254,_0x35a3d7:0x110,_0x424837:0x174,_0x3572b7:0xcf,_0x1a5908:0x3e0,_0x4c0691:0x451,_0x24743f:0x452,_0x2089d7:0x5b9,_0x412f29:0x4fd,_0x382882:0x438,_0x1b4436:0x3ce,_0x1edae6:0x568,_0x3a2133:0x455,_0x52a2c5:0x3b5,_0x498a59:0x56b,_0x4e0661:0x5c8,_0x165e35:0x3e1,_0x13f9ea:0x180,_0x472cf2:0x693,_0x420f4e:0x47b,_0x520300:0x5f2,_0x4d1bba:0x519,_0x38f41a:0x567,_0x577769:0x377,_0x3cc47b:0x403,_0x4248f5:0x1fd,_0x189380:0x387,_0x3cf32e:0x505,_0x391d03:0x138,_0x116e1e:0x4a1},_0x479eb9={_0x2a7164:0xed},_0x2d51dd={_0x32ad69:0xa4,_0xe947dc:0x1a};let _0x52ccea=[],_0x40c4fe=[],_0x49fccc=[],_0x2069d2=this[_0x250940(_0x50013d._0x56e434,0x1ca,0x1c7,_0x50013d._0x46929e)][_0x250940(0xbf,0x152,0x2e2,_0x50013d._0x370423)]??null,_0x425fe3=!!(_0x2069d2?.['mcpServers']&&Object[_0x4b7923(_0x50013d._0x3e4762,0x5dc,0x6d9,0x432)](_0x2069d2[_0x4b7923(0x609,_0x50013d._0xe44706,_0x50013d._0x2868ce,_0x50013d._0x51add2)])[_0x250940(_0x50013d._0x235a1c,_0x50013d._0xb051f1,_0x50013d._0x53f6d9,0x58)]>0x0),_0x5c4ad3=this['options'][_0x250940(_0x50013d._0x5e5a6d,_0x50013d._0x25ed6a,_0x50013d._0x4a928b,_0x50013d._0x11b2e2)]||va,_0x265466=null;try{if(_0x265466=_0x425fe3?_0x2069d2:await _0x1820f1(_0x5c4ad3),!_0x265466?.[_0x250940(_0x50013d._0x55b57a,0x243,0x3b4,_0x50013d._0x19aaed)])return{'mcpPorts':_0x52ccea,'mcpClients':_0x40c4fe,'enabledTools':_0x49fccc};for(let [_0x5eb09e,_0xcfe5dc]of Object['entries'](_0x265466[_0x250940(_0x50013d._0x29a493,_0x50013d._0x1bbf36,0x9a,0x1e6)]))try{let _0x3cb180=await this['initializeServer'](_0x5eb09e,_0xcfe5dc);_0x3cb180&&(_0x3cb180[_0x250940(_0x50013d._0x4b8d85,_0x50013d._0x4ad65a,_0x50013d._0x95f6e1,_0x50013d._0x5bdc4b)]===_0x250940(_0x50013d._0x485f82,0x263,0x1e4,0x1e2)?(this['servers']['set'](_0x5eb09e,_0x3cb180),_0x3cb180[_0x250940(_0x50013d._0x173dff,_0x50013d._0x354d37,_0x50013d._0x13160e,_0x50013d._0x2ef805)]!==null&&_0x52ccea[_0x250940(-_0x50013d._0x35a3d7,0x5d,_0x50013d._0x424837,_0x50013d._0x3572b7)](_0x3cb180['port']),_0x3cb180['client']!==null&&_0x40c4fe[_0x4b7923(_0x50013d._0x1a5908,_0x50013d._0x4c0691,0x4fc,0x467)](_0x3cb180[_0x4b7923(_0x50013d._0x24743f,0x48c,_0x50013d._0x2089d7,0x66a)]),_0x49fccc['push'](..._0x3cb180[_0x4b7923(_0x50013d._0x412f29,_0x50013d._0x382882,0x43a,_0x50013d._0x1b4436)])):this['failedServers'][_0x4b7923(_0x50013d._0x1edae6,_0x50013d._0x3a2133,_0x50013d._0x52a2c5,0x4c1)](_0x5eb09e,_0x3cb180));}catch(_0x387ec3){let _0x4d66f1=_0x387ec3 instanceof Error?_0x387ec3[_0x4b7923(0x381,_0x50013d._0x498a59,_0x50013d._0x4e0661,_0x50013d._0x165e35)]:String(_0x387ec3),_0x2321d6=_0xcfe5dc[_0x250940(-0x11d,-0xb5,-0x135,-_0x50013d._0x13f9ea)]||'mcp_'+_0x5eb09e+'_';this[_0x4b7923(_0x50013d._0x472cf2,0x5ce,_0x50013d._0x420f4e,_0x50013d._0x520300)][_0x4b7923(0x48e,0x455,_0x50013d._0x4d1bba,_0x50013d._0x38f41a)](_0x5eb09e,{'id':_0x5eb09e,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0x2321d6,'status':'failed','error':_0x4d66f1}),this['options']['silentInit']||this[_0x4b7923(0x368,_0x50013d._0x577769,_0x50013d._0x3cc47b,_0x50013d._0x4248f5)](_0x5eb09e,_0x387ec3,_0x4b7923(_0x50013d._0x189380,_0x50013d._0x3cf32e,_0x50013d._0xe44706,0x6c4));}}catch(_0x318ba6){this[_0x4b7923(0x424,0x2a6,_0x50013d._0x391d03,_0x50013d._0x116e1e)](_0x425fe3?'inline-config':_0x5c4ad3,_0x318ba6);}function _0x4b7923(_0x54db8b,_0x459ddf,_0xdace08,_0x1a4e28){return _0x199b7d(_0x54db8b-0x7f,_0x459ddf- -_0x2d51dd._0x32ad69,_0xdace08-_0x2d51dd._0xe947dc,_0xdace08);}function _0x250940(_0x1a93c7,_0x3a704b,_0x267495,_0x49a2a9){return _0x199b7d(_0x1a93c7-_0x479eb9._0x2a7164,_0x3a704b- -0x498,_0x267495-0xfb,_0x49a2a9);}return{'mcpPorts':_0x52ccea,'mcpClients':_0x40c4fe,'enabledTools':_0x49fccc};}async['initializeServer'](_0x365b14,_0x51d8f0){const _0x25e00a={_0x4a8892:0x54d,_0x936ae0:0x447,_0x307deb:0x58c,_0x209926:0x28f,_0x5ccb13:0x47e,_0x48cbf6:0x64f,_0x563f5a:0x354,_0x1318e9:0x210,_0x339c8f:0x2c2,_0x2aecd9:0x1b0,_0x2b08ab:0x2fe,_0x277336:0x16b,_0x266f6e:0x198,_0x1ec57:0x4a,_0x461b30:0x92,_0x22796d:0x14f,_0x2946cb:0x3e8,_0x30d7c5:0x104,_0x76e9e9:0x169,_0x5834c5:0x2f,_0x347789:0x493,_0xe98eed:0x30a,_0x459a06:0x182,_0x2f5fd4:0x2d1,_0x1da735:0x154,_0x3cb4e7:0x19,_0x1f5130:0x511,_0x582b01:0x4ea,_0x39464f:0x43f,_0x1231eb:0x169,_0x3e4264:0x29a,_0xfcfd7:0x137,_0x424283:0x3bf,_0x4be512:0x5f,_0x6523bc:0x413,_0x464e53:0x234,_0xbd6dbf:0x20f,_0x10565b:0x38d,_0x5e6e6d:0x66e,_0x272fae:0x40a,_0x130ffd:0x6a3,_0x1c1375:0x3c6,_0x568f86:0x27d,_0x140a72:0x160,_0x134320:0x2ab,_0x6b3fbe:0x1c9,_0x24b976:0x10,_0x2c7739:0x60c,_0x389576:0x45e,_0x42c8ac:0x466,_0x2d44ad:0x4bd,_0x35682c:0x60a,_0x3c2302:0x361,_0x3868b9:0x3a2,_0x3ca948:0x3b6,_0x4e6bae:0x217,_0x67ba8c:0x22d,_0x49b4c6:0x3f3,_0x54800d:0x4ac,_0x1ffebb:0x436,_0x42dc46:0x110,_0x256891:0x311,_0x572172:0x11d,_0x44ba54:0x275,_0x457564:0x3e0,_0x1c8f03:0x303,_0x271631:0x27a,_0x4c2d0d:0x449},_0x414e6b={_0x36cdc5:0x27a,_0x37357a:0xd1},_0x1c5543={_0x11b513:0xba,_0x174dce:0x1cf,_0x45acb5:0xe1};function _0x2b9121(_0x3dff10,_0x5c2667,_0x4aeadc,_0x4a8399){return _0x199b7d(_0x3dff10-_0x1c5543._0x11b513,_0x5c2667- -_0x1c5543._0x174dce,_0x4aeadc-_0x1c5543._0x45acb5,_0x3dff10);}let _0xd86ef0=null,_0x48afef=_0x51d8f0['timeoutMs']||0x1d4c0;if(_0x51d8f0['transport']==='http'&&_0x51d8f0['url']?_0xd86ef0=new _0x5a8559({'type':_0x2b9121(_0x25e00a._0x4a8892,_0x25e00a._0x936ae0,0x38c,0x408),'url':_0x51d8f0['url'],'headers':_0x51d8f0[_0x2b5089(0x465,0x303,_0x25e00a._0x307deb,_0x25e00a._0x209926)]},_0x48afef):_0x51d8f0['command']&&(_0xd86ef0=new _0x5a8559({'type':_0x2b9121(_0x25e00a._0x5ccb13,0x4c2,0x6a3,_0x25e00a._0x48cbf6),'command':_0x51d8f0[_0x2b9121(0x51e,_0x25e00a._0x563f5a,_0x25e00a._0x1318e9,_0x25e00a._0x339c8f)],'args':_0x51d8f0[_0x2b9121(_0x25e00a._0x2aecd9,_0x25e00a._0x2b08ab,0x3f0,_0x25e00a._0x277336)],'env':_0x51d8f0[_0x2b5089(_0x25e00a._0x266f6e,-_0x25e00a._0x1ec57,_0x25e00a._0x461b30,_0x25e00a._0x22796d)],'stderr':_0x2b9121(_0x25e00a._0x2946cb,0x263,_0x25e00a._0x30d7c5,0x37a)},_0x48afef)),!_0xd86ef0){let _0x50b893=_0x2b9121(0x2f4,_0x25e00a._0x76e9e9,-_0x25e00a._0x5834c5,-0x11);this[_0x2b9121(0x5f2,_0x25e00a._0x347789,0x5a0,_0x25e00a._0xe98eed)]['silentInit']||this['logInfo'](_0x2b5089(_0x25e00a._0x459a06,_0x25e00a._0x2f5fd4,0x1a9,0x19e)+_0x365b14+'\x27\x20missing\x20transport\x20info;\x20skipping',_0x2b9121(0x158,_0x25e00a._0x1da735,0x18a,_0x25e00a._0x3cb4e7));let _0x1d3f3c=_0x51d8f0['prefix']||_0x2b9121(_0x25e00a._0x1f5130,0x51c,_0x25e00a._0x582b01,_0x25e00a._0x39464f)+_0x365b14+'_';return{'id':_0x365b14,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0x1d3f3c,'status':_0x2b9121(0x3c8,0x475,0x676,0x468),'error':_0x50b893};}let _0x5cdbd7=_0x51d8f0[_0x2b5089(_0x25e00a._0x1231eb,-0x6a,_0x25e00a._0x3e4264,_0x25e00a._0xfcfd7)]||'mcp_'+_0x365b14+'_',_0x1c663f=new _0x1467bf(_0xd86ef0,{'prefix':_0x5cdbd7});await _0x1c663f[_0x2b9121(0x646,0x4b6,_0x25e00a._0x424283,0x5ad)]();let _0x3fc793=_0x1c663f[_0x2b5089(0xc4,0x1dd,-0xef,-_0x25e00a._0x4be512)](),_0xe09418=[..._0x3fc793];function _0x2b5089(_0x18726c,_0x372dea,_0x3f2d88,_0x3064db){return _0x199b7d(_0x18726c-0x15b,_0x18726c- -_0x414e6b._0x36cdc5,_0x3f2d88-_0x414e6b._0x37357a,_0x3f2d88);}if(this[_0x2b5089(_0x25e00a._0x6523bc,0x374,_0x25e00a._0x464e53,_0x25e00a._0xbd6dbf)]?.[_0x365b14]){let _0x5b8500=this[_0x2b5089(0x413,0x517,0x43d,_0x25e00a._0x10565b)][_0x365b14],_0x15b289=_0xe09418[_0x2b9121(0x3c2,0x511,0x714,_0x25e00a._0x5e6e6d)];_0xe09418=_0xe09418['filter'](_0x39787f=>_0x5b8500[_0x39787f]!==!0x1),!this[_0x2b9121(0x68f,0x493,0x400,0x367)]['silentInit']&&_0xe09418[_0x2b9121(0x69e,0x511,_0x25e00a._0x272fae,_0x25e00a._0x130ffd)]!==_0x15b289&&this[_0x2b5089(0x3b6,_0x25e00a._0x1c1375,0x5a4,_0x25e00a._0x568f86)](_0x2b5089(0x182,_0x25e00a._0x140a72,0x2c5,_0x25e00a._0x134320)+_0x365b14+_0x2b5089(_0x25e00a._0x6b3fbe,_0x25e00a._0x24b976,0x2c3,0x392)+_0x15b289+_0x2b5089(0x467,0x2d8,_0x25e00a._0x2c7739,_0x25e00a._0x389576)+_0xe09418[_0x2b5089(_0x25e00a._0x42c8ac,_0x25e00a._0x2d44ad,0x3be,_0x25e00a._0x35682c)]+_0x2b5089(0x3c0,0x4e5,0x2e5,0x2b3),'yellow');}return this['options'][_0x2b5089(_0x25e00a._0x3c2302,0x224,0x373,_0x25e00a._0x3868b9)]||this[_0x2b5089(_0x25e00a._0x3ca948,0x239,0x1b5,_0x25e00a._0x4e6bae)](_0x2b9121(0x341,_0x25e00a._0x67ba8c,0x150,0x22f)+_0x365b14+'\x27\x20loaded\x20with\x20'+_0x3fc793[_0x2b9121(_0x25e00a._0x49b4c6,_0x25e00a._0x1f5130,0x3e5,0x622)]+'\x20tools\x20('+_0xe09418[_0x2b9121(_0x25e00a._0x54800d,_0x25e00a._0x1f5130,0x628,_0x25e00a._0x1ffebb)]+_0x2b5089(_0x25e00a._0x42dc46,_0x25e00a._0x256891,0x172,-0x5f)+_0x5cdbd7+_0x2b9121(_0x25e00a._0x572172,_0x25e00a._0x44ba54,0x167,0x30b)+_0x48afef+_0x2b9121(0x394,_0x25e00a._0x457564,0x4a4,_0x25e00a._0x1c8f03),_0x2b9121(_0x25e00a._0x271631,0x35b,0x536,_0x25e00a._0x4c2d0d)),{'id':_0x365b14,'client':_0xd86ef0,'port':_0x1c663f,'exposedTools':_0x3fc793,'allowedTools':_0xe09418,'prefix':_0x5cdbd7,'status':'connected'};}async['disconnectAllServers'](){const _0x129afa={_0x1ea624:0x1ed,_0x488ef5:0xa6,_0x54e292:0x10c,_0x552145:0xec,_0x5aadc9:0x15,_0x4af688:0x171,_0x1ed0bd:0x2c6,_0x4812ed:0x1c1,_0x1b825c:0x14a,_0x3e767d:0xac,_0x4ac43b:0x1e7},_0x35cfac={_0x578b57:0x6be,_0x465e91:0x54d,_0x513c62:0x51a,_0x666f59:0x89f,_0x32a778:0x79d,_0x4e2f60:0x6ce,_0x50a137:0x429,_0x5c40bf:0x3b9,_0x461756:0x20d,_0x4f3394:0x54f,_0x8b8548:0x683,_0x3ee7cd:0x558,_0xff5b1f:0x485},_0x542375={_0x5b80d1:0x106},_0x4e462a={_0x2198a5:0x30,_0x31d76b:0x10d},_0x444d3a={_0x1f060c:0x1a6,_0x1237c0:0x56b,_0x3fbfd6:0x1b6};function _0x3616fc(_0x7eeca1,_0x4b12c1,_0x3f65ff,_0xa9aeea){return _0x199b7d(_0x7eeca1-_0x444d3a._0x1f060c,_0x7eeca1- -_0x444d3a._0x1237c0,_0x3f65ff-_0x444d3a._0x3fbfd6,_0x3f65ff);}function _0x5c2eef(_0x473532,_0x3d7cb9,_0x406ee4,_0xe58909){return _0x3eba7a(_0x473532-_0x4e462a._0x2198a5,_0x3d7cb9-0x3c,_0x3d7cb9,_0x406ee4- -_0x4e462a._0x31d76b);}let _0x23b982=Array[_0x5c2eef(0x8a,_0x129afa._0x1ea624,0x3b,0x77)](this[_0x3616fc(-0x243,-_0x129afa._0x488ef5,-_0x129afa._0x54e292,-0x2d3)][_0x3616fc(-_0x129afa._0x552145,-0x1b2,0x28,0x22)]());if(!_0x23b982[_0x3616fc(0x175,0x273,_0x129afa._0x5aadc9,0x178)])return;let _0x4a121a=_0x23b982[_0x3616fc(_0x129afa._0x4af688,0x188,_0x129afa._0x1ed0bd,0xa9)](async(_0x5e94e0,_0x519c05)=>{const _0x4a72c7={_0x448e2d:0x106};function _0x42094f(_0x55e4b5,_0x190247,_0x2349b3,_0x2b321e){return _0x3616fc(_0x55e4b5-0x6f9,_0x190247-_0x4a72c7._0x448e2d,_0x2b321e,_0x2b321e-0x104);}function _0x58e75f(_0x50adcb,_0x6e5911,_0x32b23f,_0x3a0023){return _0x3616fc(_0x32b23f-0x555,_0x6e5911-_0x542375._0x5b80d1,_0x3a0023,_0x3a0023-0x76);}try{_0x5e94e0['client']&&await _0x5e94e0[_0x42094f(_0x35cfac._0x578b57,_0x35cfac._0x465e91,_0x35cfac._0x513c62,_0x35cfac._0x666f59)]['disconnect']();}catch(_0x6b724b){let _0x3a9108=_0x6b724b instanceof Error?_0x6b724b[_0x42094f(_0x35cfac._0x32a778,0x671,0x5fd,_0x35cfac._0x4e2f60)]:String(_0x6b724b);this[_0x58e75f(0x579,_0x35cfac._0x50a137,_0x35cfac._0x5c40bf,_0x35cfac._0x461756)](_0x42094f(_0x35cfac._0x4f3394,_0x35cfac._0x8b8548,_0x35cfac._0x3ee7cd,_0x35cfac._0xff5b1f)+(_0x519c05+0x1)+':\x20'+_0x3a9108);}});await Promise[_0x5c2eef(-_0x129afa._0x4812ed,-0x218,-_0x129afa._0x1b825c,0x13)](_0x4a121a),this[_0x5c2eef(-0x407,-0x2a1,-0x28c,-0x3dc)][_0x3616fc(_0x129afa._0x3e767d,-0xc5,0x13a,_0x129afa._0x4ac43b)]();}async[_0x3eba7a(-0x190,-0x103,-0x130,-0x13)](_0x2e2b27){const _0x1a97a1={_0x1d0c86:0x70,_0x578c64:0xe1,_0x5ecaa5:0xb4,_0x1aa8d2:0x1f1,_0x3ea417:0x207,_0xdbf1d2:0x252},_0x30228a={_0x25f52d:0x3a2,_0x487fec:0x79},_0x34d905={_0x2fe244:0x191};let _0x4b31f3=this['servers']['get'](_0x2e2b27);function _0x39651f(_0x27c7c3,_0x4a5776,_0x2b43da,_0x2e6213){return _0x199b7d(_0x27c7c3-_0x34d905._0x2fe244,_0x27c7c3- -0x5a2,_0x2b43da-0xd1,_0x2b43da);}function _0x4cf854(_0x60e27b,_0x264b6f,_0x47d434,_0x328001){return _0x199b7d(_0x60e27b-0x59,_0x60e27b- -_0x30228a._0x25f52d,_0x47d434-_0x30228a._0x487fec,_0x264b6f);}if(!_0x4b31f3||!_0x4b31f3[_0x4cf854(0x18e,-_0x1a97a1._0x1d0c86,0x2d7,-0x55)])return!0x1;try{return await _0x4b31f3['client']['disconnect'](),this['servers']['delete'](_0x2e2b27),!0x0;}catch(_0x366e42){let _0x2bfaa0=_0x366e42 instanceof Error?_0x366e42[_0x39651f(0x6d,-_0x1a97a1._0x578c64,-_0x1a97a1._0x5ecaa5,_0x1a97a1._0x1aa8d2)]:String(_0x366e42);return this['logError']('Error\x20disconnecting\x20MCP\x20server\x20\x27'+_0x2e2b27+_0x39651f(-0x154,-_0x1a97a1._0x3ea417,-0x15d,-_0x1a97a1._0xdbf1d2)+_0x2bfaa0),!0x1;}}[_0x3eba7a(0x213,0x210,0x2db,0x1ed)](_0x2a7cf2){const _0x59d85b={_0x133567:0x5e,_0x4df43c:0x23a,_0x25eb88:0x6bb},_0xcfe906={_0x319acb:0x62,_0x2b7a97:0x392},_0x1e3e67={_0x1078b2:0x8c,_0x506197:0x64};function _0x517a62(_0x33db11,_0x40a349,_0x17beb7,_0x403fab){return _0x199b7d(_0x33db11-0x18,_0x33db11-_0x1e3e67._0x1078b2,_0x17beb7-_0x1e3e67._0x506197,_0x17beb7);}function _0x3860a8(_0x102c4e,_0x3354e5,_0x1cb360,_0x11a144){return _0x3eba7a(_0x102c4e-_0xcfe906._0x319acb,_0x3354e5-0x18c,_0x102c4e,_0x3354e5-_0xcfe906._0x2b7a97);}return this[_0x3860a8(0x1e2,0x213,_0x59d85b._0x133567,_0x59d85b._0x4df43c)][_0x3860a8(0x51a,0x4cb,_0x59d85b._0x25eb88,0x31d)](_0x2a7cf2);}[_0x199b7d(0x567,0x67e,0x74e,0x627)](){const _0x51f30b={_0xee1da2:0x30b,_0x3693f8:0x39b,_0x55e524:0xc1,_0x368aa1:0x130},_0x29f1bc={_0x5451c8:0x91,_0x31be52:0x540},_0x289fce={_0x556995:0x1b5,_0x4345d5:0x8a};function _0x5780ab(_0x717c3,_0x48f7a3,_0x4d5d04,_0x5dad95){return _0x3eba7a(_0x717c3-_0x289fce._0x556995,_0x48f7a3-_0x289fce._0x4345d5,_0x4d5d04,_0x5dad95-0x34d);}function _0x559f10(_0x5572c6,_0x4aab18,_0x10f489,_0x3e14da){return _0x199b7d(_0x5572c6-_0x29f1bc._0x5451c8,_0x4aab18- -_0x29f1bc._0x31be52,_0x10f489-0x2b,_0x3e14da);}return[...Array['from'](this[_0x559f10(-_0x51f30b._0xee1da2,-0x218,-0x409,-0x18b)][_0x5780ab(_0x51f30b._0x3693f8,0x179,0x38f,0x325)]()),...Array['from'](this['failedServers'][_0x559f10(0x104,-_0x51f30b._0x55e524,-0x245,_0x51f30b._0x368aa1)]())];}[_0x199b7d(0x551,0x629,0x4cd,0x669)](){const _0x1ed0e8={_0x36208e:0x52c,_0x315c6d:0x265,_0x59f20c:0x184,_0x5477bf:0x448,_0x438784:0x3bc,_0x447f8e:0x322,_0x38bf9d:0x577},_0x448a01={_0x190d47:0xf1,_0x356dfa:0x11d},_0x13e892={_0x162f75:0x9f,_0x2e1b0d:0x1ee};function _0x36540b(_0x18c2e4,_0x276e89,_0x11967d,_0x9b72fa){return _0x199b7d(_0x18c2e4-_0x13e892._0x162f75,_0x276e89-_0x13e892._0x2e1b0d,_0x11967d-0x115,_0x11967d);}function _0x20212c(_0x3be458,_0x9ada4f,_0x1d6d99,_0x2019f8){return _0x199b7d(_0x3be458-_0x448a01._0x190d47,_0x3be458- -0xc3,_0x1d6d99-_0x448a01._0x356dfa,_0x1d6d99);}return Array[_0x20212c(_0x1ed0e8._0x36208e,0x3a5,0x556,0x4aa)](this[_0x20212c(_0x1ed0e8._0x315c6d,_0x1ed0e8._0x59f20c,0x243,_0x1ed0e8._0x5477bf)][_0x20212c(_0x1ed0e8._0x438784,_0x1ed0e8._0x447f8e,_0x1ed0e8._0x38bf9d,0x28c)]());}[_0x199b7d(0x52d,0x64a,0x62f,0x68e)](){const _0x38c60e={_0x201ab3:0x884,_0x53c4c2:0x87b,_0x5b8f72:0x86b,_0x1a4fe0:0xa30,_0x38b7cb:0x901,_0x31bd27:0x953,_0x191900:0x713,_0x14d3ed:0x679},_0x3540b3={_0x4e7660:0x1f9};function _0x3502a5(_0x287340,_0x250ea5,_0xc53dbc,_0x512155){return _0x199b7d(_0x287340-0xe8,_0x287340-_0x3540b3._0x4e7660,_0xc53dbc-0x59,_0xc53dbc);}function _0x5e4f42(_0xf6c45f,_0x394b79,_0x40cc11,_0x1c9814){return _0x3eba7a(_0xf6c45f-0x17a,_0x394b79-0xdc,_0x394b79,_0x1c9814-0x5f5);}return Array[_0x5e4f42(_0x38c60e._0x201ab3,0x593,_0x38c60e._0x53c4c2,0x73d)](this[_0x3502a5(_0x38c60e._0x5b8f72,_0x38c60e._0x1a4fe0,_0x38c60e._0x38b7cb,_0x38c60e._0x31bd27)][_0x5e4f42(_0x38c60e._0x191900,0x5e4,_0x38c60e._0x14d3ed,0x5cd)]());}[_0x3eba7a(0x68,0x1df,0x1aa,0x10b)](){const _0x5cbba0={_0x150659:0x65,_0xd4ebfd:0x749},_0x4a9b64={_0x4f7fa8:0x167},_0x179199={_0x2a881c:0x87,_0x33e44c:0x59};function _0x8d01f7(_0x306734,_0x10b069,_0x5a71be,_0x3ea7d1){return _0x199b7d(_0x306734-0x55,_0x3ea7d1-_0x179199._0x2a881c,_0x5a71be-_0x179199._0x33e44c,_0x306734);}function _0x14edaa(_0x37d114,_0x451976,_0x303157,_0x476c14){return _0x199b7d(_0x37d114-0x85,_0x476c14- -0x3fb,_0x303157-_0x4a9b64._0x4f7fa8,_0x303157);}return Array[_0x14edaa(_0x5cbba0._0x150659,0x2a8,0x2e8,0x1f4)](this['servers'][_0x8d01f7(0x781,_0x5cbba0._0xd4ebfd,0x678,0x707)]());}async[_0x199b7d(0x634,0x4e1,0x4d9,0x670)](_0x16dbb0){const _0x38118f={_0x2baeef:0x2d9,_0x1ba900:0x46f,_0x39c5e7:0x578,_0x3950de:0x422,_0x2ab152:0xa6,_0x5a1c5e:0xb1},_0x394a90={_0x3a11ed:0x57d},_0x435e59={_0x2a214d:0x1ac};function _0x37882d(_0x34bfad,_0x454bdf,_0x1bfa9b,_0x42132c){return _0x3eba7a(_0x34bfad-_0x435e59._0x2a214d,_0x454bdf-0xf,_0x34bfad,_0x454bdf-0x249);}this[_0x280cbb(-0x1b,0xf1,0xc4,0x110)]=_0x16dbb0;function _0x280cbb(_0x395915,_0x4ac965,_0x8d2a6f,_0x1e8032){return _0x199b7d(_0x395915-0x1f2,_0x1e8032- -_0x394a90._0x3a11ed,_0x8d2a6f-0xd8,_0x4ac965);}for(let [_0x4dc111,_0x2ab93e]of this[_0x280cbb(-0x18f,-0x211,-0x2b3,-0x255)]['entries']()){let _0x52d793=_0x16dbb0[_0x4dc111];if(!_0x52d793)continue;let _0x28a707=_0x2ab93e[_0x37882d(_0x38118f._0x2baeef,_0x38118f._0x1ba900,_0x38118f._0x39c5e7,0x3a7)]['filter'](_0x39e1dd=>_0x52d793[_0x39e1dd]!==!0x1);_0x2ab93e[_0x37882d(_0x38118f._0x3950de,0x27e,_0x38118f._0x2ab152,_0x38118f._0x5a1c5e)]=_0x28a707;}}[_0x199b7d(0x25a,0x378,0x4fd,0x4c8)](_0x20a6e1){const _0x4c571b={_0x35d637:0x343},_0x63c327={_0x174b14:0x12b};function _0x56ccc6(_0x23f945,_0x3217df,_0x570b54,_0x47ce75){return _0x3eba7a(_0x23f945-0x8,_0x3217df-_0x63c327._0x174b14,_0x3217df,_0x47ce75- -0x16);}this[_0x56ccc6(_0x4c571b._0x35d637,-0x21,0x309,0x1d0)]=_0x20a6e1;}['handleServerError'](_0x5e25db,_0x53a2b6,_0x94cbcf){const _0x4d936a={_0x20ca5e:0xaa,_0x1fdaaa:0x40c,_0x49ff39:0x430,_0xcbc46:0x478,_0x4b9a59:0x333,_0x10f748:0x439,_0x586ff5:0x55a,_0x2ba928:0x17e,_0x5acb0f:0x160,_0x11c1b6:0x229},_0x5eff86={_0x219fff:0x3,_0x2ea6e9:0x77,_0x443703:0x154},_0xf67db8={_0x93642c:0xfd};function _0x21f7bc(_0xa65d92,_0x78a30f,_0x2f99b6,_0x36d3b3){return _0x3eba7a(_0xa65d92-_0xf67db8._0x93642c,_0x78a30f-0x1b6,_0x36d3b3,_0x78a30f-0x628);}function _0x1ee0d7(_0x3c7a50,_0x192d26,_0xab764b,_0x2a6fe6){return _0x3eba7a(_0x3c7a50-_0x5eff86._0x219fff,_0x192d26-_0x5eff86._0x2ea6e9,_0xab764b,_0x2a6fe6-_0x5eff86._0x443703);}let _0x52fc02=this[_0x1ee0d7(-0x7f,0x29e,0x11b,_0x4d936a._0x20ca5e)](_0x53a2b6);this[_0x1ee0d7(_0x4d936a._0x1fdaaa,0x1c0,0x2de,0x30f)][_0x1ee0d7(_0x4d936a._0x49ff39,_0x4d936a._0xcbc46,0x137,_0x4d936a._0x4b9a59)](_0x21f7bc(0x3d4,0x495,_0x4d936a._0x10f748,_0x4d936a._0x586ff5)+_0x94cbcf+_0x1ee0d7(_0x4d936a._0x2ba928,_0x4d936a._0x5acb0f,0x395,0x27a)+_0x5e25db+_0x1ee0d7(0xa8,_0x4d936a._0x11c1b6,0x133,0xfb)+_0x52fc02);}['handleConfigError'](_0x48e176,_0x3da1fc){const _0x10bf0d={_0x1a81c3:0x238,_0x4f5985:0x10e,_0x384bc3:0x4f,_0x35e95b:0x438,_0x3c97dd:0x65b,_0x25b853:0x62b,_0xa50997:0x4c1,_0x251e68:0x553,_0xb3f428:0x412,_0x3158ad:0x392},_0x23a4e6={_0x142252:0x79,_0x277648:0xc,_0x3e40a6:0x13},_0x147ef5={_0x1a5a64:0x91};let _0xfc1fc=this[_0x450917(_0x10bf0d._0x1a81c3,_0x10bf0d._0x4f5985,_0x10bf0d._0x384bc3,_0x10bf0d._0x35e95b)](_0x3da1fc);function _0x450917(_0x3a51af,_0xd3d6e4,_0x3dc060,_0x143456){return _0x3eba7a(_0x3a51af-0x2a,_0xd3d6e4-_0x147ef5._0x1a5a64,_0x143456,_0x3a51af-0x2e2);}function _0x4c570e(_0x34880f,_0x1f3ac6,_0x9b1403,_0x54e88a){return _0x199b7d(_0x34880f-_0x23a4e6._0x142252,_0x9b1403-_0x23a4e6._0x277648,_0x9b1403-_0x23a4e6._0x3e40a6,_0x54e88a);}this[_0x450917(0x49d,0x32a,_0x10bf0d._0x3c97dd,_0x10bf0d._0x25b853)][_0x450917(_0x10bf0d._0xa50997,_0x10bf0d._0x251e68,_0x10bf0d._0xb3f428,0x3e2)](_0x450917(0x1ae,0x47,0x343,_0x10bf0d._0x3158ad)+_0x48e176+':\x20'+_0xfc1fc);}['extractErrorMessage'](_0x53ef5c){const _0x430b38={_0x15e922:0x478,_0x340ce0:0x2ce,_0x4992e7:0x456,_0x3ba227:0x2e8,_0x130440:0x4fc,_0x534fb6:0x5e9,_0x424bc7:0x365},_0x423cdd={_0xec7971:0x1b9,_0x5825df:0x5e};function _0x4ce020(_0x422beb,_0x2d0a07,_0x517b36,_0x4cfcf0){return _0x199b7d(_0x422beb-0xd6,_0x422beb- -_0x423cdd._0xec7971,_0x517b36-_0x423cdd._0x5825df,_0x4cfcf0);}function _0x17f88b(_0x115c23,_0x2cd619,_0x18d1cf,_0x466f29){return _0x199b7d(_0x115c23-0xf5,_0x466f29- -0x25a,_0x18d1cf-0x11e,_0x18d1cf);}return typeof _0x53ef5c==_0x17f88b(_0x430b38._0x15e922,_0x430b38._0x340ce0,0x2ef,0x2db)&&_0x53ef5c!==null&&'message'in _0x53ef5c?_0x53ef5c[_0x4ce020(_0x430b38._0x4992e7,_0x430b38._0x3ba227,_0x430b38._0x130440,_0x430b38._0x534fb6)]??_0x17f88b(0x607,_0x430b38._0x424bc7,0x2b2,0x47d):String(_0x53ef5c);}[_0x199b7d(0x821,0x630,0x51a,0x7f0)](_0x435754,_0x16a3c5=_0x3eba7a(-0xaf,0x85,0x25b,0x83)){const _0x4316ec={_0x20c393:0xc0,_0x19d9be:0x168,_0x5c1163:0xb8,_0x85ffbb:0x27f,_0x56d041:0x1bc,_0x5f0783:0x256,_0x5cb1d7:0x18,_0x27e8fa:0x15,_0x5d2239:0x176,_0x181e89:0x17b,_0xf078d:0x15f,_0x55c289:0x56b,_0x2d3a93:0x44c,_0x5abe1c:0x2eb},_0x4234c2={_0x338156:0x1a1},_0x622828={_0x13ee43:0x1df,_0x50d138:0x5a2};function _0x232e48(_0x47777d,_0x4b5fcf,_0x33570c,_0x181603){return _0x199b7d(_0x47777d-_0x622828._0x13ee43,_0x181603- -_0x622828._0x50d138,_0x33570c-0x30,_0x4b5fcf);}function _0x4ca7c(_0x38c5dd,_0x137b7b,_0x40e7eb,_0x5d04c2){return _0x3eba7a(_0x38c5dd-0x3a,_0x137b7b-_0x4234c2._0x338156,_0x40e7eb,_0x5d04c2-0x2f2);}this[_0x232e48(0x131,0x2a8,0x138,_0x4316ec._0x20c393)][_0x4ca7c(0x17f,0x24b,_0x4316ec._0x19d9be,0x201)]({'id':_0x5ed8b0[_0x4ca7c(_0x4316ec._0x5c1163,0x327,_0x4316ec._0x85ffbb,0x20f)](),'type':_0x4ca7c(0x229,0x205,_0x4316ec._0x56d041,_0x4316ec._0x5f0783),'content':_0x435754,'metadata':{'timestamp':new Date()[_0x232e48(0x11a,0xbe,0xb8,-0x86)]()},'color':ae[_0x232e48(-_0x4316ec._0x5cb1d7,-0x63,0xac,-_0x4316ec._0x27e8fa)][_0x16a3c5]??ae[_0x4ca7c(_0x4316ec._0x5d2239,_0x4316ec._0x181e89,_0x4316ec._0xf078d,0x153)][_0x4ca7c(_0x4316ec._0x55c289,_0x4316ec._0x2d3a93,_0x4316ec._0x5abe1c,0x375)]});}[_0x3eba7a(0x25,0xda,-0x124,-0xd8)](_0x4dc13c){const _0x30758d={_0x66851c:0x1ee,_0x2285e9:0x92,_0x550f36:0x19f,_0x4a5bdd:0x40},_0xe72d59={_0x2d75f8:0x1d0},_0x225033={_0x37f2f0:0xaf};function _0x2cc4d6(_0x4d3cba,_0x1dd910,_0x51e7db,_0x16005d){return _0x3eba7a(_0x4d3cba-_0x225033._0x37f2f0,_0x1dd910-0x1d6,_0x51e7db,_0x1dd910-0x6a4);}function _0xb42203(_0x227dcd,_0x15fa2b,_0x14b00b,_0x5da33e){return _0x199b7d(_0x227dcd-_0xe72d59._0x2d75f8,_0x227dcd- -0x5ae,_0x14b00b-0xff,_0x14b00b);}this['options'][_0x2cc4d6(0x730,0x5b3,0x4a6,0x7ac)]({'id':_0x5ed8b0['randomUUID'](),'type':_0xb42203(0x16,0x17f,_0x30758d._0x66851c,-0x124),'content':_0x4dc13c,'metadata':{'timestamp':new Date()[_0xb42203(-_0x30758d._0x2285e9,-0x13,0xdb,0xa4)]()},'color':ae['colors'][_0xb42203(0x16,-_0x30758d._0x550f36,0x19f,_0x30758d._0x4a5bdd)]});}};import{LLMError as _0x55f3fb}from'@nuvin/nuvin-core';function An(_0x503cfe){const _0x5dab3a={_0x129dbe:0xd2,_0x55b5cf:0xa6,_0x58aeb5:0x1ac,_0x46c32e:0x2e3,_0x2fdd56:0x7,_0xc3a7c2:0xb,_0xefcc19:0x6f,_0x2f6e49:0x54,_0x41f9e3:0x97,_0x524964:0x182,_0x55df81:0x4d,_0x597c3c:0x177,_0x4ef699:0x200,_0x1263a2:0x26f,_0x38c8a6:0x2e4,_0x187e95:0x38e,_0x4e7b65:0x1d4,_0x596b29:0x1e7,_0x2c3466:0x155,_0x46b223:0x11b,_0x57a494:0x93,_0x4a9dca:0x9c,_0x576ab:0x5c,_0x576d5d:0x12b,_0x3bb307:0xdc,_0x7313bf:0x82,_0x2dc7a4:0xc3,_0x380e63:0x116,_0xe953c6:0x110,_0x510fa4:0x46,_0x543490:0x8f,_0x3f4abf:0xa9,_0xdd6bdc:0x26,_0x4bfcac:0x156,_0x319caa:0x1d1,_0x201e59:0xb4,_0x20f88b:0x104,_0x42fac0:0x2ba,_0x21b106:0x285,_0x354520:0x28f,_0x4bb606:0x81,_0x5e710e:0xb7,_0x4889e4:0x7c,_0x5d7d48:0x16a,_0x22a14e:0x110,_0x362292:0x27,_0x12ee5a:0x7d,_0x57cc55:0x110,_0x483863:0xd6,_0x5d88ef:0x219},_0x538688={_0x596b52:0x33,_0x33bffc:0x11},_0x55cf4e={_0x154631:0x541,_0xb935dd:0x16b};if(!_0x503cfe||_0x503cfe instanceof Error&&_0x503cfe['name']===_0x41d115(_0x5dab3a._0x129dbe,-_0x5dab3a._0x55b5cf,-_0x5dab3a._0x58aeb5,0xcb))return!0x1;if(_0x503cfe instanceof _0x55f3fb)return _0x503cfe[_0x5cdc97(0x228,0x303,0x19a,0x35f)];let _0x1ff553=_0x503cfe;function _0x41d115(_0x585b2c,_0x1687cd,_0x50bc9f,_0x448972){return _0x199b7d(_0x585b2c-0x1ab,_0x1687cd- -_0x55cf4e._0x154631,_0x50bc9f-_0x55cf4e._0xb935dd,_0x585b2c);}if(_0x1ff553[_0x5cdc97(0x177,0x256,0x30b,_0x5dab3a._0x46c32e)]){if(_0x1ff553[_0x5cdc97(0x177,-_0x5dab3a._0x2fdd56,-_0x5dab3a._0xc3a7c2,_0x5dab3a._0xefcc19)]===0x1ad||_0x1ff553[_0x41d115(0x3,-_0x5dab3a._0x2f6e49,-0x12,_0x5dab3a._0x41f9e3)]>=0x1f4&&_0x1ff553[_0x5cdc97(0x177,0x259,_0x5dab3a._0x524964,0x31b)]<0x258)return!0x0;if(_0x1ff553[_0x5cdc97(0x177,-_0x5dab3a._0x55df81,0x93,0x51)]>=0x190&&_0x1ff553[_0x5cdc97(_0x5dab3a._0x597c3c,0x1fe,0x20c,_0x5dab3a._0x4ef699)]<0x1f4)return!0x1;}let _0x195389=_0x1ff553['message']?.[_0x5cdc97(_0x5dab3a._0x1263a2,_0x5dab3a._0x38c8a6,_0x5dab3a._0x187e95,0x207)]()||'',_0x18315d=_0x1ff553['code']?.[_0x5cdc97(0x26f,0xf0,_0x5dab3a._0x4e7b65,0x25c)]()||'',_0x4c0b9a=['invalid',_0x41d115(0x18,0x22,_0x5dab3a._0x596b29,0x9e),_0x41d115(_0x5dab3a._0x2c3466,_0x5dab3a._0x46b223,-_0x5dab3a._0x57a494,-_0x5dab3a._0x4a9dca),_0x5cdc97(0x1ff,0xa8,_0x5dab3a._0x576ab,_0x5dab3a._0x576d5d),_0x5cdc97(0x13c,_0x5dab3a._0x3bb307,0x10b,0x1df),'api\x20key',_0x41d115(_0x5dab3a._0x7313bf,0x4,0x202,_0x5dab3a._0x2dc7a4),_0x41d115(_0x5dab3a._0x380e63,0x8a,-0x50,0x135)];for(let _0x4e1ea4 of _0x4c0b9a)if(_0x195389['includes'](_0x4e1ea4)||_0x18315d[_0x5cdc97(_0x5dab3a._0xe953c6,0x19f,_0x5dab3a._0x524964,_0x5dab3a._0x510fa4)](_0x4e1ea4))return!0x1;let _0x517cdd=[_0x41d115(-_0x5dab3a._0x543490,-_0x5dab3a._0x3f4abf,-_0x5dab3a._0xdd6bdc,_0x5dab3a._0x4bfcac),_0x5cdc97(_0x5dab3a._0x319caa,0x278,_0x5dab3a._0x201e59,-0xd),_0x5cdc97(0x11b,-0x5,0x264,0x128),_0x5cdc97(_0x5dab3a._0x20f88b,0x64,0x2a7,_0x5dab3a._0x42fac0),_0x5cdc97(_0x5dab3a._0x21b106,_0x5dab3a._0x354520,0x1aa,_0x5dab3a._0x4bb606),_0x41d115(-0xac,_0x5dab3a._0x5e710e,-0x61,0xc5),_0x5cdc97(0xe,0x30,_0x5dab3a._0x4889e4,-_0x5dab3a._0x5d7d48)];for(let _0x37a5f1 of _0x517cdd)if(_0x195389[_0x5cdc97(_0x5dab3a._0x22a14e,-_0x5dab3a._0x362292,-0xd1,_0x5dab3a._0x12ee5a)](_0x37a5f1)||_0x18315d[_0x5cdc97(_0x5dab3a._0x57cc55,_0x5dab3a._0x483863,_0x5dab3a._0x5d88ef,0x312)](_0x37a5f1))return!0x0;function _0x5cdc97(_0x5403ee,_0x1f8035,_0x1fd640,_0x3df2af){return _0x199b7d(_0x5403ee-_0x538688._0x596b52,_0x5403ee- -0x376,_0x1fd640-_0x538688._0x33bffc,_0x1f8035);}return!0x0;}var Ta=_0x3451f5=>new Promise(_0x2dd8ce=>setTimeout(_0x2dd8ce,_0x3451f5)),le=class t extends Error{constructor(_0x3516d8=_0x3eba7a(-0xeb,0x70,-0xae,-0xbb)){const _0x16ee2b={_0x1670fa:0x71},_0x54cf0e={_0x410815:0x1af},_0x28d3e4={_0x1b0d11:0xa9,_0x34d5ec:0x9};function _0x29a5c4(_0x504b99,_0x8589d6,_0x1e407a,_0x41ed9e){return _0x199b7d(_0x504b99-_0x28d3e4._0x1b0d11,_0x41ed9e- -0x3ff,_0x1e407a-_0x28d3e4._0x34d5ec,_0x504b99);}function _0x538dde(_0xcd8326,_0xdb40df,_0x52d673,_0xd458e3){return _0x199b7d(_0xcd8326-0x77,_0x52d673- -0x48d,_0x52d673-_0x54cf0e._0x410815,_0xd458e3);}super(_0x3516d8),this[_0x29a5c4(0x224,0x87,0x11b,0x15d)]=_0x29a5c4(-0x9,0x1b,_0x16ee2b._0x1670fa,0x9c),Error[_0x29a5c4(0x0,0x53,-0xc8,0xf3)]&&Error['captureStackTrace'](this,t);}};async function Do(_0x32310c,_0x21acbb){const _0x4d38eb={_0x1ee9b5:0x494,_0x19c074:0x3f0,_0x5a2341:0x488,_0x1e5c8e:0x46b,_0x285468:0x3df,_0xd12d41:0x244,_0x5d6776:0x419,_0x4cc484:0xb0,_0x98e05f:0x93,_0x5ad47b:0x13d,_0xe2794:0xc3,_0x2e8d19:0x4c6,_0x52269a:0x1f8,_0x56438a:0x218,_0x3ffc9d:0x1aa,_0x531eb8:0x3c0},_0x59f261={_0x46c09d:0xbc,_0x5147de:0xa2},_0x4c4afb={_0x1c04ed:0x9e,_0x49195f:0xdd};function _0x124ccc(_0x3c80db,_0x164a2a,_0x5cd5e2,_0x3b4229){return _0x3eba7a(_0x3c80db-_0x4c4afb._0x1c04ed,_0x164a2a-_0x4c4afb._0x49195f,_0x3c80db,_0x164a2a-0x138);}function _0x44ecee(_0x4c6826,_0x88f491,_0x8a259f,_0x49b4cf){return _0x199b7d(_0x4c6826-0x2a,_0x8a259f- -_0x59f261._0x46c09d,_0x8a259f-_0x59f261._0x5147de,_0x4c6826);}let {maxRetries:_0x39aaa5,delayMs:_0x443017,onRetry:_0x548eef,onNonRetryable:_0x1dd775,signal:_0xa0e4e3}=_0x21acbb,_0x319328;if(_0xa0e4e3?.[_0x44ecee(0x383,_0x4d38eb._0x1ee9b5,_0x4d38eb._0x19c074,_0x4d38eb._0x5a2341)])throw new le(_0x124ccc(0x301,0x1e5,0x284,-0xa));for(let _0xed9025=0x0;_0xed9025<=_0x39aaa5;_0xed9025++)try{return await _0x32310c();}catch(_0x4f07f9){if(_0x319328=_0x4f07f9 instanceof Error?_0x4f07f9:new Error(String(_0x4f07f9)),_0x319328 instanceof le||_0x319328['name']===_0x44ecee(0x4b8,_0x4d38eb._0x1e5c8e,_0x4d38eb._0x285468,_0x4d38eb._0xd12d41))throw _0x319328;if(_0xa0e4e3?.['aborted'])throw new le(_0x44ecee(0x190,0x20e,0x257,_0x4d38eb._0x5d6776));if(!An(_0x319328))throw _0x1dd775?.(_0x319328),_0x319328;if(_0xed9025===_0x39aaa5)break;let _0x287809=Math[_0x124ccc(-_0x4d38eb._0x4cc484,0x109,0x2a9,0x13b)](_0x443017/0x3e8);if(_0x548eef?.(_0xed9025+0x1,_0x319328,_0x287809),_0xa0e4e3?.[_0x124ccc(_0x4d38eb._0x98e05f,_0x4d38eb._0x5ad47b,-_0x4d38eb._0xe2794,0x95)])throw new le(_0x44ecee(_0x4d38eb._0x2e8d19,_0x4d38eb._0x52269a,0x3f9,_0x4d38eb._0x56438a));await Ta(_0x443017);}throw _0x319328||new Error(_0x124ccc(0x2c3,0x295,_0x4d38eb._0x3ffc9d,_0x4d38eb._0x531eb8));}import{GithubLLM as _0xbc5a9b,AnthropicAISDKLLM as _0x41321f,createLLM as _0x2e9fd6,supportsGetModels as _0x4bd251,getAvailableProviders as _0x23ef74}from'@nuvin/nuvin-core';var Ut=class{constructor(_0x19621c){const _0x4a3594={_0x4132e4:0x784,_0x50fa34:0x771},_0x207241={_0x2dc482:0xb0,_0x57a9b0:0x1c};function _0x56239f(_0x15e58f,_0x3a45f3,_0x3ad0c1,_0x366b0d){return _0x199b7d(_0x15e58f-0x144,_0x15e58f-_0x207241._0x2dc482,_0x3ad0c1-_0x207241._0x57a9b0,_0x366b0d);}this[_0x56239f(_0x4a3594._0x4132e4,_0x4a3594._0x50fa34,0x7be,0x87a)]=_0x19621c;}[_0x199b7d(0x4e2,0x330,0x4b7,0x2db)](){const _0x3b8ba7={_0x564fd5:0x120,_0x3fe3de:0xa5,_0x4ee137:0x1f,_0x2a66e6:0x144},_0x3b8349={_0x37db8d:0x11d,_0x8f1210:0x1f0},_0x4a46d4={_0xb5553e:0x49,_0x4d38dd:0x101};let _0x153324=this[_0x183fbc(_0x3b8ba7._0x564fd5,0x292,0x274,0x10f)](),_0x1b8a7b=_0x23ef74(_0x153324),_0x2e2f07=['github',_0x183fbc(_0x3b8ba7._0x3fe3de,_0x3b8ba7._0x4ee137,_0x3b8ba7._0x2a66e6,0x1fe)];function _0x5303c7(_0x46f711,_0x5bda95,_0x9b788c,_0x2d0d8e){return _0x199b7d(_0x46f711-_0x4a46d4._0xb5553e,_0x9b788c- -0x1f8,_0x9b788c-_0x4a46d4._0x4d38dd,_0x5bda95);}function _0x183fbc(_0x291a35,_0x245dc3,_0x25d87a,_0x139480){return _0x3eba7a(_0x291a35-0x17e,_0x245dc3-_0x3b8349._0x37db8d,_0x25d87a,_0x291a35-_0x3b8349._0x8f1210);}return[..._0x1b8a7b,..._0x2e2f07];}[_0x3eba7a(0xca,-0x10,-0x94,-0xd0)](){const _0x588c07={_0x1926ec:0x5d0,_0xbaf0e6:0x52d,_0xc2d473:0x586,_0x182dd3:0x518,_0x1fe695:0x714,_0xeb7b2c:0x7c3,_0x105845:0x6b2,_0x8d03b4:0x2ba,_0x428f2e:0x2f5,_0x3ea12b:0x6b0,_0x5bcb03:0x4d6,_0x51054d:0x61c,_0x54c1bb:0x7ff,_0x1134b6:0x496,_0xe7337d:0x3ec,_0x2da7cf:0x4b7,_0x217fcc:0x576},_0x5245c9={_0x4e0fb6:0x2e},_0x398545={_0x49a9ad:0x180};function _0x34f70c(_0x3acbf2,_0x33a3a2,_0x4f1666,_0x5c6980){return _0x199b7d(_0x3acbf2-0x8f,_0x33a3a2-_0x398545._0x49a9ad,_0x4f1666-0x53,_0x5c6980);}let _0xb75cf5=this[_0x4597d8(0x5f4,_0x588c07._0x1926ec,_0x588c07._0xbaf0e6,_0x588c07._0xc2d473)][_0x34f70c(_0x588c07._0x182dd3,0x4d0,0x3fa,0x539)]()[_0x34f70c(_0x588c07._0x1fe695,0x5db,0x45d,_0x588c07._0xeb7b2c)];if(!_0xb75cf5)return;let _0x55c8ae={};for(let [_0x2c10eb,_0x5a46d7]of Object[_0x34f70c(0x6a2,0x61f,0x48d,_0x588c07._0x105845)](_0xb75cf5)){let _0x4feb94=_0x5a46d7;_0x4feb94[_0x4597d8(_0x588c07._0x8d03b4,0x4e5,_0x588c07._0x428f2e,0x24a)]&&(_0x55c8ae[_0x2c10eb]={'type':_0x4feb94[_0x4597d8(0x6ca,_0x588c07._0x3ea12b,_0x588c07._0x5bcb03,0x340)],'baseUrl':_0x4feb94[_0x34f70c(0x789,_0x588c07._0x51054d,_0x588c07._0x54c1bb,_0x588c07._0x1134b6)],'models':_0x4feb94[_0x4597d8(_0x588c07._0xe7337d,0x4c1,0x30a,0x38e)]});}function _0x4597d8(_0x4bb9fb,_0x52fec6,_0x710ed2,_0x401ba1){return _0x199b7d(_0x4bb9fb-0x0,_0x710ed2- -0x1a7,_0x710ed2-_0x5245c9._0x4e0fb6,_0x52fec6);}return Object['keys'](_0x55c8ae)[_0x4597d8(_0x588c07._0x2da7cf,_0x588c07._0x217fcc,0x539,0x428)]>0x0?_0x55c8ae:void 0x0;}['getProviderConfig'](_0x36a745){const _0x33ce01={_0x245f61:0x2ac,_0x347551:0x170,_0xca095c:0x461,_0x51f45c:0x32a,_0x5b9a5b:0x26c,_0x15a862:0x3aa,_0x252594:0x5c1,_0xa6e947:0x50f,_0x4a6cc7:0x730,_0x5d08f8:0x406,_0x4aab68:0x5fb,_0x3e57fc:0x633,_0x415932:0x657,_0x2814b2:0x466,_0x3020ea:0x6a1,_0x3ad04d:0x515,_0x3b3cf6:0x519,_0x1d1923:0x5a6,_0x576e5b:0x6fe,_0x49e2f8:0x6a8,_0x2bfe2d:0x32f,_0x20550e:0x392,_0x39b73d:0x4df,_0x26420e:0x332},_0x196394={_0x30a287:0x37};let _0x2f7e43=this[_0x591d4f(_0x33ce01._0x245f61,0x4a6,_0x33ce01._0x347551,_0x33ce01._0xca095c)][_0x409b9a(_0x33ce01._0x51f45c,0x3a1,0x210,0x1f5)]()[_0x409b9a(0x435,0x4fa,_0x33ce01._0x5b9a5b,0x4bf)]?.[_0x36a745]?.[_0x409b9a(_0x33ce01._0x15a862,0x1e0,0x52a,0x1b6)],_0x468be0,_0xc5601;if(Array['isArray'](_0x2f7e43)){let _0x153d81=_0x2f7e43[_0x409b9a(_0x33ce01._0x252594,_0x33ce01._0xa6e947,_0x33ce01._0x4a6cc7,_0x33ce01._0x5d08f8)](_0x1034e8=>_0x1034e8[_0x409b9a(0x657,0x62f,0x4fc,0x5e5)]===_0x409b9a(0x5a6,0x404,0x44b,0x524)),_0x52b54e=_0x2f7e43[_0x409b9a(0x5c1,_0x33ce01._0x4aab68,_0x33ce01._0x3e57fc,0x403)](_0x430bfb=>_0x430bfb[_0x409b9a(0x657,0x577,0x6df,0x782)]===_0x591d4f(0x150,0x4,0x100,0x150));_0x153d81&&_0x153d81[_0x409b9a(_0x33ce01._0x415932,_0x33ce01._0x2814b2,0x7b5,_0x33ce01._0x3020ea)]===_0x409b9a(0x5a6,_0x33ce01._0x3ad04d,0x626,_0x33ce01._0x3b3cf6)&&(_0x468be0=_0x153d81[_0x409b9a(_0x33ce01._0x1d1923,_0x33ce01._0x576e5b,0x54b,_0x33ce01._0x49e2f8)]),_0x52b54e&&_0x52b54e['type']==='oauth'&&_0x36a745===_0x409b9a(0x336,_0x33ce01._0x2bfe2d,_0x33ce01._0x20550e,0x1cb)&&(_0xc5601={'anthropic':{'type':'oauth','access':_0x52b54e[_0x409b9a(_0x33ce01._0x39b73d,0x31c,0x651,0x3d3)],'refresh':_0x52b54e[_0x409b9a(0x41b,0x311,0x2ea,_0x33ce01._0x26420e)],'expires':_0x52b54e['expires']??0x0}});}function _0x409b9a(_0x37daf6,_0x331313,_0x2cc9da,_0x1e67a7){return _0x199b7d(_0x37daf6-_0x196394._0x30a287,_0x37daf6- -0x26,_0x2cc9da-0x18d,_0x331313);}function _0x591d4f(_0x126add,_0x504041,_0x4255a6,_0x35e7f6){return _0x3eba7a(_0x126add-0xec,_0x504041-0x1a5,_0x4255a6,_0x126add-0x7f);}return{'provider':_0x36a745,'apiKey':_0x468be0,'oauthConfig':_0xc5601};}[_0x3eba7a(0x1fb,0x2f,0x1a6,0xe5)](_0x182c47,_0x390fa0={}){const _0x165fe6={_0x2b9d2e:0x70,_0x5ce24e:0x213,_0xada54c:0x76,_0x48d0f7:0x2cc,_0x149872:0x33f,_0xac01e0:0x479,_0x47c83f:0x447,_0x1ce3d5:0x2b1,_0x252202:0xc9,_0x14c249:0x20,_0x25a567:0x199,_0x97a242:0x4a,_0x58bcb1:0x18b,_0x33e249:0x5e0,_0x9eac32:0x4ce,_0x214d23:0x29c,_0x2a485c:0xe7,_0x33de38:0x329,_0x151889:0x1f2,_0x5a8518:0x139,_0x49ec1f:0x561,_0x1e33a8:0xe6,_0x161f0a:0x626,_0x3b89e4:0x455,_0xaaa94d:0x2da,_0x4191a4:0x250,_0x1e585a:0x357,_0x529eb6:0x56d,_0x4d918d:0x495},_0x51c095={_0x2778e0:0x310,_0x427433:0x36f,_0x1babd9:0x4ca,_0x134cc6:0xd0,_0x2bf091:0x2da,_0x59d789:0x5b7,_0x2ada1:0x24,_0x5f152e:0x131,_0x112bf7:0x47,_0x315b90:0x1c1,_0x27a552:0x1b4,_0x3ee79d:0x3b9,_0x123516:0x338,_0x2eb4a3:0x47c,_0x289cc1:0x3b7,_0x1d7e90:0x1c,_0x5a401c:0xea,_0x374213:0x81e,_0x28cc36:0x4ac,_0x4c2178:0x64a,_0x1ae51f:0x30d,_0x2d590b:0x4fe,_0x15cebe:0x2de,_0x4f3c02:0x7e,_0x3aaf48:0x429},_0x1fdd3d={_0x506d86:0x5b},_0x1651ab={_0x5f402c:0x371},_0x439a54={_0x19d152:0x93,_0x4afce5:0x3fb};let _0x119422=this['getProviderConfig'](_0x182c47),_0x470343=this['getCustomProviders']();function _0x23ae59(_0x3dd46d,_0x3db848,_0x4c5fed,_0x2a697e){return _0x199b7d(_0x3dd46d-0xc2,_0x4c5fed- -0x16a,_0x4c5fed-0xb5,_0x2a697e);}function _0x52f8cf(_0x428b5d,_0x505d5f,_0x3e3fc9,_0x592f39){return _0x199b7d(_0x428b5d-_0x439a54._0x19d152,_0x3e3fc9- -_0x439a54._0x4afce5,_0x3e3fc9-0x85,_0x592f39);}switch(_0x182c47){case _0x52f8cf(_0x165fe6._0x2b9d2e,_0x165fe6._0x5ce24e,0x3e,-0x1a):case _0x52f8cf(0x3ac,_0x165fe6._0xada54c,0x230,_0x165fe6._0x48d0f7):case _0x23ae59(0x5f2,_0x165fe6._0x149872,_0x165fe6._0xac01e0,_0x165fe6._0x47c83f):case _0x52f8cf(_0x165fe6._0x1ce3d5,0x25e,_0x165fe6._0x252202,_0x165fe6._0x14c249):return _0x2e9fd6(_0x182c47,{'apiKey':_0x119422[_0x52f8cf(-0x65,_0x165fe6._0x25a567,_0x165fe6._0x97a242,_0x165fe6._0x58bcb1)],'httpLogFile':_0x390fa0[_0x23ae59(0x435,_0x165fe6._0x33e249,0x455,_0x165fe6._0x9eac32)],'version':_0xcbfe64()},_0x470343);case _0x52f8cf(0x342,0x1a5,0x2b8,_0x165fe6._0x214d23):return new _0xbc5a9b({'accessToken':_0x119422[_0x23ae59(0x455,0x403,0x2db,_0x165fe6._0x2a485c)],'httpLogFile':_0x390fa0['httpLogFile']});case _0x23ae59(_0x165fe6._0x33de38,0x32b,_0x165fe6._0x151889,0x72):return new _0x41321f({'apiKey':_0x119422[_0x52f8cf(_0x165fe6._0x5a8518,-0xe4,0x4a,0x219)],'oauth':_0x119422[_0x23ae59(0x3d7,0x5a0,0x568,_0x165fe6._0x49ec1f)]?.[_0x52f8cf(-0xf2,-_0x165fe6._0x1e33a8,-0x9f,-0x188)],'httpLogFile':_0x390fa0[_0x23ae59(_0x165fe6._0x161f0a,0x5db,_0x165fe6._0x3b89e4,0x43a)],'onTokenUpdate':async _0x4348f4=>{function _0x5aaa32(_0x266337,_0x1b1d4f,_0x177748,_0x1a7458){return _0x52f8cf(_0x266337-0x45,_0x1b1d4f-0x1d5,_0x1a7458-_0x1651ab._0x5f402c,_0x266337);}function _0x322237(_0x51cb9c,_0x4b0fbb,_0x5a23f7,_0x59c8d3){return _0x52f8cf(_0x51cb9c-_0x1fdd3d._0x506d86,_0x4b0fbb-0xbb,_0x4b0fbb-0x37,_0x51cb9c);}let _0x2c727c=(this[_0x322237(0x386,_0x51c095._0x2778e0,_0x51c095._0x427433,_0x51c095._0x1babd9)][_0x322237(0x17e,0x21c,_0x51c095._0x134cc6,0x21e)](_0x5aaa32(0x124,0x3dd,0x3c4,_0x51c095._0x2bf091))||[])['map'](_0x187d78=>_0x187d78[_0x322237(0x2b8,0x2b9,0x3dc,0x2a3)]===_0x322237(0x17b,0x1b4,0x120,-0x1)?{'type':_0x5aaa32(0x322,0x6e3,0x3a0,0x4ee),'access':_0x4348f4['access'],'refresh':_0x4348f4['refresh'],'expires':_0x4348f4[_0x322237(-0x1d0,-0xa3,-0x1d4,-0x1f)]}:_0x187d78);_0x2c727c[_0x5aaa32(0x4ff,_0x51c095._0x59d789,0x701,0x630)](_0x40ffbc=>_0x40ffbc[_0x322237(0x294,0x2b9,0x2d5,0x22d)]===_0x5aaa32(0x634,0x61f,0x659,0x4ee))||_0x2c727c[_0x322237(_0x51c095._0x2ada1,_0x51c095._0x5f152e,_0x51c095._0x112bf7,_0x51c095._0x315b90)]({'type':_0x322237(0x240,_0x51c095._0x27a552,_0x51c095._0x3ee79d,0x1fb),'access':_0x4348f4['access'],'refresh':_0x4348f4[_0x5aaa32(_0x51c095._0x123516,0x40d,_0x51c095._0x2eb4a3,_0x51c095._0x289cc1)],'expires':_0x4348f4[_0x322237(-0x21f,-0xa3,-_0x51c095._0x1d7e90,-_0x51c095._0x5a401c)]}),await this[_0x5aaa32(0x58c,_0x51c095._0x374213,_0x51c095._0x28cc36,_0x51c095._0x4c2178)][_0x5aaa32(_0x51c095._0x1ae51f,_0x51c095._0x2d590b,0x434,0x46f)]('providers.anthropic.auth',_0x2c727c,_0x322237(_0x51c095._0x15cebe,0x261,_0x51c095._0x4f3c02,_0x51c095._0x3aaf48));}});default:if(_0x470343?.[_0x182c47])return _0x2e9fd6(_0x182c47,{'apiKey':_0x119422[_0x52f8cf(-0x13b,0xed,0x4a,-0x38)],'httpLogFile':_0x390fa0[_0x23ae59(_0x165fe6._0xaaa94d,_0x165fe6._0x4191a4,0x455,0x39b)],'version':_0xcbfe64()},_0x470343);throw new Error(_0x23ae59(_0x165fe6._0x1e585a,_0x165fe6._0x529eb6,0x3ba,_0x165fe6._0x4d918d)+_0x182c47);}}async[_0x3eba7a(0x140,-0x12,0x333,0x190)](_0x1f3624,_0x41ee5d){const _0x3b7ffe={_0x3f0273:0x1a7,_0x38b9da:0x24a,_0x259f69:0x533,_0x36866e:0x710,_0x56f965:0x3ea,_0x37dd92:0x531,_0x4ff4c1:0x287,_0x50d9e3:0x279,_0x56f974:0x3e1,_0x553d98:0x549,_0x3ae491:0x5b2,_0x578d5d:0x521,_0x3de3af:0x54f};function _0x5321cf(_0x223b93,_0x4c788f,_0x2f6e54,_0x4e8f5f){return _0x199b7d(_0x223b93-0x3a,_0x223b93- -0x200,_0x2f6e54-0x23,_0x4e8f5f);}function _0x25d4dc(_0x4d2185,_0xe2fee4,_0x5c1145,_0x35f7bc){return _0x3eba7a(_0x4d2185-0xe9,_0xe2fee4-0x94,_0xe2fee4,_0x35f7bc-0x31a);}let _0x19630d=this[_0x25d4dc(_0x3b7ffe._0x3f0273,0x3a0,0x3f9,_0x3b7ffe._0x38b9da)]();if(!_0x4bd251(_0x1f3624,_0x19630d)&&!(_0x1f3624==='github'))return[];if(!this[_0x25d4dc(_0x3b7ffe._0x259f69,_0x3b7ffe._0x36866e,_0x3b7ffe._0x56f965,_0x3b7ffe._0x37dd92)](_0x1f3624)['apiKey'])throw new Error(_0x1f3624+_0x5321cf(_0x3b7ffe._0x4ff4c1,0x2a3,0x19d,0x387));let _0x10ae3c=this[_0x25d4dc(0x319,_0x3b7ffe._0x50d9e3,_0x3b7ffe._0x56f974,0x3ff)](_0x1f3624);return _0x10ae3c?.[_0x5321cf(0x437,0x620,_0x3b7ffe._0x553d98,0x47a)]?(await _0x10ae3c[_0x25d4dc(0x2e0,_0x3b7ffe._0x3ae491,_0x3b7ffe._0x578d5d,0x4aa)](_0x41ee5d))[_0x25d4dc(0x38e,0x39b,0x437,_0x3b7ffe._0x3de3af)](_0x2bd835=>_0x2bd835['id']):[];}},Fa={'openrouter':_0x3eba7a(0x1a5,0x0,0xf1,0x152),'deepinfra':_0x3eba7a(0x50,0x367,0x2f,0x1f3),'github':_0x3eba7a(0x1f3,0x223,0x3,0x14f),'zai':_0x199b7d(0x34c,0x53d,0x5e0,0x643),'anthropic':'claude-sonnet-4-5','moonshot':'moonshot-v1-8k'},Ho=['bash_tool',_0x3eba7a(0x54,-0x104,-0x98,0x9f),_0x3eba7a(0x344,0x249,0xfc,0x1be),_0x199b7d(0x2f0,0x3fa,0x4dd,0x2f5),'file_read',_0x3eba7a(0x25a,0x2fe,0x4e,0x19a),_0x199b7d(0x7fc,0x6a7,0x4bd,0x61a),_0x3eba7a(-0x10c,-0xbb,-0x66,0x67),_0x3eba7a(0x2ca,0xe9,0x88,0x14d)],pt=class{constructor(_0x50f90a,_0x5f2d14){const _0x1a5687={_0x22918b:0x277,_0x4b0c46:0x8d,_0x1cda2c:0x3dc,_0x45a74b:0x3c1,_0x2ede45:0x35d,_0x10e5ae:0x553,_0x4d5773:0x299,_0x11a8a9:0x294,_0x48d9bc:0x363,_0x15ae2d:0x6a,_0x331812:0x46e,_0x306949:0x250,_0x3aa0e7:0x188,_0x4186ae:0x4ed,_0x15dde1:0x54b,_0x24789c:0x376,_0x59c821:0x209},_0x498f73={_0x2763cf:0xf3,_0x52450b:0x1eb,_0x37c467:0xf4};this['orchestrator']=null,this['memory']=null,this[_0x391400(_0x1a5687._0x22918b,0x2b3,0x2c2,0x1bb)]=null,this[_0x388bd0(0x182,-0x14,-_0x1a5687._0x4b0c46,-0x7)]='demo-echo';function _0x391400(_0x2d56d8,_0x49302a,_0x2389b4,_0x171877){return _0x199b7d(_0x2d56d8-_0x498f73._0x2763cf,_0x2389b4- -_0x498f73._0x52450b,_0x2389b4-_0x498f73._0x37c467,_0x2d56d8);}this['status']=_0x391400(_0x1a5687._0x1cda2c,_0x1a5687._0x45a74b,_0x1a5687._0x2ede45,_0x1a5687._0x10e5ae),this[_0x391400(_0x1a5687._0x4d5773,_0x1a5687._0x11a8a9,0x1ed,_0x1a5687._0x48d9bc)]=null,this[_0x391400(0x28e,_0x1a5687._0x15ae2d,0x197,0x1fb)]=null;function _0x388bd0(_0x1a5731,_0x318a1a,_0x1ee639,_0x2c0e8d){return _0x199b7d(_0x1a5731-0x13b,_0x318a1a- -0x4cb,_0x1ee639-0x11c,_0x1a5731);}this['mcpManager']=null,this[_0x391400(0x1a4,_0x1a5687._0x331812,0x385,0x409)]=null,this[_0x391400(_0x1a5687._0x306949,0x236,0x426,0x2d2)]=!0x1,this[_0x388bd0(-0x15c,-_0x1a5687._0x3aa0e7,-0x2d6,-0x152)]=!0x1,(this[_0x391400(_0x1a5687._0x4186ae,_0x1a5687._0x15dde1,0x4e9,_0x1a5687._0x24789c)]=_0x50f90a??Ge['getInstance'](),this['conversationContext']=_0x5f2d14??new _0x4f7271(),this['llmFactory']=new Ut(this[_0x388bd0(0x361,_0x1a5687._0x59c821,0x1e7,0xe2)]));}['getProfilePaths'](){const _0x45f9ec={_0x224963:0x1c2,_0x430d5c:0x264,_0x3cdb65:0x106,_0x3011c7:0x34e,_0x233bad:0x24f,_0x404ebb:0x6,_0x35ab6e:0x64,_0x243c04:0x1c4,_0x554b2f:0x5,_0x3844b5:0x213,_0x3dc7a9:0x2b3,_0x438c6c:0xf4,_0xcb45fe:0xdd,_0x3f7c83:0x4a,_0x302a54:0x14e,_0x448635:0x2b0,_0x4c52fc:0xc0,_0x18d3fa:0x4b,_0x3efca6:0xc8,_0x19f684:0x392,_0x3d6717:0x184,_0x49d5c8:0x1c8,_0x1c03cb:0xb7,_0x2d3d37:0xb8,_0x7b1e0d:0x30c,_0x303027:0x123,_0x43996e:0x7,_0x280b81:0x10e,_0x1d22ce:0x16d},_0x102f89={_0x15635a:0x546},_0x172c1b={_0x363b0e:0x12a,_0x4ed0a1:0x147};function _0x1d579a(_0x2f5f5e,_0x5e1319,_0x2543d5,_0x403d9c){return _0x3eba7a(_0x2f5f5e-_0x172c1b._0x363b0e,_0x5e1319-_0x172c1b._0x4ed0a1,_0x2543d5,_0x403d9c- -0x127);}function _0x5b3b9d(_0x78a5c6,_0x110e58,_0x355674,_0x1c9975){return _0x199b7d(_0x78a5c6-0x130,_0x355674- -_0x102f89._0x15635a,_0x355674-0xec,_0x78a5c6);}let _0x33afcd=typeof this[_0x1d579a(_0x45f9ec._0x224963,_0x45f9ec._0x430d5c,0x18e,_0x45f9ec._0x3cdb65)][_0x1d579a(-0x345,-_0x45f9ec._0x3011c7,-0x403,-_0x45f9ec._0x233bad)]==_0x5b3b9d(-0x9c,-_0x45f9ec._0x404ebb,_0x45f9ec._0x35ab6e,-0x9b)?this['configManager']['getProfileManager']():void 0x0,_0x36ea31=typeof this[_0x5b3b9d(0x1ce,0x302,0x18e,0xdf)][_0x5b3b9d(_0x45f9ec._0x243c04,0x195,0x3e,_0x45f9ec._0x554b2f)]==_0x1d579a(0x187,0xf0,-_0x45f9ec._0x3844b5,-0x24)?this[_0x1d579a(_0x45f9ec._0x3dc7a9,0xaf,-_0x45f9ec._0x438c6c,_0x45f9ec._0x3cdb65)][_0x1d579a(-_0x45f9ec._0xcb45fe,-0x57,-0x99,-_0x45f9ec._0x3f7c83)]():void 0x0;if(!_0x33afcd||!_0x36ea31){let _0x599c60=_0x189454[_0x5b3b9d(-0x211,-0x1dd,-_0x45f9ec._0x302a54,-0x121)](_0xe2eeb7['homedir'](),_0x5b3b9d(_0x45f9ec._0x448635,-0xeb,_0x45f9ec._0x4c52fc,_0x45f9ec._0x18d3fa));return{'sessionsDir':_0x189454[_0x1d579a(-_0x45f9ec._0x3efca6,-0x2da,-_0x45f9ec._0x19f684,-0x1d6)](_0x599c60,_0x5b3b9d(-_0x45f9ec._0x3d6717,-_0x45f9ec._0x49d5c8,-_0x45f9ec._0x1c03cb,_0x45f9ec._0x2d3d37)),'agentsDir':_0x189454[_0x5b3b9d(-0x139,-0xa4,-_0x45f9ec._0x302a54,-_0x45f9ec._0x7b1e0d)](_0x599c60,_0x5b3b9d(-0x168,_0x45f9ec._0x303027,_0x45f9ec._0x43996e,_0x45f9ec._0x280b81))};}return{'sessionsDir':_0x33afcd[_0x5b3b9d(-0xba,-0x309,-_0x45f9ec._0x1d22ce,-0x2eb)](_0x36ea31),'agentsDir':_0x33afcd['getProfileAgentsDir'](_0x36ea31)};}[_0x3eba7a(0xd3,0x213,0x202,0x21e)](){const _0x4e180c={_0xee0fd1:0x5cf,_0x594cac:0x784,_0x2687ef:0x753,_0x11f776:0x1cf,_0x312353:0x27f,_0x38a87e:0x43d,_0x35056f:0x3fc,_0x496526:0x2d4,_0x448bd5:0x43a,_0x2dc3d6:0x475,_0x43eca3:0x434,_0x324101:0x21f,_0x39ba97:0x4a6,_0xf4fd51:0x878,_0x13539f:0x695,_0x2a1dae:0x591,_0x20ecf1:0x4a6,_0x8c10b2:0x388,_0x425717:0x3ad},_0x681523={_0x3d8d36:0x1d0},_0x510265={_0x46a2a6:0x10d};function _0x538592(_0x4d4b80,_0x27d17d,_0x1cbe7d,_0x3c2374){return _0x3eba7a(_0x4d4b80-_0x510265._0x46a2a6,_0x27d17d-0x124,_0x3c2374,_0x27d17d-0x557);}function _0x4cf96c(_0x35c4df,_0xa24075,_0x33ea9e,_0x16c4d5){return _0x3eba7a(_0x35c4df-_0x681523._0x3d8d36,_0xa24075-0x17f,_0xa24075,_0x16c4d5-0x3c6);}let _0x27546b=this[_0x538592(_0x4e180c._0xee0fd1,_0x4e180c._0x594cac,_0x4e180c._0x2687ef,0x614)]['getConfig'](),_0x4973d8=_0x27546b[_0x4cf96c(_0x4e180c._0x11f776,_0x4e180c._0x312353,_0x4e180c._0x38a87e,0x2d7)]||_0x538592(0x30f,0x4e9,0x5e3,0x5ca),_0x12d103=_0x27546b[_0x4cf96c(0x382,0x466,_0x4e180c._0x35056f,0x3d6)]||Fa[_0x4973d8],_0x4ceffd=Kr(_0x27546b,_0x4973d8),_0x3a6770=_0x27546b[_0x4cf96c(_0x4e180c._0x496526,_0x4e180c._0x448bd5,0x38a,_0x4e180c._0x2dc3d6)],_0xca980c=_0x27546b['requireToolApproval'],_0x270d1d=_0x27546b[_0x538592(0x4ea,0x3f7,_0x4e180c._0x43eca3,0x537)],_0x15ab5e=_0x270d1d===_0x538592(_0x4e180c._0x324101,0x3b7,0x514,_0x4e180c._0x39ba97)?void 0x0:_0x270d1d?.[_0x538592(_0x4e180c._0xf4fd51,_0x4e180c._0x13539f,_0x4e180c._0x2a1dae,0x6ed)](),_0x21719c=_0x27546b['streamingChunks']??!0x1,_0x192845=_0x4ceffd?.[_0x4cf96c(0x2b1,0x39c,0x2e4,0x497)]?{'anthropic':_0x4ceffd[_0x4cf96c(_0x4e180c._0x20ecf1,_0x4e180c._0x8c10b2,_0x4e180c._0x425717,0x497)]}:void 0x0;return{'config':_0x27546b,'provider':_0x4973d8,'model':_0x12d103,'auth':_0x4ceffd,'apiKey':_0x4ceffd?.['apiKey'],'oauthConfig':_0x192845,'mcpAllowedTools':_0x3a6770,'requireToolApproval':_0xca980c,'reasoningEffort':_0x15ab5e,'streamingChunks':_0x21719c};}[_0x3eba7a(-0x41,-0x67,0x132,-0xd1)](_0x401a67){const _0x1c8b25={_0x2cf67e:0x305,_0x56d220:0x151,_0x38b82c:0x90,_0x49d092:0x131,_0x129209:0x241,_0x2f2bbf:0x137,_0x490083:0x338,_0x51332f:0x1be,_0xc60f55:0x117,_0x422b69:0x1a2},_0x4d747b={_0x5a3f80:0x20,_0x2663dd:0x97,_0x7e7533:0x2c3},_0x2cce94={_0x50da80:0xfb,_0xb8fc54:0x432,_0x55d40a:0xda};function _0x19899e(_0x588c57,_0xd36ec2,_0x332efb,_0x2c96d1){return _0x199b7d(_0x588c57-_0x2cce94._0x50da80,_0x332efb- -_0x2cce94._0xb8fc54,_0x332efb-_0x2cce94._0x55d40a,_0xd36ec2);}function _0x1684a5(_0x1bcc4f,_0xedd82b,_0x1de007,_0x15f9a5){return _0x3eba7a(_0x1bcc4f-_0x4d747b._0x5a3f80,_0xedd82b-_0x4d747b._0x2663dd,_0x1de007,_0xedd82b-_0x4d747b._0x7e7533);}try{let {sessionsDir:_0x5ec68f}=this[_0x1684a5(_0x1c8b25._0x2cf67e,_0x1c8b25._0x56d220,_0x1c8b25._0x38b82c,0x13b)]();_0x2cc2ee[_0x19899e(-_0x1c8b25._0x49d092,-_0x1c8b25._0x129209,-_0x1c8b25._0x2f2bbf,-_0x1c8b25._0x490083)](_0x5ec68f,{'recursive':!0x0}),_0x2cc2ee[_0x1684a5(_0x1c8b25._0x51332f,_0x1c8b25._0xc60f55,-0xc3,_0x1c8b25._0x422b69)](_0x401a67,{'recursive':!0x0});}catch{}}['createMemory'](_0x20b6a8,_0x26c4af){const _0x3a7591={_0x10bbf2:0x50e,_0x4db900:0x336,_0x148cac:0x239},_0xac94a3={_0x2f9f20:0x2e};function _0x2a24c0(_0x3f1018,_0x3bfde0,_0x56de00,_0x463ea4){return _0x199b7d(_0x3f1018-0x151,_0x3bfde0-_0xac94a3._0x2f9f20,_0x56de00-0x97,_0x463ea4);}return _0x26c4af?new _0x25002c(new _0x25b28b(_0x189454['join'](_0x20b6a8,_0x2a24c0(_0x3a7591._0x10bbf2,0x35a,_0x3a7591._0x4db900,_0x3a7591._0x148cac)))):new _0x233845();}[_0x3eba7a(0xcd,-0x27c,-0x154,-0xc3)](_0x7ce521){const _0x1c6247={_0x15c12c:0x1bf,_0x1a1927:0xf6,_0x32f9bd:0x154,_0x6b759e:0x52,_0x5c903d:0x1b4,_0x43b57b:0x394,_0x3c288f:0x38a,_0x5a5be7:0x215,_0x8b7226:0x328},_0x4caeae={_0x31bb0b:0xa4};function _0x140118(_0x544db5,_0x535d85,_0x4e6e15,_0x2f1ec1){return _0x199b7d(_0x544db5-0x1a2,_0x535d85- -0x597,_0x4e6e15-0x3e,_0x4e6e15);}let _0x37031c=_0x7ce521[_0x140118(-0xbd,-_0x1c6247._0x15c12c,-_0x1c6247._0x1a1927,-0x167)]??String(Date[_0x526920(0x159,_0x1c6247._0x32f9bd,0x22,0x241)]()),{sessionsDir:_0x2c1b34}=this[_0x526920(-_0x1c6247._0x6b759e,-_0x1c6247._0x5c903d,-_0x1c6247._0x43b57b,-_0x1c6247._0x3c288f)](),_0x2bf94c=_0x7ce521[_0x140118(-0x5f,-_0x1c6247._0x5a5be7,-_0x1c6247._0x8b7226,-0x2e4)]??_0x189454[_0x140118(-0x126,-0x19f,-0x36b,-0x1d1)](_0x2c1b34,_0x37031c);function _0x526920(_0x3ca9d6,_0x19c9c1,_0x3cb438,_0x33c330){return _0x199b7d(_0x3ca9d6-0x117,_0x19c9c1- -0x4e9,_0x3cb438-_0x4caeae._0x31bb0b,_0x3cb438);}return{'sessionId':_0x37031c,'sessionDir':_0x2bf94c};}[_0x3eba7a(0x2b8,0x348,0x69,0x207)](_0xaba8d4,_0x47aee6,_0x5aeb55,_0x38a8ac){const _0x400f6c={_0x398271:0x13b,_0xc82ed5:0x366,_0xb1e225:0x4af,_0x1a192a:0x2c4,_0x562437:0x5f3,_0x143bff:0x374,_0x5f560f:0x307},_0xecdf54={_0x107d12:0xa7,_0x108a9c:0x337},_0x284d8f={_0x42d6da:0xd8};function _0x24a9e4(_0x447538,_0xedc74d,_0x13103c,_0x7fc001){return _0x199b7d(_0x447538-_0x284d8f._0x42d6da,_0x7fc001- -0x7,_0x13103c-0x1a6,_0x13103c);}function _0xa5d98a(_0x60d7a5,_0xb93bb9,_0x1491fa,_0x2ff18b){return _0x3eba7a(_0x60d7a5-_0xecdf54._0x107d12,_0xb93bb9-0x98,_0xb93bb9,_0x1491fa-_0xecdf54._0x108a9c);}return new ct(_0x47aee6[_0xa5d98a(_0x400f6c._0x398271,_0x400f6c._0xc82ed5,0x246,0x421)],_0x47aee6[_0x24a9e4(0x62c,0x4fc,0x400,0x48c)],_0x47aee6[_0xa5d98a(_0x400f6c._0xb1e225,_0x400f6c._0x1a192a,0x404,_0x400f6c._0x562437)],_0x47aee6['setLastMetadata'],_0x5aeb55?{'filename':_0x189454['join'](_0xaba8d4,_0x24a9e4(0x5c0,_0x400f6c._0x143bff,_0x400f6c._0x5f560f,0x4c5)),'streamingEnabled':_0x38a8ac}:{'streamingEnabled':_0x38a8ac});}async['init'](_0x33d6f1,_0x11de5a){const _0x5549be={_0x138dd3:0x52c,_0x5f3171:0x197,_0x3acafc:0x1d9,_0x40ad92:0x23,_0x3a98cc:0xcd,_0x3e7d41:0x4d,_0x9d98e8:0x1,_0x108c84:0x54,_0x4e1f42:0x62a,_0xc1338c:0x5f5,_0x4f2f01:0x756,_0x47e65c:0x39e,_0x3a0566:0x327,_0x1792c5:0x273,_0x349743:0x219,_0x24aae4:0x363,_0x2384d7:0x9a,_0x134451:0x1e7,_0x8d3de3:0x483,_0x29153d:0x3b2,_0x1c6bf0:0x356,_0x87be8:0x1a0,_0x90b193:0x81,_0x7156b1:0x5c5,_0x589617:0x63c,_0x4934b3:0x6b3,_0x14c1bd:0x194,_0x431bc1:0xad,_0x577f6d:0x5b3,_0x261533:0x652,_0x54aff8:0x586,_0x23a5e1:0x49c,_0x47029d:0x4cd,_0xc2988c:0x6b1,_0x5d36b9:0x184,_0x24881e:0x3af,_0x5cdbec:0x6a,_0x11b66f:0x1c5,_0xf42a21:0xb2,_0x44bbac:0xba,_0x534629:0x237,_0x43ffb8:0x4f5,_0x1fb0e1:0x2d,_0x1caeb9:0x288,_0x2f2859:0x269,_0x142e07:0x319,_0x58532c:0x445,_0x3d62bb:0x5f3,_0x93e0b2:0x62e,_0x30d911:0x7a3,_0x86bfa1:0x6b8,_0x2829de:0x388,_0x5ad758:0x5ce,_0x66911c:0x86c,_0x1cbb04:0x50,_0xf3cccb:0x39,_0x29f41d:0x41f,_0x183732:0x5a4,_0x342225:0x638,_0x4d4b22:0x761,_0x2c84c1:0x4e0,_0x5a92f7:0x228,_0x5c369a:0x30c,_0x3341c0:0x4d3,_0x3ad358:0x758,_0x436fcd:0x3e4,_0x4fd6e7:0x259,_0x55f78b:0x30c,_0x1bbef5:0x3c8,_0x328ecf:0x10a,_0x3db7b8:0x1ec,_0x27b942:0xb1,_0x9750a0:0x399,_0x47551e:0x4d6,_0x32e899:0x34d,_0xccc41d:0x53a,_0x3abc2f:0x3b0,_0x2d7220:0x2aa,_0x41cdd6:0x173,_0xaa2be0:0x6f3,_0x47d6d2:0x5ce,_0xc6c6f8:0x66f,_0x3a3a22:0x69b,_0x3bf7f7:0x588,_0x5f61e2:0x3c1,_0x13922d:0x30,_0x245f43:0x90,_0x57a38a:0x11,_0x54e572:0x28c,_0x1a52e1:0x89,_0x2deeea:0x4e6,_0x782ac2:0x61c,_0x1d1e0f:0x639,_0x167935:0x488,_0x3e5a10:0x48d,_0x5475d5:0x1eb,_0x4af41b:0x6d,_0x9390e6:0x25,_0x186f3e:0x6c,_0x22a7b0:0xee,_0x57be04:0x37a,_0xd02d52:0x461,_0x37b6e9:0x4bc,_0x34ecfc:0x4a5,_0x4c8f73:0x49b,_0x522aa:0x694,_0x11fa37:0x565,_0x4dc0d5:0x692,_0x3f2774:0x616,_0x1b59c1:0x168,_0x438096:0x452,_0x76306e:0x25e,_0x3cd719:0x1e3,_0x299535:0x67,_0x163d34:0x3c5,_0x63ae10:0x204,_0xc6dbc5:0x386,_0xcd8aa:0x1f7,_0x1dc0fd:0x426,_0x3bd573:0x5ed,_0xe3e328:0x170,_0x2e226b:0x106,_0x4257ed:0x65f,_0x5d990a:0x49b,_0x4d3c1c:0xc9,_0x19f435:0x84,_0x50f540:0x1e5,_0x331a59:0x765,_0x1b1290:0x141,_0x5a992b:0x54,_0x2f7f60:0x5c7,_0x25c05a:0x3c9,_0x158a97:0x44d,_0x19433b:0x582,_0x4bc632:0x37,_0x297080:0xdb,_0x39aed7:0x15,_0x44ff8a:0xa9,_0x401664:0x56,_0x4157d8:0x174,_0x109c7c:0x1cf,_0x3cc292:0x23b,_0x4c0bd7:0x42d,_0x4f6342:0x5c1,_0x1b40d2:0x74b},_0x46050a={_0x2b743d:0x594},_0x315e63={_0x58f8b8:0x744,_0x51fc18:0x79a,_0x40da0f:0x46c,_0x4c071b:0x452,_0x556cbc:0x17c,_0x24dbe6:0x1d1,_0x45277d:0x21b,_0x220be9:0x366,_0x1e2169:0x529,_0xe21d67:0x2f9,_0x33c822:0x4e8,_0x113090:0x560,_0x5ec892:0x36e,_0x1d192f:0x4e0,_0x5f00e6:0x4c2,_0x5ec4c0:0x598,_0x4117c0:0x541,_0x509dc1:0x6fc,_0x4c3c43:0x5e4,_0x53dc57:0x1b1,_0x5cdf0a:0x437,_0x312690:0x29e,_0xb10d05:0x332,_0x323406:0x2e8,_0x5a8cd2:0x39a,_0x2f6418:0x3d7,_0x2ab8e5:0x263,_0x454e0f:0x61,_0x24fb51:0x9a,_0x37d221:0x98,_0x825d5:0x52a,_0x4308a6:0x599},_0x354f06={_0x1f8f39:0x1cf},_0x5365b6={_0x4a8001:0x193,_0x42e2d9:0x2},_0x29402d={_0xa40152:0x1b3},_0x56f579={_0x17840f:0x196,_0x2d1281:0x41};this[_0x291260(0x4d1,0x4cb,0x5c1,0x6eb)]=_0x291260(0x40c,0x723,_0x5549be._0x138dd3,0x4f2);let {sessionId:_0x57d29b,sessionDir:_0x636769}=this[_0x1986cb(-0x1bc,-0x3b0,-_0x5549be._0x5f3171,-_0x5549be._0x3acafc)](_0x33d6f1);function _0x1986cb(_0x4dfab8,_0x4c2b41,_0x415244,_0x44f35d){return _0x3eba7a(_0x4dfab8-_0x56f579._0x17840f,_0x4c2b41-_0x56f579._0x2d1281,_0x415244,_0x44f35d- -0x116);}this[_0x1986cb(-0x205,-_0x5549be._0x40ad92,-_0x5549be._0x3a98cc,-_0x5549be._0x3e7d41)]=_0x11de5a,this[_0x1986cb(-0x19d,_0x5549be._0x9d98e8,0x14a,_0x5549be._0x108c84)]=_0x33d6f1[_0x291260(0x6e2,_0x5549be._0x4e1f42,_0x5549be._0xc1338c,_0x5549be._0x4f2f01)]??!0x1,this['streamingChunks']=_0x33d6f1[_0x291260(_0x5549be._0x47e65c,0x2cb,_0x5549be._0x3a0566,0x43a)]??this[_0x1986cb(0x106,0x282,0x21d,0x108)]()[_0x1986cb(-_0x5549be._0x1792c5,-_0x5549be._0x349743,-_0x5549be._0x24aae4,-0x27a)];function _0x291260(_0x3f0d91,_0x38044f,_0x154570,_0xa0c6f8){return _0x3eba7a(_0x3f0d91-0x44,_0x38044f-_0x29402d._0xa40152,_0x3f0d91,_0x154570-0x48b);}try{this['memPersist']&&this[_0x1986cb(-0x227,-0xde,-_0x5549be._0x2384d7,-_0x5549be._0x134451)](_0x636769);try{_0x2cc2ee[_0x1986cb(-_0x5549be._0x8d3de3,-_0x5549be._0x29153d,-_0x5549be._0x1c6bf0,-0x2c2)](DEFAULT_AGENTS_DIR,{'recursive':!0x0});}catch{}let _0x4f1661=this[_0x1986cb(_0x5549be._0x87be8,_0x5549be._0x90b193,0x29c,0x108)](),_0xef45fc=_0x4f1661[_0x291260(_0x5549be._0x7156b1,_0x5549be._0x589617,0x5ce,_0x5549be._0x4934b3)][_0x1986cb(-0x17d,-_0x5549be._0x14c1bd,0xa9,-_0x5549be._0x431bc1)],_0x1a37bd=_0xef45fc?.[_0x291260(_0x5549be._0x577f6d,_0x5549be._0x261533,_0x5549be._0x54aff8,_0x5549be._0x23a5e1)]??!0x1,_0x59518e=_0xef45fc?.[_0x291260(0x44a,0x392,_0x5549be._0x47029d,_0x5549be._0xc2988c)]??!0x1,_0x272918=_0x1a37bd?_0x189454[_0x1986cb(-_0x5549be._0x5d36b9,-_0x5549be._0x24881e,-_0x5549be._0x5cdbec,-_0x5549be._0x11b66f)](_0x636769,_0x1986cb(-_0x5549be._0xf42a21,_0x5549be._0x44bbac,-_0x5549be._0x534629,-0x37)):void 0x0,_0x47db6c=this[_0x291260(0x460,0x744,0x570,_0x5549be._0x43ffb8)](_0x272918),_0x555d20=this['createMemory'](_0x636769,this[_0x1986cb(0xb6,0xe1,_0x5549be._0x1fb0e1,_0x5549be._0x108c84)]),{agentsDir:_0x2c54eb}=this[_0x291260(_0x5549be._0x1caeb9,_0x5549be._0x2f2859,_0x5549be._0x142e07,_0x5549be._0x58532c)]();_0x2cc2ee['mkdirSync'](_0x2c54eb,{'recursive':!0x0});let _0x11218d=new _0xa1c018({'agentsDir':_0x2c54eb}),_0x35a57d=new _0x2879e6({'filePersistence':_0x11218d});await _0x35a57d['waitForLoad']();let _0x2c91a0=new _0xded3a8({'agentRegistry':_0x35a57d}),_0x2c09ae=_0x2c91a0,_0x1e1b83={'createLLM':_0x32894a=>{function _0x10af96(_0x5e8cc3,_0x2f17d8,_0x3dec01,_0x550602){return _0x291260(_0x550602,_0x2f17d8-_0x5365b6._0x4a8001,_0x5e8cc3- -0x2c3,_0x550602-_0x5365b6._0x42e2d9);}let _0x586bec;function _0x26dfbd(_0xe8f537,_0x47a098,_0x16a24f,_0x5bd52a){return _0x291260(_0xe8f537,_0x47a098-_0x354f06._0x1f8f39,_0x47a098- -0x46,_0x5bd52a-0x11);}if(_0x32894a['provider']){let _0xa9d5b8=_0x32894a['provider'],_0x160347=this[_0x26dfbd(_0x315e63._0x58f8b8,0x663,_0x315e63._0x51fc18,_0x315e63._0x40da0f)]()[_0x10af96(0x30b,_0x315e63._0x4c071b,0x1d3,0x34d)][_0x10af96(_0x315e63._0x556cbc,-0x51,_0x315e63._0x24dbe6,0x335)]?.[_0xa9d5b8];_0x160347?.[_0x26dfbd(_0x315e63._0x45277d,0x36e,0x20d,0x4a4)]&&Array[_0x10af96(_0x315e63._0x220be9,_0x315e63._0x1e2169,_0x315e63._0xe21d67,_0x315e63._0x33c822)](_0x160347['auth'])&&_0x160347[_0x26dfbd(_0x315e63._0x113090,_0x315e63._0x5ec892,_0x315e63._0x1d192f,_0x315e63._0x5f00e6)][_0x26dfbd(0x670,0x67e,_0x315e63._0x5ec4c0,0x722)]>0x0&&(_0x586bec=_0xa9d5b8);}return _0x586bec||(_0x586bec=this[_0x26dfbd(_0x315e63._0x4117c0,0x663,_0x315e63._0x509dc1,_0x315e63._0x4c3c43)]()[_0x10af96(0x30b,_0x315e63._0x53dc57,_0x315e63._0x5cdf0a,_0x315e63._0x312690)][_0x26dfbd(_0x315e63._0xb10d05,0x356,_0x315e63._0x323406,0x1ad)]||_0x26dfbd(_0x315e63._0x5a8cd2,_0x315e63._0x2f6418,0x5d3,_0x315e63._0x2ab8e5)),this[_0x10af96(_0x315e63._0x454e0f,-0x15d,_0x315e63._0x24fb51,-_0x315e63._0x37d221)][_0x26dfbd(0x497,_0x315e63._0x825d5,_0x315e63._0x4308a6,0x721)](_0x586bec,{'httpLogFile':_0x272918});}},_0x58c53d=typeof this[_0x291260(_0x5549be._0x3d62bb,0x628,0x6b8,0x4eb)]['getProfileManager']=='function'?this[_0x291260(_0x5549be._0x93e0b2,_0x5549be._0x30d911,_0x5549be._0x86bfa1,0x59f)][_0x291260(0x246,_0x5549be._0x2829de,_0x5549be._0x24aae4,0x1b7)]():void 0x0,_0x2cf927=typeof this[_0x291260(_0x5549be._0x5ad758,0x5d9,0x6b8,_0x5549be._0x66911c)][_0x1986cb(_0x5549be._0x1cbb04,0x32,0x9,-_0x5549be._0xf3cccb)]=='function'?this[_0x1986cb(0x292,0x252,-0x83,0x117)][_0x1986cb(-0x11a,0x177,-0xd0,-0x39)]():void 0x0,_0x5d8eb3=_0x58c53d&&_0x2cf927?_0x58c53d[_0x1986cb(-0x263,-_0x5549be._0x29f41d,-0x184,-0x27e)](_0x2cf927):void 0x0,_0x19be5b=_0x33d6f1[_0x291260(0x7d0,_0x5549be._0x183732,_0x5549be._0x342225,_0x5549be._0x4d4b22)]||_0x5d8eb3,_0x136f3b=new $t({'configPath':_0x19be5b,'config':_0x4f1661[_0x291260(0x73b,0x613,_0x5549be._0x5ad758,_0x5549be._0x2c84c1)]['mcp']?.[_0x291260(_0x5549be._0x5a92f7,0x41e,_0x5549be._0x5c369a,0x3e8)]?{'mcpServers':_0x4f1661[_0x291260(_0x5549be._0x3341c0,_0x5549be._0x3ad358,_0x5549be._0x5ad758,0x7aa)]['mcp'][_0x291260(_0x5549be._0x436fcd,_0x5549be._0x4fd6e7,_0x5549be._0x55f78b,_0x5549be._0x1bbef5)]}:null,'appendLine':_0x11de5a[_0x291260(0x1fe,0x2f6,0x39a,0x4c1)],'handleError':_0x11de5a[_0x1986cb(-_0x5549be._0x328ecf,_0x5549be._0x3db7b8,-_0x5549be._0x27b942,0xc9)],'silentInit':!0x0});_0x4f1661[_0x291260(0x735,_0x5549be._0x9750a0,0x53a,_0x5549be._0x47551e)]&&_0x136f3b['setAllowedToolsConfig'](_0x4f1661[_0x291260(0x49e,_0x5549be._0x32e899,_0x5549be._0xccc41d,0x728)]),new _0x39465f({'appName':_0x291260(0x439,_0x5549be._0x3abc2f,0x3b0,_0x5549be._0x2d7220)})[_0x1986cb(-0x12d,_0x5549be._0x41cdd6,0x22b,0xc8)](_0x57d29b);let _0x1390b2=_0x4f1661[_0x291260(0x48f,_0x5549be._0xaa2be0,_0x5549be._0x47d6d2,0x5d6)][_0x291260(_0x5549be._0xc6c6f8,_0x5549be._0x3a3a22,_0x5549be._0x3bf7f7,_0x5549be._0x5f61e2)]||{},_0x6abae9=_0x35a57d[_0x1986cb(_0x5549be._0x13922d,0xeb,0x49,-0x58)]()[_0x1986cb(-_0x5549be._0x245f43,_0x5549be._0x57a38a,-_0x5549be._0x54e572,-_0x5549be._0x1a52e1)](_0x17fc09=>_0x1390b2[_0x17fc09['id']]!==!0x1)[_0x291260(_0x5549be._0x2deeea,_0x5549be._0x782ac2,0x6c0,0x607)](_0x25571b=>({'id':_0x25571b['id'],'name':_0x25571b['name'],'description':_0x25571b[_0x291260(0x245,0x602,0x444,0x246)]})),_0x93422d=await _0x59fd37(process['cwd'](),{'maxDepth':0x3,'maxFiles':0x1f4,'includeHidden':!0x1}),_0x5c48cf=_0x1c4704({'today':new Date()[_0x291260(0x5c8,_0x5549be._0x1d1e0f,0x455,0x610)](),'platform':process[_0x291260(0x38c,_0x5549be._0x167935,_0x5549be._0x3e5a10,0x487)],'arch':process[_0x1986cb(_0x5549be._0x5475d5,0x21e,_0x5549be._0x4af41b,_0x5549be._0x9390e6)],'tempDir':_0xe2eeb7[_0x1986cb(-_0x5549be._0x186f3e,_0x5549be._0x22a7b0,-0x144,0x6b)]?.()??'','workspaceDir':process[_0x291260(0x3a3,_0x5549be._0x57be04,0x4ab,0x2c6)](),'availableAgents':_0x6abae9,'folderTree':_0x93422d},{'withSubAgent':!0x0}),_0x51f9fa={'id':_0x291260(_0x5549be._0xd02d52,0x597,_0x5549be._0x37b6e9,_0x5549be._0x7156b1),'systemPrompt':_0x2e8d76(Sn,{'injectedSystem':_0x5c48cf}),'temperature':0x1,'topP':0x1,'model':_0x4f1661[_0x291260(0x4f1,_0x5549be._0x34ecfc,_0x5549be._0x4c8f73,0x488)],'enabledTools':Ho,'maxToolConcurrency':0x3,'requireToolApproval':_0x4f1661[_0x291260(_0x5549be._0x522aa,_0x5549be._0x86bfa1,0x6ca,0x775)],'reasoningEffort':_0x4f1661['reasoningEffort']},_0x3a2c4d={'memory':_0x555d20,'llm':_0x47db6c,'tools':_0x2c09ae,'context':new _0xbb6504(),'ids':new _0x14bf4d(),'clock':new _0x24f8c7(),'cost':new _0x58b33b(),'reminders':new _0x3269d0(),'events':this[_0x291260(0x80e,_0x5549be._0x11fa37,_0x5549be._0x4dc0d5,_0x5549be._0x3f2774)](_0x636769,_0x11de5a,_0x59518e,this[_0x291260(0x3d6,_0x5549be._0x1b59c1,0x327,_0x5549be._0x438096)])},_0x110cd6=new _0x42f251(_0x51f9fa,_0x3a2c4d);if(_0x2c91a0?.[_0x1986cb(_0x5549be._0x76306e,0x6c,_0x5549be._0x3cd719,_0x5549be._0x299535)]){let _0x32de0b=()=>{const _0x42a56d={_0x2d042c:0x162},_0x3f34bd={_0x152a16:0xa6,_0x4e7696:0x635};function _0x1bb335(_0x4e0fbb,_0x2cde46,_0x606b8,_0x19e546){return _0x1986cb(_0x4e0fbb-_0x3f34bd._0x152a16,_0x2cde46-0x1ec,_0x19e546,_0x606b8-_0x3f34bd._0x4e7696);}let _0x188ba1=this[_0x1bb335(0x8c0,0x758,0x73d,0x896)]();function _0x14922e(_0x37f6c4,_0x153e1f,_0x70831f,_0x267768){return _0x1986cb(_0x37f6c4-0xf7,_0x153e1f-_0x42a56d._0x2d042c,_0x70831f,_0x153e1f-0x55b);}return{'model':_0x188ba1[_0x1bb335(_0x46050a._0x2b743d,0x37f,0x52f,0x4a0)],'reasoningEffort':_0x188ba1[_0x1bb335(0x2ff,0x3fb,0x3f6,0x547)]};};_0x2c91a0['setOrchestrator'](_0x51f9fa,_0x2c09ae,_0x1e1b83,_0x32de0b),_0x2c91a0[_0x1986cb(-_0x5549be._0x163d34,-_0x5549be._0x63ae10,-_0x5549be._0xc6dbc5,-_0x5549be._0xcd8aa)](_0x1390b2);}return this[_0x291260(_0x5549be._0x1dc0fd,0x6a2,_0x5549be._0x3bd573,0x596)]=_0x110cd6,this['memory']=_0x555d20,this['conversationStore']=new _0x5ccf39(_0x555d20),this[_0x1986cb(-_0x5549be._0xe3e328,-0x1e5,-0x1a5,-_0x5549be._0x2e226b)]=_0x4f1661[_0x291260(0x5f6,_0x5549be._0x4257ed,_0x5549be._0x5d990a,0x62f)],this[_0x1986cb(-_0x5549be._0x4d3c1c,-0x318,-_0x5549be._0x19f435,-_0x5549be._0x50f540)]=this[_0x291260(0x67a,_0x5549be._0x331a59,_0x5549be._0xc1338c,0x60f)]?_0x57d29b:null,this['sessionDir']=this[_0x1986cb(-0xa8,-0x59,-_0x5549be._0x1b1290,_0x5549be._0x5a992b)]?_0x636769:null,this[_0x291260(_0x5549be._0x2f7f60,_0x5549be._0x25c05a,_0x5549be._0x158a97,_0x5549be._0x19433b)]=_0x136f3b,this[_0x291260(0x60a,0x73f,0x5c1,0x5dc)]='Ready',await this['initializeDefaultConversation'](),this[_0x1986cb(_0x5549be._0x4bc632,0x1b4,_0x5549be._0x297080,-_0x5549be._0x39aed7)](_0x136f3b,_0x11de5a),{'orchestrator':this[_0x1986cb(0x9a,_0x5549be._0x44ff8a,_0x5549be._0x401664,0x4c)],'memory':this[_0x1986cb(-0x98,-_0x5549be._0x4157d8,-0x6f,-0x194)],'model':this['model'],'sessionId':this['sessionId'],'sessionDir':this[_0x1986cb(-_0x5549be._0x109c7c,-0x2b3,-0x9a,-_0x5549be._0x3cc292)]};}catch(_0x2e4677){throw this[_0x291260(_0x5549be._0x4c0bd7,0x4d6,_0x5549be._0x4f6342,_0x5549be._0x1b40d2)]='Error',_0x2e4677;}}[_0x3eba7a(0xd0,0x15e,0x8a,0x49)](){const _0x44406d={_0xda94cf:0x613},_0x3c8021={_0x5a8799:0x1bc,_0x3c9bde:0x124};function _0x76c35f(_0x35ba11,_0x2f2f02,_0x391e41,_0x4ce4f4){return _0x3eba7a(_0x35ba11-_0x3c8021._0x5a8799,_0x2f2f02-_0x3c8021._0x3c9bde,_0x35ba11,_0x391e41-0x393);}return this[_0x76c35f(0x420,0x5b0,0x4f5,_0x44406d._0xda94cf)];}['getMemory'](){const _0x27e55f={_0x24c3e6:0xb1,_0x1f7e54:0x163},_0x7fd7c9={_0x54b677:0xfe,_0x459144:0xe4};function _0x132bed(_0x47da7e,_0x179e5b,_0x2fa50f,_0x2a0f06){return _0x199b7d(_0x47da7e-_0x7fd7c9._0x54b677,_0x2fa50f- -0x58c,_0x2fa50f-_0x7fd7c9._0x459144,_0x2a0f06);}return this[_0x132bed(-_0x27e55f._0x24c3e6,0x80,-_0x27e55f._0x1f7e54,-0x1b5)];}[_0x199b7d(0x359,0x395,0x3a9,0x2b9)](){return this['status'];}[_0x3eba7a(-0xbb,0x1d8,-0x139,-0x4)](){return this['model'];}[_0x3eba7a(-0x15f,0xf9,0x70,-0x1a)](){const _0x483a0c={_0x3e2dec:0xbc,_0x87bfbe:0x132,_0x361b6d:0x26b,_0x32c9c4:0x63,_0x4fdd92:0x19f,_0x2592d7:0x211,_0x3f2e09:0x23b},_0x251904={_0x2df994:0x433,_0x37576f:0xb7},_0x428329={_0x47db05:0x3b,_0x1dd89b:0x59b,_0x2326d1:0x1a2};function _0x117e76(_0x1c8348,_0x578013,_0x578df3,_0x5cab90){return _0x199b7d(_0x1c8348-_0x428329._0x47db05,_0x578013- -_0x428329._0x1dd89b,_0x578df3-_0x428329._0x2326d1,_0x5cab90);}function _0x3d4ea1(_0x2a3cad,_0x4d461f,_0x346c94,_0x1c8448){return _0x199b7d(_0x2a3cad-0x9b,_0x346c94- -_0x251904._0x2df994,_0x346c94-_0x251904._0x37576f,_0x2a3cad);}return this[_0x117e76(-_0x483a0c._0x3e2dec,-_0x483a0c._0x87bfbe,-_0x483a0c._0x361b6d,-_0x483a0c._0x32c9c4)]?.[_0x3d4ea1(_0x483a0c._0x4fdd92,_0x483a0c._0x2592d7,0x24b,_0x483a0c._0x3f2e09)]()||[];}[_0x3eba7a(0x2f4,0x23f,0x323,0x186)](){const _0x37b17a={_0x4eb310:0x421,_0xf52592:0x240,_0x9938f9:0x382,_0x23012e:0x32b,_0x3425d4:0x458},_0x2598be={_0x236968:0xfd,_0x125284:0x1b9};function _0x24e792(_0x5a1458,_0x54ac80,_0x23cf2e,_0x59d742){return _0x3eba7a(_0x5a1458-0x83,_0x54ac80-0x8,_0x54ac80,_0x59d742-0x170);}function _0x57b082(_0x44f27e,_0x6237ea,_0x1ee466,_0x25ed68){return _0x199b7d(_0x44f27e-_0x2598be._0x236968,_0x6237ea- -_0x2598be._0x125284,_0x1ee466-0x53,_0x44f27e);}return this[_0x24e792(_0x37b17a._0x4eb310,0x309,_0x37b17a._0xf52592,0x2d2)]?.[_0x57b082(_0x37b17a._0x9938f9,0x474,_0x37b17a._0x23012e,_0x37b17a._0x3425d4)]();}[_0x199b7d(0x4d1,0x361,0x378,0x26a)](){return this['orchestrator']?.['getLLM']();}[_0x3eba7a(-0x2f9,-0x1a,-0x129,-0x157)](){const _0xb502fc={_0x1314b0:0x473},_0x2be0db={_0x4c384f:0x1aa,_0x28507e:0x2e};function _0x2d9e72(_0x2a3668,_0x4afa46,_0x3cd528,_0x3aac0b){return _0x199b7d(_0x2a3668-_0x2be0db._0x4c384f,_0x3aac0b- -_0x2be0db._0x28507e,_0x3cd528-0x127,_0x2a3668);}return this[_0x2d9e72(0x6d6,_0xb502fc._0x1314b0,0x6d8,0x5db)]?.['getConfig']();}async[_0x3eba7a(-0x157,-0x1b8,-0x1f0,-0x110)](_0x467d86){const _0xbae738={_0x32198c:0x60,_0x344af9:0x6e,_0x2fb3b5:0x47,_0x88973b:0xfd,_0x1f7d14:0x1ae,_0x3bbe3e:0x11b,_0x52dad2:0x117,_0xfb9a5:0x4f,_0x29c298:0xaf,_0x2018e2:0x173,_0xce3d42:0x1b8,_0x40fd60:0x65,_0x401047:0x47,_0xb03eba:0x107,_0x186cba:0xc5,_0xa09b1f:0x109,_0x43ec74:0x9e},_0x1ca0d4={_0x48822b:0x47,_0x234f4c:0x183},_0x37ccc1={_0x278107:0x18a};function _0x120026(_0x3c1c1c,_0x391eaa,_0x30a40f,_0x5157ba){return _0x3eba7a(_0x3c1c1c-_0x37ccc1._0x278107,_0x391eaa-0xc2,_0x5157ba,_0x30a40f- -0x7c);}function _0x150daa(_0x5b8060,_0x214662,_0x5a251d,_0xf15fcc){return _0x3eba7a(_0x5b8060-_0x1ca0d4._0x48822b,_0x214662-_0x1ca0d4._0x234f4c,_0x214662,_0x5a251d- -0x30);}if(this[_0x150daa(_0xbae738._0x32198c,-0x21b,-_0xbae738._0x344af9,-0x52)]&&this['orchestrator']){await this[_0x150daa(-0x114,_0xbae738._0x2fb3b5,-0x6e,_0xbae738._0x88973b)][_0x120026(_0xbae738._0x1f7d14,_0xbae738._0x3bbe3e,-0x42,-_0xbae738._0x52dad2)](_0x467d86);let _0xbf687a=this[_0x150daa(_0xbae738._0xfb9a5,_0xbae738._0x29c298,-0x6e,-_0xbae738._0x2018e2)][_0x120026(_0xbae738._0xce3d42,0x254,0x106,-_0xbae738._0x40fd60)](),_0x2e63c5=[];for(let _0x48b87f of _0xbf687a)_0x2e63c5['push'](..._0x48b87f[_0x120026(0xf4,0x18b,-_0xbae738._0x401047,-_0xbae738._0xb03eba)]);let _0x15a794=[...Ho,..._0x2e63c5];this[_0x150daa(0x243,-_0xbae738._0x186cba,0x132,0xe8)][_0x120026(_0xbae738._0xa09b1f,-0x52,-0xb3,-_0xbae738._0x43ec74)]({'enabledTools':_0x15a794});}}[_0x3eba7a(0xeb,-0x201,-0x2f,-0x57)](){const _0x2a1ad7={_0x3b44ef:0x38b},_0x43de2e={_0xb405ed:0x197,_0xf20b5d:0x1ef};function _0x1e5aa2(_0x202acb,_0x52f2ae,_0x473e48,_0x2c62d6){return _0x3eba7a(_0x202acb-_0x43de2e._0xb405ed,_0x52f2ae-_0x43de2e._0xf20b5d,_0x52f2ae,_0x202acb-0x3f2);}return{'sessionId':this[_0x1e5aa2(0x323,_0x2a1ad7._0x3b44ef,0x4ca,0x346)],'sessionDir':this['sessionDir']};}[_0x3eba7a(-0x32,0x3f,-0x9b,-0x7d)](){const _0x22cfb1={_0x336027:0x7f,_0x39696e:0x15c,_0x174104:0x270},_0x5c114d={_0x1692c7:0x1ec,_0x235dd8:0x72};function _0x5e8e60(_0x3db8f5,_0x3f55f7,_0x1e2fd1,_0x44d16d){return _0x199b7d(_0x3db8f5-_0x5c114d._0x1692c7,_0x3db8f5- -0x2fe,_0x1e2fd1-_0x5c114d._0x235dd8,_0x3f55f7);}return this[_0x5e8e60(0x16b,-_0x22cfb1._0x336027,_0x22cfb1._0x39696e,_0x22cfb1._0x174104)];}[_0x3eba7a(-0x320,-0x146,-0x349,-0x154)](_0x2be61b){this['mcpManager']=_0x2be61b;}async[_0x3eba7a(-0x45,0x1a,-0x6,0x47)](){const _0x14344a={_0x4f5f4f:0x193,_0x3ffe70:0x29d,_0x49a31f:0x337,_0x19553e:0x1af},_0x226819={_0x42e2e0:0x160,_0x242368:0x7b};function _0x5865eb(_0x4863a8,_0x44601f,_0x2e2c06,_0x14e3d6){return _0x199b7d(_0x4863a8-_0x226819._0x42e2e0,_0x44601f- -0x132,_0x2e2c06-_0x226819._0x242368,_0x4863a8);}function _0x41aa87(_0xfe01ce,_0x587f05,_0x2fbe81,_0x88eb01){return _0x199b7d(_0xfe01ce-0x15e,_0x2fbe81- -0x156,_0x2fbe81-0x181,_0x88eb01);}this[_0x41aa87(_0x14344a._0x4f5f4f,0x132,0x313,_0x14344a._0x3ffe70)]&&await this[_0x5865eb(0x216,_0x14344a._0x49a31f,0x3cb,_0x14344a._0x19553e)]['disconnectAllServers']();}async[_0x199b7d(0x6d1,0x5a8,0x7ad,0x5fd)](_0x3e698d,_0x107bc1){const _0x3fb6f8={_0x2bcc46:0x5b5,_0x44ff8b:0x5a6,_0x51023c:0x59d,_0x28da19:0x393,_0x2c11f7:0x699,_0x40be36:0x514,_0x1dd353:0x3df,_0x56b244:0x3d7,_0x205feb:0x4b7,_0x2a0fa1:0x21a,_0x472f97:0x7d,_0x3de2af:0x730,_0x3ea898:0x5e6,_0x501cda:0x591,_0x31eb83:0x15d,_0x9699fa:0x339,_0x310479:0x3ee,_0x49ea47:0x34c},_0x212efb={_0x3abcbe:0xf5};((async()=>{const _0x417054={_0x41098d:0x16e};function _0x21c470(_0x569efb,_0x2ef7fa,_0x1423b7,_0xdb039c){return _0x58a4(_0x569efb- -_0x417054._0x41098d,_0x1423b7);}function _0x4aa55d(_0x262e29,_0x39cf1f,_0x274fa5,_0x439a78){return _0x58a4(_0x439a78-_0x212efb._0x3abcbe,_0x274fa5);}try{let {mcpPorts:_0x42738a,enabledTools:_0x33fce2}=await _0x3e698d[_0x4aa55d(_0x3fb6f8._0x2bcc46,0x655,_0x3fb6f8._0x44ff8b,_0x3fb6f8._0x51023c)]();if(_0x42738a[_0x21c470(0x388,_0x3fb6f8._0x28da19,0x583,0x3c6)]>0x0&&this[_0x4aa55d(_0x3fb6f8._0x2c11f7,0x577,0x34b,_0x3fb6f8._0x40be36)]){let _0x2c181e=this[_0x4aa55d(0x436,0x6dd,_0x3fb6f8._0x1dd353,0x514)]['getTools'](),_0x52db5c=new _0x38bed2([_0x2c181e,..._0x42738a]);this['orchestrator'][_0x4aa55d(_0x3fb6f8._0x56b244,0x486,0x5e3,_0x3fb6f8._0x205feb)](_0x52db5c);let _0x3cd005=[...Ho,..._0x33fce2];this['orchestrator']['updateConfig']({'enabledTools':_0x3cd005});}}catch(_0x174baf){console[_0x4aa55d(0x248,0x244,_0x3fb6f8._0x2a0fa1,0x21c)](_0x21c470(0xe5,_0x3fb6f8._0x472f97,0x20,0x15f),_0x174baf),_0x107bc1[_0x4aa55d(0x5e6,_0x3fb6f8._0x3de2af,_0x3fb6f8._0x3ea898,_0x3fb6f8._0x501cda)](_0x21c470(0x202,_0x3fb6f8._0x31eb83,0x28c,_0x3fb6f8._0x9699fa)+(_0x174baf instanceof Error?_0x174baf[_0x4aa55d(_0x3fb6f8._0x310479,0x6ce,_0x3fb6f8._0x49ea47,0x51a)]:String(_0x174baf)));}})());}[_0x3eba7a(0x186,-0x207,0x20,-0x37)](_0x5b9272){const _0xdd4a30={_0x33bc27:0x474,_0x204126:0x585,_0xe4b152:0x415,_0x406a43:0x53c,_0x3284f6:0x53c,_0x3e75bf:0x6c6,_0x6e3aaf:0x4be,_0x16747d:0x583,_0x4205e4:0x5d3,_0x3c2525:0x47b,_0x5a1e3a:0x583,_0x409852:0x422,_0x412e23:0x2a6,_0x2a6168:0x2fc},_0x3f3a08={_0x317e77:0x65,_0x8c289b:0xcc},_0x20eb03={_0x2d6eaa:0x18c};if(!this['orchestrator'])throw new Error(_0xe45e55(_0xdd4a30._0x33bc27,0x65d,_0xdd4a30._0x204126,0x612));function _0x44b326(_0x587124,_0x2df46c,_0x3fd7c4,_0x2b8b57){return _0x199b7d(_0x587124-_0x20eb03._0x2d6eaa,_0x587124- -0x48,_0x3fd7c4-0x35,_0x2df46c);}function _0xe45e55(_0x50b2ed,_0x281b39,_0x2f7905,_0x38a63c){return _0x199b7d(_0x50b2ed-_0x3f3a08._0x317e77,_0x2f7905-_0x3f3a08._0x8c289b,_0x2f7905-0xc,_0x38a63c);}this['orchestrator'][_0xe45e55(_0xdd4a30._0xe4b152,_0xdd4a30._0x406a43,_0xdd4a30._0x3284f6,_0xdd4a30._0x3e75bf)](_0x5b9272),_0x5b9272[_0xe45e55(_0xdd4a30._0x6e3aaf,0x432,_0xdd4a30._0x16747d,_0xdd4a30._0x4205e4)]&&(this[_0xe45e55(_0xdd4a30._0x3c2525,0x6df,_0xdd4a30._0x5a1e3a,_0xdd4a30._0x409852)]=_0x5b9272[_0x44b326(0x46f,_0xdd4a30._0x412e23,0x331,_0xdd4a30._0x2a6168)]);}async[_0x3eba7a(0x404,0x15b,0x374,0x22e)](){const _0x177081={_0x55ab16:0x6fd,_0x3a0558:0x7b1,_0x1144f9:0x87b,_0x2d80a2:0x6ed,_0x197842:0x478,_0x324b42:0x4bb,_0x28b708:0x5d4,_0x1a6a8e:0x6e5,_0x56918a:0x3e3,_0x47793b:0x4a3,_0x409ab2:0x815,_0x6ba462:0x43e,_0x4f7ea4:0x484,_0x3e9096:0x452},_0x361cac={_0x48d30e:0xa7},_0x3ab49b={_0x1cf97c:0x3b,_0x1b68d7:0x3dd};function _0x3fd4a2(_0x95ac9b,_0xcd2a96,_0x2045c0,_0x535d5c){return _0x3eba7a(_0x95ac9b-0x140,_0xcd2a96-_0x3ab49b._0x1cf97c,_0x535d5c,_0xcd2a96-_0x3ab49b._0x1b68d7);}if(!this['conversationStore'])return;function _0x4c2ac6(_0x4515c1,_0x4bcb9f,_0x47708f,_0x72043e){return _0x199b7d(_0x4515c1-_0x361cac._0x48d30e,_0x4bcb9f-0x18b,_0x47708f-0x161,_0x47708f);}let _0x3ffc15=this[_0x4c2ac6(0x688,_0x177081._0x55ab16,_0x177081._0x3a0558,_0x177081._0x1144f9)][_0x4c2ac6(0x5eb,_0x177081._0x2d80a2,0x5d5,0x8de)]();(await this['conversationStore']['getConversation'](_0x3ffc15))[_0x3fd4a2(_0x177081._0x197842,_0x177081._0x324b42,0x6a8,_0x177081._0x28b708)][_0x3fd4a2(0x446,0x515,_0x177081._0x1a6a8e,0x33a)]||await this[_0x3fd4a2(0x38b,_0x177081._0x56918a,0x319,_0x177081._0x47793b)][_0x4c2ac6(0x976,_0x177081._0x409ab2,0x899,0x9a0)](_0x3ffc15,{'messages':[],'metadata':{'createdAt':new Date()[_0x3fd4a2(0x621,0x452,_0x177081._0x6ba462,0x2a5)](),'updatedAt':new Date()[_0x3fd4a2(_0x177081._0x4f7ea4,_0x177081._0x3e9096,0x4ea,0x392)](),'messageCount':0x0}});}async[_0x3eba7a(0x10c,0x1fd,0xdb,0x104)](_0x3be7e2,_0xb440a3){const _0x387719={_0x37603a:0x315,_0x2548ba:0x50c,_0x238e03:0x3ee,_0x53f2ef:0x2ef,_0x3c0041:0x2da,_0x2f473b:0x303,_0x54956c:0x60c,_0x454457:0x85,_0x26f8af:0x15a,_0x2e9976:0xe1,_0x5abaab:0x1b8,_0x425bb1:0x45c},_0x268a93={_0x2a6903:0x11b,_0x38506d:0x149},_0x55c708={_0x56894a:0x40};if(!this['conversationStore']||!this[_0x12e722(_0x387719._0x37603a,_0x387719._0x2548ba,_0x387719._0x238e03,_0x387719._0x53f2ef)])return;function _0x150b1d(_0x3819c9,_0x2cfafe,_0x68b0d9,_0x50746f){return _0x3eba7a(_0x3819c9-0xb0,_0x2cfafe-_0x55c708._0x56894a,_0x68b0d9,_0x2cfafe-0x2f3);}let _0xf34b7b=await this[_0x12e722(_0x387719._0x37603a,_0x387719._0x3c0041,0x1c3,_0x387719._0x2f473b)][_0x150b1d(_0x387719._0x54956c,0x42c,0x493,0x252)](_0x3be7e2);function _0x12e722(_0x1ff0a0,_0x3c34d5,_0x6edd6a,_0x4ba850){return _0x3eba7a(_0x1ff0a0-_0x268a93._0x2a6903,_0x3c34d5-_0x268a93._0x38506d,_0x4ba850,_0x1ff0a0-0x393);}await this['conversationStore'][_0x150b1d(-_0x387719._0x454457,_0x387719._0x26f8af,_0x387719._0x2e9976,_0x387719._0x5abaab)](_0x3be7e2,{'messageCount':_0xf34b7b[_0x12e722(0x5cc,0x3d3,_0x387719._0x425bb1,0x798)]}),_0xb440a3&&await this['conversationStore']['incrementTokens'](_0x3be7e2,_0xb440a3);}[_0x199b7d(0x3b2,0x58c,0x5ab,0x6f6)](_0x2f8458){const _0x240d57={_0x1a5ab4:0x284,_0x4146c6:0x3ca,_0x76edf6:0xe9,_0xd73028:0x169},_0x2bff56={_0x39e05d:0x426,_0x4b87b9:0x17e};let _0x19e5e1=this[_0x26a081(0x52f,0x57a,_0x240d57._0x1a5ab4,_0x240d57._0x4146c6)]();function _0x26a081(_0x59524d,_0x189541,_0x45d6f4,_0x210208){return _0x3eba7a(_0x59524d-0x144,_0x189541-0x199,_0x189541,_0x210208-0x1ac);}function _0x26374c(_0x3cf644,_0x41e3ab,_0x2ff71b,_0x307321){return _0x199b7d(_0x3cf644-0x1d6,_0x2ff71b- -_0x2bff56._0x39e05d,_0x2ff71b-_0x2bff56._0x4b87b9,_0x3cf644);}return this['llmFactory']['createLLM'](_0x19e5e1[_0x26374c(-_0x240d57._0x76edf6,-_0x240d57._0xd73028,-0xc,-0x20c)],{'httpLogFile':_0x2f8458});}[_0x199b7d(0x23b,0x31e,0x37e,0x3b5)](){const _0x2fd341={_0x3a19f9:0x10},_0x806c0a={_0x2cde3d:0x1a1,_0x27729b:0x1df};function _0xeb4264(_0x5d8c24,_0x47ecc5,_0xf844b8,_0x50de4e){return _0x199b7d(_0x5d8c24-_0x806c0a._0x2cde3d,_0x50de4e- -0x281,_0xf844b8-_0x806c0a._0x27729b,_0x47ecc5);}return this[_0xeb4264(_0x2fd341._0x3a19f9,0x7e,0x121,0xbf)];}async[_0x199b7d(0x65a,0x6f4,0x6ea,0x768)](_0x1bd837,_0x3efbc1={},_0x4763d5={}){const _0x1b1d10={_0x5cda03:0x351,_0x4d25c2:0x3c9,_0x33feed:0x59e,_0x2f4c51:0x47f,_0x46ee53:0x2bc,_0x5db4ec:0x185,_0x525da0:0x362,_0x152135:0xf8,_0x1e4ce4:0x36d,_0x36c4b2:0x1b8,_0x6e6fb1:0x4b6,_0x3efec2:0x41d,_0xed9ef6:0x4e6,_0x53f858:0x302,_0x59117a:0x3f9,_0x566f70:0x2bd,_0x1c1332:0xef,_0x4101f6:0x22d,_0x5064a5:0x374,_0x8f7d3:0x1f0,_0x4edc1c:0x3a2,_0x424e91:0x13e,_0x471105:0x500,_0x3aab94:0x269,_0x42a139:0x28a,_0x4d58e8:0xbf,_0x5e4249:0x428,_0x1e6145:0x1d6,_0x109b84:0x373,_0x4a46e1:0x17d,_0x4fb960:0x98,_0x160887:0x2b,_0xbb5a00:0x349,_0xe9afa6:0x223,_0x4538db:0xc5,_0x1fd69f:0x2b2,_0x199134:0x51d,_0x3d92a6:0x30b,_0x35afc4:0x36b,_0x556d87:0x19a,_0x153a50:0x429,_0x2287b3:0x3c2,_0x22fcf3:0x5a6,_0xc024a2:0x539,_0x56293a:0x3cc,_0x1ae387:0x4d1,_0x4ecfd7:0x359,_0x1fc14f:0x156,_0x4949d8:0x20f,_0x4ef46e:0x18e,_0xb50593:0x211,_0x18234c:0x77,_0x2b1630:0x19e,_0x539863:0x23d,_0x3251b5:0x385,_0x35bebe:0x305},_0xf68eb9={_0x15a2e0:0x605,_0x4936c3:0x4ad,_0xd5f366:0x22,_0x2555aa:0x93,_0x1c32cf:0x1d3,_0x575355:0x641,_0x199316:0x78e,_0x1ac359:0x164,_0x3ff74d:0x163,_0x2e0a4c:0x49,_0x491eeb:0x817,_0x5770f0:0x4d,_0x352c07:0x228,_0x566867:0x9,_0x158c92:0x107},_0x399db5={_0x1bf893:0x30a,_0x257284:0x4dd,_0x2fc84a:0x35d,_0x20b675:0x743,_0x2cd3b9:0x3c2,_0x54d47f:0x560,_0x298b68:0x245,_0xd71e67:0x33e,_0x317527:0x49c,_0x2c4f6a:0x763,_0x5b7aeb:0x60d,_0x4e8cbe:0x194,_0x389c2d:0x391,_0x522bbb:0x264,_0x270c3b:0x321,_0x3c2543:0x450},_0x2d7dbc={_0x1babaf:0xa6},_0x3d9393={_0xeda565:0xb0,_0x15ac1c:0x28a};if(!this[_0x4eeb6c(0x2b6,0x483,_0x1b1d10._0x5cda03,_0x1b1d10._0x4d25c2)])throw new Error('Orchestrator\x20not\x20initialized');function _0x557152(_0x36f638,_0x32cc5c,_0x17e72e,_0x5707fb){return _0x199b7d(_0x36f638-_0x3d9393._0xeda565,_0x36f638- -_0x3d9393._0x15ac1c,_0x17e72e-0x33,_0x17e72e);}let _0x430946=this[_0x557152(0x43b,0x2a1,_0x1b1d10._0x33feed,_0x1b1d10._0x2f4c51)](),_0x413dbb=(_0x430946['config'][_0x4eeb6c(_0x1b1d10._0x46ee53,0x1f5,_0x1b1d10._0x5db4ec,0x2d0)]?.[_0x4eeb6c(0x2d5,0x4e9,0x202,_0x1b1d10._0x525da0)]??!0x1)&&this[_0x557152(_0x1b1d10._0x152135,0xe3,0x240,-0xcb)]?_0x189454[_0x4eeb6c(0x2ea,0x2d1,_0x1b1d10._0x1e4ce4,_0x1b1d10._0x36c4b2)](this['sessionDir'],_0x557152(0x2fc,_0x1b1d10._0x6e6fb1,_0x1b1d10._0x3efec2,_0x1b1d10._0xed9ef6)):void 0x0,_0x42b572=this[_0x557152(_0x1b1d10._0x53f858,0x157,0x488,_0x1b1d10._0x59117a)](_0x413dbb);this[_0x4eeb6c(0x4a6,0x272,_0x1b1d10._0x566f70,_0x1b1d10._0x4d25c2)][_0x557152(0xe3,0x1c4,-0x7d,_0x1b1d10._0x1c1332)](_0x42b572);let _0x302d15={'model':_0x430946[_0x557152(_0x1b1d10._0x4101f6,_0x1b1d10._0x5064a5,_0x1b1d10._0x8f7d3,_0x1b1d10._0x4edc1c)],'reasoningEffort':_0x430946[_0x4eeb6c(0x24b,0x312,0x23d,_0x1b1d10._0x424e91)],..._0x4763d5};function _0x4eeb6c(_0x3e6537,_0x43b2d8,_0x30f09a,_0x1843d3){return _0x199b7d(_0x3e6537-0x159,_0x1843d3- -0x240,_0x30f09a-_0x2d7dbc._0x1babaf,_0x3e6537);}Object[_0x4eeb6c(_0x1b1d10._0x471105,_0x1b1d10._0x3aab94,0x634,0x440)](_0x302d15)['length']>0x0&&(this['orchestrator'][_0x557152(0x1e6,_0x1b1d10._0x42a139,0x3bd,0x44)](_0x302d15),_0x302d15[_0x4eeb6c(0xc9,_0x1b1d10._0x4d58e8,0x1b3,0x277)]&&(this[_0x4eeb6c(_0x1b1d10._0x5e4249,_0x1b1d10._0x1e6145,_0x1b1d10._0x109b84,0x277)]=_0x302d15[_0x557152(0x22d,0xdc,0x141,0x311)]));let _0x1cb036=_0x3efbc1[_0x557152(0xbb,0x117,_0x1b1d10._0x4a46e1,-0x10d)]??this['conversationContext']['getActiveConversationId']();try{let _0x30e919=await Do(async()=>this[_0x557152(0x37f,0x53c,0x3ed,0x1df)]?.[_0x4eeb6c(0x4c0,0x58c,0x396,0x4b4)](_0x1bd837,{..._0x3efbc1,'conversationId':_0x1cb036}),{'maxRetries':0xa,'delayMs':0x2710,'signal':_0x3efbc1[_0x557152(0x18c,_0x1b1d10._0x4fb960,_0x1b1d10._0x160887,_0x1b1d10._0xbb5a00)],'onRetry':(_0x26f03d,_0x26dc9d,_0x577c39)=>{const _0x5b3a5c={_0x2d12ca:0x24},_0x47a0d1={_0x39ba46:0x7f,_0x5639fb:0x23e};function _0x4471fa(_0x57df0d,_0x527580,_0x2959fb,_0x2772fd){return _0x4eeb6c(_0x527580,_0x527580-0x22,_0x2959fb-_0x47a0d1._0x39ba46,_0x2959fb-_0x47a0d1._0x5639fb);}function _0x11203f(_0x14f7a6,_0x318a79,_0x5ebf09,_0x8ab4ba){return _0x4eeb6c(_0x8ab4ba,_0x318a79-0x98,_0x5ebf09-0x112,_0x14f7a6-_0x5b3a5c._0x2d12ca);}L[_0x4471fa(0x561,_0x399db5._0x1bf893,_0x399db5._0x257284,_0x399db5._0x2fc84a)](_0x4471fa(0x5c7,0x445,0x59d,_0x399db5._0x20b675),{'id':_0x186e25[_0x4471fa(0x1fe,0x2cc,_0x399db5._0x2cd3b9,0x292)](),'type':_0x4471fa(_0x399db5._0x54d47f,0x49f,0x675,0x4e7),'content':_0x4471fa(0x2f2,0x45a,0x3b8,_0x399db5._0x298b68)+_0x26f03d+_0x11203f(0x207,0x1c8,_0x399db5._0xd71e67,0x1cc)+_0x577c39+'s...\x20Error:\x20'+_0x26dc9d[_0x4471fa(_0x399db5._0x317527,_0x399db5._0x2c4f6a,_0x399db5._0x5b7aeb,0x77e)],'metadata':{'timestamp':new Date()[_0x11203f(0x300,_0x399db5._0x4e8cbe,_0x399db5._0x389c2d,0x34c)]()},'color':_0x4471fa(0x1ae,_0x399db5._0x522bbb,_0x399db5._0x270c3b,_0x399db5._0x3c2543)});},'onNonRetryable':_0xa9885e=>{const _0x489cbb={_0x385191:0x49,_0x469269:0x29e};function _0x112eec(_0x52fb7f,_0x40c6e8,_0x57fdf2,_0x58ed1f){return _0x4eeb6c(_0x52fb7f,_0x40c6e8-_0x489cbb._0x385191,_0x57fdf2-0x3c,_0x40c6e8-_0x489cbb._0x469269);}function _0x4a3532(_0x40edfe,_0x1350eb,_0x111d72,_0x72a9d0){return _0x4eeb6c(_0x1350eb,_0x1350eb-0xbc,_0x111d72-0x18d,_0x40edfe- -0x381);}L[_0x112eec(_0xf68eb9._0x15a2e0,0x53d,0x3e2,_0xf68eb9._0x4936c3)](_0x4a3532(-_0xf68eb9._0xd5f366,0xc1,-0x8c,0x56),{'id':_0x186e25[_0x4a3532(-0x1fd,-0x44,-_0xf68eb9._0x2555aa,-_0xf68eb9._0x1c32cf)](),'type':_0x112eec(_0xf68eb9._0x575355,0x6d5,0x863,_0xf68eb9._0x199316),'content':_0x4a3532(-_0xf68eb9._0x1ac359,-_0xf68eb9._0x3ff74d,-0x2f0,_0xf68eb9._0x2e0a4c)+_0xa9885e[_0x112eec(_0xf68eb9._0x491eeb,0x66d,0x5ac,0x619)],'metadata':{'timestamp':new Date()[_0x4a3532(-0xa5,_0xf68eb9._0x5770f0,-_0xf68eb9._0x352c07,_0xf68eb9._0x566867)]()},'color':_0x4a3532(-0x235,-0x1e1,-0x33d,-_0xf68eb9._0x158c92)});}});return _0x30e919&&this[_0x557152(_0x1b1d10._0xe9afa6,0x27d,_0x1b1d10._0x4538db,_0x1b1d10._0x1fd69f)]&&await this[_0x4eeb6c(_0x1b1d10._0x199134,_0x1b1d10._0x3d92a6,0x3bb,_0x1b1d10._0x35afc4)](_0x1cb036,{'promptTokens':_0x30e919[_0x557152(0x2fb,0x111,_0x1b1d10._0x556d87,_0x1b1d10._0x153a50)]?.[_0x4eeb6c(_0x1b1d10._0x2287b3,_0x1b1d10._0x22fcf3,_0x1b1d10._0xc024a2,_0x1b1d10._0x56293a)],'completionTokens':_0x30e919['metadata']?.[_0x4eeb6c(0x445,0x525,_0x1b1d10._0x1ae387,0x3b5)],'totalTokens':_0x30e919[_0x4eeb6c(_0x1b1d10._0x4ecfd7,_0x1b1d10._0x1fc14f,0x1fc,0x345)]?.[_0x557152(_0x1b1d10._0x4949d8,_0x1b1d10._0x4ef46e,0xc6,0x32c)]}),_0x30e919;}catch(_0x330293){if(_0x330293 instanceof le)throw _0x330293;if(_0x330293 instanceof Error&&(_0x330293['name']===_0x4eeb6c(_0x1b1d10._0xb50593,_0x1b1d10._0x18234c,0x57,0x25b)||/aborted/i[_0x4eeb6c(0x129,0x3d4,_0x1b1d10._0x2b1630,_0x1b1d10._0x539863)](_0x330293['message'])))throw new le(_0x330293[_0x557152(_0x1b1d10._0x3251b5,0x54d,0x291,_0x1b1d10._0x35bebe)]);return null;}}async[_0x199b7d(0x7d5,0x5d2,0x594,0x493)](_0x2be540={},_0x2bb320={}){const _0x28d4c4={_0x418e9c:0x252,_0x3966e6:0x36d,_0x3dcb08:0x102,_0xe90962:0x63,_0x35019a:0x7a6,_0x2603ae:0x8c1,_0x4ce6da:0x97e,_0x17a2ab:0x8b2,_0x423b29:0x5cf,_0x155bf8:0x639,_0xc5e791:0x67a,_0x5b6c32:0x5d7,_0x3df600:0x773,_0x3ca535:0x578,_0x1f9ebf:0x7c6,_0x501756:0x8c4,_0x183f63:0x1d5,_0x1d4b2b:0x37,_0xc2a9ce:0x897,_0x258dee:0x922,_0x1c560a:0x22,_0x38c594:0x189,_0x5db502:0x154,_0x2feed2:0xa9,_0x2ee2fe:0x2c9,_0x33bd1a:0x2eb,_0x4cca55:0x713,_0x224f30:0x805,_0x5a463f:0x6ce,_0x83bff4:0xf4,_0x393198:0x66,_0x520992:0x5d3,_0x4e90bc:0x6b3,_0x2eea26:0x7ce,_0x3ead1e:0x6b3,_0x1f3d95:0x852,_0x58ce92:0x27,_0x1f74cb:0x239,_0x26d6a8:0x3b4,_0x1ee765:0x541,_0x33dffe:0x1ab,_0x3905fe:0x295,_0x5c7ffc:0x36d,_0x154113:0x5f,_0x197480:0xa7,_0x2b474d:0x11d,_0x361e73:0x396,_0x41f9e0:0x330,_0x599ffe:0x397,_0x403a7c:0x21b,_0x56961b:0x268,_0x427082:0x808,_0x1a3a99:0x1ce,_0x355a1f:0x3ab,_0x356fea:0x23e,_0xb546a3:0x29a,_0x3d27bb:0x742,_0x1fef0f:0x781,_0x51163d:0x73f,_0x5b1e0d:0xe2,_0x1b5835:0x758,_0x46d35b:0x608,_0x3c3d20:0x19d},_0x4e6b48={_0x455f8b:0x509,_0x1c687a:0x5e5,_0x232322:0x5aa,_0x3b30af:0x7af,_0x5d30fd:0x542,_0xf0b065:0x355,_0x4ba315:0x478,_0x3e19a1:0x57e,_0x8e3cec:0x6a8,_0x19f036:0x6d9,_0x7e73a0:0x53c,_0x5b4683:0x548,_0x427a16:0x621},_0x4bbfb9={_0x20d9e6:0x481,_0x2bcf76:0x12f},_0x46643e={_0x728da4:0x6be,_0x157afb:0x53,_0x5082d2:0x88,_0x4d02a1:0x183,_0x8b5801:0x1bd,_0x1d41c5:0x2b4,_0x2c281d:0x148,_0x42973e:0x6a2,_0x5caee6:0x402,_0x460635:0xa7},_0x20bd4f={_0x51e135:0x6d},_0x2d489a={_0x5a62b3:0x1d4,_0x9d802b:0x6c},_0x85a4a3={_0x1b3309:0xbb},_0x36ad00={_0x38236f:0x1de,_0x4ff843:0x1fc};if(!this[_0x11da76(_0x28d4c4._0x418e9c,0x384,0x226,_0x28d4c4._0x3966e6)])throw new Error(_0x11da76(_0x28d4c4._0x3dcb08,-0xe6,-0xbc,_0x28d4c4._0xe90962));let _0x288ec3=this[_0xca3472(_0x28d4c4._0x35019a,_0x28d4c4._0x2603ae,0xabb,_0x28d4c4._0x4ce6da)](),_0x3d7a74=(_0x288ec3[_0xca3472(_0x28d4c4._0x17a2ab,0x7e6,0x7d6,0x9c5)][_0xca3472(_0x28d4c4._0x423b29,0x70c,_0x28d4c4._0x155bf8,0x89f)]?.[_0xca3472(_0x28d4c4._0xc5e791,0x79e,_0x28d4c4._0x5b6c32,0x70a)]??!0x1)&&this['sessionDir']?_0x189454[_0xca3472(_0x28d4c4._0x3df600,0x5f4,_0x28d4c4._0x3ca535,0x63d)](this['sessionDir'],_0xca3472(0x705,0x782,_0x28d4c4._0x1f9ebf,_0x28d4c4._0x501756)):void 0x0,_0xb78713=this[_0x11da76(_0x28d4c4._0x183f63,_0x28d4c4._0x1d4b2b,0x2dd,0x266)](_0x3d7a74);function _0xca3472(_0x49dad6,_0x17caa0,_0x36b35e,_0x33e698){return _0x199b7d(_0x49dad6-_0x36ad00._0x38236f,_0x17caa0-_0x36ad00._0x4ff843,_0x36b35e-0x66,_0x49dad6);}this[_0xca3472(_0x28d4c4._0xc2a9ce,0x805,0x70c,_0x28d4c4._0x258dee)][_0x11da76(-0x4a,-_0x28d4c4._0x1c560a,0x151,0x10b)](_0xb78713);let _0x79747b={'model':_0x288ec3['model'],'reasoningEffort':_0x288ec3[_0x11da76(-0x39,-_0x28d4c4._0x38c594,-_0x28d4c4._0x5db502,-_0x28d4c4._0x2feed2)],..._0x2bb320};function _0x11da76(_0x1992c1,_0x3871df,_0xea7906,_0x3b35b3){return _0x199b7d(_0x1992c1-0x1e9,_0x1992c1- -0x3b7,_0xea7906-_0x85a4a3._0x1b3309,_0x3871df);}Object[_0x11da76(_0x28d4c4._0x2ee2fe,0x282,_0x28d4c4._0x33bd1a,0x14d)](_0x79747b)['length']>0x0&&(this[_0xca3472(_0x28d4c4._0x4cca55,_0x28d4c4._0x224f30,_0x28d4c4._0x5a463f,0x640)][_0x11da76(0xb9,0xc5,-_0x28d4c4._0x83bff4,-_0x28d4c4._0x393198)](_0x79747b),_0x79747b[_0xca3472(_0x28d4c4._0x520992,_0x28d4c4._0x4e90bc,0x669,_0x28d4c4._0x2eea26)]&&(this[_0xca3472(0x754,_0x28d4c4._0x3ead1e,0x5cc,_0x28d4c4._0x1f3d95)]=_0x79747b[_0x11da76(0x100,-0xe4,_0x28d4c4._0x58ce92,_0x28d4c4._0x1f74cb)]));let _0x123dbd=_0x2be540[_0xca3472(_0x28d4c4._0x26d6a8,_0x28d4c4._0x1ee765,0x3b3,0x4c5)]??this['conversationContext'][_0x11da76(_0x28d4c4._0x33dffe,0x32e,_0x28d4c4._0x3905fe,_0x28d4c4._0x5c7ffc)]();try{let _0x3e8bdb=await Do(async()=>this['orchestrator']?.[_0xca3472(0x9e9,0x8f0,0x9fd,0x9a6)]('',{..._0x2be540,'conversationId':_0x123dbd,'retry':!0x0}),{'maxRetries':0xa,'delayMs':0x2710,'signal':_0x2be540[_0x11da76(_0x28d4c4._0x154113,0x16e,0x232,-_0x28d4c4._0x197480)],'onRetry':(_0x33cacc,_0x399b97,_0x490ca7)=>{function _0x274893(_0x548c06,_0x54cd1c,_0x8a92d7,_0x2d6de9){return _0xca3472(_0x2d6de9,_0x8a92d7- -0x7a2,_0x8a92d7-_0x2d489a._0x5a62b3,_0x2d6de9-_0x2d489a._0x9d802b);}function _0x1c0193(_0x562f30,_0x4020d1,_0x5858d4,_0x19634e){return _0xca3472(_0x562f30,_0x4020d1- -0x25a,_0x5858d4-0xc9,_0x19634e-_0x20bd4f._0x51e135);}L['emit'](_0x274893(-0x14f,-0x17b,-0x7,0x5f),{'id':_0x186e25[_0x274893(-0xb4,-0xbb,-0x1e2,-0xae)](),'type':_0x1c0193(0x5cc,0x619,0x432,_0x46643e._0x728da4),'content':'LLM\x20retry\x20failed\x20(attempt\x20'+_0x33cacc+_0x274893(_0x46643e._0x157afb,-_0x46643e._0x5082d2,-_0x46643e._0x4d02a1,-_0x46643e._0x8b5801)+_0x490ca7+_0x274893(_0x46643e._0x1d41c5,-0x39,0xf0,_0x46643e._0x2c281d)+_0x399b97[_0x1c0193(0x430,0x5b1,_0x46643e._0x42973e,0x7a5)],'metadata':{'timestamp':new Date()[_0x274893(-0x283,-0xba,-0x8a,-0x40)]()},'color':_0x274893(-0x400,-_0x46643e._0x5caee6,-0x283,-_0x46643e._0x460635)});},'onNonRetryable':_0x55f97c=>{function _0x2d7176(_0x20b57d,_0x1cdd14,_0x4aab70,_0xc4b0db){return _0x11da76(_0x1cdd14-0x573,_0x4aab70,_0x4aab70-0xbd,_0xc4b0db-0x4c);}function _0x1a58a8(_0xf6be08,_0x24bcc4,_0xcb302e,_0x223457){return _0x11da76(_0xcb302e-_0x4bbfb9._0x20d9e6,_0x223457,_0xcb302e-_0x4bbfb9._0x2bcf76,_0x223457-0xee);}L[_0x2d7176(_0x4e6b48._0x455f8b,0x69b,_0x4e6b48._0x1c687a,_0x4e6b48._0x232322)](_0x1a58a8(0x6b1,0x46c,0x669,_0x4e6b48._0x3b30af),{'id':_0x186e25[_0x2d7176(0x498,0x580,0x58a,_0x4e6b48._0x5d30fd)](),'type':'system','content':_0x1a58a8(0x53b,_0x4e6b48._0xf0b065,_0x4e6b48._0x4ba315,0x43d)+_0x55f97c[_0x1a58a8(_0x4e6b48._0x3e19a1,_0x4e6b48._0x8e3cec,_0x4e6b48._0x19f036,_0x4e6b48._0x7e73a0)],'metadata':{'timestamp':new Date()['toISOString']()},'color':_0x2d7176(0x558,_0x4e6b48._0x5b4683,0x5b5,_0x4e6b48._0x427a16)});}});return _0x3e8bdb&&this['conversationStore']&&await this[_0x11da76(0x1f4,_0x28d4c4._0x2b474d,_0x28d4c4._0x361e73,_0x28d4c4._0x41f9e0)](_0x123dbd,{'promptTokens':_0x3e8bdb[_0x11da76(0x1ce,_0x28d4c4._0x599ffe,_0x28d4c4._0x403a7c,_0x28d4c4._0x56961b)]?.[_0xca3472(0x810,_0x28d4c4._0x427082,0x6fc,0x861)],'completionTokens':_0x3e8bdb[_0x11da76(_0x28d4c4._0x1a3a99,0x162,0x199,_0x28d4c4._0x355a1f)]?.[_0x11da76(_0x28d4c4._0x356fea,_0x28d4c4._0xb546a3,0x151,0x33b)],'totalTokens':_0x3e8bdb[_0xca3472(_0x28d4c4._0x3d27bb,_0x28d4c4._0x1fef0f,_0x28d4c4._0x51163d,0x671)]?.[_0x11da76(_0x28d4c4._0x5b1e0d,0x2d7,-0x51,0x1d)]}),_0x3e8bdb;}catch(_0x315f29){if(_0x315f29 instanceof le)throw _0x315f29;if(_0x315f29 instanceof Error&&(_0x315f29[_0xca3472(0x59f,_0x28d4c4._0x1b5835,0x557,_0x28d4c4._0x46d35b)]===_0x11da76(0xe4,0xf3,_0x28d4c4._0x183f63,_0x28d4c4._0x3c3d20)||/aborted/i['test'](_0x315f29[_0x11da76(0x258,0x300,0x7b,0x1d4)])))throw new le(_0x315f29['message']);return null;}}[_0x3eba7a(0x10a,0x105,0x300,0x246)](){const _0x477e48={_0x1d75c7:0x20b,_0x349e5e:0xd,_0x4a177b:0x8c,_0x1e7e7e:0x2ff},_0x130ab0={_0x1b2319:0x12b,_0x5af97f:0x578,_0x289c84:0x81},_0x516708={_0x289cf2:0xa9,_0x20f97f:0x1c5,_0x5f4abd:0x157};function _0x5932da(_0x47cc94,_0x239e5a,_0x26d12d,_0x19842f){return _0x3eba7a(_0x47cc94-_0x516708._0x289cf2,_0x239e5a-_0x516708._0x20f97f,_0x239e5a,_0x19842f-_0x516708._0x5f4abd);}function _0x3c5549(_0x3cfcaf,_0x2e5823,_0x3d6259,_0xa766ff){return _0x199b7d(_0x3cfcaf-_0x130ab0._0x1b2319,_0x3d6259- -_0x130ab0._0x5af97f,_0x3d6259-_0x130ab0._0x289c84,_0xa766ff);}this[_0x3c5549(_0x477e48._0x1d75c7,_0x477e48._0x349e5e,0x91,-_0x477e48._0x4a177b)]=null,this[_0x3c5549(-0xaf,-0x2c1,-0x14f,-0xd4)]=null,this['model']='demo-echo',this['status']='Initializing',this[_0x3c5549(0x4f,-0x220,-0x1a0,-_0x477e48._0x1e7e7e)]=null,this['sessionDir']=null;}async['createNewConversation'](_0x50436e){const _0x5de7c4={_0x43fdbe:0x4c3,_0x359c8d:0x52c,_0x17bdbf:0x2e3,_0x2ca443:0x2ae,_0x2c3d47:0x6a3,_0x4ba6ee:0x593,_0x50a00e:0x544,_0x4b9579:0x94c,_0x4c240e:0x7c6,_0x15af02:0x7c0,_0x44437f:0x8f8,_0x1a3875:0x773,_0x2d580f:0x3f4,_0x4e5882:0x3b8,_0x5e0ee6:0x581,_0x29592d:0x88f,_0x39f29d:0x8c9,_0x5a0a91:0x6b7,_0x3f1efc:0x4bd,_0x5ef5e0:0x5f7,_0x3816d3:0x40b,_0x54da24:0x3fb,_0x5b85a5:0x4cb,_0x30a367:0x593,_0x21fb47:0x569,_0xdd4638:0x323,_0xe544f9:0x6f8,_0x58f31e:0x85d,_0x56ae37:0x672,_0x3337e7:0x71f,_0x567f8f:0x656,_0x5cff3b:0x64b,_0x54012d:0x4cc,_0x478234:0x720,_0x459b18:0x69f,_0x38ba99:0x2c0,_0x5a4c85:0x425,_0x4aec86:0x4ba,_0x39dd18:0x587,_0x3fb8db:0x531,_0x44e5ef:0x587,_0x2b1384:0x6c1,_0x5e7af1:0x63b,_0x26da9e:0x531,_0x5c39da:0x336,_0x2f4fda:0x36d,_0x1590db:0x2a3,_0x29e125:0x36f,_0x3177c1:0x284},_0x38c45b={_0x149ac4:0x67,_0x592d29:0xea},_0x42a504={_0xdbd8a0:0x130};if(!this[_0x3d5e55(0x73a,0x5eb,_0x5de7c4._0x43fdbe,0x55a)])throw new Error(_0x3d5e55(0x2fa,0x49b,0x5cb,0x404));if(!this['handlers'])throw new Error(_0x3d5e55(_0x5de7c4._0x359c8d,0x44e,_0x5de7c4._0x17bdbf,_0x5de7c4._0x2ca443));function _0xe94d93(_0x49dd9f,_0x43be0c,_0x2bff2f,_0x58f859){return _0x199b7d(_0x49dd9f-_0x42a504._0xdbd8a0,_0x43be0c-0x1af,_0x2bff2f-0x3e,_0x58f859);}let {sessionId:_0x5aba45,sessionDir:_0x5b9630}=this[_0xe94d93(_0x5de7c4._0x2c3d47,_0x5de7c4._0x4ba6ee,_0x5de7c4._0x50a00e,0x520)](_0x50436e),_0x4b8512=_0x50436e[_0xe94d93(_0x5de7c4._0x4b9579,0x7c0,_0x5de7c4._0x4c240e,0x7f2)]??this[_0xe94d93(0x62f,_0x5de7c4._0x15af02,_0x5de7c4._0x44437f,_0x5de7c4._0x1a3875)];_0x4b8512&&this[_0x3d5e55(_0x5de7c4._0x2d580f,_0x5de7c4._0x4e5882,0x28a,_0x5de7c4._0x5e0ee6)](_0x5b9630);let _0x3bb64d=this[_0xe94d93(_0x5de7c4._0x29592d,0x874,_0x5de7c4._0x39f29d,0x9f4)]()[_0x3d5e55(0x644,0x5cc,_0x5de7c4._0x5a0a91,_0x5de7c4._0x3f1efc)][_0x3d5e55(_0x5de7c4._0x5ef5e0,0x4f2,_0x5de7c4._0x3816d3,0x472)]?.[_0x3d5e55(_0x5de7c4._0x54da24,_0x5de7c4._0x5b85a5,_0x5de7c4._0x30a367,0x6a2)]??!0x1,_0x37ad5e=this[_0xe94d93(_0x5de7c4._0x21fb47,0x506,_0x5de7c4._0xdd4638,_0x5de7c4._0xe544f9)](_0x5b9630,_0x4b8512),_0xabe978=this[_0xe94d93(0x79f,_0x5de7c4._0x58f31e,0xa1e,_0x5de7c4._0x56ae37)](_0x5b9630,this[_0xe94d93(0x838,_0x5de7c4._0x3337e7,0x78a,_0x5de7c4._0x567f8f)],_0x3bb64d,this[_0xe94d93(0x630,0x4f2,_0x5de7c4._0x5cff3b,0x599)]);function _0x3d5e55(_0x31523b,_0x227872,_0x1ad70e,_0xbbd711){return _0x199b7d(_0x31523b-_0x38c45b._0x149ac4,_0x227872- -0x1e,_0x1ad70e-_0x38c45b._0x592d29,_0x31523b);}return this[_0x3d5e55(0x403,0x5eb,_0x5de7c4._0x54012d,_0x5de7c4._0x478234)]['setMemory'](_0x37ad5e),this[_0x3d5e55(_0x5de7c4._0x459b18,0x5eb,0x4dd,0x66d)][_0x3d5e55(_0x5de7c4._0x38ba99,0x32a,0x16f,0x2e6)](_0xabe978),this[_0x3d5e55(0x58d,_0x5de7c4._0x3816d3,0x2ae,0x317)]=_0x37ad5e,this[_0x3d5e55(_0x5de7c4._0x5a4c85,0x48f,0x30a,_0x5de7c4._0x4aec86)]=new _0x5ccf39(_0x37ad5e),this['memPersist']=_0x4b8512,this[_0xe94d93(0x714,_0x5de7c4._0x39dd18,0x44d,0x490)]=_0x4b8512?_0x5aba45:null,this[_0xe94d93(0x691,_0x5de7c4._0x3fb8db,0x5e5,0x578)]=_0x4b8512?_0x5b9630:null,{'sessionId':this[_0xe94d93(0x5c8,_0x5de7c4._0x44e5ef,_0x5de7c4._0x2b1384,0x622)],'sessionDir':this[_0xe94d93(_0x5de7c4._0x5e7af1,_0x5de7c4._0x26da9e,_0x5de7c4._0x5c39da,_0x5de7c4._0x2f4fda)],'memory':this[_0x3d5e55(_0x5de7c4._0x1590db,0x40b,_0x5de7c4._0x29e125,_0x5de7c4._0x3177c1)]};}async[_0x199b7d(0x747,0x68c,0x7d5,0x6c0)](_0x3cc780){const _0xf1164a={_0x3623a4:0x22a,_0xfe479a:0x227,_0x5ed529:0x20b,_0x2da85d:0x1ae,_0xe305aa:0x150,_0x56d67b:0x215,_0x18b3ad:0x99,_0x3c8de1:0x15c,_0x3b0c58:0x158,_0x4d079d:0x161,_0x2ce5d8:0x321,_0x2f6582:0x191,_0x1f2f2b:0x51,_0x2b3d11:0x402,_0x345f52:0x87,_0x42928f:0x47a,_0x3295a8:0x1d8,_0x4a80e0:0x27a,_0x474b5b:0xd2,_0x6b374a:0x103,_0xac2f8:0xb,_0x585657:0x1a4,_0x3df965:0x20e,_0x14796b:0xa1,_0xf74aa6:0x33},_0x22f642={_0x32e1e0:0x11a},_0x2be88e={_0x5bab03:0x85,_0x55f78a:0x3df,_0x28f043:0x187};if(!this[_0x34c2d6(_0xf1164a._0x3623a4,0x385,_0xf1164a._0xfe479a,0xff)])throw new Error('Orchestrator\x20not\x20initialized');if(!this['handlers'])throw new Error('Handlers\x20not\x20initialized');function _0x34c2d6(_0x239446,_0x5cbab7,_0x3db979,_0x355b15){return _0x199b7d(_0x239446-_0x2be88e._0x5bab03,_0x239446- -_0x2be88e._0x55f78a,_0x3db979-_0x2be88e._0x28f043,_0x355b15);}let {sessionId:_0x206ff2,sessionDir:_0x366940}=_0x3cc780,_0x4554e0=this['getCurrentConfig']()[_0x34c2d6(_0xf1164a._0x5ed529,0x228,_0xf1164a._0x2da85d,0x176)]['session']?.[_0x14388c(_0xf1164a._0xe305aa,_0xf1164a._0x56d67b,_0xf1164a._0x18b3ad,_0xf1164a._0x3c8de1)]??!0x1,_0x2882ea=this[_0x14388c(-0x1bf,-_0xf1164a._0x3b0c58,-0x1eb,-0x36)](_0x366940,!0x0),_0x596086=this[_0x14388c(_0xf1164a._0x4d079d,0x426,0x2e0,_0xf1164a._0x2ce5d8)](_0x366940,this[_0x34c2d6(_0xf1164a._0x2f6582,0x20b,-_0xf1164a._0x1f2f2b,0x27a)],_0x4554e0,this['streamingChunks']);function _0x14388c(_0x27daee,_0x10b26a,_0x44bbc1,_0x1412ca){return _0x3eba7a(_0x27daee-0x136,_0x10b26a-0xb2,_0x10b26a,_0x1412ca-_0x22f642._0x32e1e0);}return this[_0x14388c(_0xf1164a._0x2b3d11,_0xf1164a._0x345f52,_0xf1164a._0x42928f,0x27c)][_0x14388c(0x170,0xa6,0xe2,0x12e)](_0x2882ea),this['orchestrator'][_0x14388c(-0x218,-0x234,-_0xf1164a._0x3295a8,-0x45)](_0x596086),this['memory']=_0x2882ea,this[_0x34c2d6(0xce,_0xf1164a._0x4a80e0,0x1b4,-0xc3)]=new _0x5ccf39(_0x2882ea),this['memPersist']=!0x0,this[_0x14388c(-_0xf1164a._0x474b5b,-0xf1,-_0xf1164a._0x6b374a,0x4b)]=_0x206ff2,this[_0x14388c(-0x11b,-0x3b,-0x136,-_0xf1164a._0xac2f8)]=_0x366940,{'sessionId':this['sessionId'],'sessionDir':this[_0x34c2d6(-0x5d,0xaf,-_0xf1164a._0x585657,-_0xf1164a._0x3df965)],'memory':this[_0x14388c(_0xf1164a._0x14796b,-_0xf1164a._0xf74aa6,-0x38,0x9c)]};}async[_0x3eba7a(-0xd3,-0x26d,-0x1da,-0x87)](_0x323ba3,_0x421f8e){const _0x49bb54={_0x43df02:0x339,_0x4ba705:0x1b8,_0xca2c12:0x22f,_0x3efa2b:0x344,_0x5bc39e:0x3c0,_0x21bdee:0x7d,_0x351618:0x5e3,_0x3c3827:0x43e,_0x22dd44:0x3c6,_0x25c89a:0x1dc,_0x208b3f:0x392,_0x1e4202:0x54f,_0x17ae01:0x205,_0x2561dd:0x539,_0x516bf4:0x3c2,_0x47ea75:0x2ab,_0x1176da:0x599,_0x5693c7:0x332,_0x2b5c13:0x256,_0x54e297:0x6d3,_0x110f21:0x55f,_0x63f487:0x32e,_0x32a0cc:0x2f0,_0x331371:0x137,_0x175373:0x274,_0x52128e:0x2ea,_0x2cd983:0x22f,_0x5e72cf:0x57d,_0x1d3edc:0x1d6,_0x212008:0x2d0,_0x223023:0x163,_0x1d8f28:0xe5,_0xfb15cb:0x2b9,_0x22ed26:0x4f8,_0xcc7659:0x36e,_0x1c03c0:0x519,_0x4fd5c8:0x33a,_0x5101bf:0x400,_0x47ed45:0x7b,_0x31da50:0x1bf,_0x1666f1:0x1e0,_0x2310a8:0x32f,_0x1f9b32:0x325,_0x5b2694:0x1e0,_0x4f2f5e:0x127,_0x571716:0x1a8,_0x4e598f:0x2eb,_0x8e0912:0x272,_0x321291:0x1dc,_0x193e91:0x1bd,_0x473a17:0x30c,_0x177662:0x3e5,_0x4a28c3:0x334,_0x8d6d08:0x142,_0x4adb00:0x3bc,_0x406269:0x4fb,_0xb9c89:0x557,_0x4cbf71:0x119,_0x2debc5:0xa6,_0xd1bb66:0x442,_0x2facbc:0x6,_0x159909:0x33,_0x3f51b1:0x1cb,_0x4cb2d2:0x206},_0x2c3dfc={_0x148662:0x1a2,_0xabd81d:0x155},_0x23b3f6={_0x282d18:0x11f,_0x37e50c:0xe7,_0xae46c7:0x18d},_0x2333cf={_0x24fb70:0x548,_0x10a428:0x405,_0x41f9fd:0x427,_0x494a0f:0x52b,_0x263989:0x761,_0x2d49f9:0x627,_0xd20a21:0x4cb,_0x5c1070:0x667,_0x504612:0x5fe,_0x7721d6:0x467,_0x1076dd:0x5cf,_0x3e4b01:0x46a,_0x55f703:0x5f8,_0xc39fa2:0x330,_0x2a97d6:0x2d8},_0x158371={_0x42e835:0x248,_0x48b5b7:0xa,_0x30f6c7:0x1a2};let _0x1285ae=_0x421f8e??this[_0x47cdea(_0x49bb54._0x43df02,0x258,_0x49bb54._0x4ba705,_0x49bb54._0xca2c12)][_0x58f904(0x4ee,0x36f,_0x49bb54._0x3efa2b,_0x49bb54._0x5bc39e)](),_0x24a6e6='';if(this[_0x47cdea(-_0x49bb54._0x21bdee,0x10f,0x23,0x1e5)])try{let _0x2bf728=await this['memory'][_0x58f904(_0x49bb54._0x351618,0x2a3,0x341,_0x49bb54._0x3c3827)](_0x1285ae);if(_0x2bf728&&_0x2bf728[_0x47cdea(0x383,_0x49bb54._0x22dd44,0x2e9,0x529)]>0x0){let _0x1ba349=_0x2bf728[_0x58f904(0x1c0,_0x49bb54._0x25c89a,0x34e,_0x49bb54._0x208b3f)](_0x57f294=>_0x57f294[_0x47cdea(0x176,0x26d,0x118,0x1b0)]===_0x47cdea(0x192,0x280,0x1aa,0x14c));_0x1ba349[_0x47cdea(_0x49bb54._0x1e4202,0x3c6,_0x49bb54._0x17ae01,_0x49bb54._0x2561dd)]>0x0&&(_0x24a6e6=_0x1ba349[_0x47cdea(0x505,_0x49bb54._0x516bf4,_0x49bb54._0x47ea75,_0x49bb54._0x1176da)](_0x29f00e=>{const _0xcb1405={_0x3e4123:0xf9};function _0x5da720(_0x5dd486,_0x5e34f1,_0x400d9c,_0x9997f6){return _0x47cdea(_0x400d9c,_0x9997f6-0x1fa,_0x400d9c-0x114,_0x9997f6-_0xcb1405._0x3e4123);}function _0x3bb1f4(_0x1940bc,_0x362906,_0x123db7,_0x297112){return _0x47cdea(_0x123db7,_0x362906-_0x158371._0x42e835,_0x123db7-_0x158371._0x48b5b7,_0x297112-_0x158371._0x30f6c7);}let _0xe91de8='';return typeof _0x29f00e[_0x3bb1f4(_0x2333cf._0x24fb70,0x627,0x498,0x818)]==_0x5da720(0x370,_0x2333cf._0x10a428,_0x2333cf._0x41f9fd,_0x2333cf._0x494a0f)?_0xe91de8=_0x29f00e[_0x3bb1f4(_0x2333cf._0x263989,_0x2333cf._0x2d49f9,_0x2333cf._0xd20a21,_0x2333cf._0x5c1070)]:_0x29f00e['content']&&typeof _0x29f00e['content']==_0x3bb1f4(0x4eb,0x463,_0x2333cf._0x504612,0x276)&&_0x5da720(0x684,_0x2333cf._0x7721d6,0x761,0x5aa)in _0x29f00e[_0x3bb1f4(_0x2333cf._0x1076dd,_0x2333cf._0x2d49f9,0x779,0x4a0)]&&(_0xe91de8=_0x29f00e['content'][_0x3bb1f4(_0x2333cf._0x3e4b01,_0x2333cf._0x55f703,0x7ae,0x766)]['map'](_0x1c1088=>_0x1c1088[_0x5da720(0x664,0x4e6,0x510,0x55d)]==='text'?_0x1c1088['text']:'[non-text\x20content]')[_0x5da720(0x219,0x1cf,_0x2333cf._0xc39fa2,_0x2333cf._0x2a97d6)]('\x0a')),_0xe91de8;})[_0x58f904(0x303,0x18a,_0x49bb54._0x5693c7,_0x49bb54._0x2b5c13)]('\x0a\x0a'));}}catch{}let _0xb8d42d=_0x24a6e6?_0x58f904(0x5f1,0x613,_0x49bb54._0x54e297,_0x49bb54._0x110f21)+_0x24a6e6+_0x47cdea(-0x8,0x0,0x4c,0x16e)+_0x323ba3+_0x58f904(_0x49bb54._0x63f487,0x257,0x41b,_0x49bb54._0x32a0cc):_0x47cdea(_0x49bb54._0x331371,_0x49bb54._0x175373,0x139,_0x49bb54._0x52128e)+_0x323ba3+'\x0a\x0aRespond\x20with\x20only\x20the\x20topic,\x20no\x20explanation.',_0x5ca91d=this[_0x47cdea(0x453,0x3ab,_0x49bb54._0x2cd983,_0x49bb54._0x5e72cf)](),_0x3c33b5=(_0x5ca91d[_0x47cdea(_0x49bb54._0x1d3edc,_0x49bb54._0x212008,_0x49bb54._0x223023,_0x49bb54._0x1d8f28)][_0x58f904(_0x49bb54._0xfb15cb,_0x49bb54._0x22ed26,0x56c,_0x49bb54._0xcc7659)]?.[_0x58f904(_0x49bb54._0x1c03c0,0x3d5,_0x49bb54._0x4fd5c8,_0x49bb54._0x5101bf)]??!0x1)&&this[_0x58f904(0x3ac,_0x49bb54._0x47ed45,_0x49bb54._0x31da50,_0x49bb54._0x1666f1)]?_0x189454[_0x47cdea(0x172,0xde,0x1d8,0x153)](this[_0x58f904(_0x49bb54._0x2310a8,_0x49bb54._0x1f9b32,0xf3,_0x49bb54._0x5b2694)],_0x47cdea(_0x49bb54._0x4f2f5e,0x26c,_0x49bb54._0x571716,_0x49bb54._0x4e598f)):void 0x0,_0xb61f78=this[_0x47cdea(0x1eb,_0x49bb54._0x8e0912,_0x49bb54._0x321291,0xbe)](_0x3c33b5),_0x190700=new _0x233845(),_0x468ac2=new _0xded3a8({'agentRegistry':new _0x2879e6({'filePersistence':void 0x0})}),_0x471ba7={'id':_0x47cdea(_0x49bb54._0x193e91,_0x49bb54._0x473a17,_0x49bb54._0x177662,0x10b),'systemPrompt':_0x47cdea(0x527,_0x49bb54._0x4a28c3,0x190,_0x49bb54._0x8d6d08),'temperature':0.3,'topP':0x1,'model':_0x5ca91d['model'],'enabledTools':[],'maxToolConcurrency':0x0,'reasoningEffort':void 0x0},_0x58fa73={'memory':_0x190700,'llm':_0xb61f78,'tools':_0x468ac2,'context':new _0xbb6504(),'ids':new _0x14bf4d(),'clock':new _0x24f8c7(),'cost':new _0x58b33b(),'reminders':new _0x3269d0()},_0x5f0155=new _0x42f251(_0x471ba7,_0x58fa73);function _0x47cdea(_0x4644da,_0x28d0e4,_0x57a559,_0x28e049){return _0x3eba7a(_0x4644da-_0x23b3f6._0x282d18,_0x28d0e4-_0x23b3f6._0x37e50c,_0x4644da,_0x28d0e4-_0x23b3f6._0xae46c7);}function _0x58f904(_0x102a16,_0x1b6bb5,_0x5df65c,_0xd85721){return _0x199b7d(_0x102a16-0x1b4,_0xd85721- -_0x2c3dfc._0x148662,_0x5df65c-_0x2c3dfc._0xabd81d,_0x5df65c);}try{return(await _0x5f0155['send'](_0xb8d42d))[_0x58f904(_0x49bb54._0x4adb00,_0x49bb54._0x406269,0x3d9,_0x49bb54._0xb9c89)][_0x47cdea(-_0x49bb54._0x4cbf71,0x13,_0x49bb54._0x2debc5,0x191)]();}catch{return _0x323ba3[_0x58f904(_0x49bb54._0xd1bb66,0x6b4,0x727,0x53e)]<0x32?_0x323ba3:_0x47cdea(-_0x49bb54._0x2facbc,_0x49bb54._0x159909,-_0x49bb54._0x3f51b1,_0x49bb54._0x4cb2d2);}}async['updateConversationTopic'](_0x4f6f82,_0x4a4c2a){const _0x539c79={_0x2b4692:0x30c,_0x174aa7:0x23f,_0x19a6c3:0x3ed,_0x254ebb:0x49b,_0x1dd6e8:0x327,_0x28f9f4:0x393,_0x3b6167:0x41b,_0x172814:0x31a,_0x35ab19:0x3f1,_0x5c74c3:0x48a},_0x4c6c5f={_0x5761f9:0x17d},_0x2cb626={_0x4ae0d6:0x98,_0x2a9147:0x115,_0x5144e3:0x42b};function _0xbf4f7a(_0x4cc907,_0xc7c40b,_0x3f8b96,_0x3f3bcf){return _0x3eba7a(_0x4cc907-_0x2cb626._0x4ae0d6,_0xc7c40b-_0x2cb626._0x2a9147,_0x4cc907,_0x3f3bcf-_0x2cb626._0x5144e3);}if(!this[_0xbf4f7a(_0x539c79._0x2b4692,0x495,_0x539c79._0x174aa7,0x431)])throw new Error(_0xbf4f7a(_0x539c79._0x19a6c3,0x1b8,_0x539c79._0x254ebb,_0x539c79._0x1dd6e8));function _0x15df82(_0x14cbbc,_0x1581c6,_0x3e56fe,_0x569ca0){return _0x3eba7a(_0x14cbbc-_0x4c6c5f._0x5761f9,_0x1581c6-0x71,_0x14cbbc,_0x3e56fe-0x1b0);}await this[_0x15df82(_0x539c79._0x28f9f4,0xd2,0x1b6,0x1a0)][_0xbf4f7a(_0x539c79._0x3b6167,_0x539c79._0x172814,_0x539c79._0x35ab19,_0x539c79._0x5c74c3)](_0x4f6f82,_0x4a4c2a);}async['analyzeAndUpdateTopic'](_0x4ee23e,_0x28385a){const _0x32c26d={_0x5535ba:0x37d,_0xa016c2:0x3aa,_0x7db14a:0x551,_0x3c8a94:0x36d,_0x10cedc:0x496,_0x569358:0x39e},_0x2d2100={_0x31391b:0xa8,_0x58ad7c:0x92},_0x4ae269={_0x1871be:0x3a,_0x5c1172:0x111,_0x4234d0:0x2b2};function _0x3e6324(_0x42dd53,_0x1438da,_0xe1ef14,_0x2dd0a4){return _0x3eba7a(_0x42dd53-_0x4ae269._0x1871be,_0x1438da-_0x4ae269._0x5c1172,_0x1438da,_0xe1ef14-_0x4ae269._0x4234d0);}function _0x118602(_0x27c79e,_0x214752,_0x197b3e,_0x339d56){return _0x199b7d(_0x27c79e-_0x2d2100._0x31391b,_0x214752- -0x31,_0x197b3e-_0x2d2100._0x58ad7c,_0x339d56);}let _0x5962bf=_0x28385a??this[_0x3e6324(0x262,0x44f,_0x32c26d._0x5535ba,_0x32c26d._0xa016c2)][_0x3e6324(_0x32c26d._0x7db14a,0x45f,_0x32c26d._0x3c8a94,_0x32c26d._0x10cedc)](),_0x125b4b=await this[_0x3e6324(_0x32c26d._0x569358,0x249,0x22b,0x373)](_0x4ee23e);return await this['updateConversationTopic'](_0x5962bf,_0x125b4b),_0x125b4b;}[_0x3eba7a(0x1b9,0xb7,0x56,0x250)](){const _0xa596b={_0x17a5a6:0x544},_0x20545c={_0x46eb5e:0x81};function _0x5768b1(_0x2737da,_0x58b689,_0x13ab58,_0x248dac){return _0x199b7d(_0x2737da-0x93,_0x248dac- -0x93,_0x13ab58-_0x20545c._0x46eb5e,_0x58b689);}return this[_0x5768b1(0x4ba,_0xa596b._0x17a5a6,0x5c1,0x4df)];}async[_0x199b7d(0x51d,0x569,0x3e2,0x5c2)](_0x117778){const _0x38d4d5={_0x4d84ff:0x25c,_0x462ce3:0xa1,_0x495fb8:0xa4,_0x13103a:0x138,_0x3d60ff:0x2ce,_0xa11057:0x17c},_0x16b5e3={_0x1b9964:0x13d,_0x3bdecb:0xf7},_0x5d8d87={_0x3c6822:0x148};function _0x1d4a9f(_0x5b5e8d,_0xc3c9f8,_0x3430c5,_0x5d6337){return _0x199b7d(_0x5b5e8d-0x1bb,_0xc3c9f8- -0x91,_0x3430c5-_0x5d8d87._0x3c6822,_0x3430c5);}if(!this['conversationStore'])throw new Error(_0x1d4a9f(0x34e,0x312,0x2f8,0x16c));function _0x18f831(_0xc90121,_0x4e5279,_0x2d4a34,_0x47f901){return _0x199b7d(_0xc90121-_0x16b5e3._0x1b9964,_0x47f901- -0x409,_0x2d4a34-_0x16b5e3._0x3bdecb,_0xc90121);}return(await this[_0x18f831(_0x38d4d5._0x4d84ff,-0x30,-_0x38d4d5._0x462ce3,_0x38d4d5._0x495fb8)][_0x1d4a9f(_0x38d4d5._0x13103a,0x27f,_0x38d4d5._0x3d60ff,0x411)](_0x117778))[_0x18f831(0x2ef,0x312,0x19f,_0x38d4d5._0xa11057)];}async[_0x199b7d(0x4c3,0x670,0x6f5,0x75d)](){const _0x46ec6d={_0x51c376:0x2d2,_0x23c5d9:0x50,_0x2c4e42:0xd6,_0x2a1c1a:0x15e,_0x45dc90:0x199,_0x2e7259:0x74},_0xc3af52={_0x4eb561:0x2b6,_0x54744b:0x83},_0x25d538={_0x288e2c:0x117,_0x328506:0x11d};function _0x190924(_0x410f4c,_0x36b04c,_0x37edec,_0x2ce20a){return _0x3eba7a(_0x410f4c-_0x25d538._0x288e2c,_0x36b04c-_0x25d538._0x328506,_0x2ce20a,_0x36b04c- -0x6b);}if(!this['conversationStore'])throw new Error(_0x2a7a23(0xed,_0x46ec6d._0x51c376,-_0x46ec6d._0x23c5d9,0xab));function _0x2a7a23(_0x2d5c83,_0x343aff,_0x1dffcc,_0x307bb2){return _0x199b7d(_0x2d5c83-0x1a,_0x2d5c83- -_0xc3af52._0x4eb561,_0x1dffcc-_0xc3af52._0x54744b,_0x343aff);}return this['conversationStore'][_0x190924(_0x46ec6d._0x2c4e42,_0x46ec6d._0x2a1c1a,_0x46ec6d._0x45dc90,_0x46ec6d._0x2e7259)]();}[_0x199b7d(0x62b,0x642,0x807,0x7da)](){const _0x12e271={_0x498f22:0x201,_0x3def31:0x2d8};function _0x5f519c(_0x15580a,_0x450d84,_0x30a405,_0x382031){return _0x199b7d(_0x15580a-0x16d,_0x382031- -0x1fd,_0x30a405-0x18f,_0x30a405);}return this[_0x5f519c(0x3e9,_0x12e271._0x498f22,_0x12e271._0x3def31,0x2b0)];}async[_0x3eba7a(0x35,-0x273,0x121,-0xda)](){const _0x1c59b9={_0x1c15bb:0x50,_0x45fadb:0x19a,_0x20f1dc:0x123,_0x461a93:0x27a,_0x2d80a1:0x2cb,_0x26cb81:0x2ad,_0x38f5f7:0x22c,_0x3d5be2:0x86,_0x1f2ea0:0x2b,_0x1506fb:0x118,_0x13fc36:0x325,_0x1d4264:0x504,_0x5bb731:0x12f,_0x1dab65:0x4c2,_0xa4bef2:0x27c,_0x41a8fa:0x236,_0x96d0ba:0x114,_0x291ad8:0x7f,_0x579ca2:0x1d0,_0x2389e0:0x65,_0x3583d7:0x2b,_0x4308ed:0x6a,_0x52f92a:0x15a,_0x2a135c:0x168,_0x40fc1f:0x3ec,_0x4c7b71:0x403,_0x4d5dbd:0x3e9,_0x5611cd:0x152,_0x4a94c8:0x1a0,_0x399f5c:0x2,_0xab6e52:0xd3,_0x3f45bb:0xbd,_0x27bec9:0x44,_0x880d0b:0x42,_0x294324:0x77,_0x26ff71:0x45,_0x411bfb:0x3c,_0x272b0a:0xfd,_0x21bdfa:0x12c,_0x4d8966:0x2de,_0x3e203b:0x7},_0xb51ed6={_0x5f22e7:0x3c0,_0x18e87b:0x243,_0x54a94f:0x21a,_0x10943f:0x2d1,_0x3a4253:0x207,_0x54beb1:0x17,_0x1db893:0x103,_0x4f388b:0x15b,_0x411d5a:0xdc,_0x4dd666:0x240,_0x3306be:0x502,_0x4ee7ca:0x264,_0xcfc03f:0x379,_0xb6267b:0x47e,_0x377226:0x410,_0x421986:0x2bb,_0x44be1e:0x494,_0x44489c:0x2f2,_0x41acbe:0x2bb,_0x4b9809:0x29f,_0xc26ab7:0x28c,_0xbc524d:0x44a,_0x315443:0x2bb,_0x105580:0xa0,_0x4e9ab8:0x36f,_0x3a5e76:0x3bb,_0x4c6be2:0x14c,_0x4781ad:0x9b},_0x3e77b2={_0x1167ce:0xb7},_0x1454b3={_0x16ccec:0xa4,_0xa26f2d:0x248},_0x52a245={_0x4e3630:0x2af,_0x322af7:0x1a6};if(!this['memory'])throw new Error(_0x443cfa(-0x34c,-_0x1c59b9._0x1c15bb,-0x1dc,-_0x1c59b9._0x45fadb));function _0x4b5395(_0x1d7b1a,_0x387bed,_0x84d172,_0x177d65){return _0x199b7d(_0x1d7b1a-0x1af,_0x1d7b1a- -_0x52a245._0x4e3630,_0x84d172-_0x52a245._0x322af7,_0x177d65);}function _0x443cfa(_0x363368,_0x217003,_0x191ca6,_0x3fd58a){return _0x199b7d(_0x363368-0x1a1,_0x3fd58a- -0x5c8,_0x191ca6-0x1b6,_0x191ca6);}let _0x19876c=await this[_0x4b5395(0x17a,-0x50,_0x1c59b9._0x20f1dc,_0x1c59b9._0x461a93)]['get'](_0x443cfa(-_0x1c59b9._0x2d80a1,-_0x1c59b9._0x26cb81,-0x1f6,-_0x1c59b9._0x38f5f7));if(!_0x19876c||_0x19876c[_0x443cfa(_0x1c59b9._0x3d5be2,-0x35,_0x1c59b9._0x1f2ea0,_0x1c59b9._0x1506fb)]===0x0)return _0x4b5395(_0x1c59b9._0x13fc36,_0x1c59b9._0x1d4264,_0x1c59b9._0x5bb731,_0x1c59b9._0x1dab65);let _0x1e0980=_0x19876c[_0x443cfa(_0x1c59b9._0xa4bef2,_0x1c59b9._0x41a8fa,0x232,_0x1c59b9._0x96d0ba)](_0x50eca3=>{function _0x3a3b69(_0x275e02,_0x389d27,_0x5b52b6,_0x47085d){return _0x443cfa(_0x275e02-_0x1454b3._0x16ccec,_0x389d27-0xbf,_0x389d27,_0x47085d-_0x1454b3._0xa26f2d);}let _0x1c3b86=_0x50eca3['role']===_0x3a3b69(_0xb51ed6._0x5f22e7,0x95,_0xb51ed6._0x18e87b,_0xb51ed6._0x54a94f)?'User':_0x50eca3[_0x3a3b69(0x158,_0xb51ed6._0x10943f,0x273,_0xb51ed6._0x3a4253)]==='assistant'?'Assistant':_0x3a3b69(-_0xb51ed6._0x54beb1,_0xb51ed6._0x1db893,_0xb51ed6._0x4f388b,_0xb51ed6._0x411d5a),_0x3dc5bf='';function _0x1ca797(_0x1cffb2,_0xf66bb,_0x4b2f23,_0x20a649){return _0x4b5395(_0x20a649- -0x18f,_0xf66bb-_0x3e77b2._0x1167ce,_0x4b2f23-0x8d,_0xf66bb);}return typeof _0x50eca3[_0x3a3b69(_0xb51ed6._0x4dd666,_0xb51ed6._0x3306be,_0xb51ed6._0x4ee7ca,_0xb51ed6._0xcfc03f)]==_0x3a3b69(0x2b1,_0xb51ed6._0xb6267b,0x120,0x2cb)?_0x3dc5bf=_0x50eca3['content']:_0x50eca3[_0x1ca797(_0xb51ed6._0x377226,0x10d,0x2dc,_0xb51ed6._0x421986)]&&typeof _0x50eca3[_0x1ca797(_0xb51ed6._0x44be1e,0x39a,_0xb51ed6._0x44489c,_0xb51ed6._0x41acbe)]=='object'&&_0x1ca797(0x188,0x253,_0xb51ed6._0x4b9809,_0xb51ed6._0xc26ab7)in _0x50eca3['content']&&(_0x3dc5bf=_0x50eca3[_0x1ca797(0x252,0x412,_0xb51ed6._0xbc524d,_0xb51ed6._0x315443)]['parts'][_0x1ca797(_0xb51ed6._0x105580,_0xb51ed6._0x4e9ab8,_0xb51ed6._0x3a5e76,0x29e)](_0x1aae65=>_0x1aae65[_0x3a3b69(0x1ca,0x3a2,0x2f7,0x2fd)]===_0x3a3b69(0x129,-0xc2,0x18c,0x117)?_0x1aae65[_0x1ca797(0x211,-0xe9,0x19e,0x59)]:'[non-text\x20content]')[_0x1ca797(0xaf,_0xb51ed6._0x4c6be2,-_0xb51ed6._0x4781ad,-0x46)]('\x0a')),_0x1c3b86+':\x20'+_0x3dc5bf;})[_0x443cfa(-0x13,-0x257,-_0x1c59b9._0x291ad8,-_0x1c59b9._0x579ca2)]('\x0a\x0a'),_0xc96c35=_0x443cfa(-_0x1c59b9._0x2389e0,_0x1c59b9._0x3583d7,0x1b6,_0x1c59b9._0x4308ed),_0x5c6ca6=this[_0x443cfa(_0x1c59b9._0x52f92a,_0x1c59b9._0x2a135c,-0xc2,0xfd)](),_0x1c5ec4=this[_0x4b5395(0x362,_0x1c59b9._0x40fc1f,0x2a7,_0x1c59b9._0x4c7b71)]&&this[_0x443cfa(-0x25d,-_0x1c59b9._0x4d5dbd,-_0x1c59b9._0x5611cd,-0x246)]?_0x189454[_0x4b5395(0x149,_0x1c59b9._0x4a94c8,_0x1c59b9._0x399f5c,-0x28)](this[_0x4b5395(_0x1c59b9._0xab6e52,-_0x1c59b9._0x3f45bb,0x255,0x1b9)],_0x443cfa(-0x177,_0x1c59b9._0x27bec9,0xa3,-_0x1c59b9._0x880d0b)):void 0x0,_0xd4d72f=this[_0x443cfa(-_0x1c59b9._0x294324,-_0x1c59b9._0x26ff71,-0x221,-_0x1c59b9._0x411bfb)](_0x1c5ec4),_0x444ee7=new _0x233845(),_0x23a505=new _0xded3a8({'agentRegistry':new _0x2879e6({'filePersistence':void 0x0})}),_0x3b4a74={'id':'summary-agent','systemPrompt':_0xc96c35,'temperature':0.7,'topP':0x1,'model':_0x5c6ca6['model'],'enabledTools':[],'maxToolConcurrency':0x0,'reasoningEffort':void 0x0},_0x1ea0a5={'memory':_0x444ee7,'llm':_0xd4d72f,'tools':_0x23a505,'context':new _0xbb6504(),'ids':new _0x14bf4d(),'clock':new _0x24f8c7(),'cost':new _0x58b33b(),'reminders':new _0x3269d0()};return(await new _0x42f251(_0x3b4a74,_0x1ea0a5)[_0x443cfa(0x269,_0x1c59b9._0x272b0a,-0x78,_0x1c59b9._0x21bdfa)](_0x1e0980))[_0x443cfa(_0x1c59b9._0x4d8966,-_0x1c59b9._0x3e203b,0x113,0x131)];}},um=new pt(),Oa=({memPersist:_0x560237=!0x1,mcpConfigPath:_0x21d39e,appendLine:_0x3b436b,updateLine:_0x3c4352,updateLineMetadata:_0x299b27,setLastMetadata:_0x41abd6,handleError:_0x879233})=>{const _0x130497={_0x5b1375:0x239,_0x56815f:0x48f,_0x11e52c:0x5f6,_0x43eb71:0x627,_0x3fa346:0x6ce,_0x2967fc:0x88e,_0x1ee313:0x84e,_0x2577fa:0x82b,_0x5825ac:0x787,_0x5167c8:0x6ed,_0x4b9671:0x5c7,_0x380026:0x725},_0x26bf52={_0x4f70f9:0x12a,_0x4a20d3:0x7c},_0x43e751={_0x47fa56:0x3e4,_0x567384:0x56e,_0x92720e:0x2af,_0x18912f:0x756,_0xc248fd:0x7f8,_0x37859e:0x680},_0x346e75={_0x255dc3:0x5},_0x57823b={_0x83a825:0x14f},_0x3ac7e1={_0x49044c:0x3c5,_0x5ec7db:0x22a,_0x4dfe26:0x39a,_0x7ac4c3:0xa6,_0x287622:0x16,_0x5de643:0xd3},_0x31e8f4={_0x1fa48e:0x52b,_0x301069:0x4d5},_0xa57e1f={_0x4f6612:0x50,_0x5bb6dc:0x1c5},_0x89a60b={_0x5cff00:0x1b},_0x5631a6={_0x40ff18:0x607,_0x1d6d9b:0x4ec,_0x1d7a19:0x607,_0x3793e6:0x289,_0x35fd55:0x346,_0x17e567:0x338,_0x521858:0x1c7},_0x33d83c={_0x3fbcb3:0x5a,_0xe536e3:0x7d},_0x1c1e12={_0x26debb:0x1c8,_0x4a5a54:0x321,_0x3e3abb:0x19d,_0xf7c351:0x30b,_0x7e3029:0x334,_0x5c04f6:0x240,_0x569e39:0x510,_0x21ca31:0x560,_0x35928b:0x5ef,_0x258cb2:0x41d,_0x4275e6:0x59b,_0x4233ba:0x345,_0x34a7eb:0x41d,_0xf25a1a:0x257,_0x69dd9c:0x314,_0x5c521a:0x192,_0x50be78:0x334,_0x520254:0x167,_0x16e78a:0x212,_0x5b151a:0x119,_0x2948c0:0x42,_0x193f4e:0x1b0,_0x2ca322:0x22},_0x486b73={_0x580264:0x2a,_0x11beda:0x16d},_0x41e4ff={_0xc04121:0x702,_0x511894:0x7b3,_0x5e1768:0x46c,_0x5846a7:0x5bc,_0x43463c:0x42,_0x16be08:0x32},_0x296c1b={_0x11b5c7:0x56};let [_0x3a817e,_0x42c834]=_0x48ffc1(_0x105724(0x363,_0x130497._0x5b1375,_0x130497._0x56815f,0x41e)),{toolApprovalMode:_0x4bc972}=Ae(),_0x3119f8=_0x5a6810(null),_0x22ca88=_0x5a6810(null),_0x4bdc85=_0x5a6810(new pt()),_0x1f5c37=_0x5a6810({'appendLine':_0x3b436b,'updateLine':_0x3c4352,'updateLineMetadata':_0x299b27,'setLastMetadata':_0x41abd6,'handleError':_0x879233});_0x1f5c37['current']={'appendLine':_0x3b436b,'updateLine':_0x3c4352,'updateLineMetadata':_0x299b27,'setLastMetadata':_0x41abd6,'handleError':_0x879233};let _0x556495=async()=>{function _0x3fc125(_0x1976ec,_0x3585d7,_0x59f207,_0x1b7f5d){return _0x105724(_0x1976ec-0xbb,_0x3585d7,_0x59f207-0xf8,_0x1b7f5d-0x32);}function _0x3c6818(_0x78b60,_0x21356a,_0x59a710,_0x54dcf2){return _0x105724(_0x78b60-0x1c4,_0x54dcf2,_0x59a710-_0x296c1b._0x11b5c7,_0x59a710- -0x406);}await _0x4bdc85[_0x3fc125(_0x41e4ff._0xc04121,_0x41e4ff._0x511894,_0x41e4ff._0x5e1768,_0x41e4ff._0x5846a7)][_0x3c6818(-0xe9,-0xe7,-_0x41e4ff._0x43463c,-_0x41e4ff._0x16be08)]();},_0xbc00da=async(_0x4b7334,_0xaa55b5=!0x1)=>{const _0xc4a29b={_0x28c49c:0x5c};function _0x451be8(_0x24a47a,_0x943fff,_0x3487a0,_0x182db4){return _0x105724(_0x24a47a-0x65,_0x24a47a,_0x3487a0-_0x486b73._0x580264,_0x3487a0- -_0x486b73._0x11beda);}function _0x57d66e(_0x412fb3,_0x41fc25,_0x3c9886,_0x5a698a){return _0x105724(_0x412fb3-0x88,_0x3c9886,_0x3c9886-_0xc4a29b._0x28c49c,_0x412fb3- -0x256);}_0xaa55b5&&(_0x42c834(_0x57d66e(_0x1c1e12._0x26debb,_0x1c1e12._0x4a5a54,_0x1c1e12._0x3e3abb,_0x1c1e12._0xf7c351)),await _0x4bdc85['current']['cleanup'](),_0x4bdc85[_0x57d66e(_0x1c1e12._0x7e3029,0x259,0x4bf,_0x1c1e12._0x5c04f6)][_0x451be8(_0x1c1e12._0x569e39,_0x1c1e12._0x21ca31,0x456,_0x1c1e12._0x35928b)]());let _0x50454d={'memPersist':_0x560237,'mcpConfigPath':_0x21d39e,'streamingChunks':!0x0,..._0x4b7334??{}},_0x2a10d2=await _0x4bdc85[_0x451be8(0x422,0x38e,_0x1c1e12._0x258cb2,_0x1c1e12._0x4275e6)][_0x57d66e(0x305,0x36e,0x443,_0x1c1e12._0x4233ba)](_0x50454d,_0x1f5c37[_0x451be8(0x5f3,0x481,_0x1c1e12._0x34a7eb,_0x1c1e12._0xf25a1a)]);return _0x22ca88['current']=_0x2a10d2[_0x451be8(_0x1c1e12._0x69dd9c,0x18f,_0x1c1e12._0x5c521a,0x64)],_0x3119f8[_0x57d66e(_0x1c1e12._0x50be78,0x2e0,0x3b5,_0x1c1e12._0x520254)]=_0x2a10d2[_0x57d66e(0x289,0x94,_0x1c1e12._0x16e78a,_0x1c1e12._0x5b151a)],_0x42c834(_0x57d66e(_0x1c1e12._0x2948c0,0x207,_0x1c1e12._0x193f4e,_0x1c1e12._0x2ca322)),_0x2a10d2;},_0x3981f9=async _0x30956b=>_0xbc00da(_0x30956b,!0x0);_0x48f5b9(()=>{const _0x596577={_0xf56339:0x195,_0x13726e:0x0};function _0x4e4b52(_0x310571,_0x474572,_0x380d44,_0x5f1bc4){return _0x105724(_0x310571-_0x33d83c._0x3fbcb3,_0x474572,_0x380d44-0x1a9,_0x310571-_0x33d83c._0xe536e3);}function _0x528596(_0x59b88d,_0x3699d2,_0x4da9ab,_0x2a0a06){return _0x105724(_0x59b88d-0xff,_0x4da9ab,_0x4da9ab-_0x596577._0xf56339,_0x3699d2-_0x596577._0x13726e);}_0x4bdc85[_0x4e4b52(_0x5631a6._0x40ff18,0x5af,0x598,_0x5631a6._0x1d6d9b)][_0x528596(0x4eb,0x3c6,0x260,0x271)]()&&_0x4bdc85[_0x4e4b52(_0x5631a6._0x1d7a19,0x539,0x694,0x6e0)][_0x528596(_0x5631a6._0x3793e6,_0x5631a6._0x35fd55,_0x5631a6._0x17e567,_0x5631a6._0x521858)]({'requireToolApproval':_0x4bc972});},[_0x4bc972]),_0x48f5b9(()=>{const _0x32f228={_0x1be6fc:0x152};function _0x11568d(_0xfafd83,_0x1b8087,_0x4b776a,_0xec317a){return _0x105724(_0xfafd83-0x4f,_0xec317a,_0x4b776a-_0x89a60b._0x5cff00,_0xfafd83- -0x2ae);}let _0x351e4a=!0x1;function _0x517d3c(_0x42fbb4,_0xe3850,_0x573062,_0x8375d9){return _0x105724(_0x42fbb4-_0xa57e1f._0x4f6612,_0x8375d9,_0x573062-0x121,_0x42fbb4- -_0xa57e1f._0x5bb6dc);}return _0x4bdc85[_0x517d3c(_0x3ac7e1._0x49044c,0x422,_0x3ac7e1._0x5ec7db,_0x3ac7e1._0x4dfe26)][_0x517d3c(_0x3ac7e1._0x7ac4c3,0x178,0x1d3,-0x147)]()===_0x11568d(-_0x3ac7e1._0x287622,0x43,0x96,0xfe)?(_0x22ca88['current']=_0x4bdc85['current']['getMemory'](),_0x42c834(_0x517d3c(_0x3ac7e1._0x5de643,0x5,-0xcb,0x1f9)),()=>{_0x351e4a=!0x0;}):(((async()=>{function _0x374b15(_0x13d03d,_0xf18c4d,_0x390db4,_0x5a6373){return _0x11568d(_0x5a6373-0x28c,_0xf18c4d-0x1b7,_0x390db4-_0x32f228._0x1be6fc,_0x390db4);}try{if(await _0xbc00da(),_0x351e4a)return;}catch(_0x4ba998){let _0x8bc007=_0x4ba998 instanceof Error?_0x4ba998['message']:String(_0x4ba998);_0x879233(_0x374b15(0x343,_0x31e8f4._0x1fa48e,0x50c,_0x31e8f4._0x301069)+_0x8bc007),_0x351e4a||_0x42c834('Error');}})()),()=>{_0x351e4a=!0x0;});},[]);function _0x50125d(_0x3ad359,_0x10cf9d,_0x58fae9,_0x101aff){return _0x199b7d(_0x3ad359-0x134,_0x10cf9d-0x177,_0x58fae9-_0x57823b._0x83a825,_0x101aff);}let _0x4c3525=async(_0x57b1f6,_0x51d2f9={})=>_0x4bdc85[_0x105724(0x563,0x451,0x423,0x58a)][_0x50125d(0x716,0x86b,0xa1b,0xa23)](_0x57b1f6,_0x51d2f9),_0x336bf2=async _0xb8c509=>{function _0x604169(_0x422378,_0xcc58c7,_0x7f4515,_0x44297a){return _0x105724(_0x422378-0x4c,_0xcc58c7,_0x7f4515-0x51,_0x7f4515-0xf6);}let _0x3ca4b8=await _0x4bdc85[_0x3a4495(_0x43e751._0x47fa56,_0x43e751._0x567384,0x296,_0x43e751._0x92720e)]['createNewConversation'](_0xb8c509);function _0x3a4495(_0x9602a7,_0x2ce7e5,_0x90d1a2,_0x417c7a){return _0x50125d(_0x9602a7-0x44,_0x9602a7- -0x447,_0x90d1a2-_0x346e75._0x255dc3,_0x90d1a2);}return _0x22ca88[_0x604169(_0x43e751._0x18912f,_0x43e751._0xc248fd,_0x43e751._0x37859e,0x714)]=_0x3ca4b8[_0x604169(0x368,0x461,0x3f5,0x404)],_0x3ca4b8;};function _0x105724(_0x434176,_0x657d0f,_0x4fb5aa,_0x101129){return _0x199b7d(_0x434176-0x1c3,_0x101129- -_0x26bf52._0x4f70f9,_0x4fb5aa-_0x26bf52._0x4a20d3,_0x657d0f);}return{'orchestrator':_0x3119f8[_0x105724(_0x130497._0x11e52c,_0x130497._0x43eb71,0x496,0x58a)],'manager':_0x4bdc85['current'],'memory':_0x22ca88[_0x50125d(0x77c,0x82b,_0x130497._0x3fa346,_0x130497._0x2967fc)],'status':_0x3a817e,'cleanup':_0x556495,'reinit':_0x3981f9,'send':_0x4c3525,'createNewConversation':_0x336bf2,'sessionId':_0x4bdc85[_0x50125d(_0x130497._0x1ee313,_0x130497._0x2577fa,_0x130497._0x5825ac,_0x130497._0x5167c8)][_0x50125d(0x7be,_0x130497._0x4b9671,_0x130497._0x380026,0x76a)]()['sessionId']};};import{useInput as _0x1ea241}from'ink';var Ua=()=>{const _0x3e4bbf={_0x548fca:0x42c,_0x38a1a0:0x3bf,_0x31eff3:0x752,_0x2c903d:0x4e9,_0x3a7b90:0x3ee,_0x262ca3:0x422,_0x5c5b3a:0x46f,_0x5efade:0x43f,_0x33f14e:0x44c,_0x419c57:0x5f2,_0x239545:0x45a,_0x413aed:0x2d9,_0x5bac00:0x2ef,_0x276cd7:0x440,_0x1c6dcc:0x121,_0x1c9ae3:0x2ff};_0x1ea241((_0x619af6,_0x18ca30)=>{if(_0x18ca30['ctrl']&&_0x619af6==='c'){L[_0x4a3b59(0x431,0x2ba,_0x3e4bbf._0x548fca,_0x3e4bbf._0x38a1a0)](_0x1e5045(0x77d,_0x3e4bbf._0x31eff3,0x66b,0x5f2),void 0x0);return;}if(_0x18ca30['ctrl']&&_0x619af6==='e'){L['emit'](_0x4a3b59(_0x3e4bbf._0x2c903d,_0x3e4bbf._0x3a7b90,_0x3e4bbf._0x262ca3,_0x3e4bbf._0x5c5b3a),void 0x0);return;}function _0x1e5045(_0x244ee6,_0x56a538,_0x3d0f1a,_0x44f808){return _0x58a4(_0x3d0f1a-0x222,_0x56a538);}function _0x4a3b59(_0x3716f7,_0xa92b29,_0x5d4d3f,_0x311a5f){return _0x58a4(_0x311a5f-0xca,_0xa92b29);}if(_0x619af6==='\x16'||(_0x619af6==='v'||_0x619af6==='V')&&(_0x18ca30[_0x1e5045(0x45e,_0x3e4bbf._0x5efade,_0x3e4bbf._0x33f14e,_0x3e4bbf._0x419c57)]||_0x18ca30[_0x1e5045(_0x3e4bbf._0x239545,_0x3e4bbf._0x413aed,0x480,0x610)])){L[_0x4a3b59(_0x3e4bbf._0x5bac00,0x25a,0x40f,0x3bf)](_0x4a3b59(_0x3e4bbf._0x276cd7,_0x3e4bbf._0x1c6dcc,0x1bc,_0x3e4bbf._0x1c9ae3),void 0x0);return;}});};import{useEffect as _0x1789ea,useRef as _0x1f33a2,useCallback as _0x585c92}from'react';var Ka=({busy:_0x2c9747,pendingApproval:_0x5b182c,inputAreaRef:_0x4d59ee,onNotification:_0x1a3380})=>{const _0x3bef5d={_0x23d288:0x1a5,_0x4adc44:0x175,_0x373af1:0x6e2,_0x54d820:0x5c6,_0x3d0bc3:0x5b4,_0x4566e5:0x6a8,_0x29dfa9:0x781,_0x2332cc:0x623,_0x39a56c:0x57e,_0x14091d:0x523,_0x198507:0x6be,_0x1bbcf2:0xf},_0x3e74bc={_0x192901:0x99,_0x126a53:0x178,_0x4af19d:0x360,_0x8b1cb4:0x322,_0x499ad2:0x354,_0x17b74e:0x3dd,_0x10bf93:0xd,_0x5b054e:0x2b7,_0x59a728:0xd7,_0x53e2aa:0x5f0,_0x3e2acf:0x505,_0x1a9a09:0x43b,_0x32b935:0x264,_0x3fb39a:0x515,_0x4fa46f:0x481,_0x513ba2:0x309,_0x451a49:0x133,_0x120133:0x14a,_0x58ebac:0x9c,_0x205d85:0x1d,_0x4ceaad:0x531,_0x2a7796:0x1a6,_0x4554d4:0x44,_0x1fd38a:0x33,_0x9064ef:0x1f2,_0x1bc1c0:0x36c,_0xa63263:0x24f,_0x4d4ae4:0x104},_0x4c6ce5={_0x4ba2f6:0x1a5},_0x555538={_0x42d0bd:0x3b},_0x2668d7={_0x533830:0x905,_0x15f469:0x772,_0xd8b0a0:0xa12,_0x4fef04:0x9c5,_0x1db99a:0x7c7,_0x4939d2:0x8ba,_0x3ffacf:0x6b8,_0x5f0f40:0x69e,_0x4b6b4b:0x60b},_0x559b06={_0x2ae23e:0x39b};function _0x4511db(_0x28f0da,_0x2e70af,_0x14e3ec,_0x3233bd){return _0x199b7d(_0x28f0da-0x1c5,_0x2e70af- -0x3ec,_0x14e3ec-0x43,_0x3233bd);}let _0x3fd996=_0x1f33a2(!0x1),{toggleExplainMode:_0x631836}=ke(),_0x4fe76c=_0x585c92(()=>{const _0x3ce830={_0x1ffe43:0x6a9,_0x15d6ed:0x563},_0xc0584={_0x24ce1e:0x311};function _0x580cf8(_0x5633c3,_0x502e76,_0x12427d,_0x2389c2){return _0x58a4(_0x2389c2-_0xc0584._0x24ce1e,_0x12427d);}function _0x581410(_0x5f188c,_0x117b26,_0x275039,_0x178b3f){return _0x58a4(_0x275039-_0x559b06._0x2ae23e,_0x117b26);}_0x3fd996[_0x580cf8(0x884,_0x2668d7._0x533830,_0x2668d7._0x15f469,0x7db)]?(_0x3fd996[_0x581410(0x941,_0x2668d7._0xd8b0a0,0x865,_0x2668d7._0x4fef04)]=!0x1,_0x1a3380(null),process['stdout']['write'](_0x580cf8(_0x2668d7._0x1db99a,0x4f4,_0x2668d7._0x4939d2,_0x2668d7._0x3ffacf)),process['exit'](0x0)):(_0x3fd996['current']=!0x0,_0x1a3380(_0x580cf8(_0x2668d7._0x5f0f40,0x55a,0x595,_0x2668d7._0x4b6b4b),0x3e8),setTimeout(()=>{function _0x351f68(_0x1d9cf8,_0x26cb95,_0x264f2f,_0x19cd7a){return _0x580cf8(_0x1d9cf8-0x7c,_0x26cb95-0x1cc,_0x26cb95,_0x1d9cf8- -0xb3);}_0x3fd996[_0x351f68(0x728,0x793,_0x3ce830._0x1ffe43,_0x3ce830._0x15d6ed)]=!0x1;},0x3e8));},[_0x1a3380]),_0x1cb21a=_0x585c92(()=>{_0x631836();},[_0x631836]),_0x6f27e0=_0x585c92(async()=>{function _0x4f9906(_0x31cf65,_0x512ee5,_0x456083,_0x529973){return _0x58a4(_0x31cf65-_0x555538._0x42d0bd,_0x512ee5);}function _0x30233e(_0x535b9f,_0x3c97d4,_0xdd9511,_0x4dbe76){return _0x58a4(_0x4dbe76- -_0x4c6ce5._0x4ba2f6,_0xdd9511);}if(!(_0x2c9747||_0x5b182c))try{let {hasClipboardFiles:_0x494718,getClipboardFiles:_0x127a9a}=await import(_0x30233e(0x348,_0x3e74bc._0x192901,0x1,_0x3e74bc._0x126a53));if(_0x1a3380(_0x4f9906(_0x3e74bc._0x4af19d,_0x3e74bc._0x8b1cb4,_0x3e74bc._0x499ad2,_0x3e74bc._0x17b74e),0x1f4),await _0x494718()){_0x1a3380(_0x30233e(-_0x3e74bc._0x10bf93,_0x3e74bc._0x5b054e,0x139,_0x3e74bc._0x59a728),0x3e8);let _0x1596bf=await _0x127a9a();if(_0x1596bf[_0x4f9906(0x531,_0x3e74bc._0x53e2aa,0x562,0x59c)]>0x0){let _0x46813e=_0x1596bf[_0x4f9906(0x52d,_0x3e74bc._0x3e2acf,0x546,0x69e)](_0x1360d7=>_0x1360d7[_0x30233e(0x16a,0x448,0x37f,0x320)]),_0x3cccc4=_0x1596bf[_0x30233e(_0x3e74bc._0x1a9a09,_0x3e74bc._0x32b935,_0x3e74bc._0x3fb39a,0x34d)]((_0x3d4e6a,_0x416c5b)=>_0x4f9906(0x20a,0xa0,0x1b0,0x22b)+(_0x416c5b+0x1)+']')[_0x30233e(0xe5,-0xe4,0x16f,0x69)]('\x20');_0x4d59ee['current']?.[_0x4f9906(0x4d0,_0x3e74bc._0x4fa46f,0x3f4,_0x3e74bc._0x513ba2)](_0x3cccc4),globalThis['__clipboardFiles']=_0x46813e;let _0x29860d=Math[_0x30233e(0x328,_0x3e74bc._0x451a49,0x36a,0x329)](_0x46813e['reduce']((_0x2b2966,_0x13b297)=>_0x2b2966+_0x13b297[_0x4f9906(0x531,0x52a,0x437,0x53a)],0x0)/0x400);_0x1a3380(_0x1596bf['length']+_0x30233e(-0x98,_0x3e74bc._0x120133,-_0x3e74bc._0x58ebac,_0x3e74bc._0x205d85)+(_0x1596bf[_0x4f9906(_0x3e74bc._0x4ceaad,0x61f,0x5ba,0x624)]>0x1?'s':'')+_0x30233e(0x22d,-_0x3e74bc._0x2a7796,-0x195,_0x3e74bc._0x4554d4)+_0x29860d+_0x4f9906(0x197,0x192,-_0x3e74bc._0x1fd38a,_0x3e74bc._0x9064ef),0x7d0);}else _0x1a3380(_0x30233e(_0x3e74bc._0x1bc1c0,0x465,0x3e8,0x36d),0x3e8);}}catch(_0x41044d){let _0x5a498e=_0x41044d instanceof Error?_0x41044d['message']:'Unknown\x20error';_0x1a3380(_0x4f9906(_0x3e74bc._0xa63263,0x22e,_0x3e74bc._0x4d4ae4,0x1ea)+_0x5a498e,0x7d0);}},[_0x2c9747,_0x5b182c,_0x1a3380,_0x4d59ee]);_0x1789ea(()=>(L['on']('ui:keyboard:ctrlc',_0x4fe76c),L['on'](_0x4511db(0x7d,0x33,-0xe,-0x140),_0x6f27e0),L['on']('ui:keyboard:explainToggle',_0x1cb21a),()=>{const _0x311ee8={_0x49f268:0x167,_0x30714e:0x36d},_0x24ab61={_0x10a743:0xcb,_0x28d434:0xd7};function _0xfb3ee0(_0x350382,_0x1b5d9c,_0x30bcbb,_0xbff15f){return _0x4511db(_0x350382-_0x24ab61._0x10a743,_0x1b5d9c- -0x1b2,_0x30bcbb-_0x24ab61._0x28d434,_0xbff15f);}function _0x35370e(_0x5cf5e0,_0x4f94aa,_0x4c97d3,_0x3f063b){return _0x4511db(_0x5cf5e0-_0x311ee8._0x49f268,_0x3f063b-_0x311ee8._0x30714e,_0x4c97d3-0x105,_0x4c97d3);}L[_0xfb3ee0(_0x3bef5d._0x23d288,0x104,_0x3bef5d._0x4adc44,0x86)](_0x35370e(_0x3bef5d._0x373af1,_0x3bef5d._0x54d820,0x56c,_0x3bef5d._0x3d0bc3),_0x4fe76c),L[_0x35370e(0x5ce,_0x3bef5d._0x4566e5,_0x3bef5d._0x29dfa9,_0x3bef5d._0x2332cc)]('ui:keyboard:paste',_0x6f27e0),L[_0x35370e(_0x3bef5d._0x39a56c,_0x3bef5d._0x14091d,_0x3bef5d._0x198507,0x623)](_0xfb3ee0(0x67,-_0x3bef5d._0x1bbcf2,-0x201,0x7b),_0x1cb21a);}),[_0x4fe76c,_0x6f27e0,_0x1cb21a]);},zo=()=>{let {notification:_0xe4d21b,setNotification:_0x39e292}=Jr();return{'notification':_0xe4d21b,'setNotification':_0x39e292};};function O(){return en();}import{useCallback as _0x4d9256}from'react';import*as _0x287344 from'crypto';var Go=class{constructor(){const _0x5e6a6a={_0x25a6f0:0x4b,_0x300ea8:0x31,_0xc5ecdc:0x99,_0x4acd1d:0x135},_0x2ddaaf={_0x117e5c:0x1bd,_0x3ea2ce:0x4e,_0x59b98c:0x3e3};function _0x178ee2(_0x3d02a2,_0x34f146,_0x3a5c88,_0x2eee1d){return _0x3eba7a(_0x3d02a2-_0x2ddaaf._0x117e5c,_0x34f146-_0x2ddaaf._0x3ea2ce,_0x34f146,_0x3a5c88-_0x2ddaaf._0x59b98c);}this[_0x75c0ee(_0x5e6a6a._0x25a6f0,0x125,-_0x5e6a6a._0x300ea8,0x2e)]=new Map(),this['activeCommand']=null,this[_0x75c0ee(-0x23,-_0x5e6a6a._0xc5ecdc,0xa,_0x5e6a6a._0x4acd1d)]=null;function _0x75c0ee(_0x34aea1,_0x108565,_0x594946,_0x3814a3){return _0x3eba7a(_0x34aea1-0x110,_0x108565-0xfa,_0x594946,_0x3814a3-0xad);}this['memory']=null,this['orchestrator']=null;}[_0x199b7d(0x3a1,0x582,0x63e,0x66e)](_0x157b6b){const _0x37824a={_0x597216:0x18b,_0x3c87d7:0x1e,_0x3a9a08:0x370,_0x4cf2e9:0x1c3,_0x454dfd:0x3c,_0x455721:0x439,_0x13a069:0x6f,_0x2e8802:0x61},_0x6449bb={_0x1545c2:0x336},_0x268c7a={_0x5192f7:0x446};function _0x11648a(_0x4ca693,_0x1af343,_0x452fcf,_0x31dec5){return _0x199b7d(_0x4ca693-0x19d,_0x31dec5- -_0x268c7a._0x5192f7,_0x452fcf-0x1e9,_0x4ca693);}function _0x4a81cb(_0x12532d,_0x36513a,_0x5ef2ef,_0x2441f3){return _0x199b7d(_0x12532d-0x54,_0x36513a- -_0x6449bb._0x1545c2,_0x5ef2ef-0x9e,_0x12532d);}if(this[_0x11648a(0x5e,-0x5,_0x37824a._0x597216,-_0x37824a._0x3c87d7)][_0x4a81cb(_0x37824a._0x3a9a08,_0x37824a._0x4cf2e9,_0x37824a._0x454dfd,0x180)](_0x157b6b['id'],_0x157b6b),_0x157b6b['initialize']){let _0x581914=this[_0x4a81cb(0x39b,0x37b,_0x37824a._0x455721,0x1ff)](_0x157b6b['id']);_0x157b6b[_0x11648a(_0x37824a._0x13a069,_0x37824a._0x2e8802,0x242,0x163)](_0x581914);}}[_0x199b7d(0x58a,0x5e0,0x5d0,0x580)](_0x3002a6){const _0x2b43ad={_0x2ee4bd:0x1ec,_0x225c32:0x12a,_0x36e181:0x44},_0x92b99c={_0x3d94af:0x9a,_0x14933e:0x72},_0x2504e9={_0x1cfa85:0x2c8};function _0x3a7cbe(_0x23362f,_0x3b372c,_0x1200a6,_0x24700c){return _0x3eba7a(_0x23362f-0x1c2,_0x3b372c-0x0,_0x24700c,_0x1200a6-_0x2504e9._0x1cfa85);}function _0x5538bd(_0x3c4b6d,_0x2a8f42,_0x4c3164,_0x4da0be){return _0x3eba7a(_0x3c4b6d-_0x92b99c._0x3d94af,_0x2a8f42-0x100,_0x4c3164,_0x4da0be-_0x92b99c._0x14933e);}return this[_0x3a7cbe(0x1b9,_0x2b43ad._0x2ee4bd,0x249,0x1b4)][_0x5538bd(0x373,_0x2b43ad._0x225c32,-_0x2b43ad._0x36e181,0x1ab)](_0x3002a6);}[_0x3eba7a(0x212,0x4a,0x1f4,0x140)](_0x13267b){const _0x577a71={_0x319ce3:0x57f,_0x9cca85:0x5a8,_0x146ab3:0x4a9,_0x42e609:0x3c7},_0x48ac61={_0x52d7fa:0xf5,_0x2be8dc:0xb9};function _0x4f826d(_0x493ea2,_0x18fa15,_0x4cff47,_0x134cda){return _0x199b7d(_0x493ea2-_0x48ac61._0x52d7fa,_0x4cff47- -0x8b,_0x4cff47-_0x48ac61._0x2be8dc,_0x18fa15);}return Array['from'](this['commands']['values']())[_0x4f826d(_0x577a71._0x319ce3,_0x577a71._0x9cca85,_0x577a71._0x146ab3,_0x577a71._0x42e609)](_0x13267b);}[_0x199b7d(0x718,0x565,0x4d0,0x560)](_0x1461a6={}){const _0x35dbd6={_0x127f06:0x1c5,_0xa920ec:0x1e2,_0x16bcf8:0x2a7,_0x323d87:0xe,_0x4d217c:0x5ca,_0xd75e27:0x4b6,_0x3789b1:0x3fc,_0x573185:0x87,_0x26a07b:0x405,_0x301df9:0xd7,_0xc0fc51:0x86},_0x36561a={_0x1fb99d:0x723,_0x3ef878:0x52b},_0x4db893={_0x392195:0x86},_0x3bdee1={_0xd87d8c:0x1b5};function _0x16beff(_0x34d0fd,_0x277bb6,_0x2f184b,_0x542847){return _0x199b7d(_0x34d0fd-0x16c,_0x2f184b- -0x2c,_0x2f184b-_0x3bdee1._0xd87d8c,_0x277bb6);}let _0x5eba4a=Array[_0x3c5430(_0x35dbd6._0x127f06,_0x35dbd6._0xa920ec,_0x35dbd6._0x16bcf8,-_0x35dbd6._0x323d87)](this[_0x16beff(_0x35dbd6._0x4d217c,_0x35dbd6._0xd75e27,_0x35dbd6._0x3789b1,0x43c)][_0x3c5430(_0x35dbd6._0x573185,0x72,-0xe6,0x1e3)]());function _0x3c5430(_0xea2d2b,_0x1dfd43,_0x5de7e2,_0xa0522a){return _0x199b7d(_0xea2d2b-0x10b,_0x1dfd43- -0x40d,_0x5de7e2-_0x4db893._0x392195,_0x5de7e2);}return _0x1461a6[_0x16beff(0x3df,0x2a7,_0x35dbd6._0x26a07b,0x525)]?_0x5eba4a:_0x5eba4a[_0x3c5430(0x1a5,0x127,_0x35dbd6._0x301df9,_0x35dbd6._0xc0fc51)](_0x27ed34=>{const _0x523a77={_0x56d6fe:0x7d,_0x2607ca:0x123},_0x2faafe={_0x4fc1f3:0x6,_0x28989c:0x5c2};function _0x137065(_0x28add5,_0x34a307,_0x1a4a25,_0x1bc72c){return _0x3c5430(_0x28add5-_0x2faafe._0x4fc1f3,_0x34a307-_0x2faafe._0x28989c,_0x1bc72c,_0x1bc72c-0xa2);}if(!_0x27ed34[_0x2198ea(_0x36561a._0x1fb99d,0x5d0,0x731,0x714)])return!0x0;let _0x4538a9=this['createContext'](_0x27ed34['id']);function _0x2198ea(_0x40d692,_0x1e4194,_0x32710e,_0x2e8ca7){return _0x16beff(_0x40d692-0x1f1,_0x40d692,_0x1e4194-_0x523a77._0x56d6fe,_0x2e8ca7-_0x523a77._0x2607ca);}return _0x27ed34[_0x2198ea(0x5f0,0x5d0,_0x36561a._0x3ef878,0x5e3)](_0x4538a9);});}async[_0x3eba7a(0x11d,0x1f7,0x2d7,0x177)](_0x266b1a){const _0x1ee6e3={_0x3e2450:0x183,_0x2cc7b5:0x35d,_0x3d16d3:0x1b9,_0x4b7444:0xe2,_0x4206cc:0x590,_0x5c1243:0x65a,_0xce7b57:0x7ea,_0x2bf239:0x612,_0xf4e1ee:0x4fe,_0x215280:0x23b,_0x6ea297:0x3df,_0x58faff:0x577,_0x4be1ee:0x30c,_0xd1f2a9:0x431,_0x34d9e8:0x1e5,_0x1225d3:0x4c8,_0x1a7c19:0x27c,_0x203bdf:0x6d1,_0xd0127f:0x8d3,_0x3e42ae:0x70d,_0x283f25:0x6d1,_0x1b892a:0x583,_0x33013b:0x30b,_0x5bd984:0x18a,_0x37a3d6:0x811,_0xe8975b:0x654,_0x3e58f9:0x781,_0x3ab146:0x77d,_0x3f9376:0x442,_0x311800:0x49a,_0x2a00f:0x509,_0x2b6ee4:0x9d,_0x291a9:0x29a,_0x3ab7f5:0x309,_0x3bee5f:0x8f,_0x2bdbb4:0x15f,_0x2fea3e:0x3aa,_0x2bf923:0x239,_0x18cce2:0x73f,_0x3b37a9:0x618,_0xf1a701:0xa3,_0xb427:0x170,_0x3f3624:0x11a,_0x11010e:0x3c0,_0x207784:0x4c5,_0x17d8fb:0x371,_0x398822:0x376,_0x3634dc:0x231},_0x56444e={_0x23c2d6:0x5e0},_0x203fff={_0x58ecae:0xfe,_0x515c2a:0x209};function _0x262194(_0x47f822,_0x453e26,_0x2d69fd,_0x532368){return _0x3eba7a(_0x47f822-0xc9,_0x453e26-_0x203fff._0x58ecae,_0x453e26,_0x47f822-_0x203fff._0x515c2a);}function _0x1e0e45(_0x1569d6,_0x4db174,_0x4e7c08,_0x6ef453){return _0x3eba7a(_0x1569d6-0x162,_0x4db174-0x178,_0x4db174,_0x4e7c08-_0x56444e._0x23c2d6);}try{let _0x3d65ae=_0x266b1a[_0x262194(0x8f,_0x1ee6e3._0x3e2450,-0xaf,0x13a)]()['split']('\x20')[0x0],_0x925827=this['get'](_0x3d65ae);if(!_0x925827)return L[_0x262194(0x241,0x3ba,0x149,_0x1ee6e3._0x2cc7b5)]('ui:error',_0x262194(_0x1ee6e3._0x3d16d3,-0x29,_0x1ee6e3._0x4b7444,0x65)+_0x3d65ae),{'success':!0x1,'commandId':_0x3d65ae,'error':new Error(_0x1e0e45(0x633,0x6b4,_0x1ee6e3._0x4206cc,0x3b7)+_0x3d65ae)};let _0x5438ce=this[_0x1e0e45(_0x1ee6e3._0x5c1243,0x7b0,_0x1ee6e3._0xce7b57,0x993)](_0x266b1a);return _0x925827[_0x1e0e45(0x65f,0x7b7,_0x1ee6e3._0x2bf239,_0x1ee6e3._0xf4e1ee)]&&await _0x925827[_0x262194(_0x1ee6e3._0x215280,0x40b,0x227,0xd4)](_0x5438ce),_0x925827[_0x262194(_0x1ee6e3._0x6ea297,0x284,0x5a8,_0x1ee6e3._0x58faff)]===_0x262194(_0x1ee6e3._0x4be1ee,_0x1ee6e3._0xd1f2a9,_0x1ee6e3._0x34d9e8,_0x1ee6e3._0x1225d3)?(await _0x925827[_0x262194(0x165,_0x1ee6e3._0x1a7c19,-0x3f,0x298)](_0x5438ce),_0x925827[_0x1e0e45(0x6b3,0x740,_0x1ee6e3._0x203bdf,_0x1ee6e3._0xd0127f)]&&await _0x925827[_0x1e0e45(_0x1ee6e3._0x3e42ae,0x819,_0x1ee6e3._0x283f25,_0x1ee6e3._0x1b892a)](_0x5438ce),{'success':!0x0,'commandId':_0x3d65ae}):_0x925827[_0x262194(0x165,_0x1ee6e3._0x33013b,_0x1ee6e3._0x5bd984,0x190)]&&_0x266b1a['trim']()[_0x1e0e45(_0x1ee6e3._0x37a3d6,_0x1ee6e3._0xe8975b,_0x1ee6e3._0x3e58f9,_0x1ee6e3._0x3ab146)](/\s+/)[_0x262194(_0x1ee6e3._0x3f9376,0x3a5,_0x1ee6e3._0x311800,_0x1ee6e3._0x2a00f)]>0x1?(await _0x925827[_0x262194(0x165,0x173,-_0x1ee6e3._0x2b6ee4,_0x1ee6e3._0x291a9)](_0x5438ce),_0x925827['afterInvoke']&&await _0x925827['afterInvoke'](_0x5438ce),{'success':!0x0,'commandId':_0x3d65ae}):(this[_0x262194(0x228,0x354,0x401,_0x1ee6e3._0x3ab7f5)](_0x3d65ae,_0x5438ce),{'success':!0x0,'commandId':_0x3d65ae});}catch(_0x1d6091){let _0x38a72c=_0x266b1a[_0x262194(_0x1ee6e3._0x3bee5f,-0xf3,0x5e,_0x1ee6e3._0x2bdbb4)]()[_0x262194(_0x1ee6e3._0x2fea3e,0x37a,0x41f,_0x1ee6e3._0x2bf923)]('\x20')[0x0];return L[_0x1e0e45(0x442,_0x1ee6e3._0x18cce2,_0x1ee6e3._0x3b37a9,0x6e5)](_0x262194(0x7d,-_0x1ee6e3._0xf1a701,-_0x1ee6e3._0xb427,_0x1ee6e3._0x3f3624),_0x262194(_0x1ee6e3._0x11010e,0x46f,0x44f,_0x1ee6e3._0x207784)+(_0x1d6091 instanceof Error?_0x1d6091[_0x262194(_0x1ee6e3._0x17d8fb,_0x1ee6e3._0x398822,_0x1ee6e3._0x3634dc,0x21c)]:String(_0x1d6091))),{'success':!0x1,'commandId':_0x38a72c,'error':_0x1d6091 instanceof Error?_0x1d6091:new Error(String(_0x1d6091))};}}[_0x199b7d(0x47d,0x4c6,0x55e,0x5f7)](_0x1fdaee,_0x215acf){const _0x80d114={_0x4d048f:0x45d,_0x5762b8:0x2cf,_0x898177:0x17b,_0x8a89a3:0xab,_0x9b01a9:0x1fd,_0x4c37b5:0xf3,_0x5c441b:0x2b},_0x2cece3={_0x326e94:0x135},_0x118ef8={_0x55527f:0x100,_0x3948ce:0xb5};let _0x585aa7=this[_0xd26687(0x51e,0x370,_0x80d114._0x4d048f,0x4c8)](_0x1fdaee);if(!_0x585aa7||_0x585aa7['type']!==_0x400728(-0x2ca,-_0x80d114._0x5762b8,-_0x80d114._0x898177,-_0x80d114._0x8a89a3))return;function _0xd26687(_0x324470,_0x20c379,_0x4a05a0,_0x469f38){return _0x199b7d(_0x324470-_0x118ef8._0x55527f,_0x4a05a0- -0x183,_0x4a05a0-_0x118ef8._0x3948ce,_0x469f38);}this[_0x400728(_0x80d114._0x9b01a9,_0x80d114._0x4c37b5,0x18b,-_0x80d114._0x5c441b)]&&this['clearActive']();let _0x5cc0c8=_0x585aa7['createState']?_0x585aa7['createState'](_0x215acf):void 0x0;function _0x400728(_0x2a8704,_0x1b1aef,_0xd8db5f,_0x330156){return _0x199b7d(_0x2a8704-0x1bc,_0xd8db5f- -0x566,_0xd8db5f-_0x2cece3._0x326e94,_0x330156);}this['activeCommand']={'command':_0x585aa7,'context':_0x215acf,'state':_0x5cc0c8},L['emit']('ui:command:activated',_0x1fdaee);}['clearActive'](){const _0x4c87ef={_0x53f633:0x5b5,_0x29f9ea:0x2df,_0x320096:0xc1,_0x64604e:0x15d,_0x5c5020:0x7a,_0xb47cb4:0x3f8,_0x55394a:0x190,_0xc34302:0x2f6,_0x149863:0x550,_0x24b202:0x50a,_0x5c8212:0x333,_0x5d0af1:0x266,_0x3c6bba:0x37f,_0x22120c:0x6a5,_0x2abe05:0x648,_0x5b536a:0x39b},_0x380d99={_0x3d9f07:0x205},_0x1e3306={_0x3c218d:0xb1};if(!this['activeCommand'])return;let {command:_0x4c473b,context:_0x666836}=this['activeCommand'];if(_0x4c473b['onExit'])try{_0x4c473b[_0xa0a50f(0x43b,_0x4c87ef._0x53f633,_0x4c87ef._0x29f9ea,0x542)](_0x666836);}catch(_0x27d5f9){console[_0x456f0e(-0xcc,_0x4c87ef._0x320096,_0x4c87ef._0x64604e,0x6f)](_0x456f0e(-0x53,_0x4c87ef._0x5c5020,0xcf,0xc5),_0x27d5f9);}function _0xa0a50f(_0x39dffa,_0x78d38f,_0x451248,_0x322de8){return _0x3eba7a(_0x39dffa-0x15,_0x78d38f-_0x1e3306._0x3c218d,_0x451248,_0x39dffa-0x543);}if(_0x4c473b[_0x456f0e(_0x4c87ef._0xb47cb4,0x20b,_0x4c87ef._0x55394a,_0x4c87ef._0xc34302)])try{_0x4c473b['afterInvoke'](_0x666836);}catch(_0x5bb2fd){console[_0xa0a50f(0x3ad,0x54f,_0x4c87ef._0x149863,_0x4c87ef._0x24b202)]('Error\x20in\x20command\x20afterInvoke\x20hook:',_0x5bb2fd);}function _0x456f0e(_0x808d7,_0x5198bb,_0x37d3d6,_0xc061d8){return _0x3eba7a(_0x808d7-0x45,_0x5198bb-0xd1,_0x808d7,_0xc061d8-_0x380d99._0x3d9f07);}this[_0x456f0e(_0x4c87ef._0x5c8212,_0x4c87ef._0x5d0af1,0x424,0x44f)]=null,L[_0xa0a50f(0x57b,_0x4c87ef._0x3c6bba,_0x4c87ef._0x22120c,_0x4c87ef._0x2abe05)](_0x456f0e(_0x4c87ef._0x5b536a,0x295,0x3c4,0x311),_0x4c473b['id']);}[_0x3eba7a(0x225,0x71,0xc7,0x1db)](){const _0x3e2599={_0x46819f:0x591,_0x5bd92a:0x675},_0x50d350={_0x32a772:0x20,_0x54ad15:0x160};function _0x448802(_0x2975a4,_0x3d2aee,_0x264724,_0xc38ed9){return _0x199b7d(_0x2975a4-_0x50d350._0x32a772,_0x3d2aee- -_0x50d350._0x54ad15,_0x264724-0xef,_0x264724);}return this[_0x448802(0x5c5,_0x3e2599._0x46819f,0x5fc,_0x3e2599._0x5bd92a)];}[_0x3eba7a(0x29,0x121,0x1de,0x216)](_0x113ea5){const _0x42246b={_0x2ada4b:0x4bf,_0x24c9f6:0x40c},_0x29e094={_0x16b333:0x40,_0x58ebad:0xf6};function _0x2a11b0(_0x3e163f,_0x15bb19,_0x2c351e,_0x3298d1){return _0x199b7d(_0x3e163f-0x1f4,_0x3e163f- -0x1f4,_0x2c351e-0x35,_0x3298d1);}function _0x2073ab(_0x5a1b19,_0x59d35a,_0x47db5f,_0x40f221){return _0x199b7d(_0x5a1b19-_0x29e094._0x16b333,_0x47db5f-_0x29e094._0x58ebad,_0x47db5f-0x2f,_0x59d35a);}return this[_0x2073ab(0x662,0x7ff,0x7e7,0x9b3)]?.[_0x2a11b0(0x32f,_0x42246b._0x2ada4b,0x2fb,_0x42246b._0x24c9f6)]['id']===_0x113ea5;}[_0x3eba7a(-0x235,0xfa,-0x1cf,-0xfd)](_0x32723a){this['configFunctions']=_0x32723a;}[_0x3eba7a(-0x1d2,-0xa9,0x5,0x14)](_0x2ebd70){const _0x2baaa1={_0x2cb2cd:0x2b9},_0x293c2e={_0xed3bb1:0x2f,_0x2f1691:0x2c1};function _0x1d3aa5(_0x3948fb,_0x573a39,_0x52175c,_0x49c112){return _0x199b7d(_0x3948fb-_0x293c2e._0xed3bb1,_0x52175c- -_0x293c2e._0x2f1691,_0x52175c-0x1b8,_0x49c112);}this[_0x1d3aa5(0x1fb,0xe0,0x168,_0x2baaa1._0x2cb2cd)]=_0x2ebd70;}[_0x3eba7a(0x1d2,0x274,-0x68,0x17d)](_0x2cdd20){const _0x38174e={_0x222a5d:0xec,_0x5b3b42:0x40f,_0x362c11:0xdd};function _0x4572fb(_0x4a2dd3,_0x5ca9e9,_0x31eae6,_0x2d2fb3){return _0x199b7d(_0x4a2dd3-_0x38174e._0x222a5d,_0x31eae6- -_0x38174e._0x5b3b42,_0x31eae6-_0x38174e._0x362c11,_0x5ca9e9);}this[_0x4572fb(0x9d,-0x3,0x1fa,0x2e5)]=_0x2cdd20;}[_0x199b7d(0x867,0x6b1,0x5a6,0x721)](_0x514c29){const _0x32dc72={_0x3a9787:0x7e0,_0x1307bf:0x603,_0xe0443f:0x4d4,_0x1e12ae:0x347,_0x14b385:0x476,_0x58b761:0x603,_0x4ae8b3:0x628,_0x169425:0x40a,_0x292c18:0x5d1},_0x2a72dd={_0x491d34:0x9e,_0x10674c:0x11f},_0xd87325={_0x2546a5:0x110,_0x55a37b:0x103};function _0x451305(_0x384ed4,_0x442719,_0x11fc01,_0x2a0cd5){return _0x199b7d(_0x384ed4-_0xd87325._0x2546a5,_0x442719-0xd4,_0x11fc01-_0xd87325._0x55a37b,_0x384ed4);}if(!this[_0x451305(_0x32dc72._0x3a9787,_0x32dc72._0x1307bf,0x806,_0x32dc72._0xe0443f)])throw new Error(_0x4db5d2(_0x32dc72._0x1e12ae,_0x32dc72._0x14b385,0x526,0x4d6));function _0x4db5d2(_0x2f0ab5,_0x43bef3,_0x2d2f52,_0x41ad86){return _0x3eba7a(_0x2f0ab5-_0x2a72dd._0x491d34,_0x43bef3-_0x2a72dd._0x10674c,_0x43bef3,_0x2d2f52-0x46f);}return{'rawInput':_0x514c29,'eventBus':L,'registry':this,'config':this[_0x451305(0x795,_0x32dc72._0x58b761,0x806,0x783)],'memory':this['memory'],'orchestrator':this[_0x4db5d2(_0x32dc72._0x4ae8b3,_0x32dc72._0x169425,_0x32dc72._0x292c18,0x773)]};}},ce=new Go();import{promises as _0x38bcc0}from'fs';import _0x509f34 from'os';function _0x199b7d(_0x42ccfe,_0x297151,_0x360c9a,_0x104a4b){const _0x3a8acc={_0x9779be:0x1ea};return _0x58a4(_0x297151-_0x3a8acc._0x9779be,_0x104a4b);}import*as _0xf996b1 from'path';var Ln=/data:image\/[a-zA-Z0-9.+-]+;base64,[a-zA-Z0-9+/=\s]+/g,Yo=/@(?:"([^"]+)"|'([^']+)'|([^\s]+))/g,Dn={'.png':'image/png','.jpg':'image/jpeg','.jpeg':_0x3eba7a(0x10,0x6d,0x1f0,0x172),'.gif':_0x199b7d(0x538,0x360,0x1e9,0x514),'.webp':_0x3eba7a(0x118,0xc5,0x1b0,-0x52),'.bmp':_0x3eba7a(0x2c,0x55,0xfc,0x120),'.svg':_0x199b7d(0x521,0x65f,0x5ee,0x5c4),'.avif':_0x199b7d(0x597,0x5d7,0x57e,0x425),'.heic':_0x3eba7a(-0x13b,0x5,-0x38,0x58),'.heif':_0x199b7d(0x45e,0x5c2,0x42c,0x61f),'.jfif':_0x199b7d(0x474,0x619,0x772,0x7e0)},qo=_0x2f3ecc=>_0x199b7d(0x6fd,0x5f1,0x549,0x577)+_0x2f3ecc+'>>',za=_0x5b8681=>_0x5b8681[_0x3eba7a(0x157,0x12,0x31,-0x82)](/\s+/g,''),Ga=_0x2ae910=>_0x2ae910[_0x199b7d(0x499,0x4fa,0x6bc,0x409)]('~')?_0xf996b1[_0x199b7d(0x2eb,0x3f8,0x4d9,0x5bd)](_0x509f34[_0x199b7d(0x44e,0x601,0x420,0x770)](),_0x2ae910['slice'](0x1)):_0x2ae910,Ya=_0x175592=>_0xf996b1[_0x3eba7a(0x249,0x17f,0x256,0x8f)](Ga(_0x175592)),qa=_0x21503c=>{const _0xc0822e={_0x1ce7c8:0x6c2,_0x7b1f2d:0x7dd,_0x2a031b:0x62d},_0x3627f6={_0x1d2095:0x1dc},_0x1e6180={_0x3d467c:0x68f};let _0x394371=_0xf996b1[_0xdea75d(0x582,0x4c7,_0xc0822e._0x1ce7c8,0x71f)](_0x21503c)[_0xdea75d(_0xc0822e._0x7b1f2d,0x962,0x7a9,_0xc0822e._0x2a031b)](),_0x32ff5a=Dn[_0x394371];function _0x22f7b6(_0xbf147b,_0x19fbc2,_0x2ed971,_0x2d6234){return _0x3eba7a(_0xbf147b-0x3d,_0x19fbc2-0x19,_0x2ed971,_0xbf147b-_0x1e6180._0x3d467c);}if(!_0x32ff5a)throw new Error(_0xdea75d(0x67d,0x7c8,0x792,0x93b)+_0x21503c);function _0xdea75d(_0x146bb5,_0x2721ff,_0x2926b0,_0x4f3bdd){return _0x199b7d(_0x146bb5-0xf1,_0x2926b0-0x1c4,_0x2926b0-_0x3627f6._0x1d2095,_0x2721ff);}return _0x32ff5a;};async function _n(_0x38e7d2,_0x2a16ff){const _0x2a1a3f={_0x155369:0x217,_0xd1a323:0x7e,_0x2b41d0:0xf,_0xf0c077:0x7b,_0x2c98ed:0x13c,_0x3cd9bd:0x1f,_0xea12f6:0x142,_0x15e7c1:0x7d,_0xc2ae23:0xe,_0x5d04e9:0x208,_0x1ae762:0x15d,_0x27a5d8:0x1c0,_0x5926b7:0x103,_0xb61d81:0x31d,_0xf010c8:0x2b2,_0x92b179:0xbc,_0x171ce:0x167,_0x5258ca:0xf3,_0x114a9d:0x101,_0x2f2469:0xfb,_0x4911e7:0x8c1,_0x2bbf22:0x947,_0x3c23ba:0x871,_0x47d51f:0x113,_0x1f788b:0x6ce,_0x4d9da8:0x8a8,_0x2e40dc:0x6f9,_0x5b6a32:0x56,_0x410fdd:0x13f,_0x42cf1c:0xca,_0x453e8e:0x280,_0x219304:0x8c,_0x29d552:0x35,_0x1391d0:0x21b,_0x4286cf:0x8e,_0x52eb1b:0x180,_0x14d8a2:0x33,_0x1a7c21:0x10b,_0x1c3ad9:0x16,_0x6df4ad:0xbd,_0xcb8d12:0x219,_0x3d122a:0x221,_0x15fc49:0x47,_0x3b4a2f:0x58f,_0x37c48d:0x63,_0x50dde6:0x11e,_0x43d2d7:0x56d,_0x25ae76:0x5db,_0x2f5603:0x1d4,_0x8b299e:0x37e,_0x42a4f7:0x1df,_0x568c69:0x41,_0x4d71a7:0x18,_0x204210:0x9d,_0x764c7e:0xeb,_0x4cd9d1:0xfd,_0x2573c2:0x8b9,_0x4e1c35:0xa52,_0x400a05:0x98d,_0x26f482:0x118,_0x21c6c4:0x39,_0x127baf:0x1cc,_0x401199:0xa47,_0x44596d:0x954,_0x1b62cd:0x2f1,_0xd9808:0x653,_0x5dfdea:0x7cd,_0x5db5c0:0x470,_0x1a9835:0x6e0,_0x15d7e7:0x254,_0x267afa:0x10b,_0x493b41:0x2ce,_0x19fae8:0x71c,_0x3f306d:0x7ff,_0x400bfc:0x5a4,_0x1e701d:0x59e,_0x2fe9ed:0x6dc,_0x8f3fd9:0x560,_0x2c9516:0x587,_0x1fe26c:0x631,_0x33fad1:0x7a9,_0x531673:0x115,_0x51c07c:0x244,_0x3f9fb9:0x624,_0x417c7b:0x500,_0x1370d9:0x676,_0x55bc60:0x8e2,_0x368c33:0x82e,_0xad386e:0x128,_0x9c3fc2:0x49,_0x2b8eeb:0x1a5,_0x3b3e5d:0x611,_0x543e5f:0x67b,_0x15ce5b:0x59f,_0x51e9a3:0x4d1,_0x2624ec:0x71d,_0x59c8af:0x3a,_0x5ab85d:0x45,_0x10b7a5:0x215,_0x387d90:0x1b8,_0x291256:0x3,_0x2fb17:0x51,_0x2768a6:0x5fc,_0x5e4022:0x3ea,_0x3726c5:0x1d0,_0x167ec4:0x1a},_0x143950={_0x3377d3:0x680},_0x44b91d={_0x4894d0:0x168,_0x9a0bf:0x3e,_0x4df8f4:0xc3,_0x48728c:0x21e,_0x2066f3:0x209,_0x130da4:0x3e8},_0x584f58={_0x424e7e:0x43},_0x5f4fc5={_0x57371c:0xf2},_0x3c7083={_0x4b4c8b:0x12e,_0xf66810:0x6d};let _0x5b23d5=[],_0x2d80d6=[];function _0x55c36e(_0x3b0935,_0x3f231a,_0x5ffeff,_0xef0c06){return _0x3eba7a(_0x3b0935-0x120,_0x3f231a-_0x3c7083._0x4b4c8b,_0x5ffeff,_0x3b0935- -_0x3c7083._0xf66810);}_0x2a16ff&&_0x2a16ff['length']>0x0&&_0x2a16ff[_0x55c36e(0x16d,0x12e,_0x2a1a3f._0x155369,0x22e)](_0x1b8e40=>{function _0x588b6d(_0x455ad6,_0x1fbd3d,_0x380dcc,_0x4acca6){return _0x55c36e(_0x380dcc-0x34a,_0x1fbd3d-0xb5,_0x4acca6,_0x4acca6-_0x5f4fc5._0x57371c);}let _0x5c9dcc=_0x5b23d5['length']+0x1,_0x3a801f=qo(_0x5c9dcc),_0x4a8ed7=_0x588b6d(0x10f,0x3d8,0x2b6,0x3cf)+_0x5c9dcc,_0x3a5993=_0x2d9e73(_0x44b91d._0x4894d0,_0x44b91d._0x9a0bf,_0x44b91d._0x4df8f4,_0x44b91d._0x48728c)+_0x1b8e40[_0x588b6d(0x240,0xfc,0x1e1,_0x44b91d._0x2066f3)](_0x588b6d(0x41a,0x610,0x4d5,_0x44b91d._0x130da4));function _0x2d9e73(_0x4b3af6,_0x558757,_0x5b7710,_0x137952){return _0x55c36e(_0x558757- -0x2b,_0x558757-0x153,_0x137952,_0x137952-_0x584f58._0x424e7e);}_0x5b23d5['push']({'kind':_0x2d9e73(-0x177,-0xe7,0x27,-0x15a),'token':_0x3a801f,'label':_0x4a8ed7,'dataUri':_0x3a5993});});let _0x2b2f28=0x0;Ln[_0x55c36e(-_0x2a1a3f._0xd1a323,0x7,-_0x2a1a3f._0x2b41d0,_0x2a1a3f._0xf0c077)]=0x0;let _0x241649;function _0x340709(_0x4aff4c,_0x2b7f05,_0x392845,_0x456bbe){return _0x3eba7a(_0x4aff4c-0x1bd,_0x2b7f05-0x1e,_0x2b7f05,_0x4aff4c-_0x143950._0x3377d3);}for(;(_0x241649=Ln['exec'](_0x38e7d2))!==null;){let _0x28b8d8=_0x241649[_0x55c36e(-0x21b,-0x89,-_0x2a1a3f._0x2c98ed,-0x1a5)];_0x28b8d8>_0x2b2f28&&_0x2d80d6[_0x55c36e(-_0x2a1a3f._0x3cd9bd,-0xb8,_0x2a1a3f._0xea12f6,-0x9)]({'kind':_0x55c36e(-_0x2a1a3f._0x15e7c1,-_0x2a1a3f._0xc2ae23,-_0x2a1a3f._0x5d04e9,-_0x2a1a3f._0x1ae762),'value':_0x38e7d2[_0x55c36e(-_0x2a1a3f._0x27a5d8,-_0x2a1a3f._0x5926b7,-0x1c7,-0x2a6)](_0x2b2f28,_0x28b8d8)});let _0x29cb35=_0x5b23d5['length']+0x1,_0x4dda66=qo(_0x29cb35),_0x383c93=_0x55c36e(-0x1ef,-_0x2a1a3f._0xb61d81,-_0x2a1a3f._0xf010c8,-0x54)+_0x29cb35;_0x5b23d5['push']({'kind':_0x55c36e(-_0x2a1a3f._0x92b179,-0x195,0x13,-_0x2a1a3f._0x171ce),'token':_0x4dda66,'label':_0x383c93,'dataUri':_0x241649[0x0]}),_0x2d80d6[_0x55c36e(-0x1f,_0x2a1a3f._0x5258ca,_0x2a1a3f._0x114a9d,-_0x2a1a3f._0x2f2469)]({'kind':_0x340709(_0x2a1a3f._0x4911e7,_0x2a1a3f._0x2bbf22,0x7f3,0xa93),'index':_0x5b23d5[_0x340709(0x8b9,0xa46,0x820,0x7ab)]-0x1}),_0x2b2f28=_0x28b8d8+_0x241649[0x0][_0x340709(0x8b9,0x8ec,_0x2a1a3f._0x3c23ba,0x9dc)];}_0x2b2f28<_0x38e7d2[_0x55c36e(0x1cc,0x18e,0xa,_0x2a1a3f._0x47d51f)]&&_0x2d80d6[_0x340709(_0x2a1a3f._0x1f788b,_0x2a1a3f._0x4d9da8,_0x2a1a3f._0x2e40dc,0x66e)]({'kind':_0x55c36e(-0x7d,-0x1c2,-0x15a,-0x139),'value':_0x38e7d2['slice'](_0x2b2f28)});let _0x4dc1c3=[];for(let _0x32e1fb of _0x2d80d6){if(_0x32e1fb[_0x55c36e(_0x2a1a3f._0x5b6a32,_0x2a1a3f._0x410fdd,-0x46,-0x13c)]==='attachment'){_0x4dc1c3['push'](_0x32e1fb);continue;}let _0x5ee8d2=_0x32e1fb[_0x55c36e(-_0x2a1a3f._0x42cf1c,-_0x2a1a3f._0x453e8e,-_0x2a1a3f._0x219304,-0x36)],_0x559d12=0x0;Yo[_0x55c36e(-_0x2a1a3f._0xd1a323,-_0x2a1a3f._0x29d552,0x169,-0xd8)]=0x0;let _0x35260f;for(;(_0x35260f=Yo['exec'](_0x5ee8d2))!==null;){let _0x34af27=_0x35260f[_0x55c36e(-_0x2a1a3f._0x1391d0,-0x2b0,-_0x2a1a3f._0x4286cf,-_0x2a1a3f._0x52eb1b)],_0x517f37=_0x34af27>0x0?_0x5ee8d2[_0x34af27-0x1]:void 0x0;if(_0x517f37&&!/[\s([{<'"`]/[_0x55c36e(-0x97,0xd7,-_0x2a1a3f._0x14d8a2,_0x2a1a3f._0x1a7c21)](_0x517f37))continue;let _0x302b33=(_0x35260f[0x1]??_0x35260f[0x2]??_0x35260f[0x3]??'')['trim']();if(!_0x302b33)continue;let _0x56b01e=_0xf996b1[_0x55c36e(-_0x2a1a3f._0x1c3ad9,-0x1c3,-_0x2a1a3f._0x6df4ad,0x43)](_0x302b33)[_0x340709(0x7be,0x66c,0x9b5,0x7c4)]();if(!Dn[_0x56b01e])continue;_0x34af27>_0x559d12&&_0x4dc1c3['push']({'kind':_0x55c36e(-0x7d,-0x84,_0x2a1a3f._0x1a7c21,-_0x2a1a3f._0xcb8d12),'value':_0x5ee8d2[_0x340709(0x52d,0x608,0x437,0x635)](_0x559d12,_0x34af27)});let _0x56c4ce=_0x5b23d5[_0x55c36e(0x1cc,_0x2a1a3f._0x3d122a,0x166,_0x2a1a3f._0x15fc49)]+0x1,_0x484543=qo(_0x56c4ce),_0x9b08a=_0xf996b1['basename'](_0x302b33)||_0x340709(0x6be,0x603,_0x2a1a3f._0x3b4a2f,0x7aa)+_0x56c4ce;_0x5b23d5[_0x55c36e(-0x1f,0x1a2,-_0x2a1a3f._0x37c48d,-0x6a)]({'kind':_0x55c36e(-0x76,-_0x2a1a3f._0x50dde6,-0x16a,0xd9),'token':_0x484543,'label':_0x9b08a,'path':_0x302b33}),_0x4dc1c3[_0x340709(0x6ce,_0x2a1a3f._0x43d2d7,_0x2a1a3f._0x25ae76,0x6a6)]({'kind':_0x55c36e(_0x2a1a3f._0x2f5603,0x3a9,_0x2a1a3f._0x8b299e,_0x2a1a3f._0x42a4f7),'index':_0x5b23d5[_0x55c36e(0x1cc,_0x2a1a3f._0x568c69,0xf6,_0x2a1a3f._0x4d71a7)]-0x1}),_0x559d12=Yo[_0x55c36e(-0x7e,-_0x2a1a3f._0x204210,-_0x2a1a3f._0x764c7e,-_0x2a1a3f._0x4cd9d1)];}_0x559d12<_0x5ee8d2[_0x340709(_0x2a1a3f._0x2573c2,_0x2a1a3f._0x4e1c35,_0x2a1a3f._0x400a05,0x6fb)]&&_0x4dc1c3['push']({'kind':'text','value':_0x5ee8d2[_0x55c36e(-_0x2a1a3f._0x27a5d8,-0x234,-_0x2a1a3f._0x26f482,-_0x2a1a3f._0x21c6c4)](_0x559d12)});}let _0x23ff8a=_0x4dc1c3[_0x55c36e(_0x2a1a3f._0x127baf,0x1f6,0xd7,0xc0)]>0x0?_0x4dc1c3:_0x2d80d6,_0x65e5ea=_0x23ff8a[_0x340709(0x8b5,0x952,_0x2a1a3f._0x401199,_0x2a1a3f._0x44596d)](_0x55fbf4=>_0x55fbf4[_0x55c36e(0x56,0x253,0x120,0x1e0)]===_0x55c36e(-0x7d,-0x205,0x7a,0x52)?_0x55fbf4[_0x55c36e(-0xca,0x116,-0x1d5,-0x5d)]:_0x5b23d5[_0x55fbf4['index']][_0x55c36e(0x45,0x1aa,0x20,-0x64)])['join'](''),_0x2a211c=_0x23ff8a[_0x55c36e(0x1c8,0x1c5,_0x2a1a3f._0x1b62cd,0x1e9)](_0x1b5b12=>_0x1b5b12[_0x55c36e(0x56,0xeb,0xc6,-0x14f)]==='text'?_0x1b5b12[_0x55c36e(-0xca,0x22,-0x23f,-0x57)]:_0x340709(0x82a,0x7dc,0x645,0x7b3)+_0x5b23d5[_0x1b5b12['index']][_0x55c36e(-0x115,-0x23f,0x33,-0x49)]+']')[_0x340709(0x5d1,_0x2a1a3f._0xd9808,0x615,0x735)]('');if(_0x5b23d5[_0x55c36e(0x1cc,0x2,0x29,0x16d)]===0x0)return{'text':_0x65e5ea||_0x38e7d2,'displayText':_0x2a211c||_0x38e7d2};let _0x5ec4f3=[];for(let _0x41ec3d of _0x5b23d5){if(_0x41ec3d['kind']===_0x340709(0x631,_0x2a1a3f._0x5dfdea,_0x2a1a3f._0x5db5c0,_0x2a1a3f._0x1a9835)){let _0x23c54f=_0x41ec3d[_0x55c36e(0x18d,0xb1,0x242,_0x2a1a3f._0x15d7e7)][_0x55c36e(-_0x2a1a3f._0x267afa,-_0x2a1a3f._0x493b41,-0x278,-0x24d)](/^data:([^;]+);base64,(.+)$/s);if(!_0x23c54f)throw new Error(_0x340709(_0x2a1a3f._0x19fae8,_0x2a1a3f._0x3f306d,0x7b6,_0x2a1a3f._0x400bfc));let _0x4315ee=_0x23c54f[0x1],_0x41e882=za(_0x23c54f[0x2]);_0x5ec4f3[_0x340709(0x6ce,_0x2a1a3f._0x1e701d,0x7db,_0x2a1a3f._0x2fe9ed)]({'type':'image','token':_0x41ec3d[_0x340709(0x732,_0x2a1a3f._0x1a9835,_0x2a1a3f._0x8f3fd9,_0x2a1a3f._0x2c9516)],'mimeType':_0x4315ee,'data':_0x41e882,'altText':_0x41ec3d[_0x55c36e(-0x115,-0x4,-0x13f,0x1)],'source':_0x340709(_0x2a1a3f._0x1fe26c,0x66e,_0x2a1a3f._0x33fad1,0x595),'name':_0x41ec3d[_0x55c36e(-_0x2a1a3f._0x531673,0x19,-_0x2a1a3f._0x51c07c,-0xff)]});continue;}let _0xad9f41=Ya(_0x41ec3d[_0x340709(0x611,_0x2a1a3f._0x3f9fb9,0x52d,_0x2a1a3f._0x417c7b)]),_0x4a27c7;try{_0x4a27c7=await _0x38bcc0['readFile'](_0xad9f41);}catch(_0x51a73d){let _0x37d013=_0x51a73d instanceof Error?_0x51a73d[_0x340709(0x7e8,_0x2a1a3f._0x1370d9,_0x2a1a3f._0x55bc60,_0x2a1a3f._0x368c33)]:String(_0x51a73d);throw new Error(_0x55c36e(-0x8,_0x2a1a3f._0xad386e,_0x2a1a3f._0x9c3fc2,_0x2a1a3f._0x2b8eeb)+_0x41ec3d[_0x340709(_0x2a1a3f._0x3b3e5d,_0x2a1a3f._0x543e5f,0x48a,_0x2a1a3f._0x15ce5b)]+':\x20'+_0x37d013);}let _0x396d9e=qa(_0xad9f41);_0x5ec4f3[_0x340709(0x6ce,0x631,_0x2a1a3f._0x51e9a3,_0x2a1a3f._0x2624ec)]({'type':_0x55c36e(0x199,0x200,_0x2a1a3f._0x59c8af,0x2d0),'token':_0x41ec3d[_0x55c36e(_0x2a1a3f._0x5ab85d,0x173,_0x2a1a3f._0x10b7a5,-0x8)],'mimeType':_0x396d9e,'data':_0x4a27c7[_0x55c36e(-0x169,-0x93,-0x18,-0xa2)](_0x55c36e(0x18b,_0x2a1a3f._0x387d90,-_0x2a1a3f._0x291256,-_0x2a1a3f._0x2fb17)),'altText':_0x41ec3d[_0x340709(0x5d8,_0x2a1a3f._0x2768a6,_0x2a1a3f._0x5e4022,0x6c7)],'source':_0x55c36e(-0x76,-_0x2a1a3f._0x3726c5,-_0x2a1a3f._0x167ec4,-0x17d),'name':_0xf996b1['basename'](_0xad9f41)});}return{'text':_0x65e5ea||_0x38e7d2,'displayText':_0x2a211c||_0x38e7d2,'attachments':_0x5ec4f3};}function Xa(_0x22c314){const _0xde2ff={_0x26f285:0x8aa,_0x1a01c5:0x6aa,_0x38d9a5:0x572,_0x34bb99:0x7ac,_0x3bdfb7:0x7f8,_0xbcde4:0x857,_0x30adb7:0x790,_0x3a629a:0x97f,_0x547e47:0x963,_0x37ed5:0x82d,_0x1a48b5:0x9ba,_0x1dc124:0xc3,_0x95a5a:0x128,_0x2eda02:0x7,_0x43fbbe:0xcb,_0x358cc5:0x6ce,_0x419217:0x76c,_0x3906b6:0x940,_0x2eabff:0x7c,_0x49ec38:0x1fc,_0x539c3f:0x916,_0x5d5b1d:0x634,_0x359d3b:0x7bf,_0x5ec039:0x716,_0x5ca3a6:0x1fc,_0x4c0936:0xbf,_0x37aac6:0xa4,_0x499e6b:0x52d,_0x45e1a1:0x424,_0x5bce30:0x7d2,_0x538f41:0x679,_0x50c098:0x9c,_0x299aa1:0x1b0,_0x33d463:0x6c,_0x35f34c:0x4d2,_0xa811e9:0x5b8,_0x75cecf:0x574,_0x6754d1:0x5e4,_0x3c1fb7:0x5bb,_0x34f3fb:0x5f8,_0x5ed89d:0x694,_0x615c48:0x37e,_0x1b1c6e:0x41a,_0x55486b:0x4ef,_0x54a89a:0x2ef},_0x41e1ee={_0x347e4d:0x39a};let {appendLine:_0x52ef20,handleError:_0x25c85e,executeCommand:_0x33f030,processMessage:_0x1a9cd5}=_0x22c314;return _0x4d9256(async _0x589db4=>{let _0xd082aa=_0x589db4['trim']();if(!_0xd082aa)return;if(_0xd082aa[_0x36622c(0x7d4,_0xde2ff._0x26f285,_0xde2ff._0x1a01c5,_0xde2ff._0x38d9a5)]('/')){let _0x16e1a5=_0xd082aa[_0x36622c(_0xde2ff._0x34bb99,0x617,_0xde2ff._0x3bdfb7,_0xde2ff._0xbcde4)]('\x20')[0x0],_0x2a4295=ce[_0x36622c(0x86b,0x8d8,_0xde2ff._0x30adb7,_0xde2ff._0x3a629a)](_0x16e1a5);if(!!_0x2a4295&&_0x2a4295[_0x36622c(_0xde2ff._0x547e47,0x8d3,_0xde2ff._0x37ed5,_0xde2ff._0x1a48b5)]===_0x453ef6(_0xde2ff._0x1dc124,_0xde2ff._0x95a5a,-_0xde2ff._0x2eda02,_0xde2ff._0x43fbbe)||_0x52ef20({'id':_0x287344['randomUUID'](),'type':_0x36622c(_0xde2ff._0x358cc5,_0xde2ff._0x419217,0x74a,_0xde2ff._0x3906b6),'content':_0xd082aa,'metadata':{'timestamp':new Date()[_0x453ef6(0x280,_0xde2ff._0x2eabff,0x3d6,_0xde2ff._0x49ec38)]()},'color':'cyan'}),_0xd082aa!=='/'){if(_0x2a4295){try{await _0x33f030(_0xd082aa);}catch(_0x19bed3){let _0x375363=_0x19bed3 instanceof Error?_0x19bed3[_0x36622c(_0xde2ff._0x539c3f,_0xde2ff._0x5d5b1d,_0xde2ff._0x359d3b,0x68c)]:String(_0x19bed3);_0x25c85e(_0x36622c(0x8ce,_0xde2ff._0x5ec039,0x7a0,0x967)+_0x375363);}return;}else{_0x52ef20({'id':_0x287344[_0x453ef6(_0xde2ff._0x5ca3a6,0x92,_0xde2ff._0x4c0936,_0xde2ff._0x37aac6)](),'type':_0x36622c(_0xde2ff._0x499e6b,0x345,0x4c1,_0xde2ff._0x45e1a1),'content':_0x36622c(0x70f,0x707,_0xde2ff._0x5bce30,_0xde2ff._0x538f41)+_0x16e1a5,'metadata':{'timestamp':new Date()['toISOString']()},'color':_0x453ef6(_0xde2ff._0x50c098,0x26a,_0xde2ff._0x299aa1,_0xde2ff._0x33d463)}),_0x52ef20({'id':_0x287344[_0x36622c(_0xde2ff._0x35f34c,_0xde2ff._0xa811e9,_0xde2ff._0x75cecf,0x685)](),'type':_0x36622c(_0xde2ff._0x6754d1,0x583,_0xde2ff._0x3c1fb7,0x643),'content':_0x36622c(0x79a,_0xde2ff._0x34f3fb,0x773,_0xde2ff._0x5ed89d),'metadata':{'timestamp':new Date()[_0x453ef6(_0xde2ff._0x615c48,0x27f,0x18c,0x1fc)]()},'color':'gray'});return;}}}let _0x1c6446;function _0x453ef6(_0x36ab42,_0x459c32,_0x39bf81,_0x2070a1){return _0x58a4(_0x2070a1- -0x136,_0x459c32);}try{let _0x57aacd=globalThis[_0x36622c(0x9cb,0x704,0x82c,0x734)]??[];_0x1c6446=await _n(_0xd082aa,_0x57aacd),globalThis['__clipboardFiles']=void 0x0;}catch(_0x44156c){let _0x9cbbaa=_0x44156c instanceof Error?_0x44156c[_0x453ef6(_0xde2ff._0x1b1c6e,_0xde2ff._0x55486b,0x117,_0xde2ff._0x54a89a)]:String(_0x44156c);_0x25c85e(_0x9cbbaa);return;}function _0x36622c(_0x5a3eaa,_0x280c42,_0x4bd71f,_0x43a82a){return _0x58a4(_0x4bd71f-_0x41e1ee._0x347e4d,_0x43a82a);}await _0x1a9cd5(_0x1c6446);},[_0x52ef20,_0x25c85e,_0x33f030,_0x1a9cd5]);}import{useState as _0x22a008,useEffect as _0x56948b}from'react';var Bn=process[_0x3eba7a(-0x187,-0x69,-0xa9,-0x95)][_0x199b7d(0x4ba,0x511,0x713,0x5e1)]||_0x3eba7a(-0x1a5,-0x175,-0x2b3,-0x1ab);async function Ht(_0x5bd18c){return new Promise(_0x23605d=>setTimeout(_0x23605d,_0x5bd18c));}function Fn(_0x5e737b){const _0x246ceb={_0x255a93:0x696,_0x5315d4:0x5ad,_0x1bcecd:0x5e6,_0x407a39:0x73a,_0xbd8564:0x7ea},_0x105b1c={_0x4011c7:0x1bd,_0x3b5d60:0x166},_0x12db9b={_0x87275d:0x4c,_0x1dd776:0x1b6,_0x52c36b:0x5b5};function _0x452e36(_0x350f09,_0x48ed4c,_0x241638,_0x321059){return _0x3eba7a(_0x350f09-_0x12db9b._0x87275d,_0x48ed4c-_0x12db9b._0x1dd776,_0x350f09,_0x241638-_0x12db9b._0x52c36b);}function _0x2f6b92(_0x15ce3d,_0x4a6c65,_0x1e32bd,_0x15e95b){return _0x199b7d(_0x15ce3d-_0x105b1c._0x4011c7,_0x15ce3d- -0x50b,_0x1e32bd-_0x105b1c._0x3b5d60,_0x15e95b);}return Object[_0x452e36(_0x246ceb._0x255a93,0x74d,_0x246ceb._0x5315d4,_0x246ceb._0x1bcecd)](_0x5e737b)[_0x452e36(0x822,_0x246ceb._0x407a39,_0x246ceb._0xbd8564,0x7b6)](([_0x3da7da,_0x157ad1])=>encodeURIComponent(_0x3da7da)+'='+encodeURIComponent(_0x157ad1))['join']('&');}async function Nn(){const _0xd91c5d={_0x235515:0x16d,_0xfa77e4:0x21e,_0x4d87dd:0x34f,_0x15ba3e:0x3a5,_0x4b645b:0x4b4,_0x4923b3:0x661,_0x5e7a6e:0x4aa,_0xd3f9a8:0x585,_0x54e42c:0x6aa,_0x17662e:0x6e2,_0x403713:0x309,_0x31b312:0x286,_0x362b07:0x37b,_0x4cc245:0x30f,_0x3ac67d:0x577,_0xf367fb:0x48c},_0x16e5ef={_0x4d7b29:0x88,_0x12a444:0x70},_0xb60020={_0x303d55:0x18e,_0x4476fd:0x52};function _0x5d3ccb(_0x121a60,_0x5ce072,_0x177e2a,_0x40530d){return _0x3eba7a(_0x121a60-_0xb60020._0x303d55,_0x5ce072-_0xb60020._0x4476fd,_0x5ce072,_0x177e2a-0x415);}let _0x20c1dd=await fetch(_0x5d3ccb(_0xd91c5d._0x235515,_0xd91c5d._0xfa77e4,_0xd91c5d._0x4d87dd,0x1ee),{'method':_0x33eaf1(0x1cb,0x55a,_0xd91c5d._0x15ba3e,0x299),'headers':{'Content-Type':_0x5d3ccb(_0xd91c5d._0x4b645b,_0xd91c5d._0x4923b3,_0xd91c5d._0x5e7a6e,0x535),'Accept':'application/json','User-Agent':_0x33eaf1(0x5e8,_0xd91c5d._0xd3f9a8,0x6bd,_0xd91c5d._0x54e42c)},'body':Fn({'client_id':Bn,'scope':'read:user'})});if(!_0x20c1dd['ok'])throw new Error('device\x20code\x20request\x20failed:\x20'+_0x20c1dd['status']);let _0x47d41d=await _0x20c1dd[_0x5d3ccb(0x80a,0x4a2,_0xd91c5d._0x4923b3,_0xd91c5d._0x17662e)](),_0x47a9d3=_0x47d41d['verification_uri_complete']||_0x47d41d[_0x5d3ccb(_0xd91c5d._0x403713,_0xd91c5d._0x31b312,0x40b,_0xd91c5d._0x362b07)];function _0x33eaf1(_0x180aa1,_0x1971f7,_0x50a244,_0x477dae){return _0x3eba7a(_0x180aa1-_0x16e5ef._0x4d7b29,_0x1971f7-_0x16e5ef._0x12a444,_0x477dae,_0x50a244-0x46c);}return{'deviceCode':_0x47d41d[_0x33eaf1(_0xd91c5d._0x4cc245,0x4d1,0x375,0x3d7)],'userCode':_0x47d41d['user_code'],'verificationUri':_0x47a9d3,'interval':_0x47d41d['interval'],'expiresIn':_0x47d41d[_0x5d3ccb(0x4d2,_0xd91c5d._0x3ac67d,_0xd91c5d._0xf367fb,0x2af)]};}async function On(_0x54b6ea,_0x267039=!0x1){const _0x52cde7={_0x3ad286:0x7fa,_0x53920c:0x438,_0x1322a9:0x2e6,_0xd96c75:0x3be,_0x409f28:0x31c,_0x17ee5f:0x1f2,_0x29647f:0x959,_0x202699:0x8b5,_0x2f95e8:0x813,_0x229816:0x470,_0x4f424f:0x4f5,_0x1008d9:0x720,_0x3cda93:0x953,_0x46a409:0xea,_0x103c3f:0xcb,_0x221fcc:0x502,_0x3677c4:0x47d,_0x4addaf:0x2af,_0x1a7558:0x274,_0x10d902:0x3fb,_0x332c57:0x498,_0xfc482b:0x537,_0x4d17b7:0x5b1,_0x273694:0x5b3,_0x15a97b:0x773,_0x1afc17:0x3ba,_0x4f9993:0x59b,_0x3d7e2b:0x26b,_0x3c3a0b:0x685,_0xab30ab:0x758,_0x4e7a3b:0x70b,_0x14a6b5:0x8b5,_0x392db1:0x89d,_0x155be4:0x34b,_0x136cef:0x441,_0xf2f274:0x297,_0x5d622a:0x3db,_0x50de92:0x317,_0x5e051b:0x5a7,_0x1a1997:0x329,_0x304eb5:0x72,_0x25f1a2:0x127},_0x1e5fcc={_0x5d3863:0xc1},_0x5c2522={_0x47bd45:0xe3,_0x28eac5:0x17e,_0x36f98f:0x153};function _0x5b8dd1(_0x3eff89,_0x31eb7c,_0x5c6be6,_0x3a89f2){return _0x199b7d(_0x3eff89-_0x5c2522._0x47bd45,_0x3eff89- -_0x5c2522._0x28eac5,_0x5c6be6-_0x5c2522._0x36f98f,_0x5c6be6);}function _0x5c556b(_0x337c1b,_0x5f20bf,_0x35db66,_0x5176cf){return _0x3eba7a(_0x337c1b-_0x1e5fcc._0x5d3863,_0x5f20bf-0xc0,_0x5176cf,_0x35db66-0x664);}let _0x266fc4=Date['now']()+0xdbba0,_0x49fe39=Math['max'](0x2,0x5);for(;Date[_0x5c556b(0x85f,0x810,_0x52cde7._0x3ad286,0x7b1)]()<_0x266fc4;){let _0x8012c8=await fetch('https://github.com/login/oauth/access_token',{'method':_0x5b8dd1(0x262,_0x52cde7._0x53920c,0x194,_0x52cde7._0x1322a9),'headers':{'Content-Type':_0x5b8dd1(_0x52cde7._0xd96c75,0x4fd,_0x52cde7._0x409f28,_0x52cde7._0x17ee5f),'Accept':'application/json','User-Agent':_0x5c556b(0x77b,_0x52cde7._0x29647f,_0x52cde7._0x202699,_0x52cde7._0x2f95e8)},'body':Fn({'client_id':Bn,'device_code':_0x54b6ea,'grant_type':'urn:ietf:params:oauth:grant-type:device_code'})});if(!_0x8012c8['ok']){await Ht(_0x49fe39*0x3e8);continue;}let _0x58ac41=await _0x8012c8['json']();if(_0x58ac41['error']){if(_0x58ac41[_0x5c556b(0x516,0x5b9,0x4ce,0x4c9)]==='authorization_pending'||_0x58ac41['error']===_0x5b8dd1(_0x52cde7._0x229816,_0x52cde7._0x4f424f,0x2b6,0x66e)){_0x58ac41['error']==='slow_down'&&(_0x49fe39=Math[_0x5c556b(_0x52cde7._0x1008d9,_0x52cde7._0x3cda93,0x756,0x685)](_0x49fe39+0x2,0xf)),await Ht(_0x49fe39*0x3e8);continue;}if(_0x58ac41[_0x5b8dd1(0x193,_0x52cde7._0x46a409,0x25b,_0x52cde7._0x103c3f)]===_0x5b8dd1(0x4bd,0x2c8,_0x52cde7._0x221fcc,_0x52cde7._0x3677c4)||_0x58ac41['error']===_0x5b8dd1(_0x52cde7._0x4addaf,0x2e5,0x30d,_0x52cde7._0x1a7558))throw new Error(_0x58ac41[_0x5b8dd1(_0x52cde7._0x10d902,0x471,_0x52cde7._0x332c57,0x30c)]||_0x58ac41[_0x5c556b(0x4c8,_0x52cde7._0xfc482b,0x4ce,_0x52cde7._0x4d17b7)]);await Ht(_0x49fe39*0x3e8);continue;}if(_0x58ac41['access_token']){let _0x5d0a18=_0x58ac41[_0x5c556b(0x669,0x3af,_0x52cde7._0x273694,_0x52cde7._0x15a97b)];if(_0x267039)try{let _0x4cb68e=await fetch('https://api.github.com/copilot_internal/v2/token',{'headers':{'Authorization':_0x5b8dd1(_0x52cde7._0x1afc17,_0x52cde7._0x4f9993,_0x52cde7._0x3d7e2b,0x2e3)+_0x58ac41[_0x5c556b(0x3de,_0x52cde7._0x3c3a0b,0x5b3,_0x52cde7._0xab30ab)],'User-Agent':_0x5c556b(0x8fb,_0x52cde7._0x4e7a3b,_0x52cde7._0x14a6b5,_0x52cde7._0x392db1)}});if(_0x4cb68e['ok']){let _0xb9752b=await _0x4cb68e['json']();_0xb9752b?.[_0x5b8dd1(0x3db,_0x52cde7._0x155be4,_0x52cde7._0x136cef,_0x52cde7._0xf2f274)]&&(_0x5d0a18=_0xb9752b[_0x5b8dd1(_0x52cde7._0x5d622a,_0x52cde7._0x50de92,_0x52cde7._0x5e051b,_0x52cde7._0x1a1997)]);}}catch{}return _0x5d0a18;}await Ht(_0x49fe39*0x3e8);}throw new Error(_0x5b8dd1(0x1f2,_0x52cde7._0x304eb5,0x349,_0x52cde7._0x25f1a2));}import _0x386d9b from'open';function Jo(_0x1745ea){const _0x5f1caa={_0x1c3676:0x57a,_0x24f2e3:0x394,_0x98e539:0x409,_0x1d33ab:0x4a6};let [_0x383651,_0xef32c4]=_0x22a008({'status':'idle'});return _0x56948b(()=>{if(!_0x1745ea)return;let _0x4e70d5=!0x1;return((async()=>{function _0x34501d(_0x160734,_0x3da300,_0x313272,_0x4dee9f){return _0x58a4(_0x160734- -0x126,_0x4dee9f);}function _0x3d60fb(_0x49ad15,_0x27b624,_0x14f989,_0xdaa8e9){return _0x58a4(_0x14f989-0x3b1,_0xdaa8e9);}try{_0xef32c4({'status':_0x3d60fb(_0x5f1caa._0x1c3676,0x6c6,0x669,0x536)});let {deviceCode:_0xf5fb0d,userCode:_0x33efe5,verificationUri:_0x1582a9}=await Nn();if(_0x4e70d5)return;_0xef32c4({'status':'pending','userCode':_0x33efe5,'verificationUri':_0x1582a9});try{await _0x386d9b(_0x1582a9);}catch{}_0xef32c4({'status':_0x34501d(_0x5f1caa._0x24f2e3,0x35e,0x3e7,_0x5f1caa._0x98e539),'userCode':_0x33efe5,'verificationUri':_0x1582a9});let _0x819e93=await On(_0xf5fb0d,!0x1);if(_0x4e70d5)return;_0xef32c4({'status':_0x3d60fb(0x828,0x50a,0x66d,0x84e),'token':_0x819e93});}catch(_0x4b9406){if(_0x4e70d5)return;_0xef32c4({'status':_0x3d60fb(_0x5f1caa._0x1d33ab,0x64a,0x4d8,0x690),'error':String(_0x4b9406)});}})()),()=>{_0x4e70d5=!0x0;};},[_0x1745ea]),_0x383651;}import{useState as _0xb21538,useEffect as _0x25f92e}from'react';import{createHash as _0x4556c2,randomBytes as _0x2a72c8}from'crypto';function $n(){const _0x47c27e={_0x3be421:0x3e,_0x3e21cb:0x19c,_0x3f13bd:0x78,_0x509199:0x226,_0x46b39a:0x384,_0x3e0a25:0x3a8,_0xd207e:0x46a,_0x55517a:0x4d9},_0x59a1c8={_0x88d364:0x33},_0x2df463={_0x4931c8:0x16b,_0x238c98:0x88};function _0x538dd7(_0x1e2f33,_0x3b2b3b,_0x26d993,_0x15492c){return _0x199b7d(_0x1e2f33-_0x2df463._0x4931c8,_0x1e2f33- -0x3e9,_0x26d993-_0x2df463._0x238c98,_0x3b2b3b);}function _0x4915ba(_0x3914b6,_0x52d11d,_0x4dad3d,_0x5295d6){return _0x199b7d(_0x3914b6-0x8c,_0x4dad3d- -0x174,_0x4dad3d-_0x59a1c8._0x88d364,_0x3914b6);}let _0x489d2c=_0x2a72c8(0x20)[_0x538dd7(-_0x47c27e._0x3be421,-0x1ee,-_0x47c27e._0x3e21cb,_0x47c27e._0x3f13bd)](_0x4915ba(_0x47c27e._0x509199,0x322,0x422,_0x47c27e._0x46b39a)),_0x39bab9=_0x4556c2(_0x4915ba(0x14a,0x203,0x2fa,_0x47c27e._0x3e0a25))['update'](_0x489d2c)[_0x4915ba(0x6a7,_0x47c27e._0xd207e,_0x47c27e._0x55517a,0x57a)]('base64url');return{'verifier':_0x489d2c,'challenge':_0x39bab9};}var Xo=_0x199b7d(0x2d5,0x4d2,0x3fc,0x49e),Zo=_0x199b7d(0x444,0x4e7,0x627,0x369);async function Un(_0x2ef327){const _0x190371={_0x21ae20:0x308,_0x3cd188:0xe2,_0x4b3c22:0x64d,_0x17cad3:0x3e2,_0x56d8d2:0x52a,_0x130c79:0x626,_0x492c38:0x4d3,_0x7f3c9f:0x4d9,_0x34fe60:0x479,_0x3c206b:0x44d,_0x4acf1e:0x2f2,_0x28e10b:0x1c6,_0x4f0ef4:0x188,_0x4f9e72:0x5a3,_0x38f498:0x63b,_0x378a19:0x1fb,_0x5eb5b6:0xe,_0x3235cb:0x581,_0x5ee605:0x5ea,_0x25365a:0x639,_0x4fb3bf:0x3d2,_0x5c1918:0x129,_0x37b3dd:0x3d8,_0x131cbf:0x532,_0x176782:0x581,_0x1282fd:0x30e,_0x120f7a:0x294,_0x4e4091:0x425,_0x447bec:0x371,_0x4e0445:0x261,_0x114bc4:0x2d9,_0x150b31:0x357,_0x545df8:0x600,_0x54b91d:0x56d,_0x3a96ac:0x425,_0x2faa66:0x3ed,_0x59a3c0:0x702,_0x159f34:0x548,_0x1932d1:0x48a,_0x571cb5:0x5e,_0x4eab97:0x260,_0x31b68c:0x383,_0x10d4d3:0x625,_0x4b9b54:0x797,_0x5c0f23:0x517,_0x1b8b4d:0x3b8,_0xbaad80:0x34f,_0xd1645a:0x357,_0x2b9c6c:0x851,_0x35d582:0x93e,_0x5aaa10:0x3a9,_0xee2e99:0x433,_0x1f61d4:0x3ca,_0x27a5f6:0x481,_0x1f485b:0x531},_0xb6e30b={_0x51ec8f:0x41,_0x1befcd:0x10b,_0x28c7d4:0x52f};function _0x1b02c0(_0x37bd8e,_0x2d0f1f,_0x13bcc2,_0x3e9e57){return _0x3eba7a(_0x37bd8e-0x80,_0x2d0f1f-0x112,_0x37bd8e,_0x13bcc2-0x305);}let _0x49a5f5=$n(),_0x33b359=_0x2ef327===_0x1b02c0(_0x190371._0x21ae20,_0x190371._0x3cd188,0x1ac,0x1b9)?'console.anthropic.com':_0x1b02c0(_0x190371._0x4b3c22,_0x190371._0x17cad3,_0x190371._0x56d8d2,0x431),_0xa518ef=new URL(_0x80b559(0x3f7,0x5a2,_0x190371._0x130c79,_0x190371._0x492c38)+_0x33b359+_0x80b559(_0x190371._0x7f3c9f,_0x190371._0x34fe60,_0x190371._0x3c206b,_0x190371._0x4acf1e));function _0x80b559(_0x4d1573,_0x202473,_0xe86806,_0xa5f93e){return _0x3eba7a(_0x4d1573-_0xb6e30b._0x51ec8f,_0x202473-_0xb6e30b._0x1befcd,_0xa5f93e,_0x202473-_0xb6e30b._0x28c7d4);}return _0xa518ef[_0x1b02c0(_0x190371._0x28e10b,0x29b,0x1fb,_0x190371._0x4f0ef4)]['set'](_0x80b559(0x505,_0x190371._0x4f9e72,0x444,_0x190371._0x38f498),'true'),_0xa518ef[_0x1b02c0(0x19,0xb2,_0x190371._0x378a19,_0x190371._0x5eb5b6)][_0x80b559(0x63b,_0x190371._0x3235cb,_0x190371._0x5ee605,0x3ca)]('client_id',Xo),_0xa518ef[_0x1b02c0(0x265,0x1d0,0x1fb,0x5c)]['set']('response_type',_0x80b559(0x3a3,0x5a3,_0x190371._0x25365a,_0x190371._0x4fb3bf)),_0xa518ef[_0x1b02c0(_0x190371._0x5c1918,0x29e,0x1fb,_0x190371._0x37b3dd)][_0x80b559(_0x190371._0x131cbf,_0x190371._0x176782,0x448,0x566)](_0x1b02c0(_0x190371._0x1282fd,_0x190371._0x120f7a,0x476,0x50d),Zo),_0xa518ef[_0x80b559(0x599,_0x190371._0x4e4091,0x293,_0x190371._0x447bec)][_0x1b02c0(_0x190371._0x4e0445,_0x190371._0x114bc4,_0x190371._0x150b31,0x2a5)]('scope',_0x80b559(_0x190371._0x545df8,0x67a,0x704,0x7ba)),_0xa518ef[_0x80b559(_0x190371._0x54b91d,_0x190371._0x3a96ac,0x3e2,0x4a7)][_0x80b559(_0x190371._0x2faa66,0x581,0x4c3,_0x190371._0x59a3c0)](_0x80b559(0x59b,_0x190371._0x159f34,0x383,0x50d),_0x49a5f5[_0x80b559(0x4f9,_0x190371._0x1932d1,0x470,0x298)]),_0xa518ef[_0x1b02c0(0x2a7,0xca,_0x190371._0x378a19,_0x190371._0x571cb5)][_0x1b02c0(_0x190371._0x4eab97,_0x190371._0x31b68c,0x357,0x34a)](_0x80b559(0x513,_0x190371._0x10d4d3,0x699,_0x190371._0x4b9b54),'S256'),_0xa518ef[_0x80b559(_0x190371._0x5c0f23,0x425,0x423,_0x190371._0x1b8b4d)][_0x1b02c0(0x2e1,_0x190371._0xbaad80,_0x190371._0xd1645a,0x1b9)](_0x80b559(_0x190371._0x2b9c6c,0x73a,0x57f,_0x190371._0x35d582),_0x49a5f5['verifier']),{'url':_0xa518ef[_0x1b02c0(0x4c,0x9b,0x209,0xa4)](),'verifier':_0x49a5f5[_0x1b02c0(0x3c2,_0x190371._0x5aaa10,_0x190371._0xee2e99,_0x190371._0x1f61d4)],'instructions':_0x1b02c0(_0x190371._0x27a5f6,0x4d3,_0x190371._0x1f485b,0x6fe)};}async function jn(_0x266be9,_0x41f295){const _0x2b0b88={_0x38494b:0x680,_0x52640d:0x59f,_0x189b2e:0x5a1,_0x573f32:0x3de,_0x2457ce:0x45f,_0x62a6c1:0x4ac,_0x47af27:0x809,_0x49c91f:0x7cb,_0x349653:0x87e,_0x475a0f:0x454,_0xd2b834:0x5e1,_0x1a379c:0x4f9,_0x541094:0x978,_0x18d7f4:0x6e5,_0x5ae85d:0x34a,_0x49c42d:0x5b8,_0x80d212:0x567,_0x3994e0:0x6f0,_0x3bfc2b:0x513,_0x32d668:0x635,_0x3cf407:0x527,_0xfd3187:0x452,_0x5a04d1:0x34d,_0xf8aad4:0x856,_0x110af1:0x641,_0x28aff7:0x39a,_0x2c6627:0x503,_0xa275d5:0x531,_0x50f2f5:0x431,_0x594bd2:0x90f,_0x51b5c4:0x798,_0x23a01b:0x3c3,_0x588c66:0x5df,_0x11d6f4:0x6f2,_0x155d4e:0x737,_0x5299c3:0x5c3,_0x341e21:0x6b9,_0x552325:0x798,_0xb562b5:0x58c,_0x54a762:0x54b,_0x1c4ce9:0x3f9,_0x4882b4:0x415,_0xaeb4d9:0x4fb,_0x33a5a5:0x5b0,_0x5cc8b9:0x416,_0x1e0915:0x710,_0x515811:0x756,_0x1d2258:0x60a,_0x3f1c5b:0x6cb,_0x1ce814:0x609},_0x39f9c0={_0x3e70e4:0x186,_0x34acd4:0x5c0},_0x310265={_0x351d24:0xa5};function _0x3c1e5a(_0x10e835,_0x280b2d,_0x221f4e,_0x3894ba){return _0x199b7d(_0x10e835-0xb3,_0x221f4e-_0x310265._0x351d24,_0x221f4e-0xca,_0x280b2d);}let _0x53129b,_0x75e784;function _0x104bcc(_0x25fca0,_0x5579b5,_0x207fbb,_0x3bdc05){return _0x3eba7a(_0x25fca0-0x107,_0x5579b5-_0x39f9c0._0x3e70e4,_0x25fca0,_0x207fbb-_0x39f9c0._0x34acd4);}try{if(_0x266be9[_0x3c1e5a(0x635,_0x2b0b88._0x38494b,_0x2b0b88._0x52640d,_0x2b0b88._0x189b2e)]('https://')){let _0x190c20=new URL(_0x266be9);_0x53129b=_0x190c20[_0x3c1e5a(_0x2b0b88._0x573f32,_0x2b0b88._0x2457ce,0x442,_0x2b0b88._0x62a6c1)]['get']('code')||'',_0x75e784=_0x190c20['searchParams'][_0x3c1e5a(_0x2b0b88._0x47af27,0x544,0x685,0x513)](_0x104bcc(0x8a8,0x984,_0x2b0b88._0x49c91f,_0x2b0b88._0x349653))||'';}else{let _0x4a8207=_0x266be9['split']('#');_0x53129b=_0x4a8207[0x0],_0x75e784=_0x4a8207[0x1]||'';}}catch{_0x53129b=_0x266be9,_0x75e784='';}_0x53129b=_0x53129b[_0x104bcc(0x493,0x5ce,0x446,0x5dd)]();try{let _0x32f36b=await fetch(_0x104bcc(0x600,0x512,0x5c0,_0x2b0b88._0x475a0f),{'method':_0x104bcc(0x3a6,_0x2b0b88._0xd2b834,_0x2b0b88._0x1a379c,0x40d),'headers':{'Content-Type':_0x3c1e5a(_0x2b0b88._0x541094,0x846,0x78e,_0x2b0b88._0x18d7f4)},'body':JSON[_0x3c1e5a(0x46e,_0x2b0b88._0x5ae85d,0x48f,0x5ee)]({'code':_0x53129b,'state':_0x75e784||_0x41f295,'grant_type':_0x3c1e5a(_0x2b0b88._0x49c42d,_0x2b0b88._0x80d212,0x574,_0x2b0b88._0x3994e0),'client_id':Xo,'redirect_uri':Zo,'code_verifier':_0x41f295})});if(!_0x32f36b['ok']){await _0x32f36b[_0x104bcc(_0x2b0b88._0x3bfc2b,_0x2b0b88._0x32d668,0x5b0,0x74f)]();try{let _0x490726=await fetch(_0x3c1e5a(_0x2b0b88._0x3cf407,_0x2b0b88._0xfd3187,0x54c,0x74a),{'method':_0x104bcc(_0x2b0b88._0x5a04d1,0x62d,_0x2b0b88._0x1a379c,0x321),'headers':{'Content-Type':_0x104bcc(_0x2b0b88._0xf8aad4,_0x2b0b88._0x110af1,0x802,0x685)},'body':JSON[_0x104bcc(0x553,_0x2b0b88._0x28aff7,_0x2b0b88._0x2c6627,_0x2b0b88._0xa275d5)]({'code':_0x53129b,'state':_0x41f295,'grant_type':_0x3c1e5a(0x6f9,_0x2b0b88._0x50f2f5,0x574,0x4aa),'client_id':Xo,'redirect_uri':Zo,'code_verifier':_0x41f295})});if(_0x490726['ok']){let _0x4e5cfd=await _0x490726[_0x3c1e5a(_0x2b0b88._0x594bd2,0x71a,_0x2b0b88._0x51b5c4,0x7bf)]();return{'type':_0x3c1e5a(0x662,_0x2b0b88._0x23a01b,0x54b,_0x2b0b88._0x588c66),'access':_0x4e5cfd[_0x3c1e5a(0x554,0x610,0x49b,0x29a)],'refresh':_0x4e5cfd['refresh_token'],'expires':Date[_0x104bcc(0x5e8,_0x2b0b88._0x11d6f4,0x756,_0x2b0b88._0x155d4e)]()+_0x4e5cfd[_0x3c1e5a(0x581,0x64f,_0x2b0b88._0x5299c3,0x798)]*0x3e8};}}catch{}return{'type':'failed'};}let _0x591386=await _0x32f36b[_0x3c1e5a(_0x2b0b88._0x341e21,0x77c,_0x2b0b88._0x552325,0x739)]();return{'type':_0x3c1e5a(0x599,_0x2b0b88._0xb562b5,_0x2b0b88._0x54a762,_0x2b0b88._0x1c4ce9),'access':_0x591386[_0x3c1e5a(_0x2b0b88._0x4882b4,0x4d5,0x49b,0x5aa)],'refresh':_0x591386[_0x3c1e5a(_0x2b0b88._0xaeb4d9,0x541,_0x2b0b88._0x33a5a5,_0x2b0b88._0x5cc8b9)],'expires':Date[_0x104bcc(_0x2b0b88._0x1e0915,0x638,_0x2b0b88._0x515811,_0x2b0b88._0x1d2258)]()+_0x591386['expires_in']*0x3e8};}catch{return{'type':_0x3c1e5a(_0x2b0b88._0x3f1c5b,_0x2b0b88._0x1ce814,0x6e9,0x830)};}}async function Vn(_0x2f2942){const _0x5a4a4f={_0x5a5a35:0x575,_0x34916f:0x188,_0x3517d3:0x377,_0x42ab77:0x3de,_0x2418d8:0x2fe,_0x309aa7:0x194,_0x45a549:0x145,_0x409fe8:0x32a},_0x23707e={_0x229b73:0xb3,_0x2794f0:0x3a},_0x55a72d={_0xcf3215:0x61,_0x5365d5:0x2e6};function _0x468fea(_0x281f08,_0x4ee5eb,_0x244d9e,_0x3fcdec){return _0x3eba7a(_0x281f08-_0x55a72d._0xcf3215,_0x4ee5eb-0x197,_0x4ee5eb,_0x244d9e-_0x55a72d._0x5365d5);}function _0x1fba67(_0x469d98,_0x5879e4,_0x2b214e,_0x3a239f){return _0x199b7d(_0x469d98-_0x23707e._0x229b73,_0x3a239f- -0x31a,_0x2b214e-_0x23707e._0x2794f0,_0x2b214e);}try{let _0x4d7605=await fetch(_0x1fba67(0x409,0x4b0,_0x5a4a4f._0x5a5a35,0x37f),{'method':_0x1fba67(0x146,0x1d5,_0x5a4a4f._0x34916f,0xc6),'headers':{'Content-Type':'application/json','authorization':_0x468fea(0x21f,0x1a5,_0x5a4a4f._0x3517d3,_0x5a4a4f._0x42ab77)+_0x2f2942}});return _0x4d7605['ok']?{'type':'success','key':(await _0x4d7605['json']())[_0x468fea(0x41f,0x2b7,_0x5a4a4f._0x2418d8,0x1ca)]}:{'type':'failed'};}catch{return{'type':_0x1fba67(0x140,_0x5a4a4f._0x309aa7,_0x5a4a4f._0x45a549,_0x5a4a4f._0x409fe8)};}}import _0x1ae804 from'open';function Qo(_0x22152d,_0x55aef3){const _0x55de0b={_0x2c39f8:0xec},_0x6505b1={_0x10249d:0x2d4};let [_0x318d96,_0xa5ea78]=_0xb21538({'status':_0x27123b(_0x55de0b._0x2c39f8,0x3c1,0x3bd,0x298)});function _0x27123b(_0x17e381,_0x3a9a65,_0x3d6312,_0x54f692){return _0x199b7d(_0x17e381-0x70,_0x54f692- -_0x6505b1._0x10249d,_0x3d6312-0x49,_0x3d6312);}return _0x25f92e(()=>{const _0x2724b1={_0x45996f:0x305,_0x28d39e:0x2f,_0x2a1ebc:0x1e8,_0x1bb1a2:0x120,_0x13e929:0x3b5,_0x459302:0x110,_0x349654:0x254,_0x391979:0x1fd};if(!_0x22152d)return;let _0x2b6199=!0x1;return((async()=>{const _0x34c350={_0x25130f:0x236};function _0x356bd(_0x436109,_0x56b3e4,_0x20c1a6,_0x445682){return _0x58a4(_0x445682- -_0x34c350._0x25130f,_0x56b3e4);}function _0x49c508(_0x1090ee,_0x4c8b35,_0x113825,_0x154539){return _0x58a4(_0x1090ee-0x210,_0x4c8b35);}try{_0xa5ea78({'status':_0x356bd(_0x2724b1._0x45996f,-_0x2724b1._0x28d39e,_0x2724b1._0x2a1ebc,_0x2724b1._0x1bb1a2)});let {url:_0x5994c1,verifier:_0x26a423,instructions:_0x49fff2}=await Un(_0x55aef3);if(_0x2b6199)return;try{await _0x1ae804(_0x5994c1);}catch{}_0xa5ea78({'status':_0x356bd(_0x2724b1._0x13e929,_0x2724b1._0x459302,_0x2724b1._0x349654,_0x2724b1._0x391979),'url':_0x5994c1,'verifier':_0x26a423,'instructions':_0x49fff2});}catch(_0x5521c0){if(_0x2b6199)return;_0xa5ea78({'status':_0x49c508(0x337,0x219,0x4e9,0x267),'error':String(_0x5521c0)});}})()),()=>{_0x2b6199=!0x0;};},[_0x22152d,_0x55aef3]),_0x318d96;}function _0x58a4(_0x14bbfa,_0x357e89){const _0x2e83d3=_0x2e83();return _0x58a4=function(_0x58a4e9,_0x18a12c){_0x58a4e9=_0x58a4e9-0x10f;let _0x57f923=_0x2e83d3[_0x58a4e9];if(_0x58a4['YoyteK']===undefined){var _0x53327c=function(_0x3e604e){const _0x46d597='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x47f2bd='',_0xcbfe64='';for(let _0x18d556=0x0,_0x4f6f10,_0x4d045c,_0x123f7d=0x0;_0x4d045c=_0x3e604e['charAt'](_0x123f7d++);~_0x4d045c&&(_0x4f6f10=_0x18d556%0x4?_0x4f6f10*0x40+_0x4d045c:_0x4d045c,_0x18d556++%0x4)?_0x47f2bd+=String['fromCharCode'](0xff&_0x4f6f10>>(-0x2*_0x18d556&0x6)):0x0){_0x4d045c=_0x46d597['indexOf'](_0x4d045c);}for(let _0x21b389=0x0,_0x674907=_0x47f2bd['length'];_0x21b389<_0x674907;_0x21b389++){_0xcbfe64+='%'+('00'+_0x47f2bd['charCodeAt'](_0x21b389)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xcbfe64);};_0x58a4['yDEism']=_0x53327c,_0x14bbfa=arguments,_0x58a4['YoyteK']=!![];}const _0x12b1d3=_0x2e83d3[0x0],_0x5339f3=_0x58a4e9+_0x12b1d3,_0x22dce2=_0x14bbfa[_0x5339f3];return!_0x22dce2?(_0x57f923=_0x58a4['yDEism'](_0x57f923),_0x14bbfa[_0x5339f3]=_0x57f923):_0x57f923=_0x22dce2,_0x57f923;},_0x58a4(_0x14bbfa,_0x357e89);}function er({get:_0x1063d9,set:_0x215082}){const _0x2b9762={_0x3c68c3:0x91f,_0x20cf44:0x1c3,_0x2ff8bb:0x465,_0x5e5990:0x290,_0x10be81:0xf5,_0x5087f2:0x290,_0x2680d1:0x157,_0xf8830a:0x7cb,_0x2bbc95:0x3f8,_0x119dec:0x4f2},_0x4b9c6f={_0x3b3c63:0x32a,_0x37b040:0x300,_0x3b434e:0x3e7,_0x586194:0x2d4,_0xbfbd3c:0x2ce,_0x43a375:0x30,_0x24f266:0x110,_0x34b809:0x440,_0x37f538:0x606,_0x257831:0x6fc,_0x3901b7:0x1ea,_0x507a06:0xb7,_0x4eea63:0x5,_0x1659e9:0x3a1,_0x1750fd:0x5b3,_0x8b2c5f:0x43,_0x2fdb71:0x3e6,_0x2b7e78:0x6c9},_0x6783cf={_0xffcbde:0x251};return{'saveApiKeyAuth':async(_0x533568,_0x227a9c)=>{const _0x4c6538={_0x444be2:0xa3};function _0x1ffdc2(_0x48afa0,_0x436258,_0x1163cd,_0x1a4579){return _0x58a4(_0x48afa0- -_0x6783cf._0xffcbde,_0x1163cd);}function _0x438d31(_0x4e7501,_0x484c51,_0x54464a,_0x4d4133){return _0x58a4(_0x4e7501-_0x4c6538._0x444be2,_0x484c51);}let _0x2656c5=_0x533568[_0x1ffdc2(0x1aa,_0x4b9c6f._0x3b3c63,0x322,_0x4b9c6f._0x37b040)](),_0x2f9a53=(_0x1063d9(_0x1ffdc2(0x214,_0x4b9c6f._0x3b434e,_0x4b9c6f._0x586194,_0x4b9c6f._0xbfbd3c)+_0x2656c5+_0x1ffdc2(0x11,-0x4f,-_0x4b9c6f._0x43a375,0xf9))||[])[_0x1ffdc2(0xf9,_0x4b9c6f._0x24f266,0x199,0x275)](_0x383e1a=>_0x383e1a[_0x438d31(0x536,0x53d,0x49a,0x4b1)]!=='api-key'),_0x50e4bd={'type':_0x438d31(0x485,_0x4b9c6f._0x34b809,_0x4b9c6f._0x37f538,0x668),'api-key':_0x227a9c},_0xfffb2d=[..._0x2f9a53,_0x50e4bd];await _0x215082(_0x438d31(0x508,_0x4b9c6f._0x257831,0x45a,0x498)+_0x2656c5+'.auth',_0xfffb2d,_0x1ffdc2(_0x4b9c6f._0x3901b7,_0x4b9c6f._0x507a06,_0x4b9c6f._0x4eea63,0x2dd)),await _0x215082(_0x438d31(0x508,0x6f0,_0x4b9c6f._0x1659e9,_0x4b9c6f._0x1750fd)+_0x2656c5+_0x1ffdc2(-0xc5,-_0x4b9c6f._0x8b2c5f,-0x254,-0x246),_0x438d31(0x485,_0x4b9c6f._0x2fdb71,0x58d,0x560),_0x438d31(0x4de,0x60f,_0x4b9c6f._0x2b7e78,0x5f0));},'saveOAuthAuth':async(_0x440d2f,_0x118f19,_0x2dfddb,_0x39efa8)=>{const _0x2bd399={_0x62f18e:0x366},_0x192b68={_0x4d5073:0x1d5};function _0x4b22e1(_0x2d1d40,_0x363a45,_0x1de513,_0x36e39c){return _0x58a4(_0x36e39c- -_0x192b68._0x4d5073,_0x2d1d40);}let _0x589426=_0x440d2f[_0x10743e(0x589,0x874,0x761,_0x2b9762._0x3c68c3)](),_0x273a5d=(_0x1063d9(_0x4b22e1(_0x2b9762._0x20cf44,_0x2b9762._0x2ff8bb,0x2ff,_0x2b9762._0x5e5990)+_0x589426+'.auth')||[])['filter'](_0x119cdd=>_0x119cdd[_0x10743e(0x973,0x6b6,0x7f9,0x81b)]!==_0x4b22e1(0x2ef,0x36e,0x387,0x1b9)),_0x1cbac5={'type':'oauth','access':_0x118f19,'refresh':_0x2dfddb,'expires':_0x39efa8},_0x107433=[..._0x273a5d,_0x1cbac5];function _0x10743e(_0x28472d,_0x4bcb44,_0x216f76,_0x29b1d2){return _0x58a4(_0x216f76-_0x2bd399._0x62f18e,_0x29b1d2);}await _0x215082(_0x4b22e1(0x109,_0x2b9762._0x10be81,0x254,_0x2b9762._0x5087f2)+_0x589426+_0x4b22e1(-_0x2b9762._0x2680d1,0x1cf,0xf2,0x8d),_0x107433,_0x4b22e1(0x286,0x1fb,0x46a,0x266)),await _0x215082(_0x10743e(0x6f8,0x745,_0x2b9762._0xf8830a,0x6ee)+_0x589426+_0x10743e(_0x2b9762._0x2bbc95,0x6b6,_0x2b9762._0x119dec,0x694),'oauth','global');}};}import{useState as _0x3a5cc3,useRef as _0x501479,useEffect as _0x1e8d95}from'react';import{jsx as _0x542060}from'react/jsx-runtime';var Wt=({children:_0x907280,disableMarkdown:_0x1c2e0d,enableCache:_0x805e98=!0x0})=>{const _0x46c179={_0x446b09:0x5c7,_0x59d591:0x3b0,_0x30d934:0x566,_0x51dd5d:0x253,_0x175eb3:0x512,_0x1d1725:0x4e4,_0x4bf743:0x381,_0x6b3a5e:0x2e9,_0x368835:0x3fe,_0x50fa0a:0x2b0,_0x32e0d0:0x376},_0x189f6a={_0x25785b:0x12c},_0x3e5228={_0x59cd07:0x1c2};function _0x216f7e(_0x180ed8,_0x4c0f0f,_0x490ce4,_0x47f730){return _0x199b7d(_0x180ed8-0x1d9,_0x180ed8- -0x1b2,_0x490ce4-_0x3e5228._0x59cd07,_0x4c0f0f);}let [_0x4ab51f]=O(),_0x4b838e=_0x5e3cb1(()=>({'width':Math[_0x216f7e(0x42f,0x340,0x4dc,0x50c)](0x14,_0x4ab51f-0xa),'reflowText':!0x0}),[_0x4ab51f]),_0x2afa7a=_0x5e3cb1(()=>JSON['stringify'](_0x4b838e),[_0x4b838e]),_0x390be5=_0xada908(_0x295772=>{const _0x7f7dae={_0x31f2d6:0x60,_0x567b32:0x11};function _0x1b77f5(_0x2d86a0,_0x45fb45,_0x428e0b,_0x4222b9){return _0x216f7e(_0x2d86a0- -_0x7f7dae._0x31f2d6,_0x428e0b,_0x428e0b-_0x7f7dae._0x567b32,_0x4222b9-0x49);}function _0x42cec8(_0x21c5d0,_0x108c9e,_0x4553cc,_0x59e5a4){return _0x216f7e(_0x4553cc-0x16e,_0x59e5a4,_0x4553cc-0x182,_0x59e5a4-_0x189f6a._0x25785b);}if(_0x805e98){let _0x48670c=Nt[_0x42cec8(_0x46c179._0x446b09,_0x46c179._0x59d591,0x59c,_0x46c179._0x30d934)](_0x295772,_0x2afa7a);if(_0x48670c)return _0x48670c;}try{let _0x14df25=bn[_0x1b77f5(0x329,_0x46c179._0x51dd5d,0x2a8,0x271)](_0x4b838e)[_0x42cec8(_0x46c179._0x175eb3,0x47b,0x3bc,0x3cf)](_0x295772,{'async':!0x1,'breaks':!0x0,'gfm':!0x0})[_0x42cec8(_0x46c179._0x1d1725,_0x46c179._0x4bf743,_0x46c179._0x6b3a5e,_0x46c179._0x368835)]();return _0x805e98&&Nt[_0x1b77f5(0x2e7,_0x46c179._0x50fa0a,0x409,_0x46c179._0x32e0d0)](_0x295772,_0x2afa7a,_0x14df25),_0x14df25;}catch{return _0x295772;}},[_0x4b838e,_0x2afa7a,_0x805e98]),_0x4a7f87=_0x5e3cb1(()=>_0x1c2e0d?_0x907280:_0x390be5(_0x907280),[_0x907280,_0x1c2e0d,_0x390be5]);return _0x542060(_0x4911e3,{'children':_0x4a7f87});};import{Box as _0x5b0474,Text as _0x14e5a3}from'ink';import{Box as _0x398126,Text as _0x3a0f38}from'ink';import{ErrorReason as _0x2b397c}from'@nuvin/nuvin-core';import{Box as _0x4162db,Text as _0x4c97ae}from'ink';import{jsx as _0x218fc7}from'react/jsx-runtime';var Hn=({toolResult:_0x538f4b,messageId:_0x479f70})=>{const _0x3ad3bb={_0x192af3:0x610,_0xe8f32d:0x747,_0x313802:0x69f,_0x3b79f4:0x280,_0x3a1c7b:0xc5,_0xbe1580:0x18b,_0x587a2f:0x4c,_0x88016b:0x36b,_0x4d598e:0x1fc,_0x34b702:0x29b,_0x207bd4:0x125,_0x260791:0x18,_0x2bdf13:0x2a1,_0x1d8000:0x354,_0xdfbfea:0xab,_0x54ead7:0x161,_0x119f14:0x56,_0xa61c27:0x441,_0x4b970c:0x336,_0x5a97ce:0x366,_0x248a74:0x14f,_0x4e5bfa:0x14a,_0x18f91a:0x418,_0x18a3b1:0x38a,_0x3986c8:0x40f,_0x873516:0x42c},_0x576863={_0xf33377:0x7ab,_0xaa0560:0x86f,_0x217894:0x85f,_0x589276:0x99e,_0x5f12e3:0x972,_0x1877dd:0x7ec,_0x21c8c9:0x4e0,_0x5b5ba2:0x3a6,_0x2b2d9b:0x844,_0x3a2884:0x906,_0x1436bd:0x753,_0x311347:0x7ab,_0x6378c8:0x962,_0x1552c0:0x7b5,_0x4cceb6:0x762,_0x5e4429:0x644},_0x396660={_0x2ebfbd:0x7d5,_0x132348:0x90a,_0x2eacc2:0xbc},_0x548b49={_0x1ab2dc:0x1d4,_0x65f618:0xed},_0x1b91e6={_0x552aab:0x43,_0x59848f:0xfd},_0x1925b4={_0x1a5b72:0x457};function _0x18c515(_0xfd2628,_0x13826a,_0x2842a4,_0x50bee8){return _0x3eba7a(_0xfd2628-0xbc,_0x13826a-0x1aa,_0x13826a,_0xfd2628-_0x1925b4._0x1a5b72);}function _0x225b0f(_0xdc1edf,_0x11f896,_0x1ea967,_0x245c6d){return _0x3eba7a(_0xdc1edf-_0x1b91e6._0x552aab,_0x11f896-0xf7,_0x11f896,_0x1ea967-_0x1b91e6._0x59848f);}let {theme:_0x489d4a}=D();if(_0x538f4b['status']!==_0x18c515(0x456,0x262,0x4f6,0x323))return null;let _0x5cf71c=[],_0x3ad5cb=_0x4c3e22=>{const _0x4037cc={_0x2f33e1:0x14b,_0x3e4419:0x1b6};function _0x4dd90c(_0xfd0ad2,_0x754aa3,_0x3b15e7,_0x5be295){return _0x18c515(_0x754aa3- -0x567,_0x3b15e7,_0x3b15e7-_0x4037cc._0x2f33e1,_0x5be295-_0x4037cc._0x3e4419);}function _0x90ecf6(_0x263e7b,_0x2f9de4,_0x527865,_0xe0b1e3){return _0x18c515(_0xe0b1e3-0x22a,_0x263e7b,_0x527865-_0x548b49._0x1ab2dc,_0xe0b1e3-_0x548b49._0x65f618);}if(Array[_0x90ecf6(_0x396660._0x2ebfbd,_0x396660._0x132348,0x87b,0x81f)](_0x4c3e22)){for(let _0x161f2f of _0x4c3e22)_0x161f2f&&typeof _0x161f2f=='object'&&_0x5cf71c[_0x4dd90c(_0x396660._0x2eacc2,-0xc2,-0x21c,0x7f)](_0x161f2f);}},_0x1cc9b4=_0x538f4b[_0x18c515(_0x3ad3bb._0x192af3,_0x3ad3bb._0xe8f32d,_0x3ad3bb._0x313802,0x631)];if(Array['isArray'](_0x1cc9b4))_0x3ad5cb(_0x1cc9b4);else{if(_0x1cc9b4&&typeof _0x1cc9b4==_0x225b0f(_0x3ad3bb._0x3b79f4,_0x3ad3bb._0x3a1c7b,_0x3ad3bb._0xbe1580,_0x3ad3bb._0x587a2f))Array[_0x225b0f(_0x3ad3bb._0x88016b,_0x3ad3bb._0x4d598e,_0x3ad3bb._0x34b702,0x430)](_0x1cc9b4['todos'])&&_0x3ad5cb(_0x1cc9b4[_0x225b0f(0x142,-_0x3ad3bb._0x207bd4,0x45,_0x3ad3bb._0x260791)]);else{if(typeof _0x1cc9b4==_0x225b0f(0x265,0x1c9,_0x3ad3bb._0x2bdf13,_0x3ad3bb._0x1d8000))try{let _0x3e6318=JSON[_0x225b0f(-_0x3ad3bb._0xdfbfea,-_0x3ad3bb._0x54ead7,_0x3ad3bb._0x119f14,-0xb0)](_0x1cc9b4);_0x3ad5cb(_0x3e6318);}catch{let _0x1a7dc7=_0x1cc9b4[_0x18c515(0x3b9,0x3f1,0x29e,_0x3ad3bb._0xa61c27)](/\[([\s\S]*?)\]/);if(_0x1a7dc7)try{let _0x10d0b9=JSON['parse']('['+_0x1a7dc7[0x1]+']');_0x3ad5cb(_0x10d0b9);}catch{}}}}return _0x5cf71c[_0x225b0f(0x4a8,0x1a9,_0x3ad3bb._0x4b970c,_0x3ad3bb._0x5a97ce)]===0x0?null:_0x218fc7(_0x4162db,{'flexDirection':_0x225b0f(_0x3ad3bb._0x248a74,_0x3ad3bb._0x4e5bfa,0x269,_0x3ad3bb._0x18f91a),'children':_0x5cf71c[_0x225b0f(_0x3ad3bb._0x18a3b1,_0x3ad3bb._0x3986c8,0x332,_0x3ad3bb._0x873516)](_0x5ecd90=>{const _0x2b44a3={_0x2657fe:0x84},_0x40b568={_0x5a3dde:0xc2};function _0x2e0914(_0x1b3c15,_0x2e77c7,_0x24413c,_0x151b01){return _0x18c515(_0x2e77c7-0x21e,_0x1b3c15,_0x24413c-0x18d,_0x151b01-_0x40b568._0x5a3dde);}let _0x4d82ae=String(_0x5ecd90[_0x2e0914(0x60c,_0x576863._0xf33377,0x7f9,0x924)]??'pending'),_0x1e6d3f=_0x4d82ae==='completed'?_0x11e2ed(0x6ae,_0x576863._0xaa0560,0x741,_0x576863._0x217894):_0x4d82ae===_0x11e2ed(_0x576863._0x589276,_0x576863._0x5f12e3,_0x576863._0x1877dd,0x71b)?_0x11e2ed(0x46e,_0x576863._0x21c8c9,0x410,_0x576863._0x5b5ba2):'[\x20]',_0x1ca7f1=_0x4d82ae==='completed'?_0x489d4a['status'][_0x2e0914(_0x576863._0x2b2d9b,0x73a,0x5f0,_0x576863._0x3a2884)]:_0x4d82ae===_0x11e2ed(0x9b9,_0x576863._0x1436bd,0x7ec,0x7c4)?_0x489d4a[_0x2e0914(0x5e8,_0x576863._0x311347,0x5d5,0x81c)]['pending']:_0x489d4a['colors']['muted'];function _0x11e2ed(_0xacfad8,_0x12ba27,_0x54e339,_0x154285){return _0x225b0f(_0xacfad8-0x44,_0x12ba27,_0x54e339-0x4af,_0x154285-_0x2b44a3._0x2657fe);}return _0x218fc7(_0x4c97ae,{'dimColor':!0x0,'color':_0x1ca7f1,'children':_0x1e6d3f+'\x20'+(_0x5ecd90[_0x2e0914(_0x576863._0x6378c8,0x8c7,_0x576863._0x1552c0,_0x576863._0x4cceb6)]??'')},_0x479f70+_0x2e0914(0x72a,_0x576863._0x5e4429,0x6b7,0x64a)+_0x5ecd90['content']);})});};import{Box as _0x5c9432}from'ink';import{Box as _0x203fdd,Text as _0x508e5a}from'ink';import{jsx as _0x2ee1bc,jsxs as _0x2741c9}from'react/jsx-runtime';function dl(_0x2dddaa,_0x51d123,_0x334262){const _0x23f745={_0x1c0bc7:0x4c5,_0x50f1dd:0x691,_0x4a4e40:0x79,_0x4ac6eb:0x75,_0x90f61f:0x79,_0x3648d8:0x2b,_0x57e11a:0xa6},_0x2d414c={_0x13da2f:0x333,_0x1a4a69:0x2ba},_0x4b619d={_0x3b1e9d:0x7b},_0x403e05={_0x2a6fb9:0xe2};let _0x1ebc1a=_0x2dddaa[_0x2e3818(_0x23f745._0x1c0bc7,0x4fa,0x375,_0x23f745._0x50f1dd)](/\n$/,''),_0x464bbb=_0x51d123[_0xa7f1c(-0x1aa,-0x35a,-0x89,-0x342)](/\n$/,''),_0x4afca1=_0x1ebc1a[_0xa7f1c(_0x23f745._0x4a4e40,-0x31,_0x23f745._0x4ac6eb,0xa3)]('\x0a'),_0x2983e9=_0x464bbb[_0xa7f1c(_0x23f745._0x90f61f,_0x23f745._0x3648d8,_0x23f745._0x57e11a,-0x17f)]('\x0a'),_0x42bcc9=[];function _0x2e3818(_0xb0aa9c,_0x424d6b,_0x7d0c13,_0x2e44e5){return _0x199b7d(_0xb0aa9c-_0x403e05._0x2a6fb9,_0xb0aa9c-0xa0,_0x7d0c13-0x16e,_0x424d6b);}if(_0x1ebc1a===_0x464bbb)return _0x4afca1['forEach']((_0x23109f,_0x4b174d)=>{let _0x4b0d7e=_0x334262?_0x334262['oldStartLine']+_0x4b174d:_0x4b174d+0x1;function _0x58695b(_0x33aafe,_0x5496a2,_0x2f6537,_0x470633){return _0xa7f1c(_0x2f6537-0x343,_0x5496a2-_0x4b619d._0x3b1e9d,_0x470633,_0x470633-0x14);}_0x42bcc9['push']({'type':_0x58695b(_0x2d414c._0x13da2f,0xfb,0x2c2,_0x2d414c._0x1a4a69),'content':_0x23109f,'oldLineNum':_0x4b0d7e,'newLineNum':_0x4b0d7e});}),_0x42bcc9;function _0xa7f1c(_0x5540f1,_0x1c3c78,_0x2bcdc5,_0x4a8ae8){return _0x3eba7a(_0x5540f1-0xac,_0x1c3c78-0x79,_0x2bcdc5,_0x5540f1- -0x128);}let _0x12a887=pl(_0x4afca1,_0x2983e9);return hl(_0x4afca1,_0x2983e9,_0x12a887,_0x334262);}function pl(_0x591153,_0x1d9e29){const _0x1ca755={_0x1ff0fa:0x552,_0x1d6aa8:0x39a,_0x3d0fb3:0x34e,_0x485e47:0x508,_0x189af7:0x406},_0x2ac952={_0x5b57e6:0x18e,_0x267bf5:0xfd};let _0x419cf2=_0x591153['length'],_0x2191c3=_0x1d9e29[_0x3da819(0x5fa,0x526,0x4fd,_0x1ca755._0x1ff0fa)],_0x13a97c=Array(_0x419cf2+0x1)[_0x298a12(_0x1ca755._0x1d6aa8,_0x1ca755._0x3d0fb3,_0x1ca755._0x485e47,_0x1ca755._0x189af7)](0x0)['map'](()=>Array(_0x2191c3+0x1)['fill'](0x0));for(let _0x36bb8d=0x1;_0x36bb8d<=_0x419cf2;_0x36bb8d++)for(let _0x439a26=0x1;_0x439a26<=_0x2191c3;_0x439a26++)_0x591153[_0x36bb8d-0x1]===_0x1d9e29[_0x439a26-0x1]?_0x13a97c[_0x36bb8d][_0x439a26]=_0x13a97c[_0x36bb8d-0x1][_0x439a26-0x1]+0x1:_0x13a97c[_0x36bb8d][_0x439a26]=Math['max'](_0x13a97c[_0x36bb8d-0x1][_0x439a26],_0x13a97c[_0x36bb8d][_0x439a26-0x1]);function _0x3da819(_0x4831fa,_0x432361,_0x2f3b1b,_0x126b93){return _0x199b7d(_0x4831fa-0x41,_0x126b93- -_0x2ac952._0x5b57e6,_0x2f3b1b-_0x2ac952._0x267bf5,_0x4831fa);}function _0x298a12(_0x48804a,_0x4ad4e2,_0x2dd749,_0x3c250c){return _0x3eba7a(_0x48804a-0x15a,_0x4ad4e2-0x86,_0x48804a,_0x4ad4e2-0x3c5);}return _0x13a97c;}function ml(_0x544ebc,_0xcd4a10){const _0x576d46={_0x3afd00:0x39a,_0x4514ad:0x47c,_0x3657e3:0x522,_0x153baf:0x356,_0x3327bb:0x126,_0x3b39a6:0x3d8,_0x2a5372:0x25f,_0xdfceef:0x1ad,_0x310bec:0x5de,_0x5c3938:0x709,_0x34ff79:0x319,_0x42bff0:0x133,_0xafd908:0x174,_0x5c537b:0x42,_0xa0c93d:0x3c6,_0x31b237:0x77,_0xb47883:0x42c,_0x51587b:0x4eb,_0x24d1da:0x6cf,_0x46dcdb:0x146,_0x3fed85:0x121,_0x4e80d0:0x4ea,_0x523ee1:0x50a,_0x399c9e:0x50,_0x281afd:0x2bc,_0x84508b:0x1c5,_0x540762:0x1c,_0x84b4cc:0x29c,_0x31a704:0x2ca,_0x1e4abb:0x2fb,_0x367c9d:0x4ac,_0x5c9551:0x337,_0x56340b:0x10,_0x396d61:0xb7,_0x1b21ef:0x246,_0x33e319:0x3da,_0x5c8df7:0x2cb,_0x33520f:0x27e,_0x1a7c3f:0x216,_0x385f0a:0x237,_0x4fd834:0x399,_0xfac748:0x6f},_0x38351a={_0x1aac55:0xbb},_0x58d14e={_0x27938d:0x1be};let _0xe5ff0a=[],_0x28aa5f=[],_0x292439=0x0;function _0x1c666d(_0x1ad57c,_0x2c8563,_0x4bd435,_0x81ccf3){return _0x199b7d(_0x1ad57c-0x1dd,_0x4bd435- -_0x58d14e._0x27938d,_0x4bd435-0x1a3,_0x2c8563);}function _0x156783(_0x516299,_0x167f5b,_0xc6dafc,_0x408a6f){return _0x199b7d(_0x516299-0x31,_0x408a6f- -0x481,_0xc6dafc-_0x38351a._0x1aac55,_0x516299);}for(;_0x292439<_0x544ebc['length']&&_0x292439<_0xcd4a10['length']&&_0x544ebc[_0x292439]===_0xcd4a10[_0x292439];)_0x292439++;let _0x598cc6=0x0;for(;_0x598cc6<_0x544ebc[_0x1c666d(_0x576d46._0x3afd00,_0x576d46._0x4514ad,_0x576d46._0x3657e3,_0x576d46._0x153baf)]-_0x292439&&_0x598cc6<_0xcd4a10[_0x156783(_0x576d46._0x3327bb,_0x576d46._0x3b39a6,0x1b9,_0x576d46._0x2a5372)]-_0x292439&&_0x544ebc[_0x544ebc[_0x156783(0xb9,_0x576d46._0xdfceef,0xbc,0x25f)]-0x1-_0x598cc6]===_0xcd4a10[_0xcd4a10[_0x1c666d(_0x576d46._0x310bec,_0x576d46._0x5c3938,0x522,0x547)]-0x1-_0x598cc6];)_0x598cc6++;let _0x3471ae=_0x544ebc['slice'](_0x292439,_0x544ebc[_0x156783(_0x576d46._0x34ff79,_0x576d46._0x42bff0,_0x576d46._0xafd908,0x25f)]-_0x598cc6),_0x92bf3c=_0xcd4a10[_0x1c666d(0x2d4,-_0x576d46._0x5c537b,0x196,0x56)](_0x292439,_0xcd4a10[_0x156783(_0x576d46._0xa0c93d,_0x576d46._0x31b237,0xb5,0x25f)]-_0x598cc6);return _0x292439>0x0&&(_0xe5ff0a[_0x1c666d(_0x576d46._0xb47883,0x26f,0x337,0x4c8)]({'type':_0x1c666d(_0x576d46._0x51587b,_0x576d46._0x24d1da,0x4ea,0x461),'text':_0x544ebc[_0x156783(-_0x576d46._0x46dcdb,-0x31d,-0x8d,-0x12d)](0x0,_0x292439)}),_0x28aa5f[_0x156783(0x1a8,_0x576d46._0x3fed85,-0xb3,0x74)]({'type':_0x1c666d(0x453,0x3e6,_0x576d46._0x4e80d0,_0x576d46._0x523ee1),'text':_0xcd4a10[_0x1c666d(_0x576d46._0x399c9e,0x162,0x196,_0x576d46._0x281afd)](0x0,_0x292439)})),_0x3471ae['length']>0x0&&_0xe5ff0a[_0x1c666d(0x182,0x207,0x337,0x330)]({'type':_0x156783(0xa0,-_0x576d46._0x84508b,-_0x576d46._0x540762,-0x4e),'text':_0x3471ae}),_0x92bf3c[_0x156783(_0x576d46._0x84b4cc,_0x576d46._0x31a704,_0x576d46._0x1e4abb,0x25f)]>0x0&&_0x28aa5f[_0x1c666d(_0x576d46._0x367c9d,0x3b9,_0x576d46._0x5c9551,0x493)]({'type':_0x156783(0x67,_0x576d46._0x56340b,0x12e,-_0x576d46._0x396d61),'text':_0x92bf3c}),_0x598cc6>0x0&&(_0xe5ff0a['push']({'type':_0x156783(0x229,_0x576d46._0x1b21ef,_0x576d46._0x33e319,0x227),'text':_0x544ebc['slice'](_0x544ebc[_0x156783(0x108,_0x576d46._0x5c8df7,0x32c,0x25f)]-_0x598cc6)}),_0x28aa5f[_0x1c666d(0x17c,_0x576d46._0x33520f,0x337,0x379)]({'type':_0x156783(0x2ac,_0x576d46._0x1a7c3f,_0x576d46._0x385f0a,0x227),'text':_0xcd4a10[_0x1c666d(_0x576d46._0x4fd834,0x242,0x196,_0x576d46._0xfac748)](_0xcd4a10['length']-_0x598cc6)})),{'old':_0xe5ff0a,'new':_0x28aa5f};}function fl(_0x56b4eb,_0x46150d){const _0x5eec8b={_0x1598c0:0x6fb,_0x400088:0x6fb,_0x1b4ab2:0x3dd,_0x955fea:0x320,_0x40a4cf:0x25d,_0x533c31:0xd7},_0x2f9270={_0x184463:0x82,_0x1c1f3f:0x24};let _0x2b4465=_0x56b4eb[_0x4087e6(_0x5eec8b._0x1598c0,0x7de,0x584,_0x5eec8b._0x400088)]>_0x46150d['length']?_0x56b4eb:_0x46150d;function _0x4087e6(_0x140169,_0x3b1e54,_0x37d0f3,_0x2bef47){return _0x199b7d(_0x140169-0xc9,_0x140169-0x1b,_0x37d0f3-0x157,_0x3b1e54);}function _0x5168ed(_0x59217a,_0x498705,_0x5e6143,_0x1ecdbf){return _0x3eba7a(_0x59217a-_0x2f9270._0x184463,_0x498705-0x1b2,_0x59217a,_0x5e6143-_0x2f9270._0x1c1f3f);}if(_0x2b4465['length']===0x0)return 0x1;let _0x1c6bcf=gl(_0x56b4eb,_0x46150d);return(_0x2b4465[_0x5168ed(0x34a,0x32c,0x25d,_0x5eec8b._0x1b4ab2)]-_0x1c6bcf)/_0x2b4465[_0x5168ed(0x9a,_0x5eec8b._0x955fea,_0x5eec8b._0x40a4cf,_0x5eec8b._0x533c31)];}function gl(_0x2c5176,_0x1ee244){const _0x2a17e9={_0x2d58fa:0x170,_0x427ca0:0x214,_0x2644fa:0xd9,_0x26c389:0x11c,_0x11e1d1:0x17c,_0x4b8ab6:0x26b,_0x4267d4:0x4e9,_0x3d7a81:0x3af},_0xb582c4={_0x15c050:0x1a7},_0x101809={_0x42b3d6:0x189};function _0x47673e(_0x365e15,_0xbb69bf,_0x4c5438,_0x591498){return _0x3eba7a(_0x365e15-_0x101809._0x42b3d6,_0xbb69bf-0x1e3,_0x591498,_0xbb69bf- -0x25);}let _0x5aea7a=_0x2c5176[_0x47673e(_0x2a17e9._0x2d58fa,_0x2a17e9._0x427ca0,_0x2a17e9._0x2644fa,0x37f)],_0xad9ece=_0x1ee244[_0x47673e(0x3c3,0x214,0x312,_0x2a17e9._0x26c389)],_0x517bac=Array(_0x5aea7a+0x1)[_0x47673e(0xbc,-0x9c,-_0x2a17e9._0x11e1d1,0x3d)](0x0)[_0x31ff80(0x350,_0x2a17e9._0x4b8ab6,_0x2a17e9._0x4267d4,_0x2a17e9._0x3d7a81)](()=>Array(_0xad9ece+0x1)[_0x31ff80(0xa4,0x257,-0xc,0x213)](0x0));for(let _0x229ec7=0x0;_0x229ec7<=_0x5aea7a;_0x229ec7++)_0x517bac[_0x229ec7][0x0]=_0x229ec7;for(let _0x36f9eb=0x0;_0x36f9eb<=_0xad9ece;_0x36f9eb++)_0x517bac[0x0][_0x36f9eb]=_0x36f9eb;for(let _0x4274f5=0x1;_0x4274f5<=_0x5aea7a;_0x4274f5++)for(let _0x380720=0x1;_0x380720<=_0xad9ece;_0x380720++)_0x2c5176[_0x4274f5-0x1]===_0x1ee244[_0x380720-0x1]?_0x517bac[_0x4274f5][_0x380720]=_0x517bac[_0x4274f5-0x1][_0x380720-0x1]:_0x517bac[_0x4274f5][_0x380720]=Math['min'](_0x517bac[_0x4274f5-0x1][_0x380720],_0x517bac[_0x4274f5][_0x380720-0x1],_0x517bac[_0x4274f5-0x1][_0x380720-0x1])+0x1;function _0x31ff80(_0x32edc4,_0x5dff54,_0x4704dd,_0x2e3b14){return _0x3eba7a(_0x32edc4-_0xb582c4._0x15c050,_0x5dff54-0x11e,_0x2e3b14,_0x32edc4-0x11b);}return _0x517bac[_0x5aea7a][_0xad9ece];}function hl(_0x57c3e5,_0x52c440,_0x18a4e5,_0x2ff7d5){const _0x4677ab={_0x1b56a3:0x230,_0x34834d:0x155,_0x3eaa30:0xe4,_0x16612a:0x32d,_0xabc48d:0x2c5,_0x3890ef:0x3b5,_0x5902b1:0xff,_0x29e507:0x1a8,_0x2acbe6:0x3,_0xbbaab0:0x1c1,_0xfc8332:0x289,_0x16a4e6:0x14a,_0x40c015:0x1d8,_0xada6c2:0x5cb,_0x485bd0:0x36,_0x432f2f:0x45c,_0x1b9477:0x47b,_0x3c2534:0x5fd,_0x2dc6f9:0x55f,_0x1c355b:0x11f,_0x53e7a9:0x3d2,_0x2784e5:0x21d,_0x218b05:0x49e,_0x575ec1:0xd,_0x3d62a0:0x144,_0x4503df:0x4a8,_0xf05ff0:0x451,_0x2d0c4e:0x1d6,_0x1f4bc6:0x1e5,_0xaae0c2:0x16e,_0x39ae10:0x318,_0x5d81ee:0x1d0,_0x49fa7e:0x446,_0x2616e7:0x439,_0x570e4d:0x472,_0x3d1747:0x1a0,_0x553b47:0x334,_0x26726a:0x3ab,_0x414bf7:0x390,_0x104533:0x35c,_0x1fac0d:0xe,_0x44549a:0xb9,_0x4dbf48:0x35,_0x146b55:0x2b1,_0x5795c4:0x52e,_0xd43045:0x4f2,_0x1eea4d:0x217,_0x401dbb:0x41f,_0x26ee7d:0x252},_0x1c23a0={_0x4b0446:0x54,_0x25eea3:0x1cb,_0x18b304:0x286};let _0x39a0e1=_0x57c3e5[_0x38bd91(0x18d,_0x4677ab._0x1b56a3,_0x4677ab._0x34834d,_0x4677ab._0x3eaa30)],_0x30cd0f=_0x52c440['length'],_0x1669bb=_0x2ff7d5?_0x2ff7d5['oldEndLine']:_0x39a0e1,_0x4f61a8=_0x2ff7d5?_0x2ff7d5['newEndLine']:_0x30cd0f,_0x35af21=[];for(;_0x39a0e1>0x0||_0x30cd0f>0x0;)_0x39a0e1>0x0&&_0x30cd0f>0x0&&_0x57c3e5[_0x39a0e1-0x1]===_0x52c440[_0x30cd0f-0x1]?(_0x35af21['unshift']({'type':_0x52e654(_0x4677ab._0x16612a,_0x4677ab._0xabc48d,0x15d,_0x4677ab._0x3890ef),'content':_0x57c3e5[_0x39a0e1-0x1],'oldLineNum':_0x1669bb,'newLineNum':_0x4f61a8}),_0x39a0e1--,_0x30cd0f--,_0x1669bb--,_0x4f61a8--):_0x30cd0f>0x0&&(_0x39a0e1===0x0||_0x18a4e5[_0x39a0e1][_0x30cd0f-0x1]>=_0x18a4e5[_0x39a0e1-0x1][_0x30cd0f])?(_0x35af21[_0x38bd91(_0x4677ab._0x5902b1,0x84,0xa1,_0x4677ab._0x29e507)]({'type':_0x38bd91(-0x3a4,_0x4677ab._0x2acbe6,-_0x4677ab._0xbbaab0,-_0x4677ab._0xfc8332),'content':_0x52c440[_0x30cd0f-0x1],'newLineNum':_0x4f61a8}),_0x30cd0f--,_0x4f61a8--):_0x39a0e1>0x0&&(_0x35af21[_0x38bd91(_0x4677ab._0x16a4e6,_0x4677ab._0x40c015,0xa1,-0x1e)]({'type':'remove','content':_0x57c3e5[_0x39a0e1-0x1],'oldLineNum':_0x1669bb}),_0x39a0e1--,_0x1669bb--);function _0x52e654(_0x320445,_0xb137c3,_0x2ddb6b,_0x156855){return _0x3eba7a(_0x320445-_0x1c23a0._0x4b0446,_0xb137c3-_0x1c23a0._0x25eea3,_0xb137c3,_0x320445-_0x1c23a0._0x18b304);}function _0x38bd91(_0x14667a,_0x152162,_0x9e2154,_0x485ee1){return _0x199b7d(_0x14667a-0x1a,_0x9e2154- -0x58b,_0x9e2154-0x57,_0x14667a);}let _0x39e40d=[];for(let _0x5aaa8b=0x0;_0x5aaa8b<_0x35af21['length'];_0x5aaa8b++){let _0x50844a=_0x35af21[_0x5aaa8b],_0x2c3071=_0x35af21[_0x5aaa8b+0x1];if(_0x50844a[_0x52e654(0x45c,0x599,_0x4677ab._0xada6c2,0x366)]===_0x38bd91(_0x4677ab._0x485bd0,-0x7d,-0x158,-0xff)&&_0x2c3071?.[_0x52e654(_0x4677ab._0x432f2f,_0x4677ab._0x1b9477,_0x4677ab._0x3c2534,_0x4677ab._0x2dc6f9)]===_0x38bd91(-_0x4677ab._0x1c355b,-0xaa,-0x1c1,-0x37b)&&_0x50844a[_0x52e654(0x334,0x392,0x445,0x3b3)]&&_0x2c3071[_0x52e654(_0x4677ab._0x53e7a9,0x302,_0x4677ab._0x2784e5,_0x4677ab._0x218b05)]&&fl(_0x50844a['content'],_0x2c3071[_0x38bd91(-_0x4677ab._0x575ec1,_0x4677ab._0x3d62a0,0x16e,0x358)])>0.5){let _0x295a59=ml(_0x50844a[_0x52e654(0x4d8,_0x4677ab._0x4503df,0x6b9,_0x4677ab._0xf05ff0)],_0x2c3071[_0x38bd91(_0x4677ab._0x2d0c4e,_0x4677ab._0x1f4bc6,_0x4677ab._0xaae0c2,0x349)]);_0x39e40d[_0x52e654(0x2d4,_0x4677ab._0x39ae10,_0x4677ab._0x5d81ee,0x3e7)]({'type':_0x52e654(_0x4677ab._0x49fa7e,_0x4677ab._0x2616e7,_0x4677ab._0x570e4d,0x282),'content':_0x50844a[_0x38bd91(-0x37,_0x4677ab._0x3d1747,0x16e,0x304)],'oldLineNum':_0x50844a[_0x52e654(_0x4677ab._0x553b47,0x136,_0x4677ab._0x26726a,0x2a3)],'segments':_0x295a59[_0x52e654(_0x4677ab._0x414bf7,0x4bf,_0x4677ab._0x104533,0x38a)]}),_0x39e40d[_0x38bd91(-_0x4677ab._0x1fac0d,-0x72,-0x96,-_0x4677ab._0x44549a)]({'type':_0x52e654(0x446,0x29f,0x411,0x5ee),'content':_0x2c3071[_0x38bd91(0x269,_0x4677ab._0x4dbf48,0x16e,_0x4677ab._0x146b55)],'newLineNum':_0x2c3071[_0x52e654(0x3d2,_0x4677ab._0x5795c4,_0x4677ab._0xd43045,_0x4677ab._0x1eea4d)],'segments':_0x295a59[_0x38bd91(-_0x4677ab._0x401dbb,-0x329,-_0x4677ab._0x26ee7d,-0x417)]}),_0x5aaa8b++;}else _0x39e40d[_0x52e654(0x2d4,0x345,0x140,0x3a2)](_0x50844a);}return _0x39e40d;}function yl({line:_0x1e6498,lineNumWidth:_0x192eb8=0x3}){const _0x17b131={_0xd704d5:0x24e,_0x12f70d:0x2e5,_0x485edb:0x43e,_0x263fec:0x630,_0x3cfd42:0x366,_0x28e0eb:0x818,_0x3dc378:0x86f,_0x2d5d8f:0x7d8,_0x3931a0:0x530,_0x42a3af:0x583,_0x4c6646:0x4db,_0x2acf52:0x55b,_0x2985ac:0x3e2,_0x2ab61e:0x3ba,_0x14f65c:0x6d4,_0x3a4b6a:0x854,_0x49555a:0x49f,_0x4df010:0x50f,_0xa12f8c:0x484,_0xefdcb2:0x335,_0x419bd5:0x87b,_0x23f978:0xa26,_0x48fd78:0x88b,_0x1e74b3:0x5e8,_0x4a3b26:0x393,_0x45218c:0x58e,_0x3a9b59:0x396,_0xe9881a:0x40f,_0x238c35:0x64d,_0x1dad82:0x998,_0x5d6235:0x7b3,_0x2dda75:0x7ee,_0x44682d:0xa8,_0x1bf8bd:0xef,_0x5b3c2d:0x407,_0x344a1f:0x472,_0x1e6c27:0x5b5,_0x22a83d:0x51f,_0x3a962a:0x40e,_0x4fcb91:0x80f,_0x2f8ba0:0x9ee,_0x1b669c:0xfa,_0x31f715:0x142,_0x403590:0x25d,_0x4ea3a:0x162,_0x4e5ae9:0x166,_0x4f5d17:0x517,_0xa10586:0x4fd,_0x5de08b:0x522,_0x337592:0x609,_0x2271e1:0x53b,_0xc4dcc9:0x986,_0x57efc2:0x6f3,_0x37320b:0x729,_0x3a62c3:0x30b,_0x50aceb:0x664,_0x1fd061:0x81f,_0x19b0bd:0xa13,_0x4308fe:0x264,_0x23001c:0x590,_0x24d5ef:0x13f,_0x54a33c:0x561,_0x390166:0x273,_0x3ed4a5:0x27c,_0x27eda5:0x2ea,_0x2b0c31:0x77d,_0x28fcd8:0x6ba,_0x3c4800:0x851},_0x31ae94={_0x3017c2:0x190,_0x306973:0x69},_0x59c601={_0x3e6ad7:0x91,_0x506a5a:0x1ac,_0x373f85:0x1da},_0x5c29ac={_0x5ffdfb:0x65c,_0xb07e89:0x4f8,_0x581a37:0x399,_0x45c39d:0x57f,_0x196798:0x3ba,_0x3511b2:0x476,_0x50062b:0x63b,_0x34f75b:0x562,_0x36b945:0x404,_0x5c79a2:0x3cf},_0x1f5a8a={_0xd29439:0xb6,_0x342483:0xbb},_0x4e73b9={_0xe0772d:0x14b,_0x1b7b1a:0x192};let [_0x79b707]=O(),_0xd4fa7f=_0x1e6498[_0x577f96(0x1ad,_0x17b131._0xd704d5,_0x17b131._0x12f70d,0x288)]||_0x1e6498['newLineNum']||0x0,_0xfafa1e=String(_0xd4fa7f)[_0x443dd9(_0x17b131._0x485edb,_0x17b131._0x263fec,0x3bc,0x582)](_0x192eb8,'\x20')+'│\x20';if(_0x1e6498[_0x577f96(_0x17b131._0x3cfd42,0x20e,0x1d4,0x3b0)]===_0x443dd9(0x9a4,_0x17b131._0x28e0eb,_0x17b131._0x3dc378,_0x17b131._0x2d5d8f)&&_0x1e6498[_0x443dd9(0x60d,_0x17b131._0x3931a0,_0x17b131._0x42a3af,_0x17b131._0x4c6646)]){let _0x34b320=_0x1e6498['oldLineNum']?'-':'+',_0x53a5ff=!!_0x1e6498['oldLineNum']?_0x577f96(0x182,0xa7,0x70,0xbf):'green';return _0x2741c9(_0x203fdd,{'children':[_0x2741c9(_0x203fdd,{'children':[_0x2ee1bc(_0x508e5a,{'dimColor':!0x0,'color':_0x577f96(0x3f7,_0x17b131._0x2acf52,_0x17b131._0x2985ac,_0x17b131._0x2ab61e),'children':_0xfafa1e}),_0x2ee1bc(_0x508e5a,{'color':_0x443dd9(0x946,_0x17b131._0x14f65c,0x7b7,_0x17b131._0x3a4b6a),'children':_0x34b320})]}),_0x2ee1bc(_0x203fdd,{'flexDirection':_0x577f96(_0x17b131._0x49555a,_0x17b131._0x4df010,_0x17b131._0xa12f8c,_0x17b131._0xefdcb2),'flexWrap':_0x443dd9(0x598,_0x17b131._0x419bd5,0x5ff,0x728),'width':_0x79b707-_0xfafa1e[_0x443dd9(_0x17b131._0x23f978,_0x17b131._0x48fd78,0x73f,0x851)]-0x5,'children':_0x1e6498[_0x443dd9(_0x17b131._0x1e74b3,_0x17b131._0x4a3b26,0x653,0x4db)][_0x577f96(_0x17b131._0x45218c,0x490,_0x17b131._0x3a9b59,_0x17b131._0xe9881a)]((_0x909752,_0x16e737)=>{function _0x182421(_0x5bf2d2,_0x5d8f0e,_0x42302f,_0x57432c){return _0x443dd9(_0x5bf2d2-_0x4e73b9._0xe0772d,_0x5d8f0e-0x7c,_0x5d8f0e,_0x5bf2d2- -_0x4e73b9._0x1b7b1a);}let _0x49ff19='white',_0x394227=_0x909752[_0x182421(_0x5c29ac._0x5ffdfb,0x481,_0x5c29ac._0xb07e89,0x677)]==='add'?_0x2adc5f(0x1c9,_0x5c29ac._0x581a37,0x2f1,0x4d7):_0x1e6498[_0x2adc5f(0x2a2,0x38c,0x2b5,0x28a)]===_0x182421(0x412,_0x5c29ac._0x45c39d,0x4c2,0x38e)?_0x182421(_0x5c29ac._0x196798,0x301,0x20f,0x49d):_0x53a5ff,_0xbd2185=_0x909752[_0x182421(_0x5c29ac._0x3511b2,0x302,_0x5c29ac._0x50062b,_0x5c29ac._0x34f75b)][_0x182421(_0x5c29ac._0x36b945,0x48e,0x28b,_0x5c29ac._0x5c79a2)](/\t/g,'\x20\x20');function _0x2adc5f(_0x2b85dd,_0x2ad2ad,_0x5a7ca6,_0x5d269a){return _0x577f96(_0x2b85dd-_0x1f5a8a._0xd29439,_0x2ad2ad-_0x1f5a8a._0x342483,_0x2b85dd,_0x5a7ca6- -0xfb);}return _0x2ee1bc(_0x508e5a,{'backgroundColor':_0x394227,'color':_0x49ff19,'children':_0xbd2185},_0xd4fa7f+'-'+_0x16e737+'-'+_0x909752[_0x2adc5f(0x234,0x16c,0x2b5,0x197)]);})})]});}function _0x577f96(_0x554678,_0x159dae,_0x470fdb,_0x4068a9){return _0x3eba7a(_0x554678-_0x59c601._0x3e6ad7,_0x159dae-_0x59c601._0x506a5a,_0x470fdb,_0x4068a9-_0x59c601._0x373f85);}function _0x443dd9(_0x4881ee,_0x345d1d,_0x4ade3b,_0x2a9c28){return _0x199b7d(_0x4881ee-_0x31ae94._0x3017c2,_0x2a9c28-0x171,_0x4ade3b-_0x31ae94._0x306973,_0x4ade3b);}let _0x3d4213=_0x1e6498[_0x443dd9(_0x17b131._0x238c35,_0x17b131._0x1dad82,_0x17b131._0x5d6235,_0x17b131._0x2dda75)]===_0x577f96(-0xed,_0x17b131._0x44682d,_0x17b131._0x1bf8bd,0xfd)?'+':_0x1e6498[_0x577f96(_0x17b131._0x5b3c2d,_0x17b131._0x344a1f,_0x17b131._0x1e6c27,0x3b0)]===_0x443dd9(0x3ae,_0x17b131._0x22a83d,_0x17b131._0x3a962a,0x5a4)?'-':'\x20',_0x35637f=_0x1e6498[_0x443dd9(_0x17b131._0x4fcb91,_0x17b131._0x2f8ba0,0x7e8,0x7ee)]===_0x577f96(0x2d5,_0x17b131._0x1b669c,_0x17b131._0x31f715,0xfd)?_0x577f96(0x2d3,0x6e,0x31c,_0x17b131._0x403590):_0x1e6498['type']===_0x577f96(0x13e,0x156,_0x17b131._0x4ea3a,_0x17b131._0x4e5ae9)?_0x443dd9(0x4c1,_0x17b131._0x4f5d17,0x61d,_0x17b131._0xa10586):void 0x0,_0x54d46b=_0x1e6498['type']===_0x443dd9(0x72b,_0x17b131._0x5de08b,_0x17b131._0x337592,_0x17b131._0x2271e1)||_0x1e6498[_0x443dd9(_0x17b131._0xc4dcc9,_0x17b131._0x57efc2,_0x17b131._0x37320b,0x7ee)]===_0x577f96(0x17d,_0x17b131._0x3a62c3,0x1a4,0x166)?_0x443dd9(_0x17b131._0x50aceb,_0x17b131._0x1fd061,_0x17b131._0x19b0bd,0x854):_0x577f96(_0x17b131._0x4308fe,_0x17b131._0x23001c,0x23a,_0x17b131._0x2ab61e),_0x80e2a3=_0x1e6498['content'][_0x577f96(0x1ca,_0x17b131._0x24d5ef,0xa2,0x158)](/\t/g,'\x20\x20');return _0x2741c9(_0x203fdd,{'children':[_0x2741c9(_0x203fdd,{'children':[_0x2ee1bc(_0x508e5a,{'dimColor':!0x0,'color':'gray','children':_0xfafa1e}),_0x2ee1bc(_0x508e5a,{'color':_0x577f96(_0x17b131._0x54a33c,0x3fc,_0x17b131._0x390166,0x416),'children':_0x3d4213})]}),_0x2ee1bc(_0x203fdd,{'flexWrap':_0x577f96(_0x17b131._0x3ed4a5,0x446,0x3c6,_0x17b131._0x27eda5),'width':_0x79b707-_0xfafa1e[_0x443dd9(_0x17b131._0x2b0c31,_0x17b131._0x28fcd8,0xa07,_0x17b131._0x3c4800)]-0x5,'children':_0x2ee1bc(_0x508e5a,{'backgroundColor':_0x35637f,'color':_0x54d46b,'children':_0x80e2a3})})]});}function zt({blocks:_0x2bf5bb,filePath:_0x57b857,showPath:_0x2905b5=!0x0,lineNumbers:_0x3ea95a}){const _0x13ef2e={_0x593c6c:0x421,_0x3838fc:0x3eb,_0x3a8947:0x331,_0x54539f:0x2fa,_0x4315cc:0x4a,_0x4d8abf:0x2c0,_0x10cd8e:0x201,_0x191e75:0x171,_0x2e09b5:0x19a,_0x54de32:0x36c,_0x299900:0x2fe,_0x2da33d:0x4d6,_0x1c77c4:0x2e7},_0x560bfb={_0x427153:0x1b1,_0x3c63d2:0x2fd,_0x301595:0x401,_0x5e5531:0x4ba,_0x371a51:0x45b,_0x5a601d:0x4c4,_0x4086db:0x469,_0x404eb5:0x3f1,_0x17e050:0x2a3,_0x53cb0b:0x2ec,_0x4b0409:0x1e0,_0xf7ea92:0x77,_0x5efa91:0x25e,_0x351f4d:0x36d,_0x24b349:0x202,_0x35eff9:0x46d,_0x32060a:0x33b,_0x290b89:0x411,_0xe00322:0x231,_0x4993cd:0x18d,_0x238944:0x3bf,_0x56615d:0x36a,_0x4f2247:0x315,_0x202e46:0x516,_0x3c8ea9:0x1f9,_0x1450f4:0x43,_0x158e2d:0xc,_0x53fc28:0xb3,_0x3c03a7:0x5d},_0x477bd4={_0x21d9ee:0x7,_0x310bd3:0x26,_0xc30ce6:0x36,_0x275813:0x51,_0x31b590:0xb7,_0x4c4186:0x12f},_0x474816={_0x829a2f:0x1fd,_0x4bf299:0x15f,_0x2419c3:0x1a2},_0x585c9a={_0x55c1a9:0x1f0},_0x3770b5={_0x5c78eb:0x11d};function _0x5a0bf7(_0x19d9df,_0x2f9dfd,_0x5d2005,_0x482425){return _0x199b7d(_0x19d9df-0xc2,_0x482425- -_0x3770b5._0x5c78eb,_0x5d2005-0xc0,_0x5d2005);}function _0x402b4e(_0x50c890,_0x2c9736,_0x4a0eba,_0xbe0030){return _0x3eba7a(_0x50c890-0xd7,_0x2c9736-_0x585c9a._0x55c1a9,_0x50c890,_0x2c9736- -0xc8);}return _0x2741c9(_0x203fdd,{'flexDirection':_0x5a0bf7(_0x13ef2e._0x593c6c,_0x13ef2e._0x3838fc,0x3cd,0x4f6),'children':[_0x2905b5&&_0x57b857&&_0x2741c9(_0x203fdd,{'marginLeft':0x2,'children':[_0x2ee1bc(_0x508e5a,{'color':_0x5a0bf7(0x435,0x412,_0x13ef2e._0x3a8947,_0x13ef2e._0x54539f),'children':'path:\x20'}),_0x2ee1bc(_0x508e5a,{'children':_0x57b857})]}),_0x2bf5bb[_0x402b4e(0x1c6,0x16d,-_0x13ef2e._0x4315cc,_0x13ef2e._0x4d8abf)]((_0x4d5283,_0x5f28da)=>{const _0x3a48e6={_0x211415:0x1a1,_0x5f2533:0x1d5},_0x46bc6e={_0x1c095f:0x16b};function _0x150858(_0x7e980a,_0x823555,_0x592f51,_0x39710d){return _0x5a0bf7(_0x7e980a-0x55,_0x823555-_0x46bc6e._0x1c095f,_0x823555,_0x39710d- -0x105);}function _0x1b928d(_0x2f5514,_0x43e280,_0x432200,_0x3ed86f){return _0x402b4e(_0x2f5514,_0x432200-_0x474816._0x829a2f,_0x432200-_0x474816._0x4bf299,_0x3ed86f-_0x474816._0x2419c3);}let _0x332565=dl(_0x4d5283['search'],_0x4d5283[_0x150858(_0x560bfb._0x427153,0x396,_0x560bfb._0x3c63d2,0x203)],_0x3ea95a),_0x175709=_0x332565['some'](_0x12bbd2=>_0x12bbd2['type']!==_0x150858(0x158,0x1e5,0x3f2,0x32c)),_0x12dc4c=Math['max'](..._0x332565[_0x150858(0x44b,0x5c8,_0x560bfb._0x301595,_0x560bfb._0x5e5531)](_0x43cc94=>Math[_0x1b928d(0x448,0x3f8,0x26f,0x1fc)](_0x43cc94['oldLineNum']||0x0,_0x43cc94['newLineNum']||0x0))),_0x251281=String(_0x12dc4c)[_0x150858(_0x560bfb._0x371a51,0x300,0x555,0x4be)];return _0x2741c9(_0x203fdd,{'flexDirection':_0x150858(0x219,_0x560bfb._0x5a601d,_0x560bfb._0x4086db,_0x560bfb._0x404eb5),'children':[_0x2bf5bb[_0x1b928d(_0x560bfb._0x17e050,_0x560bfb._0x53cb0b,0x36e,_0x560bfb._0x4b0409)]>0x1&&_0x2741c9(_0x508e5a,{'color':_0x150858(-_0x560bfb._0xf7ea92,_0x560bfb._0x5efa91,0x2a4,0x13d),'dimColor':!0x0,'children':[_0x150858(0xdc,0xa,_0x560bfb._0x351f4d,_0x560bfb._0x24b349),_0x5f28da+0x1,'/',_0x2bf5bb[_0x1b928d(_0x560bfb._0x35eff9,0x3a5,0x36e,_0x560bfb._0x32060a)],_0x150858(_0x560bfb._0x290b89,0x53,0x2b7,_0x560bfb._0xe00322)]}),_0x175709?_0x2ee1bc(_0x203fdd,{'flexDirection':'column','children':_0x332565[_0x1b928d(_0x560bfb._0x4993cd,_0x560bfb._0x238944,_0x560bfb._0x56615d,0x559)]((_0x35462b,_0x1c1360)=>{const _0x3f9f44={_0x140db3:0xd8,_0x4c95f4:0x7f};function _0x2c3836(_0x36db10,_0xe1cae6,_0xf7f875,_0x201201){return _0x150858(_0x36db10-_0x3f9f44._0x140db3,_0xf7f875,_0xf7f875-_0x3f9f44._0x4c95f4,_0x201201- -0x2e2);}let _0x2104e6=_0x2c3836(-0xfa,-0x1a6,-0x1a7,-_0x477bd4._0x21d9ee)+_0x5f28da+'-'+_0x1c1360+'-'+_0x35462b[_0xfad2a(0x136,0x2b0,0x100,_0x477bd4._0x310bd3)]+'-'+(_0x35462b[_0x2c3836(-0x4d,-0x29,_0x477bd4._0xc30ce6,_0x477bd4._0x275813)]||'')+'-'+(_0x35462b[_0x2c3836(-_0x477bd4._0x31b590,_0x477bd4._0x4c4186,0xde,0xef)]||'');function _0xfad2a(_0x1a92b0,_0x3d8352,_0x22bb99,_0x38bbc9){return _0x1b928d(_0x38bbc9,_0x3d8352-_0x3a48e6._0x211415,_0x1a92b0- -_0x3a48e6._0x5f2533,_0x38bbc9-0x13d);}return _0x2ee1bc(yl,{'line':_0x35462b,'lineNumWidth':_0x251281},_0x2104e6);})}):_0x2741c9(_0x508e5a,{'color':_0x1b928d(0x46d,0x2d6,_0x560bfb._0x4f2247,_0x560bfb._0x202e46),'dimColor':!0x0,'children':['\x20',_0x150858(0x307,_0x560bfb._0x3c8ea9,0x50,0x115)]})]},'block-'+_0x4d5283[_0x1b928d(_0x560bfb._0x1450f4,-_0x560bfb._0x158e2d,_0x560bfb._0x53fc28,_0x560bfb._0x3c03a7)]);}),_0x2bf5bb[_0x402b4e(_0x13ef2e._0x10cd8e,_0x13ef2e._0x191e75,_0x13ef2e._0x2e09b5,0x196)]===0x0&&_0x2ee1bc(_0x203fdd,{'marginLeft':0x2,'children':_0x2ee1bc(_0x508e5a,{'color':_0x5a0bf7(0x222,0x1d6,0x340,0x26f),'children':_0x5a0bf7(_0x13ef2e._0x54de32,_0x13ef2e._0x299900,_0x13ef2e._0x2da33d,_0x13ef2e._0x1c77c4)})})]});}import{jsx as _0x4cb4d2}from'react/jsx-runtime';var zn=({toolResult:_0x24d866,toolCall:_0x9c1ae0})=>{const _0x2d6b35={_0x10fada:0x3c0,_0x5ddcbb:0x47e,_0x343c55:0x5ec,_0x38093b:0x5eb,_0xe8bf15:0x3e8,_0x9d05e:0x66b,_0x49b363:0x5fb,_0x5950ed:0x3c4,_0x7fb740:0x3e3,_0x496a0e:0x438,_0x1ba27c:0x4d8,_0x45d44b:0x155,_0x174dfa:0x328},_0x2f7f49={_0x9e7268:0x3f,_0x1540ee:0x4e8},_0x4e93de={_0x44ae00:0x149};let _0x488066=null;try{_0x488066=_0x9c1ae0?.[_0x50599a(0x592,0x57a,_0x2d6b35._0x10fada,_0x2d6b35._0x5ddcbb)][_0x44a6cc(_0x2d6b35._0x343c55,0x7b9,0x6ba,0x690)]?JSON['parse'](_0x9c1ae0[_0x44a6cc(0x7bb,0x481,_0x2d6b35._0x38093b,0x701)][_0x50599a(0x617,0x2d1,0x48f,0x294)]):null;}catch{_0x488066=null;}let _0x5d6f72=_0x24d866[_0x44a6cc(0x4d2,_0x2d6b35._0xe8bf15,0x5c6,_0x2d6b35._0x9d05e)];function _0x50599a(_0x5dc0f4,_0x46ef72,_0x446e8a,_0x1b8651){return _0x3eba7a(_0x5dc0f4-_0x4e93de._0x44ae00,_0x46ef72-0x151,_0x1b8651,_0x446e8a-0x2bd);}if(!_0x488066||_0x488066['old_text']===void 0x0||_0x488066[_0x44a6cc(_0x2d6b35._0x49b363,0x768,0x56f,0x3ad)]===void 0x0)return null;let _0x1d9a28=_0x5d6f72?.[_0x44a6cc(0x3c9,0x2ca,_0x2d6b35._0x5950ed,0x2dc)];function _0x44a6cc(_0x27c8c0,_0x2e8f71,_0x4fe82e,_0x4c1b02){return _0x3eba7a(_0x27c8c0-_0x2f7f49._0x9e7268,_0x2e8f71-0xf6,_0x27c8c0,_0x4fe82e-_0x2f7f49._0x1540ee);}return _0x4cb4d2(_0x5c9432,{'flexDirection':_0x50599a(0x2f6,0x249,0x429,0x274),'children':_0x4cb4d2(zt,{'blocks':[{'search':_0x488066[_0x44a6cc(_0x2d6b35._0x7fb740,0x47d,_0x2d6b35._0x496a0e,_0x2d6b35._0x1ba27c)],'replace':_0x488066['new_text']}],'filePath':_0x5d6f72?.['path']||_0x488066[_0x50599a(0x27,_0x2d6b35._0x45d44b,0x1e4,_0x2d6b35._0x174dfa)],'showPath':!0x1,'lineNumbers':_0x1d9a28})});};import{Box as _0x533e2b,Text as _0xf4ef33}from'ink';import{jsx as _0x1da3aa}from'react/jsx-runtime';var Yn=({toolResult:_0x1d152e,messageId:_0x4e297a,messageColor:_0x555172,fullMode:_0x578713=!0x1})=>{const _0x56f45a={_0x5f0063:0x807,_0x4c02b2:0x61e,_0x21d137:0x498,_0x5dfd30:0x35b,_0x5de615:0x15f,_0x519ebf:0x489,_0x262dd:0x292,_0xc1fe9f:0x3fe,_0xcf7e86:0x349,_0x52e30f:0x4a7,_0xff0e98:0x5de,_0x58cc01:0x768,_0x1e9c7b:0x7d3,_0x34a7ef:0x600,_0x150995:0x7dc,_0x30db4c:0x605,_0x5378a1:0x63d,_0x345300:0x5c8,_0x2dc619:0x97d,_0x2468b1:0x98f,_0x3d4f5a:0x953},_0x2f6165={_0x5518b7:0x5d,_0x5f0364:0xa0};let {theme:_0x4a6cb7}=D(),[_0x52fe53]=O(),_0x27265d=_0x1d152e['status']===_0x5509dc(_0x56f45a._0x5f0063,_0x56f45a._0x4c02b2,0x637,_0x56f45a._0x21d137)?_0x4a6cb7[_0x32e9ff(_0x56f45a._0x5dfd30,0x2c5,0x283,_0x56f45a._0x5de615)]['gray']:_0x4a6cb7[_0x32e9ff(_0x56f45a._0x519ebf,0x2c5,_0x56f45a._0x262dd,0x15a)][_0x32e9ff(_0x56f45a._0xc1fe9f,_0x56f45a._0xcf7e86,0x32a,0x300)],_0x18d137=_0x555172??_0x27265d;if(_0x1d152e['status']===_0x5509dc(0x75a,_0x56f45a._0x52e30f,0x637,_0x56f45a._0xff0e98)){let _0x329533=typeof _0x1d152e[_0x5509dc(_0x56f45a._0x58cc01,_0x56f45a._0x1e9c7b,0x7f1,_0x56f45a._0x34a7ef)]==_0x5509dc(0x8de,0x892,_0x56f45a._0x150995,0x94a)?_0x1d152e['result']:'';if(!_0x578713)return null;let _0x509eaf=_0x329533[_0x32e9ff(0x6b6,_0x56f45a._0x30db4c,_0x56f45a._0x5378a1,_0x56f45a._0x345300)](/\r?\n/);return _0x1da3aa(_0x533e2b,{'flexDirection':_0x5509dc(_0x56f45a._0x2dc619,0x701,0x7a4,_0x56f45a._0x2468b1),'width':_0x52fe53-0xa,'children':_0x509eaf[_0x5509dc(0x86b,_0x56f45a._0x3d4f5a,0x86d,0xa3c)](_0x360652=>_0x1da3aa(_0xf4ef33,{'dimColor':!0x0,'color':_0x18d137,'children':_0x360652},_0x4e297a+'-'+_0x360652[_0x5509dc(0x50b,0x7ab,0x641,0x49f)](0x0,0x32)))});}function _0x32e9ff(_0x255c2b,_0x13c978,_0x15cb50,_0x2fab88){return _0x3eba7a(_0x255c2b-0x158,_0x13c978-0x150,_0x2fab88,_0x13c978-0x464);}function _0x5509dc(_0xcde4d3,_0x80d991,_0x20247d,_0x21c801){return _0x3eba7a(_0xcde4d3-_0x2f6165._0x5518b7,_0x80d991-_0x2f6165._0x5f0364,_0xcde4d3,_0x20247d-0x638);}return null;};import{Box as _0x2aee73,Text as _0x327895}from'ink';import{jsx as _0x1f7268,jsxs as _0x1aaa65}from'react/jsx-runtime';function bl(_0x5e8641){const _0x366858={_0x20eaab:0x1ea},_0x3e0da2={_0x3b00ee:0x107,_0x3c3f29:0x3f};function _0x96aae3(_0x65834b,_0x5b80c6,_0x149f2c,_0x300f80){return _0x3eba7a(_0x65834b-_0x3e0da2._0x3b00ee,_0x5b80c6-_0x3e0da2._0x3c3f29,_0x65834b,_0x300f80-0xac);}function _0x104bed(_0x2bf48b,_0x4e1434,_0x501203,_0x1d1e53){return _0x199b7d(_0x2bf48b-_0x366858._0x20eaab,_0x501203- -0x438,_0x501203-0x26,_0x2bf48b);}if(!_0x5e8641)return[];let _0x5bbee6=_0x5e8641[_0x96aae3(0x2ed,0x416,0x40f,0x24d)]('\x0a'),_0x21ace2=_0x5bbee6['length'][_0x96aae3(-0xeb,-0xc3,-0x23f,-0x50)]()['length'];return _0x5bbee6['map']((_0x379c61,_0x59a001)=>({'lineNumber':(_0x59a001+0x1)['toString']()[_0x96aae3(-0x194,-0x4a,0x73,0x16)](_0x21ace2,'\x20')+'\x20|\x20','content':_0x379c61['replace'](/\t/g,'\x20\x20')}));}var Xn=({toolResult:_0x115240,toolCall:_0x40f89e,fullMode:_0x58b0de=!0x1})=>{const _0x158954={_0x14851c:0x103,_0x5a0142:0x74,_0x25e822:0xd0,_0x425fbc:0x3cb,_0x52327a:0x314,_0x4c0780:0x417,_0x320263:0x1b3,_0x1714ae:0x19e,_0xfd704e:0x177,_0x210dd6:0x243,_0x2003e2:0x483,_0x1e6df1:0x348,_0x51672b:0x350,_0x2d94db:0x4ba,_0x2bf012:0x1d7,_0x214de9:0x10a,_0x2f38a2:0x23f,_0x34e547:0x173,_0x101b6d:0x53},_0x5b0874={_0x558ec2:0xb6};let [_0x57098d]=O();if(!_0x58b0de||_0x115240[_0x163a1e(_0x158954._0x14851c,-0xd,_0x158954._0x5a0142,0x1ee)]!==_0x7025eb(_0x158954._0x25e822,0x32e,_0x158954._0x425fbc,0x244))return null;let _0xb6ece4=null;try{_0xb6ece4=_0x40f89e?.['function'][_0x7025eb(0x29e,0x222,_0x158954._0x52327a,_0x158954._0x4c0780)]?JSON[_0x7025eb(0x34b,_0x158954._0x320263,0x9f,_0x158954._0x1714ae)](_0x40f89e[_0x7025eb(_0x158954._0xfd704e,_0x158954._0x210dd6,_0x158954._0x2003e2,_0x158954._0x1e6df1)]['arguments']):null;}catch{_0xb6ece4=null;}let _0x4fef5a=_0xb6ece4?.[_0x7025eb(_0x158954._0x51672b,0x4fe,0x29a,0x497)]||'';if(!_0x4fef5a)return null;function _0x163a1e(_0x28a129,_0x4b4626,_0x49eb38,_0xde67e5){return _0x3eba7a(_0x28a129-0x5d,_0x4b4626-_0x5b0874._0x558ec2,_0xde67e5,_0x49eb38- -0xc2);}function _0x7025eb(_0x1bf2bf,_0x397583,_0x358b12,_0x3b362e){return _0x199b7d(_0x1bf2bf-0x1f1,_0x3b362e- -0x262,_0x358b12-0xec,_0x1bf2bf);}let _0x48f1ea=bl(_0x4fef5a);return _0x1f7268(_0x2aee73,{'flexDirection':_0x7025eb(0x3c6,_0x158954._0x2d94db,_0x158954._0x2bf012,0x3b1),'width':_0x57098d-0xa,'children':_0x48f1ea[_0x163a1e(_0x158954._0x214de9,_0x158954._0x2f38a2,_0x158954._0x34e547,-_0x158954._0x101b6d)](_0x44506e=>_0x1aaa65(_0x2aee73,{'children':[_0x1f7268(_0x327895,{'dimColor':!0x0,'children':_0x44506e[_0x163a1e(0x14b,-0x1d7,0x29,-0xd7)]}),_0x1f7268(_0x327895,{'children':_0x44506e[_0x163a1e(0x1aa,0x6d,0x190,0x147)]})]},_0x44506e[_0x163a1e(-0x139,0x127,0x29,0x164)]+'-'+_0x44506e['content']['slice'](0x0,0x14)))});};import{Box as _0x502f9f,Text as _0x4f6be4}from'ink';import{stripAnsiAndControls as _0x4a2f46,normalizeNewlines as _0x1bd56b,resolveCarriageReturns as _0x1be87d,resolveBackspaces as _0x333585,canonicalizeTerminalPaste as _0x499cd6}from'@nuvin/nuvin-core';var Gt=({status:_0x6ef430,messageContent:_0xa3a9b5,toolResult:_0x4686be})=>{const _0x4b33b2={_0x4d38d3:0xe5,_0x459f3c:0x294,_0x5c4f93:0x19d,_0x3df891:0x347,_0x1bbcb5:0x2a5,_0x1e854f:0x295,_0x26981e:0x26c,_0x479bf2:0x4c,_0x5e61be:0xd,_0x214ee2:0x99,_0x56aa9b:0x327,_0x3428bf:0x439,_0xc1f95d:0x37,_0x683696:0x122,_0x17e275:0x12b,_0x560afe:0x280,_0x213675:0x436,_0x1f59fd:0x28b,_0x507afe:0x2d2,_0x19a18f:0x44e,_0x21f9f6:0x126,_0x41b878:0x9e,_0x2750e4:0xb6,_0x31836a:0x356,_0x46f7ce:0x2fe,_0x3d14e2:0x8e,_0x31e9a3:0xae},_0x3560f6={_0x5e6ece:0x146,_0x449e7c:0x295},_0x3d2ecb={_0x211baf:0x115,_0x24d524:0xb,_0x55c232:0x11b};let _0x30d9a9=[];if(_0x6ef430!==_0x3c1c3f(0x39f,0xdc,_0x4b33b2._0x4d38d3,_0x4b33b2._0x459f3c)){let _0x1d7e25=_0xa3a9b5?.[_0x370a44(-0x18a,-_0x4b33b2._0x5c4f93,-_0x4b33b2._0x3df891,-0x322)](/^error:\s*/i,'')[_0x370a44(-_0x4b33b2._0x1bbcb5,-_0x4b33b2._0x1e854f,-_0x4b33b2._0x26981e,-0xbf)]();_0x30d9a9=_0x1d7e25?_0x1d7e25[_0x370a44(-_0x4b33b2._0x479bf2,0x86,-_0x4b33b2._0x5e61be,_0x4b33b2._0x214ee2)](/\r?\n/):[];}function _0x370a44(_0x5db62c,_0x528a07,_0x49dbd6,_0x1a5dd7){return _0x3eba7a(_0x5db62c-_0x3d2ecb._0x211baf,_0x528a07-_0x3d2ecb._0x24d524,_0x49dbd6,_0x528a07- -_0x3d2ecb._0x55c232);}function _0x3c1c3f(_0x43b620,_0x2e8015,_0x5e0a91,_0x23941f){return _0x3eba7a(_0x43b620-0xd1,_0x2e8015-_0x3560f6._0x5e6ece,_0x5e0a91,_0x23941f-_0x3560f6._0x449e7c);}if(typeof _0x4686be['result']==_0x3c1c3f(_0x4b33b2._0x56aa9b,0x533,0x63e,_0x4b33b2._0x3428bf)){let _0x120ecf=_0x4a2f46(_0x4686be[_0x370a44(-_0x4b33b2._0xc1f95d,0x9e,_0x4b33b2._0x683696,-_0x4b33b2._0x17e275)])[_0x3c1c3f(0x1a8,0x22f,_0x4b33b2._0x560afe,0x11b)]();_0x30d9a9=_0x120ecf?_0x120ecf[_0x3c1c3f(0x5bb,0x57b,0x5bc,_0x4b33b2._0x213675)](/\r?\n/):[];}return _0x4686be[_0x3c1c3f(_0x4b33b2._0x1f59fd,_0x4b33b2._0x507afe,0x462,_0x4b33b2._0x19a18f)]&&typeof _0x4686be[_0x370a44(_0x4b33b2._0x21f9f6,_0x4b33b2._0x41b878,0x9a,_0x4b33b2._0x2750e4)]=='object'&&(_0x30d9a9=JSON['stringify'](_0x4686be[_0x3c1c3f(_0x4b33b2._0x31836a,_0x4b33b2._0x46f7ce,0x559,_0x4b33b2._0x19a18f)],null,0x2)['split'](/\r?\n/)),_0x30d9a9[_0x370a44(-0xe8,-_0x4b33b2._0x3d14e2,0x65,-_0x4b33b2._0x31e9a3)](_0x352a42=>_0x352a42[_0x3c1c3f(0x2e5,0x2ec,0x1d1,0x11b)]()[_0x370a44(-0x59,0x11e,0x21f,0x321)]>0x0);};import{jsx as _0x1e93b4,jsxs as _0x2ef85c}from'react/jsx-runtime';var Sl=0xa,Ml=0xc8,ts=({toolResult:_0x318d3c,messageId:_0x283dd4,messageContent:_0x1ad9d2,messageColor:_0x4dd811,fullMode:_0x277230=!0x1})=>{const _0x3d177a={_0xef021e:0x4ee,_0x518f28:0x596,_0x28387e:0x64a,_0x3b72da:0x62d,_0x39f859:0x5de,_0x30f698:0x358,_0x26c56f:0x22a,_0x5e253a:0x302,_0x328f9a:0x481,_0x44f6af:0x3dc,_0x5808da:0x297,_0x3a41e8:0x524,_0x5e1235:0x439,_0x5ea89f:0x29e,_0x14ce28:0x439,_0x1d0827:0x30e,_0x96f56d:0x278,_0xab0254:0x4b3,_0x4b87fa:0x730,_0xb4c0c:0x544,_0x234846:0x645,_0x14247a:0x6dd,_0x5af3de:0x761,_0x4a7b3a:0x7ea,_0x5ca348:0x85d,_0x35fa69:0x5dd,_0x154a37:0x4bf,_0x574613:0x6ef,_0x21caac:0x74b,_0x3df849:0x564},_0x1c80ee={_0x4634d2:0x50},_0x36cf8f={_0x33d052:0x3,_0x2800b5:0x10f};let {theme:_0x56ff41}=D(),[_0x4f85aa]=O(),_0x435363=_0x318d3c[_0x1e0cfa(0x5da,_0x3d177a._0xef021e,_0x3d177a._0x518f28,_0x3d177a._0x28387e)]===_0x1e0cfa(0x4a3,0x668,_0x3d177a._0x3b72da,_0x3d177a._0x39f859)?_0x56ff41[_0x3fd120(_0x3d177a._0x30f698,_0x3d177a._0x26c56f,_0x3d177a._0x5e253a,0x1e4)][_0x1e0cfa(0x684,0x70c,0x5f2,0x59f)]:_0x56ff41[_0x3fd120(0x358,0x3ad,0x411,_0x3d177a._0x328f9a)][_0x3fd120(_0x3d177a._0x44f6af,0x3b0,_0x3d177a._0x5808da,_0x3d177a._0x3a41e8)],_0x6580a6=_0x4dd811??_0x435363,_0x40299c=Gt({'status':_0x318d3c['status'],'messageContent':_0x1ad9d2,'toolResult':_0x318d3c}),_0x3683e6=_0x277230?Number[_0x3fd120(_0x3d177a._0x5e1235,_0x3d177a._0x5ea89f,0x286,0x3af)]:Sl,_0x29007d=_0x277230?Number[_0x3fd120(_0x3d177a._0x14ce28,_0x3d177a._0x1d0827,_0x3d177a._0x96f56d,_0x3d177a._0xab0254)]:Ml;function _0x1e0cfa(_0x291e0b,_0x366a49,_0x33df12,_0x378042){return _0x199b7d(_0x291e0b-0x176,_0x291e0b- -_0x36cf8f._0x33d052,_0x33df12-_0x36cf8f._0x2800b5,_0x378042);}if(_0x40299c[_0x3fd120(_0x3d177a._0x4b87fa,0x804,_0x3d177a._0xb4c0c,0x7a4)]===0x0)return null;function _0x3fd120(_0x5b9fde,_0xef08d0,_0x577e86,_0x32a116){return _0x199b7d(_0x5b9fde-0x150,_0x5b9fde-_0x1c80ee._0x4634d2,_0x577e86-0x119,_0x32a116);}let _0x566bac=_0x90702f=>_0x277230||_0x90702f[_0x1e0cfa(0x6dd,0x60f,0x717,0x718)]<=_0x29007d?_0x90702f:_0x90702f[_0x1e0cfa(0x351,0x4da,0x1ef,0x4ac)](0x0,_0x29007d)+_0x1e0cfa(0x4b1,0x371,0x56e,0x5fa)+(_0x90702f['length']-_0x29007d)+_0x1e0cfa(0x6fd,0x8da,0x5f2,0x85d),_0x38dcf7=_0x277230?_0x40299c:_0x40299c['slice'](-_0x3683e6),_0x1f220e=!_0x277230&&_0x40299c[_0x3fd120(_0x3d177a._0x4b87fa,_0x3d177a._0x234846,0x874,0x58a)]>_0x3683e6?_0x40299c[_0x1e0cfa(_0x3d177a._0x14247a,_0x3d177a._0x5af3de,0x5a6,_0x3d177a._0x4a7b3a)]-_0x3683e6:0x0;return _0x2ef85c(_0x502f9f,{'flexDirection':_0x3fd120(0x663,0x6c7,_0x3d177a._0x5ca348,0x63a),'width':_0x4f85aa-0xa,'children':[_0x1f220e>0x0&&_0x2ef85c(_0x4f6be4,{'dimColor':!0x0,'color':_0x56ff41[_0x3fd120(_0x3d177a._0x35fa69,0x6fa,_0x3d177a._0x154a37,0x5c6)][_0x1e0cfa(0x506,0x55e,0x520,0x4f3)],'children':['...\x20(',_0x1f220e,_0x3fd120(0x5e5,0x7a7,0x438,_0x3d177a._0x574613)]}),_0x38dcf7[_0x3fd120(0x72c,_0x3d177a._0x21caac,0x5ca,_0x3d177a._0x3df849)]((_0x26b4f2,_0x1eae12)=>_0x1e93b4(_0x4f6be4,{'dimColor':!0x0,'color':_0x6580a6,'children':_0x566bac(_0x26b4f2)},_0x283dd4+_0x3fd120(0x362,0x1f7,0x38a,0x1b9)+_0x26b4f2+'-'+_0x1eae12))]});};import{Box as _0x518904,Text as _0x3a5823}from'ink';import{jsx as _0x2202f7,jsxs as _0x273873}from'react/jsx-runtime';var ns=({toolResult:_0x50c92d,messageId:_0x238d10,messageContent:_0x293f84,messageColor:_0x5cc1c5,fullMode:_0x577825=!0x1})=>{const _0x1996b1={_0x2fbff5:0x58b,_0x4f8061:0x11a,_0x5bf3cb:0xbd,_0x4c172b:0x498,_0x226e47:0x4e2,_0x4c9b19:0x3ab,_0x449af7:0x148,_0x198ffe:0x175,_0xa87dc4:0x79,_0x2d34b7:0x193,_0x4b3c60:0x45,_0x279688:0x224,_0x4469f9:0x1de,_0x3a55b2:0x56d,_0xa9687e:0x5e1,_0xe34bf1:0x4ce,_0x1b0195:0x52f,_0x8838e4:0x4c2,_0x431cbd:0x33c,_0x46954d:0x421,_0x2a2ca2:0x73d},_0x287758={_0xdfef5a:0x103},_0x395f71={_0x5191d4:0x4d3};let {theme:_0x510fe5}=D(),[_0x3bd67b]=O(),_0x1beeda=_0x50c92d[_0x361e06(_0x1996b1._0x2fbff5,0x54e,0x5ed,0x609)]==='success'?_0x510fe5[_0x2a0d28(_0x1996b1._0x4f8061,-0x9c,_0x1996b1._0x5bf3cb,-0x16c)][_0x2a0d28(0x271,0x2e3,_0x1996b1._0x4c172b,_0x1996b1._0x226e47)]:_0x510fe5['tokens'][_0x361e06(0x490,_0x1996b1._0x4c9b19,0x312,0x3b8)],_0x15f7b0=_0x5cc1c5??_0x1beeda,_0x591725=Gt({'status':_0x50c92d[_0x2a0d28(0x3bc,0x239,_0x1996b1._0x449af7,0x136)],'messageContent':_0x293f84,'toolResult':_0x50c92d}),_0x3af7d2=_0x577825?Number[_0x2a0d28(_0x1996b1._0x198ffe,0x45,_0x1996b1._0xa87dc4,0x216)]:0x5,_0x59ae7a=_0x577825?Number[_0x2a0d28(-_0x1996b1._0x2d34b7,_0x1996b1._0x4b3c60,_0x1996b1._0x279688,-0xf5)]:0x96;if(_0x591725[_0x2a0d28(0x4ce,0x33c,_0x1996b1._0x4469f9,0x482)]===0x0)return null;let _0x34b961=_0x16acd9=>_0x577825||_0x16acd9[_0x361e06(0x74a,0x569,0x692,0x70c)]<=_0x59ae7a?_0x16acd9:_0x16acd9[_0x2a0d28(0xe0,-0x50,0x161,0x167)](0x0,_0x59ae7a)+'...\x20('+(_0x16acd9[_0x2a0d28(0x262,0x33c,0x476,0x4fd)]-_0x59ae7a)+_0x2a0d28(0x204,0x35c,0x23a,0x4b1);function _0x361e06(_0x42881e,_0x1b29e4,_0x48dded,_0x12c23c){return _0x3eba7a(_0x42881e-0x188,_0x1b29e4-0x28,_0x48dded,_0x12c23c-_0x395f71._0x5191d4);}function _0x2a0d28(_0x5b9a59,_0x5f0481,_0x286a89,_0x3af07f){return _0x3eba7a(_0x5b9a59-0x1e3,_0x5f0481-0xf4,_0x5b9a59,_0x5f0481-_0x287758._0xdfef5a);}return _0x273873(_0x518904,{'flexDirection':'column','width':_0x3bd67b-0xa,'children':[_0x591725['slice'](0x0,_0x3af7d2)['map']((_0x2caaed,_0x48f348)=>_0x2202f7(_0x3a5823,{'dimColor':!0x0,'color':_0x15f7b0,'children':_0x34b961(_0x2caaed)},_0x238d10+_0x2a0d28(-0xfd,-0x92,-0x1d2,0xb8)+_0x2caaed+'-'+_0x48f348)),!_0x577825&&_0x591725['length']>_0x3af7d2&&_0x273873(_0x3a5823,{'dimColor':!0x0,'color':_0x510fe5[_0x361e06(_0x1996b1._0x3a55b2,_0x1996b1._0xa9687e,_0x1996b1._0xe34bf1,0x5b9)]['muted'],'children':[_0x361e06(_0x1996b1._0x1b0195,0x44f,0x486,0x4e0),_0x591725[_0x2a0d28(_0x1996b1._0x8838e4,_0x1996b1._0x431cbd,_0x1996b1._0x46954d,0x1d9)]-_0x3af7d2,_0x361e06(0x44f,0x6d0,_0x1996b1._0x2a2ca2,0x5c1)]})]});};import{jsx as _0xe7346f,jsxs as _0x2480e}from'react/jsx-runtime';var qt=({toolResult:_0x1da85d,toolCall:_0x286d34,messageId:_0x1f5a80,messageContent:_0x25ab5a,messageColor:_0xd27e10,fullMode:_0x4e2b39=!0x1})=>{const _0xcf5a19={_0x2f32c5:0xcc,_0x3648b6:0x1e6,_0x1fe3d0:0x175,_0x1fcc53:0xa,_0x11bd5e:0x2f6,_0x1beac8:0x3bd,_0x2f0b0e:0x195,_0x3b7600:0x317,_0x350a55:0x1d7,_0x5af746:0x33,_0x85c88a:0x1a1,_0x3debcc:0xc6,_0x38f422:0x6a,_0x4b3a28:0x90,_0x3a56f1:0x202,_0x2812f6:0x2b2,_0x4ca220:0x269,_0x4b5434:0x3d1,_0x53415e:0x2de,_0x2f10ac:0xf5,_0x3e49ba:0x233,_0x329f3f:0x241,_0x4311df:0x24a,_0x1bff84:0x30c,_0xe7211:0x165,_0xdae1e0:0x1fd,_0x3970bd:0xe9,_0x5957e0:0x8,_0x1c5dd8:0x19,_0x274ab9:0x1d5,_0x3ea6fe:0x26e,_0x1ac404:0x435,_0x259397:0x50,_0x3443d2:0x1a6,_0x1c6746:0x3c,_0x654ceb:0xac,_0x4450d5:0xbb,_0x4d3d80:0x163,_0x596ec8:0x165,_0x34d198:0xa2,_0xd99f9d:0x353,_0x3f2bb5:0x4a,_0x1fa4e3:0x1bf,_0x26f839:0x1fe,_0x3147a1:0x1f0,_0x4078a2:0x42d,_0x6a6e7f:0x393,_0x27f208:0x262,_0x44d9e8:0x468,_0x3fc914:0x44c,_0x6edbc3:0x194,_0x9fb0ba:0x129,_0x25bec6:0x19c,_0x49bc86:0x2f5,_0x242e8d:0xc4,_0x5c257a:0x7b,_0xf67883:0x5c,_0x4e6bf5:0x20b,_0x357cb2:0xd6,_0x57f578:0xc0,_0x177e4c:0x54,_0x23edf5:0x9e},_0x17c436={_0x52ffb7:0x5},_0xb3063d={_0x26e4fb:0x32f,_0x432f39:0x3a9,_0x2223e5:0x78d,_0x1cbf42:0x6b0,_0x591301:0x519,_0x42ef6c:0x77b,_0x2d47ec:0x623,_0x50afad:0x1d4,_0x363d36:0x3c2,_0x5d44c6:0x698,_0x4ebb80:0x593,_0x406d3b:0x67d,_0x493b80:0x708,_0x5c689a:0x532,_0x2f9bac:0x6d0,_0x54d77d:0x833,_0x5206ed:0x7fe,_0x350c05:0x7ec,_0x2be44f:0x8e7},_0x560581={_0x37c833:0x71},_0x497864={_0x1e0fa7:0x585,_0x45f98b:0x25c,_0x57d89c:0x439,_0x3f70b7:0x55d,_0x1b1650:0x4fb,_0x34e2c0:0x496,_0x375eed:0x410,_0xd9af45:0x698,_0x22461f:0x692,_0x198af0:0x417,_0x9b7be0:0x4c6,_0x186a95:0x632,_0x34a25a:0x4ff,_0x500301:0x36e,_0x2bb610:0x3a3,_0x3ac14c:0x5ed,_0x482b18:0x40d,_0xce288c:0x267,_0x44b9c8:0x44e,_0x1eee5e:0x283,_0x1d2447:0x4fb,_0x490698:0x1ad,_0x3751e2:0x395,_0x86631d:0x1e2,_0x378ff1:0x6fa,_0x1d936f:0x6b,_0x5d9312:0x18a,_0x18bf54:0x764,_0x480459:0x55e,_0x5be95b:0x417,_0x53ca7b:0x4bc,_0x1c074d:0x19b,_0x3d2a2b:0x313,_0xc6943b:0xb,_0xa2c2dd:0x4fc,_0x5c5b08:0x35e,_0x34f16f:0x404,_0x545a48:0x308,_0x28b3c7:0x463,_0x43e1c6:0x443,_0x51f0c0:0xf8,_0x199e5e:0x51,_0x530fdd:0x216,_0x3da5b7:0x3e5,_0x368f6a:0x290,_0x233821:0x1e8,_0x27a1a6:0x2aa,_0x59ee64:0x3fa,_0xfa1483:0x2e7,_0x3a1769:0x466,_0x63fbc5:0x468,_0x2eb4b2:0x5fb,_0x1c381a:0x3fa,_0x4f26ff:0x475,_0x153f6e:0x5a5,_0x41b19f:0x48d,_0x196455:0x2d7,_0x224298:0x632,_0x47a6f5:0x602,_0x2a85f7:0x663,_0x510ee6:0x44f,_0x2b8766:0x42f,_0x3e4971:0x280,_0x4a6d58:0x42d,_0x4b5673:0x696,_0x40f799:0x37f,_0x4ecc96:0x4af,_0x59f675:0x318,_0x2e4d78:0x2cd,_0x59ea72:0x3cc,_0x3e5eb9:0x47e,_0x779682:0x645,_0x1099af:0x661,_0x4a3e31:0x671,_0x3c8d38:0x68c,_0x41cf45:0x41c,_0x1f1ce2:0x6b6,_0x45d91f:0x5ee,_0x45667e:0x708,_0x5053ce:0x82d,_0x46ec1d:0x5cd,_0x164eb6:0x5fb,_0x5bbd4c:0x6d7,_0x34b16c:0x4aa,_0x5a8e28:0x4e4,_0x19ea1e:0x3e8,_0x50cd3b:0x30c,_0x2cdbe1:0x378,_0x5cad25:0x57c,_0x28a055:0x6d0,_0x4b9dcf:0x3f,_0x215ad7:0xa,_0x4c58b3:0x385,_0x3217c0:0x39f,_0x15d392:0x442,_0x599893:0x629,_0x5198bf:0x4e5,_0x5020a0:0x35c,_0x1ade27:0x44c,_0x457b1e:0x2ca,_0x16226a:0x5b4,_0x107880:0x6d8,_0x18e5a3:0x78a,_0x39d0bd:0x77e,_0x2f1ed2:0x6b9,_0x52c39e:0x6ad,_0x5034c7:0x4ea,_0x1021e9:0x4e2,_0x4f80fb:0x464,_0x416a55:0x6b6,_0x34df29:0x5cf,_0x271afc:0x78f,_0x4fb30a:0x88f,_0x2e815a:0x8bd,_0x666768:0x886,_0x26af9d:0x382,_0x50d062:0x4ab,_0x502717:0x5ac,_0x20906e:0x3cb,_0x26aec1:0x493,_0x9d95:0x1fc,_0x7c0806:0x5b,_0x34102f:0x23f},_0x60e2a9={_0x37e0d7:0x281,_0x458a72:0x18f,_0x4a9f54:0x14b},_0x1996c9={_0x2149f7:0x2bd,_0x4d65d2:0x2f,_0xd44169:0x3ee,_0x59d9e6:0x21f,_0x4a3d1d:0x20,_0x12f537:0x1fb,_0x1ec82b:0x677,_0x125363:0x667,_0x3f265f:0x48d,_0x2df8b2:0x4f9,_0x4fcfa3:0x37d,_0x16b82c:0xc1,_0x5a6f21:0x3ad,_0x24a4d3:0x617,_0x3da3a4:0xd3,_0x4caad9:0x4d8,_0x92bd2a:0x22d,_0x4aff08:0xe5,_0x160e67:0xe8,_0xb8507a:0x16b,_0x3a4f41:0x2d3,_0x4628ad:0x3c1,_0x426012:0x223,_0x4515a5:0x408,_0x1146ef:0x353,_0x20b33f:0x14c,_0x483587:0xcd,_0x44029a:0x84,_0xc2f508:0xed,_0x274003:0xb5,_0x466419:0x2b,_0x10f7ad:0x60,_0x562100:0x1c7,_0x47020c:0x122,_0x280c8c:0x233,_0x1c212f:0x372,_0x411203:0x1e4},_0x879cd3={_0x1879dd:0x9d,_0x11239b:0x260,_0x2cc5c3:0x192};let {theme:_0x31e990}=D(),[_0x49d62d]=O(),_0x115854=_0x1da85d[_0x5e5cd(_0xcf5a19._0x2f32c5,_0xcf5a19._0x3648b6,0x8c,_0xcf5a19._0x1fe3d0)]===_0x40ce39(-0x159,-_0xcf5a19._0x1fcc53,-0x209,0x163)?_0x31e990['status'][_0x40ce39(-0x11e,-0xa,-0x19e,-0x3b)]:_0x31e990[_0x5e5cd(_0xcf5a19._0x11bd5e,0x1e6,_0xcf5a19._0x1beac8,0x322)][_0x40ce39(0x1a,-0x19f,-_0xcf5a19._0x2f0b0e,-_0xcf5a19._0x3b7600)],_0x5f11e8=typeof _0x1da85d[_0x5e5cd(-_0xcf5a19._0x350a55,-0xdb,_0xcf5a19._0x5af746,-_0xcf5a19._0x85c88a)]==_0x5e5cd(0x194,_0xcf5a19._0x3debcc,0x283,-0xbe)&&Number[_0x40ce39(0x12f,0x71,-0x62,-0x3)](_0x1da85d['durationMs'])?_0x1da85d[_0x5e5cd(_0xcf5a19._0x38f422,-0xdb,0xbf,_0xcf5a19._0x4b3a28)]+'ms':null,_0x7e2c29=()=>{function _0x30f86d(_0x4e9b38,_0x225c10,_0x2f3afe,_0xc677bd){return _0x40ce39(_0x4e9b38-0x1bb,_0xc677bd-0x75,_0x4e9b38,_0xc677bd-0xbd);}if(!_0x286d34)return null;function _0x454908(_0xb846a2,_0x4b80d1,_0x2d6ff1,_0x1caf90){return _0x40ce39(_0xb846a2-_0x879cd3._0x1879dd,_0x2d6ff1-_0x879cd3._0x11239b,_0x1caf90,_0x1caf90-_0x879cd3._0x2cc5c3);}try{let _0x2435c9=_0x286d34['function']['arguments']?JSON['parse'](_0x286d34[_0x30f86d(_0x1996c9._0x2149f7,_0x1996c9._0x4d65d2,0x25,0x16f)][_0x30f86d(_0x1996c9._0xd44169,0xee,0x40f,0x23e)]):{};return _0x2435c9[_0x454908(_0x1996c9._0x59d9e6,0x204,0x17e,_0x1996c9._0x4a3d1d)]?_0x2435c9['file_path']:_0x2435c9['path']?_0x2435c9['path']:_0x2435c9['url']?_0x2435c9[_0x454908(_0x1996c9._0x12f537,0x290,0x39b,0x52c)]:_0x2435c9[_0x454908(0x590,0x526,0x48d,_0x1996c9._0x1ec82b)]?_0x2435c9[_0x454908(0x309,_0x1996c9._0x125363,_0x1996c9._0x3f265f,_0x1996c9._0x2df8b2)][_0x454908(0x2e2,_0x1996c9._0x4fcfa3,0x260,_0x1996c9._0x16b82c)](0x0,0x32)+(_0x2435c9[_0x454908(_0x1996c9._0x5a6f21,_0x1996c9._0x24a4d3,0x48d,0x574)][_0x30f86d(_0x1996c9._0x3da3a4,0x27c,0x1d6,0x2a5)]>0x32?_0x454908(_0x1996c9._0x4caad9,0x49e,0x41a,0x5bd):''):_0x2435c9[_0x30f86d(0x155,0x267,0xb0,0xe8)]?_0x2435c9[_0x30f86d(_0x1996c9._0x92bd2a,0x22d,-_0x1996c9._0x4aff08,_0x1996c9._0x160e67)][_0x454908(_0x1996c9._0xb8507a,_0x1996c9._0x3a4f41,0x260,_0x1996c9._0x4628ad)](0x0,0x32)+(_0x2435c9[_0x454908(_0x1996c9._0x426012,0x4a7,0x2d3,0x31e)][_0x454908(_0x1996c9._0x4515a5,0x4de,0x490,_0x1996c9._0x1146ef)]>0x32?'...':''):_0x2435c9[_0x30f86d(_0x1996c9._0x20b33f,-_0x1996c9._0x483587,_0x1996c9._0x44029a,0x104)]?_0x2435c9[_0x30f86d(_0x1996c9._0xc2f508,_0x1996c9._0x274003,0x233,0x104)][_0x30f86d(_0x1996c9._0x466419,_0x1996c9._0x10f7ad,-0xa2,0x75)](0x0,0x32)+(_0x2435c9[_0x30f86d(_0x1996c9._0x562100,0x2ae,0x205,0x104)][_0x30f86d(0xe5,0x340,_0x1996c9._0x47020c,0x2a5)]>0x32?'...':''):null;}catch{return console[_0x454908(-0x11,0x2be,0xbc,_0x1996c9._0x280c8c)](_0x30f86d(0x5d,0x190,_0x1996c9._0x1c212f,_0x1996c9._0x411203)),null;}},_0x158b57=()=>{const _0x319fa0={_0x251edf:0xc6,_0x38f558:0x14b};let _0x3c4cab=_0x1da85d[_0x327f8e(0x64b,0x67b,_0x497864._0x1e0fa7,0x585)]===_0x1402cf(0x330,_0x497864._0x45f98b,0x3c4,_0x497864._0x57d89c),_0x37cff2=_0x1da85d[_0x327f8e(0x5f3,0x7eb,_0x497864._0x3f70b7,0x683)]?.[_0x327f8e(0x36f,_0x497864._0x1b1650,_0x497864._0x34e2c0,_0x497864._0x375eed)],_0x22e3c9=_0x7e2c29()??'';if(_0x37cff2===_0x2b397c[_0x327f8e(0x602,0x4ba,0x56e,_0x497864._0xd9af45)])return{'text':_0x327f8e(0x602,_0x497864._0x22461f,0x778,0x6b0),'color':_0x31e990[_0x1402cf(_0x497864._0x198af0,_0x497864._0x9b7be0,0x24b,0x2a9)][_0x327f8e(_0x497864._0x186a95,_0x497864._0x34a25a,0x801,0x6aa)]||_0x1402cf(0x1ad,0x1f6,_0x497864._0x500301,_0x497864._0x2bb610),'paramText':_0x22e3c9};if(_0x37cff2===_0x2b397c[_0x327f8e(_0x497864._0x3f70b7,_0x497864._0x3ac14c,0x52b,0x378)])return{'text':_0x1402cf(0x379,_0x497864._0x482b18,0x431,_0x497864._0xce288c),'color':_0x31e990[_0x327f8e(0x5fb,0x6a4,0x79a,0x74c)][_0x1402cf(_0x497864._0x44b9c8,_0x497864._0x1eee5e,_0x497864._0x1d2447,0x288)]||_0x1402cf(_0x497864._0x490698,0x1af,0x4,0x375),'paramText':_0x22e3c9};if(_0x37cff2===_0x2b397c['Timeout'])return{'text':_0x327f8e(_0x497864._0x3751e2,0x41b,0x1f9,_0x497864._0x86631d),'color':_0x31e990['colors'][_0x327f8e(_0x497864._0x186a95,0x655,_0x497864._0x378ff1,0x5c0)]||_0x1402cf(0x1ad,_0x497864._0x1d936f,_0x497864._0x5d9312,0x237),'paramText':_0x22e3c9};if(_0x37cff2===_0x2b397c[_0x327f8e(0x66c,0x7d9,_0x497864._0x18bf54,_0x497864._0x480459)])return{'text':'Permission\x20denied','color':_0x31e990[_0x1402cf(_0x497864._0x5be95b,_0x497864._0x53ca7b,0x21e,0x27c)][_0x1402cf(_0x497864._0x1c074d,_0x497864._0x3d2a2b,_0x497864._0xc6943b,0x2e2)]||'red','paramText':_0x22e3c9};function _0x1402cf(_0x44d846,_0x3c4cb4,_0x5505f4,_0x25c096){return _0x5e5cd(_0x3c4cb4,_0x44d846-_0x60e2a9._0x37e0d7,_0x5505f4-_0x60e2a9._0x458a72,_0x25c096-_0x60e2a9._0x4a9f54);}if(_0x37cff2===_0x2b397c[_0x327f8e(0x3fe,_0x497864._0xa2c2dd,_0x497864._0x5c5b08,_0x497864._0x34f16f)])return{'text':_0x1402cf(0x266,0x121,0x2fe,_0x497864._0x545a48),'color':_0x31e990[_0x327f8e(0x5fb,_0x497864._0x28b3c7,_0x497864._0x43e1c6,0x766)][_0x1402cf(0x19b,0x361,_0x497864._0x51f0c0,-_0x497864._0x199e5e)]||_0x1402cf(_0x497864._0x530fdd,0x203,0x45,0xe1),'paramText':_0x22e3c9};if(_0x37cff2===_0x2b397c[_0x327f8e(_0x497864._0x3da5b7,_0x497864._0x368f6a,_0x497864._0x233821,_0x497864._0x27a1a6)])return{'text':'Tool\x20not\x20found','color':_0x31e990['colors']['error']||_0x327f8e(_0x497864._0x59ee64,_0x497864._0xfa1483,_0x497864._0x3a1769,0x553),'paramText':_0x22e3c9};if(_0x37cff2===_0x2b397c[_0x1402cf(_0x497864._0x63fbc5,0x44f,0x53f,0x437)])return{'text':'Network\x20error','color':_0x31e990[_0x327f8e(_0x497864._0x2eb4b2,0x54f,0x4d9,0x584)]['error']||_0x327f8e(_0x497864._0x1c381a,0x477,_0x497864._0x4f26ff,_0x497864._0x153f6e),'paramText':_0x22e3c9};if(_0x37cff2===_0x2b397c['RateLimit'])return{'text':_0x1402cf(0x448,_0x497864._0x41b19f,0x26b,_0x497864._0x196455),'color':_0x31e990['colors'][_0x327f8e(_0x497864._0x224298,_0x497864._0x47a6f5,0x4ca,0x66c)]||_0x1402cf(_0x497864._0x490698,0x21f,0x179,0x17d),'paramText':_0x22e3c9};function _0x327f8e(_0x5c603f,_0x1c0c14,_0x1e90fb,_0x4b4b35){return _0x40ce39(_0x5c603f-_0x319fa0._0x251edf,_0x5c603f-0x51e,_0x1c0c14,_0x4b4b35-_0x319fa0._0x38f558);}if(_0x37cff2===_0x2b397c[_0x327f8e(0x586,0x5f9,_0x497864._0x2a85f7,_0x497864._0x510ee6)])return{'text':_0x1402cf(_0x497864._0x2b8766,0x363,0x5d4,_0x497864._0x3e4971),'color':_0x31e990[_0x327f8e(0x5fb,_0x497864._0x4a6d58,_0x497864._0x4b5673,0x71b)][_0x327f8e(_0x497864._0x40f799,0x518,0x478,_0x497864._0x4ecc96)]||_0x327f8e(0x3fa,0x4bc,0x570,_0x497864._0x59f675),'paramText':_0x22e3c9};switch(_0x1da85d[_0x1402cf(0x3e6,0x5c4,_0x497864._0x2e4d78,_0x497864._0x59ea72)]){case _0x1402cf(_0x497864._0x3e5eb9,0x5ce,0x339,0x324):return{'text':_0x3c4cab?'Success':'Error','color':_0x115854,'paramText':_0x22e3c9};case _0x327f8e(0x468,0x40f,0x388,_0x497864._0x779682):return{'text':_0x3c4cab?_0x327f8e(0x654,_0x497864._0x1099af,_0x497864._0x4a3e31,_0x497864._0x3c8d38):'Edit\x20failed','color':_0x115854,'paramText':_0x22e3c9};case _0x327f8e(0x5a5,_0x497864._0x41cf45,0x575,0x5d1):return _0x3c4cab?{'text':'Read\x20'+(typeof _0x1da85d['result']=='string'?_0x1da85d['result']:'')[_0x327f8e(_0x497864._0x1f1ce2,_0x497864._0x45d91f,_0x497864._0x45667e,_0x497864._0x5053ce)](/\r?\n/)[_0x1402cf(0x56a,0x4cc,_0x497864._0x3e5eb9,0x454)]+_0x327f8e(0x705,0x526,_0x497864._0x46ec1d,_0x497864._0x164eb6),'color':_0x115854,'paramText':_0x22e3c9}:{'text':'Read\x20failed','color':_0x115854,'paramText':_0x22e3c9};case _0x1402cf(0x4ef,_0x497864._0x5bbd4c,_0x497864._0x34b16c,0x62b):return{'text':_0x3c4cab?'Created':'Creation\x20failed','color':_0x115854,'paramText':_0x22e3c9};case'bash_tool':return{'text':_0x3c4cab?_0x1402cf(_0x497864._0x5a8e28,_0x497864._0x19ea1e,_0x497864._0x50cd3b,_0x497864._0x2cdbe1):_0x1402cf(0x405,0x5c2,0x4a2,0x604),'color':_0x115854,'paramText':_0x22e3c9};case _0x327f8e(_0x497864._0x5cad25,_0x497864._0x28a055,0x4f8,0x603):return{'text':_0x3c4cab?_0x1402cf(0x1c7,_0x497864._0x4b9dcf,-_0x497864._0x215ad7,0x114):_0x1402cf(0x3f8,_0x497864._0x4c58b3,0x3e9,_0x497864._0x3217c0),'color':_0x115854,'paramText':_0x22e3c9};case'web_search':return{'text':_0x3c4cab?_0x1402cf(_0x497864._0x15d392,_0x497864._0x599893,_0x497864._0x5198bf,_0x497864._0x5020a0):'Search\x20failed','color':_0x115854,'paramText':_0x22e3c9};case'todo_write':return{'text':_0x3c4cab?_0x1402cf(0x4fb,0x5a5,0x4fd,_0x497864._0x1ade27):'Update\x20failed','color':_0x115854,'paramText':_0x22e3c9,'statusPosition':_0x1402cf(_0x497864._0x457b1e,0x15f,0x37f,0x353)};case _0x327f8e(_0x497864._0x16226a,_0x497864._0x107880,0x6c1,0x725):return _0x3c4cab?{'text':_0x327f8e(0x764,0x899,0x6cb,0x79a)+(typeof _0x1da85d[_0x327f8e(0x6ce,_0x497864._0x18e5a3,_0x497864._0x39d0bd,0x618)]==_0x327f8e(_0x497864._0x2f1ed2,0x8ac,0x6ec,_0x497864._0x52c39e)?_0x1da85d[_0x1402cf(_0x497864._0x5034c7,_0x497864._0x1021e9,_0x497864._0x4f80fb,0x401)]:'')[_0x327f8e(_0x497864._0x416a55,_0x497864._0x34df29,_0x497864._0x271afc,_0x497864._0x4fb30a)](/\r?\n/)['filter'](_0xc03e78=>_0xc03e78[_0x1402cf(0x1b7,0x3a8,0x24e,0x1b5)]())[_0x327f8e(0x74e,_0x497864._0x2e815a,_0x497864._0x666768,0x8e5)]+_0x327f8e(0x455,_0x497864._0x26af9d,_0x497864._0x50d062,0x2ad),'color':_0x115854,'paramText':_0x22e3c9}:{'text':_0x327f8e(_0x497864._0x502717,_0x497864._0x20906e,_0x497864._0x1e0fa7,_0x497864._0x26aec1),'color':_0x115854,'paramText':_0x22e3c9};default:return{'text':_0x3c4cab?_0x1402cf(_0x497864._0x9d95,_0x497864._0x7c0806,0x383,0x247):_0x327f8e(_0x497864._0x59ea72,_0x497864._0x34102f,0x35c,0x5b7),'color':_0x115854,'paramText':_0x22e3c9};}},_0x3ee692=()=>{const _0x13df23={_0x56bca3:0x1ad};function _0x4419bd(_0x5ec50a,_0x1eea5e,_0x5cfc14,_0x22e8e3){return _0x5e5cd(_0x22e8e3,_0x1eea5e-0x590,_0x5cfc14-0xf9,_0x22e8e3-_0x13df23._0x56bca3);}function _0x13346e(_0x362b67,_0x497319,_0x1d82f8,_0x5a62a4){return _0x5e5cd(_0x362b67,_0x5a62a4-0x3cf,_0x1d82f8-_0x560581._0x37c833,_0x5a62a4-0xf);}switch(_0x1da85d[_0x13346e(_0xb3063d._0x26e4fb,0x735,_0xb3063d._0x432f39,0x534)]){case _0x4419bd(0x84a,_0xb3063d._0x2223e5,0x5af,_0xb3063d._0x1cbf42):{let _0x139022=typeof _0x1da85d['result']==_0x13346e(0x545,_0xb3063d._0x591301,_0xb3063d._0x42ef6c,_0xb3063d._0x2d47ec)?_0x1da85d['result']:JSON[_0x13346e(0x38e,0x20d,_0xb3063d._0x50afad,_0xb3063d._0x363d36)](_0x1da85d[_0x4419bd(0x8f7,0x7f9,0x9cb,0x7fe)],null,0x2);return _0x139022=_0x139022[_0x4419bd(_0xb3063d._0x5d44c6,0x5be,0x705,0x43f)](/\\n/g,'\x0a'),_0xe7346f(Wt,{'children':_0x139022});}case'todo_write':return _0xe7346f(Hn,{'toolResult':_0x1da85d,'messageId':_0x1f5a80,'fullMode':_0x4e2b39});case _0x4419bd(0x742,_0xb3063d._0x4ebb80,_0xb3063d._0x406d3b,_0xb3063d._0x493b80):return _0xe7346f(zn,{'toolResult':_0x1da85d,'toolCall':_0x286d34,'messageId':_0x1f5a80,'fullMode':_0x4e2b39});case _0x4419bd(_0xb3063d._0x5c689a,_0xb3063d._0x2f9bac,0x833,_0xb3063d._0x54d77d):return _0xe7346f(Yn,{'toolResult':_0x1da85d,'messageId':_0x1f5a80,'messageContent':_0x25ab5a,'messageColor':_0xd27e10,'fullMode':_0x4e2b39});case _0x4419bd(0x726,_0xb3063d._0x5206ed,_0xb3063d._0x350c05,_0xb3063d._0x2be44f):return _0xe7346f(Xn,{'toolResult':_0x1da85d,'toolCall':_0x286d34,'messageId':_0x1f5a80,'messageContent':_0x25ab5a,'messageColor':_0xd27e10,'fullMode':_0x4e2b39});case'bash_tool':return _0xe7346f(ts,{'toolResult':_0x1da85d,'messageId':_0x1f5a80,'messageContent':_0x25ab5a,'messageColor':_0xd27e10,'fullMode':_0x4e2b39});default:return _0xe7346f(ns,{'toolResult':_0x1da85d,'messageId':_0x1f5a80,'messageContent':_0x25ab5a,'messageColor':_0xd27e10,'fullMode':_0x4e2b39});}},{text:_0x3de3b1,color:_0x439f9c,statusPosition:_0x3055f6=_0x5e5cd(_0xcf5a19._0x3a56f1,_0xcf5a19._0x2812f6,0x192,0x13f)}=_0x158b57(),_0x3b7080=_0x3ee692(),_0x78c0b3=_0x1da85d['result']!==null&&_0x1da85d['result']!==void 0x0&&_0x1da85d[_0x5e5cd(0x20d,_0xcf5a19._0x4ca220,_0xcf5a19._0x4b5434,_0xcf5a19._0x53415e)]!=='',_0x3f8178=(_0x78c0b3||_0x1da85d[_0x40ce39(_0xcf5a19._0x2f10ac,0xac,_0xcf5a19._0x3e49ba,0x158)]===_0x5e5cd(_0xcf5a19._0x329f3f,_0xcf5a19._0x4311df,_0xcf5a19._0x1bff84,0x5f))&&(_0x1da85d[_0x5e5cd(0xf5,_0xcf5a19._0xe7211,-0x1f,_0xcf5a19._0xdae1e0)]!==_0x40ce39(-_0xcf5a19._0x3970bd,0x87,_0xcf5a19._0x5957e0,-0x96)&&_0x1da85d[_0x5e5cd(_0xcf5a19._0x1c5dd8,0x165,0x38,0x1f8)]!==_0x5e5cd(_0xcf5a19._0x274ab9,_0xcf5a19._0x3ea6fe,0x3de,_0xcf5a19._0x1ac404)||_0x4e2b39),_0x2a96de=_0x1da85d['name']!==_0x5e5cd(-_0xcf5a19._0x259397,0x140,_0xcf5a19._0x3443d2,0x135)&&_0x1da85d['name']!=='file_new'||_0x4e2b39,_0xd389e0=_0x78c0b3||_0x1da85d[_0x40ce39(_0xcf5a19._0x1c6746,_0xcf5a19._0x654ceb,-_0xcf5a19._0x4450d5,_0xcf5a19._0x4d3d80)]===_0x5e5cd(0xe9,0x24a,_0xcf5a19._0x596ec8,0x267),_0x1e16e6=_0xd389e0&&_0x3055f6===_0x40ce39(_0xcf5a19._0x34d198,0x1f9,_0xcf5a19._0xd99f9d,_0xcf5a19._0x3f2bb5),_0x5e47c2=_0xd389e0&&_0x3055f6===_0x40ce39(0xe6,-0x70,-_0xcf5a19._0x1fa4e3,-_0xcf5a19._0x26f839),_0x4ee318=_0x2a96de&&_0x3055f6===_0x5e5cd(_0xcf5a19._0x3147a1,0x2b2,0x25f,_0xcf5a19._0x4078a2);function _0x40ce39(_0x496170,_0x2b7245,_0xd1075f,_0x54b7a0){return _0x3eba7a(_0x496170-0x56,_0x2b7245-_0x17c436._0x52ffb7,_0xd1075f,_0x2b7245- -0x9);}function _0x5e5cd(_0x5970ee,_0x44b052,_0x39ceea,_0x3a5f8a){return _0x199b7d(_0x5970ee-0x23,_0x44b052- -0x3f7,_0x39ceea-0x6e,_0x5970ee);}return _0x2480e(_0x398126,{'marginLeft':0x2,'flexDirection':'column','children':[_0x1e16e6&&_0xe7346f(_0x398126,{'flexDirection':_0x5e5cd(_0xcf5a19._0x6a6e7f,0x20b,0x316,_0xcf5a19._0x27f208),'children':_0xe7346f(_0x3a0f38,{'dimColor':!0x0,'color':_0x439f9c,'children':(_0x3f8178||_0x2a96de?'├─':'└─')+'\x20'+_0x3de3b1})}),_0x3f8178&&_0xe7346f(_0x398126,{'borderStyle':_0x5e5cd(0x18d,0x2ae,_0xcf5a19._0x44d9e8,_0xcf5a19._0x3fc914),'borderColor':_0x439f9c,'borderDimColor':!0x0,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'flexDirection':'column','paddingLeft':0x2,'width':_0x49d62d-0xa,'children':_0x3b7080}),_0x4ee318&&_0xe7346f(_0x398126,{'flexDirection':'row','children':_0x5f11e8&&(_0x1da85d[_0x40ce39(-0x37f,-_0xcf5a19._0x6edbc3,-0x1fd,-0x375)]??0x0)>0x3e8?_0xe7346f(_0x3a0f38,{'dimColor':!!_0x1da85d[_0x5e5cd(0x454,0x269,_0xcf5a19._0x9fb0ba,_0xcf5a19._0x25bec6)],'color':_0x439f9c,'children':_0x5e5cd(0xc2,0xd2,0x269,0x6)+_0x5f11e8}):_0xe7346f(_0x3a0f38,{'dimColor':!!_0x1da85d[_0x5e5cd(0x42a,_0xcf5a19._0x4ca220,0x279,_0xcf5a19._0x49bc86)],'color':_0x439f9c,'children':_0x40ce39(-_0xcf5a19._0x242e8d,_0xcf5a19._0x5c257a,0x162,0x98)})}),_0x5e47c2&&_0xe7346f(_0x398126,{'flexDirection':_0x5e5cd(_0xcf5a19._0xf67883,_0xcf5a19._0x4e6bf5,0x3b0,0x84),'children':_0xe7346f(_0x3a0f38,{'dimColor':!0x0,'color':_0x439f9c,'children':_0x40ce39(_0xcf5a19._0x357cb2,-_0xcf5a19._0x57f578,_0xcf5a19._0x177e4c,_0xcf5a19._0x23edf5)+_0x3de3b1})})]});};import{Box as _0xf0738,Text as _0x1ab071}from'ink';import{jsx as _0x7cd959,jsxs as _0x592e22}from'react/jsx-runtime';var nr=({args:_0x1ca464,statusColor:_0x4c0cd5,formatValue:_0xe24c39})=>{const _0x5c1744={_0x41126a:0x42d,_0x22a141:0x4cc,_0x5e6a5c:0x3e5,_0x43f558:0x454,_0x161805:0x6f2,_0x174449:0x593,_0x4e43b2:0x508,_0x5b83ef:0x3a1,_0xf4b6bc:0x3e9,_0x9d5825:0x615,_0x2bda35:0x7f8,_0x29ff15:0x35a,_0x3aaa3b:0x2fe,_0x2cf53c:0x323,_0x2b74aa:0x79b},_0x57ed18={_0x59ef64:0x190},_0xf7abb7={_0x25dc87:0x1ce,_0x1e6996:0x6e};let _0x30814e=Object['fromEntries'](Object[_0x55de33(0x35a,_0x5c1744._0x41126a,0x40c,_0x5c1744._0x22a141)](_0x1ca464)[_0x55de33(0x3ef,0x536,0x358,0x2fa)](([_0x2c8cab])=>_0x2c8cab!==_0x55de33(0x2b2,0x12d,0x466,0x318)&&_0x2c8cab!==_0x55de33(0x3e9,0x3ba,0x50f,0x3af)&&_0x2c8cab!==_0x55de33(0x31b,0x2d6,0x439,0x233)));function _0x55de33(_0x3f1fe8,_0x389ff4,_0x366038,_0x1cf0af){return _0x199b7d(_0x3f1fe8-_0xf7abb7._0x25dc87,_0x3f1fe8- -0x145,_0x366038-_0xf7abb7._0x1e6996,_0x389ff4);}function _0x427936(_0x91d7e5,_0x1724d2,_0x18d63a,_0x1831cf){return _0x199b7d(_0x91d7e5-0x88,_0x91d7e5- -0x80,_0x18d63a-_0x57ed18._0x59ef64,_0x18d63a);}return Object[_0x427936(0x600,0x44f,0x40c,0x764)](_0x30814e)[_0x55de33(0x59b,_0x5c1744._0x5e6a5c,_0x5c1744._0x43f558,_0x5c1744._0x161805)]===0x0?null:_0x7cd959(_0xf0738,{'flexDirection':_0x427936(_0x5c1744._0x174449,_0x5c1744._0x4e43b2,_0x5c1744._0x5b83ef,_0x5c1744._0xf4b6bc),'marginLeft':0x2,'borderStyle':_0x427936(0x625,_0x5c1744._0x9d5825,_0x5c1744._0x2bda35,0x781),'borderDimColor':!0x0,'borderColor':_0x4c0cd5,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'children':Object[_0x55de33(_0x5c1744._0x29ff15,0x4d7,_0x5c1744._0x3aaa3b,_0x5c1744._0x2cf53c)](_0x30814e)[_0x427936(0x65c,0x706,0x804,_0x5c1744._0x2b74aa)](([_0x4416e5,_0x3709c9])=>_0x592e22(_0xf0738,{'flexDirection':'row','children':[_0x592e22(_0x1ab071,{'dimColor':!0x0,'children':[_0x4416e5,':\x20']}),_0x7cd959(_0x1ab071,{'dimColor':!0x0,'children':_0xe24c39(_0x3709c9)})]},_0x4416e5))});};import{Box as _0x2980c5,Text as _0x41b32e}from'ink';import{jsx as _0x8c554c,jsxs as _0x4be3c4}from'react/jsx-runtime';var sr=({args:_0x5dc4ac,statusColor:_0x141ac7,formatValue:_0x22193f})=>{const _0x6908c3={_0x3da985:0x2f2,_0xb928ad:0x4c6,_0x2800b8:0x7c5,_0x4ba1a6:0x7ec,_0x55cd58:0x61f},_0x494408={_0x3a2fa4:0x46,_0x102ade:0x21a,_0x159e40:0xde},_0x5dbd05={_0x45a856:0xe9};function _0x129531(_0x370938,_0x59a1b6,_0x11fd6,_0x35bf0e){return _0x199b7d(_0x370938-0x171,_0x11fd6-0x1fc,_0x11fd6-_0x5dbd05._0x45a856,_0x35bf0e);}function _0x549114(_0x3a8cb0,_0x13752d,_0xcc556b,_0x55e613){return _0x199b7d(_0x3a8cb0-_0x494408._0x3a2fa4,_0xcc556b- -_0x494408._0x102ade,_0xcc556b-_0x494408._0x159e40,_0x55e613);}let {content:_0x16812a,description:_0x1b7345,..._0x3fc06a}=_0x5dc4ac;return Object[_0x549114(0x3e4,0x367,0x466,0x44f)](_0x3fc06a)[_0x549114(0x4e7,_0x6908c3._0x3da985,_0x6908c3._0xb928ad,0x52b)]===0x0?null:_0x8c554c(_0x2980c5,{'flexDirection':_0x129531(_0x6908c3._0x2800b8,_0x6908c3._0x4ba1a6,0x80f,_0x6908c3._0x55cd58),'marginLeft':0x2,'borderStyle':'single','borderDimColor':!0x0,'borderColor':_0x141ac7,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'children':Object[_0x129531(0x679,0x71f,0x69b,0x61e)](_0x3fc06a)['map'](([_0x455207,_0x2b7a84])=>_0x4be3c4(_0x2980c5,{'flexDirection':'row','children':[_0x4be3c4(_0x41b32e,{'dimColor':!0x0,'children':[_0x455207,':\x20']}),_0x8c554c(_0x41b32e,{'dimColor':!0x0,'children':_0x22193f(_0x2b7a84)})]},_0x455207))});};import{Box as _0x2e9126,Text as _0x777bcc}from'ink';import{jsx as _0x39f520}from'react/jsx-runtime';var ar=({args:_0x9a38ac,statusColor:_0x535cef,formatValue:_0x832460})=>{const _0x582012={_0x131003:0x7ea,_0x48ea41:0x8c1,_0x324621:0x69c,_0x678d72:0x75f,_0x485f0f:0x6a6,_0x444c38:0x8c5},_0x3fc8ce={_0x3c6e22:0x172};let [_0x16a44a]=O();function _0x5ac4b0(_0x2e0155,_0x33381f,_0x2800ab,_0x20ce18){return _0x199b7d(_0x2e0155-0x147,_0x20ce18-_0x3fc8ce._0x3c6e22,_0x2800ab-0x14a,_0x33381f);}function _0x303276(_0xba8246,_0x27b67a,_0x47da61,_0x4a7c3e){return _0x199b7d(_0xba8246-0x18a,_0x47da61-0x97,_0x47da61-0x16e,_0x27b67a);}return Object['keys'](_0x9a38ac)['length']===0x0?null:_0x39f520(_0x2e9126,{'flexDirection':_0x5ac4b0(_0x582012._0x131003,_0x582012._0x48ea41,_0x582012._0x324621,0x785),'marginLeft':0x2,'borderStyle':_0x5ac4b0(0x791,0x939,_0x582012._0x678d72,0x817),'borderColor':_0x535cef,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'width':_0x16a44a-0xa,'borderDimColor':!0x0,'children':Object['entries'](_0x9a38ac)[_0x5ac4b0(0x520,0x58f,0x7be,_0x582012._0x485f0f)](([_0x560aa2])=>_0x560aa2!==_0x303276(0x505,0x5de,0x4f7,0x563))[_0x303276(0x69e,0x682,0x773,_0x582012._0x444c38)](([_0x2c8e20,_0x144302])=>_0x39f520(_0x2e9126,{'flexDirection':_0x303276(0x4ea,0x787,0x699,0x4c4),'children':_0x39f520(_0x777bcc,{'dimColor':!0x0,'children':_0x2c8e20+':\x20'+_0x832460(_0x144302)})},_0x2c8e20))});};import{Box as _0x58aea3,Text as _0xed67ee}from'ink';import{jsx as _0x4211c5,jsxs as _0x489286}from'react/jsx-runtime';var lr=({args:_0x141bbc,statusColor:_0x139579,formatValue:_0x400ed0})=>{const _0x15db7a={_0x5ac316:0x66,_0x4805c8:0x2c5,_0x6a25f4:0x3,_0x4a29ab:0x1a,_0x4494a1:0x237,_0x9e297e:0x169,_0x20c903:0x8c,_0x38bec3:0xbc,_0x3ef2c8:0x223,_0xff8738:0x55,_0x18633b:0x76,_0x132358:0x1a3,_0x44da35:0x115,_0x1132b8:0x53,_0x439026:0x86,_0x1c84fb:0x118},_0x4d444c={_0x49ae86:0x2d,_0x3bab16:0x117},_0x151e6d={_0x16643b:0xc7,_0x1979a4:0x5c4};function _0x451a4e(_0x1df8cb,_0x5a6b7b,_0x3ac09d,_0x2745ba){return _0x199b7d(_0x1df8cb-_0x151e6d._0x16643b,_0x2745ba- -_0x151e6d._0x1979a4,_0x3ac09d-0x18,_0x3ac09d);}function _0x60347e(_0xa1bfae,_0xfb28ec,_0x390bd3,_0x1539c9){return _0x3eba7a(_0xa1bfae-_0x4d444c._0x49ae86,_0xfb28ec-0x31,_0x1539c9,_0xfb28ec- -_0x4d444c._0x3bab16);}let _0x48a196=Object[_0x451a4e(0x3f,_0x15db7a._0x5ac316,-0x45,-0x7a)](Object[_0x451a4e(-0x13,-_0x15db7a._0x4805c8,_0x15db7a._0x6a25f4,-0x125)](_0x141bbc)[_0x451a4e(_0x15db7a._0x4a29ab,-_0x15db7a._0x4494a1,-_0x15db7a._0x9e297e,-0x90)](([_0x396ec8])=>_0x396ec8!=='description'));return Object[_0x451a4e(-_0x15db7a._0x20c903,0x1c9,-0xf6,_0x15db7a._0x38bec3)](_0x48a196)[_0x451a4e(_0x15db7a._0x3ef2c8,0x220,0x111,0x11c)]===0x0?null:_0x4211c5(_0x58aea3,{'flexDirection':_0x60347e(0xe,_0x15db7a._0xff8738,0x247,-_0x15db7a._0x18633b),'marginLeft':0x2,'borderStyle':_0x451a4e(_0x15db7a._0x132358,0x2aa,-0x41,0xe1),'borderDimColor':!0x0,'borderColor':_0x139579,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'children':Object[_0x451a4e(-_0x15db7a._0x44da35,-0x1d6,-_0x15db7a._0x1132b8,-0x125)](_0x48a196)[_0x451a4e(-_0x15db7a._0x439026,-0x1b,0x23c,_0x15db7a._0x1c84fb)](([_0x28db25,_0x3d1e74])=>_0x489286(_0x58aea3,{'flexDirection':_0x60347e(0x39,0x44,0x85,0x12d),'children':[_0x489286(_0xed67ee,{'dimColor':!0x0,'children':[_0x28db25,':\x20']}),_0x4211c5(_0xed67ee,{'dimColor':!0x0,'children':_0x400ed0(_0x3d1e74)})]},_0x28db25))});};import{useState as _0x2b783f,useEffect as _0x1479c8}from'react';import{Text as _0x36a1c6}from'ink';import{jsxs as _0x5b8343}from'react/jsx-runtime';var Jt=({hasResult:_0x46abf5,finalDuration:_0x2a1997})=>{const _0xdb0045={_0x127fb2:0x2c3};let [_0x105dd5,_0x2fd31d]=_0x2b783f(0x0);_0x1479c8(()=>{const _0xfd7c91={_0x1d319e:0xd2};if(_0x46abf5)return;let _0x550271=Date['now'](),_0x280737=setInterval(()=>{function _0x370eed(_0x5def87,_0x726029,_0x44ff34,_0x5e8296){return _0x58a4(_0x44ff34- -_0xfd7c91._0x1d319e,_0x5e8296);}_0x2fd31d(Date[_0x370eed(0x2db,0x1ec,0x381,_0xdb0045._0x127fb2)]()-_0x550271);},0x3e8);return()=>clearInterval(_0x280737);},[_0x46abf5]);let _0x13b6bf=((_0x46abf5&&_0x2a1997!==void 0x0?_0x2a1997:_0x105dd5)/0x3e8)['toFixed'](0x0);return _0x105dd5>0x0?_0x5b8343(_0x36a1c6,{'dimColor':!0x0,'children':[_0x13b6bf,'s']}):null;};import{jsx as _0x197adf,jsxs as _0x334e5c}from'react/jsx-runtime';var cr=({toolCall:_0x5aa3b5,toolResult:_0x1b9237,messageId:_0x2be5c6})=>{const _0x1da6a0={_0xeab6a9:0x355,_0x1a1675:0x22c,_0x26bc8b:0x417,_0x35faa7:0x399,_0x377caf:0x1ff,_0x3ec3d3:0x271,_0x1c2cd4:0x2a6,_0x359ff2:0x37b,_0x39e46e:0x19b,_0x15b8e0:0x2f2,_0x4d7c0b:0x13b,_0x4ebe88:0x33f,_0x201a6c:0x2c,_0x4aeec7:0xaf,_0x5494da:0x107,_0x31d02a:0x1e,_0x5db7f4:0xc6,_0x1f3cba:0x284,_0x21e3a7:0x1,_0x32be44:0x19f,_0x39c522:0x61a,_0x13c8a1:0x3fd,_0x1e4c94:0x4f8,_0x1f326b:0x3cc,_0x179546:0x481,_0x24bfa4:0x3fa,_0x6b3f9e:0x7f,_0x44cf30:0x48,_0x270d9b:0xf5,_0x3297cf:0x154,_0x539341:0x3ba,_0xb7834f:0x3a4,_0x183cf1:0x3f4,_0x1c3c23:0x20d,_0x76d4c6:0x3a8,_0x4a46fe:0x30c,_0x5f0d59:0x11a,_0x3b5442:0x1f2,_0x474dbf:0x42c,_0x4f304d:0x44c,_0xd26745:0x308,_0x3bc0e1:0x140,_0x11840f:0x24d,_0x33ba5f:0x2c4,_0x470566:0x105,_0x2c6de7:0x16f,_0x5f45a8:0x455,_0x191037:0x583,_0x4052fd:0x1b4},_0xc08147={_0x12aae6:0x702,_0x464d4f:0x4a4,_0x1d0ee8:0x14b,_0x3189bb:0x31d,_0x291917:0x20e,_0x4cac49:0x16a,_0x2bf34e:0x201,_0x4286e5:0xcf},_0x3070f1={_0x416aa7:0x330,_0x54fa81:0x1d8,_0x50c8d4:0x1e8,_0x4bf8c3:0x124,_0x5de6a7:0x11b,_0x5ee1b7:0x246,_0x251ef4:0xe1,_0x4cb171:0x1c2,_0x5c927c:0x108,_0x539e13:0xdf,_0x34d47a:0xec,_0x4fae13:0x151,_0x5f19a5:0x118,_0x519d99:0x2cb},_0x30231a={_0x4cd392:0x2e},_0x44def8={_0x253bdd:0x14e};function _0x35eb53(_0x2f707e,_0x5921d4,_0x342a49,_0x2de11c){return _0x3eba7a(_0x2f707e-0x110,_0x5921d4-0x119,_0x2f707e,_0x5921d4-_0x44def8._0x253bdd);}function _0x3d6cde(_0x357374,_0x562e62,_0x32133f,_0x22f089){return _0x199b7d(_0x357374-_0x30231a._0x4cd392,_0x22f089- -0xe5,_0x32133f-0xbc,_0x357374);}let {theme:_0x3ed34b}=D(),{explainMode:_0x600862}=ke(),_0x341ef8=_0x331fff=>{const _0x11df2e={_0x105f76:0x3a3},_0x2d2768={_0x21778d:0x1d8};function _0x2e91e0(_0xccb50a,_0x494c0c,_0x3dfbc8,_0x213352){return _0x58a4(_0x213352- -_0x2d2768._0x21778d,_0x494c0c);}function _0x7e5b4(_0x3dd8c4,_0x7f0fd1,_0x4f7295,_0x5e551f){return _0x58a4(_0x7f0fd1- -_0x11df2e._0x105f76,_0x4f7295);}try{return typeof _0x331fff[_0x2e91e0(_0x3070f1._0x416aa7,0x36,_0x3070f1._0x54fa81,_0x3070f1._0x50c8d4)][_0x7e5b4(_0x3070f1._0x4bf8c3,0xec,_0x3070f1._0x5de6a7,_0x3070f1._0x5ee1b7)]==_0x7e5b4(-0x115,0xbe,-_0x3070f1._0x251ef4,0xd8)?JSON[_0x2e91e0(_0x3070f1._0x4cb171,0x97,0x100,0x3e)](_0x331fff[_0x7e5b4(-0x175,0x1d,-_0x3070f1._0x5c927c,_0x3070f1._0x539e13)][_0x7e5b4(0x14,_0x3070f1._0x34d47a,_0x3070f1._0x4fae13,0x246)]):_0x331fff[_0x2e91e0(0x2fa,0x33f,_0x3070f1._0x5f19a5,0x1e8)][_0x2e91e0(0x298,_0x3070f1._0x519d99,0xe0,0x2b7)]||{};}catch{return{};}},_0x209366=_0x4beced=>typeof _0x4beced==_0x3d6cde(0x588,0x496,0x40d,0x566)?_0x4beced:typeof _0x4beced==_0x3d6cde(0x5ca,0x303,0x5d9,0x450)&&_0x4beced!==null?JSON[_0x35eb53(-0xa,0x91,0xf5,-0x73)](_0x4beced,null,0x0):String(_0x4beced),_0x1cbb29=_0x341ef8(_0x5aa3b5),_0x5b5c9d=_0x1b9237?.['metadata']?.[_0x35eb53(0x444,0x34d,0x1c8,0x29a)],_0x1a2fd5=_0x1b9237?.[_0x35eb53(_0x1da6a0._0xeab6a9,_0x1da6a0._0x1a1675,_0x1da6a0._0x26bc8b,_0x1da6a0._0x35faa7)]?.['toolResult'],_0x4fe04b=!!_0x1a2fd5,_0x488bc3=_0x3d4b1a=>({'file_read':'Read\x20file','file_edit':_0x35eb53(-0x76,0x4b,0x21,0x144),'file_new':_0x3d6cde(0x585,0x65d,0x5bf,0x596),'bash_tool':_0x35eb53(0x43d,0x2a6,0x273,0x10e),'web_search':_0x35eb53(0x228,0x22f,0x198,0x2cb),'web_fetch':'Fetch\x20page','dir_ls':_0x3d6cde(0x3f5,0x5bc,0x4ef,0x5d0),'todo_write':_0x3d6cde(0x332,0x32c,0x104,0x25f),'assign_task':'Delegate\x20task'}[_0x3d4b1a]||_0x3d4b1a),_0x519532=_0x5aa3b5['function'][_0x35eb53(_0x1da6a0._0x377caf,0x203,_0x1da6a0._0x3ec3d3,0x38a)],_0x148c24=_0x1cbb29[_0x3d6cde(_0x1da6a0._0x1c2cd4,0x2d5,0x50a,_0x1da6a0._0x359ff2)]&&typeof _0x1cbb29['description']==_0x35eb53(_0x1da6a0._0x39e46e,_0x1da6a0._0x15b8e0,_0x1da6a0._0x4d7c0b,_0x1da6a0._0x4ebe88)&&_0x1cbb29['description'][_0x35eb53(0xd7,-_0x1da6a0._0x201a6c,-_0x1da6a0._0x4aeec7,0x9d)]()?_0x1cbb29[_0x35eb53(0xfc,_0x1da6a0._0x5494da,-_0x1da6a0._0x31d02a,-_0x1da6a0._0x5db7f4)]:_0x488bc3(_0x519532),_0x2c0a24=()=>{const _0x1186f8={_0x5263ea:0x86,_0x471160:0x1fc},_0x46b404={_0x1c3439:0xca,_0x5bb280:0x12};function _0x2b04a4(_0x33410d,_0x2e3c66,_0x2cba2f,_0x512d1e){return _0x3d6cde(_0x2cba2f,_0x2e3c66-_0x46b404._0x1c3439,_0x2cba2f-_0x46b404._0x5bb280,_0x512d1e- -0x301);}function _0x4a90dd(_0x2a3549,_0x1c2338,_0x292ddc,_0xd03c5){return _0x3d6cde(_0xd03c5,_0x1c2338-0x10e,_0x292ddc-_0x1186f8._0x5263ea,_0x292ddc-_0x1186f8._0x471160);}switch(_0x519532){case _0x4a90dd(0x5f0,_0xc08147._0x12aae6,0x511,_0xc08147._0x464d4f):return nr;case'file_new':return sr;case _0x2b04a4(_0xc08147._0x1d0ee8,0x294,_0xc08147._0x3189bb,_0xc08147._0x291917):return lr;case _0x2b04a4(_0xc08147._0x4cac49,_0xc08147._0x2bf34e,_0xc08147._0x4286e5,0x25b):return()=>null;default:return ar;}},_0x34d8dd=_0x1a2fd5?.[_0x35eb53(_0x1da6a0._0x1f3cba,0x284,0x3cc,0x399)]===_0x35eb53(0x114,0x14d,_0x1da6a0._0x21e3a7,_0x1da6a0._0x32be44)?_0x3ed34b[_0x3d6cde(_0x1da6a0._0x39c522,0x532,0x453,0x4f8)]['success']:_0x1a2fd5?.[_0x3d6cde(0x646,_0x1da6a0._0x13c8a1,0x543,_0x1da6a0._0x1e4c94)]===_0x3d6cde(_0x1da6a0._0x4aeec7,0x2a2,0x427,_0x1da6a0._0x1a1675)?_0x3ed34b[_0x3d6cde(_0x1da6a0._0x1f326b,_0x1da6a0._0x179546,_0x1da6a0._0x24bfa4,0x4f8)][_0x35eb53(-_0x1da6a0._0x6b3f9e,-_0x1da6a0._0x44cf30,-0x3b,0x142)]:_0x3ed34b[_0x35eb53(_0x1da6a0._0x270d9b,0x284,_0x1da6a0._0x3297cf,_0x1da6a0._0x539341)][_0x3d6cde(_0x1da6a0._0xb7834f,0x3a0,0x3f6,0x487)];return _0x334e5c(_0x5b0474,{'flexDirection':_0x35eb53(_0x1da6a0._0x183cf1,0x2ba,_0x1da6a0._0x1c3c23,_0x1da6a0._0x76d4c6),'children':[_0x334e5c(_0x5b0474,{'flexDirection':'row','children':[_0x197adf(_0x5b0474,{'flexShrink':0x0,'marginRight':0x1,'children':_0x197adf(_0x14e5a3,{'color':_0x3ed34b[_0x35eb53(_0x1da6a0._0x4a46fe,_0x1da6a0._0x5f0d59,0x13,_0x1da6a0._0x3b5442)][_0x3d6cde(0x363,0x2a7,_0x1da6a0._0x474dbf,_0x1da6a0._0x4f304d)],'bold':!0x0,'children':'»'})}),_0x197adf(_0x14e5a3,{'bold':!0x0,'children':_0x148c24})]}),((()=>{let _0x4b73e4=_0x2c0a24();return _0x197adf(_0x4b73e4,{'toolCall':_0x5aa3b5,'args':_0x1cbb29,'statusColor':_0x34d8dd,'formatValue':_0x209366});})()),!_0x4fe04b&&_0x334e5c(_0x5b0474,{'flexDirection':'row','marginLeft':0x2,'children':[_0x334e5c(_0x14e5a3,{'dimColor':!0x0,'color':_0x34d8dd,'children':['└─','\x20']}),_0x197adf(_0x14e5a3,{'children':'Running\x20...'}),_0x5aa3b5?.[_0x35eb53(0x242,0x251,0x2d4,_0x1da6a0._0xd26745)]?.[_0x35eb53(_0x1da6a0._0x3bc0e1,0x203,_0x1da6a0._0x11840f,_0x1da6a0._0x33ba5f)]===_0x35eb53(_0x1da6a0._0x470566,0x58,-0x4a,_0x1da6a0._0x2c6de7)&&_0x197adf(_0x5b0474,{'marginLeft':0x1,'children':_0x197adf(Jt,{'hasResult':_0x4fe04b,'finalDuration':_0x5b5c9d})})]}),_0x4fe04b&&_0x1a2fd5?_0x197adf(qt,{'toolResult':_0x1a2fd5,'toolCall':_0x5aa3b5,'messageId':_0x2be5c6+_0x3d6cde(0x436,0x434,_0x1da6a0._0x5f45a8,_0x1da6a0._0x191037)+_0x5aa3b5['id'],'messageContent':_0x1b9237?.[_0x35eb53(0x2c2,0x3a0,0x21d,_0x1da6a0._0x4052fd)]||'','fullMode':_0x600862}):null]});};import{Box as _0x30d873,Text as _0x20bf6f}from'ink';import{jsx as _0x5d033b,jsxs as _0x4bb757}from'react/jsx-runtime';var xs=({toolCall:_0x318f83,subAgentState:_0x2a4fbb,toolResult:_0x5d731f,messageId:_0x4c917a})=>{const _0x5d0aa9={_0x3c212d:0x633,_0x2f441e:0x798,_0x500830:0x56f,_0xb3100b:0x605,_0x176330:0x42e,_0x527add:0x3b5,_0x2913fe:0x7b0,_0x293e3b:0x666,_0xf3cd27:0x55f,_0x2386ea:0x61e,_0x409e49:0x643,_0x487fb4:0x48d,_0x5102a7:0x52d,_0x2e22db:0x463,_0x531036:0x441,_0x450dd0:0x60d,_0x342e32:0x6e7,_0x57bf30:0x3bd,_0x1ec7ea:0x53a,_0x2315de:0x625,_0x1c3f5c:0x757,_0x229c63:0x356,_0x2068b2:0x5f1,_0x33cd72:0x226,_0x2ebe93:0x21a,_0x197b54:0x485,_0x15c255:0x4b4,_0x102349:0x628,_0x58e715:0x32e,_0x4c0b1c:0x2d1,_0x3ac6e9:0x43b,_0xf64408:0x3da,_0x54a99a:0x592,_0x4f57e8:0x460,_0x2e7008:0xeb,_0x5eede1:0x23d,_0x3f6e04:0x40c,_0x15ca82:0x5cd,_0x4b1ca0:0x60e,_0x215c6:0x42d,_0x1ceb94:0x42b,_0x547748:0x492,_0x309f02:0x559,_0x2285f6:0x65d,_0x520b6c:0x65a,_0x6793cc:0x474,_0x3158e6:0x712,_0x1f483f:0x127,_0x25de11:0x22a,_0x2e7529:0x758,_0x38b712:0x4c8,_0x1a9479:0x5b7,_0x452efa:0x5fc,_0x815916:0x658,_0x459afe:0x6d9,_0x4e98d8:0x54f,_0x26f2af:0x5cd,_0x33e637:0x3d3,_0x2b0129:0x6a9,_0x239e90:0x4ac,_0x26cafd:0x37a,_0xe95dd4:0x514,_0x2b8d09:0x4c4,_0x4510d2:0x310,_0x5e79ec:0x275,_0xb32aeb:0x563,_0x284cb2:0x763,_0x3030f3:0x86a,_0x481adc:0x565},_0x1c75fa={_0x496e81:0x6a5,_0x5e32f7:0x6c4,_0x5bc902:0x6d7,_0x2c8f69:0x4f4,_0x483024:0x696,_0xd527f:0x4ea,_0xf0e556:0x604,_0xb25c75:0x564,_0x134ef6:0x4f5,_0x57d69c:0x6c4,_0x39d650:0x628,_0x3374f6:0x4ab,_0x23b637:0x4a4,_0x2875d0:0x4bb,_0x156a06:0x36c,_0x12cf6b:0x572,_0x57c50a:0x5b9,_0x2521e1:0x59e,_0x266cdb:0x483,_0x178f35:0x429,_0x5bb8be:0x366,_0x5cc3e2:0x5b1,_0x31da77:0x66e,_0x295941:0x5cb,_0x54e19a:0x471,_0x113ea6:0x419,_0x56f8e3:0x346,_0x1b2936:0x330,_0x37d593:0x5c6,_0x33e6de:0x59c,_0x4cb9c5:0x602,_0xd434ff:0x696,_0x3dcc0d:0x88e,_0xb5cbe:0x620,_0x2723e8:0x8c9,_0x19ec3e:0x7e9,_0x17b92c:0x7a1,_0x1f88a9:0x4ad,_0x20b3a9:0x742,_0x1458a0:0x2e4,_0x2e8f8c:0x580,_0x459d4c:0x4d5,_0x55108a:0x59b,_0x4cf40c:0x3ec,_0x1c42f3:0x615,_0x58e22c:0x424,_0x1de9df:0x597,_0x40bf7d:0x6eb,_0x13e9ea:0x675,_0x107973:0x4ab,_0x4fb4bc:0x478,_0x10abd6:0x64c,_0xe17205:0x7d9,_0x2fdaf8:0x303,_0x1f3eeb:0x35c,_0x5ce269:0x3ef,_0x2e4385:0x520,_0x395534:0x64d,_0x325b34:0x60d,_0x5ab02d:0x748,_0x59969c:0x4f3,_0x2aca25:0x377,_0x3454aa:0x302},_0x573729={_0xc9f471:0x91,_0x110141:0x65},_0xe23a33={_0x1ed379:0x31,_0x41b853:0x4b,_0x465999:0x32};function _0x265f3a(_0x35bf6d,_0x575e17,_0x35fecd,_0x501076){return _0x199b7d(_0x35bf6d-_0xe23a33._0x1ed379,_0x35fecd- -_0xe23a33._0x41b853,_0x35fecd-_0xe23a33._0x465999,_0x35bf6d);}let [_0x51b60a]=O(),{theme:_0x4432dc}=D(),{explainMode:_0x737eb7}=ke(),_0x12ca2c=typeof _0x318f83['function'][_0x31ce13(_0x5d0aa9._0x3c212d,0x471,_0x5d0aa9._0x2f441e,_0x5d0aa9._0x500830)]==_0x31ce13(_0x5d0aa9._0xb3100b,_0x5d0aa9._0x176330,0x5b3,0x4f8)?JSON[_0x265f3a(0x33d,0x2ab,_0x5d0aa9._0x527add,0x45f)](_0x318f83['function'][_0x265f3a(0x4f4,_0x5d0aa9._0x2913fe,0x62e,0x509)]):_0x318f83[_0x265f3a(0x471,_0x5d0aa9._0x293e3b,_0x5d0aa9._0xf3cd27,0x4c8)][_0x265f3a(_0x5d0aa9._0x2386ea,_0x5d0aa9._0x409e49,0x62e,_0x5d0aa9._0x487fb4)],_0x3b9516=_0x12ca2c[_0x31ce13(0x5c4,0x761,_0x5d0aa9._0x5102a7,0x3ff)]||_0x31ce13(0x4bb,_0x5d0aa9._0x2e22db,_0x5d0aa9._0x531036,0x450),_0x4300c6=_0x12ca2c['task']||'',_0x2db833=_0x2a4fbb[_0x265f3a(_0x5d0aa9._0x450dd0,0x4bb,0x592,_0x5d0aa9._0x342e32)]===_0x265f3a(0x55e,0x323,_0x5d0aa9._0x57bf30,0x464),_0x39e7bd=_0x5d731f?.[_0x265f3a(0x613,0x71a,_0x5d0aa9._0x1ec7ea,0x65f)]?.[_0x31ce13(_0x5d0aa9._0x2315de,0x824,0x608,_0x5d0aa9._0x1c3f5c)],_0x3dc3c1=_0x4432dc[_0x31ce13(0x547,_0x5d0aa9._0x229c63,0x68a,_0x5d0aa9._0x2068b2)][_0x31ce13(0x36e,_0x5d0aa9._0x33cd72,_0x5d0aa9._0x2ebe93,_0x5d0aa9._0x197b54)];_0x2db833&&_0x2a4fbb[_0x265f3a(_0x5d0aa9._0x15c255,_0x5d0aa9._0x102349,0x488,0x515)]===_0x31ce13(0x460,_0x5d0aa9._0x58e715,_0x5d0aa9._0x4c0b1c,_0x5d0aa9._0x3ac6e9)?_0x3dc3c1=_0x4432dc[_0x265f3a(0x689,_0x5d0aa9._0xf64408,_0x5d0aa9._0x54a99a,0x5d5)][_0x31ce13(_0x5d0aa9._0x4f57e8,0x523,0x2fa,0x564)]:_0x2db833&&_0x2a4fbb[_0x265f3a(0x3e9,0x446,0x488,0x4ec)]===_0x265f3a(_0x5d0aa9._0x2e7008,_0x5d0aa9._0x5eede1,0x2c6,_0x5d0aa9._0x3f6e04)&&(_0x3dc3c1=_0x4432dc['status']['error']);let _0x55b162=_0x3d0704=>_0x3d0704[_0x265f3a(0x493,0x4ac,0x5fd,0x57e)]('-')['map'](_0x68cf8a=>_0x68cf8a['charAt'](0x0)[_0x265f3a(0x4da,0x1f7,0x34e,0x4a4)]()+_0x68cf8a['slice'](0x1))[_0x265f3a(0x394,0x21c,0x3ad,0x331)]('\x20');function _0x31ce13(_0x5bb157,_0x338a0b,_0x4daa44,_0x5c02b6){return _0x3eba7a(_0x5bb157-0x17,_0x338a0b-0x24,_0x338a0b,_0x5bb157-0x461);}return _0x4bb757(_0x30d873,{'flexDirection':_0x31ce13(_0x5d0aa9._0x15ca82,0x682,_0x5d0aa9._0x4b1ca0,0x4b4),'marginTop':0x1,'children':[_0x4bb757(_0x30d873,{'flexDirection':'row','children':[_0x5d033b(_0x30d873,{'flexShrink':0x0,'marginRight':0x1,'children':_0x5d033b(_0x20bf6f,{'color':_0x4432dc[_0x31ce13(_0x5d0aa9._0x215c6,_0x5d0aa9._0x1ceb94,_0x5d0aa9._0x547748,_0x5d0aa9._0xb3100b)]['tool'],'bold':!0x0,'children':'»'})}),_0x5d033b(_0x20bf6f,{'children':_0x55b162(_0x3b9516)})]}),_0x4bb757(_0x30d873,{'flexDirection':_0x31ce13(0x5cd,_0x5d0aa9._0x309f02,0x3d0,0x543),'marginLeft':0x2,'children':[_0x5d033b(_0x30d873,{'borderStyle':_0x265f3a(0x495,_0x5d0aa9._0x2285f6,_0x5d0aa9._0x520b6c,0x4e6),'borderDimColor':!0x0,'borderColor':_0x3dc3c1,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'children':_0x4300c6?_0x4bb757(_0x20bf6f,{'dimColor':!0x0,'children':[_0x31ce13(0x55b,_0x5d0aa9._0x6793cc,0x741,0x4f8),_0x4300c6[_0x265f3a(0x6b9,0x75e,0x695,_0x5d0aa9._0x3158e6)]>0x3c?_0x4300c6[_0x265f3a(_0x5d0aa9._0x1f483f,0x3c5,0x309,_0x5d0aa9._0x25de11)](0x0,_0x51b60a-0xf)+'...':_0x4300c6,'\x22']}):null}),_0x4bb757(_0x30d873,{'flexDirection':_0x265f3a(_0x5d0aa9._0x2e7529,_0x5d0aa9._0x38b712,_0x5d0aa9._0x1a9479,_0x5d0aa9._0x452efa),'children':[_0x4bb757(_0x20bf6f,{'dimColor':!0x0,'color':_0x3dc3c1,'children':['├─','\x20']}),_0x5d033b(_0x20bf6f,{'children':_0x31ce13(_0x5d0aa9._0x815916,_0x5d0aa9._0x459afe,0x6d0,_0x5d0aa9._0x4e98d8)})]}),_0x5d033b(_0x30d873,{'flexDirection':_0x31ce13(_0x5d0aa9._0x26f2af,_0x5d0aa9._0x33e637,_0x5d0aa9._0x2b0129,0x6ec),'borderStyle':_0x31ce13(0x65f,0x679,0x6e9,_0x5d0aa9._0x239e90),'borderDimColor':!0x0,'borderColor':_0x3dc3c1,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'children':_0x2a4fbb[_0x31ce13(_0x5d0aa9._0x26cafd,0x1aa,_0x5d0aa9._0xe95dd4,0x2b6)]['map'](_0xfb69f9=>{const _0x426ef8={_0x1834d3:0x160};let _0x2641c9='';function _0x518fc7(_0x5e2a0b,_0x8b2e22,_0x12bb7e,_0x1d87de){return _0x31ce13(_0x5e2a0b-0xa1,_0x1d87de,_0x12bb7e-0x1f3,_0x1d87de-_0x426ef8._0x1834d3);}if(_0xfb69f9[_0x395128(0x5bd,_0x1c75fa._0x496e81,_0x1c75fa._0x5e32f7,0x837)])try{let _0x485494=typeof _0xfb69f9[_0x395128(_0x1c75fa._0x5bc902,0x75b,0x6c4,_0x1c75fa._0x2c8f69)]==_0x395128(0x4db,0x665,_0x1c75fa._0x483024,0x85f)?JSON[_0x395128(_0x1c75fa._0xd527f,_0x1c75fa._0xf0e556,0x44b,0x544)](_0xfb69f9[_0x395128(_0x1c75fa._0xb25c75,_0x1c75fa._0x134ef6,_0x1c75fa._0x57d69c,_0x1c75fa._0x39d650)]):_0xfb69f9['arguments'],_0x534df3;if(_0x485494[_0x395128(0x316,0x36e,_0x1c75fa._0x3374f6,_0x1c75fa._0x23b637)])_0x534df3=_0x485494[_0x518fc7(_0x1c75fa._0x2875d0,0x402,0x373,0x31a)];else{if(_0x485494[_0x395128(0x676,0x496,0x56e,0x6a9)])_0x534df3=_0x485494[_0x395128(_0x1c75fa._0x156a06,_0x1c75fa._0x12cf6b,0x56e,_0x1c75fa._0x57c50a)];else{if(_0x485494[_0x395128(0x4a1,_0x1c75fa._0x2521e1,_0x1c75fa._0x266cdb,0x336)]||_0x485494[_0x518fc7(_0x1c75fa._0x178f35,0x2a9,0x427,_0x1c75fa._0x5bb8be)])_0x534df3=_0x485494[_0x395128(0x662,_0x1c75fa._0x5cc3e2,0x483,_0x1c75fa._0x31da77)]||_0x485494[_0x395128(_0x1c75fa._0x295941,_0x1c75fa._0x54e19a,_0x1c75fa._0x113ea6,_0x1c75fa._0x56f8e3)];else{if(_0x485494['pattern'])_0x534df3=_0x518fc7(0x4aa,0x66a,_0x1c75fa._0x1b2936,_0x1c75fa._0x37d593)+_0x485494['pattern'];else{let _0x599e05=Object['keys'](_0x485494);for(let _0x13f649 of _0x599e05)if(typeof _0x485494[_0x13f649]==_0x395128(_0x1c75fa._0x33e6de,_0x1c75fa._0x4cb9c5,_0x1c75fa._0xd434ff,_0x1c75fa._0x3dcc0d)&&_0x485494[_0x13f649][_0x518fc7(0x73b,_0x1c75fa._0xb5cbe,_0x1c75fa._0x2723e8,_0x1c75fa._0x19ec3e)]>0x0&&_0x13f649!==_0x395128(_0x1c75fa._0x17b92c,0x868,0x6c8,0x7f9)){_0x534df3=_0x485494[_0x13f649];break;}}}}}if(_0x534df3){let _0x49edcc=Math[_0x395128(_0x1c75fa._0x1f88a9,_0x1c75fa._0x20b3a9,0x62c,0x6b5)](0x28,_0x51b60a-0x19);_0x2641c9='\x20\x22'+(_0x534df3['length']>_0x49edcc?_0x534df3[_0x518fc7(0x3af,0x49d,0x446,_0x1c75fa._0x1458a0)](0x0,_0x49edcc)+'...':_0x534df3)+'\x22';}}catch{}function _0x395128(_0x49ef9f,_0x381a02,_0x36eae9,_0x5e5191){return _0x31ce13(_0x36eae9-_0x573729._0xc9f471,_0x49ef9f,_0x36eae9-_0x573729._0x110141,_0x5e5191-0x196);}let _0x52a89d='\x20\x20',_0x1d80f6=_0x4432dc[_0x395128(_0x1c75fa._0x2e8f8c,_0x1c75fa._0x459d4c,0x5d8,0x6b4)][_0x518fc7(0x40f,_0x1c75fa._0x55108a,0x3ca,_0x1c75fa._0x4cf40c)];return _0xfb69f9[_0x395128(_0x1c75fa._0x1c42f3,_0x1c75fa._0x58e22c,0x628,0x618)]===_0x395128(_0x1c75fa._0x1de9df,_0x1c75fa._0x40bf7d,0x4f1,_0x1c75fa._0x13e9ea)?(_0x52a89d='✓\x20',_0x1d80f6=_0x4432dc[_0x518fc7(0x638,_0x1c75fa._0x107973,_0x1c75fa._0x4fb4bc,0x751)][_0x395128(_0x1c75fa._0x10abd6,0x5cf,0x4f1,0x3fb)]):_0xfb69f9[_0x395128(0x823,0x517,0x628,_0x1c75fa._0xe17205)]===_0x395128(0x3fd,0x3d8,0x35c,0x383)&&(_0x52a89d='✗\x20',_0x1d80f6=_0x4432dc['status'][_0x395128(0x337,_0x1c75fa._0x2fdaf8,_0x1c75fa._0x1f3eeb,_0x1c75fa._0x5ce269)]),_0x4bb757(_0x30d873,{'flexDirection':_0x395128(_0x1c75fa._0x2e4385,0x4c8,_0x1c75fa._0x395534,_0x1c75fa._0x325b34),'children':[_0x52a89d?_0x5d033b(_0x20bf6f,{'color':_0x1d80f6,'children':_0x52a89d}):null,_0x4bb757(_0x20bf6f,{'dimColor':!0x0,'children':[_0xfb69f9[_0x518fc7(0x5b7,_0x1c75fa._0x5ab02d,0x601,_0x1c75fa._0x59969c)],_0x2641c9,_0xfb69f9['durationMs']!==void 0x0?'\x20('+_0xfb69f9[_0x518fc7(_0x1c75fa._0x2aca25,_0x1c75fa._0x3454aa,0x1be,0x305)]+_0x395128(0x5bf,0x4ed,0x4fa,0x3a5):'']})]},_0xfb69f9['id']);})})]}),!_0x2db833&&_0x4bb757(_0x30d873,{'flexDirection':_0x31ce13(0x5bc,0x5f3,_0x5d0aa9._0x2b8d09,0x582),'marginLeft':0x2,'children':[_0x4bb757(_0x20bf6f,{'dimColor':!0x0,'color':_0x3dc3c1,'children':['└─','\x20']}),_0x5d033b(_0x20bf6f,{'children':_0x265f3a(0x371,_0x5d0aa9._0x4510d2,0x34f,_0x5d0aa9._0x5e79ec)}),_0x5d033b(_0x30d873,{'marginLeft':0x1,'children':_0x5d033b(Jt,{'hasResult':_0x2db833,'finalDuration':_0x2a4fbb['totalDurationMs']})})]}),_0x2db833&&_0x39e7bd&&_0x5d731f?_0x5d033b(_0x30d873,{'marginBottom':0x1,'children':_0x5d033b(qt,{'toolResult':_0x39e7bd,'toolCall':_0x318f83,'messageId':_0x4c917a+_0x31ce13(0x622,_0x5d0aa9._0xb32aeb,_0x5d0aa9._0x284cb2,0x43f)+_0x318f83['id'],'messageContent':_0x5d731f[_0x265f3a(_0x5d0aa9._0x3030f3,_0x5d0aa9._0x481adc,0x6ae,0x5e9)]||'','fullMode':_0x737eb7})}):null]});};import{jsx as _0x42f25e,jsxs as _0x312f33}from'react/jsx-runtime';var Fl=({message:_0x2db4b4,backgroundColor:_0x2c6fdd})=>{const _0x266e63={_0x490af0:0x539},_0x3a785f={_0x60b95c:0x5c2,_0x181ae0:0x647,_0x30e836:0x360,_0x4c5707:0x555,_0x3aa4c7:0x887,_0x42ca10:0x2a6,_0x34e874:0x3bb,_0x23f48b:0x925,_0x2c19ab:0x618,_0x5a930d:0x5e3,_0xc9822:0x3d0,_0x31720b:0x656,_0x3f1325:0x63f,_0x164022:0x5ff,_0x2c348a:0x4d7,_0x2dff9f:0x5b3,_0x311734:0x40b,_0x28fd20:0x30b,_0x32bc34:0x624,_0x32af26:0x4bc,_0x55c756:0x618,_0x2608e3:0x74b,_0x12851b:0x6c1,_0x44724d:0x7c3,_0x7fc3:0x7fa,_0x169a49:0x772,_0x57b843:0x428,_0x120d33:0x390,_0x1a38ac:0x31c,_0x5c8ff3:0x442,_0x5ef1a5:0x46f,_0x4c67dd:0xa06,_0x3e0bb4:0x685,_0xb12e0e:0x637,_0x396846:0x6a6,_0x10aaec:0x4ab,_0x41f96c:0x861,_0x542e40:0x807,_0x5c7a6b:0x713,_0xf73d63:0x3bc,_0x4c8f38:0x2b8,_0x1a0056:0x2b4,_0x2ab035:0x710,_0x3ece4f:0x77d,_0x2fc0a9:0x4b4,_0x514163:0x39c,_0x5bacfe:0x671,_0x4b0cfa:0x787,_0x1d2eec:0x796,_0x14a538:0x5f1,_0x52dff1:0x5fd,_0x5c36c7:0x5a2,_0x471199:0x8ee,_0x2b9db4:0x614,_0x435f99:0x592,_0x868892:0x428,_0x394cdf:0x5cb,_0x59c1be:0x520,_0x246da8:0x7a2,_0x24c8fa:0x394,_0x59d88a:0x1f0,_0x6b4da9:0x4b0,_0x100148:0x2ca,_0x48b1ce:0x3ac,_0x38b98b:0x455,_0x2c076a:0x481,_0x4c34a4:0x406,_0x572b58:0x2ce,_0x32eb22:0x300,_0x1d9ad4:0x5dc,_0x4d6a25:0x9e0,_0x4a5070:0x7f1,_0x3593ae:0x812,_0x2d31cb:0x531,_0x43e86a:0x3fb,_0x139a54:0x6b1,_0x59ae8c:0x7d2,_0x3edff8:0x6a6},_0x1dba16={_0x49ef2d:0x19,_0x2974fb:0x37},_0xd9daea={_0x10993b:0x1d1,_0x526e6e:0xa2};function _0x55dc3c(_0x1830c3,_0x19764e,_0xcc1285,_0x257a4f){return _0x3eba7a(_0x1830c3-_0xd9daea._0x10993b,_0x19764e-_0xd9daea._0x526e6e,_0x257a4f,_0xcc1285-0x319);}let {theme:_0x63bb02}=D(),_0x37fdb4=_0x2db4b4['metadata']?.[_0x55dc3c(0x621,0x426,_0x266e63._0x490af0,0x6f7)]===!0x0,_0x11d99f=_0x2db4b4['content'];return _0x42f25e(_0xaa52c1,{'backgroundColor':_0x2c6fdd,'children':((()=>{const _0x2fa824={_0x3e510d:0xdf,_0x5d814d:0x14f,_0x31cbd1:0x1c2,_0x1ca036:0x2c6,_0x11b35a:0x1b3,_0x28eb37:0x374,_0x917e82:0x48,_0x57ab2b:0x1a2,_0x5e8f00:0x32,_0x45a6d4:0x1db,_0x3446fe:0x32,_0x4593a2:0xc},_0x56c9af={_0xbd81d6:0xc,_0x187117:0x13,_0x3f7d65:0x29c};function _0x51d63c(_0xf8d629,_0x269ade,_0x519652,_0xd1b5bc){return _0x55dc3c(_0xf8d629-0x7c,_0x269ade-_0x1dba16._0x49ef2d,_0xd1b5bc-_0x1dba16._0x2974fb,_0xf8d629);}function _0x14f2da(_0x20471d,_0x5905e7,_0x12fb83,_0x403fd4){return _0x55dc3c(_0x20471d-_0x56c9af._0xbd81d6,_0x5905e7-_0x56c9af._0x187117,_0x12fb83-_0x56c9af._0x3f7d65,_0x403fd4);}switch(_0x2db4b4[_0x51d63c(0x5a6,_0x3a785f._0x60b95c,_0x3a785f._0x181ae0,0x526)]){case _0x51d63c(_0x3a785f._0x30e836,0x3b0,_0x3a785f._0x4c5707,0x443):return _0x312f33(_0xaa52c1,{'flexDirection':'row','marginY':0x1,'children':[_0x42f25e(_0xaa52c1,{'flexShrink':0x0,'marginRight':0x1,'children':_0x42f25e(_0x5c1f65,{'color':_0x63bb02['colors'][_0x51d63c(0x41b,0x5e7,0x5aa,0x40f)],'bold':!0x0,'children':'❯'})}),_0x42f25e(_0xaa52c1,{'flexDirection':'column','flexGrow':0x1,'children':_0x42f25e(_0x5c1f65,{'children':_0x11d99f})})]});case'assistant':return _0x312f33(_0xaa52c1,{'flexDirection':_0x14f2da(_0x3a785f._0x3aa4c7,0x6e4,0x721,0x5d2),'marginY':0x1,'children':[_0x42f25e(_0xaa52c1,{'flexShrink':0x0,'marginRight':0x1,'children':_0x42f25e(_0x5c1f65,{'color':_0x63bb02[_0x51d63c(_0x3a785f._0x42ca10,_0x3a785f._0x34e874,0x32d,0x31c)][_0x14f2da(0x5c0,_0x3a785f._0x23f48b,0x744,0x8ce)],'bold':!0x0,'children':_0x14f2da(_0x3a785f._0x2c19ab,_0x3a785f._0x5a930d,0x720,0x912)})}),_0x42f25e(_0xaa52c1,{'flexDirection':_0x51d63c(_0x3a785f._0xc9822,_0x3a785f._0x31720b,0x63f,0x4bc),'flexGrow':0x1,'marginLeft':0x2,'marginRight':0x2,'children':_0x42f25e(Wt,{'enableCache':!_0x37fdb4,'children':_0x11d99f})})]});case _0x14f2da(0x647,0x467,_0x3a785f._0x3f1325,0x587):{let _0x124f7b=_0x2db4b4['metadata']?.['toolCalls']??[],_0x14550f=_0x2db4b4['metadata']?.[_0x14f2da(_0x3a785f._0x164022,_0x3a785f._0x2c348a,_0x3a785f._0x2dff9f,0x53b)];return _0x42f25e(_0xaa52c1,{'flexDirection':_0x51d63c(_0x3a785f._0x311734,_0x3a785f._0x28fd20,_0x3a785f._0x32bc34,_0x3a785f._0x32af26),'children':_0x124f7b['length']>0x0?_0x124f7b[_0x14f2da(0x772,_0x3a785f._0x55c756,0x7ea,_0x3a785f._0x2608e3)]((_0xb71bea,_0x3300ae)=>{const _0x223626={_0x45ad35:0x74,_0xd0dd3:0x1dc,_0x1b281c:0x374},_0x1a3278={_0x5adb31:0x110,_0x2b6fd6:0x393};let _0x19f70b=_0x14550f?.['get'](_0xb71bea['id']);function _0x242b0f(_0x421dd1,_0x118f5f,_0x105c20,_0x2545ac){return _0x51d63c(_0x421dd1,_0x118f5f-_0x1a3278._0x5adb31,_0x105c20-0xda,_0x118f5f- -_0x1a3278._0x2b6fd6);}if(_0xb71bea[_0x44ab69(_0x2fa824._0x3e510d,0x7e,_0x2fa824._0x5d814d,0xb2)]['name']===_0x44ab69(0x129,_0x2fa824._0x31cbd1,0x226,_0x2fa824._0x1ca036)){let _0x1c0529=_0x2db4b4[_0x242b0f(_0x2fa824._0x11b35a,0x9b,0xe,0x42)]?.[_0x242b0f(_0x2fa824._0x28eb37,0x210,0x19d,0x25d)+_0xb71bea['id']];if(_0x1c0529)return _0x42f25e(xs,{'toolCall':_0xb71bea,'subAgentState':_0x1c0529,'toolResult':_0x19f70b,'messageId':_0x2db4b4['id']},_0xb71bea['id']||_0x2db4b4['id']+_0x44ab69(-0x13,-_0x2fa824._0x917e82,-_0x2fa824._0x57ab2b,-0x1e7)+_0x3300ae);}function _0x44ab69(_0x3f232f,_0x3c5183,_0xbaa345,_0x44459b){return _0x51d63c(_0x3c5183,_0x3c5183-_0x223626._0x45ad35,_0xbaa345-_0x223626._0xd0dd3,_0x3f232f- -_0x223626._0x1b281c);}return _0x42f25e(_0xaa52c1,{'marginY':0x1,'children':_0x42f25e(cr,{'toolCall':_0xb71bea,'toolResult':_0x19f70b,'messageId':_0x2db4b4['id']},_0xb71bea['id']||_0x2db4b4['id']+_0x242b0f(-0x20f,-_0x2fa824._0x5e8f00,0xd0,-_0x2fa824._0x45a6d4)+_0x3300ae)},_0xb71bea['id']||_0x2db4b4['id']+_0x242b0f(0x93,-_0x2fa824._0x3446fe,-_0x2fa824._0x4593a2,-0x20d)+_0x3300ae);}):_0x312f33(_0xaa52c1,{'flexDirection':'row','marginY':0x1,'children':[_0x42f25e(_0xaa52c1,{'flexShrink':0x0,'marginRight':0x1,'children':_0x42f25e(_0x5c1f65,{'color':_0x63bb02['messageTypes'][_0x14f2da(_0x3a785f._0x12851b,0x60e,_0x3a785f._0x3f1325,0x50f)],'bold':!0x0,'children':'»'})}),_0x42f25e(_0x5c1f65,{'children':_0x2db4b4['content']})]})});}case _0x14f2da(0x92e,_0x3a785f._0x44724d,_0x3a785f._0x7fc3,_0x3a785f._0x169a49):return null;case'error':return _0x312f33(_0xaa52c1,{'flexDirection':'row','children':[_0x42f25e(_0xaa52c1,{'flexShrink':0x0,'marginRight':0x1,'children':_0x42f25e(_0x5c1f65,{'color':_0x63bb02[_0x51d63c(0x294,_0x3a785f._0x57b843,_0x3a785f._0x120d33,_0x3a785f._0x1a38ac)][_0x14f2da(_0x3a785f._0x5c8ff3,_0x3a785f._0x5ef1a5,0x41f,0x46d)],'bold':!0x0,'children':'●'})}),_0x42f25e(_0x5c1f65,{'children':_0x2db4b4[_0x14f2da(_0x3a785f._0x4c67dd,0x7c0,0x807,_0x3a785f._0x3e0bb4)]})]});case'warning':return _0x312f33(_0xaa52c1,{'flexDirection':_0x51d63c(_0x3a785f._0xb12e0e,0x2f6,_0x3a785f._0x396846,_0x3a785f._0x10aaec),'children':[_0x42f25e(_0xaa52c1,{'flexShrink':0x0,'marginRight':0x1,'children':_0x42f25e(_0x5c1f65,{'color':_0x63bb02['messageTypes'][_0x14f2da(0x5b7,0x708,0x6d2,_0x3a785f._0x41f96c)],'bold':!0x0,'children':'●'})}),_0x42f25e(_0x5c1f65,{'children':_0x2db4b4[_0x14f2da(0x70e,0x6e7,_0x3a785f._0x542e40,_0x3a785f._0x5c7a6b)]})]});case _0x51d63c(_0x3a785f._0xf73d63,_0x3a785f._0x4c8f38,0xe1,_0x3a785f._0x1a0056):return _0x312f33(_0xaa52c1,{'flexDirection':_0x14f2da(0x663,0x8e9,_0x3a785f._0x2ab035,_0x3a785f._0x3ece4f),'children':[_0x42f25e(_0xaa52c1,{'flexShrink':0x0,'marginRight':0x1,'children':_0x42f25e(_0x5c1f65,{'color':_0x2db4b4[_0x51d63c(0x60e,_0x3a785f._0x2fc0a9,0x6cf,0x531)]||_0x63bb02[_0x51d63c(0x3ff,0x4f4,_0x3a785f._0x514163,_0x3a785f._0x1a38ac)][_0x14f2da(0x59f,_0x3a785f._0x5bacfe,0x519,0x6ea)],'bold':!0x0,'children':'●'})}),_0x42f25e(_0x5c1f65,{'color':_0x2db4b4[_0x14f2da(0x7b3,_0x3a785f._0x4b0cfa,_0x3a785f._0x1d2eec,0x5a6)],'children':_0x2db4b4[_0x51d63c(_0x3a785f._0x14a538,_0x3a785f._0x52dff1,0x4c9,_0x3a785f._0x5c36c7)]})]});case _0x14f2da(0x7f7,_0x3a785f._0x471199,0x785,0x6af):return _0x312f33(_0xaa52c1,{'flexDirection':_0x14f2da(_0x3a785f._0x2b9db4,_0x3a785f._0x435f99,_0x3a785f._0x2ab035,0x7ea),'children':[_0x42f25e(_0xaa52c1,{'flexShrink':0x0,'marginRight':0x1,'children':_0x42f25e(_0x5c1f65,{'color':_0x63bb02[_0x51d63c(_0x3a785f._0x868892,0x498,0x2dd,0x31c)][_0x51d63c(0x5d5,0x488,_0x3a785f._0x394cdf,_0x3a785f._0x59c1be)],'bold':!0x0,'children':'●'})}),_0x42f25e(_0x5c1f65,{'children':_0x2db4b4[_0x51d63c(0x641,_0x3a785f._0x246da8,0x4f8,_0x3a785f._0x5c36c7)]})]});case _0x51d63c(0x170,_0x3a785f._0x24c8fa,0x18a,_0x3a785f._0x59d88a):return _0x312f33(_0xaa52c1,{'flexDirection':_0x51d63c(_0x3a785f._0x6b4da9,0x3f4,0x4dc,_0x3a785f._0x10aaec),'children':[_0x42f25e(_0xaa52c1,{'flexShrink':0x0,'marginRight':0x1,'children':_0x42f25e(_0x5c1f65,{'color':_0x63bb02[_0x51d63c(0x228,0x2a0,_0x3a785f._0x100148,0x31c)][_0x14f2da(0x371,_0x3a785f._0x48b1ce,_0x3a785f._0x38b98b,0x63a)],'bold':!0x0,'children':'●'})}),_0x42f25e(_0x5c1f65,{'color':_0x63bb02[_0x51d63c(_0x3a785f._0x2c076a,_0x3a785f._0x4c34a4,_0x3a785f._0x572b58,0x436)][_0x14f2da(_0x3a785f._0x32eb22,_0x3a785f._0x1d9ad4,0x4c2,0x66c)],'dimColor':!0x0,'children':_0x2db4b4[_0x14f2da(_0x3a785f._0x4d6a25,_0x3a785f._0x4a5070,0x807,_0x3a785f._0x3593ae)]})]});default:return _0x42f25e(_0x5c1f65,{'color':_0x2db4b4[_0x51d63c(_0x3a785f._0x2d31cb,0x358,_0x3a785f._0x43e86a,_0x3a785f._0x2d31cb)],'children':_0x2db4b4[_0x14f2da(_0x3a785f._0x139a54,_0x3a785f._0x59ae8c,_0x3a785f._0x542e40,_0x3a785f._0x3edff8)]});}})())});},Qt=_0x5111cc['memo'](Fl);import{Box as _0x30a02d,Text as _0x30ae0b}from'ink';import _0x1d3ab0 from'ink-gradient';import{jsx as _0x46504e,jsxs as _0x5726d6}from'react/jsx-runtime';var Nl=_0x30e1b7=>{const _0x1970f6={_0x39dfb5:0x1d3,_0x2eff89:0x1ed,_0x5987d1:0xbe,_0x114e70:0xa7,_0x23aff2:0x6a,_0x373ff3:0x209,_0x143089:0x22,_0x5882fe:0x13f,_0x3ef2f6:0x3de,_0x175e5d:0x2c2,_0x3e6844:0x222,_0x2f52ac:0x2,_0x1b5e91:0x1ed,_0x402615:0x135,_0x4ab4c9:0x2ab,_0xcc0e04:0x11,_0x4659b0:0x179,_0x637f12:0xbb,_0x87bf6c:0x107,_0x3149fb:0x6c,_0x16367c:0x83,_0x5b2e43:0x1c6,_0x58c39a:0x3f,_0x344b57:0x114,_0x488f32:0x103,_0x20dc21:0x178,_0x185957:0xb,_0x76f1fe:0xeb,_0x192871:0x15d,_0x3b4578:0x37,_0x447d1b:0x2e,_0x28e0b6:0x244,_0x523ca6:0x27a,_0x2fcefe:0x191,_0x20b5db:0x350,_0x6cffd9:0x7a,_0x252805:0x116,_0x322f7b:0x61,_0x48e0d8:0x136,_0x3f36d8:0x15b,_0x4326f2:0x165,_0x90473d:0xd5,_0x1afba6:0x103,_0x3103bf:0x1f0,_0x5cc49e:0x8,_0x4cd89b:0x103,_0x145318:0x12e,_0x33e107:0xdd,_0x28d53d:0xca,_0x1adace:0xe,_0x292d9e:0x40,_0x201e28:0x1da,_0x37fb1e:0x5e,_0x56eea0:0x3c2},_0x1919ab={_0x3b892e:0x122,_0x29300e:0x9a};function _0x25e4d1(_0xf49c3c,_0x910d4d,_0x54843f,_0x401102){return _0x3eba7a(_0xf49c3c-_0x1919ab._0x3b892e,_0x910d4d-0x90,_0x54843f,_0x401102-_0x1919ab._0x29300e);}let _0x3e782c=new Date(_0x30e1b7),_0x40be5e=Math[_0x2e6874(_0x1970f6._0x39dfb5,0x15c,_0x1970f6._0x2eff89,_0x1970f6._0x5987d1)]((new Date()[_0x2e6874(-0x18,-_0x1970f6._0x114e70,_0x1970f6._0x23aff2,0x116)]()-_0x3e782c[_0x25e4d1(_0x1970f6._0x373ff3,-_0x1970f6._0x143089,-0x60,_0x1970f6._0x5882fe)]())/(0x3e8*0x3c)),_0x4ddff4=Math[_0x25e4d1(_0x1970f6._0x3ef2f6,0x410,0x453,_0x1970f6._0x175e5d)](_0x40be5e/0x3c),_0x5484a1=Math[_0x2e6874(_0x1970f6._0x3e6844,_0x1970f6._0x2f52ac,_0x1970f6._0x1b5e91,0x3af)](_0x4ddff4/0x18);if(_0x40be5e<0x5)return _0x2e6874(-_0x1970f6._0x402615,-_0x1970f6._0x4ab4c9,-0x14e,_0x1970f6._0xcc0e04);if(_0x40be5e<0x3c)return _0x40be5e+_0x2e6874(-0xf4,-_0x1970f6._0x4659b0,-_0x1970f6._0x637f12,0x9);if(_0x4ddff4<0x18){let _0x6be78a=_0x3e782c[_0x25e4d1(0xde,-_0x1970f6._0x87bf6c,-_0x1970f6._0x3149fb,_0x1970f6._0x16367c)](_0x25e4d1(-_0x1970f6._0x5b2e43,-_0x1970f6._0x58c39a,-_0x1970f6._0x344b57,-_0x1970f6._0x488f32),{'hour':'numeric','minute':_0x25e4d1(-_0x1970f6._0x20dc21,-0x10b,-_0x1970f6._0x5882fe,_0x1970f6._0x185957),'hour12':!0x0});return _0x4ddff4<0x6?_0x4ddff4+_0x2e6874(_0x1970f6._0x76f1fe,-_0x1970f6._0x192871,_0x1970f6._0x3b4578,0x197):_0x25e4d1(_0x1970f6._0x447d1b,-_0x1970f6._0x28e0b6,_0x1970f6._0x488f32,-0x7c)+_0x6be78a;}if(_0x5484a1===0x1)return _0x2e6874(-_0x1970f6._0x523ca6,-0xd5,-_0x1970f6._0x2fcefe,-_0x1970f6._0x20b5db)+_0x3e782c[_0x2e6874(-0x173,-_0x1970f6._0x6cffd9,-0x52,_0x1970f6._0x252805)]('en-US',{'hour':_0x25e4d1(_0x1970f6._0x322f7b,_0x1970f6._0x48e0d8,0x40,_0x1970f6._0x3f36d8),'minute':_0x2e6874(0x7d,0xe5,-0xca,0x3a),'hour12':!0x0});if(_0x5484a1<0x7){let _0x5158c2=_0x3e782c[_0x25e4d1(_0x1970f6._0x4326f2,-0x124,-0xa8,0x5e)](_0x25e4d1(-0x105,-_0x1970f6._0x90473d,-0x2cf,-_0x1970f6._0x1afba6),{'weekday':_0x25e4d1(-0x127,-_0x1970f6._0x3103bf,-0x171,_0x1970f6._0x5cc49e)}),_0x4c8334=_0x3e782c[_0x25e4d1(0x1f5,-0x3d,0xe1,0x83)](_0x25e4d1(-0x68,-0x217,0x5,-_0x1970f6._0x4cd89b),{'hour':_0x2e6874(0x121,-_0x1970f6._0x145318,0x86,0x161),'minute':_0x2e6874(-0x6b,_0x1970f6._0x33e107,-_0x1970f6._0x28d53d,-_0x1970f6._0x1adace),'hour12':!0x0});return _0x5158c2+'\x20'+_0x4c8334;}function _0x2e6874(_0x43259d,_0x1f40ba,_0x395c09,_0x49ed0c){return _0x3eba7a(_0x43259d-0xb1,_0x1f40ba-0x193,_0x49ed0c,_0x395c09- -0x3b);}return _0x3e782c[_0x25e4d1(0xe4,-_0x1970f6._0x292d9e,_0x1970f6._0x201e28,_0x1970f6._0x37fb1e)](_0x2e6874(-_0x1970f6._0x56eea0,-0x20c,-0x1d8,-0x40),{'month':_0x25e4d1(0x1ce,-0x111,-0x188,0x8),'day':'numeric','hour':'numeric','minute':'2-digit','hour12':!0x0});},Ol=(_0x5b10f6,_0x5c1954)=>_0x5b10f6?_0x5b10f6[_0x3eba7a(-0x1c1,-0x153,0xcf,-0x21)](_0x3eba7a(-0x2a9,0x3,-0x162,-0x119))||_0x5b10f6[_0x3eba7a(0x14a,0xc1,0x22,-0x21)](_0x199b7d(0x333,0x41e,0x2ce,0x618))?{'icon':'✓','color':_0x199b7d(0x689,0x52a,0x5a2,0x651)}:_0x5b10f6[_0x3eba7a(0xf8,-0x12f,-0xe1,-0x21)]('error')||_0x5b10f6[_0x3eba7a(-0x1cb,-0xfd,-0x222,-0x21)]('Error')?{'icon':'✗','color':'red'}:_0x5b10f6[_0x3eba7a(0x19e,0xd3,0x113,-0x21)](_0x199b7d(0x2f1,0x3b2,0x242,0x20f))?{'icon':'⚠','color':_0x3eba7a(-0x259,-0x1c4,-0x307,-0x184)}:_0x5c1954===0x1?{'icon':'○','color':'gray'}:{'icon':'●','color':_0x199b7d(0x342,0x542,0x4d2,0x536)}:{'icon':'○','color':_0x3eba7a(0x38,0x2af,0x3ca,0x1e0)},$l=_0x8ad118=>_0x8ad118===0x1?{'text':_0x3eba7a(-0x235,-0xe,-0x147,-0xf0),'color':_0x199b7d(0x868,0x687,0x5cd,0x7b4)}:_0x8ad118<0xa?{'text':_0x8ad118+_0x199b7d(0x6dc,0x5ad,0x748,0x77c),'color':_0x199b7d(0x4f2,0x417,0x363,0x2c5)}:_0x8ad118<0x32?{'text':_0x8ad118+'\x20msgs','color':_0x199b7d(0x4d9,0x52a,0x623,0x6ec)}:{'text':_0x8ad118+'\x20msgs','color':_0x199b7d(0x370,0x309,0x473,0x49b)},Ul='Welcome\x20to\x0a███╗\x20\x20\x20██╗\x20██╗\x20\x20\x20██╗\x20██╗\x20\x20\x20██╗\x20██╗\x20███╗\x20\x20\x20██╗\x0a██╔██╗\x20██║\x20██║\x20\x20\x20██║\x20██║\x20\x20\x20██║\x20██║\x20██╔██╗\x20██║\x0a██║╚██╗██║\x20██║\x20\x20\x20██║\x20╚██╗\x20██╔╝\x20██║\x20██║╚██╗██║\x0a██║\x20╚████║\x20╚██████╔╝\x20\x20╚████╔╝\x20\x20██║\x20██║\x20╚████║\x0a╚═╝\x20\x20╚═══╝\x20\x20╚═════╝\x20\x20\x20\x20╚═══╝\x20\x20\x20╚═╝\x20╚═╝\x20\x20╚═══╝',vs=()=>{const _0x138321={_0x345646:0x973,_0x408170:0x36e,_0x485703:0x253,_0x542bd4:0x133,_0x55e720:0x2ab,_0x2c48b7:0x268,_0x3c04b8:0x778,_0x193081:0x720,_0x21d64d:0x8c5,_0x501c53:0x769,_0x3d1538:0xc5,_0x58c934:0x40,_0x3a3b24:0x19f,_0x513be9:0x25f,_0x39c3bd:0xb4,_0x2cc6d2:0x324,_0x216de0:0x21a,_0x43997d:0x19d,_0x26f9e9:0xd5,_0x494f4a:0xb4},_0x55f75f={_0x1cdd9f:0x81},_0x216900={_0x8b23bf:0x102};let [_0x4e10c4,_0x24df96]=O();function _0x54082e(_0x269de5,_0x31ad12,_0x557629,_0x51bb30){return _0x199b7d(_0x269de5-0x6b,_0x557629-_0x216900._0x8b23bf,_0x557629-0x8f,_0x269de5);}function _0x21bfb3(_0x3daa01,_0x23c993,_0x2a2065,_0x5dce4f){return _0x3eba7a(_0x3daa01-0x88,_0x23c993-_0x55f75f._0x1cdd9f,_0x23c993,_0x5dce4f-0xfc);}return _0x46504e(_0x30a02d,{'flexDirection':'column','width':_0x4e10c4,'marginTop':0x0,'marginBottom':0x0,'paddingX':0x0,'gap':0x0,'children':_0x46504e(_0x30a02d,{'alignItems':_0x54082e(0x8a3,0x738,0x778,_0x138321._0x345646),'paddingTop':0x0,'paddingBottom':0x0,'flexDirection':_0x21bfb3(0x177,_0x138321._0x408170,_0x138321._0x485703,0x268),'children':_0x5726d6(_0x30a02d,{'flexDirection':_0x21bfb3(_0x138321._0x542bd4,_0x138321._0x55e720,0x45d,_0x138321._0x2c48b7),'alignItems':_0x54082e(0x6f7,0x703,_0x138321._0x3c04b8,_0x138321._0x193081),'justifyContent':_0x54082e(_0x138321._0x21d64d,_0x138321._0x501c53,0x778,0x5d1),'children':[_0x46504e(_0x1d3ab0,{'colors':[_0x21bfb3(0xf7,-_0x138321._0x3d1538,0xa3,-_0x138321._0x58c934),_0x21bfb3(_0x138321._0x3a3b24,_0x138321._0x513be9,0x69,_0x138321._0x39c3bd)],'children':_0x46504e(_0x30ae0b,{'children':''+Ul})}),_0x46504e(_0x30a02d,{'alignSelf':_0x21bfb3(_0x138321._0x2cc6d2,_0x138321._0x216de0,0x4a2,0x2c9),'children':_0x46504e(_0x1d3ab0,{'colors':['#FF5F6D',_0x21bfb3(0x1ab,_0x138321._0x43997d,-_0x138321._0x26f9e9,_0x138321._0x494f4a)],'children':_0x46504e(_0x30ae0b,{'children':'v'+_0xcbfe64()})})})]})})});},ur=({recentSessions:_0x4b2287})=>{const _0x1a255a={_0x388127:0x806,_0x458f6a:0x71f,_0x2bee9b:0x825,_0x3b7119:0x7ce,_0x57ab1f:0x732,_0x3f6d63:0x695,_0x3e5fcc:0x337,_0x1742a7:0x3f5,_0x795f85:0x6fb,_0x52f2d8:0x449,_0x15c8e4:0x439,_0x453dd:0x4cb,_0x68d605:0x88a,_0x3ed421:0x7cc,_0xd132bc:0x607,_0x366e90:0x6f1,_0x149280:0x5f8,_0x4b6f57:0x469,_0x45b211:0x659,_0x1ee62e:0x7e8},_0x4fb4e3={_0x73a224:0x302,_0x2d2ab4:0x4cd,_0x33f257:0x402,_0x47f231:0x62e,_0x43bf90:0x6bd,_0x2c96b7:0x694,_0x4a3630:0x6ab,_0x599dec:0x87c,_0x17b43f:0x869,_0x182374:0x79d,_0x3f1a77:0x5ef,_0x32ca96:0x499,_0x1817fc:0x563,_0x572c83:0x8aa,_0x3441b5:0x37d,_0x285c11:0x4f7,_0x57f726:0x1b,_0x7f4c29:0x308,_0x276c03:0x1b6,_0x73f8df:0x2ed,_0x286d43:0x69d,_0x5b890f:0x81f,_0x11c394:0x78b,_0x1dda76:0x3e2,_0x2154a8:0x6a3,_0x3b6239:0x29b,_0x4779ef:0x977,_0x5ed9b0:0x843,_0x44789f:0x67f,_0x42fe3c:0x86d,_0x25e92a:0x69b,_0x17c5bf:0x55e,_0x3ed52e:0x3b5,_0x2121ea:0x745,_0x5350e7:0x582,_0x49a8c6:0x4e1,_0x2afbdb:0x263,_0x156a08:0x561},_0x3718ab={_0x1cc082:0x26e,_0x32d99d:0x5a},_0x26fddf={_0x47abc6:0xe},_0x4aec30={_0x9f6f3:0x446};let {theme:_0x2c736d}=D(),[_0x2e1811,_0x456a2b]=O();function _0x446f11(_0x36449b,_0x2756eb,_0x1fdee5,_0x3dd534){return _0x3eba7a(_0x36449b-0x1eb,_0x2756eb-0x19d,_0x36449b,_0x1fdee5-0x5b3);}function _0x1baca9(_0x39c69d,_0x191da5,_0x58bc93,_0x5392f7){return _0x3eba7a(_0x39c69d-0x1a,_0x191da5-0xf4,_0x191da5,_0x58bc93-_0x4aec30._0x9f6f3);}return _0x46504e(_0x30a02d,{'flexDirection':_0x446f11(0x742,_0x1a255a._0x388127,_0x1a255a._0x458f6a,_0x1a255a._0x2bee9b),'width':_0x2e1811,'marginTop':0x0,'marginBottom':0x0,'paddingX':0x0,'gap':0x0,'children':_0x46504e(_0x30a02d,{'justifyContent':_0x446f11(0x937,_0x1a255a._0x3b7119,0x782,_0x1a255a._0x57ab1f),'gap':0x1,'marginTop':0x1,'children':_0x5726d6(_0x30a02d,{'flexDirection':_0x1baca9(0x40d,_0x1a255a._0x3f6d63,0x5b2,0x478),'paddingX':0x2,'flexGrow':0x1,'marginBottom':0x4,'children':[_0x46504e(_0x30a02d,{'marginBottom':0x1,'children':_0x46504e(_0x30ae0b,{'color':_0x2c736d[_0x1baca9(_0x1a255a._0x3e5fcc,0x3c7,0x394,_0x1a255a._0x1742a7)][_0x446f11(_0x1a255a._0x795f85,_0x1a255a._0x52f2d8,0x62b,0x4bc)],'bold':!0x0,'underline':!0x0,'children':_0x1baca9(0x582,_0x1a255a._0x15c8e4,_0x1a255a._0x453dd,0x514)})}),_0x4b2287['length']===0x0?_0x46504e(_0x30ae0b,{'color':_0x2c736d['welcome'][_0x446f11(_0x1a255a._0x68d605,0x5da,_0x1a255a._0x3ed421,0x97f)],'dimColor':!0x0,'children':_0x1baca9(_0x1a255a._0xd132bc,_0x1a255a._0x366e90,_0x1a255a._0x149280,_0x1a255a._0x4b6f57)}):_0x4b2287['slice'](0x0,0x5)[_0x446f11(_0x1a255a._0x45b211,0x61d,_0x1a255a._0x1ee62e,0x9ed)](_0x1fe69c=>{function _0x75c12e(_0x298e0b,_0x3048a7,_0xb5190e,_0x468410){return _0x1baca9(_0x298e0b-0x185,_0x3048a7,_0xb5190e-0x1ea,_0x468410-_0x26fddf._0x47abc6);}function _0x1a8c93(_0x3abd77,_0x290d5f,_0x23cc0e,_0x1ed4c7){return _0x446f11(_0x3abd77,_0x290d5f-0xa0,_0x23cc0e- -_0x3718ab._0x1cc082,_0x1ed4c7-_0x3718ab._0x32d99d);}let _0x3d6be2=Nl(_0x1fe69c[_0x1a8c93(_0x4fb4e3._0x73a224,_0x4fb4e3._0x2d2ab4,_0x4fb4e3._0x33f257,0x424)]),_0x7aaf4d=_0x1fe69c[_0x75c12e(0x4e9,0x3f2,0x51c,_0x4fb4e3._0x47f231)]||_0x1fe69c[_0x75c12e(_0x4fb4e3._0x43bf90,_0x4fb4e3._0x2c96b7,_0x4fb4e3._0x4a3630,_0x4fb4e3._0x599dec)],_0x59313=_0x2e1811-0x28,_0x16efe0=_0x7aaf4d&&_0x7aaf4d[_0x75c12e(0x6c8,0x6f3,_0x4fb4e3._0x17b43f,_0x4fb4e3._0x182374)]>_0x59313?_0x7aaf4d['slice'](0x0,_0x59313)+_0x1a8c93(0x327,_0x4fb4e3._0x3f1a77,0x508,_0x4fb4e3._0x32ca96):_0x7aaf4d,_0x506324=Ol(_0x1fe69c[_0x75c12e(0x6ea,_0x4fb4e3._0x1817fc,0x6ab,_0x4fb4e3._0x572c83)],_0x1fe69c[_0x75c12e(_0x4fb4e3._0x3441b5,0x380,0x4a1,_0x4fb4e3._0x285c11)]),_0xc5cace=$l(_0x1fe69c[_0x1a8c93(_0x4fb4e3._0x57f726,_0x4fb4e3._0x7f4c29,_0x4fb4e3._0x276c03,_0x4fb4e3._0x73f8df)]);return _0x5726d6(_0x30a02d,{'flexDirection':_0x75c12e(_0x4fb4e3._0x286d43,_0x4fb4e3._0x5b890f,_0x4fb4e3._0x11c394,0x957),'children':[_0x5726d6(_0x30a02d,{'children':[_0x46504e(_0x30ae0b,{'color':_0x506324[_0x1a8c93(0x46f,_0x4fb4e3._0x1dda76,0x526,_0x4fb4e3._0x2154a8)],'children':_0x506324['icon']+'\x20'}),_0x5726d6(_0x30ae0b,{'color':_0x2c736d[_0x1a8c93(0x173,_0x4fb4e3._0x3b6239,0x293,0xf7)][_0x75c12e(_0x4fb4e3._0x4779ef,0x8e0,0x849,_0x4fb4e3._0x5ed9b0)],'dimColor':!0x0,'children':[_0x3d6be2,_0x75c12e(0xa72,_0x4fb4e3._0x44789f,_0x4fb4e3._0x42fe3c,_0x4fb4e3._0x25e92a)]})]}),_0x46504e(_0x30a02d,{'children':_0x5726d6(_0x30ae0b,{'color':_0x2c736d['welcome'][_0x1a8c93(0x433,0x521,_0x4fb4e3._0x17c5bf,0x535)],'dimColor':!0x0,'children':[_0x16efe0,_0x1a8c93(_0x4fb4e3._0x3ed52e,_0x4fb4e3._0x2121ea,_0x4fb4e3._0x5350e7,_0x4fb4e3._0x49a8c6)]})}),_0x46504e(_0x30a02d,{'children':_0x46504e(_0x30ae0b,{'color':_0xc5cace['color'],'dimColor':!0x0,'children':_0xc5cace[_0x1a8c93(_0x4fb4e3._0x2afbdb,0x40a,0x335,0x1b1)]})})]},_0x1fe69c[_0x75c12e(0x5b9,0x429,_0x4fb4e3._0x156a08,0x517)]);})]})})});};import{jsx as _0x18a799,jsxs as _0x11473c}from'react/jsx-runtime';var Wl=_0x47f2bd();function zl(_0x40a149){const _0x57fbe1={_0x136f77:0x3fd,_0x451a95:0x13a,_0x268e2b:0x8e,_0x16e829:0x259,_0x2e6ac3:0x1ee,_0x55f9d5:0xbc,_0x1bf4d3:0x12e,_0x160c13:0x2b,_0x3157ea:0xaa,_0x499653:0x108,_0x21315d:0x453,_0x1346cc:0x125,_0x4aa1f3:0x263,_0x36d1c2:0x240,_0x2c6ee9:0x3b9,_0x3560bc:0x335,_0x2404a8:0x2,_0x559429:0x1a3,_0x5ada12:0x15e,_0x5bfa6b:0x14,_0x4afb88:0x176,_0x4817ff:0x234,_0x362a52:0x12b,_0x32a3ce:0x14d,_0x4f5ed6:0x86,_0x35c6e9:0xb8,_0x180345:0x92,_0x12b583:0x2af,_0x359d8a:0x45c,_0x2caf22:0x43a,_0x188eed:0x1cc,_0x492367:0x3d6,_0x54eadf:0x27d,_0x36f755:0x2d9,_0x217371:0x78,_0x536d2a:0xb8,_0x406f58:0x149,_0x4db804:0xf4,_0x4e811a:0xd0},_0x5bf87a={_0x314f23:0x47d},_0x1dc240={_0x2b95f5:0x1bc,_0x4d2b31:0x6a};function _0x2bec9e(_0x40f0e1,_0x4470dc,_0x433c58,_0x43dddd){return _0x3eba7a(_0x40f0e1-_0x1dc240._0x2b95f5,_0x4470dc-0x86,_0x43dddd,_0x40f0e1-_0x1dc240._0x4d2b31);}let _0x1ac9e7=[],_0x4f7518=new Map();function _0x438421(_0x19dfe0,_0x4d880b,_0x530b3d,_0x4c5652){return _0x199b7d(_0x19dfe0-0xf0,_0x530b3d- -_0x5bf87a._0x314f23,_0x530b3d-0x17c,_0x19dfe0);}for(let _0x4ffb4c of _0x40a149)_0x4ffb4c['type']===_0x438421(_0x57fbe1._0x136f77,0x320,0x26f,0x2e7)&&_0x4ffb4c[_0x438421(0x7d,_0x57fbe1._0x451a95,0x108,0x63)]?.[_0x438421(_0x57fbe1._0x268e2b,_0x57fbe1._0x16e829,_0x57fbe1._0x2e6ac3,0x1d8)]?.['id']&&_0x4f7518[_0x2bec9e(_0x57fbe1._0x55f9d5,0x1cf,_0x57fbe1._0x1bf4d3,-0x49)](_0x4ffb4c[_0x438421(_0x57fbe1._0x160c13,_0x57fbe1._0x3157ea,_0x57fbe1._0x499653,0x26f)]['toolResult']['id'],_0x4ffb4c);for(let _0x362370=0x0;_0x362370<_0x40a149[_0x438421(_0x57fbe1._0x21315d,_0x57fbe1._0x1346cc,_0x57fbe1._0x4aa1f3,0x19c)];_0x362370++){let _0x564993=_0x40a149[_0x362370];if(_0x564993[_0x2bec9e(_0x57fbe1._0x36d1c2,_0x57fbe1._0x2c6ee9,0x1e1,_0x57fbe1._0x3560bc)]==='tool'){let _0x1de688=_0x564993[_0x2bec9e(0x148,0xfd,-_0x57fbe1._0x2404a8,0x28)]?.['toolCalls']||[],_0x2b8c6f=[],_0x31af9d=new Map();for(let _0x1a7699 of _0x1de688){let _0x2ac0b5=_0x4f7518[_0x2bec9e(_0x57fbe1._0x559429,_0x57fbe1._0x5ada12,0x2bd,-_0x57fbe1._0x5bfa6b)](_0x1a7699['id']);_0x2ac0b5&&(_0x2b8c6f['push'](_0x2ac0b5),_0x31af9d[_0x438421(-_0x57fbe1._0x4afb88,_0x57fbe1._0x4817ff,0x7c,0x1e1)](_0x1a7699['id'],_0x2ac0b5));}_0x31af9d['size']>0x0?_0x1ac9e7[_0x438421(_0x57fbe1._0x362a52,_0x57fbe1._0x32a3ce,0x78,_0x57fbe1._0x4f5ed6)]({..._0x564993,'metadata':{..._0x564993[_0x438421(-0xb8,-0x43,0x108,0x28c)],'toolResultsByCallId':_0x31af9d}}):_0x1ac9e7[_0x2bec9e(_0x57fbe1._0x35c6e9,0x73,0xf8,-_0x57fbe1._0x180345)](_0x564993),_0x1ac9e7['push'](..._0x2b8c6f);}else{if(_0x564993['type']===_0x2bec9e(_0x57fbe1._0x12b583,_0x57fbe1._0x359d8a,_0x57fbe1._0x2caf22,0x225)){let _0x66a443=_0x564993[_0x2bec9e(0x148,-0x2,-0xa6,_0x57fbe1._0x188eed)]?.[_0x438421(0x24a,_0x57fbe1._0x492367,0x1ee,0x352)]?.['id'];_0x66a443&&_0x40a149[_0x2bec9e(_0x57fbe1._0x54eadf,_0x57fbe1._0x36f755,0x2b0,0x1d0)](_0x2c2cb6=>_0x2c2cb6['type']===_0x438421(0x278,0x231,0xb4,0x2b5)&&_0x2c2cb6[_0x2bec9e(0x148,0xa0,0x16,0x1de)]?.[_0x438421(-0x18d,-0x1e4,-0xbd,-0x207)]?.[_0x2bec9e(0x27d,0x166,0x180,0xfe)](_0x49bae5=>_0x49bae5['id']===_0x66a443))||_0x1ac9e7[_0x438421(0x1fd,-0x37,_0x57fbe1._0x217371,0x1ed)](_0x564993);}else _0x1ac9e7[_0x2bec9e(_0x57fbe1._0x536d2a,_0x57fbe1._0x406f58,-_0x57fbe1._0x4db804,-_0x57fbe1._0x4e811a)](_0x564993);}}return _0x1ac9e7;}function Gl(_0x48b7d6){const _0x4d7179={_0x2d150d:0x6a8,_0x1fbfc0:0x91,_0x30d44d:0x1d1,_0x248dda:0x159,_0x55ee64:0x185,_0x3b9d1f:0x5,_0x16c5a9:0x7,_0xa233bb:0x484,_0x51a7f7:0x51d,_0x44fc7b:0x678},_0x1ac999={_0x59a6b2:0x4a0,_0xa56561:0x133};if(_0x48b7d6[_0x54b109(0x490,0x6b6,0x5c5,_0x4d7179._0x2d150d)]!==_0x52c1b3(-0x79,_0x4d7179._0x1fbfc0,0x296,-0xe9))return!0x1;let _0x3c55bc=_0x48b7d6['metadata']?.['toolCalls']||[],_0x248ceb=_0x48b7d6[_0x52c1b3(_0x4d7179._0x30d44d,0xe5,_0x4d7179._0x248dda,0x1cb)]?.[_0x52c1b3(-_0x4d7179._0x55ee64,_0x4d7179._0x3b9d1f,_0x4d7179._0x16c5a9,-0x8a)];function _0x52c1b3(_0x2f5c05,_0xc2872a,_0x5c7c9d,_0x110b07){return _0x199b7d(_0x2f5c05-0x1d8,_0xc2872a- -_0x1ac999._0x59a6b2,_0x5c7c9d-_0x1ac999._0xa56561,_0x110b07);}function _0x54b109(_0x1bbdb4,_0x58229f,_0x459986,_0x33a64e){return _0x3eba7a(_0x1bbdb4-0x14c,_0x58229f-0x5c,_0x1bbdb4,_0x459986-0x3ef);}if(_0x3c55bc[_0x54b109(_0x4d7179._0xa233bb,_0x4d7179._0x51a7f7,0x628,_0x4d7179._0x44fc7b)]===0x0)return!0x1;for(let _0x5c46cd of _0x3c55bc)if(!_0x248ceb?.[_0x54b109(0x91,0x22d,0x24e,0x197)](_0x5c46cd['id']))return!0x0;return!0x1;}var Yl=({messages:_0x2a05a2,headerKey:_0x2f28f6,sessions:_0x4a91f6})=>{const _0x1c0838={_0xae0e8d:0x1d,_0x590bf0:0x3a4,_0x505df8:0x1f8,_0x3f039d:0x50,_0xe8df3b:0x8d,_0x2fdb1b:0x1c1,_0x1a9ad9:0x3b2,_0x510cc8:0x16f,_0x3b82f7:0x1df,_0x449eda:0xff,_0x142ba6:0x102,_0x38ec15:0x35,_0x38468d:0x185,_0xf06b6a:0x19f,_0x36ed99:0x361,_0x16a6aa:0x109,_0x2112cd:0x3a7,_0x1b8efb:0xa7},_0x4b71bb={_0x23e8bb:0x164,_0x1c6f2c:0x73},_0x23971d={_0x47322a:0x16c,_0x187f2a:0x541},_0x39f865={_0x47e048:0x632,_0x3dce85:0x7d5,_0x14a76e:0x6fb,_0x33353d:0x7fb,_0x37c50f:0x2de,_0x36ae9d:0x5dd,_0x551340:0x5a4,_0x5a9dc4:0x74a,_0x352a99:0x882,_0x219761:0x625,_0x11ab45:0x7cf,_0x426923:0xa09,_0x352a65:0x978,_0x351581:0x882,_0x467a08:0x911,_0x270adc:0x601,_0x335ae9:0x697,_0x5122a5:0x631,_0x1df904:0x7d2,_0x231d52:0x4c4,_0x41424d:0x3b0,_0x10ab45:0x86f,_0x1b3e8c:0x7fb},_0x194a52={_0x218b03:0x87b,_0x25395f:0x4e4,_0x4af7bf:0x5f2,_0xe88e0e:0x353,_0x9a12cb:0x1b4,_0x51bb68:0x5ac,_0x4c4001:0x4f9,_0x31da40:0x6ec,_0x4b640c:0x6df,_0x1e69b2:0x71a,_0x48c655:0x869,_0x11cee0:0x4d4,_0x3cfde6:0x636},_0x15729a={_0x186c87:0x1e9},_0x41437b={_0x641164:0x140},_0x49641c={_0x546fcc:0x4a2,_0x59b354:0x57b,_0x5dc611:0x510,_0x3a1da7:0x47a,_0x492ded:0x4fc,_0x6ca3d:0x35c,_0x3de8ea:0x4e3,_0x2401c6:0x555,_0x4d4f9e:0x382,_0x159966:0x533,_0x374c06:0x60e,_0x5e2ff0:0x556,_0x4a514d:0x2a2,_0x1b26b8:0x361,_0x536723:0x5e7,_0x197d9a:0x3e4,_0x4eee6f:0x42a,_0x12fdf9:0x225,_0x47f8f3:0x654},_0x3a1b35={_0x26c4cc:0x54};let _0x26547c=_0x4a91f6??null,_0x23ca94=_0x321f25(()=>zl(_0x2a05a2),[_0x2a05a2]),_0x22e94e=_0x9278bc(_0x4c7be7=>{let _0x258037=0x0;for(let _0x4515aa=_0x4c7be7[_0x22da07(0x468,_0x49641c._0x546fcc,_0x49641c._0x59b354,0x36b)]-0x1;_0x4515aa>=0x0;_0x4515aa--){let _0x5d084f=_0x4c7be7[_0x4515aa];if(_0x5d084f[_0x7bf3bc(0x388,_0x49641c._0x5dc611,_0x49641c._0x3a1da7,_0x49641c._0x492ded)]?.[_0x22da07(0x66d,0x489,_0x49641c._0x6ca3d,0x33a)]===!0x0){_0x258037=_0x4c7be7[_0x7bf3bc(_0x49641c._0x3de8ea,0x500,_0x49641c._0x2401c6,_0x49641c._0x4d4f9e)]-_0x4515aa;break;}if(Gl(_0x5d084f)){_0x258037=_0x4c7be7[_0x7bf3bc(0x4e3,_0x49641c._0x159966,_0x49641c._0x374c06,_0x49641c._0x5e2ff0)]-_0x4515aa;break;}if(_0x4c7be7[_0x22da07(_0x49641c._0x4a514d,_0x49641c._0x546fcc,_0x49641c._0x1b26b8,_0x49641c._0x536723)]-_0x4515aa>0x0)break;}function _0x22da07(_0x4c902f,_0x3b7ab0,_0x502fe0,_0x5cd048){return _0x58a4(_0x3b7ab0- -_0x3a1b35._0x26c4cc,_0x4c902f);}function _0x7bf3bc(_0x55fd7b,_0x4a39ec,_0x207d2f,_0x202edb){return _0x58a4(_0x55fd7b- -0x13,_0x4a39ec);}return Math[_0x7bf3bc(_0x49641c._0x197d9a,_0x49641c._0x4eee6f,_0x49641c._0x12fdf9,0x344)](0x0,_0x4c7be7[_0x7bf3bc(_0x49641c._0x3de8ea,_0x49641c._0x47f8f3,0x4d0,0x5fe)]-_0x258037);},[]),_0x4c664c=_0x321f25(()=>_0x22e94e(_0x23ca94),[_0x23ca94,_0x22e94e]),_0x123864=_0x35b109['useRef']([]),_0x348ab5=_0x321f25(()=>{function _0x2c2b17(_0x538af1,_0x433940,_0x45d3ff,_0x349979){return _0x58a4(_0x433940-_0x41437b._0x641164,_0x45d3ff);}let _0x3ca744=_0x123864[_0x22b959(_0x194a52._0x218b03,0x6b3,_0x194a52._0x25395f,_0x194a52._0x4af7bf)],_0x1be3f5=_0x23ca94[_0x22b959(0x341,_0x194a52._0xe88e0e,_0x194a52._0x9a12cb,0x33b)](0x0,_0x4c664c),_0x59b7d9=_0x2ac003=>(_0x123864['current']=_0x2ac003,_0x2ac003);function _0x22b959(_0x47612f,_0x10abc4,_0x47006e,_0x12c791){return _0x58a4(_0x10abc4-_0x15729a._0x186c87,_0x12c791);}if(_0x3ca744[_0x22b959(0x847,0x6df,_0x194a52._0x51bb68,_0x194a52._0x4c4001)]===0x0||_0x4c664c<_0x3ca744[_0x2c2b17(0x54b,0x636,_0x194a52._0x31da40,0x51d)]||_0x1be3f5['length']>0x0&&_0x3ca744[0x0]?.['id']!==_0x1be3f5[0x0]?.['id'])return _0x59b7d9(_0x1be3f5);if(_0x4c664c>_0x3ca744[_0x22b959(0x7a9,_0x194a52._0x4b640c,_0x194a52._0x1e69b2,_0x194a52._0x48c655)]){let _0x6db6a5=_0x1be3f5['slice'](_0x3ca744[_0x2c2b17(_0x194a52._0x11cee0,_0x194a52._0x3cfde6,0x7ae,0x688)]);return _0x59b7d9([..._0x3ca744,..._0x6db6a5]);}return _0x3ca744;},[_0x23ca94,_0x4c664c]),_0x5aa512=_0x33ba43(!0x1),_0x44fe3f=_0x321f25(()=>{let _0x381094=_0x2a05a2[_0x3f2d98(_0x39f865._0x47e048,_0x39f865._0x3dce85,_0x39f865._0x14a76e,_0x39f865._0x33353d)]>0x0,_0xae529b=[];function _0xbd12f2(_0xe77dca,_0xf7a622,_0x4b7d21,_0x4e5447){return _0x58a4(_0x4b7d21-0x38c,_0xf7a622);}function _0x3f2d98(_0x1c8575,_0x774b0f,_0x51ee7a,_0x119968){return _0x58a4(_0x119968-0x305,_0x51ee7a);}return _0xae529b[_0xbd12f2(0x6f0,0x584,0x697,0x66a)]({'type':_0x3f2d98(_0x39f865._0x37c50f,_0x39f865._0x36ae9d,_0x39f865._0x551340,0x4c3),'id':'logo-'+_0x2f28f6}),(!_0x381094&&_0x26547c!==null&&_0x26547c[_0xbd12f2(_0x39f865._0x5a9dc4,0x856,_0x39f865._0x352a99,0x966)]>0x0||_0x5aa512[_0x3f2d98(_0x39f865._0x219761,0x910,0x8bb,_0x39f865._0x11ab45)])&&_0x26547c!==null&&_0x26547c[_0xbd12f2(_0x39f865._0x426923,_0x39f865._0x352a65,_0x39f865._0x351581,_0x39f865._0x467a08)]>0x0&&(_0xae529b[_0x3f2d98(0x49d,_0x39f865._0x270adc,_0x39f865._0x335ae9,0x610)]({'type':_0xbd12f2(0x809,0x4c3,_0x39f865._0x5122a5,_0x39f865._0x1df904),'id':_0xbd12f2(0x387,0x40e,_0x39f865._0x231d52,_0x39f865._0x41424d)+_0x2f28f6+'-'+_0x26547c[_0x3f2d98(0x93c,0x64d,_0x39f865._0x10ab45,_0x39f865._0x1b3e8c)],'sessions':_0x26547c}),_0x5aa512[_0x3f2d98(0x8a5,0x5d0,0x946,0x7cf)]=!0x0),_0xae529b['push'](..._0x348ab5),_0xae529b;},[_0x2f28f6,_0x26547c,_0x348ab5,_0x2a05a2[_0x380ed7(-_0x1c0838._0xae0e8d,0x19f,_0x1c0838._0x590bf0,_0x1c0838._0x505df8)]]),_0x362105=_0x321f25(()=>_0x23ca94[_0x380ed7(-0x3dc,-0x1ed,-0x2e8,-0x357)](_0x348ab5[_0x380ed7(0x396,0x19f,0xae,0x2c3)]),[_0x23ca94,_0x348ab5]);function _0x380ed7(_0x60d3e5,_0x7c8417,_0x756f90,_0x42674d){return _0x199b7d(_0x60d3e5-_0x23971d._0x47322a,_0x7c8417- -_0x23971d._0x187f2a,_0x756f90-0x5e,_0x60d3e5);}function _0x1dc9cf(_0x54da6f,_0x5f1b2b,_0x3a8b6e,_0x5b7810){return _0x3eba7a(_0x54da6f-_0x4b71bb._0x23e8bb,_0x5f1b2b-0x135,_0x5f1b2b,_0x3a8b6e-_0x4b71bb._0x1c6f2c);}return Wl[_0x1dc9cf(-0x16d,0x129,-0x29,-_0x1c0838._0x3f039d)](_0x1dc9cf(-0xee,0x128,-_0x1c0838._0xe8df3b,-_0x1c0838._0x2fdb1b),{'headerKey':_0x2f28f6,'staticCount':_0x4c664c,'staticItemsLength':_0x348ab5['length'],'visibleLength':_0x362105['length']}),_0x11473c(_0x37d716,{'flexDirection':_0x1dc9cf(_0x1c0838._0x1a9ad9,_0x1c0838._0x510cc8,_0x1c0838._0x3b82f7,_0x1c0838._0x449eda),'flexShrink':0x1,'flexGrow':0x1,'overflow':_0x380ed7(-_0x1c0838._0x142ba6,_0x1c0838._0x38ec15,-_0x1c0838._0x38468d,-0x91),'children':[_0x44fe3f[_0x380ed7(0x1ae,_0x1c0838._0xf06b6a,_0x1c0838._0x36ed99,_0x1c0838._0x16a6aa)]>0x0&&_0x18a799(_0x215ca5,{'items':_0x44fe3f,'children':_0x47216a=>_0x47216a[_0x380ed7(0x1c1,0x13c,0x1f2,0x5b)]===_0x1dc9cf(-0xd3,-0x1ec,-0x8c,-0x24c)?_0x18a799(vs,{},_0x47216a['id']):_0x47216a[_0x1dc9cf(0x292,0x299,0x249,0x88)]===_0x380ed7(-0x1df,-0xb2,-0x95,-0x44)&&_0x47216a[_0x1dc9cf(-0x196,0x18a,0x5b,0x10)]?_0x18a799(ur,{'recentSessions':_0x47216a[_0x1dc9cf(-0x64,0xa0,0x5b,0x9f)]},_0x47216a['id']):_0x18a799(Qt,{'message':_0x47216a},_0x47216a['id'])}),_0x362105[_0x1dc9cf(_0x1c0838._0x2112cd,0x3e4,0x2a8,_0x1c0838._0x1b8efb)](_0x8b8e74=>_0x18a799(Qt,{'message':_0x8b8e74},_0x8b8e74['id']))]});},ql=_0x35b109[_0x3eba7a(0xa5,0x1ed,-0x3,0x1a0)](Yl);import{createContext as _0x15dd6d,useContext as _0x1f5c9f,useState as _0x1a84c1,useCallback as _0x4fe60e,useEffect as _0x3116d0,useMemo as _0x2675d5}from'react';import{jsx as _0x14e2bc}from'react/jsx-runtime';var ws=_0x15dd6d(null);function wy({children:_0xf2949a,initialConfig:_0x1703ac={}}){const _0x54da7f={_0x39c1ef:0x3e4},_0x33e7ad={_0x426beb:0x9d},_0x2df63a={_0x3a0d79:0xf2,_0xc77897:0x18,_0x52180e:0xc4,_0x415810:0x46,_0x36cfba:0xc2,_0x172529:0x80},_0x2b7b26={_0x3525da:0x111},_0x4e37fd={_0x486197:0x61a,_0x338bde:0x540,_0x1bac70:0x30b},_0x3b78b6={_0x58e37c:0x1f0},_0x32eb40={_0x4f4ea7:0x3b4,_0x36b44e:0x1a},_0x30611c={_0xe76e28:0x88a,_0x2f6534:0x698,_0x134e64:0x9a,_0x251ee1:0x13d},_0x44b05c={_0x1a5121:0x1d1,_0x375ccd:0x196},_0x50d916={_0x34f1c5:0x10b},_0x580034={_0x56ce99:0x6de,_0x46abc3:0x74e,_0xc3d031:0x5ab,_0x2b87bd:0xc,_0x3ba2b9:0x72,_0x262a1e:0x497};let [_0x5017b4,_0x37504a]=_0x1a84c1(_0x1703ac),[_0x591f47,_0x521e85]=_0x1a84c1(),_0x32204a=Ge['getInstance']();_0x3116d0(()=>{const _0x1d9a0a={_0x2a073f:0x2a1,_0xa9fcec:0x3e9,_0x4542e2:0x7a,_0x294bb6:0x12a,_0x1a6947:0x153,_0x412118:0x8c,_0xad519f:0x172},_0xc6698d={_0x8cb599:0x3};function _0x4dc26a(_0x5d806b,_0x11de49,_0x1a3beb,_0x202b3f){return _0x58a4(_0x202b3f-0xfd,_0x11de49);}let _0x47db52=async()=>{function _0x9eb3e5(_0x377d50,_0x40adfc,_0x36edf4,_0x4fb610){return _0x58a4(_0x377d50- -0x9d,_0x4fb610);}function _0x1ffd72(_0x2409cf,_0x494b52,_0x4f7cdf,_0x1db906){return _0x58a4(_0x2409cf-_0xc6698d._0x8cb599,_0x494b52);}try{await _0x32204a[_0x1ffd72(_0x1d9a0a._0x2a073f,0x172,_0x1d9a0a._0xa9fcec,0x313)]();let _0x3e3188=_0x32204a[_0x9eb3e5(0xc9,0x1cc,-0xa9,-_0x1d9a0a._0x4542e2)]();_0x37504a(_0x3e3188);let _0xd339a9=_0x32204a['getCurrentProfile']();_0x521e85(_0xd339a9);}catch(_0x2c48f3){console[_0x1ffd72(_0x1d9a0a._0x294bb6,_0x1d9a0a._0x1a6947,-_0x1d9a0a._0x412118,0x78)](_0x9eb3e5(0x7e,0x16,_0x1d9a0a._0xad519f,0x187),_0x2c48f3);}};function _0x1be6bc(_0x1fdf5a,_0x21e438,_0x893a8b,_0x1858de){return _0x58a4(_0x1858de- -0x365,_0x21e438);}if(Object[_0x4dc26a(_0x580034._0x56ce99,0x448,_0x580034._0x46abc3,0x593)](_0x1703ac)[_0x4dc26a(_0x580034._0xc3d031,0x49a,0x4d7,0x5f3)]>0x0){_0x32204a[_0x1be6bc(0x26c,_0x580034._0x2b87bd,-0x184,_0x580034._0x3ba2b9)]=_0x1703ac;let _0x21a7cc=_0x32204a[_0x4dc26a(0x44e,0x491,0x586,_0x580034._0x262a1e)]();_0x521e85(_0x21a7cc);}else _0x47db52();},[_0x32204a,_0x1703ac]);function _0x382a81(_0x504658,_0x149671,_0xdc8df9,_0x5a5cf6){return _0x199b7d(_0x504658-0x6f,_0x5a5cf6-0x67,_0xdc8df9-0x1c1,_0x149671);}let _0x3d612c=_0x4fe60e((_0x1602e1,_0x295b05)=>_0x32204a[_0x28724c(0x57b,0x42f,0x4e9,0x524)](_0x1602e1,_0x295b05),[_0x32204a]),_0x1e046c=_0x4fe60e(async(_0x4533d0,_0x418431,_0x1196ad=_0x28724c(0x58b,0x32e,0x52e,0x6b4))=>{function _0x2af15d(_0x1c7837,_0x5d23dc,_0x2ba974,_0x5ee659){return _0x28724c(_0x5ee659,_0x5d23dc-_0x50d916._0x34f1c5,_0x5d23dc- -0x25e,_0x5ee659-0xf8);}function _0x2688c2(_0x48e887,_0x40e0d3,_0x140690,_0x613232){return _0x28724c(_0x140690,_0x40e0d3-_0x44b05c._0x1a5121,_0x613232-0x296,_0x613232-_0x44b05c._0x375ccd);}try{await _0x32204a[_0x2688c2(0x4a8,0x821,_0x30611c._0xe76e28,_0x30611c._0x2f6534)](_0x4533d0,_0x418431,_0x1196ad);let _0x1bb330=_0x32204a['getConfig']();_0x37504a(_0x1bb330);}catch(_0x4c4da2){throw console[_0x2af15d(_0x30611c._0x134e64,-0x44,-0x10e,_0x30611c._0x251ee1)](_0x2af15d(0x432,0x347,0x22c,0x242)+_0x4533d0+':',_0x4c4da2),_0x4c4da2;}},[_0x32204a]),_0x4c0fba=_0x4fe60e(async(_0x31504a,_0x53c80f=_0x382a81(0x82f,0x6bf,0x782,0x68c))=>{function _0x322e90(_0x20cd8e,_0x4ef943,_0x4fefda,_0x4ae059){return _0x28724c(_0x4ef943,_0x4ef943-0xbf,_0x4ae059- -_0x32eb40._0x4f4ea7,_0x4ae059-_0x32eb40._0x36b44e);}function _0xb82443(_0x30b2e6,_0x349b7d,_0x18b6c1,_0x17b98a){return _0x382a81(_0x30b2e6-0x28,_0x349b7d,_0x18b6c1-_0x3b78b6._0x58e37c,_0x18b6c1-0x3c);}try{await _0x32204a[_0xb82443(0x79a,0x445,_0x4e37fd._0x486197,_0x4e37fd._0x338bde)](_0x31504a,_0x53c80f);let _0xd555a9=_0x32204a['getConfig']();_0x37504a(_0xd555a9);}catch(_0xd15ae7){throw console[_0x322e90(-0x34d,-_0x4e37fd._0x1bac70,-0x2fe,-0x19a)]('Failed\x20to\x20delete\x20config\x20'+_0x31504a+':',_0xd15ae7),_0xd15ae7;}},[_0x32204a]),_0x596ce7=_0x4fe60e(async()=>{const _0x67e09c={_0x38e49d:0x26d,_0x1d48d8:0x176};function _0x40288a(_0x5e48b6,_0x4a9a15,_0x37f241,_0x502a5d){return _0x28724c(_0x502a5d,_0x4a9a15-0xe6,_0x5e48b6- -_0x67e09c._0x38e49d,_0x502a5d-_0x67e09c._0x1d48d8);}function _0x59a421(_0xe59912,_0x3cf595,_0x5e6876,_0x5c14f5){return _0x382a81(_0xe59912-_0x2b7b26._0x3525da,_0x5c14f5,_0x5e6876-0x12e,_0x3cf595- -0x3fd);}try{await _0x32204a[_0x59a421(0xcc,_0x2df63a._0x3a0d79,0x254,_0x2df63a._0xc77897)]();let _0x27132e=_0x32204a[_0x59a421(-_0x2df63a._0x52180e,-_0x2df63a._0x415810,-_0x2df63a._0x36cfba,-0x204)]();_0x37504a(_0x27132e);}catch(_0x2ac4ce){throw console[_0x40288a(-0x53,0x166,0x9c,-_0x2df63a._0x172529)]('Failed\x20to\x20reload\x20config:',_0x2ac4ce),_0x2ac4ce;}},[_0x32204a]),_0x1c68e7=_0x4fe60e(()=>_0x591f47,[_0x591f47]),_0x1978c1=_0x2675d5(()=>({'config':_0x5017b4,'get':_0x3d612c,'set':_0x1e046c,'delete':_0x4c0fba,'reload':_0x596ce7,'getCurrentProfile':_0x1c68e7}),[_0x5017b4,_0x3d612c,_0x1e046c,_0x4c0fba,_0x596ce7,_0x1c68e7]);function _0x28724c(_0x35c8c8,_0xfd4632,_0x164487,_0x236b1e){return _0x199b7d(_0x35c8c8-0x3d,_0x164487- -0xf7,_0x164487-_0x33e7ad._0x426beb,_0x35c8c8);}return _0x14e2bc(ws[_0x28724c(0x145,_0x54da7f._0x39c1ef,0x271,0x346)],{'value':_0x1978c1,'children':_0xf2949a});}function eo(){const _0x530c72={_0x11c179:0x6f},_0x43d1ae={_0x169cba:0x46,_0x3ced86:0x235};let _0x3d30cb=_0x1f5c9f(ws);if(!_0x3d30cb)throw new Error(_0x23573f(0xa8,0xae,_0x530c72._0x11c179,0x205));function _0x23573f(_0x1dbd28,_0x669c73,_0x356ea8,_0x5685c9){return _0x3eba7a(_0x1dbd28-_0x43d1ae._0x169cba,_0x669c73-0x19e,_0x356ea8,_0x5685c9-_0x43d1ae._0x3ced86);}return _0x3d30cb;}import _0x265ae0 from'react';import{Box as _0x177abb,Text as _0xcaf4ce}from'ink';import*as _0x8d564d from'os';import{execSync as _0x3ffd1a}from'child_process';var Ss={'OFF':_0x199b7d(0x4fc,0x307,0x229,0x177),'LOW':'LOW','MEDIUM':_0x199b7d(0x4b6,0x631,0x505,0x439),'HIGH':_0x199b7d(0x56e,0x549,0x53d,0x5b1)};import{jsx as _0x19e0bb,jsxs as _0x5a8714}from'react/jsx-runtime';var nc=({status:_0x525e1d,lastMetadata:_0x3f5e77,accumulatedCost:_0x34c83d=0x0,vimModeEnabled:_0x113af4=!0x1,vimMode:_0x24ce45='insert',workingDirectory:_0x23a9e9,sessionId:_0x4e4c5f})=>{const _0xb194d0={_0x287ba0:0xb9,_0x7e43a8:0x2de,_0x53625c:0x548,_0x3689c7:0x36f,_0x495c25:0x2c8,_0x1dd216:0x32f,_0x4d0143:0x46e,_0xd57cf8:0x477,_0x1f26ac:0x44c,_0x5078cd:0x4e6,_0x30d039:0x4e8,_0x1a8e44:0x5ca,_0x507e1e:0x437,_0x4e19d5:0x590,_0x223847:0x686,_0x5b280a:0x4e6,_0x3619ec:0xe3,_0x9126b1:0x2da,_0x168413:0x2bf,_0x2dda18:0x198,_0x470199:0x3d8,_0x4abffc:0x1f1,_0x148e2a:0x3f1,_0xe54c5c:0x2f6,_0x58068a:0x4b5,_0x3f55f6:0x58f,_0x1916a8:0x561,_0x316578:0x687,_0x494221:0x31e,_0x4ae5e8:0x302,_0x31af07:0x1b9,_0x1d0e5a:0x5a0,_0x42f09a:0x273,_0x5a34dd:0x4dd,_0x49c004:0x4a3,_0x24114d:0x4d4,_0x473cf2:0x12a,_0x2dad1a:0x252,_0x173bfc:0x3e6,_0x32242d:0x3fe,_0x4cf170:0x41e,_0x28a2ee:0x450,_0x55c398:0x3eb,_0x36e0d0:0x11f,_0x2b8571:0x2b7,_0x229eaa:0x2d0,_0x4b78df:0x26a,_0x52b066:0x5dc,_0xad58ec:0x33d,_0x2edfec:0x300,_0xddef7f:0x442,_0x17b2fe:0x710,_0x3cd499:0x5c3,_0x6d35a8:0x45d,_0x23ba0e:0x3e2,_0x40abda:0x29c,_0x521b0c:0x237,_0x50dab9:0x4e1,_0x40eaf0:0x3de,_0x37559f:0x533,_0x56960e:0x300,_0x2a6a87:0x42c,_0x168164:0x22c,_0x3b768e:0xbd,_0x4421d3:0x52,_0x5ca071:0x49c,_0x2df8fc:0x35d,_0x42de8c:0x219,_0x27380c:0x378,_0x5c2311:0x17,_0x44a802:0x22c,_0x507630:0x27a,_0x4b4330:0x416,_0x439166:0x244,_0x481a3d:0x4a7,_0x58b539:0x14d,_0x51e537:0x295,_0x4cbd7e:0x166,_0x44924f:0x323,_0x18e5db:0x740,_0x347d77:0x6b3,_0x1beaf8:0x676,_0x27f27b:0x268,_0x4303c1:0x43e,_0x5c0d41:0x518,_0x454615:0x5e2,_0xd592c1:0x76e,_0x32f40a:0x5de,_0xf483cd:0x3d3,_0x5704a3:0x544,_0x26a2d0:0x48a,_0x10f47c:0x43e,_0x547dc4:0x2f4,_0x4d6b1f:0x59e,_0x5aa521:0x661,_0x579390:0x5b2,_0x5752ea:0x1ec,_0x566695:0x245,_0xcca7d1:0x166},_0x49d443={_0x2124da:0xbb};let {notification:_0x4d9c3d}=zo(),{theme:_0x3d5591}=D(),{toolApprovalMode:_0x3d8dc5}=Ae(),{explainMode:_0x3970e5}=ke(),{get:_0x47547f,getCurrentProfile:_0x93fc31}=eo(),_0x5782db=_0x47547f(_0xba4d41(0x3a5,0x21f,_0xb194d0._0x287ba0,_0xb194d0._0x7e43a8)),_0x4390a2=_0x47547f(_0x1019c8(0x451,_0xb194d0._0x53625c,_0xb194d0._0x3689c7,_0xb194d0._0x495c25)),_0xed311=_0x47547f(_0x1019c8(0x3fd,_0xb194d0._0x1dd216,_0xb194d0._0x4d0143,_0xb194d0._0xd57cf8)),_0x4b347d=_0x93fc31?.();function _0xba4d41(_0x3017a4,_0x354d2d,_0x190cf5,_0x526df3){return _0x199b7d(_0x3017a4-0x177,_0x354d2d- -0x128,_0x190cf5-0x124,_0x190cf5);}function _0x1019c8(_0x4a5e5d,_0x1f7651,_0x3cd62a,_0x3023a7){return _0x3eba7a(_0x4a5e5d-_0x49d443._0x2124da,_0x1f7651-0x68,_0x3023a7,_0x3cd62a-0x45e);}return _0x5a8714(_0x177abb,{'justifyContent':_0xba4d41(_0xb194d0._0x1f26ac,_0xb194d0._0x5078cd,0x31d,0x401),'flexDirection':_0x1019c8(0x3ff,_0xb194d0._0x30d039,_0xb194d0._0x1a8e44,_0xb194d0._0x507e1e),'borderStyle':_0xba4d41(0x4dd,_0xb194d0._0x4e19d5,_0xb194d0._0x223847,0x776),'borderTopDimColor':!0x0,'borderTop':!0x0,'borderBottom':!0x1,'borderLeft':!0x1,'borderRight':!0x1,'children':[_0x5a8714(_0x177abb,{'justifyContent':_0xba4d41(0x5c1,_0xb194d0._0x5b280a,0x530,0x46a),'children':[_0x3970e5?_0x19e0bb(_0xcaf4ce,{'color':_0x3d5591['tokens'][_0x1019c8(_0xb194d0._0x3619ec,0x427,_0xb194d0._0x9126b1,0x4c3)],'bold':!0x0,'children':_0x1019c8(0x3c6,0x4e8,0x404,0x55b)}):_0x4d9c3d?_0x19e0bb(_0xcaf4ce,{'color':_0x3d5591[_0x1019c8(0x2c8,0x492,_0xb194d0._0x168413,0xc8)][_0x1019c8(_0xb194d0._0x2dda18,0x1b3,_0xb194d0._0x9126b1,0x345)],'children':_0x4d9c3d||''}):_0x5a8714(_0x177abb,{'children':[_0x113af4&&_0x5a8714(_0xcaf4ce,{'color':_0x3d5591[_0xba4d41(_0xb194d0._0x470199,_0xb194d0._0x4abffc,_0xb194d0._0x148e2a,0x3d7)][_0xba4d41(_0xb194d0._0xe54c5c,_0xb194d0._0x58068a,0x45b,0x453)],'dimColor':!0x0,'children':[_0x24ce45===_0xba4d41(0x6d3,_0xb194d0._0x3f55f6,_0xb194d0._0x1916a8,_0xb194d0._0x316578)?_0x1019c8(0x3c3,_0xb194d0._0x494221,_0xb194d0._0x4ae5e8,_0xb194d0._0x31af07):_0x1019c8(0x43f,0x5a1,_0xb194d0._0x1d0e5a,0x555),_0x1019c8(0x4b6,0x1b6,0x396,_0xb194d0._0x42f09a)]}),_0x19e0bb(_0xcaf4ce,{'color':_0x3d5591[_0x1019c8(0x255,0x3a1,0x2d0,0x1b7)]['status'],'dimColor':!0x0,'children':[_0x4b347d&&_0x4b347d!==_0xba4d41(0x623,_0xb194d0._0x5a34dd,0x567,0x3c4)?_0x4b347d:null,_0x4390a2+':'+_0xed311,_0x4e4c5f&&_0x1019c8(0x2d1,_0xb194d0._0x49c004,_0xb194d0._0x24114d,0x5f8)+_0x4e4c5f,_0x5782db&&_0x5782db!==Ss['OFF']?_0xba4d41(_0xb194d0._0x473cf2,_0xb194d0._0x2dad1a,0x70,0x1d6)+_0x5782db:'',_0x3d8dc5?'':_0xba4d41(0x2b1,0x3d3,0x3cb,0x253)][_0xba4d41(0x46a,0x40c,0x587,_0xb194d0._0x173bfc)](Boolean)[_0xba4d41(0x197,0x2d0,0x255,_0xb194d0._0x32242d)]('\x20|\x20')})]}),!_0x3970e5&&_0x3f5e77?.[_0x1019c8(0x401,_0xb194d0._0x4cf170,_0xb194d0._0x28a2ee,_0xb194d0._0x55c398)]?_0x5a8714(_0x177abb,{'children':[_0x19e0bb(_0xcaf4ce,{'color':_0x3d5591[_0xba4d41(_0xb194d0._0x36e0d0,_0xb194d0._0x4abffc,0x1bd,0x3f2)][_0xba4d41(0x350,0x38f,0x58d,0x204)],'dimColor':!0x0,'bold':!0x0,'children':'Tokens:'}),_0x5a8714(_0xcaf4ce,{'color':_0x3d5591[_0x1019c8(0x38b,_0xb194d0._0x2b8571,_0xb194d0._0x229eaa,_0xb194d0._0x4b78df)][_0x1019c8(_0xb194d0._0x52b066,0x358,0x46e,_0xb194d0._0xad58ec)],'bold':!0x0,'children':['\x20',to(_0x3f5e77['totalTokens'])]}),_0x5a8714(_0xcaf4ce,{'color':_0x3d5591[_0xba4d41(0x295,0x1f1,_0xb194d0._0x2edfec,0x67)]['model'],'dimColor':!0x0,'children':['\x20','(↑',to(_0x3f5e77[_0x1019c8(_0xb194d0._0xddef7f,_0xb194d0._0x17b2fe,_0xb194d0._0x3cd499,0x73e)]),'\x20↓',to(_0x3f5e77[_0xba4d41(0x3dd,0x4cd,_0xb194d0._0x6d35a8,_0xb194d0._0x23ba0e)]),')']}),_0x3f5e77[_0x1019c8(_0xb194d0._0x40abda,0x1ff,0x303,0x425)]!==void 0x0&&_0x3f5e77['cachedTokens']>0x0&&_0x5a8714(_0xcaf4ce,{'color':_0x3d5591[_0x1019c8(_0xb194d0._0x521b0c,0x2ec,_0xb194d0._0x168413,0xe3)][_0x1019c8(0x436,0x5d1,_0xb194d0._0x50dab9,_0xb194d0._0x40eaf0)],'dimColor':!0x0,'children':['\x20',_0x1019c8(_0xb194d0._0x37559f,_0xb194d0._0x56960e,_0xb194d0._0x2a6a87,0x5f8),to(_0x3f5e77[_0xba4d41(_0xb194d0._0x168164,0x224,_0xb194d0._0x3b768e,_0xb194d0._0x4421d3)])]}),_0x34c83d>0x0&&_0x5a8714(_0xcaf4ce,{'color':_0x3d5591[_0x1019c8(0x36d,_0xb194d0._0x5ca071,0x2bf,0xbe)]['cyan'],'dimColor':!0x0,'children':['\x20',_0xba4d41(_0xb194d0._0x2df8fc,_0xb194d0._0x42de8c,0x326,_0xb194d0._0x27380c),sc(_0x34c83d)]})]}):null]}),_0x23a9e9&&_0x5a8714(_0x177abb,{'paddingTop':0x0,'backgroundColor':_0x3d5591[_0xba4d41(0x54,0x1f1,_0xb194d0._0x5c2311,0x128)][_0xba4d41(_0xb194d0._0x44a802,_0xb194d0._0x507630,_0xb194d0._0x4b4330,_0xb194d0._0x439166)],'justifyContent':_0xba4d41(0x42c,0x4e6,0x568,_0xb194d0._0x481a3d),'children':[_0x5a8714(_0x177abb,{'children':[_0x19e0bb(_0xcaf4ce,{'color':_0x3d5591[_0x1019c8(0x213,_0xb194d0._0x58b539,0x2d0,0xf2)]['currentDir'],'children':ic(_0x23a9e9)}),_0x19e0bb(_0xcaf4ce,{'dimColor':!0x0,'color':_0x3d5591[_0xba4d41(_0xb194d0._0x51e537,0x1f1,0x64,_0xb194d0._0x4cbd7e)][_0xba4d41(0x15b,0x31e,0x1f0,_0xb194d0._0x44924f)],'children':Ms(_0x23a9e9)&&':'+Ms(_0x23a9e9)})]}),_0x19e0bb(_0x177abb,{'children':_0x5a8714(_0xcaf4ce,{'dimColor':!0x0,'children':[_0x19e0bb(_0xcaf4ce,{'color':_0x3d5591[_0x1019c8(_0xb194d0._0x18e5db,_0xb194d0._0x347d77,0x544,_0xb194d0._0x1beaf8)][_0xba4d41(_0xb194d0._0x27f27b,_0xb194d0._0x4303c1,0x33a,0x350)],'children':'/'}),'\x20command','\x20·\x20',_0x19e0bb(_0xcaf4ce,{'color':_0x3d5591['colors']['accent'],'children':'ESC×2'}),_0x1019c8(0x386,0x61a,_0xb194d0._0x5c0d41,0x6ae),_0xba4d41(_0xb194d0._0x454615,0x5bc,0x435,_0xb194d0._0xd592c1),_0x19e0bb(_0xcaf4ce,{'color':_0x3d5591[_0x1019c8(_0xb194d0._0x32f40a,_0xb194d0._0xf483cd,_0xb194d0._0x5704a3,_0xb194d0._0x26a2d0)][_0xba4d41(0x2f2,_0xb194d0._0x10f47c,_0xb194d0._0x547dc4,_0xb194d0._0x4d6b1f)],'children':_0x1019c8(0x6c9,0x782,_0xb194d0._0x5aa521,_0xb194d0._0x579390)}),_0xba4d41(_0xb194d0._0x5752ea,0x2e5,_0xb194d0._0x566695,_0xb194d0._0xcca7d1)]})})]})]});},to=_0x310666=>_0x310666==null?'-':_0x310666>=0x3e8?(_0x310666/0x3e8)[_0x3eba7a(0x67,0x2da,0xc8,0x1d3)](0x1)+'k':_0x310666['toString'](),sc=_0x520627=>_0x520627===0x0?_0x199b7d(0x82b,0x6f0,0x74a,0x789):_0x520627<0.01?_0x520627[_0x199b7d(0x530,0x67a,0x6c2,0x6db)](0x4):_0x520627<0x1?_0x520627[_0x3eba7a(-0x2c,0x2ee,0x268,0x1d3)](0x3):_0x520627[_0x3eba7a(0x47,0x295,0x1a0,0x1d3)](0x2),ic=_0x3090c7=>{const _0x51d6a4={_0x126b2b:0x234,_0x4d2f25:0x57,_0x3180f4:0x11b,_0x21df1c:0x2d3},_0x4b9dba={_0x462ba3:0x18,_0x343283:0x3cd},_0x526436={_0x4e35cc:0x17,_0x5f1fab:0x540};let _0x5a8ee5=_0x8d564d[_0xe696f7(0x214,0x1f2,_0x51d6a4._0x126b2b,_0x51d6a4._0x4d2f25)]();function _0x5a8165(_0x3d077b,_0x5b2ebb,_0x338dde,_0x3afe37){return _0x199b7d(_0x3d077b-_0x526436._0x4e35cc,_0x338dde- -_0x526436._0x5f1fab,_0x338dde-0x76,_0x5b2ebb);}function _0xe696f7(_0x1b6c1a,_0x215f61,_0x5859bb,_0x28a5aa){return _0x199b7d(_0x1b6c1a-_0x4b9dba._0x462ba3,_0x5859bb- -_0x4b9dba._0x343283,_0x5859bb-0x9a,_0x1b6c1a);}return _0x3090c7[_0x5a8165(-0x77,-0x1a5,-_0x51d6a4._0x3180f4,-_0x51d6a4._0x21df1c)](_0x5a8ee5,'~');},Ms=_0x74de86=>{const _0xd9e118={_0x161dbb:0x4d2,_0x431bea:0x72a,_0x30a11a:0x55d,_0x2529bd:0x4c1,_0xb38e4c:0x83d,_0x2d4401:0x88},_0x190549={_0x113bcf:0x1c4,_0x470e66:0x1ca,_0x4c090a:0x1b6},_0x4a7cd4={_0x2d8b38:0x475,_0x2d3170:0x2d};function _0x14990a(_0x49a516,_0x5d5ced,_0x33aacc,_0x5c9ec7){return _0x199b7d(_0x49a516-0xb9,_0x5d5ced- -_0x4a7cd4._0x2d8b38,_0x33aacc-_0x4a7cd4._0x2d3170,_0x5c9ec7);}function _0x64eb9c(_0x555fdb,_0x575642,_0xc179a9,_0x5438e3){return _0x199b7d(_0x555fdb-_0x190549._0x113bcf,_0xc179a9-_0x190549._0x470e66,_0xc179a9-_0x190549._0x4c090a,_0x575642);}try{return _0x3ffd1a(_0x64eb9c(0x4bf,0x574,0x570,_0xd9e118._0x161dbb),{'cwd':_0x74de86,'encoding':_0x64eb9c(_0xd9e118._0x431bea,_0xd9e118._0x30a11a,0x5c3,_0xd9e118._0x2529bd),'stdio':['pipe',_0x64eb9c(0x70c,0x7ef,0x5fc,0x5ed),_0x64eb9c(0x631,0x82d,0x6b5,_0xd9e118._0xb38e4c)]})[_0x14990a(-_0xd9e118._0x2d4401,-0x148,-0x27e,0x3d)]();}catch{return null;}},ac=_0x265ae0[_0x3eba7a(0x1fc,0x350,0x393,0x1a0)](nc);import{forwardRef as _0x3638ad,useMemo as _0x5f13e2,useCallback as _0x1ddfcc,useRef as _0x4a25b8,useEffect as _0x2a155e,useState as _0x26aef7}from'react';import{Box as _0x30c6a9,Text as _0x205d94}from'ink';import{useInput as _0x513736}from'ink';import{useState as _0x1af983}from'react';import{Box as _0x2ded93,useInput as _0x43a2c3,Text as _0x5e000e}from'ink';import{Box as _0x54fdae,Text as _0x30a12a}from'ink';import{useMemo as _0x51d687}from'react';import{Box as _0x40ddd5,Text as _0x5180ec}from'ink';import{jsx as _0x441837}from'react/jsx-runtime';function dc(_0xaaff7){const _0x4473ff={_0x3632aa:0x1ae,_0xd477f4:0x73,_0x3ab9b5:0x116},_0x2f4908={_0x4d242a:0x13c,_0x37d377:0x1be},_0x20ff91={_0x2f66aa:0xe0};function _0x218a36(_0x579694,_0x15bf01,_0x1ccead,_0x499eae){return _0x199b7d(_0x579694-_0x20ff91._0x2f66aa,_0x1ccead- -0x421,_0x1ccead-0x1e6,_0x15bf01);}function _0x4375c7(_0x47e847,_0x327a37,_0x54cc62,_0x5923d3){return _0x3eba7a(_0x47e847-_0x2f4908._0x4d242a,_0x327a37-_0x2f4908._0x37d377,_0x47e847,_0x327a37-0xab);}try{return _0xaaff7['function']['arguments']?JSON['parse'](_0xaaff7[_0x4375c7(-0x21,_0x4473ff._0x3632aa,_0x4473ff._0xd477f4,0x1e8)][_0x218a36(0x403,0x1c9,0x258,_0x4473ff._0x3ab9b5)]):null;}catch{return null;}}function Is({call:_0x508c99}){const _0x451aa4={_0x2e73a7:0x91,_0xd4629b:0x9f,_0x900add:0x12c,_0x2fc7d2:0x344,_0x4cf839:0x321,_0xec0edd:0x1d1,_0x24026b:0x126,_0x4242fc:0x1bb,_0x2a685e:0xfb,_0x21dfd1:0x8b},_0x121607={_0xa7eaab:0xb0,_0x104c3b:0x267,_0x7a3869:0x40},_0x4daacf={_0x10af1f:0x1d9};function _0x3b5237(_0x268545,_0x480939,_0x2529cf,_0x227bef){return _0x199b7d(_0x268545-_0x4daacf._0x10af1f,_0x268545- -0x2f2,_0x2529cf-0xe4,_0x227bef);}let _0x237bca=_0x51d687(()=>dc(_0x508c99),[_0x508c99]),_0x5053c3=_0x508c99['metadata']?.[_0x3b5237(_0x451aa4._0x2e73a7,_0x451aa4._0xd4629b,-_0x451aa4._0x900add,-0xe7)];function _0x22d3b9(_0x6e7584,_0x5470ce,_0x3d2a78,_0x2ff58d){return _0x199b7d(_0x6e7584-_0x121607._0xa7eaab,_0x2ff58d- -_0x121607._0x104c3b,_0x3d2a78-_0x121607._0x7a3869,_0x3d2a78);}return _0x237bca?_0x441837(zt,{'blocks':[{'search':_0x237bca[_0x3b5237(0x105,0x153,0x32,-0x90)],'replace':_0x237bca[_0x3b5237(0x23c,_0x451aa4._0x2fc7d2,_0x451aa4._0x4cf839,_0x451aa4._0xec0edd)]}],'filePath':_0x237bca['file_path'],'lineNumbers':_0x5053c3,'showPath':!0x1}):_0x441837(_0x40ddd5,{'marginTop':0x1,'children':_0x441837(_0x5180ec,{'color':_0x22d3b9(0x8d,_0x451aa4._0x24026b,_0x451aa4._0x4242fc,0x125),'children':_0x3b5237(_0x451aa4._0x2a685e,_0x451aa4._0x21dfd1,0x2fa,0xa1)})});}import{useMemo as _0x4aa596}from'react';import{Box as _0x1a9797,Text as _0x41c327}from'ink';function _0x2e83(){const _0x3b23ea=['DxjS','Dg9VBefWChjVDMfS','mte2ntqYmtreEKLcBKe','C2XVD19KB3DU','zNjVBq','q29TBwfUzcbMywLSzwq6ia','pdXUDxzPBI1HDhrHy2HTzw50lq','B3jNoMnYzwf0zv9HCgLFA2v5ihvZzxi6ChjVzMLSzsb1C2vYoMLUzMvYzw5Jzq','BMv3tgLUzu51Bq','yxnZAwDUx3rHC2S','y29TCgXLDgLVBLrVA2vUCW','z3b0ltqUmq','zwnOBY1TB2rLBa','zMv0y2GGzMfPBgvK','B3bLBMfPl2DWDc00lJe','C2vJB25Kyxj5','BMv0D29YAW','DhjHBNnWyxjLBNq','BgLZDgL0zw0','ugvYBwLZC2LVBKrLBMLLza','uNvUignVBw1HBMq','v2vSy29Tzsb0BWRILOJILOJILOJILzCGicdILOJILOJILzCG4PAi4PAi4PwxicaG4PAi4PAi4PwxiokwIokwIokvLYaGiokwIokwIokvLYdILOJILOJILzCG4PAi4PAi4PAi4PwxicaG4PAi4PAi4PwxcUkwIokwIokvLokwIokwIokvLYdILOJILOJILzeG4PAi4PAi4PwricaG4PAi4PAi4PwriokwIokwIokvKsaGiokwIokwIokvKsdILOJILOJILzeG4PAi4PAi4Pwu4PAi4PAi4PwxiokwIokwIokvKqRILOJILOJILzhILzRILOJILOJILzFILOJILOJILzeG4PAi4PAi4PwricaG4PAi4PAi4PwriokvMUkwIokwIokvLYdILOJILOJILztILz0G4PAi4PAi4PwriokwIokwIokvKEkvMUkwIokwIokvL+kwIokwIokvKqRILOJILOJILzeG4PwA4PAi4PAi4PAi4PAi4PwriokvMUkwIokwIokwIokwIokwIokwIokvLokvNsaG4PwA4PAi4PAi4PAi4PAi4Pwu4PwDicdILOJILOJILzeG4PAi4PAi4PwriokvMUkwIokwIokwIokwIokvKqRILzRILzdILz0GiokvMUkvKokvKokvKokvNsaG4PwA4Pwq4Pwq4Pwq4Pwq4Pwq4PwDicaGiokvMUkvKokvKokvKokvNsaGiokvMUkvKokvNsdILzRILzdILz0GiokvMUkvKokvKokvKokvNq','Ag9TzwrPCG','CM93','lM51DMLUx21JCc5QC29U','uMv0CNKGzMfPBgvK','zgvMyxvSDa','lM51DMLUlwnSAq','kfXtkd86ihWGicK/ksGOpZO','q3vZDg9TihbYB3zPzgvY','B3jJAgvZDhjHDg9Y','ywDLBNq','t3bLBMLUzYbICM93C2vYlI4U','ChjVBxb0vg9Rzw5Z','zg93BKfYCM93','C3bHy2uTyMv0D2vLBG','BwvZC2fNzq','BM9Uzq','BwvTugvYC2LZDa','4PEpifTHC3nPC3rHBNrD','y29SDw1U','neDPyw5KvW','qxv0AgvUDgLJyxrPB24Gtwv0Ag9K','Ahr0Ca','y2XLyxi','CMvKAxjLy3rFDxjP','Aw1Hz2uVANbLzW','iokwVca','C3rHDhvZvgv4Da','rMfPBgvKihrVigzLDgnOig1VzgvSCW','CgvUzgLUzW','zxHLy3v0zq','rMfPBgvKihrVihbHCNnLihrVB2WGyxjNDw1LBNrZ','ChjVBxb0x3rVA2vUC19KzxrHAwXZ','rMfPBgvKihrVigLUAxrPywXPEMuGywDLBNq6ia','isbvBMTUB3DUignVBw1HBMq6ia','ywDLBNruB01LC3nHz2vnyxa','C2v0t3jJAgvZDhjHDg9Y','z2XVyMfS','Dg9WAwmTyw5HBhL6zxi','w+kkL10','Dg1WzgLY','z2v0q29UBMvJDgvKu2vYDMvYCW','tM8GChjLDMLVDxmGC2vZC2LVBNmGzM91BMqU','zgvLCgLUzNjH','Dw5ZAgLMDa','z2v0vg9VBhm','AgfUzgXLvg9VBefWChjVDMfS','ksSK','Bg9Nsw5MBW','tuvesvvn','ww91igfYzsbHignVBNzLCNnHDgLVBIbZDw1TyxjPEMvYlIbzB3vYihrHC2SGAxmGDg8Gy3jLyxrLigeGy29Uy2LZzsbZDw1Tyxj5ig9MihrOzsbJB252zxjZyxrPB24GAgLZDg9YEsbWCM92AwrLzcbIEsb0AguGDxnLCI4GrM9JDxmGB246cI0Gs2v5ihrVCgLJCYbKAxnJDxnZzwqklsbjBxbVCNrHBNqGzgvJAxnPB25Zig9YigfJDgLVBNmGDgfRzw4klsbnywLUihf1zxn0Aw9UCYbHC2TLzcbHBMqGyw5ZD2vYCYbWCM92AwrLzaOTie92zxjHBgWGy29UDgv4DcbHBMqGzMXVDYbVzIb0AguGy29UDMvYC2f0Aw9UcGPlzwvWihrOzsbZDw1Tyxj5ignSzwfYigfUzcbJB25JAxnLlcb0ExbPy2fSBhKGmY01ihbHCMfNCMfWAhmU','DwK6A2v5yM9HCMq6y3rYBgm','CMvHzezPBgu','zg93BG','yxnZAxn0yw50','z2v0tw9KzwXZ','z2v0tMvZDgvKvMfSDwu','q29UzMLNDxjHDgLVBIbZyxzLzcbZDwnJzxnZzNvSBhKH','ihrVB2XZigjHC2vKig9UignVBMzPzY4','ywnJzxnZx2rLBMLLza','w+kCLf0','BM93','C2L6zq','Bg9HzgLUzY1TB2rLBhm','kNWQFcP8kG','Dg9KB193CML0zq','z2v0q29UDMvYC2f0Aw9Uu3rVCMu','wwvZ','zMfPBgvK','AxnbCNjHEq','xIP8FcPE','BwvTBW','C3bSAxq','rMv0y2HPBMCGyxzHAwXHyMXLig1VzgvSCYbMCM9Tia','z2v0rMfPBgvKu2vYDMvYCW','C3rYAw5N','A2v5','zgLNzxn0','ww91igfYzsbHihrVCgLJigfUywX5EMvYlIbfEhrYywn0ihrOzsbTywLUihrVCgLJigzYB20GDxnLCIbTzxnZywDLCYbJB25JAxnLBhKU','ChjVDMLKzxjZlG','AxneAxjLy3rVCNK','w2LTywDLoG','zg90CW','z2v0sw5ZDgfUy2u','BwnWq29UzMLNugf0Aa','D3jPDgvdB25MAwDgAwXL','tw9VBNnOB3q','mJeYvvDAzvbx','rw50zxiGEw91CIa','tM8GCMvJzw50igfJDgL2Axr5','rxHLy3v0zwq','y2XHDwrLlwHHAwT1ltqTnq','zM9YyMLKzgvU','CMvUzgvYzxi','q29TBwfUzcbLCNjVCJOG','Aw1Hz2uVC3zNk3HTBa','CMvZDwX0','sLnptIbJB25MAwCGBxvZDcbLDMfSDwf0zsb0BYbHBIbVyMPLy3qU','B3b0Aw9UCW','Bg9JywW','Bg9HzenVBMzPzW','zMLSzv9UzxC','uhjLC3mGrvndigfNywLUihrVignSzwfYihrOzsbPBNb1Da','Bw9KAwz5','lxjLC3vSDc0','u2HVD2LUzYa','lI4U','Dg9VBfjLC3vSDa','z3jVAY1JB2rLlwzHC3qTmq','xgqRxc4','yMXVy2TXDw90zq','y29UzMLNlNLHBwW','BgLZDenVBNzLCNnHDgLVBNm','vxbKyxrLza','zMfPBgvKu2vYDMvYCW','yNvMzMvY','zMXLEc1LBMq','y3vYCMvUDenVBMzPzW','y2vUDgvY','C3LZDgvT','AgvHzgLUzW','yxjNDw1LBNrZ','Dg9gAxHLza','q3jLyxrLigzPBgu','x19JBgLWyM9HCMrgAwXLCW','DhLWzq','z2v0qwXSu2vYDMvYCW','yxbWzw5KvMfSDwu','A2v5CW','zM9YrwfJAa','z2v0qwn0AxzL','wufntcbJB25MAwCGBxvZDcbLDMfSDwf0zsb0BYbHBIbVyMPLy3qU','qNjVD3nLCIbVCgvUzwqGyxv0B21HDgLJywXSEs4GugXLyxnLigf1DgHVCML6zs4','Aw5PDa','AgfUzgXLrxjYB3i','z3jHEq','y29SB3i','zxHWBgLJAxrqyxrO','C2v0q29UDMvYC2f0Aw9U','zgLT','C3DPDgnOvg9tzxnZAw9U','ywXSB3DLzfrVB2XZq29UzMLN','tM8GywnJzxnZihrVA2vUihjLy2vPDMvK','vgfIl+kgKokgKIboyxzPz2f0zsdIGkiGrw50zxiGu2vSzwn0iokaOIaXlZiVmYbrDwLJAYbtzwXLy3q','C2v0twf4tgLZDgvUzxjZ','C3rKAw8','Aw5PDgLHBgL6zvnLCNzLCNm','t3bLBLjVDxrLCG','z2v0u2vYDMvYsw5MBW','u3vIqwDLBNrtDgfYDgvK','CY4UlIbfCNjVCJOG','igXPBMvZ','ugfZDguGDg9Rzw4GAgvYzq','Ahr0Chm6lY9HCgKUyw50AhjVCgLJlMnVBs9HCgKVB2f1DgGVy2XHDwrLx2nSAs9JCMvHDgvFyxbPx2TLEq','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms03meiTsw5ZDhj1y3q','n2jMqNjLAa','rMfPBgvKihrVihnLDcbJB25MAwCG','CgfYC2vjBNq','qwn0AxzPDgLLCW','yMfZzty0','qvbjieTLEsaVifrVA2vU','zgf0yvvYAq','B2zM','kd86lIOPkYKK','Cg9SBgLUzW','C2LUz2XL','zhvYyxrPB24','D2vIx3nLyxjJAa','Dw5JAgfUz2vK','Dg9W','q3rYBcTf','CMvKDwnL','DxnLvgHLBwuGBxvZDcbIzsb1C2vKihDPDgHPBIbHifrOzw1LuhjVDMLKzxi','Aw1Hz2u','y3jLyxrLrxzLBNrbzgfWDgvY','zgf0yq','icSG','y3jLyxrLq29UDgv4Da','C3rHDgu','z2L0AhvI','y3vYCMvUDa','tgLZDcbKAxjLy3rVCNK','BgfZDfrVB2XdywXStwvZC2fNzuLK','Aw5Zzxj0','CM91BMq','z3jLzw5cCMLNAhq','C29Tzq','C3rKB3v0','twfUDwfSBhKGzw50zxiGEw91CIbbueKGA2v5ig9YihrVA2vU','AxndB21Tyw5Kqwn0AxzL','z2v0uhjVDMLKzxjdB25MAwC','mJC0otC3vKvss3LS','C3vIDgL0Bgu','q2XHDwrLifbYBY9nyxGGqwnJB3vUDa','u3vIqwDLBNruB29Sq2fSBa','BgLUAW','ic0Gt0f1DgG','z2v0q3vYCMvUDenVBMzPzW','DxbbCNjVDW','AxntDhjLyw1PBMC','z2XVyMfSrgLY','y29SCW','CgfYDhm','wZiWmx4','y2XHDwrLlMfP','zxHWB3nLzfrVB2XZ','Bw92zs1JDxjZB3i','zMXVB3i','rw50zxiGDg8Gy29UDgLUDwuG4OcIien0CMWRqYb0BYbLEgL0','ChjVBxb0','B2f1DgHdB25MAwC','qwz0zxiGyxv0Ag9YAxPPBMCSihbHC3rLihrOzsbMDwXSignHBgXIywnRifvstcbVCIbQDxn0ihrOzsbHDxrOB3jPEMf0Aw9UignVzgu6ia','y29UzMLNtwfUywDLCG','Aw5PDgLHBgL6zurLzMf1BhrdB252zxjZyxrPB24','Dw5LC2nHCgvuCMfUC2zVCM0','vw5RBM93BIbLCNjVCG','Axnoyu4','AhjLzG','q3jLyxrLig5LDYbbueKGA2v5ihzPysbICM93C2vY','BwnWu2vYDMvYCW','BwfW','CxvLCNK','DwK6BMv3oMnVBNzLCNnHDgLVBG','AgvHzgvYCW','BgvUz3rO','ihrVia','twvZC2fNzsbXDwv1zwqSihDPBgWGyMuGC2vUDcb3AgvUign1CNjLBNqGCMvXDwvZDcbJB21WBgv0zxm','D2HPDgu','imk3ia','DxbKyxrL','CMvXDwLYzvrVB2XbChbYB3zHBa','Aw5FChjVz3jLC3m','yxr0ywnOBwvUDa','yxbWBgLJyxrPB24VANnVBG','u3vIqwDLBNruB29SuMvZDwX0','BwnWxW','Dg9VBf9Yzxn1Bhq','CMvZzxq','qxv0AgvUDgLJyxrLihrOCM91z2GGEw91CIbICM93C2vY','y29UzMLNugf0Aa','mc4Wma','ywn0AxzLq29TBwfUza','q2fUBM90ihvZzsbHCNjHEsbPBMrLEcbVBIbUB24TyxjYyxKGyxqG','ANnVBG','C2vUza','tM8Gyxv0AcbUzwvKzwq','tgLZDgvKia','z2v0q29UDMvYC2f0Aw9Uq29UDgv4Da','BNv2Aw4Ty2XP','y29UDgvUDa','C3vIqwDLBNrtDgf0zv8','y29UBMvJDgvK','tM8GDMfSAwqGAw1Hz2uGzgf0ysbMB3vUzcbPBIbJBgLWyM9HCMq','BMv4Da','rMfPBgvKihrVihnHDMuGyxv0AdO','C2v0tgfZDe1LDgfKyxrH','ig1VCMuGy2HHCNmP','qw5HBhL6zsb0AguGzM9SBg93Aw5NihvZzxiGBwvZC2fNzxmGyw5Kigv4DhjHy3qGDgHLig1HAw4GDg9WAwmGB3iGAw50zw50igLUiduTmtaGD29YzhmUiejLignVBMnPC2uGyw5KigrLC2nYAxb0AxzLlGOkuhjLDMLVDxmGDxnLCIbTzxnZywDLCZOk','mtaWjq','Aw5KzxG','DgfIBgu','BwTKAxjtEw5J','sxyXlMi1mdDHmdHJodDLy2zLotG','yxv0Ac1KzxzPy2uTzMXVDW','Dg9VBenHBgXnzxnZywDLswq','q2XHDwrLiefjig1VzgvSCW','rg9Uzq','zxjYB3jszwfZB24','D2fPDgLUzW','r2vUzxjHDgLUzYbHDxrOB3jPEMf0Aw9Uifvstc4UlG','y29TCgXLDgLVBL90B2TLBNm','rMfPBgvKihrVigXVywqGy29UzMLNigLUienVBMzPz1bYB3zPzgvYoG','AgfZ','t0zg','Dg9Rzw5Z','BwfNzw50yq','zw4Tvvm','w35D','D2fYBG','yxbWBhK','DxbKyxrLtwv0ywrHDge','sw5WDxqGy2XLyxjLzc4GuhjLC3mGrvndigfNywLUihrVihn0B3aGDgHLihbYB2nLC3m','z2v0q29UDMvYC2f0Aw9U','zxjYB3i','lxrVB2WTCMvZDwX0lq','t3bLCMf0Aw9UigfIB3j0zwqGzhvYAw5NihjLDhj5','rMfPBgvKihrVia','tM8GBwvZC2fNzsbWCMv2Awv3igf2ywLSywjSzq','yMfJA3nWywnL','Cgf5Bg9Hza','BwvZC2fNzunVDw50','zM9VDgvY','cGPdDxjYzw50ihvZzxiGBwvZC2fNztOG','DwK6zxjYB3i','zhvYyxrPB25nCW','ig1VzgvSCYbHDMfPBgfIBgu','z2v0teXnrMfJDg9YEq','Dg9VBenHBgXdB3vUDa','qw50AhjVCgLJicHdBgf1zguP','zxHWAxjLCW','C2vZC2LVBNmT','EwvSBg93','AgLUDa','y2XPCgjVyxjKlwLTywDLlq','A2LTAs1SyxrLC3q','vgLTzw91Da','C2vYDMvYCW','rgv2AwnLiezSB3CGtg9NAw4GkfjLy29TBwvUzgvKkq','Aw5WDxq','CMvJB21IAw5L','AgLZDg9YEs5QC29U','DhjPBq','CMvZB2X2zunVBMzPz0zPBgu','zw50zxiTAw5Zzxj0lw1Vzgu','z2v0qxzHAwXHyMXLuhjVDMLKzxjZ','rw50zxjWCMLZzsbbssbWBgf0zM9YBq','ig9UigfYCMf5','yMXHy2S','y29WAwvK','z2v0uhjVzMLSzvbHDgHZ','AxngAwXL','kg5VignOyw5NzxmP','twLZC2LUzYbVCIbPBNzHBgLKihrYyw5ZCg9YDcbJB25MAwD1CMf0Aw9U','BMv3','g1SYmdb+','i2zMnZLJnG','CNvUBMLUzW','rMv0y2HLza','z2v0rxHWB3nLzfrVB2Xoyw1LCW','z2v0uhjVzMLSzu1JCenVBMzPz1bHDgG','BgXTrMfJDg9YEq','FcaK','teXnigzHy3rVCNKGzg9LCYbUB3qGC3vWCg9YDcbNzxrnB2rLBhm','C3rYzwfTAw5Nq2H1BMTZ','vxbKyxrLihrVzg8','y29UDMvYC2f0Aw9Uswq','s0iGDg90ywWP','DgHPBMTPBMC','C2v0rxzLBNrZ','Bwf4qwDL','AgfUzgXLq29UzMLNrxjYB3i','ls0Gsu5trvjuic0T','y2fJAgvKvg9Rzw5Z','vg9WAwmGyw5HBhLZAxmGzMfPBgvK','y29UC29Szq','y2HHCKf0','z2v0q29UzMLN','wwvZDgvYzgf5ia','y29KzxnWyw4','C2v0twnWtwfUywDLCG','C2XPy2u','kIndt0XptNWQ','AgLZDg9YEq','y3jLyxrLtwvTB3j5','EwfTBa','CMvZAxPL','ywn0Aw9UqxbWCM92zq','C3rHDfn5BMm','yw50AhjVCgLJ','BgLUzxm','rMfPBgvK','BwfNzw50yujYAwDODa','Aw1Hz2uVz2LM','z2v0teXn','zxHPC3rZu3LUyW','ywn0Aw9UrgvUEq','ChjVDMLKzxjZlMfUDgHYB3bPyY5HDxrO','C2v0u2vSzwn0zwrjBMrLEa','mJu1nZu2qxrQy01m','rxjYB3iGAw4Gy29TBwfUzcbVBKv4AxqGAg9VAZO','uhjVDMLKzxi','Bg9HzezYB21ty29Wzq','C2vNBwvUDhm','i0zgnuy2ra','ywjVCNq','C2v0teXn','CMLNAhrbCNjVDW','z2v0vMfSDwu','yxv0Ag9YAxPHDgLVBIb0Aw1LzcbVDxq','D2LKDgG','q29TCgXLDgvK','rMfPBgvKihrVigXVywqGtunqignVBMzPzYbMCM9Tia','CgfYC2vqyxrO','ig1HDgnOzxmGkokgKEkgKYb0BYbUyxzPz2f0zsWGrw50zxiGDg8GC2vSzwn0kq','lMn1CNjLBNqTyxv0Aa','vg9VBe5VDezVDw5K','C2v0qwXSB3DLzfrVB2XZq29UzMLN','Dw5ZzwXLy3rLza','vgHPBMTPBMC6ia','vMLZAxq6ia','FdXICIaVpG','ywn0Aw9Uu2vSzwn0zwq','CMvHC29UAw5NrwzMB3j0','z2v0uhjVzMLSzu1HBMfNzxi','zMLUzeLUzgv4','zgLYBMfTzq','C2vZC2LVBKrPCG','BgLUzu51BwjLCNm','DgvYBwLUyxrLza','BgLUzuLUzgv4','y3jLyxrLrw1WDhLty29Wzq','C3rYB25N','rMfPBgvKihrVihbYB2nLC3mGDg9VBcbHChbYB3zHBdOG','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9VCgvUCM91DgvYlMfPl2TLExm','igfSBg93zwqSihbYzwzPEd0N','xIG/oG','CMvK','C3vIC3rY','u3vJy2vZC2z1BgX5','DgfIBgvYB3C','tM90rM91BMq','vg9KyxKG','y2fJAgu','Dg9WAwm','sNvZDcbUB3C','z2v0u3rHDhvZ','q3jLyxrLiefqssblzxKGDMLHienVBNnVBgu','DxbKyxrLtunqqwXSB3DLzfrVB2XZ','y3vYCMvUDfbYB2zPBgu','Dg9vChbLCKnHC2u','v29YA2LUzYaUlI4','C2vSzwn0zwrjDgvT','y2XP','C2vHCMnOugfYyw1Z','zMLSzw5HBwu','B25fEgL0','zgvS','qvbjieTLEq','Aw5MB0jN','q29UDMvYC2f0Aw9Uu3rVCMuGBM90igLUAxrPywXPEMvK','rwrPDcbMAwXL','CMvWzwf0','z2L0ihjLDI1WyxjZzsaTlwfIyNjLDI1YzwyGsevbra','q2HHDerPC3bSyxK','Bg9NBW','zxHWBgLJAxq','C2v0q29UzMLNrNvUy3rPB25Z','Dg9tDhjPBMC','igLTywDL','ChjVy2vZC2vKsw5WDxq','teXnihjLDhj5igzHAwXLzcb3AxrOig5VBI1YzxrYEwfIBguGzxjYB3i6ia','ugfZDguGyxv0Ag9YAxPHDgLVBIbJB2rLigHLCMu','zgv2AwnLx2nVzgu','yMfZAf90B29S','Dhj5igfNywLU','B3jKzxjLza','Dgv4DerPBq','y29ZDa','yxbWzw5KtgLUzq','msbTC2C','ywn0AxzLuhjVDMLKzxi','w0LTywDLoLbHC3rLzcaJ','uMvXDwvZDcbMywLSzwqGkgf0DgvTChqG','kd86','4PYtifrHC2SGy29TCgXLDgvK','zw50zxiTAw5Zzxj0lwfUzc1ZzxqTDMfSDwu','DMvYAwzPy2f0Aw9UvxjP','rvndihrVigDVigjHy2S','Dg9VBenHBgXZ','rxjYB3iGzgLZy29UBMvJDgLUzYbnq1aGC2vYDMvYia','uMvHzhK','z2HWxY4UlG','CMfUzg9Tvvvjra','ywXS','C2v0rw5HyMXLzefNzw50CW','DhjHBNnMB3jT','zgLYzwn0','tM8Gyxv0AgvUDgLJyxrPB24','ywrK','DxrMltG','BNv2Aw4TywDLBNq','C3vTBwfYAxPL','zMLSzv9WyxrO','Bg9NrxjYB3i','yxv0Aa','C2v0u3rYzwfTAw5Nrw5HyMXLza','nZC2odeXr1zLALjO','ihbHC3rLzcaO','q2fUBM90ihnLDcb0BYbLEhbSAwnPDcbJB25MAwCGyMvJyxvZzsbUBYaTlwnVBMzPzYbMAwXLihDHCYbSB2fKzwqU','BgLUzq','y3jLyxrLu2vZC2LVBKrPCMvJDg9YAwvZ','z2v0q3vZDg9TuhjVDMLKzxjZ','C2vZC2LVBKLK','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','u2vSzwn0ie1VzgvS','CMvKqNjPz2H0','tM90igzVDw5K','C2HPzNq','Dg90ywXeDxjHDgLVBK1Z','ihWG','ue9tva','Ahr0Chm6lY9NAxrODwiUy29Tl2XVz2LUl2rLDMLJzs9JB2rL','ic0Grgv2AwnLiezSB3C','ChjLzML4','CMvZB2X2zvnLC3nPB24','C2v0lxzHBhvL','DxnHz2u','igvUDhjPzxm','Dg9VBe5HBwu','ue9tsvrjvKvFsu5gsu5jvfK','C3rYAw5NAwz5','y29TCg9Uzw50','t3bLCMf0Aw9UigfIB3j0zwqGyNKGDxnLCG','sw52ywXPzcbHCMD1BwvUDhm','Aw52zxjZzq','Dg9KB3m','4Psu4Psaia','l29HDxrOl2f1DgHVCML6zq','B25Jzq','AgvSCa','C3vIqwDLBNrZ','D2vSy29Tzq','ywnJzxnZx3rVA2vU','B2XKx3rLEhq','AM9PBG','DxrMoa','zMLSzv9LzgL0','DgfZAW','tunqihnLCNzLCIaN','zxH0CMfJDevYCM9YtwvZC2fNzq','rMfPBgvKihrVihbHC3rLigzYB20Gy2XPCgjVyxjKoIa','BgfIzwW','CgfYC2u','Aw5PDgLHBgL6zvbYB2zPBgu','y2HHBgXLBMDL','AgfUzgXLCG','tM8Gy2HHBMDLCYb0BYbKAxnWBgf5','vhLWzsb0BYbZzwfYy2GGBw9KzwXZlI4U','B3bLBMfPl2DWDc00BY1TAw5P','z2v0uhjVzMLSzurPCG','y29TCgXLDgvK','Bwf0y2G','wYfD','Aw5MBW','qNjVD3nLCIbVCgvUzwqGyxv0B21HDgLJywXSEq','ihnOB3CGzgv0ywLS','CMvJzw50vg9VBenHBgXZ','mJG2odvey3HdDgq','mtyXnJjLtNvKrve','CgfKu3rHCNq','zw52','ig9Mia','y3rYBa','C2HVCNq','C2LNBMfS','y3LHBG','mI1KAwDPDa','t3bLBIbZB3vYy2uGBw9KzwXZ','ChjVDMLKzxi','AgfUzgXLu2vYDMvYrxjYB3i','ic0G','CMvMBg93vgv4Da','C3vJy2vZC2z1BgX5','DwK6A2v5yM9HCMq6CgfZDgu','yw5HBhL6zvrVCgLJ','zxnJyxbL','BgfUzW','lZeWks4GuMv0CNLPBMCGAw4G','4Psa4Psa4PsaiejSB2nRia','CMvWBgfJzq','Dg9VBenHBgXjza','BsbHz28','y29TBwfUzhm','BwvTB3j5','z2v0twnWtwfUywDLCG','phj1BNrPBwu+','rgvLCeLUzNjH','zxHWAxjLzf90B2TLBG','twvTB3j5ig5VDcbPBML0AwfSAxPLza','r2L0shvIigLUDgvNCMf0zwqGBw9KzwXZ','zMLSBa','Aw5JBhvKzuHPzgrLBG','CgLWzq','CMvTB3zL','BMv3u3rHDgu','yxjTzwqTC3rVCa','uhjLC3mGrvndigfNywLUihrVignSzwfYigLUChv0icHVCIbVBMnLig1VCMuGDg8GC3rVCcbWCM9JzxnZkq','iokwSIa','Cgf0Aa','B3bLBNjVDxrLCG','tw9VBNnOB3qGquKGBw9KzwXZ','y2fJAgvKx3rVA2vUCW','uhjLC3mGrvndigfNywLUihrVihn0B3aGDgHLihbYB2nLC3m','w01ducbjBML0xsbgywLSzwqGDg8GAw5PDgLHBgL6zsbnq1aGC2vYDMvYCZO','y2XHDwrLlxnVBM5LDc00ltu','vhLWzsb5B3vYig1LC3nHz2uUlI4','yM90Dg9T','CMvMCMvZAa','zgvWDgG','jYbMAwX0zxjLzcbMCM9Tia','jYWGDgLTzw91Dd0','yxbPs2v5','z2L0qNjHBMnO','zw1VAMLuCMfUC2zVCM0','Bwv0yq','nZjuELPPBK0','DMfSDwu','BwTKAxi','lMf1DgG','q3rYBcTfihrVihrVz2DSzq','jZOG','Cgf0DgvYBJOG','z2v0u2vZC2LVBG','u0vux1zbtfvf','lNLHBwW','iokuGokuGokuGa','zgvUEq','Aw1Hz2uVD2vICa','BwvZC2fNzuLK','vw5RBM93BIbJB21Tyw5KoIa','Aw5SAw5L','y3vYC29Yt2zMC2v0','rMfPBgvKihrVihjLC3bVBMqGDg8GDg9VBcbHChbYB3zHBdOG','ChjVDMLKzxjZ','vg9VBa','uMvXDwvZDcbMywLSzwqGD2L0AcbLCNjVCJOG','sw52ywXPzcbHCNjHEsbPBMrLEdOG','i0zgqZm3mq','zgvZy3jPChrPB24','y29SDw1UCW','yM9Sza','z2v0u2vSzwn0zwrjBMrLEa','AxntzwXLy3rLza','yxbWCM92ywW','uhjVy2vZC2LUzYbJBgLWyM9HCMqGAw1Hz2uUlI4','ChjVBwLZzxm','y3vYC29Yv2LKDgG','BwnWtwfUywDLCG','ywXSu2v0DgXLza','Dg9mB2nHBgveyxrLu3rYAw5N','sgfUzgXLCNmGBM90igLUAxrPywXPEMvK','C2STyw50ls4UlG','C2HHmJu2','rxjYB3iGzhvYAw5NihjLC2L6zsWGzMfSBgLUzYbIywnRihrVihnHzMuGzgLTzw5ZAw9UCZO','DxbKyxrLq29UzMLN','Dg9mB2nHBgvtDhjPBMC','CMv0DxjU','BwvZC2fNzvr5CgvZ','Aw5ZDgfUy2u','FcbdywnOzwq6ia','lxrVzg8T','DxnLq29UzMLNig11C3qGyMuGDxnLzcb3AxrOAw4GysbdB25MAwDqCM92AwrLCG','y2vPBa','rgv2AwnLiezSB3C','zwnVBM5YzxnLDa','C3rYAwTLDgHYB3vNAa','z2v0uhjVDg90ExbLt2y','DgvZDa','x2XVz2DLCG','DMfSDwvZ','y2XPCgjVyxjKlwzPBguT','yxv0Ac1Vyxv0Aa','u3rYzwfTrMLUAxnO','tM8Gyxv0AgvUDgLJyxrPB24GCMvXDwLYzwq','r2L0shvIicHdB3bPBg90kq','B2f1DgGTBwf4','Aw5JBhvKzxm','iefqssbRzxKGBM90ignVBMzPz3vYzwqUifbSzwfZzsbYDw4Gl2f1DgGGzMLYC3qU','Bg9Hza','z2vUzxjHDgvlzxK','DxnL','qwnJzxnZifrVA2vU','ywDLBNrjza','z2v0tunqu2vYDMvYCW','B3bLBMfPl2DWDc00BW','C2vZC2LVBNm','Dg9mB2nHBgvuAw1Lu3rYAw5N','zxrPBwvKB3v0','cGPszxnWB25KihDPDgGGB25SEsb0AguGDg9WAwmSig5Vigv4CgXHBMf0Aw9UlG','DxbKyxrLtgLUzq','zgLZy29UBMvJDfnLCNzLCG','C2HVDwXKv2fPDezVCK1VCMu','BgfZDeLUzgv4','Dgv4Da','zwnVBM5Yzwz1C2vK','Dg90ywXuB2TLBNm','y2XHDwrLlxnVBM5LDc00lJu','qwjVCNrfCNjVCG','yMfZzvvYBa','DMvYAwzPy2f0Aw9Ux3vYAq','zMLSzq','zw50CMLLCW','vg9VBefWChjVDMfSuMvXDwLYzwq','AMf2yxnJCMLWDdO','CMvXDwvZDgLUzW','z2v0tw9KzwW','rw1WDhKGC2vZC2LVBG','Dg9VBfjLC3vSDhncEunHBgXjza','C3vJy2vZCW','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VDJeVB2f1DgGVDg9Rzw4','BwfYA2vKsw5ZDgfUy2u','CgXHDgzVCM0','y3jLyxrLtMvZDgvKt2jQzwn0','yxnZAwDU','ywjVCNrLza','y29UDMvYC2f0Aw9Uu3rVCMu','y2fSBa','BxmP','C3vIC3rYAw5N','Bw9KzwXZ','yMfKihjLCxvLC3q','rMfPBgvKihrVihnHDMuGy29UzMLNoG','lI4UicG','t3bLCMf0Aw9UigfIB3j0zwqGzhvYAw5NihjLDhj5igrLBgf5','y2HLy2TLza','Bw9KzwW','lxrVB2WT','t3jJAgvZDhjHDg9Yig5VDcbPBML0AwfSAxPLza','CgfYC2vY','C2v0twvTB3j5','CgfYC2vjBMXPBMu','BNvTyMvY','rxjYB3i6ia','CMf3x2TLEq','y29Kzv9JAgfSBgvUz2u','BgvMDefYCM93','B3jHBMDL','y29UzMLNDxjLuMvUzgvYzxi','Bw9VBNnOB3q','DgfIBgvtzxr0Aw5NCW','C2v0qwn0AxzL','y3DK','C2fUAxrPEMu','4Psu4PsaierVBMuGAw4G','Axnqyxn0zvn0yxj0','DwK6BgLUzxm6y2XLyxi','zxzLBNrZlMPZB24','yxjNCW','ignYzwrLBNrPywXZoG','yxv0Ag9YAxPHDgLVBL9JB2rL','wMfP','kokgKEkgKYbUyxzPz2f0zsdIGkiGrw50zxiGC2vSzwn0iokaOIbfu0mGy2fUy2vSkq','owqXyZi1mgeTztyXyI00ngq5ltG4zwqTntK0ngqXotyYzJvL','zMLUywXtDgf0Dxm','AxnbCNjHEuLUzgv4','ChjVzMLSzq','rw50zxiGq3jLzgvUDgLHBhm','C3rYzwfTAw5NtwvZC2fNzuLK','y29Yzs1Kzw1VlwfNzw50','yMvMB3jLsw52B2TL','yM9YzgvYq29SB3i','DxnLCKnVzgu','ywXSB3DLzfrVB2XZ','zxjYB3i6ia','ig1VCMu','zw1PDa','q2fUBM90ihvWzgf0zsbYDw50Aw1Llw9UBhKGy29UzMLNihnJB3bLlIbvC2uGBg9HzenVBMzPzYGPigLUC3rLywqU','DxbKyxrLqwXSB3DLzfrVB2XZq29UzMLN','y29UC3rYDwn0B3i','tg9JywWGteXnihnLCNzLCG','uhjLC3mGq3rYBcTdigfNywLUihrVigv4Axq','Aw1Hz2uT','Dw5KzxjSAw5L','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VB2f1DgGVy29Kzs9JywXSyMfJAW','AgvHzgvY','CgvYC2LZDev2zw50tg9N','DgfI','AwDUB3jL','C3rYzwfTAw5Nrw5HyMXLza','C3rHDhvZq29Kzq','y2XLyw51Ca','rgvUAwvK','z2v0t3jJAgvZDhjHDg9Y','y29TCgXLDgu','y2fWDhvYzvn0ywnRvhjHy2u','zMLYC3rizwfKAw5N','zw5KC1DPDgG','ChvZAa','CMvUzgvYvxnLCK1LC3nHz2vZ','BM9YBwfS','rgv2AwnLiezSB3CGtg9NAw4','C2v0','C3rHCNrZv2L0Aa','u1vetW','CM93CW','BgLUzs0','zxH0BMfTzq','Aw1Hz2uVAgvPyW','i2rLotm1zG','Dw5RBM93BG','yxv0Ac1PBNb1Da','sw5PDgLHBcbtzxr1Ca','iZzJnMm2yW','ywnJzxnZ','DxbKyxrLvg9WAwm','lI9JBgLWyM9HCMqTwLjfr1Pon0SUANm','vxnLihLVDxiGq2XHDwrLifbYBY9nyxGGC3vIC2nYAxb0Aw9U','Bxv0zwq','q29TBwfUzhmGka','CMvMCMvZAf90B2TLBG','vw5HyMXLihrVihjLywqGAw1Hz2uGyxqG','rxjYB3i','D2vIx2zLDgnO','q2HLy2TPBMCGy2XPCgjVyxjKlI4U','C2vZC2LVBG','r0Lusfvcx0nmsuvovf9jra','twvZC2fNzvn0yxj0zwq','tg9HzgLUzYbTB2rLBhmUlI4','yxbWCM92zq','y3jLyxrLC0fYCMf5','DwK6y29TBwfUzdPHy3rPDMf0zwq','ChjVBxb0x3rVA2vUCW','sw52ywXPzeLUChv0','AcbHz28','Ahr0Chm6lY8','y29Kzq','Dg9ju09tDhjPBMC','u2vZC2LVBJOG','zxHWAxjLC19PBG','DgL0Bgu','jdiKmW','AxngAw5PDgu','BgfZDe1LC3nHz2u','y29TBwfUza','vw5ZDxbWB3j0zwqGChjVDMLKzxi6ia','BwnW','vg9VBenHBgXZ','iokuGIa','vw5HyMXLihrVihjLC29SDMuGy29UzMLNihnJB3bLicC','Bgv2zwW','z3jLzw4','4Psu4PsaierVBMu','uMvJzw50iefJDgL2Axr5','B2zMC2v0','BMv3x3rLEhq','y29UzMLNrNvUy3rPB25Z','y2XPzw50','Dg9VBa','zw1PDhrLCG','iokaKYa','zMLSDgvY','B2jQzwn0','CMvZB2X2zq','zMLSzv9YzwfK','qMvHCMvYia','zw1VAMK','ksSPka','z2v0uMvUzgvYzxi','yxbWBgLJyxrPB24VEc13D3CTzM9YBs11CMXLBMnVzgvK','z2XTltqUnq','tgLZDgLUzYbMywLSzwq','y21K','z2vUzxjHDgLUzW','AwnVBG','yMX1zq','q2XPCgjVyxjKigrHDgeGzgLKig5VDcbJB250ywLUigeGDMfSAwqGyMfZzty0igLTywDLlG','jdek','yxv0AgvUDgLJyxrPB24','zgLYx2XZ','zw5VDgzVDw5K','sw5PDgLHBgL6Aw5N','seLhsa','zNjVBuvUDhjPzxm','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VC2v0DgLUz3mVA2v5CW','z2v0vgLTzq','ywDLBNrZ','y29UDgv4Da','y2HLy2TIB3G','BNvT','wwvZlcbMB3iGDgHPCYbZzxnZAw9U','g1SYmdf+','DxnLtM90AwzPy2f0Aw9Uq29UDgv4DcbTDxn0igjLihvZzwqGD2L0AgLUigeGtM90AwzPy2f0Aw9UuhjVDMLKzxi','t3bLCMf0Aw9UigfIB3j0zwqGyMvMB3jLigv4zwn1DgLVBG','B2XKtgLUzu51Bq','BwnWqwXSB3DLzfrVB2XZ','nduYmJC1mhvND0HtAq','te0Gu3r1zgLV','Dg9Rzw4','rMfPBgvKihrVigLUAxrPywXPEMuGtunqihnLCNzLCNm6ia','Bg9JywXeAxi','BMfTzq','BgLUzuvUza','q29UzMLNigz1BMn0Aw9UCYbUB3qGC2v0lIbdywXSihnLDenVBMzPz0z1BMn0Aw9UCYbMAxjZDc4','rMfPBgvKihrVigv4y2HHBMDLignVzguGzM9YihrVA2vU','xcqM','ihn0B3a','z2v0qwn0AxzLq29UDMvYC2f0Aw9Uswq','Dw5HDxrOB3jPEMvK','DgLTzxn0yw1W','BgLZDa','ywnJzw50','C3rYDwn0DxjLzenSB25L','BNvTzxjPyW','z2v0q29UDMvYC2f0Aw9Utwv0ywrHDge','A2LUza','CMvHzenVBMzPz0zPBgu','AwrSzq','DgfIBgvJzwXS','rMv0y2GGzMfPBgvK','B25uB29SqxbWCM92ywXszxf1AxjLza','AgfUzgXLCNm','DgfIBgvpChrPB25Z','y29UDMvYC2f0Aw9Uq29UDgv4Da','C2nVCgveyxrH','DxbKyxrLtgLUzu1LDgfKyxrH','BM90igzVDw5K','AgLKzgvU','zgvSzxrL','B2f1DgG','zxjYB3jFzgvZy3jPChrPB24','yxbWCM92ywXjza','rxHLy3v0Aw9UigzHAwXLza','zgv2AwnLlwzSB3C','zgf0ytPPBwfNzs9WBMC7yMfZzty0la','uMf0zuXPBwL0','DMLZAwjSzq','jtiW','twfUDwfSBhKGzw50zxiGqvbjieTLEq','CMvNAxn0zxi','AhrTBa','z2v0q3vYCMvUDfbYB2zPBgu','Bwv0ywrHDge','Ahr0Cc1SB2CUANnVBG','CM9Szq','u2vHCMnOihDLyG','Dgv4DeXLBMD0Aa','DgL0BgvdB2XVCG','ugfYyw1LDgvYCZO','y3jLyxrLteXn','y29SB3jZ','qw5HBhL6zsb0AguGzM9SBg93Aw5NihvZzxiGBwvZC2fNzsbHBMqGzxH0CMfJDcb0AguGBwfPBIb0B3bPyYbVCIbPBNrLBNqGAw4Gns0Xmcb3B3jKCY4GqMuGy29Uy2LZzsbHBMqGzgvZy3jPChrPDMuUcGPvC2vYig1LC3nHz2u6ia','DwK6A2v5yM9HCMq6zxHWBgfPBLrVz2DSzq','z2zT','g1S/mJaWngW','BgLUzu51BwjLCG','u1Loq19fwfrfuK5btf9wquXvrq','qwjVCNrLza','ig1VCMuGBgLUzxmP','yMfZzty0DxjS','yxjTzwqTy2XLyxi','ywz0zxjjBNzVA2u','BwLU','DxnLCG','u2vZC2LVBIbiAxn0B3j5','tM8GBwf0y2HLCYbMB3vUza','y29Kzv9JAgfSBgvUz2vFBwv0Ag9K','AxnszxrYEwfIBgu','DwK6BgLUzq','zM9YBwf0','DgfZAZOGiG','CgvYC2LZDeH0DhbmB2C','tu9wrv9dvvjtt1i','ywDLBNrZrw5HyMXLza','sw52ywXPzcbPBNb1Da','wYTD','C3bHy2u','Aw5PDgLHBgL6zu1dufnLCNzLCNnjBKjHy2TNCM91BMq','Aw5PDgLHBgL6zq','zNvUy3rPB24','DxbKyxrLq29UDMvYC2f0Aw9Utwv0ywrHDgfbzNrLCLnLBMq','C2v0vg9VBhm','ig1Zz3m','DwK6Dg9VBefWChjVDMfSuMvXDwLYzwq','BxmPlG','CgfYywDYyxbO','B2XK','z2v0q29UBMvJDgvKu2vYDMvYswrZ','DwK6y29TBwfUzdPKzwfJDgL2yxrLza','Bg9VC2u','BgLUzvn0yxj0','q2HVB3nLigeGBw9KzwWGzM9YihLVDxiGy29UDMvYC2f0Aw9UCZO','D3jHCa','u2vHCMnOzwq','y2XHDwrLlxnVBM5LDc00','z3jLEq','C3bSAwnL','u2vHCMnOoIa','rMfPBgvKihrVigf1Dg8TyxbWCM92zsbZzxnZAw9UihrVB2XZoIa','uMf0zsbSAw1PDa','Ahr0CeXVz0zPBgu','tg9HzgLUzYbnB2rLBhm','y29TyMLUzwq','Aw1Hz2uVAgvPzG','vhLWzsaVAgvSCcb0BYbZzwuGyxzHAwXHyMXLignVBw1HBMrZ','D2fYBMLUzW','rw50zxiGEw91CIbAywKGqvbjigTLEq','Dg9VBenHBgXuB01LC3nHz2vnyxa','Aw1Hz2uVyM1W','CMvZzxrjBNn0yw5Jzq','tM8GChjLDMLLDYbHDMfPBgfIBgu','ChjVzMLSzu1HBMfNzxi','CgvYBwLZC2LVBG','yxbPlwTLEq','ie1ducbZzxj2zxiGjW','vw5ZDxbWB3j0zwqGAw1Hz2uGDhLWzsbMB3iG','A2v5yMLUza','CMvZDwX0twvZC2fNzq','yxv0Ac1TzxrOB2q','CMv0CNK','Bwf4u2L6zq','tM8Gy29UDMvYC2f0Aw9UigHPC3rVCNKGDg8GC3vTBwfYAxPLlG','DMvYAwzPzxi','AgLNAgXPz2H0t3b0Aw9UCW','Aw1Hz2uVyxzPzG','yMfKz2u','Cg9YDa','yxbWCM92zv9ZzxnZAw9U','C2LSzw50sw5PDa','tgv0j3mGz2v0ihLVDsbZDgfYDgvKlIbdAg9VC2uGEw91CIbbssbWCM92AwrLCJO','C3rHDhvZ','tMv0D29YA0vYCM9Y','y3jLyxrLzef0','z2v0','Bwf4','yxjJAa','EMfP','DxnLCKnVBNrLBNq','Dg9mB3DLCKnHC2u','rwrPDgvK','zMLUza','C3rYzwfTAw5Nq29UDgvUDa','ls0GtK9stufmic0T','y29UzMLN'];_0x2e83=function(){return _0x3b23ea;};return _0x2e83();}import{jsx as _0x52fa14,jsxs as _0x400c2f}from'react/jsx-runtime';function mc(_0x153674){const _0x4984ac={_0x514c1a:0x584,_0x25bb44:0x514,_0x59afc8:0x476,_0x51777f:0x5b7,_0x319984:0x5f1,_0x32c89e:0x5fe,_0x93cee3:0x68d,_0x2ec1f9:0x5aa,_0x2b51cc:0x830,_0x1e9f9a:0x7c7,_0x34b04f:0x9bf},_0x445753={_0x497ffd:0x159,_0x54ede0:0x165},_0x8fca95={_0x25ba74:0x81,_0x2ad899:0x43};function _0x3119ba(_0x8e286a,_0x249b71,_0x3439b9,_0x2ce301){return _0x3eba7a(_0x8e286a-_0x8fca95._0x25ba74,_0x249b71-_0x8fca95._0x2ad899,_0x3439b9,_0x8e286a-0x65e);}function _0x36fa38(_0xeef8a6,_0xb0f90d,_0x2dbdb6,_0x946162){return _0x199b7d(_0xeef8a6-_0x445753._0x497ffd,_0xeef8a6- -_0x445753._0x54ede0,_0x2dbdb6-0x68,_0xb0f90d);}try{return _0x153674[_0x3119ba(0x761,0x8c3,0x934,_0x4984ac._0x514c1a)][_0x36fa38(_0x4984ac._0x25bb44,_0x4984ac._0x59afc8,0x3b8,0x6cf)]?JSON[_0x3119ba(_0x4984ac._0x51777f,0x3d1,_0x4984ac._0x319984,_0x4984ac._0x32c89e)](_0x153674[_0x3119ba(0x761,_0x4984ac._0x93cee3,_0x4984ac._0x2ec1f9,0x873)][_0x3119ba(_0x4984ac._0x2b51cc,0x96f,_0x4984ac._0x1e9f9a,_0x4984ac._0x34b04f)]):null;}catch{return null;}}function fc(_0x533b74){const _0x3c58fd={_0x5db8c1:0x7fc,_0x376170:0x873,_0x3d3c0d:0x61c,_0x47dc26:0x718,_0x467fd3:0x696,_0x3e23c1:0x6cc,_0x10cced:0x85c,_0x389695:0x8a0},_0x2570b2={_0x5a75a7:0xb,_0x58b686:0x518},_0xadd283={_0x364baf:0x18c,_0x34dac4:0xb8};function _0x2e841a(_0x55a41c,_0x17a00a,_0x138b8a,_0x50fd57){return _0x199b7d(_0x55a41c-_0xadd283._0x364baf,_0x55a41c- -0x10,_0x138b8a-_0xadd283._0x34dac4,_0x17a00a);}function _0x14b808(_0x3aed1a,_0x309891,_0x595849,_0x11d27d){return _0x3eba7a(_0x3aed1a-0x1d0,_0x309891-_0x2570b2._0x5a75a7,_0x3aed1a,_0x11d27d-_0x2570b2._0x58b686);}if(!_0x533b74)return[];let _0x21097f=_0x533b74[_0x14b808(0x87d,_0x3c58fd._0x5db8c1,_0x3c58fd._0x376170,0x6b9)]('\x0a'),_0x3f0d37=_0x21097f[_0x14b808(_0x3c58fd._0x3d3c0d,_0x3c58fd._0x47dc26,_0x3c58fd._0x467fd3,0x751)]['toString']()['length'];return _0x21097f[_0x2e841a(_0x3c58fd._0x3e23c1,_0x3c58fd._0x10cced,_0x3c58fd._0x389695,0x877)]((_0x5a1073,_0xcae29a)=>({'lineNumber':(_0xcae29a+0x1)[_0x14b808(0x423,0x334,0x60b,0x41c)]()['padStart'](_0x3f0d37,'\x20')+_0x2e841a(0x517,0x316,0x70f,0x3a8),'content':_0x5a1073[_0x14b808(0x505,0x32f,0x2fa,0x496)](/\t/g,'\x20\x20')}));}function As({call:_0x353826}){const _0x4fd5dd={_0x525bd9:0x3a5,_0x34a4ae:0x2b5,_0x5a95c4:0x170,_0x2ea273:0x18f,_0x48b901:0x801},_0x57317c={_0xb1762a:0x108},_0x2f7507={_0x14bb84:0x18b,_0x34256b:0x1a9};function _0x4bc356(_0x3d7892,_0x5ad0c3,_0x59f027,_0x4d2c34){return _0x199b7d(_0x3d7892-_0x2f7507._0x14bb84,_0x4d2c34- -0x57c,_0x59f027-_0x2f7507._0x34256b,_0x59f027);}let _0x442787=_0x4aa596(()=>mc(_0x353826),[_0x353826]),[_0x4cd5f3]=O();function _0xac5b22(_0x2fb654,_0x1508dd,_0x4e869b,_0x40780b){return _0x199b7d(_0x2fb654-0x141,_0x2fb654-_0x57317c._0xb1762a,_0x4e869b-0x88,_0x4e869b);}if(!_0x442787)return _0x52fa14(_0x1a9797,{'marginTop':0x1,'children':_0x52fa14(_0x41c327,{'color':_0xac5b22(0x494,0x4d1,0x66a,_0x4fd5dd._0x525bd9),'children':_0x4bc356(-0x235,-_0x4fd5dd._0x34a4ae,-_0x4fd5dd._0x5a95c4,-_0x4fd5dd._0x2ea273)})});let _0x23d570=fc(_0x442787[_0xac5b22(_0x4fd5dd._0x48b901,0x73e,0x7e4,0x8f6)]);return _0x52fa14(_0x1a9797,{'flexDirection':_0x4bc356(-0x145,0x17,0x1dd,0x97),'marginTop':0x1,'width':_0x4cd5f3-0xa,'overflow':'hidden','children':_0x23d570['map'](_0x537c80=>_0x400c2f(_0x1a9797,{'children':[_0x52fa14(_0x41c327,{'dimColor':!0x0,'children':_0x537c80['lineNumber']}),_0x52fa14(_0x41c327,{'children':_0x537c80[_0x4bc356(0x1e2,-0x3d,0x2c4,0x17d)]})]},_0x537c80['lineNumber']+'-'+_0x537c80['content'][_0x4bc356(-0x2f2,-0x31f,-0x10c,-0x228)](0x0,0x14)))});}import{jsx as _0x40be78}from'react/jsx-runtime';function Rs({call:_0x4ce697}){const _0x24e1da={_0x4ac0d4:0x32a,_0x2fad9c:0xa0,_0x30c209:0xbd,_0x2aef46:0x1c8},_0x36df69={_0x3d1e47:0x1e9,_0x2c395e:0x232},_0x31c811={_0x1b6ce7:0x359,_0x14fc78:0x1ad};function _0xa4be29(_0x83311,_0x1dc73a,_0x20eebe,_0x4fa782){return _0x199b7d(_0x83311-0xea,_0x20eebe- -_0x31c811._0x1b6ce7,_0x20eebe-_0x31c811._0x14fc78,_0x83311);}function _0x2bfc28(_0x90674c,_0x468473,_0x5d1f42,_0xf398af){return _0x199b7d(_0x90674c-_0x36df69._0x3d1e47,_0xf398af- -_0x36df69._0x2c395e,_0x5d1f42-0xe6,_0x5d1f42);}switch(_0x4ce697['function'][_0x2bfc28(0x343,0x382,0x136,_0x24e1da._0x4ac0d4)]){case _0x2bfc28(_0x24e1da._0x2fad9c,0x104,_0x24e1da._0x30c209,_0x24e1da._0x2aef46):return _0x40be78(Is,{'call':_0x4ce697});case'file_new':return _0x40be78(As,{'call':_0x4ce697});default:return null;}}import{Fragment as _0x58eea4,jsx as _0x32cfa8,jsxs as _0x3825b5}from'react/jsx-runtime';var gr=({toolCall:_0x5bfef6})=>{const _0x51aca8={_0x4ec30b:0x2aa,_0x475e8a:0x2a8,_0x37828:0x4f4,_0x5c0f12:0x3c6,_0xc43d75:0x46c,_0x24be87:0x37f,_0x22c684:0x531,_0x40f3ec:0x4bd,_0x464eda:0x540},_0xe8a898={_0x10dee1:0x1da},_0x884039={_0x1ea64d:0x715,_0x44700f:0x3ff,_0x5b71b2:0x3df,_0x792b0e:0x464,_0x19e0b5:0x6f5,_0xe146a7:0x776,_0x11229d:0x589,_0xc195ef:0x58c,_0xd4a244:0x758,_0x4ff36e:0x536,_0x33fbbe:0x589,_0x461cf9:0x4fd,_0x3c2c95:0x4eb,_0xd7e850:0x7d1,_0x442cf9:0x462,_0x5b5c38:0x5d3,_0x4e4f74:0x597,_0x12eb07:0x357,_0x4eee2d:0x47e,_0x4614a3:0x2d8,_0x548fef:0x15e,_0x11a5ba:0x306,_0x288864:0x507,_0x2991ef:0x5e0},_0x336e6c={_0x5cb166:0x19c,_0x53a258:0x0};function _0x41c900(_0x352002,_0x32627c,_0xd91bc6,_0x4e29a5){return _0x199b7d(_0x352002-0x10f,_0x4e29a5- -_0x336e6c._0x5cb166,_0xd91bc6-_0x336e6c._0x53a258,_0xd91bc6);}let {theme:_0x502848}=D(),_0xfc2fe2=_0x49e9b6=>{const _0xa1e6de={_0x45ede8:0x1c9};function _0x4a07b5(_0x5bad2b,_0x2eed3c,_0x487765,_0x4aead9){return _0x58a4(_0x4aead9-_0xa1e6de._0x45ede8,_0x2eed3c);}function _0x34eed9(_0x29d32c,_0x1bd13d,_0x4cd2be,_0x437fba){return _0x58a4(_0x437fba- -0x44,_0x1bd13d);}try{let _0x4f18c9=_0x49e9b6[_0x4a07b5(0x46a,_0x884039._0x1ea64d,0x51b,0x589)][_0x34eed9(0x590,_0x884039._0x44700f,0x548,0x44b)]?JSON[_0x4a07b5(0x20f,0x30e,0x29e,_0x884039._0x5b71b2)](_0x49e9b6[_0x4a07b5(_0x884039._0x792b0e,_0x884039._0x19e0b5,_0x884039._0xe146a7,_0x884039._0x11229d)][_0x34eed9(0x5d2,_0x884039._0xc195ef,0x387,0x44b)]):{},_0xed4c5f=_0x49e9b6[_0x4a07b5(_0x884039._0xd4a244,0x606,_0x884039._0x4ff36e,_0x884039._0x33fbbe)]['name'];return _0xed4c5f===_0x4a07b5(_0x884039._0x461cf9,_0x884039._0x3c2c95,0x453,0x390)||_0xed4c5f===_0x4a07b5(0x622,_0x884039._0xd7e850,_0x884039._0x442cf9,_0x884039._0x5b5c38)?Object[_0x4a07b5(0x3f0,_0x884039._0x4e4f74,_0x884039._0x12eb07,_0x884039._0x4eee2d)](_0x4f18c9)[_0x34eed9(0x40e,_0x884039._0x4614a3,_0x884039._0x548fef,_0x884039._0x11a5ba)](([_0xf27a8a])=>_0xf27a8a!=='description'):Object[_0x4a07b5(_0x884039._0x288864,_0x884039._0x2991ef,0x4e1,0x47e)](_0x4f18c9);}catch{return[];}},_0x3b20a1=_0x4dc4b1=>typeof _0x4dc4b1==_0x41c900(0x552,0x5ad,0x39c,0x4af)?_0x4dc4b1:typeof _0x4dc4b1==_0x41c900(0x43a,0x1ce,0x2d6,0x399)?JSON['stringify'](_0x4dc4b1,null,0x0):String(_0x4dc4b1),_0x5e6234=_0xfc2fe2(_0x5bfef6);function _0x1f3ae2(_0x59fbaa,_0x5a5d44,_0x5d6ea5,_0x440c5a){return _0x3eba7a(_0x59fbaa-_0xe8a898._0x10dee1,_0x5a5d44-0x169,_0x5d6ea5,_0x440c5a-0x38e);}return _0x3825b5(_0x54fdae,{'flexDirection':'column','children':[_0x5bfef6[_0x41c900(_0x51aca8._0x4ec30b,_0x51aca8._0x475e8a,_0x51aca8._0x37828,0x40e)]['name']!==_0x41c900(0xa2,_0x51aca8._0x5c0f12,0x1d5,0x25e)&&_0x5bfef6[_0x1f3ae2(0x2c0,_0x51aca8._0xc43d75,0x544,0x491)][_0x1f3ae2(0x4d7,0x275,0x5ad,0x443)]!=='file_new'&&_0x3825b5(_0x58eea4,{'children':[_0x32cfa8(_0x54fdae,{'children':_0x32cfa8(_0x30a12a,{'color':_0x502848['toolApproval'][_0x41c900(0x5bb,0x323,0x4d1,0x47f)],'children':_0x1f3ae2(_0x51aca8._0x24be87,_0x51aca8._0x22c684,0x5a9,0x472)})}),_0x5e6234[_0x41c900(0x6ba,_0x51aca8._0x40f3ec,0x5c1,_0x51aca8._0x464eda)](([_0x28c794,_0x2aae5c])=>_0x32cfa8(_0x54fdae,{'marginLeft':0x2,'flexDirection':'column','children':_0x32cfa8(_0x30a12a,{'dimColor':!0x0,'children':_0x28c794+':\x20'+_0x3b20a1(_0x2aae5c)})},_0x28c794))]}),_0x32cfa8(Rs,{'call':_0x5bfef6})]});};import{Text as _0x4d0ba6}from'ink';import{jsxs as _0x1cd5b1}from'react/jsx-runtime';var hr=({currentIndex:_0x8d14f4,totalTools:_0x31e839})=>{const _0x3f379e={_0x41ea7d:0xf8,_0xed490c:0x2d8,_0x246d92:0xe6,_0x3d6240:0xdb,_0x2ddcb6:0xd3,_0x397330:0x111},_0x523c2f={_0x55a9a9:0xd9,_0x4b272d:0x5f};function _0x5e22b9(_0x15e227,_0x1c8240,_0x4f71ae,_0x18f9c5){return _0x199b7d(_0x15e227-0xa9,_0x4f71ae- -0x5cb,_0x4f71ae-0x1a4,_0x15e227);}let {theme:_0x1a2a46}=D();function _0x2d25eb(_0x109179,_0x2b5a05,_0x48914d,_0x4cd657){return _0x3eba7a(_0x109179-0x1e4,_0x2b5a05-_0x523c2f._0x55a9a9,_0x109179,_0x48914d- -_0x523c2f._0x4b272d);}return _0x1cd5b1(_0x4d0ba6,{'color':_0x1a2a46[_0x2d25eb(_0x3f379e._0x41ea7d,_0x3f379e._0xed490c,_0x3f379e._0x246d92,0x214)][_0x5e22b9(_0x3f379e._0x3d6240,_0x3f379e._0x2ddcb6,0x50,_0x3f379e._0x397330)],'children':[_0x8d14f4+0x1,'/',_0x31e839]});};import{Box as _0x9f7006,Text as _0x3cfd77}from'ink';import{jsx as _0x50e5f6,jsxs as _0x4336f3}from'react/jsx-runtime';var yr=({selectedAction:_0x36a7c6})=>{const _0x3ef071={_0x1fe8ae:0x292,_0x3161b5:0x1db,_0x1242b7:0x21d,_0x382a6f:0x2c1,_0xc830db:0x1c1,_0x18c745:0x56,_0x41c8d9:0x315,_0x3515cf:0x37d,_0x44bba6:0x260,_0x3e4306:0x526,_0x336511:0x474,_0x321ae9:0x3c1,_0x54164e:0x3b8,_0x2c85e8:0x4bb,_0x384d7d:0x3d4,_0x18fa52:0x4c4,_0x331814:0x509,_0x277fa5:0x344,_0x4a0166:0x151,_0x2ee362:0x11c,_0x2420cb:0x31,_0x108f66:0x119,_0x1e038f:0x298,_0x42252c:0x439,_0x314d40:0x132,_0x5e2dbd:0x1db,_0x3f3831:0x12,_0x267b3b:0x151,_0x45f535:0x186,_0x611ede:0x571,_0x45cc2b:0x192,_0x27cd9d:0x37d,_0x343bc4:0x33c,_0x5c42ce:0x293,_0x3d9781:0xea,_0x1301f6:0x2e2},_0xdf9dcf={_0x4ad3ee:0x1d0},_0x2e0508={_0x3a1e5f:0x154};function _0x40d218(_0x1b5035,_0x34a1fd,_0x141846,_0x51a778){return _0x199b7d(_0x1b5035-0xf5,_0x34a1fd- -0x49b,_0x141846-_0x2e0508._0x3a1e5f,_0x141846);}let {theme:_0x40f0ec}=D();function _0x430d6b(_0x3a59f3,_0x25db68,_0x248753,_0x5195df){return _0x3eba7a(_0x3a59f3-0x90,_0x25db68-_0xdf9dcf._0x4ad3ee,_0x3a59f3,_0x248753-0x238);}return _0x4336f3(_0x9f7006,{'flexDirection':_0x40d218(_0x3ef071._0x1fe8ae,0x167,0x3,0x4c),'gap':0x2,'children':[_0x4336f3(_0x9f7006,{'alignItems':_0x40d218(0x129,_0x3ef071._0x3161b5,-0x1e,_0x3ef071._0x1242b7),'children':[_0x50e5f6(_0x3cfd77,{'color':_0x36a7c6===0x0?_0x40f0ec['toolApproval'][_0x40d218(-_0x3ef071._0x382a6f,-0x11e,-0x12,-_0x3ef071._0xc830db)]:_0x40d218(-0x7d,0x161,-_0x3ef071._0x18c745,0x1cc),'bold':!0x0,'children':_0x36a7c6===0x0?'❯\x20':'\x20\x20'}),_0x50e5f6(_0x3cfd77,{'dimColor':_0x36a7c6!==0x0,'color':_0x36a7c6===0x0?_0x40f0ec[_0x430d6b(0x272,_0x3ef071._0x41c8d9,_0x3ef071._0x3515cf,0x1b0)][_0x430d6b(0x8f,0x1f9,0xeb,_0x3ef071._0x44bba6)]:_0x430d6b(_0x3ef071._0x3e4306,0x303,_0x3ef071._0x336511,_0x3ef071._0x321ae9),'bold':!0x0,'children':_0x430d6b(_0x3ef071._0x54164e,_0x3ef071._0x2c85e8,_0x3ef071._0x384d7d,_0x3ef071._0x18fa52)})]}),_0x4336f3(_0x9f7006,{'alignItems':_0x430d6b(_0x3ef071._0x331814,0x239,0x407,0x4ae),'children':[_0x50e5f6(_0x3cfd77,{'color':_0x36a7c6===0x1?_0x40f0ec['toolApproval']['actionSelected']:'transparent','bold':!0x0,'children':_0x36a7c6===0x1?'❯\x20':'\x20\x20'}),_0x50e5f6(_0x3cfd77,{'dimColor':_0x36a7c6!==0x1,'color':_0x36a7c6===0x1?_0x40f0ec[_0x40d218(_0x3ef071._0x277fa5,_0x3ef071._0x4a0166,0x1c0,_0x3ef071._0x2ee362)][_0x430d6b(-_0x3ef071._0x2420cb,0x18b,0x10e,_0x3ef071._0x108f66)]:_0x40f0ec[_0x430d6b(0x2e8,_0x3ef071._0x1e038f,_0x3ef071._0x3515cf,_0x3ef071._0x42252c)][_0x430d6b(0x2bc,_0x3ef071._0x314d40,0xf4,0x244)],'bold':!0x0,'children':'No'})]}),_0x4336f3(_0x9f7006,{'alignItems':_0x40d218(0x2c8,_0x3ef071._0x5e2dbd,0x1c0,0x353),'children':[_0x50e5f6(_0x3cfd77,{'color':_0x36a7c6===0x2?_0x40f0ec[_0x40d218(_0x3ef071._0x3f3831,_0x3ef071._0x267b3b,_0x3ef071._0x45f535,0x1f5)]['actionSelected']:_0x40d218(0x1ba,0x161,0x286,0x2da),'bold':!0x0,'children':_0x36a7c6===0x2?'❯\x20':'\x20\x20'}),_0x50e5f6(_0x3cfd77,{'dimColor':_0x36a7c6!==0x2,'color':_0x36a7c6===0x2?_0x40f0ec[_0x430d6b(_0x3ef071._0x611ede,0x202,_0x3ef071._0x3515cf,0x1db)]['actionSelected']:_0x40f0ec[_0x430d6b(0x525,_0x3ef071._0x45cc2b,_0x3ef071._0x27cd9d,_0x3ef071._0x343bc4)]['actionReview'],'bold':!0x0,'children':_0x430d6b(_0x3ef071._0x5c42ce,_0x3ef071._0x3d9781,_0x3ef071._0x1301f6,0x134)})]})]});};import{Box as _0x1bc146,Text as _0x5a2319,useInput as _0x1cc583}from'ink';import{jsx as _0x37f237,jsxs as _0x1f6a9f}from'react/jsx-runtime';var vc={'info':{'borderColor':'cyan','titleColor':_0x199b7d(0x510,0x417,0x220,0x31a)},'error':{'borderColor':_0x199b7d(0x1d2,0x38c,0x431,0x51a),'titleColor':_0x199b7d(0x58d,0x38c,0x2ba,0x343)},'warning':{'borderColor':_0x3eba7a(-0x1f1,-0x327,-0x2f1,-0x184),'titleColor':_0x3eba7a(-0x22f,-0x134,0x7,-0x184)},'success':{'borderColor':_0x199b7d(0x35b,0x52a,0x6c2,0x677),'titleColor':_0x199b7d(0x3b7,0x52a,0x5fa,0x33c)},'default':{'borderColor':_0x199b7d(0x50c,0x6e3,0x7f6,0x6a2),'titleColor':ae[_0x199b7d(0x5fb,0x58d,0x593,0x566)][_0x3eba7a(0xc5,0x8,-0xb0,0xbf)]}},vr=({visible:_0x3643a8,title:_0xc3e755,rightTitle:_0x5ed8f6,type:_0x34ce1f=_0x199b7d(0x75d,0x605,0x78a,0x685),titleColor:_0x302141,borderColor:_0x5849e8,children:_0x326640,onClose:_0x4bcfd0,closeOnEscape:_0x10ae22=!0x0,closeOnEnter:_0x55d5bf=!0x1,paddingX:_0x4f6671=0x2,paddingY:_0x4ed99a=0x0,marginX:_0xd134cc=0x1,marginY:_0x4be665=0x0})=>{const _0x5bd2e7={_0x256c19:0x57b,_0x4d803f:0x40b,_0x35adaa:0x4bb,_0x14a291:0x534,_0x4c105d:0x441,_0xaf9235:0x5d6,_0x30a289:0x6e0,_0x5e27e6:0x949,_0x1b1a96:0x488,_0x7a9812:0x653,_0xb91636:0x845,_0x44a09f:0x6c6,_0x519d6f:0x668,_0x111b9c:0x667,_0x5f060c:0x757,_0x2dfef6:0x787,_0x247990:0x7a6,_0x4716c1:0x7f2},_0x2ef8dd={_0x59ac58:0x43b,_0x71eae3:0x6be,_0xe98b8b:0x4a7,_0x3866be:0xf0},_0xa96606={_0x582fb5:0x34},_0x4b536d={_0x15ad69:0x1a0,_0x597cce:0x3d8},_0x2f1c94={_0x565123:0x149,_0x156469:0x5e,_0x25612e:0xef};function _0xa40115(_0x257f3a,_0x4a94f5,_0x2510ab,_0x28be87){return _0x199b7d(_0x257f3a-_0x2f1c94._0x565123,_0x4a94f5-_0x2f1c94._0x156469,_0x2510ab-_0x2f1c94._0x25612e,_0x28be87);}let _0x48339f=vc[_0x34ce1f],_0x34de48=_0x5849e8||_0x48339f[_0x236d1e(_0x5bd2e7._0x256c19,_0x5bd2e7._0x4d803f,0x55f,0x4a4)],_0x2e6263=_0x302141||_0x48339f[_0x236d1e(0x55c,_0x5bd2e7._0x35adaa,0x6aa,_0x5bd2e7._0x14a291)];function _0x236d1e(_0x547398,_0x15b860,_0x391b79,_0x999b2f){return _0x3eba7a(_0x547398-_0x4b536d._0x15ad69,_0x15b860-0x182,_0x391b79,_0x15b860-_0x4b536d._0x597cce);}return _0x1cc583((_0x52b89b,_0xe029ea)=>{const _0x538698={_0x47aa5a:0x197,_0x56887f:0xfc};function _0x3de39e(_0x2a5413,_0x913531,_0x30e978,_0x202fe4){return _0xa40115(_0x2a5413-0x5b,_0x30e978- -0x3d6,_0x30e978-_0xa96606._0x582fb5,_0x202fe4);}function _0x5a8680(_0x177787,_0x4906ab,_0x52dba1,_0x5660c3){return _0xa40115(_0x177787-0xc1,_0x177787-_0x538698._0x47aa5a,_0x52dba1-_0x538698._0x56887f,_0x52dba1);}if(_0xe029ea[_0x5a8680(0x616,_0x2ef8dd._0x59ac58,_0x2ef8dd._0x71eae3,_0x2ef8dd._0xe98b8b)]&&_0x10ae22&&_0x4bcfd0){_0x4bcfd0();return;}if(_0xe029ea[_0x3de39e(-0x5f,_0x2ef8dd._0x3866be,0xfa,0x289)]&&_0x55d5bf&&_0x4bcfd0){_0x4bcfd0();return;}},{'isActive':_0x3643a8&&!!_0x4bcfd0}),_0x3643a8?_0x1f6a9f(_0x1bc146,{'flexDirection':_0x236d1e(0x68e,0x544,0x4af,_0x5bd2e7._0x4c105d),'borderStyle':_0x236d1e(0x6b0,_0x5bd2e7._0xaf9235,0x5ef,0x7cb),'borderColor':_0x34de48,'width':_0xa40115(0x878,0x760,_0x5bd2e7._0x30a289,_0x5bd2e7._0x5e27e6),'children':[_0x1f6a9f(_0x1bc146,{'borderStyle':_0x236d1e(_0x5bd2e7._0x1b1a96,0x5d6,0x42c,_0x5bd2e7._0x7a9812),'borderLeft':!0x1,'borderRight':!0x1,'borderTop':!0x1,'borderColor':_0x236d1e(0x5c2,0x5b8,0x3de,0x62c),'justifyContent':_0xa40115(0x484,0x66c,_0x5bd2e7._0xb91636,_0x5bd2e7._0x44a09f),'children':[_0xc3e755?_0x37f237(_0x5a2319,{'color':_0x2e6263,'bold':!0x0,'children':_0xa40115(0x746,0x70e,_0x5bd2e7._0x519d6f,0x705)+_0xc3e755}):null,_0x5ed8f6?_0x1f6a9f(_0x5a2319,{'color':_0x2e6263,'bold':!0x0,'children':[_0x5ed8f6,'\x20']}):null]}),_0x37f237(_0x1bc146,{'paddingX':_0x4f6671,'paddingY':_0x4ed99a,'marginX':_0xd134cc,'marginY':_0x4be665,'width':_0xa40115(0x72b,0x760,_0x5bd2e7._0x111b9c,_0x5bd2e7._0x5f060c),'children':_0x37f237(_0x1bc146,{'flexDirection':_0xa40115(_0x5bd2e7._0x2dfef6,0x671,_0x5bd2e7._0x247990,_0x5bd2e7._0x4716c1),'width':'100%','children':_0x326640})})]}):null;};import{jsx as _0x4dc541,jsxs as _0xc6cbbc}from'react/jsx-runtime';function br({toolCalls:_0x5a855e,onApproval:_0x58af60}){const _0x45939f={_0x55cb84:0x81b,_0x99204c:0x761,_0x1ca32b:0x64a,_0x5ce4c8:0x639,_0x4cbb75:0x727,_0x1a8a95:0x567,_0x55708a:0x56c,_0x41d0d9:0x732,_0x5b6117:0x740,_0x54410f:0x6ed,_0xdfd2f:0x74e,_0x3dd6f7:0x934,_0x5b3738:0x83d,_0x277456:0x9eb,_0x526424:0x560,_0x33a842:0x910,_0x5213ab:0x89b,_0x45dab7:0x6b1,_0x6573d0:0x608,_0x162814:0x724,_0x4e2834:0x719,_0x1f4caa:0x58e,_0x341cd6:0x7b5},_0x41d630={_0x207a01:0x143,_0x538583:0xa3,_0x30967d:0x120},_0x4209fa={_0xe09272:0x2ff,_0x545042:0x221,_0x4bad78:0x336,_0x2f51f1:0x2e8,_0x44481c:0x461,_0x2565fb:0x253,_0x165ed5:0x26b,_0x4e6b21:0x336,_0x5bfbdb:0x10e,_0xeb0861:0x8c,_0x2feab9:0x35,_0x33af39:0x2e5,_0x55a5e8:0x2c0,_0x45373b:0x1c,_0x21411d:0xe0,_0x2157a6:0x203,_0x33a41a:0x3a1,_0x47cc84:0x82,_0x1e100c:0x112,_0x48525b:0x403,_0x4d4704:0x577,_0x1b27c7:0x46c,_0x14302a:0x439,_0x456eb1:0x6f,_0x3faec3:0x16,_0x5c9d8d:0x121,_0x3a01ee:0x1e0},_0x1157be={_0x58f1d4:0xed},_0x243a7d={_0x2cd29f:0x4b4,_0x768530:0x679,_0xc4d6d0:0x799,_0x2bdbeb:0x6b7,_0x5874b6:0x31a,_0x1687d5:0x597,_0x25149b:0x7a3,_0x44a55c:0x604,_0x1e2fd9:0x470,_0x20714c:0x511,_0x314968:0x877,_0x5b6968:0x80b,_0x2af986:0x6b7,_0x23b228:0x496,_0x1c03a8:0x641},_0x23aa4c={_0x2a3b45:0xd5};function _0xb56338(_0x3f8bad,_0x2898cd,_0x4c006e,_0x1ecc33){return _0x3eba7a(_0x3f8bad-0xeb,_0x2898cd-_0x23aa4c._0x2a3b45,_0x1ecc33,_0x2898cd-0x5e2);}let {addSessionApprovedTool:_0x42ab05}=Ae(),[_0x22c9bd,_0x2bb41a]=_0x1af983(0x0),[_0xfa59ac,_0x5b5624]=_0x1af983([]),[_0x2c786b,_0x5cc17b]=_0x1af983([]),[_0x5888db,_0x211b19]=_0x1af983(0x0),_0x2b486a=_0x5a855e[_0x22c9bd],_0x2a779b=_0x22c9bd===_0x5a855e[_0xb56338(0x731,_0x45939f._0x55cb84,0x86c,_0x45939f._0x99204c)]-0x1;_0x43a2c3((_0x4769ba,_0x25c6e6)=>{const _0x41cf68={_0x4f4f96:0xa3};if(_0x25c6e6['tab']){_0x211b19(_0x3224f5=>_0x25c6e6[_0x33115a(0x5b9,0x503,0x41f,0x411)]?_0x3224f5===0x0?0x2:_0x3224f5-0x1:_0x3224f5===0x2?0x0:_0x3224f5+0x1);return;}function _0x5138a7(_0x5d7423,_0x8eb6e6,_0x48bdca,_0x108897){return _0xb56338(_0x5d7423-0x1cc,_0x108897-0x68,_0x48bdca-0xb2,_0x8eb6e6);}if(_0x25c6e6[_0x33115a(0x3a9,0x46e,_0x243a7d._0x2cd29f,_0x243a7d._0x768530)]){_0x245325([_0x5138a7(_0x243a7d._0xc4d6d0,0x50b,0x60f,_0x243a7d._0x2bdbeb),_0x33115a(_0x243a7d._0x5874b6,_0x243a7d._0x1687d5,0x496,0x3b0),_0x5138a7(_0x243a7d._0x25149b,0x7a0,0x752,0x77d)][_0x5888db]);return;}if(_0x25c6e6[_0x5138a7(_0x243a7d._0x44a55c,0x618,0x63a,0x664)]){_0x211b19(_0xdf54ba=>_0xdf54ba===0x0?0x2:_0xdf54ba-0x1);return;}if(_0x25c6e6[_0x5138a7(0x395,_0x243a7d._0x1e2fd9,0x431,_0x243a7d._0x20714c)]){_0x211b19(_0x33b2af=>_0x33b2af===0x2?0x0:_0x33b2af+0x1);return;}if(_0x4769ba==='1'){_0x245325(_0x5138a7(0x691,_0x243a7d._0x314968,_0x243a7d._0x5b6968,_0x243a7d._0x2af986));return;}function _0x33115a(_0x51bc3c,_0x47246b,_0x4f01cd,_0x1197d8){return _0xb56338(_0x51bc3c-_0x41cf68._0x4f4f96,_0x4f01cd- -0xf9,_0x4f01cd-0x3f,_0x47246b);}if(_0x4769ba==='2'){_0x245325(_0x33115a(0x696,0x3cc,_0x243a7d._0x23b228,0x32e));return;}if(_0x4769ba==='3'){_0x245325(_0x5138a7(0x887,_0x243a7d._0x1c03a8,0x604,0x77d));return;}});let _0x245325=_0x2aef47=>{const _0x45e352={_0x3f4bbe:0x12f,_0x3b8a71:0x6be,_0x4c869a:0x10e};function _0x5ad27b(_0x2792cb,_0x4d91e4,_0x107b8c,_0x38f364){return _0xb56338(_0x2792cb-0x1a0,_0x107b8c- -0x3af,_0x107b8c-_0x1157be._0x58f1d4,_0x38f364);}function _0x93c6c8(_0x3fcf9a,_0x366594,_0x20c2e9,_0x47c229){return _0xb56338(_0x3fcf9a-_0x45e352._0x3f4bbe,_0x3fcf9a- -_0x45e352._0x3b8a71,_0x20c2e9-_0x45e352._0x4c869a,_0x47c229);}if(_0x2aef47===_0x5ad27b(_0x4209fa._0xe09272,0x12d,0x2a0,0x1a4))_0x5b5624(_0x2193b7=>[..._0x2193b7,_0x2b486a]);else{if(_0x2aef47==='deny')_0x5cc17b(_0x4add2b=>[..._0x4add2b,_0x2b486a]);else{if(_0x2aef47==='approve_session'){_0x42ab05(_0x2b486a[_0x5ad27b(_0x4209fa._0x545042,0x245,_0x4209fa._0x4bad78,0x457)][_0x5ad27b(0x373,0x2f1,_0x4209fa._0x2f51f1,_0x4209fa._0x44481c)]);let _0x27a524=_0x2b486a[_0x5ad27b(_0x4209fa._0x2565fb,_0x4209fa._0x165ed5,_0x4209fa._0x4e6b21,0x234)][_0x5ad27b(0x27a,0x226,0x2e8,_0x4209fa._0x5bfbdb)],_0x5713dd=_0x5a855e[_0x5ad27b(0x176,_0x4209fa._0xeb0861,0xe0,-_0x4209fa._0x2feab9)](_0x22c9bd)[_0x5ad27b(0x4ad,_0x4209fa._0x33af39,_0x4209fa._0x55a5e8,0x212)](_0x510580=>_0x510580['function'][_0x5ad27b(0x155,0x417,0x2e8,0x24f)]===_0x27a524);_0x5b5624(_0x51d9d1=>[..._0x51d9d1,..._0x5713dd]);let _0x2b15bb=_0x5a855e[_0x5ad27b(0xef,-_0x4209fa._0x45373b,_0x4209fa._0x21411d,-0x51)](_0x22c9bd+0x1)[_0x93c6c8(-_0x4209fa._0x2157a6,-_0x4209fa._0x33a41a,-0x407,-0x157)](_0x52b117=>_0x52b117[_0x5ad27b(0x4d9,0x1f6,0x336,0x48b)][_0x93c6c8(-0x27,-0xca,0x25,0x17b)]!==_0x27a524);if(_0x2b15bb===-0x1){_0x58af60(_0x93c6c8(-0x6f,-0x9b,_0x4209fa._0x47cc84,_0x4209fa._0x1e100c),[..._0xfa59ac,..._0x5713dd]);return;}_0x2bb41a(_0x22c9bd+0x1+_0x2b15bb),_0x211b19(0x0);return;}}}if(_0x2a779b){let _0x64fdef=_0x2aef47===_0x5ad27b(0x402,0x328,0x2a0,0x447)?[..._0xfa59ac,_0x2b486a]:_0xfa59ac;_0x64fdef[_0x5ad27b(_0x4209fa._0x48525b,_0x4209fa._0x4d4704,_0x4209fa._0x1b27c7,_0x4209fa._0x14302a)]>0x0?_0x58af60(_0x93c6c8(-_0x4209fa._0x456eb1,_0x4209fa._0x3faec3,-_0x4209fa._0x5c9d8d,0x2c),_0x64fdef):_0x58af60(_0x5ad27b(0x274,0xf9,_0x4209fa._0x3a01ee,0x3ad));}else _0x2bb41a(_0x332432=>_0x332432+0x1),_0x211b19(0x0);};function _0x3033b3(_0x51944a,_0x2cc611,_0x46e1bd,_0x1ebea2){return _0x199b7d(_0x51944a-_0x41d630._0x207a01,_0x46e1bd-_0x41d630._0x538583,_0x46e1bd-_0x41d630._0x30967d,_0x1ebea2);}return _0x4dc541(vr,{'visible':!0x0,'title':_0x2b486a[_0x3033b3(_0x45939f._0x1ca32b,0x54a,0x64d,0x704)][_0xb56338(0x7f6,0x697,0x880,_0x45939f._0x5ce4c8)],'rightTitle':_0x4dc541(_0x5e000e,{'color':ae[_0xb56338(0x6ef,_0x45939f._0x4cbb75,0x861,0x531)][_0x3033b3(0x4eb,0x4f7,0x503,_0x45939f._0x1a8a95)],'dimColor':!0x0,'children':_0x3033b3(_0x45939f._0x55708a,0x5ef,_0x45939f._0x41d0d9,_0x45939f._0x5b6117)}),'children':_0xc6cbbc(_0x2ded93,{'flexDirection':_0xb56338(_0x45939f._0x54410f,_0x45939f._0xdfd2f,0x944,_0x45939f._0x3dd6f7),'width':_0xb56338(0x653,_0x45939f._0x5b3738,_0x45939f._0x277456,0x7d1),'children':[_0x4dc541(gr,{'toolCall':_0x2b486a}),_0xc6cbbc(_0x2ded93,{'flexDirection':_0xb56338(_0x45939f._0x526424,0x73d,0x7dd,_0x45939f._0x33a842),'justifyContent':_0x3033b3(_0x45939f._0x5213ab,0x5ab,_0x45939f._0x45dab7,0x55c),'alignItems':_0x3033b3(_0x45939f._0x6573d0,_0x45939f._0x162814,_0x45939f._0x4e2834,_0x45939f._0x1f4caa),'marginTop':0x1,'children':[_0x4dc541(yr,{'selectedAction':_0x5888db}),_0x4dc541(hr,{'currentIndex':_0x22c9bd,'totalTools':_0x5a855e[_0xb56338(_0x45939f._0x341cd6,0x81b,0x928,0x7d7)]})]})]})});}import{useState as _0x46c33d,useEffect as _0x3880a7,useCallback as _0x9e5baa,useMemo as _0x4a51f2}from'react';function io(){const _0x20c067={_0x22cc4d:0x6d6},_0x1a8d62={_0x9e762f:0x3df,_0x37a608:0x49e,_0x39f3d6:0x47c,_0x43f677:0x432},_0x401ea7={_0xdc8308:0x435,_0x6ee81a:0x427};let [_0x5c1abf,_0x590e7e]=_0x46c33d(()=>ce['list']({'includeHidden':!0x1})),[_0x40da7e,_0x1d6e14]=_0x46c33d(()=>ce['getActive']());_0x3880a7(()=>{const _0x1bdadc={_0x41293d:0x9ad,_0x5e4f5f:0x8cb};let _0x1628a6=()=>{function _0x3918f8(_0x547b45,_0x48721b,_0x291ed0,_0x2e6a6a){return _0x58a4(_0x2e6a6a-0x34d,_0x291ed0);}_0x1d6e14(ce[_0x3918f8(_0x1bdadc._0x41293d,_0x1bdadc._0x5e4f5f,0x84c,0x7e5)]());};function _0x281975(_0xab7412,_0x558e90,_0x475a26,_0x461f49){return _0x58a4(_0x461f49-0x27a,_0x475a26);}function _0x12b868(_0x3e1f58,_0x35b6cf,_0x2bb6d4,_0x3e640f){return _0x58a4(_0x3e1f58-0xb3,_0x2bb6d4);}return L['on'](_0x12b868(_0x1a8d62._0x9e762f,0x311,_0x1a8d62._0x37a608,0x3ae),_0x1628a6),L['on'](_0x12b868(_0x1a8d62._0x39f3d6,0x4a3,0x4c0,_0x1a8d62._0x43f677),_0x1628a6),()=>{const _0x49b1a8={_0x10d2d2:0xde,_0x58df23:0x51},_0x54ffb5={_0x50edea:0x14b,_0x34768c:0x3a2};function _0x1be703(_0x3cc9a4,_0x4b5a72,_0x5da4e4,_0x46af93){return _0x281975(_0x3cc9a4-_0x54ffb5._0x50edea,_0x4b5a72-0x1e4,_0x4b5a72,_0x46af93- -_0x54ffb5._0x34768c);}function _0x172b47(_0x3cc075,_0x1b6d0e,_0x1ba310,_0x2f3867){return _0x281975(_0x3cc075-_0x49b1a8._0x10d2d2,_0x1b6d0e-_0x49b1a8._0x58df23,_0x2f3867,_0x3cc075- -0x2fd);}L[_0x172b47(_0x401ea7._0xdc8308,0x241,0x516,0x3ff)]('ui:command:activated',_0x1628a6),L[_0x172b47(_0x401ea7._0xdc8308,0x372,0x62f,_0x401ea7._0x6ee81a)]('ui:command:deactivated',_0x1628a6);};},[]);let _0x4f8c17=_0x9e5baa(async _0x3c1c88=>{await ce['execute'](_0x3c1c88);},[]),_0xd5d62f=_0x9e5baa((_0x33f0de,_0x4ec401)=>{function _0x58cd94(_0x54e7a9,_0xc64eb8,_0x40f3f5,_0x29fcae){return _0x58a4(_0x29fcae-0x28f,_0x40f3f5);}ce[_0x58cd94(_0x20c067._0x22cc4d,0x699,0x374,0x56b)](_0x33f0de,_0x4ec401);},[]),_0x3eb18d=_0x9e5baa(()=>{ce['clearActive']();},[]);return _0x4a51f2(()=>({'commands':_0x5c1abf,'activeCommand':_0x40da7e,'execute':_0x4f8c17,'setActiveCommand':_0xd5d62f,'clearActiveCommand':_0x3eb18d}),[_0x5c1abf,_0x40da7e,_0x4f8c17,_0xd5d62f,_0x3eb18d]);}import{jsx as _0x912d08}from'react/jsx-runtime';function Ns(){const _0xef7b57={_0x37d017:0x17,_0x56e697:0x20a,_0x23d98f:0x21c},_0x17f65e={_0x2e8c0b:0x1e3};let {activeCommand:_0x7f8b12,clearActiveCommand:_0x5f4aa9}=io();if(!_0x7f8b12)return null;let {command:_0x417e8d,context:_0x4ccaf7}=_0x7f8b12;function _0xc62887(_0x132176,_0x2d52e1,_0x4c8975,_0x57b934){return _0x3eba7a(_0x132176-0x5,_0x2d52e1-_0x17f65e._0x2e8c0b,_0x57b934,_0x4c8975-0x1f3);}return _0x912d08(_0x417e8d[_0xc62887(_0xef7b57._0x37d017,_0xef7b57._0x56e697,0x137,_0xef7b57._0x23d98f)],{'context':_0x4ccaf7,'deactivate':_0x5f4aa9,'isActive':!0x0});}import _0x183d05,{useState as _0x294c7c,useEffect as _0x449de7,useCallback as _0x238ab6,forwardRef as _0x1beefd,useImperativeHandle as _0x120ea4}from'react';import{Box as _0x5cb1a2,Text as _0x2f507c,useInput as _0x450d57}from'ink';import{useState as _0x2b1d84,useEffect as _0xa5026b,useRef as _0x39d474,useImperativeHandle as _0x12bc4d,forwardRef as _0x31f8c5}from'react';import{Box as _0xf61a45,Text as _0x595dce,useInput as _0x260c28}from'ink';var wr=_0x199b7d(0x349,0x33a,0x267,0x19c),Os='[200~',ao=_0x199b7d(0x358,0x552,0x3e3,0x669),lo=_0x199b7d(0x5f1,0x6cb,0x881,0x7dd);function Qe(_0x1d5b5f,_0x2f32d6){const _0x5cfa87={_0x5240d8:0x814,_0xa7c5d:0x618,_0x42e9dd:0x4a4,_0x2aa619:0x686,_0x21e851:0x2ca,_0x14b6cc:0x3b8},_0x561bc1={_0x5752bb:0x108,_0x17dbab:0x2cb,_0x567367:0x155},_0x7083f5={_0x89dbda:0x1f1,_0x11c571:0x5c5};function _0x882676(_0x537e41,_0x40ea7d,_0x52d141,_0x4893ef){return _0x3eba7a(_0x537e41-0x8b,_0x40ea7d-_0x7083f5._0x89dbda,_0x4893ef,_0x537e41-_0x7083f5._0x11c571);}function _0x4359f9(_0x268875,_0x334fb8,_0x5189b3,_0x61680a){return _0x199b7d(_0x268875-_0x561bc1._0x5752bb,_0x268875- -_0x561bc1._0x17dbab,_0x5189b3-_0x561bc1._0x567367,_0x5189b3);}return _0x1d5b5f?.[_0x882676(0x618,0x6dc,_0x5cfa87._0x5240d8,0x492)](wr)||_0x1d5b5f?.[_0x882676(_0x5cfa87._0xa7c5d,0x7af,_0x5cfa87._0x42e9dd,_0x5cfa87._0x2aa619)](Os)?Pc(_0x1d5b5f):_0x2f32d6[_0x4359f9(0x3a8,0x1b4,_0x5cfa87._0x21e851,_0x5cfa87._0x14b6cc)]!==null?Ic(_0x1d5b5f,_0x2f32d6['buffer']):{'newState':_0x2f32d6,'processedInput':null,'shouldWaitForMore':!0x1,'isPasteStart':!0x1};}function Pc(_0x37fb2a){const _0x1de532={_0x493fab:0x5e6,_0x70348:0x615,_0x4b32ca:0x784,_0x277de2:0x670,_0x26e6d4:0x8ee,_0x966f60:0x769,_0x3f9b5a:0x5f3,_0x2ba414:0x74f,_0x3aa513:0x541,_0x3dc493:0x66b},_0x4d75a3={_0x1547aa:0x5d,_0x58ffa0:0x3ef},_0x159081={_0xb1438a:0x89};function _0x1b69a6(_0x208dad,_0x4b9d0d,_0x37fae3,_0x17dc77){return _0x199b7d(_0x208dad-0xe5,_0x17dc77-_0x159081._0xb1438a,_0x37fae3-0x13e,_0x208dad);}let _0x2457aa=_0x37fb2a[_0x4ee820(_0x1de532._0x493fab,0x442,_0x1de532._0x70348,0x565)](wr),_0x6dd1c0=_0x37fb2a['slice'](_0x2457aa?wr[_0x4ee820(_0x1de532._0x4b32ca,0x628,0x4cf,_0x1de532._0x277de2)]:Os[_0x1b69a6(0x611,0x634,_0x1de532._0x26e6d4,_0x1de532._0x966f60)]);function _0x4ee820(_0x530f38,_0x46b72f,_0x7b05e0,_0x44083a){return _0x3eba7a(_0x530f38-0x1af,_0x46b72f-_0x4d75a3._0x1547aa,_0x7b05e0,_0x46b72f-_0x4d75a3._0x58ffa0);}if(_0x6dd1c0[_0x1b69a6(0x3c0,_0x1de532._0x3f9b5a,0x4d3,0x57d)](ao)||_0x6dd1c0[_0x1b69a6(_0x1de532._0x2ba414,_0x1de532._0x3aa513,_0x1de532._0x3dc493,0x57d)](lo)){let _0xf314cb=$s(_0x6dd1c0),_0x306d12=_0x499cd6(_0xf314cb);return{'newState':{'buffer':null},'processedInput':_0x306d12,'shouldWaitForMore':!0x1,'isPasteStart':!0x0};}return{'newState':{'buffer':_0x6dd1c0},'processedInput':null,'shouldWaitForMore':!0x0,'isPasteStart':!0x0};}function Ic(_0x16f46e,_0x24af9d){const _0x4e491c={_0x3967ba:0x37e},_0x32429d={_0x27d2dc:0xff,_0x52b0c3:0x17d,_0x30a852:0xc9},_0x5b9d57={_0x28458c:0x135,_0xdbff97:0x86};function _0x5e8bab(_0x2b80de,_0x3b3290,_0x89def6,_0x238aa6){return _0x199b7d(_0x2b80de-_0x5b9d57._0x28458c,_0x3b3290- -0x75,_0x89def6-_0x5b9d57._0xdbff97,_0x89def6);}let _0x241252=_0x24af9d+_0x16f46e;if(_0x241252[_0x4013fb(0x274,0x377,0x2d5,0x1b5)](ao)||_0x241252[_0x5e8bab(0x28f,0x47f,0x599,_0x4e491c._0x3967ba)](lo)){let _0x38af23=$s(_0x241252),_0x35afd9=_0x499cd6(_0x38af23);return{'newState':{'buffer':null},'processedInput':_0x35afd9,'shouldWaitForMore':!0x1,'isPasteStart':!0x1};}function _0x4013fb(_0x22081c,_0x1f89cc,_0x68981e,_0x252bc0){return _0x199b7d(_0x22081c-_0x32429d._0x27d2dc,_0x1f89cc- -_0x32429d._0x52b0c3,_0x68981e-_0x32429d._0x30a852,_0x68981e);}return{'newState':{'buffer':_0x241252},'processedInput':null,'shouldWaitForMore':!0x0,'isPasteStart':!0x1};}function $s(_0x29fcca){const _0xf7a722={_0x269bd1:0x719,_0x22c25e:0x770,_0x2932a7:0x6e5,_0x4a5b77:0x763,_0x40af92:0x2c4,_0x3bd3bb:0x28b,_0x54e1cf:0x8d1,_0x5060cd:0xa2c},_0x4287ce={_0x13d076:0x3de},_0x21decd={_0x3831f8:0x61};function _0x1d8c55(_0x13ff04,_0x29b8bc,_0x29a812,_0x3e63da){return _0x3eba7a(_0x13ff04-0x46,_0x29b8bc-_0x21decd._0x3831f8,_0x29a812,_0x13ff04-0x698);}function _0x2e939e(_0x5947a6,_0x2353d1,_0x148db5,_0x2f2339){return _0x3eba7a(_0x5947a6-0x195,_0x2353d1-0x1e3,_0x5947a6,_0x2f2339-_0x4287ce._0x13d076);}return _0x29fcca['endsWith'](ao)?_0x29fcca['slice'](0x0,-ao[_0x1d8c55(0x8d1,0x864,_0xf7a722._0x269bd1,_0xf7a722._0x22c25e)]):_0x29fcca[_0x1d8c55(_0xf7a722._0x2932a7,_0xf7a722._0x4a5b77,0x7f5,0x825)](lo)?_0x29fcca[_0x2e939e(_0xf7a722._0x40af92,0x95,0x1e0,_0xf7a722._0x3bd3bb)](0x0,-lo[_0x1d8c55(_0xf7a722._0x54e1cf,0x7c6,0x865,_0xf7a722._0x5060cd)]):_0x29fcca;}function et(){return{'buffer':null};}import{jsx as _0xa0d491,jsxs as _0x5dac99}from'react/jsx-runtime';var Lc=({isSelected:_0x13b901,label:_0x5819db})=>_0xa0d491(_0x595dce,{'color':_0x13b901?_0x3eba7a(-0xab,-0x167,0x285,0x9b):void 0x0,'children':_0x5819db}),Dc=({isSelected:_0x3eddcd})=>_0xa0d491(_0xf61a45,{'children':_0xa0d491(_0x595dce,{'children':_0x3eddcd?'❯\x20':'\x20\x20'})}),uo=_0x31f8c5(function({items:_0x25dd65=[],limit:_0x40c96e,initialIndex:_0xf8ee2b=0x0,enableRotation:_0x5f5531=!0x0,focus:_0x4608d0=!0x0,itemComponent:_0x1fd309=Lc,indicatorComponent:_0x49ee59=Dc,showScrollIndicators:_0x3f5b4f=!0x0,onSelect:_0x36f766,onHighlight:_0x3f77eb,onNavigate:_0x280e2c},_0x4376bc){const _0x45e5bc={_0x1300d5:0x2ca,_0x19f876:0x477,_0x58475d:0x375,_0x120ca1:0x537,_0x334faf:0x222,_0x254a3b:0x3ea,_0x17085d:0x394,_0x2524d9:0x30b,_0x5b63f8:0x15a,_0x246c0d:0x72,_0x4c3df2:0x20c,_0x18a270:0x4f2,_0xbda595:0x321,_0x3beaea:0x364,_0x42b455:0x288,_0x248838:0x32b,_0x5549a4:0x362,_0x416b41:0x2ef,_0x1c5bce:0x568,_0x354803:0x28f,_0x1e5a91:0x41e},_0x475a1e={_0x1b8761:0x4aa,_0x23d6de:0x52c},_0x14ac4c={_0x47e4e8:0x3de,_0xe1eb78:0x316,_0x5caf56:0x30a,_0x50ebf7:0x600,_0x109e16:0x37a,_0x110755:0x1f1,_0x404316:0x328,_0x4753d8:0x46a,_0x37044c:0x493,_0x2b4bb9:0x21d,_0x3d0a39:0x360,_0x1cfafd:0x42f,_0x1bb11c:0x391,_0x4c6abb:0x394,_0x14b0a8:0xaa,_0x5191aa:0x294,_0xbeec2:0x119},_0x580ac3={_0x5869b4:0x55,_0x48f41c:0x2c8},_0x43cbef={_0x20cb0f:0x44a,_0x471db0:0x2a3,_0x1055df:0x134,_0x7ff71e:0x2f3},_0x5574e1={_0x50ff76:0x4f,_0x42035b:0x2f5},_0x2dfb23={_0x4d747c:0x6c7,_0x559ca0:0x52c,_0x561fbd:0x646,_0x1580a8:0x8fa,_0x4c21e0:0x749,_0x1c286c:0x676,_0x5db0b:0x76a,_0x8a616a:0x719,_0x3dc120:0x63b},_0x46d713={_0xc9c2b3:0x197,_0x3140f1:0xa3},_0x9db4b6={_0x4f4a5b:0x82,_0x430dc1:0x12b},_0x545e5a={_0x57b9b3:0x35f};let [_0x31d8e0,_0x596b7f]=_0x2b1d84(_0xf8ee2b),[_0x441aa3,_0xf20937]=_0x2b1d84(0x0),_0x1a0001=_0x39d474(et()),_0x2c0963=typeof _0x40c96e==_0x57bd9b(_0x45e5bc._0x1300d5,_0x45e5bc._0x19f876,0x537,_0x45e5bc._0x58475d)&&_0x40c96e>0x0&&_0x25dd65['length']>_0x40c96e;function _0x57bd9b(_0x9d74f1,_0x536a1e,_0x36d494,_0x171968){return _0x3eba7a(_0x9d74f1-0x169,_0x536a1e-0x1de,_0x536a1e,_0x171968-_0x545e5a._0x57b9b3);}function _0x2060dc(_0x151c00,_0x575fd2,_0x2aab7e,_0x23cea9){return _0x3eba7a(_0x151c00-0x99,_0x575fd2-_0x9db4b6._0x4f4a5b,_0x2aab7e,_0x23cea9-_0x9db4b6._0x430dc1);}if(_0x12bc4d(_0x4376bc,()=>({'getSelectedIndex':()=>_0x31d8e0,'setSelectedIndex':_0x3d5220=>_0x596b7f(_0x3d5220)})),_0xa5026b(()=>{const _0x4d62d2={_0x1a82e7:0x17e,_0x5bfa63:0x2b0};function _0x1e8827(_0x38e1ff,_0x2c20de,_0x519f32,_0x1ee277){return _0x57bd9b(_0x38e1ff-0xf1,_0x38e1ff,_0x519f32-_0x46d713._0xc9c2b3,_0x1ee277-_0x46d713._0x3140f1);}function _0x4447c3(_0x353c25,_0x48d02d,_0x77ebc7,_0x50a060){return _0x57bd9b(_0x353c25-0x81,_0x48d02d,_0x77ebc7-_0x4d62d2._0x1a82e7,_0x353c25-_0x4d62d2._0x5bfa63);}_0x31d8e0>=_0x25dd65[_0x1e8827(_0x2dfb23._0x4d747c,_0x2dfb23._0x559ca0,_0x2dfb23._0x561fbd,0x63b)]&&_0x25dd65[_0x4447c3(0x848,0x851,_0x2dfb23._0x1580a8,0x67b)]>0x0&&_0x596b7f(Math[_0x4447c3(_0x2dfb23._0x4c21e0,_0x2dfb23._0x1c286c,0x5a0,_0x2dfb23._0x5db0b)](0x0,_0x25dd65[_0x1e8827(0x645,0x5dc,_0x2dfb23._0x8a616a,_0x2dfb23._0x3dc120)]-0x1));},[_0x25dd65[_0x2060dc(_0x45e5bc._0x120ca1,_0x45e5bc._0x334faf,_0x45e5bc._0x254a3b,0x364)],_0x31d8e0]),_0xa5026b(()=>{function _0xa51dc(_0x3ee52a,_0xdcad1e,_0x29a5f6,_0x54a526){return _0x57bd9b(_0x3ee52a-_0x5574e1._0x50ff76,_0x29a5f6,_0x29a5f6-0x10d,_0xdcad1e- -_0x5574e1._0x42035b);}_0x3f77eb&&_0x25dd65[_0xa51dc(_0x43cbef._0x20cb0f,_0x43cbef._0x471db0,_0x43cbef._0x1055df,_0x43cbef._0x7ff71e)]>0x0&&_0x25dd65[_0x31d8e0]&&_0x3f77eb(_0x25dd65[_0x31d8e0]);},[_0x31d8e0,_0x25dd65,_0x3f77eb]),_0xa5026b(()=>{_0x2c0963&&_0x40c96e!==void 0x0&&(_0x31d8e0<_0x441aa3?_0xf20937(_0x31d8e0):_0x31d8e0>=_0x441aa3+_0x40c96e&&_0xf20937(_0x31d8e0-_0x40c96e+0x1));},[_0x31d8e0,_0x441aa3,_0x40c96e,_0x2c0963]),_0x260c28((_0x21ef8b,_0x270f66)=>{const _0x1230b7={_0x33dd42:0x146,_0x4daddf:0x4f};function _0x5e8c65(_0x275684,_0x1ecbe0,_0x3202f8,_0x2ece2b){return _0x2060dc(_0x275684-0x142,_0x1ecbe0-_0x580ac3._0x5869b4,_0x3202f8,_0x2ece2b-_0x580ac3._0x48f41c);}let _0x9f51e2=Qe(_0x21ef8b,_0x1a0001[_0x3c9948(_0x14ac4c._0x47e4e8,_0x14ac4c._0xe1eb78,0x4fd,_0x14ac4c._0x5caf56)]);function _0x3c9948(_0x3f124a,_0x3c3d7f,_0x410dc3,_0x54a594){return _0x2060dc(_0x3f124a-_0x1230b7._0x33dd42,_0x3c3d7f-_0x1230b7._0x4daddf,_0x3f124a,_0x3c3d7f- -0x22);}if(_0x1a0001[_0x5e8c65(0x6f0,0x6cf,0x424,_0x14ac4c._0x50ebf7)]=_0x9f51e2['newState'],!_0x9f51e2['shouldWaitForMore']){if(_0x270f66[_0x5e8c65(_0x14ac4c._0x109e16,_0x14ac4c._0x110755,0x55d,0x3be)]){_0x25dd65['length']>0x0&&_0x25dd65[_0x31d8e0]&&_0x36f766&&_0x36f766(_0x25dd65[_0x31d8e0]);return;}if(_0x270f66[_0x3c9948(0x302,_0x14ac4c._0x404316,0x197,_0x14ac4c._0x4753d8)]||_0x21ef8b==='k'&&!_0x270f66[_0x5e8c65(_0x14ac4c._0x37044c,0x49c,_0x14ac4c._0x2b4bb9,_0x14ac4c._0x3d0a39)]&&!_0x270f66[_0x5e8c65(_0x14ac4c._0x1cfafd,_0x14ac4c._0x1bb11c,0x379,_0x14ac4c._0x4c6abb)]){if(_0x280e2c?.('up'))return;_0x596b7f(_0x2355cb=>_0x5f5531?_0x2355cb===0x0?_0x25dd65[_0x5e8c65(0x7a7,0x5a7,0x6b0,0x62c)]-0x1:_0x2355cb-0x1:Math[_0x5e8c65(0x611,0x61d,0x5ce,0x52d)](0x0,_0x2355cb-0x1));return;}if(_0x270f66['downArrow']||_0x21ef8b==='j'&&!_0x270f66['ctrl']&&!_0x270f66[_0x3c9948(0x284,_0x14ac4c._0x14b0a8,_0x14ac4c._0x5191aa,_0x14ac4c._0xbeec2)]){if(_0x280e2c?.('down'))return;_0x596b7f(_0x4b43c7=>_0x5f5531?_0x4b43c7===_0x25dd65[_0x5e8c65(0x825,0x6a8,0x67c,0x62c)]-0x1?0x0:_0x4b43c7+0x1:Math['min'](_0x25dd65[_0x5e8c65(0x781,0x6b1,0x4ce,0x62c)]-0x1,_0x4b43c7+0x1));return;}}},{'isActive':_0x4608d0}),_0x25dd65['length']===0x0)return _0xa0d491(_0xf61a45,{});let _0x4de789=_0x2c0963&&_0x40c96e!==void 0x0?_0x441aa3:0x0,_0x466e5e=_0x2c0963&&_0x40c96e!==void 0x0?Math[_0x2060dc(_0x45e5bc._0x17085d,0x3ca,_0x45e5bc._0x2524d9,0x21d)](_0x441aa3+_0x40c96e,_0x25dd65['length']):_0x25dd65['length'],_0xb78c69=_0x25dd65[_0x57bd9b(_0x45e5bc._0x5b63f8,_0x45e5bc._0x246c0d,0x3a3,_0x45e5bc._0x4c3df2)](_0x4de789,_0x466e5e),_0x564c85=_0x441aa3>0x0,_0x392487=_0x2c0963&&_0x40c96e!==void 0x0&&_0x441aa3+_0x40c96e<_0x25dd65[_0x2060dc(0x3f6,_0x45e5bc._0x18a270,_0x45e5bc._0xbda595,_0x45e5bc._0x3beaea)];return _0x5dac99(_0xf61a45,{'flexDirection':_0x2060dc(_0x45e5bc._0x42b455,0x298,0x23b,0x297),'children':[_0x3f5b4f&&_0xa0d491(_0xf61a45,{'marginLeft':0x1,'height':0x1,'children':_0x564c85?_0x5dac99(_0x595dce,{'dimColor':!0x0,'children':[_0x57bd9b(_0x45e5bc._0x248838,0x33f,_0x45e5bc._0x5549a4,_0x45e5bc._0x416b41),_0x441aa3,_0x57bd9b(_0x45e5bc._0x1c5bce,_0x45e5bc._0x354803,0x301,0x396)]}):_0xa0d491(_0x595dce,{'children':'\x20'})}),_0xb78c69['map']((_0x2f81fe,_0x19dc3d)=>{function _0x4d3627(_0x1ae09c,_0x57774d,_0x222a1d,_0x5a286f){return _0x57bd9b(_0x1ae09c-0x197,_0x5a286f,_0x222a1d-0x9a,_0x57774d-0x1a8);}let _0x4ff355=_0x4de789+_0x19dc3d,_0x54ff38=_0x4ff355===_0x31d8e0,_0x111484=_0x2f81fe['key']||String(_0x4ff355);return _0x5dac99(_0xf61a45,{'children':[_0xa0d491(_0x49ee59,{'isSelected':_0x54ff38}),_0xa0d491(_0x1fd309,{'isSelected':_0x54ff38,'label':_0x2f81fe['label'],'value':_0x2f81fe[_0x4d3627(0x567,_0x475a1e._0x1b8761,0x47e,_0x475a1e._0x23d6de)]})]},_0x111484);}),_0x3f5b4f&&_0xa0d491(_0xf61a45,{'marginLeft':0x1,'height':0x1,'children':_0x392487&&_0x40c96e!==void 0x0?_0x5dac99(_0x595dce,{'dimColor':!0x0,'children':[_0x57bd9b(0x338,_0x45e5bc._0x1e5a91,0x380,0x4d2),_0x25dd65['length']-_0x441aa3-_0x40c96e,_0x57bd9b(0x4ba,0x4fd,0x30f,0x396)]}):_0xa0d491(_0x595dce,{'children':'\x20'})})]});}),Me=uo;import _0x2c361a from'ink-spinner';import{useEffect as _0x12630c,useState as _0x4a8ff2}from'react';import{Text as _0x92866,useInput as _0x1b1652}from'ink';function me(_0x5737b4,_0x5efee8){const _0x30d885={_0x54bb03:0x2fa,_0xf66464:0x486,_0x3ac24e:0x3c3,_0x2547e3:0x29c,_0x218b61:0x572,_0x24141b:0x25e,_0x2663a4:0x5c4,_0xfa0be:0x42f,_0x325009:0x4be,_0x4b830a:0x3c3,_0x923214:0x30f,_0x4701ab:0x39c,_0x582b48:0x5a3},_0x470267={_0x585adb:0x1b1,_0x59213b:0x31d,_0x313252:0x80},_0xb8e662={_0x3eb5fb:0x145,_0x296b7a:0x191};let _0x242099=_0x5737b4['split']('\x0a'),_0x5d7606=0x0;for(let _0x586b44=0x0;_0x586b44<_0x242099['length'];_0x586b44++){let _0x736b5b=_0x242099[_0x586b44],_0x41303b=_0x5d7606+_0x736b5b[_0x3a626f(_0x30d885._0x54bb03,_0x30d885._0xf66464,_0x30d885._0x3ac24e,_0x30d885._0x2547e3)];if(_0x5efee8<=_0x41303b)return{'lines':_0x242099,'lineIndex':_0x586b44,'column':_0x5efee8-_0x5d7606,'lineStart':_0x5d7606,'lineEnd':_0x41303b};_0x5d7606=_0x41303b+0x1;}function _0x188077(_0x59384f,_0xe842f1,_0x1b08d7,_0x2cbc24){return _0x3eba7a(_0x59384f-_0xb8e662._0x3eb5fb,_0xe842f1-0xf6,_0x59384f,_0xe842f1-_0xb8e662._0x296b7a);}let _0x167d9c=Math['max'](0x0,_0x242099[_0x188077(_0x30d885._0x218b61,0x3ca,0x415,_0x30d885._0x24141b)]-0x1),_0x3668c1=_0x242099[_0x167d9c]??'',_0x303e93=_0x5737b4[_0x188077(_0x30d885._0x2663a4,0x3ca,0x1de,_0x30d885._0xfa0be)]-_0x3668c1[_0x3a626f(_0x30d885._0x325009,0x580,_0x30d885._0x4b830a,0x385)];function _0x3a626f(_0x4cde8d,_0x135fed,_0x498c6c,_0x96cfef){return _0x199b7d(_0x4cde8d-_0x470267._0x585adb,_0x498c6c- -_0x470267._0x59213b,_0x498c6c-_0x470267._0x313252,_0x96cfef);}return{'lines':_0x242099,'lineIndex':_0x167d9c,'column':_0x3668c1[_0x188077(_0x30d885._0x923214,0x3ca,_0x30d885._0x4701ab,_0x30d885._0x582b48)],'lineStart':_0x303e93,'lineEnd':_0x5737b4['length']};}function De(_0x237174,_0x3d3d66,_0x2176b3){const _0x4c3b89={_0x1960d4:0x275,_0x4cbdff:0x441,_0x19a015:0xd7,_0x536fd9:0xaf,_0x461f70:0xf3,_0x48d301:0xf,_0x15ca20:0x170,_0x4fd05d:0x61,_0x3ff1d6:0x280,_0x465dec:0x420,_0x5a7922:0x354,_0x3dd6f8:0xda},_0x187920={_0x256622:0x1d2,_0x1fb27f:0x13b},_0x2d1c08={_0x176d44:0x2e,_0x402602:0xdd,_0x18f77a:0x10c};if(!_0x237174[_0xb5535a(0x3a9,_0x4c3b89._0x1960d4,_0x4c3b89._0x4cbdff,0x39a)]('\x0a'))return null;let _0xc743fa=me(_0x237174,_0x3d3d66),_0x48a7a9=_0x2176b3==='up'?_0xc743fa[_0x41d2db(-0x59,-_0x4c3b89._0x19a015,_0x4c3b89._0x536fd9,0x19)]-0x1:_0xc743fa['lineIndex']+0x1;function _0xb5535a(_0x1efbf0,_0x40d7d2,_0x39c972,_0xee9da0){return _0x199b7d(_0x1efbf0-_0x2d1c08._0x176d44,_0x1efbf0- -_0x2d1c08._0x402602,_0x39c972-_0x2d1c08._0x18f77a,_0xee9da0);}if(_0x48a7a9<0x0||_0x48a7a9>=_0xc743fa[_0x41d2db(-0x1b,-_0x4c3b89._0x461f70,-0x1d7,-_0x4c3b89._0x48d301)]['length'])return null;let _0x247a1a=_0xc743fa[_0x41d2db(-_0x4c3b89._0x15ca20,0x1cd,_0x4c3b89._0x4fd05d,-0xf)][_0x48a7a9]['length'],_0x534282=Math['min'](_0xc743fa['column'],_0x247a1a),_0x25e6dc=0x0;for(let _0x587698=0x0;_0x587698<_0x48a7a9;_0x587698++)_0x25e6dc+=_0xc743fa[_0xb5535a(_0x4c3b89._0x3ff1d6,_0x4c3b89._0x465dec,_0x4c3b89._0x5a7922,_0x4c3b89._0x3dd6f8)][_0x587698]['length']+0x1;function _0x41d2db(_0x53c8eb,_0x4568fe,_0x2ce28c,_0x20d498){return _0x3eba7a(_0x53c8eb-0x1a6,_0x4568fe-_0x187920._0x256622,_0x2ce28c,_0x20d498-_0x187920._0x1fb27f);}return _0x25e6dc+_0x534282;}function js(_0xaf0431,_0x14085b){const _0x4bec97={_0x14c9cc:0x2e9,_0x3cf01d:0x37d,_0x46b96a:0x4cf,_0x154705:0x6ba,_0x1ae273:0x644,_0x5a2366:0x52e,_0x55d165:0x4cf,_0x398bdd:0x479,_0xee0350:0x387,_0x3e3f3a:0x655,_0x26054d:0x67d},_0x8cd3c3={_0x566718:0x10f};let _0xf0021c=_0x14085b;function _0x17fba2(_0x56cd81,_0x474218,_0xe9657a,_0x1d7836){return _0x3eba7a(_0x56cd81-0x1e2,_0x474218-_0x8cd3c3._0x566718,_0x56cd81,_0x474218-0x5a6);}for(;_0xf0021c<_0xaf0431[_0x16baf5(_0x4bec97._0x14c9cc,0x4ef,_0x4bec97._0x3cf01d,_0x4bec97._0x46b96a)]&&/\s/[_0x17fba2(_0x4bec97._0x154705,0x57c,_0x4bec97._0x1ae273,_0x4bec97._0x5a2366)](_0xaf0431[_0xf0021c]);)_0xf0021c++;function _0x16baf5(_0x3d9aa0,_0xf3dfbe,_0x4f41a8,_0x129ce5){return _0x3eba7a(_0x3d9aa0-0x13e,_0xf3dfbe-0x72,_0xf3dfbe,_0x129ce5-0x296);}for(;_0xf0021c<_0xaf0431[_0x16baf5(0x2e0,0x4e3,0x49b,_0x4bec97._0x55d165)]&&!/\s/['test'](_0xaf0431[_0xf0021c]);)_0xf0021c++;return Math[_0x16baf5(_0x4bec97._0x398bdd,0x3cb,_0x4bec97._0xee0350,0x388)](_0xf0021c,_0xaf0431[_0x16baf5(_0x4bec97._0x3e3f3a,0x62f,_0x4bec97._0x26054d,_0x4bec97._0x55d165)]);}function Mr(_0x30ff5e,_0x3288a0,_0x55bcb6){const _0x297df0={_0xd98ac0:0x527,_0x477016:0x581,_0x3fff70:0x69d,_0x260f3e:0x558,_0x425c4b:0x723,_0x169799:0x633,_0x3fa0ad:0x68e,_0x4b196a:0x69f},_0x430a9b={_0x1af39f:0x101};if(_0x30ff5e<=0x0)return 0x0;function _0x413efd(_0x1d5729,_0x11106b,_0xf74461,_0x44499b){return _0x199b7d(_0x1d5729-0x145,_0x11106b-0xad,_0xf74461-0xae,_0x44499b);}if(_0x55bcb6===_0x10991a(_0x297df0._0xd98ac0,0x5ef,_0x297df0._0x477016,0x5a8)){let _0x270576=Math[_0x413efd(_0x297df0._0x3fff70,0x68e,_0x297df0._0x260f3e,0x4f1)](0x0,_0x30ff5e-0x1);return Math['max'](0x0,Math[_0x10991a(_0x297df0._0x425c4b,_0x297df0._0x169799,0x623,0x465)](_0x3288a0,_0x270576));}function _0x10991a(_0x222508,_0x32e0fd,_0x4d0b8b,_0x360c85){return _0x199b7d(_0x222508-_0x430a9b._0x1af39f,_0x4d0b8b-0x8a,_0x4d0b8b-0xb9,_0x32e0fd);}return Math[_0x413efd(0x6d8,_0x297df0._0x3fa0ad,_0x297df0._0x4b196a,0x747)](0x0,Math[_0x413efd(0x68a,0x646,0x58a,0x7f1)](_0x3288a0,_0x30ff5e));}import{useState as _0x365b72,useEffect as _0xbaa425,useCallback as _0x332053,useRef as _0x23bf66}from'react';function Ks({enabled:_0x3bf762,onModeChange:_0x13394a}){const _0x27589d={_0x46c679:0x72,_0x3a982b:0xe5,_0x56097d:0x1e6,_0x149cc2:0x31c,_0x4b42b6:0x52b,_0x486476:0x27,_0x182594:0x1a3,_0x259b77:0x25e,_0x626c28:0x31,_0x971563:0x356,_0x22db35:0x266,_0x491fae:0x40d,_0x2a8c1e:0x3a7,_0x377452:0x5b6,_0x392cf6:0x5ba,_0x4e09ab:0x556,_0xc56e5a:0x198,_0x2de6f0:0x287,_0x2f61dc:0x215,_0x2d0950:0x394,_0x50b7de:0x2cf,_0x8fba0:0x43c,_0xff3b44:0x687,_0x552529:0x498,_0x46c83d:0x6cd,_0x328b74:0x1d7,_0x4b3734:0x2fe,_0x9f6393:0x45,_0x1775e5:0x159,_0x43e7c4:0x107,_0x383cb5:0xb6,_0x55439a:0x1e,_0x3bf023:0xad,_0x58fd6b:0x1b5,_0x41cbd8:0x255,_0x179d72:0x305,_0x2507a6:0x4d7,_0x3c901f:0x19d,_0xa71799:0x147,_0x2a878b:0x1b5,_0x1f0cf8:0x56,_0xdafdc8:0x373,_0x3b7ded:0x455,_0x5dc23e:0x141,_0x72a7ab:0x27e,_0x47d084:0x1b5,_0x23cbd0:0x5e,_0x287625:0x10,_0x3d0b4d:0x346,_0x52369d:0x22,_0x413404:0x9f,_0x144e78:0x57,_0x3cd21b:0x377,_0x4fd84c:0x1a9,_0x4cf126:0x264,_0x2982c6:0x357,_0x273537:0x1f4,_0x339540:0x306,_0x310dde:0x275,_0x1999b1:0x1b5,_0x567efd:0x2f,_0x17726c:0xe4,_0x4eb64a:0x262,_0x204516:0x7,_0x30cd5e:0x285,_0x1749d0:0x6de,_0x536fde:0x5ef,_0x3db004:0xf,_0x36f82e:0x210,_0x646baa:0x4a0,_0x416efe:0x5ef,_0x441e5a:0x46c,_0x616cab:0x531,_0x1ead29:0x68e,_0xdd460:0x4ba,_0x262099:0xe5,_0x165708:0x43,_0x4a666f:0x87,_0xf13839:0x1fc,_0x536a6f:0x118,_0x3252fa:0x8a,_0x19941f:0xd5,_0x536894:0x374,_0x81f4ba:0x47e,_0x594246:0x382,_0x30cdfd:0x3b9,_0x1f15e0:0x1d1,_0xcb4158:0x2e3,_0x1411f3:0x24d,_0x54ec02:0x3c8,_0x4dae16:0x306,_0x573565:0x245,_0x36f53d:0x105,_0x41d913:0xc3,_0x5f006a:0xc5,_0x258868:0x475,_0x13e297:0x146,_0x52b9f2:0x56,_0x5bfe69:0x274,_0x164714:0x1e,_0x336550:0x75d,_0x24a911:0x601,_0x2176f3:0x7c,_0x4f50e9:0x17f,_0x3ec6ec:0x2c9,_0x44c833:0x1ef,_0xe267cc:0x1c7,_0x4a5530:0x16c,_0x24c78b:0x173,_0x306480:0x584,_0x5b2dab:0x61a,_0x2c8eea:0x1f7,_0x116c86:0x4e1,_0x2da243:0x669,_0x38892c:0x4d6,_0x8f0673:0x1ce,_0x5e9aa1:0x27c,_0x6cd8b3:0x338,_0x2e2111:0x141,_0x3b3e23:0x38f,_0x2b23eb:0x5d2,_0x7ecf3:0x7b8,_0x243021:0xae,_0x20c964:0x6b,_0x3fe792:0x165,_0x1db4e2:0x117,_0xfb914a:0xe5,_0x1bacc5:0x18e,_0xdc4f93:0x4e,_0x4e0f84:0x49,_0x12cac9:0x3fe,_0x1644d3:0x650,_0x2c5d5e:0x4b8,_0x1ed0cf:0x568,_0x57e581:0x456,_0x1e1995:0x37,_0x437145:0x398,_0x3ce4a4:0x38d,_0x4e03c0:0x3f2,_0x4a549a:0x2de,_0x47c5b4:0x37c,_0x1bef88:0x353,_0x4bf02c:0x275,_0x1bc823:0x1a3,_0x423975:0x12,_0x4d55a5:0x23f,_0x87629e:0x36f,_0x42caea:0x507},_0x15f9f9={_0x2ee35c:0x10b},_0x3d651e={_0x3f7834:0x2d3},_0x52899c={_0xb5df05:0x17e,_0xf7699a:0x14},_0xb19dd6={_0x1bb291:0x310},_0x503ee3={_0x9e6168:0x105,_0x207cbf:0x850,_0x493f5e:0x75},_0x39f2a4={_0x2bf0a6:0x3c5};let [_0x2a3eee,_0x330480]=_0x365b72('insert'),[_0x5b88a2,_0x1c98a4]=_0x365b72(null),_0x279f38=_0x23bf66(!0x1),_0x35c029=_0x332053(_0x31725d=>{_0x330480(_0x31725d),_0x13394a?.(_0x31725d);},[_0x13394a]);_0xbaa425(()=>{function _0x1a7512(_0x32d44b,_0x3206c8,_0x575e1a,_0x2fdd6d){return _0x58a4(_0x32d44b-0x386,_0x2fdd6d);}function _0x16a0b4(_0x505744,_0x49077a,_0x3c5eb0,_0xb73416){return _0x58a4(_0x505744- -_0x39f2a4._0x2bf0a6,_0x49077a);}_0x3bf762?_0x279f38[_0x16a0b4(_0x503ee3._0x9e6168,-0x7,0x9f,0x72)]||_0x35c029(_0x16a0b4(-0xb8,-0x188,0x48,-0x239)):_0x279f38[_0x1a7512(_0x503ee3._0x207cbf,0x708,0x976,0xa51)]&&_0x35c029('insert'),_0x279f38[_0x16a0b4(0x105,0xc,-_0x503ee3._0x493f5e,-0xf6)]=_0x3bf762;},[_0x3bf762,_0x35c029]);let _0x21668a=_0x332053(()=>{function _0x5492d1(_0x5f291b,_0x34b6e6,_0x2a9c51,_0x1981c9){return _0x58a4(_0x2a9c51- -_0xb19dd6._0x1bb291,_0x1981c9);}_0x35c029(_0x5492d1(_0x52899c._0xb5df05,_0x52899c._0xf7699a,0x1bd,0x2fd)),_0x1c98a4(null);},[_0x35c029]),_0xeb4dae=_0x332053(()=>{function _0x109a17(_0x209f86,_0x5787e8,_0x19167b,_0x596ec9){return _0x58a4(_0x5787e8-0x99,_0x209f86);}_0x35c029(_0x109a17(0x339,0x3a6,_0x3d651e._0x3f7834,0x3ca)),_0x1c98a4(null);},[_0x35c029]),_0x485c0c=_0x332053((_0x403b55,_0x435c49,_0x3c9d38,_0xd2badb)=>{if(!_0x3bf762)return{'type':'none'};if(_0x2a3eee==='insert')return _0x435c49[_0x4a5ac5(-0x10a,-0x14f,-0x142,-_0x27589d._0x46c679)]?(_0xeb4dae(),{'type':_0x4a5ac5(_0x27589d._0x3a982b,0xab,-0x11a,_0x27589d._0x56097d)}):{'type':'none'};if(_0x435c49[_0x9c469c(_0x27589d._0x149cc2,0x33f,_0x27589d._0x4b42b6,0x393)])return{'type':'submit'};if(_0x435c49['escape'])return _0x1c98a4(null),{'type':'none'};function _0x4a5ac5(_0x79e243,_0x557946,_0x2e5c6d,_0x29770e){return _0x58a4(_0x79e243- -0x341,_0x557946);}if(_0x435c49[_0x4a5ac5(-0x6a,0x19a,-0x1e1,_0x27589d._0x486476)])return{'type':_0x4a5ac5(_0x27589d._0x182594,0x318,_0x27589d._0x259b77,0x8f),'offset':_0xd2badb-0x1};if(_0x435c49[_0x4a5ac5(-0x1bd,-_0x27589d._0x626c28,-0xf4,-_0x27589d._0x971563)])return{'type':_0x4a5ac5(0x1a3,0x263,_0x27589d._0x22db35,0x309),'offset':_0xd2badb+0x1};if(_0x435c49['upArrow']){let _0x38b8a0=De(_0x3c9d38,_0xd2badb,'up');return _0x38b8a0!==null?{'type':'move-cursor','offset':_0x38b8a0}:{'type':'none'};}if(_0x435c49[_0x9c469c(_0x27589d._0x491fae,_0x27589d._0x2a8c1e,0x3e0,0x52e)]){let _0x670a53=De(_0x3c9d38,_0xd2badb,_0x9c469c(_0x27589d._0x377452,0x53d,_0x27589d._0x392cf6,_0x27589d._0x4e09ab));return _0x670a53!==null?{'type':_0x4a5ac5(0x1a3,_0x27589d._0xc56e5a,0x2ad,_0x27589d._0x2de6f0),'offset':_0x670a53}:{'type':_0x4a5ac5(0xe5,0x40,0x3f,0x2db)};}if(_0x435c49[_0x4a5ac5(-_0x27589d._0x2f61dc,-0x117,-_0x27589d._0x2d0950,-_0x27589d._0x50b7de)]||_0x435c49[_0x9c469c(_0x27589d._0x8fba0,0x365,_0x27589d._0xff3b44,_0x27589d._0x552529)]){if(_0xd2badb===0x0||_0x3c9d38['length']===0x0)return{'type':_0x9c469c(0x52f,_0x27589d._0x46c83d,0x4aa,0x531)};let _0x34d459=_0xd2badb-0x1,_0x42d97=_0x3c9d38[_0x4a5ac5(-_0x27589d._0x328b74,-_0x27589d._0x4b3734,-0x2eb,-_0x27589d._0x9f6393)](0x0,_0x34d459)+_0x3c9d38[_0x4a5ac5(-_0x27589d._0x328b74,-0x2ec,-_0x27589d._0x1775e5,-_0x27589d._0x43e7c4)](_0xd2badb),_0x6a180a=Math[_0x4a5ac5(_0x27589d._0x383cb5,-_0x27589d._0x55439a,-_0x27589d._0x3bf023,0x28a)](0x0,_0x34d459);return{'type':'set-value','value':_0x42d97,'offset':_0x6a180a};}if(_0x403b55[_0x4a5ac5(_0x27589d._0x58fd6b,0x2a0,0x11d,_0x27589d._0x41cbd8)]>0x1)return{'type':'none'};if(_0x5b88a2){if(_0x5b88a2==='d'){if(_0x403b55==='d'){let _0x511ce8=me(_0x3c9d38,_0xd2badb),_0x11484c=_0x511ce8['lineStart'],_0x4a8253=_0x511ce8[_0x9c469c(0x600,_0x27589d._0x179d72,_0x27589d._0x2507a6,0x47e)],_0x35feaf,_0x452cee;return _0x511ce8[_0x9c469c(0x201,_0x27589d._0x3c901f,_0x27589d._0xa71799,0x27e)][_0x4a5ac5(_0x27589d._0x2a878b,-0x4a,0x44,0x1e1)]===0x1?(_0x35feaf='',_0x452cee=0x0):_0x511ce8[_0x4a5ac5(-0x1a6,-0x2cb,-_0x27589d._0x1f0cf8,-_0x27589d._0xdafdc8)]===_0x511ce8[_0x9c469c(0x405,_0x27589d._0x3b7ded,_0x27589d._0x5dc23e,_0x27589d._0x72a7ab)][_0x4a5ac5(_0x27589d._0x47d084,0x1df,_0x27589d._0x23cbd0,_0x27589d._0x287625)]-0x1?(_0x35feaf=_0x3c9d38[_0x4a5ac5(-0x1d7,-0x233,-_0x27589d._0x3d0b4d,-0x95)](0x0,Math[_0x4a5ac5(0xb6,_0x27589d._0x52369d,_0x27589d._0x413404,_0x27589d._0x144e78)](0x0,_0x11484c-0x1)),_0x452cee=Math[_0x9c469c(0x40e,0x5bd,_0x27589d._0x3cd21b,0x502)](0x0,_0x11484c-0x1)):(_0x35feaf=_0x3c9d38['slice'](0x0,_0x11484c)+_0x3c9d38[_0x4a5ac5(-_0x27589d._0x328b74,-_0x27589d._0x4fd84c,-_0x27589d._0x4cf126,-0x341)](_0x4a8253+0x1),_0x452cee=_0x11484c),_0x1c98a4(null),{'type':_0x9c469c(0x4d3,_0x27589d._0x2982c6,_0x27589d._0x273537,_0x27589d._0x339540),'value':_0x35feaf,'offset':_0x452cee};}else{if(_0x403b55==='w'){let _0x38a97d=js(_0x3c9d38,_0xd2badb),_0x20c0da=_0x3c9d38[_0x9c469c(0x281,0x372,0x23d,_0x27589d._0x310dde)](0x0,_0xd2badb)+_0x3c9d38['slice'](_0x38a97d),_0x4611d2=Math['min'](_0xd2badb,Math[_0x9c469c(0x6e4,_0x27589d._0x46c83d,0x43f,0x502)](0x0,_0x20c0da[_0x4a5ac5(_0x27589d._0x1999b1,_0x27589d._0x567efd,_0x27589d._0x17726c,_0x27589d._0x4eb64a)]-0x1));return _0x1c98a4(null),{'type':_0x4a5ac5(-0x146,0x9a,-_0x27589d._0x204516,-_0x27589d._0x30cd5e),'value':_0x20c0da,'offset':_0x4611d2};}}}else{if(_0x5b88a2==='g'&&_0x403b55==='g')return _0x1c98a4(null),{'type':_0x9c469c(0x5f7,0x460,_0x27589d._0x1749d0,_0x27589d._0x536fde),'offset':0x0};}return _0x1c98a4(null),{'type':_0x4a5ac5(_0x27589d._0x3a982b,_0x27589d._0x3db004,-_0x27589d._0x9f6393,_0x27589d._0x36f82e)};}switch(_0x403b55){case'h':return{'type':'move-cursor','offset':_0xd2badb-0x1};case'l':return{'type':_0x4a5ac5(0x1a3,0xc8,-0x41,0x11b),'offset':_0xd2badb+0x1};case'j':{let _0x2f289b=De(_0x3c9d38,_0xd2badb,_0x9c469c(0x54a,0x38c,0x5bf,0x556));return _0x2f289b!==null?{'type':_0x9c469c(0x6af,_0x27589d._0x646baa,0x6b3,_0x27589d._0x416efe),'offset':_0x2f289b}:{'type':_0x9c469c(0x5b2,_0x27589d._0x441e5a,0x637,_0x27589d._0x616cab)};}case'k':{let _0x475820=De(_0x3c9d38,_0xd2badb,'up');return _0x475820!==null?{'type':'move-cursor','offset':_0x475820}:{'type':_0x9c469c(0x469,_0x27589d._0x1ead29,_0x27589d._0xdd460,0x531)};}case'i':return _0x21668a(),{'type':_0x4a5ac5(_0x27589d._0x262099,-_0x27589d._0x165708,0x30,-_0x27589d._0x4a666f)};case'a':return{'type':'enter-insert-mode','offset':_0xd2badb+0x1};case'A':return{'type':'enter-insert-mode','offset':me(_0x3c9d38,_0xd2badb)['lineEnd']};case'I':return{'type':_0x4a5ac5(-_0x27589d._0xf13839,-0x2b8,-_0x27589d._0x536a6f,-0x31f),'offset':me(_0x3c9d38,_0xd2badb)[_0x4a5ac5(_0x27589d._0x3252fa,-_0x27589d._0x19941f,0x136,0x1f9)]};case'o':{let _0x560b75=me(_0x3c9d38,_0xd2badb)[_0x9c469c(0x2c5,_0x27589d._0x536894,0x456,_0x27589d._0x81f4ba)];return{'type':'enter-insert-and-set-value','value':_0x3c9d38[_0x9c469c(0x1c3,_0x27589d._0x594246,0x3bc,0x275)](0x0,_0x560b75)+'\x0a'+_0x3c9d38[_0x9c469c(_0x27589d._0x30cdfd,_0x27589d._0x1f15e0,_0x27589d._0xcb4158,_0x27589d._0x310dde)](_0x560b75),'offset':_0x560b75+0x1};}case'O':{let _0x59d955=me(_0x3c9d38,_0xd2badb)[_0x4a5ac5(_0x27589d._0x3252fa,_0x27589d._0x1411f3,-0xb,0x27f)];return{'type':'enter-insert-and-set-value','value':_0x3c9d38['slice'](0x0,_0x59d955)+'\x0a'+_0x3c9d38['slice'](_0x59d955),'offset':_0x59d955};}case'x':{if(_0x3c9d38['length']===0x0||_0xd2badb>=_0x3c9d38['length'])return{'type':'none'};let _0xdcec1f=_0xd2badb,_0x295a7a=_0x3c9d38[_0x9c469c(_0x27589d._0x54ec02,0x1d2,0x19a,0x275)](0x0,_0xdcec1f)+_0x3c9d38[_0x4a5ac5(-0x1d7,-0x192,-_0x27589d._0x4dae16,-_0x27589d._0x573565)](_0xdcec1f+0x1),_0x5353b3=_0x295a7a[_0x4a5ac5(_0x27589d._0x2a878b,0x14d,0x1b5,0x30e)]===0x0?0x0:Math[_0x4a5ac5(0x6e,_0x27589d._0x36f53d,_0x27589d._0x41d913,-_0x27589d._0x5f006a)](_0xdcec1f,_0x295a7a[_0x9c469c(0x524,_0x27589d._0x258868,0x62c,0x601)]-0x1);return{'type':_0x4a5ac5(-_0x27589d._0x13e297,_0x27589d._0x52b9f2,-_0x27589d._0x5bfe69,_0x27589d._0x164714),'value':_0x295a7a,'offset':_0x5353b3};}case's':{if(_0x3c9d38['length']===0x0)return _0x21668a(),{'type':'none'};let _0x49b882=_0xd2badb>=_0x3c9d38[_0x9c469c(_0x27589d._0x336550,0x47d,0x535,_0x27589d._0x24a911)]?Math[_0x4a5ac5(0xb6,-0xd7,_0x27589d._0x2176f3,_0x27589d._0x4f50e9)](0x0,_0x3c9d38[_0x4a5ac5(0x1b5,_0x27589d._0x3ec6ec,_0x27589d._0x44c833,0x240)]-0x1):_0xd2badb;return{'type':'enter-insert-and-set-value','value':_0x3c9d38[_0x4a5ac5(-0x1d7,-0x79,-0xb5,0x24)](0x0,_0x49b882)+_0x3c9d38['slice'](_0x49b882+0x1),'offset':_0x49b882};}case'0':return{'type':'move-cursor','offset':me(_0x3c9d38,_0xd2badb)[_0x4a5ac5(0x8a,_0x27589d._0xe267cc,-_0x27589d._0x4a5530,0xe0)]};case'$':{let _0x56ef69=me(_0x3c9d38,_0xd2badb);return{'type':_0x4a5ac5(0x1a3,0x37e,_0x27589d._0x24c78b,0xc),'offset':_0x56ef69['lineEnd']>_0x56ef69[_0x9c469c(_0x27589d._0x306480,_0x27589d._0x5b2dab,0x6d8,0x4d6)]?_0x56ef69[_0x4a5ac5(0x32,0xc0,0xf2,_0x27589d._0x2c8eea)]-0x1:_0x56ef69[_0x9c469c(_0x27589d._0x4b42b6,_0x27589d._0x116c86,_0x27589d._0x2da243,_0x27589d._0x38892c)]};}case'^':{let _0x375f2e=me(_0x3c9d38,_0xd2badb),_0x1f0a11=_0x375f2e[_0x4a5ac5(-_0x27589d._0x8f0673,-0x88,-_0x27589d._0x5e9aa1,-_0x27589d._0x6cd8b3)][_0x375f2e[_0x4a5ac5(-0x1a6,-0x24,-_0x27589d._0x2e2111,-_0x27589d._0x3b3e23)]],_0x394dc0=0x0;for(let _0x3fe1a8=0x0;_0x3fe1a8<_0x1f0a11[_0x9c469c(0x791,_0x27589d._0x2b23eb,_0x27589d._0x7ecf3,0x601)];_0x3fe1a8++)if(!/\s/[_0x4a5ac5(-_0x27589d._0x243021,_0x27589d._0x20c964,-_0x27589d._0x3fe792,-_0x27589d._0x1db4e2)](_0x1f0a11[_0x3fe1a8])){_0x394dc0=_0x3fe1a8;break;}return{'type':'move-cursor','offset':_0x375f2e['lineStart']+_0x394dc0};}case'd':return _0x1c98a4('d'),{'type':_0x4a5ac5(_0x27589d._0xfb914a,_0x27589d._0x1bacc5,-_0x27589d._0xdc4f93,-_0x27589d._0x4e0f84)};case'g':return _0x1c98a4('g'),{'type':_0x9c469c(_0x27589d._0x12cac9,0x34c,_0x27589d._0x1644d3,0x531)};case'G':{let _0xb26b4b=me(_0x3c9d38,_0xd2badb),_0x1f527b=_0xb26b4b[_0x4a5ac5(-0x1ce,-0xf2,-0x88,-0x82)][_0x9c469c(0x484,_0x27589d._0x2c5d5e,0x6c6,0x601)]-0x1,_0x50a695=0x0;for(let _0x11c26b=0x0;_0x11c26b<_0x1f527b;_0x11c26b++)_0x50a695+=_0xb26b4b['lines'][_0x11c26b][_0x9c469c(_0x27589d._0x1ed0cf,_0x27589d._0x57e581,0x503,_0x27589d._0x24a911)]+0x1;return{'type':_0x4a5ac5(_0x27589d._0x182594,-0x52,_0x27589d._0x1e1995,_0x27589d._0x437145),'offset':_0x50a695};}case'/':return{'type':_0x9c469c(0x251,_0x27589d._0x3ce4a4,_0x27589d._0x4e03c0,_0x27589d._0x4a549a),'value':_0x3c9d38[_0x9c469c(_0x27589d._0x47c5b4,_0x27589d._0x1bef88,0x430,_0x27589d._0x4bf02c)](0x0,_0xd2badb)+'/'+_0x3c9d38['slice'](_0xd2badb),'offset':_0xd2badb+0x1};case'\x20':return{'type':_0x4a5ac5(_0x27589d._0x1bc823,-_0x27589d._0x423975,_0x27589d._0x20c964,0x2b2),'offset':_0xd2badb+0x1};}function _0x9c469c(_0x2e9602,_0x2142d7,_0x491095,_0x9b6c21){return _0x58a4(_0x9b6c21-_0x15f9f9._0x2ee35c,_0x491095);}return/^[0-9]$/[_0x9c469c(_0x27589d._0x4d55a5,_0x27589d._0x87629e,_0x27589d._0x42caea,0x39e)](_0x403b55)?{'type':'none'}:{'type':'none'};},[_0x3bf762,_0x2a3eee,_0x5b88a2,_0x21668a,_0xeb4dae]);return{'mode':_0x2a3eee,'handleVimInput':_0x485c0c,'enterInsertMode':_0x21668a,'enterNormalMode':_0xeb4dae};}import{useRef as _0x334dac}from'react';function Hs(){const _0x410d9e={_0x4b27ad:0x4b3,_0x36ad3e:0x510,_0xf87d34:0x46f,_0x22f965:0x364,_0x42a8fd:0x38a,_0x5a3e0c:0xe8,_0x434fc0:0x185},_0x11ed2a={_0x59e320:0x5e};let _0xdb2d55=_0x334dac(et());return{'processPaste':_0x324e75=>{function _0x2cd331(_0x35edd4,_0x463632,_0x4ac4cf,_0x3a681b){return _0x58a4(_0x463632- -_0x11ed2a._0x59e320,_0x35edd4);}let _0x28a12e=Qe(_0x324e75,_0xdb2d55[_0x2cd331(0x4fe,0x46c,0x461,0x47b)]);function _0x579b48(_0x2fd3c4,_0xf11885,_0x2c737b,_0x1a664a){return _0x58a4(_0x2fd3c4- -0x17,_0x1a664a);}return _0xdb2d55[_0x579b48(_0x410d9e._0x4b27ad,_0x410d9e._0x36ad3e,_0x410d9e._0xf87d34,_0x410d9e._0x22f965)]=_0x28a12e[_0x579b48(0x233,0xcb,_0x410d9e._0x42a8fd,0xb0)],{'processedInput':_0x28a12e['processedInput'],'shouldWaitForMore':_0x28a12e[_0x579b48(0x294,_0x410d9e._0x5a3e0c,_0x410d9e._0x434fc0,0xf5)],'isPasteStart':_0x28a12e['isPasteStart']};}};}import _0x4a9bb3 from'chalk';function Ws(){const _0x46e6c6={_0x12b4c2:0x85a,_0x4fef2c:0x900,_0x4b7d75:0x91c,_0x2844f4:0x392,_0x4d3112:0x6ce,_0x9b6619:0x5d0,_0x5b4f0a:0x671,_0x17692c:0x27b,_0x56dd6e:0x3b1,_0x336c93:0x29d,_0x3f988e:0x7f4,_0x20352a:0x996,_0x48b277:0x973,_0x2687b4:0x7f4,_0x59d34a:0x91f,_0x29a2a1:0x925,_0x5e31e6:0x6e2,_0x278649:0x6c4,_0x503ea6:0x7f0,_0x1169be:0x782,_0x4ff174:0x8cb,_0x1cbd16:0x793};return{'renderWithCursor':(_0x22ceea,_0x42e196,_0x5a533c,_0x598aa2,_0x25e07b)=>{const _0xd8b7a1={_0x33ab20:0x2fe};let _0x46c329=_0x22ceea,_0x184536=_0x5a533c?_0x4a9bb3[_0x545b6d(0x6ce,_0x46e6c6._0x12b4c2,0x70c,0x500)](_0x5a533c):void 0x0;function _0x545b6d(_0x3af3eb,_0x42fa32,_0x530c8a,_0x28774d){return _0x58a4(_0x3af3eb-_0xd8b7a1._0x33ab20,_0x42fa32);}if(!_0x598aa2||!_0x25e07b)return{'renderedValue':_0x46c329,'renderedPlaceholder':_0x184536};if(_0x184536=_0x5a533c[_0x545b6d(0x7f4,_0x46e6c6._0x4fef2c,0x69d,_0x46e6c6._0x4b7d75)]>0x0?_0x4a9bb3[_0x545b6d(0x502,0x68c,_0x46e6c6._0x2844f4,0x3b9)](_0x5a533c[0x0])+_0x4a9bb3[_0x545b6d(_0x46e6c6._0x4d3112,_0x46e6c6._0x9b6619,0x787,_0x46e6c6._0x5b4f0a)](_0x5a533c['slice'](0x1)):_0x4a9bb3[_0x3f3d09(_0x46e6c6._0x17692c,0x191,_0x46e6c6._0x56dd6e,_0x46e6c6._0x336c93)]('\x20'),_0x22ceea[_0x545b6d(_0x46e6c6._0x3f988e,_0x46e6c6._0x20352a,_0x46e6c6._0x48b277,0x7a3)]===0x0)return _0x46c329=_0x4a9bb3['inverse']('\x20'),{'renderedValue':_0x46c329,'renderedPlaceholder':_0x184536};function _0x3f3d09(_0x50b525,_0x2f596b,_0x1a900b,_0x2d8a13){return _0x58a4(_0x50b525-0x77,_0x2f596b);}let _0xd4595b=_0x22ceea['split']('\x0a'),_0xad779d=0x0,_0x541168=0x0,_0x745342=0x0;for(let _0x5e3aac=0x0;_0x5e3aac<_0xd4595b[_0x545b6d(_0x46e6c6._0x2687b4,_0x46e6c6._0x59d34a,_0x46e6c6._0x29a2a1,_0x46e6c6._0x5e31e6)];_0x5e3aac++){let _0x330674=_0xad779d+_0xd4595b[_0x5e3aac][_0x545b6d(_0x46e6c6._0x2687b4,_0x46e6c6._0x278649,0x7d0,0x75c)];if(_0x42e196<=_0x330674){_0x541168=_0x5e3aac,_0x745342=_0x42e196-_0xad779d;break;}_0xad779d=_0x330674+0x1;}return _0x46c329=_0xd4595b[_0x545b6d(_0x46e6c6._0x503ea6,_0x46e6c6._0x1169be,_0x46e6c6._0x4ff174,_0x46e6c6._0x1cbd16)]((_0x1c447c,_0x4d0b18)=>_0x4d0b18===_0x541168?_0x745342>=0x0&&_0x745342<_0x1c447c[_0x3f3d09(0x56d,0x59e,0x726,0x6c4)]?_0x1c447c['slice'](0x0,_0x745342)+_0x4a9bb3[_0x545b6d(0x502,0x389,0x3b0,0x62d)](_0x1c447c[_0x745342])+_0x1c447c[_0x3f3d09(0x1e1,0xa6,0x2b0,0xd7)](_0x745342+0x1):_0x1c447c+_0x4a9bb3[_0x3f3d09(0x27b,0x34f,0xb3,0x41b)]('\x20'):_0x1c447c)['join']('\x0a'),{'renderedValue':_0x46c329,'renderedPlaceholder':_0x184536};}};}import{useReducer as _0xf3e4a9,useRef as _0x188846,useEffect as _0x27ee1a}from'react';function $c(_0x477d7e,_0x34b55b){const _0x3ab77c={_0x3007c9:0x6f,_0x342b96:0x35,_0xde0b57:0x4a,_0x29d6e7:0x254,_0x1672f0:0x137,_0x1aac7e:0x287,_0x3caac0:0x65,_0x384467:0x1e4,_0x3eb6e3:0xe,_0x461320:0x254,_0x352e28:0x390,_0x30b65d:0x29d,_0xc79f5e:0x4,_0x13b2b2:0x1a5,_0x312af6:0x74,_0x2037e1:0x290,_0x3c0a62:0x1b8,_0x301e0d:0x121,_0x9d2759:0x150,_0x505656:0x2e8,_0x46dcfa:0x83,_0x20a55e:0x262,_0x452e1b:0xbf,_0x3669f1:0x233,_0x4d1cc4:0x68,_0x8fd0e:0x121,_0x44ab84:0x92,_0x5a9692:0x76},_0x5459f3={_0x3606bf:0xc4},_0x4954be={_0x1b9ef0:0x174};function _0x32d7a4(_0x3dc3b3,_0x4c1baf,_0x576909,_0x583ffb){return _0x199b7d(_0x3dc3b3-_0x4954be._0x1b9ef0,_0x3dc3b3- -0x3d6,_0x576909-0x6a,_0x583ffb);}function _0x426e65(_0x4ad035,_0x248806,_0x495c81,_0x7a2c1c){return _0x3eba7a(_0x4ad035-0x8b,_0x248806-0x93,_0x7a2c1c,_0x4ad035- -_0x5459f3._0x3606bf);}switch(_0x34b55b['type']){case _0x426e65(-0x11a,-_0x3ab77c._0x3007c9,-_0x3ab77c._0x342b96,_0x3ab77c._0xde0b57):return{'value':_0x34b55b['payload'][_0x32d7a4(0x74,0x215,0x223,0x58)],'cursorOffset':_0x34b55b[_0x426e65(-_0x3ab77c._0x29d6e7,-0x121,-0x32e,-0x42f)][_0x32d7a4(0x157,0x312,0xad,0x2e5)],'cursorWidth':_0x34b55b[_0x32d7a4(-0xbf,-0x1ef,_0x3ab77c._0x1672f0,-_0x3ab77c._0x1aac7e)][_0x32d7a4(-_0x3ab77c._0x3caac0,-_0x3ab77c._0x384467,-0x18c,-_0x3ab77c._0x3eb6e3)]??0x0};case _0x32d7a4(0x1cd,0x3ba,0x24,0x28):return{..._0x477d7e,'cursorOffset':_0x34b55b[_0x426e65(-_0x3ab77c._0x461320,-_0x3ab77c._0x352e28,-_0x3ab77c._0x30b65d,-0x1e2)][_0x426e65(-0x3e,-0x1db,_0x3ab77c._0xc79f5e,0x4d)],'cursorWidth':0x0};case'RESET':return{'value':'','cursorOffset':0x0,'cursorWidth':0x0};case _0x426e65(0x28,-0x136,-0x86,-_0x3ab77c._0x13b2b2):return{..._0x477d7e,'value':_0x34b55b['payload'][_0x32d7a4(_0x3ab77c._0x312af6,-0x127,0xe9,0xc2)],'cursorOffset':_0x34b55b[_0x426e65(-0x254,-_0x3ab77c._0x2037e1,-_0x3ab77c._0x3c0a62,-0x33b)][_0x426e65(-_0x3ab77c._0x301e0d,-_0x3ab77c._0x9d2759,-_0x3ab77c._0x505656,-0xbd)]===''?0x0:_0x477d7e[_0x32d7a4(_0x3ab77c._0x46dcfa,0x251,_0x3ab77c._0x20a55e,0x2d)],'cursorWidth':_0x34b55b[_0x32d7a4(-_0x3ab77c._0x452e1b,-_0x3ab77c._0x3669f1,-0x7,-_0x3ab77c._0x4d1cc4)][_0x426e65(-_0x3ab77c._0x8fd0e,-0x13d,-0x266,-0x167)]===''?0x0:_0x477d7e[_0x32d7a4(_0x3ab77c._0x44ab84,-_0x3ab77c._0x5a9692,0x21c,0x5a)]};default:return _0x477d7e;}}function Gs({initialValue:_0x329564,vimMode:_0x28e0c6,onChange:_0x15b63e}){const _0x34e19a={_0x454f9e:0x1b5,_0xe8fd19:0x117,_0x317016:0xb5,_0x1c5d94:0x248,_0xc732e3:0x2a0,_0x160202:0x123,_0x52a0da:0x1e1,_0x57a058:0x32e,_0x43a3ba:0x13,_0x20e325:0x136,_0x41567a:0xdc,_0x4b4607:0xbb,_0x323366:0x160},_0x4d2990={_0x57a063:0x1f7,_0x516de9:0xd0,_0x5dee65:0x7e},_0x2da481={_0x308072:0xd0},_0x32e55f={_0xbe38c3:0x2a3,_0x496dbe:0x6f,_0x41b95d:0x1b5,_0x11c7e9:0x1b5,_0x2aebc6:0x25d,_0x37d57f:0x106,_0x399dd9:0x194,_0x52ff75:0x94},_0x4192ad={_0x3b3994:0x10f};let [_0x40a147,_0x506e61]=_0xf3e4a9($c,{'value':_0x329564,'cursorOffset':0x0,'cursorWidth':0x0}),_0x176b0e=_0x188846(_0x329564),_0x107c77=_0x188846(!0x1);_0x27ee1a(()=>{const _0x5ca9eb={_0x31c48a:0x315};function _0x13cb78(_0x5102ee,_0x40ba35,_0x2dc91a,_0x2d7353){return _0x58a4(_0x2d7353- -_0x5ca9eb._0x31c48a,_0x5102ee);}function _0x454289(_0xcc4c6b,_0x1a69f9,_0x4a23a5,_0x4172f6){return _0x58a4(_0xcc4c6b-_0x4192ad._0x3b3994,_0x4a23a5);}_0x329564!==_0x176b0e[_0x13cb78(_0x32e55f._0xbe38c3,0x22b,_0x32e55f._0x496dbe,_0x32e55f._0x41b95d)]&&(_0x176b0e[_0x13cb78(0x14,-0x49,0x250,_0x32e55f._0x11c7e9)]=_0x329564,_0x506e61({'type':_0x13cb78(_0x32e55f._0x2aebc6,-_0x32e55f._0x37d57f,_0x32e55f._0x399dd9,_0x32e55f._0x52ff75),'payload':{'value':_0x329564}}),_0x329564===''&&(_0x107c77['current']=!0x1));},[_0x329564]);let _0x5659a0=(_0x2578d8,_0x239e62,_0x2bac77=0x0)=>{function _0x859843(_0xa2deab,_0x15be35,_0x53689d,_0x307463){return _0x58a4(_0x15be35- -0x3e6,_0x53689d);}let _0x4cb3b8=Mr(_0x2578d8['length'],_0x239e62,_0x28e0c6);_0x506e61({'type':'SET_VALUE','payload':{'value':_0x2578d8,'offset':_0x4cb3b8,'width':_0x2bac77}}),_0x2578d8!==_0x40a147[_0x859843(-0x2e6,-0x186,-0x34d,-_0x2da481._0x308072)]&&_0x15b63e(_0x2578d8);},_0x17dc9e=_0x584cf5=>{function _0x2b946b(_0x387f7b,_0x51feb3,_0x1b8c26,_0x4277a5){return _0x58a4(_0x4277a5- -0x2de,_0x51feb3);}let _0x47765d=Mr(_0x40a147[_0x2b946b(-_0x4d2990._0x57a063,_0x4d2990._0x516de9,-0x26e,-_0x4d2990._0x5dee65)]['length'],_0x584cf5,_0x28e0c6);_0x506e61({'type':'MOVE_CURSOR','payload':{'offset':_0x47765d}});};return{'state':_0x40a147,'setValue':_0x5659a0,'moveCursor':_0x17dc9e,'reset':()=>{_0x506e61({'type':'RESET'}),_0x15b63e('');},'setInitialCursor':_0x43a5e8=>{const _0x13e22b={_0x531a4d:0x33c};function _0x25c26c(_0x2e1cbe,_0x228008,_0x1bbeeb,_0x29eeb3){return _0x58a4(_0x29eeb3- -_0x13e22b._0x531a4d,_0x228008);}function _0xca1e5d(_0x41ac0a,_0x4f10fe,_0xa37f00,_0x25d25c){return _0x58a4(_0x25d25c- -0x315,_0x41ac0a);}!_0x107c77[_0xca1e5d(0x17f,0x1d5,-0x2e,_0x34e19a._0x454f9e)]&&_0x43a5e8&&_0x40a147['value']&&_0x40a147[_0xca1e5d(-_0x34e19a._0xe8fd19,-0xcc,-0x116,-_0x34e19a._0x317016)][_0xca1e5d(_0x34e19a._0x1c5d94,_0x34e19a._0xc732e3,_0x34e19a._0x160202,_0x34e19a._0x52a0da)]>0x0&&(_0x107c77[_0xca1e5d(_0x34e19a._0x57a058,-0x4b,-_0x34e19a._0x43a3ba,0x1b5)]=!0x0,_0x17dc9e(Math[_0x25c26c(-_0x34e19a._0x20e325,0x1cd,-_0x34e19a._0x41567a,_0x34e19a._0x4b4607)](0x0,_0x40a147[_0x25c26c(-_0x34e19a._0x323366,-0x25,-0x2c8,-0xdc)]['length'])));}};}import{jsx as _0x25a7ef}from'react/jsx-runtime';function Kc({value:_0x2060b5,placeholder:_0x10fdaa='',focus:_0x848e85=!0x0,mask:_0x59176a,showCursor:_0x51a980=!0x0,onChange:_0x188866,onSubmit:_0x55fd65,vimModeEnabled:_0x2eb944=!0x1,onVimModeChange:_0x55e7db}){const _0x483004={_0x14196e:0x37,_0x540d5f:0x179,_0x5e61e8:0x240,_0x5619d1:0x347,_0x42e77e:0x195,_0x50dc7f:0x274,_0x228ba3:0x2ab,_0x3c973d:0xa4,_0x2fc0eb:0xd5},_0x32e935={_0x354b3a:0x6a4,_0x2eab3a:0x74a,_0x1b5a48:0x6b9,_0x3e6382:0x574,_0x22ec86:0x5f9,_0x21abbd:0x4a5,_0x4eab9c:0x783,_0x2c8cd4:0xc3,_0x1f15c2:0x12c,_0x4576d1:0x472,_0x280675:0x53b,_0x4f12ba:0x19f,_0x51b733:0x42,_0x4fefd9:0x80c,_0xd7fc7c:0x624,_0x20853d:0x464,_0x5c3f3e:0xfb,_0x1c08d3:0x8ec,_0x8052cc:0x8ee,_0x48461e:0x7c,_0x4c2846:0x1f9,_0x3dd7b8:0x974,_0x34a3de:0x6c8,_0x2b459e:0x82d,_0x138f6c:0x597,_0x4a3984:0x715,_0x316a3e:0x5be,_0x50ebaa:0x491,_0xce89fc:0x6ab,_0x2cdb83:0x707,_0x53ac76:0x6c0,_0x1dd614:0x7f2,_0x211910:0x857,_0x258caf:0x914,_0x560567:0x828,_0x4556b7:0x39c,_0x2e6aa4:0x3f2,_0x1765aa:0x62e,_0x5dce39:0x707,_0x482ee5:0x873,_0x1f0b4d:0x705,_0x746c8d:0x91e,_0x71185b:0x857,_0x31dab9:0x7c4,_0x273921:0x7ec,_0x19ce9e:0x148,_0x53747f:0x389,_0x492ecd:0x1a1,_0x5043cb:0x8e,_0x4b1bf6:0xed,_0x2bcfa5:0xe4,_0x2d52c6:0x128,_0x2bbf71:0x5b4,_0x59404d:0x5ee,_0x44796b:0x427,_0x6af7de:0x6c4,_0x3c5c60:0x5d5,_0x3ca464:0x88e,_0x4364eb:0x75c,_0x4f9ead:0x6e3,_0x3bd87b:0x6fe,_0x135afb:0x69b,_0x3a180b:0x137,_0x200dd1:0xaa,_0x3f04c6:0xe,_0x403252:0x102,_0x45de47:0x79c,_0x48e3e6:0x554,_0x3c3d0c:0x918,_0x2b1aa7:0x3f5,_0x3f8e83:0x52e,_0x598a18:0x4d1,_0x102dda:0x3a1,_0x1b0293:0x32,_0x2b6dd6:0xc4,_0x4c3679:0xca,_0x62e5ed:0x5e6,_0xe1de1c:0x52e,_0x44718c:0x435,_0x16a45a:0x2bf,_0x167720:0xeb,_0x4542a7:0x7a,_0x590471:0x894,_0x5696ae:0x8ba,_0x51b115:0x775,_0x134ef7:0x841,_0x35d617:0x8ed,_0x3ad4ed:0xa98,_0x2ceb27:0x747},_0x39d66c={_0x33ff59:0x3c4},_0x1c4855={_0x436e0d:0x15f,_0x5674aa:0x123},_0x11c51c={_0x6c6957:0xf5};function _0x227fa1(_0x18a6b5,_0x1a8407,_0x119899,_0x1e7f74){return _0x199b7d(_0x18a6b5-0x5c,_0x119899- -0x29a,_0x119899-_0x11c51c._0x6c6957,_0x18a6b5);}function _0x529b98(_0x16161c,_0x1621d6,_0xff8e39,_0x2d3159){return _0x3eba7a(_0x16161c-_0x1c4855._0x436e0d,_0x1621d6-0x1b0,_0x1621d6,_0xff8e39-_0x1c4855._0x5674aa);}let {mode:_0x3d445f,handleVimInput:_0x42e690,enterInsertMode:_0x3dc9ae}=Ks({'enabled':_0x2eb944,'onModeChange':_0x55e7db}),{state:_0x479813,setValue:_0x347561,moveCursor:_0x32d941,setInitialCursor:_0x3225a9}=Gs({'initialValue':_0x2060b5,'vimMode':_0x3d445f,'onChange':_0x188866}),{processPaste:_0x5109f6}=Hs(),{renderWithCursor:_0x1ad9b2}=Ws();_0x12630c(()=>{_0x3225a9(_0x848e85);},[_0x848e85,_0x3225a9]),_0x1b1652((_0x220c6d,_0x28768a)=>{const _0x15818c={_0xa44114:0x22e};function _0x36f5fa(_0xa580c8,_0x34abf0,_0xd2f354,_0x4857db){return _0x58a4(_0xd2f354- -_0x15818c._0xa44114,_0xa580c8);}let _0x4f8b88=_0x5109f6(_0x220c6d);if(_0x4f8b88['shouldWaitForMore'])return;_0x4f8b88[_0x470177(0x734,_0x32e935._0x354b3a,0x5e4,_0x32e935._0x2eab3a)]&&L[_0x470177(0x62d,_0x32e935._0x1b5a48,0x7c8,_0x32e935._0x3e6382)](_0x470177(0x64b,_0x32e935._0x22ec86,_0x32e935._0x21abbd,_0x32e935._0x4eab9c),void 0x0),_0x4f8b88[_0x36f5fa(-0xcf,_0x32e935._0x2c8cd4,-0x6b,_0x32e935._0x1f15c2)]!==null&&(_0x220c6d=_0x4f8b88[_0x470177(_0x32e935._0x4576d1,0x587,0x574,_0x32e935._0x280675)]);let _0x5c2730=_0x479813[_0x36f5fa(-_0x32e935._0x4f12ba,-0x19d,0x41,_0x32e935._0x51b733)],_0x33645a=_0x479813[_0x470177(_0x32e935._0x4fefd9,_0x32e935._0xd7fc7c,_0x32e935._0x20853d,0x7bc)],_0x4b3cbc=_0x42e690(_0x220c6d,_0x28768a,_0x33645a,_0x5c2730);if(_0x4b3cbc['type']===_0x36f5fa(0x3d0,_0x32e935._0x5c3f3e,0x2b6,0x1ca)){_0x32d941(_0x4b3cbc[_0x470177(_0x32e935._0x1c08d3,0x707,_0x32e935._0x8052cc,0x8ad)]);return;}function _0x470177(_0x527547,_0x597d36,_0xd5452d,_0x52a256){return _0x58a4(_0x597d36-_0x39d66c._0x33ff59,_0xd5452d);}if(_0x4b3cbc['type']==='set-value'){_0x347561(_0x4b3cbc[_0x36f5fa(_0x32e935._0x48461e,_0x32e935._0x4c2846,0x32,-0x3)],_0x4b3cbc['offset']);return;}if(_0x4b3cbc[_0x470177(_0x32e935._0x3dd7b8,0x857,_0x32e935._0x34a3de,_0x32e935._0x2b459e)]===_0x470177(0x561,_0x32e935._0x138f6c,_0x32e935._0x4a3984,_0x32e935._0x316a3e)){_0x347561(_0x4b3cbc[_0x470177(0x714,_0x32e935._0xd7fc7c,_0x32e935._0x50ebaa,0x5c2)],_0x4b3cbc[_0x470177(_0x32e935._0xce89fc,_0x32e935._0x2cdb83,_0x32e935._0x53ac76,_0x32e935._0x1dd614)]),_0x3dc9ae();return;}if(_0x4b3cbc[_0x470177(0xa09,_0x32e935._0x211910,_0x32e935._0x258caf,_0x32e935._0x560567)]===_0x470177(0x356,0x509,_0x32e935._0x4556b7,_0x32e935._0x2e6aa4)){_0x3dc9ae(),_0x4b3cbc['offset']!==void 0x0&&_0x32d941(_0x4b3cbc[_0x470177(_0x32e935._0x1765aa,_0x32e935._0x5dce39,_0x32e935._0x482ee5,_0x32e935._0x1f0b4d)]);return;}if(_0x4b3cbc[_0x470177(_0x32e935._0x746c8d,_0x32e935._0x71185b,0xa1f,0x8f0)]==='submit'){_0x55fd65&&_0x55fd65(_0x33645a);return;}if(_0x4b3cbc[_0x470177(_0x32e935._0x31dab9,_0x32e935._0x211910,_0x32e935._0x273921,0xa39)]===_0x36f5fa(_0x32e935._0x19ce9e,_0x32e935._0x53747f,0x1f8,0x225)&&!(_0x2eb944&&_0x3d445f===_0x36f5fa(_0x32e935._0x492ecd,0x2b,0xdf,_0x32e935._0x5043cb))){if(_0x28768a['meta']&&_0x220c6d==='\x03'){_0x188866(_0x36f5fa(-0xe4,-_0x32e935._0x4b1bf6,-_0x32e935._0x2bcfa5,-_0x32e935._0x2d52c6));return;}if(!(_0x28768a['ctrl']&&_0x220c6d==='c'||_0x28768a[_0x470177(_0x32e935._0x2bbf71,_0x32e935._0x59404d,_0x32e935._0x44796b,0x64a)]&&_0x220c6d==='v'||_0x28768a[_0x470177(0x685,_0x32e935._0x6af7de,0x52a,0x774)]||_0x28768a['shift']&&_0x28768a[_0x470177(0x7d8,_0x32e935._0x6af7de,_0x32e935._0x3c5c60,_0x32e935._0x3ca464)])){if(_0x28768a[_0x470177(_0x32e935._0x4364eb,0x64c,_0x32e935._0x4f9ead,_0x32e935._0x3bd87b)]){_0x55fd65&&_0x55fd65(_0x33645a);return;}if(_0x28768a[_0x470177(0x740,_0x32e935._0x135afb,0x5a6,0x53b)])_0x51a980&&_0x32d941(_0x5c2730-0x1);else{if(_0x28768a[_0x36f5fa(-0x183,_0x32e935._0x3a180b,-_0x32e935._0x200dd1,-0x69)])_0x51a980&&_0x32d941(_0x5c2730+0x1);else{if(_0x28768a[_0x36f5fa(0x30e,0x31c,0x2ae,0x37a)]){if(!_0x51a980)return;let _0x4fcd56=De(_0x33645a,_0x5c2730,'up');_0x4fcd56!==null&&_0x32d941(_0x4fcd56);}else{if(_0x28768a['downArrow']){if(!_0x51a980)return;let _0xe077a8=De(_0x33645a,_0x5c2730,'down');_0xe077a8!==null&&_0x32d941(_0xe077a8);}else{if(_0x28768a[_0x36f5fa(_0x32e935._0x3f04c6,-0x1e6,-_0x32e935._0x403252,-0x22b)]||_0x28768a[_0x470177(_0x32e935._0x45de47,0x751,_0x32e935._0x48e3e6,_0x32e935._0x3c3d0c)]){if(_0x5c2730>0x0){let _0x2a84d4=_0x33645a[_0x470177(_0x32e935._0x2b1aa7,_0x32e935._0x3f8e83,_0x32e935._0x598a18,_0x32e935._0x102dda)](0x0,_0x5c2730-0x1)+_0x33645a[_0x36f5fa(_0x32e935._0x1b0293,-0x25b,-_0x32e935._0x2b6dd6,-_0x32e935._0x4c3679)](_0x5c2730,_0x33645a['length']),_0x25fd66=_0x5c2730-0x1;_0x347561(_0x2a84d4,_0x25fd66);}}else{let _0x5e9d67=_0x33645a[_0x470177(_0x32e935._0x62e5ed,_0x32e935._0xe1de1c,0x4fe,_0x32e935._0x44718c)](0x0,_0x5c2730)+_0x220c6d+_0x33645a[_0x36f5fa(-_0x32e935._0x16a45a,-_0x32e935._0x167720,-_0x32e935._0x2b6dd6,-_0x32e935._0x4542a7)](_0x5c2730,_0x33645a[_0x470177(_0x32e935._0x590471,_0x32e935._0x5696ae,_0x32e935._0x51b115,0xa88)]),_0x4c1661=_0x5c2730+_0x220c6d[_0x470177(_0x32e935._0x134ef7,_0x32e935._0x5696ae,_0x32e935._0x35d617,_0x32e935._0x3ad4ed)],_0x3d0cb6=_0x220c6d[_0x470177(_0x32e935._0x2ceb27,0x8ba,0x6c3,0xa24)]>0x1?_0x220c6d[_0x470177(0x6f2,_0x32e935._0x5696ae,0x6e1,0x9d4)]:0x0;_0x347561(_0x5e9d67,_0x4c1661,_0x3d0cb6);}}}}}}}},{'isActive':_0x848e85});let _0x2e3e0f=_0x59176a?_0x59176a[_0x529b98(_0x483004._0x14196e,-_0x483004._0x540d5f,0x21,0x65)](_0x479813['value'][_0x529b98(_0x483004._0x5e61e8,_0x483004._0x5619d1,0x35c,_0x483004._0x42e77e)]):_0x479813[_0x227fa1(_0x483004._0x50dc7f,0x194,0x1b0,0xed)],{renderedValue:_0x142f1a,renderedPlaceholder:_0x4e770e}=_0x1ad9b2(_0x2e3e0f,_0x479813[_0x529b98(_0x483004._0x228ba3,_0x483004._0x3c973d,_0x483004._0x2fc0eb,0x2d6)],_0x10fdaa,_0x51a980,_0x848e85);return _0x25a7ef(_0x92866,{'children':_0x10fdaa?_0x2e3e0f['length']>0x0?_0x142f1a:_0x4e770e:_0x142f1a});}var Ke=Kc;import{jsx as _0x386305,jsxs as _0x18192e}from'react/jsx-runtime';var Xc=_0x1beefd(({busy:_0x5da12f,showToolApproval:_0x56cbf9=!0x1,commandItems:_0x92cbfa,vimModeEnabled:_0x1dff0c=!0x1,onInputChanged:_0x5d6f53,onInputSubmit:_0x245203,onVimModeChanged:_0x43bb4c},_0x2c2fb3)=>{const _0x107915={_0x3b7349:0x69f,_0x325861:0x845,_0x278123:0x6c4,_0x3f98c1:0x552,_0x198ca2:0x699,_0x5ac77a:0x631,_0x42842d:0x65a,_0x43f73c:0x56a,_0x4534a4:0x313,_0x14d3dc:0x7bf,_0x5e1312:0x2e5,_0x5545a9:0x4b6,_0x4e4324:0x4ff,_0x216311:0x669,_0x4761ac:0x57a,_0xa84220:0x528,_0x32ca2e:0x369,_0x4ec6eb:0x435,_0x571af7:0x453},_0xa59308={_0x270e84:0x219,_0x4b6e0d:0x217,_0x294c3d:0x208,_0x1affdc:0x4ae,_0x33e99f:0x1d1,_0x123979:0x10c,_0x2915e1:0x123,_0x197b03:0x301,_0x63c2d1:0x25e,_0x4a6ca8:0x9f,_0x37b403:0xab,_0x2c8e2a:0x74,_0x473d3d:0x53c,_0x549a84:0x128,_0x9386ae:0x290,_0x2fcda3:0x170},_0x5072ad={_0x2d28e8:0x89,_0xc8a5ce:0x14e},_0x164f3a={_0x120312:0x2c5,_0x322cd1:0x488,_0x48f2ba:0x2d5,_0x442313:0x290,_0x2d05b4:0x1f9},_0x4c93e4={_0x2b7aea:0x402,_0x5afd02:0x605,_0x320a08:0x483,_0x4e5462:0x4ea,_0x3c12df:0x290,_0x41a72e:0x2fa,_0x55cf77:0x1d9,_0x5b198d:0x333,_0x32c6fd:0x2ab,_0x40f898:0x135,_0x45d84b:0x46,_0x5e4414:0x18c,_0x195dae:0x508,_0x7c564:0x74d,_0x34f4ce:0x101,_0x2423dc:0x3f,_0x4e0c58:0x3d3},_0x660f4c={_0x38a3c2:0x340,_0x131fec:0x903,_0x1fb189:0x598},_0x46d5d9={_0x349dbf:0x121,_0x513075:0x185},_0x2c469b={_0x5066ff:0x61d,_0x28f0dd:0x401,_0x462aaf:0x71b,_0x3f4506:0x4dd,_0x2e99e3:0x4d5,_0x3daa3e:0x35f,_0x3334ee:0x296,_0x2a5dfb:0x149,_0x5ade79:0x309,_0x2532bb:0x6b8},_0x494c8f={_0x24818c:0x92};let {theme:_0x541762}=D(),[_0xa926b5,_0x11a006]=_0x294c7c(''),[_0x2a5554,_0xb96445]=_0x294c7c(!0x1),[_0x5bcc3d,_0x6ec395]=_0x294c7c(0x0),[_0x3a62ab,_0xb959e3]=_0x294c7c(!0x1),[_0x3a6d08,_0x3f568e]=_0x294c7c(_0x4cc602(0x69d,0x6d5,_0x107915._0x3b7349,_0x107915._0x325861)),[_0x45933b]=O(),_0x1f78ce=_0x238ab6(_0x5bf431=>{_0xb96445(_0x5bf431);},[]);_0x120ea4(_0x2c2fb3,()=>({'clear':()=>{_0x11a006(''),_0x1f78ce(!0x1),_0x6ec395(_0x13570a=>_0x13570a+0x1),_0x5d6f53&&_0x5d6f53('');},'getValue':()=>_0xa926b5,'setValue':_0x3daa36=>{_0x11a006(_0x3daa36),_0x5d6f53&&_0x5d6f53(_0x3daa36);},'setValueForRecall':_0xc4b8da=>{_0x11a006(_0xc4b8da),_0x6ec395(_0x11b1f1=>_0x11b1f1+0x1),_0x5d6f53&&_0x5d6f53(_0xc4b8da);},'appendValue':_0x131960=>{_0x11a006(_0x7a517c=>{let _0x8955b9=_0x7a517c+_0x131960;return _0x5d6f53&&_0x5d6f53(_0x8955b9),_0x8955b9;}),_0x6ec395(_0x5663fa=>_0x5663fa+0x1);},'closeMenu':()=>{_0x1f78ce(!0x1);}}),[_0x1f78ce,_0x5d6f53,_0xa926b5]);let _0x7279d8=_0x92cbfa[_0x4cc602(_0x107915._0x278123,_0x107915._0x3f98c1,_0x107915._0x198ca2,0x72e)](_0x42e949=>{function _0xda40f6(_0x4543aa,_0x14de67,_0x52c67b,_0x3deb6c){return _0x4cc602(_0x4543aa-0xd2,_0x3deb6c- -0xbe,_0x14de67,_0x3deb6c-0x9c);}function _0x5221df(_0x3a5e5e,_0x3a9651,_0x5cb5dc,_0x7655bc){return _0x3b6a3f(_0x3a9651- -_0x494c8f._0x24818c,_0x3a9651-0xd6,_0x3a5e5e,_0x7655bc-0xbc);}let _0xbf1854=_0xa926b5['split'](/\s+/)[0x0];return _0x42e949['value'][_0xda40f6(0x479,_0x2c469b._0x5066ff,_0x2c469b._0x28f0dd,0x545)]()['includes'](_0xbf1854[_0xda40f6(0x541,_0x2c469b._0x462aaf,_0x2c469b._0x3f4506,0x545)]())||_0x42e949[_0xda40f6(_0x2c469b._0x2e99e3,0x551,0x3aa,_0x2c469b._0x3daa3e)]['toLowerCase']()[_0x5221df(_0x2c469b._0x3334ee,_0x2c469b._0x2a5dfb,0x1cc,_0x2c469b._0x5ade79)](_0xbf1854[_0xda40f6(_0x2c469b._0x2532bb,0x656,0x6d2,0x545)]());});function _0x4cc602(_0x2409b5,_0x51b37d,_0x3ab30b,_0x54e428){return _0x3eba7a(_0x2409b5-0xe1,_0x51b37d-0x1e2,_0x3ab30b,_0x51b37d-0x4c5);}function _0x3b6a3f(_0x4fa26f,_0x30043e,_0x155506,_0x364348){return _0x199b7d(_0x4fa26f-_0x46d5d9._0x349dbf,_0x4fa26f- -0x2ab,_0x155506-_0x46d5d9._0x513075,_0x155506);}_0x449de7(()=>{const _0x4bc10e={_0x5392e7:0x3f},_0x2730d6={_0x3d83d7:0x161,_0x4e0dcf:0xbd};function _0x8a658e(_0x4bf02a,_0x34f0ad,_0x44405,_0x251421){return _0x3b6a3f(_0x4bf02a-_0x2730d6._0x3d83d7,_0x34f0ad-0x1bc,_0x251421,_0x251421-_0x2730d6._0x4e0dcf);}function _0x200fe7(_0x264cb9,_0x870d0a,_0x130836,_0x309d14){return _0x4cc602(_0x264cb9-0x10e,_0x870d0a-_0x4bc10e._0x5392e7,_0x130836,_0x309d14-0x98);}_0x3f568e(_0x1dff0c?_0x8a658e(0x3ad,_0x660f4c._0x38a3c2,0x39c,0x296):_0x200fe7(_0x660f4c._0x131fec,0x714,_0x660f4c._0x1fb189,0x86c));},[_0x1dff0c]);let _0x1dd8e4=_0x3cb08f=>{const _0x59cd60={_0x54dd46:0xa2,_0x49581e:0xdc};function _0x5ce8e0(_0x3823e5,_0x4bc853,_0x17ec18,_0x451e19){return _0x3b6a3f(_0x17ec18-_0x59cd60._0x54dd46,_0x4bc853-_0x59cd60._0x49581e,_0x4bc853,_0x451e19-0x156);}_0x11a006(_0x3cb08f);let _0x659090=_0x3cb08f[_0x5ce8e0(0x283,0x1ea,0x2f1,0x43b)]('/');_0x1f78ce(_0x659090),_0x5d6f53&&_0x5d6f53(_0x3cb08f),_0x659090||_0xb959e3(!0x1);},_0x5e3305=_0x238ab6(()=>{const _0x13b81a={_0x3b70d6:0x1eb},_0x1df97={_0x19e6e2:0x234,_0x2f4511:0x147,_0x19f8dd:0x1e8};function _0xb7781c(_0x542d75,_0x516cfc,_0x5b0acb,_0x1b7754){return _0x3b6a3f(_0x5b0acb-_0x1df97._0x19e6e2,_0x516cfc-_0x1df97._0x2f4511,_0x516cfc,_0x1b7754-_0x1df97._0x19f8dd);}if(!_0xa926b5[_0xb7781c(_0x4c93e4._0x2b7aea,_0x4c93e4._0x5afd02,_0x4c93e4._0x320a08,_0x4c93e4._0x4e5462)]('/'))return;let _0x4799f7=_0xa926b5[_0x1b4c30(0x11b,_0x4c93e4._0x3c12df,0x73,_0x4c93e4._0x41a72e)](/\s+/),_0x11f043=_0x4799f7[0x0],_0x46bacd=_0x4799f7[_0x1b4c30(-_0x4c93e4._0x55cf77,-0x88,-_0x4c93e4._0x5b198d,-_0x4c93e4._0x32c6fd)](0x1)[_0x1b4c30(-_0x4c93e4._0x40f898,-0x1e,-0x71,_0x4c93e4._0x45d84b)]('\x20'),_0x4b24c5=_0x92cbfa[_0x1b4c30(0x7,-_0x4c93e4._0x5e4414,-0xb2,-0x1e4)](_0x5c7913=>_0x5c7913['value']['toLowerCase']()[_0x1b4c30(-0x33,0x10c,0x38,0x49)](_0x11f043[_0x1b4c30(0xb8,0x63,-0xf4,0x16b)]()));function _0x1b4c30(_0x33cc2b,_0x1791f5,_0xba7732,_0x4ba8ee){return _0x3b6a3f(_0x33cc2b- -0x282,_0x1791f5-0x149,_0xba7732,_0x4ba8ee-_0x13b81a._0x3b70d6);}if(_0x4b24c5[_0xb7781c(_0x4c93e4._0x195dae,_0x4c93e4._0x7c564,0x669,0x7d6)]>0x0){let _0x465aae=_0x46bacd?_0x4b24c5[0x0][_0x1b4c30(-0xe3,-_0x4c93e4._0x34f4ce,_0x4c93e4._0x2423dc,-0x148)]+'\x20'+_0x46bacd:_0x4b24c5[0x0][_0xb7781c(0x295,0x281,_0x4c93e4._0x4e0c58,_0x4c93e4._0x41a72e)];_0x11a006(_0x465aae),_0x1f78ce(!0x0),_0x6ec395(_0x46e509=>_0x46e509+0x1),_0x5d6f53?.(_0x465aae);}},[_0xa926b5,_0x92cbfa,_0x1f78ce,_0x5d6f53]);_0x450d57((_0x90879d,_0x29a5c3)=>{const _0x5f512b={_0x32f37f:0x86},_0x5784cd={_0x23a201:0x76,_0x3d0f69:0x10f};function _0x50b4c5(_0x44fa97,_0xda8665,_0x1e1d7c,_0x560aff){return _0x3b6a3f(_0x1e1d7c-_0x5784cd._0x23a201,_0xda8665-_0x5784cd._0x3d0f69,_0x560aff,_0x560aff-0x4a);}function _0x3cf675(_0x47e077,_0x33f300,_0x1da062,_0x27fad0){return _0x3b6a3f(_0x33f300- -0xd2,_0x33f300-_0x5f512b._0x32f37f,_0x27fad0,_0x27fad0-0xcd);}if(!(!_0x2a5554||_0x7279d8['length']===0x0)){if(_0x29a5c3['tab']){if(_0xa926b5[_0x50b4c5(0x2f7,0xc6,_0x164f3a._0x120312,_0x164f3a._0x322cd1)]('/')&&!_0x3a62ab){_0x5e3305();return;}_0xb959e3(_0xaab6b8=>!_0xaab6b8),_0x6ec395(_0x1d9ea1=>_0x1d9ea1+0x1);return;}if(_0x29a5c3['upArrow']||_0x29a5c3[_0x3cf675(_0x164f3a._0x48f2ba,_0x164f3a._0x442313,0xde,0x41f)]){_0x3a62ab||_0xb959e3(!0x0);return;}if(_0x29a5c3[_0x3cf675(0x20a,0xa4,_0x164f3a._0x2d05b4,0x47)]){_0x3a62ab?(_0xb959e3(!0x1),_0x6ec395(_0x16cf98=>_0x16cf98+0x1)):_0x1f78ce(!0x1);return;}}},{'isActive':_0x2a5554&&_0x7279d8[_0x4cc602(0x8cd,0x6fe,0x699,0x86c)]>0x0});let _0x43724f=_0x238ab6(_0x9105d9=>{_0x3f568e(_0x9105d9),_0x43bb4c&&_0x43bb4c(_0x9105d9);},[_0x43bb4c]),_0x5d31a4=async(_0x399f78,_0x54471b)=>{if(_0x54471b&&!_0x3a62ab)return;function _0x191d3d(_0x1d116a,_0x5a6c3d,_0x2adcc2,_0xf755db){return _0x3b6a3f(_0x5a6c3d- -0x1cc,_0x5a6c3d-0xdc,_0x1d116a,_0xf755db-0x110);}function _0x22e743(_0x3f278f,_0x823c3e,_0x15e5d9,_0x41e817){return _0x4cc602(_0x3f278f-_0x5072ad._0x2d28e8,_0x3f278f- -0x1d8,_0x41e817,_0x41e817-_0x5072ad._0xc8a5ce);}let _0x30ada8=_0x399f78[_0x191d3d(-0x54,-0x14a,-_0xa59308._0x270e84,-_0xa59308._0x4b6e0d)]();if(_0x30ada8[_0x22e743(0x340,_0xa59308._0x294c3d,_0xa59308._0x1affdc,0x219)]('/')){let _0x1656af=_0x30ada8[_0x191d3d(0x10e,_0xa59308._0x33e99f,0x211,0x3af)](/\s+/),_0x1d4a75=_0x1656af[0x0],_0x69a89b=_0x1656af[_0x191d3d(-_0xa59308._0x123979,-_0xa59308._0x2915e1,-0x150,-_0xa59308._0x197b03)](0x1)[_0x22e743(0x23e,0x3e8,_0xa59308._0x63c2d1,_0xa59308._0x4a6ca8)]('\x20')[_0x191d3d(-0x2ca,-0x14a,_0xa59308._0x37b403,-_0xa59308._0x2c8e2a)]();if(_0x92cbfa['find'](_0x395780=>_0x395780[_0x22e743(0x290,0x476,0x1d0,0x1d6)]===_0x1d4a75)){_0x11a006(''),_0x1f78ce(!0x1),_0xb959e3(!0x1),_0x5d6f53?.(''),await _0x245203?.(_0x30ada8);return;}if(_0x2a5554){if(_0x7279d8[_0x22e743(0x526,_0xa59308._0x473d3d,0x47c,0x442)]>0x0){let _0x1e8e99=_0x7279d8[0x0],_0x1f7857=_0x69a89b?_0x1e8e99[_0x22e743(0x290,_0xa59308._0x549a84,0x453,0x24f)]+'\x20'+_0x69a89b:_0x1e8e99[_0x22e743(_0xa59308._0x9386ae,0x388,_0xa59308._0x2fcda3,0x448)];_0x11a006(''),_0x1f78ce(!0x1),_0xb959e3(!0x1),_0x5d6f53?.(''),await _0x245203?.(_0x1f7857);}return;}}_0x11a006(''),_0x1f78ce(!0x1),_0xb959e3(!0x1),_0x5d6f53?.(''),await _0x245203?.(_0x30ada8);};return _0x18192e(_0x5cb1a2,{'flexDirection':_0x4cc602(0x506,_0x107915._0x5ac77a,_0x107915._0x42842d,0x5a2),'children':[_0x18192e(_0x5cb1a2,{'flexShrink':0x0,'minWidth':0x1,'children':[_0x5da12f?_0x386305(_0x2c361a,{'type':_0x3b6a3f(0x3a7,_0x107915._0x43f73c,_0x107915._0x4534a4,0x37a)}):_0x386305(_0x2f507c,{'color':_0x541762['input'][_0x4cc602(0x784,0x6ef,0x687,_0x107915._0x14d3dc)],'bold':!0x0,'children':'❯'}),_0x386305(_0x5cb1a2,{'minWidth':0x1}),_0x386305(_0x5cb1a2,{'width':_0x45933b-0x2,'children':_0x386305(Ke,{'value':_0xa926b5,'onChange':_0x1dd8e4,'onSubmit':_0x5d31a4,'placeholder':_0x4cc602(_0x107915._0x5e1312,0x45d,0x389,_0x107915._0x5545a9),'focus':!_0x56cbf9&&!_0x3a62ab,'vimModeEnabled':_0x1dff0c,'onVimModeChange':_0x43724f},_0x5bcc3d)})]}),_0x2a5554&&_0x7279d8[_0x4cc602(_0x107915._0x4e4324,0x6fe,_0x107915._0x216311,0x6f1)]>0x0&&_0x18192e(_0x5cb1a2,{'marginLeft':0x0,'marginTop':0x0,'flexDirection':_0x4cc602(0x466,0x631,0x688,0x68f),'children':[_0x18192e(_0x2f507c,{'color':_0x541762['input']['placeholder'],'children':[_0x4cc602(_0x107915._0x4761ac,_0x107915._0xa84220,0x427,_0x107915._0x32ca2e),_0x7279d8[_0x3b6a3f(_0x107915._0x4ec6eb,_0x107915._0x571af7,0x4c3,0x304)],')\x20-\x20Use\x20↑↓\x20to\x20navigate,\x20Enter\x20to\x20select,\x20keep\x20typing\x20to\x20filter']}),_0x386305(Me,{'items':_0x7279d8,'onSelect':_0x27ad0b=>_0x5d31a4(_0x27ad0b[_0x3b6a3f(0x19f,0x248,-0x3b,0x2ac)],!0x0)})]})]});}),Ir=_0x183d05[_0x3eba7a(0x333,0x183,0x333,0x1a0)](Xc);import{jsx as _0x41b62f,jsxs as _0x141a42}from'react/jsx-runtime';var nu=_0x3638ad(function({busy:_0x57fa40=!0x1,messageQueueLength:_0x1d9e64=0x0,vimModeEnabled:_0x3344e9=!0x1,hasActiveCommand:_0x299d10=!0x1,abortRef:_0x214b0d,onNotification:_0x3ddd69,onBusyChange:_0xd27e8e,onInputChanged:_0x2a5489,onInputSubmit:_0x10cd39,onVimModeToggle:_0x3cfe88,onVimModeChanged:_0x23fa9f},_0x36ddec){const _0x5c8a74={_0x153580:0x11a,_0x295ad5:0x5d9,_0x379568:0x4d1,_0x4b1d1d:0x676,_0x117092:0x82f,_0x587954:0x453,_0x19fbd6:0x4ed,_0x3c8b54:0x74,_0x1d465f:0xa1,_0x4a93d2:0x9a,_0x32f470:0x2d,_0x3ec5d8:0xc3,_0x385bcb:0x11d,_0x3a3a85:0x1f,_0x222ab1:0x1ea,_0x1653bb:0x10c,_0x41152a:0x98,_0xfa23bc:0xe5,_0x93bde9:0x253,_0x47a5f6:0x9ec,_0x24707e:0x854,_0x1b8677:0x7b7,_0x34cc1d:0x694},_0x3e4a99={_0x5dcf25:0x29c,_0x1391e9:0x733,_0x413d75:0x5c1,_0x3367db:0x5f3,_0x35bf1f:0x43f,_0x1bd746:0x3cd,_0x3563a1:0x53e,_0x368343:0x51e,_0x28e57d:0x30f,_0x484482:0x38e,_0x100323:0x386,_0x2a5442:0x4d7,_0x56b715:0x341,_0x588ea0:0x611,_0x4dda41:0x44d,_0x35a7ec:0x4fb,_0x42a968:0x6cb,_0x244f8e:0x6c7,_0x35114f:0x355,_0x1088ce:0x328,_0xca4599:0x2d8,_0x532421:0x459,_0x56542f:0x277,_0x42b2b5:0xfd,_0x382c58:0x152,_0x3a40cb:0x79b,_0x154db6:0x5b9,_0x49ae11:0x4e5,_0x41b55a:0x28d,_0x576fc5:0x811,_0x15cc9b:0x627,_0x178cbb:0x473,_0x3755d0:0x2e4,_0x2d6fce:0x4aa,_0x5f1f45:0x88c,_0x1fa451:0x6bd,_0x7c332d:0x5ae,_0x27f2fa:0x627,_0x336d6c:0x546,_0x44cff9:0x5c1,_0x27b79b:0x3fc,_0x22de08:0x506,_0x57d384:0x865,_0x5b6423:0x515,_0x5d9c72:0x564,_0x11ea43:0x33a,_0x2a6018:0x3b7,_0x34c753:0x1ef,_0x544ee8:0x32a,_0x9582b7:0x106,_0x5b1ee0:0xb8,_0x535e3a:0x11b,_0x276dd0:0x3f1,_0x91bed5:0x3da,_0x452750:0x3ea,_0x2bb357:0x43f,_0x372bed:0x58b,_0x21bb6d:0x38e,_0x1bf362:0x56f,_0x20db9b:0x6ac,_0x314ee4:0x5ae,_0x56785d:0x401,_0x3e3de1:0x2f8,_0x5551a8:0x43f,_0x2d39dc:0x250,_0x518bbe:0x5d9,_0x1900df:0x7c0,_0x23c531:0x5a8,_0x3b1cda:0x3a7,_0x2e2810:0x335,_0x2934ce:0x188,_0x148d08:0x567,_0x52433f:0x49f,_0x2d2178:0x585,_0x41a896:0x647,_0x4adb14:0x62e},_0x183bf0={_0x33b85c:0x678},_0x4afc0f={_0x1cc1d7:0x5dd,_0x551dd7:0x22a,_0x30e183:0x58e},_0x55e6bf={_0x3cf286:0x421,_0x3b3222:0x55c,_0x49ac4b:0x226,_0x3c696c:0x37d,_0x24fd31:0x1de},_0x461a72={_0x20e703:0x6e,_0x479922:0x5f},_0x48db4e={_0x4ef41d:0x3e6,_0x127a4a:0x293,_0x1216ad:0x7f5,_0x23493f:0x8c5},_0x1d3818={_0x4c92b6:0x6d9,_0x199399:0x103},_0x55d597={_0x18d357:0x59,_0x133de0:0x4c},_0x52b5a4={_0x2d69bd:0x351,_0x528ca8:0x3af,_0x50df32:0x17d,_0x55bc37:0x264},_0x531d74={_0x1d8172:0x1dd},_0x4c4c9a={_0x2a13c5:0x11a};let {commands:_0xcdadf3}=io(),{pendingApproval:_0x51343e,toolApprovalMode:_0x13f0ef,handleApprovalResponse:_0x4b97ae}=Ae(),{theme:_0x476e46}=D(),_0x38d127=_0x4a25b8(_0x4c69ed(_0x5c8a74._0x153580,0x27,0x2dc,0x185)),[_0x3491e4,_0x291a56]=_0x26aef7([]),_0x3a88ae=_0x4a25b8(!0x1);function _0x4c69ed(_0x592127,_0x51e6f4,_0x1a645b,_0xf7643d){return _0x199b7d(_0x592127-_0x4c4c9a._0x2a13c5,_0x592127- -0x4f6,_0x1a645b-0x113,_0x51e6f4);}_0x2a155e(()=>{const _0x9c7464={_0x20211f:0x7f,_0x292550:0x3b7},_0x2a9914={_0x5d5fc9:0xcd,_0x19718e:0x1c2};function _0x355b97(_0x5e4eb6,_0x5b5501,_0x765e5a,_0x1a1b6d){return _0x4c69ed(_0x1a1b6d-0xa6,_0x5e4eb6,_0x765e5a-_0x531d74._0x1d8172,_0x1a1b6d-0xe0);}if(!_0x57fa40&&_0x3491e4['length']>0x0&&_0x10cd39&&!_0x3a88ae['current']){_0x3a88ae[_0x355b97(_0x52b5a4._0x2d69bd,_0x52b5a4._0x528ca8,_0x52b5a4._0x50df32,_0x52b5a4._0x55bc37)]=!0x0;let [_0x46c43e,..._0x411ecc]=_0x3491e4;_0x291a56(_0x411ecc),_0x10cd39(_0x46c43e)['finally'](()=>{function _0x361d80(_0x5620a4,_0x596b22,_0x3987b6,_0x19d7f6){return _0x355b97(_0x3987b6,_0x596b22-_0x2a9914._0x5d5fc9,_0x3987b6-_0x2a9914._0x19718e,_0x19d7f6- -0x40);}_0x3a88ae[_0x361d80(_0x9c7464._0x20211f,0x21e,_0x9c7464._0x292550,0x224)]=!0x1;});}},[_0x57fa40,_0x3491e4,_0x10cd39]);let _0x4a5a7c=_0x1ddfcc(async _0x19a263=>{function _0x4bacef(_0x3c45d7,_0x1aed0d,_0x44e747,_0xae8ada){return _0x4c69ed(_0x1aed0d-0x268,_0x3c45d7,_0x44e747-_0x55d597._0x18d357,_0xae8ada-_0x55d597._0x133de0);}function _0x2be31d(_0x329677,_0x4dd90d,_0x13111d,_0x4b0926){return _0x4c69ed(_0x13111d-_0x1d3818._0x4c92b6,_0x4b0926,_0x13111d-0xe3,_0x4b0926-_0x1d3818._0x199399);}_0x57fa40&&!_0x19a263[_0x4bacef(_0x48db4e._0x4ef41d,0x26c,0x3ae,_0x48db4e._0x127a4a)]('/')?(_0x291a56(_0x15baed=>[..._0x15baed,_0x19a263]),_0x3ddd69?.(_0x2be31d(_0x48db4e._0x1216ad,0x993,_0x48db4e._0x23493f,0x73d),0x3e8)):await _0x10cd39?.(_0x19a263);},[_0x57fa40,_0x3ddd69,_0x10cd39]);function _0x248cbd(_0x393ec4,_0x1f5f9b,_0x342ae3,_0xd86124){return _0x199b7d(_0x393ec4-_0x461a72._0x20e703,_0x1f5f9b-0x174,_0x342ae3-_0x461a72._0x479922,_0x393ec4);}_0x513736((_0x1e441,_0x21e0ac)=>{const _0x57d62a={_0x37e35d:0x2dd,_0x3b697b:0x1cc},_0xc4fe61={_0xde2cb4:0x2f3,_0x4f6786:0xdf},_0x4659a2={_0x2e4e4b:0x1d7,_0x2ae9b2:0x198},_0x1d7356={_0x1be4cc:0x50d,_0x261f14:0x84};function _0x45e019(_0x3d797b,_0x159a61,_0x1ecd93,_0x3bfc57){return _0x4c69ed(_0x1ecd93-_0x1d7356._0x1be4cc,_0x3bfc57,_0x1ecd93-_0x1d7356._0x261f14,_0x3bfc57-0x1b8);}function _0x2a8851(_0x2f9fad,_0x1be093,_0x300fe9,_0x5dcd0e){return _0x4c69ed(_0x1be093-0x281,_0x5dcd0e,_0x300fe9-0x128,_0x5dcd0e-0x40);}if(_0x21e0ac['escape']&&_0x214b0d&&_0x3ddd69&&_0xd27e8e){if(_0x51343e)return;if(_0x57fa40){if(_0x38d127['current']===_0x2a8851(_0x3e4a99._0x5dcf25,0x39b,0x450,0x3fc)){if(typeof _0x36ddec!=_0x45e019(0x5d4,_0x3e4a99._0x1391e9,_0x3e4a99._0x413d75,_0x3e4a99._0x3367db)&&_0x36ddec?.[_0x2a8851(0x247,_0x3e4a99._0x35bf1f,_0x3e4a99._0x1bd746,_0x3e4a99._0x3563a1)]&&_0x36ddec['current']['getValue']&&_0x36ddec[_0x2a8851(_0x3e4a99._0x368343,_0x3e4a99._0x35bf1f,0x3ad,_0x3e4a99._0x28e57d)][_0x45e019(0x407,_0x3e4a99._0x484482,_0x3e4a99._0x100323,0x51c)]()[_0x45e019(0x426,_0x3e4a99._0x2a5442,0x344,_0x3e4a99._0x56b715)]()!==''){_0x3ddd69(_0x45e019(_0x3e4a99._0x588ea0,0x4b5,_0x3e4a99._0x4dda41,0x347),0x5dc),_0x38d127[_0x45e019(_0x3e4a99._0x35a7ec,0x8ac,_0x3e4a99._0x42a968,0x4d6)]=_0x45e019(0x5a1,_0x3e4a99._0x244f8e,0x5ae,0x46e),setTimeout(()=>{function _0x519a7a(_0xaa99ba,_0x1a1a9d,_0x512c4f,_0xaea35f){return _0x2a8851(_0xaa99ba-0x15b,_0xaea35f- -0x2a7,_0x512c4f-0x57,_0x1a1a9d);}_0x38d127[_0x519a7a(0x1f9,0x1dc,_0x4659a2._0x2e4e4b,_0x4659a2._0x2ae9b2)]='none';},0x5dc);return;}_0x3ddd69(_0x45e019(0x62b,0x33d,0x453,0x60f),0x5dc),_0x38d127[_0x2a8851(0x2cf,0x43f,_0x3e4a99._0x35114f,_0x3e4a99._0x1088ce)]=_0x2a8851(_0x3e4a99._0xca4599,0x1c0,0x1fe,0x131),setTimeout(()=>{const _0x391178={_0x15b40d:0x1e};function _0xe74d96(_0x1abcd5,_0x5ad4ec,_0xd1451a,_0x220c5c){return _0x2a8851(_0x1abcd5-0x196,_0x1abcd5- -_0x391178._0x15b40d,_0xd1451a-0x110,_0xd1451a);}function _0x410843(_0x4f49cb,_0x4c7854,_0x4f12eb,_0x42e909){return _0x2a8851(_0x4f49cb-0x7f,_0x42e909- -_0xc4fe61._0xde2cb4,_0x4f12eb-_0xc4fe61._0x4f6786,_0x4f12eb);}_0x38d127[_0xe74d96(_0x55e6bf._0x3cf286,_0x55e6bf._0x3b3222,_0x55e6bf._0x49ac4b,0x3d7)]=_0xe74d96(_0x55e6bf._0x3c696c,_0x55e6bf._0x24fd31,0x4e0,0x376);},0x5dc);return;}if(_0x38d127[_0x2a8851(0x641,0x43f,_0x3e4a99._0x532421,_0x3e4a99._0x56542f)]==='armed-clear'){_0x3ddd69(_0x2a8851(-_0x3e4a99._0x42b2b5,0x9a,-0x3e,-_0x3e4a99._0x382c58),0x5dc),typeof _0x36ddec!='function'&&_0x36ddec?.['current']&&_0x36ddec['current']['clear'](),_0x38d127[_0x45e019(_0x3e4a99._0x3a40cb,0x65e,0x6cb,0x612)]='armed-stop',setTimeout(()=>{const _0x154c1={_0xc5c49b:0x25,_0x19ac66:0x89};function _0x111063(_0x11e5c6,_0x4836e1,_0x1985f3,_0x467949){return _0x45e019(_0x11e5c6-0x1d,_0x4836e1-0x60,_0x11e5c6-0x1b6,_0x467949);}function _0x4826b1(_0x539682,_0x2e8594,_0x3c3b60,_0x4cc8e3){return _0x2a8851(_0x539682-0x146,_0x4cc8e3-_0x154c1._0xc5c49b,_0x3c3b60-_0x154c1._0x19ac66,_0x3c3b60);}_0x38d127[_0x4826b1(0x4a0,0x483,_0x4afc0f._0x1cc1d7,0x464)]=_0x4826b1(0x1ee,_0x4afc0f._0x551dd7,_0x4afc0f._0x30e183,0x3c0);},0x5dc);return;}if(_0x38d127['current']===_0x45e019(_0x3e4a99._0x154db6,_0x3e4a99._0x49ae11,0x44c,0x401)){_0x3ddd69(null),_0x38d127[_0x2a8851(_0x3e4a99._0x41b55a,_0x3e4a99._0x35bf1f,0x336,0x51e)]=_0x45e019(0x692,_0x3e4a99._0x576fc5,_0x3e4a99._0x15cc9b,0x684);try{_0x214b0d[_0x2a8851(_0x3e4a99._0x178cbb,0x43f,0x29e,_0x3e4a99._0x3755d0)]?.[_0x45e019(0x504,_0x3e4a99._0x2d6fce,0x383,0x489)]();}catch{}finally{_0xd27e8e(!0x1);}return;}return;}if(_0x38d127[_0x45e019(_0x3e4a99._0x5f1f45,0x52e,0x6cb,_0x3e4a99._0x1fa451)]===_0x45e019(0x565,_0x3e4a99._0x7c332d,_0x3e4a99._0x27f2fa,0x6de)&&typeof _0x36ddec!=_0x45e019(_0x3e4a99._0x336d6c,0x565,_0x3e4a99._0x44cff9,0x771)&&_0x36ddec?.[_0x2a8851(0x637,0x43f,_0x3e4a99._0x27b79b,_0x3e4a99._0x22de08)]&&_0x36ddec[_0x45e019(_0x3e4a99._0x57d384,_0x3e4a99._0x5b6423,0x6cb,_0x3e4a99._0x5d9c72)][_0x45e019(_0x3e4a99._0x11ea43,_0x3e4a99._0x2a6018,0x386,_0x3e4a99._0x34c753)]&&_0x36ddec[_0x2a8851(0x5e4,0x43f,_0x3e4a99._0x544ee8,0x4fc)][_0x2a8851(0xa2,0xfa,-0x9c,0xc3)]()[_0x2a8851(_0x3e4a99._0x9582b7,_0x3e4a99._0x5b1ee0,_0x3e4a99._0x535e3a,0x298)]()!==''){_0x3ddd69(_0x2a8851(0x2b0,_0x3e4a99._0x276dd0,_0x3e4a99._0x91bed5,_0x3e4a99._0x452750),0x5dc),_0x38d127[_0x2a8851(0x341,_0x3e4a99._0x2bb357,_0x3e4a99._0x372bed,0x336)]=_0x2a8851(_0x3e4a99._0x21bb6d,0x322,0x2ab,0x3c6),setTimeout(()=>{function _0x42da45(_0x4c3a0f,_0x5f1a63,_0x42a55c,_0x3e9cb6){return _0x2a8851(_0x4c3a0f-0x1ac,_0x42a55c-_0x57d62a._0x37e35d,_0x42a55c-_0x57d62a._0x3b697b,_0x4c3a0f);}_0x38d127['current']=_0x42da45(0x870,0x477,_0x183bf0._0x33b85c,0x7af);},0x5dc);return;}if(_0x38d127[_0x45e019(0x6bf,_0x3e4a99._0x1bf362,0x6cb,0x7d9)]===_0x45e019(0x553,_0x3e4a99._0x20db9b,_0x3e4a99._0x314ee4,_0x3e4a99._0x56785d)){_0x3ddd69(null),_0x38d127[_0x2a8851(_0x3e4a99._0x3e3de1,_0x3e4a99._0x5551a8,0x2f4,_0x3e4a99._0x2d39dc)]=_0x45e019(_0x3e4a99._0x518bbe,_0x3e4a99._0x1900df,0x627,_0x3e4a99._0x23c531),typeof _0x36ddec!=_0x2a8851(_0x3e4a99._0x3b1cda,_0x3e4a99._0x2e2810,0x30e,_0x3e4a99._0x2934ce)&&_0x36ddec?.[_0x45e019(_0x3e4a99._0x148d08,0x610,0x6cb,0x57e)]&&_0x36ddec[_0x2a8851(_0x3e4a99._0x52433f,0x43f,_0x3e4a99._0x2d2178,0x326)][_0x45e019(0x56e,_0x3e4a99._0x41a896,_0x3e4a99._0x4adb14,0x647)]();return;}}},{'isActive':!_0x299d10&&!_0x51343e});let _0x2e7d14=_0x5f13e2(()=>_0xcdadf3[_0x248cbd(0xa35,0x850,0x7ff,0x78f)](_0xbdec49=>({'label':_0xbdec49['id']+_0x248cbd(0x49e,0x590,0x564,0x5db)+_0xbdec49[_0x248cbd(0x5c0,0x5d4,0x6f5,0x4b3)],'value':_0xbdec49['id']})),[_0xcdadf3]);switch(_0x51343e?_0x248cbd(0x52d,_0x5c8a74._0x295ad5,_0x5c8a74._0x379568,_0x5c8a74._0x4b1d1d):_0x299d10?_0x248cbd(_0x5c8a74._0x117092,0x697,0x778,0x6ac):_0x248cbd(0x5a5,0x49e,_0x5c8a74._0x587954,_0x5c8a74._0x19fbd6)){case _0x4c69ed(-0x91,0xa6,-0x12a,_0x5c8a74._0x3c8b54):return!_0x51343e||!_0x13f0ef?null:_0x41b62f(br,{'toolCalls':_0x51343e[_0x4c69ed(-0x136,-0x42,-_0x5c8a74._0x1d465f,_0x5c8a74._0x4a93d2)],'onApproval':_0x4b97ae});case _0x4c69ed(_0x5c8a74._0x32f470,-0x111,0x46,-_0x5c8a74._0x3ec5d8):return _0x41b62f(Ns,{});default:return _0x141a42(_0x30c6a9,{'flexDirection':_0x4c69ed(_0x5c8a74._0x385bcb,-_0x5c8a74._0x3a3a85,-0x62,0x11c),'marginTop':0x1,'children':[_0x3491e4[_0x4c69ed(_0x5c8a74._0x222ab1,0x2b4,0xda,0x1fa)]>0x0&&_0x141a42(_0x30c6a9,{'flexDirection':_0x4c69ed(_0x5c8a74._0x1653bb,0x21b,0x276,_0x5c8a74._0x41152a),'marginLeft':0x2,'children':[_0x141a42(_0x205d94,{'color':_0x476e46[_0x4c69ed(0x97,-_0x5c8a74._0xfa23bc,_0x5c8a74._0x93bde9,-0xe0)]['secondary'],'dimColor':!0x0,'children':['⟀\x20',_0x3491e4[0x0]]}),_0x3491e4[_0x248cbd(_0x5c8a74._0x47a5f6,_0x5c8a74._0x24707e,0x75e,0x68c)]>0x1&&_0x141a42(_0x205d94,{'color':_0x476e46['colors'][_0x248cbd(_0x5c8a74._0x1b8677,0x76e,0x90f,_0x5c8a74._0x34cc1d)],'dimColor':!0x0,'children':['\x20','+\x20',_0x3491e4['length']-0x1]})]}),_0x41b62f(Ir,{'ref':_0x36ddec,'busy':_0x57fa40,'messageQueueLength':_0x1d9e64,'showToolApproval':!!_0x51343e,'commandItems':_0x2e7d14,'vimModeEnabled':_0x3344e9,'onInputChanged':_0x2a5489,'onInputSubmit':_0x4a5a7c,'onVimModeToggle':_0x3cfe88,'onVimModeChanged':_0x23fa9f})]});}});import{useState as _0x293f16,useRef as _0x882810}from'react';import{Box as _0x4e4243,Text as _0x4a77c7,useInput as _0x148752}from'ink';import{jsx as _0x428a19,jsxs as _0x54f40b}from'react/jsx-runtime';var lu=_0x47c0c6=>{const _0x1612e3={_0xb2b9a0:0x87b,_0xe619ce:0x343,_0x5eb25e:0x41c,_0x53d943:0x78e,_0x1cf695:0x646,_0x426fd8:0x59f,_0x5e753d:0x6e6,_0x3e4217:0x446,_0x55bc73:0x360,_0x136991:0x42a,_0x67e074:0x17f,_0x7cb376:0x218,_0x30aade:0x4c7,_0x595b7f:0x614,_0xd0b7fd:0x513,_0x376203:0x4e2,_0x577b27:0x75b,_0x4921be:0x83f,_0x263bd1:0x4e3,_0x7ad07e:0x45c,_0x8bdd59:0x6ba,_0x571d96:0x53f,_0x375724:0x67c,_0x5a2cf0:0x67a,_0x651fa4:0x4cc,_0x1d12eb:0x2b5,_0x2bf0af:0x45c,_0x14ac0a:0x464,_0x426f3d:0x3e2,_0x1f08f7:0x739,_0x5ce2e5:0x476,_0x479c5b:0x237,_0x3be401:0x5f,_0x2fe55b:0x5b8,_0x43a945:0x3f3,_0x2e9f8d:0x438,_0x232092:0x4a0,_0x11d4a7:0x466,_0xefb663:0x3d3,_0x3e602c:0x267,_0x185df6:0x51a,_0x113d6b:0x539,_0x41f8da:0x605,_0x519d9c:0x6ba,_0x2bd03f:0x496,_0xce5f06:0x4b1,_0x52befe:0x450,_0x7070dd:0x21a,_0x14c96f:0x230,_0x4a76e:0x457},_0x468a7c={_0x49e3a2:0x119},_0x1f39ff={_0x45cf41:0x15,_0x35ff2c:0x152};let _0x118619=new Date(_0x47c0c6),_0x2a55fa=Math['floor']((new Date()[_0x3aacba(0x69e,0x6bf,_0x1612e3._0xb2b9a0,0x6f6)]()-_0x118619[_0x594c62(0x427,_0x1612e3._0xe619ce,_0x1612e3._0x5eb25e,0x496)]())/(0x3e8*0x3c)),_0xf31600=Math[_0x594c62(_0x1612e3._0x53d943,0x733,0x59f,_0x1612e3._0x1cf695)](_0x2a55fa/0x3c),_0x31f078=Math[_0x594c62(0x634,0x75e,_0x1612e3._0x426fd8,_0x1612e3._0x5e753d)](_0xf31600/0x18);if(_0x2a55fa<0x5)return'Just\x20now';if(_0x2a55fa<0x3c)return _0x2a55fa+_0x594c62(0x464,0x3bf,0x2f7,0x30c);if(_0xf31600<0x18){let _0x418e7d=_0x118619[_0x594c62(0x241,_0x1612e3._0x3e4217,_0x1612e3._0x55bc73,_0x1612e3._0x136991)](_0x594c62(_0x1612e3._0x67e074,0x384,0x1da,_0x1612e3._0x7cb376),{'hour':_0x3aacba(0x6ba,_0x1612e3._0x30aade,_0x1612e3._0x595b7f,_0x1612e3._0xd0b7fd),'minute':_0x594c62(_0x1612e3._0x376203,0x3f0,0x2e8,0x319),'hour12':!0x0});return _0xf31600<0x6?_0xf31600+_0x3aacba(0x66b,0x489,_0x1612e3._0x577b27,_0x1612e3._0x4921be):_0x3aacba(_0x1612e3._0x263bd1,0x493,0x507,0x3a8)+_0x418e7d;}if(_0x31f078===0x1)return'Yesterday\x20'+_0x118619['toLocaleTimeString'](_0x3aacba(_0x1612e3._0x7ad07e,0x328,0x598,0x42d),{'hour':_0x3aacba(_0x1612e3._0x8bdd59,_0x1612e3._0x571d96,_0x1612e3._0x375724,_0x1612e3._0x5a2cf0),'minute':_0x594c62(0x41c,_0x1612e3._0x651fa4,0x2e8,_0x1612e3._0x1d12eb),'hour12':!0x0});function _0x3aacba(_0x9f61b3,_0x1b4bad,_0x1ba872,_0x1630d4){return _0x199b7d(_0x9f61b3-_0x1f39ff._0x45cf41,_0x9f61b3-_0x1f39ff._0x35ff2c,_0x1ba872-0x144,_0x1ba872);}function _0x594c62(_0x46135c,_0x1a3f65,_0x49dce7,_0x1b15ed){return _0x199b7d(_0x46135c-0x13a,_0x49dce7- -0x130,_0x49dce7-_0x468a7c._0x49e3a2,_0x1a3f65);}if(_0x31f078<0x7){let _0x1678a7=_0x118619['toLocaleDateString'](_0x3aacba(_0x1612e3._0x2bf0af,_0x1612e3._0x3e4217,_0x1612e3._0x14ac0a,_0x1612e3._0x426f3d),{'weekday':_0x3aacba(0x567,_0x1612e3._0x1f08f7,0x5a2,_0x1612e3._0x5ce2e5)}),_0x53cb38=_0x118619['toLocaleTimeString'](_0x594c62(_0x1612e3._0x479c5b,_0x1612e3._0x3be401,0x1da,0x234),{'hour':_0x594c62(_0x1612e3._0x2fe55b,_0x1612e3._0x43a945,_0x1612e3._0x2e9f8d,_0x1612e3._0x232092),'minute':_0x3aacba(0x56a,_0x1612e3._0x11d4a7,0x444,_0x1612e3._0xefb663),'hour12':!0x0});return _0x1678a7+'\x20'+_0x53cb38;}return _0x118619['toLocaleDateString'](_0x3aacba(0x45c,0x485,_0x1612e3._0x3e602c,_0x1612e3._0x185df6),{'month':_0x3aacba(0x567,_0x1612e3._0x113d6b,0x56a,_0x1612e3._0x41f8da),'day':_0x3aacba(_0x1612e3._0x519d9c,0x554,0x663,0x700),'hour':_0x594c62(_0x1612e3._0x2bd03f,_0x1612e3._0xce5f06,0x438,_0x1612e3._0x52befe),'minute':_0x594c62(_0x1612e3._0x7070dd,_0x1612e3._0x14c96f,0x2e8,_0x1612e3._0x4a76e),'hour12':!0x0});},cu=(_0x2ea4a9,_0x165b95=0x32)=>{const _0xd1223b={_0x196f40:0x3a5,_0x3f0d2d:0x731,_0x5bc188:0x109,_0x5b209f:0x765,_0x2ae8bb:0x72a,_0x57c2e2:0x618,_0x2e7503:0x67d,_0x1711f0:0x53b,_0x31a6b4:0x370,_0x32897a:0x207,_0x2b137d:0x680,_0x57496d:0x6c0,_0x3849b7:0xd7,_0x1dcd63:0xed,_0x581080:0x1fa,_0x438060:0x262,_0x3f0d51:0x27f,_0x11a4c4:0x9d,_0x417ba8:0x3a8,_0x25f70f:0x6e4,_0x12e8b2:0x8da,_0x44bc41:0x6f6,_0x5a3749:0x8b6,_0xe19cbb:0x341,_0x4e98de:0x580,_0x5af327:0x424,_0x5c09c4:0x4e3,_0x2694a5:0x892},_0x31f4b1={_0x1b8cd2:0x6a1},_0x20ff8b={_0x2511fe:0xd6,_0x341fe0:0x283};if(!_0x2ea4a9)return _0x3674e5(0x522,0x27c,_0xd1223b._0x196f40,0x3e8);let _0x3e8d04=_0x2ea4a9[_0x2fc59c(0x61f,_0xd1223b._0x3f0d2d,0x6ab,0x792)](/\s+/g,'\x20')[_0x3674e5(0x32,-0xdc,_0xd1223b._0x5bc188,0x27c)]();if(_0x3e8d04[_0x2fc59c(0x680,_0xd1223b._0x5b209f,0x601,_0xd1223b._0x2ae8bb)](_0x2fc59c(_0xd1223b._0x57c2e2,0x7c8,_0xd1223b._0x2e7503,_0xd1223b._0x1711f0)))return _0x3674e5(0x39c,_0xd1223b._0x31a6b4,0x198,_0xd1223b._0x32897a);if(_0x3e8d04[_0x2fc59c(_0xd1223b._0x2b137d,_0xd1223b._0x57496d,0x6b6,0x4bb)](_0x3674e5(0x28d,-_0xd1223b._0x3849b7,_0xd1223b._0x1dcd63,_0xd1223b._0x581080))||_0x3e8d04[_0x3674e5(0x13b,0x3cf,_0xd1223b._0x438060,0x38d)](_0x3674e5(_0xd1223b._0x3f0d51,0x194,0x2e9,0xff)))return'✗\x20Error\x20occurred';if(_0x3e8d04[_0x3674e5(_0xd1223b._0x11a4c4,_0xd1223b._0x417ba8,0x262,0x1d8)](_0x2fc59c(0x50f,0x58a,_0xd1223b._0x25f70f,0x387)))return _0x3674e5(0x371,0x96,0x280,0x2fd);function _0x3674e5(_0x548d0a,_0x2a4547,_0x1e4f3f,_0x9d24bd){return _0x3eba7a(_0x548d0a-0x82,_0x2a4547-_0x20ff8b._0x2511fe,_0x2a4547,_0x1e4f3f-_0x20ff8b._0x341fe0);}function _0x2fc59c(_0x14eb4e,_0x463065,_0x4340f6,_0x5703b6){return _0x3eba7a(_0x14eb4e-0x19d,_0x463065-0x1c3,_0x463065,_0x14eb4e-_0x31f4b1._0x1b8cd2);}if(_0x3e8d04[_0x2fc59c(_0xd1223b._0x12e8b2,0x9d4,_0xd1223b._0x44bc41,_0xd1223b._0x5a3749)]<=_0x165b95)return _0x3e8d04;let _0x36f7fb=_0x3e8d04[_0x3674e5(_0xd1223b._0xe19cbb,_0xd1223b._0x4e98de,_0xd1223b._0x5af327,0x3b2)]('\x20'),_0x153e9c='';for(let _0x1d0456 of _0x36f7fb){if((_0x153e9c+'\x20'+_0x1d0456)[_0x3674e5(_0xd1223b._0x5c09c4,0x57f,0x4bc,0x40a)]>_0x165b95-0x3)break;_0x153e9c+=(_0x153e9c?'\x20':'')+_0x1d0456;}return _0x153e9c+(_0x153e9c['length']<_0x165b95?_0x2fc59c(0x864,_0xd1223b._0x2694a5,0x98c,0x877):'');},uu=(_0x4789e0,_0x1bf57a)=>_0x4789e0?_0x4789e0[_0x199b7d(0x35b,0x486,0x3a9,0x362)](_0x199b7d(0x503,0x38e,0x234,0x1cd))||_0x4789e0['includes'](_0x199b7d(0x485,0x41e,0x286,0x42e))?{'icon':'✓','color':'green'}:_0x4789e0[_0x3eba7a(0x7b,-0x1c8,-0x70,-0x21)]('error')||_0x4789e0[_0x199b7d(0x4e7,0x486,0x29e,0x519)](_0x199b7d(0x4bb,0x50d,0x3c1,0x469))?{'icon':'✗','color':'red'}:_0x4789e0[_0x3eba7a(0x174,0x1cf,-0x77,-0x21)](_0x199b7d(0x41e,0x3b2,0x319,0x4bd))?{'icon':'⚠','color':'yellow'}:_0x1bf57a===0x1?{'icon':'○','color':_0x3eba7a(0x19e,0x183,0x2c7,0x1e0)}:{'icon':'●','color':_0x3eba7a(-0x12b,0x164,-0x5c,0x9b)}:{'icon':'○','color':_0x199b7d(0x5bf,0x687,0x5cd,0x623)},du=_0x4e3440=>_0x4e3440===0x1?{'text':_0x199b7d(0x375,0x3b7,0x1e2,0x4f5),'color':_0x199b7d(0x4e2,0x687,0x58d,0x6ee)}:_0x4e3440<0xa?{'text':_0x4e3440+'\x20msgs','color':_0x199b7d(0x505,0x417,0x35a,0x58f)}:_0x4e3440<0x32?{'text':_0x4e3440+_0x3eba7a(0x159,-0x23,-0x18,0x106),'color':'green'}:{'text':_0x4e3440+'\x20msgs','color':_0x3eba7a(-0x25c,-0x212,-0x3a2,-0x19e)},pu=({item:_0x295b5e,isSelected:_0xf1cadf,cols:_0x1f6883=0x3c})=>{const _0x22b049={_0x3fc928:0x61b,_0x4d2d8b:0x4b5,_0x2388df:0x78e,_0x110a4a:0x52f,_0x37a075:0x45b,_0x2b9f20:0x4b2,_0x15f6d9:0x651,_0x5f3db3:0x485,_0x23f6c9:0x248,_0x523179:0x2a8,_0x23e03d:0x18c,_0x577b79:0x420,_0x8e8955:0x2d6,_0x30dd72:0x4e2,_0x26d5fe:0x622,_0x2ed1ff:0x22a,_0x2fdd5d:0x5a9,_0x3477c1:0x8b7,_0x32c384:0x5fa,_0x234e0e:0x870,_0x4ce0de:0x6db,_0x512962:0x59e,_0x25d000:0x534,_0xc68935:0x4f4,_0xacba00:0x68f,_0x4be51:0x3c0,_0x3360ce:0x4a3,_0x228d30:0x414,_0xbb69b1:0x198,_0x4540de:0x518,_0x2fc351:0x3af},_0x4f26c8={_0x4f36b6:0x1c9},_0x5bc329={_0x18aa77:0x2,_0x531648:0x112};let {theme:_0x2c543d}=D(),_0x30cb6e=lu(_0x295b5e[_0x2e8d1f(_0x22b049._0x3fc928,_0x22b049._0x4d2d8b,_0x22b049._0x2388df,0x62c)]),_0x4b4149=_0x295b5e[_0x2e8d1f(0x338,0x322,_0x22b049._0x110a4a,_0x22b049._0x37a075)]||_0x295b5e['lastMessage'],_0x2d0d99=cu(_0x4b4149,_0x1f6883-0x5),_0x24f632=uu(_0x295b5e[_0x3bbee5(_0x22b049._0x2b9f20,_0x22b049._0x15f6d9,_0x22b049._0x5f3db3,0x48e)],_0x295b5e[_0x2e8d1f(0x3b2,0x200,_0x22b049._0x23f6c9,0x3e0)]),_0x46b514=du(_0x295b5e[_0x3bbee5(_0x22b049._0x523179,0x472,_0x22b049._0x23e03d,_0x22b049._0x577b79)]),_0x1dc2e8=_0xf1cadf?_0x2c543d[_0x2e8d1f(_0x22b049._0x8e8955,_0x22b049._0x30dd72,0x4ba,0x41e)]['selected']:_0x2c543d[_0x2e8d1f(_0x22b049._0x26d5fe,_0x22b049._0x2ed1ff,_0x22b049._0x2fdd5d,0x41e)][_0x2e8d1f(0x49f,0x3a9,0x33f,0x441)],_0x3f87f9=!_0xf1cadf;function _0x3bbee5(_0x2365f6,_0x342f07,_0x4a2cd6,_0x3e10a3){return _0x199b7d(_0x2365f6-_0x5bc329._0x18aa77,_0x2365f6- -0x70,_0x4a2cd6-_0x5bc329._0x531648,_0x3e10a3);}function _0x2e8d1f(_0x2baf2f,_0x9bca6a,_0x9fdee3,_0x206632){return _0x199b7d(_0x2baf2f-_0x4f26c8._0x4f36b6,_0x206632-0xc8,_0x9fdee3-0x3e,_0x9bca6a);}return _0x54f40b(_0x4e4243,{'flexDirection':_0x2e8d1f(_0x22b049._0x3477c1,_0x22b049._0x32c384,_0x22b049._0x234e0e,_0x22b049._0x4ce0de),'height':0x3,'paddingX':0x0,'paddingY':0x0,'children':[_0x428a19(_0x4e4243,{'justifyContent':_0x3bbee5(_0x22b049._0x512962,0x50f,_0x22b049._0x25d000,_0x22b049._0xc68935),'height':0x1,'children':_0x54f40b(_0x4e4243,{'children':[_0x428a19(_0x4a77c7,{'color':_0x24f632[_0x3bbee5(0x618,0x6ef,_0x22b049._0xacba00,0x567)],'bold':!0x0,'children':_0x24f632[_0x2e8d1f(0x775,0x469,0x54d,0x609)]}),_0x428a19(_0x4a77c7,{'children':'\x20'}),_0x54f40b(_0x4a77c7,{'color':_0x1dc2e8,'bold':_0xf1cadf,'dimColor':_0x3f87f9,'children':[_0x30cb6e,_0x3bbee5(0x3ac,0x38a,_0x22b049._0x4be51,0x26f)]}),_0x428a19(_0x4a77c7,{'color':_0x2c543d[_0x3bbee5(0x2e6,_0x22b049._0x3360ce,_0x22b049._0x228d30,_0x22b049._0xbb69b1)][_0x3bbee5(0x568,0x599,_0x22b049._0x4540de,_0x22b049._0x2fc351)],'dimColor':_0x3f87f9,'children':_0x46b514['text']})]})}),_0x428a19(_0x4e4243,{'height':0x1,'width':_0x1f6883-0x2,'children':_0x428a19(_0x4a77c7,{'color':_0x1dc2e8,'dimColor':_0x3f87f9,'children':_0x2d0d99})})]});},Zs=0x7,mu=({availableSessions:_0x181b33})=>{const _0x5779c8={_0x50e19e:0x492,_0xb6845:0x2ed,_0x572a14:0xcc,_0x1ed349:0x478,_0x1c96f4:0x337,_0x444f87:0x3f1,_0x39cd99:0x233,_0x4bba03:0x10f,_0x1c5493:0x15d,_0x55f9c6:0x17e,_0x195d80:0x435,_0x43106a:0x23d,_0x3a9096:0xdc,_0x427958:0x1d,_0x17b935:0x14d,_0x281171:0x145,_0x291968:0x566,_0x3fbf45:0x2db,_0x332e90:0x4ac,_0x4165cf:0x4cb,_0x4cc188:0x139,_0x5bb2c0:0x3a2,_0x4dcdd3:0x13b,_0x22a372:0x2c5,_0x31b65a:0x370,_0x1ef6d5:0x6de,_0x4d282a:0x686,_0x25e0be:0x607,_0x33f00a:0x507,_0xee31ce:0x2d0,_0x3a66b5:0x1d2,_0x1b2f95:0x1a1,_0x1fa2c5:0x239},_0xae1227={_0x1cb9fb:0x5ab,_0x241adb:0xe3,_0x1e48a0:0xd5,_0xbb45bb:0x143,_0x22d7c5:0x8c,_0x28603f:0x1e9,_0x438609:0x869,_0xcd8b3c:0x9d1,_0xae5d59:0x815,_0x434a64:0x402,_0x13fcd9:0x57e,_0x13c63b:0x6d9,_0x1ae653:0x74a},_0x2e6e64={_0x960797:0x604},_0x5d1877={_0x85b9fb:0xe},_0x55684e={_0x2803b7:0x245},_0x26adae={_0x51b45f:0x198},_0x285a73={_0x378dee:0x184,_0x572af2:0x10};function _0x4aac8e(_0x45abad,_0x3e76ad,_0x3dd792,_0x531661){return _0x199b7d(_0x45abad-_0x285a73._0x378dee,_0x3dd792- -0x123,_0x3dd792-_0x285a73._0x572af2,_0x531661);}function _0x1da600(_0x35d5d8,_0x43aa2c,_0xe22fa1,_0x31e256){return _0x199b7d(_0x35d5d8-0x16f,_0xe22fa1- -0x4a3,_0xe22fa1-_0x26adae._0x51b45f,_0x35d5d8);}let {theme:_0x355611}=D(),[_0x3de69d,_0x1f4f55]=O(),[_0x1179ef,_0x1f8105]=_0x293f16(0x0),_0x1ea5a5=_0x882810(null);return _0x148752((_0x58599d,_0x19ee85)=>{function _0x15c4dd(_0x2dedf4,_0x78f9dd,_0xdde9dc,_0x4012e9){return _0x58a4(_0x78f9dd- -_0x55684e._0x2803b7,_0xdde9dc);}_0x19ee85[_0x15c4dd(-0x112,-_0x5d1877._0x85b9fb,-0x18c,-0x1e3)];},{'isActive':!0x0}),_0x54f40b(_0x4e4243,{'marginLeft':0x2,'marginTop':0x1,'flexDirection':_0x4aac8e(0x572,_0x5779c8._0x50e19e,0x4f0,0x5f0),'children':[_0x54f40b(_0x4e4243,{'marginBottom':0x1,'justifyContent':_0x4aac8e(_0x5779c8._0xb6845,0x388,0x4eb,0x32f),'children':[_0x54f40b(_0x4e4243,{'children':[_0x54f40b(_0x4a77c7,{'color':_0x355611[_0x4aac8e(0x1e9,_0x5779c8._0x572a14,0x233,0x144)]['title'],'bold':!0x0,'children':[_0x4aac8e(0x546,0x3a5,_0x5779c8._0x1ed349,_0x5779c8._0x1c96f4),'\x20']}),_0x428a19(_0x4a77c7,{'color':_0x355611[_0x4aac8e(0x3e2,_0x5779c8._0x444f87,_0x5779c8._0x39cd99,0x159)]['help'],'dimColor':!0x0,'children':_0x1da600(-_0x5779c8._0x4bba03,-_0x5779c8._0x1c5493,0x2e,_0x5779c8._0x55f9c6)})]}),_0x181b33[_0x1da600(_0x5779c8._0x195d80,0x1f9,_0x5779c8._0x43106a,_0x5779c8._0x3a9096)]>Zs&&_0x54f40b(_0x4a77c7,{'color':_0x355611[_0x1da600(-0x34a,_0x5779c8._0x427958,-_0x5779c8._0x17b935,-_0x5779c8._0x281171)][_0x4aac8e(_0x5779c8._0x291968,_0x5779c8._0x3fbf45,_0x5779c8._0x332e90,_0x5779c8._0x4165cf)],'dimColor':!0x0,'children':[_0x428a19(_0x4a77c7,{'children':String(_0x1179ef+0x1)}),_0x4aac8e(_0x5779c8._0x4cc188,0x3fd,0x2f0,0x3d3),_0x428a19(_0x4a77c7,{'children':String(_0x181b33[_0x1da600(_0x5779c8._0x5bb2c0,_0x5779c8._0x4dcdd3,_0x5779c8._0x43106a,_0x5779c8._0x22a372)])})]})]}),_0x181b33[_0x4aac8e(0x73c,0x468,0x5bd,0x718)]===0x0?_0x54f40b(_0x4e4243,{'flexDirection':_0x4aac8e(_0x5779c8._0x31b65a,_0x5779c8._0x1ef6d5,0x4f0,_0x5779c8._0x4d282a),'paddingX':0x1,'children':[_0x428a19(_0x4a77c7,{'color':_0x355611['history']['help'],'dimColor':!0x0,'children':_0x4aac8e(0x406,_0x5779c8._0x25e0be,_0x5779c8._0x33f00a,0x40f)}),_0x428a19(_0x4a77c7,{'color':_0x355611['history'][_0x4aac8e(0x39c,0x2fd,_0x5779c8._0xee31ce,_0x5779c8._0x3a66b5)],'dimColor':!0x0,'children':'Start\x20chatting\x20to\x20create\x20your\x20first\x20session!'})]}):_0x428a19(Me,{'limit':Zs,'items':_0x181b33[_0x1da600(0x2f5,_0x5779c8._0x1b2f95,_0x5779c8._0x1fa2c5,0x2bc)]((_0x45899a,_0x26d536)=>({'key':_0x45899a[_0x1da600(-0x8,0x2b,-0xcb,-0x72)],'label':_0x45899a[_0x4aac8e(0xf8,0x40c,0x2b5,0x151)],'value':_0x45899a})),'itemComponent':_0x46c810=>{function _0x2c5299(_0x59c3e7,_0x12f22a,_0x4d821e,_0x53e202){return _0x1da600(_0x12f22a,_0x12f22a-0x129,_0x53e202-_0x2e6e64._0x960797,_0x53e202-0x84);}let _0x12fda4=_0x46c810[_0x2c5299(0x6e7,0x663,0x527,_0xae1227._0x1cb9fb)][_0x5e4b18(-_0xae1227._0x241adb,-0x118,-0x6e,-_0xae1227._0x1e48a0)];if(_0x46c810[_0x5e4b18(_0xae1227._0xbb45bb,-_0xae1227._0x22d7c5,-_0xae1227._0x28603f,-0x89)]&&_0x1ea5a5['current']!==_0x12fda4){let _0x8033f=_0x181b33['findIndex'](_0x2a54ab=>_0x2a54ab[_0x5e4b18(-0x275,-0x118,-0x12a,-0xd)]===_0x12fda4);_0x8033f!==-0x1&&(_0x1ea5a5[_0x2c5299(_0xae1227._0x438609,0x74c,_0xae1227._0xcd8b3c,_0xae1227._0xae5d59)]=_0x12fda4,setTimeout(()=>_0x1f8105(_0x8033f),0x0));}function _0x5e4b18(_0x45b20f,_0x48f6a0,_0x365016,_0x1ef417){return _0x4aac8e(_0x45b20f-0xc0,_0x48f6a0-0xd6,_0x48f6a0- -0x3cd,_0x1ef417);}return _0x428a19(pu,{'cols':_0x3de69d-0x2,'item':_0x46c810[_0x2c5299(_0xae1227._0x434a64,_0xae1227._0x13fcd9,0x4b2,0x5ab)],'isSelected':!!_0x46c810[_0x2c5299(_0xae1227._0x13c63b,_0xae1227._0x1ae653,0x661,0x5c5)]});},'onSelect':_0x55b234=>L[_0x1da600(-0xfc,0x1b,0x3c,0x189)]('ui:history:selected',_0x55b234[_0x1da600(-0x19f,-0x2f,-0x59,-0x204)])})]});};import{Box as _0x1d0a69,Text as _0x43143c,useInput as _0x1c5411}from'ink';import{useState as _0x220f30,useEffect as _0x1f49f8,useCallback as _0x3ce90e}from'react';import{useState as _0x3c0e54,useEffect as _0x29dda4,useRef as _0x2a8be8}from'react';import{Box as _0x9c3f36,Text as _0x456114,useInput as _0x1afe40}from'ink';import _0x167314 from'chalk';import{Fragment as _0x48150e,jsx as _0x80c179,jsxs as _0x55d18e}from'react/jsx-runtime';var Rr=({items:_0x2b286a,maxDisplayItems:_0x4f299f=0xa,placeholder:_0x17089d='Type\x20to\x20search...',enableRotation:_0x45d9b1=!0x1,onSelect:_0x1cdf74,onCancel:_0x4191d4})=>{const _0x14812e={_0x27f93e:0x6fa,_0x383351:0x371,_0x93a5cf:0x10e,_0x15913c:0x34,_0xe85140:0xe8,_0x3a5d76:0xb0,_0x247643:0xdd,_0xb62e52:0x4e,_0x5b5ade:0x3a,_0x1a9c59:0x2a5,_0x1482f5:0x4e4,_0x2a3e90:0x24e,_0x42951a:0x435,_0x3f781f:0x2b6,_0x2c86f1:0x6d,_0x5df222:0x1b7,_0x3a5839:0xa5,_0x2485d2:0x2a2,_0x4182fe:0x296,_0x832db5:0x43c,_0x1a6b79:0x23c,_0xbb7a00:0x231,_0x2477c8:0x450,_0x244dc0:0x42c,_0x3578be:0x41c,_0x16a5c7:0x3da,_0x55edc1:0x36a},_0x5ed8cc={_0x2d7ab7:0x19c,_0x33f514:0x1e,_0x179c50:0x68},_0x402372={_0xa44df3:0x69},_0xa81132={_0xefe15a:0x163,_0x5cf7de:0x1e8,_0x17f33e:0x131,_0x2feb28:0x268,_0x2ba292:0x394,_0x423a63:0x3c,_0x7bfcbc:0x37b,_0x404de8:0x20a,_0x5c5ae1:0x450,_0x4b8cd8:0x53e,_0x5ba324:0x299,_0x3dc2dc:0x44c,_0x46253e:0x29e,_0x5d2652:0x1ae,_0x290c67:0x551,_0xc85cfa:0x5a8,_0x5802b8:0x151,_0x4d3d65:0x1ce,_0x32436c:0x497,_0x42cfac:0x30f,_0x1e6434:0x27f,_0x377c15:0x1ac,_0x9de72b:0x1c4,_0x593715:0x1e0},_0x17e5f5={_0x2ad09f:0x293,_0x463e56:0x205,_0x3eff50:0x315,_0x48825a:0x351,_0x3529ef:0x523,_0x321808:0x4ec},_0x5ea73c={_0x57f9e7:0x1e5,_0x1f8eb8:0x2de};let {theme:_0x520bdb}=D(),[_0xd27b34,_0x3eefaa]=_0x3c0e54(''),[_0x1d9f8b,_0x2717cd]=_0x3c0e54([]),_0x560ca9=_0x2a8be8(et()),_0x216ca6=_0x2a8be8(null);_0x29dda4(()=>{const _0xaebe90={_0x5aedf0:0x328};let _0x12c82f=_0xd27b34[_0xe63e8b(-0x34d,-_0x5ea73c._0x57f9e7,-0x31b,-_0x5ea73c._0x1f8eb8)]()?_0x2b286a['filter'](_0x295e59=>_0x295e59['label']['toLowerCase']()['includes'](_0xd27b34['toLowerCase']())):_0x2b286a;function _0xe63e8b(_0x26d67f,_0x1d9387,_0x198cbc,_0x2efac4){return _0x58a4(_0x1d9387- -_0xaebe90._0x5aedf0,_0x198cbc);}_0x2717cd(_0x12c82f);},[_0xd27b34,_0x2b286a]),_0x29dda4(()=>{function _0x416bbb(_0x2a7c1d,_0x51d55e,_0x1bfb73,_0xc62d25){return _0x58a4(_0x2a7c1d-0x1d6,_0x1bfb73);}function _0x21176(_0x21bd88,_0x5d2d7d,_0x33f84e,_0xa6d7bd){return _0x58a4(_0x5d2d7d- -0x2c5,_0x21bd88);}_0x216ca6['current']&&_0x216ca6[_0x21176(_0x17e5f5._0x2ad09f,_0x17e5f5._0x463e56,0x12f,_0x17e5f5._0x3eff50)][_0x416bbb(_0x17e5f5._0x48825a,_0x17e5f5._0x3529ef,0x52c,_0x17e5f5._0x321808)](0x0);},[_0xd27b34]),_0x1afe40((_0x23ca87,_0x4a9604)=>{let _0x3bd784=Qe(_0x23ca87,_0x560ca9['current']);function _0x58811f(_0x54e180,_0x38b848,_0xfcfa53,_0x102a0a){return _0x58a4(_0x54e180-0x25,_0xfcfa53);}function _0x1c8072(_0x2e6bd8,_0x451a76,_0x33b3f6,_0x4548f6){return _0x58a4(_0x33b3f6- -0x7e,_0x451a76);}if(_0x560ca9[_0x1c8072(0x5ce,0x41d,0x44c,0x2f0)]=_0x3bd784['newState'],!_0x3bd784['shouldWaitForMore']){if(_0x3bd784[_0x58811f(0x1e8,0x83,_0xa81132._0xefe15a,0x30)]!==null&&(_0x23ca87=_0x3bd784[_0x58811f(_0xa81132._0x5cf7de,_0xa81132._0x17f33e,_0xa81132._0x2feb28,_0xa81132._0x2ba292)]),_0x4a9604[_0x1c8072(_0xa81132._0x423a63,_0xa81132._0x7bfcbc,_0xa81132._0x404de8,0x35a)]){if(_0x1d9f8b['length']>0x0&&_0x216ca6[_0x58811f(0x4ef,_0xa81132._0x5c5ae1,0x450,_0xa81132._0x4b8cd8)]){let _0x19d9e3=_0x216ca6[_0x1c8072(_0xa81132._0x5ba324,0x5c4,_0xa81132._0x3dc2dc,0x30e)][_0x58811f(0x29e,_0xa81132._0x46253e,_0xa81132._0x5d2652,0x3e4)]();_0x1cdf74(_0x1d9f8b[_0x19d9e3]);}return;}if(_0x4a9604['escape']){_0x4191d4?.();return;}if(!(_0x4a9604[_0x58811f(0x501,0x350,_0xa81132._0x290c67,0x5a5)]||_0x4a9604[_0x58811f(0x448,0x26f,0x36f,_0xa81132._0xc85cfa)])){if(_0x4a9604[_0x58811f(_0xa81132._0x5802b8,0xfd,0x74,0x34)]||_0x4a9604[_0x1c8072(_0xa81132._0x4d3d65,_0xa81132._0x32436c,_0xa81132._0x42cfac,0x2fa)]){_0x3eefaa(_0x12dc09=>_0x12dc09[_0x58811f(0x18f,-0x65,0x157,0x1c1)](0x0,-0x1));return;}_0x23ca87&&!_0x4a9604[_0x1c8072(0x324,_0xa81132._0x1e6434,_0xa81132._0x377c15,_0xa81132._0x9de72b)]&&!_0x4a9604[_0x1c8072(0x3c7,0xbf,_0xa81132._0x593715,0xb4)]&&_0x3eefaa(_0x34343d=>_0x34343d+_0x23ca87);}}});function _0x166388(_0x3bf0da,_0x469a85,_0x458f0a,_0x248f34){return _0x3eba7a(_0x3bf0da-0x16d,_0x469a85-_0x402372._0xa44df3,_0x3bf0da,_0x248f34-0x1a1);}function _0x1a499d(_0x4ba044,_0x5c2878,_0x2e2d9d,_0x3017e){return _0x199b7d(_0x4ba044-_0x5ed8cc._0x2d7ab7,_0x3017e-_0x5ed8cc._0x33f514,_0x2e2d9d-_0x5ed8cc._0x179c50,_0x5c2878);}let _0x2f265f=_0x1d9f8b[_0x1a499d(0x6a4,0x633,0x7e8,_0x14812e._0x27f93e)](_0x22cbf2=>({'key':_0x22cbf2[_0x1a499d(0x5fc,0x2bd,0x5ac,0x468)],'label':_0x22cbf2[_0x166388(0xb5,0x19e,0x180,0xf9)],'value':_0x22cbf2})),_0x2b1788=_0xd27b34?_0x55d18e(_0x48150e,{'children':[_0x80c179(_0x456114,{'children':_0xd27b34}),_0x80c179(_0x456114,{'color':_0x520bdb[_0x166388(_0x14812e._0x383351,_0x14812e._0x93a5cf,0x2f5,0x1b1)]?.['input']||_0x166388(0x4f2,0x4cb,0x47b,0x3dd),'children':'█'})]}):_0x80c179(_0x456114,{'children':_0x17089d['length']>0x0?_0x167314[_0x166388(0x8e,_0x14812e._0x15913c,-0x110,_0x14812e._0xe85140)](_0x17089d[0x0])+_0x167314['grey'](_0x17089d[_0x166388(-_0x14812e._0x3a5d76,-0x63,_0x14812e._0x247643,_0x14812e._0xb62e52)](0x1)):_0x167314[_0x1a499d(0x275,0x4f4,0x552,0x40c)]('\x20')});return _0x55d18e(_0x9c3f36,{'flexDirection':'column','children':[_0x55d18e(_0x9c3f36,{'marginBottom':0x1,'children':[_0x80c179(_0x456114,{'color':_0x520bdb[_0x166388(0x2aa,_0x14812e._0x5b5ade,0x33e,0x1b1)]?.['label']||_0x1a499d(_0x14812e._0x1a9c59,_0x14812e._0x1482f5,_0x14812e._0x2a3e90,_0x14812e._0x42951a),'children':_0x166388(0x215,0xfd,0x2a4,_0x14812e._0x3f781f)}),_0x2b1788]}),_0x1d9f8b['length']===0x0?_0x80c179(_0x9c3f36,{'children':_0x80c179(_0x456114,{'color':_0x166388(_0x14812e._0x2c86f1,-_0x14812e._0x5df222,-0x131,0x1d),'children':_0x166388(_0x14812e._0x3a5839,0x2e6,_0x14812e._0x2485d2,_0x14812e._0x4182fe)})}):_0x55d18e(_0x9c3f36,{'flexDirection':_0x166388(_0x14812e._0x832db5,_0x14812e._0x1a6b79,0x44e,0x30d),'children':[_0x80c179(_0x9c3f36,{'marginBottom':0x1,'children':_0x55d18e(_0x456114,{'dimColor':!0x0,'children':[_0x166388(_0x14812e._0xbb7a00,_0x14812e._0x2477c8,_0x14812e._0x244dc0,0x363),_0x1d9f8b[_0x166388(0x2c9,_0x14812e._0x3578be,0x306,_0x14812e._0x16a5c7)],_0x1a499d(_0x14812e._0x55edc1,0x2c4,0x476,0x393)]})}),_0x80c179(uo,{'ref':_0x216ca6,'items':_0x2f265f,'limit':_0x4f299f,'enableRotation':_0x45d9b1,'focus':!0x0,'showScrollIndicators':!0x0,'onSelect':_0x4cbc07=>_0x1cdf74(_0x4cbc07['value']),'itemComponent':({isSelected:_0x489985,label:_0x12fbca})=>_0x80c179(_0x456114,{'color':_0x489985?_0x520bdb[_0x1a499d(0x360,0x308,0x410,0x4d5)]?.[_0x166388(0x5f,0x47,0x212,0x95)]||_0x1a499d(0x4b8,0x566,0x555,0x548):_0x520bdb[_0x1a499d(0x669,0x38f,0x6a2,0x4d5)]?.['item']||_0x166388(0x52f,0x4d7,0x56c,0x3dd),'bold':_0x489985,'children':_0x12fbca}),'indicatorComponent':({isSelected:_0x54c090})=>_0x80c179(_0x456114,{'children':_0x54c090?'❯\x20':'\x20\x20'})})]})]});};import _0x3d053f from'ink-gradient';import{getAvailableProviders as _0x51e55b}from'@nuvin/nuvin-core';var yu=[_0x3eba7a(0x104,0x30,0x371,0x20c),_0x3eba7a(0xf,-0x2ae,-0xe9,-0x14b)];function xu(_0x337f36){return[..._0x337f36||_0x51e55b(),...yu];}var oi=xu(),ri={'openrouter':_0x199b7d(0x6a5,0x693,0x64d,0x6df),'deepinfra':_0x199b7d(0x552,0x42c,0x443,0x4d8),'zai':_0x199b7d(0x341,0x4d0,0x59a,0x341),'moonshot':_0x199b7d(0x596,0x656,0x4cb,0x700),'lmstudio':_0x199b7d(0x6fd,0x558,0x6a2,0x5e2),'github':_0x199b7d(0x60a,0x484,0x5ef,0x504),'anthropic':_0x3eba7a(-0x1c2,-0xb,-0xc3,-0x187)},Cu={'openrouter':'Wide\x20selection\x20of\x20models','deepinfra':_0x3eba7a(-0x23,-0x22a,-0x18e,-0x8e),'zai':_0x199b7d(0x522,0x331,0x48b,0x20e),'moonshot':_0x3eba7a(-0x4f,0x14a,-0x15d,-0x6d),'lmstudio':_0x3eba7a(0x11,-0x151,-0x114,0x3c),'github':_0x199b7d(0x5d6,0x42f,0x5ea,0x425),'anthropic':_0x3eba7a(-0x2be,-0x2a,-0xe5,-0x1a8)};function ni(_0x1f142e){const _0x51891e={_0x7f437:0x148,_0x3756fb:0x3d8,_0x58457a:0xc5,_0x25d1ce:0xe5},_0x1f214c={_0x1f9831:0x164,_0x1726e6:0x11a,_0x35ca6e:0xac},_0x847234={_0x26e124:0x58,_0x3f5e36:0xf8};function _0xc8e21(_0x408a61,_0x4ee864,_0x1bdf65,_0x230fc9){return _0x3eba7a(_0x408a61-_0x847234._0x26e124,_0x4ee864-_0x847234._0x3f5e36,_0x408a61,_0x1bdf65-0x35e);}function _0x5dace5(_0x33e27c,_0x35ff61,_0x43da61,_0x33af5c){return _0x3eba7a(_0x33e27c-_0x1f214c._0x1f9831,_0x35ff61-_0x1f214c._0x1726e6,_0x43da61,_0x35ff61- -_0x1f214c._0x35ca6e);}return ri[_0x1f142e]||_0x1f142e[_0xc8e21(0x406,_0x51891e._0x7f437,0x206,_0x51891e._0x3756fb)](0x0)['toUpperCase']()+_0x1f142e[_0x5dace5(-_0x51891e._0x58457a,-0x1ff,-0x141,-_0x51891e._0x25d1ce)](0x1);}function vu(_0x3c0e96){const _0x4f98c4={_0x4d9495:0x602,_0x55b5a5:0x5e2},_0xc16a86={_0x4196dd:0x4a1};function _0x54c6f8(_0x40ff0b,_0x5bba9c,_0x3d4dbe,_0xf0eb13){return _0x3eba7a(_0x40ff0b-0x72,_0x5bba9c-0x4b,_0x40ff0b,_0x5bba9c-_0xc16a86._0x4196dd);}return Cu[_0x3c0e96]||_0x54c6f8(0x54a,_0x4f98c4._0x4d9495,0x4f9,_0x4f98c4._0x55b5a5);}function bu(_0x5f1383){const _0x3b9c76={_0x38f822:0x487},_0x45906a={_0x11eaeb:0x10b,_0x579f0e:0x168};function _0x480e1f(_0x377d4c,_0x5a8b2f,_0x3b294c,_0x11b040){return _0x3eba7a(_0x377d4c-_0x45906a._0x11eaeb,_0x5a8b2f-_0x45906a._0x579f0e,_0x377d4c,_0x3b294c-0x252);}return(_0x5f1383||oi)[_0x480e1f(0x652,0x5a3,_0x3b9c76._0x38f822,0x32c)](_0x2943d1=>({'label':ni(_0x2943d1),'value':_0x2943d1}));}function Tu(_0x161062){const _0x574913={_0x5d840a:0x1f0,_0x37e7ca:0xb4,_0xb28eb3:0x1cd},_0x1a643a={_0x440f97:0xf0,_0x2d94d0:0x183};function _0x53609a(_0x1b7698,_0x25ff28,_0x1cabf3,_0x39f38e){return _0x199b7d(_0x1b7698-0xcf,_0x39f38e- -0x50f,_0x1cabf3-0xfb,_0x25ff28);}function _0x551d32(_0x186428,_0x37f8d9,_0x45b7f1,_0x1a1a03){return _0x199b7d(_0x186428-_0x1a643a._0x440f97,_0x37f8d9- -_0x1a643a._0x2d94d0,_0x45b7f1-0xe9,_0x45b7f1);}return(_0x161062||oi)[_0x53609a(_0x574913._0x5d840a,_0x574913._0x37e7ca,0x10f,_0x574913._0xb28eb3)](_0x3c69c1=>({'label':ni(_0x3c69c1)+_0x53609a(-0xbe,-0xb2,-0x86,-0xf3)+vu(_0x3c69c1),'value':_0x3c69c1}));}var wu=ri,Su=bu(),go=Tu(),Av=0x7d0,Mu={'github':[{'label':_0x3eba7a(-0x16f,-0xe9,0xac,0x51),'value':_0x3eba7a(0x1a4,0x18c,0xd3,0xd5)},{'label':_0x199b7d(0x546,0x48b,0x565,0x406),'value':_0x3eba7a(0xcf,0x1bc,0xf7,0xb2)}],'openrouter':[{'label':_0x3eba7a(-0x29f,0xe7,0xff,-0x106),'value':_0x3eba7a(-0x141,-0x56,0x1ea,0xb2)}],'deepinfra':[{'label':_0x3eba7a(-0x8b,0x20,-0x1d8,-0x106),'value':_0x199b7d(0x4f0,0x559,0x73b,0x688)}],'zai':[{'label':'API\x20Key','value':_0x3eba7a(-0x67,-0x14d,0x149,0xb2)}],'moonshot':[{'label':_0x199b7d(0x3af,0x3a1,0x24f,0x52c),'value':_0x199b7d(0x6c7,0x559,0x5b4,0x40a)}],'lmstudio':[{'label':'No\x20auth\x20needed','value':_0x199b7d(0x7d3,0x610,0x760,0x74f)}],'anthropic':[{'label':_0x199b7d(0x6f2,0x6c1,0x7b9,0x7a2),'value':'oauth-max'},{'label':'Create\x20API\x20Key','value':'oauth-console'},{'label':_0x3eba7a(0x12d,0x242,0x176,0xda),'value':_0x199b7d(0x6e7,0x559,0x36f,0x443)}],'echo':[{'label':_0x3eba7a(0x12f,0x336,0x170,0x24e),'value':_0x3eba7a(-0x2a,0x7,0x19e,0x169)}]},si={'openrouter':[_0x199b7d(0x419,0x48e,0x460,0x372),_0x199b7d(0x252,0x406,0x584,0x570)],'deepinfra':[_0x199b7d(0x51f,0x69a,0x566,0x710),'meta-llama/Meta-Llama-3.1-8B-Instruct'],'github':[_0x199b7d(0x375,0x49a,0x499,0x2cf),_0x199b7d(0x691,0x5f6,0x6bb,0x5b1),'gpt-5','gpt-5-mini',_0x199b7d(0x582,0x66c,0x766,0x543),'claude-sonnet-4'],'zai':['glm-4.6',_0x3eba7a(0x100,-0x23,0x167,0x96)],'moonshot':[_0x199b7d(0x30e,0x326,0x357,0x1fe),'kimi-k2-thinking'],'lmstudio':[],'anthropic':[_0x199b7d(0x640,0x43e,0x28e,0x62a),_0x3eba7a(-0x49,0x61,0x3,0x1b4),_0x199b7d(0x450,0x5b9,0x64b,0x70c)],'echo':[_0x3eba7a(-0x93,-0x21,0x11b,0x150)]};function Er(_0x569b76){const _0x5f1d22={_0x8deee0:0x219,_0x5f0727:0x2c1,_0x2346fa:0x185,_0x33b62d:0x191,_0xb985f5:0xc4},_0xa315b6={_0x5353a0:0x15a},_0x47d15d={_0x52609f:0x175,_0xf6f9df:0x41};function _0x1a985a(_0x44176c,_0x420490,_0x247fce,_0x4c79a5){return _0x3eba7a(_0x44176c-_0x47d15d._0x52609f,_0x420490-_0x47d15d._0xf6f9df,_0x4c79a5,_0x247fce-0x38);}function _0xaaeed5(_0x389bf8,_0x37392f,_0x3b22ea,_0x32d1df){return _0x199b7d(_0x389bf8-0x55,_0x37392f- -0x5ba,_0x3b22ea-_0xa315b6._0x5353a0,_0x389bf8);}return Mu[_0x569b76]||[{'label':_0xaaeed5(-0x1b5,-_0x5f1d22._0x8deee0,-_0x5f1d22._0x5f0727,-0x39d),'value':_0xaaeed5(_0x5f1d22._0x2346fa,-0x61,_0x5f1d22._0x33b62d,_0x5f1d22._0xb985f5)}];}function _0x3eba7a(_0x410cc3,_0x214ec2,_0x548685,_0x24621e){const _0x573f2b={_0xd4b94:0x2bd};return _0x58a4(_0x24621e- -_0x573f2b._0xd4b94,_0x548685);}function ii(_0x43bab8){return si[_0x43bab8]||[];}var kv=si;import{Box as _0xf9d4ce,Text as _0x39f3f7}from'ink';import{Fragment as _0x5048f6,jsx as _0x70cab,jsxs as _0x56a40b}from'react/jsx-runtime';function Lr({state:_0x34c43d,showCode:_0x54289e=!0x0,theme:_0x115dc4={}}){const _0x2ebb3d={_0x6b5679:0x7af,_0x3d39d5:0x6c0,_0x1b8ebb:0x698,_0x32c00c:0xfc,_0x50794a:0x36b,_0x16b6bc:0x22b,_0x5d9ec5:0x4c4,_0x55b3df:0x35d,_0x4661be:0x813,_0x48490d:0x147,_0x5c3714:0x8,_0x838c8:0x41,_0xd0e42a:0x597,_0x60f7cd:0x5d0,_0x259b29:0x5dc,_0x7f5737:0x19c,_0x3b3e2c:0x223,_0x4e6586:0x217,_0x2f342d:0x6f0,_0x4c028a:0x770,_0x41566c:0x765,_0x5e4149:0x65f,_0x591246:0x1f8,_0x8430c5:0x11d,_0x2a9951:0x3d0,_0x24cca7:0x27d,_0x3ae816:0xe6,_0x3fa3d6:0x8d,_0x41e098:0x3f,_0x28133a:0x25,_0x3d7e58:0x2f,_0x4fc7e8:0x389,_0x111e5c:0x5ab,_0x3eb1d6:0x3be,_0x330f95:0x95},_0x383493={_0x4e3563:0xa4,_0x393a03:0x59e,_0x4a18df:0xe4},_0x3c39be={_0x7ee52d:0x1d8,_0x508162:0xad,_0x3259b7:0xb};function _0x50a9fb(_0x492569,_0x48448b,_0x5c50f5,_0x5d2b90){return _0x199b7d(_0x492569-_0x3c39be._0x7ee52d,_0x5c50f5-_0x3c39be._0x508162,_0x5c50f5-_0x3c39be._0x3259b7,_0x48448b);}function _0x230c17(_0x7a237e,_0xe092e4,_0xeb8dca,_0x4dfdcf){return _0x199b7d(_0x7a237e-_0x383493._0x4e3563,_0x7a237e- -_0x383493._0x393a03,_0xeb8dca-_0x383493._0x4a18df,_0x4dfdcf);}return _0x56a40b(_0xf9d4ce,{'flexDirection':_0x50a9fb(_0x2ebb3d._0x6b5679,0x8bc,_0x2ebb3d._0x3d39d5,0x4c3),'children':[_0x34c43d[_0x50a9fb(0x672,0x650,0x68a,_0x2ebb3d._0x1b8ebb)]===_0x230c17(-_0x2ebb3d._0x32c00c,-0x8e,-0x158,0xff)&&_0x70cab(_0x39f3f7,{'color':_0x115dc4[_0x230c17(-0x29c,-0x2bb,-_0x2ebb3d._0x50794a,-_0x2ebb3d._0x16b6bc)]||_0x50a9fb(0x5f8,0x3dd,_0x2ebb3d._0x5d9ec5,_0x2ebb3d._0x55b3df),'children':'Starting\x20device\x20flow...'}),(_0x34c43d[_0x50a9fb(_0x2ebb3d._0x4661be,0x4a4,0x68a,0x564)]===_0x230c17(0x7f,-_0x2ebb3d._0x48490d,-0xa6,0xe)||_0x34c43d[_0x230c17(0x3f,0x1ea,-_0x2ebb3d._0x5c3714,-0x82)]===_0x230c17(0x106,_0x2ebb3d._0x838c8,-0x22,-0xd1))&&_0x56a40b(_0xf9d4ce,{'flexDirection':_0x50a9fb(0x7c7,_0x2ebb3d._0xd0e42a,_0x2ebb3d._0x3d39d5,_0x2ebb3d._0x60f7cd),'children':[_0x70cab(_0x39f3f7,{'color':_0x115dc4['waiting']||'cyan','children':_0x34c43d[_0x50a9fb(0x85d,0x59c,0x68a,_0x2ebb3d._0x259b29)]==='pending'?_0x230c17(0x6d,0xba,_0x2ebb3d._0x7f5737,0xb0):'Waiting\x20for\x20authorization...'}),_0x54289e&&_0x56a40b(_0x5048f6,{'children':[_0x70cab(_0xf9d4ce,{'marginTop':0x1,'children':_0x56a40b(_0x39f3f7,{'dimColor':!0x0,'children':[_0x230c17(-_0x2ebb3d._0x3b3e2c,-_0x2ebb3d._0x4e6586,-0x216,-0x14b),_0x70cab(_0x39f3f7,{'color':_0x115dc4[_0x50a9fb(0x92b,_0x2ebb3d._0x2f342d,_0x2ebb3d._0x4c028a,0x754)]||_0x50a9fb(_0x2ebb3d._0x41566c,_0x2ebb3d._0x5e4149,0x5ef,0x610),'children':_0x34c43d[_0x230c17(-0x1e0,-0x8,-_0x2ebb3d._0x591246,-_0x2ebb3d._0x8430c5)]})]})}),_0x70cab(_0xf9d4ce,{'children':_0x56a40b(_0x39f3f7,{'dimColor':!0x0,'children':['Enter\x20code:','\x20',_0x70cab(_0x39f3f7,{'bold':!0x0,'color':_0x115dc4['code']||_0x50a9fb(0x278,0x5c7,_0x2ebb3d._0x2a9951,0x380),'children':_0x34c43d[_0x230c17(-0xc3,-0x222,-_0x2ebb3d._0x24cca7,0xaf)]})]})})]}),!_0x54289e&&_0x70cab(_0x39f3f7,{'dimColor':!0x0,'children':_0x230c17(_0x2ebb3d._0x3ae816,0x224,-_0x2ebb3d._0x3fa3d6,0x23d)})]}),_0x34c43d[_0x230c17(_0x2ebb3d._0x41e098,-_0x2ebb3d._0x28133a,0x153,-_0x2ebb3d._0x3d7e58)]===_0x50a9fb(_0x2ebb3d._0x4fc7e8,_0x2ebb3d._0x111e5c,_0x2ebb3d._0x3eb1d6,0x2a0)&&_0x56a40b(_0x39f3f7,{'color':_0x115dc4[_0x230c17(-0x28d,-0x251,-0x2a9,-0x2d3)]||'red','children':[_0x230c17(-0xe0,_0x2ebb3d._0x330f95,-0xb8,-0x1ae),_0x34c43d['error']]})]});}import{Box as _0x1a3c44,Text as _0x1f9328}from'ink';import{jsx as _0x41ab77,jsxs as _0x5abf90}from'react/jsx-runtime';function Br({state:_0x3006ca,code:_0x51e046,onCodeChange:_0x47b827,onSubmit:_0x56c28c,theme:_0x5f3520={}}){const _0x2060f9={_0x6f7c82:0x711,_0x1ed818:0x6a1,_0x3ad313:0x674,_0x2ae292:0x5de,_0x124506:0x32b,_0xb46091:0x751,_0x9189dc:0x816,_0x22cc05:0x778,_0x8dc32d:0x743,_0x19ad14:0x6ef,_0x4ff524:0x783,_0x18d247:0x466,_0x5dd24d:0x5f5,_0x2993be:0x7f4,_0x3d52a9:0x803,_0x2c3145:0x820,_0x2ce08d:0x761,_0x3cb721:0x4e3,_0x205b29:0x5ad,_0x26416f:0x6bd,_0x3d3f9b:0x711,_0x4183c4:0x5a9,_0x3e7860:0x355,_0x1df4ab:0x257,_0x2c4357:0x1c8,_0xddf466:0x5f2,_0x52bfb4:0x519,_0x36a45a:0x428,_0xd830d0:0x445,_0x547fd6:0x3d9},_0xe89e23={_0x21fc90:0x134,_0x2b892c:0x63},_0x5a1336={_0x22d972:0x8e,_0x15e06a:0x1ad};function _0x250e6b(_0x22c21f,_0x296caa,_0x50a5a7,_0x284a48){return _0x199b7d(_0x22c21f-_0x5a1336._0x22d972,_0x284a48- -0x32a,_0x50a5a7-_0x5a1336._0x15e06a,_0x22c21f);}function _0x5bf446(_0x35ecc3,_0x5b0988,_0x36bc32,_0xa641d1){return _0x199b7d(_0x35ecc3-0x1c9,_0x35ecc3-_0xe89e23._0x21fc90,_0x36bc32-_0xe89e23._0x2b892c,_0x5b0988);}return _0x5abf90(_0x1a3c44,{'flexDirection':'column','children':[_0x3006ca[_0x5bf446(_0x2060f9._0x6f7c82,0x8b9,0x5fe,_0x2060f9._0x1ed818)]===_0x5bf446(_0x2060f9._0x3ad313,0x704,0x4ae,0x68e)&&_0x41ab77(_0x1f9328,{'color':_0x5f3520[_0x5bf446(0x436,0x445,0x310,0x544)]||'cyan','children':_0x5bf446(0x437,0x38b,_0x2060f9._0x2ae292,_0x2060f9._0x124506)}),_0x3006ca['status']===_0x5bf446(_0x2060f9._0xb46091,_0x2060f9._0x9189dc,0x783,_0x2060f9._0x22cc05)&&_0x5abf90(_0x1a3c44,{'flexDirection':_0x5bf446(0x747,_0x2060f9._0x8dc32d,_0x2060f9._0x19ad14,_0x2060f9._0x4ff524),'children':[_0x41ab77(_0x1f9328,{'children':_0x5bf446(0x540,_0x2060f9._0x18d247,_0x2060f9._0x5dd24d,0x537)}),_0x41ab77(_0x1f9328,{'color':_0x5f3520[_0x5bf446(_0x2060f9._0x2993be,_0x2060f9._0x3d52a9,_0x2060f9._0x2c3145,_0x2060f9._0x2ce08d)]||'gray','dimColor':!0x0,'children':_0x3006ca['instructions']}),_0x41ab77(_0x1a3c44,{'marginTop':0x1,'marginBottom':0x1,'children':_0x41ab77(Ke,{'value':_0x51e046,'placeholder':_0x5bf446(_0x2060f9._0x3cb721,_0x2060f9._0x205b29,0x6cf,_0x2060f9._0x26416f),'onChange':_0x47b827,'onSubmit':_0x56c28c,'focus':!0x0,'showCursor':!0x0})})]}),_0x3006ca[_0x5bf446(_0x2060f9._0x3d3f9b,0x8a4,0x697,0x542)]===_0x5bf446(0x445,0x55f,_0x2060f9._0x4183c4,_0x2060f9._0x3e7860)&&_0x5abf90(_0x1f9328,{'color':_0x5f3520['error']||_0x250e6b(_0x2060f9._0x1df4ab,_0x2060f9._0x2c4357,0x149,0x62),'children':[_0x5bf446(_0x2060f9._0xddf466,0x486,_0x2060f9._0x52bfb4,_0x2060f9._0x36a45a),_0x3006ca[_0x5bf446(_0x2060f9._0xd830d0,_0x2060f9._0x547fd6,0x57b,0x422)]]})]});}import{Box as _0x60ee7a,Text as _0x25695a}from'ink';import{jsx as _0x195668,jsxs as _0x28cb6a}from'react/jsx-runtime';function Nr({value:_0x490e61,onChange:_0xfb4c9b,onSubmit:_0x4b8198,placeholder:_0x249026=_0x199b7d(0x844,0x698,0x4ae,0x842),helpText:_0x49e177,mask:_0xbdbf86,theme:_0x5cb235={}}){const _0x20be86={_0x3884f7:0xd1,_0x32073d:0x188,_0x111925:0x477,_0x3df170:0x386,_0x4afbdc:0x457},_0x53d6c8={_0x32ba26:0x542},_0x5577c0={_0x4b8b88:0x5d,_0x376656:0x210,_0x1714a1:0x10e};function _0x57100c(_0x583ba2,_0x151aa9,_0x126978,_0x5e392e){return _0x199b7d(_0x583ba2-_0x5577c0._0x4b8b88,_0x151aa9- -_0x5577c0._0x376656,_0x126978-_0x5577c0._0x1714a1,_0x583ba2);}function _0x5db3e2(_0xfca129,_0x431b34,_0x156f1d,_0x26dbdd){return _0x199b7d(_0xfca129-0xce,_0x156f1d- -_0x53d6c8._0x32ba26,_0x156f1d-0x1bf,_0xfca129);}return _0x28cb6a(_0x60ee7a,{'flexDirection':_0x5db3e2(0x285,0x1e2,_0x20be86._0x3884f7,0x1ab),'children':[_0x195668(_0x60ee7a,{'marginBottom':0x1,'children':_0x195668(Ke,{'value':_0x490e61,'placeholder':_0x249026,'onChange':_0xfb4c9b,'onSubmit':_0x4b8198,'focus':!0x0,'showCursor':!0x0,'mask':_0xbdbf86})}),_0x49e177&&_0x195668(_0x60ee7a,{'children':_0x195668(_0x25695a,{'color':_0x5cb235[_0x5db3e2(0x25a,0x2b6,0x17e,_0x20be86._0x32073d)]||_0x57100c(0x494,_0x20be86._0x111925,_0x20be86._0x3df170,_0x20be86._0x4afbdc),'dimColor':!0x0,'children':_0x49e177})})]});}import{jsx as _0x5c97b4,jsxs as _0x1fde6a}from'react/jsx-runtime';var Eu=_0x199b7d(0x6cc,0x600,0x6ef,0x6cd),Lu={'device-flow':_0x3eba7a(-0x67,-0xa3,-0x324,-0x17e),'token':_0x3eba7a(0x2b9,0x22d,0x3e6,0x1f9),'oauth-max':_0x199b7d(0x7be,0x6c1,0x53f,0x663),'oauth-console':_0x3eba7a(-0x265,-0x6,-0x314,-0x111),'none':_0x3eba7a(-0xd0,-0x29a,0x6a,-0xde)},Du={'device-flow':_0x199b7d(0x7ac,0x6ee,0x535,0x5df),'token':_0x3eba7a(0xb0,0x34c,0x237,0x215),'oauth-max':_0x3eba7a(0xa1,0x25e,0x1e8,0x61),'oauth-console':_0x199b7d(0x779,0x6da,0x4e6,0x532),'none':_0x3eba7a(-0x83,0xa5,0xb8,-0x24)},_u={'openrouter':'sk-or-v1-...','deepinfra':'Enter\x20your\x20DeepInfra\x20API\x20key','anthropic':_0x3eba7a(-0x210,-0x1ca,-0x179,-0x3a),'github':_0x199b7d(0x341,0x3c3,0x2c9,0x36a),'zai':_0x199b7d(0x427,0x5c5,0x4e6,0x76d),'echo':''},Bu={'openrouter':_0x199b7d(0x26b,0x389,0x243,0x4da),'deepinfra':'Get\x20your\x20API\x20key:\x20https://deepinfra.com/dash/api_keys','anthropic':_0x199b7d(0x3b4,0x54b,0x431,0x424),'github':'Generate\x20token:\x20https://github.com/settings/tokens','zai':'Get\x20your\x20API\x20key\x20from\x20your\x20Zai\x20account','echo':''},Fu=({isSelected:_0x36ec34,label:_0x5efb31,description:_0x379c90})=>{const _0x309377={_0x101586:0x666,_0x594f3b:0x4ba,_0x56621e:0x3cd,_0x40e3d7:0x2e1,_0x1724e2:0x355,_0x22dc29:0x32e,_0x4876bd:0x161,_0x499f97:0x567},_0x4c92fb={_0x69b1d2:0x146,_0x31722c:0xe9};function _0x325f6e(_0x2abda5,_0x5e3b7c,_0x33b3c8,_0x3e73df){return _0x3eba7a(_0x2abda5-0x22,_0x5e3b7c-_0x4c92fb._0x69b1d2,_0x2abda5,_0x3e73df-_0x4c92fb._0x31722c);}function _0x65a4f6(_0x3c00f1,_0x1b1186,_0x18bbed,_0x273e72){return _0x199b7d(_0x3c00f1-0x157,_0x1b1186- -0x159,_0x18bbed-0x182,_0x3c00f1);}let {theme:_0xa0d7ca}=D();return _0x1fde6a(_0x1d0a69,{'flexDirection':_0x65a4f6(_0x309377._0x101586,_0x309377._0x594f3b,_0x309377._0x56621e,0x6a0),'marginBottom':0x1,'children':[_0x5c97b4(_0x1d0a69,{'children':_0x5c97b4(_0x43143c,{'color':_0x36ec34?_0xa0d7ca['welcome'][_0x325f6e(_0x309377._0x40e3d7,_0x309377._0x1724e2,_0x309377._0x22dc29,_0x309377._0x4876bd)]:_0xa0d7ca['welcome']['subtitle'],'bold':_0x36ec34,'children':_0x5efb31})}),_0x5c97b4(_0x1d0a69,{'paddingLeft':0x3,'children':_0x5c97b4(_0x43143c,{'color':_0xa0d7ca['welcome'][_0x65a4f6(0x412,_0x309377._0x499f97,0x4d8,0x6f6)],'dimColor':!0x0,'children':_0x379c90})})]});},Nu=({isSelected:_0x4820e1,label:_0x4dc1c0,description:_0x59dc5})=>{const _0x582073={_0x145eb2:0x599,_0x12fb3f:0x3bf,_0x42cd00:0x5b0,_0x2da377:0x37c,_0x138b50:0x4e9,_0x4b4e4f:0x6de,_0x393d1c:0x483,_0x9caaff:0x3bf,_0x20b188:0x3ef,_0x20a745:0x816,_0x121121:0x6fe,_0xd0c817:0x523,_0x272369:0x468,_0x2f5024:0x437},_0x431290={_0x50afdd:0x1d,_0x520d98:0x5fd},_0x597aaf={_0x3b459f:0x13a,_0x33da3e:0x36,_0x3db641:0x45};function _0x3aaa68(_0x382779,_0x33a02c,_0x11f9cc,_0x179b31){return _0x199b7d(_0x382779-_0x597aaf._0x3b459f,_0x11f9cc- -_0x597aaf._0x33da3e,_0x11f9cc-_0x597aaf._0x3db641,_0x33a02c);}let {theme:_0x51c63b}=D();function _0xe80988(_0x5067a6,_0x420675,_0xaa045e,_0x2eade1){return _0x3eba7a(_0x5067a6-_0x431290._0x50afdd,_0x420675-0x42,_0x2eade1,_0x5067a6-_0x431290._0x520d98);}return _0x1fde6a(_0x1d0a69,{'flexDirection':'column','marginBottom':0x1,'children':[_0x5c97b4(_0x1d0a69,{'children':_0x5c97b4(_0x43143c,{'color':_0x4820e1?_0x51c63b[_0x3aaa68(0x43a,_0x582073._0x145eb2,_0x582073._0x12fb3f,_0x582073._0x42cd00)][_0x3aaa68(_0x582073._0x2da377,0x56a,_0x582073._0x138b50,_0x582073._0x4b4e4f)]:_0x51c63b[_0x3aaa68(_0x582073._0x393d1c,0x286,_0x582073._0x9caaff,_0x582073._0x20b188)][_0xe80988(_0x582073._0x20a745,0x994,0x83e,_0x582073._0x121121)],'bold':_0x4820e1,'children':_0x4dc1c0})}),_0x5c97b4(_0x1d0a69,{'paddingLeft':0x3,'children':_0x5c97b4(_0x43143c,{'color':_0x51c63b[_0x3aaa68(_0x582073._0xd0c817,_0x582073._0x272369,0x3bf,_0x582073._0x2f5024)][_0x3aaa68(0x59e,0x68e,0x68a,0x4fd)],'dimColor':!0x0,'children':_0x59dc5})})]});};function Ou({onComplete:_0x1b3f73,llmFactory:_0x3b6293}){const _0x53f102={_0x393832:0x37d,_0x2d7075:0x1cb,_0x442556:0x50,_0x4980c2:0x189,_0x3babf4:0x41f,_0x1fcc1e:0x1c7,_0x2b214a:0x337,_0x43257e:0x30b,_0x4fa133:0x292,_0x3b68f8:0x3d6,_0x3a11b6:0x493,_0x48347f:0x2b7,_0x3ff18a:0x4c1,_0x3cf806:0x4fd,_0x1c6455:0x5ef,_0x2f6df7:0x7d7,_0x54ffa0:0x7bf,_0x251f63:0x3,_0x3457d3:0x216,_0x1ed803:0xe,_0x30cd10:0x1d1,_0x478208:0x33e,_0x6afca6:0x452,_0x2acc9c:0x1cc,_0x2053dc:0x354,_0x57675b:0x621,_0x4d4dc0:0x807,_0x1475c5:0x150,_0x4d3cbf:0x6d7,_0xf015b2:0x721,_0x4b40c0:0x114,_0x485c09:0xbb,_0x452e64:0x578,_0x215945:0x478,_0x220b2d:0x7b9,_0x403541:0x684,_0x463528:0x565,_0x4d3d07:0x6c8,_0x575172:0x468,_0x5c84a5:0x43d,_0x4678a3:0x3d0,_0x4c6f2a:0x3a4,_0x334164:0x1d0,_0x598831:0xc8,_0x1fc66e:0x253,_0x2803c6:0x19d,_0x132390:0x2f8,_0x298f17:0x365,_0x6a6405:0xd7,_0x234247:0x295,_0x77834e:0x226,_0x386a72:0x437,_0x3a6c2b:0x2ea,_0x348f89:0x1a7,_0x2b926f:0x487,_0x5e6738:0x669,_0x2e9b4a:0x64d,_0x339a9a:0x657,_0x5cf373:0x826,_0x2d19d0:0x2e6,_0x500df1:0x4a8,_0x53f236:0x310,_0x2e2264:0x207,_0x511046:0x266,_0x366930:0x4ff,_0x5bc63d:0x659,_0x361f82:0x293,_0x1e45bd:0x2da,_0x1f53d4:0x410,_0x2b6851:0x36b,_0x333a34:0x2a2,_0x71443a:0x25f,_0x2dfd7e:0x16a,_0x53662d:0x633,_0x39f09e:0x605,_0x824940:0x5df,_0x56723f:0x510,_0x5170db:0x6c4,_0xeff605:0x3fc,_0x3e6535:0x666,_0xd59465:0x724,_0x4726e2:0x85b,_0x234fcd:0x4dc,_0x15bebf:0x6af,_0x21fa5a:0x4fe,_0x2198e0:0x28f,_0x330695:0x636,_0x20af11:0x273,_0x5a3e2f:0x350,_0xc0576c:0x399,_0x5a76d9:0x78f,_0x4151b0:0x4ff,_0x269002:0x3b9,_0x34f8db:0x381,_0x156490:0x5dd,_0x37184a:0x7cf,_0x36a6e8:0x46d,_0x56df0d:0x42c,_0x1a2220:0x1f5,_0xc2388a:0x332,_0x4c55ae:0x47d,_0x13ac5c:0x684,_0x18dbc9:0x7fa,_0xb4303b:0x6bf,_0x961eae:0x145,_0x28bb96:0x35d,_0x18603c:0x461,_0x2b76db:0x3b7,_0x2051f2:0x544,_0xe6e06f:0xc9,_0x27d288:0x2,_0x3591ec:0x291,_0x5a4ff5:0x2ee,_0x43f2b8:0x27f,_0x5bf20e:0x222,_0x51776e:0x417,_0x3e7f40:0x36a,_0x2557f9:0x403,_0xa14e98:0x365,_0x197b7a:0x36a,_0x37f1f5:0x2af,_0x4ff33f:0x5a,_0x5c7d76:0x196,_0x5b3026:0x111,_0x1f749f:0x20c,_0x5ed34c:0x14f,_0x3db233:0x485,_0xd6df94:0x426,_0x4672f9:0x6ce,_0x4ee170:0x8aa,_0x3198af:0x515,_0x17b9e4:0x555,_0x1700a3:0x164,_0x316e83:0x22e,_0x61793e:0x50f,_0x1e4209:0x479,_0x43f87e:0x420,_0x482fe6:0x684,_0x32609a:0x85c,_0x208dcd:0x520,_0x19ee41:0x5c6,_0x278924:0x472,_0x5741c3:0x23b,_0x1794e2:0xa1,_0x1d4428:0x74,_0x3448ed:0x5b8,_0x5bb1a7:0x50e,_0x1961a3:0x435,_0x15c4d2:0x286,_0x2b89ff:0x23e,_0x30e874:0x1c9,_0x5366a8:0x167,_0x4bc483:0x509,_0x1e470b:0x39a,_0x50cbbe:0x500,_0x5869c6:0x264,_0x41cd36:0x326,_0x4f307a:0x3c0,_0x1ca5c0:0x4c9,_0x2c5e03:0x49a,_0x29e6f7:0x2af,_0x4b78c4:0x363,_0x102c9d:0x435,_0x33cd90:0x43a,_0x1b9f4c:0x3d1,_0x5530d0:0x277,_0x53beae:0x18a,_0x51e1bc:0x3c,_0x4664d1:0x145,_0x2dad85:0x52d,_0x4ef941:0x6bc,_0x1cd9a2:0x40d,_0x52079a:0x5ce,_0x17cf0b:0x448,_0x402f78:0x59a,_0x354162:0x3aa,_0x271363:0x414,_0x1cfc1f:0x425,_0x50a86d:0x2b6,_0x31c312:0x550,_0x19001c:0x65e,_0x516bcf:0x74c,_0x19a9a7:0x39a,_0x8d2d32:0x59e,_0x10a639:0x19b,_0x32fc50:0x3b0,_0x256b12:0x76b,_0x3f444b:0x4e8,_0xb352dc:0x236,_0x210ee6:0x32d,_0x59e56c:0x7c2,_0x2d7960:0x4d8,_0x22337f:0x18b,_0x474678:0x3f9,_0xd7b8cf:0x225,_0x4ab028:0x38f,_0x4cfa0b:0x5e1,_0x43dfd2:0x80a,_0x44ea94:0x5ba,_0x473a41:0x84a,_0x49dd01:0x1db,_0x7a2428:0x369,_0x233de2:0x477,_0x48c954:0x335,_0x31fbaa:0x43d,_0x466f31:0x5e7,_0x469045:0x533,_0x4efb19:0x443,_0x5bc1ef:0x684,_0x237dc5:0x52f,_0x2d8d3c:0x262,_0x3e62e4:0x21c,_0x3c2f87:0x3db,_0x10ff31:0x4c5,_0xd856f2:0x32f,_0x23a105:0x2f2,_0x4ab23e:0x2af,_0xd16446:0x6ee,_0x4d1709:0x564,_0x1a99e7:0x741,_0x1cfa47:0x65b,_0x367eb6:0x5be,_0x28d8e3:0x58e,_0x4dd4d1:0x430,_0x32761b:0x413,_0x41df72:0x488,_0xb04565:0x28d,_0x521cff:0x6ea,_0x5189b4:0x151,_0x426071:0x136,_0x5de20b:0x156,_0x4391ea:0x241,_0x4df3e1:0x621,_0x11f516:0x7c9,_0x30f769:0x61c,_0x5bbbdd:0x232,_0x3f3695:0x418,_0x7a9da7:0x27a,_0x46e3e7:0x3f2,_0x596db0:0x389},_0x79758f={_0x5499dd:0x5ba,_0x1ffa56:0x787,_0x50cf66:0x5d7,_0x382de4:0x3d5,_0x38f3c7:0x77b,_0xaf20bb:0x6be,_0x52387d:0x64d,_0x1c1ad3:0x5dd,_0x21b2d1:0x534,_0x1925d5:0x605,_0x3d339a:0x80a},_0x3004f4={_0x14ccd0:0x47},_0x1d6850={_0xc338b2:0x48b,_0x4fb3b2:0x2b0,_0x4037a7:0x173,_0x365178:0x20,_0x4d47c1:0x2ee,_0x2c1c05:0x23c,_0x3796c1:0x2fb,_0x286fa4:0x48},_0x5765d7={_0x524341:0x32b,_0x433009:0xd0},_0x21b3f0={_0x469e90:0x514,_0x1b92e9:0x449},_0x5e8552={_0x44594e:0x7c,_0x205890:0x2d},_0x4ecc88={_0x2dd68d:0x51a,_0x2a4ce2:0x3ad,_0x46d3a7:0x2b9,_0x24b864:0x3ef,_0x144f9d:0x48d,_0x2eae2f:0xea,_0x3cb378:0x252,_0x34830b:0x28b,_0xa8b8a9:0x14e,_0x17b1c8:0x77,_0x1f95fb:0x716,_0x100c8d:0x59b,_0x39b5fd:0x5d9,_0x5d7b94:0x589,_0x12a107:0x34b,_0xf125cb:0x559,_0x17804f:0x7e,_0x32a89e:0x342,_0x1fd182:0x459,_0xe53ad8:0x397,_0x41c421:0x25e},_0x544eb2={_0x5be4fa:0x99},_0x44fe3e={_0x456c2d:0x104,_0x3809f7:0x7b},_0xc467bf={_0x2e96d0:0x33f,_0x1c49b1:0x286,_0x420189:0xc9,_0x2f8d07:0x16e,_0x5a4c03:0x250,_0x2d7bc2:0x203},_0x481980={_0x4aefe8:0x1ba},_0x291fd8={_0x4b8e62:0x77},_0x3d8695={_0x1293c2:0x392,_0x2c0e09:0x45d,_0x3ecdd6:0x11,_0x36ab65:0xd,_0x13241d:0x303,_0x2fea55:0x20f,_0x346e0b:0x85,_0x880226:0x75,_0x2fb024:0x330,_0x29fcb9:0x392,_0x1885d7:0x61d,_0x36fa5c:0x4ea,_0x2b8127:0x4e6,_0x154ca4:0x5ca,_0x3c7cb6:0x6ee,_0x49bcd9:0x4f7},_0x96d1c={_0x26c57f:0x7ad,_0x680acc:0x806,_0x44a314:0x99a,_0x17e906:0x80e,_0x5ed469:0x73,_0x1af6b1:0x20,_0x41971a:0x1ad,_0x209136:0x103,_0x5a40ea:0x67f,_0x598f49:0x6de},_0x46e0ec={_0x2fe9d4:0xd5},_0x168c62={_0x3d38c0:0x2a2,_0xbf405c:0x3a,_0x243f30:0x20e,_0x21eb05:0x1e5},_0x2e209d={_0x471e3e:0x655,_0x2c1e9b:0x527},_0x5d35e4={_0x1626ed:0x1ce},_0x4c9b98={_0x5a7293:0x448,_0x3970e0:0x2c6,_0x72dad7:0x66b,_0x147184:0x780,_0x1be8f4:0x5e6,_0x326167:0x45c,_0x7923bb:0x2ef,_0x1d4edc:0x557,_0x214876:0x597,_0x571772:0x39f,_0x562906:0x525,_0x5630bd:0x41e},_0x44936f={_0x57560c:0x10,_0x2949d0:0x1d2},_0x46574f={_0x2a5300:0x26a,_0x14469d:0x2f9,_0x561083:0x434,_0x3747df:0x279,_0x39e829:0x2a2,_0x17ae80:0x373,_0x450f1f:0x225,_0x238fca:0x193,_0x2eed6d:0x221,_0x783f4c:0x420},_0x234010={_0x3a7a56:0x4b5},_0x5e759b={_0x2d8c1c:0x64};function _0x2e0713(_0x518fbb,_0x1db6bd,_0x3d6674,_0x37c773){return _0x199b7d(_0x518fbb-0x1a7,_0x37c773- -0x2b0,_0x3d6674-_0x5e759b._0x2d8c1c,_0x518fbb);}let {theme:_0x15f84b}=D(),{get:_0x54b359,set:_0x1d2de1}=eo(),[_0x362b73,_0xbd02f8]=_0x220f30(_0x9aafbf(0x428,_0x53f102._0x393832,0x274,0x35a)),[_0xd80446,_0x348ffb]=_0x220f30(_0x2e0713(0xb1,_0x53f102._0x2d7075,_0x53f102._0x442556,_0x53f102._0x4980c2)),[_0x42169d,_0x1b4447]=_0x220f30(_0x2e0713(0x2d6,0x334,0x43f,0x2a9)),[_0x37bb7a,_0x41acb9]=_0x220f30(''),[_0x1a7139,_0x3f643c]=_0x220f30(''),[_0x3ab61a,_0xed188f]=_0x220f30(''),[_0x34d747,_0xe308fa]=_0x220f30(!0x1),[_0x1fbb0f,_0x48d276]=_0x220f30([]),[_0x549b65,_0x2187af]=_0x220f30(null),_0xee22b7=go[_0x2e0713(_0x53f102._0x3babf4,0x1a1,_0x53f102._0x1fcc1e,_0x53f102._0x2b214a)](_0xe68fd4=>_0xe68fd4[_0x2e0713(0x2e9,0x72,0xd6,0x19a)]===_0xd80446),_0x146ff9=Er(_0xd80446),_0x5278a0=ii(_0xd80446),_0x398bab=_0x1fbb0f['length']>0x0?_0x1fbb0f:_0x5278a0,_0x3ce757=Jo(_0x362b73===_0x9aafbf(_0x53f102._0x43257e,0x308,0x4a0,0x434)&&_0xd80446===_0x2e0713(_0x53f102._0x4fa133,0x2af,_0x53f102._0x3b68f8,0x403)),_0x59f1ca=_0x42169d===_0x9aafbf(_0x53f102._0x3a11b6,_0x53f102._0x48347f,_0x53f102._0x3ff18a,_0x53f102._0x3cf806)?_0x9aafbf(_0x53f102._0x1c6455,_0x53f102._0x2f6df7,0x56e,_0x53f102._0x54ffa0):_0x2e0713(_0x53f102._0x251f63,-0xde,_0x53f102._0x3457d3,0x9e),_0x4e7fed=Qo(_0x362b73===_0x2e0713(0x90,0x183,-_0x53f102._0x1ed803,_0x53f102._0x30cd10)&&_0xd80446==='anthropic',_0x59f1ca),{saveApiKeyAuth:_0x4cd5ca,saveOAuthAuth:_0x5c318a}=er({'get':_0x54b359,'set':_0x1d2de1});_0x1c5411((_0x53dbb8,_0x220c55)=>{function _0x1b1ea4(_0x3c8236,_0x3c927f,_0x434305,_0x22a375){return _0x2e0713(_0x434305,_0x3c927f-0xfb,_0x434305-0x1d9,_0x22a375- -0x16d);}_0x220c55['escape']&&_0x362b73===_0x1b1ea4(0xd2,0x78,0x34f,0x1b4)&&_0xbd02f8('provider');});function _0x9aafbf(_0x28fa5f,_0x4ed33b,_0x5df32a,_0x4bc3b6){return _0x3eba7a(_0x28fa5f-0x24,_0x4ed33b-0x175,_0x4bc3b6,_0x28fa5f-_0x234010._0x3a7a56);}let _0x574756=_0x51b5c6=>{const _0x514b26={_0x4fce01:0x15c,_0x57c043:0x73},_0x53af05={_0x344ba7:0x1e9,_0xd2184:0x50};function _0x9d236a(_0x576078,_0x551e60,_0x39b84b,_0x32071e){return _0x2e0713(_0x32071e,_0x551e60-_0x53af05._0x344ba7,_0x39b84b-0x4a,_0x551e60-_0x53af05._0xd2184);}let _0x55edf3=_0x51b5c6||_0x42169d;function _0x4ae7c9(_0x5443e9,_0x5ef85e,_0x4a77d4,_0x8e38ea){return _0x2e0713(_0x8e38ea,_0x5ef85e-_0x514b26._0x4fce01,_0x4a77d4-0xdd,_0x5443e9-_0x514b26._0x57c043);}if(_0x55edf3)switch(_0x55edf3){case _0x9d236a(_0x46574f._0x2a5300,_0x46574f._0x14469d,0x49c,_0x46574f._0x561083):_0xbd02f8(_0x9d236a(_0x46574f._0x3747df,_0x46574f._0x39e829,_0x46574f._0x17ae80,0x47c));break;case _0x9d236a(0x147,0x31c,0x250,0x42a):_0xbd02f8('auth-device-flow');break;case _0x9d236a(0x152,_0x46574f._0x450f1f,0x232,0x403):case'oauth-console':_0xbd02f8(_0x9d236a(_0x46574f._0x238fca,_0x46574f._0x2eed6d,0x2ed,0x252));break;case _0x9d236a(_0x46574f._0x783f4c,0x3b0,0x482,0x1fe):_0xbd02f8('model');break;}},_0x4ce969=_0x183106=>{const _0x1fc8f5={_0x358918:0xdf};let _0x19283f=_0x183106[_0x6c94ff(_0x4c9b98._0x5a7293,_0x4c9b98._0x3970e0,0x3e1,0x5c7)];function _0xd3da56(_0x228a98,_0x35bfcc,_0x380e91,_0x94cebd){return _0x9aafbf(_0x380e91-0x4,_0x35bfcc-0x24,_0x380e91-_0x1fc8f5._0x358918,_0x35bfcc);}function _0x6c94ff(_0x2f9928,_0x4de4d9,_0x10db80,_0x18256f){return _0x9aafbf(_0x2f9928- -_0x44936f._0x57560c,_0x4de4d9-_0x44936f._0x2949d0,_0x10db80-0x171,_0x18256f);}if(_0x348ffb(_0x19283f),_0x19283f!=='echo'){_0xbd02f8(_0xd3da56(0x476,_0x4c9b98._0x72dad7,0x5e3,_0x4c9b98._0x147184));let _0x3ef996=Er(_0x19283f)?.[0x0];_0x1b4447(_0x3ef996?.[_0x6c94ff(_0x4c9b98._0x5a7293,_0x4c9b98._0x1be8f4,_0x4c9b98._0x326167,_0x4c9b98._0x7923bb)]||_0x6c94ff(_0x4c9b98._0x1d4edc,0x5f1,_0x4c9b98._0x214876,0x511));}else _0xbd02f8(_0x6c94ff(0x4b5,_0x4c9b98._0x571772,_0x4c9b98._0x562906,_0x4c9b98._0x5630bd));},_0x849b52=_0x1dac0b=>{let _0x3a76b4=_0x1dac0b[_0x12a601(_0x2e209d._0x471e3e,0x40c,0x39c,_0x2e209d._0x2c1e9b)];function _0x12a601(_0x4146a8,_0x1c289c,_0x3dbdb3,_0x26049d){return _0x9aafbf(_0x26049d-0xcf,_0x1c289c-_0x5d35e4._0x1626ed,_0x3dbdb3-0x109,_0x4146a8);}_0x1b4447(_0x3a76b4),_0x574756(_0x3a76b4);},_0x119f0d=_0x5cd113=>{const _0x4ceda7={_0x55e8e6:0x12f},_0x4595f0={_0x28ea52:0xf7,_0x16dc64:0x74};function _0x2deea5(_0xa04dab,_0x36ceea,_0x222724,_0x185b36){return _0x2e0713(_0xa04dab,_0x36ceea-0x51,_0x222724-_0x4595f0._0x28ea52,_0x222724-_0x4595f0._0x16dc64);}function _0x603805(_0x67d00c,_0x3cc97c,_0x3ba767,_0x167a3d){return _0x2e0713(_0x3cc97c,_0x3cc97c-_0x4ceda7._0x55e8e6,_0x3ba767-0x40,_0x67d00c-0x29);}_0x41acb9(_0x5cd113[_0x2deea5(0x8c,_0x168c62._0x3d38c0,0x20e,0x237)]),_0x1cf10e(_0x5cd113[_0x2deea5(_0x168c62._0xbf405c,0xa9,_0x168c62._0x243f30,_0x168c62._0x21eb05)]);},_0x1cf10e=async _0x4f2812=>{function _0x40a0ee(_0x3c5e99,_0x21747c,_0x42b42e,_0x4e38e1){return _0x2e0713(_0x21747c,_0x21747c-0x18,_0x42b42e-_0x46e0ec._0x2fe9d4,_0x42b42e-0x491);}function _0x532273(_0x4c94e4,_0x1d453c,_0x4b7b88,_0x4f71a6){return _0x9aafbf(_0x4b7b88- -0x422,_0x1d453c-0x1d0,_0x4b7b88-0x1a0,_0x1d453c);}if(!_0x34d747){_0xe308fa(!0x0);try{await _0x1d2de1('activeProvider',_0xd80446,_0x40a0ee(_0x96d1c._0x26c57f,0x617,_0x96d1c._0x680acc,_0x96d1c._0x44a314));let _0x1720ed=_0x4f2812||_0x37bb7a;_0x1720ed&&await _0x1d2de1(_0x40a0ee(0x578,_0x96d1c._0x17e906,0x698,0x6c1),_0x1720ed,'global'),_0xbd02f8(_0x532273(-_0x96d1c._0x5ed469,_0x96d1c._0x1af6b1,0xdd,_0x96d1c._0x41971a)),setTimeout(()=>{_0x1b3f73();},0x5dc);}catch(_0x2ff0a8){console[_0x532273(-0x263,-0xff,-_0x96d1c._0x209136,-0x111)](_0x40a0ee(_0x96d1c._0x5a40ea,0x828,0x694,_0x96d1c._0x598f49),_0x2ff0a8),_0xe308fa(!0x1);}}},_0x4e4dfa=_0x3ce90e(async()=>{const _0x5bc3b4={_0x3b5566:0x4ed};if(!_0x3b6293){_0x48d276([]),_0xbd02f8(_0x3e1cbd(0x2c6,0x4b5,_0x3d8695._0x1293c2,0x443));return;}function _0x3e1cbd(_0x2d14a8,_0x5223b4,_0x3aa198,_0x28e743){return _0x9aafbf(_0x3aa198- -0x133,_0x5223b4-0xe2,_0x3aa198-0x28,_0x5223b4);}_0xbd02f8(_0x3e1cbd(_0x3d8695._0x2c0e09,0x430,0x51a,0x3b6)),_0x2187af(null);function _0x1ef530(_0x170aef,_0x51f243,_0x5c0dc1,_0x137831){return _0x9aafbf(_0x170aef- -_0x5bc3b4._0x3b5566,_0x51f243-0x19e,_0x5c0dc1-0x39,_0x51f243);}try{if(!_0x3b6293?.[_0x1ef530(0x158,0x101,_0x3d8695._0x3ecdd6,-_0x3d8695._0x36ab65)])throw new Error(_0x1ef530(-0x19d,-0x383,-_0x3d8695._0x13241d,-_0x3d8695._0x2fea55));let _0x5b943e=await _0x3b6293[_0x1ef530(0x158,_0x3d8695._0x346e0b,_0x3d8695._0x880226,0x27e)](_0xd80446);_0x48d276(_0x5b943e),_0xbd02f8(_0x3e1cbd(0x35b,_0x3d8695._0x2fb024,_0x3d8695._0x29fcb9,0x1e3));}catch(_0x9e7119){_0x2187af(_0x9e7119 instanceof Error?_0x9e7119[_0x3e1cbd(_0x3d8695._0x1885d7,0x3ef,_0x3d8695._0x36fa5c,_0x3d8695._0x2b8127)]:_0x3e1cbd(_0x3d8695._0x154ca4,_0x3d8695._0x3c7cb6,_0x3d8695._0x49bcd9,0x5a5)),_0x48d276([]),_0xbd02f8(_0x1ef530(-0x28,0x17b,0x2e,-0x96));}},[_0x3b6293,_0xd80446]),_0x154bdd=async _0x5bf6d0=>{function _0x20e7fb(_0x317dfc,_0x421802,_0x1704b1,_0x2c1f8a){return _0x9aafbf(_0x2c1f8a- -0x509,_0x421802-0x190,_0x1704b1-_0x291fd8._0x4b8e62,_0x317dfc);}function _0x561940(_0x5b450b,_0x4e2694,_0x4c0e09,_0x54e253){return _0x9aafbf(_0x4e2694-_0x481980._0x4aefe8,_0x4e2694-0xcb,_0x4c0e09-0x105,_0x54e253);}if(_0x5bf6d0['trim']())try{await _0x4cd5ca(_0xd80446,_0x5bf6d0[_0x20e7fb(-_0xc467bf._0x2e96d0,-0x7,-_0xc467bf._0x1c49b1,-0x1ce)]()),await _0x4e4dfa();}catch(_0x2a5cf5){console[_0x20e7fb(-0x1d6,-_0xc467bf._0x420189,-0x9e,-0x1ea)](_0x20e7fb(_0xc467bf._0x2f8d07,_0xc467bf._0x5a4c03,0x55,_0xc467bf._0x2d7bc2),_0x2a5cf5);}},_0x4522bc=async _0x1974ad=>{function _0x181c31(_0x292739,_0x40f2d3,_0xfb1167,_0x4c9872){return _0x9aafbf(_0x4c9872- -0xd1,_0x40f2d3-_0x44fe3e._0x456c2d,_0xfb1167-_0x44fe3e._0x3809f7,_0xfb1167);}function _0x467fc9(_0x44c4f5,_0x1b9571,_0xdf6beb,_0x1d1fd4){return _0x2e0713(_0x1b9571,_0x1b9571-_0x544eb2._0x5be4fa,_0xdf6beb-0x10c,_0xdf6beb-0xed);}if(!(!_0x1974ad['trim']()||_0x4e7fed[_0x181c31(0x33a,0x375,0x447,_0x4ecc88._0x2dd68d)]!=='pending'))try{let _0x5a86e9=await jn(_0x1974ad['trim'](),_0x4e7fed[_0x467fc9(0x4bb,0x3a1,0x412,0x2bb)]);if(_0x5a86e9[_0x467fc9(_0x4ecc88._0x2a4ce2,0x538,0x4ba,_0x4ecc88._0x46d3a7)]==='failed'){console[_0x181c31(0x2fe,_0x4ecc88._0x24b864,0x26d,0x24e)](_0x467fc9(0x4f8,0x46e,0x39c,_0x4ecc88._0x144f9d));return;}if(_0x59f1ca===_0x181c31(0x345,_0x4ecc88._0x2eae2f,_0x4ecc88._0x3cb378,_0x4ecc88._0x34830b)){if(!_0x5a86e9['access']){console[_0x467fc9(0x242,0x1fa,_0x4ecc88._0xa8b8a9,-_0x4ecc88._0x17b1c8)](_0x181c31(0x7b2,0x582,0x3ed,0x5cb));return;}let _0x310288=await Vn(_0x5a86e9['access']);if(_0x310288['type']===_0x181c31(0x62e,_0x4ecc88._0x1f95fb,0x77a,0x581)||!_0x310288['key']){console['error']('Failed\x20to\x20create\x20API\x20key');return;}await _0x4cd5ca(_0xd80446,_0x310288[_0x181c31(_0x4ecc88._0x100c8d,0x6cc,_0x4ecc88._0x39b5fd,_0x4ecc88._0x5d7b94)]);}else{if(!_0x5a86e9['access']||!_0x5a86e9[_0x181c31(_0x4ecc88._0x12a107,_0x4ecc88._0xf125cb,0x411,0x37e)]){console[_0x181c31(0x3ff,0x18f,_0x4ecc88._0x17804f,0x24e)]('Missing\x20OAuth\x20credentials');return;}await _0x5c318a(_0xd80446,_0x5a86e9[_0x467fc9(0x1c5,0x22c,_0x4ecc88._0x32a89e,0x23b)],_0x5a86e9['refresh'],_0x5a86e9[_0x181c31(_0x4ecc88._0x1fd182,_0x4ecc88._0xe53ad8,0x380,_0x4ecc88._0x41c421)]);}await _0x4e4dfa();}catch(_0x262a3a){console['error']('OAuth\x20failed:',_0x262a3a);}};return _0x1f49f8(()=>{function _0x18466f(_0x505b6b,_0x1b9a50,_0x33bbfe,_0x392c20){return _0x9aafbf(_0x392c20- -_0x5e8552._0x44594e,_0x1b9a50-0xe6,_0x33bbfe-_0x5e8552._0x205890,_0x33bbfe);}if(_0x362b73===_0x18466f(0x386,0x295,_0x21b3f0._0x469e90,_0x21b3f0._0x1b92e9)&&_0x398bab['length']>0x0&&!_0x37bb7a){let _0x4e5b20=_0x398bab[0x0];_0x4e5b20&&_0x41acb9(_0x4e5b20);}},[_0x362b73,_0x398bab,_0x37bb7a]),_0x1f49f8(()=>{const _0x41b70e={_0x21068c:0x4e,_0x193f94:0xba};function _0x121308(_0x4557f9,_0xbbd9af,_0x24bd3f,_0x4aa0d0){return _0x9aafbf(_0x4aa0d0- -_0x5765d7._0x524341,_0xbbd9af-0x185,_0x24bd3f-_0x5765d7._0x433009,_0x24bd3f);}function _0x5c73d0(_0x4a1043,_0x500fe9,_0x202af8,_0x44d626){return _0x2e0713(_0x500fe9,_0x500fe9-_0x41b70e._0x21068c,_0x202af8-0x10d,_0x44d626-_0x41b70e._0x193f94);}_0x3ce757['status']===_0x5c73d0(0x1f7,_0x1d6850._0xc338b2,0x207,_0x1d6850._0x4fb3b2)&&_0x362b73===_0x121308(-0x1a0,_0x1d6850._0x4037a7,0x49,-_0x1d6850._0x365178)&&_0x121308(0x3ec,0x36d,_0x1d6850._0x4d47c1,_0x1d6850._0x2c1c05)in _0x3ce757&&_0x3ce757[_0x121308(_0x1d6850._0x3796c1,0x36e,_0x1d6850._0x286fa4,0x23c)]&&((async()=>(await _0x4cd5ca(_0xd80446,_0x3ce757[_0x5c73d0(0x1a3,0x469,0x2b0,0x363)]),await _0x4e4dfa()))());},[_0x3ce757['status'],_0x362b73,_0x3ce757,_0xd80446,_0x4cd5ca,_0x4e4dfa]),_0x1fde6a(_0x1d0a69,{'flexDirection':'column','width':_0x2e0713(0x2ed,_0x53f102._0x478208,0x2e6,_0x53f102._0x6afca6),'paddingX':0x2,'paddingY':0x1,'children':[_0x1fde6a(_0x1d0a69,{'alignItems':_0x2e0713(_0x53f102._0x2acc9c,_0x53f102._0x2053dc,0x365,0x3c6),'paddingBottom':0x1,'flexDirection':_0x9aafbf(_0x53f102._0x57675b,_0x53f102._0x4d4dc0,0x7bc,0x59d),'children':[_0x5c97b4(_0x3d053f,{'colors':[_0x2e0713(_0x53f102._0x1475c5,0x21d,0x11c,0xbb),'#FFC371'],'children':_0x5c97b4(_0x43143c,{'children':Eu})}),_0x5c97b4(_0x1d0a69,{'alignSelf':_0x9aafbf(0x682,_0x53f102._0x4d3cbf,0x4d9,_0x53f102._0xf015b2),'marginRight':0x14,'children':_0x5c97b4(_0x3d053f,{'colors':[_0x2e0713(0xfa,_0x53f102._0x4b40c0,0x1c4,_0x53f102._0x485c09),'#FFC371'],'children':_0x5c97b4(_0x43143c,{'children':'v'+_0xcbfe64()})})})]}),_0x1fde6a(_0x1d0a69,{'flexDirection':_0x9aafbf(_0x53f102._0x57675b,_0x53f102._0x452e64,_0x53f102._0x215945,_0x53f102._0x220b2d),'alignItems':_0x9aafbf(_0x53f102._0x403541,_0x53f102._0x463528,0x55e,_0x53f102._0x4d3d07),'marginTop':0x1,'marginBottom':0x1,'children':[_0x1fde6a(_0x43143c,{'color':_0x15f84b['welcome'][_0x9aafbf(0x52d,_0x53f102._0x575172,0x6da,_0x53f102._0x5c84a5)],'bold':!0x0,'children':[_0x362b73===_0x9aafbf(0x428,0x4a3,_0x53f102._0x4678a3,_0x53f102._0x4c6f2a)&&_0x2e0713(_0x53f102._0x334164,0x441,_0x53f102._0x598831,_0x53f102._0x1fc66e),_0x362b73==='auth-method'&&_0x2e0713(0x44c,_0x53f102._0x2803c6,_0x53f102._0x132390,_0x53f102._0x298f17),_0x362b73===_0x2e0713(_0x53f102._0x6a6405,0x99,0x67,0x252)&&_0x2e0713(0xdd,0x3fa,_0x53f102._0x234247,_0x53f102._0x77834e),_0x362b73===_0x9aafbf(0x30b,_0x53f102._0x386a72,_0x53f102._0x3a6c2b,_0x53f102._0x348f89)&&_0x9aafbf(_0x53f102._0x2b926f,0x2af,_0x53f102._0x5e6738,0x523),_0x362b73==='auth-oauth'&&'OAuth\x20Authorization',_0x362b73===_0x9aafbf(_0x53f102._0x2e9b4a,_0x53f102._0x339a9a,0x80d,_0x53f102._0x5cf373)&&_0x2e0713(_0x53f102._0x2d19d0,_0x53f102._0x500df1,0x49c,_0x53f102._0x53f236),_0x362b73===_0x2e0713(0x6c,0x2f,0x17f,_0x53f102._0x2e2264)&&_0x9aafbf(0x3e8,_0x53f102._0x511046,0x402,0x22f),_0x362b73===_0x9aafbf(_0x53f102._0x366930,_0x53f102._0x5bc63d,0x64d,0x6e4)&&'Setup\x20Complete']}),_0x1fde6a(_0x43143c,{'color':_0x15f84b['welcome'][_0x2e0713(_0x53f102._0x361f82,0x52f,_0x53f102._0x1e45bd,_0x53f102._0x1f53d4)],'dimColor':!0x0,'children':[_0x362b73===_0x2e0713(_0x53f102._0x2b6851,_0x53f102._0x333a34,_0x53f102._0x71443a,_0x53f102._0x2dfd7e)&&_0x9aafbf(0x5ea,_0x53f102._0x53662d,0x52f,_0x53f102._0x39f09e),_0x362b73===_0x9aafbf(_0x53f102._0x824940,0x672,0x5a1,0x527)&&'How\x20would\x20you\x20like\x20to\x20authenticate?',_0x362b73===_0x9aafbf(_0x53f102._0x56723f,_0x53f102._0x5170db,0x5c5,_0x53f102._0xeff605)&&_0x9aafbf(_0x53f102._0x3e6535,_0x53f102._0xd59465,0x508,_0x53f102._0x4726e2)+_0xee22b7?.['label']+_0x9aafbf(_0x53f102._0x234fcd,_0x53f102._0x15bebf,0x540,_0x53f102._0x21fa5a),_0x362b73===_0x9aafbf(0x30b,0x3fe,0x41d,0x18c)&&'Authenticate\x20through\x20your\x20browser',_0x362b73===_0x9aafbf(0x48f,_0x53f102._0x2198e0,0x682,_0x53f102._0x330695)&&'Complete\x20authentication\x20in\x20your\x20browser',_0x362b73===_0x9aafbf(0x64d,0x692,0x81b,0x660)&&_0x2e0713(_0x53f102._0x20af11,_0x53f102._0x5a3e2f,0x509,_0x53f102._0xc0576c)+_0xee22b7?.['label']+_0x9aafbf(0x678,0x560,0x61b,0x82a),_0x362b73==='model'&&_0x9aafbf(0x5c4,0x5d7,_0x53f102._0x5a76d9,0x5da),_0x362b73===_0x9aafbf(_0x53f102._0x4151b0,_0x53f102._0x269002,0x339,_0x53f102._0x34f8db)&&'Configuration\x20saved!\x20Starting\x20Nuvin...']})]}),_0x362b73==='provider'&&_0x5c97b4(_0x1d0a69,{'flexDirection':'column','alignItems':_0x9aafbf(0x684,_0x53f102._0x156490,_0x53f102._0x37184a,0x59a),'marginTop':0x1,'children':_0x5c97b4(Me,{'items':go[_0x2e0713(0x28a,_0x53f102._0x36a6e8,0x3a2,_0x53f102._0x56df0d)](_0x240d3a=>{const _0x21ca63={_0x4dc4d3:0x51,_0x55bf61:0x1f};let [_0x4b9549,_0x53e66a]=_0x240d3a[_0x14d801(_0x79758f._0x5499dd,0x78a,_0x79758f._0x1ffa56,0x725)][_0x14d801(0x641,0x4af,0x735,0x7a9)](_0x14d801(_0x79758f._0x50cf66,0x6c0,0x693,_0x79758f._0x382de4))?_0x240d3a[_0x14d801(0x5ba,0x793,_0x79758f._0x38f3c7,0x570)]['split'](_0x2f56fe(0x727,_0x79758f._0xaf20bb,_0x79758f._0x52387d,0x5e2),0x2):[_0x240d3a[_0x14d801(_0x79758f._0x5499dd,0x40a,_0x79758f._0x1c1ad3,_0x79758f._0x21b2d1)],''];function _0x14d801(_0x17cb18,_0x4b624a,_0x3f7bab,_0x3edb88){return _0x9aafbf(_0x17cb18-0x1ad,_0x4b624a-0x15b,_0x3f7bab-_0x3004f4._0x14ccd0,_0x3f7bab);}function _0x2f56fe(_0xaea041,_0x240a0f,_0x13e4f6,_0x4789d0){return _0x2e0713(_0x13e4f6,_0x240a0f-_0x21ca63._0x4dc4d3,_0x13e4f6-_0x21ca63._0x55bf61,_0x4789d0-0x476);}return{'key':_0x240d3a[_0x14d801(_0x79758f._0x1925d5,0x759,0x484,_0x79758f._0x3d339a)],'value':_0x240d3a['value'],'label':_0x4b9549,'description':_0x53e66a};}),'itemComponent':({isSelected:_0x503252,..._0x42b23d})=>_0x5c97b4(Fu,{'isSelected':!!_0x503252,..._0x42b23d}),'onSelect':_0x4ce969})}),_0x362b73===_0x2e0713(0x335,_0x53f102._0x1a2220,0x3bf,0x321)&&_0x1fde6a(_0x1d0a69,{'flexDirection':_0x2e0713(_0x53f102._0xc2388a,0x556,_0x53f102._0x4c55ae,0x363),'alignItems':'center','marginTop':0x1,'children':[_0x5c97b4(_0x1d0a69,{'marginBottom':0x1,'flexDirection':'column','alignItems':_0x9aafbf(_0x53f102._0x13ac5c,_0x53f102._0x18dbc9,_0x53f102._0xb4303b,0x825),'children':_0x5c97b4(_0x43143c,{'color':_0x15f84b[_0x2e0713(0x1dd,0x336,0x1a3,_0x53f102._0x961eae)]['title'],'bold':!0x0,'children':_0xee22b7?.[_0x2e0713(0x1c7,0x18e,0x4e,0x14f)]})}),_0x5c97b4(Me,{'items':_0x146ff9['map'](_0x1c4d4e=>({'key':_0x1c4d4e[_0x9aafbf(0x458,0x3a6,0x429,0x5f0)],'value':_0x1c4d4e[_0x9aafbf(0x458,0x501,0x624,0x536)],'label':Lu[_0x1c4d4e[_0x2e0713(0x292,0x18d,0x7b,0x19a)]],'description':Du[_0x1c4d4e[_0x9aafbf(0x458,0x4b7,0x526,0x51a)]]})),'itemComponent':({isSelected:_0x1d39d2,..._0x3aaa19})=>_0x5c97b4(Nu,{'isSelected':!!_0x1d39d2,..._0x3aaa19}),'onSelect':_0x849b52}),_0x5c97b4(_0x1d0a69,{'marginTop':0x2,'children':_0x5c97b4(_0x43143c,{'color':_0x15f84b[_0x9aafbf(0x403,0x283,_0x53f102._0x28bb96,_0x53f102._0x18603c)][_0x2e0713(0x22e,_0x53f102._0x2b76db,_0x53f102._0x2051f2,0x410)],'dimColor':!0x0,'children':_0x2e0713(_0x53f102._0xe6e06f,0x72,_0x53f102._0x27d288,0x10f)})})]}),_0x362b73===_0x2e0713(_0x53f102._0x3591ec,_0x53f102._0x5a4ff5,_0x53f102._0x43f2b8,0x252)&&_0x1fde6a(_0x1d0a69,{'flexDirection':_0x2e0713(0x4ba,_0x53f102._0x5bf20e,0x3f6,0x363),'alignItems':_0x9aafbf(0x684,0x835,0x4b6,0x6f5),'marginTop':0x1,'children':[_0x1fde6a(_0x1d0a69,{'borderStyle':_0x2e0713(0x4da,_0x53f102._0x51776e,_0x53f102._0x3e7f40,0x408),'borderColor':_0x15f84b[_0x9aafbf(_0x53f102._0x2557f9,_0x53f102._0xa14e98,_0x53f102._0x197b7a,0x2f2)][_0x9aafbf(_0x53f102._0xc2388a,0x30a,0x35c,_0x53f102._0x37f1f5)],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':'column','children':[_0x5c97b4(_0x1d0a69,{'marginBottom':0x1,'children':_0x5c97b4(_0x43143c,{'color':_0x15f84b[_0x2e0713(-0x61,0x1b1,-_0x53f102._0x4ff33f,0x145)][_0x2e0713(_0x53f102._0x5c7d76,_0x53f102._0x5b3026,0xc1,0x26f)],'bold':!0x0,'children':_0xee22b7?.[_0x2e0713(_0x53f102._0x1f749f,0xc,0x104,_0x53f102._0x5ed34c)]})}),_0x5c97b4(Nr,{'value':_0x1a7139,'onChange':_0x3f643c,'onSubmit':_0x154bdd,'placeholder':_u[_0xd80446],'helpText':Bu[_0xd80446],'mask':'*','theme':{'subtitle':_0x15f84b[_0x9aafbf(0x403,_0x53f102._0x3db233,0x425,_0x53f102._0xd6df94)][_0x9aafbf(_0x53f102._0x4672f9,_0x53f102._0x4ee170,_0x53f102._0x3198af,_0x53f102._0x17b9e4)]}})]}),_0x5c97b4(_0x1d0a69,{'marginTop':0x2,'children':_0x5c97b4(_0x43143c,{'color':_0x15f84b[_0x2e0713(0x2a8,0x2ac,_0x53f102._0x1700a3,_0x53f102._0x961eae)]['subtitle'],'dimColor':!0x0,'children':_0x2e0713(_0x53f102._0x316e83,_0x53f102._0x61793e,_0x53f102._0x1e4209,_0x53f102._0x43f87e)})})]}),_0x362b73==='auth-device-flow'&&_0x5c97b4(_0x1d0a69,{'flexDirection':'column','alignItems':_0x9aafbf(_0x53f102._0x482fe6,_0x53f102._0x32609a,_0x53f102._0x208dcd,_0x53f102._0x19ee41),'marginTop':0x1,'children':_0x1fde6a(_0x1d0a69,{'borderStyle':_0x2e0713(0x2a5,0x532,_0x53f102._0x278924,0x408),'borderColor':_0x15f84b[_0x9aafbf(0x403,0x471,_0x53f102._0x5741c3,0x408)][_0x2e0713(0x259,0x121,-_0x53f102._0x1794e2,_0x53f102._0x1d4428)],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':_0x9aafbf(_0x53f102._0x57675b,_0x53f102._0x3448ed,_0x53f102._0x5bb1a7,_0x53f102._0x1961a3),'children':[_0x5c97b4(_0x1d0a69,{'marginBottom':0x1,'children':_0x1fde6a(_0x43143c,{'color':_0x15f84b['welcome']['title'],'bold':!0x0,'children':[_0xee22b7?.['label'],_0x9aafbf(0x3f0,_0x53f102._0x15c4d2,0x5da,0x223)]})}),_0x5c97b4(Lr,{'state':_0x3ce757,'showCode':!0x0,'theme':{'waiting':_0x2e0713(_0x53f102._0x2b89ff,0x244,_0x53f102._0x30e874,_0x53f102._0x5366a8),'link':_0x9aafbf(0x550,0x705,_0x53f102._0x4bc483,0x6a4),'code':'yellow','error':_0x9aafbf(_0x53f102._0x1e470b,0x288,_0x53f102._0x50cbbe,_0x53f102._0x5869c6)}})]})}),_0x362b73===_0x9aafbf(0x48f,_0x53f102._0x41cd36,_0x53f102._0x4f307a,_0x53f102._0x1ca5c0)&&_0x1fde6a(_0x1d0a69,{'flexDirection':_0x2e0713(_0x53f102._0x2c5e03,0x4e8,_0x53f102._0x29e6f7,_0x53f102._0x4b78c4),'alignItems':'center','marginTop':0x1,'children':[_0x1fde6a(_0x1d0a69,{'borderStyle':_0x2e0713(0x5d4,_0x53f102._0x102c9d,0x4b0,0x408),'borderColor':_0x15f84b[_0x9aafbf(0x403,0x5f9,0x5ea,0x2ca)][_0x9aafbf(0x332,_0x53f102._0x33cd90,_0x53f102._0x1b9f4c,_0x53f102._0x5530d0)],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':'column','children':[_0x5c97b4(_0x1d0a69,{'marginBottom':0x1,'children':_0x1fde6a(_0x43143c,{'color':_0x15f84b[_0x2e0713(0x22d,_0x53f102._0x53beae,-_0x53f102._0x51e1bc,_0x53f102._0x4664d1)][_0x9aafbf(_0x53f102._0x2dad85,0x65d,_0x53f102._0x4ef941,0x454)],'bold':!0x0,'children':[_0xee22b7?.[_0x9aafbf(_0x53f102._0x1cd9a2,_0x53f102._0x52079a,_0x53f102._0x17cf0b,_0x53f102._0x402f78)],_0x2e0713(_0x53f102._0x354162,0x574,0x261,_0x53f102._0x271363)]})}),_0x5c97b4(Br,{'state':_0x4e7fed,'code':_0x3ab61a,'onCodeChange':_0xed188f,'onSubmit':_0x4522bc,'theme':{'waiting':_0x9aafbf(_0x53f102._0x1cfc1f,0x351,0x44c,_0x53f102._0x50a86d),'link':_0x9aafbf(_0x53f102._0x31c312,_0x53f102._0x19001c,0x3ed,_0x53f102._0x516bcf),'error':_0x9aafbf(_0x53f102._0x19a9a7,_0x53f102._0x8d2d32,_0x53f102._0x10a639,_0x53f102._0x32fc50),'subtitle':_0x15f84b['welcome'][_0x9aafbf(0x6ce,_0x53f102._0x256b12,0x54c,_0x53f102._0x3f444b)]}})]}),_0x4e7fed[_0x2e0713(0x479,_0x53f102._0xb352dc,0x333,_0x53f102._0x210ee6)]==='pending'&&_0x5c97b4(_0x1d0a69,{'marginTop':0x2,'children':_0x5c97b4(_0x43143c,{'color':_0x15f84b['welcome'][_0x9aafbf(_0x53f102._0x4672f9,_0x53f102._0x59e56c,_0x53f102._0x2d7960,0x542)],'dimColor':!0x0,'children':'Paste\x20code\x20and\x20press\x20Enter'})})]}),_0x362b73===_0x2e0713(_0x53f102._0x22337f,_0x53f102._0x474678,_0x53f102._0xd7b8cf,_0x53f102._0x4ab028)&&_0x5c97b4(_0x1d0a69,{'flexDirection':_0x9aafbf(0x621,_0x53f102._0x4cfa0b,_0x53f102._0x43dfd2,_0x53f102._0x44ea94),'alignItems':_0x9aafbf(0x684,_0x53f102._0x473a41,0x69d,0x591),'marginTop':0x2,'children':_0x5c97b4(_0x43143c,{'color':'cyan','children':_0x2e0713(_0x53f102._0x49dd01,0x1ad,_0x53f102._0x7a2428,0x263)})}),_0x362b73===_0x9aafbf(0x4c5,_0x53f102._0x233de2,0x43c,_0x53f102._0x48c954)&&_0x1fde6a(_0x1d0a69,{'flexDirection':_0x9aafbf(0x621,0x741,_0x53f102._0x31fbaa,_0x53f102._0x466f31),'alignItems':_0x2e0713(0x3f2,_0x53f102._0x469045,_0x53f102._0x4efb19,0x3c6),'marginTop':0x1,'children':[_0x1fde6a(_0x1d0a69,{'marginBottom':0x1,'flexDirection':'column','alignItems':_0x9aafbf(_0x53f102._0x5bc1ef,_0x53f102._0x237dc5,0x7cb,0x549),'children':[_0x5c97b4(_0x43143c,{'color':_0x15f84b[_0x9aafbf(0x403,0x4a5,0x493,0x514)]['title'],'bold':!0x0,'children':_0xee22b7?.[_0x2e0713(_0x53f102._0x2d8d3c,0x62,_0x53f102._0x3e62e4,_0x53f102._0x5ed34c)]}),_0x549b65&&_0x5c97b4(_0x43143c,{'color':_0x9aafbf(0x331,_0x53f102._0x3c2f87,_0x53f102._0x10ff31,_0x53f102._0xd856f2),'dimColor':!0x0,'children':_0x549b65}),_0x1fbb0f[_0x2e0713(_0x53f102._0x23a105,_0x53f102._0x4ab23e,0x2d3,0x430)]>0x0&&_0x1fde6a(_0x43143c,{'color':_0x15f84b['welcome']['subtitle'],'dimColor':!0x0,'children':[_0x398bab[_0x9aafbf(_0x53f102._0xd16446,_0x53f102._0x4d1709,_0x53f102._0x1a99e7,_0x53f102._0x1cfa47)],_0x9aafbf(0x32b,_0x53f102._0x28bb96,0x163,0x363)]})]}),_0x398bab[_0x2e0713(0x24a,_0x53f102._0x367eb6,_0x53f102._0x28d8e3,_0x53f102._0x4dd4d1)]>0xa?_0x5c97b4(Rr,{'items':_0x398bab['map'](_0x2f998d=>({'label':_0x2f998d,'value':_0x2f998d})),'placeholder':_0x9aafbf(_0x53f102._0x32761b,_0x53f102._0x41df72,0x2b0,_0x53f102._0xb04565),'maxDisplayItems':0xa,'enableRotation':!0x0,'onSelect':_0x39df25=>_0x119f0d({'label':_0x39df25[_0x9aafbf(0x40d,0x4b6,0x2b2,0x25c)],'value':_0x39df25[_0x9aafbf(0x458,0x4a2,0x4ea,0x36e)],'key':_0x39df25['value']}),'onCancel':()=>_0xbd02f8('auth-method')}):_0x5c97b4(Me,{'items':_0x398bab[_0x9aafbf(_0x53f102._0x521cff,0x665,0x657,0x7af)](_0x161685=>({'key':_0x161685,'value':_0x161685,'label':_0x161685})),'onSelect':_0x119f0d})]}),_0x362b73===_0x2e0713(_0x53f102._0x5189b4,_0x53f102._0x426071,_0x53f102._0x5de20b,_0x53f102._0x4391ea)&&_0x5c97b4(_0x1d0a69,{'flexDirection':_0x9aafbf(_0x53f102._0x4df3e1,_0x53f102._0x11f516,0x530,_0x53f102._0x30f769),'alignItems':_0x2e0713(0x1ca,0x543,_0x53f102._0x5bbbdd,0x3c6),'marginTop':0x2,'children':_0x5c97b4(_0x43143c,{'color':_0x2e0713(_0x53f102._0x3f3695,0x26f,0x228,_0x53f102._0x7a9da7),'children':_0x2e0713(0x31f,0x1fe,_0x53f102._0x46e3e7,_0x53f102._0x596db0)})})]});}import{Box as _0x54b898,Text as _0x56861a}from'ink';import{jsx as _0xd12008,jsxs as _0x4ea3ff}from'react/jsx-runtime';import{useEffect as _0x47b09e,useMemo as _0x274c68,useState as _0x164134}from'react';import{Text as _0x19cdf6,Box as _0xfa4099}from'ink';import _0x56ad17 from'chalk';import{jsx as _0x2a5f65}from'react/jsx-runtime';import{createContext as _0x380136,useContext as _0x58b75d,useMemo as _0x345da6}from'react';import{jsx as _0x4fd62f}from'react/jsx-runtime';var ju=_0x380136(void 0x0);function lT({children:_0x351c00}){let _0x56a84b=_0x345da6(()=>({'registry':ce}),[]);return _0x4fd62f(ju['Provider'],{'value':_0x56a84b,'children':_0x351c00});}export{L as a,Hu as b,Ge as c,pd as d,Ae as e,Oa as f,Ua as g,yd as h,ke as i,Ka as j,Td as k,zo as l,Ad as m,O as n,ce as o,Xa as p,Jo as q,jn as r,Vn as s,Qo as t,er as u,Fd as v,D as w,ql as x,Me as y,Ke as z,Ss as A,wy as B,eo as C,ac as D,mu as E,vr as F,io as G,nu as H,Rr as I,Tu as J,wu as K,Su as L,Av as M,Er as N,kv as O,Lr as P,Br as Q,Nr as R,Ou as S,lT as T};
|