@nuvin/agent-core 0.4.0-rc.3 → 0.4.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.
- package/dist/VERSION +2 -2
- package/dist/agent/compaction-handoff.d.ts +70 -0
- package/dist/agent/context-compactor.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/chunk-CVOXBVKH.js +1 -1
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-EQGBU73Q.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -1
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-XNXDKQ47.js +1 -0
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/isolate/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/tools/core/runtime-manager-tools.d.ts +14 -2
- package/dist/tools/index.js +1 -1
- package/dist/tools/shell/bash-tool.d.ts +2 -3
- package/dist/tools/web/safe-fetch.d.ts +2 -0
- package/package.json +2 -2
- package/dist/chunk-6FBVJKFJ.js +0 -1
package/dist/chunk-IUZALP6K.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1b58c2,_0x1f1593){var _0x780bc2={_0x3db159:0x463,_0x4515fe:0x46b,_0x4d11f7:0x462,_0x47f06f:0x468,_0x5860e6:0x328,_0x1dbfc7:0x329,_0x2a092d:0x32f,_0x18e3e0:0x46d,_0x5a8d49:0x465,_0x3a8a77:0x462,_0x318082:0x45f,_0x27bad6:0x32c,_0x4a8aef:0x326,_0x1dcfa0:0x320,_0x44b770:0x32e,_0x2e675b:0x32d,_0x513963:0x32e,_0x2c1ae0:0x469};function _0x4c3516(_0x59e9ea,_0x58cbef,_0x1f86c7,_0x90c3b){return _0x4c53(_0x90c3b-0x3e1,_0x1f86c7);}var _0x3f2eb9=_0x1b58c2();function _0x48789c(_0x150aef,_0x1a8e9f,_0x1a17cd,_0x3622fa){return _0x4c53(_0x1a17cd-0x2a7,_0x3622fa);}while(!![]){try{var _0x5419cf=parseInt(_0x4c3516(0x466,_0x780bc2._0x3db159,0x465,0x466))/0x1+parseInt(_0x4c3516(_0x780bc2._0x4515fe,_0x780bc2._0x4d11f7,0x466,_0x780bc2._0x47f06f))/0x2*(-parseInt(_0x48789c(_0x780bc2._0x5860e6,0x320,0x325,0x322))/0x3)+-parseInt(_0x48789c(_0x780bc2._0x1dbfc7,0x32b,0x32b,_0x780bc2._0x2a092d))/0x4+parseInt(_0x4c3516(_0x780bc2._0x18e3e0,_0x780bc2._0x47f06f,_0x780bc2._0x5a8d49,0x46a))/0x5*(-parseInt(_0x4c3516(_0x780bc2._0x3a8a77,0x462,_0x780bc2._0x318082,0x464))/0x6)+parseInt(_0x48789c(_0x780bc2._0x5860e6,_0x780bc2._0x27bad6,_0x780bc2._0x4a8aef,_0x780bc2._0x1dcfa0))/0x7+-parseInt(_0x48789c(0x32e,_0x780bc2._0x44b770,_0x780bc2._0x2e675b,_0x780bc2._0x513963))/0x8+parseInt(_0x4c3516(0x463,0x467,_0x780bc2._0x47f06f,_0x780bc2._0x2c1ae0))/0x9;if(_0x5419cf===_0x1f1593)break;else _0x3f2eb9['push'](_0x3f2eb9['shift']());}catch(_0x5add97){_0x3f2eb9['push'](_0x3f2eb9['shift']());}}}(_0x2139,0x7375f));function _0x2139(){var _0x482d9a=['odq5twfkquvi','mJy4odaYmuHkq0PQrG','yw50AhjVCgLJ','y29KzxG','B3bLBMfP','ndyXmtCYA3j6EMnv','mZy0mdu2rMPdte5H','ndq3otK4DgXIBw9N','nJK2mJaZmMznvKHWzW','ntq4ng11zNDgAa','mtCYndu5mJzTEhnUr0m','mZvmshHvEKS'];_0x2139=function(){return _0x482d9a;};return _0x2139();}function resolveAnthropicReasoningConfig(_0x3a694b){var _0x5a9150={_0x1b4df4:0x24a,_0x53ebea:0x247,_0x36132c:0x249},_0x5a0b13={_0x371774:0x1c7};function _0x103a7b(_0x1e5014,_0x5ca82c,_0x1c9bc2,_0x43cfee){return _0x4c53(_0x5ca82c-_0x5a0b13._0x371774,_0x1e5014);}return _0x3a694b?.[_0x103a7b(_0x5a9150._0x1b4df4,_0x5a9150._0x53ebea,_0x5a9150._0x36132c,0x248)]?structuredClone(_0x3a694b['anthropic']):void 0x0;}function resolveOpenAiReasoningConfig(_0x5094d4){var _0x5805e6={_0x2ba2af:0x447,_0x49fa87:0x442,_0x36c285:0x2e9,_0x2534e1:0x2eb,_0x3cc954:0x2ec},_0x2c16f6={_0x233fd1:0x36a};function _0x939e40(_0x3e6c82,_0xa3d45c,_0x295f9e,_0x516435){return _0x4c53(_0x516435-0x3c1,_0xa3d45c);}function _0x372331(_0xd2b5f4,_0x5cac43,_0x3ed161,_0x33292c){return _0x4c53(_0x3ed161- -_0x2c16f6._0x233fd1,_0x33292c);}if(_0x5094d4?.[_0x939e40(0x444,0x442,_0x5805e6._0x2ba2af,_0x5805e6._0x49fa87)])return structuredClone(_0x5094d4[_0x372331(-0x2ed,-0x2ec,-_0x5805e6._0x36c285,-0x2ef)]);return _0x5094d4?.['openai']?structuredClone(_0x5094d4[_0x372331(-_0x5805e6._0x2534e1,-0x2e2,-0x2e8,-_0x5805e6._0x3cc954)]):void 0x0;}function _0x4c53(_0x2f5fb6,_0x1a0c2f){_0x2f5fb6=_0x2f5fb6-0x7e;var _0x213951=_0x2139();var _0x4c5323=_0x213951[_0x2f5fb6];if(_0x4c53['JTNOBi']===undefined){var _0x10f1e0=function(_0x18f0fd){var _0x2aba7a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3a694b='',_0x5094d4='';for(var _0x2785b8=0x0,_0x464575,_0x892838,_0x2b19c2=0x0;_0x892838=_0x18f0fd['charAt'](_0x2b19c2++);~_0x892838&&(_0x464575=_0x2785b8%0x4?_0x464575*0x40+_0x892838:_0x892838,_0x2785b8++%0x4)?_0x3a694b+=String['fromCharCode'](0xff&_0x464575>>(-0x2*_0x2785b8&0x6)):0x0){_0x892838=_0x2aba7a['indexOf'](_0x892838);}for(var _0x14912c=0x0,_0x430ba0=_0x3a694b['length'];_0x14912c<_0x430ba0;_0x14912c++){_0x5094d4+='%'+('00'+_0x3a694b['charCodeAt'](_0x14912c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5094d4);};_0x4c53['MgEunl']=_0x10f1e0,_0x4c53['dKuJvJ']={},_0x4c53['JTNOBi']=!![];}var _0xa95ddc=_0x213951[0x0],_0x3c4837=_0x2f5fb6+_0xa95ddc,_0x33157e=_0x4c53['dKuJvJ'][_0x3c4837];return!_0x33157e?(_0x4c5323=_0x4c53['MgEunl'](_0x4c5323),_0x4c53['dKuJvJ'][_0x3c4837]=_0x4c5323):_0x4c5323=_0x33157e,_0x4c5323;}export{resolveAnthropicReasoningConfig,resolveOpenAiReasoningConfig};
|
package/dist/chunk-LIE76IJA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5100db,_0x12006a){const _0x2c4755={_0x1ceb85:0x240,_0x1a1ded:0x24c,_0x141d97:0x37d,_0x3c7e37:0x38f,_0x585aea:0x3ae,_0x39d47d:0x219,_0x5b67c9:0x220,_0x5920c4:0x25b,_0x2e4708:0x251,_0xaf54b3:0x247,_0x21c7ec:0x377,_0x3efffd:0x356,_0x3337bf:0x228,_0x549352:0x246,_0x288585:0x243,_0xfcc121:0x38b,_0x5c2c3f:0x393,_0x6c2021:0x376,_0x2691d4:0x37e,_0x5d81f3:0x23a,_0x438d42:0x244,_0x1a2c11:0x23d,_0x3c8567:0x387,_0x231a0d:0x399,_0x441304:0x3a4},_0x56c4d3=_0x5100db();function _0x1dc7df(_0x283a85,_0x43f64e,_0x423bde,_0x566719){return _0x3c7c(_0x566719- -0x392,_0x423bde);}function _0x152c9d(_0x5a69cf,_0x152121,_0x30f8ea,_0x450456){return _0x3c7c(_0x30f8ea-0x227,_0x5a69cf);}while(!![]){try{const _0x21ca95=parseInt(_0x1dc7df(-0x268,-0x25b,-_0x2c4755._0x1ceb85,-_0x2c4755._0x1a1ded))/0x1*(parseInt(_0x152c9d(0x3a4,_0x2c4755._0x141d97,_0x2c4755._0x3c7e37,_0x2c4755._0x585aea))/0x2)+-parseInt(_0x1dc7df(-0x21e,-_0x2c4755._0x39d47d,-0x231,-_0x2c4755._0x5b67c9))/0x3*(parseInt(_0x1dc7df(-_0x2c4755._0x5920c4,-_0x2c4755._0x2e4708,-0x242,-_0x2c4755._0xaf54b3))/0x4)+parseInt(_0x152c9d(0x35c,0x38e,_0x2c4755._0x21c7ec,_0x2c4755._0x3efffd))/0x5*(parseInt(_0x1dc7df(-_0x2c4755._0x3337bf,-_0x2c4755._0x549352,-0x22c,-_0x2c4755._0x288585))/0x6)+parseInt(_0x152c9d(_0x2c4755._0xfcc121,0x3ae,_0x2c4755._0x5c2c3f,_0x2c4755._0x6c2021))/0x7+parseInt(_0x152c9d(0x395,0x386,_0x2c4755._0x2691d4,0x366))/0x8+parseInt(_0x1dc7df(-_0x2c4755._0x5d81f3,-_0x2c4755._0x438d42,-_0x2c4755._0x1a2c11,-0x22e))/0x9+-parseInt(_0x152c9d(_0x2c4755._0x3c8567,_0x2c4755._0x231a0d,0x39c,_0x2c4755._0x441304))/0xa;if(_0x21ca95===_0x12006a)break;else _0x56c4d3['push'](_0x56c4d3['shift']());}catch(_0xc4ee5b){_0x56c4d3['push'](_0x56c4d3['shift']());}}}(_0x1d99,0x653d3));function _0x3c7c(_0x6f9d78,_0x4dd292){_0x6f9d78=_0x6f9d78-0x13f;const _0x1d99f9=_0x1d99();let _0x3c7c26=_0x1d99f9[_0x6f9d78];if(_0x3c7c['rSbJzo']===undefined){var _0x18858c=function(_0x1b5400){const _0x44c756='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5964c2='',_0x406e2e='';for(let _0x5e7487=0x0,_0x198d11,_0x4cda59,_0x2cc906=0x0;_0x4cda59=_0x1b5400['charAt'](_0x2cc906++);~_0x4cda59&&(_0x198d11=_0x5e7487%0x4?_0x198d11*0x40+_0x4cda59:_0x4cda59,_0x5e7487++%0x4)?_0x5964c2+=String['fromCharCode'](0xff&_0x198d11>>(-0x2*_0x5e7487&0x6)):0x0){_0x4cda59=_0x44c756['indexOf'](_0x4cda59);}for(let _0x77a292=0x0,_0x379990=_0x5964c2['length'];_0x77a292<_0x379990;_0x77a292++){_0x406e2e+='%'+('00'+_0x5964c2['charCodeAt'](_0x77a292)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x406e2e);};_0x3c7c['LPELdp']=_0x18858c,_0x3c7c['FzXbEb']={},_0x3c7c['rSbJzo']=!![];}const _0x2b6d77=_0x1d99f9[0x0],_0xd40dd9=_0x6f9d78+_0x2b6d77,_0x28aad3=_0x3c7c['FzXbEb'][_0xd40dd9];return!_0x28aad3?(_0x3c7c26=_0x3c7c['LPELdp'](_0x3c7c26),_0x3c7c['FzXbEb'][_0xd40dd9]=_0x3c7c26):_0x3c7c26=_0x28aad3,_0x3c7c26;}import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x5964c2){const _0x57d4d9={_0x2c7067:0x82,_0x49a5b9:0x6a,_0x55e884:0x7e,_0x55e109:0x9c,_0x22012f:0x86,_0x32a5d3:0x307},_0x139999={_0x53b94d:0x1b9};function _0x23af24(_0x19bd24,_0x2a3fb1,_0x1e436a,_0x5491c7){return _0x3c7c(_0x2a3fb1- -0x1c5,_0x5491c7);}function _0x52e090(_0x1dddea,_0x3b0491,_0x456290,_0x3044c6){return _0x3c7c(_0x1dddea-_0x139999._0x53b94d,_0x456290);}return normalizeContent(_0x5964c2)[_0x23af24(-0x6c,-_0x57d4d9._0x2c7067,-_0x57d4d9._0x49a5b9,-0x74)](_0x406e2e=>_0x406e2e[_0x23af24(-0x9c,-0x80,-0x7c,-0x6c)]==='text')[_0x23af24(-0x74,-_0x57d4d9._0x55e884,-_0x57d4d9._0x55e109,-_0x57d4d9._0x22012f)](_0x5e7487=>_0x5e7487['text'])[_0x52e090(0x31b,_0x57d4d9._0x32a5d3,0x334,0x32a)]('\x0a\x0a');}function pushUserContentMessage(_0x198d11,_0x4cda59,_0x2cc906){const _0xf3edb4={_0x3aa53a:0x176,_0x5e3ab1:0x15b,_0x38c709:0x17b,_0x3285f8:0x3cc,_0x45d5d7:0x3d3,_0x452bf3:0x3d9,_0x50d579:0x3e5},_0x743127={_0x229166:0x2d0};function _0x30c134(_0x41c67a,_0x36d4d2,_0x1a33f8,_0x417dfa){return _0x3c7c(_0x417dfa- -_0x743127._0x229166,_0x36d4d2);}function _0x5a852f(_0x1039f5,_0x3b820c,_0xd79c7,_0x32cfbc){return _0x3c7c(_0xd79c7-0x26b,_0x1039f5);}if(_0x2cc906[_0x30c134(-0x170,-_0xf3edb4._0x3aa53a,-_0xf3edb4._0x5e3ab1,-_0xf3edb4._0x38c709)]===0x0)return;_0x198d11[_0x5a852f(0x3e2,0x3c2,_0xf3edb4._0x3285f8,_0xf3edb4._0x45d5d7)]({'type':_0x5a852f(_0xf3edb4._0x452bf3,0x3fe,0x3e8,_0xf3edb4._0x50d579),'role':_0x4cda59,'content':_0x2cc906});}function hasSerializableToolUse(_0x77a292){const _0x4e94be={_0x57e8b6:0xa6,_0x1e1f49:0x92,_0x21a06f:0x99,_0xf50739:0xab};function _0x2bc594(_0x445ac1,_0x377d7e,_0x33ba7d,_0x222ac8){return _0x3c7c(_0x377d7e-0x1a,_0x222ac8);}function _0x44956f(_0x1c5cef,_0x2962f8,_0x27e978,_0x10235d){return _0x3c7c(_0x10235d- -0xc3,_0x27e978);}return _0x77a292['id'][_0x2bc594(0x19c,0x17f,0x19a,0x16b)]()[_0x44956f(0xaa,0x7e,_0x4e94be._0x57e8b6,_0x4e94be._0x1e1f49)]>0x0&&_0x77a292[_0x44956f(0xac,_0x4e94be._0x21a06f,_0x4e94be._0xf50739,0x93)]['trim']()['length']>0x0;}function hasSerializableToolResult(_0x379990){const _0x201c9f={_0x1c4805:0x64,_0x43c505:0x77,_0x1ef9f5:0x7f,_0x303822:0x2ae,_0x492ffe:0x2a8,_0x428ecf:0x2cf},_0x28c545={_0x3b6a49:0x105},_0x1e70fc={_0x575f70:0x159};function _0x5b0267(_0x5dac8e,_0x576f78,_0x5cb95f,_0x264d91){return _0x3c7c(_0x5dac8e-_0x1e70fc._0x575f70,_0x264d91);}function _0x4ed8ac(_0x418248,_0x20f4f1,_0xba5c4,_0x2ef627){return _0x3c7c(_0x20f4f1- -_0x28c545._0x3b6a49,_0x418248);}return _0x379990[_0x4ed8ac(_0x201c9f._0x1c4805,_0x201c9f._0x43c505,_0x201c9f._0x1ef9f5,0x89)]['trim']()[_0x5b0267(_0x201c9f._0x303822,_0x201c9f._0x492ffe,0x2aa,_0x201c9f._0x428ecf)]>0x0;}function isResponseInputObject(_0x3dea64){const _0xd9a03c={_0x4f90e4:0x153,_0x14aacc:0x131,_0x2a7d81:0x12e,_0x15adb1:0x146,_0x1fd5e6:0x171,_0x5eedfa:0x14b},_0x2219cd={_0x549464:0xbd},_0x44bfba={_0x57246f:0x17};if(typeof _0x3dea64!=='object'||_0x3dea64===null||Array[_0x1aa78b(0x13c,0x13a,_0xd9a03c._0x4f90e4,_0xd9a03c._0x14aacc)](_0x3dea64))return![];function _0x1aa78b(_0x56694c,_0x162418,_0x2b7e98,_0x2e9998){return _0x3c7c(_0x56694c- -_0x44bfba._0x57246f,_0x2e9998);}const _0x2a6a58=_0x3dea64;function _0x3cdc79(_0x584ee5,_0x53da36,_0x5431c6,_0x28fe84){return _0x3c7c(_0x584ee5-_0x2219cd._0x549464,_0x5431c6);}return typeof _0x2a6a58[_0x1aa78b(_0xd9a03c._0x2a7d81,0x149,0x138,_0xd9a03c._0x15adb1)]===_0x1aa78b(0x156,0x166,_0xd9a03c._0x1fd5e6,_0xd9a03c._0x5eedfa);}function isImageToolResultBlock(_0x5af3f1){const _0x4d9d64={_0x124b10:0x2a8,_0xdfa93a:0x278,_0x48e760:0x220,_0x3c750e:0x23f,_0x2fa201:0x287,_0x32b872:0x299,_0x6c8ce9:0x21c,_0x318c8e:0x23b,_0x39092e:0x21d,_0x46d4b2:0x227,_0x11f644:0x205,_0x32a8c9:0x217,_0x1086bd:0x20b,_0x461a63:0x213,_0x52c3ee:0x210,_0x13cdb8:0x1fd,_0x4d1568:0x21f,_0x4048e6:0x20a,_0x4c84fc:0x22a},_0x90375c={_0x4d0ac:0x136};function _0x348d8a(_0x34e308,_0x21c0d8,_0x1c7001,_0x262447){return _0x3c7c(_0x1c7001- -0x380,_0x21c0d8);}function _0x4483a4(_0xf6f78,_0x3e42f3,_0x3b09c0,_0x63fb34){return _0x3c7c(_0x63fb34-_0x90375c._0x4d0ac,_0xf6f78);}if(typeof _0x5af3f1!=='object'||_0x5af3f1===null||Array[_0x4483a4(0x294,_0x4d9d64._0x124b10,_0x4d9d64._0xdfa93a,0x289)](_0x5af3f1))return![];const _0x4ce61b=_0x5af3f1;return _0x4ce61b['type']===_0x348d8a(-0x243,-_0x4d9d64._0x48e760,-_0x4d9d64._0x3c750e,-0x25d)&&_0x4ce61b[_0x4483a4(0x2a0,_0x4d9d64._0x2fa201,0x28a,_0x4d9d64._0x32b872)]?.[_0x348d8a(-0x228,-_0x4d9d64._0x6c8ce9,-_0x4d9d64._0x318c8e,-0x243)]==='base64'&&typeof _0x4ce61b[_0x348d8a(-0x205,-0x22a,-_0x4d9d64._0x39092e,-_0x4d9d64._0x46d4b2)][_0x348d8a(-_0x4d9d64._0x11f644,-0x220,-_0x4d9d64._0x32a8c9,-_0x4d9d64._0x1086bd)]===_0x348d8a(-0x1f3,-0x232,-_0x4d9d64._0x461a63,-_0x4d9d64._0x52c3ee)&&typeof _0x4ce61b[_0x348d8a(-0x239,-_0x4d9d64._0x13cdb8,-_0x4d9d64._0x39092e,-_0x4d9d64._0x4d1568)]['data']===_0x348d8a(-_0x4d9d64._0x4048e6,-_0x4d9d64._0x4c84fc,-0x213,-0x1fb);}function getToolResultText(_0x3d2291){const _0x5eb39c={_0xbc0ec8:0x521,_0x3c757e:0x551,_0x572b53:0x50a,_0x59de46:0x50e,_0x1dad82:0x235,_0x55991c:0x232,_0x3800ee:0x241,_0x2707c5:0x51c,_0x3c0b8f:0x52d,_0x398ab0:0x529},_0x1ebef3={_0x4d9026:0x31d,_0x1e84aa:0x30e,_0x55f6f5:0x345,_0x4115d0:0x353,_0x5c60ec:0x334,_0x44b4c8:0x32d},_0x5eef24={_0x47e583:0x379};function _0x55b64a(_0x77f52b,_0x32baee,_0x269705,_0x318a79){return _0x3c7c(_0x77f52b-0x3c7,_0x269705);}if(typeof _0x3d2291===_0x55b64a(0x534,0x523,_0x5eb39c._0xbc0ec8,_0x5eb39c._0x3c757e))return _0x3d2291;function _0x61bab3(_0x580676,_0xbced8b,_0x3e667a,_0x4fbd43){return _0x3c7c(_0x3e667a- -_0x5eef24._0x47e583,_0x4fbd43);}const _0x114abd=_0x3d2291[_0x55b64a(_0x5eb39c._0x572b53,0x4ef,0x510,_0x5eb39c._0x59de46)](_0x1cbd00=>{const _0x35d97a={_0x368502:0x552};function _0x3a098d(_0x55b5b6,_0x3d3bf5,_0x466659,_0x2cb49a){return _0x55b64a(_0x466659- -0x1fe,_0x3d3bf5-0xb2,_0x2cb49a,_0x2cb49a-0x181);}function _0x5a59dc(_0x1179c3,_0x91b8b3,_0x58bc32,_0x4b28fe){return _0x61bab3(_0x1179c3-0x183,_0x91b8b3-0xcf,_0x58bc32-_0x35d97a._0x368502,_0x4b28fe);}return typeof _0x1cbd00==='object'&&_0x1cbd00!==null&&_0x1cbd00[_0x3a098d(0x325,_0x1ebef3._0x4d9026,_0x1ebef3._0x1e84aa,0x307)]===_0x3a098d(_0x1ebef3._0x55f6f5,_0x1ebef3._0x4115d0,_0x1ebef3._0x5c60ec,_0x1ebef3._0x44b4c8);})[_0x61bab3(-_0x5eb39c._0x1dad82,-0x232,-_0x5eb39c._0x55991c,-_0x5eb39c._0x3800ee)](_0x20a9b8=>_0x20a9b8[_0x55b64a(0x532,0x53e,0x52b,0x523)])['join']('\x0a\x0a')['trim']();return _0x114abd[_0x55b64a(_0x5eb39c._0x2707c5,_0x5eb39c._0x3c0b8f,_0x5eb39c._0x398ab0,0x501)]>0x0?_0x114abd:'Tool\x20returned\x20image\x20content.';}function _0x1d99(){const _0x15e2bc=['DxnLCI12AxnPyMXL','DMLZAwjPBgL0Eq','DxnLCG','CMvHC29UAw5N','Aw1Hz2u','zgf0ytO','zMLSDgvY','zNvUy3rPB25Fy2fSBf9VDxrWDxq','DhLWzq','mtm0mLHZDNnpsq','BwfW','B3v0Chv0rM9YBwf0','C3LZDgvT','B3v0Chv0x3rLEhq','ohjdq0nZDG','C3rHDhvZ','ANnVBL9Zy2HLBwe','Bw9KzwW','mtG3otC4mKzoAgDutq','mtbVuwrxt0O','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','Bwf4vg9Rzw5Z','AxnbCNjHEq','Aw5WDxq','BgvUz3rO','BMfTzq','mJuZndu4ng9UzgDZuG','CM9Szq','Dg9VBf91C2u','zwzMB3j0','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','A2v5CW','C3rYAwn0','Dg9VBf9Yzxn1Bhq','C3bSAwnL','Aw5WDxrFC2nOzw1H','ChvZAa','AM9PBG','C291CMnL','ndiWnJC2mM1ht2nQtG','DhjPBq','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','ChjVDMLKzxjtDgf0zq','otC4sgHpyK1z','BwvKAwfFDhLWzq','zgf0yq','Dgv4Da','mtaWmtCWmefvruTsCW','C3rYAw5N','C2nOzw1H','Dg9VBhm','yxv0BW','o2jHC2u2ncW','odC1mJuZsKP4u1D4','zgvZy3jPChrPB24','y29KzxG','mtiXmtK5nJbbzNfeDKO','yxnZAxn0yw50','C3rYAw5NAwz5','Aw5WDxrFDgv4Da','C3vTBwfYEq','y29UDgvUDa','Aw5WDxrFAw1Hz2u','Dg9VBf91C2vFAwq','BwvZC2fNzq'];_0x1d99=function(){return _0x15e2bc;};return _0x1d99();}function getToolResultImages(_0xae6c31){const _0x3b8a54={_0x2a054a:0x2f6,_0x50c1f9:0x2f6},_0x1b4374={_0x1c33d8:0x188};function _0x4a2056(_0x20e824,_0x4835d6,_0x30c51,_0x25d40c){return _0x3c7c(_0x25d40c-_0x1b4374._0x1c33d8,_0x4835d6);}return Array[_0x4a2056(_0x3b8a54._0x2a054a,0x2fb,_0x3b8a54._0x50c1f9,0x2db)](_0xae6c31)?_0xae6c31['filter'](isImageToolResultBlock):[];}function resolveReasoningVisibility(_0x11aa75){const _0x374168={_0x635e0a:0x51,_0x5d84ac:0x3f,_0x15ad99:0xb,_0x1b90b4:0xd,_0x26b747:0x0},_0x17b8f1={_0xaede40:0x17f};function _0x52f8db(_0x50a2ab,_0x41c6aa,_0x140bc8,_0x524306){return _0x3c7c(_0x41c6aa-0x353,_0x140bc8);}function _0x2804b1(_0x1a06c1,_0x125c42,_0x888b42,_0xf505fc){return _0x3c7c(_0xf505fc- -_0x17b8f1._0xaede40,_0x125c42);}return _0x11aa75[_0x2804b1(-0x38,-0x35,-_0x374168._0x635e0a,-_0x374168._0x5d84ac)]?.[_0x2804b1(-_0x374168._0x15ad99,-_0x374168._0x1b90b4,-0x19,_0x374168._0x26b747)]??_0x52f8db(0x4ed,0x4d1,0x4b8,0x4f1);}function createOpenAiResponsesReasoning(_0x49a400){const _0x431494={_0x45ba63:0x89,_0x14cb8f:0x82,_0x12c5ba:0x122,_0xb6afdf:0x117,_0x4a84ae:0xbb,_0x3d28f2:0xd9,_0x27e4da:0xc3,_0x20fea9:0xf7,_0xd1c8e4:0xd7,_0x535169:0x148,_0x183baf:0x140,_0x12e5c6:0x146,_0x122af1:0x15a,_0x2e5072:0xb6,_0x4c5f84:0xb8,_0x1d8b96:0xe7,_0x47c048:0x121,_0x49c141:0x11c,_0x45395e:0x140,_0x361fb1:0x11f,_0x2eb100:0x120,_0x1862b2:0x140,_0x568a97:0x156,_0x49ea41:0x124,_0x2bffa4:0x12d,_0x55e459:0x9a,_0x4adc02:0xd8,_0x16eae4:0xb1,_0x4d21c1:0xda,_0x44292b:0x126,_0x145850:0x107},_0x68ed7f=resolveOpenAiReasoningConfig(_0x49a400[_0x3a6ab9(_0x431494._0x45ba63,0x87,0x9e,_0x431494._0x14cb8f)]);if(!_0x68ed7f)return{};const _0xe6573={},_0x438922=_0x49a400[_0x47fccf(0x115,0x107,_0x431494._0x12c5ba,_0x431494._0xb6afdf)]?.[_0x3a6ab9(0xe8,_0x431494._0x4a84ae,0xd2,_0x431494._0x3d28f2)]!==void 0x0;function _0x3a6ab9(_0x443fee,_0x2293de,_0x3d6dbb,_0x334fac){return _0x3c7c(_0x3d6dbb- -0xa2,_0x2293de);}const _0x5338cc=(!_0x438922&&_0x3a6ab9(_0x431494._0x27e4da,_0x431494._0x20fea9,_0x431494._0xd1c8e4,0xf2)in _0x68ed7f?_0x68ed7f[_0x47fccf(_0x431494._0x535169,_0x431494._0x183baf,_0x431494._0x12e5c6,0x15d)]:void 0x0)??(resolveReasoningVisibility(_0x49a400)===_0x47fccf(0x12c,0x145,_0x431494._0x122af1,0x15e)?_0x3a6ab9(_0x431494._0x2e5072,_0x431494._0x4c5f84,0xce,_0x431494._0x1d8b96):void 0x0);_0x68ed7f[_0x47fccf(0x137,_0x431494._0x47c048,_0x431494._0x49c141,_0x431494._0x45395e)]&&(_0xe6573['effort']=_0x68ed7f[_0x47fccf(0x100,0x121,_0x431494._0x361fb1,0x12f)]);_0x5338cc&&(_0xe6573[_0x47fccf(_0x431494._0x2eb100,_0x431494._0x1862b2,0x133,_0x431494._0x568a97)]=_0x5338cc);function _0x47fccf(_0xacd262,_0x2ef02e,_0x51dbca,_0x4712e1){return _0x3c7c(_0x2ef02e- -0x39,_0x4712e1);}return{...!_0x438922&&_0x47fccf(_0x431494._0x49ea41,_0x431494._0x12c5ba,0x108,_0x431494._0x2bffa4)in _0x68ed7f&&_0x68ed7f[_0x3a6ab9(_0x431494._0x4c5f84,_0x431494._0x55e459,0xb9,_0x431494._0x4adc02)]===![]?{}:{'include':['reasoning.encrypted_content']},...Object[_0x3a6ab9(0xda,_0x431494._0x16eae4,0xba,_0x431494._0x4d21c1)](_0xe6573)[_0x47fccf(_0x431494._0x44292b,0x11c,0x132,_0x431494._0x145850)]>0x0?{'reasoning':_0xe6573}:{}};}function pushAssistantProviderState(_0x44bac1,_0x58bb53,_0x1a0d66){const _0x1b9ed3={_0x1e91b5:0x496,_0x156f65:0x483,_0x258ac7:0x4c6,_0x35813d:0x4af,_0x341ad2:0x499,_0x7c3efb:0x4b5,_0x40602b:0x4b,_0x24abe7:0x5d,_0x2d9eca:0x63,_0x525908:0x55,_0x2110f8:0x472,_0x40774f:0x5c,_0x435242:0x7c,_0x2ddb88:0x7c,_0x5e9653:0x36,_0x44f380:0x40,_0x4e9206:0x493,_0x2b5038:0x4a2},_0x5a3b98={_0x14bf81:0x332},_0x4995f5={_0x44a247:0x1af};if(_0x58bb53[_0x273bd0(0x48a,_0x1b9ed3._0x1e91b5,_0x1b9ed3._0x156f65,0x48d)]!==_0x273bd0(0x4a8,_0x1b9ed3._0x258ac7,_0x1b9ed3._0x35813d,0x4c2))return![];if(!isProviderStateCompatible(_0x58bb53,_0x1a0d66))return![];function _0x370834(_0x101976,_0x2a7c80,_0x28202f,_0x48f8c4){return _0x3c7c(_0x101976- -_0x4995f5._0x44a247,_0x2a7c80);}const _0x2576da=_0x58bb53[_0x273bd0(_0x1b9ed3._0x341ad2,0x482,0x49e,_0x1b9ed3._0x7c3efb)]?.[_0x370834(-0x49,-0x50,-_0x1b9ed3._0x40602b,-_0x1b9ed3._0x24abe7)]??[];if(_0x2576da['length']===0x0)return![];function _0x273bd0(_0x5da232,_0x286144,_0x55aa24,_0x4f37b3){return _0x3c7c(_0x5da232-_0x5a3b98._0x14bf81,_0x286144);}for(const _0x268b37 of _0x2576da){if(isResponseInputObject(_0x268b37)){const _0x1f77e3=structuredClone(_0x268b37);delete _0x1f77e3[_0x370834(-_0x1b9ed3._0x2d9eca,-0x84,-_0x1b9ed3._0x525908,-0x75)],_0x1f77e3['type']===_0x273bd0(0x472,_0x1b9ed3._0x2110f8,0x46e,0x471)&&!Array[_0x370834(-_0x1b9ed3._0x40774f,-0x5f,-_0x1b9ed3._0x435242,-_0x1b9ed3._0x2ddb88)](_0x1f77e3['summary'])&&(_0x1f77e3[_0x370834(-_0x1b9ed3._0x5e9653,-0x4c,-_0x1b9ed3._0x44f380,-0x34)]=[]),_0x44bac1[_0x273bd0(_0x1b9ed3._0x4e9206,0x478,0x472,_0x1b9ed3._0x2b5038)](_0x1f77e3);}}return!![];}function toOpenAiResponsesRequest(_0x458120){const _0x12a41b={_0x4be842:0x82,_0x1a3853:0x98,_0x1121e3:0x81,_0x4158dc:0x9b,_0x5bd36b:0xb1,_0x431471:0xab,_0x566e70:0x35c,_0x2338db:0x34d,_0x3894c5:0x35d,_0x440895:0xb2,_0x44e829:0x95,_0x56f4b8:0xce,_0x592834:0xa2,_0x593e3e:0xac,_0x47c7e4:0x71,_0xe53ceb:0x84,_0x534503:0x91,_0x29f502:0x96,_0xe03566:0xb0,_0x58bdcf:0x33e,_0x134462:0x9b,_0x1d74b3:0x92,_0x1d3dc3:0xa3,_0x503c6e:0x328,_0x2480d7:0x339,_0x46117a:0x93,_0x3c1bc8:0x74,_0x9e672b:0xa1,_0x463c34:0x362,_0x35e698:0x33f,_0x5320a3:0x92,_0x230963:0x78,_0x4e839e:0x345,_0x361b0e:0x342,_0x588d13:0x356,_0x4cf078:0x357,_0x19bc15:0x313,_0x257cb4:0x326,_0x18d86a:0x352,_0x276f0d:0x32d,_0x5be748:0x94,_0x7531ab:0xc5,_0x2387b5:0xbe,_0x2c57d9:0x35d,_0x53385f:0x37a,_0x3928e3:0x363,_0x1d9ecf:0x334,_0x26e26c:0x31a,_0x53beb7:0x33d,_0x46a233:0x314,_0x14ca4e:0x9e,_0x21f31d:0xad,_0xe51829:0x97,_0x33ae2b:0xd0,_0x1679fe:0xb1,_0x41284f:0xaa,_0x2f3f7d:0x374,_0x3035f8:0x365,_0x356976:0x360,_0x5c6a86:0x358,_0x361250:0x8b,_0xe025ea:0x91,_0x5a68c5:0xa1,_0x47c018:0x7f,_0x56b906:0x8d,_0x35477d:0x346,_0x4b4216:0x80,_0x18860a:0x8e,_0x53bf72:0x6e,_0x25087c:0xc5,_0x40e01f:0x35c,_0x609414:0x34c,_0x42fba4:0xa8,_0x12edcc:0x96,_0x53b32d:0xb3,_0x3f348a:0x349,_0x181a99:0x8d,_0xf6fec7:0x86,_0x16228e:0x76,_0x650115:0x34a,_0x30e212:0x329,_0x3ed9f2:0x32e,_0x3064f4:0x323,_0x236c2a:0x32a,_0x5d5e9d:0xac,_0x58b6d9:0x33c,_0x38cc51:0x32c,_0x352653:0x8e,_0x2f4608:0xae,_0x5d8699:0x9b,_0x555652:0x333,_0x42e292:0x32a},_0x37ba40={_0x4e290b:0x3a6,_0x58969a:0x1b0,_0x3e9be3:0x1c4,_0x3cb714:0x1c4,_0x2b80c6:0x3b0,_0x4f7a76:0x3c5},_0x7cb41e={_0x2ea42c:0x63},_0xe7d6d1={_0x41bc2c:0x1e6},_0x580efa={_0x2a92de:0x1fc};function _0x340bdd(_0x41277f,_0x39d070,_0x45f0ce,_0x387a65){return _0x3c7c(_0x41277f- -_0x580efa._0x2a92de,_0x387a65);}const _0x52701c=[];function _0x277daf(_0x538fba,_0x4bca36,_0x37c99e,_0x25dbda){return _0x3c7c(_0x538fba-_0xe7d6d1._0x41bc2c,_0x37c99e);}for(const _0x5c3de4 of _0x458120['messages']){if(pushAssistantProviderState(_0x52701c,_0x5c3de4,_0x458120))continue;const _0x3b41ed=[];for(const _0x387fd1 of normalizeContent(_0x5c3de4[_0x340bdd(-_0x12a41b._0x4be842,-0x70,-_0x12a41b._0x1a3853,-0x8a)])){if(_0x387fd1['type']===_0x340bdd(-0x91,-_0x12a41b._0x1121e3,-0x8e,-0xac)){_0x3b41ed[_0x340bdd(-_0x12a41b._0x4158dc,-_0x12a41b._0x5bd36b,-0xb8,-_0x12a41b._0x431471)](_0x5c3de4['role']===_0x277daf(_0x12a41b._0x566e70,_0x12a41b._0x2338db,_0x12a41b._0x3894c5,_0x12a41b._0x566e70)?{'type':_0x340bdd(-_0x12a41b._0x440895,-_0x12a41b._0x44e829,-_0x12a41b._0x56f4b8,-0xca),'text':_0x387fd1[_0x340bdd(-0x91,-_0x12a41b._0x592834,-0x8a,-_0x12a41b._0x593e3e)]}:{'type':_0x340bdd(-0x84,-_0x12a41b._0x47c7e4,-_0x12a41b._0xe53ceb,-0x8f),'text':_0x387fd1[_0x340bdd(-_0x12a41b._0x534503,-0x79,-_0x12a41b._0x29f502,-0xb0)]});continue;}if(_0x387fd1[_0x340bdd(-0xb7,-_0x12a41b._0xe03566,-0xb6,-0xb9)]===_0x277daf(0x327,_0x12a41b._0x58bdcf,0x322,_0x12a41b._0x58bdcf)){_0x3b41ed[_0x340bdd(-_0x12a41b._0x134462,-_0x12a41b._0x134462,-_0x12a41b._0x1d74b3,-_0x12a41b._0x1d3dc3)]({'type':'input_image','image_url':_0x277daf(_0x12a41b._0x503c6e,0x33e,_0x12a41b._0x2480d7,0x30e)+_0x387fd1['source'][_0x340bdd(-_0x12a41b._0x46117a,-_0x12a41b._0x3c1bc8,-_0x12a41b._0x9e672b,-0xb0)]+_0x277daf(0x357,0x346,_0x12a41b._0x463c34,_0x12a41b._0x35e698)+_0x387fd1[_0x277daf(0x349,0x35a,0x342,0x33d)][_0x340bdd(-_0x12a41b._0x5320a3,-0xb2,-0x81,-_0x12a41b._0x230963)]});continue;}pushUserContentMessage(_0x52701c,_0x5c3de4[_0x277daf(_0x12a41b._0x58bdcf,0x347,0x330,0x358)],_0x3b41ed[_0x277daf(_0x12a41b._0x4e839e,_0x12a41b._0x361b0e,_0x12a41b._0x588d13,_0x12a41b._0x4cf078)](0x0));if(_0x387fd1[_0x277daf(0x32b,_0x12a41b._0x19bc15,_0x12a41b._0x257cb4,0x334)]===_0x277daf(0x33f,0x35b,0x348,_0x12a41b._0x18d86a)){if(!hasSerializableToolUse(_0x387fd1))continue;_0x52701c[_0x277daf(0x347,0x347,_0x12a41b._0x276f0d,_0x12a41b._0x35e698)]({'type':'function_call','call_id':_0x387fd1['id'],'name':_0x387fd1[_0x340bdd(-0xa6,-_0x12a41b._0x5be748,-_0x12a41b._0x7531ab,-_0x12a41b._0x2387b5)],'arguments':JSON[_0x277daf(_0x12a41b._0x2c57d9,_0x12a41b._0x53385f,0x365,_0x12a41b._0x3928e3)](_0x387fd1[_0x277daf(0x33a,_0x12a41b._0x1d9ecf,0x31e,0x348)]??{})});continue;}if(_0x387fd1[_0x277daf(0x32b,_0x12a41b._0x26e26c,_0x12a41b._0x53beb7,_0x12a41b._0x46a233)]===_0x340bdd(-_0x12a41b._0x14ca4e,-_0x12a41b._0x21f31d,-_0x12a41b._0xe51829,-0xa8)){if(!hasSerializableToolResult(_0x387fd1))continue;const _0x1b321d=getToolResultText(_0x387fd1['content']);_0x52701c['push']({'type':_0x340bdd(-0xb8,-_0x12a41b._0x33ae2b,-_0x12a41b._0x1679fe,-_0x12a41b._0x41284f),'call_id':_0x387fd1[_0x277daf(0x362,0x381,_0x12a41b._0x2f3f7d,_0x12a41b._0x3035f8)],'output':_0x1b321d});const _0xb8782e=getToolResultImages(_0x387fd1[_0x277daf(_0x12a41b._0x356976,0x345,_0x12a41b._0x5c6a86,0x365)]);_0xb8782e[_0x277daf(0x33b,0x33b,0x33e,_0x12a41b._0x53beb7)]>0x0&&_0x52701c[_0x340bdd(-_0x12a41b._0x4158dc,-_0x12a41b._0x361250,-_0x12a41b._0xe025ea,-_0x12a41b._0x5a68c5)]({'type':_0x340bdd(-_0x12a41b._0x47c018,-0x9f,-_0x12a41b._0x56b906,-_0x12a41b._0x4158dc),'role':_0x277daf(0x325,0x308,_0x12a41b._0x35477d,0x30c),'content':[{'type':'input_text','text':_0x277daf(0x337,0x33b,0x321,0x334)+_0x387fd1[_0x340bdd(-_0x12a41b._0x4b4216,-_0x12a41b._0x18860a,-_0x12a41b._0x53bf72,-0x72)]+'.'},..._0xb8782e[_0x340bdd(-0xb5,-0xb7,-_0x12a41b._0x431471,-_0x12a41b._0x25087c)](_0x4db15f=>({'type':_0x277daf(0x361,0x35d,0x341,0x36d),'image_url':'data:'+_0x4db15f[_0x277daf(0x349,0x341,0x356,0x34f)][_0x340bdd(-0x93,-0x8c,-0x81,-0xae)]+';base64,'+_0x4db15f[_0x277daf(0x349,0x33c,0x34b,0x329)]['data']}))]});}}pushUserContentMessage(_0x52701c,_0x5c3de4[_0x277daf(_0x12a41b._0x58bdcf,_0x12a41b._0x40e01f,0x35c,_0x12a41b._0x609414)],_0x3b41ed);}return{...createOpenAiResponsesReasoning(_0x458120),'model':_0x458120[_0x340bdd(-0xae,-0x94,-_0x12a41b._0x42fba4,-_0x12a41b._0x12edcc)],'instructions':systemToInstructions(_0x458120[_0x340bdd(-0xb3,-0xb6,-0xd0,-_0x12a41b._0x53b32d)]),'input':_0x52701c,..._0x458120['maxTokens']!==void 0x0?{'max_output_tokens':_0x458120[_0x277daf(0x338,0x324,0x324,_0x12a41b._0x3f348a)]}:{},'tools':_0x458120[_0x340bdd(-_0x12a41b._0x181a99,-_0x12a41b._0xf6fec7,-0xad,-_0x12a41b._0x16228e)][_0x277daf(0x32d,0x312,_0x12a41b._0x650115,_0x12a41b._0x30e212)](_0x520a61=>{const _0x334692={_0x5f2af9:0x76};function _0x48eb42(_0x42ca0c,_0x5626d4,_0x544577,_0x1847d7){return _0x277daf(_0x42ca0c- -0x509,_0x5626d4-0x60,_0x5626d4,_0x1847d7-_0x7cb41e._0x2ea42c);}function _0x2708c7(_0x4007bd,_0x494dcd,_0x26c81c,_0x21e24c){return _0x340bdd(_0x4007bd-0x44c,_0x494dcd-0x1f3,_0x26c81c-_0x334692._0x5f2af9,_0x26c81c);}return{'type':'function','name':_0x520a61[_0x2708c7(_0x37ba40._0x4e290b,0x3b1,0x3c1,0x3bc)],'description':_0x520a61[_0x48eb42(-_0x37ba40._0x58969a,-0x196,-_0x37ba40._0x3e9be3,-_0x37ba40._0x3cb714)],'parameters':_0x520a61[_0x2708c7(_0x37ba40._0x2b80c6,0x3af,0x3be,_0x37ba40._0x4f7a76)]};}),..._0x458120[_0x277daf(_0x12a41b._0x3ed9f2,0x338,_0x12a41b._0x3064f4,_0x12a41b._0x236c2a)]?{'text':{'format':{'type':_0x340bdd(-0xaf,-0xa4,-0x97,-_0x12a41b._0x5d5e9d),'name':_0x458120['outputFormat'][_0x277daf(_0x12a41b._0x58b6d9,_0x12a41b._0x38cc51,0x32d,0x31f)]??'structured_output','schema':_0x458120['outputFormat'][_0x340bdd(-_0x12a41b._0x352653,-0x82,-_0x12a41b._0x2f4608,-_0x12a41b._0x5d8699)],'strict':_0x458120[_0x277daf(_0x12a41b._0x3ed9f2,_0x12a41b._0x555652,0x320,_0x12a41b._0x42e292)][_0x340bdd(-0x9f,-0xae,-_0x12a41b._0xe03566,-0x9e)]??!![]}}}:{}};}export{toOpenAiResponsesRequest};
|
|
1
|
+
function _0x57b8(){const _0x65fe17=['AM9PBG','Aw5WDxq','BMfTzq','ANnVBL9Zy2HLBwe','BgvUz3rO','Bw9KzwW','C3vTBwfYEq','yxv0BW','mtiWmdCZntbxBufoBK0','Aw5JBhvKzuvUy3j5ChrLzenVBNrLBNq','Aw1Hz2u','ChjVDMLKzxjtDgf0zq','B3v0Chv0rM9YBwf0','C3rYAw5N','AxnbCNjHEq','Dg9VBf9Yzxn1Bhq','Aw5WDxrFDgv4Da','zNvUy3rPB25Fy2fSBf9VDxrWDxq','B2jQzwn0','sw1Hz2uGCMv0DxjUzwqGyNKGvMLLD0zPBguGzM9YihrVB2WGCMvZDwX0ia','B3bLBMfPuMvZCg9UC2vZt3v0Chv0','zNvUy3rPB24','o2jHC2u2ncW','vg9VBcbYzxr1CM5LzcbPBwfNzsbJB250zw50lG','DhjPBq','zgf0yq','y29KzxG','DhLWzq','yMfZzty0','y29UDgvUDa','BwfW','Dg9VBf91C2vFAwq','CM9Szq','DxnLCI12AxnPyMXL','C3rHDhvZ','mJfjtNv1yLC','mtaXtNzSBg5n','Aw5WDxrFC2nOzw1H','ChvZAa','C3rYDwn0DxjLzf9VDxrWDxq','C2nOzw1H','C3LZDgvT','zgvZy3jPChrPB24','otC3mJaWAunsyKri','zNvUy3rPB25Fy2fSBa','Dgv4Da','ndKYneDwvgXMtG','nZaZotm4CuDtvNHA','CMvHC29UAw5NlMvUy3j5ChrLzf9JB250zw50','Dg9VBf91C2u','BwvZC2fNzxm','mtuYnJG2neTjveHiqG','mtm0nde0mxLqD3bzrG','Bwf4vg9Rzw5Z','C291CMnL','B3v0Chv0x3rLEhq','BwvKAwfFDhLWzq','CMvHC29UAw5N','BwvZC2fNzq','C3bSAwnL','DMLZAwjPBgL0Eq','zwzMB3j0','mJG3nZCWthHZB2fK','Dg9VBhm'];_0x57b8=function(){return _0x65fe17;};return _0x57b8();}(function(_0x2099a3,_0x4e6339){const _0x46d9fb={_0x5df26d:0x5c,_0x8eb9f:0x4e,_0x103594:0x7a,_0x5d0217:0x65,_0xbe5fe9:0x7a,_0x444d7a:0x5b,_0x2759e1:0x108,_0x567d99:0x11e,_0x151e70:0x12e,_0x6cd52a:0x144,_0x51a8d2:0x12c,_0x15148a:0x12b,_0x3fdf9b:0x40,_0x20afcf:0x58,_0x22f6e2:0x3a,_0x5e72ae:0x35},_0x2ab89d={_0xd700eb:0x5a},_0x102660=_0x2099a3();function _0x17e9eb(_0xec78bd,_0x3d8c9c,_0x418885,_0x543908){return _0x55ca(_0xec78bd- -0x13d,_0x3d8c9c);}function _0x40476a(_0x2d7fd5,_0x257e88,_0x16e4b9,_0x2c9be6){return _0x55ca(_0x16e4b9- -_0x2ab89d._0xd700eb,_0x257e88);}while(!![]){try{const _0x296214=parseInt(_0x17e9eb(0x56,0x52,0x3e,0x4e))/0x1*(parseInt(_0x17e9eb(0x60,0x4a,0x68,_0x46d9fb._0x5df26d))/0x2)+parseInt(_0x17e9eb(0x66,0x77,_0x46d9fb._0x8eb9f,_0x46d9fb._0x103594))/0x3+parseInt(_0x17e9eb(_0x46d9fb._0x5d0217,_0x46d9fb._0xbe5fe9,_0x46d9fb._0x444d7a,0x5b))/0x4+parseInt(_0x40476a(0x133,_0x46d9fb._0x2759e1,0x113,_0x46d9fb._0x567d99))/0x5+parseInt(_0x40476a(_0x46d9fb._0x151e70,0x139,_0x46d9fb._0x6cd52a,0x15d))/0x6+-parseInt(_0x40476a(0x135,_0x46d9fb._0x51a8d2,0x138,_0x46d9fb._0x15148a))/0x7*(-parseInt(_0x17e9eb(0x5d,_0x46d9fb._0x3fdf9b,0x5d,_0x46d9fb._0x20afcf))/0x8)+-parseInt(_0x17e9eb(_0x46d9fb._0x22f6e2,_0x46d9fb._0x5e72ae,0x33,0x38))/0x9;if(_0x296214===_0x4e6339)break;else _0x102660['push'](_0x102660['shift']());}catch(_0x25c935){_0x102660['push'](_0x102660['shift']());}}}(_0x57b8,0x45ba2));import{resolveOpenAiReasoningConfig}from'./chunk-IUZALP6K.js';import{isProviderStateCompatible,normalizeContent}from'./chunk-YNOIG4FD.js';function systemToInstructions(_0x4c0edd){const _0x2cb299={_0x10808b:0x3eb,_0x31b06b:0x3d0,_0x3e6098:0x3a1,_0x99a977:0x3b4},_0x2d2936={_0x2e1e73:0x245},_0x1b61cf={_0x1883e9:0x2};function _0x3d7c91(_0x561b36,_0x24aeed,_0x217cba,_0x320e69){return _0x55ca(_0x320e69-_0x1b61cf._0x1883e9,_0x24aeed);}function _0x28fac2(_0x26d87f,_0x2d013c,_0x1f400a,_0x149e8f){return _0x55ca(_0x149e8f-_0x2d2936._0x2e1e73,_0x26d87f);}return normalizeContent(_0x4c0edd)['filter'](_0x2735e0=>_0x2735e0[_0x28fac2(0x3b0,0x3c2,0x3b0,0x3cf)]==='text')[_0x28fac2(_0x2cb299._0x10808b,0x3be,0x3bd,0x3d2)](_0x2ffef0=>_0x2ffef0['text'])[_0x28fac2(0x3a5,_0x2cb299._0x31b06b,_0x2cb299._0x3e6098,_0x2cb299._0x99a977)]('\x0a\x0a');}function pushUserContentMessage(_0x41209b,_0x3fa06a,_0x30d611){const _0x1af76d={_0x4fe88f:0x366,_0x45f763:0x385,_0x68c4f0:0x4a5,_0x144c8f:0x4b1,_0x50989a:0x4b2,_0x4717b1:0x363,_0x34007c:0x36a},_0x4b9203={_0x3538d2:0x2fd};function _0x451013(_0x2f10d3,_0xf4c4f9,_0x515833,_0x50dd2d){return _0x55ca(_0x2f10d3-_0x4b9203._0x3538d2,_0x50dd2d);}function _0x991838(_0x3cbf0c,_0xdd1360,_0x3717ab,_0x2fd708){return _0x55ca(_0x3cbf0c-0x1f3,_0xdd1360);}if(_0x30d611[_0x991838(_0x1af76d._0x4fe88f,_0x1af76d._0x45f763,0x37a,0x34c)]===0x0)return;_0x41209b[_0x451013(0x492,_0x1af76d._0x68c4f0,_0x1af76d._0x144c8f,_0x1af76d._0x50989a)]({'type':_0x991838(0x35c,_0x1af76d._0x4717b1,_0x1af76d._0x34007c,0x36c),'role':_0x3fa06a,'content':_0x30d611});}function hasSerializableToolUse(_0x5becb0){const _0x43ed6b={_0x20ae50:0x235,_0x2c1f19:0x24d,_0x4788d9:0x22d,_0x2998a7:0x247,_0x4a5825:0x226,_0x46d7c5:0x218},_0x1b6249={_0x4e61df:0x3bc};function _0x11c3b8(_0x47fada,_0xcc8800,_0x1b712d,_0x29ff89){return _0x55ca(_0x47fada- -_0x1b6249._0x4e61df,_0xcc8800);}function _0x8039d8(_0x31b603,_0x14e3ba,_0x16e29b,_0x570fa6){return _0x55ca(_0x570fa6- -0x168,_0x31b603);}return _0x5becb0['id'][_0x11c3b8(-_0x43ed6b._0x20ae50,-0x234,-0x250,-0x255)]()[_0x11c3b8(-0x249,-_0x43ed6b._0x2c1f19,-_0x43ed6b._0x4788d9,-0x231)]>0x0&&_0x5becb0['name'][_0x11c3b8(-_0x43ed6b._0x20ae50,-_0x43ed6b._0x2998a7,-_0x43ed6b._0x4a5825,-_0x43ed6b._0x46d7c5)]()['length']>0x0;}function hasSerializableToolResult(_0x11f725){const _0x54e86c={_0x3c6dd7:0x381,_0x42b844:0x39b,_0x20bfcb:0x422};function _0x438461(_0x24775b,_0x4cb5bd,_0x50f10a,_0x2060c6){return _0x55ca(_0x50f10a-0x29b,_0x24775b);}function _0x2d499a(_0x285e3e,_0x1cb261,_0x4920e7,_0x41a40e){return _0x55ca(_0x1cb261-0x1fa,_0x41a40e);}return _0x11f725['tool_use_id'][_0x2d499a(_0x54e86c._0x3c6dd7,0x381,_0x54e86c._0x42b844,0x38e)]()[_0x438461(_0x54e86c._0x20bfcb,0x3fd,0x40e,0x3fe)]>0x0;}function isResponseInputObject(_0x56c24b){const _0x375df9={_0x55bbb2:0x203,_0x55032e:0x21b,_0x2fe828:0x116,_0x15109b:0x112,_0x3788e6:0x206,_0x2cd25a:0x212,_0x5743c1:0x115,_0xefaaf5:0xfd},_0x353048={_0x51b2f9:0x39c},_0xf02e30={_0xd0a742:0x67};if(typeof _0x56c24b!==_0x2741ff(-0x21a,-_0x375df9._0x55bbb2,-0x21c,-_0x375df9._0x55032e)||_0x56c24b===null||Array[_0x1352c2(_0x375df9._0x2fe828,0x11a,_0x375df9._0x15109b,0x132)](_0x56c24b))return![];function _0x1352c2(_0x3d404c,_0x447fb9,_0x3a1ca0,_0xea69d8){return _0x55ca(_0x3d404c- -_0xf02e30._0xd0a742,_0x447fb9);}function _0x2741ff(_0x1ae556,_0x5dd0f8,_0x57aa97,_0x4f1633){return _0x55ca(_0x4f1633- -_0x353048._0x51b2f9,_0x5dd0f8);}const _0x48e94a=_0x56c24b;return typeof _0x48e94a[_0x2741ff(-0x20c,-_0x375df9._0x3788e6,-0x226,-_0x375df9._0x2cd25a)]===_0x1352c2(_0x375df9._0x5743c1,0x101,0x11e,_0x375df9._0xefaaf5);}function isImageToolResultBlock(_0xb1cd71){const _0x1421b6={_0x15ed18:0x19b,_0x212daa:0x160,_0x30cdad:0x1e6,_0x28cee0:0x1dd,_0x74a52a:0x1fd,_0x491350:0x1e6,_0x359580:0x1e1,_0x451373:0x1fa,_0x51609d:0x19f,_0x504eb0:0x19d,_0x13b733:0x181,_0x4ceaa6:0x1db,_0x25bd13:0x1e9,_0x501cf4:0x1f4,_0x2d6268:0x149,_0x1f492e:0x15b,_0x255561:0x192,_0x277f2d:0x192,_0x51fca1:0x205},_0x274fab={_0x43b85e:0x6d},_0x2f66c7={_0x3672d4:0x306};if(typeof _0xb1cd71!=='object'||_0xb1cd71===null||Array[_0xe13779(-0x189,-0x180,-0x172,-0x198)](_0xb1cd71))return![];function _0xe13779(_0xe6afa1,_0x3235d2,_0x4ac272,_0x4de200){return _0x55ca(_0xe6afa1- -_0x2f66c7._0x3672d4,_0x4ac272);}const _0x2d4af8=_0xb1cd71;function _0x1f6904(_0x242ca1,_0x33b6a6,_0x5f02f9,_0x1b6ba2){return _0x55ca(_0x33b6a6-_0x274fab._0x43b85e,_0x5f02f9);}return _0x2d4af8[_0xe13779(-0x17c,-_0x1421b6._0x15ed18,-0x15c,-_0x1421b6._0x212daa)]===_0x1f6904(0x1ea,_0x1421b6._0x30cdad,0x1f8,_0x1421b6._0x28cee0)&&_0x2d4af8[_0x1f6904(_0x1421b6._0x74a52a,0x212,0x1f9,0x22b)]?.[_0x1f6904(_0x1421b6._0x491350,0x1f7,0x202,_0x1421b6._0x359580)]===_0x1f6904(0x1f5,0x1f8,0x210,_0x1421b6._0x451373)&&typeof _0x2d4af8['source'][_0xe13779(-_0x1421b6._0x51609d,-0x1b3,-_0x1421b6._0x504eb0,-_0x1421b6._0x13b733)]===_0x1f6904(_0x1421b6._0x4ceaa6,_0x1421b6._0x25bd13,0x1e3,_0x1421b6._0x501cf4)&&typeof _0x2d4af8[_0xe13779(-0x161,-0x148,-_0x1421b6._0x2d6268,-_0x1421b6._0x1f492e)][_0xe13779(-0x17e,-_0x1421b6._0x255561,-_0x1421b6._0x277f2d,-0x184)]===_0x1f6904(_0x1421b6._0x51fca1,0x1e9,0x1dc,0x1cc);}function getToolResultText(_0xc436bc){const _0x477672={_0x58c0a5:0xf1,_0x470c51:0xed,_0x314a25:0xf7,_0x2232a3:0x114,_0x4247e7:0x3c8,_0x9a3fb3:0x3c1,_0x59f383:0x3a6,_0x240cde:0x3d2},_0x5243ad={_0x5cfe90:0x23b},_0x4e03ba={_0x48ee6a:0x27e},_0x50eeee={_0x221388:0x4fe,_0x4754b7:0x4d7,_0x5dc5a8:0x4e6,_0x377824:0x54};if(typeof _0xc436bc==='string')return _0xc436bc;const _0x51e02c=_0xc436bc['filter'](_0xdb207=>{function _0x301ce5(_0x1b5ecd,_0x2f4aba,_0x338537,_0x2ebdee){return _0x55ca(_0x2ebdee- -0x161,_0x1b5ecd);}function _0x11efd7(_0x5b7a93,_0x5f3fcb,_0x359ccb,_0x284e86){return _0x55ca(_0x5b7a93-0x365,_0x284e86);}return typeof _0xdb207===_0x11efd7(0x4e6,_0x50eeee._0x221388,_0x50eeee._0x4754b7,_0x50eeee._0x5dc5a8)&&_0xdb207!==null&&_0xdb207[_0x301ce5(0x18,0x1d,0x2c,0x29)]===_0x301ce5(_0x50eeee._0x377824,0x4a,0x22,0x3b);})[_0x4790dd(-0xe3,-_0x477672._0x58c0a5,-_0x477672._0x470c51,-0xfe)](_0x342f4b=>_0x342f4b[_0x4790dd(-0xe0,-0xe2,-0xfc,-0xcc)])['join']('\x0a\x0a')[_0x4790dd(-0x100,-_0x477672._0x314a25,-_0x477672._0x2232a3,-0xfd)]();function _0x4790dd(_0x286d7f,_0x2bce3a,_0x5455db,_0x25124d){return _0x55ca(_0x2bce3a- -_0x4e03ba._0x48ee6a,_0x25124d);}function _0x23c8f6(_0x120d0b,_0x46e501,_0x4c7e04,_0xe94c92){return _0x55ca(_0x120d0b-_0x5243ad._0x5cfe90,_0x4c7e04);}return _0x51e02c[_0x23c8f6(0x3ae,0x3a0,0x39e,_0x477672._0x4247e7)]>0x0?_0x51e02c:_0x23c8f6(_0x477672._0x9a3fb3,0x3cc,_0x477672._0x59f383,_0x477672._0x240cde);}function getToolResultImages(_0x7cd36f){const _0xcc64dc={_0x78f58a:0x40};function _0x433a36(_0x1ec82a,_0x30811e,_0xa0b617,_0x1dd3ac){return _0x55ca(_0x30811e- -0x1ae,_0xa0b617);}return Array[_0x433a36(-_0xcc64dc._0x78f58a,-0x31,-0x24,-0x1f)](_0x7cd36f)?_0x7cd36f['filter'](isImageToolResultBlock):[];}function _0x55ca(_0x59f8fc,_0xf67a19){_0x59f8fc=_0x59f8fc-0x166;const _0x57b87f=_0x57b8();let _0x55ca10=_0x57b87f[_0x59f8fc];if(_0x55ca['XWoixF']===undefined){var _0x4c39a6=function(_0x21fb75){const _0x3b4dbe='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c0edd='',_0x2735e0='';for(let _0x2ffef0=0x0,_0x41209b,_0x3fa06a,_0x30d611=0x0;_0x3fa06a=_0x21fb75['charAt'](_0x30d611++);~_0x3fa06a&&(_0x41209b=_0x2ffef0%0x4?_0x41209b*0x40+_0x3fa06a:_0x3fa06a,_0x2ffef0++%0x4)?_0x4c0edd+=String['fromCharCode'](0xff&_0x41209b>>(-0x2*_0x2ffef0&0x6)):0x0){_0x3fa06a=_0x3b4dbe['indexOf'](_0x3fa06a);}for(let _0x5becb0=0x0,_0x11f725=_0x4c0edd['length'];_0x5becb0<_0x11f725;_0x5becb0++){_0x2735e0+='%'+('00'+_0x4c0edd['charCodeAt'](_0x5becb0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2735e0);};_0x55ca['lzUcji']=_0x4c39a6,_0x55ca['TbplTA']={},_0x55ca['XWoixF']=!![];}const _0x1f28f7=_0x57b87f[0x0],_0x9cfafb=_0x59f8fc+_0x1f28f7,_0x302bd4=_0x55ca['TbplTA'][_0x9cfafb];return!_0x302bd4?(_0x55ca10=_0x55ca['lzUcji'](_0x55ca10),_0x55ca['TbplTA'][_0x9cfafb]=_0x55ca10):_0x55ca10=_0x302bd4,_0x55ca10;}function resolveReasoningVisibility(_0x2ad0d0){const _0x3a1eb5={_0x5402ea:0x20e,_0x3047b6:0x20b,_0x56f9b3:0x21b,_0x6b882f:0x225},_0x27d494={_0x3b15a8:0x95};function _0x5e1047(_0x400972,_0x4eacb7,_0x330543,_0x3bf3ea){return _0x55ca(_0x330543-_0x27d494._0x3b15a8,_0x4eacb7);}function _0x35578d(_0x25680f,_0x5ee688,_0x4d0816,_0x1fe270){return _0x55ca(_0x1fe270- -0x32d,_0x4d0816);}return _0x2ad0d0[_0x5e1047(_0x3a1eb5._0x5402ea,_0x3a1eb5._0x3047b6,0x1fd,0x204)]?.[_0x5e1047(_0x3a1eb5._0x56f9b3,0x21e,0x200,0x209)]??_0x5e1047(0x22f,0x241,_0x3a1eb5._0x6b882f,0x207);}function createOpenAiResponsesReasoning(_0x5170d0){const _0x1e7166={_0x287851:0x3e1,_0x208c04:0x3e4,_0x294c97:0x128,_0x438fca:0x126,_0xd1ab41:0x3e6,_0x306aca:0x3fc,_0x1ff833:0x3fe,_0x48b37c:0x104,_0x42f4a0:0x3f4,_0x1f05e7:0x128,_0xd272cb:0x10b,_0x3856e0:0x12b,_0x3f3088:0x3e3,_0x371ce5:0x3ea,_0x35d7f6:0x3f5,_0x57c168:0x3f9,_0x1378d7:0x414,_0x18499f:0x120,_0x4c7338:0x136,_0x47f82c:0xf5,_0x53202c:0xfc},_0x5e5ab6={_0x34d4d0:0x61},_0x105c65={_0x1a4c8d:0x281},_0x4bb287=resolveOpenAiReasoningConfig(_0x5170d0['reasoning']);if(!_0x4bb287)return{};const _0x22a3cb={},_0x3d8f79=_0x5170d0[_0x3a4ba7(_0x1e7166._0x287851,_0x1e7166._0x208c04,0x3ee,0x3e9)]?.[_0x8ef924(_0x1e7166._0x294c97,0x134,0x122,_0x1e7166._0x438fca)]!==void 0x0,_0x5edbcf=(!_0x3d8f79&&_0x3a4ba7(_0x1e7166._0xd1ab41,_0x1e7166._0x306aca,_0x1e7166._0x1ff833,0x3f6)in _0x4bb287?_0x4bb287[_0x8ef924(0x114,0x132,0x11e,_0x1e7166._0x48b37c)]:void 0x0)??(resolveReasoningVisibility(_0x5170d0)===_0x3a4ba7(0x413,_0x1e7166._0x42f4a0,0x3f6,0x411)?_0x8ef924(0x115,0x110,0x118,_0x1e7166._0x1f05e7):void 0x0);_0x4bb287[_0x8ef924(_0x1e7166._0xd272cb,0x107,_0x1e7166._0x3856e0,0xf0)]&&(_0x22a3cb['effort']=_0x4bb287[_0x3a4ba7(0x3f3,_0x1e7166._0x3f3088,0x3e7,0x3ed)]);_0x5edbcf&&(_0x22a3cb[_0x8ef924(0x114,0x125,0x113,0x12e)]=_0x5edbcf);function _0x3a4ba7(_0x296d0b,_0x1e4862,_0x25f0c1,_0x4a016d){return _0x55ca(_0x4a016d-_0x105c65._0x1a4c8d,_0x1e4862);}function _0x8ef924(_0x16b928,_0x104479,_0x217823,_0x6be4b1){return _0x55ca(_0x16b928- -_0x5e5ab6._0x34d4d0,_0x6be4b1);}return{...!_0x3d8f79&&_0x3a4ba7(_0x1e7166._0x371ce5,_0x1e7166._0x3f3088,_0x1e7166._0x35d7f6,_0x1e7166._0x57c168)in _0x4bb287&&_0x4bb287[_0x3a4ba7(_0x1e7166._0x1378d7,0x3fe,_0x1e7166._0x208c04,0x3f9)]===![]?{}:{'include':[_0x8ef924(0x13e,_0x1e7166._0x18499f,0x123,_0x1e7166._0x4c7338)]},...Object['keys'](_0x22a3cb)[_0x8ef924(0x112,0x106,_0x1e7166._0x47f82c,_0x1e7166._0x53202c)]>0x0?{'reasoning':_0x22a3cb}:{}};}function pushAssistantProviderState(_0xf9f8a7,_0x9a1c30,_0x25ad68){const _0x6d5eb3={_0x4e3f19:0x4df,_0x610579:0x4f6,_0x5d155f:0x500,_0x46a022:0x4cb,_0x577781:0x4e1,_0x2cb539:0x2b3,_0x4c2b68:0x294,_0x1fa655:0x2b9,_0x383384:0x4e1,_0x24e1fb:0x4f9,_0xf0d5fd:0x4c2,_0x8277b7:0x2c5,_0x2f9f40:0x2b5,_0x10e543:0x4e4,_0x42e1d2:0x4e9,_0x4eb82d:0x4fe,_0xcc1299:0x4f1,_0x9773e6:0x2aa,_0x4c742e:0x4dc,_0x32ea86:0x4cb,_0x5374bf:0x4ee},_0x53af72={_0x3725b5:0x12d};function _0x718047(_0x574dd3,_0x1335f1,_0x1ae144,_0x370680){return _0x55ca(_0x370680-0x367,_0x1ae144);}if(_0x9a1c30[_0x718047(0x4eb,_0x6d5eb3._0x4e3f19,0x511,_0x6d5eb3._0x610579)]!=='assistant')return![];if(!isProviderStateCompatible(_0x9a1c30,_0x25ad68))return![];const _0x507570=_0x9a1c30[_0x718047(_0x6d5eb3._0x5d155f,0x4fd,_0x6d5eb3._0x46a022,_0x6d5eb3._0x577781)]?.[_0x5293f4(0x2b0,_0x6d5eb3._0x2cb539,_0x6d5eb3._0x4c2b68,_0x6d5eb3._0x1fa655)]??[];function _0x5293f4(_0x5e964f,_0xa128a,_0x5e2573,_0x55ac05){return _0x55ca(_0x5e964f-_0x53af72._0x3725b5,_0x55ac05);}if(_0x507570[_0x718047(_0x6d5eb3._0x383384,_0x6d5eb3._0x24e1fb,_0x6d5eb3._0xf0d5fd,0x4da)]===0x0)return![];for(const _0x51513d of _0x507570){if(isResponseInputObject(_0x51513d)){const _0x3dde40=structuredClone(_0x51513d);delete _0x3dde40[_0x5293f4(0x2be,_0x6d5eb3._0x8277b7,_0x6d5eb3._0x2f9f40,0x2b3)],_0x3dde40[_0x718047(_0x6d5eb3._0x10e543,_0x6d5eb3._0x42e1d2,_0x6d5eb3._0x4eb82d,_0x6d5eb3._0xcc1299)]===_0x5293f4(0x295,0x283,_0x6d5eb3._0x9773e6,0x2b4)&&!Array[_0x718047(0x4f8,0x4db,0x4d9,0x4e4)](_0x3dde40[_0x718047(0x4f7,0x4e3,0x4cf,_0x6d5eb3._0x4c742e)])&&(_0x3dde40[_0x718047(0x4e4,_0x6d5eb3._0x32ea86,_0x6d5eb3._0x5374bf,_0x6d5eb3._0x4c742e)]=[]),_0xf9f8a7['push'](_0x3dde40);}}return!![];}function toOpenAiResponsesRequest(_0x2d60b0){const _0x5115a3={_0x584a60:0x520,_0x100ea7:0x517,_0x27f468:0x51d,_0x1aaa43:0x502,_0x501a48:0x503,_0x104807:0x504,_0x37699f:0x4f9,_0x454bbe:0x514,_0x2a1757:0x533,_0x215e20:0x513,_0x3437ec:0x52f,_0x26ffcc:0x4e7,_0x5f0dbf:0x4e6,_0x64f7fb:0x501,_0x4bf1c9:0x530,_0x3a9af8:0x4ee,_0x1e053d:0x4f8,_0x21f5a8:0x509,_0x2d7a3b:0x4cb,_0x563c17:0x4e9,_0x45265f:0x4d3,_0x2ae35f:0x504,_0x20f8b3:0x4e4,_0x4489c2:0x509,_0x3ee8fa:0x4f8,_0x2b4c5e:0x50e,_0x3c0615:0x512,_0x158623:0x523,_0xed28ba:0x4e5,_0x2db24f:0x504,_0x3a8f3c:0x500,_0x571c0a:0x506,_0x5a26b5:0x537,_0x562e11:0x501,_0x243a3e:0x50c,_0x4e051b:0x532,_0x3d41c0:0x4d4,_0x285ec6:0x4dc,_0x123de4:0x4ed,_0x5bcd89:0x4e6,_0x4cdc82:0x4fc,_0x427956:0x4f2,_0x206adb:0x4eb,_0x1af27a:0x4d1,_0x4803aa:0x510,_0x3c0679:0x50a,_0x4a9a98:0x4d9,_0x2f1db5:0x4ef,_0x341e38:0x4f2,_0x5cc913:0x4f4,_0x2f6712:0x4f0,_0x57db02:0x505,_0x27ab50:0x4d7,_0x27fdea:0x4c1,_0x59938c:0x519,_0x31d77e:0x4e3,_0x491767:0x4ec,_0x186538:0x4ff,_0x285cc5:0x506,_0x137848:0x4fa,_0x2308b4:0x512,_0x5f5235:0x4fe,_0x3aa37f:0x4e4,_0x3851c4:0x51c,_0x11dc8f:0x528,_0x2cec0d:0x508,_0x59479b:0x511,_0x2b9f97:0x509,_0xf78698:0x4f1,_0x532b2b:0x4fd,_0x54b96a:0x4d4,_0x25298b:0x4f5,_0x152852:0x4d2,_0x1146b4:0x4fb,_0x37447c:0x539,_0x3971a6:0x528,_0x17e428:0x51e},_0x2e2a91={_0x9a0a03:0x199,_0x4348a9:0x18a,_0xb5d232:0x181,_0x370c35:0x1a1,_0x3edd82:0x1c9,_0x4ff4e9:0x1a9,_0x1753c3:0x18e,_0x5965d9:0x1c6};function _0x22251b(_0x2f1431,_0x4f0847,_0x571133,_0x34e966){return _0x55ca(_0x2f1431-0x364,_0x4f0847);}const _0x113b0a=[];for(const _0x1f6038 of _0x2d60b0[_0x5cd109(_0x5115a3._0x584a60,0x525,_0x5115a3._0x100ea7,_0x5115a3._0x27f468)]){if(pushAssistantProviderState(_0x113b0a,_0x1f6038,_0x2d60b0))continue;const _0x23607e=[];for(const _0xe32b6e of normalizeContent(_0x1f6038[_0x5cd109(_0x5115a3._0x1aaa43,0x510,0x4fd,0x4f0)])){if(_0xe32b6e[_0x22251b(0x4ee,_0x5115a3._0x501a48,_0x5115a3._0x104807,0x4f3)]===_0x5cd109(0x517,0x520,0x514,0x524)){_0x23607e[_0x22251b(_0x5115a3._0x37699f,0x4e4,0x515,_0x5115a3._0x454bbe)](_0x1f6038[_0x5cd109(_0x5115a3._0x2a1757,_0x5115a3._0x215e20,0x528,_0x5115a3._0x3437ec)]==='assistant'?{'type':_0x5cd109(_0x5115a3._0x26ffcc,0x4ea,0x4f1,0x4cf),'text':_0xe32b6e['text']}:{'type':_0x5cd109(_0x5115a3._0x5f0dbf,_0x5115a3._0x501a48,0x51c,_0x5115a3._0x454bbe),'text':_0xe32b6e[_0x5cd109(_0x5115a3._0x64f7fb,0x520,_0x5115a3._0x4bf1c9,0x50a)]});continue;}if(_0xe32b6e[_0x22251b(_0x5115a3._0x3a9af8,0x4fb,0x4ed,_0x5115a3._0x1e053d)]==='image'){_0x23607e['push']({'type':'input_image','image_url':'data:'+_0xe32b6e[_0x22251b(_0x5115a3._0x21f5a8,_0x5115a3._0x584a60,0x506,0x50c)][_0x22251b(_0x5115a3._0x2d7a3b,0x4d7,_0x5115a3._0x563c17,_0x5115a3._0x45265f)]+_0x22251b(0x4e9,_0x5115a3._0x2ae35f,0x4d0,_0x5115a3._0x20f8b3)+_0xe32b6e[_0x22251b(_0x5115a3._0x4489c2,0x507,0x50d,0x515)][_0x5cd109(_0x5115a3._0x3ee8fa,0x50c,0x4fd,_0x5115a3._0x2b4c5e)]});continue;}pushUserContentMessage(_0x113b0a,_0x1f6038[_0x5cd109(_0x5115a3._0x3c0615,0x513,_0x5115a3._0x158623,0x50b)],_0x23607e[_0x5cd109(0x4eb,_0x5115a3._0x3a9af8,0x4d4,0x503)](0x0));if(_0xe32b6e[_0x22251b(0x4ee,0x4e4,0x4cf,_0x5115a3._0xed28ba)]===_0x22251b(_0x5115a3._0x2db24f,_0x5115a3._0x3a8f3c,0x50d,0x4f1)){if(!hasSerializableToolUse(_0xe32b6e))continue;_0x113b0a[_0x5cd109(_0x5115a3._0x571c0a,0x519,_0x5115a3._0x5a26b5,_0x5115a3._0x3437ec)]({'type':_0x5cd109(_0x5115a3._0x562e11,0x51f,_0x5115a3._0x243a3e,_0x5115a3._0x4e051b),'call_id':_0xe32b6e['id'],'name':_0xe32b6e['name'],'arguments':JSON['stringify'](_0xe32b6e[_0x22251b(_0x5115a3._0x3d41c0,_0x5115a3._0x285ec6,_0x5115a3._0x123de4,_0x5115a3._0x5bcd89)]??{})});continue;}if(_0xe32b6e[_0x22251b(0x4ee,0x4f6,_0x5115a3._0x4cdc82,_0x5115a3._0x1e053d)]===_0x22251b(0x4e2,_0x5115a3._0x427956,_0x5115a3._0x206adb,_0x5115a3._0x1af27a)){if(!hasSerializableToolResult(_0xe32b6e))continue;const _0x3846e0=getToolResultText(_0xe32b6e[_0x22251b(0x4f0,_0x5115a3._0x4803aa,0x4fe,_0x5115a3._0x3c0679)]);_0x113b0a[_0x22251b(0x4f9,0x505,0x4fe,_0x5115a3._0x4a9a98)]({'type':_0x5cd109(_0x5115a3._0x563c17,0x504,0x509,_0x5115a3._0x2f1db5),'call_id':_0xe32b6e[_0x22251b(_0x5115a3._0x341e38,0x4d9,0x4fd,_0x5115a3._0x5cc913)],'output':_0x3846e0});const _0x56901e=getToolResultImages(_0xe32b6e[_0x22251b(_0x5115a3._0x2f6712,0x4e2,_0x5115a3._0x571c0a,_0x5115a3._0x57db02)]);_0x56901e[_0x22251b(_0x5115a3._0x27ab50,_0x5115a3._0x27fdea,0x4ed,0x4ef)]>0x0&&_0x113b0a[_0x5cd109(_0x5115a3._0x1aaa43,0x519,0x536,_0x5115a3._0x59938c)]({'type':'message','role':'user','content':[{'type':_0x22251b(_0x5115a3._0x31d77e,0x4e0,0x502,_0x5115a3._0x491767),'text':_0x5cd109(_0x5115a3._0x186538,_0x5115a3._0x285cc5,_0x5115a3._0x137848,0x514)+_0xe32b6e[_0x5cd109(0x528,_0x5115a3._0x2308b4,_0x5115a3._0x5f5235,0x50a)]+'.'},..._0x56901e[_0x22251b(0x4f1,0x4f5,_0x5115a3._0x1aaa43,0x4e9)](_0x4ea83f=>({'type':'input_image','image_url':'data:'+_0x4ea83f[_0x5cd109(0x522,0x529,0x537,0x524)][_0x5cd109(0x4cc,0x4eb,0x4df,0x4f3)]+_0x22251b(0x4e9,0x4f5,0x4d2,0x504)+_0x4ea83f['source'][_0x22251b(0x4ec,0x4ee,0x4e0,0x4d9)]}))]});}}pushUserContentMessage(_0x113b0a,_0x1f6038['role'],_0x23607e);}function _0x5cd109(_0x1d83a0,_0x8bbede,_0x4218b0,_0x3e8cbc){return _0x55ca(_0x8bbede-0x384,_0x1d83a0);}return{...createOpenAiResponsesReasoning(_0x2d60b0),'model':_0x2d60b0[_0x5cd109(0x515,0x4f8,0x4df,_0x5115a3._0x3aa37f)],'instructions':systemToInstructions(_0x2d60b0[_0x22251b(0x4fc,_0x5115a3._0x3851c4,_0x5115a3._0x3ee8fa,0x517)]),'input':_0x113b0a,..._0x2d60b0[_0x5cd109(0x527,_0x5115a3._0x11dc8f,_0x5115a3._0x2b4c5e,0x50f)]!==void 0x0?{'max_output_tokens':_0x2d60b0[_0x22251b(_0x5115a3._0x2cec0d,0x503,0x4ea,0x4fe)]}:{},'tools':_0x2d60b0[_0x5cd109(_0x5115a3._0x59479b,0x4f2,0x4eb,_0x5115a3._0x2b9f97)][_0x22251b(_0x5115a3._0xf78698,0x503,_0x5115a3._0x532b2b,_0x5115a3._0x54b96a)](_0x3c3aae=>{const _0x4310db={_0x42d8dd:0x36f,_0x5b8fc5:0x11f},_0x1b61c0={_0x189171:0x374};function _0x4aa3c6(_0x2caf8f,_0x1335a1,_0x306d8c,_0x3456c8){return _0x5cd109(_0x3456c8,_0x2caf8f- -_0x1b61c0._0x189171,_0x306d8c-0x18,_0x3456c8-0x151);}function _0x3dad25(_0x1da0b1,_0x524fb0,_0x565cd6,_0x369af8){return _0x5cd109(_0x565cd6,_0x1da0b1- -_0x4310db._0x42d8dd,_0x565cd6-_0x4310db._0x5b8fc5,_0x369af8-0x17c);}return{'type':_0x3dad25(_0x2e2a91._0x9a0a03,_0x2e2a91._0x4348a9,0x18c,_0x2e2a91._0xb5d232),'name':_0x3c3aae[_0x4aa3c6(0x181,0x164,0x185,_0x2e2a91._0x370c35)],'description':_0x3c3aae[_0x3dad25(0x1ae,0x192,0x1c9,_0x2e2a91._0x3edd82)],'parameters':_0x3c3aae[_0x3dad25(_0x2e2a91._0x4ff4e9,0x18a,_0x2e2a91._0x1753c3,_0x2e2a91._0x5965d9)]};}),..._0x2d60b0[_0x22251b(0x4df,0x4f2,_0x5115a3._0x25298b,0x4db)]?{'text':{'format':{'type':_0x22251b(0x4d6,_0x5115a3._0x152852,0x4f2,0x4db),'name':_0x2d60b0['outputFormat'][_0x5cd109(0x4f6,0x4f5,0x4fb,0x508)]??_0x22251b(0x4fa,_0x5115a3._0x1146b4,_0x5115a3._0x37699f,0x4da),'schema':_0x2d60b0['outputFormat'][_0x5cd109(_0x5115a3._0x37447c,0x51b,_0x5115a3._0x501a48,_0x5115a3._0x3971a6)],'strict':_0x2d60b0[_0x5cd109(_0x5115a3._0x2cec0d,0x4ff,_0x5115a3._0x17e428,0x508)]['strict']??!![]}}}:{}};}export{toOpenAiResponsesRequest};
|
package/dist/chunk-X7VAACWY.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x58fa65,_0x28aa51){var _0x5edf0f={_0x4c91f5:0x197,_0x2ed9a4:0x191,_0x673d51:0x185,_0x5cb585:0x543,_0x28336a:0x553,_0x2c48cf:0x18b,_0x36fca0:0x177,_0x1157ef:0x189,_0x3d8a00:0x195,_0x58474b:0x185,_0x45134c:0x184,_0x110856:0x18e,_0x2e175f:0x54e,_0x69b16c:0x558,_0x56cd48:0x181,_0x115395:0x18a},_0x2f4274={_0x1730c2:0x18};function _0x15b224(_0x15200d,_0x14c682,_0x2abb54,_0x1ef1e0){return _0x528e(_0x15200d-0x3b0,_0x2abb54);}function _0x22b1af(_0xb03d9c,_0x355931,_0x80b3a5,_0x34114b){return _0x528e(_0x355931- -_0x2f4274._0x1730c2,_0x34114b);}var _0x43f9f8=_0x58fa65();while(!![]){try{var _0x298229=-parseInt(_0x22b1af(_0x5edf0f._0x4c91f5,0x18e,_0x5edf0f._0x2ed9a4,_0x5edf0f._0x673d51))/0x1+-parseInt(_0x15b224(0x544,0x54d,0x53f,0x53c))/0x2+-parseInt(_0x15b224(0x54d,_0x5edf0f._0x5cb585,0x54f,_0x5edf0f._0x28336a))/0x3+parseInt(_0x22b1af(0x182,0x18b,_0x5edf0f._0x2c48cf,0x194))/0x4*(parseInt(_0x22b1af(_0x5edf0f._0x36fca0,0x17f,_0x5edf0f._0x1157ef,0x17f))/0x5)+-parseInt(_0x22b1af(0x192,0x190,_0x5edf0f._0x3d8a00,0x192))/0x6*(parseInt(_0x22b1af(_0x5edf0f._0x673d51,0x17d,0x181,_0x5edf0f._0x58474b))/0x7)+parseInt(_0x22b1af(_0x5edf0f._0x45134c,0x189,0x187,_0x5edf0f._0x110856))/0x8+parseInt(_0x15b224(_0x5edf0f._0x2e175f,_0x5edf0f._0x69b16c,0x544,0x54b))/0x9*(parseInt(_0x22b1af(_0x5edf0f._0x56cd48,_0x5edf0f._0x115395,0x18d,_0x5edf0f._0x115395))/0xa);if(_0x298229===_0x28aa51)break;else _0x43f9f8['push'](_0x43f9f8['shift']());}catch(_0x1cd3b5){_0x43f9f8['push'](_0x43f9f8['shift']());}}}(_0x3c4a,0x50726));var OperationAbortedError=class extends Error{[_0x29ccc5(-0x16f,-0x166,-0x169,-0x15f)]=_0x591af0(0x505,0x50a,0x510,0x513);constructor(_0x4cfdea=_0x29ccc5(-0x173,-0x172,-0x171,-0x172)){var _0x274ed4={_0x121b89:0x2e3,_0x9f6f52:0x2e8},_0x460667={_0x33f70a:0xa1};function _0x415da2(_0x58cd4f,_0x7b9d44,_0x441558,_0x4f5b3e){return _0x29ccc5(_0x58cd4f-0x1e8,_0x58cd4f-0x348,_0x441558-0x99,_0x4f5b3e);}function _0x35d8f6(_0xb4e3e9,_0x7df11e,_0x87c7c5,_0x27e459){return _0x591af0(_0xb4e3e9-0x8,_0xb4e3e9,_0x27e459- -0x228,_0x27e459-_0x460667._0x33f70a);}super(_0x4cfdea),this[_0x35d8f6(0x2ee,0x2df,0x2f0,0x2e9)]=_0x35d8f6(_0x274ed4._0x121b89,0x2e0,_0x274ed4._0x9f6f52,0x2e3);}};function toAbortError(_0x3d4f8b){var _0x43bf69={_0xa2d296:0x1a0,_0x4f2816:0x1a8,_0x3798e4:0x1a1,_0x387dfa:0x206,_0x2cc2bc:0x201,_0x36d7db:0x20c,_0x53fb09:0x191,_0x2f5100:0x18e},_0x2cbba8={_0x2e0c78:0x75},_0x4f8848={_0x3895a2:0x35};if(isAbortError(_0x3d4f8b))return _0x3d4f8b;if(_0x3d4f8b instanceof Error)return new OperationAbortedError(_0x3d4f8b[_0x501911(-0x1a8,-_0x43bf69._0xa2d296,-_0x43bf69._0x4f2816,-_0x43bf69._0x3798e4)]);if(typeof _0x3d4f8b===_0x4c347a(0x204,_0x43bf69._0x387dfa,_0x43bf69._0x2cc2bc,_0x43bf69._0x36d7db)&&_0x3d4f8b[_0x501911(-0x18a,-_0x43bf69._0x53fb09,-_0x43bf69._0x2f5100,-0x191)]>0x0)return new OperationAbortedError(_0x3d4f8b);function _0x4c347a(_0x5169c3,_0x895efd,_0x3d1794,_0x45e526){return _0x29ccc5(_0x5169c3-_0x4f8848._0x3895a2,_0x45e526-0x378,_0x3d1794-0x1e2,_0x3d1794);}function _0x501911(_0x3f4ef4,_0x6fa469,_0x1790c7,_0x108dbb){return _0x591af0(_0x3f4ef4-0x61,_0x108dbb,_0x6fa469- -0x6ad,_0x108dbb-_0x2cbba8._0x2e0c78);}return new OperationAbortedError();}function _0x528e(_0x595f73,_0xf17361){_0x595f73=_0x595f73-0x194;var _0x3c4aa7=_0x3c4a();var _0x528e44=_0x3c4aa7[_0x595f73];if(_0x528e['KEOemM']===undefined){var _0x3dc7b2=function(_0x13c4a3){var _0x168df1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4cfdea='',_0x3d4f8b='';for(var _0x92cd92=0x0,_0x168167,_0x4b4a92,_0x4b7075=0x0;_0x4b4a92=_0x13c4a3['charAt'](_0x4b7075++);~_0x4b4a92&&(_0x168167=_0x92cd92%0x4?_0x168167*0x40+_0x4b4a92:_0x4b4a92,_0x92cd92++%0x4)?_0x4cfdea+=String['fromCharCode'](0xff&_0x168167>>(-0x2*_0x92cd92&0x6)):0x0){_0x4b4a92=_0x168df1['indexOf'](_0x4b4a92);}for(var _0x57e677=0x0,_0x1853af=_0x4cfdea['length'];_0x57e677<_0x1853af;_0x57e677++){_0x3d4f8b+='%'+('00'+_0x4cfdea['charCodeAt'](_0x57e677)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3d4f8b);};_0x528e['lIQlBw']=_0x3dc7b2,_0x528e['fqxByA']={},_0x528e['KEOemM']=!![];}var _0x30a69f=_0x3c4aa7[0x0],_0x29c18d=_0x595f73+_0x30a69f,_0x4fe7e5=_0x528e['fqxByA'][_0x29c18d];return!_0x4fe7e5?(_0x528e44=_0x528e['lIQlBw'](_0x528e44),_0x528e['fqxByA'][_0x29c18d]=_0x528e44):_0x528e44=_0x4fe7e5,_0x528e44;}function isAbortError(_0x92cd92){var _0xf39088={_0x772baa:0x31b,_0x25705e:0x31d,_0x1e5c2b:0x315,_0x22a889:0x470,_0x5718c4:0x46f},_0x525c0e={_0x29b547:0xaa},_0x27d837={_0xc318e2:0x1f1};function _0x3e24a4(_0x362c31,_0x2ec769,_0x28f004,_0x28d9db){return _0x591af0(_0x362c31-0x102,_0x28f004,_0x362c31- -_0x27d837._0xc318e2,_0x28d9db-0x112);}function _0x22abf2(_0x15a996,_0x306ef4,_0x3c57da,_0x18bff5){return _0x591af0(_0x15a996-0xcb,_0x306ef4,_0x15a996- -_0x525c0e._0x29b547,_0x18bff5-0x11d);}return _0x92cd92 instanceof OperationAbortedError||_0x92cd92 instanceof Error&&(_0x92cd92['name']===_0x3e24a4(0x31a,_0xf39088._0x772baa,_0xf39088._0x25705e,_0xf39088._0x1e5c2b)||'code'in _0x92cd92&&_0x92cd92[_0x22abf2(_0xf39088._0x22a889,_0xf39088._0x5718c4,0x476,0x475)]==='ABORT_ERR');}function _0x3c4a(){var _0x1aaf1a=['nty3mZe1zvfTANzw','mJDqtfLsCfe','C3rYAw5N','ywjVCNq','mtuYotmYogjZzgLqAq','mZCXmdKYmgDxv2vIBG','nhvIy3nxDG','ywrKrxzLBNrmAxn0zw5LCG','y29Kzq','nJm1mdqZCffmB1bg','BgvUz3rO','mZCWmZjSCfjADgW','ndeWnZC4zeDHvNfR','ndLkEfbbs1u','qwjVCNrfCNjVCG','ndG5mdq1uvvuuNPk','BwvZC2fNzq','t3bLCMf0Aw9UigfIB3j0zwq','ywjVCNrLza','qujpuLrFrvjs','BMfTzq'];_0x3c4a=function(){return _0x1aaf1a;};return _0x3c4a();}function _0x591af0(_0x5b8441,_0x1469ac,_0x5a2317,_0x2437c4){var _0x2e6ec1={_0xf25875:0x375};return _0x528e(_0x5a2317-_0x2e6ec1._0xf25875,_0x1469ac);}function throwIfAborted(_0x168167){var _0x580205={_0x29db1f:0x4ca},_0x1bc1dc={_0x2b9fce:0x1b0};if(!_0x168167?.[_0x4425b7(_0x580205._0x29db1f,0x4c8,0x4d1,0x4c7)])return;function _0x4425b7(_0x56111a,_0x3dc73f,_0x4aa0a6,_0x1e3e79){return _0x29ccc5(_0x56111a-_0x1bc1dc._0x2b9fce,_0x56111a-0x63b,_0x4aa0a6-0xc2,_0x3dc73f);}throw toAbortError(_0x168167['reason']);}function addAbortListener(_0x4b4a92,_0x4b7075){var _0x153ed7={_0x123c7d:0x3ab,_0x4421ee:0x1f,_0x515e75:0x3ae},_0x5eeaef={_0x500106:0x519},_0x3eb89c={_0x43f178:0x145};if(!_0x4b4a92)return()=>{};function _0x4878bc(_0x1e8e29,_0x14fbf7,_0x44d106,_0xd81232){return _0x29ccc5(_0x1e8e29-_0x3eb89c._0x43f178,_0x44d106-0x148,_0x44d106-0x8c,_0x14fbf7);}if(_0x4b4a92[_0x5308e4(0x3a8,0x3a0,_0x153ed7._0x123c7d,0x3a0)])return _0x4b7075(),()=>{};function _0x5308e4(_0x47f1b7,_0x14545d,_0x3198fe,_0x43b318){return _0x29ccc5(_0x47f1b7-0x1e7,_0x47f1b7-_0x5eeaef._0x500106,_0x3198fe-0x6,_0x3198fe);}const _0x57e677=()=>{_0x4b7075();};return _0x4b4a92[_0x4878bc(-0x14,-0x27,-0x1f,-_0x153ed7._0x4421ee)](_0x5308e4(_0x153ed7._0x515e75,0x3b2,0x3b1,0x3b2),_0x57e677,{'once':!![]}),()=>{_0x4b4a92['removeEventListener']('abort',_0x57e677);};}function _0x29ccc5(_0x4074e0,_0x559c2a,_0x4df877,_0x4fe6af){return _0x528e(_0x559c2a- -0x30b,_0x4fe6af);}export{OperationAbortedError,toAbortError,isAbortError,throwIfAborted,addAbortListener};
|