77 lines
4.4 KiB
TypeScript
77 lines
4.4 KiB
TypeScript
/* Metro module 9686; source: modules/search/managers/SearchFetchManager.tsx; dependencies: [6, 7, 15, 17, 18, 9684, 9685, 2] */
|
|
import ClassCallCheck from '../../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from '../../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from '../../../by-id/module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from '../../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as SearchFetcherModule from '../SearchFetcher.tsx'; /* Metro dependency 9684 */
|
|
import * as AbstractSearchFetchManagerModule from './AbstractSearchFetchManager.tsx'; /* Metro dependency 9685 */
|
|
|
|
function _fun76127(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76127, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9872:6, offset: 0x01dc4c6d, size: 232 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const AbstractSearchFetchManager = (AbstractSearchFetchManagerModule).AbstractSearchFetchManager;
|
|
let value = _fun76131(AbstractSearchFetchManager);
|
|
value = new value();
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/search/managers/SearchFetchManager.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_76128() { // fn#76128, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9872:148, offset: 0x01dc4d55, size: 98 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_76128_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun76131(a0) { // fn#76131, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9872:347, offset: 0x01dc4db7, size: 72 bytes, params: 2, frame: 15
|
|
const SearchFetchManager2 = SearchFetchManager;
|
|
Inherits(SearchFetchManager2, a0);
|
|
return CreateClass(SearchFetchManager2, [{key: 'create', value: value_76133}]);
|
|
function SearchFetchManager() { // fn#76132, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9872:359, offset: 0x00c7f278, size: 113 bytes, params: 1, frame: 20
|
|
const value = environment.__proto__;
|
|
env1_2(this, SearchFetchManager);
|
|
const value3 = env1_5(SearchFetchManager);
|
|
return env1_4(this, _isNativeReflectConstruct_76128() ? global.Reflect.construct(value3, arguments,
|
|
env1_5(this).constructor) : value3.apply(this, arguments));
|
|
}
|
|
|
|
function value_76133({id, searchType, searchQuery}) { // fn#76133, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9872:663, offset: 0x01dc4dff, size: 101 bytes, params: 2, frame: 17
|
|
this.cancel(id);
|
|
const value = environment.__proto__;
|
|
const SearchFetcherImpl = (SearchFetcherModule).SearchFetcherImpl;
|
|
const searchFetcherImpl = new SearchFetcherImpl(id, searchType, searchQuery);
|
|
this.set(id, searchFetcherImpl);
|
|
return searchFetcherImpl;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun76127, 9686, [6, 7, 15, 17, 18, 9684, 9685,
|
|
2]) /* metro module 9686, dependencies: [6, 7, 15, 17, 18, 9684, 9685, 2] */;
|