/* Metro module 3864; source: design/utils/native/mergeProps.native.tsx; dependencies: [2] */ function _fun31980(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#31980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4003:6, offset: 0x0100928a, size: 111 bytes, params: 8, frame: 17 const closure = function(a0) { var r1; var env0_0 = copyRestArgs(0, r1); return _fun31982; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (require(2) /* metro dependency 2 */).fileFinishedImporting('design/utils/native/mergeProps.native.tsx'); exports.chainCallbacks = closure; exports.mergeRefs = function(a0) { var r4; var value = copyRestArgs(0, r4); var env0_0 = value; return value.length === 1 ? value[0] : _fun31984; }; exports.mergeProps = mergeProps; } function chainCallbacks(a0) { // fn#31981, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4003:46, offset: 0x010092f9, size: 19 bytes, params: 2, frame: 10 const env0_0 = copyRestArgs(0, undefined); return _fun31982; } function mergeRefs(a0) { // fn#31983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4003:334, offset: 0x01009364, size: 39 bytes, params: 2, frame: 13 const value = copyRestArgs(0, undefined); return value.length === 1 ? value[0] : _fun31984; } function mergeProps(a0) { // fn#31985, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4003:496, offset: 0x010093d5, size: 295 bytes, params: 2, frame: 40 var r5; var r22; var r29; var property; var properties; var properties2; var properties3; var propertyName; var propertyName2; var property2; var property3; var charCodeAt; var concat; var value4; var value5; const value = copyRestArgs(0, undefined); const object2 = {}; copyDataProperties(object2, value[0], undefined); let length = value.length; const value2 = 1; if (value2 < length) { r5 = value2; reducibleLoop1: while (true) { property = value[r5]; properties = Object.keys(property); properties2 = 0; properties3 = properties.length; if (properties !== undefined) { r22 = properties2; reducibleLoop2: while (true) { propertyName = properties[r22]; propertyName2 = r22 + 1; if (propertyName === undefined) { break reducibleLoop2; } property2 = object2[propertyName]; property3 = property[propertyName]; if (typeof property2 === 'function') { reducibleJoin9: while (true) { if (typeof property3 !== 'function') { break reducibleJoin9; } if (propertyName[0] !== 'o') { break reducibleJoin9; } if (propertyName[value2] !== 'n') { break reducibleJoin9; } charCodeAt = propertyName.charCodeAt; if (Reflect.apply(charCodeAt, propertyName, [2]) >= 65) { charCodeAt = propertyName.charCodeAt; if (Reflect.apply(charCodeAt, propertyName, [2]) <= 90) { object2[propertyName] = chainCallbacks(property2, property3); r22 = propertyName2; continue reducibleLoop2; } break reducibleJoin9; } break reducibleJoin9; } } if (propertyName === 'style') { concat = property2.concat; value4 = Reflect.apply(concat, property2, [property3]); r29 = value4; } else { r29 = property3 === undefined ? property2 : property3; } object2[propertyName] = r29; r22 = propertyName2; continue reducibleLoop2; } } value5 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1; length = value.length; if (value5 < length) { r5 = value5; continue reducibleLoop1; } break reducibleLoop1; } } return object2; } function _fun31982(a0) { // fn#31982, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4003:82, offset: 0x0100930c, size: 88 bytes, params: 2, frame: 19 var r8; var r2; var property; var items2; var value4; var value5; const value = 0; const value2 = copyRestArgs(value, undefined); const binding = env0_0; let length = binding.length; if (value < length) { r2 = value; while (true) { property = binding[r2]; if (typeof property === 'function') { items2 = []; value4 = arraySpread(items2, value2, value, r8); apply(property, items2, undefined, value4); r8 = value4; } value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1; length = binding.length; if (value5 < length) { r2 = value5; continue; } break; } } } function _fun31984(a0) { // fn#31984, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4003:384, offset: 0x0100938b, size: 74 bytes, params: 2, frame: 16 var r4; var property; const binding = env0_0; let length = binding.length; let value = 0; if (value < length) { r4 = value; while (true) { property = binding[r4]; if (typeof property !== 'function') { if (property == null) { break; } property.current = a0; break; } property(a0); value = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1; length = binding.length; if (value < length) { r4 = value; continue; } break; } } }