/* Metro module 7902; source: modules/app_icons/native/AppIconConstants.tsx; dependencies: [7903, 7904, 1244, 7905, 7906, 7907, 7908, 7909, 7910, 7911, 7912, 7913, 7914, 7915, 7916, 7917, 7918, 7919, 7920, 7921, 7922, 7923, 7924, 7925, 7926, 7927, 7928, 2] */ function _fun63305(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63305, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8080:6, offset: 0x01b7a3b8, size: 2667 bytes, params: 8, frame: 29 var object2; const env0_0 = require; const closure = function() { var object = {}; object.id = require(dependencyMap[0]).FreemiumAppIconIds.DEFAULT; object.iconSource = importDefault(dependencyMap[1]); object.name = require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.ANxkLy); object.isPremium = false; return object; }; const closure2 = function(a0) { var r0; var value = a0.expiresAt != null; if (value) { value = global.Date.now(); value = value > a0.expiresAt; r0 = value; } else { r0 = value; } return r0; }; const closure3 = getOfficialAlternateIcons; const closure4 = getLimitedAlternateIcons; const closure5 = function() { var r4; var items = [getDefaultIcon()]; arraySpread(items, getLimitedAlternateIcons(), arraySpread(items, getOfficialAlternateIcons(), 1, r4), r4); return items; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object2 = {}; const PremiumAppIconIds = (require(7903) /* metro dependency 7903: AppIconTypes */).PremiumAppIconIds; const IN_RAINBOWS = PremiumAppIconIds.IN_RAINBOWS; object2.id = IN_RAINBOWS; object2.iconSource = importDefault(7905) /* metro dependency 7905 */; object2.isPremium = true; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const t = (require(1244) /* metro dependency 1244: indexNative */).t; object2.name = Reflect.apply(string, intl, [t.yxJB9E]); const items2 = [object2]; object2 = {}; const MIDNIGHT_PRISM = PremiumAppIconIds.MIDNIGHT_PRISM; object2.id = MIDNIGHT_PRISM; object2.iconSource = importDefault(7906) /* metro dependency 7906 */; object2.isPremium = true; object2.name = intl.string(t.nshUZZ); items2[1] = object2; object2 = {}; const COLOR_WAVE = PremiumAppIconIds.COLOR_WAVE; object2.id = COLOR_WAVE; object2.iconSource = importDefault(7907) /* metro dependency 7907 */; object2.isPremium = true; string = intl.string; const MWRYqh = t.MWRYqh; object2.name = Reflect.apply(string, intl, [MWRYqh]); items2[2] = object2; object2 = {}; const BLURPLE_TWILIGHT = PremiumAppIconIds.BLURPLE_TWILIGHT; object2.id = BLURPLE_TWILIGHT; object2.iconSource = importDefault(7908) /* metro dependency 7908 */; object2.isPremium = true; string = intl.string; const Mfoe3p = t.Mfoe3p; object2.name = Reflect.apply(string, intl, [Mfoe3p]); items2[3] = object2; object2 = {}; const BRAND_INVERTED = PremiumAppIconIds.BRAND_INVERTED; object2.id = BRAND_INVERTED; object2.iconSource = importDefault(7909) /* metro dependency 7909 */; object2.isPremium = true; object2.name = intl.string(t.h6UXSt); items2[4] = object2; object2 = {}; const BRAND_DARK = PremiumAppIconIds.BRAND_DARK; object2.id = BRAND_DARK; object2.iconSource = importDefault(7910) /* metro dependency 7910 */; object2.name = intl.string(t.gZEUBl); object2.isPremium = true; items2[5] = object2; object2 = {}; const MATTE_DARK = PremiumAppIconIds.MATTE_DARK; object2.id = MATTE_DARK; object2.iconSource = importDefault(7911) /* metro dependency 7911 */; object2.isPremium = true; string = intl.string; const NkshQt = t.NkshQt; object2.name = Reflect.apply(string, intl, [NkshQt]); items2[6] = object2; object2 = {}; const MATTE_LIGHT = PremiumAppIconIds.MATTE_LIGHT; object2.id = MATTE_LIGHT; object2.iconSource = importDefault(7912) /* metro dependency 7912 */; string = intl.string; const G2W302 = t.G2W302; object2.name = Reflect.apply(string, intl, [G2W302]); object2.isPremium = true; items2[7] = object2; object2 = {}; const PASTEL = PremiumAppIconIds.PASTEL; object2.id = PASTEL; object2.iconSource = importDefault(7913) /* metro dependency 7913 */; object2.isPremium = true; object2.name = intl.string(t.mTSkLT); items2[8] = object2; object2 = {}; const PIRATE = PremiumAppIconIds.PIRATE; object2.id = PIRATE; object2.iconSource = importDefault(7914) /* metro dependency 7914 */; object2.isPremium = true; object2.name = intl.string(t['EgWTY+']); items2[9] = object2; object2 = {}; const CAMO = PremiumAppIconIds.CAMO; object2.id = CAMO; object2.iconSource = importDefault(7915) /* metro dependency 7915 */; object2.isPremium = true; string = intl.string; const RSKXOK = t.RSKXOK; object2.name = Reflect.apply(string, intl, [RSKXOK]); items2[10] = object2; object2 = {}; const SUNSET = PremiumAppIconIds.SUNSET; object2.id = SUNSET; object2.iconSource = importDefault(7916) /* metro dependency 7916 */; object2.isPremium = true; object2.name = intl.string(t.ixdjPB); items2[11] = object2; object2 = {}; const GALAXY = PremiumAppIconIds.GALAXY; object2.id = GALAXY; object2.iconSource = importDefault(7917) /* metro dependency 7917 */; object2.isPremium = true; object2.name = intl.string(t.cb78Ls); items2[12] = object2; object2 = {}; const Y2K = PremiumAppIconIds.Y2K; object2.id = Y2K; object2.iconSource = importDefault(7918) /* metro dependency 7918 */; object2.isPremium = true; object2.name = intl.string(t['s+KoXO']); items2[13] = object2; object2 = {}; const CHERRY_BLOSSOM = PremiumAppIconIds.CHERRY_BLOSSOM; object2.id = CHERRY_BLOSSOM; object2.iconSource = importDefault(7919) /* metro dependency 7919 */; object2.isPremium = true; object2.name = intl.string(t['ta/5RB']); items2[14] = object2; object2 = {}; const BEANIE = PremiumAppIconIds.BEANIE; object2.id = BEANIE; object2.iconSource = importDefault(7920) /* metro dependency 7920 */; object2.isPremium = true; string = intl.string; const IoLViw = t.IoLViw; object2.name = Reflect.apply(string, intl, [IoLViw]); items2[15] = object2; object2 = {}; const GAMING = PremiumAppIconIds.GAMING; object2.id = GAMING; object2.iconSource = importDefault(7921) /* metro dependency 7921 */; object2.isPremium = true; object2.name = intl.string(t['2Tf+c4']); items2[16] = object2; object2 = {}; const CIRCUIT = PremiumAppIconIds.CIRCUIT; object2.id = CIRCUIT; object2.iconSource = importDefault(7922) /* metro dependency 7922 */; object2.isPremium = true; object2.name = intl.string(t.dUpxKb); items2[17] = object2; object2 = {}; const HOLO_WAVES = PremiumAppIconIds.HOLO_WAVES; object2.id = HOLO_WAVES; object2.iconSource = importDefault(7923) /* metro dependency 7923 */; object2.isPremium = true; object2.name = intl.string(t['9mg7g1']); items2[18] = object2; object2 = {}; const BLUSH = PremiumAppIconIds.BLUSH; object2.id = BLUSH; object2.iconSource = importDefault(7924) /* metro dependency 7924 */; object2.isPremium = true; object2.name = intl.string(t.nmd90m); items2[19] = object2; object2 = {}; const ANGRY = PremiumAppIconIds.ANGRY; object2.id = ANGRY; object2.iconSource = importDefault(7925) /* metro dependency 7925 */; object2.isPremium = true; object2.name = intl.string(t['9PUXpM']); items2[20] = object2; object2 = {}; const MANGA = PremiumAppIconIds.MANGA; object2.id = MANGA; object2.iconSource = importDefault(7926) /* metro dependency 7926 */; object2.isPremium = true; object2.name = intl.string(t.hGBbF8); items2[21] = object2; object2 = {}; const CONTROLLER = PremiumAppIconIds.CONTROLLER; object2.id = CONTROLLER; object2.iconSource = importDefault(7927) /* metro dependency 7927 */; object2.isPremium = true; object2.name = intl.string(t['4QM2U1']); items2[22] = object2; object2 = {}; const MUSHROOM = PremiumAppIconIds.MUSHROOM; object2.id = MUSHROOM; object2.iconSource = importDefault(7928) /* metro dependency 7928 */; object2.isPremium = true; object2.name = intl.string(t.gnLLSK); items2[23] = object2; const env0_4 = []; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/app_icons/native/AppIconConstants.tsx'); exports.getDefaultIcon = closure; exports.isIconExpired = closure2; exports.getOfficialAlternateIcons = closure3; exports.getLimitedAlternateIcons = closure4; exports.getIcons = closure5; exports.getIconById = getIconById; } function getOfficialAlternateIcons() { // fn#63308, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8080:3136, offset: 0x01b7aecf, size: 26 bytes, params: 1, frame: 11 return env0_3.filter(function(a0) { return !isIconExpired(a0); }); } function getLimitedAlternateIcons() { // fn#63310, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8080:3213, offset: 0x01b7aeff, size: 26 bytes, params: 1, frame: 11 return env0_4.filter(function(a0) { return !isIconExpired(a0); }); } function getIconById(a0) { // fn#63313, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8080:3677, offset: 0x01b7af51, size: 54 bytes, params: 2, frame: 13 const env0_0 = a0; return getIcons().find(_fun63314) ?? getDefaultIcon(); }