/* Metro module 1681; source: unknown; dependencies: [6, 7, 1635, 1621, 1682, 1650] */ import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */ import * as Module01621Module from './module-01621.js'; /* Metro dependency 1621 */ import * as Module01635Module from './module-01635.js'; /* Metro dependency 1635 */ import * as Module01682Module from './module-01682.js'; /* Metro dependency 1682 */ function _fun18377(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18377, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1808:6, offset: 0x00e8a6bc, size: 136 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object = {code: 'function pnpm_BaseAnimationBuilderTs1(delay,animation){const{withDelay,reduceMotion}=this.__closure;return withDelay(delay,animation,reduceMotion);}'}; object = {code: 'function pnpm_BaseAnimationBuilderTs2(_,animation){const{getReduceMotionFromConfig,reduceMotion}=this.__closure;animation.reduceMotion=getReduceMotionFromConfig(reduceMotion);return animation;}'}; exports.BaseAnimationBuilder = _fun18378(); function _fun18378() { // fn#18378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1808:483, offset: 0x00e8a744, size: 385 bytes, params: 1, frame: 22 return CreateClass(BaseAnimationBuilder, [{key: 'duration', value: function(a0) { this.durationV = a0; return this; }}, {key: 'delay', value: function(a0) { this.delayV = a0; return this; }}, {key: 'withCallback', value: function(a0) { this.callbackV = a0; return this; }}, {key: 'reduceMotion', value: function(a0) { this.reduceMotionV = a0; return this; }}, {key: 'getDuration', value: function() { return this.durationV ?? 300; }}, {key: 'randomDelay', value: function() { this.randomizeDelay = true; return this; }}, {key: 'getDelay', value: function() { var r0; var property; var value; if (this.randomizeDelay) { property = global.Math; value = property.random(); property = this.delayV; value *= property ?? 1000; r0 = value; } else { r0 = this.delayV ?? 0; } return r0; }}, {key: 'getReduceMotion', value: function() { return this.reduceMotionV; }}, {key: 'getDelayFunction', value: value_18389}], [{key: 'duration', value: function(a0) { return this.createInstance().duration(a0); }}, {key: 'delay', value: function(a0) { return this.createInstance().delay(a0); }}, {key: 'withCallback', value: function(a0) { return this.createInstance().withCallback(a0); }}, {key: 'reduceMotion', value: function(a0) { return this.createInstance().reduceMotion(a0); }}, {key: 'getDuration', value: function() { return 300; }}, {key: 'randomDelay', value: function() { return this.createInstance().randomDelay(); }}, {key: 'build', value: function() { return this.createInstance().build(); }}]); function BaseAnimationBuilder() { // fn#18379, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1808:504, offset: 0x00e8a8c5, size: 86 bytes, params: 1, frame: 14 env1_2(this, BaseAnimationBuilder); const ReduceMotion = (Module01635Module).ReduceMotion; const System = ReduceMotion.System; this.reduceMotionV = System; this.randomizeDelay = false; this.build = build; function BaseAnimationBuilderBuild() { // fn#18380, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1808:646, owner: BaseAnimationBuilder.build, offset: 0x00e8a91b, size: 59 bytes, params: 1, frame: 11 const value = environment.__proto__.__proto__; const ReanimatedError = (Module01621Module).ReanimatedError; throw new ReanimatedError('Unimplemented method in child class.'); } } function value_18389() { // fn#18389, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1808:1485, offset: 0x00e8aa15, size: 204 bytes, params: 1, frame: 16 var environment; var closure; var object; var value2; var value3; let r0 = this.randomizeDelay || this.delayV; const reduceMotion = this.getReduceMotion(); if (r0) { closure = pnpm_BaseAnimationBuilderTs1; object = {}; value3 = environment.__proto__; object.withDelay = (require(1682) /* metro dependency 1682 */).withDelay; object.reduceMotion = reduceMotion; closure.__closure = object; closure.__workletHash = 15544853359686; closure.__initData = env1_4; r0 = closure; } else { closure = pnpm_BaseAnimationBuilderTs2; object = {}; value2 = environment.__proto__; object.getReduceMotionFromConfig = (require(1650) /* metro dependency 1650 */).getReduceMotionFromConfig; object.reduceMotion = reduceMotion; closure.__closure = object; closure.__workletHash = 8417033392474; closure.__initData = env1_5; r0 = closure; } return r0; function pnpm_BaseAnimationBuilderTs1(a0, a1) { // fn#18390, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1808:1594, owner: value_18389.pnpm_BaseAnimationBuilderTs1, offset: 0x00e8aae1, size: 53 bytes, params: 3, frame: 15 const value = environment.__proto__.__proto__; return (Module01682Module).withDelay(a0, a1, env0_0); } function pnpm_BaseAnimationBuilderTs2(a0, a1) { // fn#18391, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1808:1778, owner: value_18389.pnpm_BaseAnimationBuilderTs2, offset: 0x00e8ab16, size: 54 bytes, params: 3, frame: 12 let value = environment.__proto__.__proto__; value = require(1650) /* metro dependency 1650 */; const getReduceMotionFromConfig = value.getReduceMotionFromConfig; a1.reduceMotion = Reflect.apply(getReduceMotionFromConfig, value, [env0_0]); return a1; } } } } global.__d(_fun18377, 1681, [6, 7, 1635, 1621, 1682, 1650]) /* metro module 1681, dependencies: [6, 7, 1635, 1621, 1682, 1650] */;