This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,37 +1,42 @@
/* Metro module 8863; source: design/components/Pile/native/GuildIconPile.native.tsx; dependencies: [31, 33, 6819, 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 GuildIconModule from '../../../../modules/guild/native/GuildIcon.tsx'; /* Metro dependency 6819 */
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 */
function _fun69120(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#69120, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9048:6, offset: 0x01c695ed, size: 144 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importAll(31) /* metro dependency 31 */;
const value = require(33) /* metro dependency 33 */;
const env0_3 = value.jsx;
const env0_4 = value.jsxs;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/components/Pile/native/GuildIconPile.native.tsx');
(FileImportTrackerModule).fileFinishedImporting('design/components/Pile/native/GuildIconPile.native.tsx');
exports.GuildIconPile = GuildIconPile;
function GuildIconPile({size, totalCount, names, children}) { // fn#69121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9048:237, offset: 0x01c6967d, size: 298 bytes, params: 2, frame: 25
const Children = ReactModule.Children;
const value2 = Children.count(children);
const ImageSizes = (GuildIconModule).ImageSizes;
const property = ImageSizes[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 RoundedRect = CutoutShape.RoundedRect;
object.shape = RoundedRect;
object.size = property;
object.gap = property <= 40 ? 2 : 3;
object.depthX = 0.25;
return (
<Pile {...object}>
{children}
{totalCount != null && value2 < totalCount && ((PileOverflow) => <PileOverflow size={property} borderRadius={property / 3} value={totalCount - value2} />)((require(8865) /* metro dependency 8865: PileOverflowNative */).PileOverflow)}
</Pile>
);
}
}
function GuildIconPile({size, totalCount, names, children}) { // fn#69121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9048:237, offset: 0x01c6967d, size: 298 bytes, params: 2, frame: 25
const Children = env0_2.Children;
const value2 = Children.count(children);
const ImageSizes = (require(6819) /* metro dependency 6819: GuildIcon */).ImageSizes;
const property = ImageSizes[size];
const Pile = (require(8864) /* metro dependency 8864: PileNative */).Pile;
const object2 = {};
const listUtilsModule = require(8866) /* metro dependency 8866: ListUtils */;
const getListSummaryLabel = listUtilsModule.getListSummaryLabel;
object2['aria-label'] = Reflect.apply(getListSummaryLabel, listUtilsModule, [names, totalCount]);
const CutoutShape = (require(7599) /* metro dependency 7599: ClipView */).CutoutShape;
const RoundedRect = CutoutShape.RoundedRect;
object2.shape = RoundedRect;
object2.size = property;
object2.gap = property <= 40 ? 2 : 3;
object2.depthX = 0.25;
return (
<Pile {...object2}>
{children}
{totalCount != null && value2 < totalCount && ((PileOverflow) => <PileOverflow size={property} borderRadius={property / 3} value={totalCount - value2} />)((require(8865) /* metro dependency 8865: PileOverflowNative */).PileOverflow)}
</Pile>
);
}
global.__d(_fun69120, 8863, [31, 33, 6819, 8864, 8866, 7599, 8865,
2]) /* metro module 8863, dependencies: [31, 33, 6819, 8864, 8866, 7599, 8865, 2] */;