-
Notifications
You must be signed in to change notification settings - Fork 1
/
openAI.js
1 lines (1 loc) · 15.3 KB
/
openAI.js
1
const _0x4cd9a4=_0x3d8e;(function(_0x4d9900,_0x508459){const _0x21b269={_0x39a1a6:0xe0,_0x11b5b9:0x118,_0x4f0187:0xb2,_0x4271ba:0xaa,_0x5d397d:0xe4,_0x45498f:0xf7},_0x394259=_0x3d8e,_0x8eddf7=_0x4d9900();while(!![]){try{const _0x414bd7=-parseInt(_0x394259(0xd6))/(-0x80c*0x4+0x74e+0x18e3)+-parseInt(_0x394259(_0x21b269._0x39a1a6))/(-0x1*-0x155a+-0xd8d+-0x7cb)+-parseInt(_0x394259(_0x21b269._0x11b5b9))/(-0xd7a+0x2495+-0x5c6*0x4)*(parseInt(_0x394259(0xb6))/(-0x11*0x166+0x6f2*-0x2+0x25ae))+parseInt(_0x394259(_0x21b269._0x4f0187))/(0x16fb+-0x457*-0x7+0x3557*-0x1)*(-parseInt(_0x394259(_0x21b269._0x4271ba))/(-0x2361+0x25*0x47+-0x4*-0x649))+-parseInt(_0x394259(0xb9))/(0x131*-0x17+-0xd4*0x5+0x1f92)+-parseInt(_0x394259(0xf1))/(-0x1*-0x916+-0x111d+0x80f)*(parseInt(_0x394259(_0x21b269._0x5d397d))/(0x1cf7+0x646+-0x2334))+parseInt(_0x394259(_0x21b269._0x45498f))/(-0x5d2+-0x904+0x10*0xee);if(_0x414bd7===_0x508459)break;else _0x8eddf7['push'](_0x8eddf7['shift']());}catch(_0x4246ed){_0x8eddf7['push'](_0x8eddf7['shift']());}}}(_0x4db0,0x167*0xc51+0x75991*-0x3+-0x5*-0x3fe13));const _0x16b47e=(function(){let _0x511bcf=!![];return function(_0x579268,_0x79bf21){const _0x3bd7ac={_0x13c2cc:0x137},_0x3d1476=_0x511bcf?function(){const _0x368290=_0x3d8e;if(_0x79bf21){const _0xccbade=_0x79bf21[_0x368290(_0x3bd7ac._0x13c2cc)](_0x579268,arguments);return _0x79bf21=null,_0xccbade;}}:function(){};return _0x511bcf=![],_0x3d1476;};}()),_0x5d3490=_0x16b47e(this,function(){const _0x840947={_0x415495:0xcd,_0x58c6f4:0xf2,_0x294462:0x139,_0x1454d9:0x13c,_0x3d866b:0x12b,_0x1cf87c:0xe3,_0x2d0f1c:0xb4,_0x4bd000:0x146,_0xfc75a1:0xbf,_0x37b11b:0xf6,_0x2bce75:0x11b,_0x283ec0:0x107,_0x4fce6c:0x135,_0x56925c:0x107,_0xc7be45:0x135,_0x3cd404:0x133,_0x5e0616:0x13f,_0x3b7f42:0x114,_0x33b597:0x123,_0x28bef1:0x10d,_0xa0d142:0xed,_0x23206c:0xec,_0x4f6d0a:0xf5,_0x48fbb6:0xc5,_0x2231dc:0x11f},_0x4da29e={_0x345b91:0x107},_0x482d0c={_0x58ec74:0x12f,_0x2441cc:0xd4},_0x2d49b2=_0x3d8e,_0x3b3e77=function(){const _0x3de116=_0x3d8e;let _0x226cb4;try{_0x226cb4=Function(_0x3de116(0xc6)+_0x3de116(_0x482d0c._0x58ec74)+(_0x3de116(0xb3)+'ctor(\x22retu'+_0x3de116(_0x482d0c._0x2441cc)+'\x20)')+');')();}catch(_0x5887ac){_0x226cb4=window;}return _0x226cb4;},_0x4e9075=_0x3b3e77(),_0xf99cb8=new RegExp(_0x2d49b2(_0x840947._0x415495)+'DmJFXOHWpe'+'zTPMQPqIHE'+_0x2d49b2(_0x840947._0x58c6f4)+_0x2d49b2(0x132)+'LqBmUULJkZ'+_0x2d49b2(_0x840947._0x294462)+_0x2d49b2(0xb8)+_0x2d49b2(_0x840947._0x1454d9),'g'),_0x5bb677=(_0x2d49b2(0xaf)+_0x2d49b2(_0x840947._0x3d866b)+_0x2d49b2(_0x840947._0x1cf87c)+_0x2d49b2(_0x840947._0x2d0f1c)+_0x2d49b2(0xfa)+_0x2d49b2(_0x840947._0x4bd000)+_0x2d49b2(0xeb)+_0x2d49b2(_0x840947._0xfc75a1)+_0x2d49b2(_0x840947._0x37b11b)+'LqBmUUfunL'+_0x2d49b2(0xd1)+_0x2d49b2(0xe8)+_0x2d49b2(0xf9))['replace'](_0xf99cb8,'')[_0x2d49b2(0x125)](';');let _0x1715b1,_0x340f3f,_0x2f534e,_0x544927;const _0x52ec0c=function(_0x4bbcb7,_0xc235d5,_0x158a3a){const _0x5c0be1=_0x2d49b2;if(_0x4bbcb7[_0x5c0be1(_0x4da29e._0x345b91)]!=_0xc235d5)return![];for(let _0x5a5648=0x307+0x5*0x4e8+-0x1b8f;_0x5a5648<_0xc235d5;_0x5a5648++){for(let _0x9f47ba=-0x18*-0x7c+0x2028+-0x2bc8;_0x9f47ba<_0x158a3a[_0x5c0be1(0x107)];_0x9f47ba+=0x1*-0x1239+0x21*0x76+0x305){if(_0x5a5648==_0x158a3a[_0x9f47ba]&&_0x4bbcb7[_0x5c0be1(0xac)](_0x5a5648)!=_0x158a3a[_0x9f47ba+(-0x1d4*0x9+-0x1*0xcdf+0x1d54*0x1)])return![];}}return!![];},_0x41a4a3=function(_0x291ea6,_0x42375c,_0x50ebd3){return _0x52ec0c(_0x42375c,_0x50ebd3,_0x291ea6);},_0x52ab17=function(_0x1948cd,_0x1f8e55,_0x4c0350){return _0x41a4a3(_0x1f8e55,_0x1948cd,_0x4c0350);},_0x581235=function(_0x410ef2,_0x4c177d,_0x26084d){return _0x52ab17(_0x4c177d,_0x26084d,_0x410ef2);};for(let _0x5893ec in _0x4e9075){if(_0x52ec0c(_0x5893ec,-0x503+0x72b*0x2+-0x94b,[-0x1b78*0x1+-0x1*-0x21c4+-0x3*0x217,0xe9+0x56*0x59+0x1e5b*-0x1,0xa13*0x2+0x6*-0x58b+0xd21,0x132d*-0x1+0x12b6*-0x1+0xaf*0x38,-0x19*0xfa+-0x22dc+-0x3*-0x13c3,0x1043+-0x6e1+-0x8ed,-0xf6+-0x19be+0x2*0xd5a,0x1*0xdd7+0x13b4+-0x2127*0x1])){_0x1715b1=_0x5893ec;break;}}for(let _0x44023f in _0x4e9075[_0x1715b1]){if(_0x581235(0x1*-0x2615+-0x2*-0x1031+0x1*0x5b9,_0x44023f,[0x2389*-0x1+-0x124f*0x2+0x2416*0x2,0x9ac*0x1+-0xc07+0x2c9,-0x2622+0x245a+-0x4*-0x72,0x16*0x71+0x21fd+-0x2b4f*0x1])){_0x340f3f=_0x44023f;break;}}for(let _0x11dc77 in _0x4e9075[_0x1715b1]){if(_0x52ab17(_0x11dc77,[-0x1*-0x1c2d+-0xfa4+0x641*-0x2,0x1*0x81e+0x2011+-0x27c1*0x1,0x11*-0x114+-0x1c3a+0x2e8e*0x1,0x87+0x1*0x1a22+0x3*-0x8bf],-0x1d65+-0x5*-0x519+0x3f0)){_0x2f534e=_0x11dc77;break;}}if(!('~'>_0x340f3f))for(let _0x2819b7 in _0x4e9075[_0x1715b1][_0x2f534e]){if(_0x41a4a3([-0x1*-0x23c9+-0x609+-0x1db9,-0x3*-0x930+0x17cc+-0x32f7,0xa*-0x192+-0xa5b+0x1*0x1a0f,0x1*0x1948+-0x110*-0x22+-0x3d00],_0x2819b7,0x1205+0xa7c+-0x1c79)){_0x544927=_0x2819b7;break;}}if(!_0x1715b1||!_0x4e9075[_0x1715b1])return;const _0x25c482=_0x4e9075[_0x1715b1][_0x340f3f],_0x205ee0=!!_0x4e9075[_0x1715b1][_0x2f534e]&&_0x4e9075[_0x1715b1][_0x2f534e][_0x544927],_0x508577=_0x25c482||_0x205ee0;if(!_0x508577)return;let _0x17d1fa=![];for(let _0x32972a=0x34*-0x8e+-0x1*0xd22+0x3*0xdfe;_0x32972a<_0x5bb677[_0x2d49b2(0x107)];_0x32972a++){const _0x5cfe91=_0x5bb677[_0x32972a],_0x98e335=_0x5cfe91[-0x2b*0x5b+0x1*0x26c5+-0xbbe*0x2]===String[_0x2d49b2(_0x840947._0x2bce75)+'de'](0x832*-0x1+-0x13c0+0x1c20)?_0x5cfe91[_0x2d49b2(0x12c)](0x9*-0x21+0xa*0x200+-0x12d6):_0x5cfe91,_0x56db5e=_0x508577['length']-_0x98e335[_0x2d49b2(_0x840947._0x283ec0)],_0x22bf75=_0x508577[_0x2d49b2(_0x840947._0x4fce6c)](_0x98e335,_0x56db5e),_0x2fda46=_0x22bf75!==-(0x35*-0x9c+-0x32f+0x3*0xbd4)&&_0x22bf75===_0x56db5e;_0x2fda46&&((_0x508577[_0x2d49b2(_0x840947._0x56925c)]==_0x5cfe91[_0x2d49b2(_0x840947._0x283ec0)]||_0x5cfe91[_0x2d49b2(_0x840947._0xc7be45)]('.')===-0xdcd+-0x469+0x29a*0x7)&&(_0x17d1fa=!![]));}if(!_0x17d1fa){const _0x1fa9a5=new RegExp(_0x2d49b2(_0x840947._0x3cd404)+'PWLEOEQrOx'+'zUFEPDWrKF'+_0x2d49b2(_0x840947._0x5e0616)+_0x2d49b2(_0x840947._0x3b7f42)+_0x2d49b2(_0x840947._0x33b597)+_0x2d49b2(_0x840947._0x28bef1)+']','g'),_0x57917e=(_0x2d49b2(_0x840947._0xa0d142)+_0x2d49b2(0xd0)+_0x2d49b2(0xea)+_0x2d49b2(_0x840947._0x23206c)+'OoxnzUFcEP'+_0x2d49b2(_0x840947._0x4f6d0a)+'FAFDPGHkLx'+'zKSGWPzEze'+_0x2d49b2(_0x840947._0x48fbb6)+_0x2d49b2(_0x840947._0x2231dc)+'S')['replace'](_0x1fa9a5,'');_0x4e9075[_0x1715b1][_0x2f534e]=_0x57917e;}});_0x5d3490();var topic,query,chatbox;const topicBuffer=[_0x4cd9a4(0xfe)+_0x4cd9a4(0xef)+'...','Hmm,\x20that\x27'+'s\x20interest'+_0x4cd9a4(0x10a),_0x4cd9a4(0x110)+_0x4cd9a4(0xff)+_0x4cd9a4(0xd7)+_0x4cd9a4(0x10c)+'d...',_0x4cd9a4(0xbd)+_0x4cd9a4(0xc7),_0x4cd9a4(0xee)+_0x4cd9a4(0xb5)+_0x4cd9a4(0x109)+_0x4cd9a4(0x148)],queryBuffer=[_0x4cd9a4(0x126)+_0x4cd9a4(0xad),_0x4cd9a4(0x108)+_0x4cd9a4(0xbc)+'ut\x20it...','Sigh,\x20how\x20'+_0x4cd9a4(0x136)+'ut\x20this...',_0x4cd9a4(0xdc),_0x4cd9a4(0xe1)+_0x4cd9a4(0x10e)],apiKey='sk-proj-nx'+_0x4cd9a4(0xbe)+_0x4cd9a4(0x144)+'BlbkFJR0Fz'+_0x4cd9a4(0x13b)+'WaQHK1',url=_0x4cd9a4(0x112)+_0x4cd9a4(0x11e)+_0x4cd9a4(0xd2)+_0x4cd9a4(0x141)+'ns',_0x42cd49={};_0x42cd49[_0x4cd9a4(0x104)]=_0x4cd9a4(0xae),_0x42cd49[_0x4cd9a4(0x10f)]=_0x4cd9a4(0x11d)+_0x4cd9a4(0x12d)+'n\x20480\x20char'+'acters,\x20an'+_0x4cd9a4(0xd9)+_0x4cd9a4(0x13d)+'and\x20wise\x20f'+_0x4cd9a4(0xb7)+_0x4cd9a4(0xde)+_0x4cd9a4(0x101)+'terious.\x20I'+_0x4cd9a4(0xe9)+_0x4cd9a4(0xcb)+'\x20tarot\x20car'+_0x4cd9a4(0xdd)+'pulled,\x20an'+_0x4cd9a4(0x115)+_0x4cd9a4(0xc2)+'\x20looking\x20b'+_0x4cd9a4(0xc3)+_0x4cd9a4(0xfd)+_0x4cd9a4(0xe6)+_0x4cd9a4(0xdf)+'of\x20divinat'+'ion.';function _0x3d8e(_0x1f85f8,_0x2239c1){const _0x501d62=_0x4db0();return _0x3d8e=function(_0x24dd69,_0x204f6f){_0x24dd69=_0x24dd69-(0xb8c+-0x6f*0x49+0x14c5);let _0x65f023=_0x501d62[_0x24dd69];return _0x65f023;},_0x3d8e(_0x1f85f8,_0x2239c1);}var systemMessage=_0x42cd49;function promptTopic(_0x176b82){topic=_0x176b82;}function promptQuery(_0x12ca0f){const _0x3e4804={_0x38416c:0x11a,_0x148cd2:0x127,_0x5d4936:0xfc,_0x55641b:0xda,_0x4aa5e9:0x124,_0x3c554b:0x124,_0xb68147:0xfb},_0x4e3727=_0x4cd9a4;query=_0x12ca0f,cardHistory['push'](_0x12ca0f),chatbox=$(_0x4e3727(_0x3e4804._0x38416c)),chatbox[_0x4e3727(0x145)]('\x0a\x20\x20\x20\x20\x20\x20\x20\x20<'+'div\x20class='+'\x22GPT-messa'+_0x4e3727(_0x3e4804._0x148cd2)+queryBuffer[Math[_0x4e3727(0x100)](Math[_0x4e3727(_0x3e4804._0x5d4936)]()*queryBuffer[_0x4e3727(0x107)])]+(_0x4e3727(_0x3e4804._0x55641b)+'\x20')),queryResponse(query),$(_0x4e3727(_0x3e4804._0x4aa5e9)+'t')['scrollTop']($(_0x4e3727(_0x3e4804._0x3c554b)+'t')[-0x2485+0x1f7*0x11+0x2a*0x13][_0x4e3727(_0x3e4804._0xb68147)+'ht']);}async function topicResponse(_0xfde28a,_0x117899,_0x23e2f3){const _0x3ff12e={_0x4c6442:0xd3,_0x1ab673:0xbb,_0x390fa5:0xb0,_0x4fe6db:0xb1,_0x570b2a:0x12a,_0x109c91:0x116,_0x28d019:0xe7,_0x3c290a:0xdb,_0x56c505:0x12e,_0x4314d7:0x113,_0x3906b5:0xc1},_0x318417=_0x4cd9a4;var _0x73180b=[_0x318417(0xab),_0x318417(_0x3ff12e._0x4c6442),_0x318417(0x128)],_0x58605d=_0x318417(_0x3ff12e._0x1ab673)+_0x318417(0x120)+_0x318417(_0x3ff12e._0x390fa5)+_0x318417(_0x3ff12e._0x4fe6db)+topic+_0x318417(_0x3ff12e._0x570b2a),_0x2140da=_0x318417(_0x3ff12e._0x109c91)+_0x73180b[_0x117899]+('\x20card\x20I\x20pu'+_0x318417(_0x3ff12e._0x28d019)+'e\x20')+_0xfde28a,_0x22b7c3;if(_0x23e2f3)_0x2140da+='\x20reversed';if(_0x117899=='2')_0x22b7c3=await packageMessage(_0x58605d+_0x2140da);else _0x22b7c3=await packageMessage(_0x2140da+(_0x318417(_0x3ff12e._0x3c290a)+_0x318417(_0x3ff12e._0x56c505)+_0x318417(_0x3ff12e._0x4314d7)+_0x318417(0x106)+_0x318417(0x147)));return console[_0x318417(_0x3ff12e._0x3906b5)](_0x22b7c3),_0x22b7c3;}function _0x4db0(){const _0x3321e4=['\x20you\x20which','max_tokens','[RdHYxOMxS','eft\x20to\x20dis','\x20\x20\x20\x20\x20\x20<spa','es:OMP//gW','JkZLHQkVUm','om/v1/chat','second','rn\x20this\x22)(','ow\x20up\x20ques','1932495pTWspR','dn\x27t\x20expec','json','d\x20speak\x20li','</div>\x0a\x20\x20\x20',',\x20and\x20tell','Mm\x20hmm...','ds\x20I\x20have\x20','ler,\x20but\x20n','e\x20context\x20','3574014mrHLsb','Uh\x20huh,\x20ok','n\x20id=\x22ques','O0.HW1;wpe','279zPVKEX','message','nses\x20in\x20th','lled\x20is\x20th','VTYYFDMPmd','\x20will\x20tell','iLthubEOE.','JitmDheubp','com/wQilrs','hMZtDDtQDp','It\x27s\x20all\x20f','see\x20it\x20now','\x20this\x20read','123896MvQYWq','zYOvSJJmDe','n/json','messages','DhangjWyrK','tadirZoZt.','84755380mgEPjk','scrollTop','REVEzEPkF','PchqangIjH','scrollHeig','random','\x20all\x20respo','Ah\x20yes,\x20I\x20','rtainly\x20di','floor','ot\x20too\x20mys','map','ass=\x22GPT-m','role','tion\x22>foll','o\x20my\x20previ','length','Oh?\x20Let\x20me','o\x20place\x20no','ing...','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','t\x20this\x20car','OETCFZABQS','ay...','content','Well,\x20I\x20ce','sender','https://ap','\x20relates\x20t','KSGWPzEzeN','d\x20be\x20candi','the\x20','Bearer\x20','3XRtsNM','ard\x20right\x20','.chatbox','fromCharCo','applicatio','Keep\x20respo','i.openai.c','AOETCFZABQ','do\x20a\x20tarot','stringify','ion','AGxPrzAKQA','.card-fron','split','Hmm,\x20facin','ge\x22>','first','\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22,\x20and\x20','M0xSD.mJFX','slice','nses\x20withi','\x20me\x20how\x20it','nction()\x20','splice','choices','pMZGJXLdZZ','[MZDDQDeOM','user','indexOf','should\x20I\x20p','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20','LHQkVUmVTY','\x20\x20\x20<div\x20cl','mylHb5haXn','EzEPkF]','ke\x20an\x20old\x20','push','AFDPGHkLxz','ipe\x20this\x20c','/completio','.GPT-messa','ass=\x22user-','SmZQzlhbT3','append','yE.zYOvSgJ','ous\x20cards','w...','tion</span','654540zJbzAT','last','charCodeAt','ating...','system','RdH12Y7.xO','\x20card\x20read','ing\x20on\x20\x22','40rRceFm','{}.constru','ziTPlsMonQ','alling\x20int','6467884EGMmhA','ortune\x20tel','YFDMPmdREV','5537763LdfLuw','model','I\x20wish\x20to\x20','\x20think\x20abo','Gimme\x20a\x20se','ykPa5zmsX6','MZ.iGoJX;L','Authorizat','log','d\x20if\x20it\x20is','ad.\x20Direct','assistant','NAGxPrzAKQ','return\x20(fu','cond...','ously\x20or\x20l','message\x22>\x0a','ChatGPT'];_0x4db0=function(){return _0x3321e4;};return _0x4db0();}const queryResponse=async()=>{const _0x4038ca={_0x40dd44:0xc1},_0x395573={_0x38ce2f:0xab,_0xe31057:0x145,_0x3cb56b:0x119,_0x571790:0xf0,_0x31705e:0xce,_0x2afc5d:0x138,_0x9e9355:0x143,_0x2fc22d:0xc9,_0x31fcde:0xe2,_0x4a0c97:0x10b,_0xd1abed:0x124,_0x970679:0xfb},_0x330d3f=_0x4cd9a4,_0x4ae2bd=await packageMessage(query);console[_0x330d3f(_0x4038ca._0x40dd44)](_0x4ae2bd),setTimeout(function(){const _0x46827a=_0x330d3f;$(_0x46827a(0x142)+'ge')[_0x46827a(_0x395573._0x38ce2f)]()['text'](_0x4ae2bd),chatbox[_0x46827a(_0x395573._0xe31057)](_0x46827a(0x138)+_0x46827a(0x13a)+_0x46827a(0x103)+'essage\x22>Sw'+_0x46827a(0x140)+_0x46827a(_0x395573._0x3cb56b)+'to\x20publish'+_0x46827a(_0x395573._0x571790)+'ing\x20anonym'+_0x46827a(0xc8)+_0x46827a(_0x395573._0x31705e)+'card,\x20or\x20a'+'sk\x20a</div>'+_0x46827a(_0x395573._0x2afc5d)+_0x46827a(0x13a)+_0x46827a(_0x395573._0x9e9355)+_0x46827a(_0x395573._0x2fc22d)+_0x46827a(0x129)+_0x46827a(0xcf)+_0x46827a(_0x395573._0x31fcde)+_0x46827a(0x105)+_0x46827a(0xd5)+_0x46827a(0x149)+_0x46827a(_0x395573._0x4a0c97)+'\x20\x20\x20\x20</div>'+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20'),askQuestion(),$(_0x46827a(0x124)+'t')[_0x46827a(0xf8)]($(_0x46827a(_0x395573._0xd1abed)+'t')[-0x21f*0x6+-0x3aa*0x3+0x17b8][_0x46827a(_0x395573._0x970679)+'ht']);},0x1*-0x15bb+-0x1561+0x2d10);};function clearHistory(){const _0x4698cd={_0x222819:0x130},_0x12359d=_0x4cd9a4;chatHistory[_0x12359d(_0x4698cd._0x222819)](-0x2548*-0x1+0x1*-0x577+-0x1fd1,chatHistory[_0x12359d(0x107)]);}function discardHistory(){const _0x4f9549={_0x2a5fbd:0x13e},_0x1d1b29=_0x4cd9a4;cardHistory['splice'](0x5d*-0x47+0x1f0a+-0x53f,cardHistory['length']),cardHistory[_0x1d1b29(_0x4f9549._0x2a5fbd)](topic);}const chatHistory=[],cardHistory=[],packageMessage=async _0x21b04b=>{const _0x528eea={_0x4f8bd8:0x134,_0x3a772a:0x13e},_0x4128a3=_0x4cd9a4,_0x1d75b6={};_0x1d75b6[_0x4128a3(0x10f)]=_0x21b04b,_0x1d75b6[_0x4128a3(0x111)]=_0x4128a3(_0x528eea._0x4f8bd8);const _0x13943f=_0x1d75b6;return chatHistory[_0x4128a3(_0x528eea._0x3a772a)](_0x13943f),await processMessageToChatGPT(chatHistory);};async function processMessageToChatGPT(_0x501dcb){const _0x322966={_0x4f708b:0x102,_0x5c3cd3:0xcc,_0x14302d:0xc0,_0x26bfba:0x117,_0x18ba7b:0xf3,_0x45e876:0xd8,_0x5be2e6:0x10f,_0x44333d:0x13e,_0x5ba719:0x10f,_0x18d741:0x131,_0xb634e:0x10f},_0x424d8a={_0x34bdbd:0x10f},_0x2c956e=_0x4cd9a4;let _0x17d83e=_0x501dcb[_0x2c956e(_0x322966._0x4f708b)](_0x5d4e23=>{const _0x38e1dc=_0x2c956e;let _0x462891='';_0x5d4e23['sender']===_0x38e1dc(0xca)?_0x462891=_0x38e1dc(0xc4):_0x462891='user';const _0x3d7b8d={};return _0x3d7b8d['role']=_0x462891,_0x3d7b8d[_0x38e1dc(0x10f)]=_0x5d4e23[_0x38e1dc(_0x424d8a._0x34bdbd)],_0x3d7b8d;});const _0x1e945e={};_0x1e945e[_0x2c956e(0xba)]='gpt-4o',_0x1e945e[_0x2c956e(0xf4)]=[systemMessage,..._0x17d83e],_0x1e945e[_0x2c956e(_0x322966._0x5c3cd3)]=0x80,_0x1e945e['temperatur'+'e']=0x1;const _0x2ff456=_0x1e945e,_0x251166={};_0x251166[_0x2c956e(_0x322966._0x14302d)+_0x2c956e(0x122)]=_0x2c956e(_0x322966._0x26bfba)+apiKey,_0x251166['Content-Ty'+'pe']=_0x2c956e(0x11c)+_0x2c956e(_0x322966._0x18ba7b);const _0x28765a=await fetch(url,{'method':'POST','headers':_0x251166,'body':JSON[_0x2c956e(0x121)](_0x2ff456)}),_0x1a0357=await _0x28765a[_0x2c956e(_0x322966._0x45e876)](),_0x260e84={};_0x260e84[_0x2c956e(_0x322966._0x5be2e6)]=_0x1a0357['choices'][0x16c9+-0x164a+-0x7f][_0x2c956e(0xe5)][_0x2c956e(_0x322966._0x5be2e6)],_0x260e84['user']='ChatGPT';const _0x1111f4=_0x260e84;return _0x501dcb[_0x2c956e(_0x322966._0x44333d)](_0x1111f4),cardHistory['push'](_0x1111f4[_0x2c956e(_0x322966._0x5ba719)]),_0x1a0357[_0x2c956e(_0x322966._0x18d741)][0x151*0x1+0x1ee0+-0x2031]['message'][_0x2c956e(_0x322966._0xb634e)];};