2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 10052
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 77928
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: AbstractSearchFetchManager
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [6, 7, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 10052 (AbstractSearchFetchManager)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _classCallCheck from "_classCallCheck";
|
|
|
|
|
import _defineProperties from "_defineProperties";
|
2026-07-22 07:54:56 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp2 = (() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
class AbstractSearchFetchManager {
|
|
|
|
|
constructor() {
|
|
|
|
|
tmp = AbstractSearchFetchManager(this, AbstractSearchFetchManager);
|
|
|
|
|
map = new Map();
|
|
|
|
|
this.searchFetchers = map;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let obj = {
|
|
|
|
|
key: "cleanUp",
|
|
|
|
|
value(arg0) {
|
|
|
|
|
this.cancel(arg0);
|
|
|
|
|
this.delete(arg0);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const items = [obj, , , , ];
|
|
|
|
|
obj = {
|
|
|
|
|
key: "cancel",
|
|
|
|
|
value(arg0) {
|
|
|
|
|
const searchFetchers = this.searchFetchers;
|
|
|
|
|
const value = searchFetchers.get(arg0);
|
|
|
|
|
if (null != value) {
|
|
|
|
|
value.cancel();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[1] = obj;
|
|
|
|
|
obj = {
|
|
|
|
|
key: "delete",
|
|
|
|
|
value(arg0) {
|
|
|
|
|
const searchFetchers = this.searchFetchers;
|
|
|
|
|
searchFetchers.delete(arg0);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[2] = obj;
|
|
|
|
|
items[3] = {
|
|
|
|
|
key: "get",
|
|
|
|
|
value(arg0) {
|
|
|
|
|
const searchFetchers = this.searchFetchers;
|
|
|
|
|
return searchFetchers.get(arg0);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[4] = {
|
|
|
|
|
key: "set",
|
|
|
|
|
value(arg0, arg1) {
|
|
|
|
|
const searchFetchers = this.searchFetchers;
|
|
|
|
|
const result = searchFetchers.set(arg0, arg1);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
return callback(AbstractSearchFetchManager, items);
|
2026-07-23 10:11:24 +00:00
|
|
|
})();
|
|
|
|
|
let result = require("set").fileFinishedImporting("modules/search/managers/AbstractSearchFetchManager.tsx");
|
|
|
|
|
|
|
|
|
|
export const AbstractSearchFetchManager = tmp2;
|