71 lines
3.6 KiB
JavaScript
71 lines
3.6 KiB
JavaScript
/* Metro module 324; source: unknown; dependencies: [31, 325] */
|
|
import Module00325 from './module-00325.js'; /* Metro dependency 325 */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
|
|
function _fun4884(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#4884, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:365:6, offset: 0x00cd006f, size: 175 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
const Set = global.Set;
|
|
const set = new Set();
|
|
exports.unstable_setImageComponentDecorator = function(a0) {
|
|
env0_2 = a0;
|
|
};
|
|
exports.unstable_getImageComponentDecorator = unstable_getImageComponentDecorator;
|
|
exports.unstable_registerImageAttachedCallback = unstable_registerImageAttachedCallback;
|
|
exports.unstable_unregisterImageAttachedCallback = unstable_unregisterImageAttachedCallback;
|
|
exports.useWrapRefWithImageAttachedCallbacks = useWrapRefWithImageAttachedCallbacks;
|
|
function unstable_getImageComponentDecorator() { // fn#4886, offset: 0x00c36b39, size: 9 bytes, params: 1, frame: 1
|
|
return env0_2;
|
|
}
|
|
|
|
function unstable_registerImageAttachedCallback(a0) { // fn#4887, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:365:364, offset: 0x00cd011e, size: 24 bytes, params: 2, frame: 11
|
|
env0_4.add(a0);
|
|
}
|
|
|
|
function unstable_unregisterImageAttachedCallback(a0) { // fn#4888, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:365:468, offset: 0x00cd0136, size: 24 bytes, params: 2, frame: 11
|
|
env0_4.delete(a0);
|
|
}
|
|
|
|
function useWrapRefWithImageAttachedCallbacks(a0) { // fn#4889, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:365:573, offset: 0x00cd014e, size: 87 bytes, params: 2, frame: 15
|
|
const env0_0 = useRef([]);
|
|
const value2 = useRef(null);
|
|
const current = value2.current;
|
|
if (current == null) {
|
|
value2.current = current;
|
|
}
|
|
return (Module00325)(a0, value2.current);
|
|
function current(a0) { // fn#4890, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:365:679, owner: useWrapRefWithImageAttachedCallbacks.current, offset: 0x00cd01a5, size: 100 bytes, params: 2, frame: 12
|
|
var environment;
|
|
var value;
|
|
var binding;
|
|
const env0_0 = a0;
|
|
if (a0 == null) {
|
|
if (env0_0.current.length > 0) {
|
|
binding = env0_0;
|
|
binding.current.forEach(function(a0) {
|
|
return a0();
|
|
});
|
|
binding.current = [];
|
|
}
|
|
} else {
|
|
value = environment.__proto__;
|
|
env1_4.forEach(_fun4892);
|
|
}
|
|
function _fun4892(a0) { // fn#4892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:365:790, offset: 0x00cd0209, size: 47 bytes, params: 2, frame: 12
|
|
var value2;
|
|
const value = a0(env0_0);
|
|
if (value != null) {
|
|
value2 = environment.__proto__;
|
|
env1_0.current.push(value);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun4884, 324, [31, 325]) /* metro module 324, dependencies: [31, 325] */;
|