69 lines
3.0 KiB
React
69 lines
3.0 KiB
React
/* Metro module 1724; source: unknown; dependencies: [1613, 1654] */
|
|
function _fun18763(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18763, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1851:6, offset: 0x00e958e3, size: 110 bytes, params: 8, frame: 18
|
|
var r1;
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const value = require(1613) /* metro dependency 1613 */;
|
|
if (value.shouldBeUseWeb()) {
|
|
r1 = function() {
|
|
};
|
|
} else {
|
|
var env0_2 = createUpdateManager();
|
|
r1 = updateLayoutAnimations_18768;
|
|
}
|
|
exports.updateLayoutAnimations = r1;
|
|
}
|
|
|
|
function createUpdateManager() { // fn#18765, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1851:175, offset: 0x00e95951, size: 42 bytes, params: 1, frame: 3
|
|
const env0_0 = [];
|
|
const env0_1 = [];
|
|
return {update: update_18766, flush: flush_18767};
|
|
}
|
|
|
|
function updateLayoutAnimations_18768(a0, a1, a2, a3, a4) { // fn#18768, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1851:463, offset: 0x00e95a56, size: 95 bytes, params: 6, frame: 18
|
|
var r0;
|
|
var value;
|
|
const binding = env0_2;
|
|
const update = binding.update;
|
|
if (a2) {
|
|
value = require(1654) /* metro dependency 1654 */;
|
|
value = value.makeShareableCloneRecursive(a2);
|
|
r0 = value;
|
|
} else {
|
|
r0 = undefined;
|
|
}
|
|
return Reflect.apply(update, binding, [{viewTag: a0, type: a1, config: r0, sharedTransitionTag: a3}, a4]);
|
|
}
|
|
|
|
function createUpdateManagerUpdate(a0, a1) { // fn#18766, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1851:234, owner: createUpdateManager.update, offset: 0x00e9597b, size: 146 bytes, params: 3, frame: 13
|
|
var value;
|
|
if (a1) {
|
|
env0_1.push(a0);
|
|
} else {
|
|
env0_0.push(a0);
|
|
}
|
|
if (env0_0.length + env0_1.length === 1) {
|
|
value = environment.__proto__;
|
|
value = require(1613) /* metro dependency 1613 */;
|
|
if (value.isFabric()) {
|
|
this.flush();
|
|
} else {
|
|
global.setImmediate(this.flush);
|
|
}
|
|
}
|
|
}
|
|
|
|
function createUpdateManagerFlush() { // fn#18767, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1851:366, owner: createUpdateManager.flush, offset: 0x00e95a0d, size: 73 bytes, params: 1, frame: 14
|
|
let value = environment.__proto__;
|
|
value = require(1654) /* metro dependency 1654 */;
|
|
const configureLayoutAnimationBatch = value.configureLayoutAnimationBatch;
|
|
const binding = env0_0;
|
|
const concat = binding.concat;
|
|
const binding2 = env0_1;
|
|
Reflect.apply(configureLayoutAnimationBatch, value, [Reflect.apply(concat, binding, [binding2])]);
|
|
binding.length = 0;
|
|
binding2.length = 0;
|
|
}
|
|
|