/* Metro module 12127; source: modules/main_tabs_v2/useRecipientsLabel.tsx; dependencies: [31, 1878, 1244, 566, 1360, 3995, 2] */ function _fun93048(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#93048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12313:6, offset: 0x020a445e, size: 137 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importAll(31) /* metro dependency 31 */; const userStore = importDefault(1878) /* metro dependency 1878: UserStore */; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/main_tabs_v2/useRecipientsLabel.tsx'); exports.useRecipientsLabel = useRecipientsLabel; } function useRecipientsLabel(a0) { // fn#93049, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12313:214, offset: 0x020a44e7, size: 105 bytes, params: 2, frame: 16 const env0_0 = a0; return env0_3.useMemo(_fun93053, [a0, (require(566) /* metro dependency 566: flux */).useStateFromStoresArray([UserStore], _fun93050)]); } function _fun93050() { // fn#93050, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12313:288, offset: 0x020a4550, size: 92 bytes, params: 1, frame: 14 var value; value = Reflect.apply(env0_0.recipients.map(function(a0) { return UserStore.getUser(a0); }).filter, value, [(require(1360) /* metro dependency 1360: GlobalUtils */).isNotNullish]); return value.map(_fun93052); } function _fun93053() { // fn#93053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12313:406, offset: 0x020a45d5, size: 449 bytes, params: 1, frame: 21 var r1; var r0; var binding; var value3; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; const t = (require(1244) /* metro dependency 1244: indexNative */).t; var value; const name = env0_0.name; const value2 = null; if (name === '') { r0 = value2; } else { binding = env0_1; if (binding.length === 0) { r1 = value2; } else if (binding.length === 1) { value = environment.__proto__; value = intl.formatToPlainString(t['J+Wpst'], {first: binding[0]}); r1 = value; } else if (binding.length === 2) { value = environment.__proto__; value = intl.formatToPlainString(t.gwRP0Y, {first: binding[0], second: binding[1]}); r1 = value; } else if (binding.length === 3) { value = environment.__proto__; value = intl.formatToPlainString(t.QDB5et, {first: binding[0], second: binding[1], third: binding[2]}); r1 = value; } else { value = binding.length - 3; value3 = environment.__proto__; value = intl.formatToPlainString(t.VYfueb, {first: binding[0], second: binding[1], third: binding[2], count: value}); r1 = value; } r0 = r1; } return r0; } function _fun93052(a0) { // fn#93052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12313:362, offset: 0x020a45ac, size: 41 bytes, params: 2, frame: 11 const value = environment.__proto__.__proto__; return (importDefault(3995) /* metro dependency 3995: UserUtils */).getName(a0); }