@tangle-network/sandbox 0.0.0-develop.20260609150405.e021b9c → 0.0.0-develop.20260609154328.e1b9e0b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/client-D5O2rjSL.js +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/collaboration-BxlfZ2Uh.js +1 -1
- package/dist/core.js +1 -1
- package/dist/errors-DZsfJUuc.js +1 -1
- package/dist/index.js +1 -1
- package/dist/intelligence/index.js +1 -1
- package/dist/openai/index.js +1 -1
- package/dist/sandbox-DH4Tq6fA.js +1 -1
- package/dist/session-gateway/index.js +1 -1
- package/dist/tangle/index.js +1 -1
- package/dist/tangle-_cxg7krW.js +1 -1
- package/package.json +1 -1
package/dist/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x5c6e3c=a0_0xab5b;(function(_0x2173ef,_0x36eabb){const _0x216176=a0_0xab5b,_0x3d12b6=_0x2173ef();while(!![]){try{const _0x4198f5=parseInt(_0x216176(0xf9))/0x1+-parseInt(_0x216176(0x133))/0x2*(-parseInt(_0x216176(0x128))/0x3)+-parseInt(_0x216176(0x120))/0x4*(-parseInt(_0x216176(0x16b))/0x5)+-parseInt(_0x216176(0xf7))/0x6+-parseInt(_0x216176(0x11e))/0x7*(-parseInt(_0x216176(0xec))/0x8)+-parseInt(_0x216176(0x132))/0x9+-parseInt(_0x216176(0x102))/0xa;if(_0x4198f5===_0x36eabb)break;else _0x3d12b6['push'](_0x3d12b6['shift']());}catch(_0x36f4b0){_0x3d12b6['push'](_0x3d12b6['shift']());}}}(a0_0x12e1,0xefead));import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';const TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x75\x6e\x5f\x63\x6f\x64\x65':{'\x6e\x61\x6d\x65':a0_0x5c6e3c(0xf8),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x166),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x6c\x61\x6e\x67\x75\x61\x67\x65':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152),'\x65\x6e\x75\x6d':[a0_0x5c6e3c(0x12b),a0_0x5c6e3c(0x156),'\x74\x79\x70\x65\x73\x63\x72\x69\x70\x74',a0_0x5c6e3c(0xf6)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4b\x65\x72\x6e\x65\x6c\x20\x6c\x61\x6e\x67\x75\x61\x67\x65\x2e'},'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x12d)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x101),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x13b)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x5c6e3c(0x134),a0_0x5c6e3c(0x10f)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x4e297a,sessionId:_0x2835ea})=>async _0x4f5a6c=>{const _0x3c2f2c=a0_0x5c6e3c;return await _0x4e297a[_0x3c2f2c(0x14a)](_0x4f5a6c[_0x3c2f2c(0x134)],_0x4f5a6c[_0x3c2f2c(0x10f)],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x2835ea,'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x4f5a6c[_0x3c2f2c(0xfe)]});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x65\x78\x65\x63':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x65\x78\x65\x63','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0xe7),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x53\x68\x65\x6c\x6c\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x20\x6c\x69\x6e\x65\x2e'},'\x63\x77\x64':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x139)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0xe3)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x5c6e3c(0xff)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x1760b0,sessionId:_0x50f076})=>async _0x26b490=>{const _0x26c325=a0_0x5c6e3c;return await _0x1760b0[_0x26c325(0xe5)](_0x26b490['\x63\x6f\x6d\x6d\x61\x6e\x64'],{'\x63\x77\x64':_0x26b490[_0x26c325(0xf4)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x26b490['\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73'],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x50f076});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x65\x61\x64':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x65\x61\x64','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x179),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x5c6e3c(0x14d)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x4a64d2,sessionId:_0x4d25c1})=>async _0xebc3ad=>{const _0x31fb80=a0_0x5c6e3c;return{'\x63\x6f\x6e\x74\x65\x6e\x74':await _0x4a64d2[_0x31fb80(0x125)](_0xebc3ad[_0x31fb80(0x14d)],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x4d25c1})};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x77\x72\x69\x74\x65':{'\x6e\x61\x6d\x65':a0_0x5c6e3c(0x103),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x57\x72\x69\x74\x65\x20\x61\x20\x66\x69\x6c\x65\x20\x69\x6e\x20\x74\x68\x65\x20\x73\x61\x6e\x64\x62\x6f\x78\x2e\x20\x43\x72\x65\x61\x74\x65\x73\x20\x70\x61\x72\x65\x6e\x74\x20\x64\x69\x72\x65\x63\x74\x6f\x72\x69\x65\x73\x20\x61\x73\x20\x6e\x65\x65\x64\x65\x64\x2e\x20\x4f\x76\x65\x72\x77\x72\x69\x74\x65\x73\x20\x65\x78\x69\x73\x74\x69\x6e\x67\x20\x66\x69\x6c\x65\x73\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152)},'\x63\x6f\x6e\x74\x65\x6e\x74':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x112)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x5c6e3c(0x14d),a0_0x5c6e3c(0xfc)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x2d51fa})=>async _0x278351=>{const _0x4c617e=a0_0x5c6e3c;return await _0x2d51fa[_0x4c617e(0x164)](_0x278351['\x70\x61\x74\x68'],_0x278351[_0x4c617e(0xfc)]),{'\x6f\x6b':!![]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x6c\x69\x73\x74':{'\x6e\x61\x6d\x65':a0_0x5c6e3c(0x131),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4c\x69\x73\x74\x20\x65\x6e\x74\x72\x69\x65\x73\x20\x69\x6e\x20\x61\x20\x64\x69\x72\x65\x63\x74\x6f\x72\x79\x20\x77\x69\x74\x68\x20\x73\x69\x7a\x65\x2c\x20\x74\x79\x70\x65\x2c\x20\x61\x6e\x64\x20\x6d\x6f\x64\x65\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67'}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x70\x61\x74\x68'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x327505})=>async _0x253881=>{return{'\x65\x6e\x74\x72\x69\x65\x73':await _0x327505['\x66\x73']['\x6c\x69\x73\x74'](_0x253881['\x70\x61\x74\x68'])};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x73\x65\x61\x72\x63\x68':{'\x6e\x61\x6d\x65':a0_0x5c6e3c(0x104),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x140),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x74\x65\x72\x6e':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x15d)},'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x144)},'\x6d\x61\x78\x5f\x72\x65\x73\x75\x6c\x74\x73':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x101),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x12e)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x70\x61\x74\x74\x65\x72\x6e'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x50a3f5})=>async _0x33f966=>{const _0x1d622e=a0_0x5c6e3c,_0x1ce896={'\x51\x49\x6a\x5a\x4e':function(_0x5de420,_0x2456c5){return _0x5de420>=_0x2456c5;}},_0x382684=[],_0x59cc89=_0x33f966[_0x1d622e(0x135)]??0x64;for await(const _0x4ef452 of _0x50a3f5['\x73\x65\x61\x72\x63\x68'](_0x33f966[_0x1d622e(0x110)],{'\x63\x77\x64':_0x33f966[_0x1d622e(0x14d)],'\x6d\x61\x78\x52\x65\x73\x75\x6c\x74\x73':_0x59cc89})){_0x382684['\x70\x75\x73\x68'](_0x4ef452);if(_0x1ce896[_0x1d622e(0x147)](_0x382684['\x6c\x65\x6e\x67\x74\x68'],_0x59cc89))break;}return{'\x6d\x61\x74\x63\x68\x65\x73':_0x382684};}}},ALL_TOOL_SPECS=Object[a0_0x5c6e3c(0x12a)](TOOL_SPECS);function selectSpecs(_0x2dc506){const _0x4e31aa=a0_0x5c6e3c;if(!_0x2dc506||_0x2dc506[_0x4e31aa(0x15a)]===0x0)return ALL_TOOL_SPECS;const _0x5927e5=new Set(_0x2dc506);return Object['\x6b\x65\x79\x73'](TOOL_SPECS)['\x66\x69\x6c\x74\x65\x72'](_0x59d661=>_0x5927e5[_0x4e31aa(0x124)](_0x59d661))[_0x4e31aa(0x118)](_0x2eff65=>TOOL_SPECS[_0x2eff65]);}function serializeToolResult(_0x29321b){if(typeof _0x29321b==='\x73\x74\x72\x69\x6e\x67')return _0x29321b;try{return JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79'](_0x29321b,null,0x2);}catch{return String(_0x29321b);}}const SDK_VERSION=((()=>{const _0x46c8d1=a0_0x5c6e3c;try{return createRequire(import.meta.url)(_0x46c8d1(0x141))[_0x46c8d1(0x172)]??_0x46c8d1(0xe8);}catch{return _0x46c8d1(0xe8);}})());async function createMcpServer(_0x59f0c9,_0x251bc8={}){const _0x269b29=a0_0x5c6e3c,_0x48af1c={'\x48\x47\x66\x44\x63':_0x269b29(0x130),'\x42\x48\x4a\x42\x76':function(_0x1c0d19,_0x31f75b){return _0x1c0d19 instanceof _0x31f75b;},'\x6a\x64\x56\x62\x4d':function(_0x43c462,_0xf1543){return _0x43c462(_0xf1543);},'\x70\x6a\x52\x57\x4e':_0x269b29(0x113),'\x52\x46\x68\x6b\x71':_0x269b29(0x13e),'\x4e\x49\x52\x52\x6f':_0x269b29(0x126)};let _0x200983,_0x198c07;try{[_0x200983,_0x198c07]=await Promise[_0x269b29(0x15c)]([import(_0x269b29(0x173)),import(_0x48af1c[_0x269b29(0x11c)])]);}catch{throw new Error(_0x48af1c['\x52\x46\x68\x6b\x71']);}const _0x5a9a60=selectSpecs(_0x251bc8[_0x269b29(0x165)]),_0x2cb309={'\x62\x6f\x78':_0x59f0c9,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x251bc8[_0x269b29(0x10b)]},_0x407e73=new Map();for(const _0x4067ba of _0x5a9a60)_0x407e73[_0x269b29(0xef)](_0x4067ba[_0x269b29(0x11d)],_0x4067ba['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x2cb309));const _0x359562=new _0x200983[(_0x269b29(0xeb))]({'\x6e\x61\x6d\x65':_0x251bc8[_0x269b29(0x11d)]??_0x48af1c[_0x269b29(0x10a)],'\x76\x65\x72\x73\x69\x6f\x6e':_0x251bc8[_0x269b29(0x172)]??SDK_VERSION},{'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x74\x6f\x6f\x6c\x73':{}}});return _0x359562[_0x269b29(0xe9)](_0x198c07[_0x269b29(0x14c)],async()=>({'\x74\x6f\x6f\x6c\x73':_0x5a9a60[_0x269b29(0x118)](_0x4a8a76=>({'\x6e\x61\x6d\x65':_0x4a8a76[_0x269b29(0x11d)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x4a8a76[_0x269b29(0x145)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x4a8a76['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']}))})),_0x359562[_0x269b29(0xe9)](_0x198c07['\x43\x61\x6c\x6c\x54\x6f\x6f\x6c\x52\x65\x71\x75\x65\x73\x74\x53\x63\x68\x65\x6d\x61'],async _0x289747=>{const _0x4f06d8=_0x269b29,_0x3cc8b2=_0x289747,_0x2d13fe=_0x407e73[_0x4f06d8(0x13f)](_0x3cc8b2['\x70\x61\x72\x61\x6d\x73'][_0x4f06d8(0x11d)]);if(!_0x2d13fe)return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x4f06d8(0x130),'\x74\x65\x78\x74':_0x4f06d8(0x13c)+_0x3cc8b2[_0x4f06d8(0x137)]['\x6e\x61\x6d\x65']}]};try{return{'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x48af1c['\x48\x47\x66\x44\x63'],'\x74\x65\x78\x74':serializeToolResult(await _0x2d13fe(_0x3cc8b2[_0x4f06d8(0x137)][_0x4f06d8(0x146)]??{}))}]};}catch(_0x3dc45a){return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x48af1c['\x48\x47\x66\x44\x63'],'\x74\x65\x78\x74':_0x48af1c[_0x4f06d8(0x16e)](_0x3dc45a,Error)?_0x3dc45a[_0x4f06d8(0x176)]:_0x48af1c[_0x4f06d8(0x11f)](String,_0x3dc45a)}]};}}),{'\x73\x65\x72\x76\x65\x72':_0x359562,'\x63\x6f\x6e\x6e\x65\x63\x74':_0x32a964=>_0x359562[_0x269b29(0x163)](_0x32a964),'\x63\x6c\x6f\x73\x65':()=>_0x359562[_0x269b29(0x12f)]()};}function runCode(_0x4a3ab8,_0x31cc92,_0x373fd9,_0x415b0e){const _0x171c21=a0_0x5c6e3c;return _0x4a3ab8[_0x171c21(0x14a)](_0x31cc92,_0x373fd9,_0x415b0e);}function anthropicTools(_0x92185c,_0x3d87a8={}){const _0x2634b4=a0_0x5c6e3c,_0x43446f={'\x6a\x6b\x72\x5a\x6c':function(_0x3402a4,_0x493603){return _0x3402a4(_0x493603);},'\x5a\x43\x69\x58\x74':_0x2634b4(0x115),'\x63\x52\x4a\x64\x6d':function(_0x4ae66f,_0x5f3fea){return _0x4ae66f(_0x5f3fea);}},_0xd2255b=_0x43446f['\x63\x52\x4a\x64\x6d'](selectSpecs,_0x3d87a8['\x61\x6c\x6c\x6f\x77']),_0x113f8a={'\x62\x6f\x78':_0x92185c,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x3d87a8[_0x2634b4(0x10b)]},_0x8f9cb5=new Map();for(const _0x24d651 of _0xd2255b)_0x8f9cb5[_0x2634b4(0xef)](_0x24d651['\x6e\x61\x6d\x65'],_0x24d651['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x113f8a));const _0xd0d97e=_0xd2255b['\x6d\x61\x70'](_0x4e15db=>({'\x6e\x61\x6d\x65':_0x4e15db['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x4e15db[_0x2634b4(0x145)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x4e15db['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']}));async function _0x5a4334(_0x25a785){const _0x2d18a2=_0x2634b4,_0x4e3134=_0x8f9cb5[_0x2d18a2(0x13f)](_0x25a785['\x6e\x61\x6d\x65']);if(!_0x4e3134)return{'\x74\x79\x70\x65':_0x2d18a2(0x115),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x25a785['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x74\x6f\x6f\x6c\x3a\x20'+_0x25a785[_0x2d18a2(0x11d)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x1118a5=await _0x43446f[_0x2d18a2(0xf1)](_0x4e3134,_0x25a785['\x69\x6e\x70\x75\x74']);return{'\x74\x79\x70\x65':_0x43446f['\x5a\x43\x69\x58\x74'],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x25a785['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':toAnthropicContent(_0x1118a5)};}catch(_0x227bba){return{'\x74\x79\x70\x65':'\x74\x6f\x6f\x6c\x5f\x72\x65\x73\x75\x6c\x74','\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x25a785['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x227bba instanceof Error?_0x227bba[_0x2d18a2(0x176)]:_0x43446f[_0x2d18a2(0x14f)](String,_0x227bba),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}async function _0x569797(_0x49c8ef){const _0x2b514f=_0x2634b4,_0x5e0a3b=_0x49c8ef['\x66\x69\x6c\x74\x65\x72'](_0x142032=>typeof _0x142032==='\x6f\x62\x6a\x65\x63\x74'&&_0x142032!==null&&_0x142032[_0x2b514f(0x129)]===_0x2b514f(0x154));return Promise[_0x2b514f(0x15c)](_0x5e0a3b[_0x2b514f(0x118)](_0x5a4334));}return{'\x74\x6f\x6f\x6c\x73':_0xd0d97e,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65':_0x5a4334,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x569797};}function toAnthropicContent(_0x55c806){const _0x21fe6c=a0_0x5c6e3c,_0x369c31={'\x77\x4d\x4a\x78\x59':function(_0x5884ca,_0x141e24){return _0x5884ca(_0x141e24);},'\x5a\x53\x6d\x4d\x75':_0x21fe6c(0xe4)};if(!isCodeExecutionResultWithImages(_0x55c806))return _0x369c31[_0x21fe6c(0xed)](serializeToolResult,_0x55c806);const _0x3f4d80=[],_0x1ef54c={..._0x55c806,'\x72\x65\x73\x75\x6c\x74\x73':_0x55c806[_0x21fe6c(0x10d)]['\x66\x69\x6c\x74\x65\x72'](_0x29e2f6=>_0x29e2f6['\x74\x79\x70\x65']!=='\x69\x6d\x61\x67\x65')};_0x3f4d80[_0x21fe6c(0x16c)]({'\x74\x79\x70\x65':_0x21fe6c(0x130),'\x74\x65\x78\x74':serializeToolResult(_0x1ef54c)});for(const _0x719d6c of _0x55c806[_0x21fe6c(0x10d)])if(isImagePart(_0x719d6c))_0x3f4d80[_0x21fe6c(0x16c)]({'\x74\x79\x70\x65':_0x369c31[_0x21fe6c(0x151)],'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':_0x21fe6c(0x13a),'\x6d\x65\x64\x69\x61\x5f\x74\x79\x70\x65':_0x369c31['\x77\x4d\x4a\x78\x59'](imageMediaType,_0x719d6c[_0x21fe6c(0x10e)]),'\x64\x61\x74\x61':_0x719d6c['\x64\x61\x74\x61']}});return _0x3f4d80;}function a0_0x12e1(){const _0x665266=['\x74\x67\x48\x50\x75\x4d\x47','\x74\x4e\x76\x54\x79\x4d\x76\x59\x69\x67\x39\x4d\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x7a\x78\x6d\x55\x69\x65\x76\x48\x79\x32\x47\x47\x41\x78\x6d\x47\x79\x4d\x4c\x53\x42\x67\x76\x4b\x69\x67\x4c\x55\x7a\x67\x76\x57\x7a\x77\x35\x4b\x7a\x77\x35\x30\x42\x68\x4b\x55','\x79\x4c\x50\x33\x72\x77\x30','\x74\x4b\x4c\x73\x75\x4d\x38','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x41\x77\x31\x48\x7a\x32\x75\x56\x41\x4e\x62\x4c\x7a\x57','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x7a\x4d\x39\x59\x42\x77\x66\x30','\x43\x32\x39\x31\x43\x4d\x6e\x4c','\x43\x67\x66\x30\x44\x67\x76\x59\x42\x47','\x75\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x62\x53\x41\x77\x35\x4c\x6c\x47','\x72\x4e\x76\x53\x42\x63\x62\x4d\x41\x77\x58\x4c\x69\x67\x6e\x56\x42\x4e\x72\x4c\x42\x4e\x72\x5a\x6c\x47','\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x59\x39\x30\x45\x78\x62\x4c\x43\x59\x35\x51\x43\x57','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x44\x67\x39\x56\x42\x66\x39\x59\x7a\x78\x6e\x31\x42\x68\x71','\x7a\x4d\x58\x4c\x7a\x78\x72\x46\x41\x77\x71','\x7a\x4d\x58\x4c\x7a\x78\x72\x5a','\x42\x77\x66\x57','\x43\x33\x7a\x4e','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x71\x32\x39\x76\x74\x75\x47','\x43\x67\x50\x73\x76\x30\x34','\x42\x4d\x66\x54\x7a\x71','\x6e\x30\x35\x59\x79\x4e\x62\x6c\x74\x61','\x41\x4d\x72\x77\x79\x4b\x30','\x6e\x64\x48\x74\x42\x32\x6a\x72\x77\x4d\x75','\x77\x4b\x35\x35\x73\x77\x34','\x45\x77\x54\x56\x7a\x75\x53','\x43\x77\x48\x67\x7a\x33\x6d','\x41\x67\x66\x5a','\x43\x4d\x76\x48\x7a\x61','\x44\x67\x66\x55\x7a\x32\x58\x4c\x6c\x78\x6e\x48\x42\x4d\x72\x49\x42\x33\x47','\x42\x77\x76\x30\x79\x77\x72\x48\x44\x67\x65','\x6d\x4a\x66\x4e\x71\x4c\x50\x34\x41\x66\x69','\x44\x68\x4c\x57\x7a\x71','\x44\x4d\x66\x53\x44\x77\x76\x5a','\x43\x68\x4c\x30\x41\x67\x39\x55','\x7a\x67\x76\x53\x7a\x78\x72\x4c','\x75\x32\x39\x31\x43\x4d\x6e\x4c\x69\x67\x6e\x56\x7a\x67\x75\x47\x44\x67\x38\x47\x43\x4e\x76\x55\x6c\x49\x62\x6e\x44\x77\x58\x30\x41\x73\x31\x53\x41\x77\x35\x4c\x69\x68\x6e\x31\x43\x68\x62\x56\x43\x4e\x72\x4c\x7a\x63\x34','\x71\x32\x66\x57\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x69\x64\x65\x57\x6d\x63\x34','\x79\x32\x58\x56\x43\x32\x75','\x44\x67\x76\x34\x44\x61','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x53\x41\x78\x6e\x30','\x6d\x4a\x4b\x5a\x6e\x5a\x65\x57\x6e\x77\x31\x53\x42\x4e\x4c\x35\x74\x57','\x6e\x64\x71\x59\x6e\x5a\x61\x59\x41\x76\x62\x63\x71\x33\x7a\x4a','\x42\x67\x66\x55\x7a\x33\x76\x48\x7a\x32\x75','\x42\x77\x66\x34\x78\x33\x6a\x4c\x43\x33\x76\x53\x44\x68\x6d','\x75\x33\x62\x48\x44\x32\x34\x47\x79\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x56\x7a\x49\x62\x6f\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x48\x4c\x43\x59\x62\x4d\x43\x4d\x39\x54\x69\x67\x65\x47\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x75\x53\x69\x68\x44\x50\x44\x67\x47\x47\x79\x73\x62\x4a\x42\x32\x39\x59\x7a\x67\x4c\x55\x79\x78\x72\x56\x43\x49\x62\x57\x42\x68\x76\x5a\x69\x65\x34\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x62\x5a\x41\x67\x66\x59\x41\x77\x35\x4e\x69\x67\x65\x47\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x6c\x49\x62\x73\x7a\x78\x72\x31\x43\x4d\x35\x5a\x69\x68\x72\x4f\x7a\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x50\x7a\x63\x62\x48\x42\x4d\x71\x47\x44\x67\x48\x4c\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x41\x77\x72\x5a\x6c\x49\x62\x66\x79\x77\x6e\x4f\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x49\x62\x4f\x79\x78\x6d\x47\x41\x78\x72\x5a\x69\x67\x39\x33\x42\x49\x62\x57\x7a\x78\x6a\x5a\x41\x78\x6e\x30\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x75\x54\x7a\x78\x48\x4c\x79\x33\x76\x30\x41\x77\x39\x55\x69\x67\x54\x4c\x43\x4d\x35\x4c\x42\x64\x53\x47\x44\x67\x48\x4c\x69\x68\x6e\x48\x42\x77\x75\x47\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x67\x4c\x5a\x69\x67\x31\x56\x44\x77\x35\x30\x7a\x77\x71\x47\x79\x77\x6e\x59\x42\x33\x6e\x5a\x69\x68\x72\x4f\x7a\x77\x30\x55\x69\x65\x6e\x70\x75\x31\x72\x74\x69\x66\x6e\x64\x71\x75\x58\x66\x69\x65\x58\x6a\x74\x4b\x76\x62\x75\x4b\x58\x7a\x69\x68\x44\x50\x44\x67\x47\x47\x79\x68\x44\x56\x43\x4d\x54\x4c\x43\x4e\x6e\x47\x6c\x49\x62\x76\x43\x32\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x7a\x78\x6e\x30\x43\x4d\x39\x35\x69\x68\x44\x4f\x7a\x77\x34\x47\x7a\x67\x39\x55\x7a\x73\x34','\x43\x67\x66\x59\x79\x77\x31\x5a','\x7a\x4e\x6a\x56\x42\x71','\x76\x32\x39\x59\x41\x32\x4c\x55\x7a\x59\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x56\x43\x4e\x4b\x55\x69\x65\x39\x57\x44\x67\x4c\x56\x42\x4d\x66\x53\x6c\x47','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x75\x67\x76\x59\x6c\x77\x6e\x48\x42\x67\x57\x47\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x63\x34\x47\x6d\x63\x62\x4b\x41\x78\x6e\x48\x79\x4d\x58\x4c\x43\x59\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x77\x78\x48\x71\x41\x68\x43','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x74\x77\x6e\x57\x75\x32\x76\x59\x44\x4d\x76\x59\x6b\x63\x4b\x36\x69\x68\x72\x4f\x7a\x73\x62\x47\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x32\x61\x47\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x62\x50\x43\x59\x62\x55\x42\x33\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x67\x76\x4b\x6c\x49\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x67\x4c\x30\x69\x68\x7a\x50\x79\x73\x62\x47\x43\x67\x35\x57\x42\x73\x62\x48\x7a\x67\x71\x47\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x32\x61\x55','\x7a\x32\x76\x30','\x75\x4d\x4c\x57\x7a\x33\x6a\x4c\x43\x63\x31\x5a\x44\x68\x4c\x53\x7a\x73\x62\x4a\x42\x32\x72\x4c\x69\x68\x6e\x4c\x79\x78\x6a\x4a\x41\x63\x34\x47\x75\x4d\x76\x30\x44\x78\x6a\x55\x43\x59\x62\x54\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x59\x62\x53\x41\x77\x35\x4c\x43\x59\x62\x33\x41\x78\x72\x4f\x69\x68\x6e\x31\x43\x4e\x6a\x56\x44\x77\x35\x4b\x41\x77\x35\x4e\x69\x67\x6e\x56\x42\x4e\x72\x4c\x45\x68\x71\x55','\x6c\x49\x34\x56\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x32\x39\x55','\x41\x78\x66\x71\x73\x4e\x4b','\x43\x32\x39\x54\x7a\x71','\x75\x33\x76\x49\x7a\x67\x4c\x59\x7a\x77\x6e\x30\x42\x33\x6a\x35\x69\x68\x72\x56\x69\x68\x6e\x4c\x79\x78\x6a\x4a\x41\x63\x34\x47\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x55','\x7a\x67\x76\x5a\x79\x33\x6a\x50\x43\x68\x72\x50\x42\x32\x34','\x79\x78\x6a\x4e\x44\x77\x31\x4c\x42\x4e\x72\x5a','\x75\x75\x4c\x51\x77\x4b\x34','\x75\x67\x76\x59\x6c\x77\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x63\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x43\x4e\x76\x55\x71\x32\x39\x4b\x7a\x71','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x74\x67\x4c\x5a\x44\x66\x72\x56\x42\x32\x58\x5a\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x66\x6e\x4a\x41\x67\x76\x54\x79\x71','\x43\x67\x66\x30\x41\x61','\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c','\x79\x31\x6a\x6b\x7a\x67\x30','\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x47\x42\x77\x76\x30\x79\x77\x72\x48\x44\x67\x65\x47\x43\x33\x72\x48\x42\x78\x62\x4c\x7a\x63\x62\x56\x42\x49\x62\x4c\x44\x4d\x76\x59\x45\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x54\x7a\x77\x31\x49\x7a\x78\x69\x55','\x77\x4c\x6e\x54\x74\x78\x75','\x43\x33\x72\x59\x41\x77\x35\x4e','\x44\x67\x39\x56\x42\x61','\x44\x67\x39\x56\x42\x66\x39\x31\x43\x32\x75','\x76\x75\x7a\x63\x77\x76\x71','\x42\x4d\x39\x4b\x7a\x71','\x44\x4c\x48\x77\x72\x67\x38','\x44\x75\x72\x58\x71\x4e\x79','\x79\x78\x6a\x59\x79\x78\x4b','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x7a\x4d\x58\x4c\x7a\x78\x72\x6a\x7a\x61','\x79\x77\x58\x53','\x75\x4d\x76\x4e\x7a\x78\x47\x47\x43\x67\x66\x30\x44\x67\x76\x59\x42\x49\x34','\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x76\x46\x41\x77\x71','\x41\x31\x66\x72\x42\x77\x65','\x71\x77\x39\x57\x74\x4b\x4f','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x79\x32\x39\x55\x44\x67\x4c\x55\x44\x77\x76\x46\x42\x32\x35\x46\x7a\x78\x6a\x59\x42\x33\x69','\x79\x32\x39\x55\x42\x4d\x76\x4a\x44\x61','\x44\x33\x6a\x50\x44\x67\x75','\x79\x77\x58\x53\x42\x33\x43','\x72\x78\x48\x4c\x79\x33\x76\x30\x7a\x73\x62\x4a\x42\x32\x72\x4c\x69\x67\x4c\x55\x69\x67\x65\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x67\x76\x55\x44\x63\x62\x53\x79\x77\x35\x4e\x44\x77\x66\x4e\x7a\x73\x62\x52\x7a\x78\x6a\x55\x7a\x77\x57\x47\x41\x77\x35\x5a\x41\x77\x72\x4c\x69\x68\x72\x4f\x7a\x73\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x6c\x49\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x78\x6d\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x63\x62\x48\x79\x33\x6a\x56\x43\x33\x6d\x47\x79\x32\x66\x53\x42\x68\x6d\x47\x44\x32\x4c\x30\x41\x63\x62\x30\x41\x67\x75\x47\x43\x32\x66\x54\x7a\x73\x62\x5a\x7a\x78\x6e\x5a\x41\x77\x39\x55\x6c\x49\x62\x73\x7a\x78\x72\x31\x43\x4d\x35\x5a\x69\x68\x6e\x30\x7a\x67\x39\x31\x44\x63\x57\x47\x43\x33\x72\x4b\x7a\x78\x6a\x59\x6c\x63\x62\x4c\x45\x67\x4c\x30\x69\x67\x6e\x56\x7a\x67\x75\x53\x69\x67\x66\x55\x7a\x63\x62\x48\x69\x68\x72\x35\x43\x67\x76\x4b\x69\x67\x62\x59\x7a\x78\x6e\x31\x42\x68\x72\x5a\x79\x63\x62\x48\x43\x4e\x6a\x48\x45\x73\x62\x4a\x42\x32\x35\x30\x79\x77\x4c\x55\x41\x77\x35\x4e\x69\x67\x31\x48\x44\x68\x62\x53\x42\x33\x72\x53\x41\x77\x69\x47\x7a\x4d\x4c\x4e\x44\x78\x6a\x4c\x43\x59\x61\x4f\x79\x4d\x66\x5a\x7a\x74\x79\x30\x69\x66\x62\x6f\x72\x59\x4b\x53\x69\x68\x62\x48\x42\x4d\x72\x48\x43\x59\x62\x65\x79\x78\x72\x48\x72\x4e\x6a\x48\x42\x77\x76\x5a\x6c\x63\x62\x6b\x75\x30\x39\x6f\x69\x68\x7a\x50\x79\x73\x62\x4b\x41\x78\x6e\x57\x42\x67\x66\x35\x6b\x63\x4b\x53\x69\x67\x39\x59\x69\x67\x76\x59\x43\x4d\x39\x59\x43\x59\x34\x47\x75\x68\x6a\x4c\x7a\x4d\x76\x59\x69\x68\x72\x4f\x41\x78\x6d\x47\x42\x33\x7a\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x32\x76\x34\x7a\x77\x6d\x47\x7a\x4d\x39\x59\x69\x67\x66\x55\x45\x73\x62\x4a\x42\x32\x72\x4c\x69\x68\x72\x4f\x79\x78\x71\x47\x42\x4d\x76\x4c\x7a\x68\x6d\x47\x43\x33\x72\x59\x44\x77\x6e\x30\x44\x78\x6a\x4c\x7a\x63\x62\x56\x44\x78\x72\x57\x44\x78\x71\x55','\x45\x78\x6e\x62\x77\x77\x6d','\x42\x67\x4c\x5a\x44\x61','\x77\x4d\x39\x48\x77\x68\x47','\x7a\x4e\x76\x55\x79\x33\x72\x50\x42\x32\x34','\x6d\x74\x47\x57\x6e\x74\x6d\x31\x44\x31\x72\x33\x43\x30\x50\x5a','\x43\x68\x76\x5a\x41\x61','\x41\x32\x76\x35\x43\x57','\x71\x4b\x48\x6b\x71\x4e\x79','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x67\x39\x56\x42\x61','\x42\x77\x66\x52\x7a\x75\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x43\x30\x35\x59\x43\x4c\x79','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x59\x39\x5a\x7a\x78\x6a\x32\x7a\x78\x69\x56\x41\x77\x35\x4b\x7a\x78\x47\x55\x41\x4e\x6d','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x32\x4c\x30\x41\x65\x6e\x56\x42\x33\x6a\x4b\x41\x77\x35\x48\x44\x67\x39\x59','\x41\x77\x72\x5a','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x42\x77\x66\x5a\x44\x68\x6a\x48\x76\x67\x39\x56\x42\x68\x6d\x4f\x6b\x74\x4f\x47\x44\x67\x48\x4c\x69\x67\x62\x61\x42\x77\x66\x5a\x44\x68\x6a\x48\x6c\x32\x6e\x56\x43\x4d\x76\x47\x69\x68\x62\x48\x79\x32\x54\x48\x7a\x32\x75\x47\x41\x78\x6d\x47\x42\x4d\x39\x30\x69\x67\x4c\x55\x43\x33\x72\x48\x42\x67\x58\x4c\x7a\x63\x34\x47\x73\x77\x35\x5a\x44\x67\x66\x53\x42\x63\x62\x50\x44\x63\x62\x32\x41\x77\x65\x47\x79\x68\x62\x55\x43\x67\x30\x47\x79\x77\x72\x4b\x69\x65\x62\x54\x79\x78\x6e\x30\x43\x4d\x65\x56\x79\x32\x39\x59\x7a\x77\x61\x55','\x7a\x77\x54\x65\x43\x4e\x71','\x75\x4d\x76\x48\x7a\x63\x62\x48\x69\x67\x7a\x50\x42\x67\x75\x47\x7a\x4e\x6a\x56\x42\x73\x62\x30\x41\x67\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x63\x62\x4d\x41\x77\x58\x4c\x43\x33\x4c\x5a\x44\x67\x76\x54\x6c\x49\x62\x73\x7a\x77\x58\x48\x44\x67\x4c\x32\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x59\x62\x59\x7a\x78\x6e\x56\x42\x68\x7a\x4c\x69\x67\x7a\x59\x42\x32\x30\x47\x44\x67\x48\x4c\x69\x68\x44\x56\x43\x4d\x54\x5a\x43\x67\x66\x4a\x7a\x73\x62\x59\x42\x32\x39\x30\x6f\x59\x62\x48\x79\x4e\x6e\x56\x42\x68\x76\x30\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x59\x62\x59\x7a\x77\x66\x4b\x69\x68\x72\x4f\x7a\x73\x62\x4a\x42\x32\x35\x30\x79\x77\x4c\x55\x7a\x78\x69\x47\x7a\x4d\x4c\x53\x7a\x78\x6e\x35\x43\x33\x72\x4c\x42\x73\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x53\x45\x73\x34','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x5a\x43\x67\x66\x33\x42\x47','\x41\x77\x31\x48\x7a\x32\x75\x56\x43\x67\x35\x4e','\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x41\x77\x31\x48\x7a\x32\x75','\x7a\x78\x48\x4c\x79\x57','\x72\x67\x76\x53\x7a\x78\x72\x4c\x69\x68\x72\x4f\x7a\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x48\x42\x4d\x71\x47\x7a\x78\x7a\x4c\x43\x4e\x4b\x47\x42\x77\x66\x4a\x41\x67\x4c\x55\x7a\x73\x62\x50\x42\x49\x62\x50\x44\x63\x34\x47\x75\x33\x72\x56\x43\x68\x6d\x47\x79\x4d\x4c\x53\x42\x67\x4c\x55\x7a\x59\x62\x50\x42\x77\x31\x4c\x7a\x67\x4c\x48\x44\x67\x76\x53\x45\x73\x34\x47\x71\x32\x66\x53\x42\x63\x62\x30\x41\x67\x4c\x5a\x69\x68\x44\x4f\x7a\x77\x34\x47\x44\x67\x48\x4c\x69\x67\x6e\x48\x42\x78\x62\x48\x41\x77\x44\x55\x69\x67\x4c\x5a\x69\x67\x72\x56\x42\x4d\x75\x37\x69\x67\x39\x59\x43\x67\x48\x48\x42\x4d\x76\x4b\x69\x67\x7a\x53\x7a\x77\x76\x30\x43\x59\x62\x52\x7a\x77\x76\x57\x69\x67\x6a\x31\x43\x4d\x35\x50\x42\x4d\x43\x47\x79\x33\x6a\x4c\x7a\x67\x4c\x30\x43\x59\x34','\x75\x4e\x76\x55\x69\x67\x65\x47\x43\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x61\x4f\x42\x4d\x38\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x67\x76\x55\x44\x63\x62\x5a\x44\x67\x66\x30\x7a\x73\x4b\x47\x41\x77\x34\x47\x44\x67\x48\x4c\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x47\x55\x69\x66\x76\x5a\x7a\x73\x62\x4d\x42\x33\x69\x47\x42\x32\x35\x4c\x6c\x78\x6e\x4f\x42\x33\x71\x47\x44\x67\x66\x5a\x41\x33\x6d\x47\x42\x67\x4c\x52\x7a\x73\x61\x4e\x43\x67\x35\x57\x42\x73\x62\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x6a\x59\x62\x56\x43\x49\x61\x4e\x42\x68\x6d\x4e\x6c\x49\x62\x67\x42\x33\x69\x47\x79\x32\x39\x4b\x7a\x73\x62\x30\x41\x67\x66\x30\x69\x68\x6e\x4f\x42\x33\x76\x53\x7a\x63\x62\x5a\x41\x67\x66\x59\x7a\x73\x62\x5a\x44\x67\x66\x30\x7a\x73\x62\x48\x79\x33\x6a\x56\x43\x33\x6d\x47\x79\x32\x66\x53\x42\x68\x6d\x53\x69\x68\x62\x59\x7a\x77\x7a\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x33\x6a\x31\x42\x4c\x39\x4a\x42\x32\x72\x4c\x69\x68\x44\x50\x44\x67\x47\x47\x79\x73\x62\x5a\x7a\x78\x6e\x5a\x41\x77\x39\x55\x73\x77\x71\x55','\x6d\x63\x34\x57\x6c\x4a\x61','\x43\x32\x76\x30\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x41\x4e\x6e\x56\x42\x4c\x6e\x4a\x41\x67\x76\x54\x79\x71','\x75\x32\x76\x59\x44\x4d\x76\x59','\x6d\x74\x43\x58\x6f\x74\x43\x32\x76\x4c\x6a\x33\x43\x66\x62\x66','\x44\x30\x31\x6b\x45\x66\x4b','\x7a\x30\x54\x4e\x74\x75\x75','\x43\x32\x76\x30','\x41\x4e\x62\x4c\x7a\x57','\x41\x4d\x54\x59\x77\x4d\x57','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x5a\x44\x67\x66\x30\x44\x78\x6d','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x7a\x78\x6e\x30\x43\x4d\x39\x35','\x79\x33\x44\x4b','\x73\x30\x44\x51\x75\x32\x47','\x79\x4d\x66\x5a\x41\x61','\x6d\x74\x79\x33\x6e\x5a\x79\x30\x6d\x4c\x6a\x67\x43\x67\x6e\x75\x44\x47','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x44\x77\x35\x46\x79\x32\x39\x4b\x7a\x71','\x6e\x74\x6d\x32\x6e\x4a\x6d\x5a\x44\x65\x6e\x6e\x45\x65\x31\x53','\x44\x4d\x76\x59\x79\x32\x76\x53\x71\x77\x4c\x75\x42\x32\x39\x53\x43\x59\x47\x50\x6f\x49\x62\x30\x41\x67\x75\x47\x79\x67\x66\x50\x79\x63\x62\x57\x79\x77\x6e\x52\x79\x77\x44\x4c\x69\x67\x4c\x5a\x69\x67\x35\x56\x44\x63\x62\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x7a\x77\x71\x55\x69\x65\x4c\x55\x43\x33\x72\x48\x42\x67\x57\x47\x41\x78\x71\x47\x44\x4d\x4c\x48\x69\x67\x62\x57\x42\x4e\x62\x54\x69\x67\x66\x4b\x7a\x63\x62\x48\x41\x77\x61\x47\x6b\x67\x66\x55\x7a\x63\x62\x57\x41\x77\x6e\x52\x69\x67\x66\x55\x69\x67\x62\x61\x79\x77\x4b\x54\x43\x32\x72\x52\x6c\x59\x50\x47\x69\x67\x31\x56\x7a\x67\x76\x53\x69\x67\x66\x4b\x79\x78\x62\x30\x7a\x78\x69\x50\x6c\x47','\x79\x4c\x44\x4a\x42\x67\x53','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x41\x77\x35\x57\x44\x78\x72\x74\x79\x32\x48\x4c\x42\x77\x65','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x66\x39\x54\x43\x57','\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x61','\x44\x32\x39\x59\x41\x32\x76\x59\x6c\x71','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x6f\x74\x75\x59\x6d\x4a\x65\x34\x6d\x68\x6a\x6d\x79\x4b\x39\x72\x45\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x33\x43\x4d\x4c\x30\x7a\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x5a\x7a\x77\x66\x59\x79\x32\x47','\x43\x67\x66\x59\x43\x32\x75','\x42\x77\x66\x5a\x44\x68\x6a\x48\x72\x4d\x58\x4c\x7a\x78\x72\x75\x42\x32\x39\x53\x43\x59\x47\x50\x6f\x49\x62\x30\x41\x67\x75\x47\x79\x65\x62\x54\x79\x78\x6e\x30\x43\x4d\x65\x56\x79\x32\x39\x59\x7a\x77\x61\x47\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x62\x50\x43\x59\x62\x55\x42\x33\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x67\x76\x4b\x6c\x49\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x68\x7a\x50\x79\x73\x62\x47\x43\x67\x35\x57\x42\x73\x62\x48\x7a\x67\x71\x47\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c\x79\x63\x34'];a0_0x12e1=function(){return _0x665266;};return a0_0x12e1();}function isImagePart(_0xa91e5d){const _0x31e9b9=a0_0x5c6e3c;return _0xa91e5d['\x74\x79\x70\x65']===_0x31e9b9(0xe4);}function isCodeExecutionResultWithImages(_0x13cd6a){const _0x2fc693=a0_0x5c6e3c,_0x3b74c4={'\x4c\x68\x69\x52\x68':function(_0x4de2b7,_0x26d2c7){return _0x4de2b7!==_0x26d2c7;},'\x50\x6a\x67\x6c\x49':_0x2fc693(0x11a)};if(!_0x13cd6a||_0x3b74c4[_0x2fc693(0x107)](typeof _0x13cd6a,_0x3b74c4['\x50\x6a\x67\x6c\x49']))return![];const _0x34453a=_0x13cd6a[_0x2fc693(0x10d)];if(!Array[_0x2fc693(0x114)](_0x34453a))return![];return _0x34453a[_0x2fc693(0x143)](_0x145c8c=>_0x145c8c&&typeof _0x145c8c===_0x2fc693(0x11a)&&_0x145c8c['\x74\x79\x70\x65']==='\x69\x6d\x61\x67\x65');}function imageMediaType(_0x3db1f1){const _0x5833f8=a0_0x5c6e3c,_0x58ba21={'\x69\x61\x43\x6a\x55':_0x5833f8(0xf0),'\x76\x58\x56\x44\x6f':_0x5833f8(0x10c)};switch(_0x3db1f1){case'\x70\x6e\x67':return'\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67';case _0x58ba21['\x69\x61\x43\x6a\x55']:return _0x58ba21[_0x5833f8(0x157)];case _0x5833f8(0x119):return _0x5833f8(0x17b);}}const FLEET_TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x70\x61\x77\x6e':{'\x6e\x61\x6d\x65':a0_0x5c6e3c(0x17a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x136),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x50\x75\x62\x6c\x69\x63\x20\x74\x65\x6d\x70\x6c\x61\x74\x65\x20\x73\x6c\x75\x67\x20\x6f\x72\x20\x69\x64\x20\x28\x65\x2e\x67\x2e\x20\x27\x70\x79\x74\x68\x6f\x6e\x2d\x64\x61\x74\x61\x2d\x73\x63\x69\x65\x6e\x63\x65\x27\x29\x2e'},'\x77\x6f\x72\x6b\x65\x72\x73':{'\x74\x79\x70\x65':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x108)},'\x6d\x65\x74\x61\x64\x61\x74\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{},'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':!![],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x150)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64','\x77\x6f\x72\x6b\x65\x72\x73'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x55e0c8})=>async _0x3362a9=>{const _0x2c875c=a0_0x5c6e3c,_0x540a85=await _0x55e0c8[_0x2c875c(0x117)][_0x2c875c(0x174)]({'\x64\x65\x66\x61\x75\x6c\x74\x73':{'\x70\x75\x62\x6c\x69\x63\x54\x65\x6d\x70\x6c\x61\x74\x65\x49\x64':_0x3362a9[_0x2c875c(0x15e)]},'\x77\x6f\x72\x6b\x65\x72\x73':Array[_0x2c875c(0x138)]({'\x6c\x65\x6e\x67\x74\x68':_0x3362a9['\x77\x6f\x72\x6b\x65\x72\x73']},(_0x374b83,_0x2e516e)=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x2c875c(0x100)+_0x2e516e})),'\x6d\x65\x74\x61\x64\x61\x74\x61':_0x3362a9[_0x2c875c(0x127)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x540a85[_0x2c875c(0x15b)],'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64\x73':_0x540a85[_0x2c875c(0x175)]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x69\x73\x70\x61\x74\x63\x68':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x69\x73\x70\x61\x74\x63\x68','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x52\x75\x6e\x20\x61\x20\x73\x68\x65\x6c\x6c\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x20\x6f\x6e\x20\x61\x20\x66\x6c\x65\x65\x74\x27\x73\x20\x77\x6f\x72\x6b\x65\x72\x73\x20\x69\x6e\x20\x70\x61\x72\x61\x6c\x6c\x65\x6c\x2e\x20\x44\x65\x66\x61\x75\x6c\x74\x73\x20\x74\x6f\x20\x61\x6c\x6c\x20\x77\x6f\x72\x6b\x65\x72\x73\x3b\x20\x70\x61\x73\x73\x20\x60\x6d\x61\x63\x68\x69\x6e\x65\x73\x60\x20\x74\x6f\x20\x74\x61\x72\x67\x65\x74\x20\x73\x70\x65\x63\x69\x66\x69\x63\x20\x6f\x6e\x65\x73\x2e\x20\x52\x65\x74\x75\x72\x6e\x73\x20\x70\x65\x72\x2d\x6d\x61\x63\x68\x69\x6e\x65\x20\x7b\x6f\x6b\x2c\x20\x72\x65\x73\x75\x6c\x74\x3f\x2c\x20\x65\x72\x72\x6f\x72\x3f\x7d\x20\x65\x6e\x74\x72\x69\x65\x73\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152)},'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x111)},'\x6d\x61\x63\x68\x69\x6e\x65\x73':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x159),'\x69\x74\x65\x6d\x73':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67'},'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4f\x70\x74\x69\x6f\x6e\x61\x6c\x20\x73\x75\x62\x73\x65\x74\x20\x6f\x66\x20\x6d\x61\x63\x68\x69\x6e\x65\x20\x69\x64\x73\x2e\x20\x44\x65\x66\x61\x75\x6c\x74\x73\x20\x74\x6f\x20\x61\x6c\x6c\x20\x77\x6f\x72\x6b\x65\x72\x73\x2e'},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0x148)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x66\x6c\x65\x65\x74\x5f\x69\x64',a0_0x5c6e3c(0xff)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x2c4327})=>async _0x17a8a3=>{const _0x21b0e6=a0_0x5c6e3c;return await(await _0x2c4327[_0x21b0e6(0x117)][_0x21b0e6(0x168)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x17a8a3['\x66\x6c\x65\x65\x74\x5f\x69\x64']}))['\x64\x69\x73\x70\x61\x74\x63\x68\x45\x78\x65\x63'](_0x17a8a3['\x63\x6f\x6d\x6d\x61\x6e\x64'],{'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x17a8a3['\x6d\x61\x63\x68\x69\x6e\x65\x73'],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x17a8a3[_0x21b0e6(0xfe)]});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x74\x61\x74\x75\x73':{'\x6e\x61\x6d\x65':a0_0x5c6e3c(0xf2),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4c\x69\x73\x74\x20\x74\x68\x65\x20\x66\x6c\x65\x65\x74\x27\x73\x20\x6d\x61\x63\x68\x69\x6e\x65\x73\x20\x61\x6e\x64\x20\x74\x68\x65\x69\x72\x20\x70\x65\x72\x2d\x6d\x61\x63\x68\x69\x6e\x65\x20\x73\x74\x61\x74\x65\x20\x28\x72\x75\x6e\x6e\x69\x6e\x67\x20\x2f\x20\x73\x74\x6f\x70\x70\x65\x64\x20\x2f\x20\x66\x61\x69\x6c\x65\x64\x29\x20\x70\x6c\x75\x73\x20\x6c\x61\x73\x74\x2d\x75\x73\x65\x64\x20\x74\x69\x6d\x65\x73\x74\x61\x6d\x70\x73\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x5c6e3c(0x116)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x2bc9ce})=>async _0xee1c63=>{const _0x21f14f=a0_0x5c6e3c,_0x4be154=await _0x2bc9ce[_0x21f14f(0x117)][_0x21f14f(0x168)]({'\x66\x6c\x65\x65\x74\x49\x64':_0xee1c63[_0x21f14f(0x116)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x4be154['\x66\x6c\x65\x65\x74\x49\x64'],'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x4be154[_0x21f14f(0x175)]['\x6d\x61\x70'](_0x46aa64=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x46aa64,'\x73\x74\x61\x74\x75\x73':_0x4be154['\x67\x65\x74'](_0x46aa64)['\x73\x74\x61\x74\x75\x73']}))};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x65\x73\x74\x72\x6f\x79':{'\x6e\x61\x6d\x65':a0_0x5c6e3c(0xf3),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x5c6e3c(0xe6),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x11a),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x5c6e3c(0x152)},'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x5f\x6f\x6e\x5f\x65\x72\x72\x6f\x72':{'\x74\x79\x70\x65':'\x62\x6f\x6f\x6c\x65\x61\x6e','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x43\x6f\x6e\x74\x69\x6e\x75\x65\x20\x64\x65\x6c\x65\x74\x69\x6e\x67\x20\x72\x65\x6d\x61\x69\x6e\x69\x6e\x67\x20\x6d\x61\x63\x68\x69\x6e\x65\x73\x20\x69\x66\x20\x6f\x6e\x65\x20\x66\x61\x69\x6c\x73\x2e'}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x66\x6c\x65\x65\x74\x5f\x69\x64'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x54c5fa})=>async _0x50c0ce=>{const _0x2c4431=a0_0x5c6e3c;return await(await _0x54c5fa['\x66\x6c\x65\x65\x74\x73']['\x6c\x69\x73\x74']({'\x66\x6c\x65\x65\x74\x49\x64':_0x50c0ce['\x66\x6c\x65\x65\x74\x5f\x69\x64']}))[_0x2c4431(0x12c)]({'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x4f\x6e\x45\x72\x72\x6f\x72':_0x50c0ce[_0x2c4431(0x162)]}),{'\x66\x6c\x65\x65\x74\x49\x64':_0x50c0ce[_0x2c4431(0x116)],'\x64\x65\x6c\x65\x74\x65\x64':!![]};}}},ALL_FLEET_TOOL_SPECS=Object[a0_0x5c6e3c(0x12a)](FLEET_TOOL_SPECS);function selectFleetSpecs(_0x52cdc7){const _0x11678e=a0_0x5c6e3c,_0x5a48f1={'\x79\x6b\x6f\x65\x4b':function(_0x407042,_0x27ffaa){return _0x407042===_0x27ffaa;}};if(!_0x52cdc7||_0x5a48f1[_0x11678e(0x122)](_0x52cdc7['\x6c\x65\x6e\x67\x74\x68'],0x0))return ALL_FLEET_TOOL_SPECS;const _0x364c4f=new Set(_0x52cdc7);return Object[_0x11678e(0x16d)](FLEET_TOOL_SPECS)['\x66\x69\x6c\x74\x65\x72'](_0x184cfb=>_0x364c4f[_0x11678e(0x124)](_0x184cfb))[_0x11678e(0x118)](_0x306257=>FLEET_TOOL_SPECS[_0x306257]);}function a0_0xab5b(_0x56ca6d,_0x22114b){_0x56ca6d=_0x56ca6d-0xe3;const _0x12e157=a0_0x12e1();let _0xab5b3e=_0x12e157[_0x56ca6d];if(a0_0xab5b['\x6a\x78\x49\x49\x56\x70']===undefined){var _0x66a0f2=function(_0x43008d){const _0x3ad07b='\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 _0xe5bf52='',_0x2bde6e='';for(let _0x178b25=0x0,_0x1181e1,_0xc6c105,_0x589987=0x0;_0xc6c105=_0x43008d['\x63\x68\x61\x72\x41\x74'](_0x589987++);~_0xc6c105&&(_0x1181e1=_0x178b25%0x4?_0x1181e1*0x40+_0xc6c105:_0xc6c105,_0x178b25++%0x4)?_0xe5bf52+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x1181e1>>(-0x2*_0x178b25&0x6)):0x0){_0xc6c105=_0x3ad07b['\x69\x6e\x64\x65\x78\x4f\x66'](_0xc6c105);}for(let _0x21543e=0x0,_0x83d262=_0xe5bf52['\x6c\x65\x6e\x67\x74\x68'];_0x21543e<_0x83d262;_0x21543e++){_0x2bde6e+='\x25'+('\x30\x30'+_0xe5bf52['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x21543e)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x2bde6e);};a0_0xab5b['\x55\x74\x74\x61\x6a\x55']=_0x66a0f2,a0_0xab5b['\x7a\x73\x4d\x6d\x7a\x50']={},a0_0xab5b['\x6a\x78\x49\x49\x56\x70']=!![];}const _0x447204=_0x12e157[0x0],_0x17652b=_0x56ca6d+_0x447204,_0x36deba=a0_0xab5b['\x7a\x73\x4d\x6d\x7a\x50'][_0x17652b];return!_0x36deba?(_0xab5b3e=a0_0xab5b['\x55\x74\x74\x61\x6a\x55'](_0xab5b3e),a0_0xab5b['\x7a\x73\x4d\x6d\x7a\x50'][_0x17652b]=_0xab5b3e):_0xab5b3e=_0x36deba,_0xab5b3e;}function anthropicFleetTools(_0x458b45,_0x918e81={}){const _0x127f72=a0_0x5c6e3c,_0x449391={'\x79\x73\x41\x59\x63':_0x127f72(0x115),'\x43\x6f\x55\x4d\x48':function(_0x22ba39,_0x53b03a){return _0x22ba39(_0x53b03a);},'\x6b\x51\x51\x6d\x61':function(_0x14e9ae,_0x39abd2){return _0x14e9ae instanceof _0x39abd2;},'\x4b\x47\x6a\x53\x68':function(_0x23e025,_0x532bde,_0x13ee38){return _0x23e025(_0x532bde,_0x13ee38);}},_0x390aa0=selectFleetSpecs(_0x918e81['\x61\x6c\x6c\x6f\x77']),_0x173cce=_0x449391[_0x127f72(0xf5)](buildFleetHandlers,_0x390aa0,{'\x63\x6c\x69\x65\x6e\x74':_0x458b45});return{'\x74\x6f\x6f\x6c\x73':_0x390aa0['\x6d\x61\x70'](_0xd6b7cc=>({'\x6e\x61\x6d\x65':_0xd6b7cc[_0x127f72(0x11d)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0xd6b7cc['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0xd6b7cc['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65'(_0x27bf19){const _0x38d513=_0x127f72,_0x2b03f0=_0x173cce[_0x38d513(0x13f)](_0x27bf19[_0x38d513(0x11d)]);if(!_0x2b03f0)return{'\x74\x79\x70\x65':_0x449391[_0x38d513(0x167)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x27bf19['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x38d513(0x161)+_0x27bf19[_0x38d513(0x11d)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x23fdfb=await _0x2b03f0(_0x27bf19['\x69\x6e\x70\x75\x74']);return{'\x74\x79\x70\x65':_0x38d513(0x115),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x27bf19['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x449391[_0x38d513(0x11b)](serializeToolResult,_0x23fdfb)};}catch(_0x44a8f3){return{'\x74\x79\x70\x65':'\x74\x6f\x6f\x6c\x5f\x72\x65\x73\x75\x6c\x74','\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x27bf19['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x449391[_0x38d513(0x15f)](_0x44a8f3,Error)?_0x44a8f3['\x6d\x65\x73\x73\x61\x67\x65']:String(_0x44a8f3),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}};}function openaiFleetTools(_0x125452,_0x5b79ef={}){const _0x42d4c3=a0_0x5c6e3c,_0x5652ed={'\x5a\x4e\x79\x49\x6e':function(_0x5bc709,_0x32f258){return _0x5bc709===_0x32f258;},'\x73\x4e\x72\x72\x56':function(_0xd6493,_0x3c3060){return _0xd6493(_0x3c3060);},'\x75\x44\x71\x42\x76':function(_0x4225b6,_0x559037){return _0x4225b6 instanceof _0x559037;}},_0x5c13bb=selectFleetSpecs(_0x5b79ef[_0x42d4c3(0x165)]),_0x31d779=buildFleetHandlers(_0x5c13bb,{'\x63\x6c\x69\x65\x6e\x74':_0x125452});return{'\x74\x6f\x6f\x6c\x73':_0x5c13bb[_0x42d4c3(0x118)](_0x27401d=>({'\x74\x79\x70\x65':_0x42d4c3(0x16a),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x27401d[_0x42d4c3(0x11d)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x27401d[_0x42d4c3(0x145)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x27401d[_0x42d4c3(0xfd)]}})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c'(_0x480900){const _0x33f0a1=_0x42d4c3,_0x40cd2e=_0x31d779[_0x33f0a1(0x13f)](_0x480900[_0x33f0a1(0x16a)][_0x33f0a1(0x11d)]);if(!_0x40cd2e)return{'\x72\x6f\x6c\x65':_0x33f0a1(0x153),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x480900['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x65\x72\x72\x6f\x72':'\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x66\x6c\x65\x65\x74\x20\x74\x6f\x6f\x6c\x3a\x20'+_0x480900[_0x33f0a1(0x16a)][_0x33f0a1(0x11d)]})};let _0x38518c={};try{const _0x7dfa25=JSON[_0x33f0a1(0x105)](_0x480900[_0x33f0a1(0x16a)]['\x61\x72\x67\x75\x6d\x65\x6e\x74\x73']||'\x7b\x7d');if(_0x7dfa25&&_0x5652ed[_0x33f0a1(0x121)](typeof _0x7dfa25,_0x33f0a1(0x11a)))_0x38518c=_0x7dfa25;}catch{}try{const _0x543e47=await _0x5652ed[_0x33f0a1(0x171)](_0x40cd2e,_0x38518c);return{'\x72\x6f\x6c\x65':'\x74\x6f\x6f\x6c','\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x480900['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x543e47)};}catch(_0x5d3284){return{'\x72\x6f\x6c\x65':_0x33f0a1(0x153),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x480900['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x33f0a1(0x14b)]({'\x65\x72\x72\x6f\x72':_0x5652ed[_0x33f0a1(0x158)](_0x5d3284,Error)?_0x5d3284[_0x33f0a1(0x176)]:_0x5652ed[_0x33f0a1(0x171)](String,_0x5d3284)})};}}};}async function vercelAiFleetTools(_0x3db286,_0x464370={}){const _0x160de7=a0_0x5c6e3c,_0x3b24ef={'\x65\x6b\x44\x72\x74':function(_0x57c253,_0x3969c0){return _0x57c253(_0x3969c0);},'\x73\x58\x6e\x7a\x4f':function(_0x2ad5c4,_0x23f4a6,_0x49672b){return _0x2ad5c4(_0x23f4a6,_0x49672b);}};let _0x39bcc3;try{_0x39bcc3=await import('\x61\x69');}catch{throw new Error('\x76\x65\x72\x63\x65\x6c\x41\x69\x46\x6c\x65\x65\x74\x54\x6f\x6f\x6c\x73\x28\x29\x3a\x20\x74\x68\x65\x20\x60\x61\x69\x60\x20\x70\x61\x63\x6b\x61\x67\x65\x20\x69\x73\x20\x6e\x6f\x74\x20\x69\x6e\x73\x74\x61\x6c\x6c\x65\x64\x2e\x20\x49\x6e\x73\x74\x61\x6c\x6c\x20\x76\x69\x61\x20\x60\x70\x6e\x70\x6d\x20\x61\x64\x64\x20\x61\x69\x60\x2e');}const _0x23aece=selectFleetSpecs(_0x464370['\x61\x6c\x6c\x6f\x77']),_0xb2bd27=_0x3b24ef['\x73\x58\x6e\x7a\x4f'](buildFleetHandlers,_0x23aece,{'\x63\x6c\x69\x65\x6e\x74':_0x3db286}),_0x309f30={};for(const _0x25ab2a of _0x23aece)_0x309f30[_0x25ab2a[_0x160de7(0x11d)]]=_0x39bcc3[_0x160de7(0x153)]({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x25ab2a[_0x160de7(0x145)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x39bcc3[_0x160de7(0xea)](_0x25ab2a[_0x160de7(0xfd)]),'\x65\x78\x65\x63\x75\x74\x65':async _0x25df02=>{const _0x1fb767=_0x160de7,_0x35607f=_0xb2bd27[_0x1fb767(0x13f)](_0x25ab2a[_0x1fb767(0x11d)]);if(!_0x35607f)throw new Error(_0x1fb767(0x161)+_0x25ab2a['\x6e\x61\x6d\x65']);return _0x3b24ef[_0x1fb767(0x178)](serializeToolResult,await _0x35607f(_0x25df02));}});return _0x309f30;}async function mastraFleetTools(_0xcf81f8,_0x58c21e={}){const _0x21e9c5=a0_0x5c6e3c,_0x4e0b54={'\x71\x68\x46\x67\x73':function(_0x5656e4,_0xd465cd){return _0x5656e4(_0xd465cd);},'\x62\x57\x63\x6c\x6b':_0x21e9c5(0x106),'\x62\x5a\x77\x45\x6d':function(_0x45b079,_0x39b382,_0x4f5230){return _0x45b079(_0x39b382,_0x4f5230);}};let _0x1a3d1d;try{_0x1a3d1d=await import(_0x21e9c5(0x14e));}catch{throw new Error(_0x4e0b54[_0x21e9c5(0xfb)]);}const _0x2b52b0=_0x4e0b54[_0x21e9c5(0x123)](selectFleetSpecs,_0x58c21e['\x61\x6c\x6c\x6f\x77']),_0x5aff7e=_0x4e0b54[_0x21e9c5(0x109)](buildFleetHandlers,_0x2b52b0,{'\x63\x6c\x69\x65\x6e\x74':_0xcf81f8}),_0x500d8d={};for(const _0x157345 of _0x2b52b0)_0x500d8d[_0x157345[_0x21e9c5(0x11d)]]=_0x1a3d1d[_0x21e9c5(0x16f)]({'\x69\x64':_0x157345['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x157345['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x1a3d1d[_0x21e9c5(0xea)]?_0x1a3d1d[_0x21e9c5(0xea)](_0x157345[_0x21e9c5(0xfd)]):_0x157345[_0x21e9c5(0xfd)],'\x65\x78\x65\x63\x75\x74\x65':async _0x4bf975=>{const _0x4fb21d=_0x21e9c5,_0x1f5eaf=_0x5aff7e[_0x4fb21d(0x13f)](_0x157345[_0x4fb21d(0x11d)]);if(!_0x1f5eaf)throw new Error(_0x4fb21d(0x161)+_0x157345['\x6e\x61\x6d\x65']);return{'\x72\x65\x73\x75\x6c\x74':_0x4e0b54[_0x4fb21d(0x123)](serializeToolResult,await _0x1f5eaf(_0x4bf975?.[_0x4fb21d(0x149)]??{}))};}});return _0x500d8d;}function buildFleetHandlers(_0x470248,_0x54410d){const _0x2529d3=a0_0x5c6e3c,_0x56045b=new Map();for(const _0x21390e of _0x470248)_0x56045b['\x73\x65\x74'](_0x21390e[_0x2529d3(0x11d)],_0x21390e['\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72'](_0x54410d));return _0x56045b;}async function mastraTools(_0x1634aa,_0x2ffb27={}){const _0x75d706=a0_0x5c6e3c,_0x2829f8={'\x69\x71\x50\x4a\x79':function(_0x19c75f,_0x4b07bf){return _0x19c75f(_0x4b07bf);}};let _0x397afb;try{_0x397afb=await import(_0x75d706(0x14e));}catch{throw new Error(_0x75d706(0x177));}const _0x84277c=selectSpecs(_0x2ffb27['\x61\x6c\x6c\x6f\x77']),_0xc06a3d={'\x62\x6f\x78':_0x1634aa,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x2ffb27[_0x75d706(0x10b)]},_0x4c4491={};for(const _0x1ecf8c of _0x84277c){const _0x2903a8=_0x1ecf8c[_0x75d706(0x170)](_0xc06a3d);_0x4c4491[_0x1ecf8c[_0x75d706(0x11d)]]=_0x397afb[_0x75d706(0x16f)]({'\x69\x64':_0x1ecf8c['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x1ecf8c[_0x75d706(0x145)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x397afb[_0x75d706(0xea)]?_0x397afb[_0x75d706(0xea)](_0x1ecf8c[_0x75d706(0xfd)]):_0x1ecf8c[_0x75d706(0xfd)],'\x65\x78\x65\x63\x75\x74\x65':async _0x28d208=>{const _0x5c91c7=_0x75d706;return{'\x72\x65\x73\x75\x6c\x74':_0x2829f8[_0x5c91c7(0x142)](serializeToolResult,await _0x2829f8[_0x5c91c7(0x142)](_0x2903a8,_0x28d208?.['\x63\x6f\x6e\x74\x65\x78\x74']??{}))};}});}return _0x4c4491;}function openaiTools(_0x154522,_0x17cae4={}){const _0x517a78=a0_0x5c6e3c,_0x2c3ef4={'\x59\x78\x50\x68\x77':function(_0x3017a3,_0x5b2b1d){return _0x3017a3(_0x5b2b1d);},'\x41\x6f\x70\x4e\x4a':function(_0x4c36a1,_0xa61ff3){return _0x4c36a1(_0xa61ff3);},'\x55\x46\x42\x59\x54':'\x74\x6f\x6f\x6c','\x5a\x6f\x61\x58\x78':function(_0x455a27,_0x29850a){return _0x455a27(_0x29850a);}},_0x378a5d=_0x2c3ef4[_0x517a78(0x169)](selectSpecs,_0x17cae4['\x61\x6c\x6c\x6f\x77']),_0x882a56={'\x62\x6f\x78':_0x154522,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x17cae4['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64']},_0x577b9f=new Map();for(const _0x3b5168 of _0x378a5d)_0x577b9f[_0x517a78(0xef)](_0x3b5168[_0x517a78(0x11d)],_0x3b5168[_0x517a78(0x170)](_0x882a56));const _0x4f8963=_0x378a5d[_0x517a78(0x118)](_0x2e4fd4=>({'\x74\x79\x70\x65':'\x66\x75\x6e\x63\x74\x69\x6f\x6e','\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x2e4fd4[_0x517a78(0x11d)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x2e4fd4[_0x517a78(0x145)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x2e4fd4['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']}}));function _0x4f1236(_0x61fd04){const _0x5c3c88=_0x517a78;if(!_0x61fd04)return{};try{const _0x226e00=JSON[_0x5c3c88(0x105)](_0x61fd04);return typeof _0x226e00===_0x5c3c88(0x11a)&&_0x226e00!==null?_0x226e00:{};}catch{return{};}}async function _0xffbf25(_0x2f80df){const _0x4db9b6=_0x517a78,_0x2f8c0c=_0x577b9f[_0x4db9b6(0x13f)](_0x2f80df[_0x4db9b6(0x16a)][_0x4db9b6(0x11d)]);if(!_0x2f8c0c)return{'\x72\x6f\x6c\x65':_0x4db9b6(0x153),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x2f80df['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x4db9b6(0x14b)]({'\x65\x72\x72\x6f\x72':_0x4db9b6(0x13c)+_0x2f80df['\x66\x75\x6e\x63\x74\x69\x6f\x6e'][_0x4db9b6(0x11d)]})};try{const _0x3a6b3a=await _0x2c3ef4[_0x4db9b6(0x13d)](_0x2f8c0c,_0x2c3ef4[_0x4db9b6(0x160)](_0x4f1236,_0x2f80df[_0x4db9b6(0x16a)][_0x4db9b6(0x146)]));return{'\x72\x6f\x6c\x65':_0x2c3ef4[_0x4db9b6(0x155)],'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x2f80df['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x2c3ef4['\x41\x6f\x70\x4e\x4a'](serializeToolResult,_0x3a6b3a)};}catch(_0x18349d){return{'\x72\x6f\x6c\x65':_0x2c3ef4[_0x4db9b6(0x155)],'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x2f80df['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x65\x72\x72\x6f\x72':_0x18349d instanceof Error?_0x18349d[_0x4db9b6(0x176)]:_0x2c3ef4[_0x4db9b6(0x160)](String,_0x18349d)})};}}async function _0xcec55(_0x258e5a){const _0x4a6bf9=_0x517a78,_0x43c5c0=_0x258e5a['\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x73']??[];return Promise[_0x4a6bf9(0x15c)](_0x43c5c0[_0x4a6bf9(0x118)](_0xffbf25));}return{'\x74\x6f\x6f\x6c\x73':_0x4f8963,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c':_0xffbf25,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0xcec55};}async function vercelAiTools(_0x2d0665,_0x66b081={}){const _0x12c709=a0_0x5c6e3c,_0x56bbcc={'\x67\x4b\x67\x4d\x45':function(_0x22c6d5,_0x1ad7db){return _0x22c6d5(_0x1ad7db);}};let _0x32dbbb;try{_0x32dbbb=await import('\x61\x69');}catch{throw new Error(_0x12c709(0xfa));}const _0x3a4511=_0x56bbcc[_0x12c709(0xee)](selectSpecs,_0x66b081['\x61\x6c\x6c\x6f\x77']),_0x46fc80={'\x62\x6f\x78':_0x2d0665,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x66b081['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64']},_0x3202bf={};for(const _0x36237e of _0x3a4511){const _0x2a59ba=_0x36237e[_0x12c709(0x170)](_0x46fc80);_0x3202bf[_0x36237e[_0x12c709(0x11d)]]=_0x32dbbb[_0x12c709(0x153)]({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x36237e[_0x12c709(0x145)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x32dbbb[_0x12c709(0xea)](_0x36237e[_0x12c709(0xfd)]),'\x65\x78\x65\x63\x75\x74\x65':async _0x4e877f=>{return serializeToolResult(await _0x2a59ba(_0x4e877f));}});}return _0x3202bf;}export{anthropicFleetTools,anthropicTools,createMcpServer,mastraFleetTools,mastraTools,openaiFleetTools,openaiTools,runCode,vercelAiFleetTools,vercelAiTools};
|
|
1
|
+
const a0_0x4c5b75=a0_0x1755;(function(_0x34ec57,_0x416346){const _0x277e7e=a0_0x1755,_0x1b627a=_0x34ec57();while(!![]){try{const _0x3f0375=parseInt(_0x277e7e(0x18d))/0x1+-parseInt(_0x277e7e(0x178))/0x2+-parseInt(_0x277e7e(0x197))/0x3+parseInt(_0x277e7e(0x187))/0x4*(parseInt(_0x277e7e(0x1f4))/0x5)+-parseInt(_0x277e7e(0x1a6))/0x6+parseInt(_0x277e7e(0x189))/0x7+parseInt(_0x277e7e(0x1dd))/0x8*(parseInt(_0x277e7e(0x18e))/0x9);if(_0x3f0375===_0x416346)break;else _0x1b627a['push'](_0x1b627a['shift']());}catch(_0x513840){_0x1b627a['push'](_0x1b627a['shift']());}}}(a0_0x364d,0xdb7ef));import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';const TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x75\x6e\x5f\x63\x6f\x64\x65':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x1fa),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1e6),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x6c\x61\x6e\x67\x75\x61\x67\x65':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x65\x6e\x75\x6d':['\x70\x79\x74\x68\x6f\x6e',a0_0x4c5b75(0x1f2),'\x74\x79\x70\x65\x73\x63\x72\x69\x70\x74',a0_0x4c5b75(0x17c)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x188)},'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x20b)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x4c5b75(0x174),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1c8)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x1a9),a0_0x4c5b75(0x18b)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x4037c6,sessionId:_0x25a909})=>async _0x2f5fc7=>{const _0x89065=a0_0x4c5b75;return await _0x4037c6[_0x89065(0x1c2)](_0x2f5fc7[_0x89065(0x1a9)],_0x2f5fc7[_0x89065(0x18b)],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x25a909,'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x2f5fc7[_0x89065(0x214)]});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x65\x78\x65\x63':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x1d3),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1c3),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x191)},'\x63\x77\x64':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1fb)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x44\x65\x66\x61\x75\x6c\x74\x20\x36\x30\x30\x30\x30\x2e'}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x1b5)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x309337,sessionId:_0x4cc736})=>async _0x1bbb5d=>{const _0x1e618f=a0_0x4c5b75;return await _0x309337['\x65\x78\x65\x63'](_0x1bbb5d[_0x1e618f(0x1b5)],{'\x63\x77\x64':_0x1bbb5d[_0x1e618f(0x176)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x1bbb5d['\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73'],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x4cc736});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x72\x65\x61\x64':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x212),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x52\x65\x61\x64\x20\x61\x20\x66\x69\x6c\x65\x20\x66\x72\x6f\x6d\x20\x74\x68\x65\x20\x73\x61\x6e\x64\x62\x6f\x78\x20\x66\x69\x6c\x65\x73\x79\x73\x74\x65\x6d\x2e\x20\x52\x65\x6c\x61\x74\x69\x76\x65\x20\x70\x61\x74\x68\x73\x20\x72\x65\x73\x6f\x6c\x76\x65\x20\x66\x72\x6f\x6d\x20\x74\x68\x65\x20\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x20\x72\x6f\x6f\x74\x3b\x20\x61\x62\x73\x6f\x6c\x75\x74\x65\x20\x70\x61\x74\x68\x73\x20\x72\x65\x61\x64\x20\x74\x68\x65\x20\x63\x6f\x6e\x74\x61\x69\x6e\x65\x72\x20\x66\x69\x6c\x65\x73\x79\x73\x74\x65\x6d\x20\x64\x69\x72\x65\x63\x74\x6c\x79\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x185)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0xca2e47,sessionId:_0x3235df})=>async _0x41bf70=>{const _0x3df846=a0_0x4c5b75;return{'\x63\x6f\x6e\x74\x65\x6e\x74':await _0xca2e47[_0x3df846(0x1cc)](_0x41bf70['\x70\x61\x74\x68'],{'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x3235df})};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x77\x72\x69\x74\x65':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x199),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1d1),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec)},'\x63\x6f\x6e\x74\x65\x6e\x74':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1d5)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x185),a0_0x4c5b75(0x1a8)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x5e2196})=>async _0x12ff46=>{const _0x1afd79=a0_0x4c5b75;return await _0x5e2196[_0x1afd79(0x183)](_0x12ff46['\x70\x61\x74\x68'],_0x12ff46[_0x1afd79(0x1a8)]),{'\x6f\x6b':!![]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x6c\x69\x73\x74':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x195),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x207),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x68':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67'}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x185)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x1d9412})=>async _0x38710a=>{const _0x395098=a0_0x4c5b75;return{'\x65\x6e\x74\x72\x69\x65\x73':await _0x1d9412['\x66\x73'][_0x395098(0x17e)](_0x38710a['\x70\x61\x74\x68'])};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x73\x65\x61\x72\x63\x68':{'\x6e\x61\x6d\x65':'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x73\x65\x61\x72\x63\x68','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1ed),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x70\x61\x74\x74\x65\x72\x6e':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1d4)},'\x70\x61\x74\x68':{'\x74\x79\x70\x65':'\x73\x74\x72\x69\x6e\x67','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x17d)},'\x6d\x61\x78\x5f\x72\x65\x73\x75\x6c\x74\x73':{'\x74\x79\x70\x65':a0_0x4c5b75(0x174),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1f6)}},'\x72\x65\x71\x75\x69\x72\x65\x64':['\x70\x61\x74\x74\x65\x72\x6e'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({box:_0x39e2f3})=>async _0x15f8d7=>{const _0x1b4c91=a0_0x4c5b75,_0x78f70b={'\x4c\x4a\x78\x66\x72':function(_0x4039a4,_0x1a35c3){return _0x4039a4>=_0x1a35c3;}},_0x50ac92=[],_0x26ed0a=_0x15f8d7[_0x1b4c91(0x20f)]??0x64;for await(const _0x42b494 of _0x39e2f3['\x73\x65\x61\x72\x63\x68'](_0x15f8d7[_0x1b4c91(0x1ea)],{'\x63\x77\x64':_0x15f8d7[_0x1b4c91(0x185)],'\x6d\x61\x78\x52\x65\x73\x75\x6c\x74\x73':_0x26ed0a})){_0x50ac92[_0x1b4c91(0x203)](_0x42b494);if(_0x78f70b[_0x1b4c91(0x175)](_0x50ac92[_0x1b4c91(0x19b)],_0x26ed0a))break;}return{'\x6d\x61\x74\x63\x68\x65\x73':_0x50ac92};}}},ALL_TOOL_SPECS=Object[a0_0x4c5b75(0x192)](TOOL_SPECS);function selectSpecs(_0x1ba5e5){const _0x3120d8=a0_0x4c5b75,_0x1eb9db={'\x64\x73\x68\x68\x61':function(_0x48667a,_0x3f1418){return _0x48667a===_0x3f1418;}};if(!_0x1ba5e5||_0x1eb9db[_0x3120d8(0x196)](_0x1ba5e5[_0x3120d8(0x19b)],0x0))return ALL_TOOL_SPECS;const _0x90b20a=new Set(_0x1ba5e5);return Object['\x6b\x65\x79\x73'](TOOL_SPECS)[_0x3120d8(0x200)](_0x437cef=>_0x90b20a[_0x3120d8(0x171)](_0x437cef))[_0x3120d8(0x1fc)](_0x10a100=>TOOL_SPECS[_0x10a100]);}function serializeToolResult(_0x24651e){const _0x56333b=a0_0x4c5b75,_0x4d7860={'\x61\x55\x5a\x64\x51':_0x56333b(0x1ec)};if(typeof _0x24651e===_0x4d7860['\x61\x55\x5a\x64\x51'])return _0x24651e;try{return JSON[_0x56333b(0x18c)](_0x24651e,null,0x2);}catch{return String(_0x24651e);}}const SDK_VERSION=((()=>{const _0x335487=a0_0x4c5b75,_0x23230b={'\x77\x59\x7a\x4c\x6d':function(_0x2f1fbd,_0x48fb0b){return _0x2f1fbd(_0x48fb0b);},'\x78\x57\x6c\x4c\x51':_0x335487(0x19a)};try{return _0x23230b['\x77\x59\x7a\x4c\x6d'](createRequire,import.meta.url)(_0x335487(0x1a0))[_0x335487(0x1de)]??_0x335487(0x19a);}catch{return _0x23230b['\x78\x57\x6c\x4c\x51'];}})());async function createMcpServer(_0x42de22,_0x33e4ec={}){const _0x3f2fd2=a0_0x4c5b75,_0x4cf4c9={'\x4e\x51\x74\x58\x4a':function(_0x2628be,_0x19de09){return _0x2628be(_0x19de09);},'\x64\x7a\x4c\x46\x63':_0x3f2fd2(0x1fe),'\x63\x42\x41\x73\x50':function(_0x382fd3,_0x3fd88b){return _0x382fd3 instanceof _0x3fd88b;},'\x43\x6e\x57\x52\x59':_0x3f2fd2(0x1b8),'\x56\x51\x6a\x74\x65':_0x3f2fd2(0x17a),'\x69\x42\x6d\x6d\x6f':_0x3f2fd2(0x1f8)};let _0x7b8b34,_0x1375d5;try{[_0x7b8b34,_0x1375d5]=await Promise[_0x3f2fd2(0x181)]([import(_0x4cf4c9[_0x3f2fd2(0x1db)]),import(_0x3f2fd2(0x204))]);}catch{throw new Error(_0x4cf4c9[_0x3f2fd2(0x1e1)]);}const _0x384fd9=_0x4cf4c9[_0x3f2fd2(0x1e7)](selectSpecs,_0x33e4ec[_0x3f2fd2(0x1a3)]),_0x5a01e4={'\x62\x6f\x78':_0x42de22,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x33e4ec[_0x3f2fd2(0x1a2)]},_0x1aa963=new Map();for(const _0x25abf3 of _0x384fd9)_0x1aa963[_0x3f2fd2(0x172)](_0x25abf3[_0x3f2fd2(0x19c)],_0x25abf3[_0x3f2fd2(0x1bf)](_0x5a01e4));const _0x348e44=new _0x7b8b34[(_0x3f2fd2(0x1e5))]({'\x6e\x61\x6d\x65':_0x33e4ec['\x6e\x61\x6d\x65']??_0x4cf4c9[_0x3f2fd2(0x210)],'\x76\x65\x72\x73\x69\x6f\x6e':_0x33e4ec[_0x3f2fd2(0x1de)]??SDK_VERSION},{'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x74\x6f\x6f\x6c\x73':{}}});return _0x348e44[_0x3f2fd2(0x1dc)](_0x1375d5[_0x3f2fd2(0x1d2)],async()=>({'\x74\x6f\x6f\x6c\x73':_0x384fd9[_0x3f2fd2(0x1fc)](_0x585cae=>({'\x6e\x61\x6d\x65':_0x585cae[_0x3f2fd2(0x19c)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x585cae[_0x3f2fd2(0x1e9)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x585cae[_0x3f2fd2(0x1c5)]}))})),_0x348e44[_0x3f2fd2(0x1dc)](_0x1375d5[_0x3f2fd2(0x211)],async _0x4f842f=>{const _0x215d6f=_0x3f2fd2,_0x1889f0=_0x4f842f,_0x42d41e=_0x1aa963['\x67\x65\x74'](_0x1889f0[_0x215d6f(0x182)][_0x215d6f(0x19c)]);if(!_0x42d41e)return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x215d6f(0x1fe),'\x74\x65\x78\x74':_0x215d6f(0x20e)+_0x1889f0[_0x215d6f(0x182)][_0x215d6f(0x19c)]}]};try{return{'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':'\x74\x65\x78\x74','\x74\x65\x78\x74':_0x4cf4c9[_0x215d6f(0x1e7)](serializeToolResult,await _0x42d41e(_0x1889f0['\x70\x61\x72\x61\x6d\x73'][_0x215d6f(0x1b1)]??{}))}]};}catch(_0x57b2f2){return{'\x69\x73\x45\x72\x72\x6f\x72':!![],'\x63\x6f\x6e\x74\x65\x6e\x74':[{'\x74\x79\x70\x65':_0x4cf4c9[_0x215d6f(0x213)],'\x74\x65\x78\x74':_0x4cf4c9['\x63\x42\x41\x73\x50'](_0x57b2f2,Error)?_0x57b2f2[_0x215d6f(0x202)]:_0x4cf4c9['\x4e\x51\x74\x58\x4a'](String,_0x57b2f2)}]};}}),{'\x73\x65\x72\x76\x65\x72':_0x348e44,'\x63\x6f\x6e\x6e\x65\x63\x74':_0x45b759=>_0x348e44[_0x3f2fd2(0x1cf)](_0x45b759),'\x63\x6c\x6f\x73\x65':()=>_0x348e44[_0x3f2fd2(0x177)]()};}function runCode(_0x7f8f0b,_0x371259,_0xc5d449,_0x191f4b){const _0x142d6d=a0_0x4c5b75;return _0x7f8f0b[_0x142d6d(0x1c2)](_0x371259,_0xc5d449,_0x191f4b);}function anthropicTools(_0x2131da,_0x137df8={}){const _0x1112f9=a0_0x4c5b75,_0x380a39={'\x7a\x42\x45\x48\x59':function(_0x52b45d,_0x5ed426){return _0x52b45d(_0x5ed426);},'\x47\x6e\x61\x42\x66':_0x1112f9(0x209),'\x59\x74\x66\x4e\x56':function(_0x5ee0cd,_0x201ecf){return _0x5ee0cd instanceof _0x201ecf;},'\x63\x74\x6e\x56\x50':function(_0x297604,_0x495185){return _0x297604(_0x495185);}},_0x4b6804=_0x380a39[_0x1112f9(0x1eb)](selectSpecs,_0x137df8['\x61\x6c\x6c\x6f\x77']),_0x47990d={'\x62\x6f\x78':_0x2131da,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x137df8[_0x1112f9(0x1a2)]},_0x4bcaa5=new Map();for(const _0x5e2d70 of _0x4b6804)_0x4bcaa5[_0x1112f9(0x172)](_0x5e2d70['\x6e\x61\x6d\x65'],_0x5e2d70[_0x1112f9(0x1bf)](_0x47990d));const _0x277ef2=_0x4b6804[_0x1112f9(0x1fc)](_0x38ac74=>({'\x6e\x61\x6d\x65':_0x38ac74[_0x1112f9(0x19c)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x38ac74[_0x1112f9(0x1e9)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x38ac74[_0x1112f9(0x1c5)]}));async function _0x21aad7(_0x37dc3d){const _0x54bdb2=_0x1112f9,_0x48ccbb=_0x4bcaa5[_0x54bdb2(0x190)](_0x37dc3d[_0x54bdb2(0x19c)]);if(!_0x48ccbb)return{'\x74\x79\x70\x65':_0x54bdb2(0x209),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x37dc3d['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x54bdb2(0x20e)+_0x37dc3d['\x6e\x61\x6d\x65'],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x316a98=await _0x380a39['\x7a\x42\x45\x48\x59'](_0x48ccbb,_0x37dc3d[_0x54bdb2(0x1ca)]);return{'\x74\x79\x70\x65':_0x380a39[_0x54bdb2(0x1b6)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x37dc3d['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':toAnthropicContent(_0x316a98)};}catch(_0x5e4ece){return{'\x74\x79\x70\x65':_0x380a39[_0x54bdb2(0x1b6)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x37dc3d['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x380a39[_0x54bdb2(0x1af)](_0x5e4ece,Error)?_0x5e4ece['\x6d\x65\x73\x73\x61\x67\x65']:String(_0x5e4ece),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}async function _0x4cc120(_0x18e4eb){const _0x42dfb3=_0x1112f9,_0x3c1ece=_0x18e4eb[_0x42dfb3(0x200)](_0x236994=>typeof _0x236994===_0x42dfb3(0x1ff)&&_0x236994!==null&&_0x236994[_0x42dfb3(0x20d)]===_0x42dfb3(0x1f3));return Promise[_0x42dfb3(0x181)](_0x3c1ece[_0x42dfb3(0x1fc)](_0x21aad7));}return{'\x74\x6f\x6f\x6c\x73':_0x277ef2,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65':_0x21aad7,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x4cc120};}function a0_0x364d(){const _0x204976=['\x42\x77\x76\x30\x79\x77\x72\x48\x44\x67\x65','\x71\x32\x39\x55\x44\x67\x4c\x55\x44\x77\x75\x47\x7a\x67\x76\x53\x7a\x78\x72\x50\x42\x4d\x43\x47\x43\x4d\x76\x54\x79\x77\x4c\x55\x41\x77\x35\x4e\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x76\x5a\x69\x67\x4c\x4d\x69\x67\x39\x55\x7a\x73\x62\x4d\x79\x77\x4c\x53\x43\x59\x34','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x53\x41\x78\x6e\x30','\x7a\x68\x6e\x4f\x41\x67\x65','\x6d\x74\x43\x33\x6d\x4a\x6d\x34\x6f\x66\x72\x52\x73\x77\x39\x67\x71\x71','\x44\x67\x39\x56\x42\x61','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x33\x43\x4d\x4c\x30\x7a\x71','\x6d\x63\x34\x57\x6c\x4a\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x42\x4d\x66\x54\x7a\x71','\x45\x4d\x48\x33\x76\x77\x75','\x44\x4d\x76\x59\x79\x32\x76\x53\x71\x77\x4c\x67\x42\x67\x76\x4c\x44\x66\x72\x56\x42\x32\x58\x5a\x6b\x63\x4b\x36\x69\x68\x72\x4f\x7a\x73\x62\x47\x79\x77\x4c\x47\x69\x68\x62\x48\x79\x32\x54\x48\x7a\x32\x75\x47\x41\x78\x6d\x47\x42\x4d\x39\x30\x69\x67\x4c\x55\x43\x33\x72\x48\x42\x67\x58\x4c\x7a\x63\x34\x47\x73\x77\x35\x5a\x44\x67\x66\x53\x42\x63\x62\x32\x41\x77\x65\x47\x79\x68\x62\x55\x43\x67\x30\x47\x79\x77\x72\x4b\x69\x67\x66\x50\x79\x63\x34','\x41\x77\x31\x48\x7a\x32\x75\x56\x41\x4e\x62\x4c\x7a\x57','\x6c\x49\x34\x56\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x32\x39\x55','\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x79\x77\x58\x53\x42\x33\x43','\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61','\x41\x4b\x72\x76\x71\x75\x4b','\x6e\x74\x4b\x57\x6d\x4a\x6d\x5a\x6d\x4e\x72\x72\x72\x33\x48\x74\x44\x71','\x41\x4e\x62\x4c\x7a\x57','\x79\x32\x39\x55\x44\x67\x76\x55\x44\x61','\x42\x67\x66\x55\x7a\x33\x76\x48\x7a\x32\x75','\x43\x33\x7a\x4e','\x42\x77\x66\x4a\x41\x67\x4c\x55\x7a\x78\x6d','\x74\x65\x58\x58\x43\x32\x43','\x42\x65\x76\x67\x44\x30\x4b','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x77\x78\x72\x4d\x74\x4c\x79','\x41\x4e\x6e\x56\x42\x4c\x6e\x4a\x41\x67\x76\x54\x79\x71','\x79\x78\x6a\x4e\x44\x77\x31\x4c\x42\x4e\x72\x5a','\x79\x77\x39\x53\x74\x66\x43','\x43\x4d\x6e\x65\x45\x75\x53','\x7a\x4d\x58\x4c\x7a\x78\x72\x5a','\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x61','\x72\x32\x35\x48\x71\x4d\x79','\x43\x76\x44\x5a\x42\x65\x6d','\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x59\x39\x5a\x7a\x78\x6a\x32\x7a\x78\x69\x56\x41\x77\x35\x4b\x7a\x78\x47\x55\x41\x4e\x6d','\x74\x31\x6e\x74\x71\x77\x34','\x43\x33\x72\x48\x44\x68\x76\x5a','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x32\x4c\x30\x41\x65\x6e\x56\x42\x33\x6a\x4b\x41\x77\x35\x48\x44\x67\x39\x59','\x76\x67\x4c\x66\x42\x78\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x41\x78\x6e\x57\x79\x78\x72\x4a\x41\x61','\x43\x4b\x58\x6a\x77\x4b\x34','\x42\x77\x66\x52\x7a\x75\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x43\x4d\x76\x5a\x44\x77\x58\x30\x43\x57','\x79\x78\x6a\x59\x79\x78\x4b','\x43\x4e\x76\x55\x71\x32\x39\x4b\x7a\x71','\x75\x4e\x76\x55\x69\x67\x65\x47\x43\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x61\x4f\x42\x4d\x38\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x67\x76\x55\x44\x63\x62\x5a\x44\x67\x66\x30\x7a\x73\x4b\x47\x41\x77\x34\x47\x44\x67\x48\x4c\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x47\x55\x69\x66\x76\x5a\x7a\x73\x62\x4d\x42\x33\x69\x47\x42\x32\x35\x4c\x6c\x78\x6e\x4f\x42\x33\x71\x47\x44\x67\x66\x5a\x41\x33\x6d\x47\x42\x67\x4c\x52\x7a\x73\x61\x4e\x43\x67\x35\x57\x42\x73\x62\x50\x42\x4e\x6e\x30\x79\x77\x58\x53\x6a\x59\x62\x56\x43\x49\x61\x4e\x42\x68\x6d\x4e\x6c\x49\x62\x67\x42\x33\x69\x47\x79\x32\x39\x4b\x7a\x73\x62\x30\x41\x67\x66\x30\x69\x68\x6e\x4f\x42\x33\x76\x53\x7a\x63\x62\x5a\x41\x67\x66\x59\x7a\x73\x62\x5a\x44\x67\x66\x30\x7a\x73\x62\x48\x79\x33\x6a\x56\x43\x33\x6d\x47\x79\x32\x66\x53\x42\x68\x6d\x53\x69\x68\x62\x59\x7a\x77\x7a\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x33\x6a\x31\x42\x4c\x39\x4a\x42\x32\x72\x4c\x69\x68\x44\x50\x44\x67\x47\x47\x79\x73\x62\x5a\x7a\x78\x6e\x5a\x41\x77\x39\x55\x73\x77\x71\x55','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x7a\x78\x6e\x30\x43\x4d\x39\x35','\x41\x77\x35\x57\x44\x78\x72\x74\x79\x32\x48\x4c\x42\x77\x65','\x7a\x67\x4c\x5a\x43\x67\x66\x30\x79\x32\x48\x66\x45\x67\x76\x4a','\x43\x67\x66\x59\x43\x32\x75','\x75\x67\x76\x59\x6c\x77\x6e\x48\x42\x67\x57\x47\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x63\x34\x47\x6d\x63\x62\x4b\x41\x78\x6e\x48\x79\x4d\x58\x4c\x43\x59\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x45\x78\x66\x59\x74\x67\x43','\x41\x77\x35\x57\x44\x78\x71','\x75\x67\x76\x59\x6c\x77\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x63\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x63\x61\x32\x6d\x64\x61\x57\x6d\x63\x34','\x43\x4d\x76\x48\x7a\x61','\x43\x77\x44\x6f\x72\x4b\x75','\x43\x67\x35\x4e','\x79\x32\x39\x55\x42\x4d\x76\x4a\x44\x61','\x75\x68\x76\x49\x42\x67\x4c\x4a\x69\x68\x72\x4c\x42\x78\x62\x53\x79\x78\x72\x4c\x69\x68\x6e\x53\x44\x77\x43\x47\x42\x33\x69\x47\x41\x77\x71\x47\x6b\x67\x75\x55\x7a\x59\x34\x47\x6a\x33\x62\x35\x44\x67\x48\x56\x42\x49\x31\x4b\x79\x78\x72\x48\x6c\x78\x6e\x4a\x41\x77\x76\x55\x79\x32\x75\x4e\x6b\x73\x34','\x76\x33\x6a\x50\x44\x67\x75\x47\x79\x73\x62\x4d\x41\x77\x58\x4c\x69\x67\x4c\x55\x69\x68\x72\x4f\x7a\x73\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x6c\x49\x62\x64\x43\x4d\x76\x48\x44\x67\x76\x5a\x69\x68\x62\x48\x43\x4d\x76\x55\x44\x63\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x56\x43\x4d\x4c\x4c\x43\x59\x62\x48\x43\x59\x62\x55\x7a\x77\x76\x4b\x7a\x77\x71\x55\x69\x65\x39\x32\x7a\x78\x6a\x33\x43\x4d\x4c\x30\x7a\x78\x6d\x47\x7a\x78\x48\x50\x43\x33\x72\x50\x42\x4d\x43\x47\x7a\x4d\x4c\x53\x7a\x78\x6d\x55','\x74\x67\x4c\x5a\x44\x66\x72\x56\x42\x32\x58\x5a\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x66\x6e\x4a\x41\x67\x76\x54\x79\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4c\x45\x67\x76\x4a','\x75\x4d\x76\x4e\x7a\x78\x47\x47\x43\x67\x66\x30\x44\x67\x76\x59\x42\x49\x34','\x72\x4e\x76\x53\x42\x63\x62\x4d\x41\x77\x58\x4c\x69\x67\x6e\x56\x42\x4e\x72\x4c\x42\x4e\x72\x5a\x6c\x47','\x79\x4d\x39\x56\x42\x67\x76\x48\x42\x47','\x74\x4c\x72\x6d\x41\x32\x30','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x76\x67\x39\x56\x42\x61','\x75\x33\x62\x48\x44\x32\x34\x47\x79\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x56\x7a\x49\x62\x6f\x69\x68\x6e\x48\x42\x4d\x72\x49\x42\x33\x48\x4c\x43\x59\x62\x4d\x43\x4d\x39\x54\x69\x67\x65\x47\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x75\x53\x69\x68\x44\x50\x44\x67\x47\x47\x79\x73\x62\x4a\x42\x32\x39\x59\x7a\x67\x4c\x55\x79\x78\x72\x56\x43\x49\x62\x57\x42\x68\x76\x5a\x69\x65\x34\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x62\x5a\x41\x67\x66\x59\x41\x77\x35\x4e\x69\x67\x65\x47\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x6c\x49\x62\x73\x7a\x78\x72\x31\x43\x4d\x35\x5a\x69\x68\x72\x4f\x7a\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x50\x7a\x63\x62\x48\x42\x4d\x71\x47\x44\x67\x48\x4c\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x41\x77\x72\x5a\x6c\x49\x62\x66\x79\x77\x6e\x4f\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x49\x62\x4f\x79\x78\x6d\x47\x41\x78\x72\x5a\x69\x67\x39\x33\x42\x49\x62\x57\x7a\x78\x6a\x5a\x41\x78\x6e\x30\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x75\x54\x7a\x78\x48\x4c\x79\x33\x76\x30\x41\x77\x39\x55\x69\x67\x54\x4c\x43\x4d\x35\x4c\x42\x64\x53\x47\x44\x67\x48\x4c\x69\x68\x6e\x48\x42\x77\x75\x47\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x67\x4c\x5a\x69\x67\x31\x56\x44\x77\x35\x30\x7a\x77\x71\x47\x79\x77\x6e\x59\x42\x33\x6e\x5a\x69\x68\x72\x4f\x7a\x77\x30\x55\x69\x65\x6e\x70\x75\x31\x72\x74\x69\x66\x6e\x64\x71\x75\x58\x66\x69\x65\x58\x6a\x74\x4b\x76\x62\x75\x4b\x58\x7a\x69\x68\x44\x50\x44\x67\x47\x47\x79\x68\x44\x56\x43\x4d\x54\x4c\x43\x4e\x6e\x47\x6c\x49\x62\x76\x43\x32\x75\x47\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x4b\x7a\x78\x6e\x30\x43\x4d\x39\x35\x69\x68\x44\x4f\x7a\x77\x34\x47\x7a\x67\x39\x55\x7a\x73\x34','\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x47\x42\x77\x76\x30\x79\x77\x72\x48\x44\x67\x65\x47\x43\x33\x72\x48\x42\x78\x62\x4c\x7a\x63\x62\x56\x42\x49\x62\x4c\x44\x4d\x76\x59\x45\x73\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x54\x7a\x77\x31\x49\x7a\x78\x69\x55','\x71\x32\x35\x78\x75\x4c\x4b','\x43\x32\x76\x30\x75\x4d\x76\x58\x44\x77\x76\x5a\x44\x65\x48\x48\x42\x4d\x72\x53\x7a\x78\x69','\x6d\x74\x7a\x41\x42\x4e\x4c\x55\x42\x67\x38','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x75\x4e\x76\x55\x69\x67\x65\x47\x43\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x62\x56\x42\x49\x62\x48\x69\x67\x7a\x53\x7a\x77\x76\x30\x6a\x33\x6d\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x62\x50\x42\x49\x62\x57\x79\x78\x6a\x48\x42\x67\x58\x4c\x42\x63\x34\x47\x72\x67\x76\x4d\x79\x78\x76\x53\x44\x68\x6d\x47\x44\x67\x38\x47\x79\x77\x58\x53\x69\x68\x44\x56\x43\x4d\x54\x4c\x43\x4e\x6d\x37\x69\x68\x62\x48\x43\x33\x6d\x47\x79\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x76\x5a\x79\x63\x62\x30\x42\x59\x62\x30\x79\x78\x6a\x4e\x7a\x78\x71\x47\x43\x33\x62\x4c\x79\x32\x4c\x4d\x41\x77\x6d\x47\x42\x32\x35\x4c\x43\x59\x34\x47\x75\x4d\x76\x30\x44\x78\x6a\x55\x43\x59\x62\x57\x7a\x78\x69\x54\x42\x77\x66\x4a\x41\x67\x4c\x55\x7a\x73\x62\x37\x42\x32\x53\x53\x69\x68\x6a\x4c\x43\x33\x76\x53\x44\x64\x38\x53\x69\x67\x76\x59\x43\x4d\x39\x59\x70\x33\x30\x47\x7a\x77\x35\x30\x43\x4d\x4c\x4c\x43\x59\x34','\x75\x4b\x6e\x5a\x72\x30\x65','\x76\x4c\x66\x51\x44\x67\x75','\x44\x67\x76\x54\x43\x67\x58\x48\x44\x67\x76\x46\x41\x77\x71','\x71\x4d\x6e\x65\x41\x30\x65','\x43\x32\x39\x54\x7a\x71','\x75\x32\x76\x59\x44\x4d\x76\x59','\x72\x78\x48\x4c\x79\x33\x76\x30\x7a\x73\x62\x4a\x42\x32\x72\x4c\x69\x67\x4c\x55\x69\x67\x65\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x67\x76\x55\x44\x63\x62\x53\x79\x77\x35\x4e\x44\x77\x66\x4e\x7a\x73\x62\x52\x7a\x78\x6a\x55\x7a\x77\x57\x47\x41\x77\x35\x5a\x41\x77\x72\x4c\x69\x68\x72\x4f\x7a\x73\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x6c\x49\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x78\x6d\x47\x43\x67\x76\x59\x43\x32\x4c\x5a\x44\x63\x62\x48\x79\x33\x6a\x56\x43\x33\x6d\x47\x79\x32\x66\x53\x42\x68\x6d\x47\x44\x32\x4c\x30\x41\x63\x62\x30\x41\x67\x75\x47\x43\x32\x66\x54\x7a\x73\x62\x5a\x7a\x78\x6e\x5a\x41\x77\x39\x55\x6c\x49\x62\x73\x7a\x78\x72\x31\x43\x4d\x35\x5a\x69\x68\x6e\x30\x7a\x67\x39\x31\x44\x63\x57\x47\x43\x33\x72\x4b\x7a\x78\x6a\x59\x6c\x63\x62\x4c\x45\x67\x4c\x30\x69\x67\x6e\x56\x7a\x67\x75\x53\x69\x67\x66\x55\x7a\x63\x62\x48\x69\x68\x72\x35\x43\x67\x76\x4b\x69\x67\x62\x59\x7a\x78\x6e\x31\x42\x68\x72\x5a\x79\x63\x62\x48\x43\x4e\x6a\x48\x45\x73\x62\x4a\x42\x32\x35\x30\x79\x77\x4c\x55\x41\x77\x35\x4e\x69\x67\x31\x48\x44\x68\x62\x53\x42\x33\x72\x53\x41\x77\x69\x47\x7a\x4d\x4c\x4e\x44\x78\x6a\x4c\x43\x59\x61\x4f\x79\x4d\x66\x5a\x7a\x74\x79\x30\x69\x66\x62\x6f\x72\x59\x4b\x53\x69\x68\x62\x48\x42\x4d\x72\x48\x43\x59\x62\x65\x79\x78\x72\x48\x72\x4e\x6a\x48\x42\x77\x76\x5a\x6c\x63\x62\x6b\x75\x30\x39\x6f\x69\x68\x7a\x50\x79\x73\x62\x4b\x41\x78\x6e\x57\x42\x67\x66\x35\x6b\x63\x4b\x53\x69\x67\x39\x59\x69\x67\x76\x59\x43\x4d\x39\x59\x43\x59\x34\x47\x75\x68\x6a\x4c\x7a\x4d\x76\x59\x69\x68\x72\x4f\x41\x78\x6d\x47\x42\x33\x7a\x4c\x43\x49\x62\x5a\x79\x77\x35\x4b\x79\x4d\x39\x34\x78\x32\x76\x34\x7a\x77\x6d\x47\x7a\x4d\x39\x59\x69\x67\x66\x55\x45\x73\x62\x4a\x42\x32\x72\x4c\x69\x68\x72\x4f\x79\x78\x71\x47\x42\x4d\x76\x4c\x7a\x68\x6d\x47\x43\x33\x72\x59\x44\x77\x6e\x30\x44\x78\x6a\x4c\x7a\x63\x62\x56\x44\x78\x72\x57\x44\x78\x71\x55','\x74\x4c\x66\x30\x77\x65\x4f','\x72\x31\x4c\x4f\x74\x66\x71','\x7a\x67\x76\x5a\x79\x33\x6a\x50\x43\x68\x72\x50\x42\x32\x34','\x43\x67\x66\x30\x44\x67\x76\x59\x42\x47','\x79\x33\x72\x55\x76\x4c\x61','\x43\x33\x72\x59\x41\x77\x35\x4e','\x75\x4d\x4c\x57\x7a\x33\x6a\x4c\x43\x63\x31\x5a\x44\x68\x4c\x53\x7a\x73\x62\x4a\x42\x32\x72\x4c\x69\x68\x6e\x4c\x79\x78\x6a\x4a\x41\x63\x34\x47\x75\x4d\x76\x30\x44\x78\x6a\x55\x43\x59\x62\x54\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x59\x62\x53\x41\x77\x35\x4c\x43\x59\x62\x33\x41\x78\x72\x4f\x69\x68\x6e\x31\x43\x4e\x6a\x56\x44\x77\x35\x4b\x41\x77\x35\x4e\x69\x67\x6e\x56\x42\x4e\x72\x4c\x45\x68\x71\x55','\x7a\x4e\x76\x55\x79\x33\x72\x50\x42\x32\x34','\x7a\x4e\x6a\x56\x42\x71','\x74\x67\x4c\x5a\x44\x63\x62\x30\x41\x67\x75\x47\x7a\x4d\x58\x4c\x7a\x78\x71\x4e\x43\x59\x62\x54\x79\x77\x6e\x4f\x41\x77\x35\x4c\x43\x59\x62\x48\x42\x4d\x71\x47\x44\x67\x48\x4c\x41\x78\x69\x47\x43\x67\x76\x59\x6c\x77\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x43\x33\x72\x48\x44\x67\x75\x47\x6b\x68\x6a\x31\x42\x4d\x35\x50\x42\x4d\x43\x47\x6c\x59\x62\x5a\x44\x67\x39\x57\x43\x67\x76\x4b\x69\x63\x38\x47\x7a\x4d\x66\x50\x42\x67\x76\x4b\x6b\x73\x62\x57\x42\x68\x76\x5a\x69\x67\x58\x48\x43\x33\x71\x54\x44\x78\x6e\x4c\x7a\x63\x62\x30\x41\x77\x31\x4c\x43\x33\x72\x48\x42\x78\x62\x5a\x6c\x47','\x41\x77\x72\x5a','\x42\x4d\x39\x4b\x7a\x71','\x44\x67\x39\x56\x42\x66\x39\x31\x43\x32\x75','\x6e\x77\x54\x33\x44\x4e\x48\x35\x74\x71','\x41\x77\x31\x48\x7a\x32\x75\x56\x43\x67\x35\x4e','\x71\x32\x66\x57\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x69\x64\x65\x57\x6d\x63\x34','\x43\x76\x72\x66\x43\x4d\x71','\x44\x67\x66\x55\x7a\x32\x58\x4c\x6c\x78\x6e\x48\x42\x4d\x72\x49\x42\x33\x47','\x44\x77\x54\x6b\x73\x78\x79','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x44\x77\x35\x46\x79\x32\x39\x4b\x7a\x71','\x76\x32\x39\x59\x41\x32\x4c\x55\x7a\x59\x62\x4b\x41\x78\x6a\x4c\x79\x33\x72\x56\x43\x4e\x4b\x55\x69\x65\x39\x57\x44\x67\x4c\x56\x42\x4d\x66\x53\x6c\x47','\x42\x77\x66\x57','\x7a\x4d\x58\x4c\x7a\x78\x72\x46\x41\x77\x71','\x44\x67\x76\x34\x44\x61','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x7a\x4d\x4c\x53\x44\x67\x76\x59','\x7a\x4b\x35\x31\x43\x77\x75','\x42\x77\x76\x5a\x43\x32\x66\x4e\x7a\x71','\x43\x68\x76\x5a\x41\x61','\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x59\x39\x30\x45\x78\x62\x4c\x43\x59\x35\x51\x43\x57','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x4d\x42\x67\x76\x4c\x44\x63\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x42\x77\x66\x5a\x44\x68\x6a\x48\x76\x67\x39\x56\x42\x68\x6d\x4f\x6b\x74\x4f\x47\x44\x67\x48\x4c\x69\x67\x62\x61\x42\x77\x66\x5a\x44\x68\x6a\x48\x6c\x32\x6e\x56\x43\x4d\x76\x47\x69\x68\x62\x48\x79\x32\x54\x48\x7a\x32\x75\x47\x41\x78\x6d\x47\x42\x4d\x39\x30\x69\x67\x4c\x55\x43\x33\x72\x48\x42\x67\x58\x4c\x7a\x63\x34\x47\x73\x77\x35\x5a\x44\x67\x66\x53\x42\x63\x62\x50\x44\x63\x62\x32\x41\x77\x65\x47\x79\x68\x62\x55\x43\x67\x30\x47\x79\x77\x72\x4b\x69\x65\x62\x54\x79\x78\x6e\x30\x43\x4d\x65\x56\x79\x32\x39\x59\x7a\x77\x61\x55','\x74\x67\x4c\x5a\x44\x63\x62\x4c\x42\x4e\x72\x59\x41\x77\x76\x5a\x69\x67\x4c\x55\x69\x67\x65\x47\x7a\x67\x4c\x59\x7a\x77\x6e\x30\x42\x33\x6a\x35\x69\x68\x44\x50\x44\x67\x47\x47\x43\x32\x4c\x36\x7a\x73\x57\x47\x44\x68\x4c\x57\x7a\x73\x57\x47\x79\x77\x35\x4b\x69\x67\x31\x56\x7a\x67\x75\x55','\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x47\x43\x33\x76\x49\x43\x32\x76\x30\x69\x67\x39\x4d\x69\x67\x31\x48\x79\x32\x48\x50\x42\x4d\x75\x47\x41\x77\x72\x5a\x6c\x49\x62\x65\x7a\x77\x7a\x48\x44\x77\x58\x30\x43\x59\x62\x30\x42\x59\x62\x48\x42\x67\x57\x47\x44\x32\x39\x59\x41\x32\x76\x59\x43\x59\x34','\x44\x67\x39\x56\x42\x66\x39\x59\x7a\x78\x6e\x31\x42\x68\x71','\x41\x77\x31\x48\x7a\x32\x75','\x75\x32\x39\x31\x43\x4d\x6e\x4c\x69\x67\x6e\x56\x7a\x67\x75\x47\x44\x67\x38\x47\x43\x4e\x76\x55\x6c\x49\x62\x6e\x44\x77\x58\x30\x41\x73\x31\x53\x41\x77\x35\x4c\x69\x68\x6e\x31\x43\x68\x62\x56\x43\x4e\x72\x4c\x7a\x63\x34','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x5a\x44\x67\x66\x30\x44\x78\x6d','\x44\x68\x4c\x57\x7a\x71','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x30\x42\x32\x39\x53\x6f\x49\x61','\x42\x77\x66\x34\x78\x33\x6a\x4c\x43\x33\x76\x53\x44\x68\x6d','\x41\x75\x6a\x54\x42\x77\x38','\x71\x32\x66\x53\x42\x66\x72\x56\x42\x32\x58\x73\x7a\x78\x66\x31\x7a\x78\x6e\x30\x75\x32\x6e\x4f\x7a\x77\x31\x48','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x59\x7a\x77\x66\x4b','\x7a\x68\x50\x6d\x72\x4d\x6d','\x44\x67\x4c\x54\x7a\x77\x39\x31\x44\x66\x39\x54\x43\x57','\x41\x67\x66\x5a','\x43\x32\x76\x30','\x43\x65\x66\x6f\x79\x4c\x65','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x74\x65\x50\x34\x7a\x4e\x69','\x79\x33\x44\x4b','\x79\x32\x58\x56\x43\x32\x75','\x6d\x74\x71\x31\x6e\x4a\x71\x34\x6e\x67\x7a\x4f\x43\x31\x7a\x49\x43\x71','\x44\x67\x39\x56\x42\x66\x39\x4a\x79\x77\x58\x53\x43\x57','\x79\x33\x6a\x4c\x79\x78\x72\x4c\x74\x77\x6e\x57\x75\x32\x76\x59\x44\x4d\x76\x59\x6b\x63\x4b\x36\x69\x68\x72\x4f\x7a\x73\x62\x47\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x32\x61\x47\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x62\x50\x43\x59\x62\x55\x42\x33\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x67\x76\x4b\x6c\x49\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x67\x4c\x30\x69\x68\x7a\x50\x79\x73\x62\x47\x43\x67\x35\x57\x42\x73\x62\x48\x7a\x67\x71\x47\x71\x67\x31\x56\x7a\x67\x76\x53\x79\x32\x39\x55\x44\x67\x76\x34\x44\x68\x62\x59\x42\x33\x72\x56\x79\x32\x39\x53\x6c\x33\x6e\x4b\x41\x32\x61\x55','\x41\x68\x4c\x49\x72\x4b\x34','\x79\x4d\x66\x5a\x41\x61','\x75\x33\x76\x49\x7a\x67\x4c\x59\x7a\x77\x6e\x30\x42\x33\x6a\x35\x69\x68\x72\x56\x69\x68\x6e\x4c\x79\x78\x6a\x4a\x41\x63\x34\x47\x74\x33\x62\x30\x41\x77\x39\x55\x79\x77\x57\x55','\x42\x67\x4c\x5a\x44\x61','\x7a\x4d\x58\x4c\x7a\x78\x72\x6a\x7a\x61','\x7a\x67\x76\x53\x7a\x78\x72\x4c','\x79\x77\x58\x53','\x43\x67\x66\x59\x79\x77\x31\x5a','\x44\x33\x6a\x50\x44\x67\x75','\x42\x77\x66\x5a\x44\x68\x6a\x48\x72\x4d\x58\x4c\x7a\x78\x72\x75\x42\x32\x39\x53\x43\x59\x47\x50\x6f\x49\x62\x30\x41\x67\x75\x47\x79\x65\x62\x54\x79\x78\x6e\x30\x43\x4d\x65\x56\x79\x32\x39\x59\x7a\x77\x61\x47\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x62\x50\x43\x59\x62\x55\x42\x33\x71\x47\x41\x77\x35\x5a\x44\x67\x66\x53\x42\x67\x76\x4b\x6c\x49\x62\x6a\x42\x4e\x6e\x30\x79\x77\x58\x53\x69\x68\x7a\x50\x79\x73\x62\x47\x43\x67\x35\x57\x42\x73\x62\x48\x7a\x67\x71\x47\x71\x67\x31\x48\x43\x33\x72\x59\x79\x73\x39\x4a\x42\x33\x6a\x4c\x79\x63\x34','\x43\x67\x66\x30\x41\x61','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x6d\x5a\x75\x34\x6d\x74\x47\x35\x6d\x4e\x7a\x58\x74\x78\x76\x52\x77\x61','\x73\x32\x76\x59\x42\x4d\x76\x53\x69\x67\x58\x48\x42\x4d\x44\x31\x79\x77\x44\x4c\x6c\x47','\x6e\x74\x71\x32\x6d\x74\x65\x33\x6e\x4e\x50\x72\x7a\x33\x48\x65\x45\x71','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x66\x39\x4d\x42\x67\x76\x4c\x44\x66\x39\x5a\x43\x67\x66\x33\x42\x47','\x43\x32\x39\x31\x43\x4d\x6e\x4c','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x6d\x74\x6d\x58\x6d\x64\x71\x31\x6d\x4d\x76\x36\x44\x75\x4c\x55\x74\x71','\x6f\x74\x43\x57\x6e\x5a\x71\x35\x43\x4b\x44\x51\x73\x68\x66\x51','\x42\x78\x6e\x6b\x71\x4d\x34','\x7a\x32\x76\x30','\x75\x32\x48\x4c\x42\x67\x57\x47\x79\x32\x39\x54\x42\x77\x66\x55\x7a\x63\x62\x53\x41\x77\x35\x4c\x6c\x47','\x44\x4d\x66\x53\x44\x77\x76\x5a'];a0_0x364d=function(){return _0x204976;};return a0_0x364d();}function toAnthropicContent(_0x35f7b3){const _0x8917d6=a0_0x4c5b75,_0x18cb3f={'\x68\x79\x62\x46\x4e':function(_0x39f190,_0x19957a){return _0x39f190(_0x19957a);},'\x6c\x45\x46\x77\x49':'\x74\x65\x78\x74'};if(!isCodeExecutionResultWithImages(_0x35f7b3))return _0x18cb3f[_0x8917d6(0x17b)](serializeToolResult,_0x35f7b3);const _0x141be1=[],_0x37773c={..._0x35f7b3,'\x72\x65\x73\x75\x6c\x74\x73':_0x35f7b3['\x72\x65\x73\x75\x6c\x74\x73'][_0x8917d6(0x200)](_0x45b78c=>_0x45b78c['\x74\x79\x70\x65']!=='\x69\x6d\x61\x67\x65')};_0x141be1[_0x8917d6(0x203)]({'\x74\x79\x70\x65':_0x18cb3f[_0x8917d6(0x1ad)],'\x74\x65\x78\x74':serializeToolResult(_0x37773c)});for(const _0x511479 of _0x35f7b3[_0x8917d6(0x1c0)])if(isImagePart(_0x511479))_0x141be1[_0x8917d6(0x203)]({'\x74\x79\x70\x65':_0x8917d6(0x20a),'\x73\x6f\x75\x72\x63\x65':{'\x74\x79\x70\x65':_0x8917d6(0x1ae),'\x6d\x65\x64\x69\x61\x5f\x74\x79\x70\x65':imageMediaType(_0x511479['\x66\x6f\x72\x6d\x61\x74']),'\x64\x61\x74\x61':_0x511479['\x64\x61\x74\x61']}});return _0x141be1;}function isImagePart(_0x5bd87a){const _0x4e8758=a0_0x4c5b75,_0x3b3c1c={'\x47\x59\x68\x4c\x54':function(_0xb6b09f,_0x241819){return _0xb6b09f===_0x241819;},'\x4c\x4c\x71\x73\x67':_0x4e8758(0x20a)};return _0x3b3c1c[_0x4e8758(0x1e8)](_0x5bd87a[_0x4e8758(0x20d)],_0x3b3c1c[_0x4e8758(0x1ac)]);}function isCodeExecutionResultWithImages(_0x159d78){const _0x5478f0=a0_0x4c5b75,_0x181c06={'\x72\x63\x44\x79\x4b':_0x5478f0(0x1ff)};if(!_0x159d78||typeof _0x159d78!==_0x181c06[_0x5478f0(0x1b3)])return![];const _0x629824=_0x159d78['\x72\x65\x73\x75\x6c\x74\x73'];if(!Array[_0x5478f0(0x186)](_0x629824))return![];return _0x629824[_0x5478f0(0x1e4)](_0x36b2b6=>_0x36b2b6&&typeof _0x36b2b6===_0x5478f0(0x1ff)&&_0x36b2b6[_0x5478f0(0x20d)]===_0x5478f0(0x20a));}function imageMediaType(_0x32319f){const _0x3d4755=a0_0x4c5b75,_0x597d66={'\x72\x4c\x49\x5a\x4e':_0x3d4755(0x1ce),'\x6d\x73\x4a\x42\x6e':_0x3d4755(0x1f5)};switch(_0x32319f){case _0x597d66[_0x3d4755(0x1be)]:return _0x3d4755(0x1f5);case _0x3d4755(0x1a7):return _0x3d4755(0x19f);case _0x3d4755(0x1aa):return _0x597d66[_0x3d4755(0x18f)];}}const FLEET_TOOL_SPECS={'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x70\x61\x77\x6e':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x18a),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1d9),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1d0)},'\x77\x6f\x72\x6b\x65\x72\x73':{'\x74\x79\x70\x65':'\x6e\x75\x6d\x62\x65\x72','\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x4e\x75\x6d\x62\x65\x72\x20\x6f\x66\x20\x77\x6f\x72\x6b\x65\x72\x20\x73\x61\x6e\x64\x62\x6f\x78\x65\x73\x2e\x20\x45\x61\x63\x68\x20\x69\x73\x20\x62\x69\x6c\x6c\x65\x64\x20\x69\x6e\x64\x65\x70\x65\x6e\x64\x65\x6e\x74\x6c\x79\x2e'},'\x6d\x65\x74\x61\x64\x61\x74\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{},'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':!![],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1da)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x1e2),'\x77\x6f\x72\x6b\x65\x72\x73'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x5638e1})=>async _0x2ef712=>{const _0x47c082=a0_0x4c5b75,_0x48a8a6=await _0x5638e1[_0x47c082(0x1b4)][_0x47c082(0x1bb)]({'\x64\x65\x66\x61\x75\x6c\x74\x73':{'\x70\x75\x62\x6c\x69\x63\x54\x65\x6d\x70\x6c\x61\x74\x65\x49\x64':_0x2ef712['\x74\x65\x6d\x70\x6c\x61\x74\x65\x5f\x69\x64']},'\x77\x6f\x72\x6b\x65\x72\x73':Array[_0x47c082(0x1ef)]({'\x6c\x65\x6e\x67\x74\x68':_0x2ef712['\x77\x6f\x72\x6b\x65\x72\x73']},(_0x1df2df,_0x2dc8a1)=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':'\x77\x6f\x72\x6b\x65\x72\x2d'+_0x2dc8a1})),'\x6d\x65\x74\x61\x64\x61\x74\x61':_0x2ef712[_0x47c082(0x193)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x48a8a6['\x66\x6c\x65\x65\x74\x49\x64'],'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64\x73':_0x48a8a6[_0x47c082(0x1f1)]};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x69\x73\x70\x61\x74\x63\x68':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x1bd),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1df),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec)},'\x63\x6f\x6d\x6d\x61\x6e\x64':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x191)},'\x6d\x61\x63\x68\x69\x6e\x65\x73':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1c1),'\x69\x74\x65\x6d\x73':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec)},'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x208)},'\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73':{'\x74\x79\x70\x65':a0_0x4c5b75(0x174),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1cb)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x1fd),'\x63\x6f\x6d\x6d\x61\x6e\x64'],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x1d4d36})=>async _0x4268cc=>{const _0x3503da=a0_0x4c5b75;return await(await _0x1d4d36[_0x3503da(0x1b4)][_0x3503da(0x17e)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x4268cc[_0x3503da(0x1fd)]}))[_0x3503da(0x1c6)](_0x4268cc['\x63\x6f\x6d\x6d\x61\x6e\x64'],{'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x4268cc[_0x3503da(0x1ab)],'\x74\x69\x6d\x65\x6f\x75\x74\x4d\x73':_0x4268cc['\x74\x69\x6d\x65\x6f\x75\x74\x5f\x6d\x73']});}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x73\x74\x61\x74\x75\x73':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x20c),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x1f0),'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':'\x6f\x62\x6a\x65\x63\x74','\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x1fd)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0xf93db9})=>async _0x30d623=>{const _0x29b250=a0_0x4c5b75,_0x4a0839=await _0xf93db9[_0x29b250(0x1b4)][_0x29b250(0x17e)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x30d623[_0x29b250(0x1fd)]});return{'\x66\x6c\x65\x65\x74\x49\x64':_0x4a0839[_0x29b250(0x17f)],'\x6d\x61\x63\x68\x69\x6e\x65\x73':_0x4a0839['\x69\x64\x73'][_0x29b250(0x1fc)](_0x159ee2=>({'\x6d\x61\x63\x68\x69\x6e\x65\x49\x64':_0x159ee2,'\x73\x74\x61\x74\x75\x73':_0x4a0839['\x67\x65\x74'](_0x159ee2)[_0x29b250(0x1ba)]}))};}},'\x73\x61\x6e\x64\x62\x6f\x78\x5f\x66\x6c\x65\x65\x74\x5f\x64\x65\x73\x74\x72\x6f\x79':{'\x6e\x61\x6d\x65':a0_0x4c5b75(0x1c4),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':'\x44\x65\x6c\x65\x74\x65\x20\x74\x68\x65\x20\x66\x6c\x65\x65\x74\x20\x61\x6e\x64\x20\x65\x76\x65\x72\x79\x20\x6d\x61\x63\x68\x69\x6e\x65\x20\x69\x6e\x20\x69\x74\x2e\x20\x53\x74\x6f\x70\x73\x20\x62\x69\x6c\x6c\x69\x6e\x67\x20\x69\x6d\x6d\x65\x64\x69\x61\x74\x65\x6c\x79\x2e\x20\x43\x61\x6c\x6c\x20\x74\x68\x69\x73\x20\x77\x68\x65\x6e\x20\x74\x68\x65\x20\x63\x61\x6d\x70\x61\x69\x67\x6e\x20\x69\x73\x20\x64\x6f\x6e\x65\x3b\x20\x6f\x72\x70\x68\x61\x6e\x65\x64\x20\x66\x6c\x65\x65\x74\x73\x20\x6b\x65\x65\x70\x20\x62\x75\x72\x6e\x69\x6e\x67\x20\x63\x72\x65\x64\x69\x74\x73\x2e','\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ff),'\x70\x72\x6f\x70\x65\x72\x74\x69\x65\x73':{'\x66\x6c\x65\x65\x74\x5f\x69\x64':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1ec)},'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x5f\x6f\x6e\x5f\x65\x72\x72\x6f\x72':{'\x74\x79\x70\x65':a0_0x4c5b75(0x1d6),'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0x4c5b75(0x194)}},'\x72\x65\x71\x75\x69\x72\x65\x64':[a0_0x4c5b75(0x1fd)],'\x61\x64\x64\x69\x74\x69\x6f\x6e\x61\x6c\x50\x72\x6f\x70\x65\x72\x74\x69\x65\x73':![]},'\x6d\x61\x6b\x65\x48\x61\x6e\x64\x6c\x65\x72':({client:_0x240758})=>async _0x2145ab=>{const _0x2a8b6a=a0_0x4c5b75;return await(await _0x240758[_0x2a8b6a(0x1b4)][_0x2a8b6a(0x17e)]({'\x66\x6c\x65\x65\x74\x49\x64':_0x2145ab[_0x2a8b6a(0x1fd)]}))[_0x2a8b6a(0x180)]({'\x63\x6f\x6e\x74\x69\x6e\x75\x65\x4f\x6e\x45\x72\x72\x6f\x72':_0x2145ab['\x63\x6f\x6e\x74\x69\x6e\x75\x65\x5f\x6f\x6e\x5f\x65\x72\x72\x6f\x72']}),{'\x66\x6c\x65\x65\x74\x49\x64':_0x2145ab['\x66\x6c\x65\x65\x74\x5f\x69\x64'],'\x64\x65\x6c\x65\x74\x65\x64':!![]};}}},ALL_FLEET_TOOL_SPECS=Object['\x76\x61\x6c\x75\x65\x73'](FLEET_TOOL_SPECS);function selectFleetSpecs(_0x2eee44){const _0x871d17=a0_0x4c5b75,_0x27296f={'\x70\x41\x4e\x62\x51':function(_0x1ea7c9,_0x2b1093){return _0x1ea7c9===_0x2b1093;}};if(!_0x2eee44||_0x27296f[_0x871d17(0x173)](_0x2eee44[_0x871d17(0x19b)],0x0))return ALL_FLEET_TOOL_SPECS;const _0x54baee=new Set(_0x2eee44);return Object['\x6b\x65\x79\x73'](FLEET_TOOL_SPECS)[_0x871d17(0x200)](_0x38039f=>_0x54baee[_0x871d17(0x171)](_0x38039f))[_0x871d17(0x1fc)](_0x3b003b=>FLEET_TOOL_SPECS[_0x3b003b]);}function anthropicFleetTools(_0x58339c,_0x3b5a9c={}){const _0x34ae10=a0_0x4c5b75,_0x122f6a={'\x7a\x68\x77\x55\x65':_0x34ae10(0x209),'\x6a\x44\x55\x41\x49':function(_0x31af31,_0x51628f){return _0x31af31 instanceof _0x51628f;},'\x66\x4e\x75\x71\x65':function(_0x1bc890,_0x57ad18){return _0x1bc890(_0x57ad18);}},_0x36dfbb=_0x122f6a[_0x34ae10(0x201)](selectFleetSpecs,_0x3b5a9c[_0x34ae10(0x1a3)]),_0x4562c3=buildFleetHandlers(_0x36dfbb,{'\x63\x6c\x69\x65\x6e\x74':_0x58339c});return{'\x74\x6f\x6f\x6c\x73':_0x36dfbb['\x6d\x61\x70'](_0x1ced3f=>({'\x6e\x61\x6d\x65':_0x1ced3f[_0x34ae10(0x19c)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x1ced3f[_0x34ae10(0x1e9)],'\x69\x6e\x70\x75\x74\x5f\x73\x63\x68\x65\x6d\x61':_0x1ced3f['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x55\x73\x65'(_0x5655b7){const _0x2efa1b=_0x34ae10,_0x180868=_0x4562c3[_0x2efa1b(0x190)](_0x5655b7[_0x2efa1b(0x19c)]);if(!_0x180868)return{'\x74\x79\x70\x65':_0x2efa1b(0x209),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x5655b7['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x2efa1b(0x205)+_0x5655b7[_0x2efa1b(0x19c)],'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};try{const _0x4b5eec=await _0x180868(_0x5655b7['\x69\x6e\x70\x75\x74']);return{'\x74\x79\x70\x65':_0x2efa1b(0x209),'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x5655b7['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x4b5eec)};}catch(_0x1cbf3b){return{'\x74\x79\x70\x65':_0x122f6a[_0x2efa1b(0x19d)],'\x74\x6f\x6f\x6c\x5f\x75\x73\x65\x5f\x69\x64':_0x5655b7['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x122f6a[_0x2efa1b(0x1a5)](_0x1cbf3b,Error)?_0x1cbf3b[_0x2efa1b(0x202)]:String(_0x1cbf3b),'\x69\x73\x5f\x65\x72\x72\x6f\x72':!![]};}}};}function openaiFleetTools(_0x2cd6c6,_0x341ba5={}){const _0x389bf2=a0_0x4c5b75,_0x26cbeb={'\x71\x67\x4e\x46\x45':_0x389bf2(0x1ff),'\x42\x63\x44\x6b\x41':function(_0x3dce95,_0x494bd9){return _0x3dce95(_0x494bd9);},'\x52\x43\x73\x47\x41':function(_0x59a6ab,_0x2f04b0){return _0x59a6ab instanceof _0x2f04b0;}},_0x1748c0=selectFleetSpecs(_0x341ba5[_0x389bf2(0x1a3)]),_0x2ab573=buildFleetHandlers(_0x1748c0,{'\x63\x6c\x69\x65\x6e\x74':_0x2cd6c6});return{'\x74\x6f\x6f\x6c\x73':_0x1748c0[_0x389bf2(0x1fc)](_0x443f03=>({'\x74\x79\x70\x65':'\x66\x75\x6e\x63\x74\x69\x6f\x6e','\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x443f03[_0x389bf2(0x19c)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x443f03[_0x389bf2(0x1e9)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x443f03[_0x389bf2(0x1c5)]}})),async '\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c'(_0x103d5d){const _0x3c6ce9=_0x389bf2,_0x198733=_0x2ab573[_0x3c6ce9(0x190)](_0x103d5d[_0x3c6ce9(0x1ee)][_0x3c6ce9(0x19c)]);if(!_0x198733)return{'\x72\x6f\x6c\x65':_0x3c6ce9(0x198),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x103d5d['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x3c6ce9(0x18c)]({'\x65\x72\x72\x6f\x72':_0x3c6ce9(0x205)+_0x103d5d[_0x3c6ce9(0x1ee)][_0x3c6ce9(0x19c)]})};let _0x43dabf={};try{const _0xa0c019=JSON[_0x3c6ce9(0x1c7)](_0x103d5d[_0x3c6ce9(0x1ee)]['\x61\x72\x67\x75\x6d\x65\x6e\x74\x73']||'\x7b\x7d');if(_0xa0c019&&typeof _0xa0c019===_0x26cbeb[_0x3c6ce9(0x1cd)])_0x43dabf=_0xa0c019;}catch{}try{const _0x2f2000=await _0x26cbeb[_0x3c6ce9(0x1e3)](_0x198733,_0x43dabf);return{'\x72\x6f\x6c\x65':_0x3c6ce9(0x198),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x103d5d['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':_0x26cbeb['\x42\x63\x44\x6b\x41'](serializeToolResult,_0x2f2000)};}catch(_0x1789ce){return{'\x72\x6f\x6c\x65':_0x3c6ce9(0x198),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x103d5d['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x3c6ce9(0x18c)]({'\x65\x72\x72\x6f\x72':_0x26cbeb[_0x3c6ce9(0x1e0)](_0x1789ce,Error)?_0x1789ce[_0x3c6ce9(0x202)]:_0x26cbeb[_0x3c6ce9(0x1e3)](String,_0x1789ce)})};}}};}async function vercelAiFleetTools(_0x1bd3ba,_0x435aec={}){const _0x4a8276=a0_0x4c5b75,_0x2a5bca={'\x75\x6b\x4a\x49\x76':_0x4a8276(0x19e)};let _0x206de3;try{_0x206de3=await import('\x61\x69');}catch{throw new Error(_0x2a5bca[_0x4a8276(0x1f9)]);}const _0x4f231a=selectFleetSpecs(_0x435aec['\x61\x6c\x6c\x6f\x77']),_0x537b72=buildFleetHandlers(_0x4f231a,{'\x63\x6c\x69\x65\x6e\x74':_0x1bd3ba}),_0x3bc1f4={};for(const _0xc86155 of _0x4f231a)_0x3bc1f4[_0xc86155[_0x4a8276(0x19c)]]=_0x206de3['\x74\x6f\x6f\x6c']({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0xc86155[_0x4a8276(0x1e9)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x206de3[_0x4a8276(0x1b0)](_0xc86155[_0x4a8276(0x1c5)]),'\x65\x78\x65\x63\x75\x74\x65':async _0x2e28ce=>{const _0x2bf4a8=_0x4a8276,_0x121322=_0x537b72[_0x2bf4a8(0x190)](_0xc86155[_0x2bf4a8(0x19c)]);if(!_0x121322)throw new Error('\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x66\x6c\x65\x65\x74\x20\x74\x6f\x6f\x6c\x3a\x20'+_0xc86155[_0x2bf4a8(0x19c)]);return serializeToolResult(await _0x121322(_0x2e28ce));}});return _0x3bc1f4;}function a0_0x1755(_0x560738,_0x5f3db1){_0x560738=_0x560738-0x171;const _0x364d1f=a0_0x364d();let _0x1755ef=_0x364d1f[_0x560738];if(a0_0x1755['\x53\x6a\x4f\x73\x65\x65']===undefined){var _0x21962e=function(_0x3630e0){const _0x3bb67c='\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 _0x764169='',_0x156497='';for(let _0x3114b7=0x0,_0x20df32,_0x115f9d,_0x4fad09=0x0;_0x115f9d=_0x3630e0['\x63\x68\x61\x72\x41\x74'](_0x4fad09++);~_0x115f9d&&(_0x20df32=_0x3114b7%0x4?_0x20df32*0x40+_0x115f9d:_0x115f9d,_0x3114b7++%0x4)?_0x764169+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x20df32>>(-0x2*_0x3114b7&0x6)):0x0){_0x115f9d=_0x3bb67c['\x69\x6e\x64\x65\x78\x4f\x66'](_0x115f9d);}for(let _0x35ef92=0x0,_0x42817d=_0x764169['\x6c\x65\x6e\x67\x74\x68'];_0x35ef92<_0x42817d;_0x35ef92++){_0x156497+='\x25'+('\x30\x30'+_0x764169['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x35ef92)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x156497);};a0_0x1755['\x4d\x54\x47\x50\x4e\x4c']=_0x21962e,a0_0x1755['\x6c\x5a\x6c\x65\x44\x6d']={},a0_0x1755['\x53\x6a\x4f\x73\x65\x65']=!![];}const _0x249593=_0x364d1f[0x0],_0x467f39=_0x560738+_0x249593,_0x35b1e3=a0_0x1755['\x6c\x5a\x6c\x65\x44\x6d'][_0x467f39];return!_0x35b1e3?(_0x1755ef=a0_0x1755['\x4d\x54\x47\x50\x4e\x4c'](_0x1755ef),a0_0x1755['\x6c\x5a\x6c\x65\x44\x6d'][_0x467f39]=_0x1755ef):_0x1755ef=_0x35b1e3,_0x1755ef;}async function mastraFleetTools(_0x2166ff,_0x1813e5={}){const _0x2dd637=a0_0x4c5b75,_0x2c15de={'\x4e\x54\x4c\x6b\x6d':function(_0x5206ca,_0x189a44){return _0x5206ca(_0x189a44);},'\x61\x6f\x6c\x4c\x57':_0x2dd637(0x1a1)};let _0x5ef3d2;try{_0x5ef3d2=await import(_0x2c15de[_0x2dd637(0x1b2)]);}catch{throw new Error(_0x2dd637(0x184));}const _0x2e216c=selectFleetSpecs(_0x1813e5[_0x2dd637(0x1a3)]),_0x5b9331=buildFleetHandlers(_0x2e216c,{'\x63\x6c\x69\x65\x6e\x74':_0x2166ff}),_0xcbe2ec={};for(const _0xdee084 of _0x2e216c)_0xcbe2ec[_0xdee084[_0x2dd637(0x19c)]]=_0x5ef3d2[_0x2dd637(0x1d8)]({'\x69\x64':_0xdee084[_0x2dd637(0x19c)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0xdee084['\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e'],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x5ef3d2[_0x2dd637(0x1b0)]?_0x5ef3d2[_0x2dd637(0x1b0)](_0xdee084[_0x2dd637(0x1c5)]):_0xdee084[_0x2dd637(0x1c5)],'\x65\x78\x65\x63\x75\x74\x65':async _0x2a502d=>{const _0x3c933c=_0x2dd637,_0x487e4f=_0x5b9331[_0x3c933c(0x190)](_0xdee084[_0x3c933c(0x19c)]);if(!_0x487e4f)throw new Error('\x55\x6e\x6b\x6e\x6f\x77\x6e\x20\x66\x6c\x65\x65\x74\x20\x74\x6f\x6f\x6c\x3a\x20'+_0xdee084['\x6e\x61\x6d\x65']);return{'\x72\x65\x73\x75\x6c\x74':serializeToolResult(await _0x2c15de[_0x3c933c(0x1d7)](_0x487e4f,_0x2a502d?.['\x63\x6f\x6e\x74\x65\x78\x74']??{}))};}});return _0xcbe2ec;}function buildFleetHandlers(_0x2c2f9e,_0x310209){const _0x5a91cd=a0_0x4c5b75,_0x43cf51=new Map();for(const _0x59ae65 of _0x2c2f9e)_0x43cf51[_0x5a91cd(0x172)](_0x59ae65['\x6e\x61\x6d\x65'],_0x59ae65[_0x5a91cd(0x1bf)](_0x310209));return _0x43cf51;}async function mastraTools(_0x37bd1b,_0x367d9b={}){const _0x5580c0=a0_0x4c5b75,_0x5a37a1={'\x71\x57\x73\x6c\x43':function(_0x333a42,_0x70f82c){return _0x333a42(_0x70f82c);},'\x54\x69\x45\x6d\x74':_0x5580c0(0x1a1)};let _0x5a221f;try{_0x5a221f=await import(_0x5a37a1[_0x5580c0(0x1bc)]);}catch{throw new Error(_0x5580c0(0x206));}const _0x4d882b=selectSpecs(_0x367d9b[_0x5580c0(0x1a3)]),_0x587ac6={'\x62\x6f\x78':_0x37bd1b,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x367d9b[_0x5580c0(0x1a2)]},_0x21e7f3={};for(const _0x554b6b of _0x4d882b){const _0x3c29ba=_0x554b6b[_0x5580c0(0x1bf)](_0x587ac6);_0x21e7f3[_0x554b6b[_0x5580c0(0x19c)]]=_0x5a221f[_0x5580c0(0x1d8)]({'\x69\x64':_0x554b6b['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x554b6b[_0x5580c0(0x1e9)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x5a221f[_0x5580c0(0x1b0)]?_0x5a221f[_0x5580c0(0x1b0)](_0x554b6b['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']):_0x554b6b[_0x5580c0(0x1c5)],'\x65\x78\x65\x63\x75\x74\x65':async _0x11edb5=>{const _0x343b2d=_0x5580c0;return{'\x72\x65\x73\x75\x6c\x74':serializeToolResult(await _0x5a37a1[_0x343b2d(0x1b7)](_0x3c29ba,_0x11edb5?.[_0x343b2d(0x1a4)]??{}))};}});}return _0x21e7f3;}function openaiTools(_0x5852ff,_0x33d478={}){const _0x2c97e6=a0_0x4c5b75,_0x25a3e2={'\x79\x71\x72\x4c\x67':function(_0x5643cd,_0x38169c){return _0x5643cd!==_0x38169c;},'\x56\x61\x51\x42\x7a':function(_0x36621e,_0x3d2bf5){return _0x36621e(_0x3d2bf5);},'\x4f\x53\x53\x41\x6e':_0x2c97e6(0x198)},_0x15c855=selectSpecs(_0x33d478[_0x2c97e6(0x1a3)]),_0x271ebb={'\x62\x6f\x78':_0x5852ff,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x33d478[_0x2c97e6(0x1a2)]},_0x540217=new Map();for(const _0x5d2fb3 of _0x15c855)_0x540217[_0x2c97e6(0x172)](_0x5d2fb3['\x6e\x61\x6d\x65'],_0x5d2fb3[_0x2c97e6(0x1bf)](_0x271ebb));const _0x5cc500=_0x15c855['\x6d\x61\x70'](_0x362aba=>({'\x74\x79\x70\x65':_0x2c97e6(0x1ee),'\x66\x75\x6e\x63\x74\x69\x6f\x6e':{'\x6e\x61\x6d\x65':_0x362aba['\x6e\x61\x6d\x65'],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x362aba[_0x2c97e6(0x1e9)],'\x70\x61\x72\x61\x6d\x65\x74\x65\x72\x73':_0x362aba[_0x2c97e6(0x1c5)]}}));function _0x48e137(_0x5a7e77){const _0x1f23a8=_0x2c97e6;if(!_0x5a7e77)return{};try{const _0x57a1b9=JSON[_0x1f23a8(0x1c7)](_0x5a7e77);return typeof _0x57a1b9===_0x1f23a8(0x1ff)&&_0x25a3e2[_0x1f23a8(0x1c9)](_0x57a1b9,null)?_0x57a1b9:{};}catch{return{};}}async function _0x369317(_0x9a6752){const _0x13422b=_0x2c97e6,_0x1b456f=_0x540217[_0x13422b(0x190)](_0x9a6752[_0x13422b(0x1ee)]['\x6e\x61\x6d\x65']);if(!_0x1b456f)return{'\x72\x6f\x6c\x65':_0x13422b(0x198),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x9a6752['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON[_0x13422b(0x18c)]({'\x65\x72\x72\x6f\x72':_0x13422b(0x20e)+_0x9a6752['\x66\x75\x6e\x63\x74\x69\x6f\x6e'][_0x13422b(0x19c)]})};try{const _0x3de9e7=await _0x25a3e2['\x56\x61\x51\x42\x7a'](_0x1b456f,_0x48e137(_0x9a6752[_0x13422b(0x1ee)]['\x61\x72\x67\x75\x6d\x65\x6e\x74\x73']));return{'\x72\x6f\x6c\x65':_0x25a3e2[_0x13422b(0x1b9)],'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x9a6752['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':serializeToolResult(_0x3de9e7)};}catch(_0x1f3491){return{'\x72\x6f\x6c\x65':_0x13422b(0x198),'\x74\x6f\x6f\x6c\x5f\x63\x61\x6c\x6c\x5f\x69\x64':_0x9a6752['\x69\x64'],'\x63\x6f\x6e\x74\x65\x6e\x74':JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x65\x72\x72\x6f\x72':_0x1f3491 instanceof Error?_0x1f3491[_0x13422b(0x202)]:String(_0x1f3491)})};}}async function _0x4dea06(_0x206e62){const _0x520c11=_0x2c97e6,_0x29589c=_0x206e62[_0x520c11(0x179)]??[];return Promise['\x61\x6c\x6c'](_0x29589c['\x6d\x61\x70'](_0x369317));}return{'\x74\x6f\x6f\x6c\x73':_0x5cc500,'\x68\x61\x6e\x64\x6c\x65\x54\x6f\x6f\x6c\x43\x61\x6c\x6c':_0x369317,'\x68\x61\x6e\x64\x6c\x65\x41\x73\x73\x69\x73\x74\x61\x6e\x74\x4d\x65\x73\x73\x61\x67\x65':_0x4dea06};}async function vercelAiTools(_0x46b5a6,_0x1783ae={}){const _0x3dd8e6=a0_0x4c5b75,_0x6a183c={'\x6d\x66\x7a\x75\x41':function(_0x329142,_0x432960){return _0x329142(_0x432960);},'\x71\x54\x45\x72\x64':'\x76\x65\x72\x63\x65\x6c\x41\x69\x54\x6f\x6f\x6c\x73\x28\x29\x3a\x20\x74\x68\x65\x20\x60\x61\x69\x60\x20\x70\x61\x63\x6b\x61\x67\x65\x20\x69\x73\x20\x6e\x6f\x74\x20\x69\x6e\x73\x74\x61\x6c\x6c\x65\x64\x2e\x20\x49\x6e\x73\x74\x61\x6c\x6c\x20\x69\x74\x20\x76\x69\x61\x20\x60\x70\x6e\x70\x6d\x20\x61\x64\x64\x20\x61\x69\x60\x20\x28\x61\x6e\x64\x20\x70\x69\x63\x6b\x20\x61\x6e\x20\x60\x40\x61\x69\x2d\x73\x64\x6b\x2f\x2a\x60\x20\x6d\x6f\x64\x65\x6c\x20\x61\x64\x61\x70\x74\x65\x72\x29\x2e','\x67\x4b\x4e\x49\x6b':function(_0x21f048,_0x2cf7e7){return _0x21f048(_0x2cf7e7);}};let _0x194a34;try{_0x194a34=await import('\x61\x69');}catch{throw new Error(_0x6a183c[_0x3dd8e6(0x1f7)]);}const _0x419d8d=_0x6a183c['\x67\x4b\x4e\x49\x6b'](selectSpecs,_0x1783ae[_0x3dd8e6(0x1a3)]),_0x356195={'\x62\x6f\x78':_0x46b5a6,'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x1783ae[_0x3dd8e6(0x1a2)]},_0x22495f={};for(const _0x2a55f6 of _0x419d8d){const _0x1b6995=_0x2a55f6[_0x3dd8e6(0x1bf)](_0x356195);_0x22495f[_0x2a55f6[_0x3dd8e6(0x19c)]]=_0x194a34[_0x3dd8e6(0x198)]({'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':_0x2a55f6[_0x3dd8e6(0x1e9)],'\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61':_0x194a34['\x6a\x73\x6f\x6e\x53\x63\x68\x65\x6d\x61'](_0x2a55f6['\x69\x6e\x70\x75\x74\x53\x63\x68\x65\x6d\x61']),'\x65\x78\x65\x63\x75\x74\x65':async _0xa04807=>{return serializeToolResult(await _0x6a183c['\x6d\x66\x7a\x75\x41'](_0x1b6995,_0xa04807));}});}return _0x22495f;}export{anthropicFleetTools,anthropicTools,createMcpServer,mastraFleetTools,mastraTools,openaiFleetTools,openaiTools,runCode,vercelAiFleetTools,vercelAiTools};
|
package/dist/auth/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x4d7dcc=a0_0x2f89;(function(_0xfd518c,_0x3d385c){const _0x2abb6e=a0_0x2f89,_0x9da65=_0xfd518c();while(!![]){try{const _0x34046f=parseInt(_0x2abb6e(0x128))/0x1*(-parseInt(_0x2abb6e(0x15a))/0x2)+parseInt(_0x2abb6e(0x12d))/0x3*(-parseInt(_0x2abb6e(0x136))/0x4)+parseInt(_0x2abb6e(0x134))/0x5+-parseInt(_0x2abb6e(0x150))/0x6*(parseInt(_0x2abb6e(0x139))/0x7)+parseInt(_0x2abb6e(0x153))/0x8*(-parseInt(_0x2abb6e(0x13b))/0x9)+parseInt(_0x2abb6e(0x155))/0xa+-parseInt(_0x2abb6e(0x159))/0xb*(-parseInt(_0x2abb6e(0x140))/0xc);if(_0x34046f===_0x3d385c)break;else _0x9da65['push'](_0x9da65['shift']());}catch(_0x57ddfc){_0x9da65['push'](_0x9da65['shift']());}}}(a0_0x1119,0x2d089));function a0_0x1119(){const _0x13d420=['\x7a\x4d\x58\x56\x42\x33\x69','\x6d\x4a\x79\x32\x6e\x74\x48\x62\x79\x78\x7a\x52\x42\x76\x61','\x77\x65\x35\x62\x45\x66\x47','\x7a\x77\x35\x30\x7a\x78\x6a\x57\x43\x4d\x4c\x5a\x7a\x71','\x45\x4d\x39\x32\x79\x76\x4f','\x79\x32\x39\x53\x42\x67\x66\x49\x42\x33\x6a\x48\x44\x67\x4c\x56\x42\x47','\x7a\x78\x48\x57','\x72\x68\x48\x69\x41\x4d\x47','\x6d\x74\x79\x31\x6d\x4a\x6d\x33\x6e\x77\x7a\x4d\x73\x76\x72\x55\x41\x47','\x73\x66\x6d\x59\x6e\x74\x79','\x6d\x5a\x7a\x4b\x45\x78\x76\x73\x72\x32\x6d','\x73\x4e\x44\x4c\x45\x68\x65','\x72\x68\x50\x6d\x75\x4c\x61','\x6d\x74\x72\x6a\x76\x77\x39\x64\x73\x76\x47','\x72\x4b\x72\x73\x43\x4c\x75','\x6e\x64\x4b\x59\x6e\x4a\x61\x32\x76\x33\x66\x78\x45\x77\x31\x67','\x74\x33\x72\x58\x77\x4d\x71','\x42\x77\x48\x75\x41\x33\x43','\x76\x30\x6e\x74\x44\x76\x75','\x43\x68\x6a\x56','\x6d\x5a\x79\x33\x6d\x4a\x4b\x59\x6e\x66\x44\x48\x73\x67\x66\x65\x43\x47','\x73\x30\x50\x62\x7a\x33\x61','\x75\x4c\x6a\x78\x76\x75\x38','\x79\x4b\x48\x64\x76\x75\x43','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x44\x4d\x48\x5a\x79\x33\x69','\x43\x67\x66\x59\x43\x32\x75','\x79\x32\x58\x56\x79\x32\x54\x74\x41\x32\x76\x33\x75\x32\x76\x4a\x42\x32\x35\x4b\x43\x57','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x74\x32\x6a\x72\x75\x77\x71','\x43\x68\x6a\x56\x41\x4d\x76\x4a\x44\x65\x4c\x4b','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x72\x76\x76\x4d\x75\x4b\x65','\x6f\x74\x4b\x30\x6f\x64\x4b\x57\x45\x4d\x6a\x6d\x74\x75\x39\x35','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x6d\x4a\x72\x6b\x77\x67\x35\x32\x73\x65\x38','\x79\x75\x66\x63\x76\x66\x79','\x6d\x74\x47\x35\x6e\x74\x69\x57\x6d\x66\x7a\x55\x45\x4c\x44\x68\x74\x61','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x71\x4e\x62\x34\x45\x76\x47','\x76\x66\x76\x7a\x72\x67\x30','\x6d\x74\x66\x79\x71\x31\x76\x4a\x44\x75\x71','\x6d\x74\x6d\x58\x6e\x4a\x65\x34\x44\x32\x7a\x56\x79\x30\x6a\x62','\x41\x78\x6e\x5a\x44\x77\x75','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x42\x77\x66\x34','\x7a\x4e\x6a\x56\x42\x71','\x74\x4d\x39\x77\x71\x33\x4b','\x73\x76\x7a\x52\x42\x32\x47','\x73\x4c\x44\x75','\x43\x33\x62\x53\x41\x78\x71','\x74\x4e\x48\x32\x75\x4d\x69','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x42\x4d\x39\x33','\x42\x4d\x48\x32\x43\x67\x71','\x79\x30\x66\x62\x44\x65\x65','\x43\x4d\x76\x48\x7a\x61','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x45\x76\x48\x56\x74\x4b\x43','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x41\x78\x6e\x5a\x44\x77\x76\x64\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55','\x44\x67\x4c\x4c\x43\x47','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x6d\x78\x66\x64\x45\x68\x6a\x64\x41\x57','\x43\x33\x72\x59\x41\x77\x35\x4e','\x7a\x4e\x6a\x4c\x7a\x71','\x43\x4d\x76\x57\x7a\x77\x66\x30'];a0_0x1119=function(){return _0x13d420;};return a0_0x1119();}import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0xa52da2){const _0x229333=a0_0x2f89;return(typeof _0xa52da2===_0x229333(0x129)?Buffer[_0x229333(0x15e)](_0xa52da2):_0xa52da2)[_0x229333(0x127)](_0x229333(0x14d))['\x72\x65\x70\x6c\x61\x63\x65'](/\+/g,'\x2d')[_0x229333(0x122)](/\//g,'\x5f')[_0x229333(0x122)](/=+$/,'');}function decodeBase64UrlToBuffer(_0x48495a){const _0x47bb5f=a0_0x2f89,_0x49a9bd={'\x44\x78\x48\x6a\x68':function(_0x3f9e33,_0x1661d2){return _0x3f9e33+_0x1661d2;},'\x44\x7a\x4c\x52\x50':function(_0x4edc7b,_0x22bf26){return _0x4edc7b%_0x22bf26;},'\x76\x68\x73\x63\x72':function(_0x29e6ea,_0x521221){return _0x29e6ea-_0x521221;}};if(!/^[A-Za-z0-9_-]*$/['\x74\x65\x73\x74'](_0x48495a))return null;const _0x3070a4=_0x49a9bd[_0x47bb5f(0x133)](_0x48495a,'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x49a9bd[_0x47bb5f(0x138)](_0x49a9bd[_0x47bb5f(0x146)](0x4,_0x48495a[_0x47bb5f(0x152)]%0x4),0x4)));return Buffer[_0x47bb5f(0x15e)](_0x3070a4[_0x47bb5f(0x122)](/-/g,'\x2b')[_0x47bb5f(0x122)](/_/g,'\x2f'),'\x62\x61\x73\x65\x36\x34');}function createSignature(_0x4d875c,_0x2a4a77){const _0x236859=a0_0x2f89,_0x1ea8a5={'\x4e\x6f\x56\x43\x79':function(_0x2e6401,_0x532d64,_0x124844){return _0x2e6401(_0x532d64,_0x124844);},'\x54\x55\x59\x44\x6d':_0x236859(0x15c)};return base64UrlEncode(_0x1ea8a5[_0x236859(0x15f)](createHmac,_0x1ea8a5[_0x236859(0x158)],_0x2a4a77)[_0x236859(0x151)](_0x4d875c)[_0x236859(0x124)]());}const JWT_HEADER=base64UrlEncode(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x61\x6c\x67':a0_0x4d7dcc(0x135),'\x74\x79\x70':a0_0x4d7dcc(0x161)}));function issueToken(_0x3a2b83,_0x47423a,_0x25da22){const _0x53c75b=a0_0x4d7dcc,_0x421910={'\x4b\x4a\x41\x67\x70':function(_0x536351,_0xaeeec5){return _0x536351+_0xaeeec5;}},_0x397dc4=Math[_0x53c75b(0x12c)](Date[_0x53c75b(0x167)]()/0x3e8),_0x1572c1={..._0x47423a,'\x69\x61\x74':_0x397dc4,'\x65\x78\x70':_0x421910[_0x53c75b(0x141)](_0x397dc4,_0x25da22*0x3c)},_0x100138=JWT_HEADER+'\x2e'+base64UrlEncode(JSON[_0x53c75b(0x149)](_0x1572c1));return _0x100138+'\x2e'+createSignature(_0x100138,_0x3a2b83);}function issueReadToken(_0x17fe5a,_0x449bbc,_0x326c7f){const _0x18efd9=a0_0x4d7dcc,_0x3fe54e={'\x7a\x6f\x76\x61\x5a':_0x18efd9(0x121)};return issueToken(_0x17fe5a,{..._0x449bbc,'\x74\x79\x70':_0x3fe54e[_0x18efd9(0x130)]},_0x326c7f);}function issueSessionScopedToken(_0x53375a,_0xa9dea2,_0x528996){const _0x137798=a0_0x4d7dcc,_0x5c0206={'\x58\x4e\x41\x78\x58':function(_0x8ba53f,_0x91f50f,_0xf1bf36,_0x1816fe){return _0x8ba53f(_0x91f50f,_0xf1bf36,_0x1816fe);}};return _0x5c0206[_0x137798(0x12e)](issueReadToken,_0x53375a,_0xa9dea2,_0x528996);}function issueProjectScopedToken(_0x5f0c53,_0x144ae7,_0x51485b){return issueReadToken(_0x5f0c53,_0x144ae7,_0x51485b);}function issueBatchScopedToken(_0x303d93,_0x1339b5,_0x4d11ad){return issueReadToken(_0x303d93,_0x1339b5,_0x4d11ad);}function issueCollaborationToken(_0x22794,_0x2bd302,_0x5dd357){const _0xf74dcf=a0_0x4d7dcc,_0x5d9cca={'\x46\x44\x52\x72\x55':function(_0x4116c3,_0x57aed1,_0x260354,_0x177dc2){return _0x4116c3(_0x57aed1,_0x260354,_0x177dc2);}};return _0x5d9cca[_0xf74dcf(0x13a)](issueToken,_0x22794,{'\x73\x75\x62':_0x2bd302[_0xf74dcf(0x156)],'\x73\x69\x64':_0x2bd302[_0xf74dcf(0x165)],'\x70\x69\x64':_0x2bd302[_0xf74dcf(0x166)],'\x63\x69\x64':_0x2bd302[_0xf74dcf(0x145)],'\x74\x79\x70':_0xf74dcf(0x131),'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x2bd302[_0xf74dcf(0x14c)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x2bd302['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x2bd302['\x61\x63\x63\x65\x73\x73']},_0x5dd357);}function a0_0x2f89(_0x6747fc,_0x108fa){_0x6747fc=_0x6747fc-0x121;const _0x11199c=a0_0x1119();let _0x2f89a5=_0x11199c[_0x6747fc];if(a0_0x2f89['\x76\x78\x52\x68\x5a\x5a']===undefined){var _0x11a669=function(_0x3365c7){const _0x5a1325='\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 _0x133a24='',_0xb89290='';for(let _0x273672=0x0,_0x434f16,_0x4fce56,_0x527be5=0x0;_0x4fce56=_0x3365c7['\x63\x68\x61\x72\x41\x74'](_0x527be5++);~_0x4fce56&&(_0x434f16=_0x273672%0x4?_0x434f16*0x40+_0x4fce56:_0x4fce56,_0x273672++%0x4)?_0x133a24+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x434f16>>(-0x2*_0x273672&0x6)):0x0){_0x4fce56=_0x5a1325['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4fce56);}for(let _0x2f6716=0x0,_0x16d024=_0x133a24['\x6c\x65\x6e\x67\x74\x68'];_0x2f6716<_0x16d024;_0x2f6716++){_0xb89290+='\x25'+('\x30\x30'+_0x133a24['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2f6716)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0xb89290);};a0_0x2f89['\x66\x79\x46\x63\x50\x71']=_0x11a669,a0_0x2f89['\x43\x58\x6b\x51\x58\x48']={},a0_0x2f89['\x76\x78\x52\x68\x5a\x5a']=!![];}const _0x930c8a=_0x11199c[0x0],_0x2ea326=_0x6747fc+_0x930c8a,_0x4cded1=a0_0x2f89['\x43\x58\x6b\x51\x58\x48'][_0x2ea326];return!_0x4cded1?(_0x2f89a5=a0_0x2f89['\x66\x79\x46\x63\x50\x71'](_0x2f89a5),a0_0x2f89['\x43\x58\x6b\x51\x58\x48'][_0x2ea326]=_0x2f89a5):_0x2f89a5=_0x4cded1,_0x2f89a5;}function unsafeDecodeToken(_0x11f543){const _0x507a56=a0_0x4d7dcc,_0x1546b5={'\x63\x41\x41\x74\x41':function(_0x258230,_0x4903e5){return _0x258230!==_0x4903e5;},'\x62\x48\x43\x55\x47':function(_0x1f1559,_0x2f6dd4){return _0x1f1559%_0x2f6dd4;},'\x73\x65\x4c\x6b\x48':_0x507a56(0x14d)};try{const _0xdba6a=_0x11f543['\x73\x70\x6c\x69\x74']('\x2e');if(_0x1546b5[_0x507a56(0x169)](_0xdba6a['\x6c\x65\x6e\x67\x74\x68'],0x3))return null;const _0x459043=_0xdba6a[0x1]+'\x3d'[_0x507a56(0x12b)](_0x1546b5['\x62\x48\x43\x55\x47'](0x4-_0x1546b5[_0x507a56(0x143)](_0xdba6a[0x1][_0x507a56(0x152)],0x4),0x4)),_0x43019e=Buffer[_0x507a56(0x15e)](_0x459043[_0x507a56(0x122)](/-/g,'\x2b')[_0x507a56(0x122)](/_/g,'\x2f'),_0x1546b5['\x73\x65\x4c\x6b\x48'])[_0x507a56(0x127)]();return JSON[_0x507a56(0x147)](_0x43019e);}catch{return null;}}function verifyToken(_0x3ef073,_0x24c83f,_0x5e1cc7={}){const _0x44d34c=a0_0x4d7dcc,_0x4733d1={'\x4e\x4d\x79\x73\x43':function(_0x2182b8,_0x3d6372){return _0x2182b8+_0x3d6372;},'\x4a\x77\x65\x78\x71':function(_0x33324a,_0x320508){return _0x33324a%_0x320508;},'\x4f\x62\x51\x51\x64':_0x44d34c(0x14d),'\x4f\x74\x71\x5a\x64':function(_0x2e84f0,_0x56db4d){return _0x2e84f0!==_0x56db4d;},'\x61\x41\x42\x54\x56':'\x48\x53\x32\x35\x36','\x56\x6f\x43\x69\x59':function(_0x2024de,_0x3c088b,_0x4874ad){return _0x2024de(_0x3c088b,_0x4874ad);},'\x79\x58\x6f\x4e\x47':function(_0x541de5,_0xc456d6){return _0x541de5(_0xc456d6);},'\x64\x70\x75\x4a\x75':function(_0x54f3fa,_0xf6c7d2){return _0x54f3fa!==_0xf6c7d2;},'\x6d\x68\x54\x6b\x77':_0x44d34c(0x14e),'\x6f\x6e\x55\x4f\x57':function(_0x2386fe,_0x325984){return _0x2386fe+_0x325984;}};try{const _0x4e7abe=_0x3ef073[_0x44d34c(0x162)]('\x2e');if(_0x4e7abe[_0x44d34c(0x152)]!==0x3)return null;const [_0x4d2950,_0x5b3196,_0x1b6020]=_0x4e7abe;if(!_0x4d2950||!_0x5b3196||!_0x1b6020)return null;let _0x2653d8;try{const _0x45ae9d=_0x4733d1['\x4e\x4d\x79\x73\x43'](_0x4d2950,'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x4733d1[_0x44d34c(0x137)](0x4-_0x4733d1[_0x44d34c(0x137)](_0x4d2950[_0x44d34c(0x152)],0x4),0x4))),_0x486d39=Buffer[_0x44d34c(0x15e)](_0x45ae9d[_0x44d34c(0x122)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x4733d1[_0x44d34c(0x14b)])['\x74\x6f\x53\x74\x72\x69\x6e\x67']();_0x2653d8=JSON[_0x44d34c(0x147)](_0x486d39);}catch{return null;}if(_0x4733d1[_0x44d34c(0x13c)](_0x2653d8['\x61\x6c\x67'],_0x4733d1[_0x44d34c(0x154)]))return null;const _0x3ca751=createSignature(_0x4d2950+'\x2e'+_0x5b3196,_0x24c83f),_0x3d5458=decodeBase64UrlToBuffer(_0x1b6020),_0x486ff3=decodeBase64UrlToBuffer(_0x3ca751);if(!_0x3d5458||!_0x486ff3)return null;if(_0x3d5458['\x6c\x65\x6e\x67\x74\x68']!==_0x486ff3['\x6c\x65\x6e\x67\x74\x68'])return null;if(!_0x4733d1['\x56\x6f\x43\x69\x59'](timingSafeEqual,_0x3d5458,_0x486ff3))return null;const _0x259370=_0x4733d1[_0x44d34c(0x123)](unsafeDecodeToken,_0x3ef073);if(!_0x259370)return null;const _0x28a920=Math['\x66\x6c\x6f\x6f\x72'](Date[_0x44d34c(0x167)]()/0x3e8),_0x4842ad=Math[_0x44d34c(0x15d)](0x0,_0x5e1cc7[_0x44d34c(0x148)]??0x0);if(_0x4733d1['\x64\x70\x75\x4a\x75'](typeof _0x259370[_0x44d34c(0x132)],_0x4733d1[_0x44d34c(0x13d)])||_0x4733d1['\x6f\x6e\x55\x4f\x57'](_0x259370['\x65\x78\x70'],_0x4842ad)<_0x28a920)return null;return _0x259370;}catch{return null;}}function getTokenTTL(_0x478c38){const _0x216349=a0_0x4d7dcc,_0x192d27={'\x49\x56\x6b\x6f\x68':function(_0x455124,_0x3dea7e){return _0x455124-_0x3dea7e;}},_0x36784f=Math[_0x216349(0x12c)](Date['\x6e\x6f\x77']()/0x3e8);return _0x192d27[_0x216349(0x160)](_0x478c38['\x65\x78\x70'],_0x36784f);}function isTokenExpiringSoon(_0x3b097a,_0x31ca44=0x3c){const _0x1059dd=a0_0x4d7dcc,_0x5dbee5={'\x52\x52\x57\x55\x4f':function(_0x41c4e7,_0x51938d){return _0x41c4e7<=_0x51938d;},'\x42\x70\x78\x79\x58':function(_0x5b90bf,_0x5bb0d5){return _0x5b90bf(_0x5bb0d5);}};return _0x5dbee5[_0x1059dd(0x142)](_0x5dbee5[_0x1059dd(0x157)](getTokenTTL,_0x3b097a),_0x31ca44);}var ProductTokenIssuer=class{[a0_0x4d7dcc(0x166)];[a0_0x4d7dcc(0x164)];['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'];constructor(_0x304856){const _0x27105d=a0_0x4d7dcc;this[_0x27105d(0x166)]=_0x304856[_0x27105d(0x166)],this[_0x27105d(0x164)]=_0x304856[_0x27105d(0x164)],this[_0x27105d(0x14a)]={'\x66\x72\x65\x65':_0x304856[_0x27105d(0x14a)]?.[_0x27105d(0x12a)]??0xf,'\x70\x72\x6f':_0x304856['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.[_0x27105d(0x13f)]??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x304856[_0x27105d(0x14a)]?.[_0x27105d(0x12f)]??0x1e0};}[a0_0x4d7dcc(0x15b)](_0x2b34c4){const _0x30d306=a0_0x4d7dcc,_0x5084e1={'\x45\x55\x66\x52\x41':function(_0x3ed597,_0x52d3f6,_0x12c2d1,_0x2e6215){return _0x3ed597(_0x52d3f6,_0x12c2d1,_0x2e6215);},'\x4e\x78\x76\x52\x62':function(_0x52a121,_0x189689){return _0x52a121+_0x189689;}},_0x24b849=_0x2b34c4[_0x30d306(0x126)]??_0x30d306(0x12a),_0x5cfd2c=this[_0x30d306(0x14a)][_0x24b849]??this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x30d306(0x12a)];return{'\x74\x6f\x6b\x65\x6e':_0x5084e1[_0x30d306(0x14f)](issueReadToken,this['\x73\x69\x67\x6e\x69\x6e\x67\x53\x65\x63\x72\x65\x74'],{'\x73\x75\x62':_0x2b34c4[_0x30d306(0x156)],'\x73\x69\x64':_0x2b34c4[_0x30d306(0x165)],'\x70\x69\x64':this[_0x30d306(0x166)],'\x63\x69\x64':_0x2b34c4[_0x30d306(0x145)]},_0x5cfd2c),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x5084e1[_0x30d306(0x163)](Math[_0x30d306(0x12c)](Date['\x6e\x6f\x77']()/0x3e8),_0x5cfd2c*0x3c)};}[a0_0x4d7dcc(0x125)](_0x3418ad){const _0x5463ef=a0_0x4d7dcc,_0x1b183b={'\x6e\x68\x76\x70\x64':function(_0x55986e,_0x218d4e){return _0x55986e+_0x218d4e;},'\x57\x43\x53\x75\x55':function(_0x589b1d,_0x328bf4){return _0x589b1d*_0x328bf4;}},_0x4acb90=_0x3418ad[_0x5463ef(0x126)]??_0x5463ef(0x12a),_0x545d35=this[_0x5463ef(0x14a)][_0x4acb90]??this[_0x5463ef(0x14a)]['\x66\x72\x65\x65'];return{'\x74\x6f\x6b\x65\x6e':issueCollaborationToken(this[_0x5463ef(0x164)],{'\x75\x73\x65\x72\x49\x64':_0x3418ad[_0x5463ef(0x156)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x3418ad[_0x5463ef(0x165)],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this[_0x5463ef(0x166)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x3418ad[_0x5463ef(0x14c)],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x3418ad['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x3418ad[_0x5463ef(0x144)],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x3418ad['\x73\x61\x6e\x64\x62\x6f\x78\x49\x64']},_0x545d35),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':_0x1b183b[_0x5463ef(0x168)](Math[_0x5463ef(0x12c)](Date[_0x5463ef(0x167)]()/0x3e8),_0x1b183b[_0x5463ef(0x13e)](_0x545d35,0x3c))};}['\x67\x65\x74\x54\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'](_0x39c374=a0_0x4d7dcc(0x12a)){const _0x5e9f39=a0_0x4d7dcc;return this[_0x5e9f39(0x14a)][_0x39c374]??this[_0x5e9f39(0x14a)][_0x5e9f39(0x12a)];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};
|
|
1
|
+
const a0_0x29b712=a0_0x13f2;(function(_0x19ed64,_0x501992){const _0x58b807=a0_0x13f2,_0x1994d9=_0x19ed64();while(!![]){try{const _0x478b7c=parseInt(_0x58b807(0x1fd))/0x1*(parseInt(_0x58b807(0x1f9))/0x2)+parseInt(_0x58b807(0x1f7))/0x3+-parseInt(_0x58b807(0x214))/0x4+parseInt(_0x58b807(0x1f4))/0x5*(-parseInt(_0x58b807(0x216))/0x6)+-parseInt(_0x58b807(0x229))/0x7+-parseInt(_0x58b807(0x234))/0x8*(-parseInt(_0x58b807(0x1f5))/0x9)+parseInt(_0x58b807(0x200))/0xa*(parseInt(_0x58b807(0x230))/0xb);if(_0x478b7c===_0x501992)break;else _0x1994d9['push'](_0x1994d9['shift']());}catch(_0x3fdd22){_0x1994d9['push'](_0x1994d9['shift']());}}}(a0_0x1976,0x24dfe));import{createHmac,timingSafeEqual}from'\x6e\x6f\x64\x65\x3a\x63\x72\x79\x70\x74\x6f';function base64UrlEncode(_0x1c4df3){const _0x3a42db=a0_0x13f2,_0x31c388={'\x6d\x57\x6a\x44\x48':function(_0x592be7,_0x493eeb){return _0x592be7===_0x493eeb;}};return(_0x31c388[_0x3a42db(0x21d)](typeof _0x1c4df3,_0x3a42db(0x21e))?Buffer[_0x3a42db(0x222)](_0x1c4df3):_0x1c4df3)[_0x3a42db(0x236)](_0x3a42db(0x1fb))[_0x3a42db(0x22c)](/\+/g,'\x2d')[_0x3a42db(0x22c)](/\//g,'\x5f')['\x72\x65\x70\x6c\x61\x63\x65'](/=+$/,'');}function decodeBase64UrlToBuffer(_0x573f1b){const _0x1d1afd=a0_0x13f2,_0x343adc={'\x46\x59\x52\x61\x42':function(_0x1b4f3e,_0xb506df){return _0x1b4f3e-_0xb506df;}};if(!/^[A-Za-z0-9_-]*$/['\x74\x65\x73\x74'](_0x573f1b))return null;const _0x1accbe=_0x573f1b+'\x3d'[_0x1d1afd(0x1f8)](_0x343adc[_0x1d1afd(0x215)](0x4,_0x573f1b[_0x1d1afd(0x1fe)]%0x4)%0x4);return Buffer[_0x1d1afd(0x222)](_0x1accbe[_0x1d1afd(0x22c)](/-/g,'\x2b')[_0x1d1afd(0x22c)](/_/g,'\x2f'),_0x1d1afd(0x1fb));}function createSignature(_0x1ec746,_0x5ca9e7){const _0x40bfb5=a0_0x13f2,_0x1867da={'\x78\x75\x70\x73\x69':function(_0xaacd76,_0x3568ec){return _0xaacd76(_0x3568ec);},'\x52\x42\x5a\x67\x57':_0x40bfb5(0x207)};return _0x1867da[_0x40bfb5(0x208)](base64UrlEncode,createHmac(_0x1867da[_0x40bfb5(0x237)],_0x5ca9e7)[_0x40bfb5(0x217)](_0x1ec746)[_0x40bfb5(0x21f)]());}function a0_0x1976(){const _0x16af0d=['\x75\x4b\x6a\x41\x7a\x31\x43','\x79\x32\x58\x56\x79\x32\x54\x74\x41\x32\x76\x33\x75\x32\x76\x4a\x42\x32\x35\x4b\x43\x57','\x6d\x74\x43\x57\x75\x4b\x6e\x41\x77\x4c\x62\x72','\x6e\x64\x43\x33\x72\x32\x48\x78\x71\x75\x7a\x68','\x73\x66\x6d\x59\x6e\x74\x79','\x6d\x5a\x65\x5a\x6e\x74\x61\x5a\x7a\x75\x50\x79\x79\x75\x6e\x4a','\x43\x4d\x76\x57\x7a\x77\x66\x30','\x6d\x4e\x62\x5a\x75\x67\x6a\x56\x44\x47','\x7a\x67\x39\x4a\x44\x77\x31\x4c\x42\x4e\x72\x6a\x7a\x61','\x79\x4d\x66\x5a\x7a\x74\x79\x30','\x43\x33\x62\x53\x41\x78\x71','\x6d\x74\x61\x5a\x6e\x4a\x4b\x5a\x77\x78\x50\x57\x43\x67\x54\x54','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x43\x32\x66\x55\x7a\x67\x6a\x56\x45\x65\x4c\x4b','\x6d\x74\x71\x35\x6e\x5a\x62\x76\x42\x77\x44\x69\x45\x4b\x4f','\x42\x4e\x76\x54\x79\x4d\x76\x59','\x43\x4d\x76\x48\x7a\x61','\x41\x78\x6e\x5a\x44\x77\x75','\x7a\x77\x35\x30\x7a\x78\x6a\x57\x43\x4d\x4c\x5a\x7a\x71','\x7a\x4e\x6a\x4c\x7a\x71','\x79\x77\x6e\x4a\x7a\x78\x6e\x5a','\x43\x32\x48\x48\x6d\x4a\x75\x32','\x45\x68\x76\x57\x43\x32\x4b','\x7a\x78\x48\x57','\x43\x32\x76\x5a\x43\x32\x4c\x56\x42\x4b\x4c\x4b','\x43\x32\x4c\x4e\x42\x4d\x4c\x55\x7a\x31\x6e\x4c\x79\x33\x6a\x4c\x44\x61','\x74\x76\x7a\x64\x72\x4c\x75','\x43\x33\x72\x59\x41\x77\x35\x4e\x41\x77\x7a\x35','\x44\x67\x4c\x4c\x43\x47','\x44\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x77\x77\x76\x35\x7a\x66\x69','\x71\x4e\x76\x52\x45\x65\x38','\x7a\x32\x76\x30\x76\x68\x72\x53\x74\x77\x4c\x55\x44\x78\x72\x4c\x43\x57','\x79\x32\x39\x53\x42\x67\x66\x49\x42\x33\x6a\x48\x44\x67\x4c\x56\x42\x47','\x6f\x64\x75\x58\x6e\x5a\x6d\x59\x7a\x31\x48\x62\x75\x68\x6e\x53','\x72\x4c\x4c\x73\x79\x75\x69','\x6d\x74\x65\x57\x6e\x5a\x7a\x78\x7a\x65\x35\x6e\x7a\x77\x69','\x44\x78\x62\x4b\x79\x78\x72\x4c','\x42\x4d\x39\x33','\x44\x68\x76\x6a\x71\x30\x75','\x79\x33\x66\x51\x41\x32\x4b','\x43\x68\x6a\x56\x7a\x68\x76\x4a\x44\x65\x4c\x4b','\x73\x65\x31\x6e\x43\x32\x4f','\x42\x76\x44\x51\x72\x65\x47','\x43\x33\x72\x59\x41\x77\x35\x4e','\x7a\x67\x4c\x4e\x7a\x78\x6e\x30','\x41\x78\x6e\x5a\x44\x77\x76\x64\x42\x32\x58\x53\x79\x77\x6a\x56\x43\x4d\x66\x30\x41\x77\x39\x55','\x44\x4e\x66\x36\x79\x75\x34','\x7a\x4e\x6a\x56\x42\x71','\x44\x75\x6e\x75\x45\x4c\x4f','\x42\x77\x66\x34','\x74\x75\x39\x6f\x44\x76\x47','\x43\x68\x6a\x56','\x75\x4e\x4c\x4e\x42\x4d\x65','\x74\x4b\x35\x58\x43\x4e\x4b','\x6e\x4a\x75\x33\x6e\x64\x4b\x32\x76\x78\x48\x51\x7a\x66\x44\x54','\x43\x68\x7a\x33\x79\x77\x57','\x79\x32\x66\x69\x41\x66\x61','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x79\x77\x58\x4e','\x44\x78\x6e\x4c\x43\x4b\x4c\x4b','\x73\x32\x44\x78\x77\x4d\x79','\x6d\x4a\x61\x57\x6d\x4c\x50\x31\x74\x75\x66\x78\x43\x71','\x7a\x4d\x58\x56\x42\x33\x69','\x44\x4d\x6e\x4f\x41\x4b\x38','\x42\x65\x6a\x30\x74\x75\x79','\x6e\x4a\x61\x30\x6d\x67\x39\x62\x44\x32\x58\x57\x76\x61','\x43\x78\x50\x76\x72\x4c\x4b','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43'];a0_0x1976=function(){return _0x16af0d;};return a0_0x1976();}const JWT_HEADER=base64UrlEncode(JSON['\x73\x74\x72\x69\x6e\x67\x69\x66\x79']({'\x61\x6c\x67':a0_0x29b712(0x1f6),'\x74\x79\x70':'\x4a\x57\x54'}));function a0_0x13f2(_0x1f88b8,_0x597bf6){_0x1f88b8=_0x1f88b8-0x1f3;const _0x197620=a0_0x1976();let _0x13f24a=_0x197620[_0x1f88b8];if(a0_0x13f2['\x55\x54\x64\x6e\x69\x46']===undefined){var _0x491832=function(_0x1aaa77){const _0x2e3901='\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 _0x34c8d1='',_0x4a2715='';for(let _0x18774d=0x0,_0x4cb130,_0x430093,_0x16004f=0x0;_0x430093=_0x1aaa77['\x63\x68\x61\x72\x41\x74'](_0x16004f++);~_0x430093&&(_0x4cb130=_0x18774d%0x4?_0x4cb130*0x40+_0x430093:_0x430093,_0x18774d++%0x4)?_0x34c8d1+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x4cb130>>(-0x2*_0x18774d&0x6)):0x0){_0x430093=_0x2e3901['\x69\x6e\x64\x65\x78\x4f\x66'](_0x430093);}for(let _0x145fc2=0x0,_0x5b315d=_0x34c8d1['\x6c\x65\x6e\x67\x74\x68'];_0x145fc2<_0x5b315d;_0x145fc2++){_0x4a2715+='\x25'+('\x30\x30'+_0x34c8d1['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x145fc2)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x4a2715);};a0_0x13f2['\x55\x6a\x52\x67\x41\x6f']=_0x491832,a0_0x13f2['\x4e\x54\x4f\x4e\x6e\x64']={},a0_0x13f2['\x55\x54\x64\x6e\x69\x46']=!![];}const _0x46e0c5=_0x197620[0x0],_0x250023=_0x1f88b8+_0x46e0c5,_0x5d94c2=a0_0x13f2['\x4e\x54\x4f\x4e\x6e\x64'][_0x250023];return!_0x5d94c2?(_0x13f24a=a0_0x13f2['\x55\x6a\x52\x67\x41\x6f'](_0x13f24a),a0_0x13f2['\x4e\x54\x4f\x4e\x6e\x64'][_0x250023]=_0x13f24a):_0x13f24a=_0x5d94c2,_0x13f24a;}function issueToken(_0xf43c51,_0x1ec2b6,_0x532b65){const _0x277f75=a0_0x29b712,_0x495e7c={'\x74\x75\x49\x43\x45':function(_0x350615,_0x2b530c){return _0x350615+_0x2b530c;}},_0x536050=Math[_0x277f75(0x231)](Date[_0x277f75(0x218)]()/0x3e8),_0x2dfcd2={..._0x1ec2b6,'\x69\x61\x74':_0x536050,'\x65\x78\x70':_0x495e7c[_0x277f75(0x219)](_0x536050,_0x532b65*0x3c)},_0x363639=JWT_HEADER+'\x2e'+base64UrlEncode(JSON[_0x277f75(0x20d)](_0x2dfcd2));return _0x363639+'\x2e'+createSignature(_0x363639,_0xf43c51);}function issueReadToken(_0x1223b7,_0x5f3f88,_0x3c7b34){const _0x5bf931=a0_0x29b712;return issueToken(_0x1223b7,{..._0x5f3f88,'\x74\x79\x70':_0x5bf931(0x202)},_0x3c7b34);}function issueSessionScopedToken(_0x36b942,_0x3cadd8,_0x41c61f){return issueReadToken(_0x36b942,_0x3cadd8,_0x41c61f);}function issueProjectScopedToken(_0x5e116d,_0x5ef020,_0x4fad5a){return issueReadToken(_0x5e116d,_0x5ef020,_0x4fad5a);}function issueBatchScopedToken(_0xde374f,_0x39095b,_0x406672){const _0x352794=a0_0x29b712,_0x4d73b1={'\x4b\x67\x57\x5a\x66':function(_0x3e74cc,_0x405785,_0x389425,_0x3b9794){return _0x3e74cc(_0x405785,_0x389425,_0x3b9794);}};return _0x4d73b1[_0x352794(0x22f)](issueReadToken,_0xde374f,_0x39095b,_0x406672);}function issueCollaborationToken(_0x454a1d,_0x543abd,_0x440a63){const _0x25bc14=a0_0x29b712,_0x40ed88={'\x6e\x62\x6e\x6d\x6c':_0x25bc14(0x213)};return issueToken(_0x454a1d,{'\x73\x75\x62':_0x543abd['\x75\x73\x65\x72\x49\x64'],'\x73\x69\x64':_0x543abd['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':_0x543abd[_0x25bc14(0x21b)],'\x63\x69\x64':_0x543abd[_0x25bc14(0x1ff)],'\x74\x79\x70':_0x40ed88['\x6e\x62\x6e\x6d\x6c'],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x543abd['\x70\x72\x6f\x6a\x65\x63\x74\x49\x64'],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x543abd['\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64'],'\x61\x63\x63\x65\x73\x73':_0x543abd[_0x25bc14(0x206)]},_0x440a63);}function unsafeDecodeToken(_0x5b3c27){const _0x37c949=a0_0x29b712,_0x191b5a={'\x48\x4d\x4d\x73\x6a':function(_0x1e033b,_0x359c0f){return _0x1e033b+_0x359c0f;},'\x76\x71\x7a\x61\x4e':function(_0xf7bb02,_0x4e2ce4){return _0xf7bb02-_0x4e2ce4;},'\x59\x65\x79\x64\x52':function(_0x30c436,_0x5cbc21){return _0x30c436%_0x5cbc21;},'\x63\x71\x6a\x6b\x69':'\x62\x61\x73\x65\x36\x34'};try{const _0x20bea7=_0x5b3c27[_0x37c949(0x1fc)]('\x2e');if(_0x20bea7[_0x37c949(0x1fe)]!==0x3)return null;const _0x301da7=_0x191b5a[_0x37c949(0x21c)](_0x20bea7[0x1],'\x3d'[_0x37c949(0x1f8)](_0x191b5a[_0x37c949(0x221)](0x4,_0x191b5a[_0x37c949(0x210)](_0x20bea7[0x1][_0x37c949(0x1fe)],0x4))%0x4)),_0x1ed2c8=Buffer[_0x37c949(0x222)](_0x301da7[_0x37c949(0x22c)](/-/g,'\x2b')[_0x37c949(0x22c)](/_/g,'\x2f'),_0x191b5a[_0x37c949(0x21a)])[_0x37c949(0x236)]();return JSON['\x70\x61\x72\x73\x65'](_0x1ed2c8);}catch{return null;}}function verifyToken(_0x5b3749,_0xbb1441,_0x5c8b8f={}){const _0x4d41b0=a0_0x29b712,_0x23a950={'\x72\x56\x46\x74\x68':function(_0x54cf20,_0x4bac23){return _0x54cf20%_0x4bac23;},'\x43\x6b\x63\x6f\x4b':'\x62\x61\x73\x65\x36\x34','\x4d\x56\x43\x46\x55':function(_0x9b2d6c,_0xc75cb2){return _0x9b2d6c!==_0xc75cb2;},'\x63\x61\x48\x68\x50':function(_0xd2348d,_0x463516,_0x5e0f83){return _0xd2348d(_0x463516,_0x5e0f83);},'\x42\x75\x6b\x78\x4f':function(_0x796fed,_0x5d5508){return _0x796fed||_0x5d5508;},'\x4d\x62\x4d\x50\x49':_0x4d41b0(0x201),'\x71\x7a\x55\x46\x59':function(_0x1e3d54,_0x4e0e81){return _0x1e3d54<_0x4e0e81;},'\x70\x76\x77\x61\x6c':function(_0x112649,_0x1570b8){return _0x112649+_0x1570b8;}};try{const _0x21f74a=_0x5b3749[_0x4d41b0(0x1fc)]('\x2e');if(_0x21f74a[_0x4d41b0(0x1fe)]!==0x3)return null;const [_0x1e8cb9,_0xb1092c,_0x14611a]=_0x21f74a;if(!_0x1e8cb9||!_0xb1092c||!_0x14611a)return null;let _0x3d2954;try{const _0x3c536a=_0x1e8cb9+'\x3d'['\x72\x65\x70\x65\x61\x74'](_0x23a950['\x72\x56\x46\x74\x68'](0x4-_0x1e8cb9[_0x4d41b0(0x1fe)]%0x4,0x4)),_0xe13fcf=Buffer[_0x4d41b0(0x222)](_0x3c536a[_0x4d41b0(0x22c)](/-/g,'\x2b')['\x72\x65\x70\x6c\x61\x63\x65'](/_/g,'\x2f'),_0x23a950['\x43\x6b\x63\x6f\x4b'])['\x74\x6f\x53\x74\x72\x69\x6e\x67']();_0x3d2954=JSON['\x70\x61\x72\x73\x65'](_0xe13fcf);}catch{return null;}if(_0x23a950[_0x4d41b0(0x20c)](_0x3d2954[_0x4d41b0(0x22d)],_0x4d41b0(0x1f6)))return null;const _0x42f2fe=_0x23a950[_0x4d41b0(0x22b)](createSignature,_0x1e8cb9+'\x2e'+_0xb1092c,_0xbb1441),_0x1a9963=decodeBase64UrlToBuffer(_0x14611a),_0xa9431c=decodeBase64UrlToBuffer(_0x42f2fe);if(_0x23a950[_0x4d41b0(0x211)](!_0x1a9963,!_0xa9431c))return null;if(_0x1a9963[_0x4d41b0(0x1fe)]!==_0xa9431c[_0x4d41b0(0x1fe)])return null;if(!timingSafeEqual(_0x1a9963,_0xa9431c))return null;const _0x163cc1=unsafeDecodeToken(_0x5b3749);if(!_0x163cc1)return null;const _0x420569=Math[_0x4d41b0(0x231)](Date[_0x4d41b0(0x218)]()/0x3e8),_0x5dca28=Math[_0x4d41b0(0x224)](0x0,_0x5c8b8f[_0x4d41b0(0x1f3)]??0x0);if(typeof _0x163cc1[_0x4d41b0(0x209)]!==_0x23a950['\x4d\x62\x4d\x50\x49']||_0x23a950[_0x4d41b0(0x235)](_0x23a950[_0x4d41b0(0x22a)](_0x163cc1[_0x4d41b0(0x209)],_0x5dca28),_0x420569))return null;return _0x163cc1;}catch{return null;}}function getTokenTTL(_0x9d6408){const _0x577b60=a0_0x29b712,_0x4e6b92={'\x76\x63\x68\x6a\x4f':function(_0x282a58,_0x4a2e1a){return _0x282a58/_0x4a2e1a;}},_0x15561e=Math[_0x577b60(0x231)](_0x4e6b92[_0x577b60(0x232)](Date[_0x577b60(0x218)](),0x3e8));return _0x9d6408[_0x577b60(0x209)]-_0x15561e;}function isTokenExpiringSoon(_0x834ec2,_0x2e0b8d=0x3c){const _0x148e4d=a0_0x29b712,_0x5068ac={'\x52\x79\x67\x6e\x61':function(_0x49cef2,_0x29ee5c){return _0x49cef2<=_0x29ee5c;},'\x4d\x4f\x4e\x75\x58':function(_0x48f0f6,_0x3337ae){return _0x48f0f6(_0x3337ae);}};return _0x5068ac[_0x148e4d(0x227)](_0x5068ac[_0x148e4d(0x225)](getTokenTTL,_0x834ec2),_0x2e0b8d);}var ProductTokenIssuer=class{[a0_0x29b712(0x21b)];[a0_0x29b712(0x20b)];[a0_0x29b712(0x20f)];constructor(_0x1874e4){const _0x4d68d6=a0_0x29b712;this[_0x4d68d6(0x21b)]=_0x1874e4['\x70\x72\x6f\x64\x75\x63\x74\x49\x64'],this[_0x4d68d6(0x20b)]=_0x1874e4[_0x4d68d6(0x20b)],this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']={'\x66\x72\x65\x65':_0x1874e4['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73']?.[_0x4d68d6(0x205)]??0xf,'\x70\x72\x6f':_0x1874e4[_0x4d68d6(0x20f)]?.[_0x4d68d6(0x226)]??0xf0,'\x65\x6e\x74\x65\x72\x70\x72\x69\x73\x65':_0x1874e4[_0x4d68d6(0x20f)]?.[_0x4d68d6(0x204)]??0x1e0};}[a0_0x29b712(0x203)](_0x5c7948){const _0x45b1dc=a0_0x29b712,_0x4abc32={'\x48\x73\x63\x6c\x6c':_0x45b1dc(0x205),'\x4e\x4e\x71\x72\x79':function(_0x2fbf7c,_0x55661a,_0x1b7ddd,_0x2b877d){return _0x2fbf7c(_0x55661a,_0x1b7ddd,_0x2b877d);},'\x6c\x42\x74\x4d\x46':function(_0x4980fd,_0x32ca99){return _0x4980fd*_0x32ca99;}},_0x2e5e2b=_0x5c7948['\x74\x69\x65\x72']??_0x4abc32['\x48\x73\x63\x6c\x6c'],_0x47976f=this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0x2e5e2b]??this[_0x45b1dc(0x20f)][_0x45b1dc(0x205)];return{'\x74\x6f\x6b\x65\x6e':_0x4abc32[_0x45b1dc(0x228)](issueReadToken,this[_0x45b1dc(0x20b)],{'\x73\x75\x62':_0x5c7948[_0x45b1dc(0x22e)],'\x73\x69\x64':_0x5c7948['\x73\x65\x73\x73\x69\x6f\x6e\x49\x64'],'\x70\x69\x64':this[_0x45b1dc(0x21b)],'\x63\x69\x64':_0x5c7948[_0x45b1dc(0x1ff)]},_0x47976f),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math['\x66\x6c\x6f\x6f\x72'](Date['\x6e\x6f\x77']()/0x3e8)+_0x4abc32[_0x45b1dc(0x233)](_0x47976f,0x3c)};}[a0_0x29b712(0x220)](_0x4a226e){const _0xfcfb40=a0_0x29b712,_0x3ee9f0={'\x75\x43\x54\x7a\x5a':function(_0x234bcb,_0x2e68bc,_0x3df310,_0x123382){return _0x234bcb(_0x2e68bc,_0x3df310,_0x123382);}},_0x2f4b84=_0x4a226e[_0xfcfb40(0x20e)]??'\x66\x72\x65\x65',_0x53b730=this[_0xfcfb40(0x20f)][_0x2f4b84]??this[_0xfcfb40(0x20f)][_0xfcfb40(0x205)];return{'\x74\x6f\x6b\x65\x6e':_0x3ee9f0[_0xfcfb40(0x223)](issueCollaborationToken,this[_0xfcfb40(0x20b)],{'\x75\x73\x65\x72\x49\x64':_0x4a226e[_0xfcfb40(0x22e)],'\x73\x65\x73\x73\x69\x6f\x6e\x49\x64':_0x4a226e[_0xfcfb40(0x20a)],'\x70\x72\x6f\x64\x75\x63\x74\x49\x64':this[_0xfcfb40(0x21b)],'\x70\x72\x6f\x6a\x65\x63\x74\x49\x64':_0x4a226e['\x70\x72\x6f\x6a\x65\x63\x74\x49\x64'],'\x64\x6f\x63\x75\x6d\x65\x6e\x74\x49\x64':_0x4a226e[_0xfcfb40(0x1fa)],'\x61\x63\x63\x65\x73\x73':_0x4a226e[_0xfcfb40(0x206)],'\x73\x61\x6e\x64\x62\x6f\x78\x49\x64':_0x4a226e['\x73\x61\x6e\x64\x62\x6f\x78\x49\x64']},_0x53b730),'\x65\x78\x70\x69\x72\x65\x73\x41\x74':Math[_0xfcfb40(0x231)](Date[_0xfcfb40(0x218)]()/0x3e8)+_0x53b730*0x3c};}[a0_0x29b712(0x212)](_0xaf3440='\x66\x72\x65\x65'){const _0x3cde6e=a0_0x29b712;return this['\x74\x74\x6c\x4d\x69\x6e\x75\x74\x65\x73'][_0xaf3440]??this[_0x3cde6e(0x20f)]['\x66\x72\x65\x65'];}};export{ProductTokenIssuer,getTokenTTL,isTokenExpiringSoon,issueBatchScopedToken,issueCollaborationToken,issueProjectScopedToken,issueReadToken,issueSessionScopedToken,unsafeDecodeToken,verifyToken};
|