76 lines
2.8 KiB
React
76 lines
2.8 KiB
React
/* Metro module 6311; source: unknown; dependencies: [31] */
|
|
function _fun49735(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49735, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6489:6, offset: 0x012069e7, size: 106 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const value = require(31) /* metro dependency 31 */;
|
|
let env0_0 = value.useCallback;
|
|
let env0_1 = value.useEffect;
|
|
const env0_2 = value.useLayoutEffect;
|
|
const env0_3 = value.useRef;
|
|
exports.useStableCallback = function(a0) {
|
|
var env0_0 = a0;
|
|
var env0_1 = useRef(undefined);
|
|
useLayoutEffect(_fun49737);
|
|
useEffect(_fun49738, []);
|
|
return useCallback(_fun49740, []);
|
|
};
|
|
}
|
|
|
|
function useStableCallback(a0) { // fn#49736, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6489:187, offset: 0x01206a51, size: 81 bytes, params: 2, frame: 15
|
|
const env0_0 = a0;
|
|
const env0_1 = useRef(undefined);
|
|
useLayoutEffect(_fun49737);
|
|
useEffect(function() {
|
|
return _fun49739;
|
|
}, []);
|
|
return useCallback(_fun49740, []);
|
|
}
|
|
|
|
function _fun49738() { // fn#49738, offset: 0x01206aa2, size: 9 bytes, params: 1, frame: 1
|
|
return _fun49739;
|
|
}
|
|
|
|
function _fun49740() { // fn#49740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6489:328, offset: 0x01206abc, size: 105 bytes, params: 1, frame: 15
|
|
var r1;
|
|
var r0;
|
|
var value6;
|
|
var binding;
|
|
var apply;
|
|
let value = undefined;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value5 = 0;
|
|
if (value5 < length) {
|
|
r1 = value5;
|
|
reducibleLoop1: while (true) {
|
|
array[r1] = arguments[r1];
|
|
value6 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value6 < length) {
|
|
r1 = value6;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
}
|
|
let current = env0_1.current;
|
|
reducibleJoin4: while (true) {
|
|
if (current == null) {
|
|
r0 = value;
|
|
break reducibleJoin4;
|
|
}
|
|
binding = env0_1;
|
|
current = binding.current;
|
|
apply = current.apply;
|
|
value = Reflect.apply(apply, current, [binding, array]);
|
|
r0 = value;
|
|
break reducibleJoin4;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function _fun49739() { // fn#49739, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6489:290, offset: 0x01206aab, size: 17 bytes, params: 1, frame: 2
|
|
env1_1.current = undefined;
|
|
}
|
|
|