1 line
51 KiB
JavaScript
1 line
51 KiB
JavaScript
|
|
const _0x2f4a9a=_0x3097;(function(_0x1d6e71,_0x367423){const _0x1f1093=_0x3097,_0x55e4b4=_0x1d6e71();while(!![]){try{const _0x401e55=-parseInt(_0x1f1093(0x11c))/0x1*(-parseInt(_0x1f1093(0xaf))/0x2)+-parseInt(_0x1f1093(0xf2))/0x3*(parseInt(_0x1f1093(0xee))/0x4)+parseInt(_0x1f1093(0x194))/0x5+-parseInt(_0x1f1093(0x72))/0x6+parseInt(_0x1f1093(0x118))/0x7*(-parseInt(_0x1f1093(0x10e))/0x8)+parseInt(_0x1f1093(0x112))/0x9+parseInt(_0x1f1093(0xeb))/0xa*(parseInt(_0x1f1093(0x13e))/0xb);if(_0x401e55===_0x367423)break;else _0x55e4b4['push'](_0x55e4b4['shift']());}catch(_0x88a7b4){_0x55e4b4['push'](_0x55e4b4['shift']());}}}(_0x3d1e,0x78ee3));let RegisteredEvents=[],OpenComponent=![];const selectors={'main':'.container','menuContainer':_0x2f4a9a(0x136),'menuTitle':_0x2f4a9a(0xac),'menuContents':_0x2f4a9a(0x9a),'menuIcons':_0x2f4a9a(0x154),'contextMenuContainer':'.context-menu-container','contextMenuTitle':'.context-menu-container\x20.title','contextMenuXButton':_0x2f4a9a(0x12b),'contextMenuContents':_0x2f4a9a(0xe0),'contextMenuIcons':_0x2f4a9a(0x17b),'inputDialogContainer':'.input-dialog-container','inputDialogHeader':'.input-dialog-container\x20.header','inputDialogContents':_0x2f4a9a(0x16c),'inputDialogCancelButton':_0x2f4a9a(0xb6),'inputDialogConfirmButton':_0x2f4a9a(0x12f),'alertDialogContainer':_0x2f4a9a(0x6a),'alertDialogHeader':_0x2f4a9a(0xfe),'alertDialogContents':_0x2f4a9a(0xa7),'alertDialogConfirmButton':'.alert-dialog-container\x20.nav-button-container\x20.confirm-button','alertDialogCancelButton':'.alert-dialog-container\x20.nav-button-container\x20.cancel-button','notifyContainer':'.notify-container','textUIContainer':_0x2f4a9a(0x9e),'progressBarContainer':_0x2f4a9a(0xc0),'progressBar':_0x2f4a9a(0xba),'progressFill':'.progress-fill','progressTextLabel':'.progress-text\x20.progress-text-label','progressTextPercent':_0x2f4a9a(0x7b),'progressCircleContainer':_0x2f4a9a(0x103),'progressCircle':_0x2f4a9a(0xca),'progressLabel':_0x2f4a9a(0x15d),'progressPercentage':_0x2f4a9a(0x99),'skillCheckContainer':_0x2f4a9a(0x178),'skillShadow':_0x2f4a9a(0xa3),'skillLine':_0x2f4a9a(0x186),'skillKey':_0x2f4a9a(0x10a),'skillIndicator':_0x2f4a9a(0x189)};function getElements(){const _0x2ed015=_0x2f4a9a,_0x2debbf={};for(const _0x4aaf8f in selectors){_0x2debbf[_0x4aaf8f]=document[_0x2ed015(0xe2)](selectors[_0x4aaf8f]);}return _0x2debbf;}function luaCallback(_0x538dfe,_0xaca736,_0x5a238f,_0x293e9a){const _0x48241d=_0x2f4a9a;fetch(_0x48241d(0x110)+GetParentResourceName()+'/'+_0x538dfe,{'method':_0x48241d(0x16d),'headers':{'Content-Type':'application/json;\x20charset=UTF-8'},'body':JSON[_0x48241d(0xbf)](_0xaca736)})['then'](_0x5322a2=>_0x5322a2[_0x48241d(0xf1)]())[_0x48241d(0x104)](_0x40adae=>{if(_0x5a238f)_0x5a238f(_0x40adae);})[_0x48241d(0x9d)](_0x244ae1=>{if(_0x293e9a)_0x293e9a(_0x244ae1);});}function HideAllComponents(_0x42e6be){const _0x3dccee=_0x2f4a9a,_0x5398a0=_0x42e6be[_0x3dccee(0xcd)],_0xff7ae3=_0x42e6be['contextMenuContainer'],_0x1603eb=_0x42e6be['menuContainer'],_0x15c7d5=_0x42e6be[_0x3dccee(0xb5)],_0x30b22e=_0x42e6be[_0x3dccee(0xd0)],_0x438911=[];if(_0xff7ae3[_0x3dccee(0xf0)][_0x3dccee(0x116)]!==_0x3dccee(0xef))_0x438911[_0x3dccee(0x15c)](_0xff7ae3);if(_0x1603eb[_0x3dccee(0xf0)]['display']!==_0x3dccee(0xef))_0x438911[_0x3dccee(0x15c)](_0x1603eb);if(_0x15c7d5[_0x3dccee(0xf0)][_0x3dccee(0x116)]!==_0x3dccee(0xef))_0x438911[_0x3dccee(0x15c)](_0x15c7d5);if(_0x30b22e[_0x3dccee(0xf0)][_0x3dccee(0x116)]!==_0x3dccee(0xef))_0x438911['push'](_0x30b22e);_0x438911[_0x3dccee(0x181)]>0x0?anime({'targets':_0x438911,'opacity':[0x1,0x0],'duration':0xc8,'easing':_0x3dccee(0xe7),'complete':()=>{const _0x5d61f6=_0x3dccee;_0x438911[_0x5d61f6(0xd4)](_0x106200=>{const _0x10fa20=_0x5d61f6;_0x106200[_0x10fa20(0xf0)]['display']='none';}),_0x5398a0[_0x5d61f6(0xf0)][_0x5d61f6(0x116)]=_0x5d61f6(0xef),typeof window[_0x5d61f6(0x10b)]===_0x5d61f6(0x9f)&&(window['onExitCallback'](),window[_0x5d61f6(0x10b)]=null),_0x42e6be[_0x5d61f6(0x192)][_0x5d61f6(0x81)]='',_0x42e6be['contextMenuContents'][_0x5d61f6(0x81)]='',_0x42e6be[_0x5d61f6(0x12c)][_0x5d61f6(0x81)]='',OpenCompon
|