/* Metro module 10251; source: design/components/Pile/native/AvatarPile.native.tsx; dependencies: [31, 33, 10252, 8864, 8866, 7599, 8865, 2] */ import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */ import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */ import * as ClipViewModule from '../../Icon/native/ClipView.tsx'; /* Metro dependency 7599 */ import * as PileNativeModule from './Pile.native.tsx'; /* Metro dependency 8864 */ import * as ListUtilsModule from '../../../../utils/ListUtils.tsx'; /* Metro dependency 8866 */ import * as CutoutableAvatarImageModule from '../../../void/CutoutableAvatarImage/native/CutoutableAvatarImage.tsx'; /* Metro dependency 10252 */ function _fun79617(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79617, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10437:6, offset: 0x01e5a2f6, size: 144 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('design/components/Pile/native/AvatarPile.native.tsx'); exports.AvatarPile = AvatarPile; function AvatarPile({size, totalCount, names, children}) { // fn#79618, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10437:231, offset: 0x01e5a386, size: 295 bytes, params: 2, frame: 25 const Children = ReactModule.Children; const value2 = Children.count(children); const AVATAR_SIZE_MAP = (CutoutableAvatarImageModule).AVATAR_SIZE_MAP; const property = AVATAR_SIZE_MAP[size]; const Pile = (PileNativeModule).Pile; const object = {}; const getListSummaryLabel = ListUtilsModule.getListSummaryLabel; object['aria-label'] = Reflect.apply(getListSummaryLabel, ListUtilsModule, [names, totalCount]); const CutoutShape = (ClipViewModule).CutoutShape; const Circle = CutoutShape.Circle; object.shape = Circle; object.size = property; object.gap = property <= 40 ? 2 : 3; object.depthX = 0.4; return ( {children} {totalCount != null && value2 < totalCount && ((PileOverflow) => )((require(8865) /* metro dependency 8865: PileOverflowNative */).PileOverflow)} ); } } global.__d(_fun79617, 10251, [31, 33, 10252, 8864, 8866, 7599, 8865, 2]) /* metro module 10251, dependencies: [31, 33, 10252, 8864, 8866, 7599, 8865, 2] */;