@picoflow/core 1.0.9 → 1.0.11

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/utils/logic.js CHANGED
@@ -1 +1 @@
1
- var a28_0x3bbc68=a28_0x34d8;(function(_0x5c2026,_0x21d2ab){var _0x1d3aff=a28_0x34d8,_0xc54e4d=_0x5c2026();while(!![]){try{var _0x1aa8d1=-parseInt(_0x1d3aff(0xac))/0x1+parseInt(_0x1d3aff(0xaa))/0x2+parseInt(_0x1d3aff(0xb7))/0x3*(parseInt(_0x1d3aff(0xb5))/0x4)+-parseInt(_0x1d3aff(0xae))/0x5+-parseInt(_0x1d3aff(0xb1))/0x6+parseInt(_0x1d3aff(0xb3))/0x7*(-parseInt(_0x1d3aff(0xb4))/0x8)+parseInt(_0x1d3aff(0xab))/0x9*(parseInt(_0x1d3aff(0xb0))/0xa);if(_0x1aa8d1===_0x21d2ab)break;else _0xc54e4d['push'](_0xc54e4d['shift']());}catch(_0x5b3034){_0xc54e4d['push'](_0xc54e4d['shift']());}}}(a28_0x59d2,0x9a8af));function a28_0x34d8(_0x52d2d5,_0x398e85){var _0x4c2351=a28_0x59d2();return a28_0x34d8=function(_0x4cca73,_0x511cd7){_0x4cca73=_0x4cca73-0xa8;var _0x59d24d=_0x4c2351[_0x4cca73];return _0x59d24d;},a28_0x34d8(_0x52d2d5,_0x398e85);}var a28_0x511cd7=(function(){var _0x3e2be5=!![];return function(_0x1d6a9c,_0x447d99){var _0x307083=_0x3e2be5?function(){var _0x361dfd=a28_0x34d8;if(_0x447d99){var _0x1415c0=_0x447d99[_0x361dfd(0xb9)](_0x1d6a9c,arguments);return _0x447d99=null,_0x1415c0;}}:function(){};return _0x3e2be5=![],_0x307083;};}()),a28_0x4cca73=a28_0x511cd7(this,function(){var _0x59de12=a28_0x34d8,_0x3334c1={'gmPzU':_0x59de12(0xaf)};return a28_0x4cca73[_0x59de12(0xb2)]()['search'](_0x3334c1[_0x59de12(0xa8)])['toString']()[_0x59de12(0xa9)](a28_0x4cca73)[_0x59de12(0xb6)](_0x3334c1[_0x59de12(0xa8)]);});a28_0x4cca73();'use strict';function a28_0x59d2(){var _0x24ca46=['(((.+)+)+)+$','10qZuEhd','2533968Ohbtyt','toString','1704234nhdwWr','24vWdbGG','4MPlfSU','search','2340504SPRAuw','__esModule','apply','gmPzU','constructor','2331182kFznkt','11411973lZLCna','892380lwybCc','defineProperty','2678275yRfTgM'];a28_0x59d2=function(){return _0x24ca46;};return a28_0x59d2();}Object[a28_0x3bbc68(0xad)](exports,a28_0x3bbc68(0xb8),{'value':!![]});
1
+ var a28_0x2b3e27=a28_0x286b;(function(_0x172c0f,_0x3bbd4c){var _0xb79980=a28_0x286b,_0x3b49c9=_0x172c0f();while(!![]){try{var _0x1db8c7=-parseInt(_0xb79980(0x1d8))/0x1*(-parseInt(_0xb79980(0x1cc))/0x2)+-parseInt(_0xb79980(0x1d5))/0x3*(-parseInt(_0xb79980(0x1ce))/0x4)+parseInt(_0xb79980(0x1d4))/0x5*(parseInt(_0xb79980(0x1ca))/0x6)+-parseInt(_0xb79980(0x1d0))/0x7+-parseInt(_0xb79980(0x1d1))/0x8*(-parseInt(_0xb79980(0x1d3))/0x9)+parseInt(_0xb79980(0x1cb))/0xa+-parseInt(_0xb79980(0x1d7))/0xb;if(_0x1db8c7===_0x3bbd4c)break;else _0x3b49c9['push'](_0x3b49c9['shift']());}catch(_0x22a189){_0x3b49c9['push'](_0x3b49c9['shift']());}}}(a28_0x187a,0x71f05));var a28_0x897e45=(function(){var _0x29265f=!![];return function(_0x13b619,_0x59107d){var _0x4bf718=_0x29265f?function(){if(_0x59107d){var _0x277e86=_0x59107d['apply'](_0x13b619,arguments);return _0x59107d=null,_0x277e86;}}:function(){};return _0x29265f=![],_0x4bf718;};}()),a28_0x2814d1=a28_0x897e45(this,function(){var _0x275dc0=a28_0x286b,_0x20e118={'jTefh':'(((.+)+)+)+$'};return a28_0x2814d1[_0x275dc0(0x1cf)]()[_0x275dc0(0x1d2)](_0x20e118[_0x275dc0(0x1d6)])[_0x275dc0(0x1cf)]()[_0x275dc0(0x1cd)](a28_0x2814d1)[_0x275dc0(0x1d2)](_0x20e118[_0x275dc0(0x1d6)]);});a28_0x2814d1();'use strict';function a28_0x286b(_0x182326,_0x1a5cef){var _0x3ea676=a28_0x187a();return a28_0x286b=function(_0x2814d1,_0x897e45){_0x2814d1=_0x2814d1-0x1ca;var _0x187abb=_0x3ea676[_0x2814d1];return _0x187abb;},a28_0x286b(_0x182326,_0x1a5cef);}Object[a28_0x2b3e27(0x1d9)](exports,'__esModule',{'value':!![]});function a28_0x187a(){var _0x4d6954=['121038rKuVXb','9221690Lxqevt','8QwwTNX','constructor','4alQsUo','toString','3547873KDeopX','486576gqAIvu','search','72KioQzg','45VINDuB','2274726wqBxMC','jTefh','18189952rFCiPy','69655ZhQHXr','defineProperty'];a28_0x187a=function(){return _0x4d6954;};return a28_0x187a();}
@@ -45,3 +45,6 @@ export declare class ToolCallEx implements ToolCall {
45
45
  step: string;
46
46
  constructor(name: string, args: Record<string, any>, step: Step);
47
47
  }
