62 lines
3.5 KiB
React
62 lines
3.5 KiB
React
/* Metro module 6383; source: unknown; dependencies: [6365, 31, 6384, 6409] */
|
|
function _fun49993(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6561:6, offset: 0x0120eb2c, size: 123 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importDefault(6365) /* metro dependency 6365 */;
|
|
const value = require(31) /* metro dependency 31 */;
|
|
const env0_3 = value.useEffect;
|
|
const env0_4 = value.useMemo;
|
|
const env0_5 = value.useState;
|
|
exports.useRecyclerViewManager = useRecyclerViewManager;
|
|
}
|
|
|
|
function useRecyclerViewManager(a0) { // fn#49994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6561:180, offset: 0x0120eba7, size: 155 bytes, params: 2, frame: 19
|
|
const env0_0 = a0;
|
|
const value2 = useState(_fun49995);
|
|
const binding = env0_2;
|
|
const property = binding(value2, 1)[0];
|
|
const property2 = binding(useState(_fun49996), 1)[0];
|
|
const data = a0.data;
|
|
useMemo(_fun49997, [a0]);
|
|
useMemo(_fun49998, [data]);
|
|
useEffect(_fun49999, []);
|
|
return {recyclerViewManager: property, velocityTracker: property2};
|
|
}
|
|
|
|
function _fun49995() { // fn#49995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6561:224, offset: 0x0120ec42, size: 60 bytes, params: 1, frame: 11
|
|
let value = environment.__proto__;
|
|
const RecyclerViewManager = (require(6384) /* metro dependency 6384 */).RecyclerViewManager;
|
|
const binding = env0_0;
|
|
value = Object.create(RecyclerViewManager.prototype, {constructor: {value: RecyclerViewManager}});
|
|
const recyclerViewManager = new RecyclerViewManager(binding);
|
|
return recyclerViewManager instanceof Object ? recyclerViewManager : value;
|
|
}
|
|
|
|
function _fun49996() { // fn#49996, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6561:298, offset: 0x0120ec7e, size: 53 bytes, params: 1, frame: 11
|
|
let value = environment.__proto__;
|
|
const VelocityTracker = (require(6409) /* metro dependency 6409 */).VelocityTracker;
|
|
value = Object.create(VelocityTracker.prototype, {constructor: {value: VelocityTracker}});
|
|
const velocityTracker = new VelocityTracker();
|
|
return velocityTracker instanceof Object ? velocityTracker : value;
|
|
}
|
|
|
|
function _fun49997() { // fn#49997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6561:379, offset: 0x0120ecb3, size: 26 bytes, params: 1, frame: 11
|
|
env0_1.updateProps(env0_0);
|
|
}
|
|
|
|
function _fun49998() { // fn#49998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6561:417, offset: 0x0120eccd, size: 23 bytes, params: 1, frame: 9
|
|
env0_1.processDataUpdate();
|
|
}
|
|
|
|
function _fun49999() { // fn#49999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6561:460, offset: 0x0120ece4, size: 28 bytes, params: 1, frame: 9
|
|
env0_1.restoreIfNeeded();
|
|
return _fun50000;
|
|
}
|
|
|
|
function _fun50000() { // fn#50000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6561:498, offset: 0x0120ed00, size: 35 bytes, params: 1, frame: 10
|
|
env1_1.dispose();
|
|
env1_2.cleanUp();
|
|
}
|
|
|