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,62 +1,97 @@
/* Metro module 10959; source: modules/notifications/settings/native/NotificationSettingsMessageUnreadActionSheet.tsx; dependencies: [31, 27, 4865, 33, 4501, 697, 6275, 10956, 4573, 1244, 7988, 7987, 2] */
import Native from '../../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
import NotificationSettingsMockChannels from './NotificationSettingsMockChannels.tsx'; /* Metro dependency 10956 */
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 TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as ReadStateConstantsModule from '../../../read_states/ReadStateConstants.tsx'; /* Metro dependency 4865 */
import * as BottomSheetNativeModule from '../../../../design/components/Sheet/native/BottomSheet.native.tsx'; /* Metro dependency 6275 */
import * as TableRadioRowNativeModule from '../../../../design/components/TableRow/native/TableRadioRow.native.tsx'; /* Metro dependency 7987 */
import * as TableRadioGroupNativeModule from '../../../../design/components/TableRow/native/TableRadioGroup.native.tsx'; /* Metro dependency 7988 */
function _fun83961(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11145:6, offset: 0x01f30df8, size: 326 bytes, params: 8, frame: 22
var object2;
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(4865) /* metro dependency 4865: ReadStateConstants */).UnreadSetting;
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;
object2 = {};
const BACKGROUND_BASE_LOWEST = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWEST;
object2.sheet = {backgroundColor: BACKGROUND_BASE_LOWEST};
object2.header = {'padding': 24, 'paddingTop': 0};
const BACKGROUND_BASE_LOWER = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWER;
object2.content = {backgroundColor: BACKGROUND_BASE_LOWER, padding: 16};
object2.form = {'marginTop': 8, 'marginBottom': 16};
const env0_7 = Reflect.apply(createStyles, value, [object2]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/notifications/settings/native/NotificationSettingsMessageUnreadActionSheet.tsx');
object = {};
const BACKGROUND_BASE_LOWEST = (Native).colors.BACKGROUND_BASE_LOWEST;
object.sheet = {backgroundColor: BACKGROUND_BASE_LOWEST};
object.header = {'padding': 24, 'paddingTop': 0};
const BACKGROUND_BASE_LOWER = (Native).colors.BACKGROUND_BASE_LOWER;
object.content = {backgroundColor: BACKGROUND_BASE_LOWER, padding: 16};
object.form = {'marginTop': 8, 'marginBottom': 16};
const env0_7 = Reflect.apply(createStyles, value, [object]);
(FileImportTrackerModule).fileFinishedImporting('modules/notifications/settings/native/NotificationSettingsMessageUnreadActionSheet.tsx');
exports.default = NotificationSettingsMessageUnreadActionSheet;
}
function NotificationSettingsMessageUnreadActionSheet(a0) { // fn#83962, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11145:531, offset: 0x01f30f3e, size: 642 bytes, params: 2, frame: 32
const styles = useStyles();
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
const view = <View style={styles.header}>{((Component) => <Component unreadSetting={a0.value} />)(importDefault(10956) /* metro dependency 10956: NotificationSettingsMockChannels */)}</View>;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
const Tqd1Af = t.Tqd1Af;
const items2 = [<Text variant="text-sm/semibold">{Reflect.apply(string, intl, [Tqd1Af])}</Text>];
string = intl.string;
const RpQgm5 = (require(1244) /* metro dependency 1244: indexNative */).t.RpQgm5;
items2[1] = <Text variant="text-xs/medium" color="text-muted">{Reflect.apply(string, intl, [RpQgm5])}</Text>;
const TableRadioGroup = (require(7988) /* metro dependency 7988: TableRadioGroupNative */).TableRadioGroup;
const value5 = a0.value;
const onChange = a0.onChange;
const TableRadioRow = (require(7987) /* metro dependency 7987: TableRadioRowNative */).TableRadioRow;
string = intl.string;
const ALL_MESSAGES = UnreadSetting.ALL_MESSAGES;
const tableRadioRow = <TableRadioRow label={Reflect.apply(string, intl, [t['HVah/3']])} value={ALL_MESSAGES} />;
const tableRadioRowProps2 = {subLabel: a0.disabledMentionOnlyWithReason,
disabled: a0.disabledMentionOnlyWithReason != null,
label: intl.string((require(1244) /* metro dependency 1244: indexNative */).t['tu+ZWJ'])};
const ONLY_MENTIONS = UnreadSetting.ONLY_MENTIONS;
tableRadioRowProps2.value = ONLY_MENTIONS;
items2[2] = <View style={styles.form}><TableRadioGroup defaultValue={value5} onChange={onChange} hasIcons={false}>{tableRadioRow}<TableRadioRow {...tableRadioRowProps2} /></TableRadioGroup></View>;
return (
<BottomSheet startExpanded backgroundStyles={styles.sheet}>
{view}
<View style={styles.content}>
{items2}
function NotificationSettingsMessageUnreadActionSheet(a0) { // fn#83962, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11145:531, offset: 0x01f30f3e, size: 642 bytes, params: 2, frame: 32
const styles = useStyles();
const BottomSheet = (BottomSheetNativeModule).BottomSheet;
const view = (
<View style={styles.header}>
{((Component) => <Component unreadSetting={a0.value} />)(NotificationSettingsMockChannels)}
</View>
</BottomSheet>
);
);
const Text = (TextModule).Text;
const intl = (IndexNativeModule).intl;
let string = intl.string;
const t = (IndexNativeModule).t;
const Tqd1Af = t.Tqd1Af;
const items2 = [
<Text variant="text-sm/semibold">
{Reflect.apply(string, intl, [Tqd1Af])}
</Text>,
];
string = intl.string;
const RpQgm5 = (IndexNativeModule).t.RpQgm5;
items2[1] = (
<Text variant="text-xs/medium" color="text-muted">
{Reflect.apply(string, intl, [RpQgm5])}
</Text>
);
const TableRadioGroup = (TableRadioGroupNativeModule).TableRadioGroup;
const value5 = a0.value;
const onChange = a0.onChange;
const TableRadioRow = (TableRadioRowNativeModule).TableRadioRow;
string = intl.string;
const ALL_MESSAGES = UnreadSetting.ALL_MESSAGES;
const tableRadioRow = <TableRadioRow label={Reflect.apply(string, intl, [t['HVah/3']])} value={ALL_MESSAGES} />;
const tableRadioRowProps2 = {subLabel: a0.disabledMentionOnlyWithReason,
disabled: a0.disabledMentionOnlyWithReason != null,
label: intl.string((IndexNativeModule).t['tu+ZWJ'])};
const ONLY_MENTIONS = UnreadSetting.ONLY_MENTIONS;
tableRadioRowProps2.value = ONLY_MENTIONS;
items2[2] = (
<View style={styles.form}>
<TableRadioGroup
defaultValue={value5}
onChange={onChange}
hasIcons={false}
>
{tableRadioRow}
<TableRadioRow {...tableRadioRowProps2} />
</TableRadioGroup>
</View>
);
return (
<BottomSheet startExpanded backgroundStyles={styles.sheet}>
{view}
<View style={styles.content}>
{items2}
</View>
</BottomSheet>
);
}
}
global.__d(_fun83961, 10959, [31, 27, 4865, 33, 4501, 697, 6275, 10956, 4573, 1244, 7988, 7987,
2]) /* metro module 10959, dependencies: [31, 27, 4865, 33, 4501, 697, 6275, 10956, 4573, 1244, 7988, 7987, 2] */;