48
+ export declare class DirectMessage extends AiMessageEx {
49
+ constructor(step: Step, content: string | object);
50
+ }
@@ -1 +1 @@
1
- const a29_0x5467ba=a29_0x5e26;(function(_0x1c43d0,_0x4906db){const _0x3994c1=a29_0x5e26,_0x1dad58=_0x1c43d0();while(!![]){try{const _0x423933=parseInt(_0x3994c1(0xdc))/0x1*(parseInt(_0x3994c1(0xe6))/0x2)+parseInt(_0x3994c1(0xd7))/0x3*(parseInt(_0x3994c1(0xde))/0x4)+-parseInt(_0x3994c1(0xd5))/0x5+-parseInt(_0x3994c1(0xe8))/0x6+parseInt(_0x3994c1(0xff))/0x7+-parseInt(_0x3994c1(0xd1))/0x8*(parseInt(_0x3994c1(0xce))/0x9)+parseInt(_0x3994c1(0xea))/0xa*(parseInt(_0x3994c1(0xf5))/0xb);if(_0x423933===_0x4906db)break;else _0x1dad58['push'](_0x1dad58['shift']());}catch(_0x3a3572){_0x1dad58['push'](_0x1dad58['shift']());}}}(a29_0x438c,0x6e399));const a29_0x1d80e2=(function(){const _0x3321f1=a29_0x5e26,_0xb9a502={'QKiWb':function(_0x2cf940,_0x55054c){return _0x2cf940>_0x55054c;},'khJiU':function(_0x3d1b8f,_0x325c12){return _0x3d1b8f===_0x325c12;},'oMEYD':_0x3321f1(0x102)};let _0xb9af1=!![];return function(_0x3a2bd9,_0x577e60){const _0x3768af=_0xb9af1?function(){const _0x40048d=a29_0x5e26,_0x5c1748={'adSSe':function(_0x216a31,_0x18491c){return _0xb9a502['QKiWb'](_0x216a31,_0x18491c);}};if(_0x577e60){if(_0xb9a502[_0x40048d(0x103)]('dAJNJ',_0xb9a502[_0x40048d(0xe1)])){const _0xd291f7=_0x194c0c[_0x40048d(0xcb)]('|');return _0x5c1748[_0x40048d(0xe3)](_0xd291f7?.[_0x40048d(0xda)],0x1)?_0xd291f7[0x1]:_0x29fc2a;}else{const _0x40dcd8=_0x577e60[_0x40048d(0xe2)](_0x3a2bd9,arguments);return _0x577e60=null,_0x40dcd8;}}}:function(){};return _0xb9af1=![],_0x3768af;};}()),a29_0x32a8d1=a29_0x1d80e2(this,function(){const _0x202c4a=a29_0x5e26,_0x3dd4ea={'VdXXK':_0x202c4a(0xe5)};return a29_0x32a8d1[_0x202c4a(0xef)]()[_0x202c4a(0xd4)](_0x3dd4ea['VdXXK'])[_0x202c4a(0xef)]()['constructor'](a29_0x32a8d1)[_0x202c4a(0xd4)](_0x202c4a(0xe5));});a29_0x32a8d1();'use strict';Object[a29_0x5467ba(0xf6)](exports,a29_0x5467ba(0xcf),{'value':!![]}),exports[a29_0x5467ba(0xdb)]=exports[a29_0x5467ba(0xd8)]=exports[a29_0x5467ba(0xf3)]=exports[a29_0x5467ba(0xd9)]=exports[a29_0x5467ba(0xfa)]=exports[a29_0x5467ba(0x100)]=exports[a29_0x5467ba(0xfe)]=exports['AiMessageEx']=exports['MessageUtil']=void 0x0;const messages_1=require(a29_0x5467ba(0xf7)),flow_types_1=require(a29_0x5467ba(0xf0)),constants_1=require('./constants');class MessageUtil{static[a29_0x5467ba(0xd2)](_0x6236c6,_0x4ccb40){const _0x223f95=a29_0x5467ba,_0x1a6442={'lOUbT':function(_0x4b7790,_0x524a8c){return _0x4b7790===_0x524a8c;},'AeEAx':function(_0x3bc100,_0x2f9ef0){return _0x3bc100===_0x2f9ef0;}};return _0x1a6442[_0x223f95(0xee)](_0x6236c6['id'],_0x4ccb40['id'])&&_0x1a6442[_0x223f95(0xeb)](_0x6236c6['type'],_0x4ccb40[_0x223f95(0xf1)]);}static[a29_0x5467ba(0xcd)](_0x25a840){const _0x296b8f=a29_0x5467ba,_0x6afeb4={'OnZoK':function(_0x35f4b1,_0x2321f2){return _0x35f4b1===_0x2321f2;}};return _0x6afeb4['OnZoK'](Object[_0x296b8f(0xf9)](_0x25a840)[_0x296b8f(0xda)],0x0);}static['messageStep'](_0x106592){const _0x3d3c0e=a29_0x5467ba,_0x1911bf=_0x106592['split']('|');return _0x1911bf?.[_0x3d3c0e(0xda)]>0x0?_0x1911bf[0x0]:_0x106592;}static[a29_0x5467ba(0xed)](_0x1f69d6){const _0x55fae9=a29_0x5467ba,_0x2a0638={'kTcZN':function(_0x485456,_0xf17531){return _0x485456>_0xf17531;},'JXgJl':function(_0x1ff9ad,_0x3bc009){return _0x1ff9ad===_0x3bc009;},'xbtLf':_0x55fae9(0xcc)},_0x120fcb=_0x1f69d6['split']('|');if(_0x2a0638[_0x55fae9(0xf8)](_0x120fcb?.[_0x55fae9(0xda)],0x1))return _0x120fcb[0x1];else{if(_0x2a0638[_0x55fae9(0xc8)](_0x2a0638[_0x55fae9(0xe7)],_0x2a0638[_0x55fae9(0xe7)]))return _0x1f69d6;else{const _0x1cc3d1=[];for(const _0xdc40c5 of _0x5096db){_0x1cc3d1[_0x55fae9(0xfd)]({'name':_0xdc40c5[_0x55fae9(0xc9)],'args':_0xdc40c5[_0x55fae9(0xfb)],'id':_0xdc40c5['id']});}return _0x1cc3d1;}}}static[a29_0x5467ba(0xd3)](_0x3cab07,_0x1c0520){const _0x4cf2b6=a29_0x5467ba,_0x8f2b1e=_0x3cab07['id']['split']('|');_0x3cab07['id']=_0x1c0520[_0x4cf2b6(0xd6)]()+'|'+_0x8f2b1e[0x1]+'|'+_0x8f2b1e[0x2];}static[a29_0x5467ba(0x105)](_0x35703c){const _0x24b10c=a29_0x5467ba,_0x1a895d=_0x35703c[_0x24b10c(0xd0)]();return _0x1a895d&&_0x35703c[_0x24b10c(0xfd)](_0x1a895d),_0x1a895d;}static[a29_0x5467ba(0x106)](_0x32ab8f){const _0x79055c=a29_0x5467ba,_0x5227af={'YQMXw':function(_0x9c82cf,_0xafcd89){return _0x9c82cf===_0xafcd89;},'qSsOd':'KKYqM','cJZAg':_0x79055c(0xf4)},_0x2970eb=[];for(const _0x1bd405 of _0x32ab8f){if(_0x5227af['qSsOd']===_0x5227af[_0x79055c(0xf2)])return _0x5227af[_0x79055c(0xe0)](_0x19bf87[_0x79055c(0xf9)](_0x5aaca9)['length'],0x0);else _0x2970eb[_0x79055c(0xfd)]({'name':_0x1bd405[_0x79055c(0xc9)],'args':_0x1bd405['args'],'id':_0x1bd405['id']});}return _0x2970eb;}}exports[a29_0x5467ba(0xdd)]=MessageUtil;function a29_0x438c(){const _0x494968=['MessageUtil','148KStMiR','HumanMessage','YQMXw','oMEYD','apply','adSSe','genMessageId','(((.+)+)+)+$','122526oNBGTj','xbtLf','3359340EYPVSf','ToolValidated','10BpESqe','AeEAx','ToolStatus','messageTime','lOUbT','toString','../flow/flow-types','type','cJZAg','ToolMessageBad','CQHEd','2868668alEtZV','defineProperty','@langchain/core/messages','kTcZN','keys','ToolCallMessage','args','success','push','HumanMessageEx','6029870cUapLa','ToolMessageEx','AIMessage','ZhWgt','khJiU','step','peek','makeToolStruct','JXgJl','name','AiMessageEx','split','yBZZn','isEmptyObject','36OEKJKT','__esModule','pop','1804544BQxJUD','isSame','replaceStep','search','1222785UUgZvk','getName','44262Xorfhm','ToolMessageInfo','ToolMessageOK','length','ToolCallEx','8sogHnz'];a29_0x438c=function(){return _0x494968;};return a29_0x438c();}class AiMessageEx extends messages_1['AIMessage']{constructor(_0x576fd2,_0x3c96ec,_0x4a4589){const _0x303879={'EexfU':function(_0x49068a,_0x4dbaa8){return _0x49068a??_0x4dbaa8;}};super({'content':_0x3c96ec,'id':_0x576fd2['genMessageId'](),'additional_kwargs':_0x303879['EexfU'](_0x4a4589,{'direct':![]})});}}exports[a29_0x5467ba(0xca)]=AiMessageEx;class HumanMessageEx extends messages_1[a29_0x5467ba(0xdf)]{constructor(_0x54932e,_0xabc7b8,_0x3aaf00){const _0x164938=a29_0x5467ba;super({'content':_0xabc7b8,'id':_0x54932e[_0x164938(0xe4)](),'additional_kwargs':_0x3aaf00??{'direct':![]}});}}function a29_0x5e26(_0x459f68,_0x19b5a0){const _0x56e666=a29_0x438c();return a29_0x5e26=function(_0x32a8d1,_0x1d80e2){_0x32a8d1=_0x32a8d1-0xc8;let _0x438ce1=_0x56e666[_0x32a8d1];return _0x438ce1;},a29_0x5e26(_0x459f68,_0x19b5a0);}exports[a29_0x5467ba(0xfe)]=HumanMessageEx;class ToolMessageEx extends messages_1['ToolMessage']{constructor(_0x179b61,_0x561f54,_0x1e592c,_0x37c790=flow_types_1['ToolStatus'][a29_0x5467ba(0xfc)],_0x328b90){const _0x4d5cc0=a29_0x5467ba,_0x24b5f9={'IEkif':function(_0x67d0f,_0x4df299){return _0x67d0f??_0x4df299;}};super({'name':_0x561f54[_0x4d5cc0(0xc9)],'tool_call_id':_0x561f54['id'],'content':_0x1e592c,'status':_0x37c790,'id':_0x179b61['genMessageId'](),'additional_kwargs':_0x24b5f9['IEkif'](_0x328b90,{'stopTool':!![]})});}}exports[a29_0x5467ba(0x100)]=ToolMessageEx;class ToolCallMessage extends messages_1[a29_0x5467ba(0x101)]{constructor(_0x1f2ecd,_0x582114){super({'content':'','id':_0x1f2ecd['genMessageId'](),'tool_calls':MessageUtil['makeToolStruct'](_0x582114)});}}exports['ToolCallMessage']=ToolCallMessage;class ToolMessageOK extends ToolMessageEx{constructor(_0x49273d,_0x2cf931){const _0x14256d=a29_0x5467ba;super(_0x49273d,_0x2cf931,constants_1['K'][_0x14256d(0xe9)]);}}exports[a29_0x5467ba(0xd9)]=ToolMessageOK;class ToolMessageBad extends ToolMessageEx{constructor(_0x2fdb8a,_0x19cc82,_0x329707){const _0x19d31a=a29_0x5467ba;super(_0x2fdb8a,_0x19cc82,_0x329707,flow_types_1[_0x19d31a(0xec)]['error']);}}exports[a29_0x5467ba(0xf3)]=ToolMessageBad;class ToolMessageInfo extends ToolMessageEx{constructor(_0x30a255,_0x416d3c,_0x33fcbc){super(_0x30a255,_0x416d3c,_0x33fcbc);}}exports['ToolMessageInfo']=ToolMessageInfo;class ToolCallEx{constructor(_0x441e24,_0xf23cac,_0x565043){const _0xe2668a=a29_0x5467ba;this[_0xe2668a(0xc9)]=_0x441e24,this[_0xe2668a(0xfb)]=_0xf23cac,this[_0xe2668a(0x104)]=_0x565043[_0xe2668a(0xe4)]();}}exports['ToolCallEx']=ToolCallEx;
1
+ const a29_0x2fbfe=a29_0x4d72;(function(_0xa365d3,_0x85d8a4){const _0x1b6344=a29_0x4d72,_0x58ed6b=_0xa365d3();while(!![]){try{const _0x120d5f=-parseInt(_0x1b6344(0x94))/0x1*(-parseInt(_0x1b6344(0x7d))/0x2)+-parseInt(_0x1b6344(0x9f))/0x3*(-parseInt(_0x1b6344(0x86))/0x4)+-parseInt(_0x1b6344(0x64))/0x5*(-parseInt(_0x1b6344(0x8d))/0x6)+-parseInt(_0x1b6344(0x6f))/0x7*(parseInt(_0x1b6344(0x7e))/0x8)+parseInt(_0x1b6344(0x6a))/0x9*(-parseInt(_0x1b6344(0x96))/0xa)+-parseInt(_0x1b6344(0xa5))/0xb+parseInt(_0x1b6344(0x6e))/0xc*(-parseInt(_0x1b6344(0x92))/0xd);if(_0x120d5f===_0x85d8a4)break;else _0x58ed6b['push'](_0x58ed6b['shift']());}catch(_0x4d17c9){_0x58ed6b['push'](_0x58ed6b['shift']());}}}(a29_0x31c9,0x4cdd2));const a29_0x3ca3fb=(function(){let _0x2ca5dc=!![];return function(_0x44cba6,_0x531e9b){const _0x35d369=_0x2ca5dc?function(){const _0xde603a=a29_0x4d72;if(_0x531e9b){const _0x5a2a44=_0x531e9b[_0xde603a(0x8e)](_0x44cba6,arguments);return _0x531e9b=null,_0x5a2a44;}}:function(){};return _0x2ca5dc=![],_0x35d369;};}()),a29_0x518b79=a29_0x3ca3fb(this,function(){const _0x48eb8a=a29_0x4d72,_0x18ae46={'hluXL':_0x48eb8a(0x79)};return a29_0x518b79[_0x48eb8a(0x9e)]()[_0x48eb8a(0x72)](_0x18ae46[_0x48eb8a(0x89)])[_0x48eb8a(0x9e)]()[_0x48eb8a(0xa6)](a29_0x518b79)[_0x48eb8a(0x72)](_0x48eb8a(0x79));});a29_0x518b79();'use strict';Object[a29_0x2fbfe(0xa3)](exports,a29_0x2fbfe(0x7f),{'value':!![]}),exports['DirectMessage']=exports[a29_0x2fbfe(0x73)]=exports[a29_0x2fbfe(0x8b)]=exports[a29_0x2fbfe(0x88)]=exports[a29_0x2fbfe(0x82)]=exports[a29_0x2fbfe(0x70)]=exports['ToolMessageEx']=exports[a29_0x2fbfe(0x7a)]=exports[a29_0x2fbfe(0x65)]=exports[a29_0x2fbfe(0x80)]=void 0x0;const messages_1=require(a29_0x2fbfe(0x91)),flow_types_1=require(a29_0x2fbfe(0x6c)),constants_1=require(a29_0x2fbfe(0x83));class MessageUtil{static[a29_0x2fbfe(0x97)](_0x132b5d,_0x31a651){const _0x34ef29=a29_0x2fbfe,_0x2ec648={'MGqex':function(_0x256d82,_0x54d958){return _0x256d82===_0x54d958;}};return _0x2ec648['MGqex'](_0x132b5d['id'],_0x31a651['id'])&&_0x132b5d[_0x34ef29(0x77)]===_0x31a651[_0x34ef29(0x77)];}static[a29_0x2fbfe(0x8c)](_0x32042b){const _0x491cc4=a29_0x2fbfe,_0xb902e9={'alokL':function(_0x4ac3b3,_0x37debd){return _0x4ac3b3===_0x37debd;}};return _0xb902e9[_0x491cc4(0x7b)](Object[_0x491cc4(0xa0)](_0x32042b)['length'],0x0);}static['messageStep'](_0x1d1875){const _0x59fd4f=a29_0x2fbfe,_0x378392={'LwWyD':function(_0x57e3f9,_0xff4cb2){return _0x57e3f9>_0xff4cb2;},'kOyQG':function(_0x288da5,_0x52eac8){return _0x288da5===_0x52eac8;}},_0x19130e=_0x1d1875[_0x59fd4f(0x84)]('|');return _0x378392[_0x59fd4f(0xaa)](_0x19130e?.['length'],0x0)?_0x19130e[0x0]:_0x378392[_0x59fd4f(0xa1)](_0x59fd4f(0x9b),'sISZb')?_0x5d2ede:_0x1d1875;}static[a29_0x2fbfe(0xa8)](_0x2320e1){const _0x54d328=a29_0x2fbfe,_0x21738c={'qYkBG':function(_0x32f38c,_0xb14a7c){return _0x32f38c>_0xb14a7c;}},_0x29184e=_0x2320e1[_0x54d328(0x84)]('|');return _0x21738c[_0x54d328(0x9c)](_0x29184e?.[_0x54d328(0x99)],0x1)?_0x29184e[0x1]:_0x2320e1;}static[a29_0x2fbfe(0x9d)](_0x11f489,_0x4b4999){const _0x509a24=a29_0x2fbfe,_0x460df9=_0x11f489['id'][_0x509a24(0x84)]('|');_0x11f489['id']=_0x4b4999['getName']()+'|'+_0x460df9[0x1]+'|'+_0x460df9[0x2];}static[a29_0x2fbfe(0x76)](_0x1ace9a){const _0x1b353=a29_0x2fbfe,_0x56c479={'xFWna':function(_0x4141e4,_0xd8b6ae){return _0x4141e4!==_0xd8b6ae;},'PXlLN':_0x1b353(0xa2)},_0x28e7e3=_0x1ace9a[_0x1b353(0x95)]();if(_0x28e7e3){if(_0x56c479[_0x1b353(0x67)](_0x1b353(0x8a),_0x56c479['PXlLN']))_0x1ace9a[_0x1b353(0x68)](_0x28e7e3);else return _0x450112[0x1];}return _0x28e7e3;}static['makeToolStruct'](_0x418e96){const _0x155165=a29_0x2fbfe,_0x43abfa=[];for(const _0x34a784 of _0x418e96){_0x43abfa['push']({'name':_0x34a784['name'],'args':_0x34a784[_0x155165(0xab)],'id':_0x34a784['id']});}return _0x43abfa;}}exports[a29_0x2fbfe(0x80)]=MessageUtil;class AiMessageEx extends messages_1[a29_0x2fbfe(0x81)]{constructor(_0x379b14,_0xc276b4,_0x1f2fa4){const _0x19bc41=a29_0x2fbfe,_0x1fc575={'yeGNN':function(_0x540c81,_0x4dc52e){return _0x540c81??_0x4dc52e;}};super({'content':_0xc276b4,'id':_0x379b14[_0x19bc41(0x78)](),'additional_kwargs':_0x1fc575[_0x19bc41(0x69)](_0x1f2fa4,{'direct':![]})});}}exports['AiMessageEx']=AiMessageEx;class HumanMessageEx extends messages_1[a29_0x2fbfe(0xa9)]{constructor(_0x551e0c,_0x1cf002,_0x4b7269){const _0x2c5ca3=a29_0x2fbfe;super({'content':_0x1cf002,'id':_0x551e0c[_0x2c5ca3(0x78)](),'additional_kwargs':_0x4b7269??{'direct':![]}});}}exports[a29_0x2fbfe(0x7a)]=HumanMessageEx;function a29_0x31c9(){const _0x3bb4c1=['isSame','ToolStatus','length','ToolValidated','YIqON','qYkBG','replaceStep','toString','12TEyIKo','keys','kOyQG','aShTu','defineProperty','OFlad','4206147njtFOg','constructor','makeToolStruct','messageTime','HumanMessage','LwWyD','args','320XkKSUl','AiMessageEx','step','xFWna','push','yeGNN','361683yrjMQd','stringify','../flow/flow-types','ToolMessageEx','206988jiVkQY','7gRzbto','ToolCallMessage','error','search','ToolCallEx','CvdNT','fVJlt','peek','type','genMessageId','(((.+)+)+)+$','HumanMessageEx','alokL','success','786qNeBaP','173560iyygyO','__esModule','MessageUtil','AIMessage','ToolMessageOK','./constants','split','TKezj','594052YhLbNJ','name','ToolMessageBad','hluXL','SUuDK','ToolMessageInfo','isEmptyObject','23334LeoXkH','apply','nATfP','ToolMessage','@langchain/core/messages','78IUfKmw','DirectMessage','459AsOyLo','pop','50OJzJqO'];a29_0x31c9=function(){return _0x3bb4c1;};return a29_0x31c9();}function a29_0x4d72(_0x165a72,_0xe060bc){const _0x32a466=a29_0x31c9();return a29_0x4d72=function(_0x518b79,_0x3ca3fb){_0x518b79=_0x518b79-0x64;let _0x31c908=_0x32a466[_0x518b79];return _0x31c908;},a29_0x4d72(_0x165a72,_0xe060bc);}class ToolMessageEx extends messages_1[a29_0x2fbfe(0x90)]{constructor(_0x5a6e74,_0x658abf,_0x50a87f,_0x17cd98=flow_types_1[a29_0x2fbfe(0x98)][a29_0x2fbfe(0x7c)],_0x5224d9){const _0x35fcb9=a29_0x2fbfe,_0x392c71={'bYESF':function(_0x5adb47,_0x3d0307){return _0x5adb47??_0x3d0307;}};super({'name':_0x658abf[_0x35fcb9(0x87)],'tool_call_id':_0x658abf['id'],'content':_0x50a87f,'status':_0x17cd98,'id':_0x5a6e74['genMessageId'](),'additional_kwargs':_0x392c71['bYESF'](_0x5224d9,{'stopTool':!![]})});}}exports[a29_0x2fbfe(0x6d)]=ToolMessageEx;class ToolCallMessage extends messages_1[a29_0x2fbfe(0x81)]{constructor(_0x7817cd,_0x5a33b5){const _0x4dbc5d=a29_0x2fbfe;super({'content':'','id':_0x7817cd[_0x4dbc5d(0x78)](),'tool_calls':MessageUtil[_0x4dbc5d(0xa7)](_0x5a33b5)});}}exports[a29_0x2fbfe(0x70)]=ToolCallMessage;class ToolMessageOK extends ToolMessageEx{constructor(_0x20ce52,_0x1cbf39){const _0x5d5cba=a29_0x2fbfe;super(_0x20ce52,_0x1cbf39,constants_1['K'][_0x5d5cba(0x9a)]);}}exports[a29_0x2fbfe(0x82)]=ToolMessageOK;class ToolMessageBad extends ToolMessageEx{constructor(_0x4fd833,_0xd435e9,_0x5945e7){const _0x376228=a29_0x2fbfe;super(_0x4fd833,_0xd435e9,_0x5945e7,flow_types_1[_0x376228(0x98)][_0x376228(0x71)]);}}exports[a29_0x2fbfe(0x88)]=ToolMessageBad;class ToolMessageInfo extends ToolMessageEx{constructor(_0x2b7576,_0x1099e8,_0xfe3d9c){super(_0x2b7576,_0x1099e8,_0xfe3d9c);}}exports[a29_0x2fbfe(0x8b)]=ToolMessageInfo;class ToolCallEx{constructor(_0x3daa9d,_0xe2fa76,_0x85299f){const _0xcd56c1=a29_0x2fbfe;this[_0xcd56c1(0x87)]=_0x3daa9d,this['args']=_0xe2fa76,this[_0xcd56c1(0x66)]=_0x85299f[_0xcd56c1(0x78)]();}}exports[a29_0x2fbfe(0x73)]=ToolCallEx;class DirectMessage extends AiMessageEx{constructor(_0x541e8a,_0x280864){const _0x470879=a29_0x2fbfe,_0x4cc820={'UYmmz':function(_0x1520df,_0x2e3048){return _0x1520df===_0x2e3048;},'CvdNT':'object','fVJlt':function(_0x3e71ed,_0x19b6de){return _0x3e71ed!==_0x19b6de;},'TKezj':_0x470879(0xa4)};_0x4cc820['UYmmz'](typeof _0x280864,_0x4cc820[_0x470879(0x74)])?super(_0x541e8a,JSON[_0x470879(0x6b)](_0x280864),{'direct':!![]}):_0x4cc820[_0x470879(0x75)](_0x470879(0x8f),_0x4cc820[_0x470879(0x85)])?super(_0x541e8a,_0x280864,{'direct':!![]}):_0x15cbe6['push']({'name':_0x5209be['name'],'args':_0x4e32dc[_0x470879(0xab)],'id':_0x4d8460['id']});}}exports[a29_0x2fbfe(0x93)]=DirectMessage;
package/utils/retry.js CHANGED
@@ -1 +1 @@
1
- function a30_0x3862(_0x43cd28,_0xda7a16){const _0x3cb000=a30_0x3e38();return a30_0x3862=function(_0x459d1e,_0x48d944){_0x459d1e=_0x459d1e-0xd8;let _0x3e3843=_0x3cb000[_0x459d1e];return _0x3e3843;},a30_0x3862(_0x43cd28,_0xda7a16);}const a30_0x280e4c=a30_0x3862;(function(_0xd0f52e,_0x3d2eb2){const _0x3a2a1b=a30_0x3862,_0x26b0f5=_0xd0f52e();while(!![]){try{const _0x434922=parseInt(_0x3a2a1b(0xda))/0x1+parseInt(_0x3a2a1b(0xf4))/0x2*(-parseInt(_0x3a2a1b(0xe1))/0x3)+-parseInt(_0x3a2a1b(0xec))/0x4+-parseInt(_0x3a2a1b(0xf5))/0x5*(parseInt(_0x3a2a1b(0xdf))/0x6)+parseInt(_0x3a2a1b(0xe3))/0x7*(-parseInt(_0x3a2a1b(0xeb))/0x8)+parseInt(_0x3a2a1b(0xf3))/0x9*(parseInt(_0x3a2a1b(0xf7))/0xa)+parseInt(_0x3a2a1b(0xe8))/0xb;if(_0x434922===_0x3d2eb2)break;else _0x26b0f5['push'](_0x26b0f5['shift']());}catch(_0x24af42){_0x26b0f5['push'](_0x26b0f5['shift']());}}}(a30_0x3e38,0x8459e));function a30_0x3e38(){const _0x173bca=['defineProperty','__esModule','goTry','13402114Gjhsry','NrWiH','doRAN','906728yFBGQG','1100292RqzOJK','search','geptP','(((.+)+)+)+$','apply','UKkQn','constructor','2349WAsgrg','330024UHbHpf','3314365RXmbIW','Retry','9930ivXIGM','IVyzs','xeatu','eGfmK','oelTk','NCuyW','620885LoSawQ','MGlpY','pow','SUpKG','toString','6SGCnZW','delay','3IYTiMx','CAPdn','28bmkRzM','zKxGi'];a30_0x3e38=function(){return _0x173bca;};return a30_0x3e38();}const a30_0x48d944=(function(){const _0x499991=a30_0x3862,_0x5d2148={'geptP':function(_0x116bd3,_0x288961){return _0x116bd3!==_0x288961;},'zKxGi':_0x499991(0xd8),'NrWiH':_0x499991(0xe2)};let _0x2d0d6b=!![];return function(_0xa037ce,_0x5f2c06){const _0x1d0fac=_0x2d0d6b?function(){const _0x3909b4=a30_0x3862;if(_0x5f2c06){if(_0x5d2148[_0x3909b4(0xee)](_0x5d2148[_0x3909b4(0xe4)],_0x5d2148[_0x3909b4(0xe9)])){const _0x3cf3e7=_0x5f2c06[_0x3909b4(0xf0)](_0xa037ce,arguments);return _0x5f2c06=null,_0x3cf3e7;}else{const _0x3a4597=_0x2af205?function(){if(_0x525a86){const _0x33687f=_0x41ba26['apply'](_0x3bcebe,arguments);return _0x23f2b4=null,_0x33687f;}}:function(){};return _0x1ccba3=![],_0x3a4597;}}}:function(){};return _0x2d0d6b=![],_0x1d0fac;};}()),a30_0x459d1e=a30_0x48d944(this,function(){const _0x3085f1=a30_0x3862,_0x485e04={'FVTHm':_0x3085f1(0xef)};return a30_0x459d1e['toString']()[_0x3085f1(0xed)](_0x485e04['FVTHm'])[_0x3085f1(0xde)]()[_0x3085f1(0xf2)](a30_0x459d1e)[_0x3085f1(0xed)](_0x3085f1(0xef));});a30_0x459d1e();'use strict';Object[a30_0x280e4c(0xe5)](exports,a30_0x280e4c(0xe6),{'value':!![]}),exports[a30_0x280e4c(0xf6)]=void 0x0;class Retry{static async[a30_0x280e4c(0xe7)]({maxRetries:_0x45e369,delayMs:_0x2eea7c,exponentialBackoff:_0x31d6b2,onMain:_0x2b9f0e,onWarn:_0x39bd81,shouldRetry:_0x5b4c10,onError:_0x47659a,onFinalError:_0x32e5b4}){const _0x4d45c7=a30_0x280e4c,_0x1cc810={'ZAsZf':function(_0x4d5253,_0x155666){return _0x4d5253(_0x155666);},'xeatu':function(_0x3dab8a,_0x6dd735){return _0x3dab8a>=_0x6dd735;},'SUpKG':function(_0x5e9d00,_0x20796e,_0x486fdc,_0x3cc8e5){return _0x5e9d00(_0x20796e,_0x486fdc,_0x3cc8e5);},'LFcld':function(_0x2e9107,_0x4ae4d3,_0xe8845){return _0x2e9107(_0x4ae4d3,_0xe8845);},'MGlpY':function(_0x4844d5,_0x4811b7){return _0x4844d5!==_0x4811b7;},'UKkQn':'MnbCD','doRAN':'AtxOu','IVyzs':function(_0x9115f1,_0x2f5492){return _0x9115f1===_0x2f5492;},'eGfmK':function(_0x3c758c,_0x340503){return _0x3c758c(_0x340503);}};let _0x5b1b7a=0x1,_0x5783dd;while(_0x5b1b7a<=_0x45e369){try{_0x1cc810[_0x4d45c7(0xf9)](_0x5b1b7a,0x2)&&_0x1cc810[_0x4d45c7(0xdd)](_0x39bd81,_0x5b1b7a,_0x45e369,_0x5783dd);const _0x5dd0a9=await _0x2b9f0e();if(_0x1cc810['LFcld'](_0x5b4c10,_0x5dd0a9,_0x5b1b7a)){if(_0x1cc810[_0x4d45c7(0xdb)](_0x1cc810[_0x4d45c7(0xf1)],_0x1cc810[_0x4d45c7(0xea)])){_0x5b1b7a++,await this['delay'](_0x2eea7c,_0x5b1b7a,_0x31d6b2);continue;}else _0x1cc810['ZAsZf'](_0x2ed6b6,_0x20e880);}return _0x5dd0a9;}catch(_0x26763c){_0x1cc810[_0x4d45c7(0xf8)](_0x4d45c7(0xd9),'lEtKd')?_0x48b575(_0x5215a3,_0x998854,_0x1b7f64):(_0x5783dd=_0x26763c,_0x47659a&&_0x1cc810[_0x4d45c7(0xfa)](_0x47659a,_0x26763c),_0x5b1b7a++,await this['delay'](_0x2eea7c,_0x5b1b7a,_0x31d6b2));}}_0x32e5b4(_0x5783dd);}static async[a30_0x280e4c(0xe0)](_0x44be58,_0x562949,_0x12f0fd){const _0x3c959e=a30_0x280e4c,_0x16d4ad={'JzyoR':function(_0x22c600,_0x3a2c8c){return _0x22c600*_0x3a2c8c;}},_0x58b775=_0x12f0fd?_0x16d4ad['JzyoR'](_0x44be58,Math[_0x3c959e(0xdc)](0x2,_0x562949-0x1)):_0x44be58;return new Promise(_0x28cc30=>setTimeout(_0x28cc30,_0x58b775));}}exports[a30_0x280e4c(0xf6)]=Retry;
1
+ const a30_0x55258a=a30_0x32c2;(function(_0x24c5e2,_0x123d9c){const _0x8d5d67=a30_0x32c2,_0x2ee443=_0x24c5e2();while(!![]){try{const _0x3d4cd5=parseInt(_0x8d5d67(0x1ba))/0x1*(parseInt(_0x8d5d67(0x197))/0x2)+parseInt(_0x8d5d67(0x1ad))/0x3*(parseInt(_0x8d5d67(0x1a5))/0x4)+parseInt(_0x8d5d67(0x1a1))/0x5*(-parseInt(_0x8d5d67(0x1a4))/0x6)+-parseInt(_0x8d5d67(0x1bc))/0x7*(-parseInt(_0x8d5d67(0x1a9))/0x8)+parseInt(_0x8d5d67(0x1b7))/0x9*(-parseInt(_0x8d5d67(0x194))/0xa)+-parseInt(_0x8d5d67(0x1a6))/0xb*(-parseInt(_0x8d5d67(0x190))/0xc)+-parseInt(_0x8d5d67(0x195))/0xd;if(_0x3d4cd5===_0x123d9c)break;else _0x2ee443['push'](_0x2ee443['shift']());}catch(_0x3c4b71){_0x2ee443['push'](_0x2ee443['shift']());}}}(a30_0x965f,0x4b79c));const a30_0xda1a39=(function(){const _0x1cf877=a30_0x32c2,_0x39211c={'CzibV':_0x1cf877(0x19b)};let _0x4bb4af=!![];return function(_0x5735ef,_0x5e0793){const _0x307fd6=_0x1cf877,_0x57457a={'KHBYD':function(_0x3ee12d,_0x1ac925){return _0x3ee12d-_0x1ac925;},'VZEmG':function(_0x3c7131,_0x27616d){return _0x3c7131===_0x27616d;},'yozQn':_0x39211c[_0x307fd6(0x198)]},_0x26d89e=_0x4bb4af?function(){const _0x510feb=_0x307fd6,_0x439747={'JTemA':function(_0x41387c,_0x30e2e0){const _0x4dc4e3=a30_0x32c2;return _0x57457a[_0x4dc4e3(0x1b5)](_0x41387c,_0x30e2e0);}};if(_0x57457a[_0x510feb(0x1a0)](_0x57457a[_0x510feb(0x1b0)],_0x57457a[_0x510feb(0x1b0)])){if(_0x5e0793){const _0x82d538=_0x5e0793[_0x510feb(0x1b2)](_0x5735ef,arguments);return _0x5e0793=null,_0x82d538;}}else{const _0x54c8f2=_0x2862ab?_0x9ec81f*_0x2fa48b[_0x510feb(0x1a8)](0x2,_0x439747[_0x510feb(0x19f)](_0x4989b0,0x1)):_0x422701;return new _0x5a7501(_0x5b223f=>_0x373adb(_0x5b223f,_0x54c8f2));}}:function(){};return _0x4bb4af=![],_0x26d89e;};}()),a30_0x57d18c=a30_0xda1a39(this,function(){const _0x552206=a30_0x32c2,_0x17bb65={'TKBqa':_0x552206(0x1ac)};return a30_0x57d18c['toString']()['search'](_0x552206(0x1ac))['toString']()['constructor'](a30_0x57d18c)[_0x552206(0x199)](_0x17bb65[_0x552206(0x1b8)]);});function a30_0x32c2(_0x5ddbfc,_0x38ca20){const _0x53d0d9=a30_0x965f();return a30_0x32c2=function(_0x57d18c,_0xda1a39){_0x57d18c=_0x57d18c-0x190;let _0x965f4f=_0x53d0d9[_0x57d18c];return _0x965f4f;},a30_0x32c2(_0x5ddbfc,_0x38ca20);}a30_0x57d18c();'use strict';function a30_0x965f(){const _0x3669dc=['yDuqg','Zesyg','yozQn','FDblx','apply','goTry','Retry','KHBYD','delay','171AZrYHD','TKBqa','MwCts','187847HidcIj','eEgNS','2807yBxqVu','36EpbWzX','SeBqM','__esModule','mQhhz','20890hxDXfD','13256633QvirVL','constructor','6sdWvGe','CzibV','search','toString','niZCz','asvqC','pFSPB','SNADZ','JTemA','VZEmG','137465hafKgg','PqMMa','tEFNG','66uBfxzC','73644zPoTem','28094NBpaKq','ZSxbz','pow','12024JgllZc','FXxav','NVUUK','(((.+)+)+)+$','81XhPODS'];a30_0x965f=function(){return _0x3669dc;};return a30_0x965f();}Object['defineProperty'](exports,a30_0x55258a(0x192),{'value':!![]}),exports[a30_0x55258a(0x1b4)]=void 0x0;class Retry{static async[a30_0x55258a(0x1b3)]({maxRetries:_0x128430,delayMs:_0xd571dd,exponentialBackoff:_0x1b68b6,onMain:_0x4cae1f,onWarn:_0xd707cc,shouldRetry:_0x1f9429,onError:_0x1eac79,onFinalError:_0x55b6ec}){const _0x5c5b8d=a30_0x55258a,_0x46c1b0={'EApcr':_0x5c5b8d(0x1ac),'ZSxbz':function(_0x367f01,_0x2da86d){return _0x367f01<=_0x2da86d;},'MwCts':function(_0x2961e3,_0x32a6b9){return _0x2961e3!==_0x32a6b9;},'PzgAc':function(_0x797510,_0x541007){return _0x797510>=_0x541007;},'STqSo':function(_0x5b5b59,_0x1c48e9,_0x43a626,_0x4a9c6c){return _0x5b5b59(_0x1c48e9,_0x43a626,_0x4a9c6c);},'OEqaM':function(_0x2b33bc){return _0x2b33bc();},'tEFNG':function(_0x748cfc,_0x18ab3b,_0x3eb22d){return _0x748cfc(_0x18ab3b,_0x3eb22d);},'SNADZ':function(_0x596b95,_0x11ff25){return _0x596b95===_0x11ff25;},'pFSPB':_0x5c5b8d(0x1a2),'FXxav':_0x5c5b8d(0x19c),'yDuqg':'GdEkk','eEgNS':function(_0x2c3fe6,_0x59eee2){return _0x2c3fe6(_0x59eee2);},'SeBqM':function(_0x14cccf,_0x5c3a60){return _0x14cccf(_0x5c3a60);}};let _0x43bb69=0x1,_0x4fed4a;while(_0x46c1b0[_0x5c5b8d(0x1a7)](_0x43bb69,_0x128430)){try{if(_0x46c1b0[_0x5c5b8d(0x1b9)](_0x5c5b8d(0x1ab),_0x5c5b8d(0x1af))){_0x46c1b0['PzgAc'](_0x43bb69,0x2)&&_0x46c1b0['STqSo'](_0xd707cc,_0x43bb69,_0x128430,_0x4fed4a);const _0x2f7145=await _0x46c1b0['OEqaM'](_0x4cae1f);if(_0x46c1b0[_0x5c5b8d(0x1a3)](_0x1f9429,_0x2f7145,_0x43bb69)){if(_0x46c1b0[_0x5c5b8d(0x19e)](_0x46c1b0[_0x5c5b8d(0x19d)],_0x46c1b0[_0x5c5b8d(0x1aa)])){const _0x3c5d4f=_0x538182[_0x5c5b8d(0x1b2)](_0x3470f8,arguments);return _0x52b33d=null,_0x3c5d4f;}else{_0x43bb69++,await this[_0x5c5b8d(0x1b6)](_0xd571dd,_0x43bb69,_0x1b68b6);continue;}}return _0x2f7145;}else{const _0x348b26=_0x3c7664?function(){if(_0x458316){const _0x3dc50f=_0x10ecc3['apply'](_0x4e3e91,arguments);return _0x30f4f8=null,_0x3dc50f;}}:function(){};return _0x11d2a2=![],_0x348b26;}}catch(_0xf3bc91){_0x4fed4a=_0xf3bc91;if(_0x1eac79){if(_0x46c1b0[_0x5c5b8d(0x1ae)]!==_0x46c1b0[_0x5c5b8d(0x1ae)])return _0x2c3dca[_0x5c5b8d(0x19a)]()[_0x5c5b8d(0x199)](CUnGxR['EApcr'])[_0x5c5b8d(0x19a)]()[_0x5c5b8d(0x196)](_0x9d6913)[_0x5c5b8d(0x199)](CUnGxR['EApcr']);else _0x46c1b0[_0x5c5b8d(0x1bb)](_0x1eac79,_0xf3bc91);}_0x43bb69++,await this['delay'](_0xd571dd,_0x43bb69,_0x1b68b6);}}_0x46c1b0[_0x5c5b8d(0x191)](_0x55b6ec,_0x4fed4a);}static async[a30_0x55258a(0x1b6)](_0x1f306a,_0x407eea,_0xc63e7d){const _0x38b0f2=a30_0x55258a,_0x4a5fab={'FDblx':function(_0x452852,_0x59d9cb){return _0x452852*_0x59d9cb;},'mQhhz':function(_0x2f0aae,_0x2903ba){return _0x2f0aae-_0x2903ba;}},_0x35789e=_0xc63e7d?_0x4a5fab[_0x38b0f2(0x1b1)](_0x1f306a,Math['pow'](0x2,_0x4a5fab[_0x38b0f2(0x193)](_0x407eea,0x1))):_0x1f306a;return new Promise(_0x5e3bbd=>setTimeout(_0x5e3bbd,_0x35789e));}}exports[a30_0x55258a(0x1b4)]=Retry;
@@ -1 +1 @@
1
- const a31_0x3809fc=a31_0x382d;(function(_0x27c84e,_0x2292dd){const _0x3ce328=a31_0x382d,_0x590316=_0x27c84e();while(!![]){try{const _0x4d2ada=-parseInt(_0x3ce328(0x8c))/0x1+parseInt(_0x3ce328(0x7e))/0x2*(-parseInt(_0x3ce328(0x81))/0x3)+-parseInt(_0x3ce328(0x85))/0x4*(parseInt(_0x3ce328(0x7a))/0x5)+parseInt(_0x3ce328(0x78))/0x6+-parseInt(_0x3ce328(0x8f))/0x7*(parseInt(_0x3ce328(0x87))/0x8)+parseInt(_0x3ce328(0x86))/0x9+parseInt(_0x3ce328(0x7d))/0xa;if(_0x4d2ada===_0x2292dd)break;else _0x590316['push'](_0x590316['shift']());}catch(_0x35204b){_0x590316['push'](_0x590316['shift']());}}}(a31_0x3678,0x8ada0));const a31_0x4d89ab=(function(){const _0x4d4092=a31_0x382d,_0x57b75d={'Neplu':_0x4d4092(0x95),'MjQJw':'hfNKR','xwjoT':_0x4d4092(0x97),'cBFYM':function(_0x56f1d8,_0x5a0c68){return _0x56f1d8===_0x5a0c68;},'VdWkc':_0x4d4092(0x91)};let _0x5ba9c0=!![];return function(_0x338a56,_0x476b0e){const _0x11b352=_0x4d4092,_0x35f5b3={'afriH':function(_0x73698,_0xb505e1){return _0x73698===_0xb505e1;},'KZeyX':_0x57b75d[_0x11b352(0x92)],'XIFns':_0x57b75d[_0x11b352(0x79)],'RVzhE':_0x57b75d[_0x11b352(0x8b)]};if(_0x57b75d[_0x11b352(0x94)](_0x57b75d[_0x11b352(0x9d)],_0x57b75d[_0x11b352(0x9d)])){const _0x146f9d=_0x5ba9c0?function(){const _0x3892f8=_0x11b352;if(_0x35f5b3[_0x3892f8(0x89)](_0x35f5b3['KZeyX'],_0x35f5b3[_0x3892f8(0x96)])){const _0x1d578b=/```json([\s\S]*?)```/,_0x3e2530=_0x16b612[_0x3892f8(0x88)](_0x1d578b);return _0x3e2530?_0x3e2530[0x1][_0x3892f8(0x99)]():null;}else{if(_0x476b0e){if(_0x35f5b3[_0x3892f8(0x89)]('ghkCa',_0x35f5b3[_0x3892f8(0x9b)])){const _0x38e437=_0x476b0e[_0x3892f8(0x7c)](_0x338a56,arguments);return _0x476b0e=null,_0x38e437;}else return _0x3d65e2[_0x3892f8(0x9a)](/\n/g,'');}}}:function(){};return _0x5ba9c0=![],_0x146f9d;}else return _0x535fc3[_0x11b352(0x9c)](_0x5d0749);};}()),a31_0x2cc36f=a31_0x4d89ab(this,function(){const _0x7dc013=a31_0x382d,_0x4f3fac={'HmMXQ':_0x7dc013(0x8d)};return a31_0x2cc36f['toString']()[_0x7dc013(0x7b)](_0x4f3fac[_0x7dc013(0x90)])['toString']()['constructor'](a31_0x2cc36f)[_0x7dc013(0x7b)](_0x4f3fac[_0x7dc013(0x90)]);});a31_0x2cc36f();'use strict';function a31_0x3678(){const _0x575eea=['stripJson','308BKpShq','HmMXQ','GlAtd','Neplu','gXrhP','cBFYM','Rlrim','XIFns','ghkCa','stripNewlines','trim','replace','RVzhE','parse','VdWkc','3382032hIcCpR','MjQJw','253530NqQYVX','search','apply','3007940PChRIN','887834sBQLZl','stripQuote','__esModule','3goPyzS','yTfFL','StringUtil','parseJson','4aryKEx','9440928CnJLNg','40968bncCsp','match','afriH','defineProperty','xwjoT','624775aQLEFT','(((.+)+)+)+$'];a31_0x3678=function(){return _0x575eea;};return a31_0x3678();}Object[a31_0x3809fc(0x8a)](exports,a31_0x3809fc(0x80),{'value':!![]}),exports[a31_0x3809fc(0x83)]=void 0x0;function a31_0x382d(_0x56b30a,_0x47fdea){const _0x3bf9e=a31_0x3678();return a31_0x382d=function(_0x2cc36f,_0x4d89ab){_0x2cc36f=_0x2cc36f-0x78;let _0x3678c0=_0x3bf9e[_0x2cc36f];return _0x3678c0;},a31_0x382d(_0x56b30a,_0x47fdea);}class StringUtil{static[a31_0x3809fc(0x98)](_0x2cdf96){const _0x48a9e5=a31_0x3809fc;return _0x2cdf96[_0x48a9e5(0x9a)](/\n/g,'');}static[a31_0x3809fc(0x8e)](_0x97c1d6){const _0x15448b=a31_0x3809fc,_0x1848d1=/```json([\s\S]*?)```/,_0x2be97f=_0x97c1d6[_0x15448b(0x88)](_0x1848d1);return _0x2be97f?_0x2be97f[0x1][_0x15448b(0x99)]():null;}static[a31_0x3809fc(0x7f)](_0x2b2297){const _0x5e71ff=a31_0x3809fc;return _0x2b2297[_0x5e71ff(0x9a)](/^`|`$/g,'');}static[a31_0x3809fc(0x84)](_0x26fa00){const _0xc211=a31_0x3809fc,_0x40cc4a={'TAhGD':function(_0x36e076,_0xece87c){return _0x36e076!==_0xece87c;},'gXrhP':'ynotu'},_0x20714f=_0x26fa00[_0xc211(0x99)]()[_0xc211(0x9a)](/^```json\s*/i,'')['replace'](/^```\s*/i,'')[_0xc211(0x9a)](/\s*```$/,'');try{return JSON[_0xc211(0x9c)](_0x20714f);}catch(_0x50c2d2){return _0x40cc4a['TAhGD'](_0xc211(0x82),_0x40cc4a[_0xc211(0x93)])?null:_0x46d1d0['replace'](/^`|`$/g,'');}}}exports[a31_0x3809fc(0x83)]=StringUtil;
1
+ const a31_0x4da5e0=a31_0x5489;(function(_0x547522,_0x23d1bb){const _0xd58444=a31_0x5489,_0x544458=_0x547522();while(!![]){try{const _0x1feb3c=-parseInt(_0xd58444(0x1db))/0x1*(-parseInt(_0xd58444(0x1be))/0x2)+parseInt(_0xd58444(0x1d1))/0x3+-parseInt(_0xd58444(0x1cc))/0x4*(-parseInt(_0xd58444(0x1bc))/0x5)+parseInt(_0xd58444(0x1c8))/0x6+parseInt(_0xd58444(0x1d4))/0x7*(parseInt(_0xd58444(0x1c1))/0x8)+-parseInt(_0xd58444(0x1d6))/0x9*(-parseInt(_0xd58444(0x1cf))/0xa)+parseInt(_0xd58444(0x1dd))/0xb*(-parseInt(_0xd58444(0x1bd))/0xc);if(_0x1feb3c===_0x23d1bb)break;else _0x544458['push'](_0x544458['shift']());}catch(_0x1f2d2b){_0x544458['push'](_0x544458['shift']());}}}(a31_0x28da,0xca115));function a31_0x28da(){const _0x514b44=['toString','defineProperty','1540eIDZYE','wUwHe','982788qGzZGM','jnStC','constructor','14wLMdcs','trim','6921cMefOv','VcMZe','apply','parseJson','Eqdmt','113479AOyltH','replace','11ZtygmG','parse','PYINe','10iFjDpQ','28690788oiryMS','18EVwYvh','stripQuote','EshBM','3404504cspAvY','(((.+)+)+)+$','BCXeM','AXWNB','EdrtH','WOgVD','search','3588006bRXdnl','stripJson','StringUtil','__esModule','604216sNJoRM'];a31_0x28da=function(){return _0x514b44;};return a31_0x28da();}const a31_0x5b6775=(function(){const _0x393536={'AXWNB':function(_0x174ab0,_0x50d4e0){return _0x174ab0===_0x50d4e0;}};let _0x1a618b=!![];return function(_0x47749f,_0x321b68){const _0x134ad0=_0x1a618b?function(){const _0x18b38e=a31_0x5489;if(_0x321b68){if(_0x393536[_0x18b38e(0x1c4)](_0x18b38e(0x1d0),_0x18b38e(0x1d0))){const _0x57510b=_0x321b68[_0x18b38e(0x1d8)](_0x47749f,arguments);return _0x321b68=null,_0x57510b;}else return _0x58d7d5[_0x18b38e(0x1de)](_0x267f14);}}:function(){};return _0x1a618b=![],_0x134ad0;};}()),a31_0x27e198=a31_0x5b6775(this,function(){const _0x3852e2=a31_0x5489,_0x3325eb={'EshBM':_0x3852e2(0x1c2)};return a31_0x27e198[_0x3852e2(0x1cd)]()[_0x3852e2(0x1c7)](_0x3325eb[_0x3852e2(0x1c0)])[_0x3852e2(0x1cd)]()[_0x3852e2(0x1d3)](a31_0x27e198)[_0x3852e2(0x1c7)](_0x3325eb[_0x3852e2(0x1c0)]);});a31_0x27e198();function a31_0x5489(_0x2b0090,_0x2c91a1){const _0xa2e07b=a31_0x28da();return a31_0x5489=function(_0x27e198,_0x5b6775){_0x27e198=_0x27e198-0x1bc;let _0x28da5d=_0xa2e07b[_0x27e198];return _0x28da5d;},a31_0x5489(_0x2b0090,_0x2c91a1);}'use strict';Object[a31_0x4da5e0(0x1ce)](exports,a31_0x4da5e0(0x1cb),{'value':!![]}),exports[a31_0x4da5e0(0x1ca)]=void 0x0;class StringUtil{static['stripNewlines'](_0x1ba33){const _0x5972e0=a31_0x4da5e0;return _0x1ba33[_0x5972e0(0x1dc)](/\n/g,'');}static[a31_0x4da5e0(0x1c9)](_0x391640){const _0x108dae=a31_0x4da5e0,_0x490d60=/```json([\s\S]*?)```/,_0x3af47c=_0x391640['match'](_0x490d60);return _0x3af47c?_0x3af47c[0x1][_0x108dae(0x1d5)]():null;}static[a31_0x4da5e0(0x1bf)](_0x8d8c96){const _0x4ba19b=a31_0x4da5e0;return _0x8d8c96[_0x4ba19b(0x1dc)](/^`|`$/g,'');}static[a31_0x4da5e0(0x1d9)](_0x5367de){const _0x5d66c8=a31_0x4da5e0,_0x3f9456={'VcMZe':'(((.+)+)+)+$','EdrtH':function(_0x12ae83,_0x21aedd){return _0x12ae83!==_0x21aedd;},'Eqdmt':'BCXeM','jnStC':function(_0x4407a3,_0x40d26a){return _0x4407a3===_0x40d26a;},'KeAGc':_0x5d66c8(0x1df)},_0x393135=_0x5367de[_0x5d66c8(0x1d5)]()[_0x5d66c8(0x1dc)](/^```json\s*/i,'')[_0x5d66c8(0x1dc)](/^```\s*/i,'')['replace'](/\s*```$/,'');try{return _0x3f9456[_0x5d66c8(0x1c5)](_0x3f9456[_0x5d66c8(0x1da)],_0x5d66c8(0x1c3))?_0x5f011f[_0x5d66c8(0x1dc)](/\n/g,''):JSON[_0x5d66c8(0x1de)](_0x393135);}catch(_0x5158e6){return _0x3f9456[_0x5d66c8(0x1d2)](_0x5d66c8(0x1c6),_0x3f9456['KeAGc'])?_0x202a0b[_0x5d66c8(0x1cd)]()[_0x5d66c8(0x1c7)](uGKumC[_0x5d66c8(0x1d7)])['toString']()[_0x5d66c8(0x1d3)](_0x326c49)[_0x5d66c8(0x1c7)](_0x5d66c8(0x1c2)):null;}}}exports[a31_0x4da5e0(0x1ca)]=StringUtil;
@@ -1 +1 @@
1
- var a32_0x101357=a32_0x52d8;(function(_0x5c3a1a,_0x50a69c){var _0x188238=a32_0x52d8,_0x2f5bbc=_0x5c3a1a();while(!![]){try{var _0x457af7=parseInt(_0x188238(0xd5))/0x1*(-parseInt(_0x188238(0xcb))/0x2)+parseInt(_0x188238(0xe1))/0x3*(parseInt(_0x188238(0xe6))/0x4)+parseInt(_0x188238(0xe3))/0x5*(parseInt(_0x188238(0xd1))/0x6)+parseInt(_0x188238(0xe2))/0x7*(parseInt(_0x188238(0xd7))/0x8)+parseInt(_0x188238(0xdc))/0x9*(parseInt(_0x188238(0xe7))/0xa)+parseInt(_0x188238(0xe8))/0xb+-parseInt(_0x188238(0xcf))/0xc;if(_0x457af7===_0x50a69c)break;else _0x2f5bbc['push'](_0x2f5bbc['shift']());}catch(_0x7311d4){_0x2f5bbc['push'](_0x2f5bbc['shift']());}}}(a32_0x56cd,0xd306f));var a32_0x42bebf=(function(){var _0x1893a8=a32_0x52d8,_0x7f52b7={'yTIVG':function(_0x53c4a0,_0x24cdba){return _0x53c4a0===_0x24cdba;},'bufRJ':_0x1893a8(0xdb),'WMRaq':_0x1893a8(0xd4)},_0x5474ef=!![];return function(_0x31f5aa,_0x216507){var _0x480af8=_0x1893a8,_0x54cef0={'KXNDZ':function(_0x1e5bb1,_0x2a97ad){return _0x7f52b7['yTIVG'](_0x1e5bb1,_0x2a97ad);},'nPXdm':_0x7f52b7[_0x480af8(0xcd)],'NKvjV':_0x7f52b7[_0x480af8(0xca)]},_0x2b3796=_0x5474ef?function(){var _0x126173=_0x480af8;if(_0x216507){if(_0x54cef0['KXNDZ'](_0x54cef0[_0x126173(0xe4)],_0x54cef0['NKvjV'])){var _0x10025e=_0x41c62a[_0x126173(0xd3)](_0x54563b,arguments);return _0x5d0b5e=null,_0x10025e;}else{var _0x2b41fe=_0x216507[_0x126173(0xd3)](_0x31f5aa,arguments);return _0x216507=null,_0x2b41fe;}}}:function(){};return _0x5474ef=![],_0x2b3796;};}()),a32_0x3e18ef=a32_0x42bebf(this,function(){var _0x222d8b=a32_0x52d8,_0x25cc90={'brFjb':_0x222d8b(0xcc)};return a32_0x3e18ef[_0x222d8b(0xd8)]()[_0x222d8b(0xdd)]('(((.+)+)+)+$')[_0x222d8b(0xd8)]()[_0x222d8b(0xe0)](a32_0x3e18ef)['search'](_0x25cc90[_0x222d8b(0xdf)]);});a32_0x3e18ef();'use strict';Object[a32_0x101357(0xce)](exports,a32_0x101357(0xd0),{'value':!![]}),exports[a32_0x101357(0xe5)]=void 0x0;class ToolUtil{static[a32_0x101357(0xd2)](_0x9597f2){var _0x3c6cb5=a32_0x101357,_0x42be78={'KlKDx':function(_0xbe74ea,_0x3aa9c7){return _0xbe74ea>_0x3aa9c7;}};return _0x42be78['KlKDx'](_0x9597f2?.[_0x3c6cb5(0xda)]?.[_0x3c6cb5(0xde)],0x0);}static[a32_0x101357(0xd6)](_0xab54ee){var _0x39ce32=a32_0x101357,_0xf9e096={'HbItj':function(_0x429dd1,_0x48e16c){return _0x429dd1===_0x48e16c;}};return _0xf9e096[_0x39ce32(0xd9)](_0xab54ee?.[_0x39ce32(0xda)]?.[_0x39ce32(0xde)],0x0);}}function a32_0x52d8(_0x575c6e,_0x13870d){var _0x24ff5a=a32_0x56cd();return a32_0x52d8=function(_0x3e18ef,_0x42bebf){_0x3e18ef=_0x3e18ef-0xca;var _0x56cd42=_0x24ff5a[_0x3e18ef];return _0x56cd42;},a32_0x52d8(_0x575c6e,_0x13870d);}function a32_0x56cd(){var _0x1e0892=['235592sIUtao','21290paNypJ','14002967opvVQy','WMRaq','17732jmbmvX','(((.+)+)+)+$','bufRJ','defineProperty','46207536AggqRk','__esModule','24JXCXqq','hasTool','apply','YohYP','71Bbqvjj','hasNoTool','8jLHJuW','toString','HbItj','tool_calls','jKRIa','4635NpjUNe','search','length','brFjb','constructor','12OUuTiz','9414363VvXbIj','1743185NhasGd','nPXdm','ToolUtil'];a32_0x56cd=function(){return _0x1e0892;};return a32_0x56cd();}exports[a32_0x101357(0xe5)]=ToolUtil;
1
+ var a32_0x9018b7=a32_0x1f20;(function(_0x17c89d,_0x4048e5){var _0x21e4f7=a32_0x1f20,_0x52db3d=_0x17c89d();while(!![]){try{var _0x3b0193=-parseInt(_0x21e4f7(0x12b))/0x1+parseInt(_0x21e4f7(0x128))/0x2+parseInt(_0x21e4f7(0x11f))/0x3*(-parseInt(_0x21e4f7(0x134))/0x4)+-parseInt(_0x21e4f7(0x126))/0x5+-parseInt(_0x21e4f7(0x133))/0x6*(parseInt(_0x21e4f7(0x12d))/0x7)+parseInt(_0x21e4f7(0x11c))/0x8*(parseInt(_0x21e4f7(0x11d))/0x9)+parseInt(_0x21e4f7(0x121))/0xa*(parseInt(_0x21e4f7(0x132))/0xb);if(_0x3b0193===_0x4048e5)break;else _0x52db3d['push'](_0x52db3d['shift']());}catch(_0x51801d){_0x52db3d['push'](_0x52db3d['shift']());}}}(a32_0x1514,0xb2d74));var a32_0x56774c=(function(){var _0x1290a3=a32_0x1f20,_0x56f1c0={'dzMyK':function(_0x5e99e7,_0x5d3e5a){return _0x5e99e7!==_0x5d3e5a;},'nVjYN':_0x1290a3(0x123),'nlDSo':_0x1290a3(0x129),'BCTPe':function(_0x31f4c3,_0x139988){return _0x31f4c3===_0x139988;},'lCyxb':_0x1290a3(0x12f),'XCkiG':'GWLjJ'},_0x27eac1=!![];return function(_0x39590c,_0x49e343){var _0x559fe9=_0x1290a3,_0x275c8d={'nepPn':function(_0x2aee6f,_0x2fd28a){var _0x1a9ebd=a32_0x1f20;return _0x56f1c0[_0x1a9ebd(0x122)](_0x2aee6f,_0x2fd28a);}};if(_0x56f1c0[_0x559fe9(0x131)]===_0x56f1c0['XCkiG']){var _0x175c9e=_0x15128c?function(){var _0x529ec6=_0x559fe9;if(_0x37c9b5){var _0x575a49=_0x376db0[_0x529ec6(0x125)](_0x2a8262,arguments);return _0x4cf0af=null,_0x575a49;}}:function(){};return _0x2b4e85=![],_0x175c9e;}else{var _0x21d8ee=_0x27eac1?function(){var _0x5381b5=_0x559fe9;if(_0x56f1c0[_0x5381b5(0x12e)](_0x56f1c0[_0x5381b5(0x11b)],_0x56f1c0['nlDSo'])){if(_0x49e343){var _0x5f1f30=_0x49e343[_0x5381b5(0x125)](_0x39590c,arguments);return _0x49e343=null,_0x5f1f30;}}else return _0x275c8d['nepPn'](_0x58ac72?.[_0x5381b5(0x130)]?.[_0x5381b5(0x12a)],0x0);}:function(){};return _0x27eac1=![],_0x21d8ee;}};}()),a32_0x4df6e9=a32_0x56774c(this,function(){var _0x59da58=a32_0x1f20,_0x3dd973={'gAftq':'(((.+)+)+)+$'};return a32_0x4df6e9[_0x59da58(0x11a)]()['search'](_0x3dd973[_0x59da58(0x12c)])[_0x59da58(0x11a)]()['constructor'](a32_0x4df6e9)['search'](_0x59da58(0x127));});a32_0x4df6e9();function a32_0x1514(){var _0x2230ab=['BCTPe','CdCem','__esModule','apply','912240KyxfyU','(((.+)+)+)+$','1117828OTkYPR','icQSk','length','610511shNtea','gAftq','21OFJHjz','dzMyK','gIOnN','tool_calls','lCyxb','22myVtko','667356GIBKhf','1097604TJDUSF','ToolUtil','hasTool','defineProperty','toString','nVjYN','24RVTSuM','3365802tNzjKB','hasNoTool','3GdMwsQ','QrsHN','2263610kbVCYV'];a32_0x1514=function(){return _0x2230ab;};return a32_0x1514();}'use strict';Object[a32_0x9018b7(0x119)](exports,a32_0x9018b7(0x124),{'value':!![]}),exports[a32_0x9018b7(0x117)]=void 0x0;class ToolUtil{static[a32_0x9018b7(0x118)](_0x218683){var _0x305a9a=a32_0x9018b7,_0x19fcce={'QrsHN':function(_0x2eb7a2,_0x257a84){return _0x2eb7a2>_0x257a84;}};return _0x19fcce[_0x305a9a(0x120)](_0x218683?.[_0x305a9a(0x130)]?.[_0x305a9a(0x12a)],0x0);}static[a32_0x9018b7(0x11e)](_0x392383){var _0x3cccbd=a32_0x9018b7;return _0x392383?.['tool_calls']?.[_0x3cccbd(0x12a)]===0x0;}}function a32_0x1f20(_0x4a387a,_0x402f0b){var _0x407e2=a32_0x1514();return a32_0x1f20=function(_0x4df6e9,_0x56774c){_0x4df6e9=_0x4df6e9-0x117;var _0x1514d6=_0x407e2[_0x4df6e9];return _0x1514d6;},a32_0x1f20(_0x4a387a,_0x402f0b);}exports[a32_0x9018b7(0x117)]=ToolUtil;
@@ -1 +1 @@
1
- function a33_0x32a8(_0x3ebaea,_0x166bbb){const _0x3be64a=a33_0x5de7();return a33_0x32a8=function(_0x1ae00f,_0x264251){_0x1ae00f=_0x1ae00f-0x155;let _0x5de722=_0x3be64a[_0x1ae00f];return _0x5de722;},a33_0x32a8(_0x3ebaea,_0x166bbb);}const a33_0x54c7c0=a33_0x32a8;(function(_0x5bd35f,_0x1f7a83){const _0x127e28=a33_0x32a8,_0x5a5561=_0x5bd35f();while(!![]){try{const _0x31acc7=parseInt(_0x127e28(0x15a))/0x1*(parseInt(_0x127e28(0x171))/0x2)+parseInt(_0x127e28(0x15b))/0x3+-parseInt(_0x127e28(0x17c))/0x4+-parseInt(_0x127e28(0x174))/0x5*(-parseInt(_0x127e28(0x17d))/0x6)+-parseInt(_0x127e28(0x173))/0x7*(-parseInt(_0x127e28(0x182))/0x8)+-parseInt(_0x127e28(0x16f))/0x9*(parseInt(_0x127e28(0x168))/0xa)+parseInt(_0x127e28(0x17f))/0xb;if(_0x31acc7===_0x1f7a83)break;else _0x5a5561['push'](_0x5a5561['shift']());}catch(_0x53cde0){_0x5a5561['push'](_0x5a5561['shift']());}}}(a33_0x5de7,0x29e64));const a33_0x264251=(function(){const _0xbdfc3={'hmNfZ':function(_0xda1af3,_0x38692f){return _0xda1af3===_0x38692f;}};let _0x46d316=!![];return function(_0x3f69c9,_0x9320cc){const _0x2f0bbb=a33_0x32a8,_0x81a914={'jPeEv':function(_0x3880a4,_0x1951cb){const _0x31ff3e=a33_0x32a8;return _0xbdfc3[_0x31ff3e(0x172)](_0x3880a4,_0x1951cb);},'YhGhz':_0x2f0bbb(0x187)},_0x2546ef=_0x46d316?function(){const _0x56aeb1=_0x2f0bbb;if(_0x81a914['jPeEv'](_0x56aeb1(0x187),_0x81a914[_0x56aeb1(0x17a)])){if(_0x9320cc){const _0x30f5a7=_0x9320cc[_0x56aeb1(0x16d)](_0x3f69c9,arguments);return _0x9320cc=null,_0x30f5a7;}}else return _0x428b10&&_0x37e63c[_0x56aeb1(0x162)]?_0x29fdb1:{'default':_0xb29a61};}:function(){};return _0x46d316=![],_0x2546ef;};}()),a33_0x1ae00f=a33_0x264251(this,function(){const _0x363e3c=a33_0x32a8,_0x5bffde={'ypKfI':_0x363e3c(0x161)};return a33_0x1ae00f['toString']()['search'](_0x363e3c(0x161))['toString']()[_0x363e3c(0x180)](a33_0x1ae00f)['search'](_0x5bffde['ypKfI']);});a33_0x1ae00f();'use strict';var __importDefault=this&&this['__importDefault']||function(_0x418924){const _0x4c4652=a33_0x32a8;return _0x418924&&_0x418924[_0x4c4652(0x162)]?_0x418924:{'default':_0x418924};};Object[a33_0x54c7c0(0x17b)](exports,a33_0x54c7c0(0x162),{'value':!![]}),exports[a33_0x54c7c0(0x183)]=verifyLicense;const tweetnacl_1=__importDefault(require(a33_0x54c7c0(0x185))),license_util_1=require('./license-util'),PUBLIC_KEY=Buffer[a33_0x54c7c0(0x157)]((0x0,license_util_1[a33_0x54c7c0(0x166)])()+(0x0,license_util_1[a33_0x54c7c0(0x15f)])()+(0x0,license_util_1[a33_0x54c7c0(0x181)])(),a33_0x54c7c0(0x160));let cached=null;function a33_0x5de7(){const _0x476829=['uctdE','readUInt16BE','PgnoJ','License\x20expired','apply','verify','9aglEtE','detached','380ZwnIan','hmNfZ','467887SNGtDQ','33565PWSNQt','Invalid\x20license\x20signature','lQRby','string','readUInt32BE','GZlnt','YhGhz','defineProperty','493308xrqZis','6nqTAdA','Unsupported\x20license\x20version','280566UUtYwd','constructor','part3','24sCHiXC','verifyLicense','EaWXe','tweetnacl','IHojB','srprt','IdHNQ','now','readUInt8','from','sign','vpUNX','1132ZLWKYm','403074DcNnNF','subarray','yUmXH','COoBY','part2','base64','(((.+)+)+)+$','__esModule','mZBzK','Invalid\x20license\x20length','LICENSE_VERSION','part1','License\x20token\x20missing','2872330zGSsUC'];a33_0x5de7=function(){return _0x476829;};return a33_0x5de7();}function verifyLicense(_0x1bb939){const _0x257521=a33_0x54c7c0,_0x42b0d6={'PgnoJ':_0x257521(0x177),'vpUNX':_0x257521(0x167),'EaWXe':_0x257521(0x164),'IdHNQ':'NOviZ','yUmXH':_0x257521(0x179),'qgiwV':_0x257521(0x175),'IHojB':function(_0x112d8f,_0x50af53){return _0x112d8f!==_0x50af53;},'uctdE':_0x257521(0x15e),'mZBzK':function(_0xb8f4e4,_0x4b4efe){return _0xb8f4e4/_0x4b4efe;},'lQRby':_0x257521(0x16c)};if(cached)return cached;if(typeof _0x1bb939!==_0x42b0d6[_0x257521(0x16b)])throw new Error(_0x42b0d6[_0x257521(0x159)]);const _0x40d3bb=(0x0,license_util_1['base64UrlDecode'])(_0x1bb939);if(_0x40d3bb['length']!==0x54)throw new Error(_0x42b0d6[_0x257521(0x184)]);const _0xe40c34=_0x40d3bb[_0x257521(0x15c)](0x0,0x14),_0x46249d=_0x40d3bb[_0x257521(0x15c)](0x14),_0x1ae5f2=tweetnacl_1['default'][_0x257521(0x158)][_0x257521(0x170)][_0x257521(0x16e)](_0xe40c34,_0x46249d,PUBLIC_KEY);if(!_0x1ae5f2){if(_0x42b0d6[_0x257521(0x188)]===_0x42b0d6[_0x257521(0x15d)]){if(_0x290a8f){const _0x1c97b3=_0x30eeff[_0x257521(0x16d)](_0x6d7611,arguments);return _0x696516=null,_0x1c97b3;}}else throw new Error(_0x42b0d6['qgiwV']);}const _0x486225=_0xe40c34[_0x257521(0x156)](0x0);if(_0x42b0d6[_0x257521(0x186)](_0x486225,license_util_1[_0x257521(0x165)])){if(_0x42b0d6[_0x257521(0x169)]===_0x42b0d6[_0x257521(0x169)])throw new Error(_0x257521(0x17e));else{const _0x17587c=_0x4df88c[_0x257521(0x16d)](_0x2e919a,arguments);return _0xafef11=null,_0x17587c;}}const _0x3c3de6=_0xe40c34[_0x257521(0x156)](0x1),_0x1fe7ba=_0xe40c34[_0x257521(0x178)](0x2),_0x4d7bfa=_0xe40c34[_0x257521(0x178)](0x6),_0xad2753=_0xe40c34[_0x257521(0x16a)](0xa),_0x5c827a=Math['floor'](_0x42b0d6[_0x257521(0x163)](Date[_0x257521(0x155)](),0x3e8));if(_0x5c827a>_0x4d7bfa)throw new Error(_0x42b0d6[_0x257521(0x176)]);return cached={'licenseType':_0x3c3de6,'issuedAt':_0x1fe7ba,'expiresAt':_0x4d7bfa,'features':_0xad2753},cached;}
1
+ const a33_0x2e7ad2=a33_0x4980;(function(_0x1b9fd9,_0x45641e){const _0x45148b=a33_0x4980,_0x49fdf3=_0x1b9fd9();while(!![]){try{const _0x489e89=parseInt(_0x45148b(0x1b8))/0x1+-parseInt(_0x45148b(0x1a7))/0x2+-parseInt(_0x45148b(0x1c3))/0x3*(parseInt(_0x45148b(0x199))/0x4)+parseInt(_0x45148b(0x1c1))/0x5+parseInt(_0x45148b(0x1b0))/0x6*(-parseInt(_0x45148b(0x1b2))/0x7)+parseInt(_0x45148b(0x1b6))/0x8+parseInt(_0x45148b(0x1bb))/0x9*(parseInt(_0x45148b(0x1a8))/0xa);if(_0x489e89===_0x45641e)break;else _0x49fdf3['push'](_0x49fdf3['shift']());}catch(_0x20ddfc){_0x49fdf3['push'](_0x49fdf3['shift']());}}}(a33_0x59b2,0xb6af5));const a33_0xf45f5a=(function(){const _0x2ad722=a33_0x4980,_0xff8163={'LWTjd':_0x2ad722(0x1a4)};let _0x58137d=!![];return function(_0x10e5ce,_0x7e5b7){const _0x2b330b=_0x2ad722,_0x531b7c={'fwtPf':_0x2b330b(0x1c4),'kuDMO':_0xff8163['LWTjd']},_0x423fd6=_0x58137d?function(){const _0x144d4e=_0x2b330b;if(_0x7e5b7){if(_0x531b7c[_0x144d4e(0x1b4)]===_0x531b7c[_0x144d4e(0x1bf)])throw new _0x443f23(_0x144d4e(0x1a6));else{const _0xa9a31c=_0x7e5b7[_0x144d4e(0x19d)](_0x10e5ce,arguments);return _0x7e5b7=null,_0xa9a31c;}}}:function(){};return _0x58137d=![],_0x423fd6;};}()),a33_0x4d3a1e=a33_0xf45f5a(this,function(){const _0x2010df=a33_0x4980,_0x131875={'PvrJt':_0x2010df(0x1a5)};return a33_0x4d3a1e['toString']()['search'](_0x131875[_0x2010df(0x1a1)])[_0x2010df(0x19e)]()['constructor'](a33_0x4d3a1e)[_0x2010df(0x1ba)](_0x131875[_0x2010df(0x1a1)]);});a33_0x4d3a1e();'use strict';function a33_0x4980(_0x3b133e,_0x5a81b7){const _0xf715c3=a33_0x59b2();return a33_0x4980=function(_0x4d3a1e,_0xf45f5a){_0x4d3a1e=_0x4d3a1e-0x199;let _0x59b2fc=_0xf715c3[_0x4d3a1e];return _0x59b2fc;},a33_0x4980(_0x3b133e,_0x5a81b7);}var __importDefault=this&&this[a33_0x2e7ad2(0x19b)]||function(_0x42538a){const _0x3004c2=a33_0x2e7ad2;return _0x42538a&&_0x42538a[_0x3004c2(0x1be)]?_0x42538a:{'default':_0x42538a};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['verifyLicense']=verifyLicense;function a33_0x59b2(){const _0x339bc6=['1350waBEUW','fKhmH','DywAO','__esModule','kuDMO','now','4815375jIFPMr','part3','730581fadyEK','yDGVq','base64UrlDecode','subarray','24CaIxZs','qUDDn','__importDefault','JfjiK','apply','toString','default','./license-util','PvrJt','fgvWm','LssBF','hNYAq','(((.+)+)+)+$','License\x20expired','2564872tFNpYL','95230RCyhOj','Invalid\x20license\x20signature','readUInt16BE','verify','from','readUInt8','length','ZLGwb','1842MLxeGm','Invalid\x20license\x20length','12509iSsTNT','floor','fwtPf','LICENSE_VERSION','1818224lHCEWp','Unsupported\x20license\x20version','1421681TCaRNQ','string','search'];a33_0x59b2=function(){return _0x339bc6;};return a33_0x59b2();}const tweetnacl_1=__importDefault(require('tweetnacl')),license_util_1=require(a33_0x2e7ad2(0x1a0)),PUBLIC_KEY=Buffer[a33_0x2e7ad2(0x1ac)]((0x0,license_util_1['part1'])()+(0x0,license_util_1['part2'])()+(0x0,license_util_1[a33_0x2e7ad2(0x1c2)])(),'base64');let cached=null;function verifyLicense(_0x4c4f2f){const _0x5ceb3e=a33_0x2e7ad2,_0x31f417={'fgvWm':function(_0x584f7e,_0x2d8908){return _0x584f7e!==_0x2d8908;},'JfjiK':_0x5ceb3e(0x1b9),'GkVPQ':function(_0x51a822,_0x17a961){return _0x51a822===_0x17a961;},'qUDDn':_0x5ceb3e(0x1af),'osovC':'ORJTZ','LssBF':'License\x20token\x20missing','fKhmH':_0x5ceb3e(0x1b1),'DywAO':_0x5ceb3e(0x1a9),'QMIVR':_0x5ceb3e(0x1b7),'CgjHL':function(_0x3728d9,_0x20f4a9){return _0x3728d9>_0x20f4a9;}};if(cached)return cached;if(_0x31f417[_0x5ceb3e(0x1a2)](typeof _0x4c4f2f,_0x31f417[_0x5ceb3e(0x19c)])){if(_0x31f417['GkVPQ'](_0x31f417[_0x5ceb3e(0x19a)],_0x31f417['osovC']))return _0xcbb2cc&&_0x5356d0[_0x5ceb3e(0x1be)]?_0xeef03d:{'default':_0x482246};else throw new Error(_0x31f417[_0x5ceb3e(0x1a3)]);}const _0x44debf=(0x0,license_util_1[_0x5ceb3e(0x1c5)])(_0x4c4f2f);if(_0x31f417['fgvWm'](_0x44debf[_0x5ceb3e(0x1ae)],0x54))throw new Error(_0x31f417[_0x5ceb3e(0x1bc)]);const _0xa17168=_0x44debf[_0x5ceb3e(0x1c6)](0x0,0x14),_0x466173=_0x44debf['subarray'](0x14),_0x5b2f04=tweetnacl_1[_0x5ceb3e(0x19f)]['sign']['detached'][_0x5ceb3e(0x1ab)](_0xa17168,_0x466173,PUBLIC_KEY);if(!_0x5b2f04)throw new Error(_0x31f417[_0x5ceb3e(0x1bd)]);const _0x5aa1da=_0xa17168[_0x5ceb3e(0x1ad)](0x0);if(_0x31f417[_0x5ceb3e(0x1a2)](_0x5aa1da,license_util_1[_0x5ceb3e(0x1b5)]))throw new Error(_0x31f417['QMIVR']);const _0x54f305=_0xa17168['readUInt8'](0x1),_0x1d3504=_0xa17168['readUInt32BE'](0x2),_0x1770d8=_0xa17168['readUInt32BE'](0x6),_0x1cacfe=_0xa17168[_0x5ceb3e(0x1aa)](0xa),_0x4d8919=Math[_0x5ceb3e(0x1b3)](Date[_0x5ceb3e(0x1c0)]()/0x3e8);if(_0x31f417['CgjHL'](_0x4d8919,_0x1770d8))throw new Error('License\x20expired');return cached={'licenseType':_0x54f305,'issuedAt':_0x1d3504,'expiresAt':_0x1770d8,'features':_0x1cacfe},cached;}