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,46 +1,47 @@
/* Metro module 11859; source: modules/channel_text_area/native/ChannelAutocompleteAnalytics.tsx; dependencies: [661, 683, 4863, 2] */
import AnalyticsUtils from '../../../utils/AnalyticsUtils.tsx'; /* Metro dependency 683 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as AppAnalyticsUtilsModule from '../../app_analytics/AppAnalyticsUtils.tsx'; /* Metro dependency 4863 */
function _fun90929(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#90929, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12045:6, offset: 0x0204c8aa, size: 137 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel_text_area/native/ChannelAutocompleteAnalytics.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/channel_text_area/native/ChannelAutocompleteAnalytics.tsx');
exports.iOSTrackAutocompleteOpen = iOSTrackAutocompleteOpen;
exports.iOSTrackAutocompleteSelect = iOSTrackAutocompleteSelect;
function iOSTrackAutocompleteOpen(a0, a1, {numEmojiResults, numStickerResults}) { // fn#90930, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12045:247, offset: 0x0204c933, size: 170 bytes, params: 4, frame: 21
const defaultImport = AnalyticsUtils;
const track = defaultImport.track;
const CHANNEL_AUTOCOMPLETE_OPEN = AnalyticEvents.CHANNEL_AUTOCOMPLETE_OPEN;
const object = {};
copyDataProperties(object, AppAnalyticsUtilsModule.collectChannelAnalyticsMetadata(a1), AppAnalyticsUtilsModule);
copyDataProperties(object, AppAnalyticsUtilsModule.collectGuildAnalyticsMetadata(a1.guild_id), AppAnalyticsUtilsModule);
object['autocomplete_type'] = a0;
object['num_emoji_results'] = numEmojiResults;
object['num_sticker_results'] = numStickerResults;
Reflect.apply(track, defaultImport, [CHANNEL_AUTOCOMPLETE_OPEN, object]);
}
function iOSTrackAutocompleteSelect(a0, a1, {selectionType, stickerId, numEmojiResults, numStickerResults, expressionName, isCustom, isAnimated}) { // fn#90931, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12045:558, offset: 0x0204c9dd, size: 249 bytes, params: 4, frame: 21
const defaultImport = AnalyticsUtils;
const track = defaultImport.track;
const CHANNEL_AUTOCOMPLETE_SELECTED = AnalyticEvents.CHANNEL_AUTOCOMPLETE_SELECTED;
const object = {};
copyDataProperties(object, AppAnalyticsUtilsModule.collectChannelAnalyticsMetadata(a1), AppAnalyticsUtilsModule);
copyDataProperties(object, AppAnalyticsUtilsModule.collectGuildAnalyticsMetadata(a1.guild_id), AppAnalyticsUtilsModule);
object['autocomplete_type'] = a0;
object['selection_type'] = selectionType;
object['sticker_id'] = stickerId;
object['num_emoji_results'] = numEmojiResults;
object['num_sticker_results'] = numStickerResults;
object['emoji_name'] = expressionName;
object['is_custom'] = isCustom;
object['is_animated'] = isAnimated;
Reflect.apply(track, defaultImport, [CHANNEL_AUTOCOMPLETE_SELECTED, object]);
}
}
function iOSTrackAutocompleteOpen(a0, a1, {numEmojiResults, numStickerResults}) { // fn#90930, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12045:247, offset: 0x0204c933, size: 170 bytes, params: 4, frame: 21
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
const track = defaultImport.track;
const CHANNEL_AUTOCOMPLETE_OPEN = AnalyticEvents.CHANNEL_AUTOCOMPLETE_OPEN;
const object2 = {};
const appAnalyticsUtilsModule = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
copyDataProperties(object2, appAnalyticsUtilsModule.collectChannelAnalyticsMetadata(a1), appAnalyticsUtilsModule);
const moduleValue = appAnalyticsUtilsModule;
copyDataProperties(object2, moduleValue.collectGuildAnalyticsMetadata(a1.guild_id), appAnalyticsUtilsModule);
object2['autocomplete_type'] = a0;
object2['num_emoji_results'] = numEmojiResults;
object2['num_sticker_results'] = numStickerResults;
Reflect.apply(track, defaultImport, [CHANNEL_AUTOCOMPLETE_OPEN, object2]);
}
function iOSTrackAutocompleteSelect(a0, a1, {selectionType, stickerId, numEmojiResults, numStickerResults, expressionName, isCustom, isAnimated}) { // fn#90931, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12045:558, offset: 0x0204c9dd, size: 249 bytes, params: 4, frame: 21
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
const track = defaultImport.track;
const CHANNEL_AUTOCOMPLETE_SELECTED = AnalyticEvents.CHANNEL_AUTOCOMPLETE_SELECTED;
const object2 = {};
const appAnalyticsUtilsModule = require(4863) /* metro dependency 4863: AppAnalyticsUtils */;
copyDataProperties(object2, appAnalyticsUtilsModule.collectChannelAnalyticsMetadata(a1), appAnalyticsUtilsModule);
const moduleValue = appAnalyticsUtilsModule;
copyDataProperties(object2, moduleValue.collectGuildAnalyticsMetadata(a1.guild_id), appAnalyticsUtilsModule);
object2['autocomplete_type'] = a0;
object2['selection_type'] = selectionType;
object2['sticker_id'] = stickerId;
object2['num_emoji_results'] = numEmojiResults;
object2['num_sticker_results'] = numStickerResults;
object2['emoji_name'] = expressionName;
object2['is_custom'] = isCustom;
object2['is_animated'] = isAnimated;
Reflect.apply(track, defaultImport, [CHANNEL_AUTOCOMPLETE_SELECTED, object2]);
}
global.__d(_fun90929, 11859, [661, 683, 4863, 2]) /* metro module 11859, dependencies: [661, 683, 4863, 2] */;
@@ -1,9 +1,12 @@
/* Metro module 11086; source: modules/channel_text_area/native/ChannelAutocompleteConstants.tsx; dependencies: [2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun84888(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84888, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11272:6, offset: 0x01f5adb7, size: 140 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel_text_area/native/ChannelAutocompleteConstants.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/channel_text_area/native/ChannelAutocompleteConstants.tsx');
exports.AutocompleteTypes = {MENTIONS: 'MENTIONS', CHANNELS: 'CHANNELS', EMOJIS_AND_STICKERS: 'EMOJIS_AND_STICKERS',
SLASHES: 'SLASHES', SLASHES_DISCOVERY: 'SLASHES_DISCOVERY', CHOICES: 'CHOICES'};
}
global.__d(_fun84888, 11086, [2]) /* metro module 11086, dependencies: [2] */;
@@ -1,62 +1,71 @@
/* Metro module 11856; source: modules/channel_text_area/native/ChannelAutocompleteEmojiUpsell.tsx; dependencies: [31, 27, 1881, 33, 4501, 697, 5475, 1423, 4573, 1244, 2] */
import Native from '../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
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 IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as EmojiConstantsModule from '../../emojis/EmojiConstants.tsx'; /* Metro dependency 1881 */
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
function _fun90893(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#90893, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12042:6, offset: 0x0204b113, size: 362 bytes, params: 8, frame: 22
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).View;
const env0_4 = (require(1881) /* metro dependency 1881: EmojiConstants */).EMOJI_URL_BASE_SIZE;
let value = require(33) /* metro dependency 33 */;
ReactModule;
let value = JsxRuntimeModule;
const env0_5 = value.jsx;
const env0_6 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
const object = {'position': 'absolute', 'width': 28, 'height': 28, 'padding': 2, 'backgroundColor': null,
const object2 = {'position': 'absolute', 'width': 28, 'height': 28, 'padding': 2, 'backgroundColor': null,
'borderWidth': 2, 'borderRadius': 14, 'borderColor': null, 'alignItems': 'center', 'justifyContent': 'center'};
const BACKGROUND_BASE_LOWEST = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWEST;
object.backgroundColor = BACKGROUND_BASE_LOWEST;
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object.borderColor = BACKGROUND_SURFACE_HIGH;
const BACKGROUND_BASE_LOWEST = (Native).colors.BACKGROUND_BASE_LOWEST;
object2.backgroundColor = BACKGROUND_BASE_LOWEST;
const BACKGROUND_SURFACE_HIGH = (Native).colors.BACKGROUND_SURFACE_HIGH;
object2.borderColor = BACKGROUND_SURFACE_HIGH;
const env0_7 = Reflect.apply(createStyles, value, [{upsell: {'flexDirection': 'row', 'alignItems': 'center',
'justifyContent': 'space-between'}, title: {'lineHeight': 16, 'flex': 1}, emojis: {height: 28},
emojiWrapper: object, emoji: {'width': 16, 'height': 16}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel_text_area/native/ChannelAutocompleteEmojiUpsell.tsx');
emojiWrapper: object2, emoji: {'width': 16, 'height': 16}}]);
(FileImportTrackerModule).fileFinishedImporting('modules/channel_text_area/native/ChannelAutocompleteEmojiUpsell.tsx');
exports.default = _default_90894;
}
function _default_90894({results}) { // fn#90894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12042:612, offset: 0x0204b27d, size: 289 bytes, params: 2, frame: 25
const styles = useStyles();
const value2 = results.slice(0, 3);
const value3 = value2.map(_fun90895);
const value4 = 24 * value2.length;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
return (
<View style={styles.upsell}>
<Text
style={styles.title}
accessibilityRole="header"
variant="text-sm/medium"
>
{intl.format((require(1244) /* metro dependency 1244: indexNative */).t.uEky42,
{count: results.length})}
</Text>
<View style={[styles.emojis, {width: value4 + 16}]}>
{value3}
function _default_90894({results}) { // fn#90894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12042:612, offset: 0x0204b27d, size: 289 bytes, params: 2, frame: 25
const styles = useStyles();
const value2 = results.slice(0, 3);
const value3 = value2.map(_fun90895);
const value4 = 24 * value2.length;
const Text = (TextModule).Text;
const intl = (IndexNativeModule).intl;
return (
<View style={styles.upsell}>
<Text
style={styles.title}
accessibilityRole="header"
variant="text-sm/medium"
>
{intl.format((IndexNativeModule).t.uEky42,
{count: results.length})}
</Text>
<View style={[styles.emojis, {width: value4 + 16}]}>
{value3}
</View>
</View>
</View>
);
}
);
function _fun90895(a0, a1) { // fn#90895, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12042:662, offset: 0x0204b39e, size: 208 bytes, params: 3, frame: 24
const value = environment.__proto__;
const stylesBinding = styles;
return (
<View style={[stylesBinding.emojiWrapper, {left: 24 * a1}]} key={a0.id}>
{((Component) => <Component style={stylesBinding.emoji} source={{uri: a0.id != null ? (importDefault(1423) /* metro dependency 1423: AvatarUtils */).getEmojiURL({id: a0.id,
animated: a0.animated,
size: EMOJI_URL_BASE_SIZE}) : a0.url}} />)(importDefault(5475) /* metro dependency 5475: FastImage */)}
</View>
);
}
}
function _fun90895(a0, a1) { // fn#90895, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12042:662, offset: 0x0204b39e, size: 208 bytes, params: 3, frame: 24
const value = environment.__proto__;
const stylesBinding = styles;
return (
<View style={[stylesBinding.emojiWrapper, {left: 24 * a1}]} key={a0.id}>
{((Component) => <Component style={stylesBinding.emoji} source={{uri: a0.id != null ? (importDefault(1423) /* metro dependency 1423: AvatarUtils */).getEmojiURL({id: a0.id,
animated: a0.animated,
size: EMOJI_URL_BASE_SIZE}) : a0.url}} />)(importDefault(5475) /* metro dependency 5475: FastImage */)}
</View>
);
}
global.__d(_fun90893, 11856, [31, 27, 1881, 33, 4501, 697, 5475, 1423, 4573, 1244,
2]) /* metro module 11856, dependencies: [31, 27, 1881, 33, 4501, 697, 5475, 1423, 4573, 1244, 2] */;