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

83 lines
5.7 KiB
TypeScript

/* Metro module 13444; source: modules/parent_tools/native/FamilyCenterParentalControlsDataAndPrivacy.tsx; dependencies: [31, 661, 8224, 33, 1244, 2224, 1948, 9692, 13170, 2] */
import HelpdeskUtils from '../../../utils/HelpdeskUtils.tsx'; /* Metro dependency 1948 */
import FamilyCenterMessages from '../FamilyCenter.messages.js'; /* Metro dependency 2224 */
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 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 _fun102234(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13634:6, offset: 0x02233811, size: 186 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/parent_tools/native/FamilyCenterParentalControlsDataAndPrivacy.tsx');
exports.default = FamilyCenterParentalControlsDataAndPrivacy;
function FamilyCenterParentalControlsDataAndPrivacy() { // fn#102235, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13634:289, offset: 0x022338cb, size: 102 bytes, params: 1, frame: 15
return ((Component) => <Component node={ReactModule.useMemo(_fun102237, [ReactModule.useMemo(_fun102236,
[])])} />)(SettingLayout);
function _fun102236() { // fn#102236, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13634:360, offset: 0x02233931, size: 460 bytes, params: 1, frame: 27
let object = {};
let value = environment.__proto__;
const PARENTAL_CONTROLS_DATA_USAGE_STATISTICS = MobileSetting.PARENTAL_CONTROLS_DATA_USAGE_STATISTICS;
object.settings = [PARENTAL_CONTROLS_DATA_USAGE_STATISTICS];
const intl = (IndexNativeModule).intl;
let format = intl.format;
const Z5yJZy = (FamilyCenterMessages).Z5yJZy;
const defaultImport = HelpdeskUtils;
let getArticleURL = defaultImport.getArticleURL;
const DATA_PRIVACY_CONTROLS = HelpdeskArticles.DATA_PRIVACY_CONTROLS;
object.subLabel = Reflect.apply(format, intl, [Z5yJZy, {helpdeskArticle: Reflect.apply(getArticleURL, defaultImport,
[DATA_PRIVACY_CONTROLS])}]);
const items2 = [object];
object = {};
const PARENTAL_CONTROLS_DATA_USAGE_PERSONALIZATION = MobileSetting.PARENTAL_CONTROLS_DATA_USAGE_PERSONALIZATION;
object.settings = [PARENTAL_CONTROLS_DATA_USAGE_PERSONALIZATION];
format = intl.format;
const Imp6Ns = (FamilyCenterMessages).Imp6Ns;
value = defaultImport;
getArticleURL = value.getArticleURL;
const DATA_USED_FOR_RECOMMENDED = HelpdeskArticles.DATA_USED_FOR_RECOMMENDED;
object.subLabel = Reflect.apply(format, intl, [Imp6Ns, {helpdeskArticle: Reflect.apply(getArticleURL, value,
[DATA_USED_FOR_RECOMMENDED])}]);
items2[1] = object;
object = {};
const PARENTAL_CONTROLS_DATA_USAGE_QUESTS = MobileSetting.PARENTAL_CONTROLS_DATA_USAGE_QUESTS;
object.settings = [PARENTAL_CONTROLS_DATA_USAGE_QUESTS];
format = intl.format;
const cnCK6b = (FamilyCenterMessages).cnCK6b;
value = defaultImport;
getArticleURL = value.getArticleURL;
let QUESTS_PRIVACY_CONTROLS = HelpdeskArticles.QUESTS_PRIVACY_CONTROLS;
object.subLabel = Reflect.apply(format, intl, [cnCK6b, {helpdeskArticle: Reflect.apply(getArticleURL, value,
[QUESTS_PRIVACY_CONTROLS])}]);
items2[2] = object;
object = {};
const PARENTAL_CONTROLS_DATA_USAGE_QUESTS_3P = MobileSetting.PARENTAL_CONTROLS_DATA_USAGE_QUESTS_3P;
object.settings = [PARENTAL_CONTROLS_DATA_USAGE_QUESTS_3P];
format = intl.format;
const property = (FamilyCenterMessages)['6mK5Pz'];
value = defaultImport;
getArticleURL = value.getArticleURL;
QUESTS_PRIVACY_CONTROLS = HelpdeskArticles.QUESTS_PRIVACY_CONTROLS;
object.subLabel = Reflect.apply(format, intl, [property, {helpdeskArticle: Reflect.apply(getArticleURL, value,
[QUESTS_PRIVACY_CONTROLS])}]);
items2[3] = object;
return items2;
}
function _fun102237() { // fn#102237, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13634:1055, offset: 0x02233afd, size: 52 bytes, params: 1, frame: 12
const value = environment.__proto__;
return (SettingBuildersModule).createList({sections: env0_0});
}
}
}
global.__d(_fun102234, 13444, [31, 661, 8224, 33, 1244, 2224, 1948, 9692, 13170,
2]) /* metro module 13444, dependencies: [31, 661, 8224, 33, 1244, 2224, 1948, 9692, 13170, 2] */;