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,32 +1,38 @@
/* Metro module 9791; source: modules/forwarding/native/ForwardFailedAlertModal.tsx; dependencies: [31, 33, 9591, 9792, 1244, 2] */
import DestinationFailedAlertModal from '../../share/native/DestinationFailedAlertModal.tsx'; /* Metro dependency 9792 */
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 IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as ForwardModalUtilsModule from './ForwardModalUtils.tsx'; /* Metro dependency 9591 */
function _fun76739(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76739, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9977:6, offset: 0x01de324c, size: 142 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forwarding/native/ForwardFailedAlertModal.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/forwarding/native/ForwardFailedAlertModal.tsx');
exports.default = ForwardFailedAlertModal;
function ForwardFailedAlertModal({message, failedDestinations, forwardOptions}) { // fn#76740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9977:217, offset: 0x01de32da, size: 240 bytes, params: 2, frame: 21
const value2 = ReactModule.useCallback(_fun76741, [failedDestinations, message, forwardOptions]);
const intl = (IndexNativeModule).intl;
return (
<DestinationFailedAlertModal
title={intl.string((IndexNativeModule).t['/OPIaM'])}
content={intl.formatToPlainString((IndexNativeModule).t.cn9vFb,
{count: failedDestinations.length})}
failedDestinations={failedDestinations}
onRetry={value2}
/>
);
function _fun76741() { // fn#76741, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9977:322, offset: 0x01de33ca, size: 79 bytes, params: 1, frame: 14
const value = environment.__proto__;
(ForwardModalUtilsModule).openForwardModal({message: message,
source: 'retry-modal', initialSelectedDestinations: failedDestinations, forwardOptions: forwardOptions});
}
}
}
function ForwardFailedAlertModal({message, failedDestinations, forwardOptions}) { // fn#76740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9977:217, offset: 0x01de32da, size: 240 bytes, params: 2, frame: 21
const value2 = env0_3.useCallback(_fun76741, [failedDestinations, message, forwardOptions]);
const DestinationFailedAlertModal = importDefault(9792) /* metro dependency 9792: DestinationFailedAlertModal */;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
return (
<DestinationFailedAlertModal
title={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['/OPIaM'])}
content={intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.cn9vFb,
{count: failedDestinations.length})}
failedDestinations={failedDestinations}
onRetry={value2}
/>
);
}
function _fun76741() { // fn#76741, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9977:322, offset: 0x01de33ca, size: 79 bytes, params: 1, frame: 14
const value = environment.__proto__;
(require(9591) /* metro dependency 9591: ForwardModalUtils */).openForwardModal({message: message,
source: 'retry-modal', initialSelectedDestinations: failedDestinations, forwardOptions: forwardOptions});
}
global.__d(_fun76739, 9791, [31, 33, 9591, 9792, 1244,
2]) /* metro module 9791, dependencies: [31, 33, 9591, 9792, 1244, 2] */;
@@ -1,90 +1,113 @@
/* Metro module 9769; source: modules/forwarding/native/ForwardMessageFooter.tsx; dependencies: [57, 31, 4645, 33, 9592, 7231, 566, 7165, 9770, 1244, 9771, 9772, 4578, 9788, 2] */
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
import DraftStore from '../../../stores/DraftStore.tsx'; /* Metro dependency 4645 */
import DraftActionCreators from '../../../actions/DraftActionCreators.tsx'; /* Metro dependency 7165 */
import ShareFooterLayout from '../../share/native/ShareFooterLayout.tsx'; /* Metro dependency 9771 */
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 ButtonNativeModule from '../../../design/components/Button/native/Button.native.tsx'; /* Metro dependency 4578 */
import * as DraftStoreModule from '../../../stores/DraftStore.tsx'; /* Metro dependency 4645 */
import * as ForwardDestinationUtilsModule from '../ForwardDestinationUtils.tsx'; /* Metro dependency 7231 */
import * as ForwardingAnalyticsUtilsModule from '../ForwardingAnalyticsUtils.tsx'; /* Metro dependency 9592 */
import * as UseShareChatInputActionsModule from '../../share/native/useShareChatInputActions.tsx'; /* Metro dependency 9770 */
import * as ForwardPreviewModule from './ForwardPreview.tsx'; /* Metro dependency 9772 */
function _fun76668(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76668, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:6, offset: 0x01ddf50b, size: 193 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(57) /* metro dependency 57 */;
const env0_4 = importAll(31) /* metro dependency 31 */;
const draftStore = importDefault(4645) /* metro dependency 4645: DraftStore */;
const env0_6 = (require(4645) /* metro dependency 4645: DraftStore */).DraftType;
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forwarding/native/ForwardMessageFooter.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/forwarding/native/ForwardMessageFooter.tsx');
exports.ForwardMessageFooter = ForwardMessageFooter;
}
function ForwardMessageFooter({message, forwardOptions, sendLabel, canSend, selectedDestinations, isSending, onSend}) { // fn#76669, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:268, offset: 0x01ddf5cc, size: 749 bytes, params: 2, frame: 36
var r5;
var intl;
var formatToPlainString;
var xJFpij;
const value3 = (require(9592) /* metro dependency 9592: ForwardingAnalyticsUtils */).useTrackForwardEditContextMessageOnce();
const value4 = (require(7231) /* metro dependency 7231: ForwardDestinationUtils */).useSelectedDestinationChannel(selectedDestinations);
const value5 = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([DraftStore], function() {
return DraftStore.getDraft(message.channel_id, DraftType.ForwardContextMessage);
});
const binding = env0_4;
const [property, property2] = env0_3(binding.useState(value5), 2);
let useCallback = binding.useCallback;
const value8 = Reflect.apply(useCallback, binding, [_fun76671, [message, value3]]);
binding.useEffect(_fun76672, [property, message.channel_id]);
const {textInputRef, isInputFocused, handleSelectionChange, handleMessageFocus, handleMessageBlur,
handlePressEmoji} = (require(9770) /* metro dependency 9770: useShareChatInputActions */).useShareChatInputActions(property2,
value4);
useCallback = binding.useCallback;
object = [property];
object[1] = message.channel_id;
object[2] = onSend;
const value10 = Reflect.apply(useCallback, binding, [_fun76673, object]);
const value11 = (require(7231) /* metro dependency 7231: ForwardDestinationUtils */).useDestinationNamesWithSlowmode(selectedDestinations);
if (value11.length > 0) {
if (property.length > 0) {
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
formatToPlainString = intl.formatToPlainString;
xJFpij = (require(1244) /* metro dependency 1244: indexNative */).t.xJFpij;
object = {};
object.count = value11.length;
object.channelNames = value11.join(', ');
r5 = Reflect.apply(formatToPlainString, intl, [xJFpij, object]);
function ForwardMessageFooter({message, forwardOptions, sendLabel, canSend, selectedDestinations, isSending, onSend}) { // fn#76669, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:268, offset: 0x01ddf5cc, size: 749 bytes, params: 2, frame: 36
var r5;
var intl;
var formatToPlainString;
var xJFpij;
const value3 = (ForwardingAnalyticsUtilsModule).useTrackForwardEditContextMessageOnce();
const value4 = (ForwardDestinationUtilsModule).useSelectedDestinationChannel(selectedDestinations);
const value5 = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([DraftStore], function() {
return DraftStore.getDraft(message.channel_id, DraftType.ForwardContextMessage);
});
const [property, property2] = Module00057(ReactModule.useState(value5), 2);
let useCallback = ReactModule.useCallback;
const value8 = Reflect.apply(useCallback, ReactModule, [_fun76671, [message, value3]]);
ReactModule.useEffect(_fun76672, [property, message.channel_id]);
const {textInputRef, isInputFocused, handleSelectionChange, handleMessageFocus, handleMessageBlur,
handlePressEmoji} = (UseShareChatInputActionsModule).useShareChatInputActions(property2,
value4);
useCallback = ReactModule.useCallback;
object = [property];
object[1] = message.channel_id;
object[2] = onSend;
const value10 = Reflect.apply(useCallback, ReactModule, [_fun76673, object]);
const value11 = (ForwardDestinationUtilsModule).useDestinationNamesWithSlowmode(selectedDestinations);
if (value11.length > 0) {
if (property.length > 0) {
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
formatToPlainString = intl.formatToPlainString;
xJFpij = (require(1244) /* metro dependency 1244: indexNative */).t.xJFpij;
object = {};
object.count = value11.length;
object.channelNames = value11.join(', ');
r5 = Reflect.apply(formatToPlainString, intl, [xJFpij, object]);
} else {
r5 = undefined;
}
} else {
r5 = undefined;
}
} else {
r5 = undefined;
object = {};
const ForwardPreview = (ForwardPreviewModule).ForwardPreview;
object.preview = (
<ForwardPreview
message={message}
channel={value4}
forwardOptions={forwardOptions}
/>
);
const Button = (ButtonNativeModule).Button;
object.sendButton = (
<Button
variant="primary"
size="md"
text={sendLabel}
disabled={!canSend}
onPress={isSending ? undefined : value10}
loading={isSending}
/>
);
object.chatInput = ((Component) => <Component inputRef={textInputRef} text={property} onChange={value8} onSelectionChange={handleSelectionChange} onFocus={handleMessageFocus} onBlur={handleMessageBlur} onPressEmoji={handlePressEmoji} onSend={value10} />)(importDefault(9788) /* metro dependency 9788: ShareChatInput */);
object.warningText = r5;
object.avoidKeyboard = isInputFocused;
return <ShareFooterLayout {...object} />;
function _fun76671(a0) { // fn#76671, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:642, offset: 0x01ddf8e4, size: 43 bytes, params: 2, frame: 13
ReactModule(a0);
const binding = env0_2;
const messageBinding = message;
binding(messageBinding.channel_id, messageBinding.id);
}
function _fun76672() { // fn#76672, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:694, offset: 0x01ddf90f, size: 66 bytes, params: 1, frame: 16
const defaultImport = DraftActionCreators;
const saveDraft = defaultImport.saveDraft;
const channel_id = message.channel_id;
const ForwardContextMessage = DraftType.ForwardContextMessage;
Reflect.apply(saveDraft, defaultImport, [channel_id, Module00057, ForwardContextMessage]);
}
function _fun76673() { // fn#76673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:966, offset: 0x01ddf951, size: 74 bytes, params: 1, frame: 15
const defaultImport = DraftActionCreators;
const clearDraft = defaultImport.clearDraft;
const channel_id = message.channel_id;
const ForwardContextMessage = DraftType.ForwardContextMessage;
Reflect.apply(clearDraft, defaultImport, [channel_id, ForwardContextMessage]);
onSend(Module00057);
}
}
const ShareFooterLayout = importDefault(9771) /* metro dependency 9771: ShareFooterLayout */;
object = {};
const ForwardPreview = (require(9772) /* metro dependency 9772: ForwardPreview */).ForwardPreview;
object.preview = <ForwardPreview message={message} channel={value4} forwardOptions={forwardOptions} />;
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
object.sendButton = <Button variant="primary" size="md" text={sendLabel} disabled={!canSend} onPress={isSending ? undefined : value10} loading={isSending} />;
object.chatInput = ((Component) => <Component inputRef={textInputRef} text={property} onChange={value8} onSelectionChange={handleSelectionChange} onFocus={handleMessageFocus} onBlur={handleMessageBlur} onPressEmoji={handlePressEmoji} onSend={value10} />)(importDefault(9788) /* metro dependency 9788: ShareChatInput */);
object.warningText = r5;
object.avoidKeyboard = isInputFocused;
return <ShareFooterLayout {...object} />;
}
function _fun76671(a0) { // fn#76671, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:642, offset: 0x01ddf8e4, size: 43 bytes, params: 2, frame: 13
env0_4(a0);
const binding = env0_2;
const messageBinding = message;
binding(messageBinding.channel_id, messageBinding.id);
}
function _fun76672() { // fn#76672, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:694, offset: 0x01ddf90f, size: 66 bytes, params: 1, frame: 16
const defaultImport = importDefault(7165) /* metro dependency 7165: DraftActionCreators */;
const saveDraft = defaultImport.saveDraft;
const channel_id = message.channel_id;
const binding = env0_3;
const ForwardContextMessage = DraftType.ForwardContextMessage;
Reflect.apply(saveDraft, defaultImport, [channel_id, binding, ForwardContextMessage]);
}
function _fun76673() { // fn#76673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9955:966, offset: 0x01ddf951, size: 74 bytes, params: 1, frame: 15
const defaultImport = importDefault(7165) /* metro dependency 7165: DraftActionCreators */;
const clearDraft = defaultImport.clearDraft;
const channel_id = message.channel_id;
const ForwardContextMessage = DraftType.ForwardContextMessage;
Reflect.apply(clearDraft, defaultImport, [channel_id, ForwardContextMessage]);
onSend(env0_3);
}
global.__d(_fun76668, 9769, [57, 31, 4645, 33, 9592, 7231, 566, 7165, 9770, 1244, 9771, 9772, 4578, 9788,
2]) /* metro module 9769, dependencies: [57, 31, 4645, 33, 9592, 7231, 566, 7165, 9770, 1244, 9771, 9772, 4578, 9788, 2] */;
File diff suppressed because it is too large. Load diff
@@ -1,39 +1,45 @@
/* Metro module 9591; source: modules/forwarding/native/ForwardModalUtils.tsx; dependencies: [31, 33, 4015, 9592, 7556, 477, 5080, 9593, 1962, 9791, 4497, 2] */
import ModalActionCreators from '../../../actions/ModalActionCreators.tsx'; /* Metro dependency 5080 */
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 UseAlertStoreNativeModule from '../../../design/components/AlertModal/native/useAlertStore.native.tsx'; /* Metro dependency 4497 */
function _fun75150(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#75150, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:6, offset: 0x01da3fdc, size: 182 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forwarding/native/ForwardModalUtils.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/forwarding/native/ForwardModalUtils.tsx');
exports.FORWARD_MODAL_KEY = 'forward-modal';
exports.openForwardModal = openForwardModal;
exports.closeForwardModal = closeForwardModal;
exports.showForwardFailedAlertModal = showForwardFailedAlertModal;
function openForwardModal({message, source, initialSelectedDestinations = [], forwardOptions, customSendHandler}) { // fn#75151, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:261, offset: 0x01da4092, size: 292 bytes, params: 2, frame: 24
require(dependencyMap[2]).dismissKeyboard();
const moduleValue2 = require(dependencyMap[3]);
moduleValue2.trackForwardStart(message.channel_id, message.id, source);
const r1 = require(dependencyMap[4]).getIsWindowLarge() && require(dependencyMap[5]).isIOS();
const defaultImport = importDefault(dependencyMap[6]);
defaultImport.pushLazy(require(dependencyMap[8])(dependencyMap[7], dependencyMap.paths), {message: message,
initialSelectedDestinations: initialSelectedDestinations, forwardOptions: forwardOptions, source: source,
customSendHandler: customSendHandler}, 'forward-modal', r1 ? undefined : {presentation: 'modal'});
}
function closeForwardModal() { // fn#75152, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:685, offset: 0x01da41b6, size: 44 bytes, params: 1, frame: 12
(ModalActionCreators).popWithKey('forward-modal');
}
function showForwardFailedAlertModal({message, failedDestinations, forwardOptions}) { // fn#75153, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:767, offset: 0x01da41e2, size: 115 bytes, params: 2, frame: 18
(UseAlertStoreNativeModule).openAlert('forward-failed-alert-modal',
((Component) => <Component message={message} failedDestinations={failedDestinations} forwardOptions={forwardOptions} />)(ReactModule.lazy(_fun75154)));
function _fun75154() { // fn#75154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:869, offset: 0x01da4255, size: 45 bytes, params: 1, frame: 13
const value = environment.__proto__;
return require(dependencyMap[8])(dependencyMap[9], dependencyMap.paths);
}
}
}
function openForwardModal({message, source, initialSelectedDestinations = [], forwardOptions, customSendHandler}) { // fn#75151, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:261, offset: 0x01da4092, size: 292 bytes, params: 2, frame: 24
require(dependencyMap[2]).dismissKeyboard();
const moduleValue2 = require(dependencyMap[3]);
moduleValue2.trackForwardStart(message.channel_id, message.id, source);
const r1 = require(dependencyMap[4]).getIsWindowLarge() && require(dependencyMap[5]).isIOS();
const defaultImport = importDefault(dependencyMap[6]);
defaultImport.pushLazy(require(dependencyMap[8])(dependencyMap[7], dependencyMap.paths), {message: message,
initialSelectedDestinations: initialSelectedDestinations, forwardOptions: forwardOptions, source: source,
customSendHandler: customSendHandler}, 'forward-modal', r1 ? undefined : {presentation: 'modal'});
}
function closeForwardModal() { // fn#75152, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:685, offset: 0x01da41b6, size: 44 bytes, params: 1, frame: 12
(importDefault(5080) /* metro dependency 5080: ModalActionCreators */).popWithKey('forward-modal');
}
function showForwardFailedAlertModal({message, failedDestinations, forwardOptions}) { // fn#75153, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:767, offset: 0x01da41e2, size: 115 bytes, params: 2, frame: 18
(require(4497) /* metro dependency 4497: useAlertStoreNative */).openAlert('forward-failed-alert-modal',
((Component) => <Component message={message} failedDestinations={failedDestinations} forwardOptions={forwardOptions} />)(env0_3.lazy(_fun75154)));
}
function _fun75154() { // fn#75154, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9777:869, offset: 0x01da4255, size: 45 bytes, params: 1, frame: 13
const value = environment.__proto__;
return require(dependencyMap[8])(dependencyMap[9], dependencyMap.paths);
}
global.__d(_fun75150, 9591, [31, 33, 4015, 9592, 7556, 477, 5080, 9593, 1962, 9791, 4497,
2]) /* metro module 9591, dependencies: [31, 33, 4015, 9592, 7556, 477, 5080, 9593, 1962, 9791, 4497, 2] */;
@@ -1,419 +1,500 @@
/* Metro module 9772; source: modules/forwarding/native/ForwardPreview.tsx; dependencies: [31, 27, 33, 4501, 697, 4048, 8368, 8177, 9773, 9777, 1909, 9778, 22, 9779, 1244, 9781, 9783, 6697, 9786, 5475, 1477, 7599, 4573, 2710, 8382, 2] */
import UseTheme from '../../../hooks/useTheme.tsx'; /* Metro dependency 4048 */
import ChatItem from '../../../components_native/chat/ChatItem.tsx'; /* Metro dependency 9773 */
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 CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as RowGeneratorTypesModule from '../../messages/native/renderer/RowGeneratorTypes.tsx'; /* Metro dependency 8368 */
import * as ForwardPreviewUtilsModule from '../ForwardPreviewUtils.tsx'; /* Metro dependency 9777 */
import * as MosaicMediaTypeModule from '../../messages/MosaicMediaType.tsx'; /* Metro dependency 9779 */
function _fun76686(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76686, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:6, offset: 0x01de019d, size: 557 bytes, params: 8, frame: 23
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(27) /* metro dependency 27 */).View;
let value = require(33) /* metro dependency 33 */;
let value = JsxRuntimeModule;
const env0_5 = value.jsx;
const env0_6 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object2 = {};
object = {};
const PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
object2.forwardPreview = {'flexDirection': 'row', 'gap': null, 'alignItems': 'center', gap: PX_12};
object.forwardPreview = {'flexDirection': 'row', 'gap': null, 'alignItems': 'center', gap: PX_12};
const BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE;
object2.quote = {'width': 4, 'height': '100%', 'backgroundColor': null, 'borderRadius': 2,
object.quote = {'width': 4, 'height': '100%', 'backgroundColor': null, 'borderRadius': 2,
backgroundColor: BORDER_SUBTLE};
object2.contentWrapper = {'flexDirection': 'column', 'flex': 1, 'paddingVertical': 4, 'gap': 6};
const object3 = {'position': 'relative', 'width': 56, 'height': 56, 'borderRadius': null, 'overflow': 'hidden'};
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object2.attachmentPreview = object3;
object.contentWrapper = {'flexDirection': 'column', 'flex': 1, 'paddingVertical': 4, 'gap': 6};
const object4 = {'position': 'relative', 'width': 56, 'height': 56, 'borderRadius': null, 'overflow': 'hidden'};
object4.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object.attachmentPreview = object4;
const BLACK = (importDefault(697) /* metro dependency 697: native */).colors.BLACK;
object2.attachmentPreviewVideo = {backgroundColor: BLACK};
object2.videoThumbnail = {'position': 'absolute', 'top': 0, 'left': 0, 'opacity': 0.6};
object2.playIcon = {'position': 'absolute', 'top': 0, 'left': 0, 'margin': 16, 'zIndex': 100};
object2.attachmentPreviewOverflow = {position: 'relative'};
const object5 = {'position': 'absolute', 'bottom': 0, 'right': 0, 'alignItems': 'center',
object.attachmentPreviewVideo = {backgroundColor: BLACK};
object.videoThumbnail = {'position': 'absolute', 'top': 0, 'left': 0, 'opacity': 0.6};
object.playIcon = {'position': 'absolute', 'top': 0, 'left': 0, 'margin': 16, 'zIndex': 100};
object.attachmentPreviewOverflow = {position: 'relative'};
const object6 = {'position': 'absolute', 'bottom': 0, 'right': 0, 'alignItems': 'center',
'justifyContent': 'center', 'textAlign': 'center', 'width': 24, 'height': 24, 'lineHeight': 24,
'backgroundColor': null, 'borderRadius': null, 'overflow': 'hidden'};
const BACKGROUND_MOD_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_STRONG;
object5.backgroundColor = BACKGROUND_MOD_STRONG;
object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object2.overflowCount = object5;
object2.attachmentRow = {'flexDirection': 'row', 'alignItems': 'center', 'gap': 6};
object2.largeIcon = {'width': 20, 'height': 20};
const env0_7 = Reflect.apply(createStyles, value, [object2]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forwarding/native/ForwardPreview.tsx');
object6.backgroundColor = BACKGROUND_MOD_STRONG;
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object.overflowCount = object6;
object.attachmentRow = {'flexDirection': 'row', 'alignItems': 'center', 'gap': 6};
object.largeIcon = {'width': 20, 'height': 20};
const env0_7 = Reflect.apply(createStyles, value, [object]);
(FileImportTrackerModule).fileFinishedImporting('modules/forwarding/native/ForwardPreview.tsx');
exports.ForwardPreview = ForwardPreview;
}
function MessagePreview_76687({message, contentMessage, attachmentCount}) { // fn#76687, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:1107, offset: 0x01de03ca, size: 329 bytes, params: 2, frame: 21
const value2 = (UseTheme)();
const r11 = attachmentCount > 0 ? (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT : (importDefault(697) /* metro dependency 697: native */).colors.TEXT_SUBTLE;
return ((Component) => <Component pointerEvents="none" horizontalOffset={0} modifyRow={ReactModule.useCallback(_fun76688,
[CreateStylesModule.createNativeStyleProperties({seeMoreLabelColor: r11})(value2).seeMoreLabelColor,
attachmentCount])} message={message.merge({messageSnapshots: [],
content: contentMessage.content})} rowGenerator={ReactModule.useMemo(_fun76689,
[])} />)(ChatItem);
function _fun76688(a0) { // fn#76688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:1337, offset: 0x01de0513, size: 126 bytes, params: 2, frame: 14
const MessageContextType = (RowGeneratorTypesModule).MessageContextType;
const SEARCH = MessageContextType.SEARCH;
a0.contextType = SEARCH;
a0.truncation = {'numberOfLines': null, 'expandable': false, 'seeMoreLabel': '...',
numberOfLines: attachmentCount > 0 ? 1 : 2, seeMoreLabelColor: env0_1.seeMoreLabelColor};
a0.message.edited = '';
}
function MessagePreview_76687({message, contentMessage, attachmentCount}) { // fn#76687, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:1107, offset: 0x01de03ca, size: 329 bytes, params: 2, frame: 21
const value2 = (importDefault(4048) /* metro dependency 4048: useTheme */)();
const r11 = attachmentCount > 0 ? (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT : (importDefault(697) /* metro dependency 697: native */).colors.TEXT_SUBTLE;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
return ((Component) => <Component pointerEvents="none" horizontalOffset={0} modifyRow={env0_3.useCallback(_fun76688,
[createStylesModule.createNativeStyleProperties({seeMoreLabelColor: r11})(value2).seeMoreLabelColor,
attachmentCount])} message={message.merge({messageSnapshots: [],
content: contentMessage.content})} rowGenerator={env0_3.useMemo(_fun76689,
[])} />)(importDefault(9773) /* metro dependency 9773: ChatItem */);
}
function _fun76689() { // fn#76689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:1557, offset: 0x01de0591, size: 72 bytes, params: 1, frame: 11
let value = environment.__proto__;
value = importDefault(8177) /* metro dependency 8177: RowGenerator */;
value = new value();
value.setOptions({'renderEmbeds': false, 'renderReactions': false, 'inlineEmbedMedia': false,
'inlineAttachmentMedia': false, 'animateEmoji': true, 'gifAutoPlay': false, 'timestampHourCycle': 0,
'renderCodedLinks': false, 'renderGiftCode': false, 'renderActivityInstanceEmbed': false,
'renderActivityInviteEmbed': false, 'renderComponents': false, 'renderThreadEmbeds': false,
'renderReplies': false, 'renderCommunicationDisabled': false, 'renderAttachments': false,
'renderExecutedCommands': false, 'renderPolls': false, 'renderSharedClientTheme': false,
'renderForumPostActions': false, 'ignoreMentioned': false, 'ignoreEmbedDescriptionCache': false,
'forceHideSimpleEmbedContent': false, 'enableSwipeActions': false, 'useAlternateEmbedColors': false});
return value;
}
function ForwardPreview({message, channel, forwardOptions}) { // fn#76690, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:2417, offset: 0x01de05d9, size: 2190 bytes, params: 2, frame: 40
var r1;
var r24;
var r2;
var r18;
var r21;
var r23;
var r5;
var r22;
var r19;
var r8;
var property;
var value6;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var value7;
var value8;
var value9;
var value10;
var defaultImport;
var defaultImport2;
var defaultImport3;
var defaultImport4;
var defaultImport5;
var defaultImport6;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
var value23;
var object2;
var items7;
var FastImage;
var value;
const styles = useStyles();
const forwardPreviewUtilsModule = require(9777) /* metro dependency 9777: ForwardPreviewUtils */;
const useForwardPreviewContent = forwardPreviewUtilsModule.useForwardPreviewContent;
let object3 = {message: message, channel: channel, forwardOptions: forwardOptions};
const {attachments, embeds, hasContent, contentMessage} = Reflect.apply(useForwardPreviewContent,
forwardPreviewUtilsModule, [object3]);
let length = contentMessage.components.length;
const checkpointData = length > 0 ? contentMessage.components[0].type !== (require(1909) /* metro dependency 1909: Server */).ComponentType.CHECKPOINT_CARD ? null : contentMessage.components[0].checkpointData : null;
let r0 = checkpointData != null ? (require(9778) /* metro dependency 9778: CheckpointColorsNative */).CHECKPOINT_PERSONA_COLORS[checkpointData.cardId ?? 0] : null;
const primaryColor = r0?.primaryColor;
length = attachments.length;
if (length > 0) {
value6 = (require(22) /* metro dependency 22 */).countBy(attachments, _fun76691);
r24 = value6.IMAGE ?? 0;
r0 = value6.VIDEO ?? 0;
if (r24 > 0) {
if (r0 > 0) {
value10 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.Lr0Top,
{image_count: r24, video_count: r0});
r1 = (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value10;
} else if (r0 > 0) {
value9 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.SJ6pPX,
{count: r0});
r1 = (require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon;
r2 = value9;
} else if (r24 > 0) {
value8 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.h4pFfU,
{count: r24});
r1 = r24 === 1 ? (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon : (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value8;
} else {
value7 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['89ihS8'],
{count: length});
r1 = (require(9786) /* metro dependency 9786: AttachmentIcon */).AttachmentIcon;
r2 = value7;
}
} else if (r0 > 0) {
value9 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.SJ6pPX,
{count: r0});
r1 = (require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon;
r2 = value9;
} else if (r24 > 0) {
value8 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.h4pFfU,
{count: r24});
r1 = r24 === 1 ? (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon : (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value8;
} else {
value7 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['89ihS8'],
{count: length});
r1 = (require(9786) /* metro dependency 9786: AttachmentIcon */).AttachmentIcon;
r2 = value7;
}
if (r0 > 0) {
if (length === r0) {
var viewProps = {style: [styles.attachmentPreview, styles.attachmentPreviewVideo]};
defaultImport5 = importDefault(5475) /* metro dependency 5475: FastImage */;
var defaultImport5Props = {style: styles.videoThumbnail};
defaultImport6 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
defaultImport5Props.source = {uri: defaultImport6.getMobileOptimizedSrc(attachments[0].proxy_url, 56,
56,
'png')};
defaultImport5Props.width = 56;
defaultImport5Props.height = 56;
r18 = <View {...viewProps}>{((Component) => <Component {...defaultImport5Props} />)(defaultImport5)}{((CirclePlayIcon) => <CirclePlayIcon style={styles.playIcon} size="md" color="white" />)((require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon)}</View>;
r21 = r1;
r23 = r2;
} else if (length > 0) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport3 = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport4 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = <View {...viewBindingProps}>{((Component) => <Component source={{uri: defaultImport4.getMobileOptimizedSrc(attachments[0].proxy_url,
56, 56)}} width={56} height={56} />)(defaultImport3)}</View>;
r21 = r1;
r23 = r2;
} else {
property = embeds[0];
if ((property == null || property.thumbnail == null ? undefined : property.thumbnail.proxyURL) != null) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport2 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = <View {...viewBindingProps}>{((Component) => <Component source={{uri: defaultImport2.getMobileOptimizedSrc(embeds[0].thumbnail.proxyURL,
56, 56)}} width={56} height={56} />)(defaultImport)}</View>;
r21 = r1;
r23 = r2;
} else {
r18 = null;
r21 = r1;
r23 = r2;
}
}
} else if (length > 0) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport3 = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport4 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = <View {...viewBindingProps}>{((Component) => <Component source={{uri: defaultImport4.getMobileOptimizedSrc(attachments[0].proxy_url,
56, 56)}} width={56} height={56} />)(defaultImport3)}</View>;
r21 = r1;
r23 = r2;
} else {
property = embeds[0];
if ((property == null || property.thumbnail == null ? undefined : property.thumbnail.proxyURL) != null) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport2 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = <View {...viewBindingProps}>{((Component) => <Component source={{uri: defaultImport2.getMobileOptimizedSrc(embeds[0].thumbnail.proxyURL,
56, 56)}} width={56} height={56} />)(defaultImport)}</View>;
r21 = r1;
r23 = r2;
} else {
r18 = null;
r21 = r1;
r23 = r2;
}
}
} else if (embeds.length > 0) {
value6 = (require(22) /* metro dependency 22 */).countBy(attachments, _fun76691);
r24 = value6.IMAGE ?? 0;
r0 = value6.VIDEO ?? 0;
if (r24 > 0) {
if (r0 > 0) {
value10 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.Lr0Top,
{image_count: r24, video_count: r0});
r1 = (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value10;
} else if (r0 > 0) {
value9 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.SJ6pPX,
{count: r0});
r1 = (require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon;
r2 = value9;
} else if (r24 > 0) {
value8 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.h4pFfU,
{count: r24});
r1 = r24 === 1 ? (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon : (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value8;
} else {
value7 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['89ihS8'],
{count: length});
r1 = (require(9786) /* metro dependency 9786: AttachmentIcon */).AttachmentIcon;
r2 = value7;
}
} else if (r0 > 0) {
value9 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.SJ6pPX,
{count: r0});
r1 = (require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon;
r2 = value9;
} else if (r24 > 0) {
value8 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.h4pFfU,
{count: r24});
r1 = r24 === 1 ? (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon : (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value8;
} else {
value7 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['89ihS8'],
{count: length});
r1 = (require(9786) /* metro dependency 9786: AttachmentIcon */).AttachmentIcon;
r2 = value7;
}
if (r0 > 0) {
if (length === r0) {
var viewProps = {style: [styles.attachmentPreview, styles.attachmentPreviewVideo]};
defaultImport5 = importDefault(5475) /* metro dependency 5475: FastImage */;
var defaultImport5Props = {style: styles.videoThumbnail};
defaultImport6 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
defaultImport5Props.source = {uri: defaultImport6.getMobileOptimizedSrc(attachments[0].proxy_url, 56,
56,
'png')};
defaultImport5Props.width = 56;
defaultImport5Props.height = 56;
r18 = <View {...viewProps}>{((Component) => <Component {...defaultImport5Props} />)(defaultImport5)}{((CirclePlayIcon) => <CirclePlayIcon style={styles.playIcon} size="md" color="white" />)((require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon)}</View>;
r21 = r1;
r23 = r2;
} else if (length > 0) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport3 = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport4 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = <View {...viewBindingProps}>{((Component) => <Component source={{uri: defaultImport4.getMobileOptimizedSrc(attachments[0].proxy_url,
56, 56)}} width={56} height={56} />)(defaultImport3)}</View>;
r21 = r1;
r23 = r2;
} else {
property = embeds[0];
if ((property == null || property.thumbnail == null ? undefined : property.thumbnail.proxyURL) != null) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport2 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = <View {...viewBindingProps}>{((Component) => <Component source={{uri: defaultImport2.getMobileOptimizedSrc(embeds[0].thumbnail.proxyURL,
56, 56)}} width={56} height={56} />)(defaultImport)}</View>;
r21 = r1;
r23 = r2;
} else {
r18 = null;
r21 = r1;
r23 = r2;
}
}
} else if (length > 0) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport3 = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport4 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = <View {...viewBindingProps}>{((Component) => <Component source={{uri: defaultImport4.getMobileOptimizedSrc(attachments[0].proxy_url,
56, 56)}} width={56} height={56} />)(defaultImport3)}</View>;
r21 = r1;
r23 = r2;
} else {
property = embeds[0];
if ((property == null || property.thumbnail == null ? undefined : property.thumbnail.proxyURL) != null) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport2 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = <View {...viewBindingProps}>{((Component) => <Component source={{uri: defaultImport2.getMobileOptimizedSrc(embeds[0].thumbnail.proxyURL,
56, 56)}} width={56} height={56} />)(defaultImport)}</View>;
r21 = r1;
r23 = r2;
} else {
r18 = null;
r21 = r1;
r23 = r2;
}
}
} else {
r18 = null;
r21 = null;
r23 = null;
}
if (length > 1) {
if (r18 == null) {
function ForwardPreview({message, channel, forwardOptions}) { // fn#76690, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:2417, offset: 0x01de05d9, size: 2190 bytes, params: 2, frame: 40
var r1;
var r24;
var r2;
var r18;
var r21;
var r23;
var r5;
var r22;
var r19;
var r8;
var property;
var value6;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var value7;
var value8;
var value9;
var value10;
var defaultImport;
var defaultImport2;
var defaultImport3;
var defaultImport4;
var defaultImport5;
var defaultImport6;
const Text = (TextModule).Text;
var value23;
var object;
var items7;
var FastImage;
var value;
const styles = useStyles();
const useForwardPreviewContent = ForwardPreviewUtilsModule.useForwardPreviewContent;
let object4 = {message: message, channel: channel, forwardOptions: forwardOptions};
const {attachments, embeds, hasContent, contentMessage} = Reflect.apply(useForwardPreviewContent,
ForwardPreviewUtilsModule, [object4]);
let length = contentMessage.components.length;
const checkpointData = length > 0 ? contentMessage.components[0].type !== (require(1909) /* metro dependency 1909: Server */).ComponentType.CHECKPOINT_CARD ? null : contentMessage.components[0].checkpointData : null;
let r0 = checkpointData != null ? (require(9778) /* metro dependency 9778: CheckpointColorsNative */).CHECKPOINT_PERSONA_COLORS[checkpointData.cardId ?? 0] : null;
const primaryColor = r0?.primaryColor;
length = attachments.length;
if (length > 0) {
value6 = (require(22) /* metro dependency 22 */).countBy(attachments, _fun76691);
r24 = value6.IMAGE ?? 0;
r0 = value6.VIDEO ?? 0;
if (r24 > 0) {
if (r0 > 0) {
value10 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.Lr0Top,
{image_count: r24, video_count: r0});
r1 = (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value10;
} else if (r0 > 0) {
value9 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.SJ6pPX,
{count: r0});
r1 = (require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon;
r2 = value9;
} else if (r24 > 0) {
value8 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.h4pFfU,
{count: r24});
r1 = r24 === 1 ? (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon : (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value8;
} else {
value7 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['89ihS8'],
{count: length});
r1 = (require(9786) /* metro dependency 9786: AttachmentIcon */).AttachmentIcon;
r2 = value7;
}
} else if (r0 > 0) {
value9 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.SJ6pPX,
{count: r0});
r1 = (require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon;
r2 = value9;
} else if (r24 > 0) {
value8 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.h4pFfU,
{count: r24});
r1 = r24 === 1 ? (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon : (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value8;
} else {
value7 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['89ihS8'],
{count: length});
r1 = (require(9786) /* metro dependency 9786: AttachmentIcon */).AttachmentIcon;
r2 = value7;
}
if (r0 > 0) {
if (length === r0) {
var viewProps = {style: [styles.attachmentPreview, styles.attachmentPreviewVideo]};
defaultImport5 = importDefault(5475) /* metro dependency 5475: FastImage */;
var defaultImport5Props = {style: styles.videoThumbnail};
defaultImport6 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
defaultImport5Props.source = {uri: defaultImport6.getMobileOptimizedSrc(attachments[0].proxy_url, 56,
56,
'png')};
defaultImport5Props.width = 56;
defaultImport5Props.height = 56;
r18 = (
<View {...viewProps}>
{((Component) => <Component {...defaultImport5Props} />)(defaultImport5)}
{((CirclePlayIcon) => <CirclePlayIcon style={styles.playIcon} size="md" color="white" />)((require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon)}
</View>
);
r21 = r1;
r23 = r2;
} else if (length > 0) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport3 = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport4 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = (
<View {...viewBindingProps}>
{((Component) => <Component source={{uri: defaultImport4.getMobileOptimizedSrc(attachments[0].proxy_url,
56,
56)}} width={56} height={56} />)(defaultImport3)}
</View>
);
r21 = r1;
r23 = r2;
} else {
property = embeds[0];
if ((property == null || property.thumbnail == null ? undefined : property.thumbnail.proxyURL) != null) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport2 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = (
<View {...viewBindingProps}>
{((Component) => <Component source={{uri: defaultImport2.getMobileOptimizedSrc(embeds[0].thumbnail.proxyURL,
56, 56)}} width={56} height={56} />)(defaultImport)}
</View>
);
r21 = r1;
r23 = r2;
} else {
r18 = null;
r21 = r1;
r23 = r2;
}
}
} else if (length > 0) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport3 = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport4 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = (
<View {...viewBindingProps}>
{((Component) => <Component source={{uri: defaultImport4.getMobileOptimizedSrc(attachments[0].proxy_url,
56,
56)}} width={56} height={56} />)(defaultImport3)}
</View>
);
r21 = r1;
r23 = r2;
} else {
property = embeds[0];
if ((property == null || property.thumbnail == null ? undefined : property.thumbnail.proxyURL) != null) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport2 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = (
<View {...viewBindingProps}>
{((Component) => <Component source={{uri: defaultImport2.getMobileOptimizedSrc(embeds[0].thumbnail.proxyURL,
56, 56)}} width={56} height={56} />)(defaultImport)}
</View>
);
r21 = r1;
r23 = r2;
} else {
r18 = null;
r21 = r1;
r23 = r2;
}
}
} else if (embeds.length > 0) {
value6 = (require(22) /* metro dependency 22 */).countBy(attachments, _fun76691);
r24 = value6.IMAGE ?? 0;
r0 = value6.VIDEO ?? 0;
if (r24 > 0) {
if (r0 > 0) {
value10 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.Lr0Top,
{image_count: r24, video_count: r0});
r1 = (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value10;
} else if (r0 > 0) {
value9 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.SJ6pPX,
{count: r0});
r1 = (require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon;
r2 = value9;
} else if (r24 > 0) {
value8 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.h4pFfU,
{count: r24});
r1 = r24 === 1 ? (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon : (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value8;
} else {
value7 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['89ihS8'],
{count: length});
r1 = (require(9786) /* metro dependency 9786: AttachmentIcon */).AttachmentIcon;
r2 = value7;
}
} else if (r0 > 0) {
value9 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.SJ6pPX,
{count: r0});
r1 = (require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon;
r2 = value9;
} else if (r24 > 0) {
value8 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t.h4pFfU,
{count: r24});
r1 = r24 === 1 ? (require(6697) /* metro dependency 6697: ImageIcon */).ImageIcon : (require(9781) /* metro dependency 9781: ImagesIcon */).ImagesIcon;
r2 = value8;
} else {
value7 = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['89ihS8'],
{count: length});
r1 = (require(9786) /* metro dependency 9786: AttachmentIcon */).AttachmentIcon;
r2 = value7;
}
if (r0 > 0) {
if (length === r0) {
var viewProps = {style: [styles.attachmentPreview, styles.attachmentPreviewVideo]};
defaultImport5 = importDefault(5475) /* metro dependency 5475: FastImage */;
var defaultImport5Props = {style: styles.videoThumbnail};
defaultImport6 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
defaultImport5Props.source = {uri: defaultImport6.getMobileOptimizedSrc(attachments[0].proxy_url, 56,
56,
'png')};
defaultImport5Props.width = 56;
defaultImport5Props.height = 56;
r18 = (
<View {...viewProps}>
{((Component) => <Component {...defaultImport5Props} />)(defaultImport5)}
{((CirclePlayIcon) => <CirclePlayIcon style={styles.playIcon} size="md" color="white" />)((require(9783) /* metro dependency 9783: CirclePlayIcon */).CirclePlayIcon)}
</View>
);
r21 = r1;
r23 = r2;
} else if (length > 0) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport3 = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport4 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = (
<View {...viewBindingProps}>
{((Component) => <Component source={{uri: defaultImport4.getMobileOptimizedSrc(attachments[0].proxy_url,
56,
56)}} width={56} height={56} />)(defaultImport3)}
</View>
);
r21 = r1;
r23 = r2;
} else {
property = embeds[0];
if ((property == null || property.thumbnail == null ? undefined : property.thumbnail.proxyURL) != null) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport2 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = (
<View {...viewBindingProps}>
{((Component) => <Component source={{uri: defaultImport2.getMobileOptimizedSrc(embeds[0].thumbnail.proxyURL,
56, 56)}} width={56} height={56} />)(defaultImport)}
</View>
);
r21 = r1;
r23 = r2;
} else {
r18 = null;
r21 = r1;
r23 = r2;
}
}
} else if (length > 0) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport3 = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport4 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = (
<View {...viewBindingProps}>
{((Component) => <Component source={{uri: defaultImport4.getMobileOptimizedSrc(attachments[0].proxy_url,
56,
56)}} width={56} height={56} />)(defaultImport3)}
</View>
);
r21 = r1;
r23 = r2;
} else {
property = embeds[0];
if ((property == null || property.thumbnail == null ? undefined : property.thumbnail.proxyURL) != null) {
var viewBindingProps = {style: styles.attachmentPreview};
defaultImport = importDefault(5475) /* metro dependency 5475: FastImage */;
defaultImport2 = importDefault(1477) /* metro dependency 1477: ImageUtils */;
r18 = (
<View {...viewBindingProps}>
{((Component) => <Component source={{uri: defaultImport2.getMobileOptimizedSrc(embeds[0].thumbnail.proxyURL,
56, 56)}} width={56} height={56} />)(defaultImport)}
</View>
);
r21 = r1;
r23 = r2;
} else {
r18 = null;
r21 = r1;
r23 = r2;
}
}
} else {
r18 = null;
r21 = null;
r23 = null;
}
if (length > 1) {
if (r18 == null) {
r5 = r18;
} else {
object4 = {'shape': null, 'x': 28, 'y': 28, 'width': 32, 'height': 32, 'cornerRadius': 12};
object4.shape = (require(7599) /* metro dependency 7599: ClipView */).CutoutShape.RoundedRect;
r5 = (
<View style={styles.attachmentPreviewOverflow}>
{((Component) => <Component cutouts={[object4]}>{r18}</Component>)(importDefault(7599) /* metro dependency 7599: ClipView */)}
<Text
style={styles.overflowCount}
variant="text-xs/semibold"
color="text-default"
>
{'+'}
{length - 1}
</Text>
</View>
);
}
} else {
r5 = r18;
} else {
object3 = {'shape': null, 'x': 28, 'y': 28, 'width': 32, 'height': 32, 'cornerRadius': 12};
object3.shape = (require(7599) /* metro dependency 7599: ClipView */).CutoutShape.RoundedRect;
r5 = <View style={styles.attachmentPreviewOverflow}>{((Component) => <Component cutouts={[object3]}>{r18}</Component>)(importDefault(7599) /* metro dependency 7599: ClipView */)}<Text style={styles.overflowCount} variant="text-xs/semibold" color="text-default">{'+'}{length - 1}</Text></View>;
}
} else {
r5 = r18;
}
const items5 = [<View style={styles.quote} />];
const items6 = [checkpointData != null && <Text variant="text-md/medium">{intl.string((importDefault(2710) /* metro dependency 2710: CheckpointMessages */).goiR2u)}</Text>];
items6[1] = hasContent && <MessagePreview_76687 message={message} contentMessage={contentMessage} attachmentCount={length} />;
const value22 = length > 0;
if (value22) {
var viewBinding2Props = {style: styles.attachmentRow};
value23 = r21 != null;
if (value23) {
object2 = {};
r22 = hasContent ? 'sm' : 'custom';
object2.size = r22;
r22 = !hasContent && styles.largeIcon;
object2.style = r22;
object2.color = 'text-muted';
r19 = ((Component) => <Component {...object2} />)(r21);
const items5 = [
<View style={styles.quote} />,
];
const items6 = [
checkpointData != null && <Text variant="text-md/medium">{intl.string((importDefault(2710) /* metro dependency 2710: CheckpointMessages */).goiR2u)}</Text>,
];
items6[1] = hasContent && <MessagePreview_76687 message={message} contentMessage={contentMessage} attachmentCount={length} />;
const value22 = length > 0;
if (value22) {
var viewBinding2Props = {style: styles.attachmentRow};
value23 = r21 != null;
if (value23) {
object = {};
r22 = hasContent ? 'sm' : 'custom';
object.size = r22;
r22 = !hasContent && styles.largeIcon;
object.style = r22;
object.color = 'text-muted';
r19 = ((Component) => <Component {...object} />)(r21);
} else {
r19 = value23;
}
items7 = [r19];
r19 = r23 != null && <Text variant={hasContent ? 'text-sm/medium' : 'text-md/medium'} color="text-muted">{r23}</Text>;
items7[1] = r19;
r8 = (
<View {...viewBinding2Props}>
{items7}
</View>
);
} else {
r19 = value23;
r8 = value22;
}
items7 = [r19];
r19 = r23 != null && <Text variant={hasContent ? 'text-sm/medium' : 'text-md/medium'} color="text-muted">{r23}</Text>;
items7[1] = r19;
r8 = <View {...viewBinding2Props}>{items7}</View>;
} else {
r8 = value22;
items6[2] = r8;
items5[1] = (
<View style={styles.contentWrapper}>
{items6}
</View>
);
items5[2] = r5;
const value33 = checkpointData != null;
if (value33) {
var viewBinding3Props = {style: styles.attachmentPreview};
FastImage = importDefault(5475) /* metro dependency 5475: FastImage */;
var defaultImport8Props = {'style': null, 'width': 56, 'height': 56, style: {backgroundColor: primaryColor}};
value = require(8382) /* metro dependency 8382: CheckpointUtils */;
defaultImport8Props.source = {uri: value.getCardAssetUrl(checkpointData.cardId ?? 0)};
value = (
<View {...viewBinding3Props}>
<FastImage {...defaultImport8Props} />
</View>
);
r5 = value;
} else {
r5 = value33;
}
items5[3] = r5;
return (
<View style={styles.forwardPreview}>
{items5}
</View>
);
function _fun76691(a0) { // fn#76691, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:2944, offset: 0x01de0e67, size: 44 bytes, params: 2, frame: 13
const value = environment.__proto__;
return (MosaicMediaTypeModule).getMosaicMediaTypeForAttachment(a0, true);
}
}
items6[2] = r8;
items5[1] = <View style={styles.contentWrapper}>{items6}</View>;
items5[2] = r5;
const value33 = checkpointData != null;
if (value33) {
var viewBinding3Props = {style: styles.attachmentPreview};
FastImage = importDefault(5475) /* metro dependency 5475: FastImage */;
var defaultImport8Props = {'style': null, 'width': 56, 'height': 56, style: {backgroundColor: primaryColor}};
value = require(8382) /* metro dependency 8382: CheckpointUtils */;
defaultImport8Props.source = {uri: value.getCardAssetUrl(checkpointData.cardId ?? 0)};
value = <View {...viewBinding3Props}><FastImage {...defaultImport8Props} /></View>;
r5 = value;
} else {
r5 = value33;
}
items5[3] = r5;
return (
<View style={styles.forwardPreview}>
{items5}
</View>
);
}
function _fun76688(a0) { // fn#76688, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:1337, offset: 0x01de0513, size: 126 bytes, params: 2, frame: 14
const MessageContextType = (require(8368) /* metro dependency 8368: RowGeneratorTypes */).MessageContextType;
const SEARCH = MessageContextType.SEARCH;
a0.contextType = SEARCH;
a0.truncation = {'numberOfLines': null, 'expandable': false, 'seeMoreLabel': '...',
numberOfLines: attachmentCount > 0 ? 1 : 2, seeMoreLabelColor: env0_1.seeMoreLabelColor};
a0.message.edited = '';
}
function _fun76689() { // fn#76689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:1557, offset: 0x01de0591, size: 72 bytes, params: 1, frame: 11
let value = environment.__proto__;
value = importDefault(8177) /* metro dependency 8177: RowGenerator */;
value = new value();
value.setOptions({'renderEmbeds': false, 'renderReactions': false, 'inlineEmbedMedia': false,
'inlineAttachmentMedia': false, 'animateEmoji': true, 'gifAutoPlay': false, 'timestampHourCycle': 0,
'renderCodedLinks': false, 'renderGiftCode': false, 'renderActivityInstanceEmbed': false,
'renderActivityInviteEmbed': false, 'renderComponents': false, 'renderThreadEmbeds': false,
'renderReplies': false, 'renderCommunicationDisabled': false, 'renderAttachments': false,
'renderExecutedCommands': false, 'renderPolls': false, 'renderSharedClientTheme': false,
'renderForumPostActions': false, 'ignoreMentioned': false, 'ignoreEmbedDescriptionCache': false,
'forceHideSimpleEmbedContent': false, 'enableSwipeActions': false, 'useAlternateEmbedColors': false});
return value;
}
function _fun76691(a0) { // fn#76691, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9958:2944, offset: 0x01de0e67, size: 44 bytes, params: 2, frame: 13
const value = environment.__proto__;
return (require(9779) /* metro dependency 9779: MosaicMediaType */).getMosaicMediaTypeForAttachment(a0, true);
}
global.__d(_fun76686, 9772, [31, 27, 33, 4501, 697, 4048, 8368, 8177, 9773, 9777, 1909, 9778, 22, 9779, 1244, 9781,
9783, 6697, 9786, 5475, 1477, 7599, 4573, 2710, 8382,
2]) /* metro module 9772, dependencies: [31, 27, 33, 4501, 697, 4048, 8368, 8177, 9773, 9777, 1909, 9778, 22, 9779, 1244, 9781, 9783, 6697, 9786, 5475, 1477, 7599, 4573, 2710, 8382, 2] */;
@@ -1,32 +1,46 @@
/* Metro module 9596; source: modules/forwarding/native/ForwardStaffToNonStaffWarningModal.tsx; dependencies: [33, 4500, 1244, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as AlertModalNativeModule from '../../../design/components/AlertModal/native/AlertModal.native.tsx'; /* Metro dependency 4500 */
function _fun75200(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#75200, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9782:6, offset: 0x01da5c61, size: 135 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const value = require(33) /* metro dependency 33 */;
const env0_2 = value.jsx;
const env0_3 = value.Fragment;
const env0_4 = value.jsxs;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forwarding/native/ForwardStaffToNonStaffWarningModal.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/forwarding/native/ForwardStaffToNonStaffWarningModal.tsx');
exports.default = ForwardStaffToNonStaffWarningModal;
function ForwardStaffToNonStaffWarningModal({onConfirm, onBack}) { // fn#75201, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9782:244, offset: 0x01da5ce8, size: 370 bytes, params: 2, frame: 28
const AlertModal = (AlertModalNativeModule).AlertModal;
const object = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const YrV3I9 = (require(1244) /* metro dependency 1244: indexNative */).t.YrV3I9;
object.title = Reflect.apply(string, intl, [YrV3I9]);
string = intl.string;
const MXSMtl = (require(1244) /* metro dependency 1244: indexNative */).t.MXSMtl;
object.content = Reflect.apply(string, intl, [MXSMtl]);
const jsxRuntimeEnv0_3Binding = jsxRuntimeEnv0_3;
const AlertActionButton = (AlertModalNativeModule).AlertActionButton;
string = intl.string;
const X7eUJq = (require(1244) /* metro dependency 1244: indexNative */).t.X7eUJq;
object.actions = (
<>
<AlertActionButton
text={Reflect.apply(string, intl, [X7eUJq])}
onPress={onConfirm}
key="confirm"
/>
<AlertActionButton
variant="secondary"
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['13/7kX'])}
onPress={onBack}
key="back"
/>
</>
);
return <AlertModal {...object} />;
}
}
function ForwardStaffToNonStaffWarningModal({onConfirm, onBack}) { // fn#75201, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9782:244, offset: 0x01da5ce8, size: 370 bytes, params: 2, frame: 28
const AlertModal = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertModal;
const object2 = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const YrV3I9 = (require(1244) /* metro dependency 1244: indexNative */).t.YrV3I9;
object2.title = Reflect.apply(string, intl, [YrV3I9]);
string = intl.string;
const MXSMtl = (require(1244) /* metro dependency 1244: indexNative */).t.MXSMtl;
object2.content = Reflect.apply(string, intl, [MXSMtl]);
const jsxRuntimeEnv0_3Binding = jsxRuntimeEnv0_3;
const AlertActionButton = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertActionButton;
string = intl.string;
const X7eUJq = (require(1244) /* metro dependency 1244: indexNative */).t.X7eUJq;
object2.actions = <><AlertActionButton text={Reflect.apply(string, intl,
[X7eUJq])} onPress={onConfirm} key="confirm" /><AlertActionButton variant="secondary" text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['13/7kX'])} onPress={onBack} key="back" /></>;
return <AlertModal {...object2} />;
}
global.__d(_fun75200, 9596, [33, 4500, 1244, 2]) /* metro module 9596, dependencies: [33, 4500, 1244, 2] */;
@@ -1,15 +1,19 @@
/* Metro module 9600; source: modules/forwarding/native/ForwardingIcon.tsx; dependencies: [33, 9601, 2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as ArrowAngleRightUpIconModule from '../../../design/components/Icon/native/redesign/generated/ArrowAngleRightUpIcon.tsx'; /* Metro dependency 9601 */
function _fun75253(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#75253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9786:6, offset: 0x01da78b3, size: 116 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forwarding/native/ForwardingIcon.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/forwarding/native/ForwardingIcon.tsx');
exports.default = ForwardingIcon;
function ForwardingIcon(a0) { // fn#75254, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9786:198, offset: 0x01da7927, size: 55 bytes, params: 2, frame: 14
const ArrowAngleRightUpIcon = (ArrowAngleRightUpIconModule).ArrowAngleRightUpIcon;
return <ArrowAngleRightUpIcon {...a0} />;
}
}
function ForwardingIcon(a0) { // fn#75254, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9786:198, offset: 0x01da7927, size: 55 bytes, params: 2, frame: 14
const ArrowAngleRightUpIcon = (require(9601) /* metro dependency 9601: ArrowAngleRightUpIcon */).ArrowAngleRightUpIcon;
return <ArrowAngleRightUpIcon {...a0} />;
}
global.__d(_fun75253, 9600, [33, 9601, 2]) /* metro module 9600, dependencies: [33, 9601, 2] */;