@nuvin/agent-core 0.2.0-rc.3 → 0.2.0-rc.5

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.
@@ -1 +1 @@
1
- function _0x1e12(_0x7fb274,_0x3e074e){_0x7fb274=_0x7fb274-0xf0;var _0x5c37a1=_0x5c37();var _0x1e12d5=_0x5c37a1[_0x7fb274];if(_0x1e12['OClFsy']===undefined){var _0x20b013=function(_0x330d4e){var _0x3ca97f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x568fbb='',_0x8bd31a='';for(var _0x3941ef=0x0,_0x1fa2d7,_0x23274f,_0x28fabf=0x0;_0x23274f=_0x330d4e['charAt'](_0x28fabf++);~_0x23274f&&(_0x1fa2d7=_0x3941ef%0x4?_0x1fa2d7*0x40+_0x23274f:_0x23274f,_0x3941ef++%0x4)?_0x568fbb+=String['fromCharCode'](0xff&_0x1fa2d7>>(-0x2*_0x3941ef&0x6)):0x0){_0x23274f=_0x3ca97f['indexOf'](_0x23274f);}for(var _0x216a46=0x0,_0x5dda91=_0x568fbb['length'];_0x216a46<_0x5dda91;_0x216a46++){_0x8bd31a+='%'+('00'+_0x568fbb['charCodeAt'](_0x216a46)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x8bd31a);};_0x1e12['gqMpto']=_0x20b013,_0x1e12['IvfeSj']={},_0x1e12['OClFsy']=!![];}var _0x25109d=_0x5c37a1[0x0],_0x430bdd=_0x7fb274+_0x25109d,_0x2bebc9=_0x1e12['IvfeSj'][_0x430bdd];return!_0x2bebc9?(_0x1e12d5=_0x1e12['gqMpto'](_0x1e12d5),_0x1e12['IvfeSj'][_0x430bdd]=_0x1e12d5):_0x1e12d5=_0x2bebc9,_0x1e12d5;}(function(_0x3ef59c,_0x2fc019){var _0x68b803={_0xe9db7:0x2c8,_0x3c4e9e:0x353,_0x1a9bc4:0x34b,_0x35022a:0x349,_0x550c1b:0x350,_0x3d7163:0x35d,_0xbb1a3e:0x2bf,_0x49b790:0x2c3,_0x3290ba:0x2c6,_0x1f4e17:0x2cc,_0x3ced15:0x34f,_0x3f7cd8:0x354,_0x46416b:0x34a,_0x4e0d04:0x346,_0x4ff84d:0x34e,_0x531f2f:0x2bd,_0x1a923a:0x2c2,_0x164141:0x2c4,_0x2c5462:0x352,_0xc770b:0x351,_0x447847:0x357,_0x5985f0:0x354},_0x2801ed={_0xe46458:0x3bc};function _0x144300(_0x503d6c,_0x3ca921,_0x9d12d9,_0x2eb797){return _0x1e12(_0x2eb797- -_0x2801ed._0xe46458,_0x503d6c);}function _0x4f496b(_0xd0f591,_0x474aa3,_0x17d1f5,_0x1bc63e){return _0x1e12(_0x474aa3-0x25a,_0x1bc63e);}var _0xdd7aa4=_0x3ef59c();while(!![]){try{var _0x44d392=-parseInt(_0x144300(-_0x68b803._0xe9db7,-0x2ca,-0x2c6,-0x2cb))/0x1+parseInt(_0x4f496b(_0x68b803._0x3c4e9e,0x34d,_0x68b803._0x1a9bc4,_0x68b803._0x35022a))/0x2*(-parseInt(_0x4f496b(0x358,0x356,_0x68b803._0x550c1b,_0x68b803._0x3d7163))/0x3)+-parseInt(_0x144300(-0x2bd,-_0x68b803._0xbb1a3e,-_0x68b803._0x49b790,-0x2c1))/0x4+-parseInt(_0x144300(-_0x68b803._0x3290ba,-_0x68b803._0x1f4e17,-0x2c2,-0x2c6))/0x5*(parseInt(_0x4f496b(_0x68b803._0x3ced15,_0x68b803._0x3ced15,_0x68b803._0x3f7cd8,0x352))/0x6)+parseInt(_0x4f496b(0x34e,_0x68b803._0x46416b,0x34d,_0x68b803._0x4e0d04))/0x7*(parseInt(_0x4f496b(0x349,0x34c,_0x68b803._0x4ff84d,0x347))/0x8)+-parseInt(_0x4f496b(_0x68b803._0x35022a,_0x68b803._0x4ff84d,0x348,0x34c))/0x9*(parseInt(_0x144300(-0x2c8,-_0x68b803._0x531f2f,-_0x68b803._0x531f2f,-_0x68b803._0x1a923a))/0xa)+parseInt(_0x144300(-0x2c5,-0x2c6,-_0x68b803._0xe9db7,-_0x68b803._0x164141))/0xb*(parseInt(_0x4f496b(_0x68b803._0x2c5462,_0x68b803._0xc770b,_0x68b803._0x447847,_0x68b803._0x5985f0))/0xc);if(_0x44d392===_0x2fc019)break;else _0xdd7aa4['push'](_0xdd7aa4['shift']());}catch(_0x2259a9){_0xdd7aa4['push'](_0xdd7aa4['shift']());}}}(_0x5c37,0x9c53a));function modelIdentityFromParts(_0x568fbb,_0x8bd31a){var _0xfa8e8c={_0x4260ce:0x23b,_0x4a135b:0x236,_0x186e80:0x23d,_0x1ecd15:0x235},_0x47f255={_0x1a66ab:0x13d};if(_0x568fbb)return _0x568fbb+':'+_0x8bd31a;function _0x37fc1f(_0x3304f8,_0x58df42,_0x1e3489,_0x360f5b){return _0x1e12(_0x58df42-_0x47f255._0x1a66ab,_0x3304f8);}return _0x8bd31a[_0x37fc1f(_0xfa8e8c._0x4260ce,_0xfa8e8c._0x4a135b,_0xfa8e8c._0x186e80,_0xfa8e8c._0x1ecd15)](':')?':'+_0x8bd31a:_0x8bd31a;}export{modelIdentityFromParts};function _0x5c37(){var _0x28acd1=['mJC2shbyzhjN','mZyWoty1zeLhBKXo','Aw5JBhvKzxm','odmWCvreuLH5','nZiWodaWyKfrEMj4','m3LVrLP4ra','mJGYnZnmseHpwKy','ndmXmtu4wxD1rhHT','mJq1nLPkCND6qG','nJCZmZyYyKLJteDH','mJq5m2HeEvzTvG','mte1mdeYmNzvu3rODa','mtbutMfSuK8'];_0x5c37=function(){return _0x28acd1;};return _0x5c37();}
1
+ function _0x4ab5(_0x27fdcd,_0x47ccb3){_0x27fdcd=_0x27fdcd-0xaf;var _0xe851d9=_0xe851();var _0x4ab544=_0xe851d9[_0x27fdcd];if(_0x4ab5['UmhkPD']===undefined){var _0x5eabfa=function(_0x130ff2){var _0x23cb32='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1d889b='',_0x4dad48='';for(var _0x47e888=0x0,_0x54b6a9,_0x2be75f,_0x11708f=0x0;_0x2be75f=_0x130ff2['charAt'](_0x11708f++);~_0x2be75f&&(_0x54b6a9=_0x47e888%0x4?_0x54b6a9*0x40+_0x2be75f:_0x2be75f,_0x47e888++%0x4)?_0x1d889b+=String['fromCharCode'](0xff&_0x54b6a9>>(-0x2*_0x47e888&0x6)):0x0){_0x2be75f=_0x23cb32['indexOf'](_0x2be75f);}for(var _0x256f46=0x0,_0x132133=_0x1d889b['length'];_0x256f46<_0x132133;_0x256f46++){_0x4dad48+='%'+('00'+_0x1d889b['charCodeAt'](_0x256f46)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4dad48);};_0x4ab5['lluwXi']=_0x5eabfa,_0x4ab5['sJcTCg']={},_0x4ab5['UmhkPD']=!![];}var _0x2a98d8=_0xe851d9[0x0],_0xea754b=_0x27fdcd+_0x2a98d8,_0x25263d=_0x4ab5['sJcTCg'][_0xea754b];return!_0x25263d?(_0x4ab544=_0x4ab5['lluwXi'](_0x4ab544),_0x4ab5['sJcTCg'][_0xea754b]=_0x4ab544):_0x4ab544=_0x25263d,_0x4ab544;}function _0xe851(){var _0x5d4e80=['mJHyzgPsAKq','m1vlsLn6BW','mtiWotiYn0DKB0ncAW','mJi1mdi0ntHlBMHvrMi','nZa1nJu1v0fhsLLY','ndy2mMjSwM9VqG','mJDMww51q1e','mZaXn21KqwHUAa','mJq3mJe0ywvHrgrt','nZq2mtC3nLPZtMzyDG','mZiZotqWu2vRCwj3'];_0xe851=function(){return _0x5d4e80;};return _0xe851();}(function(_0x2aae11,_0x4c2d3e){var _0x3253d5={_0x1a6240:0x37d,_0x1f51f6:0x382,_0x448ac6:0x383,_0x4b71ec:0x385,_0x3e4d0d:0x388,_0x341e0b:0x37c,_0x14bcc2:0x37b,_0x508193:0x380,_0xfe2870:0x2df,_0x1f1571:0x2e5,_0xd8f4c1:0x2e4,_0x5d6d08:0x37f,_0x1fd36a:0x383,_0x14db7a:0x2e2,_0x445f22:0x2ea,_0x500dd0:0x2e8,_0x1eb994:0x2e0,_0x46a15c:0x2ea,_0x3d430b:0x2e4,_0x2f53c5:0x2e9,_0x565a4f:0x2ef,_0x221c11:0x382,_0x3135bd:0x381};function _0x285075(_0xba6f4d,_0x4a9ed1,_0x560d13,_0x3238b8){return _0x4ab5(_0xba6f4d-0x2cc,_0x4a9ed1);}var _0x446885=_0x2aae11();function _0x4bf570(_0x17eca8,_0x40cf31,_0x407b6b,_0x139a9d){return _0x4ab5(_0x407b6b-0x230,_0x139a9d);}while(!![]){try{var _0x20cf0e=parseInt(_0x285075(_0x3253d5._0x1a6240,0x37b,0x378,_0x3253d5._0x1f51f6))/0x1+-parseInt(_0x285075(_0x3253d5._0x448ac6,0x384,_0x3253d5._0x4b71ec,_0x3253d5._0x3e4d0d))/0x2*(parseInt(_0x285075(_0x3253d5._0x341e0b,0x377,0x37d,0x376))/0x3)+parseInt(_0x285075(_0x3253d5._0x14bcc2,0x37a,_0x3253d5._0x508193,0x37f))/0x4*(-parseInt(_0x4bf570(_0x3253d5._0xfe2870,_0x3253d5._0x1f1571,0x2e3,0x2df))/0x5)+parseInt(_0x4bf570(0x2e8,0x2e1,_0x3253d5._0xd8f4c1,0x2e0))/0x6*(-parseInt(_0x285075(0x382,0x386,_0x3253d5._0x5d6d08,_0x3253d5._0x1fd36a))/0x7)+-parseInt(_0x4bf570(_0x3253d5._0x14db7a,_0x3253d5._0x445f22,_0x3253d5._0x500dd0,_0x3253d5._0x500dd0))/0x8+parseInt(_0x4bf570(_0x3253d5._0x1eb994,0x2e4,0x2e5,_0x3253d5._0x46a15c))/0x9*(-parseInt(_0x4bf570(0x2ec,_0x3253d5._0x3d430b,_0x3253d5._0x2f53c5,_0x3253d5._0x565a4f))/0xa)+parseInt(_0x285075(0x37e,_0x3253d5._0x221c11,0x37d,_0x3253d5._0x3135bd))/0xb;if(_0x20cf0e===_0x4c2d3e)break;else _0x446885['push'](_0x446885['shift']());}catch(_0x298662){_0x446885['push'](_0x446885['shift']());}}}(_0xe851,0xbe15e));function modelIdentityFromParts(_0x1d889b,_0x4dad48){if(_0x1d889b)return _0x1d889b+':'+_0x4dad48;return _0x4dad48['includes'](':')?':'+_0x4dad48:_0x4dad48;}export{modelIdentityFromParts};
@@ -1 +1 @@
1
- (function(_0x423df1,_0x3bcddf){var _0x5f2a6e={_0x55e6a8:0x0,_0x4e13a7:0x8,_0x591849:0x1,_0x4c6df3:0x3,_0x705c03:0x9,_0x187a0c:0x4,_0x30b859:0x0,_0x28dbbd:0x69,_0x41bea2:0x6a,_0x1923d8:0x70,_0x465192:0x6e,_0x204ed0:0x73,_0x50a48a:0x6f,_0x4f00c5:0x6d,_0xd24e30:0x72,_0x4c6883:0x6a,_0x2fa53b:0x71},_0x5da459={_0x3f6a43:0x260};function _0x2691c8(_0x21bf7f,_0x1466fe,_0x49f4b2,_0x1a66c){return _0x130c(_0x21bf7f- -0x1f2,_0x1466fe);}var _0x868425=_0x423df1();function _0x20e660(_0x6112f5,_0x1180f1,_0x4b7de1,_0x7c3350){return _0x130c(_0x6112f5- -_0x5da459._0x3f6a43,_0x7c3350);}while(!![]){try{var _0x165583=parseInt(_0x20e660(-0x72,-0x71,-0x73,-0x70))/0x1*(parseInt(_0x20e660(-0x6d,-0x72,-0x74,-0x73))/0x2)+parseInt(_0x2691c8(0x3,-0x4,_0x5f2a6e._0x55e6a8,_0x5f2a6e._0x4e13a7))/0x3+-parseInt(_0x2691c8(-0x2,-0x7,-_0x5f2a6e._0x591849,-0x1))/0x4*(parseInt(_0x2691c8(-_0x5f2a6e._0x4c6df3,-_0x5f2a6e._0x705c03,_0x5f2a6e._0x187a0c,_0x5f2a6e._0x30b859))/0x5)+-parseInt(_0x20e660(-_0x5f2a6e._0x28dbbd,-_0x5f2a6e._0x41bea2,-_0x5f2a6e._0x1923d8,-_0x5f2a6e._0x1923d8))/0x6+parseInt(_0x20e660(-0x73,-_0x5f2a6e._0x465192,-0x7a,-_0x5f2a6e._0x204ed0))/0x7+-parseInt(_0x20e660(-_0x5f2a6e._0x50a48a,-_0x5f2a6e._0x4f00c5,-_0x5f2a6e._0xd24e30,-0x6d))/0x8+parseInt(_0x20e660(-_0x5f2a6e._0x4c6883,-_0x5f2a6e._0x28dbbd,-_0x5f2a6e._0x2fa53b,-0x67))/0x9;if(_0x165583===_0x3bcddf)break;else _0x868425['push'](_0x868425['shift']());}catch(_0x4b4d9e){_0x868425['push'](_0x868425['shift']());}}}(_0x1902,0x2f8fb));function _0x1902(){var _0x3fc285=['nda4nJCYrLLUA0Tj','mtuYote3ohDLCgrPua','vhvYBIbMywLSzwq','BwvZC2fNzq','C3rHDgu','mtu1oda3nhHTtvfsyW','mNH0ueHLCG','mJy1DuT4wfju','mJC2otzACg90CwS','otG5mJe2vK9Sqw52','vhvYBKzHAwXLzevYCM9Y','mZu0mJyYt0Huv3PQ','BMfTzq','otu0mtm4tunIB2vy'];_0x1902=function(){return _0x3fc285;};return _0x1902();}function _0x130c(_0x28cd9e,_0x11b0d1){_0x28cd9e=_0x28cd9e-0x1ec;var _0x1902d4=_0x1902();var _0x130c2a=_0x1902d4[_0x28cd9e];if(_0x130c['WSKMsd']===undefined){var _0x235367=function(_0x7db68d){var _0x3dc2d6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4ad95a='',_0x38d2f2='';for(var _0xa0e193=0x0,_0x5b0a4d,_0x569bc0,_0x2c808f=0x0;_0x569bc0=_0x7db68d['charAt'](_0x2c808f++);~_0x569bc0&&(_0x5b0a4d=_0xa0e193%0x4?_0x5b0a4d*0x40+_0x569bc0:_0x569bc0,_0xa0e193++%0x4)?_0x4ad95a+=String['fromCharCode'](0xff&_0x5b0a4d>>(-0x2*_0xa0e193&0x6)):0x0){_0x569bc0=_0x3dc2d6['indexOf'](_0x569bc0);}for(var _0x108017=0x0,_0x4aed20=_0x4ad95a['length'];_0x108017<_0x4aed20;_0x108017++){_0x38d2f2+='%'+('00'+_0x4ad95a['charCodeAt'](_0x108017)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x38d2f2);};_0x130c['uzbHFA']=_0x235367,_0x130c['hRGuMz']={},_0x130c['WSKMsd']=!![];}var _0x3a9671=_0x1902d4[0x0],_0x1feac0=_0x28cd9e+_0x3a9671,_0x18767c=_0x130c['hRGuMz'][_0x1feac0];return!_0x18767c?(_0x130c2a=_0x130c['uzbHFA'](_0x130c2a),_0x130c['hRGuMz'][_0x1feac0]=_0x130c2a):_0x130c2a=_0x18767c,_0x130c2a;}var TurnFailedError=class extends Error{[_0x24f00b(0x4f3,0x4f6,0x4fc,0x4f6)];constructor(_0x4ad95a,_0x38d2f2){var _0x5cb4ee={_0xfcae06:0x6,_0x4256c6:0x1,_0x597a90:0x3,_0x436e99:0x1b1,_0x4fc13d:0x1b7,_0x1b21bf:0x1b3,_0x4dc111:0x1,_0x3f8cd3:0x1bb,_0x437f8e:0x1b2,_0x1f92c7:0x7,_0x3898ca:0xb,_0x367231:0x8},_0xfa4a2c={_0xc1806d:0x121};super(_0x4ad95a instanceof Error?_0x4ad95a[_0x3e17bb(_0x5cb4ee._0xfcae06,0xb,-_0x5cb4ee._0x4256c6,_0x5cb4ee._0x597a90)]:_0x357e68(-_0x5cb4ee._0x436e99,-_0x5cb4ee._0x4fc13d,-_0x5cb4ee._0x1b21bf,-0x1b3),{'cause':_0x4ad95a}),this[_0x3e17bb(_0x5cb4ee._0x4256c6,-_0x5cb4ee._0x4dc111,0x6,0x0)]=_0x357e68(-0x1b5,-_0x5cb4ee._0x3f8cd3,-0x1b9,-_0x5cb4ee._0x437f8e);function _0x357e68(_0x4d7318,_0x18f2f6,_0x254407,_0x30b451){return _0x24f00b(_0x4d7318,_0x18f2f6-0xab,_0x254407-0x125,_0x254407- -0x6b5);}function _0x3e17bb(_0x2cedb2,_0x42fc60,_0x17a636,_0x7dbce9){return _0x24f00b(_0x17a636,_0x42fc60-_0xfa4a2c._0xc1806d,_0x17a636-0x42,_0x2cedb2- -0x4fd);}this[_0x3e17bb(-_0x5cb4ee._0x1f92c7,-_0x5cb4ee._0x3898ca,-_0x5cb4ee._0x367231,-0xa)]=_0x38d2f2;}};function _0x24f00b(_0x1606fa,_0xc43e14,_0x217f41,_0x53b9ed){return _0x130c(_0x53b9ed-0x30a,_0x1606fa);}export{TurnFailedError};
1
+ (function(_0x364704,_0xc09570){var _0x59ae83={_0x2f0624:0x26,_0x2c713f:0x24,_0x59fe74:0x2ed,_0x729667:0x2f5,_0x217fc1:0x2f2,_0x3d7cae:0x2f2,_0x2951e5:0x2f5,_0x1e3c50:0x24,_0x26ec30:0x1d,_0x3f4cff:0x2f4,_0x1c64c8:0x2ef,_0x2a1028:0x2ee,_0xc10bb7:0x2f7,_0x20b1da:0x2f0,_0x228fec:0x2f7,_0x5bb163:0x2f4,_0x53af1e:0x2f6,_0x878dfd:0x302,_0x597879:0x2fb,_0x30c77d:0x2b,_0x38421c:0x22,_0x10d6c3:0x25,_0x9cd5e8:0x27},_0x3f5bf9={_0x135e8b:0x142},_0x23a557=_0x364704();function _0x135e1d(_0x414e53,_0x58b278,_0x1e47c8,_0x2afea1){return _0x1b8e(_0x2afea1-_0x3f5bf9._0x135e8b,_0x58b278);}function _0x101cb3(_0x262c26,_0x28fe03,_0x39c5db,_0x496507){return _0x1b8e(_0x39c5db- -0x1da,_0x496507);}while(!![]){try{var _0x4bc160=parseInt(_0x101cb3(-_0x59ae83._0x2f0624,-0x25,-0x22,-_0x59ae83._0x2c713f))/0x1+parseInt(_0x135e1d(_0x59ae83._0x59fe74,_0x59ae83._0x729667,_0x59ae83._0x217fc1,_0x59ae83._0x3d7cae))/0x2*(-parseInt(_0x135e1d(_0x59ae83._0x2951e5,0x2e9,0x2f2,0x2f0))/0x3)+parseInt(_0x101cb3(-0x1d,-0x21,-_0x59ae83._0x1e3c50,-_0x59ae83._0x26ec30))/0x4*(parseInt(_0x135e1d(0x2ed,_0x59ae83._0x3f4cff,0x2ed,_0x59ae83._0x1c64c8))/0x5)+parseInt(_0x135e1d(0x2eb,0x2e9,0x2ed,_0x59ae83._0x2a1028))/0x6+-parseInt(_0x135e1d(_0x59ae83._0xc10bb7,_0x59ae83._0x20b1da,0x2f8,0x2f4))/0x7+-parseInt(_0x135e1d(_0x59ae83._0x228fec,0x2fa,_0x59ae83._0x5bb163,_0x59ae83._0x2951e5))/0x8*(parseInt(_0x135e1d(_0x59ae83._0x53af1e,_0x59ae83._0x53af1e,_0x59ae83._0x878dfd,_0x59ae83._0x597879))/0x9)+-parseInt(_0x101cb3(-_0x59ae83._0x30c77d,-_0x59ae83._0x38421c,-_0x59ae83._0x10d6c3,-_0x59ae83._0x9cd5e8))/0xa;if(_0x4bc160===_0xc09570)break;else _0x23a557['push'](_0x23a557['shift']());}catch(_0x548ba0){_0x23a557['push'](_0x23a557['shift']());}}}(_0x553a,0x8c57b));function _0x553a(){var _0x34cec0=['ntG5mJG0nMzgy2Pvta','mZbPtwnIu3O','nJq2odLTBuDzvLO','BwvZC2fNzq','mZHMAwToug4','C3rHDgu','mZqYmdaZmNH5EM9IBW','ofHhzuXlBW','vhvYBIbMywLSzwq','ntqXmdmZmenRuvbesG','nJy0mZyWC0zozuzJ','vhvYBKzHAwXLzevYCM9Y','mta1otm2oxrkvKnYra','otiXnteWouHsrM5cDq'];_0x553a=function(){return _0x34cec0;};return _0x553a();}function _0x1b8e(_0x12f31a,_0x4919b3){_0x12f31a=_0x12f31a-0x1ac;var _0x553aae=_0x553a();var _0x1b8e9d=_0x553aae[_0x12f31a];if(_0x1b8e['jbdAao']===undefined){var _0x196fa0=function(_0x48b37b){var _0x43cd7e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x280add='',_0x4386f9='';for(var _0x325216=0x0,_0x5b9f32,_0x1eb2a5,_0x590428=0x0;_0x1eb2a5=_0x48b37b['charAt'](_0x590428++);~_0x1eb2a5&&(_0x5b9f32=_0x325216%0x4?_0x5b9f32*0x40+_0x1eb2a5:_0x1eb2a5,_0x325216++%0x4)?_0x280add+=String['fromCharCode'](0xff&_0x5b9f32>>(-0x2*_0x325216&0x6)):0x0){_0x1eb2a5=_0x43cd7e['indexOf'](_0x1eb2a5);}for(var _0x586b4a=0x0,_0x1b6d35=_0x280add['length'];_0x586b4a<_0x1b6d35;_0x586b4a++){_0x4386f9+='%'+('00'+_0x280add['charCodeAt'](_0x586b4a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4386f9);};_0x1b8e['TGXjpW']=_0x196fa0,_0x1b8e['ajjufB']={},_0x1b8e['jbdAao']=!![];}var _0x17ae3c=_0x553aae[0x0],_0x8fca3=_0x12f31a+_0x17ae3c,_0xd1b726=_0x1b8e['ajjufB'][_0x8fca3];return!_0xd1b726?(_0x1b8e9d=_0x1b8e['TGXjpW'](_0x1b8e9d),_0x1b8e['ajjufB'][_0x8fca3]=_0x1b8e9d):_0x1b8e9d=_0xd1b726,_0x1b8e9d;}var TurnFailedError=class extends Error{['state'];constructor(_0x280add,_0x4386f9){var _0x3099c2={_0x1cf058:0x275,_0x8410fe:0x25f,_0x1be89a:0x25f,_0x4583af:0x25e,_0x2b7fc8:0x263,_0xd185d3:0x278,_0x1bedd5:0x279};super(_0x280add instanceof Error?_0x280add[_0x2908e5(_0x3099c2._0x1cf058,0x277,0x272,0x274)]:_0x1a6e6d(0x25b,_0x3099c2._0x8410fe,0x25b,_0x3099c2._0x1be89a),{'cause':_0x280add}),this['name']=_0x1a6e6d(_0x3099c2._0x4583af,0x25c,0x25e,_0x3099c2._0x2b7fc8);function _0x1a6e6d(_0x5d65b5,_0x50a835,_0x2a84c0,_0x542a59){return _0x1b8e(_0x2a84c0-0xa7,_0x50a835);}function _0x2908e5(_0xb75284,_0x1961ca,_0x43cea1,_0x13d09f){return _0x1b8e(_0xb75284-0xc6,_0x1961ca);}this[_0x2908e5(0x277,0x27e,_0x3099c2._0xd185d3,_0x3099c2._0x1bedd5)]=_0x4386f9;}};export{TurnFailedError};
@@ -1 +1 @@
1
- (function(_0x112350,_0x27b5d9){var _0x1594f5={_0x39109c:0xc4,_0x5ae317:0xbc,_0x24b12f:0xb7,_0x207f81:0x129,_0x39c4e5:0x125,_0x44f5de:0x131,_0x18bbf4:0x12d,_0x4f6618:0x12b,_0x83739a:0x12f,_0x5a41ef:0x138,_0x557ab0:0xc3,_0xe3fdd8:0xbf,_0x481629:0x132,_0x501378:0x133,_0xf30c92:0x131,_0x40c3d0:0xbe,_0x41c23c:0xbd,_0x5a3538:0xc2},_0x3b5f0a={_0x5e82b0:0x173};function _0x4f9d89(_0x1ef462,_0x201290,_0x3c984c,_0x2a5770){return _0x32fa(_0x3c984c-0x78,_0x2a5770);}var _0x543092=_0x112350();function _0x437fc0(_0x46769e,_0x149d51,_0x249cb6,_0x1e824d){return _0x32fa(_0x149d51- -_0x3b5f0a._0x5e82b0,_0x46769e);}while(!![]){try{var _0x3b20e1=-parseInt(_0x437fc0(-0xc3,-_0x1594f5._0x39109c,-0xbf,-0xc2))/0x1*(parseInt(_0x437fc0(-0xbc,-_0x1594f5._0x5ae317,-_0x1594f5._0x24b12f,-0xc0))/0x2)+-parseInt(_0x4f9d89(0x127,_0x1594f5._0x207f81,0x12c,_0x1594f5._0x39c4e5))/0x3+parseInt(_0x4f9d89(_0x1594f5._0x44f5de,_0x1594f5._0x18bbf4,_0x1594f5._0x4f6618,_0x1594f5._0x83739a))/0x4*(-parseInt(_0x4f9d89(_0x1594f5._0x5a41ef,0x138,0x131,0x134))/0x5)+-parseInt(_0x437fc0(-0xc8,-_0x1594f5._0x557ab0,-_0x1594f5._0x557ab0,-_0x1594f5._0xe3fdd8))/0x6+parseInt(_0x4f9d89(_0x1594f5._0x481629,0x136,_0x1594f5._0x501378,0x131))/0x7*(-parseInt(_0x4f9d89(0x139,0x131,0x132,0x12d))/0x8)+parseInt(_0x4f9d89(0x126,0x12b,_0x1594f5._0x18bbf4,_0x1594f5._0xf30c92))/0x9+parseInt(_0x437fc0(-_0x1594f5._0x24b12f,-0xbd,-_0x1594f5._0x40c3d0,-0xb7))/0xa*(parseInt(_0x437fc0(-_0x1594f5._0x41c23c,-_0x1594f5._0x5a3538,-_0x1594f5._0x5ae317,-0xc5))/0xb);if(_0x3b20e1===_0x27b5d9)break;else _0x543092['push'](_0x543092['shift']());}catch(_0x168456){_0x543092['push'](_0x543092['shift']());}}}(_0x508f,0xcf4d5));function resolveAnthropicReasoningConfig(_0x5522bb){var _0x5ac1a1={_0x12bf5f:0x33,_0x2873dc:0x38,_0x2e80e9:0x3e},_0x1ba727={_0x9296a3:0x76};function _0x7a224a(_0x42f2bb,_0x5ed67a,_0x3c37a7,_0x74387d){return _0x32fa(_0x42f2bb- -_0x1ba727._0x9296a3,_0x5ed67a);}function _0x3c4ef3(_0x26b19b,_0x27582e,_0x2d7257,_0xf842f0){return _0x32fa(_0x27582e- -0x2ec,_0x2d7257);}return _0x5522bb?.[_0x7a224a(0x38,0x3a,_0x5ac1a1._0x12bf5f,0x32)]?structuredClone(_0x5522bb[_0x7a224a(_0x5ac1a1._0x2873dc,0x32,_0x5ac1a1._0x2e80e9,0x3d)]):void 0x0;}function _0x32fa(_0xf09be,_0x2026ab){_0xf09be=_0xf09be-0xae;var _0x508fa4=_0x508f();var _0x32fa6f=_0x508fa4[_0xf09be];if(_0x32fa['GhPkdR']===undefined){var _0x5bdb2a=function(_0x1832cb){var _0x356a60='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5522bb='',_0x172b90='';for(var _0x4f6146=0x0,_0x5a8647,_0x2b63a3,_0x27d8b5=0x0;_0x2b63a3=_0x1832cb['charAt'](_0x27d8b5++);~_0x2b63a3&&(_0x5a8647=_0x4f6146%0x4?_0x5a8647*0x40+_0x2b63a3:_0x2b63a3,_0x4f6146++%0x4)?_0x5522bb+=String['fromCharCode'](0xff&_0x5a8647>>(-0x2*_0x4f6146&0x6)):0x0){_0x2b63a3=_0x356a60['indexOf'](_0x2b63a3);}for(var _0x24aac5=0x0,_0x1f31b1=_0x5522bb['length'];_0x24aac5<_0x1f31b1;_0x24aac5++){_0x172b90+='%'+('00'+_0x5522bb['charCodeAt'](_0x24aac5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x172b90);};_0x32fa['gtKomW']=_0x5bdb2a,_0x32fa['sHQxBh']={},_0x32fa['GhPkdR']=!![];}var _0x56aa1d=_0x508fa4[0x0],_0x4553cf=_0xf09be+_0x56aa1d,_0xc0ba30=_0x32fa['sHQxBh'][_0x4553cf];return!_0xc0ba30?(_0x32fa6f=_0x32fa['gtKomW'](_0x32fa6f),_0x32fa['sHQxBh'][_0x4553cf]=_0x32fa6f):_0x32fa6f=_0xc0ba30,_0x32fa6f;}function resolveOpenAiReasoningConfig(_0x172b90){var _0x569e99={_0x14c6ae:0x1dc,_0x27d111:0xf2,_0x4f1121:0xed,_0xe8a8dc:0x1e5,_0x1c3652:0x1e2,_0x5dbaa2:0x1df},_0x2a58df={_0x337e9d:0x35},_0x2deb86={_0x471e7f:0x12d};if(_0x172b90?.['codex'])return structuredClone(_0x172b90[_0x3397d9(0x1df,0x1e1,0x1d8,_0x569e99._0x14c6ae)]);function _0x3397d9(_0x3f197e,_0x30a54f,_0x3217f0,_0x510703){return _0x32fa(_0x3f197e-_0x2deb86._0x471e7f,_0x510703);}function _0x287920(_0x267e54,_0x2375b5,_0x4298f4,_0x2f7a04){return _0x32fa(_0x2f7a04-_0x2a58df._0x337e9d,_0x4298f4);}return _0x172b90?.[_0x287920(_0x569e99._0x27d111,0xf2,0xe9,_0x569e99._0x4f1121)]?structuredClone(_0x172b90[_0x3397d9(_0x569e99._0xe8a8dc,_0x569e99._0x1c3652,0x1e5,_0x569e99._0x5dbaa2)]):void 0x0;}function _0x508f(){var _0x516f89=['mtm5nJu2nufKy3nNEq','nJq4Ag5qruLX','nta3nZfkufHuuuC','yw50AhjVCgLJ','mtG3mtnYDLHQDeu','mJm1ntm0ofnUtxHyAW','mtqZDLnzB1bn','y29KzxG','neP6BK51yW','ndu5mZKWBNr1zNLm','ntm1ndu1meDWwhL2yW','mJqZmZyXme1ZEMrgtW','mtyWweTcu2nz','B3bLBMfP'];_0x508f=function(){return _0x516f89;};return _0x508f();}export{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig};
1
+ (function(_0x43e74c,_0x1eb3d0){var _0x19bdfb={_0x3b82c7:0xec,_0x490f5d:0xf8,_0xd6aff2:0xf7,_0x257e74:0xe4,_0x18f815:0xe3,_0x1e1fc5:0xde,_0xeae30d:0xe6,_0x1466a3:0xfa,_0x35c143:0xf2,_0x5d1bef:0xe8,_0x11f3d4:0xee,_0x1b01bd:0xea,_0x46560f:0xe9};function _0x95aeb1(_0x58e4c7,_0x1408fc,_0x3b3d93,_0x3bb0a8){return _0x1c23(_0x1408fc- -0x7b,_0x3bb0a8);}var _0x5c0021=_0x43e74c();function _0x59b22d(_0x791d5a,_0x48fede,_0x1f5141,_0x2aaf60){return _0x1c23(_0x791d5a- -0x256,_0x2aaf60);}while(!![]){try{var _0x49e9d2=-parseInt(_0x95aeb1(_0x19bdfb._0x3b82c7,0xee,0xea,0xee))/0x1*(parseInt(_0x95aeb1(0xf0,0xf6,_0x19bdfb._0x490f5d,_0x19bdfb._0xd6aff2))/0x2)+parseInt(_0x59b22d(-_0x19bdfb._0x257e74,-_0x19bdfb._0x18f815,-0xe6,-_0x19bdfb._0x1e1fc5))/0x3+-parseInt(_0x59b22d(-_0x19bdfb._0xeae30d,-_0x19bdfb._0x3b82c7,-0xe2,-0xec))/0x4+parseInt(_0x95aeb1(_0x19bdfb._0x1466a3,0xf9,0xf3,_0x19bdfb._0x35c143))/0x5+-parseInt(_0x59b22d(-_0x19bdfb._0x5d1bef,-_0x19bdfb._0x3b82c7,-0xe3,-0xed))/0x6+-parseInt(_0x59b22d(-_0x19bdfb._0x11f3d4,-0xe7,-0xee,-0xed))/0x7*(parseInt(_0x59b22d(-_0x19bdfb._0x1b01bd,-0xeb,-0xea,-0xe8))/0x8)+-parseInt(_0x59b22d(-0xe7,-_0x19bdfb._0x18f815,-0xe7,-_0x19bdfb._0x11f3d4))/0x9*(-parseInt(_0x59b22d(-0xe9,-_0x19bdfb._0x5d1bef,-_0x19bdfb._0x46560f,-0xe6))/0xa);if(_0x49e9d2===_0x1eb3d0)break;else _0x5c0021['push'](_0x5c0021['shift']());}catch(_0x3be612){_0x5c0021['push'](_0x5c0021['shift']());}}}(_0x490f,0x901a5));function _0x1c23(_0x182ded,_0x322882){_0x182ded=_0x182ded-0x168;var _0x490fa5=_0x490f();var _0x1c23e8=_0x490fa5[_0x182ded];if(_0x1c23['kUJUpb']===undefined){var _0x117051=function(_0x2d68d9){var _0x1f1884='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x36c11d='',_0x41ddbb='';for(var _0x33f3d9=0x0,_0x1b59ab,_0x40df66,_0x145176=0x0;_0x40df66=_0x2d68d9['charAt'](_0x145176++);~_0x40df66&&(_0x1b59ab=_0x33f3d9%0x4?_0x1b59ab*0x40+_0x40df66:_0x40df66,_0x33f3d9++%0x4)?_0x36c11d+=String['fromCharCode'](0xff&_0x1b59ab>>(-0x2*_0x33f3d9&0x6)):0x0){_0x40df66=_0x1f1884['indexOf'](_0x40df66);}for(var _0x3f7b0f=0x0,_0x2d4d05=_0x36c11d['length'];_0x3f7b0f<_0x2d4d05;_0x3f7b0f++){_0x41ddbb+='%'+('00'+_0x36c11d['charCodeAt'](_0x3f7b0f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x41ddbb);};_0x1c23['DEcVKo']=_0x117051,_0x1c23['gffGVN']={},_0x1c23['kUJUpb']=!![];}var _0x49545b=_0x490fa5[0x0],_0x3b98fc=_0x182ded+_0x49545b,_0x46896c=_0x1c23['gffGVN'][_0x3b98fc];return!_0x46896c?(_0x1c23e8=_0x1c23['DEcVKo'](_0x1c23e8),_0x1c23['gffGVN'][_0x3b98fc]=_0x1c23e8):_0x1c23e8=_0x46896c,_0x1c23e8;}function _0x490f(){var _0x548130=['mJHsEvzRDNe','mJy1mdnsvLfNquK','B3bLBMfP','yw50AhjVCgLJ','mtqZmZK0nhr1veXiwG','nZbZBu9kq0C','mZu0nJKWyvDfyNj1','mJiYnty4mKDPvM5vta','mJCXmdy2me15BNrvvG','mZHOEMLjv3q','mti3nJm5oeTXvfDHEG','y29KzxG','mtK1ntaXmfjXt0jPtW'];_0x490f=function(){return _0x548130;};return _0x490f();}function resolveAnthropicReasoningConfig(_0x36c11d){var _0x419774={_0x4da9a0:0x295,_0x4545f0:0x28d,_0x3d18e8:0x297,_0x361c3d:0xaf,_0x545251:0xac},_0x436bd1={_0x23a898:0x129},_0x118115={_0x4cfac8:0x21a};function _0x1c09ec(_0x518833,_0x3571d2,_0x1a2df4,_0x4a021d){return _0x1c23(_0x3571d2- -_0x118115._0x4cfac8,_0x1a2df4);}function _0x4bedd9(_0x1ba34c,_0xb3903d,_0x620cd2,_0x144413){return _0x1c23(_0x620cd2-_0x436bd1._0x23a898,_0xb3903d);}return _0x36c11d?.[_0x4bedd9(_0x419774._0x4da9a0,_0x419774._0x4545f0,0x294,_0x419774._0x3d18e8)]?structuredClone(_0x36c11d[_0x1c09ec(-0xac,-_0x419774._0x361c3d,-_0x419774._0x545251,-0xae)]):void 0x0;}function resolveOpenAiReasoningConfig(_0x41ddbb){var _0x9aaffa={_0x2319e9:0x124,_0x3e1837:0x128,_0x2911ae:0x11b,_0x4ddad9:0x118},_0x21bb57={_0x5a1da4:0x38};function _0x69f398(_0x1b9702,_0x51f433,_0x560dd4,_0x1e1b76){return _0x1c23(_0x1b9702- -0x4f,_0x51f433);}if(_0x41ddbb?.[_0x69f398(_0x9aaffa._0x2319e9,0x123,_0x9aaffa._0x3e1837,0x121)])return structuredClone(_0x41ddbb['codex']);function _0x2a8de0(_0x155381,_0x34c275,_0xc4cb7a,_0x101f9e){return _0x1c23(_0xc4cb7a- -_0x21bb57._0x5a1da4,_0x155381);}return _0x41ddbb?.[_0x69f398(_0x9aaffa._0x2911ae,_0x9aaffa._0x4ddad9,0x116,0x122)]?structuredClone(_0x41ddbb['openai']):void 0x0;}export{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig};
@@ -1 +1 @@
1
- (function(_0x4d93b7,_0xdc3089){const _0x160c42={_0x931d30:0x166,_0x4e4760:0x172,_0x13fd4f:0x18f,_0x462a78:0x3af,_0x37270d:0x38a,_0x837e81:0x376,_0x132864:0x38f,_0x56a877:0x38c,_0x4519ad:0x396,_0x3634d9:0x384,_0x2db7f5:0x39c,_0x50d448:0x167,_0x490f9f:0x175,_0x34c39a:0x3ae,_0x3acae6:0x3ad,_0x47dbbf:0x3cd,_0x397f41:0x3b9},_0x520277={_0x49d064:0x2c7};function _0x310df7(_0x4e7073,_0x3df6d1,_0x441593,_0x12e2cf){return _0x54b4(_0x3df6d1- -_0x520277._0x49d064,_0x12e2cf);}function _0x3ad8ab(_0x49d90e,_0x18d3e3,_0x1b683a,_0x51fd88){return _0x54b4(_0x49d90e-0x22a,_0x51fd88);}const _0x52123d=_0x4d93b7();while(!![]){try{const _0x1c4730=parseInt(_0x310df7(-_0x160c42._0x931d30,-_0x160c42._0x4e4760,-_0x160c42._0x13fd4f,-0x170))/0x1+parseInt(_0x3ad8ab(0x397,0x396,_0x160c42._0x462a78,0x396))/0x2+-parseInt(_0x3ad8ab(_0x160c42._0x37270d,0x37f,_0x160c42._0x837e81,_0x160c42._0x132864))/0x3+parseInt(_0x3ad8ab(0x39f,_0x160c42._0x56a877,0x381,0x3a5))/0x4*(parseInt(_0x3ad8ab(_0x160c42._0x4519ad,_0x160c42._0x3634d9,0x380,0x397))/0x5)+-parseInt(_0x3ad8ab(_0x160c42._0x2db7f5,0x3a4,0x396,0x3ba))/0x6+-parseInt(_0x310df7(-_0x160c42._0x50d448,-0x170,-0x177,-_0x160c42._0x490f9f))/0x7+parseInt(_0x3ad8ab(0x3a7,0x3c2,_0x160c42._0x34c39a,0x3bc))/0x8*(parseInt(_0x3ad8ab(_0x160c42._0x3acae6,_0x160c42._0x47dbbf,_0x160c42._0x397f41,0x3b1))/0x9);if(_0x1c4730===_0xdc3089)break;else _0x52123d['push'](_0x52123d['shift']());}catch(_0x17e5e1){_0x52123d['push'](_0x52123d['shift']());}}}(_0x43c2,0xf079d));import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x55159b){const _0x10182d={_0x4d6c2b:0x9,_0x430aa6:0x1a,_0x5827b2:0x2,_0x50dd38:0x18,_0x18c5d3:0x3},_0x4a007d={_0x276356:0x178},_0xccfc4b={_0x3dc1ba:0x218};function _0x363c75(_0x5c9cba,_0x169157,_0x17f3e7,_0x1b9674){return _0x54b4(_0x5c9cba- -_0xccfc4b._0x3dc1ba,_0x1b9674);}function _0x4c79e3(_0x7f9f5b,_0x1afe82,_0xb0c4b8,_0x303294){return _0x54b4(_0x7f9f5b- -_0x4a007d._0x276356,_0xb0c4b8);}return normalizeContent(_0x55159b)[_0x4c79e3(0x4,-_0x10182d._0x4d6c2b,_0x10182d._0x430aa6,0xf)](_0x51076f=>_0x51076f[_0x4c79e3(0xf,0x2,0x0,0x1c)]===_0x4c79e3(-0x13,-0x24,-0xd,-0x29))[_0x4c79e3(-0xe,-_0x10182d._0x5827b2,-0x2d,0x5)](_0x5211a1=>_0x5211a1['text'])[_0x4c79e3(-0xa,-_0x10182d._0x50dd38,0x7,_0x10182d._0x18c5d3)]('\x0a\x0a');}function pushUserContentMessage(_0x2fbb42,_0x4740d1,_0x2f3069){const _0x16401d={_0x26870f:0x16d,_0x2ce5b0:0x157,_0x5d1e9a:0x226,_0x4df19d:0x230},_0x211a28={_0x12a35d:0xd},_0x331a13={_0x4e0f30:0x92};function _0x3233b6(_0x250337,_0xf456cf,_0x652229,_0x5e1cb2){return _0x54b4(_0x5e1cb2-_0x331a13._0x4e0f30,_0x250337);}if(_0x2f3069[_0x532655(_0x16401d._0x26870f,0x153,0x173,0x162)]===0x0)return;function _0x532655(_0x57ea83,_0x562d67,_0x260158,_0x305ade){return _0x54b4(_0x260158-_0x211a28._0x12a35d,_0x562d67);}_0x2fbb42[_0x532655(0x159,0x14d,0x16e,_0x16401d._0x2ce5b0)]({'type':_0x3233b6(_0x16401d._0x5d1e9a,_0x16401d._0x4df19d,0x223,0x211),'role':_0x4740d1,'content':_0x2f3069});}function hasSerializableToolUse(_0x153863){const _0x383056={_0x2633e2:0x196,_0x4fd75e:0x141,_0x5b2e8e:0x146,_0x32da8f:0x15c,_0x1a77be:0x1a2,_0x27c388:0x1ac},_0x224328={_0x39f559:0x25},_0x15b17a={_0x30ad34:0x45};function _0x3e56db(_0x4c963e,_0x514dcc,_0x233e11,_0x800756){return _0x54b4(_0x233e11-_0x15b17a._0x30ad34,_0x514dcc);}function _0x12d130(_0x59837f,_0xe24706,_0x23b9d1,_0x46d250){return _0x54b4(_0x59837f- -_0x224328._0x39f559,_0xe24706);}return _0x153863['id'][_0x3e56db(0x186,_0x383056._0x2633e2,0x1a2,0x189)]()[_0x12d130(_0x383056._0x4fd75e,0x145,_0x383056._0x5b2e8e,_0x383056._0x32da8f)]>0x0&&_0x153863['name'][_0x3e56db(0x1aa,0x1a1,_0x383056._0x1a77be,0x1aa)]()[_0x3e56db(0x1c5,0x1ba,0x1ab,_0x383056._0x27c388)]>0x0;}function hasSerializableToolResult(_0x56e0cc){const _0x3b4e9f={_0x1a7eab:0x24f,_0x414326:0x23b,_0x1cff7c:0x261,_0x5f4316:0x1dd,_0x3ffb8f:0x1f7},_0x5d6107={_0x56c3df:0x80},_0x5b37b8={_0x205a37:0xf0};function _0x3e123e(_0x3885bb,_0xf6ee4,_0x324625,_0x4dcccd){return _0x54b4(_0x3885bb-_0x5b37b8._0x205a37,_0x4dcccd);}function _0x5809f0(_0x5b3f40,_0x1e5329,_0x20d288,_0x55ae7d){return _0x54b4(_0x1e5329-_0x5d6107._0x56c3df,_0x55ae7d);}return _0x56e0cc[_0x3e123e(_0x3b4e9f._0x1a7eab,_0x3b4e9f._0x414326,_0x3b4e9f._0x1cff7c,0x265)][_0x5809f0(0x1d3,_0x3b4e9f._0x5f4316,_0x3b4e9f._0x3ffb8f,0x1f9)]()['length']>0x0;}function isResponseInputObject(_0x260ae4){const _0x2a70a3={_0x3afa36:0x45,_0x48d04c:0x4e,_0x11f36f:0x24e,_0x198e13:0x241,_0x455787:0x249,_0x58bf27:0x232,_0x4cec8d:0x12,_0x18f7a3:0x30,_0x39c194:0x3b,_0x24d494:0x54},_0x2c80a0={_0x190680:0x1a1},_0x1f42cd={_0x52e5d0:0x397};function _0x2f649f(_0xfdd5e8,_0x1d25e9,_0x29be38,_0x501ed0){return _0x54b4(_0x29be38- -_0x1f42cd._0x52e5d0,_0x1d25e9);}function _0x1b61f6(_0x28fdcb,_0xcd438a,_0x4b7bca,_0x2227b4){return _0x54b4(_0x4b7bca- -_0x2c80a0._0x190680,_0x2227b4);}if(typeof _0x260ae4!==_0x1b61f6(-0x6c,-_0x2a70a3._0x3afa36,-_0x2a70a3._0x48d04c,-0x54)||_0x260ae4===null||Array[_0x2f649f(-_0x2a70a3._0x11f36f,-_0x2a70a3._0x198e13,-_0x2a70a3._0x455787,-_0x2a70a3._0x58bf27)](_0x260ae4))return![];const _0x2cd63e=_0x260ae4;return typeof _0x2cd63e[_0x1b61f6(-0xa,-_0x2a70a3._0x4cec8d,-0x1a,-_0x2a70a3._0x18f7a3)]===_0x1b61f6(-_0x2a70a3._0x39c194,-_0x2a70a3._0x24d494,-0x51,-0x35);}function isImageToolResultBlock(_0x4f6f67){const _0x552db7={_0x31e2fa:0xc0,_0x529811:0xcb,_0x456284:0x7a,_0x413bdc:0x81,_0x518819:0x5e,_0x2ed315:0x7b,_0x57c1b9:0x5a,_0x31ccfb:0x89,_0x19954a:0xb1,_0xc0f187:0x97,_0x19041b:0x9f,_0x555335:0x88,_0xa3b939:0x93,_0x36ae01:0xa7,_0x203f9a:0xcb,_0xca9ae8:0xa8,_0xfc1038:0xb9,_0x4c6d05:0xbc,_0x3874a7:0x9f,_0x2daa92:0x113},_0x2620dd={_0x321e0d:0x88};function _0x11c43c(_0x4e0013,_0x3b4642,_0x22087d,_0x3e011d){return _0x54b4(_0x3e011d- -0x202,_0x3b4642);}function _0x431c2e(_0xb6cde0,_0x47b14f,_0x2e6b76,_0x571d67){return _0x54b4(_0xb6cde0- -_0x2620dd._0x321e0d,_0x2e6b76);}if(typeof _0x4f6f67!=='object'||_0x4f6f67===null||Array[_0x11c43c(-0xbb,-0x99,-0xc8,-0xb4)](_0x4f6f67))return![];const _0x50a966=_0x4f6f67;return _0x50a966['type']===_0x11c43c(-0x95,-_0x552db7._0x31e2fa,-_0x552db7._0x529811,-0xb5)&&_0x50a966['source']?.[_0x11c43c(-_0x552db7._0x456284,-_0x552db7._0x413bdc,-_0x552db7._0x518819,-_0x552db7._0x2ed315)]===_0x11c43c(-0x89,-_0x552db7._0x57c1b9,-_0x552db7._0x31ccfb,-0x7a)&&typeof _0x50a966[_0x11c43c(-0x97,-_0x552db7._0x19954a,-_0x552db7._0xc0f187,-_0x552db7._0x19041b)][_0x11c43c(-0x6a,-_0x552db7._0x555335,-_0x552db7._0xa3b939,-0x82)]===_0x11c43c(-_0x552db7._0x36ae01,-_0x552db7._0x203f9a,-0xbf,-0xb2)&&typeof _0x50a966[_0x11c43c(-_0x552db7._0xca9ae8,-_0x552db7._0xfc1038,-_0x552db7._0x4c6d05,-_0x552db7._0x3874a7)][_0x431c2e(0xf9,_0x552db7._0x2daa92,0xe3,0xf7)]===_0x431c2e(0xc8,0xd4,0xc6,0xd7);}function getToolResultText(_0x40a4b2){const _0x411280={_0x3dc4a0:0xa4,_0xd16aa1:0x87,_0x507d0f:0x57,_0x3aed61:0x85,_0x4e952c:0x44a,_0x5553f0:0x45e,_0x497b56:0x42d,_0x514736:0x65,_0x2822e0:0x43e,_0x21f1c0:0x55,_0x4576b4:0x4d},_0x58f754={_0x5416ff:0x1f4},_0x268d10={_0x3c205d:0x148,_0x307f00:0x137,_0x5bbbe4:0x11c,_0x29004f:0x132},_0x43e2d8={_0x16d3a8:0x4d3,_0x4c5782:0x1ac},_0x549f24={_0xd6d350:0x2e0};if(typeof _0x40a4b2===_0x2b537b(-0xb3,-0xc0,-_0x411280._0x3dc4a0,-0x92))return _0x40a4b2;function _0x356040(_0x5ed3fb,_0x31fb12,_0x4c62dc,_0x213041){return _0x54b4(_0x5ed3fb-_0x549f24._0xd6d350,_0x31fb12);}const _0x3f097c=_0x40a4b2[_0x2b537b(-_0x411280._0xd16aa1,-_0x411280._0x507d0f,-0x78,-_0x411280._0x3aed61)](_0x50c1b0=>{const _0xc72a5e={_0x32acd3:0xa7,_0x460a59:0x51};function _0x4b0b43(_0x1f45df,_0x350da9,_0x283f62,_0x864754){return _0x356040(_0x864754- -_0x43e2d8._0x16d3a8,_0x350da9,_0x283f62-_0x43e2d8._0x4c5782,_0x864754-0x57);}function _0x426040(_0x555218,_0x2a1a8e,_0x2e1bd5,_0xe51a63){return _0x2b537b(_0x555218-0x52,_0x2e1bd5,_0x2a1a8e- -_0xc72a5e._0x32acd3,_0xe51a63-_0xc72a5e._0x460a59);}return typeof _0x50c1b0===_0x426040(-0x13c,-_0x268d10._0x3c205d,-_0x268d10._0x307f00,-0x14e)&&_0x50c1b0!==null&&_0x50c1b0[_0x426040(-0x108,-0x114,-_0x268d10._0x5bbbe4,-_0x268d10._0x29004f)]==='text';})[_0x356040(_0x411280._0x4e952c,_0x411280._0x5553f0,_0x411280._0x497b56,0x434)](_0x33d6cb=>_0x33d6cb['text'])[_0x2b537b(-_0x411280._0x514736,-0xa4,-0x86,-0x91)]('\x0a\x0a')[_0x356040(0x43d,0x437,_0x411280._0x2822e0,0x430)]();function _0x2b537b(_0x337d0e,_0x36a24b,_0x1e136d,_0x503036){return _0x54b4(_0x1e136d- -_0x58f754._0x5416ff,_0x36a24b);}return _0x3f097c['length']>0x0?_0x3f097c:_0x2b537b(-0x67,-_0x411280._0x21f1c0,-0x6a,-_0x411280._0x4576b4);}function _0x43c2(){const _0x41877b=['Aw5WDxrFC2nOzw1H','BMfTzq','A2v5CW','DhLWzq','yMfZzty0','DxnLCI12AxnPyMXL','vg9VBcbYzxr1CM5LzcbPBwfNzsbJB250zw50lG','zNvUy3rPB25Fy2fSBf9VDxrWDxq','CMvHC29UAw5N','Bwf4vg9Rzw5Z','Aw1Hz2u','AxnbCNjHEq','CM9Szq','C3rYAw5N','y29UDgvUDa','C3rHDhvZ','B2jQzwn0','C3rYAwn0','otuZnZD5wgTPAeW','ANnVBL9Zy2HLBwe','mtaWndK5mdDcExHOCeK','B3v0Chv0rM9YBwf0','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','Aw5WDxrFDgv4Da','B3v0Chv0x3rLEhq','DhjPBq','DMLZAwjPBgL0Eq','Dg9VBf91C2vFAwq','mtCWnJCWm0DWsffKuq','ChvZAa','zgvZy3jPChrPB24','C291CMnL','zgf0ytO','Dgv4Da','BgvUz3rO','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','BwvZC2fNzxm','CMvHC29UAw5NlMvUy3j5ChrLzf9JB250zw50','BwfW','o2jHC2u2ncW','nufwyvLvEq','mJm3nZqXngf1Bhj5uq','AM9PBG','Aw5WDxq','Dg9VBf91C2u','Dg9VBf9Yzxn1Bhq','nJm2oduZmMXRBhHnEa','zwzMB3j0','DxnLCG','mte5mtKYohzWrgDMsW','C3vTBwfYEq','Aw5WDxrFAw1Hz2u','Dg9VBhm','C2nOzw1H','C3rYAw5NAwz5','yxnZAxn0yw50','zMLSDgvY','mtuXotm1mNnSrvverG','Bw9KzwW','BwvZC2fNzq','BwvKAwfFDhLWzq','zgf0yq','zNvUy3rPB24','mte3DeDMEePY'];_0x43c2=function(){return _0x41877b;};return _0x43c2();}function getToolResultImages(_0x5afab3){const _0x57d00a={_0x533aaf:0x133,_0x3409e3:0x11e,_0x10d445:0x136,_0x32d7ac:0x123,_0x105c4b:0xb5,_0x43881a:0xcb,_0x46e284:0xe5,_0x545c9d:0xe9},_0x122417={_0x4fa3e0:0x284};function _0x8cb156(_0x1b1c75,_0x3f7a94,_0x48e034,_0x1329c4){return _0x54b4(_0x48e034- -_0x122417._0x4fa3e0,_0x1b1c75);}function _0x325045(_0xc9a411,_0x5cef57,_0x151fcb,_0x3e211b){return _0x54b4(_0x5cef57- -0x247,_0xc9a411);}return Array[_0x8cb156(-_0x57d00a._0x533aaf,-_0x57d00a._0x3409e3,-_0x57d00a._0x10d445,-_0x57d00a._0x32d7ac)](_0x5afab3)?_0x5afab3[_0x325045(-_0x57d00a._0x105c4b,-_0x57d00a._0x43881a,-_0x57d00a._0x46e284,-_0x57d00a._0x545c9d)](isImageToolResultBlock):[];}function resolveReasoningVisibility(_0x7ca7f4){const _0x1d53c6={_0x8abc94:0x4fb,_0x34ddb9:0x4e2,_0x1ff303:0xdb,_0x1b240a:0x106,_0x3e54b9:0x121,_0x1387f3:0x12e},_0x3a16d6={_0x986cee:0x36f};function _0x13a10e(_0x3bd84c,_0xe99185,_0x505ae8,_0x3f7373){return _0x54b4(_0x3bd84c- -0x68,_0xe99185);}function _0x24d759(_0x186a02,_0x20b188,_0x415c3d,_0x17e475){return _0x54b4(_0x20b188-_0x3a16d6._0x986cee,_0x186a02);}return _0x7ca7f4[_0x24d759(0x50e,_0x1d53c6._0x8abc94,_0x1d53c6._0x34ddb9,0x4fd)]?.[_0x13a10e(0xf6,_0x1d53c6._0x1ff303,_0x1d53c6._0x1b240a,0xd7)]??_0x13a10e(_0x1d53c6._0x3e54b9,0x125,0x13d,_0x1d53c6._0x1387f3);}function createOpenAiResponsesReasoning(_0x2f95cd){const _0x2b6268={_0x3800cb:0x2da,_0x30f389:0x2f4,_0x475bcb:0x305,_0x3891be:0x2f9,_0x5d2e83:0x304,_0x1b1f50:0x1ce,_0xa634e9:0x1b3,_0x418eb1:0x19f,_0x4ad327:0x1c6,_0x402ffa:0x1c6,_0x20e6c3:0x1b1,_0x1fb4f2:0x2f6,_0x4feedf:0x2e3,_0x4ac703:0x2fd,_0x5f5818:0x2e3,_0x2580c4:0x2db,_0x12de2c:0x2eb,_0xfea226:0x2c6,_0x146b80:0x2ce,_0x35c8e0:0x2f0,_0x10f0b6:0x306,_0x47fa79:0x2d3,_0x4f3b20:0x2b8,_0x13555d:0x2b6},_0x2b8a92={_0x1de97b:0x3d},_0x1b2442=resolveOpenAiReasoningConfig(_0x2f95cd[_0x3a40ba(_0x2b6268._0x3800cb,0x2f9,_0x2b6268._0x30f389,_0x2b6268._0x475bcb)]);if(!_0x1b2442)return{};function _0x49bef6(_0x354136,_0x29480c,_0x3a34bb,_0xd4cb48){return _0x54b4(_0x354136-_0x2b8a92._0x1de97b,_0xd4cb48);}const _0x481831={},_0x455d92=_0x2f95cd[_0x3a40ba(0x311,_0x2b6268._0x3891be,_0x2b6268._0x5d2e83,0x309)]?.['codex']!==void 0x0,_0x1f278d=(!_0x455d92&&_0x49bef6(0x1b3,0x19d,_0x2b6268._0x1b1f50,0x1c8)in _0x1b2442?_0x1b2442[_0x49bef6(_0x2b6268._0xa634e9,_0x2b6268._0x418eb1,0x19a,_0x2b6268._0x4ad327)]:void 0x0)??(resolveReasoningVisibility(_0x2f95cd)===_0x49bef6(_0x2b6268._0x402ffa,_0x2b6268._0x20e6c3,0x1da,0x1b6)?'auto':void 0x0);function _0x3a40ba(_0x35e29,_0x305b47,_0x267a06,_0x2b024){return _0x54b4(_0x305b47-0x16d,_0x35e29);}return _0x1b2442[_0x3a40ba(_0x2b6268._0x1fb4f2,0x2e0,_0x2b6268._0x4feedf,0x2f6)]&&(_0x481831[_0x3a40ba(0x2e3,0x2e0,0x2f4,0x2cc)]=_0x1b2442[_0x3a40ba(_0x2b6268._0x4ac703,0x2e0,0x2f6,0x2ea)]),_0x1f278d&&(_0x481831[_0x3a40ba(0x2f4,_0x2b6268._0x5f5818,_0x2b6268._0x2580c4,_0x2b6268._0x12de2c)]=_0x1f278d),{...!_0x455d92&&_0x3a40ba(0x2cf,_0x2b6268._0xfea226,0x2e3,_0x2b6268._0x146b80)in _0x1b2442&&_0x1b2442['includeEncryptedContent']===![]?{}:{'include':[_0x3a40ba(0x2c7,0x2d6,0x2d9,_0x2b6268._0x35c8e0)]},...Object[_0x3a40ba(0x2ee,0x2f3,0x2f4,_0x2b6268._0x10f0b6)](_0x481831)[_0x3a40ba(0x2ec,_0x2b6268._0x47fa79,_0x2b6268._0x4f3b20,_0x2b6268._0x13555d)]>0x0?{'reasoning':_0x481831}:{}};}function pushAssistantProviderState(_0x3fa40b,_0x4aa865,_0x4dca9f){const _0x321591={_0x218e74:0x35,_0x19a2d0:0x2a,_0x35f09b:0x1,_0x1e9df3:0x3ae,_0xd86622:0x3ad,_0x162607:0x8,_0x24133f:0x27,_0x1c0b2b:0x17,_0x5bf5da:0x3c6,_0x2d5c0e:0x3d3,_0x5e993e:0x3a4,_0x5b4dca:0x386,_0x4da96c:0x6,_0x1f8c7d:0x1c},_0xb543b2={_0x2e411e:0x247};if(_0x4aa865[_0x16d521(-_0x321591._0x218e74,-_0x321591._0x19a2d0,-0x44,-0x27)]!==_0x16d521(0x15,0x2,_0x321591._0x35f09b,-0x1a))return![];if(!isProviderStateCompatible(_0x4aa865,_0x4dca9f))return![];const _0x4dc04b=_0x4aa865['providerState']?.[_0x5705a8(0x3b8,0x39a,0x3b7,_0x321591._0x1e9df3)]??[];if(_0x4dc04b[_0x5705a8(0x3a5,0x3be,0x3bd,_0x321591._0xd86622)]===0x0)return![];for(const _0x100212 of _0x4dc04b){if(isResponseInputObject(_0x100212)){const _0x5f935=structuredClone(_0x100212);delete _0x5f935[_0x16d521(-_0x321591._0x162607,-_0x321591._0x24133f,-0x34,-_0x321591._0x1c0b2b)],_0x5f935['type']===_0x5705a8(0x3ed,_0x321591._0x5bf5da,0x3d2,_0x321591._0x2d5c0e)&&!Array[_0x5705a8(_0x321591._0x5e993e,0x37d,_0x321591._0x5b4dca,0x395)](_0x5f935['summary'])&&(_0x5f935[_0x16d521(_0x321591._0x4da96c,-0x3,_0x321591._0x1f8c7d,-0x1)]=[]),_0x3fa40b['push'](_0x5f935);}}function _0x16d521(_0x5676d2,_0x208815,_0x5ca7c2,_0x3e8842){return _0x54b4(_0x208815- -0x179,_0x5676d2);}function _0x5705a8(_0x46e8ab,_0x221aa2,_0x4439cd,_0x3c6274){return _0x54b4(_0x3c6274-_0xb543b2._0x2e411e,_0x221aa2);}return!![];}function _0x54b4(_0x25a74b,_0x51c042){_0x25a74b=_0x25a74b-0x14d;const _0x43c2ee=_0x43c2();let _0x54b4a1=_0x43c2ee[_0x25a74b];if(_0x54b4['sitvvG']===undefined){var _0x10c2f8=function(_0x1efad3){const _0x2f6602='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x55159b='',_0x51076f='';for(let _0x5211a1=0x0,_0x2fbb42,_0x4740d1,_0x2f3069=0x0;_0x4740d1=_0x1efad3['charAt'](_0x2f3069++);~_0x4740d1&&(_0x2fbb42=_0x5211a1%0x4?_0x2fbb42*0x40+_0x4740d1:_0x4740d1,_0x5211a1++%0x4)?_0x55159b+=String['fromCharCode'](0xff&_0x2fbb42>>(-0x2*_0x5211a1&0x6)):0x0){_0x4740d1=_0x2f6602['indexOf'](_0x4740d1);}for(let _0x153863=0x0,_0x56e0cc=_0x55159b['length'];_0x153863<_0x56e0cc;_0x153863++){_0x51076f+='%'+('00'+_0x55159b['charCodeAt'](_0x153863)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x51076f);};_0x54b4['axekvM']=_0x10c2f8,_0x54b4['kKWiIS']={},_0x54b4['sitvvG']=!![];}const _0x16b975=_0x43c2ee[0x0],_0x24fec4=_0x25a74b+_0x16b975,_0x27c902=_0x54b4['kKWiIS'][_0x24fec4];return!_0x27c902?(_0x54b4a1=_0x54b4['axekvM'](_0x54b4a1),_0x54b4['kKWiIS'][_0x24fec4]=_0x54b4a1):_0x54b4a1=_0x27c902,_0x54b4a1;}function toOpenAiResponsesRequest(_0x1028ac){const _0x3cd11e={_0x1d8cae:0x14f,_0x1a8f50:0xe4,_0x1a1a98:0xe6,_0x449d6e:0x11c,_0x3850c9:0x118,_0x29fad2:0x131,_0xf4138:0x132,_0x3439dd:0x14a,_0x5d5f2b:0x185,_0x13ee3b:0x176,_0x28674d:0x171,_0x3842e7:0x167,_0x28dfe1:0x14b,_0x1943db:0x152,_0x583094:0x17a,_0x16fbaf:0x151,_0x53e8d6:0x15b,_0x204e05:0x14d,_0x5e94d3:0x142,_0x14b0b2:0x14f,_0x2252c6:0x13f,_0x59c4bc:0x135,_0x1e7a4f:0x158,_0x36b08a:0x16d,_0x72c28a:0x16c,_0x39e0de:0x15a,_0x37e740:0x160,_0x425af0:0x159,_0x45852b:0x196,_0x48bced:0x191,_0x2ed4e8:0x17e,_0x4cf318:0x161,_0xbb1f6a:0xfd,_0x172408:0xf7,_0x402a91:0xfa,_0x314acc:0x151,_0x38838c:0x174,_0x1c1f8d:0x190,_0x58205e:0x115,_0x1807c5:0x112,_0x278fec:0x17b,_0x3a1b02:0x147,_0x1e7ef6:0x12c,_0x12066f:0x13a,_0x342d02:0xd8,_0x326c7b:0x107,_0xbbe340:0x116,_0x269c26:0x12e,_0x1a9b25:0x117,_0x1524bf:0xe2,_0x352e5f:0xed,_0x3d17ac:0xec,_0x257be4:0x115,_0x466d80:0xfe,_0x1f96b7:0x151,_0x476291:0x137,_0x169e5a:0x127,_0x17f1f2:0x138,_0xb2ef41:0x13d,_0x480deb:0x122,_0x2315b4:0x136,_0x253baf:0x177,_0x105cd1:0x133,_0x289827:0x145,_0xb9449b:0x163,_0x17a8cc:0x17c,_0x441f6d:0x170,_0x52906b:0x109,_0x54514a:0x100,_0x36638a:0x10b,_0x5abc75:0x13b,_0x269ebe:0x128,_0x55151a:0x133,_0x26ea69:0x12b,_0x3b42a8:0x145,_0x3c632a:0x12a,_0x11d0de:0x134,_0x1e259e:0x178,_0x33c8aa:0x158,_0x4cbbf4:0x135,_0x4a70b8:0x14a,_0x5388fe:0x166},_0x38cf98={_0x176901:0x107,_0x36bf8e:0xda,_0x260f01:0xe9,_0x2bc8f9:0xde,_0x50ea52:0x4e0,_0x1f881f:0x4fb,_0x541ae5:0xeb},_0x3b87e8={_0x2c620f:0x3a3},_0x5117d3={_0x50bc55:0x281},_0x16e79c=[];function _0x2ba7ac(_0x58cf41,_0x59b2b0,_0x2b9a33,_0x4fd2c0){return _0x54b4(_0x59b2b0- -_0x5117d3._0x50bc55,_0x2b9a33);}function _0x39e739(_0x507ad9,_0x26ef7b,_0x4f2e5a,_0x3fc593){return _0x54b4(_0x4f2e5a- -0xa,_0x507ad9);}for(const _0x1b27e3 of _0x1028ac[_0x39e739(_0x3cd11e._0x1d8cae,0x164,0x15e,0x149)]){if(pushAssistantProviderState(_0x16e79c,_0x1b27e3,_0x1028ac))continue;const _0x3293d3=[];for(const _0x250493 of normalizeContent(_0x1b27e3['content'])){if(_0x250493[_0x2ba7ac(-0x10b,-0xfa,-_0x3cd11e._0x1a8f50,-_0x3cd11e._0x1a1a98)]===_0x2ba7ac(-0x126,-_0x3cd11e._0x449d6e,-_0x3cd11e._0x3850c9,-0x127)){_0x3293d3['push'](_0x1b27e3[_0x2ba7ac(-_0x3cd11e._0x29fad2,-_0x3cd11e._0xf4138,-0x134,-_0x3cd11e._0x3439dd)]===_0x39e739(_0x3cd11e._0x5d5f2b,_0x3cd11e._0x13ee3b,_0x3cd11e._0x28674d,0x17e)?{'type':_0x39e739(_0x3cd11e._0x3842e7,_0x3cd11e._0x28dfe1,_0x3cd11e._0x1943db,0x162),'text':_0x250493[_0x39e739(_0x3cd11e._0x583094,_0x3cd11e._0x16fbaf,_0x3cd11e._0x53e8d6,0x16e)]}:{'type':_0x39e739(_0x3cd11e._0x204e05,_0x3cd11e._0x5e94d3,0x151,0x14d),'text':_0x250493['text']});continue;}if(_0x250493['type']===_0x39e739(_0x3cd11e._0x14b0b2,_0x3cd11e._0x2252c6,0x143,_0x3cd11e._0x59c4bc)){_0x3293d3['push']({'type':_0x39e739(0x17a,_0x3cd11e._0x1e7a4f,_0x3cd11e._0x36b08a,_0x3cd11e._0x72c28a),'image_url':_0x39e739(0x178,0x160,_0x3cd11e._0x39e0de,0x15a)+_0x250493[_0x39e739(0x169,_0x3cd11e._0x37e740,_0x3cd11e._0x425af0,0x144)][_0x39e739(0x182,_0x3cd11e._0x45852b,0x176,_0x3cd11e._0x48bced)]+_0x39e739(_0x3cd11e._0x583094,_0x3cd11e._0x2ed4e8,_0x3cd11e._0x4cf318,0x14e)+_0x250493[_0x2ba7ac(-0x126,-0x11e,-_0x3cd11e._0xbb1f6a,-0x134)][_0x2ba7ac(-_0x3cd11e._0x172408,-0x100,-0x114,-0xe6)]});continue;}pushUserContentMessage(_0x16e79c,_0x1b27e3['role'],_0x3293d3['splice'](0x0));if(_0x250493[_0x2ba7ac(-0x108,-_0x3cd11e._0x402a91,-0xff,-0x105)]===_0x2ba7ac(-0x115,-0x111,-_0x3cd11e._0x3850c9,-0x105)){if(!hasSerializableToolUse(_0x250493))continue;_0x16e79c[_0x39e739(0x148,_0x3cd11e._0x314acc,0x157,0x173)]({'type':'function_call','call_id':_0x250493['id'],'name':_0x250493[_0x39e739(0x169,0x16e,0x17b,0x192)],'arguments':JSON[_0x39e739(0x179,_0x3cd11e._0x38838c,0x170,_0x3cd11e._0x1c1f8d)](_0x250493[_0x2ba7ac(-_0x3cd11e._0x58205e,-_0x3cd11e._0x1807c5,-0x11c,-0x11f)]??{})});continue;}if(_0x250493[_0x39e739(0x19c,0x17d,0x17d,0x186)]===_0x39e739(0x164,_0x3cd11e._0x278fec,_0x3cd11e._0x3842e7,0x181)){if(!hasSerializableToolResult(_0x250493))continue;const _0x4df25d=getToolResultText(_0x250493[_0x39e739(0x143,0x12a,_0x3cd11e._0x3a1b02,0x165)]);_0x16e79c[_0x2ba7ac(-0xff,-0x120,-_0x3cd11e._0x1e7ef6,-_0x3cd11e._0x12066f)]({'type':_0x2ba7ac(-_0x3cd11e._0x342d02,-0xf6,-0xd7,-0xdc),'call_id':_0x250493[_0x2ba7ac(-_0x3cd11e._0x326c7b,-0x122,-_0x3cd11e._0xbbe340,-0x125)],'output':_0x4df25d});const _0x56251d=getToolResultImages(_0x250493['content']);_0x56251d['length']>0x0&&_0x16e79c[_0x2ba7ac(-0x106,-0x120,-_0x3cd11e._0x269c26,-_0x3cd11e._0x1a9b25)]({'type':_0x2ba7ac(-0xf3,-0x102,-_0x3cd11e._0x1524bf,-_0x3cd11e._0x352e5f),'role':_0x2ba7ac(-_0x3cd11e._0x3d17ac,-0x10d,-_0x3cd11e._0x257be4,-_0x3cd11e._0x466d80),'content':[{'type':_0x39e739(_0x3cd11e._0x36b08a,0x136,_0x3cd11e._0x1f96b7,_0x3cd11e._0x476291),'text':_0x2ba7ac(-0x145,-_0x3cd11e._0x169e5a,-_0x3cd11e._0x17f1f2,-_0x3cd11e._0xb2ef41)+_0x250493[_0x2ba7ac(-0x132,-_0x3cd11e._0x480deb,-_0x3cd11e._0x480deb,-_0x3cd11e._0x2315b4)]+'.'},..._0x56251d[_0x39e739(0x17f,_0x3cd11e._0x253baf,0x160,0x178)](_0x5c32a7=>({'type':'input_image','image_url':_0x39e739(0x13a,0x14d,0x15a,0x16d)+_0x5c32a7[_0x2ba7ac(-0x107,-0x11e,-0x116,-0x12c)][_0x2ba7ac(-0xe4,-0x101,-0x106,-0xea)]+_0x2ba7ac(-0x125,-0x116,-0x113,-0x125)+_0x5c32a7[_0x2ba7ac(-0x10b,-0x11e,-0x116,-0x108)][_0x2ba7ac(-0x102,-0x100,-0xe6,-0x10a)]}))]});}}pushUserContentMessage(_0x16e79c,_0x1b27e3[_0x39e739(0x142,_0x3cd11e._0x105cd1,_0x3cd11e._0x289827,0x13b)],_0x3293d3);}return{...createOpenAiResponsesReasoning(_0x1028ac),'model':_0x1028ac[_0x39e739(_0x3cd11e._0xb9449b,0x188,0x174,0x175)],'instructions':systemToInstructions(_0x1028ac['system']),'input':_0x16e79c,..._0x1028ac['maxTokens']!==void 0x0?{'max_output_tokens':_0x1028ac[_0x39e739(0x183,_0x3cd11e._0x17a8cc,0x183,_0x3cd11e._0x441f6d)]}:{},'tools':_0x1028ac[_0x2ba7ac(-0x114,-_0x3cd11e._0x52906b,-0x115,-_0x3cd11e._0x54514a)]['map'](_0x25b1d8=>{const _0xa58a75={_0x2f62dc:0x133,_0x4999f6:0x8f};function _0x2453e5(_0x5d0f4,_0x183dcf,_0xee3869,_0x1b9c77){return _0x39e739(_0xee3869,_0x183dcf-0x1b1,_0x1b9c77-_0x3b87e8._0x2c620f,_0x1b9c77-0x126);}function _0x3edb8b(_0x2ac59b,_0xadaea0,_0x531afc,_0xa849a2){return _0x39e739(_0x2ac59b,_0xadaea0-_0xa58a75._0x2f62dc,_0xa849a2- -_0xa58a75._0x4999f6,_0xa849a2-0xfa);}return{'type':_0x3edb8b(0xfb,_0x38cf98._0x176901,_0x38cf98._0x36bf8e,_0x38cf98._0x260f01),'name':_0x25b1d8[_0x3edb8b(0xfe,_0x38cf98._0x2bc8f9,0xfe,0xec)],'description':_0x25b1d8[_0x2453e5(0x4fa,_0x38cf98._0x50ea52,0x4e9,_0x38cf98._0x1f881f)],'parameters':_0x25b1d8[_0x3edb8b(0x101,0xd2,0xdd,_0x38cf98._0x541ae5)]};}),..._0x1028ac[_0x2ba7ac(-_0x3cd11e._0x36638a,-0x129,-_0x3cd11e._0x5abc75,-_0x3cd11e._0x269ebe)]?{'text':{'format':{'type':_0x2ba7ac(-_0x3cd11e._0x55151a,-_0x3cd11e._0x26ea69,-0x121,-0x13d),'name':_0x1028ac[_0x2ba7ac(-_0x3cd11e._0x480deb,-0x129,-_0x3cd11e._0x3b42a8,-0x13d)]['name']??'structured_output','schema':_0x1028ac[_0x2ba7ac(-_0x3cd11e._0x3c632a,-0x129,-_0x3cd11e._0x11d0de,-0x12e)][_0x39e739(0x188,_0x3cd11e._0x1e259e,0x16f,0x181)],'strict':_0x1028ac['outputFormat'][_0x39e739(_0x3cd11e._0x33c8aa,_0x3cd11e._0x4cbbf4,_0x3cd11e._0x4a70b8,_0x3cd11e._0x5388fe)]??!![]}}}:{}};}export{toOpenAiResponsesRequest};
1
+ (function(_0x224883,_0x293018){const _0x52f613={_0xa92bcc:0x86,_0x481f66:0x268,_0x5a360d:0x27c,_0x2f73f8:0x281,_0x1bca47:0x25b,_0x4c4c1b:0x273,_0x541300:0xa4,_0x3551cc:0x8b,_0x27070f:0x97,_0x39daf8:0x96,_0x348ae2:0x77,_0x540c05:0x65,_0x2f4623:0x28d,_0x534662:0x286,_0x1e04f7:0x64,_0x34bf2f:0x75,_0x2d9162:0xa3,_0x2007b9:0x283,_0x16f95e:0x62},_0x5d5baf={_0x427999:0x16b};function _0x53dc25(_0x94839b,_0x33bc8e,_0x40e0b2,_0x1117f2){return _0x10d1(_0x1117f2- -_0x5d5baf._0x427999,_0x33bc8e);}const _0x4eae1c=_0x224883();function _0x3f548c(_0x3b561b,_0x4cec3f,_0x34a487,_0x41004b){return _0x10d1(_0x34a487- -0x346,_0x3b561b);}while(!![]){try{const _0x318f95=parseInt(_0x53dc25(-0x95,-_0x52f613._0xa92bcc,-0xbc,-0x9e))/0x1*(-parseInt(_0x3f548c(-0x281,-0x280,-_0x52f613._0x481f66,-0x25d))/0x2)+-parseInt(_0x3f548c(-0x282,-_0x52f613._0x5a360d,-_0x52f613._0x2f73f8,-0x268))/0x3*(parseInt(_0x3f548c(-0x25b,-0x241,-_0x52f613._0x1bca47,-_0x52f613._0x4c4c1b))/0x4)+-parseInt(_0x53dc25(-_0x52f613._0x541300,-0x7f,-0x8a,-0x9f))/0x5*(-parseInt(_0x53dc25(-0x8d,-_0x52f613._0x3551cc,-_0x52f613._0x27070f,-_0x52f613._0x39daf8))/0x6)+-parseInt(_0x53dc25(-_0x52f613._0x348ae2,-0x62,-_0x52f613._0x540c05,-0x7d))/0x7+parseInt(_0x3f548c(-_0x52f613._0x2f4623,-_0x52f613._0x534662,-0x28d,-0x275))/0x8*(parseInt(_0x53dc25(-_0x52f613._0x1e04f7,-0x96,-_0x52f613._0x34bf2f,-0x81))/0x9)+parseInt(_0x53dc25(-0x9d,-0x71,-0x7b,-0x87))/0xa*(-parseInt(_0x53dc25(-0xbc,-0xb3,-0xbf,-_0x52f613._0x2d9162))/0xb)+parseInt(_0x3f548c(-0x29b,-0x28c,-_0x52f613._0x2007b9,-0x294))/0xc*(parseInt(_0x53dc25(-0x9a,-_0x52f613._0x16f95e,-0x95,-0x7c))/0xd);if(_0x318f95===_0x293018)break;else _0x4eae1c['push'](_0x4eae1c['shift']());}catch(_0x554da1){_0x4eae1c['push'](_0x4eae1c['shift']());}}}(_0x4fae,0x3d752));import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x32c85b){const _0x1a6fc7={_0x3b5f08:0x218,_0x24d221:0x221,_0x51cbcc:0x22a,_0x3e437b:0x5a};function _0x2503ab(_0x373d1c,_0x3b7537,_0x36e72b,_0x102b3f){return _0x10d1(_0x102b3f- -0x307,_0x36e72b);}function _0x29cf9c(_0x4e5aa4,_0x3c29e7,_0x3329cb,_0x4c05f6){return _0x10d1(_0x3c29e7- -0x5f,_0x4c05f6);}return normalizeContent(_0x32c85b)[_0x2503ab(-_0x1a6fc7._0x3b5f08,-0x241,-_0x1a6fc7._0x24d221,-_0x1a6fc7._0x51cbcc)](_0xff694c=>_0xff694c[_0x29cf9c(0x8f,0x83,0x69,0x80)]===_0x2503ab(-0x247,-0x223,-0x20b,-0x22b))[_0x29cf9c(0x82,0x6c,0x75,_0x1a6fc7._0x3e437b)](_0x1ce3c8=>_0x1ce3c8[_0x29cf9c(0x9d,0x7d,0x99,0x92)])['join']('\x0a\x0a');}function _0x4fae(){const _0x4bee4c=['mtm4mJbzyvj2uNy','mZG3nJmZrMrdr2jS','CMvHC29UAw5N','zgf0yq','y29KzxG','C3vTBwfYEq','C2nOzw1H','zgvZy3jPChrPB24','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','nZC0DMr6yLvM','B3v0Chv0x3rLEhq','B2jQzwn0','DxnLCG','Dg9VBhm','C3LZDgvT','y29UDgvUDa','Dgv4Da','zMLSDgvY','mMPjwhvZtq','ChjVDMLKzxjtDgf0zq','yxv0BW','BwvZC2fNzxm','DhLWzq','zNvUy3rPB24','nJeZme5StvzQAq','DhjPBq','zNvUy3rPB25Fy2fSBa','BMfTzq','Aw5WDxq','C3rHDhvZ','mJqZvenwDg5M','ndb1rxbxCe8','C3rYDwn0DxjLzf9VDxrWDxq','vg9VBcbYzxr1CM5LzcbPBwfNzsbJB250zw50lG','mJu3otiYn1rZt0TjuG','otC1ywjeDurR','DMLZAwjPBgL0Eq','Aw5WDxrFAw1Hz2u','Dg9VBf91C2u','zgf0ytO','B3v0Chv0rM9YBwf0','zNvUy3rPB25Fy2fSBf9VDxrWDxq','BwvKAwfFDhLWzq','C291CMnL','Bw9KzwW','mtG1odrcAwLbugG','C3rYAw5N','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','Aw5WDxrFC2nOzw1H','BgvUz3rO','o2jHC2u2ncW','Bwf4vg9Rzw5Z','Dg9VBf91C2vFAwq','Aw1Hz2u','ChvZAa','mtuYotuYywHJzgrJ','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','odqYotfHrujbB0y','DxnLCI12AxnPyMXL','AxnbCNjHEq','mtu1mwTPsxPWvW','CM9Szq','yMfZzty0','BwfW'];_0x4fae=function(){return _0x4bee4c;};return _0x4fae();}function pushUserContentMessage(_0xb56cca,_0x33687c,_0x6b0b89){const _0x233432={_0x7dc7f8:0x126,_0x5481d6:0x11a,_0x5b65e4:0x11e},_0x219fbc={_0x5080fe:0x180};if(_0x6b0b89[_0x2239a4(0x122,0x11a,0x11c,_0x233432._0x7dc7f8)]===0x0)return;function _0x3e692a(_0x2fa336,_0x293d5a,_0x534499,_0x35da70){return _0x10d1(_0x534499- -_0x219fbc._0x5080fe,_0x35da70);}function _0x2239a4(_0x4f88c7,_0x2313de,_0x35b725,_0x5804e7){return _0x10d1(_0x4f88c7-0x65,_0x2313de);}_0xb56cca[_0x2239a4(0x127,0x117,_0x233432._0x5481d6,_0x233432._0x5b65e4)]({'type':'message','role':_0x33687c,'content':_0x6b0b89});}function hasSerializableToolUse(_0x1a6680){const _0x150616={_0x416e95:0x403,_0x277555:0x412,_0xa5c943:0x40b,_0x2bdcd6:0x3f7,_0x44c787:0x3e8};function _0x5a7db7(_0x3a15a3,_0x207a40,_0x5dccfe,_0x2fd452){return _0x10d1(_0x207a40-0x2eb,_0x3a15a3);}function _0x170293(_0xdb05fa,_0xadc8e8,_0x59a45e,_0x9fe5db){return _0x10d1(_0xadc8e8-0x32d,_0x9fe5db);}return _0x1a6680['id'][_0x170293(_0x150616._0x416e95,_0x150616._0x277555,_0x150616._0xa5c943,0x3f9)]()['length']>0x0&&_0x1a6680[_0x170293(0x411,0x414,_0x150616._0x2bdcd6,0x3fe)]['trim']()[_0x170293(0x3d7,0x3ea,_0x150616._0x44c787,0x3f3)]>0x0;}function hasSerializableToolResult(_0x15f808){const _0x5105e0={_0x424126:0x40f,_0x28ad3c:0x407,_0x23591c:0x3fa,_0x4eb4cf:0x3f2,_0x34f868:0x443,_0x552194:0x407,_0x3847d8:0x413},_0x527d36={_0x50a0be:0x347};function _0x11968c(_0x294e1b,_0x3e0b49,_0x4d103d,_0x380d24){return _0x10d1(_0x3e0b49-_0x527d36._0x50a0be,_0x4d103d);}function _0x287460(_0x15f953,_0x13ed81,_0x7974e8,_0x4e8eb4){return _0x10d1(_0x4e8eb4-0x244,_0x13ed81);}return _0x15f808[_0x11968c(_0x5105e0._0x424126,_0x5105e0._0x28ad3c,_0x5105e0._0x23591c,_0x5105e0._0x4eb4cf)][_0x11968c(0x43e,0x42c,_0x5105e0._0x34f868,0x440)]()[_0x11968c(_0x5105e0._0x552194,0x404,_0x5105e0._0x424126,_0x5105e0._0x3847d8)]>0x0;}function isResponseInputObject(_0x21f451){const _0x1bf938={_0x48a93e:0x245,_0x4edced:0x243,_0x1aef13:0x289,_0x56fcaa:0x2a4,_0x227ce7:0x269},_0x5487de={_0xd365a8:0x343};function _0x29b64e(_0x33a6a6,_0x465b85,_0x1cf124,_0x3e857c){return _0x10d1(_0x1cf124- -0x77,_0x465b85);}if(typeof _0x21f451!=='object'||_0x21f451===null||Array[_0x4f3600(-0x27c,-0x27c,-0x298,-0x28c)](_0x21f451))return![];const _0x229442=_0x21f451;function _0x4f3600(_0x29d841,_0x17c412,_0x50e79f,_0x2b15f6){return _0x10d1(_0x29d841- -_0x5487de._0xd365a8,_0x50e79f);}return typeof _0x229442[_0x4f3600(-0x261,-0x255,-_0x1bf938._0x48a93e,-_0x1bf938._0x4edced)]===_0x4f3600(-_0x1bf938._0x1aef13,-_0x1bf938._0x56fcaa,-_0x1bf938._0x227ce7,-0x28d);}function isImageToolResultBlock(_0x3cafde){const _0x56bb63={_0x29693e:0x233,_0x2fa8c2:0x221,_0x20da4d:0x22e,_0x530416:0x23b,_0x1375e4:0x18a,_0x2012c6:0x1ba,_0x5935e0:0x19b,_0x41088a:0x197,_0x20d219:0x192,_0x5916a0:0x176,_0x2006a9:0x21c,_0x346ca5:0x22c};if(typeof _0x3cafde!==_0x53c33e(_0x56bb63._0x29693e,0x227,_0x56bb63._0x2fa8c2,_0x56bb63._0x20da4d)||_0x3cafde===null||Array[_0x53c33e(0x234,0x239,0x213,0x21e)](_0x3cafde))return![];function _0x253170(_0x571c0a,_0x583342,_0x56856c,_0xc2a155){return _0x10d1(_0x571c0a- -0x261,_0x56856c);}function _0x53c33e(_0x4fd2a5,_0x4f349c,_0x4b3a6f,_0x161eb2){return _0x10d1(_0x161eb2-0x157,_0x4f349c);}const _0x3ec522=_0x3cafde;return _0x3ec522[_0x53c33e(0x233,_0x56bb63._0x530416,0x245,0x239)]===_0x253170(-0x1a0,-_0x56bb63._0x1375e4,-_0x56bb63._0x2012c6,-_0x56bb63._0x5935e0)&&_0x3ec522['source']?.['type']===_0x253170(-_0x56bb63._0x41088a,-0x18f,-0x18d,-0x18f)&&typeof _0x3ec522['source']['media_type']==='string'&&typeof _0x3ec522['source'][_0x253170(-_0x56bb63._0x20d219,-0x182,-0x17f,-_0x56bb63._0x5916a0)]===_0x53c33e(_0x56bb63._0x2006a9,0x202,_0x56bb63._0x346ca5,0x211);}function getToolResultText(_0x1b7b65){const _0x329c0e={_0x5629c8:0x1fb,_0x32fdcb:0x1e2,_0x8f4e87:0x1ef,_0x354da5:0x1d1,_0x16a3f1:0x1b7,_0x421370:0x1ab,_0x412014:0x1af,_0x9763b5:0x195},_0x16f5b4={_0x3136f5:0x225,_0x413cdd:0x20d,_0x260363:0x23f,_0x2d3a39:0x230,_0x54859a:0x23a},_0x5333a1={_0x1a00ea:0x192,_0x5f3ab6:0x61a},_0x8294b9={_0x38883a:0x192,_0x422a7b:0x3ea};if(typeof _0x1b7b65===_0x4b8403(-_0x329c0e._0x5629c8,-_0x329c0e._0x32fdcb,-0x1dd,-_0x329c0e._0x8f4e87))return _0x1b7b65;function _0x4b8403(_0x149bbc,_0x508e58,_0x3e576e,_0xda435d){return _0x10d1(_0x508e58- -0x29c,_0xda435d);}function _0x48c7dd(_0x410942,_0x5a814a,_0x491945,_0x2c1d7c){return _0x10d1(_0x2c1d7c- -0x2e6,_0x491945);}const _0x529bb4=_0x1b7b65['filter'](_0x5addde=>{function _0x11a10c(_0x2d1dd4,_0x231cc,_0x5abe7b,_0x5f0194){return _0x4b8403(_0x2d1dd4-_0x8294b9._0x38883a,_0x2d1dd4-_0x8294b9._0x422a7b,_0x5abe7b-0x18f,_0x5abe7b);}function _0x596354(_0x38263a,_0x237251,_0x3165fb,_0x30aaca){return _0x4b8403(_0x38263a-_0x5333a1._0x1a00ea,_0x38263a-_0x5333a1._0x5f3ab6,_0x3165fb-0x96,_0x30aaca);}return typeof _0x5addde===_0x11a10c(_0x16f5b4._0x3136f5,0x235,_0x16f5b4._0x413cdd,_0x16f5b4._0x260363)&&_0x5addde!==null&&_0x5addde[_0x11a10c(_0x16f5b4._0x2d3a39,0x21a,0x225,_0x16f5b4._0x54859a)]===_0x11a10c(0x22a,0x229,0x20f,0x232);})[_0x4b8403(-0x1e8,-_0x329c0e._0x354da5,-0x1d1,-0x1b4)](_0x40f58a=>_0x40f58a['text'])['join']('\x0a\x0a')[_0x4b8403(-0x1d0,-_0x329c0e._0x16a3f1,-0x19e,-0x19b)]();return _0x529bb4['length']>0x0?_0x529bb4:_0x4b8403(-_0x329c0e._0x421370,-_0x329c0e._0x412014,-0x1c9,-_0x329c0e._0x9763b5);}function getToolResultImages(_0x1de968){return Array['isArray'](_0x1de968)?_0x1de968['filter'](isImageToolResultBlock):[];}function resolveReasoningVisibility(_0x48b337){const _0x4872ac={_0x6e6ae:0x16d,_0x524920:0x16a,_0x3b911c:0x162,_0x3010b6:0x17c,_0x8d5024:0x1cd,_0x485f23:0x1eb,_0x30f9f4:0x1e6,_0x21d310:0x1e6};function _0x1239f8(_0x4d4107,_0x3aadbb,_0x48a21f,_0xccc8dc){return _0x10d1(_0x48a21f-0x120,_0x4d4107);}function _0x9b30ae(_0x5ea234,_0x5ea6fa,_0x12e4fb,_0x5dce2f){return _0x10d1(_0x12e4fb- -0x252,_0x5ea6fa);}return _0x48b337[_0x9b30ae(-_0x4872ac._0x6e6ae,-0x171,-0x184,-0x187)]?.[_0x9b30ae(-_0x4872ac._0x524920,-0x14c,-_0x4872ac._0x3b911c,-_0x4872ac._0x3010b6)]??_0x1239f8(_0x4872ac._0x8d5024,_0x4872ac._0x485f23,_0x4872ac._0x30f9f4,_0x4872ac._0x21d310);}function createOpenAiResponsesReasoning(_0x57c02a){const _0x3f3193={_0x148702:0xd5,_0x4fa2d1:0xea,_0x2c7ba4:0x55,_0x4c12fc:0x58,_0x3bf49b:0x75,_0x12d10c:0x71,_0x206fbd:0x60,_0x177e5c:0xc3,_0x45b8d2:0xe0,_0x4b6848:0xdd,_0x2c7cce:0xd2,_0x42c361:0xc7,_0x551514:0xf6,_0x117c36:0xc9,_0x952d29:0x6b,_0x437176:0x72,_0xb79db7:0x7e},_0x45a269={_0x2bfa58:0x1a3},_0x2ff39e={_0xfaf116:0x126},_0x2eaaa8=resolveOpenAiReasoningConfig(_0x57c02a['reasoning']);if(!_0x2eaaa8)return{};const _0x2d9ca0={},_0x3910d8=_0x57c02a[_0x2cd8bb(-0xba,-_0x3f3193._0x148702,-0xb5,-_0x3f3193._0x4fa2d1)]?.[_0x2cd8bb(-0xca,-0xd3,-0xbf,-0xe2)]!==void 0x0;function _0x5a6cde(_0x590421,_0x2d2f39,_0x5f123e,_0x1c1e7){return _0x10d1(_0x590421- -_0x2ff39e._0xfaf116,_0x5f123e);}const _0x767837=(!_0x3910d8&&'summary'in _0x2eaaa8?_0x2eaaa8[_0x5a6cde(-_0x3f3193._0x2c7ba4,-0x3c,-_0x3f3193._0x4c12fc,-_0x3f3193._0x3bf49b)]:void 0x0)??(resolveReasoningVisibility(_0x57c02a)===_0x5a6cde(-0x60,-_0x3f3193._0x12d10c,-0x52,-_0x3f3193._0x206fbd)?_0x2cd8bb(-0xd1,-_0x3f3193._0x177e5c,-_0x3f3193._0x45b8d2,-_0x3f3193._0x4b6848):void 0x0);_0x2eaaa8['effort']&&(_0x2d9ca0['effort']=_0x2eaaa8['effort']);_0x767837&&(_0x2d9ca0[_0x2cd8bb(-0xd3,-_0x3f3193._0x2c7cce,-0xc2,-_0x3f3193._0x42c361)]=_0x767837);function _0x2cd8bb(_0x5b8303,_0x6c99d,_0x34287d,_0x56c40f){return _0x10d1(_0x6c99d- -_0x45a269._0x2bfa58,_0x56c40f);}return{...!_0x3910d8&&_0x2cd8bb(-0x103,-0xe8,-_0x3f3193._0x551514,-_0x3f3193._0x117c36)in _0x2eaaa8&&_0x2eaaa8[_0x5a6cde(-_0x3f3193._0x952d29,-_0x3f3193._0x437176,-_0x3f3193._0xb79db7,-0x6a)]===![]?{}:{'include':['reasoning.encrypted_content']},...Object['keys'](_0x2d9ca0)['length']>0x0?{'reasoning':_0x2d9ca0}:{}};}function _0x10d1(_0x3801f9,_0x28ffce){_0x3801f9=_0x3801f9-0xb1;const _0x4fae9d=_0x4fae();let _0x10d170=_0x4fae9d[_0x3801f9];if(_0x10d1['SmRaGK']===undefined){var _0x4bb85d=function(_0x3fb747){const _0x2c0e1f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x32c85b='',_0xff694c='';for(let _0x1ce3c8=0x0,_0xb56cca,_0x33687c,_0x6b0b89=0x0;_0x33687c=_0x3fb747['charAt'](_0x6b0b89++);~_0x33687c&&(_0xb56cca=_0x1ce3c8%0x4?_0xb56cca*0x40+_0x33687c:_0x33687c,_0x1ce3c8++%0x4)?_0x32c85b+=String['fromCharCode'](0xff&_0xb56cca>>(-0x2*_0x1ce3c8&0x6)):0x0){_0x33687c=_0x2c0e1f['indexOf'](_0x33687c);}for(let _0x1a6680=0x0,_0x15f808=_0x32c85b['length'];_0x1a6680<_0x15f808;_0x1a6680++){_0xff694c+='%'+('00'+_0x32c85b['charCodeAt'](_0x1a6680)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xff694c);};_0x10d1['faHrap']=_0x4bb85d,_0x10d1['YJbMiC']={},_0x10d1['SmRaGK']=!![];}const _0x17e09c=_0x4fae9d[0x0],_0x14aa5a=_0x3801f9+_0x17e09c,_0x4dde5b=_0x10d1['YJbMiC'][_0x14aa5a];return!_0x4dde5b?(_0x10d170=_0x10d1['faHrap'](_0x10d170),_0x10d1['YJbMiC'][_0x14aa5a]=_0x10d170):_0x10d170=_0x4dde5b,_0x10d170;}function pushAssistantProviderState(_0x4e9860,_0x3ad1eb,_0x5a269a){const _0x46d7a5={_0x25c352:0x263,_0x5cbe7d:0x278,_0x499d1c:0x3a,_0x18f0b1:0x243,_0x21f68d:0x251,_0x22a5bd:0x285,_0x15ac6c:0x27d,_0x17aac3:0x276,_0x311bb8:0x250,_0x3c83a1:0x262,_0x387f33:0x25e,_0x3cb690:0x2d,_0x13a89f:0x57,_0x53b736:0x37},_0x55f13b={_0x412c38:0x194};function _0x3b4df8(_0x15b25f,_0x2a6d1b,_0x59c6a5,_0x160aa0){return _0x10d1(_0x59c6a5- -0x8a,_0x15b25f);}if(_0x3ad1eb[_0x3b4df8(0x3f,0x29,0x3f,0x42)]!=='assistant')return![];if(!isProviderStateCompatible(_0x3ad1eb,_0x5a269a))return![];const _0x2a4dce=_0x3ad1eb[_0xf0bc57(0x280,_0x46d7a5._0x25c352,_0x46d7a5._0x5cbe7d,0x273)]?.[_0x3b4df8(0x2f,0x4c,_0x46d7a5._0x499d1c,0x1c)]??[];if(_0x2a4dce[_0xf0bc57(0x260,_0x46d7a5._0x18f0b1,0x26b,_0x46d7a5._0x21f68d)]===0x0)return![];for(const _0x479fab of _0x2a4dce){if(isResponseInputObject(_0x479fab)){const _0x24c73f=structuredClone(_0x479fab);delete _0x24c73f[_0xf0bc57(0x284,0x269,_0x46d7a5._0x22a5bd,_0x46d7a5._0x15ac6c)],_0x24c73f[_0xf0bc57(0x28d,0x26a,0x263,_0x46d7a5._0x17aac3)]===_0xf0bc57(_0x46d7a5._0x311bb8,_0x46d7a5._0x21f68d,0x25a,_0x46d7a5._0x3c83a1)&&!Array['isArray'](_0x24c73f[_0xf0bc57(_0x46d7a5._0x387f33,0x284,0x285,0x265)])&&(_0x24c73f[_0x3b4df8(0x4a,_0x46d7a5._0x3cb690,0x47,0x63)]=[]),_0x4e9860[_0x3b4df8(_0x46d7a5._0x13a89f,0x24,0x38,_0x46d7a5._0x53b736)](_0x24c73f);}}function _0xf0bc57(_0x19457d,_0x436fae,_0x9a8d6c,_0x5b06e5){return _0x10d1(_0x5b06e5-_0x55f13b._0x412c38,_0x19457d);}return!![];}function toOpenAiResponsesRequest(_0x1dab16){const _0x5eb9b6={_0x2bad4e:0x314,_0x56435b:0x3b0,_0x1afc48:0x392,_0x5a2ccb:0x315,_0x586bb1:0x312,_0x5c1cb8:0x301,_0x1c99ce:0x385,_0x25af3c:0x2f0,_0x442f8c:0x305,_0x493862:0x31c,_0x251c1e:0x307,_0x14dfd4:0x38c,_0x1f8d00:0x31b,_0x1af87c:0x363,_0x3b7492:0x36b,_0x53093c:0x378,_0x5218a4:0x2f5,_0x40faa2:0x306,_0x4929fb:0x2d7,_0x1ae11d:0x2fb,_0x14f2a4:0x2f8,_0x31c738:0x2d1,_0x579e59:0x2e6,_0x122cda:0x2c9,_0xf2bd30:0x303,_0x5cd4a8:0x384,_0x261220:0x354,_0x51a33d:0x376,_0x1e65d7:0x375,_0x28f24b:0x360,_0x3feadf:0x36d,_0x5d3d1c:0x35e,_0x15b72f:0x2ea,_0x26453b:0x308,_0x582b5d:0x2e5,_0x13d8ad:0x2e1,_0x3df640:0x39b,_0x12f6c7:0x379,_0x31dedd:0x3b8,_0xb429c2:0x383,_0x471b38:0x39e,_0x72ef68:0x395,_0x42dd10:0x319,_0x26778e:0x2e5,_0x29269b:0x357,_0x196133:0x30e,_0x161abb:0x313,_0xc0734:0x374,_0x2582f9:0x30b,_0x58c5b8:0x318,_0x3142ad:0x320,_0x745033:0x30f,_0x1e8588:0x318,_0x433001:0x2fd,_0x204db1:0x2f9,_0xb8796f:0x38a,_0x326a23:0x391,_0x66d372:0x37d,_0x1bdb32:0x376,_0xde4c54:0x2fd,_0x550b92:0x2fe,_0x75f89a:0x31d,_0x5d1f9d:0x2e0,_0x1c0e50:0x383,_0x215498:0x339,_0xb451e6:0x388,_0x1d77bd:0x397,_0x11dae3:0x36a,_0x261691:0x35c},_0x260e56={_0x3af0a3:0x1ac,_0xa82f31:0x18e,_0x1ee1ae:0x1a8,_0x3d0a21:0x19b,_0x237e5a:0x1d3,_0x79b807:0x1c8,_0x2879f4:0x1d3},_0x4064a8={_0x534190:0x4c2,_0x59637e:0x193},_0x29935e={_0x1b9b7e:0x260},_0x159291=[];for(const _0x3f594b of _0x1dab16[_0x53014b(_0x5eb9b6._0x2bad4e,0x301,0x30b,0x31d)]){if(pushAssistantProviderState(_0x159291,_0x3f594b,_0x1dab16))continue;const _0x15df0a=[];for(const _0x21bd76 of normalizeContent(_0x3f594b[_0x7b01d7(0x3b1,_0x5eb9b6._0x56435b,0x397,_0x5eb9b6._0x1afc48)])){if(_0x21bd76[_0x53014b(_0x5eb9b6._0x5a2ccb,0x334,_0x5eb9b6._0x586bb1,_0x5eb9b6._0x5c1cb8)]===_0x7b01d7(0x393,_0x5eb9b6._0x1c99ce,0x3a7,0x393)){_0x15df0a['push'](_0x3f594b['role']==='assistant'?{'type':_0x53014b(0x309,0x300,_0x5eb9b6._0x25af3c,_0x5eb9b6._0x442f8c),'text':_0x21bd76[_0x53014b(0x30f,_0x5eb9b6._0x493862,_0x5eb9b6._0x251c1e,0x2f5)]}:{'type':'input_text','text':_0x21bd76[_0x7b01d7(_0x5eb9b6._0x14dfd4,0x381,0x37d,0x393)]});continue;}if(_0x21bd76[_0x53014b(_0x5eb9b6._0x5a2ccb,_0x5eb9b6._0x1f8d00,0x324,0x32f)]===_0x7b01d7(_0x5eb9b6._0x1af87c,0x368,_0x5eb9b6._0x3b7492,_0x5eb9b6._0x53093c)){_0x15df0a[_0x53014b(_0x5eb9b6._0x5218a4,_0x5eb9b6._0x40faa2,_0x5eb9b6._0x4929fb,0x2e6)]({'type':_0x53014b(0x2e4,_0x5eb9b6._0x1ae11d,_0x5eb9b6._0x14f2a4,_0x5eb9b6._0x31c738),'image_url':_0x53014b(_0x5eb9b6._0x579e59,_0x5eb9b6._0x31c738,_0x5eb9b6._0x122cda,_0x5eb9b6._0xf2bd30)+_0x21bd76[_0x7b01d7(_0x5eb9b6._0x5cd4a8,0x370,_0x5eb9b6._0x261220,0x36e)][_0x7b01d7(_0x5eb9b6._0x51a33d,_0x5eb9b6._0x1e65d7,_0x5eb9b6._0x28f24b,_0x5eb9b6._0x3feadf)]+_0x7b01d7(_0x5eb9b6._0x5d3d1c,0x391,0x395,_0x5eb9b6._0x1e65d7)+_0x21bd76[_0x53014b(_0x5eb9b6._0x15b72f,_0x5eb9b6._0x26453b,_0x5eb9b6._0x582b5d,_0x5eb9b6._0x13d8ad)][_0x7b01d7(_0x5eb9b6._0x3df640,0x398,0x386,0x386)]});continue;}pushUserContentMessage(_0x159291,_0x3f594b['role'],_0x15df0a['splice'](0x0));if(_0x21bd76['type']===_0x53014b(_0x5eb9b6._0x582b5d,0x2f0,0x2e3,0x2ce)){if(!hasSerializableToolUse(_0x21bd76))continue;_0x159291[_0x7b01d7(0x376,0x359,0x397,_0x5eb9b6._0x12f6c7)]({'type':_0x7b01d7(_0x5eb9b6._0x31dedd,_0x5eb9b6._0xb429c2,0x37f,0x39d),'call_id':_0x21bd76['id'],'name':_0x21bd76[_0x7b01d7(0x38b,0x39d,_0x5eb9b6._0xb429c2,_0x5eb9b6._0x471b38)],'arguments':JSON['stringify'](_0x21bd76[_0x7b01d7(0x388,0x393,_0x5eb9b6._0x72ef68,0x39f)]??{})});continue;}if(_0x21bd76[_0x53014b(0x315,0x30c,0x31a,_0x5eb9b6._0x42dd10)]==='tool_result'){if(!hasSerializableToolResult(_0x21bd76))continue;const _0x53d34e=getToolResultText(_0x21bd76[_0x53014b(0x30e,0x2ef,0x305,0x301)]);_0x159291['push']({'type':_0x53014b(0x2e8,0x2f7,_0x5eb9b6._0x26778e,0x2d6),'call_id':_0x21bd76[_0x7b01d7(0x386,0x361,_0x5eb9b6._0x29269b,0x377)],'output':_0x53d34e});const _0x41c2c0=getToolResultImages(_0x21bd76[_0x53014b(_0x5eb9b6._0x196133,_0x5eb9b6._0x161abb,_0x5eb9b6._0x5c1cb8,0x32d)]);_0x41c2c0[_0x7b01d7(0x394,0x38c,_0x5eb9b6._0x53093c,_0x5eb9b6._0xc0734)]>0x0&&_0x159291['push']({'type':'message','role':_0x53014b(_0x5eb9b6._0x2582f9,0x327,_0x5eb9b6._0x58c5b8,_0x5eb9b6._0x3142ad),'content':[{'type':'input_text','text':_0x53014b(0x307,0x30d,_0x5eb9b6._0x745033,_0x5eb9b6._0x1e8588)+_0x21bd76['tool_use_id']+'.'},..._0x41c2c0['map'](_0x3967b0=>({'type':_0x53014b(0x2e4,0x2e0,0x2e8,0x2f8),'image_url':_0x53014b(0x2e6,0x2fb,0x2e0,0x2c6)+_0x3967b0[_0x53014b(0x2ea,0x2d1,0x2d9,0x2f2)][_0x7b01d7(0x364,0x37a,0x36d,0x36d)]+_0x53014b(0x2f1,0x2f9,0x2d2,0x2f9)+_0x3967b0[_0x7b01d7(0x38d,0x370,0x376,0x36e)][_0x7b01d7(0x36e,0x3a0,0x376,0x386)]}))]});}}pushUserContentMessage(_0x159291,_0x3f594b[_0x53014b(0x2fc,0x2eb,_0x5eb9b6._0x433001,_0x5eb9b6._0x204db1)],_0x15df0a);}function _0x7b01d7(_0x68af90,_0x68e356,_0xdc7386,_0x54d27c){return _0x10d1(_0x54d27c-0x2b7,_0xdc7386);}function _0x53014b(_0x4fea4a,_0xbeddbc,_0x4e49da,_0x342d5f){return _0x10d1(_0x4fea4a-0x233,_0x4e49da);}return{...createOpenAiResponsesReasoning(_0x1dab16),'model':_0x1dab16[_0x53014b(0x2eb,0x2d5,0x2da,0x2db)],'instructions':systemToInstructions(_0x1dab16[_0x7b01d7(0x383,0x399,_0x5eb9b6._0xb8796f,_0x5eb9b6._0x326a23)]),'input':_0x159291,..._0x1dab16['maxTokens']!==void 0x0?{'max_output_tokens':_0x1dab16[_0x7b01d7(_0x5eb9b6._0x66d372,0x36a,0x393,_0x5eb9b6._0x1bdb32)]}:{},'tools':_0x1dab16[_0x53014b(0x30c,_0x5eb9b6._0xde4c54,0x2ef,0x326)][_0x53014b(_0x5eb9b6._0x550b92,_0x5eb9b6._0x75f89a,_0x5eb9b6._0x550b92,_0x5eb9b6._0x5d1f9d)](_0x451282=>{function _0x184ba3(_0x11a37b,_0x5d18f9,_0x4ea5d2,_0x2fef07){return _0x53014b(_0x2fef07- -_0x29935e._0x1b9b7e,_0x5d18f9-0x1a9,_0x5d18f9,_0x2fef07-0x22);}function _0x55cf1a(_0x1c713c,_0x253ccc,_0x2879b3,_0x14e111){return _0x53014b(_0x2879b3- -_0x4064a8._0x534190,_0x253ccc-_0x4064a8._0x59637e,_0x1c713c,_0x14e111-0xee);}return{'type':_0x55cf1a(-_0x260e56._0x3af0a3,-0x195,-0x1ac,-_0x260e56._0xa82f31),'name':_0x451282[_0x55cf1a(-0x18a,-0x194,-_0x260e56._0x1ee1ae,-_0x260e56._0x3d0a21)],'description':_0x451282[_0x184ba3(0xaa,0xa2,0x8d,0xa6)],'parameters':_0x451282[_0x55cf1a(-_0x260e56._0x237e5a,-_0x260e56._0x79b807,-_0x260e56._0x2879f4,-0x1d0)]};}),..._0x1dab16[_0x7b01d7(0x356,0x34e,_0x5eb9b6._0x1c0e50,_0x5eb9b6._0x3b7492)]?{'text':{'format':{'type':'json_schema','name':_0x1dab16['outputFormat']['name']??_0x53014b(0x31f,_0x5eb9b6._0x215498,_0x5eb9b6._0x1e8588,0x337),'schema':_0x1dab16['outputFormat'][_0x7b01d7(_0x5eb9b6._0xb451e6,0x36e,_0x5eb9b6._0x1d77bd,0x389)],'strict':_0x1dab16[_0x7b01d7(0x387,_0x5eb9b6._0x11dae3,_0x5eb9b6._0x261691,_0x5eb9b6._0x3b7492)]['strict']??!![]}}}:{}};}export{toOpenAiResponsesRequest};
@@ -1 +1 @@
1
- function _0x37e993(_0x3ce23b,_0x30b5d4,_0x5780a5,_0x226d72){var _0x3108f2={_0xf81675:0x2d1};return _0xde13(_0x226d72-_0x3108f2._0xf81675,_0x30b5d4);}function _0x520e(){var _0x117458=['mtu5ndv1vu1XCK8','C3rYAw5N','mteYuNz2Bgzj','ndjvvKnOqKq','qwjVCNrfCNjVCG','ywjVCNq','t3bLCMf0Aw9UigfIB3j0zwq','mJCXmdq4vfnWCNPX','ywrKrxzLBNrmAxn0zw5LCG','ntK1ntCYCvjqDhDp','mJe2rhzmC3rp','otyWotCWmgrTy0fgvW','qujpuLrFrvjs','BwvZC2fNzq','BgvUz3rO','mJe0nZaYqu5hAvjQ','ywjVCNrLza','mtCXnde1mLrPvxfIEa','mJK4yuXND21S','y29Kzq','CMvHC29U','CMvTB3zLrxzLBNrmAxn0zw5LCG','BMfTzq','mtuZnty1u2fTEhjy'];_0x520e=function(){return _0x117458;};return _0x520e();}(function(_0x41b81e,_0x6136c7){var _0x2a337e={_0x37a542:0xe1,_0x59ead8:0xe2,_0x54e9d0:0xd7,_0x3cbda8:0xeb,_0x241268:0xfc,_0x22fb8f:0xf7,_0x455190:0xf0,_0x2a4a80:0xfb,_0x4be61b:0xfd,_0x118731:0xef,_0x4e6103:0xec,_0x220607:0xf2,_0x2f9583:0x110,_0x40d00e:0x110,_0xa198ef:0x105,_0x793bf8:0x106,_0x317962:0xf2,_0x1ab9a0:0xee,_0x1e071f:0xe0,_0x5b6323:0xe5,_0x511fb9:0xe7,_0x187c6d:0x108,_0x26c6b0:0xf4,_0x3cf6f5:0xf4},_0x3e2861=_0x41b81e();function _0x56537c(_0xf9f6c4,_0x4437a1,_0x24469b,_0x17ef4f){return _0xde13(_0x24469b- -0x243,_0xf9f6c4);}function _0x59a58a(_0x29829a,_0x3a5c0c,_0x386b4e,_0x11c8e7){return _0xde13(_0x11c8e7- -0x55,_0x386b4e);}while(!![]){try{var _0x98e724=parseInt(_0x56537c(-_0x2a337e._0x37a542,-0xe6,-_0x2a337e._0x59ead8,-_0x2a337e._0x54e9d0))/0x1+parseInt(_0x56537c(-_0x2a337e._0x3cbda8,-_0x2a337e._0x241268,-_0x2a337e._0x22fb8f,-_0x2a337e._0x455190))/0x2*(parseInt(_0x56537c(-0xec,-_0x2a337e._0x2a4a80,-0xf1,-_0x2a337e._0x4be61b))/0x3)+-parseInt(_0x56537c(-0xf3,-0xe5,-_0x2a337e._0x118731,-0xf8))/0x4*(-parseInt(_0x56537c(-_0x2a337e._0x4e6103,-0xf6,-_0x2a337e._0x220607,-0xed))/0x5)+-parseInt(_0x59a58a(_0x2a337e._0x2f9583,_0x2a337e._0x40d00e,_0x2a337e._0xa198ef,_0x2a337e._0x793bf8))/0x6*(-parseInt(_0x56537c(-0xf9,-_0x2a337e._0x317962,-_0x2a337e._0x1ab9a0,-_0x2a337e._0x22fb8f))/0x7)+parseInt(_0x56537c(-0xf3,-0xf4,-0xea,-_0x2a337e._0x1e071f))/0x8*(-parseInt(_0x56537c(-_0x2a337e._0x5b6323,-0xf2,-_0x2a337e._0x511fb9,-0xe5))/0x9)+-parseInt(_0x59a58a(0x113,0x114,0x10f,_0x2a337e._0x187c6d))/0xa+-parseInt(_0x56537c(-_0x2a337e._0x26c6b0,-_0x2a337e._0x3cf6f5,-0xf8,-0xff))/0xb;if(_0x98e724===_0x6136c7)break;else _0x3e2861['push'](_0x3e2861['shift']());}catch(_0x4268e1){_0x3e2861['push'](_0x3e2861['shift']());}}}(_0x520e,0x81f03));function _0x20bf3a(_0x581400,_0x5ec04b,_0x329989,_0x530aee){return _0xde13(_0x581400-0x342,_0x329989);}var OperationAbortedError=class extends Error{[_0x20bf3a(0x48f,0x497,0x487,0x48c)]=_0x20bf3a(0x4a0,0x494,0x4a9,0x495);constructor(_0x16ac4b=_0x20bf3a(0x49a,0x490,0x495,0x48e)){var _0x2659e6={_0x284aa0:0x11b,_0xbb9277:0x127},_0x5a48a8={_0x318b95:0x5be,_0x5cfe4f:0x17e};super(_0x16ac4b);function _0xf0d76(_0x3a0fba,_0x4cd31f,_0x1b16f2,_0x533f3a){return _0x20bf3a(_0x533f3a- -_0x5a48a8._0x318b95,_0x4cd31f-_0x5a48a8._0x5cfe4f,_0x4cd31f,_0x533f3a-0x198);}this['name']=_0xf0d76(-_0x2659e6._0x284aa0,-_0x2659e6._0xbb9277,-0x12e,-0x126);}};function toAbortError(_0x12b2ab){var _0x24aea0={_0x3220fb:0x22a,_0x3fd3e8:0x233,_0x3ae03f:0x236,_0x1022d1:0x22b,_0x23f8c2:0x22b,_0x30eea2:0x3cd},_0xf125cb={_0x2f5b65:0x6cb,_0x519c2a:0x50},_0x54eebf={_0x58c2c7:0xdf};if(isAbortError(_0x12b2ab))return _0x12b2ab;function _0xafac8d(_0x216326,_0x30c1ba,_0x21fefa,_0x5a1941){return _0x20bf3a(_0x216326- -_0x54eebf._0x58c2c7,_0x30c1ba-0x58,_0x30c1ba,_0x5a1941-0x1b1);}if(_0x12b2ab instanceof Error)return new OperationAbortedError(_0x12b2ab[_0x39e89d(-_0x24aea0._0x3220fb,-0x226,-0x222,-_0x24aea0._0x3fd3e8)]);function _0x39e89d(_0x44141e,_0x5606b5,_0x593504,_0x17672d){return _0x20bf3a(_0x44141e- -_0xf125cb._0x2f5b65,_0x5606b5-0x6b,_0x5606b5,_0x17672d-_0xf125cb._0x519c2a);}if(typeof _0x12b2ab===_0x39e89d(-_0x24aea0._0x3ae03f,-_0x24aea0._0x1022d1,-0x22b,-_0x24aea0._0x23f8c2)&&_0x12b2ab[_0xafac8d(0x3c3,_0x24aea0._0x30eea2,0x3c4,0x3cf)]>0x0)return new OperationAbortedError(_0x12b2ab);return new OperationAbortedError();}function isAbortError(_0x294ad9){var _0xa30c96={_0x27ead5:0x80,_0xeaf6c7:0x100,_0x111ecc:0x10b,_0x14965f:0x107},_0x13aab4={_0x5b0bea:0x58f,_0x3e9194:0x155},_0x28e47e={_0x7a4dd4:0x1b6,_0x3f056b:0xa4};function _0x27ea74(_0x570293,_0x524efe,_0x822022,_0x1eed1d){return _0x37e993(_0x570293-_0x28e47e._0x7a4dd4,_0x570293,_0x822022-_0x28e47e._0x3f056b,_0x524efe- -0x395);}function _0x3376ba(_0x4cc549,_0x5c4988,_0x540002,_0x4312f3){return _0x20bf3a(_0x5c4988- -_0x13aab4._0x5b0bea,_0x5c4988-_0x13aab4._0x3e9194,_0x4312f3,_0x4312f3-0x1ad);}return _0x294ad9 instanceof OperationAbortedError||_0x294ad9 instanceof Error&&(_0x294ad9[_0x27ea74(0x82,0x8c,_0xa30c96._0x27ead5,0x8c)]==='AbortError'||_0x3376ba(-0x104,-_0xa30c96._0xeaf6c7,-_0xa30c96._0x111ecc,-0x101)in _0x294ad9&&_0x294ad9[_0x3376ba(-_0xa30c96._0x14965f,-0x100,-0x108,-0xf9)]==='ABORT_ERR');}function throwIfAborted(_0x211f60){var _0x486b53={_0x49ece3:0x265,_0x5a49a8:0x269,_0x27b16f:0x29d,_0x12b8bd:0x28c},_0x16fa3f={_0x579809:0x223,_0x432814:0x198};if(!_0x211f60?.[_0xad2054(0x268,_0x486b53._0x49ece3,0x262,_0x486b53._0x5a49a8)])return;function _0xad2054(_0x5b52bb,_0x28d8a3,_0x441101,_0xdf06cf){return _0x20bf3a(_0xdf06cf- -_0x16fa3f._0x579809,_0x28d8a3-0x1a,_0x28d8a3,_0xdf06cf-_0x16fa3f._0x432814);}function _0x4725c9(_0x20d5ff,_0x3624a9,_0x5560fe,_0x20c3dd){return _0x37e993(_0x20d5ff-0x1a,_0x5560fe,_0x5560fe-0x1b7,_0x20d5ff- -0x18a);}throw toAbortError(_0x211f60[_0x4725c9(0x295,_0x486b53._0x27b16f,0x28c,_0x486b53._0x12b8bd)]);}function _0xde13(_0xee5937,_0x37f587){_0xee5937=_0xee5937-0x14a;var _0x520eed=_0x520e();var _0xde1390=_0x520eed[_0xee5937];if(_0xde13['WlVFKT']===undefined){var _0x330681=function(_0x3edbc9){var _0x41c8fd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x16ac4b='',_0x12b2ab='';for(var _0x294ad9=0x0,_0x211f60,_0x11e7d8,_0x57011c=0x0;_0x11e7d8=_0x3edbc9['charAt'](_0x57011c++);~_0x11e7d8&&(_0x211f60=_0x294ad9%0x4?_0x211f60*0x40+_0x11e7d8:_0x11e7d8,_0x294ad9++%0x4)?_0x16ac4b+=String['fromCharCode'](0xff&_0x211f60>>(-0x2*_0x294ad9&0x6)):0x0){_0x11e7d8=_0x41c8fd['indexOf'](_0x11e7d8);}for(var _0xefa197=0x0,_0x2dce2e=_0x16ac4b['length'];_0xefa197<_0x2dce2e;_0xefa197++){_0x12b2ab+='%'+('00'+_0x16ac4b['charCodeAt'](_0xefa197)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x12b2ab);};_0xde13['QnWwCO']=_0x330681,_0xde13['vOwgPR']={},_0xde13['WlVFKT']=!![];}var _0xecc139=_0x520eed[0x0],_0x345877=_0xee5937+_0xecc139,_0x412d6e=_0xde13['vOwgPR'][_0x345877];return!_0x412d6e?(_0xde1390=_0xde13['QnWwCO'](_0xde1390),_0xde13['vOwgPR'][_0x345877]=_0xde1390):_0xde1390=_0x412d6e,_0xde1390;}function addAbortListener(_0x11e7d8,_0x57011c){var _0x11d88f={_0x12869d:0x4d4,_0x549b30:0x4e2,_0x21ef11:0x12f,_0x2b783c:0x133,_0x38def9:0x136,_0x1eaa31:0x4e1,_0x4a0237:0x4ed},_0x358791={_0x2ad843:0x1a7,_0xf63145:0x1a1},_0x47734a={_0xee9c09:0x54,_0x2f86d6:0x198,_0x25d598:0x12};if(!_0x11e7d8)return()=>{};function _0x29490c(_0x294356,_0xe04628,_0xd9807b,_0x5574a4){return _0x20bf3a(_0x5574a4-_0x47734a._0xee9c09,_0xe04628-_0x47734a._0x2f86d6,_0xd9807b,_0x5574a4-_0x47734a._0x25d598);}if(_0x11e7d8[_0x29490c(0x4e4,_0x11d88f._0x12869d,_0x11d88f._0x549b30,0x4e0)])return _0x57011c(),()=>{};const _0xefa197=()=>{_0x57011c();};_0x11e7d8[_0x8a6e92(0x12d,_0x11d88f._0x21ef11,_0x11d88f._0x2b783c,_0x11d88f._0x38def9)](_0x29490c(_0x11d88f._0x1eaa31,0x4ea,0x4ec,_0x11d88f._0x4a0237),_0xefa197,{'once':!![]});function _0x8a6e92(_0x22722a,_0x42c0a6,_0x5ee6f7,_0x4109c5){return _0x20bf3a(_0x4109c5- -0x366,_0x42c0a6-0x55,_0x22722a,_0x4109c5-0xa3);}return()=>{var _0x599a34={_0x2ffbac:0x7e,_0x1dff9f:0x1dd},_0x3888b1={_0x5e168f:0x1d5,_0xc6ef73:0x13d};function _0x3c9505(_0x1b96a8,_0x126f5e,_0x73e215,_0x1c38a2){return _0x29490c(_0x1b96a8-0x119,_0x126f5e-_0x3888b1._0x5e168f,_0x1c38a2,_0x73e215- -_0x3888b1._0xc6ef73);}function _0x2d02d3(_0xfcf9ec,_0x5af3c6,_0x4618f9,_0x2e1139){return _0x8a6e92(_0x2e1139,_0x5af3c6-_0x599a34._0x2ffbac,_0x4618f9-_0x599a34._0x1dff9f,_0x5af3c6-0x74);}_0x11e7d8[_0x3c9505(0x3b2,0x3a4,0x3a8,0x3b1)](_0x2d02d3(0x1a1,_0x358791._0x2ad843,0x1b2,_0x358791._0xf63145),_0xefa197);};}export{OperationAbortedError,toAbortError,isAbortError,throwIfAborted,addAbortListener};
1
+ function _0x51d0a7(_0x4a536e,_0x354e61,_0x269e73,_0x403a9c){return _0x170b(_0x269e73- -0x3be,_0x4a536e);}function _0x11b3(){var _0x119f86=['CMvHC29U','mtqWmJCYnhjewNjmyG','y29Kzq','ota4ntiWy2nWq2no','nZi1rhbTEhvh','mZzerwrTy2y','ywjVCNq','qujpuLrFrvjs','CMvTB3zLrxzLBNrmAxn0zw5LCG','BMfTzq','BgvUz3rO','ywjVCNrLza','t3bLCMf0Aw9UigfIB3j0zwq','mti3ndrmtejpCLq','m0X0wujzsq','mZeWnZC2tLHMyuHv','mJm3nJm2n2DhzuPzBW','qwjVCNrfCNjVCG','nZmXmdu2tvPKBKL1','mJG3n3nYtNPWqq'];_0x11b3=function(){return _0x119f86;};return _0x11b3();}function _0x170b(_0x58cbc4,_0x2c9744){_0x58cbc4=_0x58cbc4-0x140;var _0x11b33a=_0x11b3();var _0x170bdb=_0x11b33a[_0x58cbc4];if(_0x170b['KsvsFi']===undefined){var _0x338986=function(_0x572de3){var _0x2b141c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3d3f7e='',_0x3c70df='';for(var _0x2ee4a7=0x0,_0x503957,_0x168159,_0x369d2a=0x0;_0x168159=_0x572de3['charAt'](_0x369d2a++);~_0x168159&&(_0x503957=_0x2ee4a7%0x4?_0x503957*0x40+_0x168159:_0x168159,_0x2ee4a7++%0x4)?_0x3d3f7e+=String['fromCharCode'](0xff&_0x503957>>(-0x2*_0x2ee4a7&0x6)):0x0){_0x168159=_0x2b141c['indexOf'](_0x168159);}for(var _0x1464d6=0x0,_0xd6f4f7=_0x3d3f7e['length'];_0x1464d6<_0xd6f4f7;_0x1464d6++){_0x3c70df+='%'+('00'+_0x3d3f7e['charCodeAt'](_0x1464d6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3c70df);};_0x170b['ZvGxsO']=_0x338986,_0x170b['GLYuAj']={},_0x170b['KsvsFi']=!![];}var _0x322aa7=_0x11b33a[0x0],_0x5048f6=_0x58cbc4+_0x322aa7,_0x186105=_0x170b['GLYuAj'][_0x5048f6];return!_0x186105?(_0x170bdb=_0x170b['ZvGxsO'](_0x170bdb),_0x170b['GLYuAj'][_0x5048f6]=_0x170bdb):_0x170bdb=_0x186105,_0x170bdb;}(function(_0x402941,_0x34bee5){var _0x4b2fee={_0x49409d:0x45,_0x1419a1:0x52,_0x585e29:0x49,_0x57f347:0x3d,_0x35ad56:0x4b,_0x29f64f:0x47,_0x5d1d10:0x4a,_0x588507:0x4a,_0x58cfa7:0x4f,_0x3edbed:0x50,_0x30a925:0x336,_0x1bfeda:0x32b,_0x35b050:0x331,_0x5036c4:0x341,_0x51dec1:0x33d,_0x2fde60:0x4e,_0x5f3d15:0x42,_0x534468:0x3a,_0x1e664d:0x39},_0xfa62d3={_0x3349f3:0x1ef},_0x598b16=_0x402941();function _0x12ed2c(_0x5dee99,_0x573e3f,_0x4ba320,_0x1fcd2e){return _0x170b(_0x1fcd2e-_0xfa62d3._0x3349f3,_0x5dee99);}function _0x47e000(_0x1723d8,_0xa68e7d,_0x2590ac,_0x3cb8ca){return _0x170b(_0x3cb8ca- -0x108,_0x2590ac);}while(!![]){try{var _0x254058=-parseInt(_0x47e000(_0x4b2fee._0x49409d,0x45,_0x4b2fee._0x1419a1,_0x4b2fee._0x585e29))/0x1+parseInt(_0x47e000(_0x4b2fee._0x57f347,_0x4b2fee._0x35ad56,_0x4b2fee._0x29f64f,0x45))/0x2+parseInt(_0x47e000(0x3a,_0x4b2fee._0x5d1d10,_0x4b2fee._0x588507,0x44))/0x3*(-parseInt(_0x47e000(_0x4b2fee._0x58cfa7,_0x4b2fee._0x3edbed,0x46,0x4b))/0x4)+parseInt(_0x12ed2c(_0x4b2fee._0x30a925,_0x4b2fee._0x1bfeda,0x333,_0x4b2fee._0x35b050))/0x5*(parseInt(_0x12ed2c(0x342,0x339,0x344,0x33a))/0x6)+-parseInt(_0x12ed2c(0x33f,0x33d,_0x4b2fee._0x5036c4,_0x4b2fee._0x51dec1))/0x7+-parseInt(_0x47e000(0x52,_0x4b2fee._0x2fde60,_0x4b2fee._0x49409d,0x48))/0x8*(-parseInt(_0x47e000(_0x4b2fee._0x5f3d15,0x39,0x33,0x3b))/0x9)+parseInt(_0x47e000(0x2f,_0x4b2fee._0x534468,0x3d,_0x4b2fee._0x1e664d))/0xa;if(_0x254058===_0x34bee5)break;else _0x598b16['push'](_0x598b16['shift']());}catch(_0x3451){_0x598b16['push'](_0x598b16['shift']());}}}(_0x11b3,0x37595));function _0x3ee272(_0x46fe69,_0x4e4f0e,_0xce31d6,_0x8e6d8f){var _0x1f65ed={_0x51b340:0x138};return _0x170b(_0x4e4f0e- -_0x1f65ed._0x51b340,_0x8e6d8f);}var OperationAbortedError=class extends Error{[_0x3ee272(0x0,0x8,0x4,0xe)]=_0x51d0a7(-0x271,-0x275,-0x279,-0x27a);constructor(_0x3d3f7e=_0x51d0a7(-0x27b,-0x271,-0x274,-0x27a)){var _0x107987={_0x5d1484:0x1b4,_0x654d29:0x1b5,_0x391cea:0x1ae,_0x5574a6:0x1ac,_0x1b8ad4:0x1a7,_0x809752:0x1a6},_0x5656db={_0x6e00f6:0x1a3,_0xc1853b:0xa4},_0x99c6fe={_0x2c0a9f:0xca,_0x1e3d22:0xc3};super(_0x3d3f7e);function _0x4da1e6(_0x46f60a,_0x3b71cc,_0x103dee,_0x3aeeee){return _0x51d0a7(_0x103dee,_0x3b71cc-_0x99c6fe._0x2c0a9f,_0x46f60a-_0x99c6fe._0x1e3d22,_0x3aeeee-0x4c);}function _0x3761fc(_0x1acabf,_0x3cbb2a,_0x2ba2ea,_0x412408){return _0x51d0a7(_0x3cbb2a,_0x3cbb2a-_0x5656db._0x6e00f6,_0x412408-0x131,_0x412408-_0x5656db._0xc1853b);}this[_0x4da1e6(-_0x107987._0x5d1484,-_0x107987._0x654d29,-0x1aa,-_0x107987._0x391cea)]=_0x4da1e6(-_0x107987._0x5574a6,-0x1ad,-_0x107987._0x1b8ad4,-_0x107987._0x809752);}};function toAbortError(_0x3c70df){var _0x5e4cda={_0x36221e:0x1cc,_0x3589ef:0x1f5};if(isAbortError(_0x3c70df))return _0x3c70df;if(_0x3c70df instanceof Error)return new OperationAbortedError(_0x3c70df['message']);if(typeof _0x3c70df==='string'&&_0x3c70df[_0x153df8(-0x77,-0x81,-0x89,-0x86)]>0x0)return new OperationAbortedError(_0x3c70df);function _0x153df8(_0xf8aded,_0x3c834b,_0x4af1ab,_0x3be4cf){return _0x51d0a7(_0xf8aded,_0x3c834b-_0x5e4cda._0x36221e,_0x3c834b-_0x5e4cda._0x3589ef,_0x3be4cf-0x71);}return new OperationAbortedError();}function isAbortError(_0x2ee4a7){var _0x592150={_0x1d73d3:0x452,_0x1a91d1:0x44a,_0x56cfdc:0x44b,_0x4c3b62:0x453,_0x20c749:0x443,_0xd686fb:0x444,_0x2a6363:0x58,_0x15a682:0x63,_0xea24eb:0x63,_0x5f090c:0x5d,_0xb36369:0x440,_0x48820b:0x44b,_0x4ba9a9:0x449},_0x5e2c2c={_0x45c499:0x5,_0x41ef52:0x6c2,_0x3978d2:0xdd};function _0xa68b81(_0xa482b2,_0xf0e855,_0x27bdb6,_0x13b22){return _0x51d0a7(_0x27bdb6,_0xf0e855-_0x5e2c2c._0x45c499,_0x13b22-_0x5e2c2c._0x41ef52,_0x13b22-_0x5e2c2c._0x3978d2);}function _0x44f211(_0x5c4f6c,_0x21b9c2,_0x46bcaf,_0x1ccfbe){return _0x3ee272(_0x5c4f6c-0x1a3,_0x1ccfbe- -0x65,_0x46bcaf-0x1a9,_0x5c4f6c);}return _0x2ee4a7 instanceof OperationAbortedError||_0x2ee4a7 instanceof Error&&(_0x2ee4a7[_0xa68b81(0x44b,_0x592150._0x1d73d3,_0x592150._0x1a91d1,_0x592150._0x56cfdc)]===_0xa68b81(0x44a,_0x592150._0x4c3b62,0x44a,0x453)||_0xa68b81(0x443,0x44c,_0x592150._0x20c749,_0x592150._0xd686fb)in _0x2ee4a7&&_0x2ee4a7[_0x44f211(-_0x592150._0x2a6363,-_0x592150._0x15a682,-_0x592150._0xea24eb,-_0x592150._0x5f090c)]===_0xa68b81(0x443,_0x592150._0xb36369,_0x592150._0x48820b,_0x592150._0x4ba9a9));}function throwIfAborted(_0x503957){var _0x2c83d4={_0x512650:0x417,_0x46ff96:0x411,_0x1525fd:0x41a,_0x267e2c:0x418,_0x5e128a:0x414},_0x2e6325={_0x57e2e0:0x1f};function _0x239e1b(_0x579222,_0x1decb9,_0x190bc1,_0x2c90db){return _0x51d0a7(_0x579222,_0x1decb9-0x5a,_0x190bc1-0x694,_0x2c90db-0x64);}if(!_0x503957?.[_0xe26e05(0x411,0x410,_0x2c83d4._0x512650,_0x2c83d4._0x46ff96)])return;function _0xe26e05(_0x584958,_0x36358f,_0x2094e1,_0x13a6c2){return _0x3ee272(_0x584958-0x1aa,_0x584958-0x400,_0x2094e1-_0x2e6325._0x57e2e0,_0x13a6c2);}throw toAbortError(_0x503957[_0xe26e05(_0x2c83d4._0x1525fd,_0x2c83d4._0x267e2c,_0x2c83d4._0x5e128a,0x419)]);}function addAbortListener(_0x168159,_0x369d2a){var _0x14f990={_0x588635:0x1ef},_0x488afb={_0x3cc387:0x458,_0x10b2de:0x458,_0x170c1b:0x451},_0x3e8f57={_0x3ae379:0xf3,_0x42ec79:0x1b0,_0x57d2f4:0x271},_0x247d11={_0x59fa3c:0x179,_0x4559f3:0x127,_0x3dd484:0x7d},_0x5dfb82={_0x55a291:0x45f};if(!_0x168159)return()=>{};if(_0x168159[_0x8f8cda(0x1ec,_0x14f990._0x588635,0x1ea,0x1ea)])return _0x369d2a(),()=>{};const _0x1464d6=()=>{_0x369d2a();};_0x168159['addEventListener']('abort',_0x1464d6,{'once':!![]});function _0x8f8cda(_0x1c330c,_0x2e783e,_0x1b54f6,_0x229f8c){return _0x51d0a7(_0x1c330c,_0x2e783e-0x121,_0x229f8c-_0x5dfb82._0x55a291,_0x229f8c-0xcd);}return()=>{function _0x3f2992(_0x54eeb2,_0x2c8822,_0x11355c,_0x3d4ac6){return _0x8f8cda(_0x11355c,_0x2c8822-_0x247d11._0x59fa3c,_0x11355c-_0x247d11._0x4559f3,_0x3d4ac6- -_0x247d11._0x3dd484);}function _0x16d4ff(_0x17169e,_0x2ca451,_0x3b2542,_0x4f0d33){return _0x8f8cda(_0x3b2542,_0x2ca451-_0x3e8f57._0x3ae379,_0x3b2542-_0x3e8f57._0x42ec79,_0x2ca451-_0x3e8f57._0x57d2f4);}_0x168159[_0x16d4ff(_0x488afb._0x3cc387,_0x488afb._0x10b2de,0x458,_0x488afb._0x170c1b)](_0x16d4ff(0x452,0x456,0x45e,0x452),_0x1464d6);};}export{OperationAbortedError,toAbortError,isAbortError,throwIfAborted,addAbortListener};
@@ -1 +1 @@
1
- (function(_0xb8f5b5,_0x42c0eb){const _0x44e8c4={_0x27226c:0x140,_0x2ed19f:0x143,_0x58dd99:0x117,_0x1a8cae:0x122,_0x178ea6:0x2e7,_0x118818:0x310,_0x9cc49f:0x301,_0x17482e:0x323,_0x3d254e:0x32e,_0x3aa81b:0x12b,_0x573e7d:0x121,_0x4d8ae9:0x11d,_0x2a8292:0x307,_0x3be7ab:0x2f5,_0xba0e65:0x12c,_0x51d1bf:0x11c,_0x5318b2:0x317,_0x216b7c:0x332,_0x429276:0x31e,_0x2c14d3:0x331,_0x3a9c72:0x128,_0x167d6e:0x11d,_0xeaab3f:0x120},_0x51c906={_0x4c5788:0x331},_0x58e670=_0xb8f5b5();function _0x36f738(_0x1d8a8a,_0x31f22b,_0xc4bf09,_0x242e75){return _0x25cc(_0x1d8a8a-0xef,_0xc4bf09);}function _0x288e77(_0x178416,_0x19fc5d,_0x4a30ba,_0x50ffd7){return _0x25cc(_0x4a30ba- -_0x51c906._0x4c5788,_0x50ffd7);}while(!![]){try{const _0x70556a=-parseInt(_0x288e77(-_0x44e8c4._0x27226c,-0x13b,-0x135,-_0x44e8c4._0x2ed19f))/0x1+parseInt(_0x288e77(-0x106,-_0x44e8c4._0x58dd99,-_0x44e8c4._0x1a8cae,-0x139))/0x2+parseInt(_0x36f738(0x305,0x321,0x2f0,_0x44e8c4._0x178ea6))/0x3+-parseInt(_0x36f738(_0x44e8c4._0x118818,_0x44e8c4._0x9cc49f,_0x44e8c4._0x17482e,_0x44e8c4._0x3d254e))/0x4+-parseInt(_0x288e77(-_0x44e8c4._0x3aa81b,-_0x44e8c4._0x573e7d,-_0x44e8c4._0x4d8ae9,-0x112))/0x5*(parseInt(_0x36f738(_0x44e8c4._0x2a8292,_0x44e8c4._0x3be7ab,0x2ec,0x31a))/0x6)+-parseInt(_0x288e77(-0x110,-_0x44e8c4._0xba0e65,-0x125,-_0x44e8c4._0x51d1bf))/0x7*(-parseInt(_0x36f738(_0x44e8c4._0x5318b2,_0x44e8c4._0x216b7c,_0x44e8c4._0x429276,_0x44e8c4._0x2c14d3))/0x8)+parseInt(_0x288e77(-_0x44e8c4._0x3a9c72,-_0x44e8c4._0x167d6e,-0x130,-_0x44e8c4._0xeaab3f))/0x9;if(_0x70556a===_0x42c0eb)break;else _0x58e670['push'](_0x58e670['shift']());}catch(_0x512afd){_0x58e670['push'](_0x58e670['shift']());}}}(_0x4a99,0x2a080));function _0x4a99(){const _0x2822f8=['ChjVDMLKzxjtDgf0zq','nuznvw13DG','Bwf4x3rVA2vUCW','ody2odq0C2Xkv3bf','AxnbCNjHEq','mtC0otqWmNz5CfrHzW','Aw5WDxrFDg9Rzw5Z','DhvYBKLK','DhLWzq','Dgv4Da','B3bLBMfPx3jLyxnVBMLUzW','zw5JCNLWDgvKq29UDgvUDa','CMvHC29UAw5Nvg9Rzw5Z','B3v0Chv0','mJmZnZK2Cuztqvfk','Dg9VBf9Yzxn1Bhq','zMLSDgvY','Dg9VBhm','y29UDgvUDa','B3jPz2LUtw9KzwXjzgvUDgL0Eq','C3rHDhvZ','mtqZotjjAeH1BvG','B3v0Chv0x3rVA2vUCW','y2XHDwrLlxnVBM5LDc00ltiWmJuWnte0','DxnLCG','CMvHC29UAw5N','DgHPBMTPBMC','C3rVCfjLyxnVBG','DxnHz2u','DhjPBq','Bwf4vg9Rzw5Z','yw50AhjVCgLJx3rOAw5RAw5N','ChjPy2LUz1bYB3zPzgvYswq','yw50AhjVCgLJx3jLzgfJDgvKx3rOAw5RAw5N','Dg9VBf91C2u','BwfW','zxjYB3i','mJa2nteYB0PsyxbN','C3rYAw5N','BgvUz3rO','Bw9KzwW','ChjPy2LUz19WCM92AwrLCL9Pza','nJa1mti0r3zWwMz3','y2fSBeLK','Bwv0ywrHDge','BwvZC2fNzq','ChvZAa','AgfZ','yxnZAxn0yw50','Bw9KzwXjzgvUDgL0Eq','C2vZC2LVBKLK','DhvYBL9Pza','BwvZC2fNzxm','mte5zhvyCu9v','C3LZDgvT','ywrK','nJGZodqYugLXte1n','vg9VBcbLEgvJDxrPB24GD2fZigLUDgvYCNvWDgvKigjLzM9YzsbJB21WBgv0Aw9UigfUzcbWCM9KDwnLzcbUBYbYzxn1BhqU','B3v0Chv0rM9YBwf0','CMvHC29UAw5Nx3rVA2vUCW'];_0x4a99=function(){return _0x2822f8;};return _0x4a99();}function createTextBlock(_0x7f234c){return{'type':'text','text':_0x7f234c};}function normalizeTextBlock(_0x23e129){const _0x1b41ae={_0x878222:0x10,_0x1a1062:0x21},_0x358c39={_0xb80a2:0x247};function _0x2d3595(_0x51b02c,_0x4870e8,_0x4ae9c7,_0x460802){return _0x25cc(_0x4ae9c7- -_0x358c39._0xb80a2,_0x4870e8);}return createTextBlock(_0x23e129[_0x2d3595(-_0x1b41ae._0x878222,-_0x1b41ae._0x1a1062,-0x2b,-0x49)]??'');}function normalizeContent(_0x1f9bc8){const _0x14306b={_0x4fc70a:0x3b3,_0xd36579:0x3b8,_0xea9c92:0x75,_0xc10ef1:0x57,_0xbbe9ff:0x3bd,_0x392fed:0x3cd},_0x289729={_0xc97fc:0x1bb},_0x371534={_0x46e7df:0x288};function _0x258319(_0x43ced2,_0x1f01c5,_0x23ca34,_0x13aabc){return _0x25cc(_0x23ca34- -_0x371534._0x46e7df,_0x43ced2);}if(typeof _0x1f9bc8===_0x514787(0x3c8,_0x14306b._0x4fc70a,_0x14306b._0xd36579,0x3d0))return[createTextBlock(_0x1f9bc8)];function _0x514787(_0x4ff319,_0x4f5371,_0x5db5c0,_0x1b6b56){return _0x25cc(_0x5db5c0-_0x289729._0xc97fc,_0x4ff319);}if(!Array[_0x258319(-_0x14306b._0xea9c92,-_0x14306b._0xc10ef1,-0x71,-0x78)](_0x1f9bc8))return[];return _0x1f9bc8[_0x514787(_0x14306b._0xbbe9ff,0x3d2,0x3b5,_0x14306b._0x392fed)](_0x210f43=>{if(_0x210f43['type']==='text')return normalizeTextBlock(_0x210f43);return structuredClone(_0x210f43);});}function normalizeSystem(_0x2f3bea=[]){const _0x594cb2={_0xf818cf:0x114,_0x5032ea:0x12b};function _0x524d31(_0x4175c2,_0x6b4568,_0x3e5c56,_0x3124e9){return _0x25cc(_0x3124e9- -0x34e,_0x6b4568);}function _0x1e1785(_0x230ead,_0x2e6832,_0x277c8b,_0x21f25d){return _0x25cc(_0x21f25d- -0x239,_0x2e6832);}return normalizeContent(_0x2f3bea)[_0x524d31(-_0x594cb2._0xf818cf,-0x13a,-0x130,-_0x594cb2._0x5032ea)](_0x101546=>_0x101546[_0x1e1785(-0x2b,-0xc,-0x3,-0x1e)]===_0x524d31(-0x129,-0x127,-0x13f,-0x132));}function isProviderStateCompatible(_0xfa2b92,_0x13172a){const _0x22d442={_0x3dd1ce:0x322,_0x3eb449:0x306,_0x5ea61e:0x33,_0x5aa955:0x25,_0x285af9:0x36,_0x6dd815:0x51,_0x58fd44:0x60,_0xc9d8e7:0x2fc,_0x118296:0x2d4,_0x474b81:0x2f2},_0x5e44bb={_0x47df79:0xf3};function _0x5b2455(_0xb27e37,_0x19c2c9,_0x2b9a5,_0x56f295){return _0x25cc(_0x56f295-_0x5e44bb._0x47df79,_0xb27e37);}const _0x4fc51f=_0xfa2b92[_0x5b2455(0x316,_0x22d442._0x3dd1ce,0x2f4,_0x22d442._0x3eb449)]?.[_0x47210e(-_0x22d442._0x5ea61e,-0x48,-_0x22d442._0x5aa955,-_0x22d442._0x285af9)];function _0x47210e(_0x30458d,_0x479bbe,_0x5cd8b6,_0x35150b){return _0x25cc(_0x30458d- -0x259,_0x5cd8b6);}return _0x4fc51f===void 0x0||_0x4fc51f===_0x13172a['metadata'][_0x47210e(-_0x22d442._0x6dd815,-0x5c,-0x61,-_0x22d442._0x58fd44)]||_0x4fc51f===_0x13172a[_0x5b2455(_0x22d442._0xc9d8e7,_0x22d442._0x118296,0x309,_0x22d442._0x474b81)];}function normalizeMessage(_0x17b161){const _0x5e1de6={_0x80e157:0x1e,_0x35b020:0xe,_0x31bda3:0x144,_0x2300e8:0x152,_0x58c620:0x19},_0x4b4667={_0x5ee621:0xcf};function _0x36681d(_0x17ee56,_0xc3ebf0,_0x543f30,_0x45f167){return _0x25cc(_0x45f167- -0x1fa,_0x543f30);}function _0x3f3913(_0x37b494,_0x2fffae,_0x13e842,_0x3c5479){return _0x25cc(_0x37b494- -_0x4b4667._0x5ee621,_0x2fffae);}return{...typeof _0x17b161['id']===_0x36681d(_0x5e1de6._0x80e157,0x4,-0x1b,0x3)?{'id':_0x17b161['id']}:{},'role':_0x17b161['role'],'content':normalizeContent(_0x17b161[_0x36681d(_0x5e1de6._0x35b020,0x38,0x3e,0x2b)]),..._0x17b161[_0x3f3913(_0x5e1de6._0x31bda3,0x13a,_0x5e1de6._0x2300e8,0x139)]?{'providerState':structuredClone(_0x17b161[_0x36681d(0x24,0x35,0x35,_0x5e1de6._0x58c620)])}:{}};}function compileRequest(_0x482238){const _0x22cc1c={_0x50653b:0x252,_0x25917e:0x24c,_0x8900d8:0x242,_0x4a211b:0x23d,_0x44b45a:0x256,_0x3fb4d2:0x268,_0x356974:0x23b,_0x3d5c34:0x231,_0x332b58:0x23f,_0x468e04:0x216,_0x2be82b:0x234},_0xec7100={_0x5af945:0x28},_0x182a2b={_0x94fde7:0x344};function _0x1ca985(_0x365b30,_0x2483b7,_0xe9f10d,_0xb959b7){return _0x25cc(_0xb959b7-_0x182a2b._0x94fde7,_0x365b30);}function _0x3b59e3(_0x2d2211,_0x419d80,_0x38872e,_0xb885eb){return _0x25cc(_0x2d2211-_0xec7100._0x5af945,_0xb885eb);}return{'model':_0x482238['model']??_0x3b59e3(_0x22cc1c._0x50653b,0x25a,_0x22cc1c._0x25917e,_0x22cc1c._0x8900d8),..._0x482238[_0x3b59e3(_0x22cc1c._0x4a211b,0x220,0x229,0x22c)]!==void 0x0?{'max_tokens':_0x482238[_0x3b59e3(_0x22cc1c._0x4a211b,0x25a,_0x22cc1c._0x44b45a,0x232)]}:{},..._0x482238['reasoning']?{'reasoning':structuredClone(_0x482238['reasoning'])}:{},'system':normalizeSystem(_0x482238['system']),'messages':_0x482238['messages']['map'](normalizeMessage),'tools':structuredClone(_0x482238[_0x3b59e3(0x24c,_0x22cc1c._0x3fb4d2,_0x22cc1c._0x356974,0x242)]??[]),'metadata':{'session_id':_0x482238[_0x3b59e3(_0x22cc1c._0x3d5c34,0x238,_0x22cc1c._0x332b58,_0x22cc1c._0x468e04)],'turn_id':_0x482238[_0x3b59e3(0x242,0x246,_0x22cc1c._0x2be82b,0x22d)]}};}function toChatRequest(_0x56cd0d){const _0x712d18={_0x55a1da:0x442,_0x2d4168:0x458,_0x4c98e7:0x477,_0x1988d8:0x582,_0x41e24c:0x596,_0x45373c:0x574,_0x3be720:0x481,_0x4ed4b9:0x485,_0x380469:0x47a,_0x1935ac:0x466,_0xd24d13:0x57d,_0x208cec:0x546,_0x450259:0x560,_0x583043:0x559,_0x20d118:0x54d,_0x468807:0x56e,_0x52f85b:0x46a,_0x37ef17:0x44c,_0x4a7692:0x464,_0x32d7b6:0x44f,_0x29c849:0x461,_0x324228:0x54f,_0x23a7cf:0x457,_0x52df5b:0x47b},_0x16fbb3={_0x5f0f25:0x356};function _0x10552b(_0xf0d487,_0x3c6e3e,_0x2b9f8f,_0x1f0f53){return _0x25cc(_0xf0d487-_0x16fbb3._0x5f0f25,_0x3c6e3e);}function _0x2087ab(_0x400f98,_0x4b7556,_0x208ffb,_0x24148c){return _0x25cc(_0x24148c-0x259,_0x4b7556);}return{'model':_0x56cd0d[_0x2087ab(_0x712d18._0x55a1da,0x446,0x43c,_0x712d18._0x2d4168)],..._0x56cd0d[_0x2087ab(0x474,_0x712d18._0x4c98e7,0x48a,0x46e)]!==void 0x0?{'maxTokens':_0x56cd0d['max_tokens']}:{},..._0x56cd0d[_0x10552b(_0x712d18._0x1988d8,_0x712d18._0x41e24c,0x57e,_0x712d18._0x45373c)]?{'reasoning':structuredClone(_0x56cd0d[_0x2087ab(0x477,_0x712d18._0x3be720,0x491,_0x712d18._0x4ed4b9)])}:{},'system':structuredClone(_0x56cd0d[_0x2087ab(0x476,_0x712d18._0x380469,0x465,_0x712d18._0x1935ac)]),'messages':structuredClone(_0x56cd0d[_0x10552b(0x561,_0x712d18._0xd24d13,0x576,_0x712d18._0x208cec)]),'tools':structuredClone(_0x56cd0d['tools']),'metadata':{'sessionId':_0x56cd0d[_0x10552b(0x559,_0x712d18._0x450259,0x554,0x546)]['session_id'],'turnId':_0x56cd0d[_0x10552b(_0x712d18._0x583043,0x559,_0x712d18._0x20d118,0x576)][_0x10552b(0x560,0x553,0x572,_0x712d18._0x468807)],..._0x56cd0d[_0x10552b(0x559,0x554,0x54b,0x53d)]['model_identity']!==void 0x0?{'modelIdentity':_0x56cd0d[_0x2087ab(0x462,_0x712d18._0x52f85b,_0x712d18._0x37ef17,0x45c)]['model_identity']}:{},..._0x56cd0d['metadata'][_0x2087ab(0x43b,0x445,_0x712d18._0x4a7692,0x459)]!==void 0x0?{'pricingProviderId':_0x56cd0d['metadata'][_0x2087ab(_0x712d18._0x32d7b6,0x462,_0x712d18._0x29c849,0x459)]}:{}},..._0x56cd0d[_0x10552b(0x567,_0x712d18._0x324228,0x54e,0x578)]?{'outputFormat':structuredClone(_0x56cd0d[_0x2087ab(_0x712d18._0x52f85b,_0x712d18._0x23a7cf,_0x712d18._0x52df5b,0x46a)])}:{}};}function toModelRequest(_0x2d7d91){const _0x55aa2a={_0x2b3f74:0x14,_0x5780ba:0x39,_0x41c9fe:0x197,_0x4a7512:0x1a5,_0x3139e1:0x1b5,_0x3c2c65:0x1c1,_0x1fd4fe:0x1b6,_0x3015da:0x1ce,_0x511b9b:0x1cd,_0x582afb:0x1af,_0x57d9ec:0x15,_0x21b133:0x2,_0x39a027:0xb,_0x193c22:0x19,_0x1c28ac:0x1b9,_0x1902c0:0x1ad,_0x50e69c:0x1be,_0x556daa:0x1ab,_0x268a46:0x34,_0x17a62d:0x27,_0x4d1b6d:0x1a6,_0x2845b9:0x2c,_0x4811df:0x47,_0x3b4fa5:0x30,_0x403cf1:0x1f,_0x420d83:0x5,_0x460a87:0x31,_0x2fa74d:0x11,_0x4c2324:0xf,_0x3c3c9d:0x18},_0x22ce6f={_0x4e7f45:0x222};function _0x375211(_0x5cf68e,_0x1307a6,_0x5edd20,_0x2d58cc){return _0x25cc(_0x2d58cc- -0x5e,_0x1307a6);}function _0x43d775(_0xf7b27f,_0x5822b4,_0x13e165,_0x3fb2f6){return _0x25cc(_0xf7b27f- -_0x22ce6f._0x4e7f45,_0x13e165);}return{'model':_0x2d7d91[_0x43d775(-0x23,-_0x55aa2a._0x2b3f74,-_0x55aa2a._0x5780ba,-0x27)],..._0x2d7d91[_0x375211(0x198,0x1aa,0x1af,_0x55aa2a._0x41c9fe)]!==void 0x0?{'max_tokens':_0x2d7d91[_0x375211(0x1a4,0x1ac,_0x55aa2a._0x4a7512,0x197)]}:{},..._0x2d7d91['reasoning']?{'reasoning':structuredClone(_0x2d7d91[_0x375211(_0x55aa2a._0x3139e1,_0x55aa2a._0x3c2c65,_0x55aa2a._0x1fd4fe,_0x55aa2a._0x3015da)])}:{},'system':structuredClone(_0x2d7d91[_0x375211(0x1ba,0x1bb,_0x55aa2a._0x511b9b,_0x55aa2a._0x582afb)]),'messages':structuredClone(_0x2d7d91[_0x43d775(-0x17,-_0x55aa2a._0x57d9ec,-0x31,-0x32)]),'tools':structuredClone(_0x2d7d91[_0x43d775(_0x55aa2a._0x21b133,-_0x55aa2a._0x39a027,-_0x55aa2a._0x193c22,0x5)]),'metadata':{'session_id':_0x2d7d91[_0x43d775(-0x1f,-0x1e,-0x1c,-0x32)][_0x375211(_0x55aa2a._0x1c28ac,_0x55aa2a._0x1902c0,_0x55aa2a._0x50e69c,_0x55aa2a._0x556daa)],'turn_id':_0x2d7d91['metadata'][_0x375211(0x1b1,0x1b0,0x19f,0x1bc)],..._0x2d7d91[_0x43d775(-0x1f,-_0x55aa2a._0x268a46,-_0x55aa2a._0x17a62d,-0x8)]['modelIdentity']!==void 0x0?{'model_identity':_0x2d7d91[_0x375211(_0x55aa2a._0x4d1b6d,0x195,_0x55aa2a._0x4a7512,0x1a5)]['modelIdentity']}:{},..._0x2d7d91[_0x43d775(-0x1f,-0x9,-_0x55aa2a._0x2845b9,-0x1f)][_0x43d775(-0x2b,-_0x55aa2a._0x4811df,-_0x55aa2a._0x3b4fa5,-_0x55aa2a._0x3b4fa5)]!==void 0x0?{'pricing_provider_id':_0x2d7d91[_0x43d775(-_0x55aa2a._0x403cf1,-_0x55aa2a._0x420d83,-_0x55aa2a._0x2845b9,-_0x55aa2a._0x5780ba)][_0x43d775(-0x2b,-0x10,-_0x55aa2a._0x460a87,-0x2a)]}:{}},..._0x2d7d91[_0x375211(0x1ce,0x1c0,0x1b4,0x1b3)]?{'outputFormat':structuredClone(_0x2d7d91[_0x43d775(-_0x55aa2a._0x2fa74d,-_0x55aa2a._0x4c2324,-_0x55aa2a._0x3c3c9d,-0x1c)])}:{}};}function _0x25cc(_0x26f8d4,_0x3638a4){_0x26f8d4=_0x26f8d4-0x1f4;const _0x4a991e=_0x4a99();let _0x25cc66=_0x4a991e[_0x26f8d4];if(_0x25cc['DSrPHY']===undefined){var _0x446143=function(_0x15448d){const _0x3923e1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x7f234c='',_0x23e129='';for(let _0x1f9bc8=0x0,_0x210f43,_0x2f3bea,_0x101546=0x0;_0x2f3bea=_0x15448d['charAt'](_0x101546++);~_0x2f3bea&&(_0x210f43=_0x1f9bc8%0x4?_0x210f43*0x40+_0x2f3bea:_0x2f3bea,_0x1f9bc8++%0x4)?_0x7f234c+=String['fromCharCode'](0xff&_0x210f43>>(-0x2*_0x1f9bc8&0x6)):0x0){_0x2f3bea=_0x3923e1['indexOf'](_0x2f3bea);}for(let _0xfa2b92=0x0,_0x13172a=_0x7f234c['length'];_0xfa2b92<_0x13172a;_0xfa2b92++){_0x23e129+='%'+('00'+_0x7f234c['charCodeAt'](_0xfa2b92)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x23e129);};_0x25cc['vAarTW']=_0x446143,_0x25cc['GVPglY']={},_0x25cc['DSrPHY']=!![];}const _0x2ad789=_0x4a991e[0x0],_0x154a5f=_0x26f8d4+_0x2ad789,_0x195c03=_0x25cc['GVPglY'][_0x154a5f];return!_0x195c03?(_0x25cc66=_0x25cc['vAarTW'](_0x25cc66),_0x25cc['GVPglY'][_0x154a5f]=_0x25cc66):_0x25cc66=_0x195c03,_0x25cc66;}function toProviderModelRequest(_0x28d11d){const _0x59452b={_0x10d2bb:0x7,_0x25b20d:0x366,_0x5ea535:0x37d,_0x2d86e3:0x37a,_0x5310c4:0x38e,_0x255cb9:0x384,_0x443f52:0x18,_0x51ec42:0x4,_0x58fc52:0x8,_0x5db993:0x7,_0x39741c:0x3a9},_0x480060={_0x4da0c5:0x185},_0xa340c3={_0x1660f5:0x203};function _0x399772(_0x532a46,_0x4b60ed,_0x5ef26b,_0x4261ab){return _0x25cc(_0x5ef26b- -_0xa340c3._0x1660f5,_0x4b60ed);}function _0x44e7d9(_0x492267,_0x2cead0,_0x5b889a,_0x23d994){return _0x25cc(_0x5b889a-_0x480060._0x4da0c5,_0x492267);}return{'model':_0x28d11d[_0x399772(-0x14,-0xf,-0x4,-_0x59452b._0x10d2bb)],..._0x28d11d[_0x44e7d9(_0x59452b._0x25b20d,_0x59452b._0x5ea535,_0x59452b._0x2d86e3,0x37d)]!==void 0x0?{'max_tokens':_0x28d11d['maxTokens']}:{},'system':structuredClone(_0x28d11d[_0x44e7d9(_0x59452b._0x5310c4,0x39b,0x392,_0x59452b._0x255cb9)]),'messages':structuredClone(_0x28d11d[_0x399772(_0x59452b._0x443f52,_0x59452b._0x51ec42,_0x59452b._0x58fc52,-_0x59452b._0x5db993)]),'tools':structuredClone(_0x28d11d[_0x44e7d9(0x3ab,0x3bb,_0x59452b._0x39741c,0x3b2)])};}function toChatResponse(_0x356a60){const _0xe593a1={_0x3f2ab2:0x211,_0x28e466:0x20a,_0x2ae135:0x445,_0xd9c7f2:0x446,_0x2d5199:0x449,_0x351734:0x20b,_0x50a93a:0x1f3,_0x239c65:0x475,_0x5b61ec:0x46b,_0xf34a69:0x489,_0x2cf147:0x473,_0x1bcca4:0x1e6,_0x411858:0x1ec,_0x2f06a0:0x1f4,_0x2b981b:0x1df,_0x4e5ece:0x459,_0x2d6860:0x44f,_0x30f8c3:0x1f5,_0x18bdc2:0x200},_0x56688d={_0x3cf464:0x1e},_0x452654={_0x293c9b:0x246};function _0x49b9bc(_0x11763c,_0x10bcca,_0x503294,_0x409a15){return _0x25cc(_0x11763c-_0x452654._0x293c9b,_0x503294);}function _0x5e54e0(_0x1a8d5f,_0x19eb70,_0x1cf01f,_0x15b26a){return _0x25cc(_0x1cf01f- -_0x56688d._0x3cf464,_0x19eb70);}return{'id':_0x356a60['id'],'content':structuredClone(_0x356a60[_0x5e54e0(_0xe593a1._0x3f2ab2,0x1ea,0x207,_0xe593a1._0x28e466)]),'stopReason':_0x356a60['stop_reason'],'usage':{'inputTokens':_0x356a60['usage'][_0x49b9bc(0x45f,_0xe593a1._0x2ae135,_0xe593a1._0xd9c7f2,_0xe593a1._0x2d5199)],'outputTokens':_0x356a60['usage'][_0x5e54e0(0x1f5,0x202,_0xe593a1._0x351734,_0xe593a1._0x50a93a)],..._0x356a60[_0x49b9bc(_0xe593a1._0x239c65,0x461,_0xe593a1._0x5b61ec,_0xe593a1._0xf34a69)][_0x49b9bc(0x458,0x446,_0xe593a1._0x2cf147,0x441)]!==void 0x0?{'reasoningTokens':_0x356a60['usage'][_0x5e54e0(_0xe593a1._0x1bcca4,_0xe593a1._0x411858,_0xe593a1._0x2f06a0,_0xe593a1._0x2b981b)]}:{}},..._0x356a60[_0x49b9bc(_0xe593a1._0x4e5ece,0x44d,_0xe593a1._0x2d6860,0x44e)]?{'providerState':structuredClone(_0x356a60[_0x5e54e0(0x206,0x20b,_0xe593a1._0x30f8c3,_0xe593a1._0x18bdc2)])}:{}};}function toModelResponse(_0x161257){const _0xf465b9={_0x4c27f7:0x548,_0x3869ef:0x55d,_0x370739:0x532,_0x400f1a:0x4b0,_0xc72997:0x4cb,_0x4bcdf6:0x4cc,_0x1aad9f:0x549,_0x429958:0x555,_0x286729:0x4ba,_0x3410b1:0x4e0,_0x536afb:0x4c0,_0x4c50f7:0x55c,_0x38f326:0x550,_0x230d97:0x561,_0x3d957b:0x54f,_0x66cc6c:0x551,_0x34189d:0x544,_0x5a7e4e:0x544,_0x636564:0x540,_0x11a459:0x552,_0x419a38:0x539},_0x3b6046={_0x598494:0x29d},_0x579531={_0x40bb0c:0x326};function _0x37741a(_0x99ddbd,_0x3763df,_0xc56070,_0x22ca62){return _0x25cc(_0x22ca62-_0x579531._0x40bb0c,_0x99ddbd);}function _0x2e7934(_0xf7dfec,_0x3f7190,_0x20b9cd,_0x407e6c){return _0x25cc(_0x20b9cd-_0x3b6046._0x598494,_0x407e6c);}return{'id':_0x161257['id'],'type':_0x37741a(0x546,0x50f,_0xf465b9._0x4c27f7,0x52a),'role':'assistant','content':structuredClone(_0x161257[_0x37741a(_0xf465b9._0x3869ef,_0xf465b9._0x370739,0x53a,0x54b)]),'stop_reason':_0x161257[_0x2e7934(_0xf465b9._0x400f1a,0x4d7,_0xf465b9._0xc72997,_0xf465b9._0x4bcdf6)],'stop_sequence':null,'usage':{'input_tokens':_0x161257[_0x37741a(0x568,0x546,_0xf465b9._0x1aad9f,_0xf465b9._0x429958)]['inputTokens'],'output_tokens':_0x161257['usage']['outputTokens'],..._0x161257[_0x2e7934(_0xf465b9._0x286729,_0xf465b9._0x3410b1,_0xf465b9._0x4bcdf6,_0xf465b9._0x536afb)][_0x37741a(0x534,_0xf465b9._0x4c50f7,0x52c,0x545)]!==void 0x0?{'reasoning_tokens':_0x161257[_0x37741a(_0xf465b9._0x38f326,_0xf465b9._0x230d97,_0xf465b9._0x3d957b,_0xf465b9._0x429958)][_0x37741a(_0xf465b9._0x66cc6c,_0xf465b9._0x34189d,_0xf465b9._0x5a7e4e,0x545)]}:{}},..._0x161257[_0x37741a(0x536,_0xf465b9._0x38f326,_0xf465b9._0x636564,0x539)]?{'providerState':structuredClone(_0x161257[_0x37741a(_0xf465b9._0x11a459,_0xf465b9._0x11a459,0x54e,_0xf465b9._0x419a38)])}:{}};}function responseToAssistantMessage(_0x5f439a){const _0x595386={_0x1cc3bb:0xd9};function _0x172958(_0x1a4954,_0x3eb212,_0x9db3ad,_0x499a91){return _0x25cc(_0x499a91- -0x308,_0x9db3ad);}return{'role':'assistant','content':normalizeContent(_0x5f439a[_0x172958(-_0x595386._0x1cc3bb,-0xeb,-0xc8,-0xe3)]),..._0x5f439a['providerState']?{'providerState':structuredClone(_0x5f439a['providerState'])}:{}};}function _0x5541fe(_0x43d03d,_0x542419,_0x85c3b7,_0x51d9a0){const _0x5f47c0={_0x243637:0x109};return _0x25cc(_0x43d03d-_0x5f47c0._0x243637,_0x51d9a0);}function createReasoningMessage(_0x1826ef){const _0x450f70={_0xd694ac:0x27c},_0x25a44c={_0x3d586c:0x58f,_0x319a5f:0x588,_0x310c27:0x5a2,_0x59cecc:0x5a3,_0x1dd2a6:0x54e,_0x4b0b44:0x57a,_0x2f78f9:0x576,_0x41292f:0x584,_0x5f5ab6:0x56a,_0x422bb0:0x54d,_0x3eedab:0x571,_0x2fa782:0x56b,_0x39c011:0x16,_0x298206:0x1b,_0x143a71:0x41,_0x56c23a:0x591,_0x1d0b0e:0x583},_0x74fb3b={_0x2aea4c:0x46,_0xbc736e:0x5d,_0x169493:0x5f0},_0x2a99a4={_0x25d15c:0x70},_0x5808dc=normalizeContent(_0x1826ef?.['content'])[_0x193ba3(-0x61,-0x5f,-0x47,-0x59)](_0x12cb29=>{function _0x1d5652(_0x405b1c,_0x5143b5,_0xc1dc12,_0x670b34){return _0x193ba3(_0x405b1c-0xdd,_0x5143b5,_0xc1dc12-_0x2a99a4._0x25d15c,_0x670b34-0x87);}function _0x2a7756(_0x164a49,_0x13fc0b,_0x48fca5,_0x6ecd30){return _0x193ba3(_0x164a49-_0x74fb3b._0x2aea4c,_0x6ecd30,_0x48fca5-_0x74fb3b._0xbc736e,_0x164a49-_0x74fb3b._0x169493);}return _0x12cb29[_0x2a7756(_0x25a44c._0x3d586c,_0x25a44c._0x319a5f,_0x25a44c._0x310c27,_0x25a44c._0x59cecc)]===_0x2a7756(0x56c,0x558,_0x25a44c._0x1dd2a6,_0x25a44c._0x4b0b44)||_0x12cb29[_0x2a7756(0x58f,_0x25a44c._0x2f78f9,_0x25a44c._0x41292f,0x589)]===_0x2a7756(_0x25a44c._0x5f5ab6,_0x25a44c._0x422bb0,_0x25a44c._0x3eedab,_0x25a44c._0x2fa782)||_0x12cb29[_0x1d5652(_0x25a44c._0x39c011,_0x25a44c._0x298206,_0x25a44c._0x143a71,0x26)]===_0x2a7756(_0x25a44c._0x56c23a,_0x25a44c._0x1d0b0e,0x5a9,0x57a);});function _0x193ba3(_0x43f055,_0x2a367e,_0x22c627,_0x1fa26c){return _0x25cc(_0x1fa26c- -_0x450f70._0xd694ac,_0x2a367e);}if(_0x5808dc['length']===0x0)return void 0x0;return{'role':'assistant','content':_0x5808dc};}function createAssistantTextMessage(_0xe12ad5){const _0x2fe78e={_0x2c2113:0x10c,_0x18b6d4:0x138,_0x5ac85f:0x11a,_0x582d52:0x12e,_0x3c0b4f:0x134,_0x31b41e:0x125,_0x34e872:0x479,_0x469397:0x45b};function _0x214b3d(_0x4810cc,_0x4f0631,_0x47861c,_0x32ddfc){return _0x25cc(_0x47861c- -0x33f,_0x32ddfc);}function _0x22a821(_0x307d77,_0x3cd09d,_0x44bc56,_0x481063){return _0x25cc(_0x3cd09d-0x272,_0x481063);}const _0xe8b675=normalizeContent(_0xe12ad5?.[_0x214b3d(-_0x2fe78e._0x2c2113,-_0x2fe78e._0x18b6d4,-_0x2fe78e._0x5ac85f,-_0x2fe78e._0x582d52)])[_0x22a821(0x479,0x495,0x4a1,0x48d)](_0x3683df=>{return _0x3683df['type']==='text';});if(_0xe8b675[_0x214b3d(-0x149,-_0x2fe78e._0x3c0b4f,-0x141,-_0x2fe78e._0x31b41e)]===0x0)return void 0x0;return{'role':_0x22a821(0x494,_0x2fe78e._0x34e872,0x46e,_0x2fe78e._0x469397),'content':_0xe8b675};}function createToolUseMessage(_0x3cd279){const _0x26bdc3={_0xa1a50f:0x0,_0x337eb3:0x6,_0x242e6c:0x18,_0x4ecdda:0x4f5,_0x23c5ab:0x1e,_0x2838b0:0x21,_0x21e293:0x4e9},_0x581c77={_0x146f95:0x18f,_0xee2d7c:0x1a6,_0x45aa5d:0x1ab};function _0x22e0cc(_0x1ca95e,_0x3491e0,_0x338ca2,_0x93f59a){return _0x25cc(_0x3491e0- -0x21f,_0x1ca95e);}const _0x65d1b7=normalizeContent(_0x3cd279?.[_0x22e0cc(_0x26bdc3._0xa1a50f,_0x26bdc3._0x337eb3,_0x26bdc3._0x242e6c,0xb)])[_0x16aea8(0x4ee,0x4e2,_0x26bdc3._0x4ecdda,0x512)](_0x68b6c7=>{const _0x1c22a6={_0x2dfcbc:0xb1,_0x55d609:0x334,_0x59bc02:0xf1};function _0x3bc0fe(_0x57e60c,_0x2f9304,_0x8b24f0,_0x189239){return _0x16aea8(_0x189239,_0x2f9304-_0x1c22a6._0x2dfcbc,_0x2f9304- -_0x1c22a6._0x55d609,_0x189239-_0x1c22a6._0x59bc02);}return _0x68b6c7['type']===_0x3bc0fe(_0x581c77._0x146f95,0x197,_0x581c77._0xee2d7c,_0x581c77._0x45aa5d);});if(_0x65d1b7[_0x22e0cc(-_0x26bdc3._0x23c5ab,-_0x26bdc3._0x2838b0,-0x4,-0x30)]===0x0)return void 0x0;function _0x16aea8(_0x4eb4cf,_0x2b7b0a,_0x572b06,_0x30ef63){return _0x25cc(_0x572b06-0x2d2,_0x4eb4cf);}return{'role':_0x16aea8(_0x26bdc3._0x21e293,0x4ef,0x4d9,0x4d6),'content':_0x65d1b7};}function getTextFromMessage(_0x3392d6){const _0x43f95c={_0x433445:0x8a,_0x2f63e0:0x5c,_0xe9c7d3:0x4b},_0xd8b4cf={_0x311380:0x2ac};function _0x38c0b8(_0x2fa037,_0x55b070,_0x15a2cb,_0x30ecda){return _0x25cc(_0x15a2cb- -0x1b1,_0x55b070);}function _0x1d37cd(_0x3199fd,_0x324718,_0x4d04a8,_0x12af7a){return _0x25cc(_0x324718-_0xd8b4cf._0x311380,_0x12af7a);}return normalizeContent(_0x3392d6?.[_0x38c0b8(_0x43f95c._0x433445,0x7e,0x74,0x64)])[_0x38c0b8(_0x43f95c._0x2f63e0,0x8c,0x72,0x7a)](_0x41f8d3=>_0x41f8d3['type']===_0x38c0b8(0x6e,0x88,0x6b,0x4f))[_0x38c0b8(0x45,_0x43f95c._0xe9c7d3,0x49,0x2c)](_0x487422=>_0x487422[_0x1d37cd(0x4c0,0x4c8,0x4c1,0x4c7)])['join']('\x0a');}function getReasoningTextFromMessage(_0x374daf){const _0x55b7fe={_0x5cb7c7:0x13,_0x19ba56:0x21},_0xec8205={_0x7bc76:0x458,_0x40e08d:0x464,_0x4a41b7:0x42b,_0xe68aa1:0x486,_0x56b16c:0x43b,_0x5538e9:0x453,_0x428300:0x430,_0x5b4076:0x45a,_0x4f27d1:0x59,_0x370736:0x41a,_0x55fd68:0x422,_0x44473a:0x458,_0x81c765:0x43e,_0x463ddd:0x447,_0x361082:0x470,_0x45ced7:0x20,_0x2e9bb2:0x38,_0x51bdea:0x460,_0x1ea7fe:0x447,_0x5aedc6:0x42,_0x5e6a9b:0x39,_0x1f9bb1:0x41,_0x5f1974:0x1a,_0x4471d5:0x24,_0x275541:0x25,_0x24f4cf:0x46e,_0x248057:0x45f},_0x28e963={_0x355900:0x1c};function _0x1fead1(_0x4ba47c,_0x1882a7,_0x31e475,_0xd91ab4){return _0x25cc(_0xd91ab4- -0x204,_0x4ba47c);}return normalizeContent(_0x374daf?.[_0x1fead1(0x30,0x27,_0x55b7fe._0x5cb7c7,_0x55b7fe._0x19ba56)])['flatMap'](_0x411f80=>{const _0x4ff916={_0x323d2d:0x1ce,_0x4ca256:0x74};if(_0x411f80[_0x4f4a89(_0xec8205._0x7bc76,0x445,0x472,_0xec8205._0x40e08d)]===_0x4f4a89(0x433,_0xec8205._0x4a41b7,0x41a,0x451))return _0x411f80[_0x4f4a89(0x46a,0x456,0x47d,_0xec8205._0xe68aa1)]['trim']()[_0x4f4a89(_0xec8205._0x56b16c,_0xec8205._0x5538e9,0x43c,_0xec8205._0x428300)]>0x0?[_0x411f80[_0x4f4a89(0x46a,0x47f,_0xec8205._0x5b4076,0x47e)]]:[];if(_0x411f80[_0xfd62ba(0x30,0x41,0x4c,_0xec8205._0x4f27d1)]===_0x4f4a89(0x435,0x44c,_0xec8205._0x370736,_0xec8205._0x55fd68))return['(redacted\x20reasoning)'];function _0xfd62ba(_0x3b9fcb,_0x56fe14,_0x49b74b,_0x2c4f26){return _0x1fead1(_0x2c4f26,_0x56fe14-_0x4ff916._0x323d2d,_0x49b74b-_0x4ff916._0x4ca256,_0x56fe14-0x2a);}if(_0x411f80[_0x4f4a89(_0xec8205._0x44473a,0x462,0x43f,0x449)]!==_0x4f4a89(_0xec8205._0x5b4076,_0xec8205._0x81c765,_0xec8205._0x463ddd,_0xec8205._0x361082))return[];function _0x4f4a89(_0x36f0c7,_0x185040,_0x15302a,_0x186db5){return _0x1fead1(_0x186db5,_0x185040-0x197,_0x15302a-_0x28e963._0x355900,_0x36f0c7-0x441);}const _0x4c0f1f=_0x411f80['summary'][_0xfd62ba(0x10,_0xec8205._0x45ced7,0x14,_0xec8205._0x2e9bb2)](_0x543b61=>_0x543b61[_0xfd62ba(0x31,0x42,0x4c,0x28)])[_0x4f4a89(_0xec8205._0x51bdea,0x469,_0xec8205._0x5b4076,_0xec8205._0x1ea7fe)](_0x35270e=>_0x35270e[_0xfd62ba(-0x2,0x1a,0x1e,0x16)]()[_0x4f4a89(0x43b,0x41f,0x44a,0x41f)]>0x0)['join']('\x0a\x0a');if(_0x4c0f1f['length']>0x0)return[_0x4c0f1f];if(_0x411f80['text']&&_0x411f80[_0xfd62ba(0x42,_0xec8205._0x5aedc6,_0xec8205._0x5e6a9b,_0xec8205._0x1f9bb1)][_0xfd62ba(0x1b,_0xec8205._0x5f1974,0xb,0x1f)]()[_0xfd62ba(0x17,_0xec8205._0x4471d5,0x19,_0xec8205._0x275541)]>0x0)return[_0x411f80['text']];return _0x411f80[_0x4f4a89(0x45b,0x471,_0xec8205._0x24f4cf,_0xec8205._0x248057)]?['(encrypted\x20reasoning)']:[];})['join']('\x0a\x0a');}function getToolUseBlocks(_0x5002a5){const _0x2d0889={_0x57dc00:0x5c3,_0x6ed978:0x59d,_0x52ad53:0x58a},_0x2dfa69={_0x255fdb:0x39d};function _0x158025(_0x5608e7,_0x23e1c0,_0x1ea0e8,_0x45c7d0){return _0x25cc(_0x5608e7- -_0x2dfa69._0x255fdb,_0x23e1c0);}function _0x36bb04(_0x1b41ce,_0x864523,_0x49f11c,_0x17a08d){return _0x25cc(_0x49f11c-0x384,_0x864523);}return normalizeContent(_0x5002a5?.[_0x36bb04(_0x2d0889._0x57dc00,_0x2d0889._0x6ed978,0x5a9,0x5b1)])[_0x36bb04(0x58b,0x5bd,0x5a7,_0x2d0889._0x52ad53)](_0x136670=>_0x136670[_0x158025(-0x182,-0x175,-0x182,-0x16e)]===_0x36bb04(0x588,0x574,0x57d,0x56c));}function getToolResultBlocks(_0x5f48c4){const _0x400fe2={_0x4e6d15:0x128,_0x7c8bc6:0x146,_0x2faffd:0x19d,_0x47f1d6:0x18e},_0x11d642={_0x3a0ef9:0x95};function _0x39012e(_0x4bba28,_0x37dd71,_0x1c0352,_0x364dee){return _0x25cc(_0x4bba28- -0x35f,_0x1c0352);}function _0x4dac8d(_0x22952f,_0x366e77,_0x432fa2,_0x35b780){return _0x25cc(_0x22952f- -_0x11d642._0x3a0ef9,_0x35b780);}return normalizeContent(_0x5f48c4?.[_0x39012e(-0x13a,-0x13f,-_0x400fe2._0x4e6d15,-_0x400fe2._0x7c8bc6)])[_0x4dac8d(0x18e,_0x400fe2._0x2faffd,0x18e,_0x400fe2._0x47f1d6)](_0xfa84ed=>_0xfa84ed[_0x39012e(-0x144,-0x128,-0x143,-0x139)]===_0x4dac8d(0x18d,0x184,0x17d,0x16f));}function createToolResultUserMessage(_0x381cc1){const _0x589e9f={_0x86b60f:0x78,_0x307a42:0x90,_0x2c38f3:0x85,_0x34d2f1:0x7c},_0xd9517a={_0x3e9f31:0x4be,_0x305a87:0x4a0,_0x20bac3:0x4c1,_0x3c0c24:0x540,_0x41fbb6:0x4c8,_0xd08d0c:0x4b4,_0x29ceb6:0x4b7,_0xd086a6:0x4ac},_0x4645ef={_0xdefde8:0xf5};function _0x4cba30(_0x491763,_0x16f826,_0x54bc7b,_0x2374bb){return _0x25cc(_0x16f826- -0x28a,_0x491763);}return{'role':'user','content':_0x381cc1[_0x4cba30(-_0x589e9f._0x86b60f,-_0x589e9f._0x307a42,-_0x589e9f._0x2c38f3,-_0x589e9f._0x34d2f1)](_0x13cea1=>{const _0x1732d4={_0x528fdc:0x546,_0x5802e5:0x84,_0x23de93:0x185};function _0x22b229(_0x3e6dd2,_0x24da04,_0xcf36d1,_0xa01235){return _0x4cba30(_0x3e6dd2,_0x24da04-_0x1732d4._0x528fdc,_0xcf36d1-_0x1732d4._0x5802e5,_0xa01235-_0x1732d4._0x23de93);}function _0x344672(_0x3b249f,_0x35bdee,_0x52a412,_0x3e3bd0){return _0x4cba30(_0x35bdee,_0x3e3bd0-0x5c2,_0x52a412-_0x4645ef._0xdefde8,_0x3e3bd0-0x12f);}return{'type':'tool_result','tool_use_id':_0x13cea1[_0x22b229(0x4d8,_0xd9517a._0x3e9f31,_0xd9517a._0x305a87,_0xd9517a._0x20bac3)],'content':_0x13cea1[_0x344672(0x54d,0x575,_0xd9517a._0x3c0c24,0x55d)]??_0x13cea1[_0x22b229(_0xd9517a._0x41fbb6,0x4dc,0x4da,0x4e6)],'is_error':_0x13cea1[_0x22b229(0x4f8,0x4e3,0x4fb,0x4dc)]===_0x22b229(_0xd9517a._0xd08d0c,_0xd9517a._0x29ceb6,0x4be,_0xd9517a._0xd086a6)};})};}var INTERRUPTED_TOOL_RESULT_TEXT=_0x5541fe(0x319,0x330,0x32c,0x31f);function synthesizeMissingToolResults(_0x15527f){const _0x452131={_0x5f4cf6:0x1fa,_0x1c08c7:0x1f0,_0x1b9e38:0x4b,_0x47fad4:0x75,_0x40a79c:0x20c,_0x3ea353:0x205,_0x227827:0x67,_0x471b83:0x200,_0x45b64d:0x1d3,_0x238b24:0x1d7,_0x45d716:0x26,_0x1522e2:0x4c,_0x168a82:0x3a,_0x442bdb:0x48,_0x18b443:0x51,_0x5794e3:0x57},_0x5bdc3={_0x346ec6:0x127,_0x52b72f:0x1e7};function _0x200f5c(_0x113b72,_0x177943,_0x266084,_0x5cdbb5){return _0x5541fe(_0x5cdbb5- -0x36e,_0x177943-0x1d9,_0x266084-0x118,_0x177943);}function _0x170e80(_0xdac7a2,_0x52e26f,_0x5f52f2,_0xf126a4){return _0x5541fe(_0xf126a4- -_0x5bdc3._0x346ec6,_0x52e26f-_0x5bdc3._0x52b72f,_0x5f52f2-0x7d,_0xdac7a2);}const _0x4bd84b=new Set();for(const _0x4b2af3 of _0x15527f){for(const _0x568749 of getToolResultBlocks(_0x4b2af3)){_0x4bd84b[_0x170e80(0x1f9,_0x452131._0x5f4cf6,0x1de,_0x452131._0x1c08c7)](_0x568749['tool_use_id']);}}const _0x8703ab=[];for(const _0x3901e1 of _0x15527f){_0x8703ab[_0x200f5c(-0x55,-_0x452131._0x1b9e38,-_0x452131._0x47fad4,-0x60)](_0x3901e1);const _0x5736ed=getToolUseBlocks(_0x3901e1)[_0x170e80(0x1ff,0x215,_0x452131._0x40a79c,_0x452131._0x3ea353)](_0x12e554=>!_0x4bd84b[_0x170e80(0x1d5,0x1cb,0x1f0,0x1e8)](_0x12e554['id']));if(_0x5736ed[_0x200f5c(-0x4b,-0x74,-0x77,-_0x452131._0x227827)]===0x0)continue;_0x8703ab[_0x170e80(_0x452131._0x471b83,_0x452131._0x45b64d,_0x452131._0x238b24,0x1e7)]({'role':_0x200f5c(-_0x452131._0x45d716,-0x3e,-_0x452131._0x1522e2,-_0x452131._0x168a82),'content':_0x5736ed['map'](_0x49d51e=>({'type':_0x200f5c(-0x3a,-0x39,-0x51,-0x43),'tool_use_id':_0x49d51e['id'],'content':INTERRUPTED_TOOL_RESULT_TEXT,'is_error':!![]}))});for(const _0x52ef75 of _0x5736ed){_0x4bd84b[_0x200f5c(-0x69,-_0x452131._0x442bdb,-_0x452131._0x18b443,-_0x452131._0x5794e3)](_0x52ef75['id']);}}return _0x8703ab;}export{createTextBlock,normalizeTextBlock,normalizeContent,normalizeSystem,isProviderStateCompatible,normalizeMessage,compileRequest,toChatRequest,toModelRequest,toProviderModelRequest,toChatResponse,toModelResponse,responseToAssistantMessage,createReasoningMessage,createAssistantTextMessage,createToolUseMessage,getTextFromMessage,getReasoningTextFromMessage,getToolUseBlocks,getToolResultBlocks,createToolResultUserMessage,INTERRUPTED_TOOL_RESULT_TEXT,synthesizeMissingToolResults};
1
+ (function(_0x309286,_0x48370d){const _0x11f927={_0x51e8f7:0x16,_0x485b3c:0x39,_0xe7ae7b:0x1f6,_0x224a94:0x212,_0x7bfd8a:0x7,_0x8add06:0x14,_0x270b81:0xb,_0xe3faf3:0xe,_0x3e1240:0x217,_0x384d4e:0x202,_0x100880:0x36,_0x5756ed:0x7,_0x5411a8:0x1d,_0x14ef2d:0xe,_0x3caca7:0x2,_0x31bf67:0x5,_0x461fa9:0x1b,_0x2832a8:0x2,_0x5f5d63:0x1,_0x392336:0x1c},_0x5deb93={_0x28f4dd:0xe0},_0xba9688=_0x309286();function _0x2693e6(_0x15b02e,_0x1d3ef0,_0x157b7d,_0x178679){return _0x1b30(_0x1d3ef0- -_0x5deb93._0x28f4dd,_0x178679);}function _0x51529b(_0x4479d9,_0x238cf2,_0x254462,_0x39d5d2){return _0x1b30(_0x238cf2- -0x305,_0x254462);}while(!![]){try{const _0xdba62=-parseInt(_0x2693e6(0x23,0x27,_0x11f927._0x51e8f7,_0x11f927._0x485b3c))/0x1+-parseInt(_0x51529b(-_0x11f927._0xe7ae7b,-0x200,-0x1e2,-_0x11f927._0x224a94))/0x2+-parseInt(_0x2693e6(_0x11f927._0x7bfd8a,_0x11f927._0x8add06,-_0x11f927._0x270b81,_0x11f927._0xe3faf3))/0x3*(parseInt(_0x51529b(-_0x11f927._0x3e1240,-_0x11f927._0x384d4e,-0x206,-0x21e))/0x4)+parseInt(_0x2693e6(_0x11f927._0x100880,0x16,-0x3,-_0x11f927._0x5756ed))/0x5*(-parseInt(_0x2693e6(_0x11f927._0x5411a8,0xa,-_0x11f927._0x14ef2d,-0xf))/0x6)+-parseInt(_0x2693e6(_0x11f927._0x3caca7,0x3,-0x12,-_0x11f927._0x31bf67))/0x7+-parseInt(_0x2693e6(-_0x11f927._0x461fa9,-_0x11f927._0x2832a8,_0x11f927._0x5f5d63,-0x1e))/0x8*(parseInt(_0x2693e6(0x2c,0x1b,0x2b,0x1))/0x9)+parseInt(_0x2693e6(0x1f,0x11,_0x11f927._0x392336,0x1))/0xa;if(_0xdba62===_0x48370d)break;else _0xba9688['push'](_0xba9688['shift']());}catch(_0x9ef164){_0xba9688['push'](_0xba9688['shift']());}}}(_0x3a0d,0x41669));function createTextBlock(_0x47d619){const _0x4f8908={_0x194c0d:0x43,_0x52c3e5:0x5a};function _0x117a25(_0x3d803c,_0x55d16f,_0x444d2f,_0x409c9c){return _0x1b30(_0x409c9c- -0x13a,_0x3d803c);}return{'type':_0x117a25(-0x64,-0x3c,-_0x4f8908._0x194c0d,-_0x4f8908._0x52c3e5),'text':_0x47d619};}function normalizeTextBlock(_0x1a4c36){const _0x86587f={_0x5365c9:0x16d,_0x16b8ac:0x167};function _0x339cc7(_0x6b748a,_0x214d14,_0xe10452,_0x5911f0){return _0x1b30(_0x214d14- -0x24d,_0x5911f0);}return createTextBlock(_0x1a4c36[_0x339cc7(-0x18a,-_0x86587f._0x5365c9,-0x165,-_0x86587f._0x16b8ac)]??'');}function normalizeContent(_0x577a7e){const _0x63f550={_0x407689:0x7a,_0x581508:0x2f4},_0x349d4b={_0x314e95:0x399,_0x42abb8:0x233,_0x2c47ca:0x247,_0x8afdc0:0x22f,_0x40663b:0x23a},_0x1e1b8a={_0x535b7a:0x17,_0x3a273d:0xe6},_0x37bfa0={_0xa46245:0x52};if(typeof _0x577a7e===_0x4b56eb(0x6f,0x71,_0x63f550._0x407689,0x89))return[createTextBlock(_0x577a7e)];function _0xf0f5e7(_0x2b424c,_0x1a1e3c,_0x274ee9,_0x425fe7){return _0x1b30(_0x425fe7-0x205,_0x274ee9);}function _0x4b56eb(_0x3b08aa,_0x58567d,_0x441610,_0x2f36a0){return _0x1b30(_0x2f36a0- -_0x37bfa0._0xa46245,_0x441610);}if(!Array[_0xf0f5e7(0x2f5,0x2fb,0x2fe,_0x63f550._0x581508)](_0x577a7e))return[];return _0x577a7e['map'](_0x4594f9=>{const _0xc363b0={_0x125142:0x1ec,_0x1c4454:0x17};function _0x5266ce(_0x4eb56d,_0x1abc4f,_0x16a0cb,_0x9d19f){return _0xf0f5e7(_0x4eb56d-_0x1e1b8a._0x535b7a,_0x1abc4f-_0x1e1b8a._0x3a273d,_0x1abc4f,_0x4eb56d- -0xb2);}function _0x4a3918(_0x38b63f,_0x3ea801,_0x2ce5ff,_0xc16af1){return _0xf0f5e7(_0x38b63f-_0xc363b0._0x125142,_0x3ea801-_0xc363b0._0x1c4454,_0x3ea801,_0x2ce5ff-0xa1);}if(_0x4594f9[_0x4a3918(_0x349d4b._0x314e95,0x3c4,0x3a7,0x3ba)]===_0x5266ce(_0x349d4b._0x42abb8,_0x349d4b._0x2c47ca,_0x349d4b._0x8afdc0,_0x349d4b._0x40663b))return normalizeTextBlock(_0x4594f9);return structuredClone(_0x4594f9);});}function _0x1b30(_0x2fefb1,_0x1720f4){_0x2fefb1=_0x2fefb1-0xdb;const _0x3a0d64=_0x3a0d();let _0x1b305a=_0x3a0d64[_0x2fefb1];if(_0x1b30['fpAmUb']===undefined){var _0x1aea57=function(_0x3574e7){const _0x8c280e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x47d619='',_0x1a4c36='';for(let _0x577a7e=0x0,_0x4594f9,_0x22d9eb,_0x330d83=0x0;_0x22d9eb=_0x3574e7['charAt'](_0x330d83++);~_0x22d9eb&&(_0x4594f9=_0x577a7e%0x4?_0x4594f9*0x40+_0x22d9eb:_0x22d9eb,_0x577a7e++%0x4)?_0x47d619+=String['fromCharCode'](0xff&_0x4594f9>>(-0x2*_0x577a7e&0x6)):0x0){_0x22d9eb=_0x8c280e['indexOf'](_0x22d9eb);}for(let _0x4865ce=0x0,_0x1d885b=_0x47d619['length'];_0x4865ce<_0x1d885b;_0x4865ce++){_0x1a4c36+='%'+('00'+_0x47d619['charCodeAt'](_0x4865ce)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a4c36);};_0x1b30['KOMtxD']=_0x1aea57,_0x1b30['XZOxto']={},_0x1b30['fpAmUb']=!![];}const _0x340906=_0x3a0d64[0x0],_0x232202=_0x2fefb1+_0x340906,_0x896a01=_0x1b30['XZOxto'][_0x232202];return!_0x896a01?(_0x1b305a=_0x1b30['KOMtxD'](_0x1b305a),_0x1b30['XZOxto'][_0x232202]=_0x1b305a):_0x1b305a=_0x896a01,_0x1b305a;}function normalizeSystem(_0x22d9eb=[]){const _0x2952d3={_0x4f82f1:0xf8};function _0x5113d2(_0x29b588,_0x26e2fb,_0x230d82,_0x3c44aa){return _0x1b30(_0x29b588- -_0x2952d3._0x4f82f1,_0x3c44aa);}return normalizeContent(_0x22d9eb)['filter'](_0x330d83=>_0x330d83[_0x5113d2(0x9,-0x3,0x21,-0xb)]==='text');}function isProviderStateCompatible(_0x4865ce,_0x1d885b){const _0x5f5873={_0x25db10:0x25f,_0x2cdfda:0x26b,_0xe1811b:0x1cf,_0x8ae8eb:0x1d0,_0x5793c3:0x1ab,_0x50b434:0x1c6,_0xf73fb4:0x1d5,_0x598b8d:0x24f,_0x4ae5a9:0x253},_0x3eb0fb={_0x5aff83:0x2c6};function _0x101615(_0x5d1bbc,_0x1dad21,_0x17b219,_0x420a0c){return _0x1b30(_0x17b219- -_0x3eb0fb._0x5aff83,_0x5d1bbc);}const _0x1c78b4=_0x4865ce[_0xd682ed(-0x27f,-0x262,-_0x5f5873._0x25db10,-_0x5f5873._0x2cdfda)]?.[_0x101615(-_0x5f5873._0xe1811b,-0x1d1,-0x1e4,-0x1d2)];function _0xd682ed(_0x24aa49,_0x3b95e5,_0x5004e8,_0x1121d4){return _0x1b30(_0x1121d4- -0x34a,_0x3b95e5);}return _0x1c78b4===void 0x0||_0x1c78b4===_0x1d885b[_0x101615(-_0x5f5873._0x8ae8eb,-_0x5f5873._0x5793c3,-_0x5f5873._0x50b434,-_0x5f5873._0xf73fb4)]['modelIdentity']||_0x1c78b4===_0x1d885b[_0xd682ed(-_0x5f5873._0x598b8d,-_0x5f5873._0x4ae5a9,-0x242,-0x25d)];}function normalizeMessage(_0x2f5972){const _0x2c173c={_0x4fd41c:0x359,_0x9f8b:0x376,_0x13343e:0x389,_0x33edc1:0x40b},_0x1848ea={_0x2acdaa:0x266};function _0x185226(_0x16164d,_0x5e9186,_0x16f4ff,_0x474e6b){return _0x1b30(_0x5e9186-0x347,_0x474e6b);}function _0x4c8377(_0x571d83,_0x1787a9,_0x599020,_0x4a3517){return _0x1b30(_0x599020-_0x1848ea._0x2acdaa,_0x4a3517);}return{...typeof _0x2f5972['id']===_0x4c8377(0x33c,0x340,0x341,0x342)?{'id':_0x2f5972['id']}:{},'role':_0x2f5972['role'],'content':normalizeContent(_0x2f5972[_0x4c8377(_0x2c173c._0x4fd41c,0x393,_0x2c173c._0x9f8b,_0x2c173c._0x13343e)]),..._0x2f5972['providerState']?{'providerState':structuredClone(_0x2f5972[_0x185226(_0x2c173c._0x33edc1,0x426,0x417,0x437)])}:{}};}function compileRequest(_0x2dcb69){const _0x3a0105={_0x524fb8:0x2dc,_0x58000e:0x3f,_0x106a21:0x64,_0x155b50:0x2ed,_0x452455:0x303,_0x3e8a82:0x2d9,_0x50fd4c:0x2f7,_0x579e35:0x2df,_0x441606:0x2ce,_0x7f37f4:0x300,_0x108bfc:0x33,_0x4ec378:0x49,_0x2ad75e:0x60,_0x40fded:0x46,_0x39f935:0x2da,_0x46464b:0x2f9,_0x3d3a9d:0x37},_0x3566da={_0x311131:0x15a};function _0xc228f7(_0x2397da,_0xe4fbf5,_0x164c3f,_0x1adc8f){return _0x1b30(_0x1adc8f-0x1e0,_0x2397da);}function _0x25df17(_0x1707bf,_0x136e62,_0x478fc3,_0xda7fcd){return _0x1b30(_0x136e62- -_0x3566da._0x311131,_0x478fc3);}return{'model':_0x2dcb69[_0xc228f7(0x2db,0x2b7,_0x3a0105._0x524fb8,0x2cd)]??_0x25df17(-_0x3a0105._0x58000e,-0x46,-_0x3a0105._0x106a21,-0x53),..._0x2dcb69[_0xc228f7(_0x3a0105._0x155b50,_0x3a0105._0x452455,_0x3a0105._0x3e8a82,_0x3a0105._0x50fd4c)]!==void 0x0?{'max_tokens':_0x2dcb69[_0xc228f7(_0x3a0105._0x579e35,0x2e7,0x2fb,0x2f7)]}:{},..._0x2dcb69['reasoning']?{'reasoning':structuredClone(_0x2dcb69[_0xc228f7(_0x3a0105._0x441606,0x309,_0x3a0105._0x7f37f4,0x2ea)])}:{},'system':normalizeSystem(_0x2dcb69[_0x25df17(-_0x3a0105._0x108bfc,-0x51,-_0x3a0105._0x108bfc,-0x3b)]),'messages':_0x2dcb69[_0x25df17(-0x58,-_0x3a0105._0x4ec378,-0x2d,-0x2f)][_0x25df17(-0x6f,-0x54,-0x4c,-_0x3a0105._0x2ad75e)](normalizeMessage),'tools':structuredClone(_0x2dcb69[_0x25df17(-_0x3a0105._0x40fded,-0x42,-_0x3a0105._0x40fded,-0x4f)]??[]),'metadata':{'session_id':_0x2dcb69[_0xc228f7(0x2b9,_0x3a0105._0x39f935,_0x3a0105._0x46464b,_0x3a0105._0x3e8a82)],'turn_id':_0x2dcb69[_0x25df17(-0x2d,-0x48,-_0x3a0105._0x3d3a9d,-0x52)]}};}function toChatRequest(_0x282cec){const _0x3000ec={_0x3b2099:0x118,_0x3adae6:0x121,_0x8539cc:0x113,_0x19356a:0x121,_0x496a6f:0x104,_0x48201f:0x109,_0x436a35:0xf6,_0x23e680:0x102,_0x287b32:0x120,_0x4c2a8d:0x125,_0x398313:0x388,_0xdf993e:0x387,_0x17cc65:0x377,_0x33193a:0x39c,_0x3b5830:0x39c,_0x165e0c:0x396,_0x5db343:0x39f,_0x17d576:0x37e,_0x37f657:0x361,_0x1300cc:0x37b,_0x4f6574:0x119,_0x3c31c6:0x129,_0x24ce77:0x126,_0x557af9:0x122,_0x37c0c8:0x10e,_0x568b23:0x39d,_0x5be95a:0x126,_0x2953c4:0x143,_0x3c072b:0x12a,_0x32f251:0x36c,_0x5b1d9b:0x382,_0x17343e:0x356,_0x582e74:0x384,_0x3de446:0x12b,_0x265574:0x378,_0x107131:0x35d,_0x3a274a:0x371,_0x1deb44:0x364,_0x77439f:0x161,_0x13452a:0x133,_0xf7c358:0x142},_0x3b808b={_0x37a3ba:0x27e};function _0x3abe09(_0x452e0e,_0x36c017,_0x52356f,_0x4f8c24){return _0x1b30(_0x52356f- -0x22a,_0x36c017);}function _0x2d3a5c(_0xf98f02,_0x2da1ad,_0x5caac8,_0x21f6c0){return _0x1b30(_0xf98f02-_0x3b808b._0x37a3ba,_0x5caac8);}return{'model':_0x282cec['model'],..._0x282cec[_0x3abe09(-_0x3000ec._0x3b2099,-_0x3000ec._0x3adae6,-_0x3000ec._0x8539cc,-_0x3000ec._0x19356a)]!==void 0x0?{'maxTokens':_0x282cec[_0x3abe09(-_0x3000ec._0x496a6f,-_0x3000ec._0x48201f,-0x113,-_0x3000ec._0x436a35)]}:{},..._0x282cec[_0x3abe09(-0x101,-_0x3000ec._0x23e680,-_0x3000ec._0x287b32,-_0x3000ec._0x4c2a8d)]?{'reasoning':structuredClone(_0x282cec[_0x2d3a5c(_0x3000ec._0x398313,0x3a4,0x373,0x39f)])}:{},'system':structuredClone(_0x282cec[_0x2d3a5c(_0x3000ec._0xdf993e,0x377,_0x3000ec._0x17cc65,0x385)]),'messages':structuredClone(_0x282cec[_0x2d3a5c(0x38f,0x389,_0x3000ec._0x33193a,_0x3000ec._0x3b5830)]),'tools':structuredClone(_0x282cec[_0x2d3a5c(_0x3000ec._0x165e0c,_0x3000ec._0x5db343,0x38b,0x398)]),'metadata':{'sessionId':_0x282cec[_0x2d3a5c(_0x3000ec._0x17d576,_0x3000ec._0x37f657,_0x3000ec._0x1300cc,0x389)]['session_id'],'turnId':_0x282cec[_0x3abe09(-0x140,-_0x3000ec._0x4f6574,-0x12a,-0x149)][_0x3abe09(-_0x3000ec._0x3c31c6,-_0x3000ec._0x24ce77,-_0x3000ec._0x557af9,-_0x3000ec._0x37c0c8)],..._0x282cec[_0x2d3a5c(_0x3000ec._0x17d576,0x38a,0x376,_0x3000ec._0x568b23)]['model_identity']!==void 0x0?{'modelIdentity':_0x282cec[_0x3abe09(-_0x3000ec._0x5be95a,-_0x3000ec._0x2953c4,-_0x3000ec._0x3c072b,-0x12c)][_0x2d3a5c(_0x3000ec._0x32f251,_0x3000ec._0x5b1d9b,_0x3000ec._0x17343e,0x375)]}:{},..._0x282cec[_0x2d3a5c(0x37e,0x36f,0x392,_0x3000ec._0x582e74)]['pricing_provider_id']!==void 0x0?{'pricingProviderId':_0x282cec[_0x3abe09(-0x123,-0x13f,-0x12a,-_0x3000ec._0x3de446)][_0x2d3a5c(_0x3000ec._0x265574,_0x3000ec._0x107131,_0x3000ec._0x3a274a,_0x3000ec._0x1deb44)]}:{}},..._0x282cec[_0x3abe09(-_0x3000ec._0x77439f,-_0x3000ec._0x13452a,-0x142,-0x128)]?{'outputFormat':structuredClone(_0x282cec[_0x3abe09(-0x14d,-0x129,-_0x3000ec._0xf7c358,-0x157)])}:{}};}function toModelRequest(_0x26186c){const _0x528f98={_0x455ac8:0x87,_0x194f1f:0x6c,_0x260533:0x74,_0x5c66b5:0x7c,_0x16c207:0x9c,_0x2ea90f:0x9c,_0x4fe4f0:0xa1,_0x236fe2:0x9d,_0x198fa7:0x11c,_0x515e63:0x120,_0x5220c8:0x9f,_0x52cf16:0xa9,_0x225540:0xb2,_0x700169:0xb2,_0x32b0e1:0xc3,_0x428315:0xc6,_0x5de782:0x134,_0x4c19b5:0x15e,_0x251919:0x141,_0x30a8a3:0x130,_0x8473d3:0x14a,_0x1a6a63:0x147,_0x5632d5:0x14d,_0x38843f:0x155,_0x4f6ced:0x13a,_0x3ea69f:0x8e,_0x12746f:0x12d,_0x4d30e3:0x153,_0x289db0:0xa6,_0x576c69:0xae,_0x1d92aa:0x8b,_0x1f2f1a:0x8d,_0x8ead6c:0xbd,_0x287cb6:0xad,_0x5c8e52:0x9a,_0xcacfbe:0xb9,_0x3874fd:0x136,_0x19730:0x143,_0x2c2592:0x82,_0x131679:0x96,_0x1b2118:0x168,_0x17cf78:0x159},_0x522d8e={_0x27b0cd:0x241};function _0x347cf1(_0x2bcc2c,_0x7babb7,_0x232857,_0x191e0c){return _0x1b30(_0x232857- -_0x522d8e._0x27b0cd,_0x191e0c);}function _0x349237(_0xa7bcaf,_0x34499d,_0x50781a,_0x13e206){return _0x1b30(_0xa7bcaf- -0x66,_0x50781a);}return{'model':_0x26186c[_0x349237(_0x528f98._0x455ac8,_0x528f98._0x194f1f,_0x528f98._0x260533,_0x528f98._0x5c66b5)],..._0x26186c[_0x349237(_0x528f98._0x16c207,0xab,0xbb,0x9e)]!==void 0x0?{'max_tokens':_0x26186c[_0x349237(_0x528f98._0x2ea90f,_0x528f98._0x4fe4f0,_0x528f98._0x236fe2,0x91)]}:{},..._0x26186c[_0x347cf1(-0x152,-_0x528f98._0x198fa7,-0x137,-_0x528f98._0x515e63)]?{'reasoning':structuredClone(_0x26186c['reasoning'])}:{},'system':structuredClone(_0x26186c[_0x349237(0xa3,0x8a,0x91,0xbe)]),'messages':structuredClone(_0x26186c[_0x349237(0xab,0x9d,_0x528f98._0x5220c8,_0x528f98._0x52cf16)]),'tools':structuredClone(_0x26186c[_0x349237(_0x528f98._0x225540,_0x528f98._0x700169,_0x528f98._0x32b0e1,_0x528f98._0x428315)]),'metadata':{'session_id':_0x26186c[_0x349237(0x9a,0x86,0xa8,0xab)]['sessionId'],'turn_id':_0x26186c[_0x347cf1(-_0x528f98._0x5de782,-_0x528f98._0x4c19b5,-_0x528f98._0x251919,-_0x528f98._0x30a8a3)][_0x347cf1(-_0x528f98._0x8473d3,-_0x528f98._0x1a6a63,-0x12f,-0x132)],..._0x26186c[_0x347cf1(-_0x528f98._0x5632d5,-_0x528f98._0x38843f,-0x141,-_0x528f98._0x4f6ced)][_0x349237(0xa6,_0x528f98._0x3ea69f,0xb1,0x94)]!==void 0x0?{'model_identity':_0x26186c[_0x347cf1(-_0x528f98._0x12746f,-0x14f,-_0x528f98._0x251919,-_0x528f98._0x4d30e3)][_0x349237(_0x528f98._0x289db0,_0x528f98._0x576c69,0xc4,_0x528f98._0x1d92aa)]}:{},..._0x26186c['metadata'][_0x349237(0xa7,_0x528f98._0x1f2f1a,_0x528f98._0x8ead6c,_0x528f98._0x287cb6)]!==void 0x0?{'pricing_provider_id':_0x26186c[_0x349237(0x9a,_0x528f98._0x5c8e52,0x83,_0x528f98._0xcacfbe)][_0x347cf1(-0x14e,-_0x528f98._0x3874fd,-0x134,-_0x528f98._0x19730)]}:{}},..._0x26186c[_0x349237(_0x528f98._0x2c2592,_0x528f98._0x131679,0x6e,_0x528f98._0x5c8e52)]?{'outputFormat':structuredClone(_0x26186c[_0x347cf1(-0x14b,-_0x528f98._0x1b2118,-_0x528f98._0x17cf78,-0x177)])}:{}};}function toProviderModelRequest(_0x35b30a){const _0x587976={_0x29a3b5:0x322,_0x5c86a2:0x321,_0x306239:0x337,_0x2fe307:0x34a,_0x934d95:0x32c,_0x4bf2eb:0x346},_0x32bc52={_0x56fe5b:0xb},_0x4df438={_0x4bc9a7:0x235};function _0x3e231e(_0x1fb989,_0x296aa3,_0x50ef77,_0x3c0715){return _0x1b30(_0x1fb989-_0x4df438._0x4bc9a7,_0x3c0715);}function _0x17a9f5(_0xfe0fc5,_0x95d2e3,_0x126254,_0xafa2f8){return _0x1b30(_0xafa2f8- -_0x32bc52._0x56fe5b,_0x95d2e3);}return{'model':_0x35b30a[_0x3e231e(_0x587976._0x29a3b5,0x33b,0x32c,_0x587976._0x5c86a2)],..._0x35b30a['maxTokens']!==void 0x0?{'max_tokens':_0x35b30a[_0x3e231e(_0x587976._0x306239,_0x587976._0x2fe307,_0x587976._0x934d95,0x331)]}:{},'system':structuredClone(_0x35b30a['system']),'messages':structuredClone(_0x35b30a[_0x3e231e(_0x587976._0x4bf2eb,0x360,0x33c,0x32a)]),'tools':structuredClone(_0x35b30a['tools'])};}function toChatResponse(_0x318ead){const _0x56c89f={_0x2c4ef0:0x482,_0x1875fc:0x3d1,_0x39522a:0x39c,_0x11ac34:0x399,_0x38277f:0x3e0,_0x30bad8:0x3e9,_0x38c45a:0x38e,_0x306a9a:0x3af,_0x584c0c:0x3b1,_0x8dfdcd:0x391,_0x381043:0x3a5,_0x216a88:0x3b3,_0x285a27:0x396,_0x51052a:0x394,_0x32250d:0x39b},_0x4824f4={_0x43ebb1:0x35e};function _0x1650d0(_0x410cfd,_0xbc9323,_0x3916a3,_0x39b57f){return _0x1b30(_0x39b57f-0x2bc,_0x3916a3);}function _0x35d61a(_0x204c56,_0x1bedd3,_0x58f3bb,_0x4ee16c){return _0x1b30(_0x4ee16c-_0x4824f4._0x43ebb1,_0x1bedd3);}return{'id':_0x318ead['id'],'content':structuredClone(_0x318ead[_0x35d61a(_0x56c89f._0x2c4ef0,0x46e,0x466,0x46e)]),'stopReason':_0x318ead['stop_reason'],'usage':{'inputTokens':_0x318ead[_0x1650d0(_0x56c89f._0x1875fc,0x3e9,0x3dc,0x3d1)][_0x1650d0(_0x56c89f._0x39522a,0x37b,0x39a,_0x56c89f._0x11ac34)],'outputTokens':_0x318ead[_0x1650d0(_0x56c89f._0x38277f,0x3f1,_0x56c89f._0x30bad8,0x3d1)][_0x1650d0(_0x56c89f._0x38c45a,0x38f,_0x56c89f._0x306a9a,0x3a3)],..._0x318ead['usage'][_0x1650d0(_0x56c89f._0x584c0c,0x3a1,_0x56c89f._0x8dfdcd,_0x56c89f._0x381043)]!==void 0x0?{'reasoningTokens':_0x318ead[_0x1650d0(0x3bf,0x3bc,_0x56c89f._0x216a88,0x3d1)][_0x1650d0(_0x56c89f._0x285a27,0x3ac,_0x56c89f._0x51052a,0x3a5)]}:{}},..._0x318ead[_0x35d61a(0x421,0x429,0x43e,0x43d)]?{'providerState':structuredClone(_0x318ead[_0x1650d0(0x3ad,0x382,0x3b9,_0x56c89f._0x32250d)])}:{}};}function toModelResponse(_0x53e659){const _0x347a0c={_0x29c384:0x48d,_0x177fcd:0x48e,_0x137c64:0x48f,_0xb06cde:0x4a0,_0x4615e8:0x49e,_0x1dda16:0x2da,_0xe172bf:0x2c7,_0x1657b6:0x2b8,_0x53ab6d:0x4ba,_0x3de11b:0x2d5,_0x45ef75:0x2ad,_0x364b8b:0x486,_0xd916c2:0x489,_0x2acf70:0x28d,_0x1d911b:0x2a9,_0x352654:0x2aa},_0x53fda0={_0x2030e3:0x38b};function _0x5e8e82(_0x15052c,_0x995ceb,_0x8705f5,_0x5a9ffb){return _0x1b30(_0x995ceb-0x1ca,_0x8705f5);}function _0x314f11(_0x4d7bb0,_0x39df0b,_0x4918df,_0x272dcc){return _0x1b30(_0x39df0b-_0x53fda0._0x2030e3,_0x4918df);}return{'id':_0x53e659['id'],'type':_0x314f11(0x489,0x483,0x48d,_0x347a0c._0x29c384),'role':'assistant','content':structuredClone(_0x53e659['content']),'stop_reason':_0x53e659['stopReason'],'stop_sequence':null,'usage':{'input_tokens':_0x53e659[_0x314f11(_0x347a0c._0x177fcd,0x4a0,0x4a0,_0x347a0c._0x137c64)]['inputTokens'],'output_tokens':_0x53e659[_0x314f11(0x4b8,_0x347a0c._0xb06cde,_0x347a0c._0x4615e8,0x499)][_0x5e8e82(_0x347a0c._0x1dda16,_0x347a0c._0xe172bf,_0x347a0c._0x1657b6,0x2ac)],..._0x53e659[_0x314f11(_0x347a0c._0x53ab6d,_0x347a0c._0xb06cde,0x4a0,0x484)][_0x5e8e82(_0x347a0c._0x3de11b,0x2bc,0x2bb,_0x347a0c._0x45ef75)]!==void 0x0?{'reasoning_tokens':_0x53e659['usage'][_0x314f11(_0x347a0c._0x364b8b,0x47d,_0x347a0c._0xd916c2,0x494)]}:{}},..._0x53e659[_0x5e8e82(_0x347a0c._0x2acf70,_0x347a0c._0x1d911b,0x298,_0x347a0c._0x352654)]?{'providerState':structuredClone(_0x53e659['providerState'])}:{}};}function responseToAssistantMessage(_0xbfa7a8){const _0x2d648f={_0x300244:0x432,_0x3e14ca:0x28b,_0x396a97:0x296,_0x5169f8:0x2aa,_0x1f34db:0x41d,_0x13bd73:0x412};function _0x2ddac2(_0x4619d4,_0xea076d,_0x2519e4,_0x4ff63b){return _0x1b30(_0x4619d4-0x17b,_0xea076d);}function _0x39a97c(_0x39688b,_0x462c09,_0xacba43,_0x502afc){return _0x1b30(_0x502afc-0x34f,_0x39688b);}return{'role':_0x39a97c(0x43a,_0x2d648f._0x300244,0x41b,0x43b),'content':normalizeContent(_0xbfa7a8[_0x2ddac2(_0x2d648f._0x3e14ca,_0x2d648f._0x396a97,0x2a6,_0x2d648f._0x5169f8)]),..._0xbfa7a8[_0x39a97c(_0x2d648f._0x1f34db,0x41a,_0x2d648f._0x13bd73,0x42e)]?{'providerState':structuredClone(_0xbfa7a8[_0x2ddac2(0x25a,0x270,0x25c,0x244)])}:{}};}function createReasoningMessage(_0x108ec6){const _0x2b58ec={_0x2fa069:0x238,_0x8928c4:0x22f},_0x529b51={_0x56e696:0x37d},_0x163626={_0x362f1b:0x2d2,_0x281563:0x2e8,_0x30eada:0x2d6,_0x283adc:0x2db,_0x5776b7:0x2f4,_0x440ee6:0x2bc,_0x5576af:0x2de,_0xa950ec:0x2df,_0x42325a:0x2ef,_0x5794af:0x2c6,_0x11a61f:0x2da,_0x23af39:0x2d9},_0x4e7620=normalizeContent(_0x108ec6?.[_0x1c524d(-0x1fe,-0x1ff,-0x212,-0x215)])['filter'](_0x481b6b=>{const _0x4374a8={_0x10c1bd:0x123,_0x59a16a:0x122};function _0x33a5c7(_0x5a42bd,_0x16e6c8,_0x53f628,_0x2da95e){return _0x1c524d(_0x5a42bd-0xc1,_0x5a42bd- -0xcd,_0x53f628-0x115,_0x16e6c8);}function _0x3680bf(_0xbd9d52,_0x6651fc,_0x7f79b9,_0x2c0b61){return _0x1c524d(_0xbd9d52-_0x4374a8._0x10c1bd,_0x2c0b61-0x4e8,_0x7f79b9-_0x4374a8._0x59a16a,_0xbd9d52);}return _0x481b6b[_0x3680bf(_0x163626._0x362f1b,_0x163626._0x281563,_0x163626._0x30eada,0x2da)]==='anthropic_redacted_thinking'||_0x481b6b[_0x33a5c7(-_0x163626._0x283adc,-0x2e9,-_0x163626._0x5776b7,-_0x163626._0x440ee6)]===_0x33a5c7(-_0x163626._0x5576af,-_0x163626._0xa950ec,-_0x163626._0x42325a,-0x2e6)||_0x481b6b[_0x3680bf(0x2bc,0x2f0,_0x163626._0x5794af,_0x163626._0x11a61f)]===_0x33a5c7(-0x2d8,-0x2de,-_0x163626._0x23af39,-0x2ef);});function _0x54a7a5(_0x21ac60,_0x422d0b,_0x30f77c,_0x4e9f08){return _0x1b30(_0x21ac60- -_0x529b51._0x56e696,_0x422d0b);}function _0x1c524d(_0x5aa4c2,_0x495abf,_0xd37381,_0x56fd27){return _0x1b30(_0x495abf- -0x30f,_0x56fd27);}if(_0x4e7620['length']===0x0)return void 0x0;return{'role':_0x1c524d(-0x236,-0x223,-_0x2b58ec._0x2fa069,-_0x2b58ec._0x8928c4),'content':_0x4e7620};}function createAssistantTextMessage(_0xd3c50c){const _0x5a77e4={_0x15412e:0x475,_0x16e6e5:0x418,_0x1c9bd1:0x3e6,_0x2e30d1:0x40a,_0x457512:0x3e3},_0x108387={_0x418be7:0x30a},_0x2a1d26={_0x52bc16:0x22f,_0x2cfe38:0x21a,_0x12ca39:0x207,_0x2567d9:0x301};function _0x4e04cb(_0x2c6b3d,_0x4e0fd0,_0x37bf1a,_0x264321){return _0x1b30(_0x4e0fd0-0x36e,_0x37bf1a);}const _0x2465ca=normalizeContent(_0xd3c50c?.[_0x4e04cb(0x485,0x47e,_0x5a77e4._0x15412e,0x495)])[_0x521311(0x3ff,_0x5a77e4._0x16e6e5,0x402,0x3f8)](_0x226401=>{const _0x1cbcf6={_0x3eca7a:0x6e},_0x50bd65={_0x532e11:0x625,_0x15d006:0x86};function _0x33e708(_0x6118d6,_0x3cdbe3,_0x52b05b,_0x36cfca){return _0x521311(_0x3cdbe3- -_0x50bd65._0x532e11,_0x3cdbe3-_0x50bd65._0x15d006,_0x52b05b-0x1e2,_0x36cfca);}function _0x4e8b57(_0xcdecfa,_0x2d2c80,_0x66a3f2,_0x40f9bb){return _0x521311(_0x66a3f2- -0xcc,_0x2d2c80-0xd7,_0x66a3f2-_0x1cbcf6._0x3eca7a,_0x40f9bb);}return _0x226401[_0x33e708(-_0x2a1d26._0x52bc16,-_0x2a1d26._0x2cfe38,-_0x2a1d26._0x12ca39,-0x21d)]===_0x4e8b57(0x316,0x333,0x31e,_0x2a1d26._0x2567d9);});if(_0x2465ca[_0x521311(_0x5a77e4._0x1c9bd1,0x3d1,0x3de,0x3d5)]===0x0)return void 0x0;function _0x521311(_0x22f48a,_0x2be9d3,_0x32dc52,_0x57a7e9){return _0x1b30(_0x22f48a-_0x108387._0x418be7,_0x57a7e9);}return{'role':_0x521311(0x3f6,0x40c,_0x5a77e4._0x2e30d1,_0x5a77e4._0x457512),'content':_0x2465ca};}function createToolUseMessage(_0x37328c){const _0x28a0db={_0x451b78:0x448,_0x4c4026:0x45e,_0x411b53:0x1f1,_0x2c98e9:0x1d8},_0x2ec00b={_0x5c232d:0x3dd,_0x4e3451:0x415,_0x40e88c:0x319,_0x53357a:0x31e},_0x5cb806={_0x43815a:0xda},_0x3fa699={_0x3e1d17:0x2e6};function _0x3d33cb(_0x1e6d48,_0x5cb922,_0x81112c,_0x421076){return _0x1b30(_0x5cb922- -_0x3fa699._0x3e1d17,_0x1e6d48);}const _0x57c3d5=normalizeContent(_0x37328c?.[_0x21c537(_0x28a0db._0x451b78,_0x28a0db._0x4c4026,0x435,0x43f)])[_0x3d33cb(-0x1d5,-_0x28a0db._0x411b53,-0x1fb,-_0x28a0db._0x2c98e9)](_0x2f503a=>{function _0x870e8c(_0x4d0572,_0x1f9923,_0xd5fcc2,_0x3c92a7){return _0x21c537(_0x4d0572-0x1d0,_0x1f9923-0xde,_0x1f9923,_0xd5fcc2- -0x3b);}function _0x2fa9b4(_0x88393d,_0x21ed2e,_0x111436,_0x132979){return _0x3d33cb(_0x88393d,_0x21ed2e-0x503,_0x111436-_0x5cb806._0x43815a,_0x132979-0x29);}return _0x2f503a[_0x870e8c(0x412,_0x2ec00b._0x5c232d,0x3f5,_0x2ec00b._0x4e3451)]===_0x2fa9b4(0x339,_0x2ec00b._0x40e88c,0x31c,_0x2ec00b._0x53357a);});function _0x21c537(_0x293368,_0x1a15f2,_0x556d0a,_0x47a4ac){return _0x1b30(_0x47a4ac-0x32f,_0x556d0a);}if(_0x57c3d5['length']===0x0)return void 0x0;return{'role':'assistant','content':_0x57c3d5};}function getTextFromMessage(_0x25ddab){const _0x13889d={_0x384126:0x251,_0x4bc429:0x263,_0xabca53:0x256,_0x42bd78:0x235},_0x19f2d5={_0x4c2435:0x34b};function _0x48e79e(_0x2b199f,_0x367b58,_0x2e7a80,_0x41e96a){return _0x1b30(_0x41e96a-0x12e,_0x2e7a80);}function _0x43a014(_0x30db11,_0x2f8e1b,_0xf7b2a7,_0x2a1dad){return _0x1b30(_0x2f8e1b- -_0x19f2d5._0x4c2435,_0x2a1dad);}return normalizeContent(_0x25ddab?.[_0x43a014(-0x235,-0x23b,-_0x13889d._0x384126,-0x251)])[_0x43a014(-_0x13889d._0x4bc429,-_0x13889d._0xabca53,-0x251,-0x26f)](_0x164805=>_0x164805[_0x43a014(-0x24e,-0x24a,-0x242,-0x231)]===_0x43a014(-0x272,-0x26b,-0x272,-0x263))['map'](_0x28b756=>_0x28b756[_0x48e79e(0x22a,0x20d,0x1fe,0x20e)])[_0x48e79e(0x229,0x23a,_0x13889d._0x42bd78,0x23d)]('\x0a');}function getReasoningTextFromMessage(_0x109d56){const _0x431127={_0x1229ca:0x12c,_0x541620:0x133},_0x760e95={_0x1a5186:0x1e3,_0x2f3ad2:0x1cf,_0x32918b:0x1c3,_0x238cf7:0x1b2,_0x2ecdcc:0x1ae,_0x2eebb2:0x19c,_0x2da9a0:0x1b5,_0x185f2d:0x199,_0x4821ca:0x1cc,_0x19f745:0x1b0,_0x377591:0x1d6,_0x5bee74:0x1c6,_0x195945:0x1d0,_0x1cd9b9:0x19a,_0x5be5cb:0x198,_0x2041c2:0x1a5,_0x5e11d8:0x1ab,_0x1f4839:0x1c1,_0x18c174:0x1c5,_0x3d9adc:0x1d1,_0x5c8909:0x1a3,_0x483e4b:0x1a0,_0x2d5c81:0x1a5,_0x217ffb:0x1af,_0x130eb1:0x1ce,_0x5f0e5c:0x1d0},_0x41c7ab={_0x9543dd:0x1bb,_0x12ad83:0xae},_0x5d004f={_0x579b7d:0x13f,_0x11b2bf:0x2da},_0x13edcb={_0x458321:0x1c8};function _0x5aacfe(_0x5d191f,_0x4f2ec6,_0x8daa26,_0x8f65f9){return _0x1b30(_0x8f65f9-0x24,_0x5d191f);}function _0x296422(_0x124900,_0xebb2e9,_0x2d4989,_0x3a9d3d){return _0x1b30(_0xebb2e9-_0x13edcb._0x458321,_0x3a9d3d);}return normalizeContent(_0x109d56?.[_0x5aacfe(0x117,0x145,0x13d,0x134)])['flatMap'](_0x52affa=>{if(_0x52affa['type']===_0x13c119(0x1d8,0x1d0,0x1d9,0x1d5))return _0x52affa['thinking'][_0x76d24(-0x1be,-_0x760e95._0x1a5186,-_0x760e95._0x2f3ad2,-_0x760e95._0x32918b)]()['length']>0x0?[_0x52affa[_0x13c119(0x1d5,0x1d1,_0x760e95._0x238cf7,0x1c4)]]:[];function _0x76d24(_0x3a9a5d,_0x596b1f,_0x32e86e,_0x3489d5){return _0x5aacfe(_0x596b1f,_0x596b1f-0x1f2,_0x32e86e-_0x5d004f._0x579b7d,_0x3489d5- -_0x5d004f._0x11b2bf);}if(_0x52affa[_0x76d24(-_0x760e95._0x2ecdcc,-0x1c5,-_0x760e95._0x2eebb2,-_0x760e95._0x2da9a0)]===_0x13c119(_0x760e95._0x185f2d,0x1b6,0x1b0,_0x760e95._0x4821ca))return['(redacted\x20reasoning)'];if(_0x52affa[_0x76d24(-0x1b5,-_0x760e95._0x19f745,-0x19b,-0x1b5)]!==_0x13c119(0x1b7,_0x760e95._0x377591,_0x760e95._0x5bee74,0x1f0))return[];const _0x4e4f4c=_0x52affa[_0x76d24(-0x1b0,-0x1b7,-0x19f,-0x1ab)][_0x76d24(-_0x760e95._0x195945,-_0x760e95._0x1cd9b9,-_0x760e95._0x5be5cb,-_0x760e95._0x19f745)](_0x33838a=>_0x33838a['text'])[_0x76d24(-_0x760e95._0x2041c2,-_0x760e95._0x5e11d8,-0x1d0,-0x1c1)](_0x49e045=>_0x49e045['trim']()[_0x76d24(-0x1d7,-0x1e6,-0x1ec,-0x1da)]>0x0)[_0x76d24(-0x191,-_0x760e95._0x1f4839,-_0x760e95._0x2eebb2,-0x1a7)]('\x0a\x0a');if(_0x4e4f4c[_0x76d24(-_0x760e95._0x18c174,-_0x760e95._0x3d9adc,-0x1e9,-0x1da)]>0x0)return[_0x4e4f4c];if(_0x52affa['text']&&_0x52affa[_0x13c119(0x1be,0x1b2,_0x760e95._0x5c8909,_0x760e95._0x483e4b)][_0x76d24(-0x1c6,-0x1de,-0x1b7,-_0x760e95._0x32918b)]()[_0x13c119(0x1c3,0x1ae,_0x760e95._0x2d5c81,_0x760e95._0x217ffb)]>0x0)return[_0x52affa['text']];function _0x13c119(_0x1ab4f9,_0x524273,_0x4fa2fc,_0x151853){return _0x5aacfe(_0x4fa2fc,_0x524273-_0x41c7ab._0x9543dd,_0x4fa2fc-0x1b6,_0x524273-_0x41c7ab._0x12ad83);}return _0x52affa[_0x76d24(-0x1c2,-0x1c4,-_0x760e95._0x130eb1,-_0x760e95._0x5f0e5c)]?['(encrypted\x20reasoning)']:[];})[_0x5aacfe(_0x431127._0x1229ca,0x145,0x14d,_0x431127._0x541620)]('\x0a\x0a');}function _0x3a0d(){const _0x42c8cb=['mJa3odu1mfvntK1lvW','DxnLCG','yxnZAxn0yw50','Bw9KzwW','Bw9KzwXFAwrLBNrPDhK','AxnbCNjHEq','C3rHDhvZ','mtCYmJeYmdb0zxbsBuO','CMvHC29UAw5Nvg9Rzw5Z','DhjPBq','otaXofncCwP5Da','zMLSDgvY','nwfVBvDsBG','Dg9VBf9Yzxn1Bhq','BwvZC2fNzq','C2vZC2LVBKLK','ChjPy2LUz19WCM92AwrLCL9Pza','mtiXnw9zzfDfsW','Dg9VBf91C2u','B3v0Chv0vg9Rzw5Z','yw50AhjVCgLJx3rOAw5RAw5N','DgHPBMTPBMC','Bwv0ywrHDge','DhLWzq','Bwf4vg9Rzw5Z','ntmYC05ms1Dt','B3bLBMfPx3jLyxnVBMLUzW','mJyZmdm4Chbczhr4','BwfW','mJuYntG5sM12r3vc','DhvYBL9Pza','C3LZDgvT','CMvHC29UAw5N','C3vTBwfYEq','Bw9KzwXjzgvUDgL0Eq','ChjPy2LUz1bYB3zPzgvYswq','AgfZ','AM9PBG','y29UDgvUDa','BwvZC2fNzxm','DhvYBKLK','y2fSBeLK','y2XHDwrLlxnVBM5LDc00ltiWmJuWnte0','DxnHz2u','ChvZAa','Bwf4x3rVA2vUCW','Dg9VBhm','ywrK','C3rYAw5N','BgvUz3rO','Aw5WDxrFDg9Rzw5Z','mtiWz0DxqM1W','ChjVDMLKzxjtDgf0zq','Dgv4Da','B3v0Chv0','B3jPz2LUtw9KzwXjzgvUDgL0Eq','mJi1mZe4mwXvBMDADW','yw50AhjVCgLJx3jLzgfJDgvKx3rOAw5RAw5N','zxjYB3i','zw5JCNLWDgvKq29UDgvUDa','B3v0Chv0x3rVA2vUCW','B3v0Chv0rM9YBwf0','CMvHC29UAw5Nx3rVA2vUCW'];_0x3a0d=function(){return _0x42c8cb;};return _0x3a0d();}function getToolUseBlocks(_0x1abbe7){const _0x5938cd={_0x31f540:0x4f0,_0xd883ae:0x4d6,_0x26f357:0x5f},_0xeee809={_0x1026c1:0x14b},_0x16e207={_0x12c341:0x3e0};function _0x230942(_0x411a25,_0x52c7c3,_0x5dad5d,_0x3f9a6b){return _0x1b30(_0x52c7c3-_0x16e207._0x12c341,_0x3f9a6b);}function _0x114207(_0x1bdbc2,_0x1b5f37,_0x5d92a8,_0x61159e){return _0x1b30(_0x1bdbc2- -_0xeee809._0x1026c1,_0x1b5f37);}return normalizeContent(_0x1abbe7?.[_0x230942(0x502,_0x5938cd._0x31f540,0x501,_0x5938cd._0xd883ae)])[_0x114207(-0x56,-_0x5938cd._0x26f357,-0x40,-0x5a)](_0x5b5333=>_0x5b5333[_0x230942(0x4dd,0x4e1,0x4de,0x4cc)]==='tool_use');}function getToolResultBlocks(_0x5cdec7){const _0x4e1b6d={_0x134d2c:0x260},_0x2168b8={_0x2b7666:0x2f7};function _0x4f1492(_0xded6e,_0x401ca6,_0xbd2b1d,_0x161975){return _0x1b30(_0xded6e-_0x2168b8._0x2b7666,_0xbd2b1d);}function _0x191bd1(_0x37a4c1,_0x9556db,_0x125270,_0x3448e2){return _0x1b30(_0x9556db- -_0x4e1b6d._0x134d2c,_0x37a4c1);}return normalizeContent(_0x5cdec7?.['content'])['filter'](_0x241cd1=>_0x241cd1[_0x4f1492(0x3f8,0x409,0x3fd,0x3ff)]===_0x191bd1(-0x178,-0x169,-0x16b,-0x176));}function createToolResultUserMessage(_0x1ae7d3){const _0xee7bb9={_0x5b24e3:0xee,_0x22a4b1:0xe3,_0x333280:0x10a,_0x164e9f:0x104,_0x342995:0x111,_0x182725:0x391,_0x1f5d6b:0x352,_0x44a358:0x349,_0x26eabc:0xe7,_0x3f00bf:0x105,_0x35b87d:0x35d,_0x835ae5:0x359,_0x45fcf4:0x360,_0x3c03a8:0x35f};return{'role':'user','content':_0x1ae7d3['map'](_0x1a6060=>{const _0x1ff847={_0x544322:0x9};function _0x38bfdb(_0x31ebb3,_0x30301e,_0x28fe65,_0x3815da){return _0x1b30(_0x3815da-0x27a,_0x31ebb3);}function _0x112eec(_0xd470fe,_0x43660d,_0x3b6d21,_0x3d098d){return _0x1b30(_0xd470fe- -_0x1ff847._0x544322,_0x43660d);}return{'type':_0x112eec(_0xee7bb9._0x5b24e3,0xd2,_0xee7bb9._0x22a4b1,0x106),'tool_use_id':_0x1a6060[_0x112eec(_0xee7bb9._0x333280,_0xee7bb9._0x164e9f,0xf4,_0xee7bb9._0x342995)],'content':_0x1a6060[_0x38bfdb(0x38b,0x397,_0xee7bb9._0x182725,0x38a)]??_0x1a6060[_0x38bfdb(_0xee7bb9._0x1f5d6b,_0xee7bb9._0x44a358,0x35b,0x35b)],'is_error':_0x1a6060[_0x112eec(_0xee7bb9._0x26eabc,0xdc,_0xee7bb9._0x3f00bf,0xee)]===_0x38bfdb(_0xee7bb9._0x35b87d,_0xee7bb9._0x835ae5,_0xee7bb9._0x45fcf4,_0xee7bb9._0x3c03a8)};})};}var INTERRUPTED_TOOL_RESULT_TEXT='Tool\x20execution\x20was\x20interrupted\x20before\x20completion\x20and\x20produced\x20no\x20result.';function synthesizeMissingToolResults(_0x1fe073){const _0x412dc1={_0xcd9033:0x1cd,_0x432da4:0x1b8,_0x50a5df:0x1af,_0x10d3f2:0x215,_0x42e11c:0x1f8,_0x18b9bb:0x4ab,_0x4fab39:0x4ae,_0x25ba6d:0x493,_0x3f81f5:0x486,_0x25c118:0x499},_0x3363f8=new Set();for(const _0x1f5834 of _0x1fe073){for(const _0x8fb747 of getToolResultBlocks(_0x1f5834)){_0x3363f8['add'](_0x8fb747['tool_use_id']);}}const _0x59ed28=[];function _0x5e16f5(_0x13bba0,_0x177a18,_0x39af51,_0x31ac87){return _0x1b30(_0x177a18-0x389,_0x13bba0);}for(const _0x3e6d33 of _0x1fe073){_0x59ed28[_0x48905d(-0x1c0,-_0x412dc1._0xcd9033,-_0x412dc1._0x432da4,-_0x412dc1._0x50a5df)](_0x3e6d33);const _0x11af89=getToolUseBlocks(_0x3e6d33)[_0x5e16f5(0x468,0x47e,0x47f,0x46c)](_0x423a07=>!_0x3363f8[_0x48905d(-0x1d1,-0x1d5,-0x1be,-0x1c5)](_0x423a07['id']));if(_0x11af89['length']===0x0)continue;_0x59ed28['push']({'role':_0x48905d(-_0x412dc1._0x10d3f2,-_0x412dc1._0x42e11c,-0x1de,-0x218),'content':_0x11af89[_0x5e16f5(_0x412dc1._0x18b9bb,0x48f,_0x412dc1._0x4fab39,0x473)](_0x446bc0=>({'type':_0x48905d(-0x1ef,-0x1ec,-0x205,-0x1f3),'tool_use_id':_0x446bc0['id'],'content':INTERRUPTED_TOOL_RESULT_TEXT,'is_error':!![]}))});for(const _0x1f516d of _0x11af89){_0x3363f8[_0x5e16f5(_0x412dc1._0x25ba6d,0x4a2,_0x412dc1._0x3f81f5,_0x412dc1._0x25c118)](_0x1f516d['id']);}}function _0x48905d(_0x4cf74e,_0x1fb7bd,_0x50fd81,_0x555e8b){return _0x1b30(_0x1fb7bd- -0x2e3,_0x555e8b);}return _0x59ed28;}export{createTextBlock,normalizeTextBlock,normalizeContent,normalizeSystem,isProviderStateCompatible,normalizeMessage,compileRequest,toChatRequest,toModelRequest,toProviderModelRequest,toChatResponse,toModelResponse,responseToAssistantMessage,createReasoningMessage,createAssistantTextMessage,createToolUseMessage,getTextFromMessage,getReasoningTextFromMessage,getToolUseBlocks,getToolResultBlocks,createToolResultUserMessage,INTERRUPTED_TOOL_RESULT_TEXT,synthesizeMissingToolResults};
@@ -1 +1 @@
1
- function _0x332b(_0x2650d5,_0x2e328d){_0x2650d5=_0x2650d5-0x8e;const _0x379ca8=_0x379c();let _0x332bb9=_0x379ca8[_0x2650d5];if(_0x332b['oXwgEz']===undefined){var _0x531b5d=function(_0x3b794c){const _0x5c77d1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4d4131='',_0x292d02='';for(let _0x29fc31=0x0,_0x5d6f30,_0xfca45a,_0x291e86=0x0;_0xfca45a=_0x3b794c['charAt'](_0x291e86++);~_0xfca45a&&(_0x5d6f30=_0x29fc31%0x4?_0x5d6f30*0x40+_0xfca45a:_0xfca45a,_0x29fc31++%0x4)?_0x4d4131+=String['fromCharCode'](0xff&_0x5d6f30>>(-0x2*_0x29fc31&0x6)):0x0){_0xfca45a=_0x5c77d1['indexOf'](_0xfca45a);}for(let _0x2ad265=0x0,_0x523ebf=_0x4d4131['length'];_0x2ad265<_0x523ebf;_0x2ad265++){_0x292d02+='%'+('00'+_0x4d4131['charCodeAt'](_0x2ad265)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x292d02);};_0x332b['ZOIxQr']=_0x531b5d,_0x332b['kEifPd']={},_0x332b['oXwgEz']=!![];}const _0x18a858=_0x379ca8[0x0],_0x490320=_0x2650d5+_0x18a858,_0xa06251=_0x332b['kEifPd'][_0x490320];return!_0xa06251?(_0x332bb9=_0x332b['ZOIxQr'](_0x332bb9),_0x332b['kEifPd'][_0x490320]=_0x332bb9):_0x332bb9=_0xa06251,_0x332bb9;}(function(_0xeca8da,_0x4984f8){const _0x1d15f0={_0x57c2c9:0x2e1,_0x256bd9:0x2e6,_0x5256f9:0x27f,_0x5148a8:0x2d9,_0x205ee1:0x2d5,_0x237352:0x2de,_0x55cfc9:0x281,_0x326c47:0x2e3,_0x15aebb:0x2da,_0x2f55e5:0x28b,_0x407799:0x27b,_0x46bf78:0x271,_0x4a6d6e:0x275,_0x3edc10:0x28b},_0x16cba8={_0x1bd303:0x1e7};function _0x3d19df(_0x1a56dd,_0x8cb010,_0x3da060,_0x97ff89){return _0x332b(_0x1a56dd-_0x16cba8._0x1bd303,_0x97ff89);}const _0x2899bf=_0xeca8da();function _0x3906bc(_0x50ea7a,_0x11d275,_0x469de7,_0x50aab8){return _0x332b(_0x50ea7a- -0x37c,_0x469de7);}while(!![]){try{const _0x260150=-parseInt(_0x3906bc(-_0x1d15f0._0x57c2c9,-0x2e8,-_0x1d15f0._0x256bd9,-0x2e1))/0x1+parseInt(_0x3d19df(0x284,0x285,0x27c,_0x1d15f0._0x5256f9))/0x2+-parseInt(_0x3906bc(-0x2db,-_0x1d15f0._0x5148a8,-_0x1d15f0._0x205ee1,-_0x1d15f0._0x237352))/0x3*(-parseInt(_0x3d19df(0x286,_0x1d15f0._0x55cfc9,0x27f,0x282))/0x4)+parseInt(_0x3906bc(-0x2e4,-_0x1d15f0._0x237352,-_0x1d15f0._0x326c47,-0x2eb))/0x5+-parseInt(_0x3906bc(-_0x1d15f0._0x15aebb,-0x2e1,-0x2df,-0x2d4))/0x6*(parseInt(_0x3d19df(0x287,0x286,_0x1d15f0._0x2f55e5,_0x1d15f0._0x2f55e5))/0x7)+parseInt(_0x3d19df(_0x1d15f0._0x407799,_0x1d15f0._0x407799,_0x1d15f0._0x46bf78,_0x1d15f0._0x4a6d6e))/0x8+parseInt(_0x3d19df(_0x1d15f0._0x55cfc9,0x27f,_0x1d15f0._0x3edc10,0x280))/0x9;if(_0x260150===_0x4984f8)break;else _0x2899bf['push'](_0x2899bf['shift']());}catch(_0x4bfbb8){_0x2899bf['push'](_0x2899bf['shift']());}}}(_0x379c,0xbe0f0));import{toOpenAiResponsesRequest}from'../chunk-LIE76IJA.js';function _0x379c(){const _0x1400b4=['nZuYAu9zvhjO','nZK5mtq4sxnzq1z1','mte3mdnvsMnerMm','ndHJEMXAvNG','CMvWBgfJzq','BgfZDeLUzgv4','Bwf0y2HbBgW','DgvZDa','zNjVBq','ChvZAa','odqZndCYmfjgEuLtsG','Aw1Hz2uVANbN','C2XPy2u','Aw5KzxG','mtyZodCZnwzZBLvIqG','Aw1Hz2uVANbLzW','ntCYmdqZnK5jyLPXDW','mtiZmtK0me5LuwrPvG','BgvUz3rO','mZq1mZa2tvLWEM9x','Dgv4Da'];_0x379c=function(){return _0x1400b4;};return _0x379c();}import'../chunk-IUZALP6K.js';import{INTERRUPTED_TOOL_RESULT_TEXT,compileRequest,createAssistantTextMessage,createReasoningMessage,createTextBlock,createToolResultUserMessage,createToolUseMessage,getReasoningTextFromMessage,getTextFromMessage,getToolResultBlocks,getToolUseBlocks,isProviderStateCompatible,normalizeContent,normalizeMessage,normalizeSystem,normalizeTextBlock,responseToAssistantMessage,synthesizeMissingToolResults,toChatRequest,toChatResponse,toModelRequest,toModelResponse,toProviderModelRequest}from'../chunk-YNOIG4FD.js';var DATA_URI_REGEX=/data:(image\/(?:png|jpeg|jpg|gif|webp));base64,([A-Za-z0-9+/\r\n]+={0,2})/g;function normalizeMediaType(_0x4d4131){const _0x4035b2={_0x395b8e:0xd5};function _0x496076(_0x112b7c,_0x549e1a,_0x30dd1d,_0x3e12c9){return _0x332b(_0x112b7c- -0x169,_0x549e1a);}function _0x5bdec8(_0x5978a6,_0x18e6e1,_0x2ae4b1,_0x2e3498){return _0x332b(_0x18e6e1-0x1bf,_0x5978a6);}return _0x4d4131===_0x496076(-0xd4,-0xd2,-0xd0,-0xd0)?_0x496076(-0xd0,-0xcc,-0xcf,-_0x4035b2._0x395b8e):_0x4d4131;}function isValidBase64(_0x292d02){const _0x42047b={_0x48ab27:0x134,_0x42dd2f:0x168,_0x513828:0x170,_0x1ef04b:0x179},_0x4ee0c7={_0x44fe05:0x94};if(_0x292d02[_0xf0d170(0x130,_0x42047b._0x48ab27,0x128,0x12d)]===0x0||_0x292d02['length']%0x4!==0x0)return![];function _0x5cb311(_0x4fa4f6,_0x565d65,_0x5c613,_0x512191){return _0x332b(_0x565d65- -0x201,_0x4fa4f6);}function _0xf0d170(_0xe3b7d9,_0x496b37,_0x159df7,_0x47b215){return _0x332b(_0xe3b7d9-_0x4ee0c7._0x44fe05,_0x47b215);}return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0x5cb311(-_0x42047b._0x42dd2f,-_0x42047b._0x513828,-_0x42047b._0x1ef04b,-0x16e)](_0x292d02);}function collectImageMatches(_0x29fc31){const _0x2f37da={_0x3e33e4:0x1a0,_0x310fa8:0x1a4,_0x34ed12:0x198,_0x52eef5:0x192,_0x44ab29:0x1a6},_0x107c3a={_0xf76b1:0x2e2},_0x4d82c8={_0x46e8e2:0x156},_0xac4953={_0xf1f740:0x7c};function _0x4a088a(_0x16e7be,_0x2ae4c2,_0x84494b,_0x125163){return _0x332b(_0x125163- -_0xac4953._0xf1f740,_0x2ae4c2);}DATA_URI_REGEX[_0x495bd6(-0x19e,-0x199,-_0x2f37da._0x3e33e4,-_0x2f37da._0x310fa8)]=0x0;function _0x495bd6(_0x3f7e02,_0x2b049c,_0x9dd26c,_0x446068){return _0x332b(_0x3f7e02- -0x22d,_0x9dd26c);}return Array[_0x495bd6(-0x19b,-0x192,-0x1a5,-0x19b)](_0x29fc31[_0x495bd6(-0x19d,-_0x2f37da._0x34ed12,-_0x2f37da._0x52eef5,-_0x2f37da._0x44ab29)](DATA_URI_REGEX))['filter'](_0x5d6f30=>{function _0x15e8db(_0x101f1f,_0x96f6e2,_0x5dabd0,_0x27a707){return _0x495bd6(_0x27a707- -0x13e,_0x96f6e2-0x64,_0x5dabd0,_0x27a707-_0x4d82c8._0x46e8e2);}const _0xfca45a=(_0x5d6f30[0x2]??'')[_0x15e8db(-0x2d2,-_0x107c3a._0xf76b1,-0x2e1,-0x2dd)](/[\r\n]/g,'');return isValidBase64(_0xfca45a);});}function hasPastedImages(_0x291e86){return collectImageMatches(_0x291e86)['length']>0x0;}function contentFromPastedText(_0x2ad265){const _0x31a735={_0x41f85a:0x40,_0x41bf27:0x4e,_0x51b650:0x44,_0x416da2:0x6f,_0x5e6cd1:0x4a,_0x45d106:0x43,_0x530311:0x47,_0x4094d8:0x3d,_0x69fcb:0x3c,_0x1d6769:0x4b,_0x50724b:0x49,_0x3d948a:0x7c,_0x368aa7:0x74,_0x44cb57:0x73,_0x31c245:0x74,_0x32c0bb:0x67,_0x1115e3:0x40,_0x2ef8af:0x3a,_0x2707c5:0x4d,_0x17da37:0x47,_0x345153:0x49,_0x4ff3b:0x76},_0x1423cb={_0x20a0ea:0x27},_0x523ebf=collectImageMatches(_0x2ad265),_0x4961a1=[];function _0x676371(_0x4e87b1,_0x57e10e,_0x28d32f,_0x1427dc){return _0x332b(_0x28d32f- -_0x1423cb._0x20a0ea,_0x4e87b1);}let _0x581fe7=0x0;for(const _0x4d23d7 of _0x523ebf){const _0x4338f1=_0x4d23d7[_0x4c1d95(_0x31a735._0x41f85a,0x43,_0x31a735._0x41bf27,0x44)]??0x0,[_0x1a5736,_0x2d516d,_0x45a7d0]=_0x4d23d7;_0x4338f1>_0x581fe7&&_0x4961a1['push']({'type':_0x4c1d95(_0x31a735._0x51b650,0x40,0x4a,0x4b),'text':_0x2ad265[_0x676371(0x6c,0x77,_0x31a735._0x416da2,0x78)](_0x581fe7,_0x4338f1)}),_0x4961a1[_0x4c1d95(_0x31a735._0x5e6cd1,_0x31a735._0x45d106,_0x31a735._0x530311,0x40)]({'type':'image','source':{'type':'base64','media_type':normalizeMediaType(_0x2d516d),'data':_0x45a7d0[_0x4c1d95(0x31,_0x31a735._0x4094d8,_0x31a735._0x69fcb,0x3b)](/[\r\n]/g,'')}}),_0x581fe7=_0x4338f1+_0x1a5736[_0x4c1d95(_0x31a735._0x1d6769,0x4f,0x40,_0x31a735._0x50724b)];}function _0x4c1d95(_0x337e36,_0xd32e6c,_0x1ea74e,_0x53e61a){return _0x332b(_0x53e61a- -0x53,_0x337e36);}return _0x581fe7<_0x2ad265[_0x676371(_0x31a735._0x3d948a,_0x31a735._0x368aa7,0x75,_0x31a735._0x44cb57)]&&_0x4961a1[_0x676371(0x73,_0x31a735._0x31c245,0x6c,_0x31a735._0x32c0bb)]({'type':'text','text':_0x2ad265[_0x4c1d95(_0x31a735._0x530311,_0x31a735._0x1115e3,_0x31a735._0x2ef8af,0x43)](_0x581fe7)}),_0x4961a1[_0x4c1d95(_0x31a735._0x2707c5,0x4e,_0x31a735._0x17da37,_0x31a735._0x345153)]>0x0?_0x4961a1:[{'type':_0x676371(_0x31a735._0x4ff3b,0x7e,0x77,_0x31a735._0x3d948a),'text':_0x2ad265}];}export{INTERRUPTED_TOOL_RESULT_TEXT,compileRequest,contentFromPastedText,createAssistantTextMessage,createReasoningMessage,createTextBlock,createToolResultUserMessage,createToolUseMessage,getReasoningTextFromMessage,getTextFromMessage,getToolResultBlocks,getToolUseBlocks,hasPastedImages,isProviderStateCompatible,normalizeContent,normalizeMessage,normalizeSystem,normalizeTextBlock,responseToAssistantMessage,synthesizeMissingToolResults,toChatRequest,toChatResponse,toModelRequest,toModelResponse,toOpenAiResponsesRequest,toProviderModelRequest};
1
+ (function(_0x3259d6,_0x4386c0){const _0x2392e5={_0x39621d:0x12,_0xecbf89:0x20,_0x3a6a38:0x23,_0x469f72:0x15,_0x4956ca:0x1e,_0x2570c9:0x18,_0xfcd5c2:0x180,_0x15a5a9:0x178,_0x4030d6:0x186,_0x11ce3c:0x21,_0x5da5a1:0xb,_0x5a7c28:0x17,_0x56c10b:0x182,_0x2f5ab5:0x2a},_0x236807={_0xb04d94:0x291},_0x4391cb=_0x3259d6();function _0x3240cb(_0xb0187a,_0x4b2a7a,_0x11683b,_0x31dfd2){return _0xf2f0(_0xb0187a- -0x12b,_0x11683b);}function _0x36a6f2(_0x343d56,_0x11185f,_0x584609,_0x399b7c){return _0xf2f0(_0x343d56- -_0x236807._0xb04d94,_0x584609);}while(!![]){try{const _0x2c3996=-parseInt(_0x3240cb(-_0x2392e5._0x39621d,-0x13,-0x12,-0x15))/0x1+parseInt(_0x3240cb(-_0x2392e5._0xecbf89,-_0x2392e5._0x3a6a38,-_0x2392e5._0x469f72,-0x15))/0x2+-parseInt(_0x3240cb(-0x14,-_0x2392e5._0x4956ca,-0x16,-_0x2392e5._0x2570c9))/0x3+-parseInt(_0x36a6f2(-_0x2392e5._0xfcd5c2,-0x177,-_0x2392e5._0x15a5a9,-_0x2392e5._0x4030d6))/0x4+parseInt(_0x3240cb(-0x16,-_0x2392e5._0x11ce3c,-0x15,-_0x2392e5._0x5da5a1))/0x5+-parseInt(_0x3240cb(-_0x2392e5._0x5a7c28,-0xe,-0x19,-0xd))/0x6+-parseInt(_0x36a6f2(-0x17e,-_0x2392e5._0x56c10b,-0x188,-0x188))/0x7*(-parseInt(_0x3240cb(-0x24,-0x2b,-0x1f,-_0x2392e5._0x2f5ab5))/0x8);if(_0x2c3996===_0x4386c0)break;else _0x4391cb['push'](_0x4391cb['shift']());}catch(_0x46e600){_0x4391cb['push'](_0x4391cb['shift']());}}}(_0x5e71,0x62e7c));import{toOpenAiResponsesRequest}from'../chunk-LIE76IJA.js';import'../chunk-IUZALP6K.js';function _0xf2f0(_0x119e3c,_0x25022a){_0x119e3c=_0x119e3c-0x105;const _0x5e7110=_0x5e71();let _0xf2f093=_0x5e7110[_0x119e3c];if(_0xf2f0['RYzglk']===undefined){var _0x3925f4=function(_0xd6fde5){const _0x3253cb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x32fafe='',_0x2ae3bc='';for(let _0x10da2f=0x0,_0x2a88fe,_0x590c61,_0x19601f=0x0;_0x590c61=_0xd6fde5['charAt'](_0x19601f++);~_0x590c61&&(_0x2a88fe=_0x10da2f%0x4?_0x2a88fe*0x40+_0x590c61:_0x590c61,_0x10da2f++%0x4)?_0x32fafe+=String['fromCharCode'](0xff&_0x2a88fe>>(-0x2*_0x10da2f&0x6)):0x0){_0x590c61=_0x3253cb['indexOf'](_0x590c61);}for(let _0x24fca1=0x0,_0x4253d6=_0x32fafe['length'];_0x24fca1<_0x4253d6;_0x24fca1++){_0x2ae3bc+='%'+('00'+_0x32fafe['charCodeAt'](_0x24fca1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2ae3bc);};_0xf2f0['FWIhst']=_0x3925f4,_0xf2f0['jmBmfC']={},_0xf2f0['RYzglk']=!![];}const _0x388ddc=_0x5e7110[0x0],_0x3497d7=_0x119e3c+_0x388ddc,_0x46a0bc=_0xf2f0['jmBmfC'][_0x3497d7];return!_0x46a0bc?(_0xf2f093=_0xf2f0['FWIhst'](_0xf2f093),_0xf2f0['jmBmfC'][_0x3497d7]=_0xf2f093):_0xf2f093=_0x46a0bc,_0xf2f093;}import{INTERRUPTED_TOOL_RESULT_TEXT,compileRequest,createAssistantTextMessage,createReasoningMessage,createTextBlock,createToolResultUserMessage,createToolUseMessage,getReasoningTextFromMessage,getTextFromMessage,getToolResultBlocks,getToolUseBlocks,isProviderStateCompatible,normalizeContent,normalizeMessage,normalizeSystem,normalizeTextBlock,responseToAssistantMessage,synthesizeMissingToolResults,toChatRequest,toChatResponse,toModelRequest,toModelResponse,toProviderModelRequest}from'../chunk-YNOIG4FD.js';var DATA_URI_REGEX=/data:(image\/(?:png|jpeg|jpg|gif|webp));base64,([A-Za-z0-9+/\r\n]+={0,2})/g;function normalizeMediaType(_0x32fafe){const _0x957dca={_0x34b7fd:0x29c,_0x32a610:0x295,_0x550478:0x292,_0x2816c1:0x424,_0x290742:0x430};function _0x49e371(_0x5ba997,_0x5711de,_0x179b69,_0x47499e){return _0xf2f0(_0x5ba997- -0x3ac,_0x5711de);}function _0x3fc3e(_0x5672e7,_0x24a87d,_0x314000,_0x248c82){return _0xf2f0(_0x314000-0x328,_0x248c82);}return _0x32fafe===_0x49e371(-_0x957dca._0x34b7fd,-_0x957dca._0x32a610,-0x2a0,-_0x957dca._0x550478)?_0x3fc3e(_0x957dca._0x2816c1,0x427,0x42d,_0x957dca._0x290742):_0x32fafe;}function isValidBase64(_0x2ae3bc){const _0x22895e={_0x16bac1:0x30e,_0x460108:0x134,_0x46c08f:0x137,_0x21e6a5:0x12c,_0x11e74b:0x12e,_0x3ee535:0x11a,_0x57a9b1:0x123},_0x5d423a={_0x1c65b4:0x20d};if(_0x2ae3bc[_0x19fcb0(0x317,0x316,0x317,_0x22895e._0x16bac1)]===0x0||_0x2ae3bc[_0x4000e9(-_0x22895e._0x460108,-_0x22895e._0x46c08f,-_0x22895e._0x21e6a5,-0x128)]%0x4!==0x0)return![];function _0x4000e9(_0x5c17a6,_0x5cf63c,_0x3a1983,_0x443dc8){return _0xf2f0(_0x3a1983- -0x235,_0x5c17a6);}function _0x19fcb0(_0x3a3475,_0x25017d,_0x421fee,_0x19380c){return _0xf2f0(_0x25017d-_0x5d423a._0x1c65b4,_0x19380c);}return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0x4000e9(-_0x22895e._0x11e74b,-_0x22895e._0x3ee535,-_0x22895e._0x57a9b1,-0x11e)](_0x2ae3bc);}function collectImageMatches(_0x10da2f){const _0x34ec1a={_0x11ddc3:0x4da,_0x3618cd:0x4de,_0x4144d0:0x4da,_0x5b67bc:0x4db,_0x13ad0a:0x329,_0x5503f9:0x320,_0x3980c1:0x328},_0x12b8ef={_0x541bd7:0x3cc};function _0x4cdb06(_0x47244c,_0x55a89b,_0x1b06c2,_0x9f7d7b){return _0xf2f0(_0x1b06c2-0x20a,_0x55a89b);}function _0x554596(_0x4f7a34,_0x4efe78,_0x70381c,_0x1b8f33){return _0xf2f0(_0x70381c-_0x12b8ef._0x541bd7,_0x4efe78);}return DATA_URI_REGEX[_0x554596(_0x34ec1a._0x11ddc3,_0x34ec1a._0x3618cd,_0x34ec1a._0x4144d0,_0x34ec1a._0x5b67bc)]=0x0,Array['from'](_0x10da2f[_0x4cdb06(_0x34ec1a._0x13ad0a,0x329,_0x34ec1a._0x5503f9,0x31d)](DATA_URI_REGEX))[_0x4cdb06(_0x34ec1a._0x3980c1,0x321,0x322,0x31c)](_0x2a88fe=>{const _0x590c61=(_0x2a88fe[0x2]??'')['replace'](/[\r\n]/g,'');return isValidBase64(_0x590c61);});}function _0x5e71(){const _0x3a2e04=['ChvZAa','BgfZDeLUzgv4','C2XPy2u','Aw1Hz2uVANbN','mZe3nZC2mhfMwgfPuG','DgvZDa','n3nqvNDzBW','mZKYntyWohzlEfzquq','nJqWmdGWshLov3zR','Bwf0y2HbBgW','mtGWmdi2mw5mvu9fAq','zMLSDgvY','mJC5mZeZBvLHC2nS','Aw5KzxG','Aw1Hz2uVANbLzW','yMfZzty0','mtKYmtuYmJrgy1jUrLG','CMvWBgfJzq','BgvUz3rO','Aw1Hz2u','nda2nJeWuvnlzhfK','Dgv4Da'];_0x5e71=function(){return _0x3a2e04;};return _0x5e71();}function hasPastedImages(_0x19601f){const _0x480a22={_0x1e9682:0x249,_0x5df40d:0x24e,_0x5a7a66:0x240};function _0xa149d8(_0x55e0e4,_0x4f521b,_0xf541e3,_0x12b651){return _0xf2f0(_0xf541e3- -0x353,_0x4f521b);}return collectImageMatches(_0x19601f)[_0xa149d8(-_0x480a22._0x1e9682,-_0x480a22._0x5df40d,-0x24a,-_0x480a22._0x5a7a66)]>0x0;}function contentFromPastedText(_0x24fca1){const _0x20b975={_0x31f772:0xb7,_0x724056:0xb3,_0x39d59e:0xac,_0x466015:0x9a,_0xe0a303:0x9b,_0x5ebf3d:0xa8,_0xa30b33:0x380,_0x5b02fc:0x375,_0x6c7d7d:0xa1,_0x2d0086:0x96,_0x1f5be7:0x9f,_0xe1d92b:0x93,_0x274b93:0x96,_0xbae20a:0x9e,_0x721dd:0x371,_0x28618a:0x36c,_0x39afdb:0x376,_0x25b9d0:0x36c,_0x1ae48e:0xa4,_0x4b3f36:0x92,_0x25b20d:0xa8,_0x13b290:0x9e,_0xa3ef5:0x375,_0x5abfb6:0x370,_0x402ec5:0x372,_0x543993:0x37b,_0x3eea08:0x36d,_0x30132f:0x37a},_0x4253d6=collectImageMatches(_0x24fca1),_0x202404=[];function _0x2bd117(_0x43e7b7,_0x4af379,_0x3ee610,_0x5857b9){return _0xf2f0(_0x5857b9- -0x6e,_0x4af379);}let _0x4c1acf=0x0;for(const _0x33b009 of _0x4253d6){const _0x1284ae=_0x33b009[_0x2bd117(_0x20b975._0x31f772,_0x20b975._0x724056,0xac,_0x20b975._0x39d59e)]??0x0,[_0xe8f324,_0x582ba3,_0x51ddd7]=_0x33b009;_0x1284ae>_0x4c1acf&&_0x202404[_0x2bd117(_0x20b975._0x466015,_0x20b975._0xe0a303,_0x20b975._0x5ebf3d,0x9f)]({'type':_0x579e5f(_0x20b975._0xa30b33,_0x20b975._0x5b02fc,0x375,0x379),'text':_0x24fca1[_0x2bd117(0xa2,0x9a,_0x20b975._0x6c7d7d,0xa1)](_0x4c1acf,_0x1284ae)}),_0x202404[_0x2bd117(_0x20b975._0x2d0086,0xa3,0x9b,_0x20b975._0x1f5be7)]({'type':_0x2bd117(_0x20b975._0xe1d92b,0x97,_0x20b975._0x274b93,0x9c),'source':{'type':_0x2bd117(0x8d,_0x20b975._0x1f5be7,_0x20b975._0xbae20a,0x98),'media_type':normalizeMediaType(_0x582ba3),'data':_0x51ddd7[_0x579e5f(0x36a,_0x20b975._0x721dd,_0x20b975._0x28618a,_0x20b975._0x39afdb)](/[\r\n]/g,'')}}),_0x4c1acf=_0x1284ae+_0xe8f324[_0x579e5f(_0x20b975._0x25b9d0,0x372,0x376,0x36c)];}function _0x579e5f(_0x556eb5,_0x2dea67,_0x25324d,_0x13fc5b){return _0xf2f0(_0x2dea67-0x269,_0x25324d);}return _0x4c1acf<_0x24fca1[_0x2bd117(0x9f,_0x20b975._0x1ae48e,_0x20b975._0x4b3f36,_0x20b975._0xe0a303)]&&_0x202404[_0x2bd117(_0x20b975._0x25b20d,0xa8,_0x20b975._0x13b290,0x9f)]({'type':_0x579e5f(0x37a,_0x20b975._0xa3ef5,0x36d,0x37c),'text':_0x24fca1[_0x579e5f(_0x20b975._0x5abfb6,0x378,0x37f,0x380)](_0x4c1acf)}),_0x202404[_0x579e5f(0x368,_0x20b975._0x402ec5,0x36b,_0x20b975._0x543993)]>0x0?_0x202404:[{'type':_0x579e5f(_0x20b975._0x3eea08,0x375,0x36d,_0x20b975._0x30132f),'text':_0x24fca1}];}export{INTERRUPTED_TOOL_RESULT_TEXT,compileRequest,contentFromPastedText,createAssistantTextMessage,createReasoningMessage,createTextBlock,createToolResultUserMessage,createToolUseMessage,getReasoningTextFromMessage,getTextFromMessage,getToolResultBlocks,getToolUseBlocks,hasPastedImages,isProviderStateCompatible,normalizeContent,normalizeMessage,normalizeSystem,normalizeTextBlock,responseToAssistantMessage,synthesizeMissingToolResults,toChatRequest,toChatResponse,toModelRequest,toModelResponse,toOpenAiResponsesRequest,toProviderModelRequest};