Files
discord-decomp/sources/modules/parent_tools/native/FamilyCenterParentalControlsContentAndSocial.tsx
T
2026-07-28 01:06:53 +03:00

59 lines
4.4 KiB
TypeScript

/* Metro module 13443; source: modules/parent_tools/native/FamilyCenterParentalControlsContentAndSocial.tsx; dependencies: [31, 27, 661, 8224, 33, 9692, 1244, 1948, 13170, 2] */
import HelpdeskUtils from '../../../utils/HelpdeskUtils.tsx'; /* Metro dependency 1948 */
import SettingLayout from '../../settings/native/renderer/SettingLayout.tsx'; /* Metro dependency 13170 */
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 ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as SettingsConstantsModule from '../../user_settings/core/native/SettingsConstants.tsx'; /* Metro dependency 8224 */
import * as SettingBuildersModule from '../../settings/native/renderer/SettingBuilders.tsx'; /* Metro dependency 9692 */
function _fun102232(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13633:6, offset: 0x022335ba, size: 203 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
ReactModule;
(FileImportTrackerModule).fileFinishedImporting('modules/parent_tools/native/FamilyCenterParentalControlsContentAndSocial.tsx');
exports.default = FamilyCenterParentalControlsContentAndSocial;
function FamilyCenterParentalControlsContentAndSocial() { // fn#102233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13633:304, offset: 0x02233685, size: 396 bytes, params: 1, frame: 27
const createList = SettingBuildersModule.createList;
const object2 = {};
const PARENTAL_CONTROLS_SENSITIVE_CONTENT_FILTERS = MobileSetting.PARENTAL_CONTROLS_SENSITIVE_CONTENT_FILTERS;
object2.settings = [PARENTAL_CONTROLS_SENSITIVE_CONTENT_FILTERS];
const intl = (IndexNativeModule).intl;
const format = intl.format;
const dliU4j = (IndexNativeModule).t.dliU4j;
const defaultImport = HelpdeskUtils;
const getArticleURL = defaultImport.getArticleURL;
const EXPLICIT_MEDIA_REDACTION = HelpdeskArticles.EXPLICIT_MEDIA_REDACTION;
object2.subLabel = Reflect.apply(format, intl, [dliU4j, {learnMoreLink: Reflect.apply(getArticleURL, defaultImport,
[EXPLICIT_MEDIA_REDACTION])}]);
const items2 = [object2];
let string = intl.string;
const MeYuqs = (IndexNativeModule).t.MeYuqs;
const PARENTAL_CONTROLS_DIRECT_MESSAGES = MobileSetting.PARENTAL_CONTROLS_DIRECT_MESSAGES;
const PARENTAL_CONTROLS_MESSAGE_REQUESTS = MobileSetting.PARENTAL_CONTROLS_MESSAGE_REQUESTS;
items2[1] = {label: Reflect.apply(string, intl, [MeYuqs]), settings: [PARENTAL_CONTROLS_DIRECT_MESSAGES,
PARENTAL_CONTROLS_MESSAGE_REQUESTS]};
string = intl.string;
const XlGG9c = (IndexNativeModule).t.XlGG9c;
const PARENTAL_CONTROLS_FRIEND_REQUESTS_EVERYONE = MobileSetting.PARENTAL_CONTROLS_FRIEND_REQUESTS_EVERYONE;
const PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_FRIENDS = MobileSetting.PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_FRIENDS;
const PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_GUILDS = MobileSetting.PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_GUILDS;
items2[2] = {label: Reflect.apply(string, intl, [XlGG9c]), settings: [PARENTAL_CONTROLS_FRIEND_REQUESTS_EVERYONE,
PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_FRIENDS, PARENTAL_CONTROLS_FRIEND_REQUESTS_MUTUAL_GUILDS]};
return (
<View>
{((Component) => <Component node={Reflect.apply(createList, SettingBuildersModule,
[{sections: items2}])} />)(SettingLayout)}
</View>
);
}
}
global.__d(_fun102232, 13443, [31, 27, 661, 8224, 33, 9692, 1244, 1948, 13170,
2]) /* metro module 13443, dependencies: [31, 27, 661, 8224, 33, 9692, 1244, 1948, 13170, 2] */;