@evomap/evolver 1.90.0 → 1.91.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/README.ja-JP.md +1 -1
- package/README.ko-KR.md +1 -1
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/package.json +1 -1
- package/skills/_meta/SKILL.md +41 -0
- package/skills/index.json +14 -0
- package/src/atp/hubClient.js +13 -1
- package/src/evolve/guards.js +1 -1
- package/src/evolve/pipeline/collect.js +1 -1
- package/src/evolve/pipeline/dispatch.js +1 -1
- package/src/evolve/pipeline/enrich.js +1 -1
- package/src/evolve/pipeline/hub.js +1 -1
- package/src/evolve/pipeline/select.js +1 -1
- package/src/evolve/pipeline/signals.js +1 -1
- package/src/evolve/utils.js +1 -1
- package/src/evolve.js +1 -1
- package/src/gep/a2aProtocol.js +1 -1
- package/src/gep/antiAbuseTelemetry.js +1 -1
- package/src/gep/autoDistillConv.js +1 -1
- package/src/gep/autoDistillLlm.js +1 -1
- package/src/gep/candidateEval.js +1 -1
- package/src/gep/candidates.js +1 -1
- package/src/gep/contentHash.js +1 -1
- package/src/gep/conversationDistiller.js +1 -1
- package/src/gep/conversationSniffer.js +1 -1
- package/src/gep/crypto.js +1 -1
- package/src/gep/curriculum.js +1 -1
- package/src/gep/deviceId.js +1 -1
- package/src/gep/envFingerprint.js +1 -1
- package/src/gep/epigenetics.js +1 -1
- package/src/gep/execBridge.js +1 -1
- package/src/gep/explore.js +1 -1
- package/src/gep/hash.js +1 -1
- package/src/gep/hubFetch.js +1 -1
- package/src/gep/hubReview.js +1 -1
- package/src/gep/hubSearch.js +1 -1
- package/src/gep/hubVerify.js +1 -1
- package/src/gep/learningSignals.js +1 -1
- package/src/gep/memoryGraph.js +1 -1
- package/src/gep/memoryGraphAdapter.js +1 -1
- package/src/gep/mutation.js +1 -1
- package/src/gep/narrativeMemory.js +1 -1
- package/src/gep/openPRRegistry.js +1 -1
- package/src/gep/personality.js +1 -1
- package/src/gep/policyCheck.js +1 -1
- package/src/gep/prompt.js +1 -1
- package/src/gep/recallInject.js +1 -1
- package/src/gep/recallVerifier.js +1 -1
- package/src/gep/reflection.js +1 -1
- package/src/gep/savingsCore.js +1 -1
- package/src/gep/selector.js +1 -1
- package/src/gep/selfPR.js +83 -44
- package/src/gep/skillDistiller.js +1 -1
- package/src/gep/solidify.js +1 -1
- package/src/gep/strategy.js +1 -1
- package/src/gep/tokenSavings.js +1 -1
- package/src/gep/trajectoryExport.js +1 -1
- package/src/gep/workspaceKeychain.js +1 -1
- package/src/proxy/extensions/sessionHandler.js +123 -53
- package/src/proxy/extensions/traceControl.js +1 -1
- package/src/proxy/index.js +57 -2
- package/src/proxy/inject.js +1 -1
- package/src/proxy/router/messages_route.js +6 -0
- package/src/proxy/server/routes.js +40 -62
- package/src/proxy/trace/extractor.js +1 -1
- package/src/proxy/trace/usage.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1b5b60=_0x9761;(function(_0x2d838c,_0x3c5dba){const _0x27ec66=_0x9761,_0x1ad4f9=_0x2d838c();while(!![]){try{const _0x4f7f2d=-parseInt(_0x27ec66(0x1f9,'\x6e\x28\x38\x45'))/(0x1ecc+-0x3*-0x610+-0x30fb)*(parseInt(_0x27ec66(0x25f,'\x42\x38\x47\x77'))/(0x11b6+0x1*0x1f6f+-0x705*0x7))+parseInt(_0x27ec66(0x25a,'\x74\x62\x76\x78'))/(-0x3*0x797+0x10f*-0x1d+0x357b)*(parseInt(_0x27ec66(0x224,'\x4c\x39\x26\x44'))/(0x25*0x74+0x2*-0x45a+-0x80c))+-parseInt(_0x27ec66(0x209,'\x6f\x64\x21\x7a'))/(-0x18e3+-0x1*0x1969+0x3251)*(-parseInt(_0x27ec66(0x24c,'\x53\x6e\x34\x28'))/(-0x1bb0+0x1fbd+0x407*-0x1))+-parseInt(_0x27ec66(0x247,'\x36\x45\x26\x21'))/(0x70*0x4f+-0x6d*0x57+0x282)+parseInt(_0x27ec66(0x23b,'\x6f\x64\x21\x7a'))/(0x6*0x3bb+0x23f0+-0x3a4a)*(parseInt(_0x27ec66(0x235,'\x2a\x63\x31\x6e'))/(-0x15a4+0x1e9e+0x2fb*-0x3))+-parseInt(_0x27ec66(0x23d,'\x23\x78\x64\x44'))/(0x4f*-0x7b+0x1f75+0x68a)+-parseInt(_0x27ec66(0x208,'\x77\x43\x59\x48'))/(-0x1324+-0x10a*0x1+0x1439)*(-parseInt(_0x27ec66(0x220,'\x5a\x47\x49\x34'))/(0xb*-0x6+-0x9*0x147+0xbcd));if(_0x4f7f2d===_0x3c5dba)break;else _0x1ad4f9['push'](_0x1ad4f9['shift']());}catch(_0x5ba557){_0x1ad4f9['push'](_0x1ad4f9['shift']());}}}(_0x27c3,-0x6142*-0x3+-0x5*-0x153e+-0x1*-0x4c4c));const _0x20f67b=(function(){const _0x49032b={'\x76\x46\x6f\x64\x4e':function(_0x538cc1,_0xa7c63e){return _0x538cc1(_0xa7c63e);}};let _0x3e084c=!![];return function(_0x35c637,_0x1c9d7e){const _0x239202=_0x9761,_0x4362b5={'\x59\x63\x53\x79\x78':function(_0x166c71,_0x5361fe){const _0x2e3a8f=_0x9761;return _0x49032b[_0x2e3a8f(0x215,'\x48\x5a\x58\x43')](_0x166c71,_0x5361fe);},'\x52\x48\x53\x68\x65':_0x239202(0x22e,'\x66\x42\x47\x53'),'\x72\x55\x4f\x56\x47':_0x239202(0x202,'\x49\x38\x26\x54')},_0x1f2242=_0x3e084c?function(){const _0x6fb200=_0x239202;if(_0x1c9d7e){if(_0x4362b5[_0x6fb200(0x24d,'\x32\x77\x59\x53')]!==_0x4362b5['\x72\x55\x4f\x56\x47']){const _0x5f4620=_0x1c9d7e[_0x6fb200(0x238,'\x6e\x28\x38\x45')](_0x35c637,arguments);return _0x1c9d7e=null,_0x5f4620;}else{const _0x1e5c8c={};_0x1e5c8c[_0x6fb200(0x1ee,'\x64\x41\x78\x39')+'\x65']=!![],_0x1e5c8c['\x69\x64']=null;if(_0x4362b5[_0x6fb200(0x1f6,'\x50\x4a\x6d\x63')](_0x1cecba,_0x1d7d27))return _0x1e5c8c;const _0x1a09c5={};return _0x1a09c5[_0x6fb200(0x24f,'\x75\x44\x78\x55')+'\x65']=![],_0x1a09c5['\x69\x64']=null,_0x1a09c5;}}}:function(){};return _0x3e084c=![],_0x1f2242;};}()),_0x50ae10=_0x20f67b(this,function(){const _0x160cc3=_0x9761;return _0x50ae10[_0x160cc3(0x268,'\x6e\x5d\x55\x74')]()['\x73\x65\x61\x72\x63\x68'](_0x160cc3(0x22c,'\x59\x50\x54\x23')+_0x160cc3(0x248,'\x49\x38\x26\x54'))['\x74\x6f\x53\x74\x72\x69\x6e\x67']()[_0x160cc3(0x218,'\x55\x77\x38\x41')+_0x160cc3(0x1eb,'\x63\x6a\x72\x4d')](_0x50ae10)[_0x160cc3(0x210,'\x53\x6e\x34\x28')](_0x160cc3(0x264,'\x5a\x47\x49\x34')+_0x160cc3(0x1ec,'\x6d\x64\x70\x47'));});_0x50ae10();const _0x297fca=_0x1b5b60(0x267,'\x5b\x4c\x38\x36')+'\x76\x6f\x6c\x76\x65\x72\x2e\x77'+_0x1b5b60(0x1f0,'\x32\x68\x47\x49')+_0x1b5b60(0x245,'\x40\x56\x4e\x42'),_0x1b2342=/^[a-f0-9]{32,}$/i;function _0x9761(_0x36b668,_0x277313){_0x36b668=_0x36b668-(-0xf6a*0x1+-0x1*0x15b1+0x26f7);const _0x282d63=_0x27c3();let _0x1d3812=_0x282d63[_0x36b668];if(_0x9761['\x76\x4d\x62\x6f\x42\x4a']===undefined){var _0x2d8277=function(_0x12ff25){const _0x2aff76='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0xc99b82='',_0x46c753='',_0x295d5c=_0xc99b82+_0x2d8277,_0x27ba38=(''+function(){return 0x27*-0x91+-0x1d*-0xb3+-0x8*-0x3a;})['\x69\x6e\x64\x65\x78\x4f\x66']('\x0a')!==-(-0x9c4+0xaf1*-0x3+0x2a98);for(let _0x3a675a=0x1535+-0x238f*-0x1+-0x38c4,_0x1a4d38,_0x65cee6,_0x48d360=0xc39+-0x1*0x1bbf+0xf86;_0x65cee6=_0x12ff25['\x63\x68\x61\x72\x41\x74'](_0x48d360++);~_0x65cee6&&(_0x1a4d38=_0x3a675a%(-0x78e*-0x1+-0x3*-0x867+-0x20bf)?_0x1a4d38*(0x2398+0x1ace+0x3e26*-0x1)+_0x65cee6:_0x65cee6,_0x3a675a++%(0xd99*0x1+0x1*0x1eb+-0x1*0xf80))?_0xc99b82+=_0x27ba38||_0x295d5c['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x48d360+(0x25ab+0x1*0x1dc9+-0x436a))-(-0x1*-0x1063+-0xc7b*0x3+0x1518)!==0x1a0c+-0x2e7*-0x4+-0x25a8?String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0x138e+0x1bc4+0xb1*-0x43&_0x1a4d38>>(-(0x2*0x1067+0x162f+-0x36fb)*_0x3a675a&0xaff+0x1ae4+-0x25dd)):_0x3a675a:-0x10ed+0x3b*-0x6c+0x1*0x29d1){_0x65cee6=_0x2aff76['\x69\x6e\x64\x65\x78\x4f\x66'](_0x65cee6);}for(let _0x527340=0x2442+-0x1ea5+-0x59d,_0x5d8e7d=_0xc99b82['\x6c\x65\x6e\x67\x74\x68'];_0x527340<_0x5d8e7d;_0x527340++){_0x46c753+='\x25'+('\x30\x30'+_0xc99b82['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x527340)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x71b+-0x33d*-0x6+-0x1a79))['\x73\x6c\x69\x63\x65'](-(-0xee9+0x1*-0x8db+0x17c6));}return decodeURIComponent(_0x46c753);};const _0x73afa1=function(_0xdbbd3a,_0x17b289){let _0x325f28=[],_0x3857dd=0xcf3+-0x2548+0x1*0x1855,_0x5d78d2,_0x37c1c4='';_0xdbbd3a=_0x2d8277(_0xdbbd3a);let _0x31dcb4;for(_0x31dcb4=-0xffb+-0x23df+0x33da;_0x31dcb4<-0x2ad*-0x6+0x1346+-0x2254;_0x31dcb4++){_0x325f28[_0x31dcb4]=_0x31dcb4;}for(_0x31dcb4=-0x25c7+0x14be+0x1109;_0x31dcb4<0x3b*-0x1f+-0x127b+0x1aa0;_0x31dcb4++){_0x3857dd=(_0x3857dd+_0x325f28[_0x31dcb4]+_0x17b289['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x31dcb4%_0x17b289['\x6c\x65\x6e\x67\x74\x68']))%(0x1*0x18ad+0xd*0x2a2+0x3*-0x134d),_0x5d78d2=_0x325f28[_0x31dcb4],_0x325f28[_0x31dcb4]=_0x325f28[_0x3857dd],_0x325f28[_0x3857dd]=_0x5d78d2;}_0x31dcb4=-0x56*0xe+-0x1dd2+-0x5c1*-0x6,_0x3857dd=-0x11*0xb3+0x9a*0x3f+-0x1a03;for(let _0x499115=-0x7*-0x13a+-0x190c+0x1076;_0x499115<_0xdbbd3a['\x6c\x65\x6e\x67\x74\x68'];_0x499115++){_0x31dcb4=(_0x31dcb4+(0x551*0x4+-0x3*0x295+-0xd84))%(0xb55*0x1+-0x9d0+-0x85),_0x3857dd=(_0x3857dd+_0x325f28[_0x31dcb4])%(0x1d*-0xeb+-0x3*0x808+0x33b7),_0x5d78d2=_0x325f28[_0x31dcb4],_0x325f28[_0x31dcb4]=_0x325f28[_0x3857dd],_0x325f28[_0x3857dd]=_0x5d78d2,_0x37c1c4+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0xdbbd3a['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x499115)^_0x325f28[(_0x325f28[_0x31dcb4]+_0x325f28[_0x3857dd])%(0x136b*-0x2+-0x1*0x167b+0x3e51)]);}return _0x37c1c4;};_0x9761['\x6e\x5a\x41\x49\x47\x41']=_0x73afa1,_0x9761['\x47\x58\x6a\x41\x6a\x74']={},_0x9761['\x76\x4d\x62\x6f\x42\x4a']=!![];}const _0x129015=_0x282d63[-0x1ed6+-0x1072+0x1*0x2f48],_0x28641e=_0x36b668+_0x129015,_0x1f6537=_0x9761['\x47\x58\x6a\x41\x6a\x74'][_0x28641e];if(!_0x1f6537){if(_0x9761['\x4b\x6e\x52\x79\x4a\x41']===undefined){const _0x31a6f7=function(_0x52f1e3){this['\x63\x54\x6f\x75\x6d\x41']=_0x52f1e3,this['\x79\x73\x4b\x74\x43\x45']=[-0xdd5+-0x834+0x160a,0x1d4d*-0x1+-0x17c+0x1ec9,-0x4*-0x8ad+0x3*-0x881+0x1*-0x931],this['\x65\x71\x70\x77\x6e\x4f']=function(){return'\x6e\x65\x77\x53\x74\x61\x74\x65';},this['\x64\x43\x52\x63\x6a\x6c']='\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a',this['\x73\x50\x6e\x6a\x51\x6a']='\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d';};_0x31a6f7['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x53\x76\x68\x54\x69\x54']=function(){const _0xb190b2=new RegExp(this['\x64\x43\x52\x63\x6a\x6c']+this['\x73\x50\x6e\x6a\x51\x6a']),_0x4e49ab=_0xb190b2['\x74\x65\x73\x74'](this['\x65\x71\x70\x77\x6e\x4f']['\x74\x6f\x53\x74\x72\x69\x6e\x67']())?--this['\x79\x73\x4b\x74\x43\x45'][0x17*0x89+0x4*-0x552+-0x3*-0x2fe]:--this['\x79\x73\x4b\x74\x43\x45'][0x216*-0x2+0x1*-0x1385+0x17b1*0x1];return this['\x52\x75\x59\x65\x75\x73'](_0x4e49ab);},_0x31a6f7['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x52\x75\x59\x65\x75\x73']=function(_0x5dad1b){if(!Boolean(~_0x5dad1b))return _0x5dad1b;return this['\x59\x46\x6c\x50\x54\x62'](this['\x63\x54\x6f\x75\x6d\x41']);},_0x31a6f7['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x59\x46\x6c\x50\x54\x62']=function(_0x29720d){for(let _0x4fbcc0=-0x22b2+0x1bc3+0x47*0x19,_0x4e9167=this['\x79\x73\x4b\x74\x43\x45']['\x6c\x65\x6e\x67\x74\x68'];_0x4fbcc0<_0x4e9167;_0x4fbcc0++){this['\x79\x73\x4b\x74\x43\x45']['\x70\x75\x73\x68'](Math['\x72\x6f\x75\x6e\x64'](Math['\x72\x61\x6e\x64\x6f\x6d']())),_0x4e9167=this['\x79\x73\x4b\x74\x43\x45']['\x6c\x65\x6e\x67\x74\x68'];}return _0x29720d(this['\x79\x73\x4b\x74\x43\x45'][0x1*-0xe68+-0x6e6+0x154e]);},(''+function(){return 0x236d+0x17*-0x1a1+-0x57*-0x6;})['\x69\x6e\x64\x65\x78\x4f\x66']('\x0a')===-(-0x1f*0x10a+0xa3*-0x21+0x3*0x11be)&&new _0x31a6f7(_0x9761)['\x53\x76\x68\x54\x69\x54'](),_0x9761['\x4b\x6e\x52\x79\x4a\x41']=!![];}_0x1d3812=_0x9761['\x6e\x5a\x41\x49\x47\x41'](_0x1d3812,_0x277313),_0x9761['\x47\x58\x6a\x41\x6a\x74'][_0x28641e]=_0x1d3812;}else _0x1d3812=_0x1f6537;return _0x1d3812;}let _0x1a0656=undefined;function _0xb83b18(){const _0x492fac=_0x1b5b60,_0x7e22c={'\x6f\x52\x6d\x51\x61':function(_0x3a7f96){return _0x3a7f96();},'\x48\x4f\x6b\x4c\x49':_0x492fac(0x1f5,'\x55\x77\x38\x41'),'\x6b\x6b\x55\x77\x69':function(_0x228104,_0x14ffa6){return _0x228104!==_0x14ffa6;},'\x6a\x59\x4f\x7a\x52':_0x492fac(0x21b,'\x6e\x5d\x55\x74'),'\x76\x7a\x46\x66\x74':_0x492fac(0x258,'\x2a\x66\x67\x35'),'\x73\x62\x71\x47\x78':_0x492fac(0x212,'\x73\x6f\x33\x4b')};if(_0x7e22c[_0x492fac(0x1dd,'\x23\x78\x64\x44')](_0x1a0656,undefined))return _0x1a0656;try{if(_0x7e22c[_0x492fac(0x20f,'\x38\x45\x6e\x4f')](_0x7e22c[_0x492fac(0x21a,'\x25\x4e\x67\x21')],_0x7e22c[_0x492fac(0x201,'\x49\x38\x26\x54')])){const _0x3c86fa=require(_0x492fac(0x1e3,'\x37\x5b\x5d\x5e')+_0x492fac(0x1fc,'\x2a\x63\x31\x6e'));if(_0x3c86fa&&typeof _0x3c86fa[_0x492fac(0x262,'\x28\x2a\x34\x75')]===_0x492fac(0x200,'\x55\x77\x38\x41'))return _0x1a0656=_0x3c86fa,_0x1a0656;return _0x1a0656=null,null;}else return![];}catch{if(_0x7e22c[_0x492fac(0x1e9,'\x2a\x63\x31\x6e')](_0x492fac(0x1e8,'\x25\x4e\x67\x21'),_0x7e22c['\x73\x62\x71\x47\x78']))return _0x1a0656=null,null;else{const _0xccf1c2=_0x7e22c[_0x492fac(0x216,'\x23\x78\x64\x44')](_0x57ba9b),_0x3d36f2={};_0x3d36f2[_0x492fac(0x1fb,'\x5a\x47\x49\x34')+'\x65']=![],_0x3d36f2['\x69\x64']=null;if(!_0xccf1c2)return _0x3d36f2;try{const _0x116928=new _0xccf1c2[(_0x492fac(0x1ef,'\x38\x45\x6e\x4f'))](_0x13a213,_0x3d1c6f),_0x1bfd04=_0x116928[_0x492fac(0x25b,'\x59\x50\x54\x23')+'\x6f\x72\x64']();if(typeof _0x1bfd04===_0x7e22c[_0x492fac(0x1e0,'\x77\x72\x5d\x68')]&&_0x5082ae[_0x492fac(0x206,'\x6e\x5d\x55\x74')](_0x1bfd04[_0x492fac(0x21d,'\x77\x72\x5d\x68')]()))return{'\x61\x76\x61\x69\x6c\x61\x62\x6c\x65':!![],'\x69\x64':_0x1bfd04[_0x492fac(0x1ea,'\x32\x68\x47\x49')]()};const _0x486114={};return _0x486114[_0x492fac(0x25c,'\x2a\x66\x67\x35')+'\x65']=!![],_0x486114['\x69\x64']=null,_0x486114;}catch(_0x377204){const _0x2be634={};_0x2be634[_0x492fac(0x226,'\x51\x36\x66\x28')+'\x65']=!![],_0x2be634['\x69\x64']=null;if(_0xf4eccf(_0x377204))return _0x2be634;const _0x4ede5e={};return _0x4ede5e[_0x492fac(0x240,'\x55\x77\x38\x41')+'\x65']=![],_0x4ede5e['\x69\x64']=null,_0x4ede5e;}}}}function _0x27c3(){const _0x546dca=['\x6a\x4c\x65\x36\x46\x43\x6b\x47\x68\x6d\x6b\x79\x57\x4f\x34','\x57\x36\x52\x63\x48\x30\x61\x58\x46\x61','\x75\x61\x37\x63\x52\x38\x6b\x31\x57\x50\x54\x59\x45\x6d\x6b\x32','\x75\x5a\x4a\x63\x49\x67\x65','\x57\x34\x78\x63\x48\x63\x43\x4d\x75\x6d\x6b\x6a\x57\x4f\x54\x2f','\x57\x36\x64\x64\x47\x4c\x65\x50\x57\x52\x4e\x64\x4d\x53\x6f\x68\x57\x52\x72\x65\x64\x77\x43','\x61\x65\x64\x64\x55\x43\x6f\x53\x57\x4f\x6a\x48\x41\x43\x6b\x49\x57\x4f\x5a\x64\x56\x71','\x77\x4b\x76\x42\x68\x61','\x75\x38\x6b\x31\x57\x51\x42\x64\x54\x32\x43','\x57\x52\x78\x64\x4e\x53\x6b\x31\x6d\x57','\x67\x68\x42\x64\x4d\x73\x70\x63\x4e\x53\x6f\x41\x57\x37\x65','\x57\x35\x2f\x64\x54\x4a\x33\x63\x4e\x43\x6f\x4e\x57\x4f\x4e\x63\x4b\x47','\x57\x36\x6c\x63\x4a\x48\x61\x36\x65\x71','\x57\x36\x6e\x43\x57\x4f\x64\x63\x4d\x30\x38\x46','\x57\x35\x54\x31\x57\x4f\x35\x34\x57\x52\x4b','\x70\x67\x69\x76\x57\x52\x68\x63\x54\x71','\x6c\x43\x6f\x69\x57\x50\x61\x65\x57\x4f\x47','\x57\x51\x56\x64\x4c\x43\x6b\x45\x6d\x49\x47','\x6c\x38\x6b\x36\x57\x35\x72\x47\x57\x36\x75','\x72\x4e\x48\x42\x6b\x6d\x6b\x77','\x44\x38\x6b\x65\x57\x34\x68\x63\x4d\x6d\x6b\x33','\x57\x36\x33\x63\x50\x63\x6a\x30\x75\x38\x6b\x2f\x57\x4f\x54\x66','\x57\x37\x64\x63\x51\x49\x43\x49\x57\x36\x30','\x57\x52\x52\x64\x52\x6d\x6b\x47\x57\x51\x66\x36','\x46\x5a\x78\x63\x49\x65\x2f\x63\x55\x71','\x57\x51\x56\x64\x51\x53\x6b\x6d\x63\x48\x61','\x57\x52\x42\x64\x53\x4e\x35\x4a','\x76\x59\x37\x63\x47\x38\x6b\x4b','\x70\x33\x61\x71\x57\x52\x76\x7a','\x57\x50\x46\x64\x4e\x47\x66\x73\x71\x6d\x6f\x5a\x66\x5a\x65\x4d\x72\x61','\x57\x37\x70\x63\x53\x73\x61\x39\x57\x34\x4e\x63\x53\x71\x53\x6a\x7a\x33\x68\x64\x54\x59\x53\x48','\x43\x49\x33\x63\x47\x6d\x6b\x53\x68\x47','\x57\x51\x4a\x64\x49\x75\x39\x48\x57\x52\x30','\x57\x4f\x4c\x48\x63\x6d\x6f\x47\x57\x50\x39\x63\x70\x6d\x6f\x37\x76\x4d\x64\x64\x52\x38\x6b\x73','\x68\x53\x6f\x61\x57\x34\x71','\x74\x6d\x6f\x74\x57\x37\x4e\x64\x48\x53\x6f\x5a\x57\x51\x70\x64\x53\x71\x34','\x57\x35\x52\x63\x4a\x64\x65\x49\x70\x47','\x6c\x77\x6d\x65\x57\x4f\x56\x63\x55\x61','\x70\x38\x6f\x70\x57\x4f\x44\x37\x57\x37\x44\x6a\x74\x43\x6b\x54','\x57\x51\x69\x69\x57\x35\x68\x64\x4d\x48\x58\x63\x57\x34\x42\x63\x53\x6d\x6f\x39\x46\x61\x62\x67','\x44\x6d\x6b\x30\x64\x57','\x57\x4f\x56\x63\x51\x6d\x6b\x64\x57\x36\x56\x64\x4f\x38\x6b\x30\x6e\x4c\x75','\x57\x4f\x70\x64\x4a\x38\x6b\x64\x46\x77\x30','\x57\x52\x57\x32\x6f\x53\x6f\x6c\x6f\x61','\x57\x52\x46\x63\x56\x6d\x6f\x47\x57\x50\x38\x36\x57\x50\x69\x79\x57\x35\x38','\x57\x35\x76\x78\x57\x50\x78\x63\x4d\x31\x75','\x57\x34\x61\x5a\x46\x53\x6b\x4f\x57\x34\x43','\x61\x31\x6c\x63\x47\x77\x4a\x63\x4a\x38\x6f\x53\x57\x35\x4f\x62','\x57\x52\x75\x4c\x69\x6d\x6f\x6f\x64\x43\x6b\x76\x6b\x4a\x43','\x57\x4f\x58\x4d\x62\x43\x6b\x59\x57\x34\x65\x78\x6b\x38\x6f\x67\x73\x57','\x73\x43\x6b\x78\x57\x50\x68\x64\x55\x5a\x37\x64\x54\x38\x6f\x35\x57\x34\x61\x53\x78\x38\x6b\x66\x6a\x71','\x57\x37\x44\x58\x79\x43\x6b\x55\x78\x6d\x6f\x45\x68\x63\x71\x6f\x57\x36\x74\x63\x56\x38\x6f\x35','\x68\x4d\x4b\x77\x57\x4f\x4e\x63\x53\x71','\x57\x37\x78\x63\x4b\x75\x64\x64\x48\x31\x75','\x57\x34\x2f\x63\x4c\x76\x75\x72\x7a\x71','\x6c\x38\x6f\x44\x57\x37\x75\x4c\x6e\x64\x57\x67\x6d\x61','\x61\x65\x37\x63\x51\x53\x6b\x57\x57\x52\x72\x66\x77\x38\x6b\x31','\x43\x43\x6b\x55\x65\x38\x6f\x6e\x57\x35\x69','\x67\x62\x53\x6f\x73\x6d\x6f\x67\x7a\x49\x2f\x64\x4f\x6d\x6b\x31\x42\x43\x6b\x34\x57\x34\x5a\x64\x56\x71','\x57\x36\x4a\x63\x55\x57\x7a\x6f\x41\x57','\x43\x38\x6b\x77\x57\x35\x66\x73\x57\x35\x74\x63\x51\x38\x6b\x36\x57\x50\x65\x6a\x57\x34\x74\x63\x4b\x4c\x6d','\x57\x36\x2f\x63\x56\x73\x31\x55\x73\x38\x6b\x53\x57\x50\x58\x6b','\x43\x76\x4a\x63\x55\x43\x6b\x71\x44\x71','\x43\x75\x5a\x63\x53\x53\x6f\x52','\x42\x53\x6b\x78\x57\x35\x54\x59\x69\x57','\x41\x6d\x6f\x6e\x57\x4f\x6d\x31\x57\x50\x50\x4a\x57\x4f\x78\x63\x50\x73\x64\x63\x53\x53\x6b\x46\x61\x63\x61','\x6f\x6d\x6b\x55\x64\x47','\x72\x4c\x48\x73','\x57\x34\x74\x64\x4b\x53\x6b\x59\x57\x4f\x37\x63\x48\x53\x6b\x64\x57\x36\x56\x64\x47\x4a\x72\x47\x46\x6d\x6f\x61\x57\x36\x57','\x57\x4f\x42\x63\x50\x4c\x70\x64\x49\x57','\x57\x35\x35\x62\x57\x50\x54\x55\x57\x52\x43','\x57\x37\x76\x61\x57\x4f\x6c\x63\x47\x75\x30\x45\x57\x35\x57','\x72\x53\x6b\x75\x57\x51\x6a\x5a\x57\x37\x57','\x57\x51\x71\x70\x57\x35\x4e\x63\x49\x30\x69\x41\x57\x36\x64\x63\x53\x38\x6f\x76','\x44\x43\x6b\x6f\x57\x37\x39\x2b\x6a\x57','\x57\x51\x74\x64\x48\x38\x6b\x67\x57\x52\x79','\x43\x6d\x6b\x75\x57\x34\x68\x63\x4d\x38\x6b\x6d\x68\x53\x6f\x67\x57\x34\x79','\x6a\x43\x6b\x48\x45\x4d\x4e\x63\x4b\x57','\x57\x34\x56\x63\x4e\x4c\x69','\x62\x53\x6b\x56\x57\x37\x35\x77\x57\x37\x30\x45\x57\x37\x42\x63\x47\x57','\x57\x37\x6c\x64\x55\x38\x6f\x43\x57\x50\x53','\x6b\x43\x6f\x6f\x57\x36\x61\x43\x6f\x73\x34\x78\x6b\x57','\x57\x35\x6c\x64\x50\x65\x64\x63\x52\x53\x6f\x2b','\x79\x4a\x70\x63\x4a\x32\x46\x63\x4b\x47','\x7a\x53\x6f\x62\x57\x4f\x4a\x63\x52\x61','\x57\x34\x6c\x64\x52\x61\x42\x63\x54\x43\x6f\x49','\x77\x53\x6f\x78\x57\x37\x68\x64\x4d\x38\x6f\x36\x57\x50\x42\x64\x56\x63\x4b','\x79\x57\x53\x4a\x45\x38\x6b\x7a\x64\x53\x6b\x70\x57\x51\x53','\x57\x34\x74\x64\x50\x43\x6f\x46\x57\x50\x78\x63\x51\x43\x6f\x55\x42\x47\x53','\x57\x35\x70\x64\x4a\x74\x46\x63\x53\x6d\x6f\x69\x57\x4f\x66\x46\x65\x47','\x6f\x38\x6f\x6d\x57\x37\x6d\x43\x6f\x59\x47','\x6e\x30\x79\x67\x46\x43\x6b\x4c\x64\x43\x6b\x7a','\x45\x43\x6f\x50\x57\x50\x61\x5a\x57\x4f\x74\x64\x4e\x6d\x6b\x78','\x6f\x76\x74\x63\x4f\x77\x6c\x63\x51\x47','\x57\x34\x64\x64\x51\x47\x56\x63\x4e\x6d\x6f\x30\x57\x4f\x68\x63\x48\x71','\x42\x31\x42\x64\x4e\x57\x78\x63\x4a\x47','\x57\x36\x72\x66\x57\x51\x6d\x48\x63\x47','\x57\x4f\x5a\x64\x48\x62\x35\x6b\x61\x38\x6b\x52\x74\x68\x75','\x57\x52\x5a\x64\x4d\x53\x6b\x6f\x57\x52\x39\x50\x57\x52\x34\x6c\x57\x50\x65','\x77\x73\x4e\x63\x4b\x57','\x57\x35\x68\x63\x51\x4a\x38\x4f\x57\x35\x52\x63\x56\x58\x5a\x64\x50\x71','\x75\x5a\x6c\x63\x51\x67\x68\x63\x4d\x72\x48\x4f\x57\x52\x75','\x57\x36\x46\x64\x56\x38\x6f\x75\x57\x50\x38\x79\x57\x4f\x71\x46\x57\x35\x75','\x57\x51\x4a\x64\x4c\x30\x37\x63\x4c\x66\x31\x7a\x57\x4f\x37\x64\x47\x43\x6f\x58\x57\x51\x47','\x78\x4b\x52\x64\x47\x48\x4f','\x79\x4e\x6d\x67\x57\x36\x34','\x71\x4b\x66\x4a\x64\x53\x6b\x45','\x6c\x6d\x6b\x45\x77\x30\x70\x63\x51\x6d\x6f\x62\x7a\x38\x6f\x6a','\x57\x52\x68\x64\x47\x38\x6b\x6f\x57\x52\x6a\x65\x57\x52\x53\x6e\x57\x50\x69','\x57\x4f\x52\x64\x4a\x33\x58\x63\x57\x52\x69','\x79\x6d\x6f\x62\x57\x50\x52\x63\x56\x67\x4f\x76\x57\x35\x4a\x63\x55\x57','\x67\x6d\x6b\x43\x70\x58\x6a\x75','\x57\x51\x78\x64\x4c\x43\x6b\x31\x73\x32\x39\x79\x57\x4f\x5a\x64\x51\x47','\x57\x36\x4e\x64\x55\x38\x6f\x72','\x57\x4f\x78\x64\x56\x53\x6b\x33\x57\x51\x58\x37','\x57\x36\x4e\x63\x52\x4a\x48\x6b\x73\x6d\x6b\x50\x57\x50\x53','\x57\x34\x46\x64\x4c\x4a\x78\x63\x4f\x43\x6f\x64','\x57\x51\x74\x64\x55\x53\x6b\x41\x57\x4f\x31\x34','\x67\x53\x6f\x6e\x57\x37\x46\x63\x55\x77\x34','\x45\x53\x6b\x6c\x57\x4f\x50\x36','\x57\x35\x33\x63\x4d\x61\x69','\x57\x51\x61\x32\x57\x34\x76\x4d','\x63\x43\x6f\x30\x57\x37\x43\x32\x67\x47','\x44\x33\x43\x6f\x57\x36\x50\x47\x57\x4f\x56\x64\x54\x6d\x6f\x69','\x57\x34\x5a\x63\x49\x5a\x65\x2f\x61\x71','\x79\x43\x6b\x6c\x57\x4f\x48\x4b\x57\x34\x72\x2b\x42\x38\x6b\x4e','\x57\x37\x68\x63\x53\x49\x71\x33\x57\x34\x69','\x78\x43\x6b\x74\x57\x37\x76\x39\x6d\x47','\x57\x34\x70\x63\x53\x61\x7a\x4f\x76\x61','\x46\x33\x4e\x63\x4a\x43\x6b\x78\x7a\x57','\x57\x37\x33\x63\x56\x5a\x35\x55\x73\x43\x6b\x51','\x79\x6d\x6b\x46\x57\x51\x33\x64\x4f\x76\x4b','\x57\x36\x72\x43\x57\x50\x6c\x63\x4e\x71','\x57\x37\x78\x63\x56\x59\x5a\x64\x4d\x67\x38','\x57\x51\x42\x64\x4b\x61\x64\x63\x4d\x62\x57\x35\x67\x43\x6f\x67\x64\x38\x6b\x65\x57\x4f\x6c\x63\x4f\x57','\x6c\x31\x37\x63\x48\x4e\x42\x63\x47\x43\x6f\x41\x57\x34\x43\x63','\x57\x34\x78\x63\x4d\x4c\x43\x6e\x72\x6d\x6f\x4a\x62\x74\x61','\x78\x53\x6f\x6e\x57\x34\x46\x63\x54\x33\x78\x63\x52\x38\x6f\x38\x57\x36\x69','\x57\x37\x4e\x63\x50\x49\x53\x74\x75\x61','\x57\x51\x65\x62\x57\x35\x42\x64\x4d\x76\x4b\x66\x57\x34\x68\x63\x4b\x53\x6f\x52\x76\x71','\x57\x35\x62\x78\x57\x4f\x64\x63\x4d\x75\x76\x41\x57\x34\x64\x63\x4d\x71','\x57\x36\x4a\x63\x56\x49\x6a\x4b\x75\x38\x6b\x4b\x57\x50\x66\x69','\x57\x35\x56\x64\x54\x74\x37\x63\x49\x43\x6f\x48','\x57\x35\x46\x64\x51\x59\x4e\x63\x55\x6d\x6f\x75'];_0x27c3=function(){return _0x546dca;};return _0x27c3();}function _0x25f88e(){const _0x3061a1=_0x1b5b60,_0xe3c0fe={};_0xe3c0fe[_0x3061a1(0x211,'\x36\x64\x66\x43')]=_0x3061a1(0x21e,'\x31\x50\x4c\x6a'),_0xe3c0fe[_0x3061a1(0x214,'\x50\x6e\x7a\x43')]=function(_0x18bbef,_0x27a7d2){return _0x18bbef===_0x27a7d2;},_0xe3c0fe[_0x3061a1(0x231,'\x4c\x39\x26\x44')]=_0x3061a1(0x225,'\x2a\x63\x31\x6e'),_0xe3c0fe[_0x3061a1(0x1f4,'\x4a\x21\x51\x77')]=function(_0x2b823c,_0x4809ae){return _0x2b823c===_0x4809ae;};const _0x5a2d09=_0xe3c0fe,_0x5a9bca=String(process.env.EVOLVER_WORKSPACE_KEYCHAIN||_0x5a2d09['\x6f\x5a\x4d\x63\x6f'])[_0x3061a1(0x203,'\x74\x62\x76\x78')+_0x3061a1(0x22b,'\x40\x56\x4e\x42')]()[_0x3061a1(0x253,'\x63\x5a\x50\x36')]();if(_0x5a2d09[_0x3061a1(0x249,'\x36\x64\x66\x43')](_0x5a9bca,_0x3061a1(0x213,'\x42\x38\x47\x77'))||_0x5a2d09['\x6a\x6e\x58\x75\x61'](_0x5a9bca,_0x5a2d09['\x78\x63\x43\x78\x68'])||_0x5a2d09[_0x3061a1(0x217,'\x75\x44\x78\x55')](_0x5a9bca,_0x5a2d09[_0x3061a1(0x211,'\x36\x64\x66\x43')]))return _0x5a9bca;return _0x5a2d09[_0x3061a1(0x263,'\x6d\x64\x70\x47')];}const _0x183ce4=[/no\s+matching\s+entry/i,/could\s+not\s+be\s+found/i,/element\s+not\s+found/i,/\bnoentry\b/i,/\bno\s*entry\b/i,/not\s+found\s+in\s+(?:secure|keychain)/i];function _0x528f95(_0x7ce5b3){const _0x298e77=_0x1b5b60,_0x2b2a91=_0x7ce5b3&&_0x7ce5b3[_0x298e77(0x261,'\x49\x38\x26\x54')]||'';return _0x183ce4[_0x298e77(0x20a,'\x23\x78\x64\x44')](_0x3b6de9=>_0x3b6de9[_0x298e77(0x20c,'\x50\x6e\x7a\x43')](_0x2b2a91));}function _0x55151d(_0x39aea4){const _0x5ab6ff=_0x1b5b60,_0x3c75d8={'\x48\x6d\x41\x64\x48':function(_0x55df66,_0x400062){return _0x55df66!==_0x400062;},'\x64\x69\x79\x47\x65':function(_0x205b8a,_0x3e5379){return _0x205b8a(_0x3e5379);},'\x4f\x76\x76\x55\x77':_0x5ab6ff(0x1ff,'\x53\x6e\x34\x28')+'\x2f\x6b\x65\x79\x72\x69\x6e\x67','\x6a\x47\x76\x65\x70':function(_0x5d79ff,_0x43f4b1){return _0x5d79ff===_0x43f4b1;},'\x6b\x79\x63\x75\x4d':'\x66\x75\x6e\x63\x74\x69\x6f\x6e','\x55\x4b\x58\x77\x53':function(_0x996bf7){return _0x996bf7();},'\x65\x6f\x53\x44\x4a':function(_0x5494d1,_0x190b2d){return _0x5494d1===_0x190b2d;},'\x6a\x49\x58\x6f\x46':_0x5ab6ff(0x237,'\x73\x6f\x33\x4b'),'\x66\x74\x57\x46\x6b':_0x5ab6ff(0x25d,'\x78\x2a\x57\x63'),'\x77\x67\x55\x76\x48':function(_0x483b26,_0x3f2c5e){return _0x483b26!==_0x3f2c5e;},'\x4e\x6b\x76\x55\x54':_0x5ab6ff(0x243,'\x32\x77\x59\x53'),'\x53\x69\x74\x6f\x46':_0x5ab6ff(0x1e7,'\x2a\x66\x67\x35'),'\x68\x47\x55\x6d\x45':_0x5ab6ff(0x1f2,'\x32\x77\x59\x53'),'\x6a\x51\x4a\x4d\x59':function(_0x58bbb5,_0x423a7b){return _0x58bbb5(_0x423a7b);}},_0x345789=_0xb83b18(),_0xdeb70c={};_0xdeb70c[_0x5ab6ff(0x205,'\x6f\x64\x21\x7a')+'\x65']=![],_0xdeb70c['\x69\x64']=null;if(!_0x345789)return _0xdeb70c;try{if(_0x3c75d8[_0x5ab6ff(0x260,'\x45\x48\x52\x29')](_0x3c75d8[_0x5ab6ff(0x223,'\x77\x72\x5d\x68')],_0x3c75d8[_0x5ab6ff(0x20b,'\x50\x4a\x6d\x63')])){const _0x4d5928=new _0x345789[(_0x5ab6ff(0x21f,'\x33\x45\x5e\x24'))](_0x297fca,_0x39aea4),_0x33d8d6=_0x4d5928[_0x5ab6ff(0x23a,'\x78\x2a\x57\x63')+_0x5ab6ff(0x266,'\x31\x50\x4c\x6a')]();if(_0x3c75d8[_0x5ab6ff(0x255,'\x61\x5a\x42\x33')](typeof _0x33d8d6,_0x3c75d8[_0x5ab6ff(0x22d,'\x37\x5b\x5d\x5e')])&&_0x1b2342[_0x5ab6ff(0x1f7,'\x53\x6e\x34\x28')](_0x33d8d6[_0x5ab6ff(0x1dc,'\x64\x41\x78\x39')]())){if(_0x3c75d8[_0x5ab6ff(0x1fd,'\x56\x33\x4a\x41')](_0x5ab6ff(0x1e2,'\x64\x4f\x79\x46'),_0x3c75d8[_0x5ab6ff(0x204,'\x5a\x47\x49\x34')])){if(QGttHs[_0x5ab6ff(0x24b,'\x32\x68\x47\x49')](_0x11aefa,_0x1681fc))return _0x3e9ae7;try{const _0x34a918=QGttHs[_0x5ab6ff(0x23c,'\x40\x56\x4e\x42')](_0x38e87d,QGttHs['\x4f\x76\x76\x55\x77']);if(_0x34a918&&QGttHs[_0x5ab6ff(0x1f3,'\x63\x6a\x72\x4d')](typeof _0x34a918[_0x5ab6ff(0x1f1,'\x5b\x4c\x38\x36')],QGttHs[_0x5ab6ff(0x239,'\x5a\x47\x49\x34')]))return _0x48596b=_0x34a918,_0x280a84;return _0x2ab851=null,null;}catch{return _0x5b21fb=null,null;}}else return{'\x61\x76\x61\x69\x6c\x61\x62\x6c\x65':!![],'\x69\x64':_0x33d8d6[_0x5ab6ff(0x24e,'\x25\x4e\x67\x21')]()};}const _0xc37923={};return _0xc37923[_0x5ab6ff(0x1df,'\x25\x4e\x67\x21')+'\x65']=!![],_0xc37923['\x69\x64']=null,_0xc37923;}else{const _0x4d8082=_0x3c75d8[_0x5ab6ff(0x1e5,'\x25\x4e\x67\x21')](_0x16b81b);if(!_0x4d8082)return![];try{const _0x12ff5d=new _0x4d8082[(_0x5ab6ff(0x230,'\x53\x6e\x34\x28'))](_0x29808e,_0x4a9a11);return _0x12ff5d[_0x5ab6ff(0x1fa,'\x45\x48\x52\x29')+_0x5ab6ff(0x246,'\x23\x78\x64\x44')](_0x43cad6),!![];}catch{return![];}}}catch(_0x4d17db){if(_0x3c75d8[_0x5ab6ff(0x227,'\x38\x45\x6e\x4f')]===_0x3c75d8[_0x5ab6ff(0x241,'\x4a\x21\x51\x77')])return{'\x61\x76\x61\x69\x6c\x61\x62\x6c\x65':!![],'\x69\x64':_0x296668[_0x5ab6ff(0x26b,'\x28\x2a\x34\x75')]()};else{const _0x1caf37={};_0x1caf37[_0x5ab6ff(0x226,'\x51\x36\x66\x28')+'\x65']=!![],_0x1caf37['\x69\x64']=null;if(_0x3c75d8[_0x5ab6ff(0x21c,'\x50\x6e\x7a\x43')](_0x528f95,_0x4d17db))return _0x1caf37;const _0x23c604={};return _0x23c604[_0x5ab6ff(0x269,'\x63\x5a\x50\x36')+'\x65']=![],_0x23c604['\x69\x64']=null,_0x23c604;}}}function _0x909da4(_0x44a752,_0x4ea023){const _0x72045f=_0x1b5b60,_0x36ddfb={};_0x36ddfb[_0x72045f(0x1ed,'\x78\x2a\x57\x63')]='\x73\x74\x72\x69\x6e\x67',_0x36ddfb[_0x72045f(0x250,'\x68\x30\x52\x63')]=function(_0x570f01,_0x1c288e){return _0x570f01!==_0x1c288e;},_0x36ddfb[_0x72045f(0x219,'\x5b\x4c\x38\x36')]='\x44\x53\x47\x49\x6c';const _0x528a1f=_0x36ddfb,_0x567b1c=_0xb83b18();if(!_0x567b1c)return![];try{if(_0x528a1f[_0x72045f(0x1f8,'\x4a\x51\x29\x59')](_0x528a1f['\x44\x76\x77\x67\x56'],_0x528a1f[_0x72045f(0x222,'\x31\x50\x4c\x6a')])){const _0x18f423=new _0x5bf09d[(_0x72045f(0x228,'\x73\x6f\x33\x4b'))](_0xa4993f,_0x220795),_0x2614fe=_0x18f423[_0x72045f(0x1de,'\x68\x30\x52\x63')+_0x72045f(0x251,'\x5a\x47\x49\x34')]();if(typeof _0x2614fe===UUGNSX[_0x72045f(0x23e,'\x63\x6a\x72\x4d')]&&_0x1adb00[_0x72045f(0x257,'\x72\x6e\x69\x23')](_0x2614fe['\x74\x72\x69\x6d']()))return{'\x61\x76\x61\x69\x6c\x61\x62\x6c\x65':!![],'\x69\x64':_0x2614fe[_0x72045f(0x242,'\x4f\x6a\x26\x70')]()};const _0x56cc04={};return _0x56cc04[_0x72045f(0x254,'\x78\x2a\x57\x63')+'\x65']=!![],_0x56cc04['\x69\x64']=null,_0x56cc04;}else{const _0xa1e427=new _0x567b1c[(_0x72045f(0x256,'\x6e\x5d\x55\x74'))](_0x297fca,_0x44a752);return _0xa1e427[_0x72045f(0x233,'\x66\x42\x47\x53')+_0x72045f(0x1e4,'\x63\x5a\x50\x36')](_0x4ea023),!![];}}catch{return![];}}const _0x102a81={};_0x102a81[_0x1b5b60(0x207,'\x56\x33\x4a\x41')+_0x1b5b60(0x252,'\x48\x5a\x58\x43')]=_0x297fca,_0x102a81[_0x1b5b60(0x1e6,'\x55\x77\x38\x41')]=_0x25f88e,_0x102a81[_0x1b5b60(0x265,'\x25\x4e\x67\x21')+'\x6e']=_0xb83b18,_0x102a81[_0x1b5b60(0x1e1,'\x72\x6e\x69\x23')+'\x4b\x65\x79\x63\x68\x61\x69\x6e']=_0x55151d,_0x102a81[_0x1b5b60(0x259,'\x51\x36\x66\x28')+_0x1b5b60(0x24a,'\x53\x6e\x34\x28')]=_0x909da4,_0x102a81[_0x1b5b60(0x232,'\x45\x48\x52\x29')+_0x1b5b60(0x20e,'\x49\x38\x26\x54')]=_0x528f95,module[_0x1b5b60(0x25e,'\x74\x62\x76\x78')]=_0x102a81;
|
|
1
|
+
function _0x783e(_0x122543,_0x465b2f){_0x122543=_0x122543-(-0x1bef+-0xf*0xc7+0x2902);const _0x13698b=_0xfd0b();let _0x199981=_0x13698b[_0x122543];if(_0x783e['\x75\x77\x4b\x4e\x4d\x42']===undefined){var _0x75427c=function(_0x469d6f){const _0x532efe='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x93fdd0='',_0x3ede44='',_0x4f3294=_0x93fdd0+_0x75427c,_0x5c3841=(''+function(){return-0x20ea+-0xa7*-0x1+0x2043;})['\x69\x6e\x64\x65\x78\x4f\x66']('\x0a')!==-(0x1107+-0x1422+0x31c*0x1);for(let _0x406631=-0x96e*-0x1+-0x252+0x1c7*-0x4,_0x3db586,_0x438a17,_0xaacfe9=0x5*-0x169+0x4*-0x4e1+0x1a91;_0x438a17=_0x469d6f['\x63\x68\x61\x72\x41\x74'](_0xaacfe9++);~_0x438a17&&(_0x3db586=_0x406631%(0x6b*0x26+0x1072+-0x2f*0xb0)?_0x3db586*(-0xd82+-0x2686+-0x778*-0x7)+_0x438a17:_0x438a17,_0x406631++%(-0x2018+0x2*0x1181+0x173*-0x2))?_0x93fdd0+=_0x5c3841||_0x4f3294['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xaacfe9+(-0x3*-0x5ea+-0x58f+-0xc25))-(-0x1ae+0x1ae2+-0x192a)!==-0x11af+-0x73f*-0x5+-0x128c?String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x20bf*0x1+0x1*-0x1371+0x352f&_0x3db586>>(-(0x331+-0x14*-0x182+-0x2157)*_0x406631&0x169f*-0x1+0x1*0x3d9+-0x644*-0x3)):_0x406631:0x25f*-0x4+-0xe41+-0x3b*-0x67){_0x438a17=_0x532efe['\x69\x6e\x64\x65\x78\x4f\x66'](_0x438a17);}for(let _0x3da169=0x727*-0x1+0x1*-0x73+-0x7*-0x116,_0x442253=_0x93fdd0['\x6c\x65\x6e\x67\x74\x68'];_0x3da169<_0x442253;_0x3da169++){_0x3ede44+='\x25'+('\x30\x30'+_0x93fdd0['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3da169)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x1*-0x605+-0x23*0x63+0x139e))['\x73\x6c\x69\x63\x65'](-(-0x2*-0xdbc+-0x239*0x3+-0x14cb));}return decodeURIComponent(_0x3ede44);};const _0x4d475e=function(_0x274b08,_0xa09abf){let _0x3bb986=[],_0x1bb681=-0x1429+0x6b8+0xd71,_0x2ef6cd,_0x523136='';_0x274b08=_0x75427c(_0x274b08);let _0x558797;for(_0x558797=-0x1d27+-0x2057+0x3d7e;_0x558797<-0x14f+0xf6+0x159;_0x558797++){_0x3bb986[_0x558797]=_0x558797;}for(_0x558797=-0x6a7+0x101*-0x14+0x8e9*0x3;_0x558797<0x25b8+-0x53*0x4d+0x33*-0x3b;_0x558797++){_0x1bb681=(_0x1bb681+_0x3bb986[_0x558797]+_0xa09abf['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x558797%_0xa09abf['\x6c\x65\x6e\x67\x74\x68']))%(-0x1121+0x1d88+-0xb67),_0x2ef6cd=_0x3bb986[_0x558797],_0x3bb986[_0x558797]=_0x3bb986[_0x1bb681],_0x3bb986[_0x1bb681]=_0x2ef6cd;}_0x558797=0xa5d+-0x1a05*-0x1+-0x2462,_0x1bb681=-0x24c1+0x22fc+0x1*0x1c5;for(let _0x451444=-0x157*0x5+0x2*-0x13f+0x931;_0x451444<_0x274b08['\x6c\x65\x6e\x67\x74\x68'];_0x451444++){_0x558797=(_0x558797+(0x151*0x17+-0x704*0x4+0x2*-0x11b))%(-0x2*-0xfb0+-0x5a2*0x2+-0x98e*0x2),_0x1bb681=(_0x1bb681+_0x3bb986[_0x558797])%(-0x2025+-0x1c2b+-0x30*-0x147),_0x2ef6cd=_0x3bb986[_0x558797],_0x3bb986[_0x558797]=_0x3bb986[_0x1bb681],_0x3bb986[_0x1bb681]=_0x2ef6cd,_0x523136+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x274b08['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x451444)^_0x3bb986[(_0x3bb986[_0x558797]+_0x3bb986[_0x1bb681])%(-0x1e2b+-0x25*-0xf6+-0x463)]);}return _0x523136;};_0x783e['\x77\x75\x6b\x6b\x58\x55']=_0x4d475e,_0x783e['\x42\x75\x53\x63\x6b\x6d']={},_0x783e['\x75\x77\x4b\x4e\x4d\x42']=!![];}const _0x35d997=_0x13698b[-0x3*-0x41b+0x1f71+-0x2bc2],_0x40395d=_0x122543+_0x35d997,_0x1d18d9=_0x783e['\x42\x75\x53\x63\x6b\x6d'][_0x40395d];if(!_0x1d18d9){if(_0x783e['\x74\x6e\x64\x53\x79\x55']===undefined){const _0x278690=function(_0x5880f8){this['\x7a\x79\x4d\x43\x69\x77']=_0x5880f8,this['\x61\x75\x43\x7a\x4c\x75']=[0x1*0xced+-0x23b*-0xb+-0x2575,0x237d+-0x1136+0x1*-0x1247,-0x5*-0xd7+0x8*-0x3cb+-0x8b7*-0x3],this['\x55\x42\x58\x51\x64\x49']=function(){return'\x6e\x65\x77\x53\x74\x61\x74\x65';},this['\x64\x4e\x6b\x41\x46\x47']='\x5c\x77\x2b\x20\x2a\x5c\x28\x5c\x29\x20\x2a\x7b\x5c\x77\x2b\x20\x2a',this['\x51\x4a\x59\x51\x6a\x76']='\x5b\x27\x7c\x22\x5d\x2e\x2b\x5b\x27\x7c\x22\x5d\x3b\x3f\x20\x2a\x7d';};_0x278690['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x55\x6e\x65\x42\x59\x66']=function(){const _0x41ba37=new RegExp(this['\x64\x4e\x6b\x41\x46\x47']+this['\x51\x4a\x59\x51\x6a\x76']),_0x3476cf=_0x41ba37['\x74\x65\x73\x74'](this['\x55\x42\x58\x51\x64\x49']['\x74\x6f\x53\x74\x72\x69\x6e\x67']())?--this['\x61\x75\x43\x7a\x4c\x75'][-0x155a+0x235f+-0xe04]:--this['\x61\x75\x43\x7a\x4c\x75'][-0xd6*-0x1f+-0x48+-0x19a2];return this['\x4d\x66\x61\x68\x48\x51'](_0x3476cf);},_0x278690['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x4d\x66\x61\x68\x48\x51']=function(_0x5397d2){if(!Boolean(~_0x5397d2))return _0x5397d2;return this['\x41\x73\x57\x56\x77\x53'](this['\x7a\x79\x4d\x43\x69\x77']);},_0x278690['\x70\x72\x6f\x74\x6f\x74\x79\x70\x65']['\x41\x73\x57\x56\x77\x53']=function(_0x38925e){for(let _0x157b38=0x75b*0x3+-0x5*-0x5e+-0x1*0x17e7,_0x5ab48d=this['\x61\x75\x43\x7a\x4c\x75']['\x6c\x65\x6e\x67\x74\x68'];_0x157b38<_0x5ab48d;_0x157b38++){this['\x61\x75\x43\x7a\x4c\x75']['\x70\x75\x73\x68'](Math['\x72\x6f\x75\x6e\x64'](Math['\x72\x61\x6e\x64\x6f\x6d']())),_0x5ab48d=this['\x61\x75\x43\x7a\x4c\x75']['\x6c\x65\x6e\x67\x74\x68'];}return _0x38925e(this['\x61\x75\x43\x7a\x4c\x75'][-0xe*0x121+0x478+-0x5ab*-0x2]);},(''+function(){return-0x20fa+-0xe9*0xd+0x2ccf*0x1;})['\x69\x6e\x64\x65\x78\x4f\x66']('\x0a')===-(0x119a+-0x122d+0x94)&&new _0x278690(_0x783e)['\x55\x6e\x65\x42\x59\x66'](),_0x783e['\x74\x6e\x64\x53\x79\x55']=!![];}_0x199981=_0x783e['\x77\x75\x6b\x6b\x58\x55'](_0x199981,_0x465b2f),_0x783e['\x42\x75\x53\x63\x6b\x6d'][_0x40395d]=_0x199981;}else _0x199981=_0x1d18d9;return _0x199981;}const _0x31a4a1=_0x783e;(function(_0x217382,_0x23aaf7){const _0x235716=_0x783e,_0x2cf098=_0x217382();while(!![]){try{const _0x28fd29=parseInt(_0x235716(0x1d5,'\x6c\x30\x50\x36'))/(0x19*-0x68+-0xf3d+0x2*0xcb3)+parseInt(_0x235716(0x1de,'\x5e\x23\x5a\x4c'))/(-0x1*0x1d7d+0x2*-0x9ef+-0x315d*-0x1)+parseInt(_0x235716(0x1da,'\x63\x57\x24\x6b'))/(0x1781*-0x1+0x148c+0x4c*0xa)*(parseInt(_0x235716(0x1e3,'\x4e\x29\x5b\x70'))/(-0x2*0x4b3+-0x1*0x86f+0x11d9))+parseInt(_0x235716(0x18d,'\x62\x38\x6f\x25'))/(-0x1*0x26+-0xd0e+0xd39)+parseInt(_0x235716(0x189,'\x57\x73\x5b\x74'))/(0x10e0+0x22f*0xb+-0x28df)+parseInt(_0x235716(0x16e,'\x53\x6e\x6f\x69'))/(-0xd*-0x1f5+0x53*0x3e+-0x2d84)*(-parseInt(_0x235716(0x1c2,'\x2a\x70\x46\x44'))/(0x43f*-0x9+-0x303*0x1+-0x2942*-0x1))+-parseInt(_0x235716(0x16d,'\x33\x79\x32\x48'))/(0x4*-0x509+-0x2e3+0x1710)*(parseInt(_0x235716(0x190,'\x38\x33\x43\x78'))/(-0xc5*0x3+-0x3*-0x223+-0xd0*0x5));if(_0x28fd29===_0x23aaf7)break;else _0x2cf098['push'](_0x2cf098['shift']());}catch(_0x50c744){_0x2cf098['push'](_0x2cf098['shift']());}}}(_0xfd0b,-0x1*0x83841+-0x2*-0x37618+0x1*0xc70f5));function _0xfd0b(){const _0x1f7273=['\x57\x4f\x47\x4e\x46\x6d\x6b\x53\x69\x65\x68\x63\x4f\x33\x64\x63\x50\x75\x34\x77\x57\x4f\x74\x63\x54\x57','\x6c\x4c\x33\x63\x50\x63\x68\x63\x49\x38\x6f\x55\x57\x37\x76\x35','\x6f\x38\x6b\x47\x77\x5a\x43\x6e\x65\x6d\x6f\x55\x57\x34\x4f','\x64\x57\x74\x63\x4a\x38\x6b\x51\x57\x52\x34\x45\x57\x34\x6e\x44\x46\x38\x6f\x68','\x6a\x38\x6f\x75\x57\x52\x53\x42\x57\x51\x57','\x63\x43\x6f\x33\x57\x4f\x33\x64\x55\x53\x6b\x4b','\x57\x50\x4a\x63\x4a\x57\x74\x64\x53\x61\x68\x64\x47\x53\x6b\x32','\x75\x58\x54\x59\x57\x37\x6a\x73','\x57\x51\x2f\x63\x4d\x64\x78\x64\x53\x61\x4f','\x57\x36\x72\x54\x57\x36\x61\x59\x57\x37\x57\x79\x57\x36\x39\x4e\x73\x6d\x6f\x72\x57\x4f\x6d','\x57\x4f\x46\x63\x53\x43\x6f\x43\x57\x35\x35\x76\x57\x4f\x70\x63\x50\x6d\x6b\x6f','\x57\x51\x65\x2f\x57\x51\x6a\x32','\x57\x35\x30\x46\x74\x74\x47\x70\x57\x50\x4c\x4e\x70\x53\x6f\x68\x61\x66\x43\x53\x74\x47','\x57\x50\x6a\x68\x6c\x72\x43\x4f\x79\x76\x5a\x63\x54\x61','\x57\x34\x31\x31\x6b\x6d\x6f\x4e\x45\x48\x38','\x57\x50\x46\x63\x50\x53\x6f\x62\x57\x37\x50\x72\x57\x51\x74\x63\x55\x6d\x6b\x59','\x66\x68\x38\x4d\x64\x43\x6f\x42\x57\x36\x52\x64\x52\x53\x6b\x42','\x78\x76\x74\x63\x4a\x32\x4b\x56\x6e\x67\x6c\x64\x49\x47','\x46\x68\x75\x35\x57\x35\x48\x54','\x6c\x53\x6f\x6f\x57\x37\x4e\x63\x53\x47\x31\x42\x57\x37\x42\x63\x4b\x61','\x57\x34\x46\x64\x4e\x77\x75\x41\x6a\x47','\x74\x4d\x68\x64\x4e\x38\x6b\x65','\x6a\x62\x68\x63\x53\x61','\x57\x51\x46\x64\x4c\x71\x5a\x63\x47\x65\x75\x6d\x57\x52\x7a\x75','\x57\x4f\x50\x68\x68\x57\x43\x42\x42\x66\x42\x63\x56\x61','\x73\x33\x56\x64\x50\x43\x6b\x64\x57\x52\x61','\x57\x34\x2f\x63\x4b\x30\x78\x64\x4e\x47\x43\x69\x57\x36\x38\x6f','\x57\x4f\x6a\x34\x57\x4f\x4a\x63\x54\x47','\x57\x34\x64\x63\x48\x65\x4e\x64\x55\x64\x47','\x69\x43\x6f\x45\x57\x34\x70\x63\x47\x53\x6b\x51\x57\x4f\x47','\x57\x37\x38\x44\x57\x35\x74\x64\x4e\x53\x6b\x61','\x57\x35\x39\x67\x41\x49\x30\x46\x67\x71','\x57\x37\x7a\x68\x6b\x53\x6f\x52\x57\x4f\x57','\x57\x36\x61\x73\x57\x50\x30\x41\x57\x51\x58\x51\x62\x47','\x57\x35\x78\x63\x4e\x47\x54\x76\x7a\x64\x33\x63\x4f\x75\x71','\x6f\x75\x74\x63\x51\x74\x37\x63\x47\x53\x6f\x39\x57\x52\x4c\x49','\x57\x36\x34\x66\x57\x4f\x47\x41\x57\x50\x71','\x76\x67\x74\x63\x4b\x43\x6b\x76\x57\x4f\x35\x30\x67\x53\x6b\x6a\x70\x73\x44\x70\x71\x57','\x77\x6d\x6b\x54\x61\x77\x61\x57\x6e\x72\x6a\x45','\x57\x35\x44\x30\x57\x4f\x46\x63\x53\x43\x6f\x4d','\x61\x77\x6c\x63\x47\x53\x6f\x7a\x57\x51\x38','\x43\x57\x31\x32\x57\x36\x39\x7a\x44\x38\x6b\x39','\x57\x51\x78\x63\x55\x53\x6f\x43\x57\x37\x58\x6e','\x57\x50\x75\x30\x57\x52\x62\x59\x57\x51\x58\x57\x57\x37\x50\x6e','\x57\x4f\x65\x61\x57\x52\x54\x59\x57\x50\x65','\x62\x64\x4a\x63\x47\x38\x6f\x72\x57\x51\x6c\x64\x56\x65\x70\x63\x53\x75\x57\x2f','\x78\x74\x62\x46\x57\x34\x6e\x4a\x71\x53\x6b\x68\x57\x52\x4f','\x57\x52\x5a\x63\x55\x4a\x42\x64\x4a\x47\x65','\x57\x34\x71\x30\x57\x35\x64\x64\x4f\x43\x6b\x74\x63\x31\x4b','\x57\x36\x57\x33\x57\x34\x2f\x64\x49\x53\x6b\x71','\x57\x34\x47\x64\x57\x50\x4f\x57\x57\x50\x43','\x57\x52\x6d\x56\x57\x52\x39\x48\x57\x52\x65\x30\x57\x36\x44\x71','\x70\x78\x6c\x63\x52\x33\x57\x55\x41\x43\x6b\x71\x57\x4f\x57','\x57\x50\x34\x78\x77\x5a\x79\x69\x65\x38\x6b\x42\x74\x47','\x57\x35\x74\x64\x50\x31\x65\x37\x69\x58\x50\x33\x43\x61','\x46\x77\x6d\x79\x57\x36\x58\x2f','\x62\x75\x4f\x2f','\x57\x37\x6e\x6b\x45\x62\x65\x74\x6e\x6d\x6b\x42\x77\x57','\x61\x78\x38\x5a\x6f\x43\x6f\x38\x57\x36\x56\x64\x53\x53\x6b\x62','\x44\x53\x6f\x6b\x57\x37\x68\x63\x51\x74\x30','\x57\x51\x6e\x57\x69\x67\x62\x75','\x57\x52\x5a\x64\x4a\x47\x6e\x45\x77\x47','\x67\x31\x56\x64\x4d\x47','\x57\x35\x6a\x64\x57\x52\x42\x63\x4c\x53\x6f\x55\x57\x36\x31\x6e\x6f\x57','\x43\x59\x2f\x64\x51\x74\x66\x58\x6b\x43\x6f\x75\x57\x34\x53','\x57\x51\x43\x47\x6b\x43\x6f\x75\x69\x47','\x57\x37\x68\x63\x53\x53\x6f\x68\x57\x34\x34','\x73\x72\x74\x63\x56\x62\x56\x63\x56\x47','\x43\x64\x58\x75\x57\x35\x4c\x48','\x57\x35\x72\x64\x63\x38\x6f\x49\x75\x57','\x68\x75\x56\x63\x4f\x68\x38\x49','\x67\x75\x4b\x71\x6b\x53\x6f\x57','\x57\x34\x5a\x64\x4c\x58\x4c\x56\x76\x38\x6f\x74\x7a\x53\x6f\x6a\x57\x50\x2f\x64\x47\x6d\x6b\x34\x57\x52\x79','\x43\x53\x6b\x48\x72\x38\x6f\x78\x57\x36\x70\x63\x4e\x57','\x57\x52\x68\x64\x4e\x38\x6b\x68\x57\x50\x52\x64\x4c\x71','\x79\x53\x6b\x70\x6e\x66\x4b\x6f','\x57\x34\x76\x41\x57\x50\x33\x63\x4d\x6d\x6f\x6b','\x57\x35\x6c\x64\x48\x68\x4e\x63\x54\x4b\x70\x63\x4d\x6d\x6b\x6a\x62\x43\x6b\x64\x61\x4b\x37\x63\x4e\x47','\x57\x50\x2f\x63\x4c\x4c\x47\x5a\x68\x71','\x7a\x53\x6f\x61\x57\x36\x4a\x63\x48\x48\x62\x77\x57\x37\x30','\x62\x33\x6a\x36\x57\x34\x76\x54\x57\x35\x75\x48','\x57\x34\x78\x64\x53\x43\x6b\x77\x6d\x53\x6f\x32\x57\x34\x76\x67\x46\x57\x46\x64\x52\x6d\x6b\x2f\x67\x6d\x6b\x50','\x57\x50\x6c\x63\x4b\x72\x4a\x64\x51\x38\x6b\x58\x69\x33\x6c\x63\x4f\x74\x5a\x63\x4a\x63\x56\x63\x50\x6d\x6b\x46','\x57\x50\x52\x63\x49\x43\x6f\x36\x73\x43\x6b\x77','\x57\x51\x65\x31\x57\x4f\x6a\x32\x57\x52\x43\x30\x57\x36\x7a\x7a','\x57\x50\x37\x64\x4e\x49\x4c\x64\x72\x38\x6b\x33\x57\x34\x54\x7a','\x62\x31\x71\x56\x57\x34\x72\x6e\x70\x65\x30','\x78\x4b\x57\x53\x57\x34\x7a\x67\x62\x78\x4a\x64\x4b\x61','\x6b\x48\x78\x63\x54\x43\x6b\x55\x57\x50\x52\x64\x50\x77\x4c\x72','\x77\x57\x50\x53\x57\x51\x61\x4f\x57\x50\x50\x30\x61\x38\x6f\x33\x57\x36\x4c\x54\x69\x58\x69','\x74\x4d\x6d\x65\x57\x34\x72\x70','\x7a\x6d\x6b\x57\x57\x51\x4b\x4b\x6d\x71','\x57\x52\x74\x63\x4b\x43\x6f\x42\x57\x35\x58\x4d','\x57\x52\x76\x42\x69\x53\x6b\x65\x63\x38\x6b\x62\x57\x35\x7a\x78','\x73\x77\x68\x64\x47\x61','\x63\x32\x74\x63\x4f\x6d\x6f\x64\x57\x4f\x68\x63\x53\x43\x6f\x38\x41\x47','\x57\x4f\x68\x63\x50\x38\x6f\x6e','\x78\x77\x68\x63\x4d\x6d\x6b\x72\x57\x4f\x43\x65\x6d\x6d\x6b\x69\x66\x74\x39\x56','\x71\x49\x50\x4d\x41\x53\x6b\x70\x57\x51\x2f\x63\x51\x43\x6b\x65\x57\x36\x71\x51\x69\x6d\x6b\x76\x57\x4f\x79','\x6f\x30\x37\x63\x54\x4a\x57','\x61\x53\x6f\x6a\x41\x38\x6f\x55\x6c\x61','\x42\x4a\x74\x63\x50\x57\x56\x63\x4e\x71','\x57\x35\x46\x64\x54\x33\x74\x63\x4a\x53\x6f\x35','\x57\x51\x56\x64\x50\x62\x4b\x4a\x57\x52\x30','\x6d\x74\x64\x63\x47\x43\x6b\x6c\x57\x4f\x61','\x57\x36\x6d\x49\x57\x51\x57\x52\x57\x4f\x43','\x78\x43\x6b\x41\x6d\x65\x43\x34','\x45\x4e\x6a\x53\x57\x35\x58\x5a','\x57\x35\x4f\x30\x57\x35\x46\x64\x47\x53\x6b\x74\x68\x30\x2f\x63\x55\x47','\x73\x32\x35\x58\x57\x34\x6d','\x6a\x6d\x6f\x43\x57\x52\x33\x64\x48\x38\x6b\x74','\x6e\x6d\x6f\x4d\x44\x43\x6f\x79\x6c\x57','\x70\x43\x6b\x64\x71\x48\x61\x74','\x57\x50\x56\x64\x47\x38\x6f\x6e\x72\x48\x58\x64\x57\x4f\x48\x58','\x57\x34\x31\x6d\x6c\x53\x6f\x71','\x57\x36\x54\x7a\x64\x38\x6f\x42\x57\x51\x69','\x57\x34\x42\x64\x53\x38\x6b\x73\x6e\x43\x6f\x38\x57\x34\x71\x41\x74\x71\x70\x64\x4c\x43\x6b\x4e\x66\x57','\x57\x34\x6c\x64\x4c\x31\x4e\x63\x53\x57','\x57\x51\x52\x63\x47\x75\x4f\x5a\x69\x57','\x69\x43\x6f\x69\x57\x52\x52\x64\x56\x53\x6b\x48','\x6d\x53\x6f\x34\x57\x51\x75\x58\x57\x52\x65\x4f','\x46\x73\x4b\x44','\x7a\x73\x61\x77\x57\x35\x78\x63\x49\x57','\x63\x38\x6f\x70\x57\x52\x65\x70\x57\x51\x4f','\x6d\x63\x70\x64\x53\x68\x56\x64\x56\x57','\x57\x50\x48\x4a\x57\x50\x74\x63\x4f\x38\x6f\x67\x78\x61\x5a\x63\x50\x31\x79\x6e\x57\x37\x75\x55\x6f\x47','\x6b\x77\x70\x63\x49\x74\x37\x63\x47\x71','\x57\x36\x4f\x7a\x57\x50\x4f','\x45\x71\x37\x63\x4b\x63\x52\x63\x4d\x68\x61\x65\x6b\x71'];_0xfd0b=function(){return _0x1f7273;};return _0xfd0b();}const _0x1ce296=(function(){const _0x5e86fa=_0x783e,_0x5be062={};_0x5be062['\x6e\x64\x44\x4a\x70']=function(_0x59e5ae,_0x5a7937){return _0x59e5ae===_0x5a7937;},_0x5be062[_0x5e86fa(0x175,'\x50\x56\x40\x67')]=_0x5e86fa(0x17f,'\x26\x37\x34\x62'),_0x5be062['\x66\x48\x4c\x76\x66']=function(_0x7812ba,_0x25af40){return _0x7812ba!==_0x25af40;},_0x5be062[_0x5e86fa(0x188,'\x4e\x43\x4a\x52')]=_0x5e86fa(0x1d3,'\x47\x75\x6b\x67'),_0x5be062[_0x5e86fa(0x1ab,'\x57\x73\x5b\x74')]=_0x5e86fa(0x1aa,'\x28\x33\x5e\x23');const _0x1d2f61=_0x5be062;let _0x2e2b0e=!![];return function(_0x54bcd8,_0x16e630){const _0x52f79b=_0x5e86fa,_0x1ef9ba={'\x4a\x43\x66\x57\x75':function(_0x3234c7,_0x158e01){const _0x37eab5=_0x783e;return _0x1d2f61[_0x37eab5(0x17a,'\x61\x6f\x43\x4e')](_0x3234c7,_0x158e01);},'\x45\x66\x6c\x58\x62':_0x1d2f61[_0x52f79b(0x1bc,'\x63\x57\x24\x6b')],'\x43\x4f\x74\x77\x47':_0x52f79b(0x1a4,'\x7a\x71\x7a\x41')+_0x52f79b(0x1a8,'\x57\x73\x5b\x74')},_0x1446ca=_0x2e2b0e?function(){const _0x4e3776=_0x52f79b;if(_0x1d2f61['\x6e\x64\x44\x4a\x70'](_0x4e3776(0x182,'\x6c\x30\x50\x36'),_0x1d2f61[_0x4e3776(0x1d1,'\x45\x53\x30\x43')])){const _0xe1cdc2=new _0x26f60e['\x45\x6e\x74\x72\x79'](_0x2f2379,_0x3eb977),_0xc42ec4=_0xe1cdc2[_0x4e3776(0x197,'\x32\x33\x31\x57')+_0x4e3776(0x18b,'\x50\x56\x40\x67')]();if(_0x1ef9ba[_0x4e3776(0x187,'\x45\x57\x44\x4c')](typeof _0xc42ec4,_0x1ef9ba[_0x4e3776(0x1be,'\x57\x73\x5b\x74')])&&_0x5bd1ac[_0x4e3776(0x16f,'\x57\x47\x23\x55')](_0xc42ec4['\x74\x72\x69\x6d']()))return{'\x61\x76\x61\x69\x6c\x61\x62\x6c\x65':!![],'\x69\x64':_0xc42ec4[_0x4e3776(0x17e,'\x26\x37\x34\x62')]()};const _0x1892cf={};return _0x1892cf[_0x4e3776(0x1c3,'\x30\x46\x55\x6f')+'\x65']=!![],_0x1892cf['\x69\x64']=null,_0x1892cf;}else{if(_0x16e630){if(_0x1d2f61[_0x4e3776(0x18a,'\x57\x47\x23\x55')](_0x1d2f61[_0x4e3776(0x174,'\x29\x4b\x41\x35')],_0x4e3776(0x1b9,'\x51\x44\x71\x64'))){const _0x275e5f=_0x16e630[_0x4e3776(0x1db,'\x6c\x30\x50\x36')](_0x54bcd8,arguments);return _0x16e630=null,_0x275e5f;}else return _0x8ecb1a[_0x4e3776(0x1e1,'\x51\x44\x71\x64')]()['\x73\x65\x61\x72\x63\x68'](_0x1ef9ba[_0x4e3776(0x192,'\x61\x6f\x43\x4e')])[_0x4e3776(0x1b3,'\x77\x77\x21\x4a')]()['\x63\x6f\x6e\x73\x74\x72\x75\x63'+_0x4e3776(0x16a,'\x32\x75\x4b\x4b')](_0x5e6182)[_0x4e3776(0x1d6,'\x33\x52\x62\x4f')](_0x1ef9ba[_0x4e3776(0x19f,'\x4e\x29\x5b\x70')]);}}}:function(){};return _0x2e2b0e=![],_0x1446ca;};}()),_0x5f5101=_0x1ce296(this,function(){const _0x245f9b=_0x783e,_0x49eea0={};_0x49eea0[_0x245f9b(0x171,'\x68\x43\x70\x38')]=_0x245f9b(0x1cd,'\x68\x6c\x21\x46')+_0x245f9b(0x1cf,'\x26\x29\x4c\x55');const _0x607ab2=_0x49eea0;return _0x5f5101[_0x245f9b(0x1cc,'\x4a\x72\x24\x2a')]()[_0x245f9b(0x1ac,'\x2a\x70\x46\x44')](_0x245f9b(0x1cd,'\x68\x6c\x21\x46')+'\x2b\x29\x2b\x24')[_0x245f9b(0x1a5,'\x5d\x28\x53\x43')]()[_0x245f9b(0x18c,'\x68\x43\x70\x38')+'\x74\x6f\x72'](_0x5f5101)[_0x245f9b(0x19b,'\x62\x38\x6f\x25')](_0x607ab2[_0x245f9b(0x172,'\x62\x50\x74\x6e')]);});_0x5f5101();const _0x9d6263=_0x31a4a1(0x1af,'\x25\x31\x46\x64')+_0x31a4a1(0x1b0,'\x57\x47\x23\x55')+'\x6f\x72\x6b\x73\x70\x61\x63\x65'+_0x31a4a1(0x1cb,'\x38\x33\x43\x78'),_0x2b4b28=/^[a-f0-9]{32,}$/i;let _0x19182c=undefined;function _0x33d1a8(){const _0x9530fe=_0x31a4a1,_0x43917a={'\x4d\x68\x64\x42\x5a':function(_0x4784ca,_0x559d83){return _0x4784ca!==_0x559d83;},'\x43\x4d\x58\x43\x6a':function(_0x113b4b,_0x3c851d){return _0x113b4b(_0x3c851d);},'\x77\x57\x77\x7a\x69':function(_0x2c2df0,_0x1771ca){return _0x2c2df0===_0x1771ca;},'\x71\x59\x49\x6b\x65':_0x9530fe(0x1c1,'\x68\x6c\x21\x46')};if(_0x43917a[_0x9530fe(0x1bf,'\x50\x56\x40\x67')](_0x19182c,undefined))return _0x19182c;try{const _0x4950d6=_0x43917a['\x43\x4d\x58\x43\x6a'](require,_0x9530fe(0x1a7,'\x7a\x71\x7a\x41')+'\x2f\x6b\x65\x79\x72\x69\x6e\x67');if(_0x4950d6&&_0x43917a[_0x9530fe(0x173,'\x47\x26\x72\x2a')](typeof _0x4950d6['\x45\x6e\x74\x72\x79'],_0x43917a[_0x9530fe(0x1e7,'\x4e\x29\x5b\x70')]))return _0x19182c=_0x4950d6,_0x19182c;return _0x19182c=null,null;}catch{return _0x19182c=null,null;}}function _0x5df2cc(){const _0x226981=_0x31a4a1,_0x5f1c20={'\x53\x75\x42\x42\x52':function(_0x820b65,_0x4cafe2){return _0x820b65(_0x4cafe2);},'\x77\x6f\x6d\x62\x42':_0x226981(0x181,'\x62\x50\x74\x6e'),'\x6b\x70\x43\x73\x42':function(_0xb58a02,_0x1855a4){return _0xb58a02===_0x1855a4;},'\x48\x58\x58\x61\x62':_0x226981(0x1e8,'\x74\x71\x42\x77'),'\x42\x59\x55\x43\x55':function(_0x52af3a,_0x5adee8){return _0x52af3a===_0x5adee8;}},_0x41db28=_0x5f1c20[_0x226981(0x1d0,'\x68\x43\x70\x38')](String,process.env.EVOLVER_WORKSPACE_KEYCHAIN||_0x5f1c20[_0x226981(0x186,'\x74\x32\x74\x72')])[_0x226981(0x18f,'\x49\x2a\x32\x63')+_0x226981(0x16c,'\x32\x33\x31\x57')]()['\x74\x72\x69\x6d']();if(_0x5f1c20[_0x226981(0x183,'\x61\x6f\x43\x4e')](_0x41db28,_0x5f1c20[_0x226981(0x1c9,'\x72\x72\x4c\x5d')])||_0x5f1c20[_0x226981(0x1b5,'\x4a\x5d\x41\x4e')](_0x41db28,_0x226981(0x185,'\x74\x32\x74\x72'))||_0x5f1c20[_0x226981(0x1c4,'\x4e\x29\x5b\x70')](_0x41db28,_0x5f1c20['\x77\x6f\x6d\x62\x42']))return _0x41db28;return _0x5f1c20[_0x226981(0x1c8,'\x4c\x42\x6c\x4d')];}const _0x2d8301=[/no\s+matching\s+entry/i,/could\s+not\s+be\s+found/i,/element\s+not\s+found/i,/\bnoentry\b/i,/\bno\s*entry\b/i,/not\s+found\s+in\s+(?:secure|keychain)/i];function _0x53cf5a(_0x213f04){const _0x154506=_0x31a4a1,_0x25e5bb=_0x213f04&&_0x213f04[_0x154506(0x1bd,'\x57\x73\x5b\x74')]||'';return _0x2d8301[_0x154506(0x1a2,'\x32\x75\x4b\x4b')](_0x268a0e=>_0x268a0e[_0x154506(0x198,'\x51\x44\x71\x64')](_0x25e5bb));}function _0x1ac76b(_0x4660f9){const _0x3a831=_0x31a4a1,_0x3ded0d={};_0x3ded0d['\x76\x75\x57\x62\x67']=function(_0x581b46,_0x1f22d7){return _0x581b46===_0x1f22d7;},_0x3ded0d[_0x3a831(0x1b4,'\x4a\x72\x24\x2a')]=_0x3a831(0x184,'\x45\x57\x44\x4c'),_0x3ded0d[_0x3a831(0x1d2,'\x62\x38\x6f\x25')]=function(_0x78abee,_0x130f62){return _0x78abee!==_0x130f62;},_0x3ded0d[_0x3a831(0x1a1,'\x30\x46\x55\x6f')]=_0x3a831(0x1d8,'\x77\x77\x21\x4a');const _0x438c21=_0x3ded0d,_0x4d1b6d=_0x33d1a8(),_0x1a4834={};_0x1a4834[_0x3a831(0x1e5,'\x29\x4b\x41\x35')+'\x65']=![],_0x1a4834['\x69\x64']=null;if(!_0x4d1b6d)return _0x1a4834;try{const _0x221a9d=new _0x4d1b6d[(_0x3a831(0x195,'\x63\x57\x24\x6b'))](_0x9d6263,_0x4660f9),_0x1a3e34=_0x221a9d[_0x3a831(0x19d,'\x53\x6e\x6f\x69')+_0x3a831(0x1a3,'\x29\x4b\x41\x35')]();if(_0x438c21[_0x3a831(0x1a6,'\x32\x75\x4b\x4b')](typeof _0x1a3e34,_0x438c21[_0x3a831(0x176,'\x77\x77\x21\x4a')])&&_0x2b4b28['\x74\x65\x73\x74'](_0x1a3e34[_0x3a831(0x179,'\x6f\x51\x44\x44')]()))return{'\x61\x76\x61\x69\x6c\x61\x62\x6c\x65':!![],'\x69\x64':_0x1a3e34['\x74\x72\x69\x6d']()};const _0x36c637={};return _0x36c637[_0x3a831(0x1e4,'\x4e\x29\x5b\x70')+'\x65']=!![],_0x36c637['\x69\x64']=null,_0x36c637;}catch(_0x4cfecb){if(_0x438c21[_0x3a831(0x1d4,'\x53\x6e\x6f\x69')](_0x438c21[_0x3a831(0x17c,'\x49\x2a\x32\x63')],_0x438c21[_0x3a831(0x1ce,'\x28\x58\x41\x46')])){const _0x53046f=new _0x141bdf[(_0x3a831(0x1b7,'\x32\x33\x31\x57'))](_0x194f4e,_0x1cf735);return _0x53046f[_0x3a831(0x1ea,'\x59\x23\x26\x48')+_0x3a831(0x1c5,'\x55\x50\x61\x6f')](_0x2e16c5),!![];}else{const _0x59b5ad={};_0x59b5ad[_0x3a831(0x19e,'\x2a\x30\x59\x42')+'\x65']=!![],_0x59b5ad['\x69\x64']=null;if(_0x53cf5a(_0x4cfecb))return _0x59b5ad;const _0xfe0a34={};return _0xfe0a34[_0x3a831(0x1e2,'\x4c\x6f\x40\x45')+'\x65']=![],_0xfe0a34['\x69\x64']=null,_0xfe0a34;}}}function _0x375366(_0x2cd931,_0x587750){const _0x24f2fc=_0x31a4a1,_0x33f19e={'\x4f\x79\x6d\x56\x56':function(_0x4a4bed,_0x144390){return _0x4a4bed(_0x144390);},'\x54\x45\x73\x52\x52':_0x24f2fc(0x1c0,'\x51\x44\x71\x64'),'\x6b\x44\x6b\x70\x53':function(_0x45a28f){return _0x45a28f();},'\x63\x76\x78\x7a\x56':function(_0x5bb1a5,_0x5f542f){return _0x5bb1a5!==_0x5f542f;},'\x43\x66\x4b\x74\x71':'\x63\x4f\x67\x65\x68','\x6b\x6e\x76\x68\x59':function(_0x42ee45,_0x4a7c3b){return _0x42ee45===_0x4a7c3b;},'\x6e\x4b\x59\x4c\x59':_0x24f2fc(0x191,'\x45\x57\x44\x4c')},_0x1ad0a2=_0x33f19e[_0x24f2fc(0x1d7,'\x26\x29\x4c\x55')](_0x33d1a8);if(!_0x1ad0a2)return![];try{if(_0x33f19e[_0x24f2fc(0x1d9,'\x4a\x72\x24\x2a')](_0x33f19e[_0x24f2fc(0x1ca,'\x4c\x6f\x40\x45')],_0x33f19e[_0x24f2fc(0x17b,'\x51\x66\x6a\x57')])){const _0x1eff34={};_0x1eff34[_0x24f2fc(0x18e,'\x57\x47\x23\x55')+'\x65']=!![],_0x1eff34['\x69\x64']=null;if(sekWgR[_0x24f2fc(0x1ad,'\x26\x37\x34\x62')](_0x560655,_0x398791))return _0x1eff34;const _0x55f49e={};return _0x55f49e[_0x24f2fc(0x16b,'\x4a\x5d\x41\x4e')+'\x65']=![],_0x55f49e['\x69\x64']=null,_0x55f49e;}else{const _0x5ba6c3=new _0x1ad0a2[(_0x24f2fc(0x194,'\x45\x53\x30\x43'))](_0x9d6263,_0x2cd931);return _0x5ba6c3[_0x24f2fc(0x178,'\x57\x73\x5b\x74')+_0x24f2fc(0x1c5,'\x55\x50\x61\x6f')](_0x587750),!![];}}catch{if(_0x33f19e[_0x24f2fc(0x1b1,'\x50\x56\x40\x67')](_0x33f19e[_0x24f2fc(0x1e0,'\x5e\x23\x5a\x4c')],_0x24f2fc(0x170,'\x51\x66\x6a\x57'))){if(_0x271513!==_0x17df08)return _0x30b029;try{const _0xb9f295=sekWgR[_0x24f2fc(0x1a9,'\x7a\x71\x7a\x41')](_0x43c318,_0x24f2fc(0x1b8,'\x51\x44\x71\x64')+_0x24f2fc(0x1a0,'\x4c\x42\x6c\x4d'));if(_0xb9f295&&typeof _0xb9f295[_0x24f2fc(0x177,'\x6f\x51\x44\x44')]===sekWgR[_0x24f2fc(0x1e9,'\x32\x33\x31\x57')])return _0x5e6015=_0xb9f295,_0x1a9bab;return _0x1fbf8e=null,null;}catch{return _0xab671=null,null;}}else return![];}}const _0x4c1dbe={};_0x4c1dbe[_0x31a4a1(0x1bb,'\x45\x53\x30\x43')+_0x31a4a1(0x17d,'\x4c\x41\x68\x42')]=_0x9d6263,_0x4c1dbe[_0x31a4a1(0x1dc,'\x4c\x42\x6c\x4d')]=_0x5df2cc,_0x4c1dbe[_0x31a4a1(0x19a,'\x5d\x28\x53\x43')+'\x6e']=_0x33d1a8,_0x4c1dbe[_0x31a4a1(0x1c7,'\x53\x6e\x6f\x69')+'\x4b\x65\x79\x63\x68\x61\x69\x6e']=_0x1ac76b,_0x4c1dbe[_0x31a4a1(0x19c,'\x32\x33\x31\x57')+_0x31a4a1(0x1ae,'\x50\x56\x40\x67')]=_0x375366,_0x4c1dbe[_0x31a4a1(0x1c6,'\x2a\x70\x46\x44')+_0x31a4a1(0x193,'\x63\x57\x24\x6b')]=_0x53cf5a,module[_0x31a4a1(0x1b6,'\x45\x53\x30\x43')]=_0x4c1dbe;
|
|
@@ -6,24 +6,105 @@
|
|
|
6
6
|
// delegation), shifting from passive Hub-orchestrated mode to agent-initiated
|
|
7
7
|
// mesh collaboration.
|
|
8
8
|
|
|
9
|
+
// Session payload limits. Centralized so the route fallback and the
|
|
10
|
+
// SessionHandler extension share one source of truth -- otherwise the
|
|
11
|
+
// fallback path (when the extension is not registered) silently skips these
|
|
12
|
+
// clamps/truncations and the wire contract diverges.
|
|
13
|
+
const MAX_PARTICIPANTS = 20;
|
|
14
|
+
const MIN_PARTICIPANTS = 2;
|
|
15
|
+
const DEFAULT_PARTICIPANTS = 5;
|
|
16
|
+
const MAX_INVITEES = 10;
|
|
17
|
+
const MAX_PAYLOAD_BYTES = 16000;
|
|
18
|
+
const MAX_SUMMARY_CHARS = 200;
|
|
19
|
+
const VALID_ROLES = ['builder', 'planner', 'reviewer'];
|
|
20
|
+
const DEFAULT_ROLE = 'builder';
|
|
21
|
+
|
|
22
|
+
// Pure normalizers. Throw Error('...') on validation failure; the route
|
|
23
|
+
// layer wraps the throw in a 400. Each accepts the wire shape (snake_case
|
|
24
|
+
// keys) and returns the normalized payload (also snake_case). The handler
|
|
25
|
+
// methods map their camelCase public API to snake_case before calling.
|
|
26
|
+
|
|
27
|
+
// Normalize a /session/create body. Throws if `title` is missing.
|
|
28
|
+
// `max_participants` is clamped to [MIN, MAX] (default DEFAULT).
|
|
29
|
+
// `invite_node_ids` is sliced to the first MAX_INVITEES entries.
|
|
30
|
+
function normalizeCreatePayload(body = {}) {
|
|
31
|
+
if (!body.title) throw new Error('title is required');
|
|
32
|
+
// Treat undefined/null/'' as missing (use default). Otherwise parse the
|
|
33
|
+
// value and clamp. `|| DEFAULT_PARTICIPANTS` would treat 0 as missing and
|
|
34
|
+
// silently change a legitimate 0 input into the default 5; the handler
|
|
35
|
+
// had this bug pre-refactor and the test suite caught it.
|
|
36
|
+
const raw = body.max_participants;
|
|
37
|
+
let num = Number(raw);
|
|
38
|
+
if (raw === undefined || raw === null || raw === '' || !Number.isFinite(num)) {
|
|
39
|
+
num = DEFAULT_PARTICIPANTS;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
title: body.title,
|
|
43
|
+
description: body.description || '',
|
|
44
|
+
invite_node_ids: Array.isArray(body.invite_node_ids) ? body.invite_node_ids.slice(0, MAX_INVITEES) : [],
|
|
45
|
+
max_participants: Math.max(MIN_PARTICIPANTS, Math.min(MAX_PARTICIPANTS, num)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Normalize a /session/message body. Throws if `session_id` is missing or
|
|
50
|
+
// the serialized `payload` exceeds MAX_PAYLOAD_BYTES.
|
|
51
|
+
function normalizeMessagePayload(body = {}) {
|
|
52
|
+
if (!body.session_id) throw new Error('session_id is required');
|
|
53
|
+
const safePayload = body.payload && typeof body.payload === 'object' ? body.payload : {};
|
|
54
|
+
const serialized = JSON.stringify(safePayload);
|
|
55
|
+
if (serialized.length > MAX_PAYLOAD_BYTES) throw new Error('payload too large (max 16KB)');
|
|
56
|
+
return {
|
|
57
|
+
session_id: body.session_id,
|
|
58
|
+
to_node_id: body.to_node_id || null,
|
|
59
|
+
msg_type: body.msg_type || 'context_update',
|
|
60
|
+
payload: safePayload,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Normalize a /session/delegate body. Throws if `session_id` or `title` is
|
|
65
|
+
// missing. `role` is whitelisted (unknown values fall back to DEFAULT_ROLE).
|
|
66
|
+
function normalizeDelegatePayload(body = {}) {
|
|
67
|
+
if (!body.session_id) throw new Error('session_id is required');
|
|
68
|
+
if (!body.title) throw new Error('title is required');
|
|
69
|
+
return {
|
|
70
|
+
session_id: body.session_id,
|
|
71
|
+
to_node_id: body.to_node_id || null,
|
|
72
|
+
title: body.title,
|
|
73
|
+
description: body.description || '',
|
|
74
|
+
role: VALID_ROLES.includes(body.role) ? body.role : DEFAULT_ROLE,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Normalize a /session/submit body. Throws if `session_id` or `task_id` is
|
|
79
|
+
// missing. `summary` is truncated to MAX_SUMMARY_CHARS.
|
|
80
|
+
function normalizeSubmitPayload(body = {}) {
|
|
81
|
+
if (!body.session_id) throw new Error('session_id is required');
|
|
82
|
+
if (!body.task_id) throw new Error('task_id is required');
|
|
83
|
+
const safeSummary = typeof body.summary === 'string' ? body.summary.slice(0, MAX_SUMMARY_CHARS) : '';
|
|
84
|
+
return {
|
|
85
|
+
session_id: body.session_id,
|
|
86
|
+
task_id: body.task_id,
|
|
87
|
+
result_asset_id: body.result_asset_id || null,
|
|
88
|
+
summary: safeSummary,
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
9
92
|
class SessionHandler {
|
|
10
93
|
constructor({ store, logger } = {}) {
|
|
11
94
|
this.store = store;
|
|
12
95
|
this.logger = logger || console;
|
|
13
96
|
}
|
|
14
97
|
|
|
15
|
-
createSession(
|
|
16
|
-
|
|
17
|
-
|
|
98
|
+
createSession(input = {}) {
|
|
99
|
+
const payload = normalizeCreatePayload({
|
|
100
|
+
title: input.title,
|
|
101
|
+
description: input.description,
|
|
102
|
+
invite_node_ids: input.inviteNodeIds,
|
|
103
|
+
max_participants: input.maxParticipants,
|
|
104
|
+
});
|
|
18
105
|
return this.store.send({
|
|
19
106
|
type: 'session_create',
|
|
20
|
-
payload: {
|
|
21
|
-
title,
|
|
22
|
-
description: description || '',
|
|
23
|
-
invite_node_ids: Array.isArray(inviteNodeIds) ? inviteNodeIds.slice(0, 10) : [],
|
|
24
|
-
max_participants: Math.max(2, Math.min(20, Number(maxParticipants) || 5)),
|
|
25
|
-
created_at: new Date().toISOString(),
|
|
26
|
-
},
|
|
107
|
+
payload: { ...payload, created_at: new Date().toISOString() },
|
|
27
108
|
priority: 'high',
|
|
28
109
|
});
|
|
29
110
|
}
|
|
@@ -54,62 +135,45 @@ class SessionHandler {
|
|
|
54
135
|
});
|
|
55
136
|
}
|
|
56
137
|
|
|
57
|
-
sendMessage(
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
138
|
+
sendMessage(input = {}) {
|
|
139
|
+
const payload = normalizeMessagePayload({
|
|
140
|
+
session_id: input.sessionId,
|
|
141
|
+
to_node_id: input.toNodeId,
|
|
142
|
+
msg_type: input.msgType,
|
|
143
|
+
payload: input.payload,
|
|
144
|
+
});
|
|
64
145
|
return this.store.send({
|
|
65
146
|
type: 'session_message',
|
|
66
|
-
payload: {
|
|
67
|
-
session_id: sessionId,
|
|
68
|
-
to_node_id: toNodeId || null,
|
|
69
|
-
msg_type: msgType || 'context_update',
|
|
70
|
-
payload: safePayload,
|
|
71
|
-
sent_at: new Date().toISOString(),
|
|
72
|
-
},
|
|
147
|
+
payload: { ...payload, sent_at: new Date().toISOString() },
|
|
73
148
|
priority: 'normal',
|
|
74
149
|
});
|
|
75
150
|
}
|
|
76
151
|
|
|
77
|
-
delegateSubtask(
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
152
|
+
delegateSubtask(input = {}) {
|
|
153
|
+
const payload = normalizeDelegatePayload({
|
|
154
|
+
session_id: input.sessionId,
|
|
155
|
+
to_node_id: input.toNodeId,
|
|
156
|
+
title: input.title,
|
|
157
|
+
description: input.description,
|
|
158
|
+
role: input.role,
|
|
159
|
+
});
|
|
84
160
|
return this.store.send({
|
|
85
161
|
type: 'session_delegate',
|
|
86
|
-
payload: {
|
|
87
|
-
session_id: sessionId,
|
|
88
|
-
to_node_id: toNodeId || null,
|
|
89
|
-
title,
|
|
90
|
-
description: description || '',
|
|
91
|
-
role: safeRole,
|
|
92
|
-
delegated_at: new Date().toISOString(),
|
|
93
|
-
},
|
|
162
|
+
payload: { ...payload, delegated_at: new Date().toISOString() },
|
|
94
163
|
priority: 'high',
|
|
95
164
|
});
|
|
96
165
|
}
|
|
97
166
|
|
|
98
|
-
submitResult(
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
167
|
+
submitResult(input = {}) {
|
|
168
|
+
const payload = normalizeSubmitPayload({
|
|
169
|
+
session_id: input.sessionId,
|
|
170
|
+
task_id: input.taskId,
|
|
171
|
+
result_asset_id: input.resultAssetId,
|
|
172
|
+
summary: input.summary,
|
|
173
|
+
});
|
|
104
174
|
return this.store.send({
|
|
105
175
|
type: 'session_submit',
|
|
106
|
-
payload: {
|
|
107
|
-
session_id: sessionId,
|
|
108
|
-
task_id: taskId,
|
|
109
|
-
result_asset_id: resultAssetId || null,
|
|
110
|
-
summary: safeSummary,
|
|
111
|
-
submitted_at: new Date().toISOString(),
|
|
112
|
-
},
|
|
176
|
+
payload: { ...payload, submitted_at: new Date().toISOString() },
|
|
113
177
|
priority: 'high',
|
|
114
178
|
});
|
|
115
179
|
}
|
|
@@ -138,4 +202,10 @@ class SessionHandler {
|
|
|
138
202
|
}
|
|
139
203
|
}
|
|
140
204
|
|
|
141
|
-
module.exports = {
|
|
205
|
+
module.exports = {
|
|
206
|
+
SessionHandler,
|
|
207
|
+
normalizeCreatePayload,
|
|
208
|
+
normalizeMessagePayload,
|
|
209
|
+
normalizeDelegatePayload,
|
|
210
|
+
normalizeSubmitPayload,
|
|
211
|
+
};
|