Files
discord-decomp/sources/modules/parent_tools/native/FamilyCenterParentalControlsDataAndPrivacy.tsx
T
2026-07-27 16:20:00 +03:00

75 lines
4.8 KiB
TypeScript

/* Metro module 13444; source: modules/parent_tools/native/FamilyCenterParentalControlsDataAndPrivacy.tsx; dependencies: [31, 661, 8224, 33, 1244, 2224, 1948, 9692, 13170, 2] */
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});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(661) /* metro dependency 661: Constants */).HelpdeskArticles;
const env0_5 = (require(8224) /* metro dependency 8224: SettingsConstants */).MobileSetting;
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).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
const binding = env0_3;
return ((Component) => <Component node={binding.useMemo(_fun102237, [binding.useMemo(_fun102236,
[])])} />)(importDefault(13170) /* metro dependency 13170: 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 object2 = {};
let value = environment.__proto__;
const PARENTAL_CONTROLS_DATA_USAGE_STATISTICS = MobileSetting.PARENTAL_CONTROLS_DATA_USAGE_STATISTICS;
object2.settings = [PARENTAL_CONTROLS_DATA_USAGE_STATISTICS];
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let format = intl.format;
const Z5yJZy = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).Z5yJZy;
const defaultImport = importDefault(1948) /* metro dependency 1948: HelpdeskUtils */;
let getArticleURL = defaultImport.getArticleURL;
const DATA_PRIVACY_CONTROLS = HelpdeskArticles.DATA_PRIVACY_CONTROLS;
object2.subLabel = Reflect.apply(format, intl, [Z5yJZy, {helpdeskArticle: Reflect.apply(getArticleURL,
defaultImport, [DATA_PRIVACY_CONTROLS])}]);
const items2 = [object2];
object2 = {};
const PARENTAL_CONTROLS_DATA_USAGE_PERSONALIZATION = MobileSetting.PARENTAL_CONTROLS_DATA_USAGE_PERSONALIZATION;
object2.settings = [PARENTAL_CONTROLS_DATA_USAGE_PERSONALIZATION];
format = intl.format;
const Imp6Ns = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).Imp6Ns;
value = defaultImport;
getArticleURL = value.getArticleURL;
const DATA_USED_FOR_RECOMMENDED = HelpdeskArticles.DATA_USED_FOR_RECOMMENDED;
object2.subLabel = Reflect.apply(format, intl, [Imp6Ns, {helpdeskArticle: Reflect.apply(getArticleURL, value,
[DATA_USED_FOR_RECOMMENDED])}]);
items2[1] = object2;
object2 = {};
const PARENTAL_CONTROLS_DATA_USAGE_QUESTS = MobileSetting.PARENTAL_CONTROLS_DATA_USAGE_QUESTS;
object2.settings = [PARENTAL_CONTROLS_DATA_USAGE_QUESTS];
format = intl.format;
const cnCK6b = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).cnCK6b;
value = defaultImport;
getArticleURL = value.getArticleURL;
let QUESTS_PRIVACY_CONTROLS = HelpdeskArticles.QUESTS_PRIVACY_CONTROLS;
object2.subLabel = Reflect.apply(format, intl, [cnCK6b, {helpdeskArticle: Reflect.apply(getArticleURL, value,
[QUESTS_PRIVACY_CONTROLS])}]);
items2[2] = object2;
object2 = {};
const PARENTAL_CONTROLS_DATA_USAGE_QUESTS_3P = MobileSetting.PARENTAL_CONTROLS_DATA_USAGE_QUESTS_3P;
object2.settings = [PARENTAL_CONTROLS_DATA_USAGE_QUESTS_3P];
format = intl.format;
const property = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */)['6mK5Pz'];
value = defaultImport;
getArticleURL = value.getArticleURL;
QUESTS_PRIVACY_CONTROLS = HelpdeskArticles.QUESTS_PRIVACY_CONTROLS;
object2.subLabel = Reflect.apply(format, intl, [property, {helpdeskArticle: Reflect.apply(getArticleURL, value,
[QUESTS_PRIVACY_CONTROLS])}]);
items2[3] = object2;
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 (require(9692) /* metro dependency 9692: SettingBuilders */).createList({sections: env0_0});
}