Files
2026-07-28 01:06:53 +03:00

112 lines
5.0 KiB
JavaScript

/* Metro module 325; source: unknown; dependencies: [31, 326] */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
function _fun4893(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#4893, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:366:6, offset: 0x00cd0238, size: 101 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
ReactModule;
exports.default = useMergeRefs;
function useMergeRefs() { // fn#4894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:366:136, offset: 0x00cd029d, size: 127 bytes, params: 1, frame: 16
var r0;
var value5;
const length = arguments.length;
const Array = global.Array;
const array = new Array(length);
const value4 = 0;
if (value4 < length) {
for (r0 = value4; true; r0 = value5) {
array[r0] = arguments[r0];
value5 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
if (!(value5 < length)) {
break;
}
}
}
return (importDefault(326) /* metro dependency 326 */)(useCallback(function(a0) {
var env0_1 = a0.map(_fun4896);
return _fun4899;
}, [].concat(array)));
function _fun4895(a0) { // fn#4895, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:366:241, offset: 0x00cd031c, size: 42 bytes, params: 2, frame: 12
const env0_1 = a0.map(_fun4896);
return _fun4899;
function _fun4896(a0) { // fn#4896, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:366:266, offset: 0x00cd0346, size: 78 bytes, params: 2, frame: 13
var value;
const env0_0 = a0;
if (a0 != null) {
if (typeof a0 === 'function') {
value = a0(env0_0);
return typeof value === 'function' ? value : _fun4897;
}
a0.current = env0_0;
return _fun4898;
}
function _fun4897() { // fn#4897, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:366:355, offset: 0x00cd0394, size: 18 bytes, params: 1, frame: 11
env0_0(null);
}
function _fun4898() { // fn#4898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:366:394, offset: 0x00c6baca, size: 19 bytes, params: 1, frame: 2
env0_0.current = null;
}
}
function _fun4899() { // fn#4899, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:366:432, offset: 0x00cd03a6, size: 55 bytes, params: 1, frame: 14
var error;
let value = environment;
const iterator = env0_1[Symbol.iterator]();
const iterator2 = iterator.next;
let r2 = iterator;
let item2 = Reflect.apply(iterator2, r2, []);
let item = item2.value;
item2 = item2.done ? undefined : r2;
reducibleJoin2: while (true) {
if (item2 === undefined) {
return undefined;
}
break reducibleJoin2;
}
reducibleLoop2: while (true) {
try {
value = item == null;
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
reducibleJoin1: while (true) {
if (value) {
r2 = item2;
break reducibleJoin1;
}
try {
item();
} catch (error) {
try {
item2.return();
} catch {
}
throw error;
}
r2 = item2;
break reducibleJoin1;
}
item2 = Reflect.apply(iterator2, r2, []);
item = item2.value;
item2 = item2.done ? undefined : r2;
if (item2 === undefined) {
break reducibleLoop2;
}
continue reducibleLoop2;
}
}
}
}
}
global.__d(_fun4893, 325, [31, 326]) /* metro module 325, dependencies: [31, 326] */;