@nuvin/agent-core 0.2.0-rc.4 → 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 _0x5b30(){var _0x57e7d4=['odHVruTrvLO','Aw5JBhvKzxm','owXdzhPrzG','ow5ftvfmua','ndyYntmWne5pAwDICG','mJe3mMTICwXbCa','otKYmZGWzfHMuhfe','nteWnZCWmfDms1jrBG','mJG0odiWmeDAsurQsa','nde4odm4mKjJA2z6ta','nJa2vw9Ku3fY','mtu2mJy4vfL1B2T3'];_0x5b30=function(){return _0x57e7d4;};return _0x5b30();}(function(_0x1e4616,_0x5e63d6){var _0x30b95c={_0x120fd5:0xcc,_0x53b92b:0xc9,_0x18bf20:0xc7,_0x290aab:0xcc,_0x454751:0x183,_0x1743a4:0x17d,_0xa9f680:0x183,_0x1da9a1:0xcb,_0x3567ef:0xce,_0x3e6a63:0xcd,_0x3577b8:0xce,_0x4a0086:0xca,_0x144de6:0xc3,_0xa55cbf:0x187,_0x3e4f6e:0x182,_0x52f0a:0x185,_0x453a62:0x180,_0x590d1b:0xc3,_0x35bb97:0xc6,_0x4050fe:0xcf},_0x40207d={_0xc97990:0x1c9};function _0x203ebd(_0x5d855e,_0x4e5f00,_0x30dee1,_0x5a3ce1){return _0x4841(_0x4e5f00- -_0x40207d._0xc97990,_0x5d855e);}function _0x5dfac7(_0x1094f1,_0x109525,_0x4c87b2,_0x81aff5){return _0x4841(_0x1094f1- -0x28a,_0x109525);}var _0x2cb919=_0x1e4616();while(!![]){try{var _0x597075=parseInt(_0x203ebd(-0xc6,-_0x30b95c._0x120fd5,-_0x30b95c._0x53b92b,-0xca))/0x1*(-parseInt(_0x203ebd(-0xc6,-_0x30b95c._0x18bf20,-0xc7,-_0x30b95c._0x290aab))/0x2)+parseInt(_0x5dfac7(-_0x30b95c._0x454751,-0x17f,-_0x30b95c._0x1743a4,-_0x30b95c._0xa9f680))/0x3*(parseInt(_0x203ebd(-0xc7,-_0x30b95c._0x1da9a1,-_0x30b95c._0x3567ef,-_0x30b95c._0x3e6a63))/0x4)+-parseInt(_0x203ebd(-_0x30b95c._0x3577b8,-_0x30b95c._0x4a0086,-0xce,-0xce))/0x5+parseInt(_0x203ebd(-0xbe,-0xc1,-0xc6,-_0x30b95c._0x144de6))/0x6+parseInt(_0x5dfac7(-_0x30b95c._0xa55cbf,-_0x30b95c._0x3e4f6e,-_0x30b95c._0x3e4f6e,-_0x30b95c._0x52f0a))/0x7*(parseInt(_0x5dfac7(-0x186,-0x183,-_0x30b95c._0x453a62,-0x188))/0x8)+parseInt(_0x203ebd(-_0x30b95c._0x590d1b,-0xc3,-0xbe,-0xc5))/0x9*(parseInt(_0x203ebd(-_0x30b95c._0x35bb97,-0xc9,-_0x30b95c._0x4050fe,-_0x30b95c._0x144de6))/0xa)+parseInt(_0x203ebd(-0xca,-0xc8,-_0x30b95c._0x144de6,-0xca))/0xb;if(_0x597075===_0x5e63d6)break;else _0x2cb919['push'](_0x2cb919['shift']());}catch(_0x5ef699){_0x2cb919['push'](_0x2cb919['shift']());}}}(_0x5b30,0xb64a3));function _0x4841(_0x506f8d,_0x163cad){_0x506f8d=_0x506f8d-0xfd;var _0x5b30dd=_0x5b30();var _0x4841f1=_0x5b30dd[_0x506f8d];if(_0x4841['MQwktL']===undefined){var _0x3650a3=function(_0x41565c){var _0x400ba0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x94d03b='',_0x4f6b1f='';for(var _0x44866b=0x0,_0x1aad0f,_0x4773bf,_0xf1292f=0x0;_0x4773bf=_0x41565c['charAt'](_0xf1292f++);~_0x4773bf&&(_0x1aad0f=_0x44866b%0x4?_0x1aad0f*0x40+_0x4773bf:_0x4773bf,_0x44866b++%0x4)?_0x94d03b+=String['fromCharCode'](0xff&_0x1aad0f>>(-0x2*_0x44866b&0x6)):0x0){_0x4773bf=_0x400ba0['indexOf'](_0x4773bf);}for(var _0x484d29=0x0,_0x378766=_0x94d03b['length'];_0x484d29<_0x378766;_0x484d29++){_0x4f6b1f+='%'+('00'+_0x94d03b['charCodeAt'](_0x484d29)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4f6b1f);};_0x4841['EBMaFK']=_0x3650a3,_0x4841['usBSiG']={},_0x4841['MQwktL']=!![];}var _0x338c4c=_0x5b30dd[0x0],_0x3358a9=_0x506f8d+_0x338c4c,_0x158eae=_0x4841['usBSiG'][_0x3358a9];return!_0x158eae?(_0x4841f1=_0x4841['EBMaFK'](_0x4841f1),_0x4841['usBSiG'][_0x3358a9]=_0x4841f1):_0x4841f1=_0x158eae,_0x4841f1;}function modelIdentityFromParts(_0x94d03b,_0x4f6b1f){var _0x5d20a1={_0x2e8773:0x4d9};function _0x3e8e55(_0x13072d,_0x50aea4,_0x5679b8,_0x167907){return _0x4841(_0x13072d-0x3d4,_0x5679b8);}if(_0x94d03b)return _0x94d03b+':'+_0x4f6b1f;return _0x4f6b1f[_0x3e8e55(_0x5d20a1._0x2e8773,0x4de,0x4df,0x4d3)](':')?':'+_0x4f6b1f:_0x4f6b1f;}export{modelIdentityFromParts};
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 _0x4b3c(){var _0x49273c=['vhvYBKzHAwXLzevYCM9Y','mJeZntqYn1ffEgzbqW','C3rHDgu','nJm4ntKYAxj0BMLS','ndG0mJHLtgLhtKm','mJa3odq4oeH4rxjUzW','mZu1nJC4yu1KEMr5','ntmZmZu4shfpuLnj','ndb0wwPJwe0','nMj4vK5zBG','mJaZntK1DMfNwg9k','BwvZC2fNzq'];_0x4b3c=function(){return _0x49273c;};return _0x4b3c();}(function(_0x255ab0,_0x408f95){var _0x45f392={_0x3d5e1e:0x6,_0x248c37:0x66,_0x4f9ec2:0x6a,_0xf4d913:0xb,_0x37eebf:0xc,_0x13dbd0:0x70,_0x54c1be:0x12,_0x486403:0x7,_0x43d5a2:0x67,_0x433af5:0xa,_0x5ed4c2:0x9,_0x41f189:0x6f,_0x200477:0x6d},_0x47780d={_0x4c1804:0x167};function _0xc2665c(_0xe99fa0,_0x4621a4,_0x3cca6c,_0x1bf111){return _0x3a48(_0x1bf111- -0x1c9,_0x3cca6c);}var _0x15dbec=_0x255ab0();function _0x3327c2(_0x226928,_0x38d6e4,_0x2abd55,_0xb009d5){return _0x3a48(_0xb009d5- -_0x47780d._0x4c1804,_0x2abd55);}while(!![]){try{var _0x3ca6b8=parseInt(_0xc2665c(_0x45f392._0x3d5e1e,0xd,0xb,0xa))/0x1+-parseInt(_0x3327c2(0x6a,0x6b,_0x45f392._0x248c37,_0x45f392._0x4f9ec2))/0x2+parseInt(_0xc2665c(0xd,0x4,_0x45f392._0xf4d913,0x7))/0x3+-parseInt(_0xc2665c(0x9,0xd,_0x45f392._0x37eebf,0xc))/0x4*(parseInt(_0x3327c2(0x74,0x72,0x6a,_0x45f392._0x13dbd0))/0x5)+parseInt(_0xc2665c(_0x45f392._0x54c1be,_0x45f392._0x486403,0x12,0xd))/0x6*(parseInt(_0x3327c2(0x6a,0x63,0x6a,_0x45f392._0x43d5a2))/0x7)+-parseInt(_0xc2665c(0xb,_0x45f392._0x433af5,0x6,_0x45f392._0x5ed4c2))/0x8+parseInt(_0x3327c2(_0x45f392._0x43d5a2,0x6f,_0x45f392._0x41f189,_0x45f392._0x200477))/0x9;if(_0x3ca6b8===_0x408f95)break;else _0x15dbec['push'](_0x15dbec['shift']());}catch(_0x2c4ad8){_0x15dbec['push'](_0x15dbec['shift']());}}}(_0x4b3c,0x3aff2));function _0x3a48(_0x49b4c0,_0x4fed51){_0x49b4c0=_0x49b4c0-0x1cd;var _0x4b3cf5=_0x4b3c();var _0x3a48f3=_0x4b3cf5[_0x49b4c0];if(_0x3a48['AGKsEJ']===undefined){var _0x4e8465=function(_0x5d3db5){var _0x1b9e9f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5ee9d9='',_0xd6b282='';for(var _0xf048fd=0x0,_0x52c6f2,_0x2d4cba,_0x44b02a=0x0;_0x2d4cba=_0x5d3db5['charAt'](_0x44b02a++);~_0x2d4cba&&(_0x52c6f2=_0xf048fd%0x4?_0x52c6f2*0x40+_0x2d4cba:_0x2d4cba,_0xf048fd++%0x4)?_0x5ee9d9+=String['fromCharCode'](0xff&_0x52c6f2>>(-0x2*_0xf048fd&0x6)):0x0){_0x2d4cba=_0x1b9e9f['indexOf'](_0x2d4cba);}for(var _0x784a20=0x0,_0x4dc899=_0x5ee9d9['length'];_0x784a20<_0x4dc899;_0x784a20++){_0xd6b282+='%'+('00'+_0x5ee9d9['charCodeAt'](_0x784a20)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xd6b282);};_0x3a48['yKLWCn']=_0x4e8465,_0x3a48['eYHJRI']={},_0x3a48['AGKsEJ']=!![];}var _0x18b482=_0x4b3cf5[0x0],_0x1a164f=_0x49b4c0+_0x18b482,_0x2a7cd1=_0x3a48['eYHJRI'][_0x1a164f];return!_0x2a7cd1?(_0x3a48f3=_0x3a48['yKLWCn'](_0x3a48f3),_0x3a48['eYHJRI'][_0x1a164f]=_0x3a48f3):_0x3a48f3=_0x2a7cd1,_0x3a48f3;}var TurnFailedError=class extends Error{[_0x4a3561(-0x15b,-0x15c,-0x15e,-0x156)];constructor(_0x5ee9d9,_0xd6b282){var _0xc86114={_0x5e4f93:0x1a3,_0x23f9b8:0x1a8,_0x914c3b:0x198,_0x12489a:0x192,_0x3b359a:0x1a0,_0x1f8482:0x196},_0x5855bf={_0x4de7a6:0x100,_0x4878e7:0x8f},_0x1a7825={_0x535ef5:0x3f2,_0x8b4472:0x38};super(_0x5ee9d9 instanceof Error?_0x5ee9d9[_0x520fa3(_0xc86114._0x5e4f93,0x19f,0x1a6,_0xc86114._0x23f9b8)]:'Turn\x20failed',{'cause':_0x5ee9d9});function _0x3f15ae(_0x329661,_0x1ae4b6,_0x156b1c,_0x94b2e4){return _0x4a3561(_0x1ae4b6-_0x1a7825._0x535ef5,_0x1ae4b6-_0x1a7825._0x8b4472,_0x94b2e4,_0x94b2e4-0x1c0);}this['name']=_0x520fa3(0x198,_0xc86114._0x914c3b,_0xc86114._0x12489a,0x197);function _0x520fa3(_0x363f70,_0x202c03,_0x68a2b7,_0x1569e2){return _0x4a3561(_0x363f70-0x2f5,_0x202c03-_0x5855bf._0x4de7a6,_0x1569e2,_0x1569e2-_0x5855bf._0x4878e7);}this[_0x520fa3(0x19a,_0xc86114._0x3b359a,0x19f,_0xc86114._0x1f8482)]=_0xd6b282;}};function _0x4a3561(_0x53688d,_0x4a51d7,_0x364a52,_0x3ab4e0){return _0x3a48(_0x53688d- -0x32a,_0x364a52);}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(_0x1c7e8e,_0x3759a4){var _0x1fbf45={_0x1a7043:0xb2,_0x435fa0:0xb1,_0x5dde9c:0x14a,_0x27157d:0x142,_0x3f3e1b:0xb5,_0xd4f1f2:0xbc,_0x532b1b:0x14a,_0x14f7a1:0x149,_0x5d6894:0x144,_0x2a56ff:0x142,_0x4f2371:0x146,_0x47a422:0x144,_0x45cc8c:0x13f,_0x1a2940:0x14b,_0x4e33fe:0x144,_0x2129ae:0xb6,_0x134fd8:0x146};function _0x42984c(_0x134b02,_0x51728a,_0x684675,_0x274017){return _0xaada(_0x274017- -0x14d,_0x684675);}var _0x584867=_0x1c7e8e();function _0x216e15(_0x307880,_0x23660d,_0x13a817,_0x5d38a5){return _0xaada(_0x23660d- -0x1e1,_0x307880);}while(!![]){try{var _0x9adc6c=-parseInt(_0x42984c(-_0x1fbf45._0x1a7043,-0xb3,-_0x1fbf45._0x1a7043,-0xae))/0x1+parseInt(_0x42984c(-0xb7,-0xb9,-_0x1fbf45._0x435fa0,-0xb3))/0x2*(parseInt(_0x216e15(-_0x1fbf45._0x5dde9c,-0x145,-_0x1fbf45._0x27157d,-0x14b))/0x3)+parseInt(_0x42984c(-_0x1fbf45._0x3f3e1b,-_0x1fbf45._0xd4f1f2,-_0x1fbf45._0x3f3e1b,-0xb7))/0x4*(-parseInt(_0x216e15(-_0x1fbf45._0x532b1b,-_0x1fbf45._0x14f7a1,-0x147,-_0x1fbf45._0x5d6894))/0x5)+-parseInt(_0x216e15(-_0x1fbf45._0x2a56ff,-_0x1fbf45._0x4f2371,-_0x1fbf45._0x47a422,-_0x1fbf45._0x45cc8c))/0x6+parseInt(_0x216e15(-0x153,-0x14e,-0x14b,-0x150))/0x7*(-parseInt(_0x216e15(-_0x1fbf45._0x1a2940,-_0x1fbf45._0x4e33fe,-0x141,-_0x1fbf45._0x5dde9c))/0x8)+parseInt(_0x42984c(-0xbd,-_0x1fbf45._0x2129ae,-_0x1fbf45._0xd4f1f2,-0xb9))/0x9+parseInt(_0x216e15(-_0x1fbf45._0x134fd8,-0x14a,-0x14d,-_0x1fbf45._0x14f7a1))/0xa;if(_0x9adc6c===_0x3759a4)break;else _0x584867['push'](_0x584867['shift']());}catch(_0x2f9677){_0x584867['push'](_0x584867['shift']());}}}(_0x4c11,0x8e2fd));function resolveAnthropicReasoningConfig(_0x16e8a7){var _0x4b48cf={_0x10e307:0x156,_0x449a26:0x15d,_0x59c43f:0x15a,_0x2b383a:0x158,_0x5eecfd:0x160,_0x29579a:0x164};function _0x2f938e(_0xbe5251,_0x26e4a7,_0x3d364a,_0x1cdd2d){return _0xaada(_0x26e4a7- -0x1fb,_0x3d364a);}function _0x25a688(_0x2a41b4,_0x1c7d4f,_0x57ecd5,_0xb951e2){return _0xaada(_0x2a41b4-0x31d,_0xb951e2);}return _0x16e8a7?.[_0x2f938e(-_0x4b48cf._0x10e307,-_0x4b48cf._0x449a26,-0x15e,-_0x4b48cf._0x59c43f)]?structuredClone(_0x16e8a7[_0x2f938e(-_0x4b48cf._0x2b383a,-0x15d,-_0x4b48cf._0x5eecfd,-_0x4b48cf._0x29579a)]):void 0x0;}function _0x4c11(){var _0x247df7=['mtv1s0vfCMi','y29KzxG','mZm4D0LHBxLO','mtKZodG1mKLjsxPguW','nde3DNPQzg5J','ndaXmZG0z3Lvt0Hp','yw50AhjVCgLJ','mte0mty0mMn6qNfyuW','mtrvu2TAq20','ndC2nZq1m2rRs2fdwG','B3bLBMfP','mtaXmda5mMXuEMvQAq','mJm1mtG4odbzCKXJDe8'];_0x4c11=function(){return _0x247df7;};return _0x4c11();}function resolveOpenAiReasoningConfig(_0x5a091a){var _0x18822e={_0x3c71b8:0x1d4,_0x526f6b:0x1da,_0x5b45c7:0x1dc,_0xf1f5c3:0x1db,_0x7df8db:0x1de};function _0x5667c2(_0x3f603c,_0x2aeac1,_0x5da088,_0x4e6da4){return _0xaada(_0x3f603c- -0x26d,_0x4e6da4);}if(_0x5a091a?.[_0x5667c2(-_0x18822e._0x3c71b8,-_0x18822e._0x526f6b,-0x1d1,-0x1d2)])return structuredClone(_0x5a091a['codex']);function _0x54e73e(_0x308594,_0x4c07b5,_0x50c2ce,_0x1f970a){return _0xaada(_0x4c07b5- -0x34,_0x308594);}return _0x5a091a?.['openai']?structuredClone(_0x5a091a[_0x5667c2(-0x1d8,-_0x18822e._0x5b45c7,-_0x18822e._0xf1f5c3,-_0x18822e._0x7df8db)]):void 0x0;}function _0xaada(_0x109934,_0x5deaab){_0x109934=_0x109934-0x93;var _0x4c11c2=_0x4c11();var _0xaada13=_0x4c11c2[_0x109934];if(_0xaada['NdnUmt']===undefined){var _0x371ae3=function(_0x1a5f45){var _0x28ce54='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x16e8a7='',_0x5a091a='';for(var _0x331efa=0x0,_0xf50e1,_0x30a669,_0x10adbc=0x0;_0x30a669=_0x1a5f45['charAt'](_0x10adbc++);~_0x30a669&&(_0xf50e1=_0x331efa%0x4?_0xf50e1*0x40+_0x30a669:_0x30a669,_0x331efa++%0x4)?_0x16e8a7+=String['fromCharCode'](0xff&_0xf50e1>>(-0x2*_0x331efa&0x6)):0x0){_0x30a669=_0x28ce54['indexOf'](_0x30a669);}for(var _0x227610=0x0,_0x2b94bc=_0x16e8a7['length'];_0x227610<_0x2b94bc;_0x227610++){_0x5a091a+='%'+('00'+_0x16e8a7['charCodeAt'](_0x227610)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5a091a);};_0xaada['VlaVWi']=_0x371ae3,_0xaada['eSqMex']={},_0xaada['NdnUmt']=!![];}var _0x26b020=_0x4c11c2[0x0],_0x4b4b99=_0x109934+_0x26b020,_0x310e94=_0xaada['eSqMex'][_0x4b4b99];return!_0x310e94?(_0xaada13=_0xaada['VlaVWi'](_0xaada13),_0xaada['eSqMex'][_0x4b4b99]=_0xaada13):_0xaada13=_0x310e94,_0xaada13;}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(_0x2b60cf,_0x4a3cc7){const _0x3746f5={_0x225a81:0x16d,_0x39634b:0x178,_0x11b6eb:0x167,_0x3d66fa:0x16c,_0xeef087:0x16f,_0x236063:0x4d9,_0x11444c:0x4c0,_0x4d3b38:0x4c8,_0x1d2676:0x4e2,_0x339989:0x4d7,_0x5a39d9:0x4e1,_0x1be11b:0x4de,_0x2b89ca:0x4df,_0x23c5ea:0x4d0,_0x1da6f5:0x507,_0x330a71:0x51a,_0x3607dd:0x189,_0x3d239a:0x179,_0x3e2615:0x18a,_0x42382b:0x4e8,_0x56b3a2:0x4ed,_0x352e0e:0x4d1,_0x2b3899:0x171,_0x36dca6:0x153,_0x16dc40:0x17d},_0x281078={_0xf9be9b:0x311};function _0x41c452(_0x4bf7c0,_0x1fe56e,_0x80ed46,_0x348749){return _0x4b6e(_0x4bf7c0- -0x5c,_0x348749);}const _0x1893bc=_0x2b60cf();function _0x25bb0d(_0x49af92,_0x441594,_0x387317,_0x11a32b){return _0x4b6e(_0x49af92-_0x281078._0xf9be9b,_0x387317);}while(!![]){try{const _0xa3fd57=parseInt(_0x41c452(0x162,_0x3746f5._0x225a81,0x17b,_0x3746f5._0x39634b))/0x1+parseInt(_0x41c452(_0x3746f5._0x11b6eb,_0x3746f5._0x3d66fa,_0x3746f5._0xeef087,_0x3746f5._0xeef087))/0x2*(-parseInt(_0x25bb0d(_0x3746f5._0x236063,0x4d5,_0x3746f5._0x11444c,0x4c0))/0x3)+-parseInt(_0x25bb0d(0x4e7,_0x3746f5._0x4d3b38,_0x3746f5._0x1d2676,_0x3746f5._0x339989))/0x4+-parseInt(_0x25bb0d(_0x3746f5._0x5a39d9,0x4f7,_0x3746f5._0x1be11b,_0x3746f5._0x4d3b38))/0x5+-parseInt(_0x25bb0d(_0x3746f5._0x2b89ca,0x4f3,_0x3746f5._0x23c5ea,0x4ee))/0x6*(-parseInt(_0x25bb0d(_0x3746f5._0x1da6f5,0x503,_0x3746f5._0x330a71,0x503))/0x7)+-parseInt(_0x41c452(_0x3746f5._0x3607dd,_0x3746f5._0x3d239a,0x1a8,_0x3746f5._0x3e2615))/0x8*(parseInt(_0x25bb0d(_0x3746f5._0x42382b,0x501,_0x3746f5._0x56b3a2,_0x3746f5._0x352e0e))/0x9)+parseInt(_0x41c452(_0x3746f5._0x2b3899,_0x3746f5._0x36dca6,_0x3746f5._0x16dc40,0x164))/0xa;if(_0xa3fd57===_0x4a3cc7)break;else _0x1893bc['push'](_0x1893bc['shift']());}catch(_0x18452c){_0x1893bc['push'](_0x1893bc['shift']());}}}(_0x4587,0x4141b));import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x53098a){const _0x4b233c={_0x5e2462:0x1c9,_0x539f53:0x1af,_0x592c38:0x1cc,_0x50c17f:0x1fe,_0x44e7f1:0x1e6,_0x368819:0x1ef,_0x142029:0x444,_0x1f34b8:0x431},_0x37f221={_0x18fff8:0x265},_0x192e7a={_0x3a9567:0x3};function _0x53ca1d(_0x33f0b2,_0xc0f3e6,_0x4c03d9,_0x6999d0){return _0x4b6e(_0x6999d0- -_0x192e7a._0x3a9567,_0xc0f3e6);}function _0x2e0a07(_0x3c23e0,_0x342665,_0x5a08cd,_0x38959f){return _0x4b6e(_0x342665-_0x37f221._0x18fff8,_0x3c23e0);}return normalizeContent(_0x53098a)[_0x53ca1d(_0x4b233c._0x5e2462,_0x4b233c._0x539f53,_0x4b233c._0x592c38,0x1c7)](_0x31275c=>_0x31275c['type']==='text')[_0x53ca1d(_0x4b233c._0x50c17f,_0x4b233c._0x44e7f1,_0x4b233c._0x368819,0x1f9)](_0x5722e2=>_0x5722e2[_0x2e0a07(0x436,0x44b,0x455,0x447)])[_0x2e0a07(0x438,_0x4b233c._0x142029,_0x4b233c._0x1f34b8,0x447)]('\x0a\x0a');}function pushUserContentMessage(_0x30fa06,_0x59aa3e,_0x2116dc){if(_0x2116dc['length']===0x0)return;_0x30fa06['push']({'type':'message','role':_0x59aa3e,'content':_0x2116dc});}function hasSerializableToolUse(_0x5732d1){const _0x44ea3a={_0x54eb3a:0x4a0,_0x19e80d:0x4b4,_0x240325:0x498,_0x22368a:0x484,_0x8b5d60:0x4a7,_0x125e1b:0x47f,_0x3d4e44:0x478,_0x18bd8c:0x4a1},_0x4d9b60={_0x20bd8b:0x299};function _0x5b02ff(_0x27bf87,_0xa37bac,_0x5e1790,_0x25515f){return _0x4b6e(_0x25515f-0x2bf,_0xa37bac);}function _0xd1c98b(_0x4504d6,_0x45a191,_0x102572,_0x283715){return _0x4b6e(_0x45a191-_0x4d9b60._0x20bd8b,_0x102572);}return _0x5732d1['id']['trim']()[_0x5b02ff(0x4c7,_0x44ea3a._0x54eb3a,0x4c8,_0x44ea3a._0x19e80d)]>0x0&&_0x5732d1[_0x5b02ff(_0x44ea3a._0x240325,_0x44ea3a._0x22368a,0x49a,0x481)][_0x5b02ff(_0x44ea3a._0x8b5d60,_0x44ea3a._0x125e1b,_0x44ea3a._0x240325,0x493)]()[_0xd1c98b(_0x44ea3a._0x3d4e44,0x48e,_0x44ea3a._0x18bd8c,0x4ae)]>0x0;}function hasSerializableToolResult(_0x3eed7c){return _0x3eed7c['tool_use_id']['trim']()['length']>0x0;}function isResponseInputObject(_0x582077){const _0x41775b={_0x1f0de2:0x4cb,_0x2e8e30:0x4e6,_0x1b976b:0x4d1,_0x57176b:0x4b6,_0x3f3215:0x4c1,_0x45761d:0x4ce,_0x115cc8:0x4c0},_0x3a1409={_0x286a11:0x2df},_0x316588={_0x1cccc7:0x2b2};function _0x3bf939(_0x11dd51,_0x38c1c8,_0x34c0a7,_0x535f39){return _0x4b6e(_0x11dd51- -_0x316588._0x1cccc7,_0x38c1c8);}function _0x415ac3(_0x30d496,_0x3e4186,_0x51a5e7,_0x10b735){return _0x4b6e(_0x30d496-_0x3a1409._0x286a11,_0x10b735);}if(typeof _0x582077!==_0x415ac3(0x49c,0x481,0x4a8,0x486)||_0x582077===null||Array[_0x415ac3(_0x41775b._0x1f0de2,_0x41775b._0x2e8e30,0x4ba,_0x41775b._0x1b976b)](_0x582077))return![];const _0x5a0ca3=_0x582077;return typeof _0x5a0ca3[_0x415ac3(0x4b9,_0x41775b._0x57176b,0x4bd,0x4c3)]===_0x415ac3(_0x41775b._0x3f3215,_0x41775b._0x45761d,0x4b3,_0x41775b._0x115cc8);}function _0x4b6e(_0x5794f8,_0x238f21){_0x5794f8=_0x5794f8-0x1bd;const _0x458754=_0x4587();let _0x4b6e10=_0x458754[_0x5794f8];if(_0x4b6e['hRfzzH']===undefined){var _0x371912=function(_0xf7cfde){const _0x244102='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53098a='',_0x31275c='';for(let _0x5722e2=0x0,_0x30fa06,_0x59aa3e,_0x2116dc=0x0;_0x59aa3e=_0xf7cfde['charAt'](_0x2116dc++);~_0x59aa3e&&(_0x30fa06=_0x5722e2%0x4?_0x30fa06*0x40+_0x59aa3e:_0x59aa3e,_0x5722e2++%0x4)?_0x53098a+=String['fromCharCode'](0xff&_0x30fa06>>(-0x2*_0x5722e2&0x6)):0x0){_0x59aa3e=_0x244102['indexOf'](_0x59aa3e);}for(let _0x5732d1=0x0,_0x3eed7c=_0x53098a['length'];_0x5732d1<_0x3eed7c;_0x5732d1++){_0x31275c+='%'+('00'+_0x53098a['charCodeAt'](_0x5732d1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31275c);};_0x4b6e['WuXTNi']=_0x371912,_0x4b6e['evZUOx']={},_0x4b6e['hRfzzH']=!![];}const _0x1e8f30=_0x458754[0x0],_0x4a0529=_0x5794f8+_0x1e8f30,_0x20b4ad=_0x4b6e['evZUOx'][_0x4a0529];return!_0x20b4ad?(_0x4b6e10=_0x4b6e['WuXTNi'](_0x4b6e10),_0x4b6e['evZUOx'][_0x4a0529]=_0x4b6e10):_0x4b6e10=_0x20b4ad,_0x4b6e10;}function isImageToolResultBlock(_0x53b564){const _0x187505={_0x5de87b:0x33a,_0x3293c9:0x31e,_0x58f47f:0x332,_0x4cf0c7:0x369,_0x472aec:0x35e,_0x2143db:0x4e4,_0x478500:0x4ef,_0x2d76ee:0x4d6,_0x1357f2:0x4ca,_0x2ddd9c:0x4bf,_0x446c59:0x503,_0x5ebad3:0x513,_0x5bfc19:0x4c9,_0x3c627b:0x4ca,_0x5979ed:0x376,_0xd02df5:0x359,_0x1bde99:0x36a,_0x1ec791:0x358,_0x4e497d:0x517,_0x4d39a9:0x4ef,_0x396c45:0x360};function _0x418d3d(_0x2b358c,_0x1a4426,_0xc87b9b,_0x40c508){return _0x4b6e(_0x2b358c-0x17d,_0x40c508);}if(typeof _0x53b564!==_0x418d3d(_0x187505._0x5de87b,0x350,_0x187505._0x3293c9,_0x187505._0x58f47f)||_0x53b564===null||Array[_0x418d3d(_0x187505._0x4cf0c7,_0x187505._0x472aec,0x361,0x368)](_0x53b564))return![];function _0x55fd69(_0x35667e,_0x2a274d,_0x160299,_0x57d9dc){return _0x4b6e(_0x35667e-0x30a,_0x2a274d);}const _0xaeed75=_0x53b564;return _0xaeed75[_0x55fd69(_0x187505._0x2143db,0x4d0,_0x187505._0x478500,0x4d4)]===_0x55fd69(_0x187505._0x2d76ee,_0x187505._0x1357f2,0x4c8,_0x187505._0x2ddd9c)&&_0xaeed75[_0x55fd69(_0x187505._0x446c59,0x51d,_0x187505._0x5ebad3,0x4f5)]?.['type']===_0x55fd69(_0x187505._0x5bfc19,0x4ad,0x4d6,_0x187505._0x3c627b)&&typeof _0xaeed75[_0x418d3d(_0x187505._0x5979ed,0x368,0x35c,_0x187505._0xd02df5)][_0x418d3d(_0x187505._0x1bde99,0x35e,0x364,_0x187505._0x1ec791)]==='string'&&typeof _0xaeed75[_0x55fd69(0x503,_0x187505._0x4e497d,_0x187505._0x4d39a9,0x519)][_0x418d3d(_0x187505._0x396c45,0x35c,0x377,0x36b)]==='string';}function getToolResultText(_0x2949a7){const _0x5b6740={_0x3ef1a2:0x17b,_0x6cfc76:0x348,_0x11bbf7:0x190,_0x232c9c:0x19a,_0x2c29f8:0x362},_0x44e779={_0x4939b1:0xee,_0x55df8c:0x1,_0x5d55b9:0x1b},_0x3bf883={_0x9ce226:0x373};function _0x368472(_0x3e39bd,_0x3ea9a9,_0x35db81,_0x56628e){return _0x4b6e(_0x3e39bd- -_0x3bf883._0x9ce226,_0x3ea9a9);}function _0x280b44(_0x217ff9,_0x4ccf43,_0x2ae363,_0x2f287f){return _0x4b6e(_0x4ccf43-0x156,_0x2ae363);}if(typeof _0x2949a7===_0x368472(-0x191,-0x1a8,-0x175,-_0x5b6740._0x3ef1a2))return _0x2949a7;const _0x1d038e=_0x2949a7['filter'](_0x1f8f1b=>{const _0xd6221b={_0x31becc:0x6};function _0x20b43c(_0x3a159a,_0x72a4af,_0x181f1e,_0x55c6e5){return _0x368472(_0x181f1e-0xc8,_0x3a159a,_0x181f1e-0xaf,_0x55c6e5-0x2c);}function _0x34e097(_0x6bd016,_0x452268,_0x1474d1,_0x417809){return _0x368472(_0x6bd016-0x1ba,_0x1474d1,_0x1474d1-0x62,_0x417809-_0xd6221b._0x31becc);}return typeof _0x1f8f1b===_0x20b43c(-0xfb,-0xdd,-_0x44e779._0x4939b1,-0xf8)&&_0x1f8f1b!==null&&_0x1f8f1b[_0x34e097(0x21,_0x44e779._0x55df8c,_0x44e779._0x5d55b9,0x3f)]==='text';})['map'](_0x20ea17=>_0x20ea17[_0x368472(-0x18d,-0x17e,-0x186,-0x188)])[_0x280b44(0x346,0x335,0x334,_0x5b6740._0x6cfc76)]('\x0a\x0a')[_0x368472(-0x19f,-0x1a0,-_0x5b6740._0x11bbf7,-_0x5b6740._0x232c9c)]();return _0x1d038e[_0x280b44(_0x5b6740._0x2c29f8,0x34b,0x35b,0x365)]>0x0?_0x1d038e:'Tool\x20returned\x20image\x20content.';}function getToolResultImages(_0x547c8f){const _0x4c0e65={_0x307119:0xb7,_0x5ec7f3:0xaf};function _0x5561a3(_0x5bfcc9,_0x38a7bd,_0x1d9787,_0x578da3){return _0x4b6e(_0x5bfcc9- -0x2a3,_0x38a7bd);}function _0xdd5ce1(_0x32aa33,_0x57577d,_0x154dc4,_0x5d9e59){return _0x4b6e(_0x57577d-0x286,_0x32aa33);}return Array[_0x5561a3(-0xb7,-0x9c,-_0x4c0e65._0x307119,-_0x4c0e65._0x5ec7f3)](_0x547c8f)?_0x547c8f[_0x5561a3(-0xd9,-0xd1,-0xbd,-0xd5)](isImageToolResultBlock):[];}function resolveReasoningVisibility(_0x244420){const _0x2bcc84={_0x3e4f28:0xa6,_0x420363:0xcc,_0x5e997d:0xc2,_0x198197:0x2e3,_0x5282e8:0x2d6,_0x303367:0x2ce,_0x537d33:0x2c8,_0xf4518:0x2dc,_0x4b0051:0x2db};function _0xaa2ae8(_0x5d83f4,_0x808362,_0x59063a,_0x223b99){return _0x4b6e(_0x808362-0x118,_0x5d83f4);}function _0x58c5ad(_0x4d1a7a,_0x46d96c,_0x482d93,_0x523307){return _0x4b6e(_0x523307- -0x29f,_0x46d96c);}return _0x244420[_0x58c5ad(-_0x2bcc84._0x3e4f28,-_0x2bcc84._0x420363,-0xdc,-_0x2bcc84._0x5e997d)]?.[_0xaa2ae8(_0x2bcc84._0x198197,0x2e1,_0x2bcc84._0x5282e8,_0x2bcc84._0x303367)]??_0xaa2ae8(_0x2bcc84._0x537d33,_0x2bcc84._0xf4518,_0x2bcc84._0x4b0051,0x2dd);}function createOpenAiResponsesReasoning(_0x37cb3f){const _0x43a349={_0xd8ce28:0x44f,_0x46c624:0x440,_0x2e1860:0x44d,_0x244e15:0x466,_0x54b0fa:0x193,_0x556dbb:0x1a7,_0x413f6c:0x1ba,_0x33f232:0x1a3,_0x11cb68:0x1c1,_0x3d2629:0x41f,_0x136cbc:0x436,_0x567b79:0x1d8,_0x208441:0x1c0,_0x5df267:0x445,_0x1f0095:0x429,_0x5c71d1:0x1a6,_0x12584d:0x1ba,_0x30d912:0x1a5,_0x311c33:0x184,_0x433cbc:0x19c,_0x245e12:0x195,_0x3d746c:0x1a2,_0x4ed374:0x17a,_0x12ce8f:0x1b5,_0x40cf24:0x17a,_0x3664bd:0x17e,_0x18023c:0x19f},_0x3ec2bc={_0x5238bc:0x270},_0x37f20a=resolveOpenAiReasoningConfig(_0x37cb3f[_0x3d6d50(0x433,0x44d,0x42d,_0x43a349._0xd8ce28)]);if(!_0x37f20a)return{};const _0x3c2bb4={},_0x42274c=_0x37cb3f[_0x3d6d50(_0x43a349._0x46c624,_0x43a349._0x2e1860,0x44d,_0x43a349._0x244e15)]?.[_0x1064ed(-0x18f,-_0x43a349._0x54b0fa,-0x19d,-0x1ac)]!==void 0x0;function _0x3d6d50(_0x282327,_0x5ea11e,_0x3d26a9,_0x2657b7){return _0x4b6e(_0x5ea11e-_0x3ec2bc._0x5238bc,_0x3d26a9);}const _0x379fc3=(!_0x42274c&&_0x1064ed(-0x1a6,-0x19a,-0x18e,-_0x43a349._0x556dbb)in _0x37f20a?_0x37f20a['summary']:void 0x0)??(resolveReasoningVisibility(_0x37cb3f)===_0x1064ed(-_0x43a349._0x413f6c,-_0x43a349._0x33f232,-0x1cc,-_0x43a349._0x11cb68)?'auto':void 0x0);function _0x1064ed(_0x29c657,_0x3fd3dc,_0x3c746c,_0x57731a){return _0x4b6e(_0x29c657- -0x37e,_0x57731a);}return _0x37f20a[_0x3d6d50(_0x43a349._0x3d2629,_0x43a349._0x136cbc,0x429,0x456)]&&(_0x3c2bb4[_0x1064ed(-0x1b8,-_0x43a349._0x567b79,-0x1cc,-_0x43a349._0x208441)]=_0x37f20a[_0x3d6d50(_0x43a349._0x5df267,0x436,_0x43a349._0x1f0095,0x44a)]),_0x379fc3&&(_0x3c2bb4[_0x1064ed(-_0x43a349._0x5c71d1,-0x19b,-_0x43a349._0x12584d,-_0x43a349._0x30d912)]=_0x379fc3),{...!_0x42274c&&_0x1064ed(-_0x43a349._0x311c33,-0x18f,-0x182,-_0x43a349._0x433cbc)in _0x37f20a&&_0x37f20a['includeEncryptedContent']===![]?{}:{'include':[_0x1064ed(-_0x43a349._0x245e12,-_0x43a349._0x3d746c,-_0x43a349._0x4ed374,-_0x43a349._0x12ce8f)]},...Object[_0x1064ed(-0x18c,-_0x43a349._0x40cf24,-_0x43a349._0x3664bd,-_0x43a349._0x18023c)](_0x3c2bb4)['length']>0x0?{'reasoning':_0x3c2bb4}:{}};}function _0x4587(){const _0x4646e7=['DxnLCI12AxnPyMXL','C3rYDwn0DxjLzf9VDxrWDxq','zwzMB3j0','ChjVDMLKzxjtDgf0zq','nZa3n3jVrvvXAW','DMLZAwjPBgL0Eq','zMLSDgvY','C3rYAw5NAwz5','Aw1Hz2u','otuXoduZmej0wwvkBW','ndK4AfvkC1DA','Dg9VBf91C2vFAwq','mtC2mtaZnwDWsg13qq','ANnVBL9Zy2HLBwe','zNvUy3rPB25Fy2fSBa','Dg9VBf9Yzxn1Bhq','DhjPBq','Bwf4vg9Rzw5Z','mtuWodqXnKrpAwPgwq','owfhvenOsG','C3vTBwfYEq','o2jHC2u2ncW','DhLWzq','C3rHDhvZ','CM9Szq','CMvHC29UAw5N','Aw5WDxq','AM9PBG','C3bSAwnL','y29UDgvUDa','C3rYAw5N','zgf0yq','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','mte3odGWofzzDwTuqG','Dgv4Da','C3LZDgvT','zgf0ytO','CMvHC29UAw5NlMvUy3j5ChrLzf9JB250zw50','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','Aw5WDxrFAw1Hz2u','AxnbCNjHEq','BwvKAwfFDhLWzq','yxnZAxn0yw50','y29KzxG','B3v0Chv0rM9YBwf0','Aw5WDxrFDgv4Da','A2v5CW','C2nOzw1H','DxnLCG','BgvUz3rO','nZCWn0jmBvnVta','ChvZAa','B3v0Chv0x3rLEhq','C291CMnL','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','zNvUy3rPB25Fy2fSBf9VDxrWDxq','BwfW','B2jQzwn0','mtuWmJu2C2Dwy2rh','yMfZzty0','zgvZy3jPChrPB24','zNvUy3rPB24','BMfTzq','ndjsuKnNsNu'];_0x4587=function(){return _0x4646e7;};return _0x4587();}function pushAssistantProviderState(_0x326252,_0x2aa89a,_0x488728){const _0x1f306f={_0x569740:0x187,_0x549977:0x199,_0x18d78f:0x18d,_0x55811b:0x19e,_0x56d593:0x17c,_0x4fc99c:0x195,_0x1e2cf8:0x19c,_0x2e0fab:0x189,_0x5a0f3a:0x1aa,_0x275b20:0x1b2,_0x537623:0x190,_0x3d5194:0x1ae,_0x1144f1:0x194,_0xdcfb99:0x183,_0x596647:0x182,_0x3807b5:0x19d,_0x12ba68:0x189,_0x4e6234:0x178,_0x54ac62:0x1a2,_0x5af347:0x189,_0xe93e0c:0x1a5},_0x1ab8b6={_0x4bfeb6:0x55};if(_0x2aa89a[_0xe80ead(_0x1f306f._0x569740,0x167,0x19e,0x1a5)]!==_0xe80ead(_0x1f306f._0x549977,_0x1f306f._0x18d78f,_0x1f306f._0x55811b,0x1a2))return![];function _0x3ffb85(_0x5a3f4f,_0x58c03e,_0x5f1ea5,_0x17c151){return _0x4b6e(_0x58c03e- -0x4b,_0x5a3f4f);}function _0xe80ead(_0x3c6215,_0x178ea4,_0x42c226,_0x307ac6){return _0x4b6e(_0x3c6215- -_0x1ab8b6._0x4bfeb6,_0x307ac6);}if(!isProviderStateCompatible(_0x2aa89a,_0x488728))return![];const _0x5e2a65=_0x2aa89a[_0x3ffb85(0x190,_0x1f306f._0x56d593,0x173,0x193)]?.[_0xe80ead(_0x1f306f._0x4fc99c,_0x1f306f._0x1e2cf8,0x1a3,_0x1f306f._0x2e0fab)]??[];if(_0x5e2a65[_0x3ffb85(0x1b1,_0x1f306f._0x5a0f3a,_0x1f306f._0x275b20,0x18a)]===0x0)return![];for(const _0x1c562e of _0x5e2a65){if(isResponseInputObject(_0x1c562e)){const _0x373f42=structuredClone(_0x1c562e);delete _0x373f42[_0x3ffb85(0x1a6,_0x1f306f._0x537623,_0x1f306f._0x3d5194,0x1a5)],_0x373f42['type']==='reasoning'&&!Array[_0x3ffb85(0x191,0x1a1,_0x1f306f._0x1144f1,0x190)](_0x373f42[_0xe80ead(_0x1f306f._0xdcfb99,_0x1f306f._0x596647,_0x1f306f._0x3807b5,_0x1f306f._0x12ba68)])&&(_0x373f42[_0x3ffb85(0x187,_0x1f306f._0x18d78f,_0x1f306f._0x4e6234,0x18e)]=[]),_0x326252[_0xe80ead(_0x1f306f._0x54ac62,_0x1f306f._0x5af347,0x1b3,_0x1f306f._0xe93e0c)](_0x373f42);}}return!![];}function toOpenAiResponsesRequest(_0xa405dd){const _0x31dd3c={_0xee625f:0x4af,_0x302550:0x4dc,_0x598599:0x30c,_0x428c21:0x308,_0x3e9b0f:0x2fa,_0x3e8dc2:0x30e,_0x3c7edc:0x31a,_0x1bbee1:0x4f2,_0x3329f9:0x4da,_0x396d6d:0x4e6,_0x5539d5:0x500,_0x2d4436:0x4e0,_0x4189e5:0x4c7,_0x5baada:0x4d4,_0x23df9e:0x4d0,_0x4ece6a:0x4bf,_0x4088b2:0x4b7,_0x542f41:0x4c8,_0x890fc0:0x4d1,_0xe6b9c5:0x505,_0x136cbe:0x2ff,_0x166ceb:0x328,_0x30227a:0x30b,_0x4eaa8b:0x32a,_0x50a760:0x4d7,_0x277208:0x504,_0x56a17e:0x4bc,_0x5b6314:0x4c5,_0x1fc405:0x4d1,_0x522849:0x4ec,_0x4e0ac8:0x301,_0x346f71:0x30e,_0x2b24f9:0x30c,_0x120267:0x4dd,_0x355cc4:0x4ce,_0xf5dac5:0x4d9,_0x4016fa:0x4c0,_0x21ec3f:0x4b0,_0x313f6e:0x49a,_0x51c721:0x4c8,_0x2b8369:0x312,_0x178ab2:0x323,_0x1c2c68:0x305,_0x2b2b4b:0x30b,_0x36a5c4:0x313,_0x32de13:0x31e,_0x3514bc:0x33f,_0x269a66:0x329,_0x177156:0x508,_0x8fe302:0x4e9,_0x2ef1e0:0x4e7,_0x2d0aed:0x4cf,_0xd942a:0x4d6,_0x565d0c:0x4e2,_0x10663a:0x4c2,_0x4a5635:0x4df,_0x86caab:0x303,_0x3367d1:0x4bd,_0x283b73:0x4ab,_0x70ca19:0x327,_0x5b8847:0x329,_0x177edc:0x32e,_0xa2238c:0x342,_0x5639a1:0x2e7,_0x4e2745:0x307,_0x5aca78:0x31f,_0x2b7e4f:0x4de,_0x5a77e0:0x2fb,_0x47c327:0x2fe,_0xba06c7:0x2f4,_0x4459d4:0x2ee,_0x1c28ef:0x49f,_0x4f6434:0x306,_0xc3197e:0x333,_0x4bd5c8:0x340,_0x45a6a6:0x320},_0x1600c5={_0x207df9:0x106,_0x126d66:0x117,_0x271c5c:0x10d,_0x3b57d5:0x107,_0x1d69c9:0x116,_0x483499:0x120},_0x10068e={_0x31ae98:0x53,_0x139282:0x3a9},_0x23ff93={_0x561e0d:0x1b7},_0x175f5f={_0x23150e:0x132},_0x5e19e3={_0x53f325:0x2ee};function _0x4d350c(_0x126c73,_0x513e1b,_0x430a5f,_0x480c1e){return _0x4b6e(_0x430a5f-_0x5e19e3._0x53f325,_0x126c73);}const _0x2a9a0f=[];for(const _0x4c7515 of _0xa405dd['messages']){if(pushAssistantProviderState(_0x2a9a0f,_0x4c7515,_0xa405dd))continue;const _0x198fd8=[];for(const _0x155ca1 of normalizeContent(_0x4c7515[_0x4d350c(_0x31dd3c._0xee625f,0x4c2,0x4cf,_0x31dd3c._0x302550)])){if(_0x155ca1[_0x1131e2(0x31b,0x2f0,_0x31dd3c._0x598599,0x31f)]==='text'){_0x198fd8['push'](_0x4c7515[_0x1131e2(_0x31dd3c._0x428c21,_0x31dd3c._0x3e9b0f,_0x31dd3c._0x3e8dc2,_0x31dd3c._0x3c7edc)]===_0x4d350c(0x4e8,0x4fa,0x4dc,_0x31dd3c._0x1bbee1)?{'type':_0x4d350c(_0x31dd3c._0x3329f9,0x4ee,_0x31dd3c._0x396d6d,_0x31dd3c._0x5539d5),'text':_0x155ca1[_0x4d350c(_0x31dd3c._0x2d4436,_0x31dd3c._0x4189e5,_0x31dd3c._0x5baada,_0x31dd3c._0x23df9e)]}:{'type':'input_text','text':_0x155ca1['text']});continue;}if(_0x155ca1[_0x4d350c(_0x31dd3c._0x4ece6a,_0x31dd3c._0x4088b2,_0x31dd3c._0x542f41,0x4c7)]===_0x4d350c(0x4a6,_0x31dd3c._0x890fc0,0x4ba,0x4ac)){_0x198fd8[_0x4d350c(_0x31dd3c._0xe6b9c5,0x4e1,0x4e5,0x4ff)]({'type':'input_image','image_url':_0x1131e2(_0x31dd3c._0x136cbe,_0x31dd3c._0x166ceb,_0x31dd3c._0x3c7edc,0x329)+_0x155ca1['source']['media_type']+_0x1131e2(0x2f7,0x326,_0x31dd3c._0x30227a,_0x31dd3c._0x4eaa8b)+_0x155ca1[_0x4d350c(_0x31dd3c._0x50a760,0x4f5,0x4e7,_0x31dd3c._0x277208)][_0x4d350c(_0x31dd3c._0x56a17e,_0x31dd3c._0x5b6314,_0x31dd3c._0x1fc405,_0x31dd3c._0x522849)]});continue;}pushUserContentMessage(_0x2a9a0f,_0x4c7515[_0x1131e2(_0x31dd3c._0x4e0ac8,0x30a,_0x31dd3c._0x346f71,_0x31dd3c._0x2b24f9)],_0x198fd8[_0x4d350c(0x4c3,_0x31dd3c._0x120267,_0x31dd3c._0x355cc4,_0x31dd3c._0x56a17e)](0x0));if(_0x155ca1[_0x4d350c(0x4db,0x4ae,0x4c8,0x4aa)]==='tool_use'){if(!hasSerializableToolUse(_0x155ca1))continue;_0x2a9a0f['push']({'type':_0x4d350c(_0x31dd3c._0xf5dac5,0x4d4,_0x31dd3c._0x4016fa,0x4a2),'call_id':_0x155ca1['id'],'name':_0x155ca1[_0x4d350c(0x4ce,0x4bd,_0x31dd3c._0x21ec3f,0x4b1)],'arguments':JSON[_0x4d350c(_0x31dd3c._0x313f6e,_0x31dd3c._0x51c721,0x4b9,0x4ae)](_0x155ca1[_0x1131e2(0x310,0x32c,0x310,_0x31dd3c._0x2b8369)]??{})});continue;}if(_0x155ca1['type']===_0x1131e2(_0x31dd3c._0x178ab2,0x30e,_0x31dd3c._0x1c2c68,_0x31dd3c._0x2b2b4b)){if(!hasSerializableToolResult(_0x155ca1))continue;const _0x5de967=getToolResultText(_0x155ca1[_0x1131e2(0x322,0x2f4,_0x31dd3c._0x36a5c4,0x324)]);_0x2a9a0f[_0x1131e2(_0x31dd3c._0x32de13,_0x31dd3c._0x3514bc,_0x31dd3c._0x269a66,0x33c)]({'type':_0x4d350c(0x4d8,_0x31dd3c._0x177156,_0x31dd3c._0x8fe302,0x4de),'call_id':_0x155ca1[_0x1131e2(0x303,0x31a,0x301,0x2f4)],'output':_0x5de967});const _0x52a6e6=getToolResultImages(_0x155ca1[_0x4d350c(0x4d1,_0x31dd3c._0x2ef1e0,_0x31dd3c._0x2d0aed,_0x31dd3c._0x50a760)]);_0x52a6e6['length']>0x0&&_0x2a9a0f['push']({'type':'message','role':_0x4d350c(_0x31dd3c._0xd942a,0x4c8,_0x31dd3c._0x565d0c,0x500),'content':[{'type':_0x4d350c(0x4ea,_0x31dd3c._0x10663a,_0x31dd3c._0x4a5635,_0x31dd3c._0x4189e5),'text':_0x1131e2(0x31d,_0x31dd3c._0x86caab,0x316,0x318)+_0x155ca1[_0x4d350c(0x4cf,0x4ac,_0x31dd3c._0x3367d1,_0x31dd3c._0x283b73)]+'.'},..._0x52a6e6[_0x1131e2(_0x31dd3c._0x70ca19,_0x31dd3c._0x5b8847,_0x31dd3c._0x177edc,_0x31dd3c._0xa2238c)](_0x334213=>({'type':_0x4d350c(0x4ce,0x4d2,0x4d9,0x4eb),'image_url':_0x4d350c(0x4e2,0x4e4,0x4d6,0x4d6)+_0x334213['source'][_0x1131e2(0x311,0x307,0x31f,0x303)]+_0x1131e2(0x30c,0x325,0x30b,0x324)+_0x334213[_0x1131e2(0x332,0x32b,0x32b,0x315)][_0x1131e2(0x325,0x2f9,0x315,0x2f9)]}))]});}}pushUserContentMessage(_0x2a9a0f,_0x4c7515[_0x1131e2(0x31a,0x32b,0x30e,0x322)],_0x198fd8);}function _0x1131e2(_0x55d9b2,_0x1888e4,_0x25927c,_0x58ed2b){return _0x4b6e(_0x25927c-_0x175f5f._0x23150e,_0x55d9b2);}return{...createOpenAiResponsesReasoning(_0xa405dd),'model':_0xa405dd['model'],'instructions':systemToInstructions(_0xa405dd[_0x1131e2(0x31c,0x330,0x319,_0x31dd3c._0x36a5c4)]),'input':_0x2a9a0f,..._0xa405dd['maxTokens']!==void 0x0?{'max_output_tokens':_0xa405dd[_0x1131e2(_0x31dd3c._0x5639a1,0x2f8,_0x31dd3c._0x4e2745,_0x31dd3c._0x5aca78)]}:{},'tools':_0xa405dd['tools'][_0x4d350c(0x4d2,_0x31dd3c._0x2b7e4f,0x4ea,_0x31dd3c._0x302550)](_0xaac817=>{function _0xf5e258(_0x1e84d8,_0x2e43ff,_0xbe8fd0,_0x26f8e1){return _0x4d350c(_0xbe8fd0,_0x2e43ff-0xed,_0x26f8e1- -0x3fb,_0x26f8e1-_0x23ff93._0x561e0d);}function _0x66c32b(_0x47f0fa,_0x136cc8,_0x2c9cdb,_0x467bf3){return _0x4d350c(_0x2c9cdb,_0x136cc8-_0x10068e._0x31ae98,_0x47f0fa- -_0x10068e._0x139282,_0x467bf3-0x2f);}return{'type':_0x66c32b(_0x1600c5._0x207df9,_0x1600c5._0x126d66,0x11d,_0x1600c5._0x271c5c),'name':_0xaac817[_0x66c32b(_0x1600c5._0x3b57d5,_0x1600c5._0x1d69c9,0xfe,_0x1600c5._0x483499)],'description':_0xaac817[_0x66c32b(0x105,0xef,0x103,0xe5)],'parameters':_0xaac817['input_schema']};}),..._0xa405dd['outputFormat']?{'text':{'format':{'type':_0x1131e2(_0x31dd3c._0x5a77e0,0x30b,0x303,_0x31dd3c._0x47c327),'name':_0xa405dd[_0x4d350c(_0x31dd3c._0x565d0c,0x4cf,_0x31dd3c._0x2b7e4f,0x4e1)][_0x1131e2(0x2d6,0x303,_0x31dd3c._0xba06c7,_0x31dd3c._0x4459d4)]??_0x4d350c(_0x31dd3c._0x890fc0,_0x31dd3c._0x1c28ef,0x4b3,0x496),'schema':_0xa405dd[_0x1131e2(0x33c,_0x31dd3c._0x4f6434,0x322,0x314)][_0x1131e2(_0x31dd3c._0xc3197e,_0x31dd3c._0x4bd5c8,0x325,_0x31dd3c._0x45a6a6)],'strict':_0xa405dd['outputFormat']['strict']??!![]}}}:{}};}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(_0x436a98,_0x29cf4e){var _0x5e85c0={_0x512795:0x4d2,_0x51ea10:0x4c9,_0x4cd4af:0x4dd,_0x345e76:0x4d4,_0x28f2b3:0x46b,_0x277a54:0x461,_0x3a2e3a:0x4cc,_0x5c6a81:0x4d7,_0x54175b:0x4c5,_0x22cd16:0x4c5,_0x3a86e5:0x4cf,_0x5343b0:0x4bf,_0x34cb96:0x4c5,_0x25957a:0x4c2,_0x141d8d:0x4cd,_0x205fbe:0x466,_0x2d5034:0x471,_0x4ae48f:0x467,_0x498ad2:0x45f,_0x1a2722:0x468,_0x33d91d:0x466,_0x20afbc:0x4c3,_0x55fa7c:0x4c1,_0x35e520:0x450},_0x17a15b={_0x6ad4ca:0x3d4};function _0x5ea4c0(_0x2daea8,_0x39102c,_0x374dfa,_0x345c2b){return _0x3e60(_0x345c2b-0x36b,_0x39102c);}function _0xbd6d79(_0x506986,_0x635121,_0x556ddd,_0x27568b){return _0x3e60(_0x506986-_0x17a15b._0x6ad4ca,_0x27568b);}var _0x102d56=_0x436a98();while(!![]){try{var _0x9e9fd6=parseInt(_0xbd6d79(_0x5e85c0._0x512795,_0x5e85c0._0x51ea10,0x4d0,_0x5e85c0._0x4cd4af))/0x1*(parseInt(_0xbd6d79(0x4cd,_0x5e85c0._0x345e76,0x4ce,0x4c9))/0x2)+-parseInt(_0x5ea4c0(_0x5e85c0._0x28f2b3,0x45c,_0x5e85c0._0x277a54,0x462))/0x3*(-parseInt(_0xbd6d79(_0x5e85c0._0x3a2e3a,0x4ce,0x4c2,_0x5e85c0._0x5c6a81))/0x4)+-parseInt(_0xbd6d79(_0x5e85c0._0x54175b,0x4c5,_0x5e85c0._0x22cd16,_0x5e85c0._0x3a86e5))/0x5*(parseInt(_0xbd6d79(_0x5e85c0._0x5343b0,_0x5e85c0._0x34cb96,0x4b7,0x4b8))/0x6)+parseInt(_0xbd6d79(_0x5e85c0._0x25957a,0x4bb,_0x5e85c0._0x141d8d,0x4bf))/0x7+parseInt(_0x5ea4c0(0x460,_0x5e85c0._0x205fbe,_0x5e85c0._0x2d5034,_0x5e85c0._0x4ae48f))/0x8+-parseInt(_0x5ea4c0(0x45f,_0x5e85c0._0x498ad2,_0x5e85c0._0x1a2722,_0x5e85c0._0x33d91d))/0x9+-parseInt(_0xbd6d79(_0x5e85c0._0x20afbc,0x4bf,_0x5e85c0._0x55fa7c,0x4be))/0xa*(parseInt(_0x5ea4c0(_0x5e85c0._0x35e520,0x457,0x453,0x455))/0xb);if(_0x9e9fd6===_0x29cf4e)break;else _0x102d56['push'](_0x102d56['shift']());}catch(_0x3ba85e){_0x102d56['push'](_0x102d56['shift']());}}}(_0x13e4,0xe5e35));var OperationAbortedError=class extends Error{['code']=_0x47aafb(-0x57,-0x51,-0x58,-0x4a);constructor(_0x3d6fb3='Operation\x20aborted'){var _0x17a8f8={_0x542b22:0x36e,_0x18e021:0x37e,_0x4973a4:0x36f,_0x399549:0x1e0,_0x4ab0d9:0x1ea},_0x3898ec={_0x53dd00:0x108},_0x495c90={_0x3cad50:0xd8,_0x59f45b:0x3c0,_0x52335e:0x123};super(_0x3d6fb3);function _0x1a0a3e(_0x3d43eb,_0x48640c,_0x17e8ed,_0x10d64f){return _0x47aafb(_0x3d43eb-_0x495c90._0x3cad50,_0x10d64f-_0x495c90._0x59f45b,_0x48640c,_0x10d64f-_0x495c90._0x52335e);}function _0x5d683c(_0x316d75,_0x2ee0bc,_0x3fdb15,_0x2384ab){return _0x47aafb(_0x316d75-_0x3898ec._0x53dd00,_0x2384ab-0x241,_0x2ee0bc,_0x2384ab-0x192);}this[_0x1a0a3e(_0x17a8f8._0x542b22,_0x17a8f8._0x18e021,_0x17a8f8._0x4973a4,0x376)]=_0x5d683c(0x1f1,_0x17a8f8._0x399549,0x1e4,_0x17a8f8._0x4ab0d9);}};function toAbortError(_0x541731){var _0x30bcf4={_0x134ea0:0xb5,_0xcd53c9:0x3d1,_0x28b909:0x3cf,_0x26de78:0x3c7},_0x4d9756={_0x55375f:0x69},_0x5dcfcf={_0x24d97e:0x49};if(isAbortError(_0x541731))return _0x541731;if(_0x541731 instanceof Error)return new OperationAbortedError(_0x541731[_0x5e613e(-0xb7,-_0x30bcf4._0x134ea0,-0xc1,-0xbb)]);function _0x1be7fc(_0x211505,_0x35421f,_0x3f5401,_0x5c6da1){return _0x47aafb(_0x211505-0x120,_0x3f5401-0x42a,_0x35421f,_0x5c6da1-_0x5dcfcf._0x24d97e);}if(typeof _0x541731==='string'&&_0x541731[_0x1be7fc(0x3d2,_0x30bcf4._0xcd53c9,_0x30bcf4._0x28b909,_0x30bcf4._0x26de78)]>0x0)return new OperationAbortedError(_0x541731);function _0x5e613e(_0x3f692b,_0x4146d2,_0x3af6db,_0x4a5c53){return _0x47aafb(_0x3f692b-0x99,_0x3f692b- -_0x4d9756._0x55375f,_0x3af6db,_0x4a5c53-0x144);}return new OperationAbortedError();}function isAbortError(_0x32caea){var _0x47e067={_0x28b366:0x13f,_0x572dc8:0x5e},_0x254102={_0x32617e:0x80,_0x2b91a4:0x9c},_0x43ee0e={_0x1846e6:0xc5,_0x1798a7:0x1b2};function _0x123091(_0xeba9d4,_0x3a1179,_0x60adcb,_0x150a6a){return _0x47aafb(_0xeba9d4-_0x43ee0e._0x1846e6,_0xeba9d4- -0xf,_0x60adcb,_0x150a6a-_0x43ee0e._0x1798a7);}function _0x5730f2(_0x1315f9,_0xde9df6,_0x4bbce0,_0x38627a){return _0x47aafb(_0x1315f9-_0x254102._0x32617e,_0x1315f9-0x18e,_0x38627a,_0x38627a-_0x254102._0x2b91a4);}return _0x32caea instanceof OperationAbortedError||_0x32caea instanceof Error&&(_0x32caea[_0x5730f2(0x144,0x14e,_0x47e067._0x28b366,0x13f)]===_0x123091(-0x66,-0x69,-0x5e,-0x6f)||'code'in _0x32caea&&_0x32caea[_0x123091(-_0x47e067._0x572dc8,-0x61,-0x66,-0x66)]==='ABORT_ERR');}function _0x3e60(_0x57551e,_0x42a40d){_0x57551e=_0x57551e-0xe9;var _0x13e443=_0x13e4();var _0x3e6000=_0x13e443[_0x57551e];if(_0x3e60['kmXCqC']===undefined){var _0x4d93ee=function(_0x4c56b8){var _0x108fa6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3d6fb3='',_0x541731='';for(var _0x32caea=0x0,_0x32e7b1,_0x108e93,_0x5ce46c=0x0;_0x108e93=_0x4c56b8['charAt'](_0x5ce46c++);~_0x108e93&&(_0x32e7b1=_0x32caea%0x4?_0x32e7b1*0x40+_0x108e93:_0x108e93,_0x32caea++%0x4)?_0x3d6fb3+=String['fromCharCode'](0xff&_0x32e7b1>>(-0x2*_0x32caea&0x6)):0x0){_0x108e93=_0x108fa6['indexOf'](_0x108e93);}for(var _0x2e5851=0x0,_0x592e93=_0x3d6fb3['length'];_0x2e5851<_0x592e93;_0x2e5851++){_0x541731+='%'+('00'+_0x3d6fb3['charCodeAt'](_0x2e5851)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x541731);};_0x3e60['LqSJmk']=_0x4d93ee,_0x3e60['zvoEIW']={},_0x3e60['kmXCqC']=!![];}var _0x4325ad=_0x13e443[0x0],_0x513d33=_0x57551e+_0x4325ad,_0x29dd31=_0x3e60['zvoEIW'][_0x513d33];return!_0x29dd31?(_0x3e6000=_0x3e60['LqSJmk'](_0x3e6000),_0x3e60['zvoEIW'][_0x513d33]=_0x3e6000):_0x3e6000=_0x29dd31,_0x3e6000;}function _0x47aafb(_0x352087,_0x376c81,_0x4800fd,_0x2afc8d){return _0x3e60(_0x376c81- -0x144,_0x4800fd);}function _0x13e4(){var _0x537fe1=['mZK4nwzNtK1lta','BgvUz3rO','nJm4wLvvD0Pz','mJu4AMr6AMj2','ywjVCNrLza','qwjVCNrfCNjVCG','mta2mJC5nJD1vurhEee','ntaZodeWwejWq3Db','ywjVCNq','oty3mZv4y3D1zfG','CMvHC29U','qujpuLrFrvjs','CMvTB3zLrxzLBNrmAxn0zw5LCG','y29Kzq','BwvZC2fNzq','nKLxsM5Zza','mtqZotGWofHztejsBG','nZm0EvHWCezn','BMfTzq','nZKYndG2t3jNsLD5','ody2ndeXmNbUtwjtBa','ywrKrxzLBNrmAxn0zw5LCG'];_0x13e4=function(){return _0x537fe1;};return _0x13e4();}function throwIfAborted(_0x32e7b1){var _0x44013c={_0x39f71a:0x4b4,_0xcd7123:0x4bf,_0x237996:0x10d,_0x270615:0x114},_0x44df53={_0x234a77:0x165,_0x3e73bd:0x15f},_0x26f6c0={_0x3b3df8:0x512,_0x2b3991:0xc8};function _0x31a636(_0x39da84,_0x3697ad,_0x3f6e21,_0x29915a){return _0x47aafb(_0x39da84-0xb9,_0x29915a-_0x26f6c0._0x3b3df8,_0x3f6e21,_0x29915a-_0x26f6c0._0x2b3991);}if(!_0x32e7b1?.[_0x31a636(0x4b3,_0x44013c._0x39f71a,_0x44013c._0xcd7123,0x4ba)])return;function _0x116f4b(_0x4809c2,_0x3424dc,_0x492957,_0x36cd43){return _0x47aafb(_0x4809c2-_0x44df53._0x234a77,_0x4809c2-_0x44df53._0x3e73bd,_0x3424dc,_0x36cd43-0x176);}throw toAbortError(_0x32e7b1[_0x116f4b(_0x44013c._0x237996,_0x44013c._0x270615,0x102,0x108)]);}function addAbortListener(_0x108e93,_0x5ce46c){var _0x4b8904={_0x44ec74:0xc2},_0x4d3cc0={_0x4e254d:0xc0,_0x548ddb:0xca,_0x479587:0x42a,_0x169a32:0x422},_0x41987c={_0x29438c:0x9c,_0x20b202:0x4f5},_0x2a4684={_0x162ac2:0x13a,_0x3bdc99:0x81,_0x502c10:0x2a};if(!_0x108e93)return()=>{};if(_0x108e93['aborted'])return _0x5ce46c(),()=>{};const _0x2e5851=()=>{_0x5ce46c();};function _0x144799(_0x37d808,_0x13ec0d,_0x4ec8c8,_0x1f62f3){return _0x47aafb(_0x37d808-_0x2a4684._0x162ac2,_0x1f62f3- -_0x2a4684._0x3bdc99,_0x37d808,_0x1f62f3-_0x2a4684._0x502c10);}return _0x108e93[_0x144799(-_0x4b8904._0x44ec74,-0xd0,-0xc7,-0xc8)]('abort',_0x2e5851,{'once':!![]}),()=>{var _0x321aa5={_0x49e8a7:0x123};function _0x15b057(_0x3f486a,_0x39ccca,_0xe80b57,_0x471157){return _0x144799(_0x3f486a,_0x39ccca-0x5d,_0xe80b57-_0x41987c._0x29438c,_0x39ccca-_0x41987c._0x20b202);}function _0x2b7448(_0x3a2e73,_0x5d1212,_0x1862e5,_0x1204fc){return _0x144799(_0x5d1212,_0x5d1212-_0x321aa5._0x49e8a7,_0x1862e5-0x15e,_0x1862e5-0x7);}_0x108e93[_0x2b7448(-_0x4d3cc0._0x4e254d,-0xd5,-_0x4d3cc0._0x548ddb,-0xc6)](_0x15b057(_0x4d3cc0._0x479587,0x420,0x420,_0x4d3cc0._0x169a32),_0x2e5851);};}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(_0x52829e,_0x21b539){const _0x23bce2={_0x5d35f0:0x209,_0x6c21bc:0x1e9,_0xddebb0:0x218,_0x3ffab6:0x209,_0x2a0600:0x213,_0x25c7cf:0x4f7,_0x2e0f22:0x4eb,_0xb431a5:0x4d1,_0x1c48bf:0x1f1,_0x27d363:0x1f4,_0x3b9e94:0x212,_0x43e2c7:0x1f3,_0x421630:0x4a8,_0x4d73bc:0x4e7,_0x4f69d3:0x4c9,_0xa7b6d7:0x1f3,_0x33ef56:0x1e3,_0x368a39:0x208,_0x1a1fdc:0x1f8,_0x1a6056:0x1ff,_0x9a51a1:0x4da,_0x4b2f75:0x4f1},_0x3d7b99={_0x5bb203:0x339},_0x348150=_0x52829e();function _0x177a41(_0x45aff1,_0xba4d13,_0x2ecb83,_0x4909d6){return _0x4ff5(_0x2ecb83-_0x3d7b99._0x5bb203,_0x4909d6);}function _0x22ef6f(_0x2563b1,_0x143b83,_0x27651f,_0x458799){return _0x4ff5(_0x143b83- -0x38e,_0x27651f);}while(!![]){try{const _0x5c9f0a=-parseInt(_0x22ef6f(-0x210,-_0x23bce2._0x5d35f0,-_0x23bce2._0x6c21bc,-_0x23bce2._0xddebb0))/0x1+-parseInt(_0x22ef6f(-_0x23bce2._0x3ffab6,-0x201,-_0x23bce2._0x2a0600,-0x1e9))/0x2*(-parseInt(_0x177a41(_0x23bce2._0x25c7cf,_0x23bce2._0x2e0f22,0x4d7,_0x23bce2._0xb431a5))/0x3)+parseInt(_0x22ef6f(-_0x23bce2._0x1c48bf,-0x1e1,-0x1e2,-0x1f7))/0x4*(parseInt(_0x22ef6f(-0x215,-_0x23bce2._0x27d363,-_0x23bce2._0x3b9e94,-_0x23bce2._0x43e2c7))/0x5)+parseInt(_0x177a41(0x4e0,0x506,0x4ed,0x4d4))/0x6*(-parseInt(_0x177a41(0x4b3,0x4a4,0x4bd,_0x23bce2._0x421630))/0x7)+parseInt(_0x177a41(_0x23bce2._0x4d73bc,0x4f1,0x4d8,_0x23bce2._0x4f69d3))/0x8*(-parseInt(_0x22ef6f(-0x1fa,-_0x23bce2._0xa7b6d7,-_0x23bce2._0x33ef56,-_0x23bce2._0x368a39))/0x9)+-parseInt(_0x22ef6f(-_0x23bce2._0x1a1fdc,-_0x23bce2._0x1a6056,-0x1f9,-0x1e8))/0xa+parseInt(_0x177a41(_0x23bce2._0x9a51a1,0x4f3,_0x23bce2._0x4b2f75,0x506))/0xb;if(_0x5c9f0a===_0x21b539)break;else _0x348150['push'](_0x348150['shift']());}catch(_0xe1518c){_0x348150['push'](_0x348150['shift']());}}}(_0x48b9,0x27d8e));function createTextBlock(_0x4f2072){const _0xb17a67={_0x50cabe:0x507,_0x3fbe62:0x4fe},_0xf7a997={_0x14a47d:0x387};function _0x8700ce(_0x4884ee,_0x2f189c,_0x3e6360,_0x136b39){return _0x4ff5(_0x2f189c-_0xf7a997._0x14a47d,_0x4884ee);}return{'type':_0x8700ce(0x500,_0xb17a67._0x50cabe,0x51c,_0xb17a67._0x3fbe62),'text':_0x4f2072};}function normalizeTextBlock(_0x277824){const _0xfe4b3c={_0x2a0721:0x1d3,_0x51d65d:0x1d8,_0x154225:0x1de},_0x581d2e={_0x40390b:0x34d};function _0x71dc7f(_0x7b7fb1,_0x114939,_0x15b1a5,_0x48dcf0){return _0x4ff5(_0x114939- -_0x581d2e._0x40390b,_0x7b7fb1);}return createTextBlock(_0x277824[_0x71dc7f(-_0xfe4b3c._0x2a0721,-0x1cd,-_0xfe4b3c._0x51d65d,-_0xfe4b3c._0x154225)]??'');}function normalizeContent(_0x27ede7){const _0xa2fb56={_0x2de4a3:0xd1,_0x54065b:0x99,_0x287013:0x9a,_0x4f3711:0x82},_0xe56b98={_0x285126:0x4e9,_0x318df1:0x506},_0x42753e={_0x9d39b5:0x1d9};function _0xdb258e(_0x2ab29d,_0x3faee6,_0x5ee31f,_0x1b702f){return _0x4ff5(_0x2ab29d- -0x212,_0x5ee31f);}if(typeof _0x27ede7===_0xdb1be2(0xb8,_0xa2fb56._0x2de4a3,0xc7,0x9d))return[createTextBlock(_0x27ede7)];function _0xdb1be2(_0x486e99,_0xf8987d,_0x3346b1,_0x392ad0){return _0x4ff5(_0x486e99- -0x104,_0xf8987d);}if(!Array[_0xdb1be2(_0xa2fb56._0x54065b,_0xa2fb56._0x287013,_0xa2fb56._0x4f3711,0xb5)](_0x27ede7))return[];return _0x27ede7['map'](_0x3ae3f2=>{function _0x24c347(_0x111b90,_0x1e7c78,_0x1495e2,_0x4683a5){return _0xdb258e(_0x1495e2-0x58f,_0x1e7c78-0x7,_0x4683a5,_0x4683a5-_0x42753e._0x9d39b5);}if(_0x3ae3f2['type']===_0x24c347(_0xe56b98._0x285126,0x4f1,0x4fd,_0xe56b98._0x318df1))return normalizeTextBlock(_0x3ae3f2);return structuredClone(_0x3ae3f2);});}function _0x4ff5(_0x266e03,_0x47fb4e){_0x266e03=_0x266e03-0x17d;const _0x48b928=_0x48b9();let _0x4ff560=_0x48b928[_0x266e03];if(_0x4ff5['VdSwBb']===undefined){var _0x44b9aa=function(_0x4c409b){const _0x3b69b4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4f2072='',_0x277824='';for(let _0x27ede7=0x0,_0x3ae3f2,_0x471802,_0xe77d5d=0x0;_0x471802=_0x4c409b['charAt'](_0xe77d5d++);~_0x471802&&(_0x3ae3f2=_0x27ede7%0x4?_0x3ae3f2*0x40+_0x471802:_0x471802,_0x27ede7++%0x4)?_0x4f2072+=String['fromCharCode'](0xff&_0x3ae3f2>>(-0x2*_0x27ede7&0x6)):0x0){_0x471802=_0x3b69b4['indexOf'](_0x471802);}for(let _0xee1f6=0x0,_0x38c172=_0x4f2072['length'];_0xee1f6<_0x38c172;_0xee1f6++){_0x277824+='%'+('00'+_0x4f2072['charCodeAt'](_0xee1f6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x277824);};_0x4ff5['QQLfOY']=_0x44b9aa,_0x4ff5['ALaWzw']={},_0x4ff5['VdSwBb']=!![];}const _0x41070d=_0x48b928[0x0],_0x3993bd=_0x266e03+_0x41070d,_0x3b2f76=_0x4ff5['ALaWzw'][_0x3993bd];return!_0x3b2f76?(_0x4ff560=_0x4ff5['QQLfOY'](_0x4ff560),_0x4ff5['ALaWzw'][_0x3993bd]=_0x4ff560):_0x4ff560=_0x3b2f76,_0x4ff560;}function normalizeSystem(_0x471802=[]){const _0x121e2a={_0x332775:0x221,_0x5be83d:0x241},_0x2faa25={_0x2c26c5:0x1fc};function _0x20115c(_0x361b0c,_0x3d294b,_0x227b1d,_0x278d0b){return _0x4ff5(_0x361b0c-0x95,_0x227b1d);}function _0x50e200(_0x288ddd,_0x3c3dd1,_0x172b46,_0x110512){return _0x4ff5(_0x172b46-_0x2faa25._0x2c26c5,_0x3c3dd1);}return normalizeContent(_0x471802)[_0x20115c(_0x121e2a._0x332775,0x206,_0x121e2a._0x5be83d,0x224)](_0xe77d5d=>_0xe77d5d[_0x20115c(0x22a,0x211,0x244,0x22e)]==='text');}function isProviderStateCompatible(_0xee1f6,_0x38c172){const _0x5c9476={_0x548265:0x4c1,_0x46ff9d:0x4fb,_0x3df98e:0x4bd},_0x5673e5={_0x244c65:0x31c};function _0x2a46a6(_0x430d1e,_0x2e95c1,_0x5e69bc,_0x574366){return _0x4ff5(_0x574366-0x33a,_0x2e95c1);}const _0x3da21f=_0xee1f6['providerState']?.[_0x2a46a6(0x4df,0x4bb,0x4df,0x4d6)];function _0x54e582(_0x3a8f61,_0x3b7680,_0x5d99a3,_0x29a245){return _0x4ff5(_0x3a8f61- -_0x5673e5._0x244c65,_0x5d99a3);}return _0x3da21f===void 0x0||_0x3da21f===_0x38c172[_0x2a46a6(_0x5c9476._0x548265,0x4e7,_0x5c9476._0x46ff9d,0x4dc)]['modelIdentity']||_0x3da21f===_0x38c172[_0x2a46a6(0x4bc,0x4a3,_0x5c9476._0x3df98e,0x4c2)];}function normalizeMessage(_0x5db522){const _0x31b6b5={_0x23d6b6:0x6f,_0xca49bb:0x5a,_0x11cc7c:0x70,_0x250857:0x4f,_0x29a6d0:0x5d};function _0x484679(_0x34ee89,_0x1e6a84,_0x2e81f5,_0x20d5eb){return _0x4ff5(_0x1e6a84- -0x216,_0x2e81f5);}function _0x1aed4a(_0x4a582e,_0x525099,_0x3e84a6,_0x52f069){return _0x4ff5(_0x525099- -0x37a,_0x52f069);}return{...typeof _0x5db522['id']===_0x484679(-_0x31b6b5._0x23d6b6,-_0x31b6b5._0xca49bb,-0x5f,-_0x31b6b5._0x11cc7c)?{'id':_0x5db522['id']}:{},'role':_0x5db522['role'],'content':normalizeContent(_0x5db522['content']),..._0x5db522[_0x484679(-0x75,-0x67,-0x56,-0x50)]?{'providerState':structuredClone(_0x5db522[_0x484679(-0x6d,-0x67,-_0x31b6b5._0x250857,-_0x31b6b5._0x29a6d0)])}:{}};}function compileRequest(_0x25ff7a){const _0x4339bc={_0x3f1626:0x149,_0x4db4b8:0x15b,_0x4abb95:0x15a,_0xb27079:0x12c,_0x4a92a8:0xed,_0x1b69d9:0xef,_0x3eeb49:0xe1,_0x36dfd6:0xe6,_0x5b870e:0xb5,_0x5d8585:0xd7,_0x26bcfb:0xd4,_0xe38e3:0x114,_0x5c5038:0x118,_0x43746b:0x11a,_0x220d14:0x11b,_0x4c92bf:0x11d,_0x4da4b1:0xee,_0x399140:0x12e,_0x2b846d:0x13d,_0x32b00a:0x143},_0x1fef61={_0x36f43f:0x2d1},_0x410cd0={_0x176f43:0xcb};function _0x415678(_0x3f6b1f,_0xbbfc77,_0x2bf7d1,_0xc304a){return _0x4ff5(_0xbbfc77- -_0x410cd0._0x176f43,_0x2bf7d1);}function _0x2509ff(_0x1c5f07,_0x3e9896,_0x3d0d7c,_0x52e27e){return _0x4ff5(_0x3e9896- -_0x1fef61._0x36f43f,_0x52e27e);}return{'model':_0x25ff7a[_0x2509ff(-0x149,-_0x4339bc._0x3f1626,-_0x4339bc._0x4db4b8,-0x15d)]??_0x2509ff(-0x161,-0x147,-_0x4339bc._0x4abb95,-_0x4339bc._0xb27079),..._0x25ff7a[_0x415678(_0x4339bc._0x4a92a8,_0x4339bc._0x1b69d9,0xce,0x102)]!==void 0x0?{'max_tokens':_0x25ff7a['max_tokens']}:{},..._0x25ff7a['reasoning']?{'reasoning':structuredClone(_0x25ff7a[_0x415678(_0x4339bc._0x3eeb49,_0x4339bc._0x36dfd6,0xf4,0xf1)])}:{},'system':normalizeSystem(_0x25ff7a[_0x415678(_0x4339bc._0x5b870e,0xb8,_0x4339bc._0x5d8585,_0x4339bc._0x26bcfb)]),'messages':_0x25ff7a[_0x2509ff(-0x112,-_0x4339bc._0xe38e3,-_0x4339bc._0x5c5038,-_0x4339bc._0x43746b)][_0x2509ff(-0xfd,-_0x4339bc._0x220d14,-0x105,-_0x4339bc._0x4c92bf)](normalizeMessage),'tools':structuredClone(_0x25ff7a['tools']??[]),'metadata':{'session_id':_0x25ff7a[_0x415678(0xba,0xda,0xc5,_0x4339bc._0x4da4b1)],'turn_id':_0x25ff7a[_0x2509ff(-_0x4339bc._0x399140,-_0x4339bc._0x2b846d,-0x14a,-_0x4339bc._0x32b00a)]}};}function toChatRequest(_0x19fa56){const _0x26232f={_0x567d91:0xd6,_0x3e5014:0x10c,_0x3ba939:0xf9,_0x1b115e:0x120,_0x41eede:0x21e,_0x47a8e5:0x240,_0x1eb3e1:0x248,_0x59116d:0x21a,_0x4c09cb:0x21e,_0x47def1:0xdb,_0x2b26f4:0xcd,_0x45bc56:0xf4,_0xd08634:0x10d,_0x2c34f1:0x21e,_0x56f13d:0x117,_0x213cf4:0x123,_0x2ccb0c:0x214,_0x2283cb:0x21e,_0x2b2cd0:0xf3,_0x4dc29c:0xec,_0x5a43f9:0xe0,_0x117bd0:0x242,_0x2153fc:0x22f},_0x172954={_0x524c0a:0xae};function _0x2cb4ee(_0xa70ff7,_0x29b0f4,_0xd73f8d,_0xa82b68){return _0x4ff5(_0xa82b68- -0x3c0,_0xd73f8d);}function _0x380941(_0x909136,_0x17cca0,_0x2b5bda,_0xe8c7ac){return _0x4ff5(_0x909136- -_0x172954._0x524c0a,_0x17cca0);}return{'model':_0x19fa56[_0x380941(0xda,0xde,_0x26232f._0x567d91,0xcf)],..._0x19fa56[_0x380941(_0x26232f._0x3e5014,_0x26232f._0x3ba939,_0x26232f._0x1b115e,0x110)]!==void 0x0?{'maxTokens':_0x19fa56['max_tokens']}:{},..._0x19fa56['reasoning']?{'reasoning':structuredClone(_0x19fa56['reasoning'])}:{},'system':structuredClone(_0x19fa56[_0x2cb4ee(-_0x26232f._0x41eede,-0x25b,-_0x26232f._0x41eede,-0x23d)]),'messages':structuredClone(_0x19fa56['messages']),'tools':structuredClone(_0x19fa56[_0x2cb4ee(-_0x26232f._0x47a8e5,-_0x26232f._0x1eb3e1,-0x230,-0x232)]),'metadata':{'sessionId':_0x19fa56[_0x2cb4ee(-0x209,-0x215,-0x203,-0x21e)]['session_id'],'turnId':_0x19fa56[_0x2cb4ee(-0x214,-_0x26232f._0x59116d,-0x20f,-_0x26232f._0x4c09cb)][_0x380941(_0x26232f._0x47def1,0xc7,_0x26232f._0x2b26f4,0xe5)],..._0x19fa56[_0x380941(_0x26232f._0x45bc56,0xd4,0xfe,0xd5)][_0x380941(_0x26232f._0xd08634,0x123,0x11a,0x126)]!==void 0x0?{'modelIdentity':_0x19fa56[_0x2cb4ee(-_0x26232f._0x41eede,-0x22a,-0x214,-_0x26232f._0x2c34f1)][_0x380941(0x10d,0xfa,_0x26232f._0x56f13d,_0x26232f._0x213cf4)]}:{},..._0x19fa56[_0x2cb4ee(-0x21b,-0x1fd,-_0x26232f._0x2ccb0c,-_0x26232f._0x2283cb)][_0x380941(_0x26232f._0x2b2cd0,_0x26232f._0x4dc29c,0x114,_0x26232f._0x5a43f9)]!==void 0x0?{'pricingProviderId':_0x19fa56['metadata']['pricing_provider_id']}:{}},..._0x19fa56[_0x2cb4ee(-_0x26232f._0x117bd0,-0x24c,-0x216,-0x22d)]?{'outputFormat':structuredClone(_0x19fa56[_0x2cb4ee(-_0x26232f._0x2153fc,-0x22f,-0x245,-0x22d)])}:{}};}function toModelRequest(_0xd50150){const _0x4cc449={_0x295101:0x4cb,_0x558309:0x4d3,_0x3fd6bd:0x4e9,_0x3687d6:0x4e3,_0x1d4605:0x512,_0x1aafbb:0x546,_0xe24eb:0x4d5,_0x4dab9b:0x4b4,_0x25b544:0x52c,_0x3e17b6:0x4fd,_0x5da6d4:0x50c,_0x3e8c90:0x50e,_0x4dbd96:0x4d5,_0x20d865:0x4c6,_0x187f56:0x4fe,_0x34cfb5:0x4d8,_0x4280ab:0x4e2,_0x3fd82e:0x4eb,_0x3a46f8:0x4b2,_0x25800f:0x4a5,_0x5e4ec6:0x4e2,_0x2b2d37:0x4df,_0x545e71:0x4f8,_0x546093:0x4cd,_0x2de2a3:0x4eb,_0x4752f2:0x4f1,_0x1dbdb0:0x4fd};function _0x3964ff(_0x85751e,_0x1b5cf4,_0x1cda9e,_0x3525bf){return _0x4ff5(_0x1cda9e-0x340,_0x3525bf);}function _0x5c9be6(_0x1e564c,_0x50b1ef,_0x1d01d4,_0xfd247e){return _0x4ff5(_0x1d01d4-0x36a,_0x1e564c);}return{'model':_0xd50150[_0x3964ff(_0x4cc449._0x295101,_0x4cc449._0x558309,0x4c8,0x4e9)],..._0xd50150['maxTokens']!==void 0x0?{'max_tokens':_0xd50150[_0x3964ff(_0x4cc449._0x3fd6bd,0x4e1,_0x4cc449._0x3687d6,0x4e9)]}:{},..._0xd50150[_0x5c9be6(0x51b,0x533,0x51b,_0x4cc449._0x1d4605)]?{'reasoning':structuredClone(_0xd50150['reasoning'])}:{},'system':structuredClone(_0xd50150['system']),'messages':structuredClone(_0xd50150[_0x5c9be6(0x517,_0x4cc449._0x1aafbb,0x527,0x522)]),'tools':structuredClone(_0xd50150[_0x3964ff(0x4e9,_0x4cc449._0xe24eb,0x4ce,_0x4cc449._0x4dab9b)]),'metadata':{'session_id':_0xd50150[_0x3964ff(0x4fb,0x4f1,0x4e2,_0x4cc449._0x295101)][_0x5c9be6(0x525,0x50a,0x50f,0x52c)],'turn_id':_0xd50150[_0x5c9be6(_0x4cc449._0x25b544,_0x4cc449._0x3e17b6,_0x4cc449._0x5da6d4,_0x4cc449._0x5da6d4)][_0x3964ff(0x4b5,0x4c2,0x4d4,0x4dd)],..._0xd50150[_0x5c9be6(_0x4cc449._0x3e8c90,0x50b,0x50c,0x50f)][_0x3964ff(0x4bd,_0x4cc449._0x4dbd96,_0x4cc449._0x20d865,0x4e5)]!==void 0x0?{'model_identity':_0xd50150[_0x3964ff(_0x4cc449._0x187f56,_0x4cc449._0x34cfb5,_0x4cc449._0x4280ab,_0x4cc449._0x3fd82e)][_0x3964ff(0x4ad,_0x4cc449._0x3a46f8,_0x4cc449._0x20d865,_0x4cc449._0x25800f)]}:{},..._0xd50150[_0x3964ff(0x4ff,0x4ce,_0x4cc449._0x5e4ec6,_0x4cc449._0x2b2d37)][_0x5c9be6(_0x4cc449._0x545e71,_0x4cc449._0x546093,_0x4cc449._0x2de2a3,0x4e9)]!==void 0x0?{'pricing_provider_id':_0xd50150['metadata'][_0x5c9be6(0x4ec,0x4df,0x4eb,0x4e2)]}:{}},..._0xd50150[_0x5c9be6(0x4f8,_0x4cc449._0x4752f2,_0x4cc449._0x1dbdb0,0x506)]?{'outputFormat':structuredClone(_0xd50150['outputFormat'])}:{}};}function toProviderModelRequest(_0x22363f){const _0x3fbb41={_0x2d207b:0x160,_0x5f282a:0x163,_0x132729:0x161,_0x7b1ab6:0x157,_0x43bced:0x160,_0x55243a:0x159,_0x3cbf78:0x15a,_0x8c81e5:0x172,_0x234cae:0x17d,_0x1ec8eb:0x153,_0x3a9e23:0x15d,_0x4f5a38:0x180,_0x7b6b67:0x176,_0x14666c:0x1aa};function _0x4ff8c5(_0xa08523,_0x50af2f,_0x3dbd99,_0x21aae7){return _0x4ff5(_0x3dbd99-0x2a2,_0xa08523);}function _0xf99c10(_0xfe6444,_0x21cb32,_0x1839a6,_0x5d208b){return _0x4ff5(_0x5d208b- -0x31,_0x1839a6);}return{'model':_0x22363f[_0xf99c10(_0x3fbb41._0x2d207b,_0x3fbb41._0x5f282a,_0x3fbb41._0x132729,_0x3fbb41._0x7b1ab6)],..._0x22363f[_0xf99c10(_0x3fbb41._0x43bced,_0x3fbb41._0x55243a,_0x3fbb41._0x3cbf78,_0x3fbb41._0x8c81e5)]!==void 0x0?{'max_tokens':_0x22363f[_0xf99c10(_0x3fbb41._0x234cae,_0x3fbb41._0x1ec8eb,_0x3fbb41._0x3a9e23,0x172)]}:{},'system':structuredClone(_0x22363f[_0xf99c10(0x164,0x173,0x15d,0x152)]),'messages':structuredClone(_0x22363f[_0xf99c10(_0x3fbb41._0x4f5a38,_0x3fbb41._0x7b6b67,_0x3fbb41._0x14666c,0x18c)]),'tools':structuredClone(_0x22363f['tools'])};}function _0x48b9(){const _0x5f0fb2=['zMLSDgvY','mtaZofrWAg5mtW','Dg9VBhm','mJK3mJG1merYC2jTBq','CMvHC29UAw5Nvg9Rzw5Z','yxnZAxn0yw50','zw5JCNLWDgvKq29UDgvUDa','B3v0Chv0rM9YBwf0','DhvYBKLK','DhLWzq','y2fSBeLK','AgfZ','Dg9VBf91C2u','Aw5WDxruB2TLBNm','ndGZnuHysLbcua','odu3ntC0rfPABKji','B3jPz2LUtw9KzwXjzgvUDgL0Eq','AxnbCNjHEq','mJiYDuLzqMD4','oejxAhbZDW','BwvZC2fNzq','ChjPy2LUz19WCM92AwrLCL9Pza','Bwv0ywrHDge','Bwf4vg9Rzw5Z','B3v0Chv0x3rVA2vUCW','C2vZC2LVBKLK','DhjPBq','DxnHz2u','vg9VBcbLEgvJDxrPB24GD2fZigLUDgvYCNvWDgvKigjLzM9YzsbJB21WBgv0Aw9UigfUzcbWCM9KDwnLzcbUBYbYzxn1BhqU','C3rVCf9YzwfZB24','C3vTBwfYEq','y29UDgvUDa','B3bLBMfPx3jLyxnVBMLUzW','mJG0sgf2uLze','C3rVCfjLyxnVBG','ChjVDMLKzxjtDgf0zq','yw50AhjVCgLJx3rOAw5RAw5N','CMvHC29UAw5N','yw50AhjVCgLJx3jLzgfJDgvKx3rOAw5RAw5N','ChvZAa','nduWCxbLwLrK','zxjYB3i','BwfW','CMvHC29UAw5Nx3rVA2vUCW','mta0odaYnZjoA0Pcrgu','Dg9VBf91C2vFAwq','Bwf4x3rVA2vUCW','Bw9KzwXFAwrLBNrPDhK','C3rYAw5N','BwvZC2fNzxm','Dg9VBf9Yzxn1Bhq','DgHPBMTPBMC','khjLzgfJDgvKihjLyxnVBMLUzYK','Dgv4Da','ChjPy2LUz1bYB3zPzgvYswq','AM9PBG','C3LZDgvT','mtCZnJbcr1DWyxy','mZe4mdmWD2rozez6','Bw9KzwXjzgvUDgL0Eq','BgvUz3rO','Bw9KzwW','DhvYBL9Pza','y2XHDwrLlxnVBM5LDc00ltiWmJuWnte0','ywrK'];_0x48b9=function(){return _0x5f0fb2;};return _0x48b9();}function toChatResponse(_0x56e4b9){const _0x3b2e7c={_0x25c4eb:0x1c6,_0x4dabe8:0x1a8,_0x282320:0x1c4,_0x3340c9:0x328,_0x578be2:0x32d,_0x553ec6:0x312,_0x528ffc:0x1bf,_0x2b2b12:0x1cd,_0x3d3a15:0x1b9,_0x36eb56:0x342,_0x3fecdf:0x340,_0x412f2b:0x33d,_0x25e056:0x319,_0x4a70ff:0x336,_0x1c039a:0x33a},_0x26ebe5={_0x4c3b2e:0x1b},_0x4ab3bd={_0x3622cb:0x17f};function _0xe6abbc(_0x26051d,_0x46a0f0,_0x1d4248,_0x372813){return _0x4ff5(_0x372813-_0x4ab3bd._0x3622cb,_0x26051d);}function _0x4fe227(_0x57ca3e,_0x35eba9,_0x22fef5,_0x2cde13){return _0x4ff5(_0x57ca3e-_0x26ebe5._0x4c3b2e,_0x22fef5);}return{'id':_0x56e4b9['id'],'content':structuredClone(_0x56e4b9[_0x4fe227(_0x3b2e7c._0x25c4eb,0x1de,_0x3b2e7c._0x4dabe8,0x1d6)]),'stopReason':_0x56e4b9[_0x4fe227(_0x3b2e7c._0x282320,0x1a5,0x1ad,0x1bf)],'usage':{'inputTokens':_0x56e4b9[_0xe6abbc(0x31c,_0x3b2e7c._0x3340c9,_0x3b2e7c._0x578be2,0x326)]['input_tokens'],'outputTokens':_0x56e4b9[_0xe6abbc(0x31d,_0x3b2e7c._0x553ec6,0x324,0x326)][_0x4fe227(_0x3b2e7c._0x528ffc,0x1c0,_0x3b2e7c._0x2b2b12,_0x3b2e7c._0x3d3a15)],..._0x56e4b9[_0xe6abbc(0x32a,_0x3b2e7c._0x36eb56,0x333,0x326)][_0xe6abbc(_0x3b2e7c._0x3fecdf,_0x3b2e7c._0x412f2b,_0x3b2e7c._0x25e056,_0x3b2e7c._0x4a70ff)]!==void 0x0?{'reasoningTokens':_0x56e4b9[_0xe6abbc(0x343,0x337,0x319,0x326)][_0xe6abbc(0x349,_0x3b2e7c._0x1c039a,0x351,0x336)]}:{}},..._0x56e4b9['providerState']?{'providerState':structuredClone(_0x56e4b9['providerState'])}:{}};}function toModelResponse(_0x5f17cb){const _0x226b10={_0xcbb5:0x6f,_0x12b4e4:0x6c,_0x48c3d8:0x73,_0x256661:0x52,_0x46350e:0x44,_0x2c497c:0x89,_0x4e1b8e:0x174,_0x4e7faa:0x176,_0x517cbb:0x176,_0x1d0b92:0x159,_0x5711c7:0x164,_0x513746:0x18a,_0x3899de:0x17e,_0x4b104a:0x74,_0x677dcd:0x77,_0x1a5434:0x8f,_0x5e8c80:0x7f},_0x4b56f4={_0xc10dac:0x31};function _0x12c63e(_0x40d619,_0x3600a5,_0x4bde5d,_0x3a6f9c){return _0x4ff5(_0x3a6f9c- -0x130,_0x3600a5);}function _0x5d7571(_0xa03382,_0x417a9a,_0x505fc3,_0x2ef1db){return _0x4ff5(_0x505fc3- -_0x4b56f4._0xc10dac,_0x417a9a);}return{'id':_0x5f17cb['id'],'type':_0x12c63e(_0x226b10._0xcbb5,_0x226b10._0x12b4e4,_0x226b10._0x48c3d8,0x70),'role':_0x12c63e(_0x226b10._0x256661,0x75,_0x226b10._0x46350e,0x61),'content':structuredClone(_0x5f17cb['content']),'stop_reason':_0x5f17cb[_0x12c63e(0x8e,_0x226b10._0x2c497c,0x6f,0x7e)],'stop_sequence':null,'usage':{'input_tokens':_0x5f17cb['usage'][_0x5d7571(0x163,0x17f,0x168,_0x226b10._0x4e1b8e)],'output_tokens':_0x5f17cb[_0x5d7571(0x189,0x189,_0x226b10._0x4e7faa,0x18c)]['outputTokens'],..._0x5f17cb[_0x5d7571(0x176,0x168,_0x226b10._0x517cbb,0x16c)]['reasoningTokens']!==void 0x0?{'reasoning_tokens':_0x5f17cb[_0x5d7571(_0x226b10._0x1d0b92,0x17b,0x176,0x167)][_0x5d7571(0x150,_0x226b10._0x5711c7,0x15f,0x144)]}:{}},..._0x5f17cb[_0x5d7571(_0x226b10._0x513746,0x192,_0x226b10._0x3899de,0x17d)]?{'providerState':structuredClone(_0x5f17cb[_0x12c63e(_0x226b10._0x4b104a,_0x226b10._0x677dcd,_0x226b10._0x1a5434,_0x226b10._0x5e8c80)])}:{}};}function responseToAssistantMessage(_0x515377){const _0x56d584={_0x12b90e:0x115,_0x57a279:0x114,_0x2a23f:0x3c5,_0x36d5e9:0x3b6};function _0x37ee2f(_0x5ecbd8,_0xe650fd,_0x4da25a,_0xbc63d3){return _0x4ff5(_0x4da25a-0x216,_0xbc63d3);}function _0xe92996(_0x5a7e46,_0x2362bc,_0x5a5f31,_0x38b5c8){return _0x4ff5(_0x5a7e46- -0x2c4,_0x5a5f31);}return{'role':_0xe92996(-0x133,-0x123,-0x13a,-0x124),'content':normalizeContent(_0x515377[_0x37ee2f(0x3ba,0x3a6,0x3c1,0x3d3)]),..._0x515377[_0xe92996(-_0x56d584._0x12b90e,-0x126,-_0x56d584._0x57a279,-0xfb)]?{'providerState':structuredClone(_0x515377[_0x37ee2f(0x3cd,0x3e5,_0x56d584._0x2a23f,_0x56d584._0x36d5e9)])}:{}};}function createReasoningMessage(_0x316c87){const _0x33fab2={_0x14b0f6:0x1e0,_0xa130d5:0x1f1,_0x58c4da:0x1f7,_0x366fd8:0x206,_0x5a127b:0x212,_0x512f06:0x21a,_0x53ba5e:0x1e4,_0x367ac0:0x1fb,_0x1132a5:0x1ee,_0x5dff89:0x1e1},_0x1ee467={_0xf2430a:0x2ea,_0x2d4aa1:0x305,_0x3dc66a:0x305,_0x58eb0d:0x2fd,_0x482983:0x2cf,_0x4e9169:0x2e0,_0x4bf74c:0x2eb,_0x16d3cc:0x2ed,_0x4e5402:0x306,_0x3a3b15:0x300,_0x69ed74:0x302},_0x43177b={_0x49bdf3:0x10b},_0x415232={_0x491f99:0x12f};function _0x3e2151(_0x4e9651,_0x1bc371,_0x4b8b44,_0x5642a5){return _0x4ff5(_0x4b8b44- -0x383,_0x1bc371);}function _0x561ef4(_0x5e431b,_0x2ec228,_0x24bd09,_0x558d37){return _0x4ff5(_0x24bd09- -_0x415232._0x491f99,_0x2ec228);}const _0x2242ca=normalizeContent(_0x316c87?.[_0x3e2151(-0x1d9,-_0x33fab2._0x14b0f6,-0x1d8,-0x1bb)])[_0x3e2151(-_0x33fab2._0xa130d5,-_0x33fab2._0x58c4da,-0x1f7,-_0x33fab2._0x366fd8)](_0x479228=>{const _0x1f6321={_0x357fe4:0x285,_0x2c8783:0x1ab};function _0x4918f2(_0x316c79,_0x312701,_0x1d1c71,_0xa485e5){return _0x3e2151(_0x316c79-0x1d4,_0x1d1c71,_0xa485e5-0x300,_0xa485e5-_0x43177b._0x49bdf3);}function _0x206d67(_0x5c00b6,_0x463c42,_0x37df5c,_0x15b845){return _0x561ef4(_0x5c00b6-0x17d,_0x463c42,_0x15b845-_0x1f6321._0x357fe4,_0x15b845-_0x1f6321._0x2c8783);}return _0x479228[_0x206d67(_0x1ee467._0xf2430a,0x2da,_0x1ee467._0x2d4aa1,0x2eb)]===_0x206d67(_0x1ee467._0x3dc66a,0x30c,_0x1ee467._0x58eb0d,0x308)||_0x479228[_0x206d67(_0x1ee467._0x482983,0x2f7,_0x1ee467._0x4e9169,_0x1ee467._0x4bf74c)]===_0x206d67(0x2e7,_0x1ee467._0x16d3cc,0x315,_0x1ee467._0x4e5402)||_0x479228['type']===_0x206d67(_0x1ee467._0x3a3b15,0x2e9,0x2e3,_0x1ee467._0x69ed74);});if(_0x2242ca[_0x3e2151(-_0x33fab2._0x5a127b,-_0x33fab2._0x512f06,-0x1fc,-_0x33fab2._0x53ba5e)]===0x0)return void 0x0;return{'role':_0x3e2151(-_0x33fab2._0x367ac0,-_0x33fab2._0x1132a5,-0x1f2,-_0x33fab2._0x5dff89),'content':_0x2242ca};}function createAssistantTextMessage(_0x198d70){const _0x59ce7b={_0x46eecc:0x1cc,_0x5a0126:0x1bb,_0x3873ac:0x1bd,_0x42c346:0x1b6,_0x3513c5:0x1b0},_0xbdec05={_0x2e7436:0x4ac,_0x424efb:0x4cc},_0x35279f={_0xfdf937:0x1e5};function _0x1d89c1(_0x577a9d,_0x2e8138,_0x2004d8,_0x1ec8dd){return _0x4ff5(_0x1ec8dd-_0x35279f._0xfdf937,_0x2e8138);}function _0x45e406(_0x18ab12,_0x1f27eb,_0x5bfc15,_0x290505){return _0x4ff5(_0x18ab12- -0x358,_0x1f27eb);}const _0x465ca0=normalizeContent(_0x198d70?.['content'])[_0x45e406(-_0x59ce7b._0x46eecc,-0x1b4,-0x1c1,-0x1e8)](_0x3d12d3=>{const _0x193a59={_0x3d12c0:0x68f};function _0x5dc7ac(_0x510541,_0x19bdbe,_0x2e3bd5,_0x790311){return _0x45e406(_0x790311-_0x193a59._0x3d12c0,_0x2e3bd5,_0x2e3bd5-0x1e5,_0x790311-0x11b);}return _0x3d12d3[_0x5dc7ac(0x4e6,_0xbdec05._0x2e7436,0x4b3,_0xbdec05._0x424efb)]==='text';});if(_0x465ca0[_0x45e406(-0x1d1,-0x1cd,-_0x59ce7b._0x5a0126,-0x1c5)]===0x0)return void 0x0;return{'role':_0x45e406(-0x1c7,-_0x59ce7b._0x3873ac,-_0x59ce7b._0x42c346,-_0x59ce7b._0x3513c5),'content':_0x465ca0};}function createToolUseMessage(_0x5a6f72){const _0xe509e6={_0x2a967c:0xe6,_0x282ab4:0xff,_0x41ba85:0xcc,_0x253873:0xfc,_0x4ecaf7:0xf3,_0x4fc932:0xf4,_0x5d5b97:0xd7},_0x2c61e2={_0x48778c:0xa9},_0x22e1d9={_0x3760ae:0x278},_0x4b4e2c={_0x3f6ebf:0x1f9,_0x3bae28:0x20b,_0x520a59:0x11c,_0xdae887:0x13c},_0x5581ed=normalizeContent(_0x5a6f72?.[_0x16b8b1(_0xe509e6._0x2a967c,0x11d,0x102,_0xe509e6._0x282ab4)])[_0x16b8b1(_0xe509e6._0x41ba85,_0xe509e6._0x253873,0xe3,_0xe509e6._0x4ecaf7)](_0x44d481=>{const _0x2825fa={_0x546333:0x102};function _0xcb359b(_0x44d9fa,_0xc0cf03,_0x2979c7,_0x26a217){return _0x16b8b1(_0x44d9fa-0x19a,_0xc0cf03-_0x2825fa._0x546333,_0xc0cf03-0x127,_0x2979c7);}function _0x362940(_0x1d83ba,_0x191869,_0x11a8fe,_0x10b541){return _0x16b8b1(_0x1d83ba-0x122,_0x191869-0xd6,_0x10b541- -0x22b,_0x191869);}return _0x44d481[_0xcb359b(_0x4b4e2c._0x3f6ebf,0x213,0x229,_0x4b4e2c._0x3bae28)]===_0x362940(-0x159,-0x125,-_0x4b4e2c._0x520a59,-_0x4b4e2c._0xdae887);});if(_0x5581ed[_0x1732d5(-_0xe509e6._0x4fc932,-0xf1,-0xe2,-_0xe509e6._0x4fc932)]===0x0)return void 0x0;function _0x1732d5(_0xbee8f5,_0x2f3b41,_0x15b8ed,_0x55928b){return _0x4ff5(_0x2f3b41- -_0x22e1d9._0x3760ae,_0x55928b);}function _0x16b8b1(_0x39820e,_0x4e0937,_0x31fff2,_0x43dc68){return _0x4ff5(_0x31fff2- -_0x2c61e2._0x48778c,_0x43dc68);}return{'role':_0x1732d5(-_0xe509e6._0x5d5b97,-0xe7,-0xe3,-0xf7),'content':_0x5581ed};}function getTextFromMessage(_0x15886f){const _0x359a2c={_0x1ccd88:0x19f,_0x540990:0x1bf,_0x3d0dd5:0x1b4,_0x37075a:0x1ad,_0x12c476:0x278,_0x29eaf2:0x184,_0x590af6:0x196,_0x51bb02:0x177},_0x28f740={_0x5cc744:0xb9};function _0x5e95fd(_0x5408cb,_0x22c4c4,_0x2eda23,_0x536cbf){return _0x4ff5(_0x22c4c4-0x14,_0x2eda23);}function _0x193b3c(_0xc4d3e,_0x5a2e25,_0x8e8643,_0x3fc393){return _0x4ff5(_0x3fc393-_0x28f740._0x5cc744,_0x5a2e25);}return normalizeContent(_0x15886f?.[_0x5e95fd(_0x359a2c._0x1ccd88,_0x359a2c._0x540990,_0x359a2c._0x3d0dd5,0x1bc)])[_0x5e95fd(0x196,0x1a0,_0x359a2c._0x37075a,0x1be)](_0x4983a5=>_0x4983a5[_0x193b3c(0x251,0x258,0x233,0x24e)]===_0x193b3c(0x242,0x25a,0x21a,0x239))[_0x193b3c(_0x359a2c._0x12c476,0x260,0x282,0x26f)](_0x13de3d=>_0x13de3d[_0x193b3c(0x22a,0x21e,0x256,0x239)])[_0x5e95fd(_0x359a2c._0x29eaf2,_0x359a2c._0x590af6,0x1a4,_0x359a2c._0x51bb02)]('\x0a');}function _0x57ad46(_0x2250b6,_0x30cb53,_0x1829ed,_0x5144bd){const _0x378ed7={_0x35ba14:0x23e};return _0x4ff5(_0x5144bd- -_0x378ed7._0x35ba14,_0x2250b6);}function getReasoningTextFromMessage(_0x3114f2){const _0x3b8fd9={_0xaf6aca:0x38b,_0x5c9ab2:0x37f,_0x31253b:0x191,_0x7fdfa2:0x194},_0x33dff8={_0x51ed6b:0x175,_0x22df3a:0x7b,_0x518ebf:0x65,_0x4ec106:0x78,_0x265642:0x50,_0x9c8d7d:0x6d,_0x5fcb5e:0x95,_0x570b9e:0x52,_0x40aec5:0x6e,_0x3d9cef:0x178,_0xc2db7f:0x160,_0x44243a:0x53,_0x5d79ac:0x7f,_0x293949:0x7c,_0x152d9b:0x17b,_0x3b4231:0x180,_0x22a082:0x143,_0x153bd1:0x165,_0x128c92:0x169,_0x11e225:0x19c,_0x205db4:0x170,_0x384898:0x18b,_0x5efef4:0x4a,_0x302760:0x16c,_0x46d7ea:0x186,_0x593604:0x185,_0x4e2399:0x17f,_0x264ebf:0x18d,_0x238db0:0x17b},_0x52bb23={_0xf6624e:0x1e0},_0x3380f5={_0xdc1669:0x313};function _0x288223(_0x46a050,_0x145e6e,_0x330721,_0x1edb6f){return _0x4ff5(_0x46a050- -_0x3380f5._0xdc1669,_0x330721);}function _0x45f771(_0x32c794,_0x6e8037,_0x3bdf5c,_0x413ac2){return _0x4ff5(_0x32c794-_0x52bb23._0xf6624e,_0x3bdf5c);}return normalizeContent(_0x3114f2?.[_0x45f771(_0x3b8fd9._0xaf6aca,0x3a7,0x39a,_0x3b8fd9._0x5c9ab2)])['flatMap'](_0x558772=>{const _0x1cfe86={_0x2eb784:0x4ed,_0x5140a7:0x14b};if(_0x558772[_0x404871(-0x183,-_0x33dff8._0x51ed6b,-0x178,-0x15b)]==='anthropic_thinking')return _0x558772[_0x4671fc(_0x33dff8._0x22df3a,_0x33dff8._0x518ebf,_0x33dff8._0x4ec106,_0x33dff8._0x265642)][_0x4671fc(_0x33dff8._0x9c8d7d,0x8d,_0x33dff8._0x5fcb5e,0x7f)]()[_0x4671fc(_0x33dff8._0x570b9e,_0x33dff8._0x40aec5,0x61,0x84)]>0x0?[_0x558772['thinking']]:[];function _0x4671fc(_0x4a141a,_0xc03888,_0x5971c6,_0xed6f48){return _0x45f771(_0xc03888- -0x2f9,_0xc03888-0x96,_0xed6f48,_0xed6f48-0x1be);}if(_0x558772[_0x404871(-0x184,-0x183,-_0x33dff8._0x3d9cef,-_0x33dff8._0xc2db7f)]===_0x404871(-0x179,-0x16b,-0x15b,-0x178))return[_0x4671fc(0x7b,0x66,_0x33dff8._0x44243a,0x66)];if(_0x558772[_0x4671fc(_0x33dff8._0x5d79ac,_0x33dff8._0x293949,0x66,0x5c)]!==_0x404871(-_0x33dff8._0x152d9b,-0x179,-0x161,-_0x33dff8._0x3b4231))return[];const _0x3178a4=_0x558772[_0x404871(-_0x33dff8._0x22a082,-_0x33dff8._0x153bd1,-0x163,-0x173)]['map'](_0xc88c39=>_0xc88c39['text'])[_0x404871(-_0x33dff8._0x128c92,-_0x33dff8._0x11e225,-0x181,-_0x33dff8._0x205db4)](_0x4eae66=>_0x4eae66['trim']()['length']>0x0)[_0x404871(-0x181,-0x186,-_0x33dff8._0x384898,-0x182)]('\x0a\x0a');if(_0x3178a4['length']>0x0)return[_0x3178a4];if(_0x558772[_0x4671fc(0x7b,0x67,_0x33dff8._0x5efef4,0x70)]&&_0x558772[_0x404871(-0x17a,-_0x33dff8._0x302760,-0x18d,-0x19b)]['trim']()[_0x404871(-0x16d,-0x186,-_0x33dff8._0x46d7ea,-_0x33dff8._0x593604)]>0x0)return[_0x558772[_0x404871(-_0x33dff8._0x4e2399,-0x199,-_0x33dff8._0x264ebf,-0x181)]];function _0x404871(_0x4da2bc,_0x58c73b,_0x131e9d,_0x25a362){return _0x45f771(_0x131e9d- -_0x1cfe86._0x2eb784,_0x58c73b-0x6,_0x25a362,_0x25a362-_0x1cfe86._0x5140a7);}return _0x558772[_0x404871(-0x182,-0x183,-_0x33dff8._0x238db0,-0x176)]?['(encrypted\x20reasoning)']:[];})[_0x288223(-_0x3b8fd9._0x31253b,-_0x3b8fd9._0x7fdfa2,-_0x3b8fd9._0x31253b,-0x194)]('\x0a\x0a');}function getToolUseBlocks(_0x447208){const _0x455052={_0xe9724c:0x33d,_0xd5fdec:0x351},_0x1d0f56={_0x16b191:0x30e},_0x487910={_0x511f92:0x192};function _0x510a6c(_0x5b9d91,_0x3b1b55,_0x10b3dd,_0x204818){return _0x4ff5(_0x5b9d91-_0x487910._0x511f92,_0x3b1b55);}function _0x1ce519(_0x4fc182,_0xd972a0,_0x312000,_0x1bed37){return _0x4ff5(_0x312000-_0x1d0f56._0x16b191,_0xd972a0);}return normalizeContent(_0x447208?.[_0x510a6c(_0x455052._0xe9724c,_0x455052._0xd5fdec,0x335,0x342)])[_0x1ce519(0x498,0x4ba,0x49a,0x4b9)](_0x4919e7=>_0x4919e7[_0x1ce519(0x4a6,0x4c1,0x4a3,0x4c2)]==='tool_use');}function getToolResultBlocks(_0x4a3436){const _0x5663ca={_0x4fa269:0x587,_0x8331a4:0x58a,_0x52f3eb:0x57b,_0x205455:0x216,_0x2db6b6:0x205},_0x3420ae={_0x39f2e0:0x391};function _0x5ad839(_0x396e44,_0x1280c4,_0x1d555a,_0x291bc8){return _0x4ff5(_0x1d555a- -_0x3420ae._0x39f2e0,_0x1280c4);}function _0x572dc4(_0x387268,_0x5795a0,_0x5bd3e4,_0x42f6d4){return _0x4ff5(_0x5bd3e4-0x3df,_0x5795a0);}return normalizeContent(_0x4a3436?.[_0x572dc4(0x575,_0x5663ca._0x4fa269,_0x5663ca._0x8331a4,_0x5663ca._0x52f3eb)])[_0x5ad839(-0x220,-_0x5663ca._0x205455,-_0x5663ca._0x2db6b6,-0x21c)](_0xc82fab=>_0xc82fab[_0x572dc4(0x579,0x581,0x574,0x582)]===_0x572dc4(0x553,0x57b,0x55c,0x55f));}function createToolResultUserMessage(_0x658d43){const _0x5c0535={_0x59d9e4:0x379,_0x1f1a64:0x363,_0x157f6d:0x34b},_0x1229ac={_0x18b410:0x505,_0x3d027f:0x4df,_0x5db0ae:0x4ff,_0x446030:0x4fd,_0x3e1b05:0x81,_0x1895ae:0x6e,_0x325d91:0x6a},_0x3a205d={_0x52eecb:0x1a7},_0xbb876f={_0x678ca4:0x134,_0x69a191:0x3d0},_0x1ffca6={_0x123314:0x1ad};function _0x56daa0(_0x5b4301,_0x35d17c,_0x50a7dc,_0x2ec1b7){return _0x4ff5(_0x35d17c-_0x1ffca6._0x123314,_0x2ec1b7);}return{'role':'user','content':_0x658d43[_0x56daa0(_0x5c0535._0x59d9e4,_0x5c0535._0x1f1a64,_0x5c0535._0x157f6d,0x366)](_0x1b2d02=>{function _0xe62b5(_0x505440,_0x157888,_0x19a6af,_0x7c9a6d){return _0x56daa0(_0x505440-_0xbb876f._0x678ca4,_0x157888- -_0xbb876f._0x69a191,_0x19a6af-0x164,_0x505440);}function _0x26dee6(_0x1ba7ae,_0xc8cb94,_0x2372ed,_0x391c69){return _0x56daa0(_0x1ba7ae-0x1b7,_0xc8cb94-_0x3a205d._0x52eecb,_0x2372ed-0x18c,_0x2372ed);}return{'type':'tool_result','tool_use_id':_0x1b2d02[_0x26dee6(0x4d9,0x4ea,_0x1229ac._0x18b410,0x4e6)],'content':_0x1b2d02[_0x26dee6(_0x1229ac._0x3d027f,_0x1229ac._0x5db0ae,_0x1229ac._0x446030,0x4f2)]??_0x1b2d02['output'],'is_error':_0x1b2d02['status']===_0xe62b5(-_0x1229ac._0x3e1b05,-_0x1229ac._0x1895ae,-0x7f,-_0x1229ac._0x325d91)};})};}var INTERRUPTED_TOOL_RESULT_TEXT=_0x57ad46(-0xa4,-0x94,-0xae,-0x96);function synthesizeMissingToolResults(_0x2d34c1){const _0x220123={_0x4878a4:0x307,_0x584ee2:0x2e9,_0x10e932:0xcd,_0x5c114b:0xea,_0xe1bc76:0xd1,_0x236fab:0x2f3,_0x23482a:0x2f0,_0x9aa215:0x2ee,_0x1ae9b6:0x301,_0x2d08aa:0x307,_0x587fa8:0x31a,_0x1db519:0x315,_0x244c41:0xf0,_0x170289:0xe7,_0x4b8da0:0xfb,_0x282a7c:0xfd},_0x273143={_0x132c8a:0xc4,_0xebc0e9:0x16f},_0x3179c7={_0x14cd2f:0x125,_0xa7b85c:0x3a5};function _0x390db7(_0x2ecd67,_0x5f45f5,_0x41dad6,_0xf3363b){return _0x57ad46(_0x5f45f5,_0x5f45f5-_0x3179c7._0x14cd2f,_0x41dad6-0x56,_0x2ecd67-_0x3179c7._0xa7b85c);}const _0x4d1619=new Set();for(const _0x4e5eab of _0x2d34c1){for(const _0x5f7a2b of getToolResultBlocks(_0x4e5eab)){_0x4d1619[_0x390db7(0x2f2,_0x220123._0x4878a4,_0x220123._0x584ee2,0x308)](_0x5f7a2b[_0x4db718(_0x220123._0x10e932,_0x220123._0x5c114b,_0x220123._0xe1bc76,0x108)]);}}function _0x4db718(_0xaeb3c8,_0x2ce099,_0x11354d,_0x350443){return _0x57ad46(_0xaeb3c8,_0x2ce099-0x5a,_0x11354d-_0x273143._0x132c8a,_0x2ce099-_0x273143._0xebc0e9);}const _0x5742eb=[];for(const _0x368e3f of _0x2d34c1){_0x5742eb[_0x4db718(0xfb,0xe4,0x103,0xfc)](_0x368e3f);const _0xc76115=getToolUseBlocks(_0x368e3f)[_0x390db7(_0x220123._0x236fab,_0x220123._0x23482a,0x2fa,0x2f7)](_0x44e246=>!_0x4d1619[_0x390db7(0x2fe,0x313,0x30d,0x2eb)](_0x44e246['id']));if(_0xc76115[_0x390db7(_0x220123._0x9aa215,0x2db,_0x220123._0x1ae9b6,_0x220123._0x2d08aa)]===0x0)continue;_0x5742eb[_0x390db7(_0x220123._0x587fa8,_0x220123._0x1db519,0x308,0x2fd)]({'role':'user','content':_0xc76115[_0x4db718(_0x220123._0x244c41,_0x220123._0x170289,_0x220123._0x4b8da0,_0x220123._0x282a7c)](_0xa715ec=>({'type':'tool_result','tool_use_id':_0xa715ec['id'],'content':INTERRUPTED_TOOL_RESULT_TEXT,'is_error':!![]}))});for(const _0x36e7d1 of _0xc76115){_0x4d1619['add'](_0x36e7d1['id']);}}return _0x5742eb;}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(_0x1c5129,_0x37a729){const _0x71c973={_0x37c819:0x474,_0x53cf1a:0x46c,_0x41d52b:0x469,_0x5fdb09:0x55b,_0x1fb362:0x555,_0x368e00:0x47b,_0x5e1afb:0x47a,_0x2145ef:0x477,_0xba62b0:0x46f,_0x129e0d:0x547,_0xe9f8a7:0x54a,_0x1c8362:0x555,_0x3de94f:0x555},_0x5879fb={_0x51f273:0x2d3},_0x145f08={_0x1af957:0x3ad};function _0x1bb5ff(_0xe0425a,_0x4ecfdf,_0x5e7e0c,_0x591b76){return _0x2295(_0x5e7e0c-_0x145f08._0x1af957,_0x4ecfdf);}const _0x21c5b0=_0x1c5129();function _0x112bc2(_0x50bf33,_0x106b13,_0xc3a08c,_0x5cc760){return _0x2295(_0xc3a08c-_0x5879fb._0x51f273,_0x5cc760);}while(!![]){try{const _0xbda335=-parseInt(_0x112bc2(_0x71c973._0x37c819,_0x71c973._0x53cf1a,0x472,_0x71c973._0x41d52b))/0x1+-parseInt(_0x1bb5ff(0x55d,0x551,_0x71c973._0x5fdb09,0x556))/0x2+parseInt(_0x1bb5ff(0x54f,_0x71c973._0x1fb362,0x550,0x556))/0x3+parseInt(_0x112bc2(_0x71c973._0x368e00,0x471,0x477,_0x71c973._0x5e1afb))/0x4+parseInt(_0x112bc2(_0x71c973._0x2145ef,0x467,_0x71c973._0xba62b0,0x470))/0x5+parseInt(_0x1bb5ff(0x54f,_0x71c973._0x129e0d,_0x71c973._0xe9f8a7,0x547))/0x6*(parseInt(_0x1bb5ff(0x544,0x552,0x54b,_0x71c973._0x1c8362))/0x7)+-parseInt(_0x1bb5ff(0x555,0x552,_0x71c973._0x3de94f,0x555))/0x8;if(_0xbda335===_0x37a729)break;else _0x21c5b0['push'](_0x21c5b0['shift']());}catch(_0x19536c){_0x21c5b0['push'](_0x21c5b0['shift']());}}}(_0x1146,0x35c71));import{toOpenAiResponsesRequest}from'../chunk-LIE76IJA.js';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';function _0x2295(_0x519a91,_0x4de357){_0x519a91=_0x519a91-0x19c;const _0x1146f1=_0x1146();let _0x2295d2=_0x1146f1[_0x519a91];if(_0x2295['XNqWzU']===undefined){var _0x5c2028=function(_0x44c1ca){const _0x4ecabb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x538305='',_0x1a1b42='';for(let _0x425b10=0x0,_0xc2bdb9,_0x31bf08,_0x152e7c=0x0;_0x31bf08=_0x44c1ca['charAt'](_0x152e7c++);~_0x31bf08&&(_0xc2bdb9=_0x425b10%0x4?_0xc2bdb9*0x40+_0x31bf08:_0x31bf08,_0x425b10++%0x4)?_0x538305+=String['fromCharCode'](0xff&_0xc2bdb9>>(-0x2*_0x425b10&0x6)):0x0){_0x31bf08=_0x4ecabb['indexOf'](_0x31bf08);}for(let _0xde0eca=0x0,_0x355a10=_0x538305['length'];_0xde0eca<_0x355a10;_0xde0eca++){_0x1a1b42+='%'+('00'+_0x538305['charCodeAt'](_0xde0eca)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1a1b42);};_0x2295['eIUDPO']=_0x5c2028,_0x2295['LsoBJF']={},_0x2295['XNqWzU']=!![];}const _0x1ed329=_0x1146f1[0x0],_0x1fac84=_0x519a91+_0x1ed329,_0x15b32e=_0x2295['LsoBJF'][_0x1fac84];return!_0x15b32e?(_0x2295d2=_0x2295['eIUDPO'](_0x2295d2),_0x2295['LsoBJF'][_0x1fac84]=_0x2295d2):_0x2295d2=_0x15b32e,_0x2295d2;}var DATA_URI_REGEX=/data:(image\/(?:png|jpeg|jpg|gif|webp));base64,([A-Za-z0-9+/\r\n]+={0,2})/g;function normalizeMediaType(_0x538305){const _0x4057c5={_0x438bb0:0x75,_0x2f8af6:0x7a,_0x3269a0:0x65,_0x167fc3:0x71,_0x443b5d:0x69},_0x3f8df2={_0x2d8884:0x3a3};function _0x3b9fac(_0x383b44,_0x359849,_0x24b966,_0x10daa4){return _0x2295(_0x359849- -0x13a,_0x10daa4);}function _0x487c0e(_0x106ddb,_0x403c03,_0x29f1ee,_0x4ac9cd){return _0x2295(_0x106ddb-_0x3f8df2._0x2d8884,_0x4ac9cd);}return _0x538305===_0x3b9fac(0x71,_0x4057c5._0x438bb0,0x7b,_0x4057c5._0x2f8af6)?_0x3b9fac(_0x4057c5._0x3269a0,0x6c,_0x4057c5._0x167fc3,_0x4057c5._0x443b5d):_0x538305;}function isValidBase64(_0x1a1b42){const _0x3ce9ac={_0x5ed46b:0x167,_0x26b775:0x1df,_0x266ef3:0x1e2};function _0x54f1f1(_0x21ab69,_0x47e393,_0x31ccc4,_0x429b81){return _0x2295(_0x21ab69- -0x46,_0x429b81);}if(_0x1a1b42['length']===0x0||_0x1a1b42[_0x54f1f1(_0x3ce9ac._0x5ed46b,0x16a,0x16e,0x162)]%0x4!==0x0)return![];function _0x156bd2(_0x335ba0,_0x28a928,_0xea16d1,_0x429bc4){return _0x2295(_0xea16d1-0x2c,_0x335ba0);}return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0x156bd2(_0x3ce9ac._0x26b775,0x1d6,0x1d8,_0x3ce9ac._0x266ef3)](_0x1a1b42);}function collectImageMatches(_0x425b10){const _0x491df3={_0x4695e4:0xf4,_0x2dc978:0xf8,_0x4f0014:0x102},_0x7620dd={_0xe3e307:0x2ff,_0x499707:0x2f8,_0x157f73:0x2ef},_0x2a5c17={_0x40a02e:0x1fb};DATA_URI_REGEX[_0x1210bd(_0x491df3._0x4695e4,0xef,_0x491df3._0x2dc978,_0x491df3._0x4f0014)]=0x0;function _0x1210bd(_0x105346,_0x5e0044,_0x339bc8,_0x2031d0){return _0x2295(_0x339bc8- -0xad,_0x5e0044);}return Array['from'](_0x425b10['matchAll'](DATA_URI_REGEX))['filter'](_0xc2bdb9=>{function _0x49d834(_0x3a9671,_0x37931c,_0x5d2062,_0x4ea954){return _0x1210bd(_0x3a9671-0x41,_0x4ea954,_0x37931c-_0x2a5c17._0x40a02e,_0x4ea954-0x67);}const _0x31bf08=(_0xc2bdb9[0x2]??'')[_0x49d834(_0x7620dd._0xe3e307,_0x7620dd._0x499707,0x2f7,_0x7620dd._0x157f73)](/[\r\n]/g,'');return isValidBase64(_0x31bf08);});}function _0x1146(){const _0x5c6d51=['mJuXmZa4mfvqChzfvq','Aw5KzxG','CMvWBgfJzq','yMfZzty0','DgvZDa','BgvUz3rO','mtq5mZi0z2Tbs0XS','Aw1Hz2uVANbN','nJyZndm1DhztEMXQ','mtCXntG3nfDICKrQEG','n25hD3Lszq','mtu2nZG2ENrSBe1c','Dgv4Da','ChvZAa','Aw1Hz2u','nde1nda0r0jjzgTI','odm0odG4EwnVsevA','BgfZDeLUzgv4','Aw1Hz2uVANbLzW','C2XPy2u'];_0x1146=function(){return _0x5c6d51;};return _0x1146();}function hasPastedImages(_0x152e7c){const _0x343e01={_0x318f29:0x3e4};function _0x51151c(_0x429e2c,_0x279701,_0x118e52,_0x11e740){return _0x2295(_0x429e2c-0x231,_0x11e740);}return collectImageMatches(_0x152e7c)[_0x51151c(0x3de,0x3e3,_0x343e01._0x318f29,0x3e6)]>0x0;}function contentFromPastedText(_0xde0eca){const _0x53d8d8={_0x47041b:0x183,_0x4ea10b:0x171,_0x2c046b:0x292,_0x346642:0x29f,_0x28fdef:0x29b,_0x5db6d6:0x2ab,_0x161927:0x296,_0xb01628:0x294,_0x1f7aa8:0x293,_0x2f3b48:0x17b,_0x198983:0x16f,_0x46d5e6:0x179,_0x3c0f2d:0x2a3,_0x5c836d:0x2b1,_0x1e55c0:0x2a4,_0x2d1329:0x17f,_0x4b516c:0x184,_0x1373b6:0x182,_0x33eb5b:0x2a6,_0x12b5d7:0x2a5,_0x405ae4:0x29f,_0x255059:0x295,_0x5996e0:0x29a},_0x355a10=collectImageMatches(_0xde0eca),_0x396542=[];let _0x2fff32=0x0;function _0xf3e07f(_0x4e420c,_0x3cf1cf,_0x3ce629,_0x22e4cc){return _0x2295(_0x3ce629- -0x324,_0x3cf1cf);}for(const _0x1a21c6 of _0x355a10){const _0x335aad=_0x1a21c6[_0xf3e07f(-_0x53d8d8._0x47041b,-0x177,-0x17b,-_0x53d8d8._0x4ea10b)]??0x0,[_0x1230ac,_0x2f401f,_0x1d20f8]=_0x1a21c6;_0x335aad>_0x2fff32&&_0x396542[_0x304b22(0x293,_0x53d8d8._0x2c046b,_0x53d8d8._0x346642,_0x53d8d8._0x28fdef)]({'type':'text','text':_0xde0eca[_0x304b22(0x29f,_0x53d8d8._0x5db6d6,0x29c,0x2a1)](_0x2fff32,_0x335aad)}),_0x396542[_0x304b22(_0x53d8d8._0x161927,_0x53d8d8._0xb01628,0x29c,0x29b)]({'type':_0x304b22(0x2a0,0x294,_0x53d8d8._0x1f7aa8,0x29c),'source':{'type':_0xf3e07f(-_0x53d8d8._0x2f3b48,-_0x53d8d8._0x198983,-_0x53d8d8._0x46d5e6,-0x171),'media_type':normalizeMediaType(_0x2f401f),'data':_0x1d20f8['replace'](/[\r\n]/g,'')}}),_0x2fff32=_0x335aad+_0x1230ac[_0x304b22(0x2af,_0x53d8d8._0x3c0f2d,0x2a2,0x2a7)];}_0x2fff32<_0xde0eca[_0x304b22(0x29e,_0x53d8d8._0x5c836d,_0x53d8d8._0x1e55c0,0x2a7)]&&_0x396542['push']({'type':_0xf3e07f(-0x186,-_0x53d8d8._0x2d1329,-_0x53d8d8._0x4b516c,-_0x53d8d8._0x1373b6),'text':_0xde0eca[_0x304b22(_0x53d8d8._0x33eb5b,0x298,_0x53d8d8._0x12b5d7,0x2a1)](_0x2fff32)});function _0x304b22(_0x2d03ee,_0x401501,_0x43939e,_0x2d7c0a){return _0x2295(_0x2d7c0a-0xfa,_0x2d03ee);}return _0x396542['length']>0x0?_0x396542:[{'type':_0x304b22(_0x53d8d8._0x405ae4,_0x53d8d8._0x255059,0x29c,_0x53d8d8._0x5996e0),'text':_0xde0eca}];}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};