/* Metro module 333; source: unknown; dependencies: [79, 262, 49, 46] */ import * as Module00079Module from './module-00079.js'; /* Metro dependency 79 */ function _fun4946(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#4946, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:374:6, offset: 0x00cd16ce, size: 391 bytes, params: 8, frame: 20 const env0_1 = require; const configureNext2 = configureNext; const closure2 = function(a0, a1, a2) { return {duration: a0, create: {type: a1, property: a2}, update: {type: a1}, delete: {type: a1, property: a2}}; }; let Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_4 = (Module00079Module).isLayoutAnimationEnabled(); object = {easeInEaseOut: closure2(300, 'easeInEaseOut', 'opacity'), linear: closure2(500, 'linear', 'opacity')}; object.spring = {duration: 700, create: {'type': 'linear', 'property': 'opacity'}, update: {'type': 'spring', 'springDamping': 0.4}, delete: {'type': 'linear', 'property': 'opacity'}}; const object3 = {configureNext: configureNext2, create: closure2}; Object = global.Object; object3.Types = Object.freeze({'spring': 'spring', 'linear': 'linear', 'easeInEaseOut': 'easeInEaseOut', 'easeIn': 'easeIn', 'easeOut': 'easeOut', 'keyboard': 'keyboard'}); Object = global.Object; object3.Properties = Object.freeze({'opacity': 'opacity', 'scaleX': 'scaleX', 'scaleY': 'scaleY', 'scaleXY': 'scaleXY'}); object3.checkConfig = function() { global.console.error('LayoutAnimation.checkConfig(...) has been disabled.'); }; object3.Presets = object; object3.easeInEaseOut = configureNext2.bind(null, object.easeInEaseOut); object3.linear = configureNext2.bind(null, object.linear); object3.spring = configureNext2.bind(null, object.spring); object3.setEnabled = function(a0) { }; exports.default = object3; function configureNext(a0, a1, a2) { // fn#4947, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:374:133, offset: 0x00cd1855, size: 341 bytes, params: 4, frame: 22 var r2; var r1; var onAnimationComplete2; var fabricUIManager; const property = (require(46) /* metro dependency 46 */).default; var binding; var value6; var nativeFabricUIManager; const value = a2; if (!(importDefault(262) /* metro dependency 262 */).isDisableAnimations) { if (env0_4) { onAnimationComplete2 = onAnimationComplete; var env0_2 = global.setTimeout(onAnimationComplete2, (a0.duration ?? 0) + 17); fabricUIManager = (require(49) /* metro dependency 49 */).getFabricUIManager(); if (fabricUIManager == null) { if ((require(46) /* metro dependency 46 */).default != null && (require(46) /* metro dependency 46 */).default.configureNextLayoutAnimation) { property.configureNextLayoutAnimation(a0, onAnimationComplete2 ?? (function() { }), value ?? _fun4951); } } else if (fabricUIManager.configureNextLayoutAnimation) { binding = a1; value6 = binding == null; if (value6) { r1 = value6; r2 = binding; } else { nativeFabricUIManager = binding.nativeFabricUIManager; r1 = nativeFabricUIManager == null; r2 = nativeFabricUIManager; } if (!r1) { r2.configureNextLayoutAnimation(a0, onAnimationComplete2, value ?? _fun4949); } } else if ((require(46) /* metro dependency 46 */).default != null && (require(46) /* metro dependency 46 */).default.configureNextLayoutAnimation) { property.configureNextLayoutAnimation(a0, onAnimationComplete2 ?? _fun4950, value ?? _fun4951); } } } function onAnimationComplete() { // fn#4948, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:374:218, owner: configureNext.onAnimationComplete, offset: 0x00cd19aa, size: 57 bytes, params: 1, frame: 12 if (!env0_1) { global.clearTimeout(env0_2); if (require != null) { require(); } } } } } function _fun4949() { // fn#4949, offset: 0x00c37b63, size: 4 bytes, params: 1, frame: 1 } function _fun4950() { // fn#4950, offset: 0x00c37b63, size: 4 bytes, params: 1, frame: 1 } function _fun4951() { // fn#4951, offset: 0x00c37b63, size: 4 bytes, params: 1, frame: 1 } global.__d(_fun4946, 333, [79, 262, 49, 46]) /* metro module 333, dependencies: [79, 262, 49, 46] */;