mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-09-17 08:46:38 +08:00
1 line
1.9 KiB
JavaScript
1 line
1.9 KiB
JavaScript
'use strict';const _0x2018ed=_0x53cf;function _0x53cf(_0x51868b,_0x44bf57){const _0x1fc55d=_0x1fc5();return _0x53cf=function(_0x53cfbf,_0x4acb59){_0x53cfbf=_0x53cfbf-0xb3;let _0x3f028b=_0x1fc55d[_0x53cfbf];return _0x3f028b;},_0x53cf(_0x51868b,_0x44bf57);}(function(_0x22ddd8,_0x41d093){const _0x38e370=_0x53cf,_0x317c08=_0x22ddd8();while(!![]){try{const _0x4b7519=parseInt(_0x38e370(0xb6))/0x1*(-parseInt(_0x38e370(0xbf))/0x2)+parseInt(_0x38e370(0xc7))/0x3*(parseInt(_0x38e370(0xba))/0x4)+-parseInt(_0x38e370(0xbd))/0x5*(parseInt(_0x38e370(0xc5))/0x6)+parseInt(_0x38e370(0xc6))/0x7*(parseInt(_0x38e370(0xb4))/0x8)+parseInt(_0x38e370(0xb8))/0x9*(parseInt(_0x38e370(0xbc))/0xa)+parseInt(_0x38e370(0xc4))/0xb*(-parseInt(_0x38e370(0xbe))/0xc)+-parseInt(_0x38e370(0xbb))/0xd*(parseInt(_0x38e370(0xb7))/0xe);if(_0x4b7519===_0x41d093)break;else _0x317c08['push'](_0x317c08['shift']());}catch(_0x4aace5){_0x317c08['push'](_0x317c08['shift']());}}}(_0x1fc5,0x916f3));function _0x1fc5(){const _0x22d17d=['16xDCXpV','52obFrot','10MFTlhM','5qKPNmf','48GkSVjh','2frvJbx','reduce','length','random','__esModule','2074831pUBHax','1336626smngtG','120967ZjPCkj','871230rNebsJ','defineProperty','424IRMiln','weight','911297NbnhmW','679490eenWwf','5407722YTZxGx','selectKeyWithWeight'];_0x1fc5=function(){return _0x22d17d;};return _0x1fc5();}Object[_0x2018ed(0xb3)](exports,_0x2018ed(0xc3),{'value':!![]}),exports[_0x2018ed(0xb9)]=void 0x0;function selectKeyWithWeight(_0x37fecd){const _0x235cad=_0x2018ed;if(_0x37fecd[_0x235cad(0xc1)]===0x0)return undefined;const _0x4ffdbd=_0x37fecd[_0x235cad(0xc0)]((_0x3665b8,_0x23ae46)=>_0x3665b8+_0x23ae46[_0x235cad(0xb5)],0x0);let _0x4e58d5=Math[_0x235cad(0xc2)]()*_0x4ffdbd;for(const _0x49f1e9 of _0x37fecd){_0x4e58d5-=_0x49f1e9[_0x235cad(0xb5)];if(_0x4e58d5<0x0)return _0x49f1e9;}return _0x37fecd[_0x37fecd[_0x235cad(0xc1)]-0x1];}exports[_0x2018ed(0xb9)]=selectKeyWithWeight; |