Eleeter commited on
Commit ·
ecbb3e8
1
Parent(s): 8ddd3fc
update files
Browse files- public/js/api.js +1 -1
- public/js/main.js +1 -1
- public/js/queue.js +1 -1
- public/js/scene.js +1 -1
- public/js/ui.js +1 -1
- server/config.js +1 -1
- server/index.js +1 -1
- server/middleware/auth.js +1 -1
- server/middleware/rateLimit.js +1 -1
- server/routes/analyze.js +1 -1
- server/routes/auth.js +1 -1
- server/routes/status.js +1 -1
- server/services/aiService.js +1 -1
- server/services/brainService.js +1 -1
- server/services/keyRotator.js +1 -1
- server/services/logCompactor.js +1 -1
- server/services/queue.js +1 -1
- server/services/userLimiter.js +1 -1
public/js/api.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
function _0xdf95(_0x2d02ef,_0x54a7c6){_0x2d02ef=_0x2d02ef-(-0x14c*-0x11+0x1781+0xb38*-0x4);const _0x4a1c10=_0x33c6();let _0x1eef4e=_0x4a1c10[_0x2d02ef];return _0x1eef4e;}const _0x19fd41=_0xdf95;(function(_0x2a6665,_0x20a8fb){const _0x11d254=_0xdf95,_0x222db7=_0x2a6665();while(!![]){try{const _0x1a2207=-parseInt(_0x11d254(0xc9))/(-0x345*0x1+-0x876+0xbbc)*(parseInt(_0x11d254(0xbf))/(0x1*0x7c6+0x2527+-0x2ceb))+parseInt(_0x11d254(0xaf))/(0x1936+0x1*-0x15b7+-0x4*0xdf)*(-parseInt(_0x11d254(0xbd))/(0x2c*-0x4e+-0x1*-0x17f3+-0xa87))+-parseInt(_0x11d254(0xca))/(0x5f5+0x1ae3+-0x20d3)*(parseInt(_0x11d254(0xbe))/(0x1239*0x2+0x66f+-0x2adb))+parseInt(_0x11d254(0xb0))/(-0x43*-0x12+0x1a*-0x172+-0x191*-0x15)+parseInt(_0x11d254(0xb3))/(0x19a8*-0x1+-0x1*-0xa7+-0x179*-0x11)*(parseInt(_0x11d254(0xc1))/(0x197c+-0x1*0x2407+0xa94))+parseInt(_0x11d254(0xb1))/(-0x131*0x5+0x941*0x4+-0xa57*0x3)*(parseInt(_0x11d254(0xae))/(-0x2*0x9d7+0x5da+-0x1*-0xddf))+parseInt(_0x11d254(0xb7))/(-0x15b3+-0x97*-0x5+0x12cc);if(_0x1a2207===_0x20a8fb)break;else _0x222db7['push'](_0x222db7['shift']());}catch(_0x3f5557){_0x222db7['push'](_0x222db7['shift']());}}}(_0x33c6,0x14e7*-0x103+0x2*-0x25c39+0x26940b));function _0x33c6(){const _0xd821c2=['pjwyy','769491YXGyzS','json','Server\x20error\x20','Poll\x20error\x20','status','POST','CDkAG','/api/analyze','29476atNLVa','117265Aanxof','AQqiE','6492673YQpRpe','3812601AbvIzp','6343281LKsono','10MEUqTI','stringify','88kGkSMi','RteAm','/api/status','application/json','11133048auIekw','jobId','gEaUW','error','SwFzO','Failed\x20to\x20fetch\x20server\x20status','4VRzkLl','36osSiUe','76dqKzVx'];_0x33c6=function(){return _0xd821c2;};return _0x33c6();}const ANALYZE_ENDPOINT=_0x19fd41(0xc8),STATUS_ENDPOINT=_0x19fd41(0xb5),submitCrashLog=async _0x1702a7=>{const _0x129fa5=_0x19fd41,_0x24d065={'SwFzO':function(_0x307575,_0x38456a,_0x37158b){return _0x307575(_0x38456a,_0x37158b);},'AQqiE':_0x129fa5(0xc6),'gEaUW':_0x129fa5(0xb6)},_0x218881=await _0x24d065[_0x129fa5(0xbb)](fetch,ANALYZE_ENDPOINT,{'method':_0x24d065[_0x129fa5(0xad)],'headers':{'Content-Type':_0x24d065[_0x129fa5(0xb9)]},'body':JSON[_0x129fa5(0xb2)]({'messages':_0x1702a7})}),_0xcc13e7=await _0x218881[_0x129fa5(0xc2)]();if(!_0x218881['ok'])throw new Error(_0xcc13e7[_0x129fa5(0xba)]||_0x129fa5(0xc3)+_0x218881[_0x129fa5(0xc5)]);return _0xcc13e7[_0x129fa5(0xb8)];},pollJobStatus=async _0x49e779=>{const _0x4462fb=_0x19fd41,_0x56d600={'pjwyy':function(_0x4856f3,_0x342df3){return _0x4856f3(_0x342df3);}},_0x49ba80=await _0x56d600[_0x4462fb(0xc0)](fetch,STATUS_ENDPOINT+'/'+_0x49e779),_0x27eb30=await _0x49ba80[_0x4462fb(0xc2)]();if(!_0x49ba80['ok'])throw new Error(_0x27eb30[_0x4462fb(0xba)]||_0x4462fb(0xc4)+_0x49ba80[_0x4462fb(0xc5)]);return _0x27eb30;},fetchServerStatus=async()=>{const _0x7aa618=_0x19fd41,_0x49ba64={'RteAm':function(_0x1c8fea,_0x3b2964){return _0x1c8fea(_0x3b2964);},'CDkAG':_0x7aa618(0xbc)},_0x51ec53=await _0x49ba64[_0x7aa618(0xb4)](fetch,STATUS_ENDPOINT);if(!_0x51ec53['ok'])throw new Error(_0x49ba64[_0x7aa618(0xc7)]);return _0x51ec53[_0x7aa618(0xc2)]();};export{submitCrashLog,pollJobStatus,fetchServerStatus};
|
public/js/main.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const _0x3566fc=_0x576e;(function(_0x4075be,_0x35071b){const _0x48b7fe=_0x576e,_0x79f496=_0x4075be();while(!![]){try{const _0x3e2b8a=parseInt(_0x48b7fe(0xdf))/(-0x20d7+-0xef8+0x2fd0)+parseInt(_0x48b7fe(0x127))/(-0x26a9+-0x3fb*0x1+0x6a*0x67)+parseInt(_0x48b7fe(0xfb))/(0x1f9f*-0x1+0xa2e+-0x55d*-0x4)*(parseInt(_0x48b7fe(0xea))/(0x19ad+0x154a+-0x2ef3))+-parseInt(_0x48b7fe(0x130))/(-0x2c6*0x7+-0x1f8+0x1567)+-parseInt(_0x48b7fe(0x115))/(-0x93*-0x43+0x1*-0x1d9f+0x4*-0x235)+-parseInt(_0x48b7fe(0xcd))/(0x1cac+0xf05*0x2+-0xb5*0x53)*(-parseInt(_0x48b7fe(0xee))/(0x1*-0x2519+0x3cc*-0xa+0x19*0x301))+-parseInt(_0x48b7fe(0xd6))/(-0x11*-0x1b5+0x4d*0x12+-0x2266)*(parseInt(_0x48b7fe(0xc6))/(-0x14dd*0x1+-0x19f4+-0x5*-0x95f));if(_0x3e2b8a===_0x35071b)break;else _0x79f496['push'](_0x79f496['shift']());}catch(_0x1b2e22){_0x79f496['push'](_0x79f496['shift']());}}}(_0x120a,-0xfa9*-0x56+-0x47263*0x1+0x71*0x10b1));import{submitCrashLog}from'./api.js';import{waitForJob,buildQueueMessage}from'./queue.js';function _0x120a(){const _0x317ca9=['2905147psFTwv','ITZmH','sidebar-closed','eUJha','theme-text','oBvtF','focus','crCYI','atqKB','3016539ShpoIF','Yluhx','MdHJO','sidebar-closed-init','LTiAd','key','user','GnypW','preventDefault','66539MzVQML','Queued...','bACrl','data','UxkfC','forEach','gHtOc','aVGZY','JjChD','RJgEY','dEtAz','65636byATED','stopPropagation','light-theme','btn-sidebar-signin','8DLuhpy','TkHEp','Tdiip','TZrvL','click','dark','Submitting...','RisSk','FjOlV','Something\x20went\x20wrong.\x20Please\x20try\x20again.','IScEm','shiftKey','ShceS','141CjacbC','Please\x20enter\x20a\x20valid\x20message.','style','type','crashlens-theme','Enter','THREE','welcomeScreen','UFxzk','esQdi','remove','XygTg','contains','flex','aqKSO','RcZcc','add','pqLdM','btn-toggle-sidebar','FdJSR','disabled','analysis','CZzIY','bnPLB','Switch\x20to\x20Light\x20Mode','aFZQb','1015596KCAzNq','FZErP','Euczg','text','push','kRvxJ','znufL','btn-new-analysis','querySelectorAll','vmFLL','getElementById','pGgHP','sllcX','model','crashlens-sidebar-closed','light','result','vvOsd','398712iHSvON','btn-theme-toggle','display','setItem','FmghL','length','rawText','profile-dropdown','ByaTP','2057530YOmUAG','KxNzB','PXGdk','crashLogInput','DBOcx','destroy','jnaYP','IZNoN','ZKRqB','pLgZP','.message-row','YqvXf','analyzeButton','aarZr','ThQOJ','nMgDb','RwfnX','message','getItem','Login\x20is\x20coming\x20soon\x20—\x20stay\x20tuned.','DOMContentLoaded','IyQYi','classList','target','btn-profile-menu','Analysis\x20finished\x20but\x20no\x20result\x20was\x20returned.','app-container','gpbni','addEventListener','XGECR','open','ExUcf','keydown','zHwRQ','toggle','10ngaCCM','fWsLE','eeJTh','textContent','yhanI','Switch\x20to\x20Dark\x20Mode','documentElement'];_0x120a=function(){return _0x317ca9;};return _0x120a();}function _0x576e(_0x44dfc7,_0x3442eb){_0x44dfc7=_0x44dfc7-(-0x1b89+0x4c*0x23+0x11d2);const _0x262ae9=_0x120a();let _0x51b873=_0x262ae9[_0x44dfc7];return _0x51b873;}import{createLoadingSpinner}from'./scene.js';import{el,initAutoResize,getCrashLogValue,clearCrashLogInput,setAnalyzeButtonLoading,showQueueBar,hideQueueBar,appendUserMessage,appendLoadingMessage,removeLoadingMessage,appendAiMessage,appendAiChatMessage,addHistoryItem,scrollToElement,showError}from'./ui.js';const MIN_LOG_LENGTH=-0x2ef*-0x7+-0x1*-0x1cf6+-0x317d;let currentSpinner=null,currentChatHistory=[];const initTheme=()=>{const _0x26b5db=_0x576e,_0x2e7151={'RJgEY':_0x26b5db(0xec),'esQdi':_0x26b5db(0xcb),'IScEm':_0x26b5db(0x113),'vmFLL':_0x26b5db(0xf3),'gHtOc':_0x26b5db(0x124),'YqvXf':_0x26b5db(0xff),'ThQOJ':function(_0x2d295b,_0x518901){return _0x2d295b(_0x518901);},'Yluhx':function(_0x47696f,_0x3ae030){return _0x47696f===_0x3ae030;},'TkHEp':_0x26b5db(0x12e),'jnaYP':_0x26b5db(0xc1),'TZrvL':_0x26b5db(0x128),'pLgZP':_0x26b5db(0xd1),'RcZcc':_0x26b5db(0xf2)},_0x3a1506=document[_0x26b5db(0x11f)](_0x2e7151[_0x26b5db(0xf1)]),_0x3449ee=document[_0x26b5db(0x11f)](_0x2e7151[_0x26b5db(0x139)]),_0x553a41=_0x176bc7=>{const _0x392c1f=_0x26b5db;if(_0x176bc7){document[_0x392c1f(0xcc)][_0x392c1f(0xb9)][_0x392c1f(0x10b)](_0x2e7151[_0x392c1f(0xe8)]);if(_0x3449ee)_0x3449ee[_0x392c1f(0xc9)]=_0x2e7151[_0x392c1f(0x104)];}else{document[_0x392c1f(0xcc)][_0x392c1f(0xb9)][_0x392c1f(0x105)](_0x2e7151[_0x392c1f(0xe8)]);if(_0x3449ee)_0x3449ee[_0x392c1f(0xc9)]=_0x2e7151[_0x392c1f(0xf8)];}},_0x13824c=_0x2e7151[_0x26b5db(0xd7)](localStorage[_0x26b5db(0xb5)](_0x2e7151[_0x26b5db(0xae)]),_0x2e7151[_0x26b5db(0xe5)]);_0x2e7151[_0x26b5db(0xb1)](_0x553a41,_0x13824c),_0x3a1506&&_0x3a1506[_0x26b5db(0xbf)](_0x2e7151[_0x26b5db(0x10a)],()=>{const _0x3b80c2=_0x26b5db,_0x1ffe94=document[_0x3b80c2(0xcc)][_0x3b80c2(0xb9)][_0x3b80c2(0x107)](_0x2e7151[_0x3b80c2(0xe8)]),_0x41311a=_0x1ffe94?_0x2e7151[_0x3b80c2(0x11e)]:_0x2e7151[_0x3b80c2(0xe5)];localStorage[_0x3b80c2(0x12a)](_0x2e7151[_0x3b80c2(0xae)],_0x41311a),_0x2e7151[_0x3b80c2(0xb1)](_0x553a41,_0x2e7151[_0x3b80c2(0xd7)](_0x41311a,_0x2e7151[_0x3b80c2(0xe5)])),document[_0x3b80c2(0x11f)](_0x2e7151[_0x3b80c2(0xef)])[_0x3b80c2(0xb9)][_0x3b80c2(0x105)](_0x2e7151[_0x3b80c2(0x136)]);});},initSidebarAndDropdown=()=>{const _0x37c9d3=_0x576e,_0x22d588={'DBOcx':_0x37c9d3(0xd9),'ITZmH':_0x37c9d3(0xcf),'eeJTh':_0x37c9d3(0x123),'aarZr':_0x37c9d3(0xc1),'IZNoN':_0x37c9d3(0x10d),'Tdiip':_0x37c9d3(0xbd),'eUJha':function(_0x4f9542,_0x5d3b20,_0x1eabb0){return _0x4f9542(_0x5d3b20,_0x1eabb0);},'dEtAz':_0x37c9d3(0xf2),'FjOlV':_0x37c9d3(0xbb),'CZzIY':_0x37c9d3(0x12e),'IyQYi':function(_0x5d09dc,_0x57e75a){return _0x5d09dc&&_0x57e75a;}},_0x8688bb=document[_0x37c9d3(0x11f)](_0x22d588[_0x37c9d3(0x137)]),_0x178be9=document[_0x37c9d3(0x11f)](_0x22d588[_0x37c9d3(0xf0)]);_0x22d588[_0x37c9d3(0xd0)](setTimeout,()=>{const _0x5d09ca=_0x37c9d3;_0x178be9[_0x5d09ca(0xb9)][_0x5d09ca(0x105)](_0x22d588[_0x5d09ca(0x134)]);},0x656*0x2+-0x1*-0xcb7+-0x1*0x1931);_0x8688bb&&_0x8688bb[_0x37c9d3(0xbf)](_0x22d588[_0x37c9d3(0xe9)],()=>{const _0x308f3d=_0x37c9d3,_0x21433e=_0x178be9[_0x308f3d(0xb9)][_0x308f3d(0xc5)](_0x22d588[_0x308f3d(0xce)]);localStorage[_0x308f3d(0x12a)](_0x22d588[_0x308f3d(0xc8)],_0x21433e);});const _0x3ea31c=document[_0x37c9d3(0x11f)](_0x22d588[_0x37c9d3(0xf6)]),_0x4d210e=document[_0x37c9d3(0x11f)](_0x22d588[_0x37c9d3(0x111)]);_0x22d588[_0x37c9d3(0xb8)](_0x3ea31c,_0x4d210e)&&(_0x3ea31c[_0x37c9d3(0xbf)](_0x22d588[_0x37c9d3(0xe9)],_0x54f0c7=>{const _0x19c64e=_0x37c9d3;_0x54f0c7[_0x19c64e(0xeb)](),_0x4d210e[_0x19c64e(0xb9)][_0x19c64e(0xc5)](_0x22d588[_0x19c64e(0xb0)]);}),document[_0x37c9d3(0xbf)](_0x22d588[_0x37c9d3(0xe9)],_0x42c45a=>{const _0x46ce52=_0x37c9d3;!_0x4d210e[_0x46ce52(0x107)](_0x42c45a[_0x46ce52(0xba)])&&!_0x3ea31c[_0x46ce52(0x107)](_0x42c45a[_0x46ce52(0xba)])&&_0x4d210e[_0x46ce52(0xb9)][_0x46ce52(0x105)](_0x22d588[_0x46ce52(0xb0)]);}));},runAnalysis=async()=>{const _0x56af46=_0x576e,_0x2cc328={'PXGdk':function(_0x1507e1,_0x186059){return _0x1507e1(_0x186059);},'gpbni':function(_0x2b6a93){return _0x2b6a93();},'XGECR':function(_0x20cefd,_0x1ef774){return _0x20cefd<_0x1ef774;},'MdHJO':function(_0x5e3527,_0x5c7725){return _0x5e3527(_0x5c7725);},'KxNzB':_0x56af46(0xfc),'fWsLE':function(_0x13b8c4,_0x43be11){return _0x13b8c4(_0x43be11);},'XygTg':function(_0x34c9ab,_0x18b59c){return _0x34c9ab(_0x18b59c);},'crCYI':_0x56af46(0xdc),'JjChD':function(_0x245ce2,_0xa07321){return _0x245ce2(_0xa07321);},'GnypW':function(_0x425d49,_0x157cb0){return _0x425d49(_0x157cb0);},'bnPLB':_0x56af46(0xf4),'nMgDb':function(_0x105564,_0x1f1748){return _0x105564(_0x1f1748);},'ExUcf':function(_0x4f38ec,_0x42444b){return _0x4f38ec(_0x42444b);},'FmghL':_0x56af46(0xe0),'bACrl':function(_0x5c88a9,_0x7a369b,_0x3efa6d){return _0x5c88a9(_0x7a369b,_0x3efa6d);},'yhanI':_0x56af46(0xbc),'vvOsd':_0x56af46(0x122),'sllcX':function(_0x2d1e18,_0x5f0bfa){return _0x2d1e18===_0x5f0bfa;},'UFxzk':_0x56af46(0x110),'UxkfC':function(_0x1ae5c0,_0x49fce6){return _0x1ae5c0(_0x49fce6);},'aqKSO':function(_0x18a41e,_0x2c1ce2){return _0x18a41e<=_0x2c1ce2;},'atqKB':_0x56af46(0xf7),'aVGZY':function(_0x4ecd00,_0x1c1849){return _0x4ecd00(_0x1c1849);}},_0x30ae7a=_0x2cc328[_0x56af46(0xbe)](getCrashLogValue);if(_0x2cc328[_0x56af46(0xc0)](_0x30ae7a[_0x56af46(0x12c)],MIN_LOG_LENGTH)){_0x2cc328[_0x56af46(0xd8)](showError,_0x2cc328[_0x56af46(0x131)]);return;}_0x2cc328[_0x56af46(0xc7)](setAnalyzeButtonLoading,!![]),_0x2cc328[_0x56af46(0x106)](appendUserMessage,_0x30ae7a),_0x2cc328[_0x56af46(0xbe)](clearCrashLogInput),currentChatHistory[_0x56af46(0x119)]({'role':_0x2cc328[_0x56af46(0xd4)],'content':_0x30ae7a});const _0x12ccc1=_0x2cc328[_0x56af46(0xbe)](appendLoadingMessage);window[_0x56af46(0x101)]&&(currentSpinner=_0x2cc328[_0x56af46(0xe7)](createLoadingSpinner,_0x12ccc1));_0x2cc328[_0x56af46(0xdd)](showQueueBar,_0x2cc328[_0x56af46(0x112)]);try{const _0x1ae44c=await _0x2cc328[_0x56af46(0xb2)](submitCrashLog,currentChatHistory);_0x2cc328[_0x56af46(0xc2)](showQueueBar,_0x2cc328[_0x56af46(0x12b)]);const _0x261f0f=await _0x2cc328[_0x56af46(0xe1)](waitForJob,_0x1ae44c,_0x1fab11=>{const _0x304466=_0x56af46;_0x2cc328[_0x304466(0x132)](showQueueBar,_0x2cc328[_0x304466(0x132)](buildQueueMessage,_0x1fab11));});if(!_0x261f0f[_0x56af46(0x125)])throw new Error(_0x2cc328[_0x56af46(0xca)]);if(currentSpinner)currentSpinner[_0x56af46(0x135)]();_0x2cc328[_0x56af46(0xbe)](removeLoadingMessage);const _0x35b050=_0x261f0f[_0x56af46(0x125)];currentChatHistory[_0x56af46(0x119)]({'role':_0x2cc328[_0x56af46(0x126)],'content':_0x35b050[_0x56af46(0x12d)]});let _0x51d990;_0x2cc328[_0x56af46(0x121)](_0x35b050[_0x56af46(0xfe)],_0x2cc328[_0x56af46(0x103)])?(_0x51d990=_0x2cc328[_0x56af46(0xe3)](appendAiMessage,_0x35b050[_0x56af46(0xe2)]),_0x2cc328[_0x56af46(0x109)](currentChatHistory[_0x56af46(0x12c)],0x125f+-0x1663+0xce*0x5)&&_0x2cc328[_0x56af46(0xe1)](addHistoryItem,_0x35b050[_0x56af46(0xe2)],()=>scrollToElement(_0x51d990))):_0x51d990=_0x2cc328[_0x56af46(0xd8)](appendAiChatMessage,_0x35b050[_0x56af46(0x118)]);}catch(_0x55fd2b){if(currentSpinner)currentSpinner[_0x56af46(0x135)]();_0x2cc328[_0x56af46(0xbe)](removeLoadingMessage),_0x2cc328[_0x56af46(0xb2)](showError,_0x55fd2b[_0x56af46(0xb4)]||_0x2cc328[_0x56af46(0xd5)]);}finally{_0x2cc328[_0x56af46(0xbe)](hideQueueBar),_0x2cc328[_0x56af46(0xe6)](setAnalyzeButtonLoading,![]);}},bindEvents=()=>{const _0x2c3d0c=_0x576e,_0x48c531={'kRvxJ':function(_0x8a825d,_0x5a9bcb){return _0x8a825d===_0x5a9bcb;},'Euczg':_0x2c3d0c(0x100),'aFZQb':function(_0x37d7ce){return _0x37d7ce();},'FdJSR':_0x2c3d0c(0x12e),'znufL':_0x2c3d0c(0xc1),'LTiAd':function(_0x10718b,_0xa9dab5){return _0x10718b(_0xa9dab5);},'pqLdM':_0x2c3d0c(0xb6),'RwfnX':_0x2c3d0c(0xad),'RisSk':_0x2c3d0c(0x108),'oBvtF':_0x2c3d0c(0xf2),'FZErP':_0x2c3d0c(0xc3),'ShceS':_0x2c3d0c(0xed),'pGgHP':_0x2c3d0c(0x11c)};el[_0x2c3d0c(0xaf)]()[_0x2c3d0c(0xbf)](_0x48c531[_0x2c3d0c(0xd2)],runAnalysis),el[_0x2c3d0c(0x133)]()[_0x2c3d0c(0xbf)](_0x48c531[_0x2c3d0c(0x116)],_0x52e704=>{const _0x21711f=_0x2c3d0c;_0x48c531[_0x21711f(0x11a)](_0x52e704[_0x21711f(0xdb)],_0x48c531[_0x21711f(0x117)])&&!_0x52e704[_0x21711f(0xf9)]&&(_0x52e704[_0x21711f(0xde)](),!el[_0x21711f(0xaf)]()[_0x21711f(0x10f)]&&_0x48c531[_0x21711f(0x114)](runAnalysis));});const _0x101858=document[_0x2c3d0c(0x11f)](_0x48c531[_0x2c3d0c(0xfa)]);_0x101858&&_0x101858[_0x2c3d0c(0xbf)](_0x48c531[_0x2c3d0c(0xd2)],()=>{const _0xedff43=_0x2c3d0c;document[_0xedff43(0x11f)](_0x48c531[_0xedff43(0x10e)])[_0xedff43(0xb9)][_0xedff43(0x105)](_0x48c531[_0xedff43(0x11b)]),_0x48c531[_0xedff43(0xda)](showError,_0x48c531[_0xedff43(0x10c)]);}),document[_0x2c3d0c(0x11f)](_0x48c531[_0x2c3d0c(0x120)])[_0x2c3d0c(0xbf)](_0x48c531[_0x2c3d0c(0xd2)],()=>{const _0x150bb9=_0x2c3d0c;_0x48c531[_0x150bb9(0x114)](clearCrashLogInput),el[_0x150bb9(0x133)]()[_0x150bb9(0xd3)]();const _0x7ab00d=document[_0x150bb9(0x11d)](_0x48c531[_0x150bb9(0xb3)]);_0x7ab00d[_0x150bb9(0xe4)](_0x3c7ee7=>_0x3c7ee7[_0x150bb9(0x105)]()),currentChatHistory=[];const _0x509baf=el[_0x150bb9(0x102)]();if(_0x509baf)_0x509baf[_0x150bb9(0xfd)][_0x150bb9(0x129)]=_0x48c531[_0x150bb9(0xf5)];});},init=()=>{const _0x1f5c87=_0x576e,_0x54fd9d={'ZKRqB':function(_0x27df34){return _0x27df34();},'ByaTP':function(_0x29b730){return _0x29b730();},'zHwRQ':function(_0x15b62c){return _0x15b62c();}};_0x54fd9d[_0x1f5c87(0x138)](initTheme),_0x54fd9d[_0x1f5c87(0x12f)](initSidebarAndDropdown),_0x54fd9d[_0x1f5c87(0xc4)](initAutoResize),_0x54fd9d[_0x1f5c87(0x12f)](bindEvents);};document[_0x3566fc(0xbf)](_0x3566fc(0xb7),init);
|
|
|
|
| 1 |
+
const _0x4e8af7=_0x40c3;(function(_0x29c66b,_0x17b1e5){const _0x14acb7=_0x40c3,_0x9ffea2=_0x29c66b();while(!![]){try{const _0x4f40ca=-parseInt(_0x14acb7(0x211))/(-0x57*-0xd+-0xc72*0x3+0x20ec)+parseInt(_0x14acb7(0x20b))/(-0x3*-0x7c7+0x22fb*-0x1+0xba8)+parseInt(_0x14acb7(0x1d1))/(0x1640+0x14d9+0x44f*-0xa)+parseInt(_0x14acb7(0x205))/(0x1*0x54e+-0x6*0x55d+0x6b9*0x4)*(parseInt(_0x14acb7(0x244))/(-0x7ab*0x2+0x129f+-0x344*0x1))+parseInt(_0x14acb7(0x21c))/(0x56d*-0x5+0xe*0x102+0x15*0x9f)+-parseInt(_0x14acb7(0x1d5))/(0xf74+-0x2*0x7a7+-0x1f)*(parseInt(_0x14acb7(0x255))/(0x2f5*0xb+-0x2694+0x615))+-parseInt(_0x14acb7(0x230))/(-0xd*0x1a5+-0x157c+0x1*0x2ae6);if(_0x4f40ca===_0x17b1e5)break;else _0x9ffea2['push'](_0x9ffea2['shift']());}catch(_0x5e86e4){_0x9ffea2['push'](_0x9ffea2['shift']());}}}(_0x2dbd,-0xee76+-0x52938+-0x136*-0x764));import{submitCrashLog}from'./api.js';import{waitForJob,buildQueueMessage}from'./queue.js';import{createLoadingSpinner}from'./scene.js';import{el,initAutoResize,getCrashLogValue,clearCrashLogInput,setAnalyzeButtonLoading,showQueueBar,hideQueueBar,appendUserMessage,appendLoadingMessage,removeLoadingMessage,appendAiMessage,appendAiChatMessage,addHistoryItem,scrollToElement,showError}from'./ui.js';const MIN_LOG_LENGTH=-0x121c+0x21e8+-0x2b*0x5e;let currentSpinner=null,currentChatHistory=[];function _0x2dbd(){const _0x25e6da=['ARnNn','UAHaP','forEach','btn-toggle-sidebar','crashlens-sidebar-closed','CkAuZ','focus','AmTdJ','InnGa','btn-new-analysis','2306187kCHtix','Vjmet','nGQse','querySelectorAll','sidebar-closed-init','Login\x20is\x20coming\x20soon\x20—\x20stay\x20tuned.','remove','XGUfJ','Queued...','WDGBp','awDaK','dRpJR','target','dark','analysis','keydown','hyiDB','cONZK','click','VNZSl','1210veISAR','welcomeScreen','wsRAE','Please\x20enter\x20a\x20valid\x20message.','AopQt','EAZht','crashlens-theme','afEmp','BbhWq','PXTuJ','Submitting...','data','add','rawText','destroy','eryyZ','PLZLz','208696KLMQfM','user','Switch\x20to\x20Dark\x20Mode','cRUyD','Something\x20went\x20wrong.\x20Please\x20try\x20again.','profile-dropdown','uRrez','setItem','eNKvw','ScwJU','1074924TEojJQ','wyPCe','stopPropagation','YlUeW','91BlmOqu','disabled','Analysis\x20finished\x20but\x20no\x20result\x20was\x20returned.','addEventListener','getElementById','uFaus','ulxFI','Switch\x20to\x20Light\x20Mode','WeOOe','aZZot','type','length','bVztm','btn-profile-menu','style','Vmnap','light','aQYSo','ODXKW','pczzb','DOMContentLoaded','RjtYJ','display','THREE','flex','sVzDM','lCCpN','light-theme','wSZHi','textContent','Enter','DaiCD','uMqxM','model','getItem','documentElement','JFQES','rKuCZ','text','theme-text','UISJm','contains','IjUlD','CzfMy','wUdeJ','crashLogInput','zbugx','sidebar-closed','3076sosQUk','open','preventDefault','xWmDT','classList','ZxIXO','21422zUNjcE','analyzeButton','ApefP','toggle','push','.message-row','94106JAPffk','shiftKey','CYabH','btn-theme-toggle','vQfOY','app-container','TpykF','gbTvz','result','zfHHG','ebBQi','1929630OvpPWw','message','sNRxB','key','azIIA','vASxS','rBsAF','mIVrU','uBwQn','btn-sidebar-signin'];_0x2dbd=function(){return _0x25e6da;};return _0x2dbd();}const initTheme=()=>{const _0x24480c=_0x40c3,_0x5258b7={'eryyZ':_0x24480c(0x1f0),'CkAuZ':_0x24480c(0x257),'TpykF':_0x24480c(0x1dc),'azIIA':_0x24480c(0x23d),'WeOOe':_0x24480c(0x1e5),'bVztm':_0x24480c(0x24a),'uFaus':function(_0x563df5,_0x265071){return _0x563df5(_0x265071);},'BbhWq':function(_0x52e595,_0x136ebd){return _0x52e595===_0x136ebd;},'vASxS':_0x24480c(0x25a),'nGQse':_0x24480c(0x206),'EAZht':_0x24480c(0x214),'JFQES':_0x24480c(0x1fc),'CYabH':function(_0x1f2473,_0x31e26b){return _0x1f2473===_0x31e26b;},'UAHaP':_0x24480c(0x242)},_0x4604af=document[_0x24480c(0x1d9)](_0x5258b7[_0x24480c(0x249)]),_0x3be648=document[_0x24480c(0x1d9)](_0x5258b7[_0x24480c(0x1f9)]),_0x5a419a=_0x34fcb3=>{const _0x298017=_0x24480c;if(_0x34fcb3){document[_0x298017(0x1f8)][_0x298017(0x209)][_0x298017(0x250)](_0x5258b7[_0x298017(0x253)]);if(_0x3be648)_0x3be648[_0x298017(0x1f2)]=_0x5258b7[_0x298017(0x22b)];}else{document[_0x298017(0x1f8)][_0x298017(0x209)][_0x298017(0x236)](_0x5258b7[_0x298017(0x253)]);if(_0x3be648)_0x3be648[_0x298017(0x1f2)]=_0x5258b7[_0x298017(0x217)];}},_0x3aca9b=_0x5258b7[_0x24480c(0x213)](localStorage[_0x24480c(0x1f7)](_0x5258b7[_0x24480c(0x1e1)]),_0x5258b7[_0x24480c(0x1dd)]);_0x5258b7[_0x24480c(0x1da)](_0x5a419a,_0x3aca9b),_0x4604af&&_0x4604af[_0x24480c(0x1d8)](_0x5258b7[_0x24480c(0x227)],()=>{const _0x57d062=_0x24480c,_0x3e2707=document[_0x57d062(0x1f8)][_0x57d062(0x209)][_0x57d062(0x1fe)](_0x5258b7[_0x57d062(0x253)]),_0x4a302b=_0x3e2707?_0x5258b7[_0x57d062(0x220)]:_0x5258b7[_0x57d062(0x1dd)];localStorage[_0x57d062(0x25c)](_0x5258b7[_0x57d062(0x1e1)],_0x4a302b),_0x5258b7[_0x57d062(0x1da)](_0x5a419a,_0x5258b7[_0x57d062(0x24c)](_0x4a302b,_0x5258b7[_0x57d062(0x1dd)])),document[_0x57d062(0x1d9)](_0x5258b7[_0x57d062(0x221)])[_0x57d062(0x209)][_0x57d062(0x236)](_0x5258b7[_0x57d062(0x232)]);});},initSidebarAndDropdown=()=>{const _0x1ebb0f=_0x40c3,_0x1b3840={'zfHHG':_0x1ebb0f(0x234),'aQYSo':_0x1ebb0f(0x204),'sVzDM':_0x1ebb0f(0x22a),'uBwQn':_0x1ebb0f(0x206),'Vjmet':_0x1ebb0f(0x229),'ZxIXO':_0x1ebb0f(0x216),'hyiDB':function(_0x1ce561,_0x235bd0,_0x354fc6){return _0x1ce561(_0x235bd0,_0x354fc6);},'AopQt':_0x1ebb0f(0x242),'UISJm':_0x1ebb0f(0x1e2),'rKuCZ':_0x1ebb0f(0x25a),'AmTdJ':function(_0x76fb0e,_0xb738b6){return _0x76fb0e&&_0xb738b6;}},_0x3552f9=document[_0x1ebb0f(0x1d9)](_0x1b3840[_0x1ebb0f(0x231)]),_0x248969=document[_0x1ebb0f(0x1d9)](_0x1b3840[_0x1ebb0f(0x20a)]);_0x1b3840[_0x1ebb0f(0x240)](setTimeout,()=>{const _0x14fcde=_0x1ebb0f;_0x248969[_0x14fcde(0x209)][_0x14fcde(0x236)](_0x1b3840[_0x14fcde(0x21a)]);},-0x149f*0x1+0x1c5d*0x1+-0x15*0x5c);_0x3552f9&&_0x3552f9[_0x1ebb0f(0x1d8)](_0x1b3840[_0x1ebb0f(0x248)],()=>{const _0x219fc1=_0x1ebb0f,_0x10220d=_0x248969[_0x219fc1(0x209)][_0x219fc1(0x20e)](_0x1b3840[_0x219fc1(0x1e6)]);localStorage[_0x219fc1(0x25c)](_0x1b3840[_0x219fc1(0x1ee)],_0x10220d);});const _0x5c670d=document[_0x1ebb0f(0x1d9)](_0x1b3840[_0x1ebb0f(0x1fd)]),_0x212e13=document[_0x1ebb0f(0x1d9)](_0x1b3840[_0x1ebb0f(0x1fa)]);_0x1b3840[_0x1ebb0f(0x22d)](_0x5c670d,_0x212e13)&&(_0x5c670d[_0x1ebb0f(0x1d8)](_0x1b3840[_0x1ebb0f(0x248)],_0x313ec9=>{const _0x40f053=_0x1ebb0f;_0x313ec9[_0x40f053(0x1d3)](),_0x212e13[_0x40f053(0x209)][_0x40f053(0x20e)](_0x1b3840[_0x40f053(0x224)]);}),document[_0x1ebb0f(0x1d8)](_0x1b3840[_0x1ebb0f(0x248)],_0x91ea01=>{const _0x1b684b=_0x1ebb0f;!_0x212e13[_0x1b684b(0x1fe)](_0x91ea01[_0x1b684b(0x23c)])&&!_0x5c670d[_0x1b684b(0x1fe)](_0x91ea01[_0x1b684b(0x23c)])&&_0x212e13[_0x1b684b(0x209)][_0x1b684b(0x236)](_0x1b3840[_0x1b684b(0x224)]);}));},runAnalysis=async()=>{const _0x573612=_0x40c3,_0x503db5={'zbugx':function(_0x22eaed,_0x519478){return _0x22eaed(_0x519478);},'vQfOY':function(_0x2991e8){return _0x2991e8();},'XGUfJ':function(_0x63ece8,_0x35875e){return _0x63ece8<_0x35875e;},'aZZot':function(_0x1acc6f,_0x1751ea){return _0x1acc6f(_0x1751ea);},'cONZK':_0x573612(0x247),'ulxFI':function(_0x2ad9af,_0x984fa2){return _0x2ad9af(_0x984fa2);},'InnGa':_0x573612(0x256),'RjtYJ':function(_0x9a2b35){return _0x9a2b35();},'ARnNn':function(_0x4e3515,_0x2deaa3){return _0x4e3515(_0x2deaa3);},'wSZHi':_0x573612(0x24e),'PXTuJ':function(_0x35f44c,_0x3d5d6c){return _0x35f44c(_0x3d5d6c);},'gbTvz':function(_0x159787,_0x142a74){return _0x159787(_0x142a74);},'wsRAE':_0x573612(0x238),'eNKvw':function(_0x2324e6,_0x4e2e43,_0x4b2130){return _0x2324e6(_0x4e2e43,_0x4b2130);},'wUdeJ':_0x573612(0x1d7),'awDaK':function(_0x285fc4){return _0x285fc4();},'ODXKW':_0x573612(0x1f6),'CzfMy':function(_0x4bde0f,_0x43806c){return _0x4bde0f===_0x43806c;},'Vmnap':_0x573612(0x23e),'rBsAF':function(_0x73748c,_0x2a7844){return _0x73748c<=_0x2a7844;},'ebBQi':function(_0x3748ab,_0x1a4f78,_0x1673d5){return _0x3748ab(_0x1a4f78,_0x1673d5);},'lCCpN':_0x573612(0x259),'IjUlD':function(_0x2898b2){return _0x2898b2();},'uRrez':function(_0x45942d,_0x4bd387){return _0x45942d(_0x4bd387);}},_0x1f75de=_0x503db5[_0x573612(0x215)](getCrashLogValue);if(_0x503db5[_0x573612(0x237)](_0x1f75de[_0x573612(0x1e0)],MIN_LOG_LENGTH)){_0x503db5[_0x573612(0x1de)](showError,_0x503db5[_0x573612(0x241)]);return;}_0x503db5[_0x573612(0x1de)](setAnalyzeButtonLoading,!![]),_0x503db5[_0x573612(0x1db)](appendUserMessage,_0x1f75de),_0x503db5[_0x573612(0x215)](clearCrashLogInput),currentChatHistory[_0x573612(0x20f)]({'role':_0x503db5[_0x573612(0x22e)],'content':_0x1f75de});const _0x2947b8=_0x503db5[_0x573612(0x1ea)](appendLoadingMessage);window[_0x573612(0x1ec)]&&(currentSpinner=_0x503db5[_0x573612(0x203)](createLoadingSpinner,_0x2947b8));_0x503db5[_0x573612(0x226)](showQueueBar,_0x503db5[_0x573612(0x1f1)]);try{const _0x1d8738=await _0x503db5[_0x573612(0x24d)](submitCrashLog,currentChatHistory);_0x503db5[_0x573612(0x218)](showQueueBar,_0x503db5[_0x573612(0x246)]);const _0x9c038a=await _0x503db5[_0x573612(0x25d)](waitForJob,_0x1d8738,_0x4cab15=>{const _0x5989a7=_0x573612;_0x503db5[_0x5989a7(0x203)](showQueueBar,_0x503db5[_0x5989a7(0x203)](buildQueueMessage,_0x4cab15));});if(!_0x9c038a[_0x573612(0x219)])throw new Error(_0x503db5[_0x573612(0x201)]);if(currentSpinner)currentSpinner[_0x573612(0x252)]();_0x503db5[_0x573612(0x23a)](removeLoadingMessage);const _0xadc1e8=_0x9c038a[_0x573612(0x219)];currentChatHistory[_0x573612(0x20f)]({'role':_0x503db5[_0x573612(0x1e7)],'content':_0xadc1e8[_0x573612(0x251)]});let _0x2e8061;_0x503db5[_0x573612(0x200)](_0xadc1e8[_0x573612(0x1df)],_0x503db5[_0x573612(0x1e4)])?(_0x2e8061=_0x503db5[_0x573612(0x1de)](appendAiMessage,_0xadc1e8[_0x573612(0x24f)]),_0x503db5[_0x573612(0x222)](currentChatHistory[_0x573612(0x1e0)],0x1*-0xeae+0x1680+-0x7d0)&&_0x503db5[_0x573612(0x21b)](addHistoryItem,_0xadc1e8[_0x573612(0x24f)],()=>scrollToElement(_0x2e8061))):_0x2e8061=_0x503db5[_0x573612(0x24d)](appendAiChatMessage,_0xadc1e8[_0x573612(0x1fb)]);}catch(_0x1bb0b6){if(currentSpinner)currentSpinner[_0x573612(0x252)]();_0x503db5[_0x573612(0x1ea)](removeLoadingMessage),_0x503db5[_0x573612(0x24d)](showError,_0x1bb0b6[_0x573612(0x21d)]||_0x503db5[_0x573612(0x1ef)]);}finally{_0x503db5[_0x573612(0x1ff)](hideQueueBar),_0x503db5[_0x573612(0x25b)](setAnalyzeButtonLoading,![]);}},bindEvents=()=>{const _0x3ed5a3=_0x40c3,_0x2e8a5f={'YlUeW':function(_0x20cce7,_0x26071a){return _0x20cce7===_0x26071a;},'dRpJR':_0x3ed5a3(0x1f3),'cRUyD':function(_0x12a75b){return _0x12a75b();},'wyPCe':_0x3ed5a3(0x25a),'PLZLz':_0x3ed5a3(0x206),'afEmp':function(_0x2bb133,_0x401c8b){return _0x2bb133(_0x401c8b);},'sNRxB':_0x3ed5a3(0x235),'ApefP':function(_0x488f83){return _0x488f83();},'mIVrU':_0x3ed5a3(0x210),'VNZSl':_0x3ed5a3(0x1ed),'uMqxM':_0x3ed5a3(0x242),'xWmDT':_0x3ed5a3(0x23f),'ScwJU':_0x3ed5a3(0x225),'WDGBp':_0x3ed5a3(0x22f)};el[_0x3ed5a3(0x20c)]()[_0x3ed5a3(0x1d8)](_0x2e8a5f[_0x3ed5a3(0x1f5)],runAnalysis),el[_0x3ed5a3(0x202)]()[_0x3ed5a3(0x1d8)](_0x2e8a5f[_0x3ed5a3(0x208)],_0x51b9f1=>{const _0x4f4f92=_0x3ed5a3;_0x2e8a5f[_0x4f4f92(0x1d4)](_0x51b9f1[_0x4f4f92(0x21f)],_0x2e8a5f[_0x4f4f92(0x23b)])&&!_0x51b9f1[_0x4f4f92(0x212)]&&(_0x51b9f1[_0x4f4f92(0x207)](),!el[_0x4f4f92(0x20c)]()[_0x4f4f92(0x1d6)]&&_0x2e8a5f[_0x4f4f92(0x258)](runAnalysis));});const _0x57965b=document[_0x3ed5a3(0x1d9)](_0x2e8a5f[_0x3ed5a3(0x1d0)]);_0x57965b&&_0x57965b[_0x3ed5a3(0x1d8)](_0x2e8a5f[_0x3ed5a3(0x1f5)],()=>{const _0x39254a=_0x3ed5a3;document[_0x39254a(0x1d9)](_0x2e8a5f[_0x39254a(0x1d2)])[_0x39254a(0x209)][_0x39254a(0x236)](_0x2e8a5f[_0x39254a(0x254)]),_0x2e8a5f[_0x39254a(0x24b)](showError,_0x2e8a5f[_0x39254a(0x21e)]);}),document[_0x3ed5a3(0x1d9)](_0x2e8a5f[_0x3ed5a3(0x239)])[_0x3ed5a3(0x1d8)](_0x2e8a5f[_0x3ed5a3(0x1f5)],()=>{const _0x3b9860=_0x3ed5a3;_0x2e8a5f[_0x3b9860(0x20d)](clearCrashLogInput),el[_0x3b9860(0x202)]()[_0x3b9860(0x22c)]();const _0x1db56d=document[_0x3b9860(0x233)](_0x2e8a5f[_0x3b9860(0x223)]);_0x1db56d[_0x3b9860(0x228)](_0x13f888=>_0x13f888[_0x3b9860(0x236)]()),currentChatHistory=[];const _0x1c3985=el[_0x3b9860(0x245)]();if(_0x1c3985)_0x1c3985[_0x3b9860(0x1e3)][_0x3b9860(0x1eb)]=_0x2e8a5f[_0x3b9860(0x243)];});},init=()=>{const _0x2ca4a6=_0x40c3,_0x33d76a={'DaiCD':function(_0x4b7f3d){return _0x4b7f3d();},'pczzb':function(_0x5554c4){return _0x5554c4();}};_0x33d76a[_0x2ca4a6(0x1f4)](initTheme),_0x33d76a[_0x2ca4a6(0x1f4)](initSidebarAndDropdown),_0x33d76a[_0x2ca4a6(0x1f4)](initAutoResize),_0x33d76a[_0x2ca4a6(0x1e8)](bindEvents);};function _0x40c3(_0x586047,_0x16d064){_0x586047=_0x586047-(0x1aa6+0x3ed*-0x7+0x2a5);const _0x2ff52a=_0x2dbd();let _0x566068=_0x2ff52a[_0x586047];return _0x566068;}document[_0x4e8af7(0x1d8)](_0x4e8af7(0x1e9),init);
|
public/js/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const
|
|
|
|
| 1 |
+
const _0x4dad40=_0x1ff0;function _0x1ff0(_0x324a80,_0x32be4a){_0x324a80=_0x324a80-(-0x212d+0x1fef+0x31d);const _0x3dc48b=_0x48cf();let _0x324b7f=_0x3dc48b[_0x324a80];return _0x324b7f;}(function(_0x48e306,_0xc753c8){const _0x87adad=_0x1ff0,_0xe7f43e=_0x48e306();while(!![]){try{const _0x569738=-parseInt(_0x87adad(0x1ea))/(-0x1b*0xfb+0xa42+0x1038)+-parseInt(_0x87adad(0x1ff))/(0x315*-0x2+-0x6c7*0x3+-0x1a81*-0x1)+parseInt(_0x87adad(0x1e2))/(-0x228f+0x4af*0x8+0x7*-0x6a)+-parseInt(_0x87adad(0x1df))/(0x1*0x2390+-0x1*-0x2f4+0x38*-0xb0)+-parseInt(_0x87adad(0x1e8))/(0x1373+-0x3a*-0x8b+-0xcbb*0x4)*(parseInt(_0x87adad(0x1f1))/(-0xea2+0x2501+0x1659*-0x1))+-parseInt(_0x87adad(0x1f3))/(-0x9b6+-0x320+0x59*0x25)*(-parseInt(_0x87adad(0x1f4))/(0x2*-0x5f7+-0x1fdf+-0x31*-0xe5))+-parseInt(_0x87adad(0x202))/(0x5*0x4e5+-0x1*0x25bd+0xe3*0xf)*(-parseInt(_0x87adad(0x1f0))/(0x5*-0x5db+-0x1*-0x1faf+-0x25e));if(_0x569738===_0xc753c8)break;else _0xe7f43e['push'](_0xe7f43e['shift']());}catch(_0x495a0e){_0xe7f43e['push'](_0xe7f43e['shift']());}}}(_0x48cf,0x46829*-0x3+-0xe49c6+0x22b9a5));import{pollJobStatus}from'./api.js';const POLL_INTERVAL_MS=-0x1*-0x7e1+-0x73b*-0x1+-0xa6c,TERMINAL_STATUSES=[_0x4dad40(0x1ef),_0x4dad40(0x1e0)],waitForJob=(_0x5da0ba,_0x2e703e)=>{const _0x1fd738=_0x4dad40,_0x7a7bbd={'lpSJX':function(_0xb39612,_0x49b568){return _0xb39612(_0x49b568);},'Kalcw':function(_0x54b549,_0x4b4199){return _0x54b549===_0x4b4199;},'NFXjm':_0x1fd738(0x1e5),'RdqJz':function(_0x1d63da,_0xb43fa2){return _0x1d63da===_0xb43fa2;},'ezGyN':_0x1fd738(0x1ef),'DGpLW':_0x1fd738(0x1e0),'cZxJR':_0x1fd738(0x1fe),'NkpMP':function(_0x35dedf,_0x5828fc,_0x2664fc){return _0x35dedf(_0x5828fc,_0x2664fc);},'cpans':function(_0x554860,_0x170787){return _0x554860(_0x170787);},'dQeRf':function(_0xf32844){return _0xf32844();}};return new Promise((_0x1b4a64,_0x535020)=>{const _0x678db0=_0x1fd738,_0x3f9ca8=async()=>{const _0x1ddb70=_0x1ff0;try{const _0x571928=await _0x7a7bbd[_0x1ddb70(0x1ec)](pollJobStatus,_0x5da0ba);_0x7a7bbd[_0x1ddb70(0x1fb)](typeof _0x2e703e,_0x7a7bbd[_0x1ddb70(0x1e3)])&&_0x7a7bbd[_0x1ddb70(0x1ec)](_0x2e703e,_0x571928);if(_0x7a7bbd[_0x1ddb70(0x1fd)](_0x571928[_0x1ddb70(0x1ee)],_0x7a7bbd[_0x1ddb70(0x1f9)])){_0x7a7bbd[_0x1ddb70(0x1ec)](_0x1b4a64,_0x571928);return;}if(_0x7a7bbd[_0x1ddb70(0x1fb)](_0x571928[_0x1ddb70(0x1ee)],_0x7a7bbd[_0x1ddb70(0x1e7)])){_0x7a7bbd[_0x1ddb70(0x1ec)](_0x535020,new Error(_0x7a7bbd[_0x1ddb70(0x204)]));return;}_0x7a7bbd[_0x1ddb70(0x201)](setTimeout,_0x3f9ca8,POLL_INTERVAL_MS);}catch(_0x3f3825){_0x7a7bbd[_0x1ddb70(0x1e6)](_0x535020,_0x3f3825);}};_0x7a7bbd[_0x678db0(0x1ed)](_0x3f9ca8);});},buildQueueMessage=_0x1d53dc=>{const _0x12fc05=_0x4dad40,_0x338f50={'AEbvJ':function(_0x2f2715,_0x56ffb5){return _0x2f2715===_0x56ffb5;},'JZEsW':_0x12fc05(0x1f2),'hJnLN':_0x12fc05(0x1f7),'eaunO':function(_0x5c4dca,_0x46f87c){return _0x5c4dca>_0x46f87c;},'bdSuY':function(_0x4bbb60,_0x33350b){return _0x4bbb60>_0x33350b;},'bpRXi':_0x12fc05(0x200),'GNNIr':_0x12fc05(0x1e1)},{status:_0x135486,positionInQueue:_0x4e8e2b,estimatedWaitSeconds:_0x27a289}=_0x1d53dc;if(_0x338f50[_0x12fc05(0x1f6)](_0x135486,_0x338f50[_0x12fc05(0x1fa)]))return _0x338f50[_0x12fc05(0x1fc)];if(_0x338f50[_0x12fc05(0x1eb)](_0x4e8e2b,-0x1*0x1c6f+-0x156d+0x31dc)){const _0x199dd6=_0x338f50[_0x12fc05(0x1e4)](_0x27a289,0x2668+-0x41f*0x2+-0x1e2a)?'~'+_0x27a289+'s':_0x338f50[_0x12fc05(0x1e9)];return _0x12fc05(0x1f8)+_0x4e8e2b+_0x12fc05(0x1f5)+_0x199dd6;}return _0x338f50[_0x12fc05(0x203)];};export{waitForJob,buildQueueMessage};function _0x48cf(){const _0x5e3de8=['status','done','1058670mRRVJC','60BlVdnM','processing','7jmcrHs','2538664YXYjZG','\x20in\x20queue\x20·\x20','AEbvJ','Analyzing\x20your\x20crash\x20log...','Analyzing\x20·\x20Position\x20','ezGyN','JZEsW','Kalcw','hJnLN','RdqJz','Analysis\x20failed\x20on\x20the\x20server.','992572KiMqgX','almost\x20there','NkpMP','153QqhRYY','GNNIr','cZxJR','1646824UnYMEL','failed','Queued\x20—\x20waiting\x20to\x20start...','961539lBvDkD','NFXjm','bdSuY','function','cpans','DGpLW','404165YfWhGA','bpRXi','248331KpqZxK','eaunO','lpSJX','dQeRf'];_0x48cf=function(){return _0x5e3de8;};return _0x48cf();}
|
public/js/scene.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
(function(
|
|
|
|
| 1 |
+
(function(_0x1a09da,_0x123198){const _0x55bd36=_0xc69b,_0xb12d05=_0x1a09da();while(!![]){try{const _0x30dcec=-parseInt(_0x55bd36(0x1c7))/(0x21e*-0xf+-0x343+0x2*0x1183)*(-parseInt(_0x55bd36(0x1d4))/(0x1a8c+-0xa7e*0x1+-0x100c))+-parseInt(_0x55bd36(0x1e1))/(0x229c+0x60+-0x22f9)*(parseInt(_0x55bd36(0x1ce))/(0x1*0x16b2+0x1*-0x1969+0x2bb))+parseInt(_0x55bd36(0x1cc))/(-0x3c2*0x7+-0x4a*0x9+0x1ced*0x1)+-parseInt(_0x55bd36(0x1cb))/(0x1*-0x142d+-0x3*0x67+0x1568)+-parseInt(_0x55bd36(0x1e2))/(0x12f6+0x7*-0x1bf+-0x6b6*0x1)*(parseInt(_0x55bd36(0x1d2))/(-0x6b1*0x2+-0x12e7+-0x1*-0x2051))+-parseInt(_0x55bd36(0x1db))/(-0x234d+0x1ca5+-0x6b1*-0x1)*(-parseInt(_0x55bd36(0x1e6))/(0x4*-0x241+-0x21e2+0xabc*0x4))+-parseInt(_0x55bd36(0x1dd))/(0x1fea+0x97+-0x2076);if(_0x30dcec===_0x123198)break;else _0xb12d05['push'](_0xb12d05['shift']());}catch(_0x491535){_0xb12d05['push'](_0xb12d05['shift']());}}}(_0x5dc6,-0x2c5cd*-0x1+-0x6ec9b+0x107e73));let currentRenderer=null,currentReq=null;function _0xc69b(_0x1012f2,_0x4dab5e){_0x1012f2=_0x1012f2-(-0xa3*-0x3+0x26a1+-0x6*0x676);const _0x33490a=_0x5dc6();let _0x48a3c9=_0x33490a[_0x1012f2];return _0x48a3c9;}const createLoadingSpinner=_0x4de6e1=>{const _0x5534dc=_0xc69b,_0x1c446e={'qwhEI':_0x5534dc(0x1d3),'ynNzt':function(_0x3fb0e0,_0x1c91c2){return _0x3fb0e0(_0x1c91c2);},'UtZPl':_0x5534dc(0x1e5),'isggL':function(_0xf93495,_0x4f5ff1){return _0xf93495/_0x4f5ff1;},'pTXMp':function(_0x38863f){return _0x38863f();}};currentRenderer&&(currentRenderer[_0x5534dc(0x1c8)](),_0x1c446e[_0x5534dc(0x1e3)](cancelAnimationFrame,currentReq));const _0x136736=0x838*-0x2+0x1*-0x1152+0xa*0x365,_0xe8d416=-0x5*-0x141+-0x93*-0xd+-0xd8c,_0xb11bf4=new THREE[(_0x5534dc(0x1dc))]({'canvas':_0x4de6e1,'antialias':!![],'alpha':!![]});_0xb11bf4[_0x5534dc(0x1d7)](window[_0x5534dc(0x1d1)]),_0xb11bf4[_0x5534dc(0x1c9)](_0x136736,_0xe8d416),currentRenderer=_0xb11bf4;const _0x3cd051=new THREE[(_0x5534dc(0x1d6))](),_0xb78d4f=new THREE[(_0x5534dc(0x1de))](-0x128f+-0x21d6+-0x8c3*-0x6,_0x1c446e[_0x5534dc(0x1e4)](_0x136736,_0xe8d416),0xde1+-0x15*-0x17+-0x1*0xfc4+0.1,0x16d6+0x1*0xbed+-0x225f);_0xb78d4f[_0x5534dc(0x1ca)]['z']=-0xc41*0x1+-0x47*0x33+0x7*0x3c6+0.5;const _0x263e78=new THREE[(_0x5534dc(0x1cd))](-0x179f+0xd88+-0x1*-0xa18+0.19999999999999996,-0x4*-0x302+0xe69+-0x7*0x3c7),_0x378934=new THREE[(_0x5534dc(0x1e7))]({'color':0x8b5cf6,'roughness':0.1,'metalness':0.8}),_0x48c4a5=new THREE[(_0x5534dc(0x1d9))](_0x263e78,_0x378934);_0x3cd051[_0x5534dc(0x1e8)](_0x48c4a5);const _0x138022=new THREE[(_0x5534dc(0x1e9))](-0xc90a7+0x1*-0xf827c5+0x3*0xac3d79,-0x1d4d+0x1*0x4a7+0x18a6+0.5);_0x3cd051[_0x5534dc(0x1e8)](_0x138022);const _0x1a368e=new THREE[(_0x5534dc(0x1cf))](0x6f6259+0x26ffc8+-0x1a*-0x40feb,0x610+0x1*-0x3d3+-0x23b*0x1);_0x1a368e[_0x5534dc(0x1ca)][_0x5534dc(0x1da)](0x1c8d*0x1+0x1*-0x18c4+-0x3c4,0xd2d+-0x23c0+0x6*0x3c4,0xc2*-0x29+0x1507+0x17*0x70),_0x3cd051[_0x5534dc(0x1e8)](_0x1a368e);const _0x27185b=new THREE[(_0x5534dc(0x1cf))](0x254d30+0x1*-0x51c084+0x7bba39,0x7*0x206+-0x1f5a+0x1133);_0x27185b[_0x5534dc(0x1ca)][_0x5534dc(0x1da)](-(-0x1*-0x4c7+0x1*0x1cca+-0x1*0x218c),-(0x4a*0x40+-0x1d61+-0x6*-0x1d1),0x1*0x18f9+-0x5cb*0x2+0x1*-0xd61),_0x3cd051[_0x5534dc(0x1e8)](_0x27185b);let _0x26698d=!![];const _0x1ddf61=()=>{const _0x18dd2b=_0x5534dc,_0x52e126=_0x1c446e[_0x18dd2b(0x1df)][_0x18dd2b(0x1e0)]('|');let _0x3c856f=0xda*-0x19+0x1fd*-0x9+0x272f;while(!![]){switch(_0x52e126[_0x3c856f++]){case'0':if(!_0x26698d)return;continue;case'1':_0xb11bf4[_0x18dd2b(0x1d5)](_0x3cd051,_0xb78d4f);continue;case'2':currentReq=_0x1c446e[_0x18dd2b(0x1e3)](requestAnimationFrame,_0x1ddf61);continue;case'3':_0x48c4a5[_0x18dd2b(0x1d8)]['z']+=0x81*0xd+-0x300+-0x38d+0.01;continue;case'4':_0x48c4a5[_0x18dd2b(0x1d8)]['x']+=-0x3*-0xbaa+0x107*-0x1+-0x21f7+0.03;continue;case'5':_0x48c4a5[_0x18dd2b(0x1d8)]['y']+=-0x18a*-0x3+-0x1c0+0x2*-0x16f+0.04;continue;}break;}};return _0x1c446e[_0x5534dc(0x1c6)](_0x1ddf61),{'destroy':()=>{const _0xb2b5e=_0x5534dc,_0xb622ab=_0x1c446e[_0xb2b5e(0x1d0)][_0xb2b5e(0x1e0)]('|');let _0x487d07=-0x100d+-0x2157+0x3164;while(!![]){switch(_0xb622ab[_0x487d07++]){case'0':_0x378934[_0xb2b5e(0x1c8)]();continue;case'1':currentRenderer=null;continue;case'2':_0x263e78[_0xb2b5e(0x1c8)]();continue;case'3':_0xb11bf4[_0xb2b5e(0x1c8)]();continue;case'4':_0x26698d=![];continue;}break;}}};};export{createLoadingSpinner};function _0x5dc6(){const _0x5e6b09=['render','Scene','setPixelRatio','rotation','Mesh','set','12262581cMgnQI','WebGLRenderer','10934440WOcShT','PerspectiveCamera','qwhEI','split','981HsWQsQ','1765939NnXVaN','ynNzt','isggL','4|3|2|0|1','10ytHfeI','MeshStandardMaterial','add','AmbientLight','pTXMp','46660lsvaCc','dispose','setSize','position','2055966GQYNrX','395760DLiTFJ','OctahedronGeometry','6568XcsiNB','PointLight','UtZPl','devicePixelRatio','8YaLawz','0|2|4|5|3|1','64zJyEBP'];_0x5dc6=function(){return _0x5e6b09;};return _0x5dc6();}
|
public/js/ui.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const _0x2a1bda=_0x27e6;(function(_0x2e88fc,_0xc927c8){const _0x45da6d=_0x27e6,_0x5c3be7=_0x2e88fc();while(!![]){try{const _0x5f34d8=-parseInt(_0x45da6d(0x25e))/(-0x1*-0x2218+0x1b97+-0x3dae)*(-parseInt(_0x45da6d(0x24a))/(0x504+0x1f32+0x14b*-0x1c))+-parseInt(_0x45da6d(0x28f))/(-0x1*-0x1969+-0x69e*-0x3+-0x2d40)*(parseInt(_0x45da6d(0x1f9))/(0x7cd+0x45b*0x7+-0x2646))+parseInt(_0x45da6d(0x255))/(0x149*0x17+0x1948+0x2*-0x1b69)+parseInt(_0x45da6d(0x20f))/(-0x1a6+0x22a*-0x11+0x12*0x223)+parseInt(_0x45da6d(0x299))/(-0xa9*-0x34+0x2211+-0x16ca*0x3)*(parseInt(_0x45da6d(0x2b5))/(0x39*-0x4b+0x3*-0x529+0x2036*0x1))+parseInt(_0x45da6d(0x298))/(0x137*0x13+-0xbab+0x3*-0x3cb)*(-parseInt(_0x45da6d(0x2cf))/(0x32*0x4e+-0x1f*0x77+-0x43*0x3))+parseInt(_0x45da6d(0x219))/(0x1537+-0x2fc*0xa+0xb9*0xc);if(_0x5f34d8===_0xc927c8)break;else _0x5c3be7['push'](_0x5c3be7['shift']());}catch(_0xc6c0de){_0x5c3be7['push'](_0x5c3be7['shift']());}}}(_0x4542,-0xad8b8+0x4867f+0xd62c3));const el={'crashLogInput':()=>document[_0x2a1bda(0x281)](_0x2a1bda(0x221)),'analyzeButton':()=>document[_0x2a1bda(0x281)](_0x2a1bda(0x231)),'queueBar':()=>document[_0x2a1bda(0x281)](_0x2a1bda(0x295)),'queueBarText':()=>document[_0x2a1bda(0x281)](_0x2a1bda(0x275)),'messagesArea':()=>document[_0x2a1bda(0x281)](_0x2a1bda(0x1fa)),'welcomeScreen':()=>document[_0x2a1bda(0x281)](_0x2a1bda(0x2b6)),'historyList':()=>document[_0x2a1bda(0x281)](_0x2a1bda(0x2ba)),'errorToast':()=>document[_0x2a1bda(0x281)](_0x2a1bda(0x238))},initAutoResize=()=>{const _0x44fcc8=_0x2a1bda,_0x422577={'oYkMx':_0x44fcc8(0x215),'hGZNr':function(_0xad3125,_0x1a046c){return _0xad3125+_0x1a046c;},'atzsb':function(_0x497894,_0xcdfaf2){return _0x497894===_0xcdfaf2;},'mgRyn':_0x44fcc8(0x2ac)},_0x555838=el[_0x44fcc8(0x1f5)]();_0x555838[_0x44fcc8(0x293)](_0x422577[_0x44fcc8(0x2a8)],()=>{const _0x2b45fd=_0x44fcc8;_0x555838[_0x2b45fd(0x206)][_0x2b45fd(0x24e)]=_0x422577[_0x2b45fd(0x262)],_0x555838[_0x2b45fd(0x206)][_0x2b45fd(0x24e)]=_0x422577[_0x2b45fd(0x274)](Math[_0x2b45fd(0x22d)](_0x555838[_0x2b45fd(0x252)],0x12a*-0x13+-0x3b6+0x1ac4),'px'),el[_0x2b45fd(0x256)]()[_0x2b45fd(0x23e)]=_0x422577[_0x2b45fd(0x276)](_0x555838[_0x2b45fd(0x28a)][_0x2b45fd(0x270)]()[_0x2b45fd(0x21f)],-0x1*0x340+-0x5*-0x6e5+-0x1*0x1f39);});},getCrashLogValue=()=>el[_0x2a1bda(0x1f5)]()[_0x2a1bda(0x28a)][_0x2a1bda(0x270)](),clearCrashLogInput=()=>{const _0x5c2f17=_0x2a1bda,_0x31adb1={'eqyqD':_0x5c2f17(0x215)},_0xdde54f=el[_0x5c2f17(0x1f5)]();_0xdde54f[_0x5c2f17(0x28a)]='',_0xdde54f[_0x5c2f17(0x206)][_0x5c2f17(0x24e)]=_0x31adb1[_0x5c2f17(0x2d1)],el[_0x5c2f17(0x256)]()[_0x5c2f17(0x23e)]=!![];},setAnalyzeButtonLoading=_0x42b6ed=>{const _0x577c3a=_0x2a1bda;el[_0x577c3a(0x256)]()[_0x577c3a(0x23e)]=_0x42b6ed;},showQueueBar=_0x49a9d4=>{const _0x3ea620=_0x2a1bda,_0x74116d={'ywuwn':_0x3ea620(0x245)};el[_0x3ea620(0x237)]()[_0x3ea620(0x202)][_0x3ea620(0x224)](_0x74116d[_0x3ea620(0x2ce)]),el[_0x3ea620(0x2d8)]()[_0x3ea620(0x266)]=_0x49a9d4;},hideQueueBar=()=>{const _0x317f29=_0x2a1bda,_0x33f91b={'TRAVh':_0x317f29(0x245)};el[_0x317f29(0x237)]()[_0x317f29(0x202)][_0x317f29(0x241)](_0x33f91b[_0x317f29(0x292)]);},hideWelcomeScreen=()=>{const _0x10664b=_0x2a1bda,_0xc0a52f={'idwhx':_0x10664b(0x226)},_0x449231=el[_0x10664b(0x28c)]();if(_0x449231)_0x449231[_0x10664b(0x206)][_0x10664b(0x25c)]=_0xc0a52f[_0x10664b(0x284)];},appendUserMessage=_0x3e2dd6=>{const _0x372d24=_0x2a1bda,_0x17aee9={'CqhZd':function(_0x4e0933){return _0x4e0933();},'GoelH':_0x372d24(0x23a),'eNtVf':_0x372d24(0x21d),'faksX':function(_0x4595d7){return _0x4595d7();}};_0x17aee9[_0x372d24(0x1f7)](hideWelcomeScreen);const _0x4e8483=document[_0x372d24(0x278)](_0x17aee9[_0x372d24(0x2a9)]);_0x4e8483[_0x372d24(0x1f6)]=_0x17aee9[_0x372d24(0x2a5)],_0x4e8483[_0x372d24(0x291)]=_0x372d24(0x2c4)+_0x3e2dd6+_0x372d24(0x22a),el[_0x372d24(0x230)]()[_0x372d24(0x249)](_0x4e8483),_0x17aee9[_0x372d24(0x23f)](scrollToBottom);},appendLoadingMessage=()=>{const _0x47f09a=_0x2a1bda,_0x4bc31a={'dKJKA':function(_0x146710){return _0x146710();},'FMCdp':_0x47f09a(0x23a),'KPiXV':_0x47f09a(0x242),'ebOOd':_0x47f09a(0x2ab),'MYtUj':function(_0x56fa8c){return _0x56fa8c();},'VDvgy':_0x47f09a(0x1fd)};_0x4bc31a[_0x47f09a(0x21c)](hideWelcomeScreen);const _0x315300=document[_0x47f09a(0x278)](_0x4bc31a[_0x47f09a(0x2c6)]);return _0x315300[_0x47f09a(0x1f6)]=_0x4bc31a[_0x47f09a(0x26a)],_0x315300['id']=_0x4bc31a[_0x47f09a(0x20b)],_0x315300[_0x47f09a(0x291)]=_0x47f09a(0x2be),el[_0x47f09a(0x230)]()[_0x47f09a(0x249)](_0x315300),_0x4bc31a[_0x47f09a(0x25f)](scrollToBottom),document[_0x47f09a(0x281)](_0x4bc31a[_0x47f09a(0x229)]);},removeLoadingMessage=()=>{const _0x2abf68=_0x2a1bda,_0xa2fb9c={'ELgeC':_0x2abf68(0x2ab)},_0xb16fdc=document[_0x2abf68(0x281)](_0xa2fb9c[_0x2abf68(0x267)]);if(_0xb16fdc)_0xb16fdc[_0x2abf68(0x241)]();},typeOut=async(_0x146e14,_0x4657a6,_0x960132)=>{const _0x37702c=_0x2a1bda,_0x38f41e={'FkyTK':function(_0x175c5a){return _0x175c5a();},'gSFxM':function(_0x58ff21,_0x2ff1da){return _0x58ff21>=_0x2ff1da;},'eilAk':function(_0x1a7ba8,_0x2d3122){return _0x1a7ba8(_0x2d3122);},'mLahd':function(_0x55ae8e){return _0x55ae8e();},'BNGUx':function(_0x3d1e0f,_0x30d2f4,_0x36236f){return _0x3d1e0f(_0x30d2f4,_0x36236f);},'wqkKO':function(_0x399f9f,_0x719e42){return _0x399f9f!==_0x719e42;},'arTGE':function(_0x3f8c1c,_0x41f195){return _0x3f8c1c>_0x41f195;},'eqNtm':_0x37702c(0x204),'MGCEZ':_0x37702c(0x220),'tynpa':_0x37702c(0x239),'kgUtn':_0x37702c(0x209),'bUzgh':_0x37702c(0x283),'igkZu':function(_0x318641,_0x3a1d6f){return _0x318641<_0x3a1d6f;},'JdWIg':function(_0x1cbdd9,_0x3b5448){return _0x1cbdd9===_0x3b5448;},'DghdC':function(_0x29bc6a,_0x374db8,_0x4689b4){return _0x29bc6a(_0x374db8,_0x4689b4);},'UwwNS':function(_0x16510d,_0x41fe93){return _0x16510d===_0x41fe93;},'aOFnQ':_0x37702c(0x2ad),'dxiLg':_0x37702c(0x2c5),'eNVng':_0x37702c(0x243),'NJPsu':function(_0x4eb1af,_0x169397,_0x4e97b9){return _0x4eb1af(_0x169397,_0x4e97b9);},'QMDFi':function(_0xb21d80,_0x5bf14f){return _0xb21d80===_0x5bf14f;},'mJFgP':_0x37702c(0x253),'AXIIC':function(_0x2875d1,_0x165dc8,_0x3626b3){return _0x2875d1(_0x165dc8,_0x3626b3);},'wZXce':function(_0x32e803,_0x53a80b){return _0x32e803===_0x53a80b;},'sRUbK':_0x37702c(0x27f)},_0x2df78=[];let _0x39701d=-0x757+0x1283+-0xb2c;const _0x4a7abb=/\[([^\]]+)\]\(([^)]+)\)|\*\*([^*]+)\*\*|\*([^*]+)\*|`([^`]+)`/g;let _0xa09744;while(_0x38f41e[_0x37702c(0x24b)](_0xa09744=_0x4a7abb[_0x37702c(0x2aa)](_0x4657a6),null)){_0x38f41e[_0x37702c(0x2c9)](_0xa09744[_0x37702c(0x2b2)],_0x39701d)&&_0x2df78[_0x37702c(0x2d2)]({'type':_0x38f41e[_0x37702c(0x2a2)],'content':_0x4657a6[_0x37702c(0x23c)](_0x39701d,_0xa09744[_0x37702c(0x2b2)])});if(_0xa09744[-0x3e0+0x270+0x171]&&_0xa09744[-0x2*-0x2bf+-0x621+0xa5])_0x2df78[_0x37702c(0x2d2)]({'type':_0x38f41e[_0x37702c(0x261)],'text':_0xa09744[-0x11f4+-0x897+0x1a8c],'url':_0xa09744[-0x4*-0x7ab+-0xbb3*-0x3+-0x41c3]});else{if(_0xa09744[-0x2620+-0x1*-0x1e89+-0x79a*-0x1])_0x2df78[_0x37702c(0x2d2)]({'type':_0x38f41e[_0x37702c(0x2bd)],'text':_0xa09744[0x9ad*-0x1+0x994+0xe*0x2]});else{if(_0xa09744[-0x1*-0x1b81+-0xa6*0x2d+0x1b1])_0x2df78[_0x37702c(0x2d2)]({'type':_0x38f41e[_0x37702c(0x1ff)],'text':_0xa09744[-0x13ad+0x2619+-0x1268]});else _0xa09744[0x7c4*0x2+-0x22*-0x11a+-0x34f7]&&_0x2df78[_0x37702c(0x2d2)]({'type':_0x38f41e[_0x37702c(0x285)],'text':_0xa09744[0x1*0x9b8+-0x1*-0xd52+-0x1705]});}}_0x39701d=_0x4a7abb[_0x37702c(0x27b)];}_0x38f41e[_0x37702c(0x28d)](_0x39701d,_0x4657a6[_0x37702c(0x21f)])&&_0x2df78[_0x37702c(0x2d2)]({'type':_0x38f41e[_0x37702c(0x2a2)],'content':_0x4657a6[_0x37702c(0x23c)](_0x39701d)});const _0x46e99f=(_0x1596e8,_0x19d93a)=>new Promise(_0x3c6a28=>{const _0x42145d=_0x37702c;if(!_0x19d93a)return _0x38f41e[_0x42145d(0x264)](_0x3c6a28);let _0x1c6aac=0x1061+-0x13b*-0x1+-0x119c;const _0xd81ff7=_0x38f41e[_0x42145d(0x2d7)](setInterval,()=>{const _0x3e1651=_0x42145d;_0x1596e8[_0x3e1651(0x266)]+=_0x19d93a[_0x3e1651(0x216)](_0x1c6aac),_0x1c6aac++,_0x38f41e[_0x3e1651(0x265)](scrollToBottom),_0x38f41e[_0x3e1651(0x2d5)](_0x1c6aac,_0x19d93a[_0x3e1651(0x21f)])&&(_0x38f41e[_0x3e1651(0x28e)](clearInterval,_0xd81ff7),_0x38f41e[_0x3e1651(0x265)](_0x3c6a28));},_0x960132);});for(const _0x51c0ba of _0x2df78){if(_0x38f41e[_0x37702c(0x203)](_0x51c0ba[_0x37702c(0x263)],_0x38f41e[_0x37702c(0x2a2)])){const _0x14b25f=document[_0x37702c(0x22f)]('');_0x146e14[_0x37702c(0x249)](_0x14b25f),await _0x38f41e[_0x37702c(0x211)](_0x46e99f,_0x14b25f,_0x51c0ba[_0x37702c(0x271)]);}else{if(_0x38f41e[_0x37702c(0x26e)](_0x51c0ba[_0x37702c(0x263)],_0x38f41e[_0x37702c(0x261)])){const _0x52a641=document[_0x37702c(0x278)]('a');_0x52a641[_0x37702c(0x273)]=_0x51c0ba[_0x37702c(0x234)],_0x52a641[_0x37702c(0x29a)]=_0x38f41e[_0x37702c(0x2b1)],_0x52a641[_0x37702c(0x296)]=_0x38f41e[_0x37702c(0x2cc)],_0x52a641[_0x37702c(0x1f6)]=_0x38f41e[_0x37702c(0x21b)],_0x146e14[_0x37702c(0x249)](_0x52a641),await _0x38f41e[_0x37702c(0x217)](_0x46e99f,_0x52a641,_0x51c0ba[_0x37702c(0x204)]);}else{if(_0x38f41e[_0x37702c(0x2bc)](_0x51c0ba[_0x37702c(0x263)],_0x38f41e[_0x37702c(0x2bd)])){const _0x2d13b3=document[_0x37702c(0x278)](_0x38f41e[_0x37702c(0x2d4)]);_0x146e14[_0x37702c(0x249)](_0x2d13b3),await _0x38f41e[_0x37702c(0x207)](_0x46e99f,_0x2d13b3,_0x51c0ba[_0x37702c(0x204)]);}else{if(_0x38f41e[_0x37702c(0x2c1)](_0x51c0ba[_0x37702c(0x263)],_0x38f41e[_0x37702c(0x1ff)])){const _0x3931a0=document[_0x37702c(0x278)]('em');_0x146e14[_0x37702c(0x249)](_0x3931a0),await _0x38f41e[_0x37702c(0x211)](_0x46e99f,_0x3931a0,_0x51c0ba[_0x37702c(0x204)]);}else{if(_0x38f41e[_0x37702c(0x26e)](_0x51c0ba[_0x37702c(0x263)],_0x38f41e[_0x37702c(0x285)])){const _0x230ecb=document[_0x37702c(0x278)](_0x38f41e[_0x37702c(0x285)]);_0x230ecb[_0x37702c(0x1f6)]=_0x38f41e[_0x37702c(0x2ae)],_0x146e14[_0x37702c(0x249)](_0x230ecb),await _0x38f41e[_0x37702c(0x217)](_0x46e99f,_0x230ecb,_0x51c0ba[_0x37702c(0x204)]);}}}}}}},appendAiChatMessage=_0x1e0a71=>{const _0x991b61=_0x2a1bda,_0x3b886f={'sxlnj':function(_0x4c4ea4,_0x12e3ce,_0x1de9e2,_0x10f03e){return _0x4c4ea4(_0x12e3ce,_0x1de9e2,_0x10f03e);},'mwxUL':_0x991b61(0x23a),'kcENG':_0x991b61(0x242),'DzfxB':function(_0x58a4e7){return _0x58a4e7();},'Ojkau':_0x991b61(0x27e)},_0x3da0ad=document[_0x991b61(0x278)](_0x3b886f[_0x991b61(0x29e)]);_0x3da0ad[_0x991b61(0x1f6)]=_0x3b886f[_0x991b61(0x2c0)],_0x3da0ad[_0x991b61(0x291)]=_0x991b61(0x26b),el[_0x991b61(0x230)]()[_0x991b61(0x249)](_0x3da0ad),_0x3b886f[_0x991b61(0x27d)](scrollToBottom);const _0x5e2b1e=_0x3da0ad[_0x991b61(0x2a1)](_0x3b886f[_0x991b61(0x222)]);return((async()=>{const _0x45d057=_0x991b61;await _0x3b886f[_0x45d057(0x2a6)](typeOut,_0x5e2b1e,_0x1e0a71,0x22a+0x1cc+-0x3ee);})()),_0x3da0ad;},appendAiMessage=_0x10be2d=>{const _0x42c2e5=_0x2a1bda,_0x4a841e={'rrFEw':function(_0x1f2fca,_0x183cd4,_0x5d7b71,_0x1bd277){return _0x1f2fca(_0x183cd4,_0x5d7b71,_0x1bd277);},'TRFTq':function(_0x4cfef8,_0x56a4d7,_0x41bcb4,_0x50d4e8){return _0x4cfef8(_0x56a4d7,_0x41bcb4,_0x50d4e8);},'dASys':function(_0x451cc4,_0x3e96d8){return _0x451cc4>_0x3e96d8;},'uQXPD':_0x42c2e5(0x1f4),'qztUg':_0x42c2e5(0x23a),'gFaNg':_0x42c2e5(0x242),'noWFM':function(_0x1444c1){return _0x1444c1();},'FyQHU':_0x42c2e5(0x290),'lXwKL':_0x42c2e5(0x28b),'RntiA':_0x42c2e5(0x23b)},{cause:_0x51988c,explanation:_0x2e05b0,fix:_0x271b00,severity:_0x40748e,affectedMod:_0x118d82}=_0x10be2d,_0x12a118=document[_0x42c2e5(0x278)](_0x4a841e[_0x42c2e5(0x29b)]);_0x12a118[_0x42c2e5(0x1f6)]=_0x4a841e[_0x42c2e5(0x22c)],_0x12a118[_0x42c2e5(0x291)]=_0x42c2e5(0x251)+_0x40748e+'\x22>'+_0x40748e+_0x42c2e5(0x233)+_0x118d82+_0x42c2e5(0x247),el[_0x42c2e5(0x230)]()[_0x42c2e5(0x249)](_0x12a118),_0x4a841e[_0x42c2e5(0x20a)](scrollToBottom);const _0x284b11=_0x12a118[_0x42c2e5(0x2a1)]('h3'),_0xb52ee5=_0x12a118[_0x42c2e5(0x2a1)](_0x4a841e[_0x42c2e5(0x2b9)]),_0x21dee1=_0x12a118[_0x42c2e5(0x2a1)](_0x4a841e[_0x42c2e5(0x25b)]),_0x2a06c9=_0x12a118[_0x42c2e5(0x2a1)]('ol'),_0x44ed3e=_0x12a118[_0x42c2e5(0x2a1)](_0x4a841e[_0x42c2e5(0x25d)]);return((async()=>{const _0x2e7507=_0x42c2e5;_0x44ed3e[_0x2e7507(0x206)][_0x2e7507(0x250)]=-0x39b+0x65*0x3b+-0x13ab,await _0x4a841e[_0x2e7507(0x1fb)](typeOut,_0x284b11,_0x51988c,-0xa5a+0x911*-0x3+0x259c),await _0x4a841e[_0x2e7507(0x22b)](typeOut,_0xb52ee5,_0x2e05b0,0x111*0x1a+0xd*0x1f9+0x2*-0x1aad);if(_0x271b00&&_0x4a841e[_0x2e7507(0x246)](_0x271b00[_0x2e7507(0x21f)],-0x2032+-0x24ba+0x44ec)){_0x21dee1[_0x2e7507(0x206)][_0x2e7507(0x25c)]=_0x4a841e[_0x2e7507(0x208)];for(const _0x379323 of _0x271b00){const _0x21766c=document[_0x2e7507(0x278)]('li');_0x2a06c9[_0x2e7507(0x249)](_0x21766c),await _0x4a841e[_0x2e7507(0x22b)](typeOut,_0x21766c,_0x379323,0x1*-0x19d9+-0xa4e+0x242f);}}})()),_0x12a118;},addHistoryItem=(_0x36e414,_0x1bcc2e)=>{const _0x51f9f1=_0x2a1bda,_0x2cb452={'vMVzz':_0x51f9f1(0x26d),'bMQzm':_0x51f9f1(0x227),'awyuo':function(_0x3a3096){return _0x3a3096();},'lOSLx':function(_0x8ccbd1,_0x2b6d46){return _0x8ccbd1===_0x2b6d46;},'Xbaza':_0x51f9f1(0x223),'LAOFK':function(_0x33f9da){return _0x33f9da();},'QfbgG':function(_0x2f2d9f,_0x4cc384){return _0x2f2d9f!==_0x4cc384;},'JczYM':_0x51f9f1(0x210),'uxCQU':_0x51f9f1(0x294),'lLSMc':_0x51f9f1(0x2bb),'CDRiV':function(_0x5d78c7){return _0x5d78c7();},'rdHgb':_0x51f9f1(0x2c2),'biZkx':_0x51f9f1(0x2ac),'aWclM':_0x51f9f1(0x204),'AhEVU':_0x51f9f1(0x200),'iZVrY':_0x51f9f1(0x226),'MVjPK':_0x51f9f1(0x280),'QqMOI':_0x51f9f1(0x2d6),'SUkIS':_0x51f9f1(0x272),'sAyKO':_0x51f9f1(0x2b8),'DBVPp':_0x51f9f1(0x277),'LQJIU':_0x51f9f1(0x254),'QYgEI':_0x51f9f1(0x29d),'WHjKy':_0x51f9f1(0x20d),'VIVdz':_0x51f9f1(0x258),'gsMDM':_0x51f9f1(0x2a4),'GOkqC':_0x51f9f1(0x235),'MvJzC':_0x51f9f1(0x287)},_0x23d32f=document[_0x51f9f1(0x278)]('a');_0x23d32f[_0x51f9f1(0x1f6)]=_0x2cb452[_0x51f9f1(0x288)],_0x23d32f[_0x51f9f1(0x291)]=_0x51f9f1(0x268)+(_0x36e414[_0x51f9f1(0x212)]||_0x2cb452[_0x51f9f1(0x244)])+_0x51f9f1(0x218);const _0x3cd7a7=()=>{const _0x3e7a7c=_0x51f9f1;document[_0x3e7a7c(0x25a)](_0x2cb452[_0x3e7a7c(0x257)])[_0x3e7a7c(0x2cb)](_0x3e33d2=>_0x3e33d2[_0x3e7a7c(0x202)][_0x3e7a7c(0x241)](_0x3e7a7c(0x227))),_0x23d32f[_0x3e7a7c(0x202)][_0x3e7a7c(0x224)](_0x2cb452[_0x3e7a7c(0x2b3)]);},_0x58c7ee=_0xe922b7=>{const _0x1b9f35=_0x51f9f1;_0xe922b7[_0x1b9f35(0x214)](),_0x2cb452[_0x1b9f35(0x23d)](_0x3cd7a7);if(_0x2cb452[_0x1b9f35(0x2d3)](typeof _0x1bcc2e,_0x2cb452[_0x1b9f35(0x21a)]))_0x2cb452[_0x1b9f35(0x248)](_0x1bcc2e);};_0x23d32f[_0x51f9f1(0x293)](_0x2cb452[_0x51f9f1(0x2c7)],_0x58c7ee);const _0x5a3d42=_0x23d32f[_0x51f9f1(0x2a1)](_0x2cb452[_0x51f9f1(0x1fc)]),_0x19af72=_0x23d32f[_0x51f9f1(0x2a1)](_0x2cb452[_0x51f9f1(0x228)]),_0x1978e8=_0x23d32f[_0x51f9f1(0x2a1)](_0x2cb452[_0x51f9f1(0x289)]),_0x484abd=_0x23d32f[_0x51f9f1(0x2a1)](_0x2cb452[_0x51f9f1(0x24c)]),_0x2d89f1=_0x23d32f[_0x51f9f1(0x2a1)](_0x2cb452[_0x51f9f1(0x2c8)]);_0x5a3d42[_0x51f9f1(0x293)](_0x2cb452[_0x51f9f1(0x2c7)],_0x29459f=>{const _0x303bef=_0x51f9f1,_0x4703c6={'nleZJ':function(_0x16a7dd,_0x46d80a){const _0x2ff5c7=_0x27e6;return _0x2cb452[_0x2ff5c7(0x2af)](_0x16a7dd,_0x46d80a);},'gnrcQ':_0x2cb452[_0x303bef(0x2cd)]};_0x29459f[_0x303bef(0x214)](),_0x29459f[_0x303bef(0x297)](),document[_0x303bef(0x25a)](_0x2cb452[_0x303bef(0x232)])[_0x303bef(0x2cb)](_0x41889=>{const _0x43c869=_0x303bef;if(_0x4703c6[_0x43c869(0x205)](_0x41889,_0x19af72))_0x41889[_0x43c869(0x202)][_0x43c869(0x241)](_0x4703c6[_0x43c869(0x26c)]);}),_0x19af72[_0x303bef(0x202)][_0x303bef(0x1fe)](_0x2cb452[_0x303bef(0x2cd)]);}),_0x1978e8[_0x51f9f1(0x293)](_0x2cb452[_0x51f9f1(0x2c7)],_0x384110=>{const _0x4bb87e=_0x51f9f1,_0x5151d0={'srLgY':function(_0xa07bf5,_0x33fdc7){const _0x5efce0=_0x27e6;return _0x2cb452[_0x5efce0(0x2d3)](_0xa07bf5,_0x33fdc7);},'eJRTR':_0x2cb452[_0x4bb87e(0x2bf)],'uiotR':function(_0x437855){const _0x24a781=_0x4bb87e;return _0x2cb452[_0x24a781(0x259)](_0x437855);},'BGRVz':_0x2cb452[_0x4bb87e(0x29c)]};_0x384110[_0x4bb87e(0x214)](),_0x384110[_0x4bb87e(0x297)](),_0x19af72[_0x4bb87e(0x202)][_0x4bb87e(0x241)](_0x2cb452[_0x4bb87e(0x2cd)]);const _0x1fe421=_0x2d89f1[_0x4bb87e(0x266)],_0x265aa9=document[_0x4bb87e(0x278)](_0x2cb452[_0x4bb87e(0x2a0)]);_0x265aa9[_0x4bb87e(0x263)]=_0x2cb452[_0x4bb87e(0x269)],_0x265aa9[_0x4bb87e(0x1f6)]=_0x2cb452[_0x4bb87e(0x26f)],_0x265aa9[_0x4bb87e(0x28a)]=_0x1fe421,_0x23d32f[_0x4bb87e(0x2d0)](_0x265aa9,_0x2d89f1),_0x2d89f1[_0x4bb87e(0x206)][_0x4bb87e(0x25c)]=_0x2cb452[_0x4bb87e(0x21e)],_0x265aa9[_0x4bb87e(0x20c)](),_0x265aa9[_0x4bb87e(0x293)](_0x2cb452[_0x4bb87e(0x2c7)],_0x37fa08=>_0x37fa08[_0x4bb87e(0x297)]());const _0x5705e5=()=>{const _0x5375f2=_0x4bb87e,_0x19c811=_0x265aa9[_0x5375f2(0x28a)][_0x5375f2(0x270)]();_0x19c811&&(_0x2d89f1[_0x5375f2(0x266)]=_0x19c811),_0x2d89f1[_0x5375f2(0x206)][_0x5375f2(0x25c)]='',_0x265aa9[_0x5375f2(0x241)]();};_0x265aa9[_0x4bb87e(0x293)](_0x2cb452[_0x4bb87e(0x24d)],_0x5705e5),_0x265aa9[_0x4bb87e(0x293)](_0x2cb452[_0x4bb87e(0x20e)],_0x39d425=>{const _0x3e966a=_0x4bb87e;if(_0x5151d0[_0x3e966a(0x22e)](_0x39d425[_0x3e966a(0x2c3)],_0x5151d0[_0x3e966a(0x279)]))_0x5151d0[_0x3e966a(0x286)](_0x5705e5);_0x5151d0[_0x3e966a(0x22e)](_0x39d425[_0x3e966a(0x2c3)],_0x5151d0[_0x3e966a(0x225)])&&(_0x265aa9[_0x3e966a(0x28a)]=_0x1fe421,_0x5151d0[_0x3e966a(0x286)](_0x5705e5)),_0x39d425[_0x3e966a(0x297)]();});}),_0x484abd[_0x51f9f1(0x293)](_0x2cb452[_0x51f9f1(0x2c7)],_0x2041fe=>{const _0x283398=_0x51f9f1;_0x2041fe[_0x283398(0x214)](),_0x2041fe[_0x283398(0x297)](),_0x23d32f[_0x283398(0x241)]();if(_0x23d32f[_0x283398(0x202)][_0x283398(0x236)](_0x2cb452[_0x283398(0x2b3)])){const _0x3bb264=document[_0x283398(0x25a)](_0x2cb452[_0x283398(0x260)]);_0x3bb264[_0x283398(0x2cb)](_0x14b11b=>_0x14b11b[_0x283398(0x241)]());const _0x345ebd=el[_0x283398(0x28c)]();if(_0x345ebd)_0x345ebd[_0x283398(0x206)][_0x283398(0x25c)]=_0x2cb452[_0x283398(0x1f8)];}}),document[_0x51f9f1(0x293)](_0x2cb452[_0x51f9f1(0x2c7)],_0x1ab1ef=>{const _0x2acb2b=_0x51f9f1;!_0x23d32f[_0x2acb2b(0x236)](_0x1ab1ef[_0x2acb2b(0x29a)])&&_0x19af72[_0x2acb2b(0x202)][_0x2acb2b(0x241)](_0x2cb452[_0x2acb2b(0x2cd)]);});const _0x17fdc2=el[_0x51f9f1(0x201)]();_0x17fdc2[_0x51f9f1(0x27c)]?_0x17fdc2[_0x51f9f1(0x2d0)](_0x23d32f,_0x17fdc2[_0x51f9f1(0x27c)]):_0x17fdc2[_0x51f9f1(0x249)](_0x23d32f),_0x2cb452[_0x51f9f1(0x23d)](_0x3cd7a7);},scrollToBottom=()=>{const _0x4abe9a=_0x2a1bda,_0x1517a5={'WJIXu':_0x4abe9a(0x2b4)},_0x1616cf=document[_0x4abe9a(0x281)](_0x1517a5[_0x4abe9a(0x2ca)]);_0x1616cf[_0x4abe9a(0x27a)]=_0x1616cf[_0x4abe9a(0x252)];},scrollToElement=_0x26459d=>{const _0x417c9b=_0x2a1bda,_0x4e3bef={'Ppzvv':_0x417c9b(0x24f),'WjTuW':_0x417c9b(0x29f)};_0x26459d&&_0x26459d[_0x417c9b(0x2a3)]({'behavior':_0x4e3bef[_0x417c9b(0x2a7)],'block':_0x4e3bef[_0x417c9b(0x2b0)]});};let toastTimer=null;const showError=_0x3bf7cb=>{const _0x433a2f=_0x2a1bda,_0x15718b={'LaytF':_0x433a2f(0x245),'zMZIZ':function(_0xae5b72,_0x473736){return _0xae5b72(_0x473736);},'OJXHj':function(_0x4b71df,_0x1fe8ef,_0x43d8d5){return _0x4b71df(_0x1fe8ef,_0x43d8d5);}},_0x499191=el[_0x433a2f(0x240)]();_0x499191[_0x433a2f(0x266)]=_0x3bf7cb,_0x499191[_0x433a2f(0x202)][_0x433a2f(0x224)](_0x15718b[_0x433a2f(0x213)]);if(toastTimer)_0x15718b[_0x433a2f(0x2b7)](clearTimeout,toastTimer);toastTimer=_0x15718b[_0x433a2f(0x282)](setTimeout,()=>_0x499191[_0x433a2f(0x202)][_0x433a2f(0x241)](_0x433a2f(0x245)),-0x95c+0x5*0x10f+0x1799);};export{el,initAutoResize,getCrashLogValue,clearCrashLogInput,setAnalyzeButtonLoading,showQueueBar,hideQueueBar,hideWelcomeScreen,appendUserMessage,appendLoadingMessage,removeLoadingMessage,appendAiMessage,appendAiChatMessage,addHistoryItem,scrollToElement,showError};function _0x27e6(_0x19f746,_0x2afcc0){_0x19f746=_0x19f746-(-0x8*0x1cb+-0x1ae3+0x2b2f);const _0x2ef7ca=_0x4542();let _0x14e5de=_0x2ef7ca[_0x19f746];return _0x14e5de;}function _0x4542(){const _0x4195b1=['QMDFi','tynpa','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22loading-canvas-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<canvas\x20id=\x223d-loader-canvas\x22></canvas>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22loading-text-glow\x22>Decoding\x20crash\x20logs...</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','lLSMc','kcENG','wZXce','Escape','key','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22user-message-bubble\x22>','noopener\x20noreferrer','FMCdp','MVjPK','MvJzC','arTGE','WJIXu','forEach','dxiLg','JczYM','ywuwn','20nntzuK','insertBefore','eqyqD','push','lOSLx','mJFgP','gSFxM','blur','BNGUx','queueBarText','block','crashLogInput','className','CqhZd','DBVPp','172FkDPpS','messages-area','rrFEw','WHjKy','3d-loader-canvas','toggle','kgUtn','history-edit-input','historyList','classList','JdWIg','text','nleZJ','style','AXIIC','uQXPD','italic','noWFM','ebOOd','focus','.history-item-btn-dots','SUkIS','133728JAPTyz','open','DghdC','affectedMod','LaytF','preventDefault','auto','charAt','NJPsu','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22history-item-actions\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-item-btn-dots\x22\x20title=\x22Options\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2214\x22\x20height=\x2214\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2212\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x225\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2219\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22history-item-menu\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-menu-item\x20edit-btn\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22><path\x20d=\x22M11\x204H4a2\x202\x200\x200\x200-2\x202v14a2\x202\x200\x200\x200\x202\x202h14a2\x202\x200\x200\x200\x202-2v-7\x22></path><path\x20d=\x22M18.5\x202.5a2.121\x202.121\x200\x200\x201\x203\x203L12\x2015l-4\x201\x201-4\x209.5-9.5z\x22></path></svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Name\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-menu-item\x20delete-btn\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22><polyline\x20points=\x223\x206\x205\x206\x2021\x206\x22></polyline><path\x20d=\x22M19\x206v14a2\x202\x200\x200\x201-2\x202H7a2\x202\x200\x200\x201-2-2V6m3\x200V4a2\x202\x200\x200\x201\x202-2h4a2\x202\x200\x200\x201\x202\x202v2\x22></path><line\x20x1=\x2210\x22\x20y1=\x2211\x22\x20x2=\x2210\x22\x20y2=\x2217\x22></line><line\x20x1=\x2214\x22\x20y1=\x2211\x22\x20x2=\x2214\x22\x20y2=\x2217\x22></line></svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','3238400ngoIpJ','Xbaza','eNVng','dKJKA','message-row\x20user-row','iZVrY','length','link','crash-log-input','Ojkau','function','add','BGRVz','none','active','VIVdz','VDvgy','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20user\x22>U</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','TRFTq','gFaNg','min','srLgY','createTextNode','messagesArea','btn-analyze','uxCQU','\x20severity</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22mod-pill\x22>','url','.delete-btn','contains','queueBar','error-toast','bold','div','.pill-container','substring','awyuo','disabled','faksX','errorToast','remove','message-row\x20ai-row','ai-link','QYgEI','visible','dASys','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3></h3>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22fix-container\x22\x20style=\x22display:\x20none;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p><strong>Fix:</strong></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ol></ol>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','LAOFK','appendChild','2IwkmGE','wqkKO','GOkqC','QqMOI','height','smooth','opacity','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x20ai-message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pill-container\x22\x20style=\x22opacity:\x200;\x20transition:\x20opacity\x200.4s\x20ease-in;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22severity-pill\x20','scrollHeight','strong','history-item','4104095NaoQOl','analyzeButton','vMVzz','.history-item-menu','CDRiV','querySelectorAll','lXwKL','display','RntiA','171470vFMCpk','MYtUj','sAyKO','MGCEZ','oYkMx','type','mLahd','FkyTK','textContent','ELgeC','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22history-item-text\x22>','aWclM','KPiXV','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x20ai-chat-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','gnrcQ','.history-item','UwwNS','AhEVU','trim','content','keydown','href','hGZNr','queue-bar-text','atzsb','flex','createElement','eJRTR','scrollTop','lastIndex','firstChild','DzfxB','.ai-chat-content','ai-code','click','getElementById','OJXHj','code','idwhx','bUzgh','uiotR','.history-item-text','LQJIU','gsMDM','value','.fix-container','welcomeScreen','igkZu','eilAk','41493PjGHHF','.ai-message-content\x20>\x20p','innerHTML','TRAVh','addEventListener','.history-item-menu.open','queue-bar','rel','stopPropagation','1408383ZFxcvt','21hWpyvd','target','qztUg','rdHgb','Unknown\x20Crash','mwxUL','start','biZkx','querySelector','eqNtm','scrollIntoView','.edit-btn','eNtVf','sxlnj','Ppzvv','mgRyn','GoelH','exec','loading-message','input','_blank','sRUbK','QfbgG','WjTuW','aOFnQ','index','bMQzm','chat-container','164576smPADw','welcome-screen','zMZIZ','.message-row','FyQHU','history-list','Enter'];_0x4542=function(){return _0x4195b1;};return _0x4542();}
|
|
|
|
| 1 |
+
const _0x37bf96=_0x13c3;(function(_0x195c3d,_0x29cae4){const _0x308eaa=_0x13c3,_0x42f1d0=_0x195c3d();while(!![]){try{const _0x6afb63=parseInt(_0x308eaa(0x209))/(-0x1325+0x8c3*0x2+0x1a0)+parseInt(_0x308eaa(0x1df))/(0x725+-0x4*0x51+-0x1*0x5df)+-parseInt(_0x308eaa(0x212))/(0x5*-0xb6+0x10f1+-0xd60)*(parseInt(_0x308eaa(0x1b1))/(0xe63+-0x1605+-0x1*-0x7a6))+-parseInt(_0x308eaa(0x25b))/(0x13d*0x1c+0x52c+0x1*-0x27d3)+-parseInt(_0x308eaa(0x25a))/(-0x1*0x12d6+0x1d*0x15+0x107b)+parseInt(_0x308eaa(0x190))/(0xc*0x27f+-0x2453+-0x12*-0x5b)*(parseInt(_0x308eaa(0x26e))/(0x728+-0x1018+-0x1*-0x8f8))+parseInt(_0x308eaa(0x230))/(-0x574+0x1d3*0xd+-0x123a)*(parseInt(_0x308eaa(0x223))/(-0x15*-0x17f+0x1*0xfe+-0x205f));if(_0x6afb63===_0x29cae4)break;else _0x42f1d0['push'](_0x42f1d0['shift']());}catch(_0x5bacb3){_0x42f1d0['push'](_0x42f1d0['shift']());}}}(_0x36d3,-0x10806b*-0x1+-0x49bdf+-0x38*0x1d4));function _0x36d3(){const _0x252004=['wjvVO','target','uCnQV','opacity','classList','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x20ai-message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22pill-container\x22\x20style=\x22opacity:\x200;\x20transition:\x20opacity\x200.4s\x20ease-in;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22severity-pill\x20','1755243rjBnGH','min','index','queueBar','bjeOZ','SNErl','.ai-message-content\x20>\x20p','orwZQ','addEventListener','zZndp','welcome-screen','udVyq','SsgOt','YeugR','open','italic','TZzSq','22660670SApdvG','EAccW','\x20severity</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22mod-pill\x22>','createTextNode','substring','mpOIU','djVdO','keydown','trim','RklFk','text','ANzKv','querySelector','9IlgooX','GvESG','href','WMfDw','CTKVU','NEcPb','yZUDR','TfJUo','aezEL','xrfGK','EesMl','pZMOP','AjQIL','loading-message','bold','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22user-message-bubble\x22>','stopPropagation','DOSqu','njdDY','irBwe','shwkW','url','flex','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22history-item-actions\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-item-btn-dots\x22\x20title=\x22Options\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2214\x22\x20height=\x2214\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2212\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x225\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<circle\x20cx=\x2212\x22\x20cy=\x2219\x22\x20r=\x221\x22></circle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22history-item-menu\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-menu-item\x20edit-btn\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22><path\x20d=\x22M11\x204H4a2\x202\x200\x200\x200-2\x202v14a2\x202\x200\x200\x200\x202\x202h14a2\x202\x200\x200\x200\x202-2v-7\x22></path><path\x20d=\x22M18.5\x202.5a2.121\x202.121\x200\x200\x201\x203\x203L12\x2015l-4\x201\x201-4\x209.5-9.5z\x22></path></svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Edit\x20Name\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22history-menu-item\x20delete-btn\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2212\x22\x20height=\x2212\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22><polyline\x20points=\x223\x206\x205\x206\x2021\x206\x22></polyline><path\x20d=\x22M19\x206v14a2\x202\x200\x200\x201-2\x202H7a2\x202\x200\x200\x201-2-2V6m3\x200V4a2\x202\x200\x200\x201\x202-2h4a2\x202\x200\x200\x201\x202\x202v2\x22></path><line\x20x1=\x2210\x22\x20y1=\x2211\x22\x20x2=\x2210\x22\x20y2=\x2217\x22></line><line\x20x1=\x2214\x22\x20y1=\x2211\x22\x20x2=\x2214\x22\x20y2=\x2217\x22></line></svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Delete\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','blur','display','history-list','ai-code','add','getElementById','function','lRnmr','welcomeScreen','</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20user\x22>U</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','JsedI','queue-bar','jGQMA','cCBiR','PqdAL','link','Enter','div','5862354zKlTWb','5608635KmSlbr','RWsuR','history-item','visible','BHLFw','.fix-container','KQrlM','disabled','history-edit-input','.edit-btn','forEach','.ai-chat-content','value','.delete-btn','Escape','yuHfO','hzwzY','remove','errorToast','843984yojAKG','.pill-container','queueBarText','CWhNy','wOgnA','TNwpR','historyList','vyMNV','charAt','28BpLjXt','mREVY','Gwffd','message-row\x20user-row','rghOu','QlTqU','click','daQYJ','.history-item-btn-dots','jCkux','piVNT','IOGSy','smooth','gvMlS','fMZic','btn-analyze','chat-container','Unknown\x20Crash','xkicl','3d-loader-canvas','style','WscAa','HCNkL','KarQU','start','firstChild','MEwSm','fafPB','GCWiN','rdEMs','DTlFZ','wDMjo','Hwcaj','4NAKzIl','active','rel','focus','ai-link','QgtkE','GXqQt','querySelectorAll','srAvd','scrollIntoView','fhHZL','kKnqS','CQBnc','error-toast','createElement','jNvHr','vUmgO','XtYBq','lUTDd','key','HynSX','className','_blank','pdtsU','.history-item','dpjZo','UHVxG','none','IqUIC','kqIuZ','content','strong','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22loading-canvas-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<canvas\x20id=\x223d-loader-canvas\x22></canvas>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22loading-text-glow\x22>Decoding\x20crash\x20logs...</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','input','innerHTML','XsUOH','scrollTop','DARPF','preventDefault','LIugD','gRbpu','NyCLA','push','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<h3></h3>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22fix-container\x22\x20style=\x22display:\x20none;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p><strong>Fix:</strong></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<ol></ol>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','VoRwS','height','724312raTpPe','type','crashLogInput','crash-log-input','analyzeButton','JiBrG','queue-bar-text','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-avatar\x20ai\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<svg\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2024\x2024\x22\x20fill=\x22none\x22\x20stroke=\x22currentColor\x22\x20stroke-width=\x222\x22\x20stroke-linecap=\x22round\x22\x20stroke-linejoin=\x22round\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<path\x20d=\x22M21\x2016V8a2\x202\x200\x200\x200-1-1.73l-7-4a2\x202\x200\x200\x200-2\x200l-7\x204A2\x202\x200\x200\x200\x203\x208v8a2\x202\x200\x200\x200\x201\x201.73l7\x204a2\x202\x200\x200\x200\x202\x200l7-4A2\x202\x200\x200\x200\x2021\x2016z\x22></path>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</svg>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22message-content\x20ai-chat-content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20','affectedMod','XEpYg','message-row\x20ai-row','length','contains','code','.history-item-menu','mgdrK','appendChild','messagesArea','block','messages-area','auto','uCrru','textContent','WDbCf','qYETM','\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22history-item-text\x22>','noopener\x20noreferrer','scrollHeight','CZZib','.history-item-text','xDWQO','insertBefore','GXwmi','.history-item-menu.open','zxpjb','xnAPJ','toggle','exec','.message-row','BuLpp','fbntk','zPDJI','386848Ouxjrl','lastIndex','GPqDX'];_0x36d3=function(){return _0x252004;};return _0x36d3();}const el={'crashLogInput':()=>document[_0x37bf96(0x24d)](_0x37bf96(0x1e2)),'analyzeButton':()=>document[_0x37bf96(0x24d)](_0x37bf96(0x19f)),'queueBar':()=>document[_0x37bf96(0x24d)](_0x37bf96(0x253)),'queueBarText':()=>document[_0x37bf96(0x24d)](_0x37bf96(0x1e5)),'messagesArea':()=>document[_0x37bf96(0x24d)](_0x37bf96(0x1f2)),'welcomeScreen':()=>document[_0x37bf96(0x24d)](_0x37bf96(0x21c)),'historyList':()=>document[_0x37bf96(0x24d)](_0x37bf96(0x24a)),'errorToast':()=>document[_0x37bf96(0x24d)](_0x37bf96(0x1be))},initAutoResize=()=>{const _0x5b93dd=_0x37bf96,_0x407d7b={'RWsuR':_0x5b93dd(0x1f3),'Gwffd':function(_0x3e86c9,_0x568c9e){return _0x3e86c9+_0x568c9e;},'pdtsU':function(_0x4d25cc,_0x123e87){return _0x4d25cc===_0x123e87;},'CTKVU':_0x5b93dd(0x1d2)},_0x4c8ddd=el[_0x5b93dd(0x1e1)]();_0x4c8ddd[_0x5b93dd(0x21a)](_0x407d7b[_0x5b93dd(0x234)],()=>{const _0x4b8ceb=_0x5b93dd;_0x4c8ddd[_0x4b8ceb(0x1a4)][_0x4b8ceb(0x1de)]=_0x407d7b[_0x4b8ceb(0x25c)],_0x4c8ddd[_0x4b8ceb(0x1a4)][_0x4b8ceb(0x1de)]=_0x407d7b[_0x4b8ceb(0x192)](Math[_0x4b8ceb(0x213)](_0x4c8ddd[_0x4b8ceb(0x1fa)],0x3b1*0x1+-0x20+-0x2a1),'px'),el[_0x4b8ceb(0x1e3)]()[_0x4b8ceb(0x262)]=_0x407d7b[_0x4b8ceb(0x1c8)](_0x4c8ddd[_0x4b8ceb(0x267)][_0x4b8ceb(0x22b)]()[_0x4b8ceb(0x1ea)],-0x1eba*0x1+-0x1*0xbd7+0x1*0x2a91);});},getCrashLogValue=()=>el[_0x37bf96(0x1e1)]()[_0x37bf96(0x267)][_0x37bf96(0x22b)](),clearCrashLogInput=()=>{const _0x47deae=_0x37bf96,_0x46cd3e={'WMfDw':_0x47deae(0x1f3)},_0x34f655=el[_0x47deae(0x1e1)]();_0x34f655[_0x47deae(0x267)]='',_0x34f655[_0x47deae(0x1a4)][_0x47deae(0x1de)]=_0x46cd3e[_0x47deae(0x233)],el[_0x47deae(0x1e3)]()[_0x47deae(0x262)]=!![];},setAnalyzeButtonLoading=_0x1d833d=>{const _0x557c9c=_0x37bf96;el[_0x557c9c(0x1e3)]()[_0x557c9c(0x262)]=_0x1d833d;},showQueueBar=_0x99cee4=>{const _0x1c21d0=_0x37bf96,_0x1f8f15={'CZZib':_0x1c21d0(0x25e)};el[_0x1c21d0(0x215)]()[_0x1c21d0(0x210)][_0x1c21d0(0x24c)](_0x1f8f15[_0x1c21d0(0x1fb)]),el[_0x1c21d0(0x270)]()[_0x1c21d0(0x1f5)]=_0x99cee4;},hideQueueBar=()=>{const _0x25df50=_0x37bf96,_0x265b97={'xkicl':_0x25df50(0x25e)};el[_0x25df50(0x215)]()[_0x25df50(0x210)][_0x25df50(0x26c)](_0x265b97[_0x25df50(0x1a2)]);},hideWelcomeScreen=()=>{const _0x3c28df=_0x37bf96,_0x5a4528={'WDbCf':_0x3c28df(0x1cc)},_0x57a5aa=el[_0x3c28df(0x250)]();if(_0x57a5aa)_0x57a5aa[_0x3c28df(0x1a4)][_0x3c28df(0x249)]=_0x5a4528[_0x3c28df(0x1f6)];},appendUserMessage=_0xca6e1e=>{const _0x549807=_0x37bf96,_0x5eb126={'CQBnc':function(_0x181ab7){return _0x181ab7();},'XtYBq':_0x549807(0x259),'djVdO':_0x549807(0x193)};_0x5eb126[_0x549807(0x1bd)](hideWelcomeScreen);const _0x38b640=document[_0x549807(0x1bf)](_0x5eb126[_0x549807(0x1c2)]);_0x38b640[_0x549807(0x1c6)]=_0x5eb126[_0x549807(0x229)],_0x38b640[_0x549807(0x1d3)]=_0x549807(0x23f)+_0xca6e1e+_0x549807(0x251),el[_0x549807(0x1f0)]()[_0x549807(0x1ef)](_0x38b640),_0x5eb126[_0x549807(0x1bd)](scrollToBottom);},appendLoadingMessage=()=>{const _0x77e961=_0x37bf96,_0x53ca92={'DARPF':function(_0x5a7169){return _0x5a7169();},'gRbpu':_0x77e961(0x259),'njdDY':_0x77e961(0x1e9),'NEcPb':_0x77e961(0x23d),'BuLpp':function(_0x5751f2){return _0x5751f2();},'EAccW':_0x77e961(0x1a3)};_0x53ca92[_0x77e961(0x1d6)](hideWelcomeScreen);const _0x21e0d6=document[_0x77e961(0x1bf)](_0x53ca92[_0x77e961(0x1d9)]);return _0x21e0d6[_0x77e961(0x1c6)]=_0x53ca92[_0x77e961(0x242)],_0x21e0d6['id']=_0x53ca92[_0x77e961(0x235)],_0x21e0d6[_0x77e961(0x1d3)]=_0x77e961(0x1d1),el[_0x77e961(0x1f0)]()[_0x77e961(0x1ef)](_0x21e0d6),_0x53ca92[_0x77e961(0x206)](scrollToBottom),document[_0x77e961(0x24d)](_0x53ca92[_0x77e961(0x224)]);},removeLoadingMessage=()=>{const _0x1ab0e3=_0x37bf96,_0x51137e={'JiBrG':_0x1ab0e3(0x23d)},_0x23616c=document[_0x1ab0e3(0x24d)](_0x51137e[_0x1ab0e3(0x1e4)]);if(_0x23616c)_0x23616c[_0x1ab0e3(0x26c)]();},typeOut=async(_0x2715fa,_0x5d443a,_0x425764)=>{const _0xb5e877=_0x37bf96,_0x707b66={'GXwmi':function(_0x1dd6d6){return _0x1dd6d6();},'WscAa':function(_0x22d4b2,_0x4b595e){return _0x22d4b2>=_0x4b595e;},'SsgOt':function(_0x1ed292,_0x3894ca){return _0x1ed292(_0x3894ca);},'DTlFZ':function(_0x32e82e){return _0x32e82e();},'dpjZo':function(_0x37f99e){return _0x37f99e();},'daQYJ':function(_0x2f0fb0,_0x51cc72,_0x2f16fd){return _0x2f0fb0(_0x51cc72,_0x2f16fd);},'mpOIU':function(_0x1dab34,_0x27a84c){return _0x1dab34!==_0x27a84c;},'GvESG':function(_0x13af06,_0x415f20){return _0x13af06>_0x415f20;},'KarQU':_0xb5e877(0x22d),'kqIuZ':_0xb5e877(0x257),'Hwcaj':_0xb5e877(0x23e),'YeugR':_0xb5e877(0x221),'ANzKv':_0xb5e877(0x1ec),'uCnQV':function(_0x24480d,_0x24a0c1){return _0x24480d<_0x24a0c1;},'IOGSy':function(_0x4e9664,_0x3f47ea){return _0x4e9664===_0x3f47ea;},'wDMjo':function(_0x967214,_0x5d83fb,_0x319ee0){return _0x967214(_0x5d83fb,_0x319ee0);},'zPDJI':function(_0x30a73c,_0x562f8d){return _0x30a73c===_0x562f8d;},'wjvVO':_0xb5e877(0x1c7),'KQrlM':_0xb5e877(0x1f9),'GCWiN':_0xb5e877(0x1b5),'SNErl':function(_0x55148a,_0x14a7e8,_0x104702){return _0x55148a(_0x14a7e8,_0x104702);},'hzwzY':function(_0x1e20c2,_0x1a79fc){return _0x1e20c2===_0x1a79fc;},'EesMl':_0xb5e877(0x1d0),'xrfGK':function(_0x239b19,_0x2adf46){return _0x239b19===_0x2adf46;},'jCkux':_0xb5e877(0x24b),'QgtkE':function(_0x252e9e,_0x1f706d,_0x38f792){return _0x252e9e(_0x1f706d,_0x38f792);}},_0x243d33=[];let _0x4e4ac7=-0x19b8+0x2b4+0x1704;const _0x40e403=/\[([^\]]+)\]\(([^)]+)\)|\*\*([^*]+)\*\*|\*([^*]+)\*|`([^`]+)`/g;let _0x31319b;while(_0x707b66[_0xb5e877(0x228)](_0x31319b=_0x40e403[_0xb5e877(0x204)](_0x5d443a),null)){_0x707b66[_0xb5e877(0x231)](_0x31319b[_0xb5e877(0x214)],_0x4e4ac7)&&_0x243d33[_0xb5e877(0x1db)]({'type':_0x707b66[_0xb5e877(0x1a7)],'content':_0x5d443a[_0xb5e877(0x227)](_0x4e4ac7,_0x31319b[_0xb5e877(0x214)])});if(_0x31319b[-0xf*-0x163+-0x2*0x5cf+-0xeb*0xa]&&_0x31319b[-0xd*-0xff+0x9*0x1f+0x382*-0x4])_0x243d33[_0xb5e877(0x1db)]({'type':_0x707b66[_0xb5e877(0x1ce)],'text':_0x31319b[-0x1f47+0x114f+0xdf9],'url':_0x31319b[0x153e+-0x1f*0xb+-0x1*0x13e7]});else{if(_0x31319b[0x2*0xdfb+-0x21b5*-0x1+-0x3da8])_0x243d33[_0xb5e877(0x1db)]({'type':_0x707b66[_0xb5e877(0x1b0)],'text':_0x31319b[0x4*-0x3d5+-0x2*0x8dd+0x2111]});else{if(_0x31319b[-0x1*-0x1861+0x200*-0xb+0x25d*-0x1])_0x243d33[_0xb5e877(0x1db)]({'type':_0x707b66[_0xb5e877(0x21f)],'text':_0x31319b[0x1a99*0x1+-0x853*-0x3+0x338e*-0x1]});else _0x31319b[0x13e1+-0x14f*-0x16+-0x30a6]&&_0x243d33[_0xb5e877(0x1db)]({'type':_0x707b66[_0xb5e877(0x22e)],'text':_0x31319b[0x131*-0xb+-0x7*-0x277+0x1*-0x421]});}}_0x4e4ac7=_0x40e403[_0xb5e877(0x20a)];}_0x707b66[_0xb5e877(0x20e)](_0x4e4ac7,_0x5d443a[_0xb5e877(0x1ea)])&&_0x243d33[_0xb5e877(0x1db)]({'type':_0x707b66[_0xb5e877(0x1a7)],'content':_0x5d443a[_0xb5e877(0x227)](_0x4e4ac7)});const _0x8b979c=(_0x4f3259,_0x260727)=>new Promise(_0x1396c4=>{const _0xb78173=_0xb5e877;if(!_0x260727)return _0x707b66[_0xb78173(0x1ca)](_0x1396c4);let _0xbda858=-0x1*0x221b+0x1*0x207f+-0xce*-0x2;const _0x39817e=_0x707b66[_0xb78173(0x197)](setInterval,()=>{const _0xba3bc0=_0xb78173;_0x4f3259[_0xba3bc0(0x1f5)]+=_0x260727[_0xba3bc0(0x18f)](_0xbda858),_0xbda858++,_0x707b66[_0xba3bc0(0x1ff)](scrollToBottom),_0x707b66[_0xba3bc0(0x1a5)](_0xbda858,_0x260727[_0xba3bc0(0x1ea)])&&(_0x707b66[_0xba3bc0(0x21e)](clearInterval,_0x39817e),_0x707b66[_0xba3bc0(0x1ae)](_0x1396c4));},_0x425764);});for(const _0x1ac682 of _0x243d33){if(_0x707b66[_0xb5e877(0x19b)](_0x1ac682[_0xb5e877(0x1e0)],_0x707b66[_0xb5e877(0x1a7)])){const _0x2d6b60=document[_0xb5e877(0x226)]('');_0x2715fa[_0xb5e877(0x1ef)](_0x2d6b60),await _0x707b66[_0xb5e877(0x1af)](_0x8b979c,_0x2d6b60,_0x1ac682[_0xb5e877(0x1cf)]);}else{if(_0x707b66[_0xb5e877(0x208)](_0x1ac682[_0xb5e877(0x1e0)],_0x707b66[_0xb5e877(0x1ce)])){const _0x3bc11a=document[_0xb5e877(0x1bf)]('a');_0x3bc11a[_0xb5e877(0x232)]=_0x1ac682[_0xb5e877(0x245)],_0x3bc11a[_0xb5e877(0x20d)]=_0x707b66[_0xb5e877(0x20c)],_0x3bc11a[_0xb5e877(0x1b3)]=_0x707b66[_0xb5e877(0x261)],_0x3bc11a[_0xb5e877(0x1c6)]=_0x707b66[_0xb5e877(0x1ac)],_0x2715fa[_0xb5e877(0x1ef)](_0x3bc11a),await _0x707b66[_0xb5e877(0x217)](_0x8b979c,_0x3bc11a,_0x1ac682[_0xb5e877(0x22d)]);}else{if(_0x707b66[_0xb5e877(0x26b)](_0x1ac682[_0xb5e877(0x1e0)],_0x707b66[_0xb5e877(0x1b0)])){const _0x3ef53b=document[_0xb5e877(0x1bf)](_0x707b66[_0xb5e877(0x23a)]);_0x2715fa[_0xb5e877(0x1ef)](_0x3ef53b),await _0x707b66[_0xb5e877(0x217)](_0x8b979c,_0x3ef53b,_0x1ac682[_0xb5e877(0x22d)]);}else{if(_0x707b66[_0xb5e877(0x26b)](_0x1ac682[_0xb5e877(0x1e0)],_0x707b66[_0xb5e877(0x21f)])){const _0x2f9936=document[_0xb5e877(0x1bf)]('em');_0x2715fa[_0xb5e877(0x1ef)](_0x2f9936),await _0x707b66[_0xb5e877(0x197)](_0x8b979c,_0x2f9936,_0x1ac682[_0xb5e877(0x22d)]);}else{if(_0x707b66[_0xb5e877(0x239)](_0x1ac682[_0xb5e877(0x1e0)],_0x707b66[_0xb5e877(0x22e)])){const _0x316cf3=document[_0xb5e877(0x1bf)](_0x707b66[_0xb5e877(0x22e)]);_0x316cf3[_0xb5e877(0x1c6)]=_0x707b66[_0xb5e877(0x199)],_0x2715fa[_0xb5e877(0x1ef)](_0x316cf3),await _0x707b66[_0xb5e877(0x1b6)](_0x8b979c,_0x316cf3,_0x1ac682[_0xb5e877(0x22d)]);}}}}}}},appendAiChatMessage=_0x55ac56=>{const _0x4b8152=_0x37bf96,_0x5d34e5={'GXqQt':function(_0x192af9,_0x2a5a5b,_0x4b1aa1,_0x3f0413){return _0x192af9(_0x2a5a5b,_0x4b1aa1,_0x3f0413);},'vyMNV':_0x4b8152(0x259),'yZUDR':_0x4b8152(0x1e9),'RklFk':function(_0x5d1786){return _0x5d1786();},'IqUIC':_0x4b8152(0x266)},_0x38f57c=document[_0x4b8152(0x1bf)](_0x5d34e5[_0x4b8152(0x275)]);_0x38f57c[_0x4b8152(0x1c6)]=_0x5d34e5[_0x4b8152(0x236)],_0x38f57c[_0x4b8152(0x1d3)]=_0x4b8152(0x1e6),el[_0x4b8152(0x1f0)]()[_0x4b8152(0x1ef)](_0x38f57c),_0x5d34e5[_0x4b8152(0x22c)](scrollToBottom);const _0x35eee8=_0x38f57c[_0x4b8152(0x22f)](_0x5d34e5[_0x4b8152(0x1cd)]);return((async()=>{const _0x2d4c35=_0x4b8152;await _0x5d34e5[_0x2d4c35(0x1b7)](typeOut,_0x35eee8,_0x55ac56,0x1360+0x1d3f+-0x3097);})()),_0x38f57c;},appendAiMessage=_0x2f129a=>{const _0x53344b=_0x37bf96,_0x103983={'piVNT':function(_0x509321,_0x2acd85,_0x2bb134,_0x1dee38){return _0x509321(_0x2acd85,_0x2bb134,_0x1dee38);},'HCNkL':function(_0x43eb6c,_0xb184cc){return _0x43eb6c>_0xb184cc;},'TNwpR':_0x53344b(0x1f1),'JsedI':function(_0x584ab2,_0x388fc9,_0x460bce,_0x5cf953){return _0x584ab2(_0x388fc9,_0x460bce,_0x5cf953);},'jGQMA':_0x53344b(0x259),'BHLFw':_0x53344b(0x1e9),'uCrru':function(_0x44a253){return _0x44a253();},'TZzSq':_0x53344b(0x218),'jNvHr':_0x53344b(0x260),'gvMlS':_0x53344b(0x26f)},{cause:_0x186eff,explanation:_0x3fc647,fix:_0x408b8d,severity:_0x458399,affectedMod:_0x3b3291}=_0x2f129a,_0x34acfa=document[_0x53344b(0x1bf)](_0x103983[_0x53344b(0x254)]);_0x34acfa[_0x53344b(0x1c6)]=_0x103983[_0x53344b(0x25f)],_0x34acfa[_0x53344b(0x1d3)]=_0x53344b(0x211)+_0x458399+'\x22>'+_0x458399+_0x53344b(0x225)+_0x3b3291+_0x53344b(0x1dc),el[_0x53344b(0x1f0)]()[_0x53344b(0x1ef)](_0x34acfa),_0x103983[_0x53344b(0x1f4)](scrollToBottom);const _0x5d1a54=_0x34acfa[_0x53344b(0x22f)]('h3'),_0x1623e4=_0x34acfa[_0x53344b(0x22f)](_0x103983[_0x53344b(0x222)]),_0x11cff3=_0x34acfa[_0x53344b(0x22f)](_0x103983[_0x53344b(0x1c0)]),_0x15ef2f=_0x34acfa[_0x53344b(0x22f)]('ol'),_0x3fdfc7=_0x34acfa[_0x53344b(0x22f)](_0x103983[_0x53344b(0x19d)]);return((async()=>{const _0x1c9d2b=_0x53344b;_0x3fdfc7[_0x1c9d2b(0x1a4)][_0x1c9d2b(0x20f)]=-0x1*-0x26c+-0xd*0x33+0x2c,await _0x103983[_0x1c9d2b(0x19a)](typeOut,_0x5d1a54,_0x186eff,-0xe9a+0x1c77+-0xdce),await _0x103983[_0x1c9d2b(0x19a)](typeOut,_0x1623e4,_0x3fc647,0x457+-0x11c5+-0xd73*-0x1);if(_0x408b8d&&_0x103983[_0x1c9d2b(0x1a6)](_0x408b8d[_0x1c9d2b(0x1ea)],-0xd*0x1ed+-0x1*-0xacf+0x3*0x4be)){_0x11cff3[_0x1c9d2b(0x1a4)][_0x1c9d2b(0x249)]=_0x103983[_0x1c9d2b(0x273)];for(const _0x29a790 of _0x408b8d){const _0x6e5145=document[_0x1c9d2b(0x1bf)]('li');_0x15ef2f[_0x1c9d2b(0x1ef)](_0x6e5145),await _0x103983[_0x1c9d2b(0x252)](typeOut,_0x6e5145,_0x29a790,0x39d*0x9+-0x1c88+-0x3f5);}}})()),_0x34acfa;},addHistoryItem=(_0x5250d4,_0x17c735)=>{const _0x23bc08=_0x37bf96,_0x431444={'CWhNy':_0x23bc08(0x1c9),'XsUOH':_0x23bc08(0x1b2),'zxpjb':function(_0x50c73c){return _0x50c73c();},'NyCLA':function(_0x3c21c3,_0x88f5c4){return _0x3c21c3===_0x88f5c4;},'srAvd':_0x23bc08(0x24e),'kKnqS':function(_0x33525f,_0x4ac00b){return _0x33525f!==_0x4ac00b;},'udVyq':_0x23bc08(0x220),'GPqDX':_0x23bc08(0x200),'aezEL':function(_0x590a72,_0x44b4d4){return _0x590a72===_0x44b4d4;},'PqdAL':_0x23bc08(0x258),'QlTqU':function(_0x50b78f){return _0x50b78f();},'shwkW':function(_0x4d5f00,_0x4e757b){return _0x4d5f00===_0x4e757b;},'fhHZL':_0x23bc08(0x269),'rghOu':_0x23bc08(0x1d2),'rdEMs':_0x23bc08(0x22d),'yuHfO':_0x23bc08(0x263),'mREVY':_0x23bc08(0x1cc),'LIugD':_0x23bc08(0x196),'bjeOZ':_0x23bc08(0x248),'MEwSm':_0x23bc08(0x22a),'TfJUo':_0x23bc08(0x205),'lRnmr':_0x23bc08(0x246),'zZndp':_0x23bc08(0x25d),'XEpYg':_0x23bc08(0x1a1),'fbntk':_0x23bc08(0x198),'fafPB':_0x23bc08(0x1ed),'UHVxG':_0x23bc08(0x264),'xDWQO':_0x23bc08(0x268),'wOgnA':_0x23bc08(0x1fc)},_0x3ae592=document[_0x23bc08(0x1bf)]('a');_0x3ae592[_0x23bc08(0x1c6)]=_0x431444[_0x23bc08(0x21b)],_0x3ae592[_0x23bc08(0x1d3)]=_0x23bc08(0x1f8)+(_0x5250d4[_0x23bc08(0x1e7)]||_0x431444[_0x23bc08(0x1e8)])+_0x23bc08(0x247);const _0x5e08d2=()=>{const _0xf49cd4=_0x23bc08;document[_0xf49cd4(0x1b8)](_0x431444[_0xf49cd4(0x271)])[_0xf49cd4(0x265)](_0x5de062=>_0x5de062[_0xf49cd4(0x210)][_0xf49cd4(0x26c)](_0xf49cd4(0x1b2))),_0x3ae592[_0xf49cd4(0x210)][_0xf49cd4(0x24c)](_0x431444[_0xf49cd4(0x1d4)]);},_0x2f16e5=_0x35d452=>{const _0x4b7432=_0x23bc08;_0x35d452[_0x4b7432(0x1d7)](),_0x431444[_0x4b7432(0x201)](_0x5e08d2);if(_0x431444[_0x4b7432(0x1da)](typeof _0x17c735,_0x431444[_0x4b7432(0x1b9)]))_0x431444[_0x4b7432(0x201)](_0x17c735);};_0x3ae592[_0x23bc08(0x21a)](_0x431444[_0x23bc08(0x1d8)],_0x2f16e5);const _0x4950d2=_0x3ae592[_0x23bc08(0x22f)](_0x431444[_0x23bc08(0x207)]),_0x47b59e=_0x3ae592[_0x23bc08(0x22f)](_0x431444[_0x23bc08(0x1ab)]),_0x441ade=_0x3ae592[_0x23bc08(0x22f)](_0x431444[_0x23bc08(0x1cb)]),_0x51e8d6=_0x3ae592[_0x23bc08(0x22f)](_0x431444[_0x23bc08(0x1fd)]),_0x2fcfd3=_0x3ae592[_0x23bc08(0x22f)](_0x431444[_0x23bc08(0x272)]);_0x4950d2[_0x23bc08(0x21a)](_0x431444[_0x23bc08(0x1d8)],_0x2d3521=>{const _0x390561=_0x23bc08,_0x43e351={'vUmgO':function(_0xb426b9,_0x1a4e4e){const _0x1758e7=_0x13c3;return _0x431444[_0x1758e7(0x1bc)](_0xb426b9,_0x1a4e4e);},'AjQIL':_0x431444[_0x390561(0x21d)]};_0x2d3521[_0x390561(0x1d7)](),_0x2d3521[_0x390561(0x240)](),document[_0x390561(0x1b8)](_0x431444[_0x390561(0x20b)])[_0x390561(0x265)](_0x39a045=>{const _0x73d78=_0x390561;if(_0x43e351[_0x73d78(0x1c1)](_0x39a045,_0x47b59e))_0x39a045[_0x73d78(0x210)][_0x73d78(0x26c)](_0x43e351[_0x73d78(0x23c)]);}),_0x47b59e[_0x390561(0x210)][_0x390561(0x203)](_0x431444[_0x390561(0x21d)]);}),_0x441ade[_0x23bc08(0x21a)](_0x431444[_0x23bc08(0x1d8)],_0x3d5d6c=>{const _0x37a166=_0x23bc08,_0x4bb8a2={'VoRwS':function(_0x214318,_0x2c4404){const _0x33dd8b=_0x13c3;return _0x431444[_0x33dd8b(0x238)](_0x214318,_0x2c4404);},'qYETM':_0x431444[_0x37a166(0x256)],'fMZic':function(_0x142268){const _0x1fdbf5=_0x37a166;return _0x431444[_0x1fdbf5(0x195)](_0x142268);},'xnAPJ':function(_0x1e8e82,_0x30c59d){const _0x3d9a3f=_0x37a166;return _0x431444[_0x3d9a3f(0x244)](_0x1e8e82,_0x30c59d);},'irBwe':_0x431444[_0x37a166(0x1bb)],'orwZQ':function(_0x17fde9){const _0x42ebdd=_0x37a166;return _0x431444[_0x42ebdd(0x195)](_0x17fde9);}};_0x3d5d6c[_0x37a166(0x1d7)](),_0x3d5d6c[_0x37a166(0x240)](),_0x47b59e[_0x37a166(0x210)][_0x37a166(0x26c)](_0x431444[_0x37a166(0x21d)]);const _0x221058=_0x2fcfd3[_0x37a166(0x1f5)],_0x31caa3=document[_0x37a166(0x1bf)](_0x431444[_0x37a166(0x194)]);_0x31caa3[_0x37a166(0x1e0)]=_0x431444[_0x37a166(0x1ad)],_0x31caa3[_0x37a166(0x1c6)]=_0x431444[_0x37a166(0x26a)],_0x31caa3[_0x37a166(0x267)]=_0x221058,_0x3ae592[_0x37a166(0x1fe)](_0x31caa3,_0x2fcfd3),_0x2fcfd3[_0x37a166(0x1a4)][_0x37a166(0x249)]=_0x431444[_0x37a166(0x191)],_0x31caa3[_0x37a166(0x1b4)](),_0x31caa3[_0x37a166(0x21a)](_0x431444[_0x37a166(0x1d8)],_0x48ec27=>_0x48ec27[_0x37a166(0x240)]());const _0x200ae3=()=>{const _0x502d27=_0x37a166,_0x4b6ac6=_0x31caa3[_0x502d27(0x267)][_0x502d27(0x22b)]();_0x4b6ac6&&(_0x2fcfd3[_0x502d27(0x1f5)]=_0x4b6ac6),_0x2fcfd3[_0x502d27(0x1a4)][_0x502d27(0x249)]='',_0x31caa3[_0x502d27(0x26c)]();};_0x31caa3[_0x37a166(0x21a)](_0x431444[_0x37a166(0x216)],_0x200ae3),_0x31caa3[_0x37a166(0x21a)](_0x431444[_0x37a166(0x1aa)],_0x282af8=>{const _0xbb9bc4=_0x37a166;if(_0x4bb8a2[_0xbb9bc4(0x1dd)](_0x282af8[_0xbb9bc4(0x1c4)],_0x4bb8a2[_0xbb9bc4(0x1f7)]))_0x4bb8a2[_0xbb9bc4(0x19e)](_0x200ae3);_0x4bb8a2[_0xbb9bc4(0x202)](_0x282af8[_0xbb9bc4(0x1c4)],_0x4bb8a2[_0xbb9bc4(0x243)])&&(_0x31caa3[_0xbb9bc4(0x267)]=_0x221058,_0x4bb8a2[_0xbb9bc4(0x219)](_0x200ae3)),_0x282af8[_0xbb9bc4(0x240)]();});}),_0x51e8d6[_0x23bc08(0x21a)](_0x431444[_0x23bc08(0x1d8)],_0x43c1de=>{const _0x5ace24=_0x23bc08;_0x43c1de[_0x5ace24(0x1d7)](),_0x43c1de[_0x5ace24(0x240)](),_0x3ae592[_0x5ace24(0x26c)]();if(_0x3ae592[_0x5ace24(0x210)][_0x5ace24(0x1eb)](_0x431444[_0x5ace24(0x1d4)])){const _0x5d8ee6=document[_0x5ace24(0x1b8)](_0x431444[_0x5ace24(0x237)]);_0x5d8ee6[_0x5ace24(0x265)](_0x1814f6=>_0x1814f6[_0x5ace24(0x26c)]());const _0x36872f=el[_0x5ace24(0x250)]();if(_0x36872f)_0x36872f[_0x5ace24(0x1a4)][_0x5ace24(0x249)]=_0x431444[_0x5ace24(0x24f)];}}),document[_0x23bc08(0x21a)](_0x431444[_0x23bc08(0x1d8)],_0x588ebe=>{const _0x4c9dd5=_0x23bc08;!_0x3ae592[_0x4c9dd5(0x1eb)](_0x588ebe[_0x4c9dd5(0x20d)])&&_0x47b59e[_0x4c9dd5(0x210)][_0x4c9dd5(0x26c)](_0x431444[_0x4c9dd5(0x21d)]);});const _0x351a92=el[_0x23bc08(0x274)]();_0x351a92[_0x23bc08(0x1a9)]?_0x351a92[_0x23bc08(0x1fe)](_0x3ae592,_0x351a92[_0x23bc08(0x1a9)]):_0x351a92[_0x23bc08(0x1ef)](_0x3ae592),_0x431444[_0x23bc08(0x201)](_0x5e08d2);},scrollToBottom=()=>{const _0x25c4c6=_0x37bf96,_0x1101a1={'HynSX':_0x25c4c6(0x1a0)},_0x44f1ca=document[_0x25c4c6(0x24d)](_0x1101a1[_0x25c4c6(0x1c5)]);_0x44f1ca[_0x25c4c6(0x1d5)]=_0x44f1ca[_0x25c4c6(0x1fa)];},scrollToElement=_0x49abd4=>{const _0x17481e=_0x37bf96,_0x4004b9={'cCBiR':_0x17481e(0x19c),'DOSqu':_0x17481e(0x1a8)};_0x49abd4&&_0x49abd4[_0x17481e(0x1ba)]({'behavior':_0x4004b9[_0x17481e(0x255)],'block':_0x4004b9[_0x17481e(0x241)]});};let toastTimer=null;const showError=_0x29ecbc=>{const _0x12df97=_0x37bf96,_0x354def={'lUTDd':_0x12df97(0x25e),'mgdrK':function(_0x4fc4b2,_0x531fc9){return _0x4fc4b2(_0x531fc9);},'pZMOP':function(_0x4e3961,_0x1af2ed,_0x32396a){return _0x4e3961(_0x1af2ed,_0x32396a);}},_0x1eb174=el[_0x12df97(0x26d)]();_0x1eb174[_0x12df97(0x1f5)]=_0x29ecbc,_0x1eb174[_0x12df97(0x210)][_0x12df97(0x24c)](_0x354def[_0x12df97(0x1c3)]);if(toastTimer)_0x354def[_0x12df97(0x1ee)](clearTimeout,toastTimer);toastTimer=_0x354def[_0x12df97(0x23b)](setTimeout,()=>_0x1eb174[_0x12df97(0x210)][_0x12df97(0x26c)](_0x12df97(0x25e)),0x6cb+0x30b*0x8+0x1*-0xb9b);};function _0x13c3(_0x81dc87,_0x401418){_0x81dc87=_0x81dc87-(0x16ae+-0x1a60+0x1*0x541);const _0x4182c1=_0x36d3();let _0x562d88=_0x4182c1[_0x81dc87];return _0x562d88;}export{el,initAutoResize,getCrashLogValue,clearCrashLogInput,setAnalyzeButtonLoading,showQueueBar,hideQueueBar,hideWelcomeScreen,appendUserMessage,appendLoadingMessage,removeLoadingMessage,appendAiMessage,appendAiChatMessage,addHistoryItem,scrollToElement,showError};
|
server/config.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
function
|
|
|
|
| 1 |
+
function _0x4aab(_0x5d66e3,_0x4038fb){_0x5d66e3=_0x5d66e3-(0x94d*0x1+0xa3+0x5*-0x1af);const _0x78789c=_0x56d2();let _0x439f04=_0x78789c[_0x5d66e3];return _0x439f04;}const _0x190d38=_0x4aab;(function(_0x114861,_0x5195c1){const _0x80969c=_0x4aab,_0x545dfc=_0x114861();while(!![]){try{const _0x188bfd=-parseInt(_0x80969c(0x19f))/(-0x5*0x47d+0x1c91+-0x61f)+-parseInt(_0x80969c(0x198))/(-0x17*-0xbf+0x5*-0xbf+0xd6c*-0x1)+parseInt(_0x80969c(0x1b4))/(-0x593*-0x1+-0xe4b+0x95*0xf)+parseInt(_0x80969c(0x1aa))/(0xb3*-0x7+-0x2b*-0xc1+-0x1b82)*(parseInt(_0x80969c(0x1a2))/(-0xb6b+0xddb*-0x1+0x7*0x39d))+-parseInt(_0x80969c(0x199))/(0x206+-0x4ad+0x2ad)+parseInt(_0x80969c(0x196))/(-0x293+-0x21f7+0x2491)+parseInt(_0x80969c(0x1a1))/(0x20dc*-0x1+-0xc29*-0x3+0x1*-0x397);if(_0x188bfd===_0x5195c1)break;else _0x545dfc['push'](_0x545dfc['shift']());}catch(_0x18ff1f){_0x545dfc['push'](_0x545dfc['shift']());}}}(_0x56d2,-0x9b*0x3c4+-0xee7fd+-0x2*-0xe5e62),require(_0x190d38(0x187))[_0x190d38(0x19e)]());const parseCommaSeparated=_0x157bfb=>_0x157bfb?_0x157bfb[_0x190d38(0x1ae)](',')[_0x190d38(0x194)](_0x1cd146=>_0x1cd146[_0x190d38(0x1a6)]())[_0x190d38(0x191)](Boolean):[],config={'server':{'port':parseInt(process[_0x190d38(0x1b1)][_0x190d38(0x1a3)],0x1055+0x19a0+0x1*-0x29eb)||0x1d15+0x1174*0x2+-0x3445,'nodeEnv':process[_0x190d38(0x1b1)][_0x190d38(0x18f)]||_0x190d38(0x197),'mockMode':process[_0x190d38(0x1b1)][_0x190d38(0x19b)]===_0x190d38(0x19d)},'ai':{'defaultProvider':process[_0x190d38(0x1b1)][_0x190d38(0x1b2)]||_0x190d38(0x1b3),'providers':{'gemini':{'name':_0x190d38(0x1b3),'model':_0x190d38(0x1a4),'keys':parseCommaSeparated(process[_0x190d38(0x1b1)][_0x190d38(0x192)])},'groq':{'name':_0x190d38(0x18c),'model':_0x190d38(0x18d),'keys':parseCommaSeparated(process[_0x190d38(0x1b1)][_0x190d38(0x1ab)])},'huggingface':{'name':_0x190d38(0x19a),'model':process[_0x190d38(0x1b1)][_0x190d38(0x19c)]||_0x190d38(0x190),'keys':process[_0x190d38(0x1b1)][_0x190d38(0x1a7)]?parseCommaSeparated(process[_0x190d38(0x1b1)][_0x190d38(0x1a7)]):[''],'spaceUrl':process[_0x190d38(0x1b1)][_0x190d38(0x1b5)]}},'keyDailyLimit':parseInt(process[_0x190d38(0x1b1)][_0x190d38(0x188)],0x14b8+-0x252d+-0x67*-0x29)||0x10ba+-0x973+-0x1*0x6e3},'rateLimit':{'disabled':process[_0x190d38(0x1b1)][_0x190d38(0x185)]===_0x190d38(0x19d),'maxRequests':parseInt(process[_0x190d38(0x1b1)][_0x190d38(0x1ad)],0x16a2*0x1+0x63e*0x2+-0x2314)||0x224a+-0x4*0x25c+0xc63*-0x2,'windowMinutes':parseInt(process[_0x190d38(0x1b1)][_0x190d38(0x18b)],0x859+-0x2*0x12b6+-0x101*-0x1d)||0xf9a*-0x1+0x97*0x27+-0x758},'queue':{'maxSize':parseInt(process[_0x190d38(0x1b1)][_0x190d38(0x1ac)],-0x1c4*0x5+0xdf*-0x5+0xd39)||-0x5fb*-0x1+-0x1*0x25c6+0x1ffd,'estimatedSecondsPerRequest':0x5},'systemPrompt':_0x190d38(0x1a0)+_0x190d38(0x18a)+_0x190d38(0x195)+_0x190d38(0x1af)+'{\x0a'+_0x190d38(0x1a9)+_0x190d38(0x1a8)+_0x190d38(0x1a5)+_0x190d38(0x1b0)+_0x190d38(0x189)+'}\x0a'+_0x190d38(0x193),'copyright':{'year':0x7ea,'author':_0x190d38(0x186)}};module[_0x190d38(0x18e)]=config;function _0x56d2(){const _0x102464=['dotenv','KEY_DAILY_LIMIT','\x20\x20\x22affectedMod\x22:\x20\x22string\x22\x0a','If\x20the\x20user\x20provides\x20a\x20Minecraft\x20crash\x20log,\x20your\x20response\x20MUST\x20be\x20a\x20JSON\x20object\x20in\x20the\x20exact\x20shape\x20below.\x0a','RATE_LIMIT_WINDOW_MINUTES','groq','llama3-70b-8192','exports','NODE_ENV','mistralai/Mistral-7B-Instruct-v0.2','filter','GEMINI_API_KEYS','Always\x20provide\x20direct\x20download\x20links\x20in\x20markdown\x20for\x20any\x20software\x20fixes.','map','If\x20the\x20user\x20provides\x20a\x20conversational\x20question,\x20follow-up,\x20or\x20general\x20inquiry,\x20respond\x20naturally,\x20conversationally,\x20and\x20intelligently\x20in\x20Markdown\x20text\x20(NOT\x20JSON).\x0a','3039827isqqUf','development','2506446EhzIkC','4023018EPoaoI','huggingface','MOCK_MODE','HF_MODEL','true','config','52606pTySZz','You\x20are\x20CrashX,\x20an\x20elite\x20Minecraft\x20crash\x20log\x20analyst\x20and\x20intelligent\x20assistant.\x0a','3255528ZYQHqU','1355MMPpHh','PORT','gemini-2.5-flash','\x20\x20\x22fix\x22:\x20[\x22[Link\x20Text](url)\x20-\x20description\x22,\x20...],\x0a','trim','HF_API_KEYS','\x20\x20\x22explanation\x22:\x20\x22string\x22,\x0a','\x20\x20\x22cause\x22:\x20\x22string\x22,\x0a','18448zqooGa','GROQ_API_KEYS','MAX_QUEUE_SIZE','RATE_LIMIT_MAX','split','JSON\x20SHAPE\x20FOR\x20LOGS:\x0a','\x20\x20\x22severity\x22:\x20\x22low\x22\x20|\x20\x22medium\x22\x20|\x20\x22high\x22\x20|\x20\x22critical\x22,\x0a','env','AI_PROVIDER','gemini','1926891YDdVOo','HF_SPACE_URL','DISABLE_RATE_LIMIT','Eleeter'];_0x56d2=function(){return _0x102464;};return _0x56d2();}
|
server/index.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
function _0x257c(){const _0x6a4954=['log','196692LyHLDq','../public/index.html','./middleware/rateLimit','143NmooGN','\x20from\x20','dotenv','path','sendFile','static','918830mIWlFN','get','nodeEnv','0.0.0.0','🚀\x20CrashX\x20IS\x20ONLINE!','Umlst','36SkuAsN','149414wuGMKJ','35BprCXU','server','json','config','🌍\x20Environment:\x20','/api','200kb','/api/analyze','622780GlsxyO','120clXHzZ','📡\x20Listening\x20on:\x20http://0.0.0.0:','/api/status','/api/auth','347838zFrPhn','use','17QzcgKr','helmet','join','../public','./config','./routes/status','method','229576PSnOrb','express','listen','📡\x20[HIT]\x20','./routes/auth','lzAwL','8539216mtpLuz','./routes/analyze','3bHumTv'];_0x257c=function(){return _0x6a4954;};return _0x257c();}const _0x1ec282=_0x2fe1;(function(_0x4e4be4,_0x4d3b40){const _0x16991b=_0x2fe1,_0x5d0a56=_0x4e4be4();while(!![]){try{const _0x713e24=-parseInt(_0x16991b(0x185))/(-0x2fb*0xd+-0x1396+0x3a56)*(parseInt(_0x16991b(0x175))/(0x2*0x7ad+-0x16db*-0x1+0x7*-0x575))+parseInt(_0x16991b(0x163))/(0x46*0x25+0x5d5*0x3+-0x1b9a)*(parseInt(_0x16991b(0x17e))/(-0x185*0xd+0x9e*0x35+0x1*-0xcf1))+-parseInt(_0x16991b(0x176))/(0x25d+-0x1dbe+0x1b66)*(parseInt(_0x16991b(0x183))/(-0x2cf*0x3+-0x1e4f+0x26c2))+parseInt(_0x16991b(0x161))/(-0x5d*0x68+0x3e*0x5c+0xf87)+-parseInt(_0x16991b(0x18c))/(0xe4d+0x2*-0x200+-0xa45)*(parseInt(_0x16991b(0x174))/(-0x91d*0x1+-0x1722+0x812*0x4))+parseInt(_0x16991b(0x17f))/(-0x70f+0xaaa+-0x391)*(parseInt(_0x16991b(0x16e))/(0x1*0x16af+0x26f6+-0x3d9a))+parseInt(_0x16991b(0x165))/(0x1*0x1dce+0xdcd+-0x2b8f)*(parseInt(_0x16991b(0x168))/(-0x1cf+0x24*-0x75+0x1250));if(_0x713e24===_0x4d3b40)break;else _0x5d0a56['push'](_0x5d0a56['shift']());}catch(_0x469e00){_0x5d0a56['push'](_0x5d0a56['shift']());}}}(_0x257c,0x478d*0x25+0xc*-0x11827+0xe80fd),require(_0x1ec282(0x16a))[_0x1ec282(0x179)]());const express=require(_0x1ec282(0x18d)),helmet=require(_0x1ec282(0x186)),path=require(_0x1ec282(0x16b)),config=require(_0x1ec282(0x189)),{globalRateLimiter}=require(_0x1ec282(0x167)),analyzeRoute=require(_0x1ec282(0x162)),statusRoute=require(_0x1ec282(0x18a)),authRoute=require(_0x1ec282(0x15f)),app=express();app[_0x1ec282(0x184)]((_0x1581fe,_0x1248ee,_0x44b6f2)=>{const _0x258853=_0x1ec282,_0x52e491={'Umlst':function(_0x18bf22){return _0x18bf22();}};console[_0x258853(0x164)](_0x258853(0x15e)+_0x1581fe[_0x258853(0x18b)]+'\x20'+_0x1581fe[_0x258853(0x16b)]+_0x258853(0x169)+_0x1581fe['ip']),_0x52e491[_0x258853(0x173)](_0x44b6f2);}),app[_0x1ec282(0x184)](express[_0x1ec282(0x178)]({'limit':_0x1ec282(0x17c)})),app[_0x1ec282(0x184)](express[_0x1ec282(0x16d)](path[_0x1ec282(0x187)](__dirname,_0x1ec282(0x188)))),app[_0x1ec282(0x184)](_0x1ec282(0x17b),globalRateLimiter),app[_0x1ec282(0x184)](_0x1ec282(0x17d),analyzeRoute),app[_0x1ec282(0x184)](_0x1ec282(0x181),statusRoute),app[_0x1ec282(0x184)](_0x1ec282(0x182),authRoute),app[_0x1ec282(0x16f)]('*',(_0x22adae,_0x50f090)=>{const _0x1fc1f7=_0x1ec282,_0x49d5f4={'lzAwL':_0x1fc1f7(0x166)};_0x50f090[_0x1fc1f7(0x16c)](path[_0x1fc1f7(0x187)](__dirname,_0x49d5f4[_0x1fc1f7(0x160)]));});function _0x2fe1(_0x10fdee,_0x829b18){_0x10fdee=_0x10fdee-(0x144f+-0xb9e*0x2+0x1*0x44b);const _0x223075=_0x257c();let _0x21b84c=_0x223075[_0x10fdee];return _0x21b84c;}const port=-0x6f*-0x87+-0x1ae1*-0x1+-0x36b6;app[_0x1ec282(0x18e)](port,_0x1ec282(0x171),()=>{const _0x2c8313=_0x1ec282;console[_0x2c8313(0x164)](_0x2c8313(0x172)),console[_0x2c8313(0x164)](_0x2c8313(0x180)+port),console[_0x2c8313(0x164)](_0x2c8313(0x17a)+config[_0x2c8313(0x177)][_0x2c8313(0x170)]);});
|
server/middleware/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
function
|
|
|
|
| 1 |
+
function _0x4f23(_0x12210b,_0xee5647){_0x12210b=_0x12210b-(0xe8f*0x2+0x1fff+0x3b43*-0x1);const _0xde6815=_0x5ba2();let _0x1ce6bf=_0xde6815[_0x12210b];return _0x1ce6bf;}const _0x259a1d=_0x4f23;(function(_0x759448,_0x1239ac){const _0x487d97=_0x4f23,_0x350c6a=_0x759448();while(!![]){try{const _0x3a3d48=-parseInt(_0x487d97(0x1dc))/(0x109*0x1f+0x316+-0x232c)+-parseInt(_0x487d97(0x1e1))/(-0x1055+0x263c+0x15e5*-0x1)+parseInt(_0x487d97(0x1df))/(0x4*-0x1c6+0x18ad+-0x8c9*0x2)*(-parseInt(_0x487d97(0x1db))/(0x1*0x1b05+-0x1e6f+-0x1*-0x36e))+parseInt(_0x487d97(0x1e4))/(-0x2454+0x2333*-0x1+0x2*0x23c6)*(parseInt(_0x487d97(0x1e3))/(-0xa07+-0x26cb+0x61b*0x8))+-parseInt(_0x487d97(0x1dd))/(0x13*0x15b+-0xf57+-0xa63*0x1)+-parseInt(_0x487d97(0x1e0))/(-0x1490+-0x1*0x1139+0x25d1)+parseInt(_0x487d97(0x1e2))/(-0x1a*0x17a+-0x158+0x1*0x27c5)*(parseInt(_0x487d97(0x1e5))/(0x1*-0x7a2+0x108b+-0x8df*0x1));if(_0x3a3d48===_0x1239ac)break;else _0x350c6a['push'](_0x350c6a['shift']());}catch(_0x5e0449){_0x350c6a['push'](_0x350c6a['shift']());}}}(_0x5ba2,0xadce7+0x1*-0x1122d+-0x2af96));const authMiddleware=(_0x206057,_0x4a1dcd,_0x136a25)=>{const _0x24de55=_0x4f23,_0x245ab8={'hDFup':function(_0x1c8c9c){return _0x1c8c9c();}};_0x245ab8[_0x24de55(0x1de)](_0x136a25);};function _0x5ba2(){const _0x574495=['3630347JLYsAo','hDFup','39099jZPYrC','6719576qVQNGp','1236942rtmVuZ','9XMJdpj','5154FeLSxU','3235uiqYPA','26882420QcPiKS','exports','164hLRYvx','266923tuMTrC'];_0x5ba2=function(){return _0x574495;};return _0x5ba2();}module[_0x259a1d(0x1da)]={'authMiddleware':authMiddleware};
|
server/middleware/rateLimit.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const
|
|
|
|
| 1 |
+
function _0x546f(_0x43c9af,_0x41e29d){_0x43c9af=_0x43c9af-(0x1fb7*0x1+-0x2085+0x2a6);const _0x5443ec=_0x43b2();let _0x2e1c2e=_0x5443ec[_0x43c9af];return _0x2e1c2e;}const _0x5b21b9=_0x546f;(function(_0x1c42de,_0x2e66f8){const _0x5d11ea=_0x546f,_0x2341fb=_0x1c42de();while(!![]){try{const _0x6e46b2=-parseInt(_0x5d11ea(0x1dd))/(-0x6*0x19+0xa15+-0x1e*0x51)*(-parseInt(_0x5d11ea(0x1f2))/(-0x1b*-0xba+-0x5*0x520+0x604))+parseInt(_0x5d11ea(0x1df))/(0x1*0x2485+0xd9a+0x190e*-0x2)*(parseInt(_0x5d11ea(0x1ea))/(-0x214f+-0x233*-0x5+0x1654))+parseInt(_0x5d11ea(0x1f5))/(-0xf08+-0xab*0x38+0x3475)*(parseInt(_0x5d11ea(0x1e2))/(0x23*0x2c+0x981+-0xf7f))+parseInt(_0x5d11ea(0x1e5))/(-0x36f*-0x7+0x530*0x5+0x853*-0x6)+parseInt(_0x5d11ea(0x1f0))/(0x1867+-0x249+0x2*-0xb0b)*(parseInt(_0x5d11ea(0x1ec))/(-0x1*-0x1518+-0xfe*0x17+-0xb*-0x29))+parseInt(_0x5d11ea(0x1da))/(-0x27*0x83+-0x1a0f+-0x5*-0x936)+-parseInt(_0x5d11ea(0x1e4))/(0x203a+0x58b+0x12dd*-0x2);if(_0x6e46b2===_0x2e66f8)break;else _0x2341fb['push'](_0x2341fb['shift']());}catch(_0x136bbf){_0x2341fb['push'](_0x2341fb['shift']());}}}(_0x43b2,0xf04c3+0xd8257+0x1e0c*-0xab));const rateLimit=require(_0x5b21b9(0x1f1)),config=require(_0x5b21b9(0x1f4)),MINUTES_TO_MS=-0xa*0x2257+0x134bd+0x1*0x10d09,globalRateLimiter=rateLimit({'windowMs':config[_0x5b21b9(0x1db)][_0x5b21b9(0x1e8)]*MINUTES_TO_MS,'max':config[_0x5b21b9(0x1db)][_0x5b21b9(0x1e6)],'standardHeaders':!![],'legacyHeaders':![],'skip':(_0x4dee1f,_0x2cc1aa)=>{const _0x401040=_0x5b21b9,_0x171f26={'KrmYO':function(_0x494634,_0x3d820d){return _0x494634===_0x3d820d;},'vJHNg':_0x401040(0x1dc),'Ufgpk':_0x401040(0x1d8),'mBfZZ':function(_0x2cd00c,_0xaae65){return _0x2cd00c===_0xaae65;}};if(_0x171f26[_0x401040(0x1e1)](_0x4dee1f[_0x401040(0x1e3)],_0x171f26[_0x401040(0x1ed)])||_0x171f26[_0x401040(0x1e1)](_0x4dee1f[_0x401040(0x1e3)],_0x171f26[_0x401040(0x1de)]))return!![];return _0x171f26[_0x401040(0x1ef)](config[_0x401040(0x1d9)][_0x401040(0x1eb)],!![])||_0x171f26[_0x401040(0x1e1)](config[_0x401040(0x1db)][_0x401040(0x1f3)],!![]);},'message':{'error':_0x5b21b9(0x1ee)+config[_0x5b21b9(0x1db)][_0x5b21b9(0x1e6)]+_0x5b21b9(0x1e7)+config[_0x5b21b9(0x1db)][_0x5b21b9(0x1e8)]+_0x5b21b9(0x1e0)}});module[_0x5b21b9(0x1e9)]={'globalRateLimiter':globalRateLimiter};function _0x43b2(){const _0x325f24=['rateLimit','/api/status','3785SIKywY','Ufgpk','5649cnaIab','\x20minutes.','KrmYO','30iFHaxf','path','34742279NqvYRp','7119518bVpJqK','maxRequests','\x20requests\x20per\x20','windowMinutes','exports','1268FMzrWw','mockMode','1701639cMxPpP','vJHNg','Too\x20many\x20requests.\x20Maximum\x20','mBfZZ','24cIgoeQ','express-rate-limit','52TzMECL','disabled','../config','595680mecktM','/status','server','8373630jSDeQU'];_0x43b2=function(){return _0x325f24;};return _0x43b2();}
|
server/routes/analyze.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
function
|
|
|
|
| 1 |
+
const _0x151b81=_0x1cd6;function _0x1cd6(_0x505886,_0xd94cb8){_0x505886=_0x505886-(0xa7a+-0x25ee+0x1d1b);const _0x1ad7ff=_0x95c8();let _0x4d18b2=_0x1ad7ff[_0x505886];return _0x4d18b2;}function _0x95c8(){const _0x183cf3=['Crash\x20log\x20is\x20too\x20short.\x20Minimum\x20','892SmoWyj','../services/queue','json','2946rphWdi','catch','1032ITKIfA','nrqEt','message','dcNjk','HFfUB','string','Sbrug','post','NlGcK','trim','65517MEdqrL','ETDEi','fcYLP','express','status','full','\x20characters.','includes','Ojvqh','7395982PkCocN','3040YBPtNJ','681576tSzJub','tGsjw','../services/logCompactor','body','Payload\x20(messages\x20or\x20crashLog)\x20is\x20required.','length','4208JLsnVD','Empty\x20messages.','isArray','20mDBHLk','taAxn','\x20characters\x20required.','HdOSi','exports','Crash\x20log\x20exceeds\x20maximum\x20size\x20of\x20','Router','2049271XxnnjA','7299XCnOAC'];_0x95c8=function(){return _0x183cf3;};return _0x95c8();}(function(_0x5acc7e,_0xff0dc2){const _0x71d886=_0x1cd6,_0x4115fb=_0x5acc7e();while(!![]){try{const _0x230556=-parseInt(_0x71d886(0x1ac))/(0x1*0x26b3+0x1*-0x1323+-0x138f)+-parseInt(_0x71d886(0x1ca))/(0x182e+-0x1284+-0x4*0x16a)*(parseInt(_0x71d886(0x1cd))/(-0x1*-0x12c5+0x1345+-0x289*0xf))+-parseInt(_0x71d886(0x1bd))/(0x167+0x1*-0x8+-0x15b)*(parseInt(_0x71d886(0x1b6))/(-0x720*0x5+-0x1*0x1c99+0x403e))+parseInt(_0x71d886(0x1b7))/(0x21*0xf7+-0x97b*-0x3+-0x6*0xa0b)+parseInt(_0x71d886(0x1c7))/(-0xc2*0x26+-0x1f25+0x3bf8)+parseInt(_0x71d886(0x1cf))/(0x2116+-0x26c0+-0x12*-0x51)*(-parseInt(_0x71d886(0x1c8))/(0xd0*-0x8+0x23c3+-0x1d3a))+parseInt(_0x71d886(0x1c0))/(-0x505*-0x1+0x1233*-0x1+0xd38)*(parseInt(_0x71d886(0x1b5))/(0x5c1*0x6+-0x179*0x1a+0x3*0x145));if(_0x230556===_0xff0dc2)break;else _0x4115fb['push'](_0x4115fb['shift']());}catch(_0x3fc7e1){_0x4115fb['push'](_0x4115fb['shift']());}}}(_0x95c8,0x3197e+0xe*-0xeea1+-0x1*-0x11a185));const express=require(_0x151b81(0x1af)),{enqueue}=require(_0x151b81(0x1cb)),{compactLog}=require(_0x151b81(0x1b9)),router=express[_0x151b81(0x1c6)](),MIN_LOG_LENGTH=0x655+0x1905+0x2*-0xfa3,MAX_LOG_LENGTH=0x22c6a+-0x2*-0x1192+-0xc8ee;router[_0x151b81(0x1a9)]('/',async(_0x370551,_0x4e35d9)=>{const _0x580d88=_0x151b81,_0x55df91={'HFfUB':function(_0x54a99a,_0x389935){return _0x54a99a||_0x389935;},'nrqEt':_0x580d88(0x1bb),'Sbrug':function(_0x26aa41,_0x48d0f5){return _0x26aa41===_0x48d0f5;},'fcYLP':_0x580d88(0x1a7),'Ojvqh':function(_0x5ac80b,_0x4d9fc5){return _0x5ac80b<_0x4d9fc5;},'HdOSi':function(_0x4e141c,_0x104154){return _0x4e141c(_0x104154);},'taAxn':function(_0x3fdb21,_0x5c5305){return _0x3fdb21===_0x5c5305;},'tGsjw':_0x580d88(0x1be),'ETDEi':function(_0xa3c417,_0x41f637){return _0xa3c417>_0x41f637;},'NlGcK':function(_0x5b5e15,_0x5a2d40){return _0x5b5e15(_0x5a2d40);},'dcNjk':_0x580d88(0x1b1)},{crashLog:_0x57205e,messages:_0x134bce}=_0x370551[_0x580d88(0x1ba)],_0x1b44c4=_0x55df91[_0x580d88(0x1d3)](_0x134bce,_0x57205e);if(!_0x1b44c4)return _0x4e35d9[_0x580d88(0x1b0)](-0x65*0x4f+-0x2539+-0x94*-0x79)[_0x580d88(0x1cc)]({'error':_0x55df91[_0x580d88(0x1d0)]});let _0x2e0d5a=_0x1b44c4;if(_0x55df91[_0x580d88(0x1a8)](typeof _0x1b44c4,_0x55df91[_0x580d88(0x1ae)])){const _0x592f9e=_0x1b44c4[_0x580d88(0x1ab)]();if(_0x55df91[_0x580d88(0x1b4)](_0x592f9e[_0x580d88(0x1bc)],MIN_LOG_LENGTH))return _0x4e35d9[_0x580d88(0x1b0)](0x61*-0x1+0x2371+-0x80*0x43)[_0x580d88(0x1cc)]({'error':_0x580d88(0x1c9)+MIN_LOG_LENGTH+_0x580d88(0x1c2)});_0x2e0d5a=_0x55df91[_0x580d88(0x1c3)](compactLog,_0x592f9e);}else{if(Array[_0x580d88(0x1bf)](_0x1b44c4)){if(_0x55df91[_0x580d88(0x1c1)](_0x1b44c4[_0x580d88(0x1bc)],0xa*-0x33d+0x7d7+0x188b))return _0x4e35d9[_0x580d88(0x1b0)](-0x32+-0x4db+0x1*0x69d)[_0x580d88(0x1cc)]({'error':_0x55df91[_0x580d88(0x1b8)]});}}if(_0x55df91[_0x580d88(0x1a8)](typeof _0x2e0d5a,_0x55df91[_0x580d88(0x1ae)])&&_0x55df91[_0x580d88(0x1ad)](_0x2e0d5a[_0x580d88(0x1bc)],MAX_LOG_LENGTH))return _0x4e35d9[_0x580d88(0x1b0)](-0x25*-0xc7+-0x2345+0x812*0x1)[_0x580d88(0x1cc)]({'error':_0x580d88(0x1c5)+MAX_LOG_LENGTH+_0x580d88(0x1b2)});try{const {jobId:_0x1bbeca,jobPromise:_0x571b9f}=_0x55df91[_0x580d88(0x1aa)](enqueue,_0x2e0d5a);_0x4e35d9[_0x580d88(0x1cc)]({'success':!![],'jobId':_0x1bbeca}),_0x571b9f[_0x580d88(0x1ce)](()=>{});}catch(_0x5465eb){const _0x932f40=_0x5465eb[_0x580d88(0x1d1)][_0x580d88(0x1b3)](_0x55df91[_0x580d88(0x1d2)])?0x14ff+-0x19ea+0x371*0x2:0xc3*0x11+0x1c4b*0x1+-0x274a;return _0x4e35d9[_0x580d88(0x1b0)](_0x932f40)[_0x580d88(0x1cc)]({'error':_0x5465eb[_0x580d88(0x1d1)]});}}),module[_0x151b81(0x1c4)]=router;
|
server/routes/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const
|
|
|
|
| 1 |
+
const _0x4425dd=_0x5e4b;function _0x5e4b(_0x436b85,_0x5b8318){_0x436b85=_0x436b85-(0x2020+-0x1*-0x851+-0x271e);const _0x5462d2=_0x11ce();let _0x2e5e30=_0x5462d2[_0x436b85];return _0x2e5e30;}(function(_0x241542,_0x2f7ee2){const _0x503a76=_0x5e4b,_0x5d8a03=_0x241542();while(!![]){try{const _0x3734bb=parseInt(_0x503a76(0x158))/(0x39*0x62+-0x159a+-0x37)+parseInt(_0x503a76(0x154))/(0x60a+0x1*0x26b3+-0x1*0x2cbb)+-parseInt(_0x503a76(0x15e))/(0x2*-0x38f+-0xef*-0x7+0x98)+parseInt(_0x503a76(0x15b))/(-0x3a9*0x7+-0xbb4+0x2557)+-parseInt(_0x503a76(0x153))/(-0x9c6+-0xd*-0x233+-0x12cc)+-parseInt(_0x503a76(0x15a))/(-0x21*0x56+0x923*0x4+-0x1970)+parseInt(_0x503a76(0x15c))/(0x24a4+-0x1*0xdf6+0x1*-0x16a7);if(_0x3734bb===_0x2f7ee2)break;else _0x5d8a03['push'](_0x5d8a03['shift']());}catch(_0xd28e5b){_0x5d8a03['push'](_0x5d8a03['shift']());}}}(_0x11ce,-0x564c3+-0x5*0x13a12+0xfa697));const express=require(_0x4425dd(0x159)),router=express[_0x4425dd(0x15d)]();router[_0x4425dd(0x156)]('/',(_0x1f6dea,_0x5c5cf6)=>{const _0xbcc891=_0x4425dd,_0x35ee45={'YOddm':_0xbcc891(0x15f)};_0x5c5cf6[_0xbcc891(0x155)]({'message':_0x35ee45[_0xbcc891(0x160)]});}),module[_0x4425dd(0x157)]=router;function _0x11ce(){const _0x101076=['1433744oDioJr','2804977vgEemA','Router','1163715OMAURR','Auth\x20endpoints\x20not\x20yet\x20implemented.','YOddm','2660805UoCoHu','320304TyeKCP','json','get','exports','289013YvKtDU','express','108264pjKFvb'];_0x11ce=function(){return _0x101076;};return _0x11ce();}
|
server/routes/status.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const
|
|
|
|
| 1 |
+
const _0xc17099=_0x13e9;(function(_0x564534,_0x3a2585){const _0xe2ca73=_0x13e9,_0xc18ace=_0x564534();while(!![]){try{const _0x4b1141=-parseInt(_0xe2ca73(0x200))/(0x199+0x2213+0x17*-0x18d)+parseInt(_0xe2ca73(0x1f9))/(0x26fe+0x1b53+-0x424f)*(parseInt(_0xe2ca73(0x1f6))/(-0x3*0x490+-0x2611*-0x1+-0x185e))+parseInt(_0xe2ca73(0x207))/(-0x16f*-0x4+0x423*0x9+-0x2af3)+parseInt(_0xe2ca73(0x1fd))/(0xf9e*-0x2+-0x1441+0x3382)*(parseInt(_0xe2ca73(0x203))/(-0x1*-0x17ff+-0x1*0x1b8e+0x395))+-parseInt(_0xe2ca73(0x20d))/(0x2557+0x579+0x2ac9*-0x1)*(parseInt(_0xe2ca73(0x205))/(-0xc9b+0x17b7+-0xb14))+parseInt(_0xe2ca73(0x206))/(0x1b*-0x51+-0x76c+0x1000)+-parseInt(_0xe2ca73(0x210))/(-0x2070+-0x19fa+0x3a74)*(parseInt(_0xe2ca73(0x212))/(0x1d*-0x43+-0x52*0x10+-0x1*-0xcc2));if(_0x4b1141===_0x3a2585)break;else _0xc18ace['push'](_0xc18ace['shift']());}catch(_0x377d86){_0xc18ace['push'](_0xc18ace['shift']());}}}(_0x4827,-0xdc12e+0x79eda+0x5ce*0x281));const express=require(_0xc17099(0x209)),{getJobStatus,getQueueStatus}=require(_0xc17099(0x20f)),keyRotator=require(_0xc17099(0x1fe)),config=require(_0xc17099(0x214)),router=express[_0xc17099(0x211)]();router[_0xc17099(0x208)]('/',(_0x187de8,_0x47223d)=>{const _0xcdeaa3=_0xc17099,_0x42df01={'xTZQG':_0xcdeaa3(0x1fc),'AfUrG':_0xcdeaa3(0x1f3),'zgkUg':function(_0x9097f5){return _0x9097f5();}};_0x47223d[_0xcdeaa3(0x20c)]({'status':_0x42df01[_0xcdeaa3(0x1fb)],'version':_0x42df01[_0xcdeaa3(0x1f8)],'copyright':'©\x20'+config[_0xcdeaa3(0x1fa)][_0xcdeaa3(0x20e)]+'\x20'+config[_0xcdeaa3(0x1fa)][_0xcdeaa3(0x1f5)],'queue':_0x42df01[_0xcdeaa3(0x202)](getQueueStatus),'keyRotator':keyRotator[_0xcdeaa3(0x204)]()});}),router[_0xc17099(0x208)](_0xc17099(0x20b),(_0x3300a5,_0x2c3699)=>{const _0x5b59d9=_0xc17099,_0x52ca1d={'jXJIe':function(_0x3cf275,_0x3b1cb9){return _0x3cf275(_0x3b1cb9);},'LSZsV':_0x5b59d9(0x1f7)},{jobId:_0x592bf3}=_0x3300a5[_0x5b59d9(0x213)],_0x12c7c9=_0x52ca1d[_0x5b59d9(0x1f4)](getJobStatus,_0x592bf3);if(!_0x12c7c9)return _0x2c3699[_0x5b59d9(0x201)](-0x2*-0xf51+0x74*-0x38+-0x3ae)[_0x5b59d9(0x20c)]({'error':_0x52ca1d[_0x5b59d9(0x20a)]});_0x2c3699[_0x5b59d9(0x20c)](_0x12c7c9);}),module[_0xc17099(0x1ff)]=router;function _0x13e9(_0x4073e0,_0x421323){_0x4073e0=_0x4073e0-(-0x119*0x22+0x636*0x5+0x837);const _0x36854c=_0x4827();let _0x2a0622=_0x36854c[_0x4073e0];return _0x2a0622;}function _0x4827(){const _0x37c709=['2140YLxoIx','Router','53691eCvJWw','params','../config','1.0.0','jXJIe','author','3gAYSWX','Job\x20not\x20found.','AfUrG','842462RmOAPg','copyright','xTZQG','online','30BWLvsM','../services/keyRotator','exports','239910TGgdje','status','zgkUg','532986vlrxox','getStatus','16IFNChB','7466175BgLuME','3940328LAMaGk','get','express','LSZsV','/:jobId','json','3268678bFvsgY','year','../services/queue'];_0x4827=function(){return _0x37c709;};return _0x4827();}
|
server/services/aiService.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const _0xace914=_0x1a14;function _0x5df6(){const _0x1c8682=['low','\x0a\x0aUser\x20Log:\x0a','POST','create','Uzvpy','tIAZo','/gradio_api/call/respond','providers','eMMPr','81clXopO','string','affectedMod','parts','status','ulQcy','710652nAkWjg','getBrainContext','OHqza','response','cause','stringify','spaceUrl','./brainService','length','XVqdO','TkSDu','systemPrompt','how\x20to\x20fix','log','YKrtX','choices','\x0a\x0aBRAIN\x20CONTEXT:\x0a','Our\x20systems\x20are\x20currently\x20handling\x20an\x20extreme\x20surge\x20in\x20data.\x20To\x20guarantee\x20the\x20high-precision\x20results\x20you\x20expect,\x20we\x20have\x20temporarily\x20limited\x20new\x20requests\x20to\x20maintain\x20100%\x20diagnostic\x20accuracy.','bjrfU','mockMode','HTUrA','Remove','toLowerCase','medium','Bearer\x20','oSZns','anyeP','2064dmkMlf','NFhkn','high','system','WLjJG','jNwjT','cjBbk','568316GNyhWP','explanation','Ullmm','chat','QMLvV','/v1/chat/completions','22biJgBc','exports','113840JdCiLc','data:\x20','huggingface','AI\x20response\x20did\x20not\x20contain\x20valid\x20JSON','assistant','HuggingFace\x20Error:\x20','getGenerativeModel','VHZSm','OHUjV','HF\x20Space\x20Initiation\x20Error:\x20','fix','zJjxs','split','https://api-inference.huggingface.co/models/','/gradio_api/call/respond/','severity','startsWith','qPnWu','658791NZwPwy','text','FocIB','push','OCgae','role','NwUxv','No\x20handler\x20for\x20provider:\x20','parse','faCwy','\x20-\x20','completions','server','qAzhf','25642IuJHKi','iMiAT','Extreme\x20Processing\x20Surge','critical','GraRQ','mbsvu','trim','WMAmj','PXuKF','step','tIWwp','\x0a\x0aUser\x20Input:\x0a','map','uOrbY','**How\x20to\x20fix:**\x0a\x0a','Please\x20stand\x20by\x20for\x20a\x20moment\x20while\x20we\x20prioritize\x20your\x20processing\x20slot.','Unknown\x20cause','RSgNi','DksTU','JKayY','apiKey','providerName','Analysis\x20will\x20resume\x20automatically\x20once\x20the\x20neural\x20core\x20recalibrates.','message','replace','[CRASHLENS]\x20Raw\x20AI\x20Response:','analysis','50Wtzgfl','generateContent','lMXsU','@google/generative-ai','IWGld','RBiWa','groq-sdk','application/json','substring','Failed\x20to\x20extract\x20response\x20from\x20HF\x20Space\x20stream.','match','slice','25364SoOohV','Vanilla','user','pQxqk','mrPbx','isArray','hZZUS','37774KjgSeg','content','includes','../config','json','bLrjI','qOHyn','10HyPwyE','Neural\x20Core','model','ojbGT'];_0x5df6=function(){return _0x1c8682;};return _0x5df6();}(function(_0x53cc7b,_0x100d8f){const _0x3e2fef=_0x1a14,_0x5548cb=_0x53cc7b();while(!![]){try{const _0x43af34=parseInt(_0x3e2fef(0x208))/(-0x1*0x579+0x1*-0x1e44+-0xa*-0x393)*(parseInt(_0x3e2fef(0x278))/(0x8b*0x10+0x180d*0x1+-0x20bb))+parseInt(_0x3e2fef(0x24a))/(-0x22b4+0x137*-0x19+0x4116)*(-parseInt(_0x3e2fef(0x22f))/(-0xb3*0x7+-0x219*0x4+0xd4d))+parseInt(_0x3e2fef(0x23d))/(-0x5b*0x1a+-0x1*0x1191+0x1ad4)*(parseInt(_0x3e2fef(0x250))/(0x1*0x2241+0x17*0xf8+-0x3883))+parseInt(_0x3e2fef(0x272))/(-0x3*0x3d2+0x1567+0x2*-0x4f5)+-parseInt(_0x3e2fef(0x1e8))/(-0x83*0x47+-0x391+0x27ee)+-parseInt(_0x3e2fef(0x1fa))/(0x10e4+0x44+-0x111f)*(-parseInt(_0x3e2fef(0x223))/(-0xc*-0x158+-0x16*-0x199+-0x4*0xccf))+parseInt(_0x3e2fef(0x236))/(0x1*-0x1e4+0x1a86*-0x1+-0x1c75*-0x1)*(-parseInt(_0x3e2fef(0x26b))/(0x223c+0xe68+0x1*-0x3098));if(_0x43af34===_0x100d8f)break;else _0x5548cb['push'](_0x5548cb['shift']());}catch(_0x6e191f){_0x5548cb['push'](_0x5548cb['shift']());}}}(_0x5df6,0x6a*-0x1de+0x4a878+-0xfc30));function _0x1a14(_0x22f94d,_0x42948){_0x22f94d=_0x22f94d-(-0x4b*0x70+-0x1954+0x3c0c);const _0x2041fe=_0x5df6();let _0xdb541=_0x2041fe[_0x22f94d];return _0xdb541;}const config=require(_0xace914(0x239)),brainService=require(_0xace914(0x257)),{GoogleGenerativeAI}=require(_0xace914(0x226)),Groq=require(_0xace914(0x229)),callGemini=async(_0x4c7b14,_0x276275,_0x58a1ca)=>{const _0x3d511a=_0xace914,_0x472f6e={'NwUxv':function(_0x57e423,_0x151d84){return _0x57e423===_0x151d84;},'bLrjI':_0x3d511a(0x24b),'faCwy':function(_0x1c9a65,_0x357a83){return _0x1c9a65>_0x357a83;},'NFhkn':_0x3d511a(0x231)},_0x1b236f=new GoogleGenerativeAI(_0x4c7b14),_0x22eb10=_0x1b236f[_0x3d511a(0x1ee)]({'model':_0x276275}),_0x2fc7dc=brainService[_0x3d511a(0x251)](),_0x5ae856=config[_0x3d511a(0x25b)]+_0x3d511a(0x260)+_0x2fc7dc;if(_0x472f6e[_0x3d511a(0x200)](typeof _0x58a1ca,_0x472f6e[_0x3d511a(0x23b)])){const _0x532006=_0x5ae856+_0x3d511a(0x242)+_0x58a1ca,_0x1f8ea9=await _0x22eb10[_0x3d511a(0x224)](_0x532006),_0x3aa648=_0x1f8ea9[_0x3d511a(0x253)][_0x3d511a(0x1fb)]();return _0x3aa648;}else{const _0x15be07=_0x58a1ca[_0x3d511a(0x214)](_0x43d3e9=>({'role':_0x43d3e9[_0x3d511a(0x1ff)]===_0x3d511a(0x231)?_0x3d511a(0x231):_0x3d511a(0x23f),'parts':[{'text':_0x43d3e9[_0x3d511a(0x237)]}]}));_0x472f6e[_0x3d511a(0x203)](_0x15be07[_0x3d511a(0x258)],0x4fd*0x4+-0x7*0x1+-0x13ed*0x1)&&_0x472f6e[_0x3d511a(0x200)](_0x15be07[-0x1b21+-0x1ab9*0x1+0x35da*0x1][_0x3d511a(0x1ff)],_0x472f6e[_0x3d511a(0x26c)])&&(_0x15be07[0x1d1e+0x1445+-0x3163][_0x3d511a(0x24d)][0xcca*-0x2+0x177+-0x181d*-0x1][_0x3d511a(0x1fb)]=_0x5ae856+_0x3d511a(0x213)+_0x15be07[0x314+0x4e*0x9+-0xa*0x95][_0x3d511a(0x24d)][0xf5*-0x16+-0x166a+-0xade*-0x4][_0x3d511a(0x1fb)]);const _0x4f436e=await _0x22eb10[_0x3d511a(0x224)]({'contents':_0x15be07});return _0x4f436e[_0x3d511a(0x253)][_0x3d511a(0x1fb)]();}},callGroq=async(_0x271d7e,_0x266783,_0x7436e9)=>{const _0x102002=_0xace914,_0x3d80ed={'VHZSm':function(_0x539788,_0x3f03c4){return _0x539788===_0x3f03c4;},'PXuKF':_0x102002(0x24b),'ulQcy':_0x102002(0x26e),'RSgNi':_0x102002(0x231)},_0x216b90=new Groq({'apiKey':_0x271d7e}),_0x4e6136=_0x3d80ed[_0x102002(0x1ef)](typeof _0x7436e9,_0x3d80ed[_0x102002(0x210)])?[{'role':_0x3d80ed[_0x102002(0x24f)],'content':config[_0x102002(0x25b)]},{'role':_0x3d80ed[_0x102002(0x219)],'content':_0x7436e9}]:[{'role':_0x3d80ed[_0x102002(0x24f)],'content':config[_0x102002(0x25b)]},..._0x7436e9[_0x102002(0x214)](_0x352add=>({'role':_0x352add[_0x102002(0x1ff)]===_0x102002(0x231)?_0x102002(0x231):_0x102002(0x1ec),'content':_0x352add[_0x102002(0x237)]}))],_0x4c39a5=await _0x216b90[_0x102002(0x275)][_0x102002(0x205)][_0x102002(0x244)]({'model':_0x266783,'messages':_0x4e6136});return _0x4c39a5[_0x102002(0x25f)][-0x106f*0x2+-0x8bf*0x1+0x299d][_0x102002(0x21f)][_0x102002(0x237)];},callHuggingFace=async(_0x5a8bb2,_0x252687,_0x273d06)=>{const _0x2f7612=_0xace914,_0x3e14b4={'qAzhf':function(_0x269620,_0x500ed0){return _0x269620===_0x500ed0;},'mrPbx':_0x2f7612(0x24b),'RBiWa':function(_0x18b56c,_0x1992ca){return _0x18b56c-_0x1992ca;},'hZZUS':function(_0x39f7e0,_0x302ef0){return _0x39f7e0===_0x302ef0;},'eMMPr':_0x2f7612(0x231),'XVqdO':function(_0x368bb2,_0x133ef0){return _0x368bb2!==_0x133ef0;},'OCgae':function(_0x492d47,_0x3395b1,_0x544e39){return _0x492d47(_0x3395b1,_0x544e39);},'DksTU':_0x2f7612(0x243),'zJjxs':_0x2f7612(0x22a),'tIAZo':function(_0x55689c,_0x73b7de){return _0x55689c(_0x73b7de);},'qPnWu':_0x2f7612(0x1e9),'oSZns':_0x2f7612(0x22c),'bjrfU':function(_0x491d63,_0x387024){return _0x491d63===_0x387024;},'Ullmm':_0x2f7612(0x26e)},_0x28a191=config['ai'][_0x2f7612(0x248)][_0x2f7612(0x1ea)],_0x384994=brainService[_0x2f7612(0x251)](),_0x47ebbe=config[_0x2f7612(0x25b)]+_0x2f7612(0x260)+_0x384994;if(_0x28a191[_0x2f7612(0x256)]){let _0x1d9d77='',_0x4468db=[];if(_0x3e14b4[_0x2f7612(0x207)](typeof _0x273d06,_0x3e14b4[_0x2f7612(0x233)]))_0x1d9d77=_0x273d06;else{_0x1d9d77=_0x273d06[_0x3e14b4[_0x2f7612(0x228)](_0x273d06[_0x2f7612(0x258)],-0x1*-0x6fd+0x18d5+-0x1fd1)][_0x2f7612(0x237)];const _0x4d8dea=_0x273d06[_0x2f7612(0x22e)](-0x2*0xf8+-0x9b4+0x2e9*0x4,-(0x175c+-0x1*-0x1c03+0x32*-0x107));let _0x5c0870=[null,null];for(const _0x3a9476 of _0x4d8dea){_0x3e14b4[_0x2f7612(0x235)](_0x3a9476[_0x2f7612(0x1ff)],_0x3e14b4[_0x2f7612(0x249)])?(_0x3e14b4[_0x2f7612(0x259)](_0x5c0870[0xce9+-0x2b9*0x4+-0x205],null)&&(_0x4468db[_0x2f7612(0x1fd)](_0x5c0870),_0x5c0870=[null,null]),_0x5c0870[-0x13d1+0xc96+0x73b]=_0x3a9476[_0x2f7612(0x237)]):(_0x5c0870[-0x16ab+0x1*0x21eb+-0xb3f*0x1]=_0x3a9476[_0x2f7612(0x237)],_0x4468db[_0x2f7612(0x1fd)](_0x5c0870),_0x5c0870=[null,null]);}_0x3e14b4[_0x2f7612(0x259)](_0x5c0870[0x18*0x44+-0x1*0x2294+0x1c34],null)&&_0x4468db[_0x2f7612(0x1fd)](_0x5c0870);}const _0x2bf87d=await _0x3e14b4[_0x2f7612(0x1fe)](fetch,_0x28a191[_0x2f7612(0x256)][_0x2f7612(0x220)](/\/$/,'')+_0x2f7612(0x247),{'method':_0x3e14b4[_0x2f7612(0x21a)],'headers':{'Content-Type':_0x3e14b4[_0x2f7612(0x1f3)],..._0x5a8bb2?{'Authorization':_0x2f7612(0x268)+_0x5a8bb2}:{}},'body':JSON[_0x2f7612(0x255)]({'data':[_0x1d9d77,_0x4468db,_0x47ebbe,0x3*0x741+-0x1*-0x1e6b+-0x2c2e,0x3d7*0x7+-0x6da*-0x1+-0x21bb+0.3,-0x23d9+0x307+-0x1069*-0x2+0.9]})});if(!_0x2bf87d['ok']){const _0x34531a=await _0x2bf87d[_0x2f7612(0x1fb)]();throw new Error(_0x2f7612(0x1f1)+_0x2bf87d[_0x2f7612(0x24e)]+_0x2f7612(0x204)+_0x34531a);}const {event_id:_0x21efd2}=await _0x2bf87d[_0x2f7612(0x23a)](),_0x1a322d=_0x28a191[_0x2f7612(0x256)][_0x2f7612(0x220)](/\/$/,'')+_0x2f7612(0x1f6)+_0x21efd2,_0xed1562=await _0x3e14b4[_0x2f7612(0x246)](fetch,_0x1a322d),_0x5f28dd=await _0xed1562[_0x2f7612(0x1fb)](),_0x20390e=_0x5f28dd[_0x2f7612(0x1f4)]('\x0a');let _0xb37ff6='';for(const _0x79fbee of _0x20390e){if(_0x79fbee[_0x2f7612(0x1f8)](_0x3e14b4[_0x2f7612(0x1f9)]))try{const _0x40152c=JSON[_0x2f7612(0x202)](_0x79fbee[_0x2f7612(0x22b)](-0x5*-0xc7+-0x1f61+0x1b84));Array[_0x2f7612(0x234)](_0x40152c)&&(_0xb37ff6=_0x40152c[0x16e0+0x3*0xcc1+0x1a7*-0x25]);}catch(_0x3e8cd4){}}if(!_0xb37ff6)throw new Error(_0x3e14b4[_0x2f7612(0x269)]);return _0xb37ff6;}const _0x3f2345=_0x3e14b4[_0x2f7612(0x262)](typeof _0x273d06,_0x3e14b4[_0x2f7612(0x233)])?[{'role':_0x3e14b4[_0x2f7612(0x274)],'content':_0x47ebbe},{'role':_0x3e14b4[_0x2f7612(0x249)],'content':_0x273d06}]:[{'role':_0x3e14b4[_0x2f7612(0x274)],'content':_0x47ebbe},..._0x273d06[_0x2f7612(0x214)](_0x2e0ec7=>({'role':_0x2e0ec7[_0x2f7612(0x1ff)]===_0x2f7612(0x231)?_0x2f7612(0x231):_0x2f7612(0x1ec),'content':_0x2e0ec7[_0x2f7612(0x237)]}))],_0x1e28a=await _0x3e14b4[_0x2f7612(0x1fe)](fetch,_0x2f7612(0x1f5)+_0x252687+_0x2f7612(0x277),{'headers':{'Authorization':_0x2f7612(0x268)+_0x5a8bb2,'Content-Type':_0x3e14b4[_0x2f7612(0x1f3)]},'method':_0x3e14b4[_0x2f7612(0x21a)],'body':JSON[_0x2f7612(0x255)]({'model':_0x252687,'messages':_0x3f2345,'max_tokens':0x800,'temperature':0.3})});if(!_0x1e28a['ok']){const _0x4a4cc1=await _0x1e28a[_0x2f7612(0x1fb)]();throw new Error(_0x2f7612(0x1ed)+_0x1e28a[_0x2f7612(0x24e)]+_0x2f7612(0x204)+_0x4a4cc1);}const _0x1d7522=await _0x1e28a[_0x2f7612(0x23a)]();return _0x1d7522[_0x2f7612(0x25f)][0x1*0x16ac+-0x5b*-0x5c+-0x8*0x6ec][_0x2f7612(0x21f)][_0x2f7612(0x237)][_0x2f7612(0x20e)]();},providerHandlers={'gemini':callGemini,'groq':callGroq,'huggingface':callHuggingFace},parseAiResponse=_0x3aa974=>{const _0x2e4829=_0xace914,_0x47bc31={'FocIB':_0x2e4829(0x1eb),'IWGld':_0x2e4829(0x241),'jNwjT':_0x2e4829(0x267),'YKrtX':_0x2e4829(0x26d),'anyeP':_0x2e4829(0x20b),'pQxqk':function(_0x58597c,_0x5b1b46){return _0x58597c(_0x5b1b46);},'cjBbk':_0x2e4829(0x218),'Uzvpy':function(_0x569f4c,_0x451f9a){return _0x569f4c(_0x451f9a);},'QMLvV':_0x2e4829(0x230)},_0x338139=_0x3aa974[_0x2e4829(0x22d)](/\{[\s\S]*\}/);if(!_0x338139)throw new Error(_0x47bc31[_0x2e4829(0x1fc)]);const _0x52b4b3=JSON[_0x2e4829(0x202)](_0x338139[0x16ab*-0x1+0x4d0*0x5+-0x165*0x1]),_0x5a52c7=[_0x47bc31[_0x2e4829(0x227)],_0x47bc31[_0x2e4829(0x270)],_0x47bc31[_0x2e4829(0x25e)],_0x47bc31[_0x2e4829(0x26a)]],_0x30f470=_0x5a52c7[_0x2e4829(0x238)](_0x52b4b3[_0x2e4829(0x1f7)])?_0x52b4b3[_0x2e4829(0x1f7)]:_0x47bc31[_0x2e4829(0x270)];return{'cause':_0x47bc31[_0x2e4829(0x232)](String,_0x52b4b3[_0x2e4829(0x254)]||_0x47bc31[_0x2e4829(0x271)]),'explanation':_0x47bc31[_0x2e4829(0x245)](String,_0x52b4b3[_0x2e4829(0x273)]||''),'fix':Array[_0x2e4829(0x234)](_0x52b4b3[_0x2e4829(0x1f2)])?_0x52b4b3[_0x2e4829(0x1f2)][_0x2e4829(0x214)](String):[],'severity':_0x30f470,'affectedMod':_0x47bc31[_0x2e4829(0x245)](String,_0x52b4b3[_0x2e4829(0x24c)]||_0x47bc31[_0x2e4829(0x276)])};},analyzeWithKey=async(_0x5ca9d0,_0x22f316)=>{const _0x2f727c=_0xace914,_0x570899={'lMXsU':_0x2f727c(0x222),'OHqza':_0x2f727c(0x20a),'OHUjV':_0x2f727c(0x261),'uOrbY':_0x2f727c(0x217),'JKayY':_0x2f727c(0x21e),'WLjJG':_0x2f727c(0x241),'GraRQ':_0x2f727c(0x23e),'TkSDu':function(_0x334121,_0x40b253,_0x369a4c,_0x12f083){return _0x334121(_0x40b253,_0x369a4c,_0x12f083);},'qOHyn':_0x2f727c(0x221),'WMAmj':_0x2f727c(0x211),'iMiAT':_0x2f727c(0x265),'tIWwp':_0x2f727c(0x25c),'HTUrA':function(_0x3b0357,_0x19252c){return _0x3b0357&&_0x19252c;},'ojbGT':function(_0x19b999,_0xd02562){return _0x19b999(_0xd02562);},'mbsvu':_0x2f727c(0x275)};if(config[_0x2f727c(0x206)][_0x2f727c(0x263)])return{'type':_0x570899[_0x2f727c(0x225)],'data':{'cause':_0x570899[_0x2f727c(0x252)],'explanation':_0x570899[_0x2f727c(0x1f0)],'fix':[_0x570899[_0x2f727c(0x215)],_0x570899[_0x2f727c(0x21b)]],'severity':_0x570899[_0x2f727c(0x26f)],'affectedMod':_0x570899[_0x2f727c(0x20c)]},'rawText':'{}'};const _0x27d568=providerHandlers[_0x5ca9d0[_0x2f727c(0x21d)]];if(!_0x27d568)throw new Error(_0x2f727c(0x201)+_0x5ca9d0[_0x2f727c(0x21d)]);const _0x4d7f35=await _0x570899[_0x2f727c(0x25a)](_0x27d568,_0x5ca9d0[_0x2f727c(0x21c)],_0x5ca9d0[_0x2f727c(0x23f)],_0x22f316);console[_0x2f727c(0x25d)](_0x570899[_0x2f727c(0x23c)],_0x4d7f35);let _0x26a16f=_0x4d7f35;const _0x2d23d5=_0x4d7f35[_0x2f727c(0x238)]('1.')||_0x4d7f35[_0x2f727c(0x238)](_0x570899[_0x2f727c(0x20f)])||_0x4d7f35[_0x2f727c(0x238)](_0x570899[_0x2f727c(0x209)]),_0x3d8082=_0x4d7f35[_0x2f727c(0x266)]()[_0x2f727c(0x238)](_0x570899[_0x2f727c(0x212)]);_0x570899[_0x2f727c(0x264)](_0x2d23d5,!_0x3d8082)&&!_0x4d7f35[_0x2f727c(0x1f8)]('{')&&(_0x26a16f=_0x2f727c(0x216)+_0x4d7f35);const _0x2b22e1=_0x26a16f[_0x2f727c(0x22d)](/\{[\s\S]*\}/);if(_0x2b22e1)try{const _0x4f0abe=_0x570899[_0x2f727c(0x240)](parseAiResponse,_0x26a16f);return{'type':_0x570899[_0x2f727c(0x225)],'data':_0x4f0abe,'rawText':_0x26a16f};}catch(_0x26458d){return{'type':_0x570899[_0x2f727c(0x20d)],'text':_0x26a16f,'rawText':_0x26a16f};}else return{'type':_0x570899[_0x2f727c(0x20d)],'text':_0x26a16f,'rawText':_0x26a16f};};module[_0xace914(0x279)]={'analyzeWithKey':analyzeWithKey};
|
|
|
|
| 1 |
+
function _0x1852(_0x59a816,_0x589bb4){_0x59a816=_0x59a816-(-0xc6d+0x57f+0x8c8*0x1);const _0x47680b=_0x1d76();let _0x4221d6=_0x47680b[_0x59a816];return _0x4221d6;}const _0x8760c7=_0x1852;(function(_0x286339,_0x2f2d0a){const _0x269a6d=_0x1852,_0x12cf08=_0x286339();while(!![]){try{const _0x470374=parseInt(_0x269a6d(0x26b))/(0x7*-0x585+-0xf2f+0x35d3)*(parseInt(_0x269a6d(0x25f))/(0x1ef3+0x8ee*-0x1+-0x73*0x31))+-parseInt(_0x269a6d(0x261))/(-0xfab+-0xea8+-0xf2b*-0x2)+-parseInt(_0x269a6d(0x21a))/(-0x875+0x48f+-0x1f5*-0x2)*(parseInt(_0x269a6d(0x247))/(-0x1*0x1cc1+0x1*0x2429+-0x763))+-parseInt(_0x269a6d(0x214))/(-0x507+0x1f6*-0x2+0x8f9)+parseInt(_0x269a6d(0x218))/(0x3a*-0xd+-0x55*0x64+0x7*0x52b)+-parseInt(_0x269a6d(0x269))/(-0x4*-0x9+0x2311+-0x232d)*(-parseInt(_0x269a6d(0x24f))/(-0x1d88+0xbf0+0x11a1))+-parseInt(_0x269a6d(0x1f4))/(0xad5*-0x1+-0x2*-0xa07+0x1*-0x92f);if(_0x470374===_0x2f2d0a)break;else _0x12cf08['push'](_0x12cf08['shift']());}catch(_0xfa3715){_0x12cf08['push'](_0x12cf08['shift']());}}}(_0x1d76,0xc*0x2522+-0x76109+-0xe*-0xaaa3));function _0x1d76(){const _0x3139a0=['slice','data:\x20','iycFw','DaFRS','application/json','\x0a\x0aUser\x20Input:\x0a','YfyyV','../config','jghaq','trim','OuVeL','Unknown\x20cause','lJLDQ','441372jUCXlO','/gradio_api/call/respond/','xJJZG','providerName','2316650cmReqC','VWOTv','4nJLYMd','Neural\x20Core','explanation','jNaYw','ToGmD','\x0a\x0aBRAIN\x20CONTEXT:\x0a','vsIfj','Our\x20systems\x20are\x20currently\x20handling\x20an\x20extreme\x20surge\x20in\x20data.\x20To\x20guarantee\x20the\x20high-precision\x20results\x20you\x20expect,\x20we\x20have\x20temporarily\x20limited\x20new\x20requests\x20to\x20maintain\x20100%\x20diagnostic\x20accuracy.','BKVcB','fAUlC','isArray','fix','status','jfDgJ','/gradio_api/call/respond','HtbKX','Vanilla','analysis','chat','qKnax','wnOSA','string','./brainService','parts','CfeQV','toLowerCase','@google/generative-ai','json','\x20-\x20','model','low','Failed\x20to\x20extract\x20response\x20from\x20HF\x20Space\x20stream.','generateContent','message','Please\x20stand\x20by\x20for\x20a\x20moment\x20while\x20we\x20prioritize\x20your\x20processing\x20slot.','Bearer\x20','HF\x20Space\x20Initiation\x20Error:\x20','zezWU','content','HuggingFace\x20Error:\x20','https://api-inference.huggingface.co/models/','choices','Analysis\x20will\x20resume\x20automatically\x20once\x20the\x20neural\x20core\x20recalibrates.','oRsPc','KYYGM','433115eTBzTf','xrBCq','push','cYHWQ','MskWT','/v1/chat/completions','hGWHf','medium','108018qGnskX','high','oDEqp','gzTrD','omFqy','POST','log','text','**How\x20to\x20fix:**\x0a\x0a','TPHra','exports','role','parse','system','No\x20handler\x20for\x20provider:\x20','QTynj','469606fiHEQj','qVPeC','1055859PXlErh','map','length','how\x20to\x20fix','[CRASHLENS]\x20Raw\x20AI\x20Response:','match','fJfiY','apiKey','224wsBtLN','HHlqT','1BLMIvB','replace','ljwzt','AI\x20response\x20did\x20not\x20contain\x20valid\x20JSON','DICJo','completions','substring','\x0a\x0aUser\x20Log:\x0a','systemPrompt','split','vmPrI','Remove','cKvcY','server','cause','startsWith','huggingface','critical','DNNos','blbAy','getBrainContext','spaceUrl','user','LIjgv','nQwZu','eXwBu','affectedMod','1476300mGRnmF','ZtNzj','stringify','providers','create','mockMode','getGenerativeModel','Extreme\x20Processing\x20Surge','aAVfg','includes','step','severity','sJpVa','FXBeQ','groq-sdk','response','VDptB','mwKcO','assistant'];_0x1d76=function(){return _0x3139a0;};return _0x1d76();}const config=require(_0x8760c7(0x20e)),brainService=require(_0x8760c7(0x230)),{GoogleGenerativeAI}=require(_0x8760c7(0x234)),Groq=require(_0x8760c7(0x202)),callGemini=async(_0xdda7af,_0x332bd6,_0x5d2925)=>{const _0x183af9=_0x8760c7,_0x87830f={'gzTrD':function(_0x12a6c8,_0x118306){return _0x12a6c8===_0x118306;},'qKnax':_0x183af9(0x22f),'VDptB':function(_0x38eb58,_0x15a02c){return _0x38eb58>_0x15a02c;},'wnOSA':function(_0x35b590,_0x55f355){return _0x35b590===_0x55f355;},'fAUlC':_0x183af9(0x1ef)},_0x14a80b=new GoogleGenerativeAI(_0xdda7af),_0x50dffd=_0x14a80b[_0x183af9(0x1fa)]({'model':_0x332bd6}),_0x527cb6=brainService[_0x183af9(0x1ed)](),_0x44d66b=config[_0x183af9(0x1e1)]+_0x183af9(0x21f)+_0x527cb6;if(_0x87830f[_0x183af9(0x252)](typeof _0x5d2925,_0x87830f[_0x183af9(0x22d)])){const _0x10b839=_0x44d66b+_0x183af9(0x1e0)+_0x5d2925,_0x575b37=await _0x50dffd[_0x183af9(0x23a)](_0x10b839),_0x17dd82=_0x575b37[_0x183af9(0x203)][_0x183af9(0x256)]();return _0x17dd82;}else{const _0x169369=_0x5d2925[_0x183af9(0x262)](_0x219fbc=>({'role':_0x219fbc[_0x183af9(0x25a)]===_0x183af9(0x1ef)?_0x183af9(0x1ef):_0x183af9(0x237),'parts':[{'text':_0x219fbc[_0x183af9(0x240)]}]}));_0x87830f[_0x183af9(0x204)](_0x169369[_0x183af9(0x263)],-0xa99+0x5*-0xe3+0x34*0x4a)&&_0x87830f[_0x183af9(0x22e)](_0x169369[-0x1048+-0x13*-0xa9+0x3bd][_0x183af9(0x25a)],_0x87830f[_0x183af9(0x223)])&&(_0x169369[0x23d6+-0x1730+-0xca6][_0x183af9(0x231)][0x2*-0x97c+-0x2b6*-0x1+-0x1042*-0x1][_0x183af9(0x256)]=_0x44d66b+_0x183af9(0x20c)+_0x169369[0x81a+0x1685+-0x1e9f][_0x183af9(0x231)][-0x1521+-0x25e1*0x1+-0x437*-0xe][_0x183af9(0x256)]);const _0x2170c5=await _0x50dffd[_0x183af9(0x23a)]({'contents':_0x169369});return _0x2170c5[_0x183af9(0x203)][_0x183af9(0x256)]();}},callGroq=async(_0x3f4f25,_0xfec66b,_0x448d4e)=>{const _0x4d0d71=_0x8760c7,_0x3112e5={'hGWHf':function(_0x450723,_0x18c36e){return _0x450723===_0x18c36e;},'HtbKX':_0x4d0d71(0x22f),'aAVfg':_0x4d0d71(0x25c),'eXwBu':_0x4d0d71(0x1ef)},_0x57c68b=new Groq({'apiKey':_0x3f4f25}),_0x18b67e=_0x3112e5[_0x4d0d71(0x24d)](typeof _0x448d4e,_0x3112e5[_0x4d0d71(0x229)])?[{'role':_0x3112e5[_0x4d0d71(0x1fc)],'content':config[_0x4d0d71(0x1e1)]},{'role':_0x3112e5[_0x4d0d71(0x1f2)],'content':_0x448d4e}]:[{'role':_0x3112e5[_0x4d0d71(0x1fc)],'content':config[_0x4d0d71(0x1e1)]},..._0x448d4e[_0x4d0d71(0x262)](_0x131939=>({'role':_0x131939[_0x4d0d71(0x25a)]===_0x4d0d71(0x1ef)?_0x4d0d71(0x1ef):_0x4d0d71(0x206),'content':_0x131939[_0x4d0d71(0x240)]}))],_0x1e8a4d=await _0x57c68b[_0x4d0d71(0x22c)][_0x4d0d71(0x1de)][_0x4d0d71(0x1f8)]({'model':_0xfec66b,'messages':_0x18b67e});return _0x1e8a4d[_0x4d0d71(0x243)][-0xf1b*-0x1+-0x1989+-0xb2*-0xf][_0x4d0d71(0x23b)][_0x4d0d71(0x240)];},callHuggingFace=async(_0x53f347,_0x2cc9b4,_0x122471)=>{const _0x31f40b=_0x8760c7,_0x41cb68={'xrBCq':function(_0x42bd50,_0x16f117){return _0x42bd50===_0x16f117;},'ZtNzj':_0x31f40b(0x22f),'fJfiY':function(_0x417355,_0x157828){return _0x417355-_0x157828;},'lJLDQ':function(_0xb61b10,_0x190e77){return _0xb61b10===_0x190e77;},'sJpVa':_0x31f40b(0x1ef),'DNNos':function(_0x41b224,_0x5e1622){return _0x41b224!==_0x5e1622;},'CfeQV':function(_0xd3178b,_0x31df13,_0x266fd5){return _0xd3178b(_0x31df13,_0x266fd5);},'jNaYw':_0x31f40b(0x254),'HHlqT':_0x31f40b(0x20b),'vmPrI':function(_0x5615ff,_0x1e6d9f){return _0x5615ff(_0x1e6d9f);},'oRsPc':_0x31f40b(0x208),'omFqy':_0x31f40b(0x239),'zezWU':function(_0x287d79,_0x16e220){return _0x287d79===_0x16e220;},'ljwzt':_0x31f40b(0x25c),'TPHra':function(_0x2bf91d,_0x3de83c,_0x34c7b8){return _0x2bf91d(_0x3de83c,_0x34c7b8);}},_0x160ef7=config['ai'][_0x31f40b(0x1f7)][_0x31f40b(0x1e9)],_0xb45f4c=brainService[_0x31f40b(0x1ed)](),_0x59cfb7=config[_0x31f40b(0x1e1)]+_0x31f40b(0x21f)+_0xb45f4c;if(_0x160ef7[_0x31f40b(0x1ee)]){let _0x4508da='',_0x5de7c4=[];if(_0x41cb68[_0x31f40b(0x248)](typeof _0x122471,_0x41cb68[_0x31f40b(0x1f5)]))_0x4508da=_0x122471;else{_0x4508da=_0x122471[_0x41cb68[_0x31f40b(0x267)](_0x122471[_0x31f40b(0x263)],-0xee1+0x2d*0x8+0xd7a)][_0x31f40b(0x240)];const _0x2fe690=_0x122471[_0x31f40b(0x207)](-0xa*0x29f+-0x1*0x17c1+-0x1*-0x31f7,-(0x3*-0x9c2+0x85*0xf+0x113*0x14));let _0xf519a4=[null,null];for(const _0x4a8b14 of _0x2fe690){_0x41cb68[_0x31f40b(0x213)](_0x4a8b14[_0x31f40b(0x25a)],_0x41cb68[_0x31f40b(0x200)])?(_0x41cb68[_0x31f40b(0x1eb)](_0xf519a4[-0x13*0x6d+-0x335*-0x1+0x4e2*0x1],null)&&(_0x5de7c4[_0x31f40b(0x249)](_0xf519a4),_0xf519a4=[null,null]),_0xf519a4[0x1ea3+-0x12d0+0x1*-0xbd3]=_0x4a8b14[_0x31f40b(0x240)]):(_0xf519a4[-0x1052*-0x1+0x4f3+-0x1544]=_0x4a8b14[_0x31f40b(0x240)],_0x5de7c4[_0x31f40b(0x249)](_0xf519a4),_0xf519a4=[null,null]);}_0x41cb68[_0x31f40b(0x1eb)](_0xf519a4[0x40d*-0x1+-0x667+0x1be*0x6],null)&&_0x5de7c4[_0x31f40b(0x249)](_0xf519a4);}const _0x538ebf=await _0x41cb68[_0x31f40b(0x232)](fetch,_0x160ef7[_0x31f40b(0x1ee)][_0x31f40b(0x1da)](/\/$/,'')+_0x31f40b(0x228),{'method':_0x41cb68[_0x31f40b(0x21d)],'headers':{'Content-Type':_0x41cb68[_0x31f40b(0x26a)],..._0x53f347?{'Authorization':_0x31f40b(0x23d)+_0x53f347}:{}},'body':JSON[_0x31f40b(0x1f6)]({'data':[_0x4508da,_0x5de7c4,_0x59cfb7,-0x1*0x1d84+0xf86+0x15fe,-0x1*-0xd85+-0x76*-0x4f+-0x31ef*0x1+0.3,0x1842+0x12b5*-0x2+0xd28+0.9]})});if(!_0x538ebf['ok']){const _0x413adc=await _0x538ebf[_0x31f40b(0x256)]();throw new Error(_0x31f40b(0x23e)+_0x538ebf[_0x31f40b(0x226)]+_0x31f40b(0x236)+_0x413adc);}const {event_id:_0x52e6d6}=await _0x538ebf[_0x31f40b(0x235)](),_0x5936b2=_0x160ef7[_0x31f40b(0x1ee)][_0x31f40b(0x1da)](/\/$/,'')+_0x31f40b(0x215)+_0x52e6d6,_0x487a94=await _0x41cb68[_0x31f40b(0x1e3)](fetch,_0x5936b2),_0x1845ac=await _0x487a94[_0x31f40b(0x256)](),_0xb608b0=_0x1845ac[_0x31f40b(0x1e2)]('\x0a');let _0x3be8d3='';for(const _0x57cdab of _0xb608b0){if(_0x57cdab[_0x31f40b(0x1e8)](_0x41cb68[_0x31f40b(0x245)]))try{const _0x23b7ec=JSON[_0x31f40b(0x25b)](_0x57cdab[_0x31f40b(0x1df)](0x1dcc+-0x2513*0x1+0x15*0x59));Array[_0x31f40b(0x224)](_0x23b7ec)&&(_0x3be8d3=_0x23b7ec[0x5*-0x4e2+0x2*-0x6b+-0x2*-0xca0]);}catch(_0x2a708f){}}if(!_0x3be8d3)throw new Error(_0x41cb68[_0x31f40b(0x253)]);return _0x3be8d3;}const _0x37e3af=_0x41cb68[_0x31f40b(0x23f)](typeof _0x122471,_0x41cb68[_0x31f40b(0x1f5)])?[{'role':_0x41cb68[_0x31f40b(0x1db)],'content':_0x59cfb7},{'role':_0x41cb68[_0x31f40b(0x200)],'content':_0x122471}]:[{'role':_0x41cb68[_0x31f40b(0x1db)],'content':_0x59cfb7},..._0x122471[_0x31f40b(0x262)](_0x289f9c=>({'role':_0x289f9c[_0x31f40b(0x25a)]===_0x31f40b(0x1ef)?_0x31f40b(0x1ef):_0x31f40b(0x206),'content':_0x289f9c[_0x31f40b(0x240)]}))],_0x4acd22=await _0x41cb68[_0x31f40b(0x258)](fetch,_0x31f40b(0x242)+_0x2cc9b4+_0x31f40b(0x24c),{'headers':{'Authorization':_0x31f40b(0x23d)+_0x53f347,'Content-Type':_0x41cb68[_0x31f40b(0x26a)]},'method':_0x41cb68[_0x31f40b(0x21d)],'body':JSON[_0x31f40b(0x1f6)]({'model':_0x2cc9b4,'messages':_0x37e3af,'max_tokens':0x800,'temperature':0.3})});if(!_0x4acd22['ok']){const _0x18fb25=await _0x4acd22[_0x31f40b(0x256)]();throw new Error(_0x31f40b(0x241)+_0x4acd22[_0x31f40b(0x226)]+_0x31f40b(0x236)+_0x18fb25);}const _0x32c7cf=await _0x4acd22[_0x31f40b(0x235)]();return _0x32c7cf[_0x31f40b(0x243)][-0x3*-0xb3e+0x1aaa+-0x3c64][_0x31f40b(0x23b)][_0x31f40b(0x240)][_0x31f40b(0x210)]();},providerHandlers={'gemini':callGemini,'groq':callGroq,'huggingface':callHuggingFace},parseAiResponse=_0x214f6e=>{const _0x440ec4=_0x8760c7,_0x248d0d={'jfDgJ':_0x440ec4(0x1dc),'DICJo':_0x440ec4(0x238),'blbAy':_0x440ec4(0x24e),'MskWT':_0x440ec4(0x250),'cYHWQ':_0x440ec4(0x1ea),'ToGmD':function(_0x3cfb43,_0x590ea7){return _0x3cfb43(_0x590ea7);},'cKvcY':_0x440ec4(0x212),'YfyyV':function(_0x22fcb1,_0x4141be){return _0x22fcb1(_0x4141be);},'BKVcB':_0x440ec4(0x22a)},_0x343f23=_0x214f6e[_0x440ec4(0x266)](/\{[\s\S]*\}/);if(!_0x343f23)throw new Error(_0x248d0d[_0x440ec4(0x227)]);const _0x5f09d5=JSON[_0x440ec4(0x25b)](_0x343f23[-0x10ee+-0x16f1+0x27df]),_0xd8a42f=[_0x248d0d[_0x440ec4(0x1dd)],_0x248d0d[_0x440ec4(0x1ec)],_0x248d0d[_0x440ec4(0x24b)],_0x248d0d[_0x440ec4(0x24a)]],_0x232d8c=_0xd8a42f[_0x440ec4(0x1fd)](_0x5f09d5[_0x440ec4(0x1ff)])?_0x5f09d5[_0x440ec4(0x1ff)]:_0x248d0d[_0x440ec4(0x1ec)];return{'cause':_0x248d0d[_0x440ec4(0x21e)](String,_0x5f09d5[_0x440ec4(0x1e7)]||_0x248d0d[_0x440ec4(0x1e5)]),'explanation':_0x248d0d[_0x440ec4(0x20d)](String,_0x5f09d5[_0x440ec4(0x21c)]||''),'fix':Array[_0x440ec4(0x224)](_0x5f09d5[_0x440ec4(0x225)])?_0x5f09d5[_0x440ec4(0x225)][_0x440ec4(0x262)](String):[],'severity':_0x232d8c,'affectedMod':_0x248d0d[_0x440ec4(0x20d)](String,_0x5f09d5[_0x440ec4(0x1f3)]||_0x248d0d[_0x440ec4(0x222)])};},analyzeWithKey=async(_0x51116c,_0x56c1e2)=>{const _0x418487=_0x8760c7,_0x5083c7={'iycFw':_0x418487(0x22b),'FXBeQ':_0x418487(0x1fb),'qVPeC':_0x418487(0x221),'VWOTv':_0x418487(0x23c),'nQwZu':_0x418487(0x244),'xJJZG':_0x418487(0x238),'OuVeL':_0x418487(0x21b),'mwKcO':function(_0x127cfd,_0x4c75b4,_0xae30d7,_0x4f4be){return _0x127cfd(_0x4c75b4,_0xae30d7,_0x4f4be);},'DaFRS':_0x418487(0x265),'jghaq':_0x418487(0x1fe),'QTynj':_0x418487(0x1e4),'vsIfj':_0x418487(0x264),'KYYGM':function(_0x3074b7,_0x181c5f){return _0x3074b7&&_0x181c5f;},'oDEqp':function(_0x1556f6,_0x17e4be){return _0x1556f6(_0x17e4be);},'LIjgv':_0x418487(0x22c)};if(config[_0x418487(0x1e6)][_0x418487(0x1f9)])return{'type':_0x5083c7[_0x418487(0x209)],'data':{'cause':_0x5083c7[_0x418487(0x201)],'explanation':_0x5083c7[_0x418487(0x260)],'fix':[_0x5083c7[_0x418487(0x219)],_0x5083c7[_0x418487(0x1f1)]],'severity':_0x5083c7[_0x418487(0x216)],'affectedMod':_0x5083c7[_0x418487(0x211)]},'rawText':'{}'};const _0x43ab2f=providerHandlers[_0x51116c[_0x418487(0x217)]];if(!_0x43ab2f)throw new Error(_0x418487(0x25d)+_0x51116c[_0x418487(0x217)]);const _0x369aaa=await _0x5083c7[_0x418487(0x205)](_0x43ab2f,_0x51116c[_0x418487(0x268)],_0x51116c[_0x418487(0x237)],_0x56c1e2);console[_0x418487(0x255)](_0x5083c7[_0x418487(0x20a)],_0x369aaa);let _0x51a568=_0x369aaa;const _0x42381b=_0x369aaa[_0x418487(0x1fd)]('1.')||_0x369aaa[_0x418487(0x1fd)](_0x5083c7[_0x418487(0x20f)])||_0x369aaa[_0x418487(0x1fd)](_0x5083c7[_0x418487(0x25e)]),_0x3256d2=_0x369aaa[_0x418487(0x233)]()[_0x418487(0x1fd)](_0x5083c7[_0x418487(0x220)]);_0x5083c7[_0x418487(0x246)](_0x42381b,!_0x3256d2)&&!_0x369aaa[_0x418487(0x1e8)]('{')&&(_0x51a568=_0x418487(0x257)+_0x369aaa);const _0x59fd3f=_0x51a568[_0x418487(0x266)](/\{[\s\S]*\}/);if(_0x59fd3f)try{const _0x4f89c2=_0x5083c7[_0x418487(0x251)](parseAiResponse,_0x51a568);return{'type':_0x5083c7[_0x418487(0x209)],'data':_0x4f89c2,'rawText':_0x51a568};}catch(_0xa22e79){return{'type':_0x5083c7[_0x418487(0x1f0)],'text':_0x51a568,'rawText':_0x51a568};}else return{'type':_0x5083c7[_0x418487(0x1f0)],'text':_0x51a568,'rawText':_0x51a568};};module[_0x8760c7(0x259)]={'analyzeWithKey':analyzeWithKey};
|
server/services/brainService.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
function
|
|
|
|
| 1 |
+
const _0x2f2820=_0xe3c4;function _0xe3c4(_0x54c79e,_0x3caa0b){_0x54c79e=_0x54c79e-(-0x1b59+-0x1ed5+0x3a96);const _0x1a2b64=_0x153f();let _0x1b6e5f=_0x1a2b64[_0x54c79e];return _0x1b6e5f;}(function(_0x4b2e56,_0x61469d){const _0xe03aed=_0xe3c4,_0x42d0a3=_0x4b2e56();while(!![]){try{const _0x3876d9=parseInt(_0xe03aed(0x8b))/(-0x1799+-0x258a+0x3d24)*(-parseInt(_0xe03aed(0x79))/(0xd*-0x161+0xf4d+0x2a2*0x1))+parseInt(_0xe03aed(0x6d))/(0x20d2+0xcd4+-0x2da3)*(parseInt(_0xe03aed(0x69))/(-0x919*-0x3+0x31*0x5b+-0x2cb2))+parseInt(_0xe03aed(0x8a))/(-0x2684+-0x91*0x1e+-0x1*-0x3787)*(-parseInt(_0xe03aed(0x70))/(0xbbb+0x6*-0x40d+0x5*0x285))+parseInt(_0xe03aed(0x74))/(0x1157+-0x2187+0x1037)+-parseInt(_0xe03aed(0x91))/(-0x13dc+-0x205+0x47*0x4f)*(-parseInt(_0xe03aed(0x7f))/(0x1df0*0x1+-0x1350+-0xa97))+-parseInt(_0xe03aed(0x7b))/(-0xb98+-0x1*0x49d+0x1*0x103f)+-parseInt(_0xe03aed(0x77))/(-0x1fb4+-0x96b*-0x4+0x29*-0x25)*(-parseInt(_0xe03aed(0x6b))/(0xf61+0x661+-0x31a*0x7));if(_0x3876d9===_0x61469d)break;else _0x42d0a3['push'](_0x42d0a3['shift']());}catch(_0x33ce9c){_0x42d0a3['push'](_0x42d0a3['shift']());}}}(_0x153f,-0x6e9*-0x1bd+0x418d*0x1d+-0x6b21a));const knowledgeModules=[{'id':_0x2f2820(0x84),'context':_0x2f2820(0x6a)},{'id':_0x2f2820(0x81),'context':_0x2f2820(0x87)},{'id':_0x2f2820(0x8d),'context':_0x2f2820(0x76)}],fs=require('fs'),path=require(_0x2f2820(0x75)),loadKnownCrashes=()=>{const _0x1f0fdd=_0x2f2820,_0x109dfe={'QghHJ':_0x1f0fdd(0x73),'bXMaP':_0x1f0fdd(0x6f),'dQknA':_0x1f0fdd(0x72),'mACwF':_0x1f0fdd(0x89),'tAFNX':_0x1f0fdd(0x82)};try{const _0x5a91af=path[_0x1f0fdd(0x85)](__dirname,_0x109dfe[_0x1f0fdd(0x68)]);if(fs[_0x1f0fdd(0x6e)](_0x5a91af)){const _0x24cec9=fs[_0x1f0fdd(0x94)](_0x5a91af,_0x109dfe[_0x1f0fdd(0x78)]),_0x3895f6=JSON[_0x1f0fdd(0x8c)](_0x24cec9);let _0x455731=_0x109dfe[_0x1f0fdd(0x83)];return _0x3895f6[_0x1f0fdd(0x95)](_0xc98fad=>{const _0x58fab0=_0x1f0fdd;_0x455731+=_0x58fab0(0x7c)+_0xc98fad[_0x58fab0(0x7d)]+_0x58fab0(0x92)+_0xc98fad[_0x58fab0(0x86)]+_0x58fab0(0x93)+_0xc98fad[_0x58fab0(0x7a)]+'\x0a';}),_0x455731;}}catch(_0x3b552a){console[_0x1f0fdd(0x90)](_0x109dfe[_0x1f0fdd(0x80)],_0x3b552a);}return _0x109dfe[_0x1f0fdd(0x7e)];},getBrainContext=()=>{const _0x237990=_0x2f2820,_0x64070d={'gcNgi':function(_0x5bd917){return _0x5bd917();}},_0x50464a=knowledgeModules[_0x237990(0x71)](_0x555a83=>_0x555a83[_0x237990(0x8f)])[_0x237990(0x85)]('\x0a\x0a'),_0x54bda9=_0x64070d[_0x237990(0x88)](loadKnownCrashes);return _0x50464a+_0x237990(0x8e)+_0x54bda9;};function _0x153f(){const _0x21aaf3=['48pyMzfk','exports','3tPADIY','existsSync','utf8','12BJzaBq','map','Here\x20is\x20a\x20database\x20of\x20highly\x20specific\x20known\x20Minecraft\x20crashes\x20and\x20their\x20exact\x20solutions.\x20Always\x20reference\x20this\x20database\x20before\x20inventing\x20a\x20solution:\x0a','../data/known_crashes.json','798707POsDnf','path','You\x20are\x20CrashX,\x20an\x20AI\x20assistant\x20developed\x20by\x20Eleeter.\x20Be\x20direct,\x20professional,\x20and\x20concise.\x20Never\x20mention\x20your\x20creator\x20unless\x20explicitly\x20asked.\x20If\x20explicitly\x20asked\x20who\x20made\x20you,\x20state\x20simply\x20that\x20you\x20were\x20developed\x20by\x20him,\x20without\x20adding\x20unnecessary\x20praise.\x20If\x20the\x20user\x20asks\x20who\x20Eleeter\x20is,\x20or\x20asks\x20to\x20see\x20his\x20profile,\x20you\x20must\x20refer\x20to\x20Eleeter\x20using\x20male\x20pronouns\x20(he/him)\x20and\x20provide\x20the\x20link\x20to\x20his\x20GitHub\x20profile:\x20[Eleeter\x27s\x20GitHub](https://github.com/Eleeterly).','2176581KMMngm','bXMaP','215794kHnJwx','fix','3053830WrQbAj','-\x20Error:\x20','signature','tAFNX','9jhWNbl','mACwF','format_rules','You\x20have\x20access\x20to\x20an\x20external\x20crash\x20database,\x20but\x20it\x20is\x20currently\x20empty\x20or\x20offline.','dQknA','core_diagnostics','join','cause','When\x20providing\x20solutions\x20in\x20chat\x20mode,\x20always\x20structure\x20your\x20reply\x20with\x20a\x20clear\x20\x27How\x20to\x20fix:\x27\x20header\x20followed\x20by\x20step-by-step\x20instructions.\x20Use\x20bold\x20text\x20for\x20key\x20actions.','gcNgi','[CRASHLENS]\x20Failed\x20to\x20load\x20known_crashes\x20database:','1932745wqyzIB','9NfXBbj','parse','persona','\x0a\x0a===\x20KNOWN\x20CRASH\x20DATABASE\x20===\x0a','context','error','8195392CPiuOV','\x0a\x20\x20Cause:\x20','\x0a\x20\x20Fix:\x20','readFileSync','forEach','QghHJ','3818356lLJxQY','You\x20are\x20the\x20world\x27s\x20leading\x20expert\x20in\x20Minecraft\x20crash\x20diagnostics.\x20Your\x20goal\x20is\x20to\x20provide\x20assertive,\x20clear,\x20and\x20actionable\x20solutions.'];_0x153f=function(){return _0x21aaf3;};return _0x153f();}module[_0x2f2820(0x6c)]={'getBrainContext':getBrainContext};
|
server/services/keyRotator.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const
|
|
|
|
| 1 |
+
const _0x3b919b=_0x227e;(function(_0x2171e1,_0xd7a89f){const _0xcad533=_0x227e,_0x2c109e=_0x2171e1();while(!![]){try{const _0x513a4a=-parseInt(_0xcad533(0x20a))/(0x144+0xfe9+-0x274*0x7)+parseInt(_0xcad533(0x1f4))/(0x1920+0x2519+-0x14bd*0x3)*(parseInt(_0xcad533(0x1fc))/(-0x392*-0x9+0x163c+-0x365b))+-parseInt(_0xcad533(0x20c))/(-0x2*0xa88+0x3c*0x1+-0x2*-0xa6c)*(-parseInt(_0xcad533(0x1e3))/(0x2*-0xc50+0x2dc*0x2+0x12ed))+parseInt(_0xcad533(0x1e1))/(0x1453+0x1*0x21bd+-0x360a)+parseInt(_0xcad533(0x1f8))/(-0x75+-0x1932+-0xad*-0x26)+parseInt(_0xcad533(0x1f2))/(-0x1*-0x2ba+-0x359*0x3+0x759)+parseInt(_0xcad533(0x1ed))/(0x25c5+-0x2333+-0x289)*(-parseInt(_0xcad533(0x206))/(0x3d8*-0x5+-0x241*0x1+0x1583));if(_0x513a4a===_0xd7a89f)break;else _0x2c109e['push'](_0x2c109e['shift']());}catch(_0x3d590c){_0x2c109e['push'](_0x2c109e['shift']());}}}(_0x3283,-0xe5d1*0x2+0x2c809+-0xf9a*-0xb));const config=require(_0x3b919b(0x201)),MILLISECONDS_IN_A_DAY=0x1*-0x7ac19ec+0x2a7f1f6*0x1+0x2b82e*0x3bd;function buildKeyRotator(){const _0xdb6858=_0x3b919b,_0xcac4b8={'Xdpqp':function(_0x13d8a7,_0x23c8fe){return _0x13d8a7>=_0x23c8fe;},'JVMGl':function(_0x33cdbf,_0x26a6aa){return _0x33cdbf+_0x26a6aa;},'HgdHx':function(_0x776b54,_0x3a791a){return _0x776b54<_0x3a791a;},'rLtsx':function(_0x24f5b4,_0x449670,_0x18cc36){return _0x24f5b4(_0x449670,_0x18cc36);},'scWgf':function(_0x4e7586,_0x54ef76){return _0x4e7586<_0x54ef76;},'zBKCQ':function(_0x16f72a,_0xf80bdf){return _0x16f72a%_0xf80bdf;},'OdAtO':function(_0x3eeaeb,_0x7f6d3a){return _0x3eeaeb+_0x7f6d3a;},'TvSft':function(_0x2bc382,_0x2e83f4){return _0x2bc382(_0x2e83f4);},'jTCsG':function(_0x5bc474,_0x539891){return _0x5bc474!==_0x539891;},'Xrnmp':function(_0x136af7){return _0x136af7();},'AEQTQ':function(_0x42206c,_0x5ec836){return _0x42206c===_0x5ec836;},'CmzEq':function(_0x34b75d,_0x23987e){return _0x34b75d*_0x23987e;},'yjyge':function(_0x33a59e,_0x4a8e1a){return _0x33a59e===_0x4a8e1a;}},_0x3cad38=Object[_0xdb6858(0x1ff)](config['ai'][_0xdb6858(0x1f1)]);let _0x1569ff=_0x3cad38[_0xdb6858(0x1f3)](config['ai'][_0xdb6858(0x1e5)]);_0xcac4b8[_0xdb6858(0x1f9)](_0x1569ff,-(0x23e9+0xbc*0x17+-0x34cc))&&(_0x1569ff=0x649*0x2+0x78d+0x33*-0x65);const _0x5e1fff={};_0x3cad38[_0xdb6858(0x1e6)](_0x2d09d4=>{const _0x23f2c9=_0xdb6858,_0x31c83a=config['ai'][_0x23f2c9(0x1f1)][_0x2d09d4][_0x23f2c9(0x1ff)][_0x23f2c9(0x1fa)];_0x5e1fff[_0x2d09d4]=Array[_0x23f2c9(0x203)]({'length':_0x31c83a},()=>({'requestCount':0x0,'resetTimestamp':Date[_0x23f2c9(0x1fe)]()+MILLISECONDS_IN_A_DAY,'cooldownUntil':0x0}));});const _0x318c8f=()=>_0x3cad38[_0x1569ff],_0x35b782=(_0x333b4d,_0x25918a)=>{const _0xa12369=_0xdb6858,_0x1b937f=_0x5e1fff[_0x333b4d][_0x25918a];_0xcac4b8[_0xa12369(0x208)](Date[_0xa12369(0x1fe)](),_0x1b937f[_0xa12369(0x1e4)])&&(_0x1b937f[_0xa12369(0x1f6)]=-0x104b+-0x1c*0x13f+0x332f,_0x1b937f[_0xa12369(0x1e4)]=_0xcac4b8[_0xa12369(0x1f7)](Date[_0xa12369(0x1fe)](),MILLISECONDS_IN_A_DAY));},_0x5dd49f=_0x283361=>{const _0x17c8be=_0xdb6858,_0x177141=_0x5e1fff[_0x283361];for(let _0x72153d=0x1320+-0x234d+0x102d;_0xcac4b8[_0x17c8be(0x200)](_0x72153d,_0x177141[_0x17c8be(0x1fa)]);_0x72153d++){_0xcac4b8[_0x17c8be(0x1f5)](_0x35b782,_0x283361,_0x72153d);const _0x2a410b=_0x177141[_0x72153d];if(_0xcac4b8[_0x17c8be(0x200)](_0x2a410b[_0x17c8be(0x1f6)],config['ai'][_0x17c8be(0x1ec)])&&_0xcac4b8[_0x17c8be(0x208)](Date[_0x17c8be(0x1fe)](),_0x2a410b[_0x17c8be(0x1e8)]))return _0x72153d;}return-(-0x12a3+-0x8*0x3da+0x4f2*0xa);},_0x580c10=()=>{const _0x8a3578=_0xdb6858,_0x4acfff=_0x3cad38[_0x8a3578(0x1fa)];for(let _0xcb7747=0xad6*-0x2+-0xb*0x1f+0x1702;_0xcac4b8[_0x8a3578(0x20b)](_0xcb7747,_0x4acfff);_0xcb7747++){const _0x712881=_0xcac4b8[_0x8a3578(0x1e9)](_0xcac4b8[_0x8a3578(0x205)](_0x1569ff,_0xcb7747),_0x4acfff),_0x35ab2d=_0x3cad38[_0x712881],_0x59bba7=_0xcac4b8[_0x8a3578(0x1ea)](_0x5dd49f,_0x35ab2d);if(_0xcac4b8[_0x8a3578(0x1f0)](_0x59bba7,-(0x1a5d+-0xec8+-0xb94)))return _0x1569ff=_0x712881,!![];}return![];},_0x1219d8=()=>{const _0x253853=_0xdb6858,_0x392903=_0xcac4b8[_0x253853(0x204)](_0x318c8f);let _0x2ce623=_0xcac4b8[_0x253853(0x1ea)](_0x5dd49f,_0x392903);if(_0xcac4b8[_0x253853(0x1e7)](_0x2ce623,-(0xb7*-0x31+0x1983+0x1*0x985)))return null;return _0x5e1fff[_0x392903][_0x2ce623][_0x253853(0x1f6)]++,{'providerName':_0x392903,'keyIndex':_0x2ce623,'apiKey':config['ai'][_0x253853(0x1f1)][_0x392903][_0x253853(0x1ff)][_0x2ce623],'model':config['ai'][_0x253853(0x1f1)][_0x392903][_0x253853(0x1eb)]};},_0x7faad0=()=>{const _0x5d3855=_0xdb6858;return _0x3cad38[_0x5d3855(0x202)](_0x175523=>({'providerName':_0x175523,'keys':_0x5e1fff[_0x175523][_0x5d3855(0x202)]((_0x314410,_0x13d071)=>({'keyIndex':_0x13d071,'requestCount':_0x314410[_0x5d3855(0x1f6)],'dailyLimit':config['ai'][_0x5d3855(0x1ec)],'resetsAt':new Date(_0x314410[_0x5d3855(0x1e4)])[_0x5d3855(0x1fd)]()}))}));},_0xb458d7=(_0x584450,_0x97ae8a)=>{const _0x9b47fa=_0xdb6858;_0x5e1fff[_0x584450]&&_0x5e1fff[_0x584450][_0x97ae8a]&&(_0x5e1fff[_0x584450][_0x97ae8a][_0x9b47fa(0x1e8)]=_0xcac4b8[_0x9b47fa(0x1f7)](Date[_0x9b47fa(0x1fe)](),_0xcac4b8[_0x9b47fa(0x207)](_0xcac4b8[_0x9b47fa(0x207)](0x22f4+0x29*-0xb3+-0x644,-0x13b3+0x175+0x2b*0x6e),0x17fe*-0x1+-0xb23+0x2709)),console[_0x9b47fa(0x1e2)](_0x9b47fa(0x1ee)+_0x97ae8a+_0x9b47fa(0x209)+_0x584450+_0x9b47fa(0x1ef)));};return{'acquireKey':_0x1219d8,'getStatus':_0x7faad0,'markKeyAsRateLimited':_0xb458d7};}const keyRotator=buildKeyRotator();function _0x227e(_0x56f3d0,_0x56b1b5){_0x56f3d0=_0x56f3d0-(-0x2*-0x6b9+-0x225+-0x6*0x192);const _0x4fe353=_0x3283();let _0x2aff3e=_0x4fe353[_0x56f3d0];return _0x2aff3e;}function _0x3283(){const _0x48c055=['TvSft','model','keyDailyLimit','9RmxNmP','[CRASHLENS]\x20Key\x20','\x20marked\x20as\x20rate-limited.\x20Cooldown\x20active.','jTCsG','providers','220224gXlyvT','indexOf','12dFfHRZ','rLtsx','requestCount','JVMGl','611359MHGjzh','yjyge','length','exports','93573saXZDs','toISOString','now','keys','HgdHx','../config','map','from','Xrnmp','OdAtO','5197020nAgeTO','CmzEq','Xdpqp','\x20for\x20','45520PCQLjf','scWgf','140cdZgTM','1290180uOhXcQ','log','22390dTgvBj','resetTimestamp','defaultProvider','forEach','AEQTQ','cooldownUntil','zBKCQ'];_0x3283=function(){return _0x48c055;};return _0x3283();}module[_0x3b919b(0x1fb)]=keyRotator;
|
server/services/logCompactor.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const
|
|
|
|
| 1 |
+
const _0x43d445=_0xaf70;function _0xaf70(_0x14f50e,_0x1375f9){_0x14f50e=_0x14f50e-(-0xe66+0x7a8+0x5*0x1bb);const _0x4bff30=_0x5708();let _0x6e645d=_0x4bff30[_0x14f50e];return _0x6e645d;}(function(_0x30f61b,_0x48570f){const _0x56d800=_0xaf70,_0x16b9c1=_0x30f61b();while(!![]){try{const _0x3d5ddf=-parseInt(_0x56d800(0x211))/(0x5*0x347+0x435*-0x1+-0xc2d)*(parseInt(_0x56d800(0x1fe))/(0xb*0x315+-0x2524*-0x1+-0xe35*0x5))+parseInt(_0x56d800(0x20d))/(0x1*-0x15fb+-0xa4d+0x204b)+parseInt(_0x56d800(0x1f1))/(-0x8*-0x63+0x1b18+-0x1e2c)*(parseInt(_0x56d800(0x1fd))/(-0x1e1c+-0x1308+0xf*0x347))+-parseInt(_0x56d800(0x200))/(0x583*-0x3+-0x1269+0x2ea*0xc)*(-parseInt(_0x56d800(0x1ef))/(-0x31*-0x98+0x23e3+0x103d*-0x4))+-parseInt(_0x56d800(0x1ee))/(-0x38*0x18+0x56f+0x3*-0xd)*(parseInt(_0x56d800(0x1f0))/(-0xb01+-0x235c+0x2e66*0x1))+-parseInt(_0x56d800(0x1fb))/(0x12f0+0x1*-0x266a+0x1384)*(-parseInt(_0x56d800(0x1f5))/(0x1ad8*0x1+-0x1b74*0x1+0xa7))+parseInt(_0x56d800(0x1f3))/(-0x26e7*-0x1+0x211*0xb+-0x3d96)*(-parseInt(_0x56d800(0x20b))/(-0x2237+0x2442+-0x5*0x66));if(_0x3d5ddf===_0x48570f)break;else _0x16b9c1['push'](_0x16b9c1['shift']());}catch(_0x2d1d13){_0x16b9c1['push'](_0x16b9c1['shift']());}}}(_0x5708,0x27c39+0xe2c02+0x12935*-0x6));const compactLog=_0x5c8d84=>{const _0x420877=_0xaf70,_0x301705={'vwNUz':function(_0xf2d27,_0x1bffb7){return _0xf2d27<_0x1bffb7;},'OiRtt':function(_0x37a342,_0x410675){return _0x37a342<_0x410675;},'Lgejc':_0x420877(0x1fc),'cwAve':_0x420877(0x1eb),'sSpMG':_0x420877(0x207),'BWvva':_0x420877(0x213),'HgCIT':_0x420877(0x1f7),'CeRKR':_0x420877(0x212),'pFCrM':function(_0x437796,_0x100cd1){return _0x437796<_0x100cd1;},'QHsdq':_0x420877(0x209),'kdOZj':function(_0x189dff,_0x13a4a4){return _0x189dff-_0x13a4a4;},'xEpCp':function(_0x2bc79a,_0x4cf68c){return _0x2bc79a+_0x4cf68c;},'NVNOD':_0x420877(0x1e9)};if(!_0x5c8d84||_0x301705[_0x420877(0x20a)](_0x5c8d84[_0x420877(0x201)],0x1*0x286+-0x173a+0x283c))return _0x5c8d84;const _0x73f8ad=_0x5c8d84[_0x420877(0x205)]('\x0a');if(_0x301705[_0x420877(0x1f8)](_0x73f8ad[_0x420877(0x201)],0x27*-0x2d+-0x326*-0x3+-0x1cf))return _0x5c8d84;const _0x5081db=[];_0x5081db[_0x420877(0x1ed)](_0x301705[_0x420877(0x1fa)]),_0x5081db[_0x420877(0x1ed)](..._0x73f8ad[_0x420877(0x214)](0xafb+-0x19ae+0xeb3,0x6bb*0x4+0x1925+-0x33ad*0x1));const _0x14d740=[_0x301705[_0x420877(0x1f2)],_0x301705[_0x420877(0x20e)],_0x301705[_0x420877(0x1ff)],_0x301705[_0x420877(0x208)],_0x301705[_0x420877(0x206)]];let _0x5dedf6=![];for(let _0x3164d0=0xaee*0x2+0x417+0x1ff*-0xd;_0x301705[_0x420877(0x1ea)](_0x3164d0,_0x73f8ad[_0x420877(0x201)]);_0x3164d0++){if(_0x14d740[_0x420877(0x204)](_0x467cb7=>_0x73f8ad[_0x3164d0][_0x420877(0x1f6)](_0x467cb7))){_0x5081db[_0x420877(0x1ed)](_0x301705[_0x420877(0x210)]);const _0x2c4a02=Math[_0x420877(0x202)](-0x1*0xfb5+0x1baf+-0x49*0x2a,_0x301705[_0x420877(0x20f)](_0x3164d0,-0x174d+0xec9*-0x2+0x3511)),_0x2b555a=Math[_0x420877(0x1f9)](_0x73f8ad[_0x420877(0x201)],_0x301705[_0x420877(0x20c)](_0x3164d0,-0x4*-0x845+0x103f+-0x3*0x103f));_0x5081db[_0x420877(0x1ed)](..._0x73f8ad[_0x420877(0x214)](_0x2c4a02,_0x2b555a)),_0x5dedf6=!![];break;}}return _0x5081db[_0x420877(0x1ed)](_0x301705[_0x420877(0x203)]),_0x5081db[_0x420877(0x1ed)](..._0x73f8ad[_0x420877(0x214)](-(-0x25ed+0x6c5*-0x4+0x4165*0x1))),_0x5081db[_0x420877(0x1ec)]('\x0a');};function _0x5708(){const _0x56123b=['\x0a---\x20END\x20OF\x20LOG\x20(SYSTEM\x20SPECS)\x20---','pFCrM','Exception','join','push','534552cDdnfL','7jjDKxI','153MWrJKt','2036BNZBsO','cwAve','240RXSrDR','exports','708972hcnwtu','includes','FATAL','OiRtt','min','Lgejc','170UiIqyr','---\x20START\x20OF\x20LOG\x20(HEADER)\x20---','10040qKpVAx','2GDantr','BWvva','6777690OjmeQi','length','max','NVNOD','some','split','CeRKR','Error:','HgCIT','\x0a---\x20DETECTED\x20ERROR\x20CONTEXT\x20---','vwNUz','532506hAxRvL','xEpCp','655584uMUgJE','sSpMG','kdOZj','QHsdq','875603TjccxD','CRITICAL','Stacktrace:','slice'];_0x5708=function(){return _0x56123b;};return _0x5708();}module[_0x43d445(0x1f4)]={'compactLog':compactLog};
|
server/services/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
const
|
|
|
|
| 1 |
+
const _0x2bb3f9=_0x1dac;(function(_0x38b68a,_0x59bfb0){const _0x24a855=_0x1dac,_0x3dbe41=_0x38b68a();while(!![]){try{const _0x13a303=-parseInt(_0x24a855(0xad))/(-0x1*-0x139+0x8d*-0x2d+0x1791)*(parseInt(_0x24a855(0xe6))/(0x1261+0x2653*-0x1+0x13f4))+-parseInt(_0x24a855(0xe1))/(0x1c2f+0x1*0x1115+-0x14b*0x23)*(-parseInt(_0x24a855(0xe0))/(0x769*0x2+0x1474+0x11a1*-0x2))+parseInt(_0x24a855(0xce))/(-0x3*0x476+0xff9+-0x292)*(parseInt(_0x24a855(0xb0))/(-0x2142+0x2101+0x47*0x1))+parseInt(_0x24a855(0xcf))/(0xf*0x4f+-0xda3*-0x2+-0x1e*0x110)+-parseInt(_0x24a855(0xc4))/(0x4*-0x8a2+-0x2*0xed1+0x4032)+parseInt(_0x24a855(0xa9))/(0x11c9+-0x1e74*0x1+0xcb4)+-parseInt(_0x24a855(0xdf))/(0x1c2e*0x1+0x6ee+0x2*-0x1189)*(parseInt(_0x24a855(0xa5))/(-0x9b2+-0x1f79+0x2936));if(_0x13a303===_0x59bfb0)break;else _0x3dbe41['push'](_0x3dbe41['shift']());}catch(_0x3476f7){_0x3dbe41['push'](_0x3dbe41['shift']());}}}(_0x3dad,0x40d11+-0x1*0x104d02+0x1816f6));const config=require(_0x2bb3f9(0xe9)),{analyzeWithKey}=require(_0x2bb3f9(0xa8)),keyRotator=require(_0x2bb3f9(0xc7)),pendingJobs=[],jobRegistry=new Map();let isProcessing=![];const generateJobId=()=>_0x2bb3f9(0xc0)+Date[_0x2bb3f9(0xb3)]()+'_'+Math[_0x2bb3f9(0xec)]()[_0x2bb3f9(0xcd)](-0x1d05+0x1*0x14d9+0x10*0x85)[_0x2bb3f9(0xbe)](-0x1e9e+0x9*0xb7+0x1831,0x684+0x39d*0x5+-0x188d),enqueue=_0x24e47b=>{const _0x535b2b=_0x2bb3f9,_0x451ebb={'Eebow':_0x535b2b(0xed),'NxOFf':function(_0x6b54e8){return _0x6b54e8();},'rnROO':function(_0x2bb823,_0x5f04a1){return _0x2bb823>=_0x5f04a1;},'jakAK':_0x535b2b(0xc9),'KZLoo':function(_0x24e9f4){return _0x24e9f4();}};if(_0x451ebb[_0x535b2b(0xc8)](pendingJobs[_0x535b2b(0xea)],config[_0x535b2b(0xe7)][_0x535b2b(0xd2)]))return Promise[_0x535b2b(0xe8)](new Error(_0x451ebb[_0x535b2b(0xd4)]));const _0x4884b0=_0x451ebb[_0x535b2b(0xa6)](generateJobId),_0x48b76e=new Promise((_0x4c503f,_0x1c5f09)=>{const _0x1cb5a0=_0x535b2b,_0x2d9a92={'id':_0x4884b0,'payload':_0x24e47b,'resolve':_0x4c503f,'reject':_0x1c5f09,'enqueuedAt':Date[_0x1cb5a0(0xb3)](),'status':_0x451ebb[_0x1cb5a0(0xd6)]};pendingJobs[_0x1cb5a0(0xb4)](_0x2d9a92),jobRegistry[_0x1cb5a0(0xca)](_0x4884b0,_0x2d9a92),_0x451ebb[_0x1cb5a0(0xd5)](processNext);});return{'jobId':_0x4884b0,'jobPromise':_0x48b76e};},processNext=async()=>{const _0x3454e9=_0x2bb3f9,_0x246a93={'qhaAA':function(_0x26a500,_0x187540){return _0x26a500===_0x187540;},'pesVm':_0x3454e9(0xba),'mhLJq':function(_0x17b7df,_0x4884dc){return _0x17b7df<_0x4884dc;},'Kwqqk':_0x3454e9(0xe5),'SBqwm':_0x3454e9(0xc1),'jKdOV':function(_0x77aefb,_0x5d1081,_0x390c33){return _0x77aefb(_0x5d1081,_0x390c33);},'dsZGc':_0x3454e9(0xc2),'GGrti':_0x3454e9(0xbb),'OiMca':function(_0x4df312,_0x4e8fb8){return _0x4df312&&_0x4e8fb8;},'bOMtc':_0x3454e9(0xdd),'rzAhh':_0x3454e9(0xd7),'uZqmU':function(_0x30cdb4){return _0x30cdb4();}};if(isProcessing||_0x246a93[_0x3454e9(0xcc)](pendingJobs[_0x3454e9(0xea)],-0x4*0x98b+-0x385*-0xa+0x2fa))return;isProcessing=!![];const _0x2d6f95=pendingJobs[_0x3454e9(0xcb)]();_0x2d6f95[_0x3454e9(0xc5)]=_0x246a93[_0x3454e9(0xdc)];try{let _0x29a893=0x2352+-0x2*0x656+-0x16a6,_0x51d47d=![],_0x48e8a7=null;while(_0x246a93[_0x3454e9(0xc3)](_0x29a893,-0x1*-0x198e+-0x1d4c+-0x3c1*-0x1)&&!_0x51d47d){const _0x39e675=config[_0x3454e9(0xdb)][_0x3454e9(0xa4)]?{'providerName':_0x246a93[_0x3454e9(0xb7)]}:keyRotator[_0x3454e9(0xde)]();if(!_0x39e675)throw new Error(_0x246a93[_0x3454e9(0xd9)]);try{const _0x57ebe3=await _0x246a93[_0x3454e9(0xe3)](analyzeWithKey,_0x39e675,_0x2d6f95[_0x3454e9(0xd0)]);_0x2d6f95[_0x3454e9(0xc5)]=_0x246a93[_0x3454e9(0xac)],_0x2d6f95[_0x3454e9(0xda)]=_0x57ebe3,_0x2d6f95[_0x3454e9(0xee)](_0x57ebe3),_0x51d47d=!![];}catch(_0x346fe1){_0x48e8a7=_0x346fe1;if(_0x246a93[_0x3454e9(0xcc)](_0x346fe1[_0x3454e9(0xc5)],0x1efe+-0x1*-0x26d1+0x72*-0x99)||_0x346fe1[_0x3454e9(0xa7)][_0x3454e9(0xaf)](_0x246a93[_0x3454e9(0xeb)]))console[_0x3454e9(0xaa)](_0x3454e9(0xb9)+_0x39e675[_0x3454e9(0xbf)]+_0x3454e9(0xd1)),keyRotator[_0x3454e9(0xb2)](_0x39e675[_0x3454e9(0xb8)],_0x39e675[_0x3454e9(0xbf)]),_0x29a893++,await new Promise(_0x2081d8=>setTimeout(_0x2081d8,-0x26d5+-0x3f6+0x2eb3));else throw _0x346fe1;}}if(_0x246a93[_0x3454e9(0xb5)](!_0x51d47d,_0x48e8a7))throw _0x48e8a7;}catch(_0x36d1a5){console[_0x3454e9(0xb1)](_0x246a93[_0x3454e9(0xe4)],_0x36d1a5),_0x2d6f95[_0x3454e9(0xc5)]=_0x246a93[_0x3454e9(0xab)],_0x2d6f95[_0x3454e9(0xe8)](_0x36d1a5);}finally{isProcessing=![],_0x246a93[_0x3454e9(0xe2)](processNext);}},getJobStatus=_0x56aeac=>{const _0x1c994c=_0x2bb3f9,_0x3ea5f2={'cPoGj':function(_0x36fe19,_0x53126e){return _0x36fe19===_0x53126e;},'PliVm':function(_0x2dbfc4,_0x246788){return _0x2dbfc4+_0x246788;},'jHBkJ':function(_0x51de81,_0x26d18f){return _0x51de81*_0x26d18f;}},_0xed52b=jobRegistry[_0x1c994c(0xae)](_0x56aeac);if(!_0xed52b)return null;const _0x26aee2=pendingJobs[_0x1c994c(0xbc)](_0x311406=>_0x311406['id']===_0x56aeac),_0x32f8b2=_0x3ea5f2[_0x1c994c(0xc6)](_0x26aee2,-(-0xabb+0x1b7*-0x3+0xfe1))?-0x4b1*-0x1+0x1e85*0x1+-0x2336:_0x3ea5f2[_0x1c994c(0xbd)](_0x26aee2,0x1*0x1dee+-0x1*0xcd3+-0x111a),_0x17b84d=_0x3ea5f2[_0x1c994c(0xd8)](_0x32f8b2,config[_0x1c994c(0xe7)][_0x1c994c(0xd3)]);return{'jobId':_0x56aeac,'status':_0xed52b[_0x1c994c(0xc5)],'positionInQueue':_0x32f8b2,'estimatedWaitSeconds':_0x17b84d,'result':_0xed52b[_0x1c994c(0xda)]||null};},getQueueStatus=()=>({'queueLength':pendingJobs[_0x2bb3f9(0xea)],'isProcessing':isProcessing,'estimatedWaitSeconds':pendingJobs[_0x2bb3f9(0xea)]*config[_0x2bb3f9(0xe7)][_0x2bb3f9(0xd3)]});function _0x3dad(){const _0x354a76=['cPoGj','./keyRotator','rnROO','Queue\x20is\x20full.\x20Please\x20try\x20again\x20later.','set','shift','qhaAA','toString','5YgSfUp','1034894NxGAiN','payload','\x20rate\x20limited.\x20Retrying\x20with\x20next\x20key...','maxSize','estimatedSecondsPerRequest','jakAK','NxOFf','Eebow','failed','jHBkJ','SBqwm','result','server','pesVm','[CRASHLENS]\x20AI\x20Analysis\x20Error:','acquireKey','2077120IEUzpR','8956QvqAAq','1617aHMPcN','uZqmU','jKdOV','bOMtc','mock','1012KABjCe','queue','reject','../config','length','GGrti','random','queued','resolve','mockMode','88tOJAlG','KZLoo','message','./aiService','13883796FnMDTD','warn','rzAhh','dsZGc','653DvvCFU','get','includes','5521398rNxnWq','error','markKeyAsRateLimited','now','push','OiMca','exports','Kwqqk','providerName','[CRASHLENS]\x20Key\x20','processing','429','findIndex','PliVm','slice','keyIndex','job_','Our\x20systems\x20are\x20currently\x20handling\x20an\x20extreme\x20surge\x20in\x20data.\x20We’ve\x20enabled\x20a\x20brief\x20cooldown\x20to\x20maintain\x20100%\x20precision.\x20Please\x20stand\x20by.','done','mhLJq','8395880ToklXs','status'];_0x3dad=function(){return _0x354a76;};return _0x3dad();}function _0x1dac(_0x42c598,_0x3922cf){_0x42c598=_0x42c598-(-0x8*0x137+0x2*0x4cd+-0xc2*-0x1);const _0x11c2e4=_0x3dad();let _0x3c9776=_0x11c2e4[_0x42c598];return _0x3c9776;}module[_0x2bb3f9(0xb6)]={'enqueue':enqueue,'getJobStatus':getJobStatus,'getQueueStatus':getQueueStatus};
|
server/services/userLimiter.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
const _0x9ca762=_0x51be;(function(_0x568ab2,_0x2b0821){const _0x2819f1=_0x51be,_0xfc4cec=_0x568ab2();while(!![]){try{const _0x3d597e=parseInt(_0x2819f1(0x192))/(-0x8*0x66+0x2709+-0x23d8)*(-parseInt(_0x2819f1(0x195))/(-0x13ed+0x458+0xf97))+-parseInt(_0x2819f1(0x18e))/(0x5e*0xd+-0xd20+0x85d*0x1)+parseInt(_0x2819f1(0x193))/(0x78a+0x26ff+0x1*-0x2e85)+parseInt(_0x2819f1(0x190))/(-0x97f+0xc6a*0x2+-0xf50)*(parseInt(_0x2819f1(0x18d))/(0xeb3*-0x2+0x15c6*-0x1+-0x2*-0x1999))+parseInt(_0x2819f1(0x194))/(0x5d*-0x23+-0x145*0x2+0x518*0x3)*(-parseInt(_0x2819f1(0x18f))/(-0x1*0x18ca+0x1cb5+-0x3e3))+-parseInt(_0x2819f1(0x196))/(-0x1a37+0x23bf*0x1+0xd*-0xbb)+-parseInt(_0x2819f1(0x18c))/(0x2006+0x25d9+-0x45d5)*(-parseInt(_0x2819f1(0x197))/(0x1*-0xaed+0x8d4+0x4*0x89));if(_0x3d597e===_0x2b0821)break;else _0xfc4cec['push'](_0xfc4cec['shift']());}catch(_0x25a31){_0xfc4cec['push'](_0xfc4cec['shift']());}}}(_0x1f52,0x1*0x24aab+-0x5cfd+-0x3417));const checkUserLimit=_0x2a0686=>{return{'allowed':!![],'remaining':Infinity,'resetsAt':null};},recordUserRequest=_0xf0a196=>{};function _0x51be(_0x3ae473,_0x1df930){_0x3ae473=_0x3ae473-(0x604+0x24b*-0x5+0x6ff);const _0x4e6a02=_0x1f52();let _0x14e803=_0x4e6a02[_0x3ae473];return _0x14e803;}function _0x1f52(){const _0x5a22d6=['359067BmBIXY','1387544ENgukK','5855fWLKnq','exports','2445jsSSZU','468156ugyFvQ','7KesbZs','62tzqLBu','726552PcxDMs','2751166hbgTRs','10PUgAik','1002nesAqO'];_0x1f52=function(){return _0x5a22d6;};return _0x1f52();}module[_0x9ca762(0x191)]={'checkUserLimit':checkUserLimit,'recordUserRequest':recordUserRequest};
|