decord/source/modules/parent_tools/native/FamilyCenterModalRequest.tsx

797 lines
33 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 11046
// Function ID: 85868
2026-07-20 16:05:17 +00:00
// Name: FamilyCenterModalRequestConfirm
2026-07-27 11:26:19 +00:00
// Dependencies: [5, 31, 27, 1850, 5766, 33, 4131, 689, 1456, 624, 5767, 11047, 5827, 11048, 6725, 6726, 1273, 1392, 1212, 2199, 4127, 11049, 11050, 11058, 4966, 4544, 4338, 6727, 6201, 44, 9946, 7640, 5584, 8063, 1882, 6690, 6692, 4348, 5087, 11059, 11060, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-27 11:26:19 +00:00
// Module 11046 (FamilyCenterModalRequestConfirm)
2026-07-23 10:11:24 +00:00
import closure_3 from "jsxProd";
import registerAsset from "registerAsset";
import get_ActivityIndicator from "AccountAgeTier10LargeBadge";
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import items from "items";
import jsxProd from "usePrevious";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
import HeaderBackImage from "HeaderBackImage";
let closure_10;
let closure_11;
let closure_12;
let closure_13;
let closure_14;
let closure_5;
let closure_6;
let closure_8;
let closure_9;
const require = arg1;
2026-07-20 16:05:17 +00:00
class FamilyCenterModalRequestConfirm {
constructor(arg0) {
userId = global.userId;
linkCode = global.linkCode;
teenIdentity = global.teenIdentity;
tmp = jsxs();
2026-07-23 10:11:24 +00:00
obj = require("useNavigation");
2026-07-20 16:05:17 +00:00
navigation = obj.useNavigation();
2026-07-23 10:11:24 +00:00
useNavigation = navigation;
obj2 = require("defaultAreStatesEqual");
2026-07-20 16:05:17 +00:00
items = [];
2026-07-23 10:11:24 +00:00
items[0] = c7;
stateFromStores = obj2.useStateFromStores(items, () => outer1_7.getCurrentUser());
2026-07-20 16:05:17 +00:00
items1 = [];
items1[0] = navigation;
items2 = [];
items2[0] = navigation;
2026-07-23 10:11:24 +00:00
callback = registerAsset.useCallback(() => {
2026-07-20 16:05:17 +00:00
const result = linkCode(navigation[10]).clearPendingConnection();
navigation.push(userId(navigation[11]).FamilyCenterModalRequestSections.SENT);
}, items1);
2026-07-23 10:11:24 +00:00
callback1 = registerAsset.useCallback((arg0) => {
2026-07-20 16:05:17 +00:00
const failureCodeForAPIError = userId(navigation[12]).getFailureCodeForAPIError(arg0);
navigation.push(userId(navigation[11]).FamilyCenterModalRequestSections.ERROR, { failureCode: failureCodeForAPIError });
}, items2);
2026-07-23 10:11:24 +00:00
obj3 = require("useFamilyCenterActions");
2026-07-20 16:05:17 +00:00
familyCenterActions = obj3.useFamilyCenterActions({ onSuccess: callback, onError: callback1 });
requestLink = familyCenterActions.requestLink;
isRequestingLink = familyCenterActions.isRequestingLink;
items3 = [, , ];
items3[0] = requestLink;
items3[1] = userId;
items3[2] = linkCode;
2026-07-23 10:11:24 +00:00
callback2 = registerAsset.useCallback(() => {
2026-07-20 16:05:17 +00:00
requestLink(userId, linkCode);
}, items3);
tmp8 = jsxs;
obj = {};
tmp9 = jsxs;
obj1 = {};
if (null != teenIdentity) {
obj2 = {};
obj2.style = tmp.connectionHeader;
obj3 = {};
obj3.style = tmp.headerIcons;
2026-07-23 10:11:24 +00:00
tmp15 = userId;
tmp16 = useNavigation;
2026-07-20 16:05:17 +00:00
num = 16;
tmp10 = jsxs;
tmp11 = View;
tmp12 = jsxs;
tmp13 = View;
tmp14 = jsx;
obj4 = {};
userAvatarSource = undefined;
if (null != stateFromStores) {
2026-07-23 10:11:24 +00:00
tmp18 = linkCode;
tmp19 = useNavigation;
2026-07-20 16:05:17 +00:00
num2 = 17;
2026-07-23 10:11:24 +00:00
obj9 = require("getAvatarURL");
2026-07-20 16:05:17 +00:00
userAvatarSource = obj9.getUserAvatarSource(stateFromStores);
}
obj4.source = userAvatarSource;
2026-07-23 10:11:24 +00:00
tmp20 = userId;
tmp21 = useNavigation;
obj4.size = require("Button").AvatarSizes.LARGE;
2026-07-20 16:05:17 +00:00
num3 = 18;
2026-07-23 10:11:24 +00:00
intl = require("getSystemLocale").intl;
tmp22 = linkCode;
2026-07-20 16:05:17 +00:00
num4 = 19;
obj5 = {};
globalName = undefined;
if (null != stateFromStores) {
globalName = stateFromStores.globalName;
}
if (null == globalName) {
username = undefined;
if (null != stateFromStores) {
username = stateFromStores.username;
}
globalName = username;
}
str = "";
if (null != globalName) {
str = globalName;
}
obj5.name = str;
2026-07-23 10:11:24 +00:00
obj4.accessibilityLabel = intl.formatToPlainString(require("messagesProxy").kFj4h1, obj5);
2026-07-20 16:05:17 +00:00
items4 = [, , ];
2026-07-23 10:11:24 +00:00
items4[0] = tmp14(require("Button").Avatar, obj4);
2026-07-20 16:05:17 +00:00
tmp25 = jsxs;
tmp26 = View;
obj6 = {};
obj6.style = tmp.ellipseGroup;
tmp27 = jsx;
tmp28 = View;
obj7 = {};
obj7.style = tmp.ellipse;
items5 = [, , ];
items5[0] = jsx(View, obj7);
tmp29 = jsx;
tmp30 = View;
obj8 = {};
obj8.style = tmp.ellipse;
items5[1] = jsx(View, obj8);
tmp31 = jsx;
tmp32 = View;
obj9 = {};
obj9.style = tmp.ellipse;
items5[2] = jsx(View, obj9);
obj6.children = items5;
items4[1] = jsxs(View, obj6);
2026-07-23 10:11:24 +00:00
tmp34 = userId;
tmp35 = useNavigation;
2026-07-20 16:05:17 +00:00
tmp33 = jsx;
obj10 = {};
2026-07-23 10:11:24 +00:00
tmp36 = linkCode;
2026-07-20 16:05:17 +00:00
num5 = 17;
2026-07-23 10:11:24 +00:00
obj16 = require("getAvatarURL");
2026-07-20 16:05:17 +00:00
obj11 = {};
({ id: obj17.id, avatar: obj17.avatar } = teenIdentity);
str2 = "0";
obj11.discriminator = "0";
obj10.source = obj16.getUserAvatarSource(obj11);
2026-07-23 10:11:24 +00:00
obj10.size = require("Button").AvatarSizes.LARGE;
intl2 = require("getSystemLocale").intl;
2026-07-20 16:05:17 +00:00
obj12 = {};
username = teenIdentity.global_name;
if (null == username) {
username = teenIdentity.username;
}
obj12.name = username;
2026-07-23 10:11:24 +00:00
obj10.accessibilityLabel = intl2.formatToPlainString(require("messagesProxy").kFj4h1, obj12);
items4[2] = tmp33(require("Button").Avatar, obj10);
2026-07-20 16:05:17 +00:00
obj3.children = items4;
items6 = [, , , ];
items6[0] = tmp12(tmp13, obj3);
tmp37 = jsx;
2026-07-23 10:11:24 +00:00
tmp38 = userId;
tmp39 = useNavigation;
2026-07-20 16:05:17 +00:00
num6 = 20;
2026-07-23 10:11:24 +00:00
obj13 = { variant: "heading-xl/bold", color: "mobile-text-heading-primary" };
2026-07-20 16:05:17 +00:00
obj13.style = tmp.title;
2026-07-23 10:11:24 +00:00
intl3 = require("getSystemLocale").intl;
tmp40 = linkCode;
obj13.children = intl3.string(require("messagesProxy").sMmIbm);
items6[1] = jsx(require("Text").Text, obj13);
2026-07-20 16:05:17 +00:00
tmp41 = jsx;
2026-07-23 10:11:24 +00:00
obj14 = { variant: "heading-xl/bold", color: "mobile-text-heading-primary" };
2026-07-20 16:05:17 +00:00
obj14.style = tmp.teenName;
username2 = teenIdentity.global_name;
if (null == username2) {
username2 = teenIdentity.username;
}
obj14.children = username2;
2026-07-23 10:11:24 +00:00
items6[2] = tmp41(require("Text").Text, obj14);
tmp43 = userId;
tmp44 = useNavigation;
2026-07-20 16:05:17 +00:00
tmp42 = jsx;
2026-07-23 10:11:24 +00:00
obj15 = { variant: "text-sm/medium", color: "text-muted" };
2026-07-20 16:05:17 +00:00
obj15.style = tmp.consent;
2026-07-23 10:11:24 +00:00
intl4 = require("getSystemLocale").intl;
tmp45 = linkCode;
2026-07-20 16:05:17 +00:00
obj16 = {};
username3 = teenIdentity.global_name;
if (null == username3) {
username3 = teenIdentity.username;
}
obj16.username = username3;
2026-07-23 10:11:24 +00:00
obj15.children = intl4.format(require("messagesProxy").yiUJNU, obj16);
items6[3] = tmp42(require("Text").Text, obj15);
2026-07-20 16:05:17 +00:00
obj2.children = items6;
tmp10Result = tmp10(tmp11, obj2);
} else {
tmp47 = jsxs;
tmp48 = Fragment;
obj17 = {};
tmp49 = jsx;
tmp50 = Image;
obj18 = {};
obj18.style = tmp.art;
2026-07-23 10:11:24 +00:00
tmp51 = linkCode;
tmp52 = useNavigation;
2026-07-20 16:05:17 +00:00
num7 = 21;
2026-07-23 10:11:24 +00:00
obj18.source = require("registerAsset");
2026-07-20 16:05:17 +00:00
items7 = [, ];
items7[0] = jsx(Image, obj18);
tmp53 = jsx;
2026-07-23 10:11:24 +00:00
tmp54 = userId;
2026-07-20 16:05:17 +00:00
num8 = 20;
obj19 = {};
obj19.style = tmp.headerText;
str3 = "text-lg/bold";
obj19.variant = "text-lg/bold";
num9 = 18;
2026-07-23 10:11:24 +00:00
intl7 = require("getSystemLocale").intl;
2026-07-20 16:05:17 +00:00
num10 = 19;
2026-07-23 10:11:24 +00:00
obj19.children = intl7.string(require("messagesProxy").GH11eI);
items7[1] = jsx(require("Text").Text, obj19);
2026-07-20 16:05:17 +00:00
obj17.children = items7;
tmp10Result = jsxs(Fragment, obj17);
}
items8 = [, ];
items8[0] = tmp10Result;
2026-07-23 10:11:24 +00:00
items8[1] = jsx(require("RowGroup"), {});
2026-07-20 16:05:17 +00:00
obj1.children = items8;
items9 = [, ];
2026-07-23 10:11:24 +00:00
items9[0] = tmp9(require("ModalContent").ModalContent, obj1);
2026-07-20 16:05:17 +00:00
obj20 = {};
obj21 = {};
2026-07-23 10:11:24 +00:00
obj22 = { variant: "primary", size: "lg" };
obj22.disabled = isRequestingLink;
obj22.loading = isRequestingLink;
intl5 = require("getSystemLocale").intl;
obj22.text = intl5.string(require("messagesProxy").ISg34l);
2026-07-20 16:05:17 +00:00
obj22.onPress = callback2;
items10 = [, ];
2026-07-23 10:11:24 +00:00
items10[0] = jsx(require("Button").Button, obj22);
obj23 = { variant: "secondary", size: "lg" };
intl6 = require("getSystemLocale").intl;
obj23.text = intl6.string(require("getSystemLocale").t["ETE/oC"]);
2026-07-25 08:10:48 +00:00
obj23.onPress = require("module_4338").pop;
2026-07-23 10:11:24 +00:00
items10[1] = jsx(require("Button").Button, obj23);
2026-07-20 16:05:17 +00:00
obj21.children = items10;
2026-07-23 10:11:24 +00:00
obj20.children = jsxs(require("ButtonGroup").ButtonGroup, obj21);
items9[1] = jsx(require("ModalFooter").ModalFooter, obj20);
2026-07-20 16:05:17 +00:00
obj.children = items9;
2026-07-23 10:11:24 +00:00
return tmp8(require("ModalScreen").ModalScreen, obj);
2026-07-20 16:05:17 +00:00
}
}
class FamilyCenterModalRequestSuccess {
constructor() {
tmp = jsxs();
2026-07-23 10:11:24 +00:00
obj = require("defaultAreStatesEqual");
2026-07-20 16:05:17 +00:00
items = [];
2026-07-23 10:11:24 +00:00
items[0] = c7;
stateFromStores = obj.useStateFromStores(items, () => outer1_7.getCurrentUser());
callback = registerAsset.useCallback(() => {
let arr = outer1_1(outer1_2[26]);
2026-07-20 16:05:17 +00:00
arr = arr.pop();
}, []);
if (null === stateFromStores) {
2026-07-23 10:11:24 +00:00
tmp4 = closure_1;
tmp5 = closure_2;
2026-07-20 16:05:17 +00:00
num = 26;
2026-07-25 08:10:48 +00:00
arr2 = require("module_4338");
2026-07-20 16:05:17 +00:00
arr = arr2.pop();
}
tmp7 = jsxs;
obj = {};
tmp8 = jsx;
obj1 = {};
obj2 = { style: tmp.content };
obj3 = { style: tmp.textWrapper };
obj4 = { style: tmp.illustration };
tmp9 = jsx;
tmp10 = View;
tmp11 = jsxs;
tmp12 = View;
2026-07-23 10:11:24 +00:00
obj4.children = jsx(require("AccountAgeTier10LargeBadge").EnvelopeSpotIllustration, { scale: 0.7 });
2026-07-20 16:05:17 +00:00
items1 = [, , ];
items1[0] = jsx(View, obj4);
2026-07-23 10:11:24 +00:00
obj5 = { variant: "heading-lg/bold", color: "mobile-text-heading-primary" };
2026-07-22 07:54:56 +00:00
obj5.style = tmp.header;
2026-07-23 10:11:24 +00:00
intl = require("getSystemLocale").intl;
obj5.children = intl.string(require("messagesProxy").EpwfZl);
items1[1] = jsx(require("Text").Text, obj5);
2026-07-20 16:05:17 +00:00
tmp13 = jsx;
2026-07-23 10:11:24 +00:00
obj6 = { variant: "text-sm/medium", color: "text-muted" };
2026-07-21 22:01:30 +00:00
obj6.style = tmp.description;
2026-07-23 10:11:24 +00:00
intl2 = require("getSystemLocale").intl;
2026-07-20 16:05:17 +00:00
obj7 = {};
email = undefined;
if (null != stateFromStores) {
email = stateFromStores.email;
}
obj7.email = email;
2026-07-23 10:11:24 +00:00
obj6.children = intl2.format(require("messagesProxy").dVtWId, obj7);
items1[2] = tmp13(require("Text").Text, obj6);
2026-07-20 16:05:17 +00:00
obj3.children = items1;
obj2.children = tmp11(tmp12, obj3);
obj1.children = tmp9(tmp10, obj2);
items2 = [, ];
2026-07-23 10:11:24 +00:00
items2[0] = tmp8(require("ModalContent").ModalContent, obj1);
2026-07-20 16:05:17 +00:00
obj8 = {};
obj9 = { size: "lg" };
2026-07-23 10:11:24 +00:00
intl3 = require("getSystemLocale").intl;
obj9.text = intl3.string(require("getSystemLocale").t.cpT0Cq);
2026-07-20 16:05:17 +00:00
obj9.onPress = callback;
2026-07-23 10:11:24 +00:00
obj8.children = jsx(require("Button").Button, obj9);
items2[1] = jsx(require("ModalFooter").ModalFooter, obj8);
2026-07-20 16:05:17 +00:00
obj.children = items2;
2026-07-23 10:11:24 +00:00
return tmp7(require("ModalScreen").ModalScreen, obj);
2026-07-20 16:05:17 +00:00
}
}
class FamilyCenterModalRequestError {
constructor(arg0) {
tmp = jsxs();
2026-07-23 10:11:24 +00:00
obj = require("defaultAreStatesEqual");
2026-07-20 16:05:17 +00:00
items = [];
2026-07-23 10:11:24 +00:00
items[0] = c7;
stateFromStores = obj.useStateFromStores(items, () => outer1_7.getCurrentUser());
tmp3 = require("useIsInAdultAgeGroup")();
obj2 = require("Button");
boxShadowStyle = obj2.generateBoxShadowStyle(require("Button").FOUR_DP_ELEVATION_SHADOW_PARAMS);
callback = registerAsset.useCallback(() => {
let arr = outer1_1(outer1_2[26]);
2026-07-20 16:05:17 +00:00
arr = arr.pop();
}, []);
2026-07-23 10:11:24 +00:00
tmp6 = require("invariant")(null != stateFromStores, "User must be logged in to see this modal.");
2026-07-20 16:05:17 +00:00
obj3 = Image[global.failureCode];
obj = {};
tmp7 = undefined;
if (null != tmp3) {
tmp7 = tmp3;
}
obj.isAdult = tmp7;
email = stateFromStores.email;
tmp8 = undefined;
if (null != email) {
tmp8 = email;
}
obj.email = tmp8;
headerResult = obj3.header(obj);
icon = obj3.icon;
descriptionResult = obj3.description(obj);
tmp11 = jsxs;
obj1 = {};
tmp12 = jsxs;
obj2 = {};
obj3 = { style: items1 };
items1 = [, ];
items1[0] = tmp.ring;
items1[1] = boxShadowStyle;
obj4 = { style: items2 };
items2 = [, ];
items2[0] = tmp.iconContainer;
items2[1] = icon === FamilyCenterIconType.CHECK ? tmp.positive : tmp.negative;
tmp13 = jsx;
tmp14 = View;
tmp15 = jsx;
tmp16 = View;
if (icon === FamilyCenterIconType.CHECK) {
tmp22 = jsx;
2026-07-23 10:11:24 +00:00
tmp23 = closure_0;
tmp24 = closure_2;
2026-07-20 16:05:17 +00:00
obj5 = {};
2026-07-23 10:11:24 +00:00
tmp25 = closure_1;
2026-07-20 16:05:17 +00:00
num2 = 30;
2026-07-23 10:11:24 +00:00
obj5.source = require("registerAsset");
2026-07-20 16:05:17 +00:00
str2 = "#FFF";
obj5.color = "#FFF";
2026-07-23 10:11:24 +00:00
tmp21 = jsx(require("Button").Icon, obj5);
2026-07-20 16:05:17 +00:00
} else {
tmp17 = jsx;
2026-07-23 10:11:24 +00:00
tmp18 = closure_0;
tmp19 = closure_2;
2026-07-20 16:05:17 +00:00
obj6 = {};
2026-07-23 10:11:24 +00:00
tmp20 = closure_1;
2026-07-20 16:05:17 +00:00
num = 31;
2026-07-23 10:11:24 +00:00
obj6.source = require("registerAsset");
2026-07-20 16:05:17 +00:00
str = "#FFF";
obj6.color = "#FFF";
2026-07-23 10:11:24 +00:00
tmp21 = jsx(require("Button").Icon, obj6);
2026-07-20 16:05:17 +00:00
}
obj4.children = tmp21;
obj3.children = tmp15(tmp16, obj4);
items3 = [, , ];
items3[0] = tmp13(tmp14, obj3);
2026-07-23 10:11:24 +00:00
obj7 = { variant: "heading-lg/bold", color: "mobile-text-heading-primary" };
2026-07-22 07:54:56 +00:00
obj7.style = tmp.header;
obj7.children = headerResult;
2026-07-23 10:11:24 +00:00
items3[1] = jsx(require("Text").Text, obj7);
obj8 = { variant: "text-sm/medium", color: "text-muted" };
2026-07-21 22:01:30 +00:00
obj8.style = tmp.description;
obj8.children = descriptionResult;
2026-07-23 10:11:24 +00:00
items3[2] = jsx(require("Text").Text, obj8);
2026-07-20 16:05:17 +00:00
obj2.children = items3;
items4 = [, ];
2026-07-23 10:11:24 +00:00
items4[0] = tmp12(require("ModalContent").ModalContent, obj2);
2026-07-20 16:05:17 +00:00
obj9 = {};
obj10 = {};
2026-07-23 10:11:24 +00:00
intl = require("getSystemLocale").intl;
obj10.text = intl.string(require("getSystemLocale").t.cpT0Cq);
2026-07-20 16:05:17 +00:00
obj10.onPress = callback;
2026-07-23 10:11:24 +00:00
obj9.children = jsx(require("Button").Button, obj10);
items4[1] = jsx(require("ModalFooter").ModalFooter, obj9);
2026-07-20 16:05:17 +00:00
obj1.children = items4;
2026-07-23 10:11:24 +00:00
return tmp11(require("ModalScreen").ModalScreen, obj1);
2026-07-20 16:05:17 +00:00
}
}
function FamilyCenterPrereqLoading(arg0) {
2026-07-23 10:11:24 +00:00
let importDefault;
let require;
({ userId: require, linkCode: importDefault } = arg0);
let obj = require(1456) /* useNavigation */;
const dependencyMap = obj.useNavigation();
2026-07-20 16:05:17 +00:00
const effect = React.useEffect(() => {
function _runPrereq() {
// CreateGeneratorClosureLongIndex (0x67)
2026-07-23 10:11:24 +00:00
const obj = outer2_3(tmp);
2026-07-20 16:05:17 +00:00
return obj(...arguments);
}
2026-07-23 10:11:24 +00:00
let c0 = false;
(function runPrereq() {
2026-07-20 16:05:17 +00:00
return _runPrereq(...arguments);
2026-07-23 10:11:24 +00:00
})();
2026-07-20 16:05:17 +00:00
return () => {
2026-07-23 10:11:24 +00:00
let c0 = true;
2026-07-20 16:05:17 +00:00
};
}, []);
obj = {};
2026-07-24 07:16:23 +00:00
obj = { style: callback5().container, children: callback(require(5584) /* ActivityIndicator */.ActivityIndicator, {}) };
2026-07-20 16:05:17 +00:00
obj.children = callback(closure_6, obj);
2026-07-25 08:10:48 +00:00
return callback(require(6725) /* ModalScreen */.ModalScreen, obj);
2026-07-20 16:05:17 +00:00
}
function FamilyCenterPrereqScreen(primaryButton) {
let description;
let title;
primaryButton = primaryButton.primaryButton;
({ title, description } = primaryButton);
2026-07-23 10:11:24 +00:00
const tmp = callback6();
2026-07-20 16:05:17 +00:00
let obj = {};
obj = { style: tmp.content };
2026-07-23 10:11:24 +00:00
obj = { variant: "heading-xl/bold", color: "mobile-text-heading-primary", style: tmp.title, children: title };
2026-07-25 08:10:48 +00:00
const items = [callback(require(4127) /* Text */.Text, obj), ];
2026-07-23 10:11:24 +00:00
const obj1 = { variant: "text-sm/medium", color: "text-muted", style: tmp.description, children: description };
2026-07-25 08:10:48 +00:00
items[1] = callback(require(4127) /* Text */.Text, obj1);
2026-07-20 16:05:17 +00:00
obj.children = items;
const items1 = [callback2(closure_6, obj), ];
2026-07-25 08:10:48 +00:00
const obj2 = { children: callback(require(4544) /* Button */.Button, { text: primaryButton.text, onPress: primaryButton.onPress }) };
2026-07-27 11:26:19 +00:00
items1[1] = callback(require(11058) /* ModalFooter */.ModalFooter, obj2);
2026-07-20 16:05:17 +00:00
obj.children = items1;
2026-07-25 08:10:48 +00:00
return callback2(require(6725) /* ModalScreen */.ModalScreen, obj);
2026-07-20 16:05:17 +00:00
}
function useNavigateToVerifyingOnPending() {
2026-07-23 10:11:24 +00:00
navigation = navigation(1456).useNavigation();
const obj = navigation(1456);
const items = [_isNativeReflectConstruct];
const stateFromStores = navigation(624).useStateFromStores(items, () => {
const currentUser = outer1_7.getCurrentUser();
2026-07-20 16:05:17 +00:00
let prop;
if (null != currentUser) {
prop = currentUser.ageVerificationStatus;
}
return prop;
});
2026-07-25 08:10:48 +00:00
const tmp3 = stateFromStores(8063)(stateFromStores);
2026-07-20 16:05:17 +00:00
const dependencyMap = tmp3;
const items1 = [stateFromStores, tmp3, navigation];
const effect = React.useEffect(() => {
let tmp = null != tmp3;
if (tmp) {
tmp = tmp3 !== stateFromStores;
}
if (tmp) {
tmp = null != stateFromStores;
}
if (tmp) {
tmp = stateFromStores !== navigation(tmp3[34]).AgeVerificationStatusUkAndAusOnly.UNVERIFIED;
}
if (tmp) {
const replaced = navigation.replace(navigation(tmp3[11]).FamilyCenterModalRequestSections.VERIFYING);
}
}, items1);
}
function FamilyCenterConfirmAgeScreen(teenIdentity) {
teenIdentity = teenIdentity.teenIdentity;
2026-07-23 10:11:24 +00:00
const tmp = callback7();
2026-07-20 16:05:17 +00:00
useNavigateToVerifyingOnPending();
const callback = React.useCallback(() => {
2026-07-23 10:11:24 +00:00
let obj = outer1_1(outer1_2[35]);
obj = { entryPoint: outer1_0(outer1_2[36]).AgeVerificationModalEntryPoint.FAMILY_CENTER_CONNECTION };
2026-07-20 16:05:17 +00:00
const result = obj.showAgeVerificationGetStartedModal(obj);
}, []);
let obj = {};
obj = { style: tmp.content };
2026-07-25 08:10:48 +00:00
obj = { style: tmp.art, children: callback(require(6727) /* AccountAgeTier10LargeBadge */.FamilyShieldSpotIllustration, {}) };
2026-07-20 16:05:17 +00:00
const items = [callback(closure_6, obj), , ];
2026-07-23 10:11:24 +00:00
const obj1 = { variant: "heading-xl/bold", color: "mobile-text-heading-primary", style: tmp.title };
const intl = require(1212) /* getSystemLocale */.intl;
2026-07-20 16:05:17 +00:00
const obj2 = {};
let global_name;
if (null != teenIdentity) {
global_name = teenIdentity.global_name;
}
if (null == global_name) {
let username;
if (null != teenIdentity) {
username = teenIdentity.username;
}
global_name = username;
}
let str = "";
if (null != global_name) {
str = global_name;
}
obj2.username = str;
2026-07-25 08:10:48 +00:00
obj1.children = intl.formatToPlainString(importDefault(2199).pQQMJ7, obj2);
items[1] = callback(require(4127) /* Text */.Text, obj1);
2026-07-23 10:11:24 +00:00
const obj3 = { variant: "text-sm/medium", color: "text-muted", style: tmp.description };
const intl2 = require(1212) /* getSystemLocale */.intl;
2026-07-25 08:10:48 +00:00
obj3.children = intl2.format(importDefault(2199)["0o3yg8"], { link: "https://support.discord.com/hc/articles/14155060633623" });
items[2] = callback(require(4127) /* Text */.Text, obj3);
2026-07-20 16:05:17 +00:00
obj.children = items;
const items1 = [callback2(closure_6, obj), ];
const obj4 = {};
const obj5 = {};
const obj6 = { variant: "primary" };
2026-07-23 10:11:24 +00:00
const intl3 = require(1212) /* getSystemLocale */.intl;
2026-07-25 08:10:48 +00:00
obj6.text = intl3.string(importDefault(2199)["3oUE4o"]);
2026-07-20 16:05:17 +00:00
obj6.onPress = callback;
2026-07-25 08:10:48 +00:00
const items2 = [callback(require(4544) /* Button */.Button, obj6), ];
2026-07-20 16:05:17 +00:00
const obj7 = { variant: "tertiary" };
2026-07-23 10:11:24 +00:00
const intl4 = require(1212) /* getSystemLocale */.intl;
obj7.text = intl4.string(require(1212) /* getSystemLocale */.t.oEAioF);
2026-07-20 16:05:17 +00:00
obj7.onPress = function onPress() {
2026-07-23 10:11:24 +00:00
return outer1_1(outer1_2[26]).pop();
2026-07-20 16:05:17 +00:00
};
2026-07-25 08:10:48 +00:00
items2[1] = callback(require(4544) /* Button */.Button, obj7);
2026-07-20 16:05:17 +00:00
obj5.children = items2;
2026-07-25 08:10:48 +00:00
obj4.children = callback2(require(4966) /* ButtonGroup */.ButtonGroup, obj5);
2026-07-27 11:26:19 +00:00
items1[1] = callback(require(11058) /* ModalFooter */.ModalFooter, obj4);
2026-07-20 16:05:17 +00:00
obj.children = items1;
2026-07-25 08:10:48 +00:00
return callback2(require(6725) /* ModalScreen */.ModalScreen, obj);
2026-07-20 16:05:17 +00:00
}
function FamilyCenterVerifyingScreen() {
2026-07-23 10:11:24 +00:00
let obj = navigation(stateFromStores[8]);
navigation = obj.useNavigation();
const tmp = callback5();
const isAgeVerified = navigation(stateFromStores[37]).useIsAgeVerified();
const obj2 = navigation(stateFromStores[37]);
const items = [_isNativeReflectConstruct];
stateFromStores = navigation(stateFromStores[9]).useStateFromStores(items, () => {
const currentUser = outer1_7.getCurrentUser();
2026-07-20 16:05:17 +00:00
let prop;
if (null != currentUser) {
prop = currentUser.ageVerificationStatus;
}
return prop;
});
let closure_3 = React.useRef(false);
const items1 = [isAgeVerified, stateFromStores, navigation];
const effect = React.useEffect(() => {
if (isAgeVerified) {
if (!ref.current) {
ref.current = true;
const replaced = navigation.replace(navigation(stateFromStores[11]).FamilyCenterModalRequestSections.PREREQ_LOADING);
}
} else if (stateFromStores === navigation(stateFromStores[34]).AgeVerificationStatusUkAndAusOnly.UNVERIFIED) {
2026-07-23 10:11:24 +00:00
const obj = { failureCode: outer1_10.GENERIC_ERROR };
2026-07-20 16:05:17 +00:00
const replaced1 = navigation.replace(navigation(stateFromStores[11]).FamilyCenterModalRequestSections.ERROR, obj);
}
}, items1);
const items2 = [navigation];
const effect1 = React.useEffect(() => {
const timeout = setTimeout(() => {
2026-07-23 10:11:24 +00:00
const replaced = closure_0.replace(navigation(stateFromStores[11]).FamilyCenterModalRequestSections.ERROR, { failureCode: outer2_10.GENERIC_ERROR });
}, outer1_8);
2026-07-20 16:05:17 +00:00
return () => clearTimeout(closure_0);
}, items2);
obj = {};
2026-07-23 10:11:24 +00:00
obj = { style: tmp.container, children: callback(navigation(stateFromStores[32]).ActivityIndicator, {}) };
2026-07-20 16:05:17 +00:00
obj.children = callback(closure_6, obj);
2026-07-23 10:11:24 +00:00
return callback(navigation(stateFromStores[14]).ModalScreen, obj);
2026-07-20 16:05:17 +00:00
}
function FamilyCenterPrereqInvalidCodeScreen() {
let obj = {};
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
2026-07-25 08:10:48 +00:00
obj.title = intl.string(importDefault(2199).ewSb6o);
2026-07-23 10:11:24 +00:00
const intl2 = require(1212) /* getSystemLocale */.intl;
2026-07-25 08:10:48 +00:00
obj.description = intl2.string(importDefault(2199).jcUN2F);
2026-07-20 16:05:17 +00:00
obj = {};
2026-07-23 10:11:24 +00:00
const intl3 = require(1212) /* getSystemLocale */.intl;
obj.text = intl3.string(require(1212) /* getSystemLocale */.t.WAI6xu);
2026-07-25 08:10:48 +00:00
obj.onPress = importDefault(4338).pop;
2026-07-20 16:05:17 +00:00
obj.primaryButton = obj;
return callback(FamilyCenterPrereqScreen, obj);
}
function FamilyCenterPrereqMustBeAdultScreen() {
useNavigateToVerifyingOnPending();
let obj = {};
const callback = React.useCallback(() => {
2026-07-23 10:11:24 +00:00
let obj = outer1_1(outer1_2[35]);
obj = { entryPoint: outer1_0(outer1_2[36]).AgeVerificationModalEntryPoint.FAMILY_CENTER_CONNECTION };
2026-07-20 16:05:17 +00:00
const result = obj.showAgeVerificationGetStartedModal(obj);
}, []);
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
2026-07-25 08:10:48 +00:00
obj.title = intl.string(importDefault(2199).BQFHXW);
2026-07-23 10:11:24 +00:00
const intl2 = require(1212) /* getSystemLocale */.intl;
2026-07-25 08:10:48 +00:00
obj.description = intl2.format(importDefault(2199).WDjaKn, { link: { onClick: callback } });
2026-07-20 16:05:17 +00:00
obj = {};
2026-07-23 10:11:24 +00:00
const intl3 = require(1212) /* getSystemLocale */.intl;
obj.text = intl3.string(require(1212) /* getSystemLocale */.t["NX+WJN"]);
2026-07-25 08:10:48 +00:00
obj.onPress = importDefault(4338).pop;
2026-07-20 16:05:17 +00:00
obj.primaryButton = obj;
return callback(FamilyCenterPrereqScreen, obj);
}
2026-07-23 10:11:24 +00:00
({ Image: closure_5, View: closure_6 } = get_ActivityIndicator);
({ FAMILY_CENTER_AGE_VERIFICATION_RESUME_TIMEOUT: closure_8, FAMILY_CENTER_LINK_REQUEST_ERROR_EXPERIENCES: closure_9, FamilyCenterFailureCode: closure_10, FamilyCenterIconType: closure_11 } = items);
({ jsx: closure_12, jsxs: closure_13, Fragment: closure_14 } = jsxProd);
_createForOfIteratorHelperLoose = {};
_createForOfIteratorHelperLoose = { marginTop: require("_createForOfIteratorHelperLoose").space.PX_16, marginBottom: require("_createForOfIteratorHelperLoose").space.PX_16 };
_createForOfIteratorHelperLoose.headerText = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose.art = { width: 165, height: 119 };
_createForOfIteratorHelperLoose.connectionHeader = { alignItems: "center", marginBottom: require("_createForOfIteratorHelperLoose").space.PX_16 };
let obj2 = { flexDirection: "row", alignItems: "center", justifyContent: "center", alignSelf: "center", padding: require("_createForOfIteratorHelperLoose").space.PX_8, backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_SURFACE_HIGH, borderRadius: require("_createForOfIteratorHelperLoose").radii.round, marginBottom: require("_createForOfIteratorHelperLoose").space.PX_24 };
_createForOfIteratorHelperLoose.headerIcons = obj2;
let obj1 = { alignItems: "center", marginBottom: require("_createForOfIteratorHelperLoose").space.PX_16 };
_createForOfIteratorHelperLoose.ellipseGroup = { flexDirection: "row", marginHorizontal: require("_createForOfIteratorHelperLoose").space.PX_12 };
let obj4 = { width: 4, height: 4, marginHorizontal: 2, backgroundColor: require("_createForOfIteratorHelperLoose").colors.ICON_MUTED, borderRadius: require("_createForOfIteratorHelperLoose").radii.round };
_createForOfIteratorHelperLoose.ellipse = obj4;
_createForOfIteratorHelperLoose.title = { textAlign: "center" };
let obj3 = { flexDirection: "row", marginHorizontal: require("_createForOfIteratorHelperLoose").space.PX_12 };
_createForOfIteratorHelperLoose.teenName = { marginTop: require("_createForOfIteratorHelperLoose").space.PX_4, textAlign: "center" };
let obj5 = { marginTop: require("_createForOfIteratorHelperLoose").space.PX_4, textAlign: "center" };
_createForOfIteratorHelperLoose.consent = { marginTop: require("_createForOfIteratorHelperLoose").space.PX_8, textAlign: "center", paddingHorizontal: require("_createForOfIteratorHelperLoose").space.PX_16 };
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
let obj7 = {};
let obj8 = { flex: 1, flexDirection: "column", alignItems: "center", justifyContent: "center", paddingHorizontal: require("_createForOfIteratorHelperLoose").space.PX_16 };
2026-07-21 06:55:02 +00:00
obj7.content = obj8;
2026-07-20 16:05:17 +00:00
obj7.textWrapper = { alignItems: "center" };
2026-07-23 10:11:24 +00:00
_createForOfIteratorHelperLoose = { marginBottom: require("_createForOfIteratorHelperLoose").space.PX_8 };
obj7.header = _createForOfIteratorHelperLoose;
2026-07-20 16:05:17 +00:00
obj7.description = { textAlign: "center" };
2026-07-23 10:11:24 +00:00
let obj10 = { position: "absolute", bottom: "100%", left: 0, right: 0, alignItems: "center", paddingBottom: require("_createForOfIteratorHelperLoose").space.PX_24 };
obj7.illustration = obj10;
let closure_16 = _createForOfIteratorHelperLoose.createStyles(obj7);
let obj11 = { header: { marginBottom: 8, textAlign: "center" }, description: { textAlign: "center" } };
let obj12 = { display: "flex", justifyContent: "center", alignItems: "center", height: 64, width: 64, borderRadius: require("_createForOfIteratorHelperLoose").radii.round, backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_SURFACE_HIGH, marginBottom: 24 };
2026-07-21 22:01:30 +00:00
obj11.ring = obj12;
2026-07-23 10:11:24 +00:00
let obj13 = { display: "flex", justifyContent: "center", alignItems: "center", height: 48, width: 48, borderRadius: require("_createForOfIteratorHelperLoose").radii.round, backgroundColor: require("_createForOfIteratorHelperLoose").colors.STATUS_POSITIVE };
obj11.iconContainer = obj13;
_createForOfIteratorHelperLoose = { backgroundColor: require("_createForOfIteratorHelperLoose").colors.STATUS_POSITIVE };
obj11.positive = _createForOfIteratorHelperLoose;
let obj6 = { marginTop: require("_createForOfIteratorHelperLoose").space.PX_8, textAlign: "center", paddingHorizontal: require("_createForOfIteratorHelperLoose").space.PX_16 };
obj11.negative = { backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_FEEDBACK_CRITICAL };
let closure_17 = _createForOfIteratorHelperLoose.createStyles(obj11);
let closure_18 = _createForOfIteratorHelperLoose.createStyles({ container: { flex: 1, justifyContent: "center", alignItems: "center" } });
let obj16 = { content: { flex: 1, flexDirection: "column", alignItems: "center", justifyContent: "center", paddingHorizontal: 32 } };
let obj15 = { backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_FEEDBACK_CRITICAL };
obj16.title = { textAlign: "center", marginBottom: require("_createForOfIteratorHelperLoose").space.PX_8 };
2026-07-20 16:05:17 +00:00
obj16.description = { textAlign: "center" };
2026-07-23 10:11:24 +00:00
let closure_19 = _createForOfIteratorHelperLoose.createStyles(obj16);
let obj18 = { content: { flex: 1, flexDirection: "column", alignItems: "center", justifyContent: "center", paddingHorizontal: 32 } };
let obj17 = { textAlign: "center", marginBottom: require("_createForOfIteratorHelperLoose").space.PX_8 };
obj18.art = { marginBottom: require("_createForOfIteratorHelperLoose").space.PX_24 };
_createForOfIteratorHelperLoose = { textAlign: "center", marginBottom: require("_createForOfIteratorHelperLoose").space.PX_8 };
obj18.title = _createForOfIteratorHelperLoose;
2026-07-20 16:05:17 +00:00
obj18.description = { textAlign: "center" };
2026-07-23 10:11:24 +00:00
let closure_20 = _createForOfIteratorHelperLoose.createStyles(obj18);
_createForOfIteratorHelperLoose = { headerShown: true };
2026-07-25 08:10:48 +00:00
_createForOfIteratorHelperLoose.headerLeft = HeaderBackImage.getHeaderCloseButton(require("module_4338").pop);
2026-07-23 10:11:24 +00:00
_createForOfIteratorHelperLoose.headerTitle = function headerTitle() {
2026-07-20 16:05:17 +00:00
return null;
};
2026-07-23 10:11:24 +00:00
let obj19 = { marginBottom: require("_createForOfIteratorHelperLoose").space.PX_24 };
let result = require("get ActivityIndicator").fileFinishedImporting("modules/parent_tools/native/FamilyCenterModalRequest.tsx");
2026-07-20 16:05:17 +00:00
export default function FamilyCenterRequestModal(userId) {
userId = userId.userId;
const linkCode = userId.linkCode;
2026-07-27 11:26:19 +00:00
const FamilyCenterConnectionPrereqExperiment = userId(11059).FamilyCenterConnectionPrereqExperiment;
2026-07-20 16:05:17 +00:00
const items = [linkCode, userId];
2026-07-23 10:11:24 +00:00
const memo = React.useMemo(() => (function getScreens(userId, linkCode) {
let closure_0 = userId;
let closure_1 = linkCode;
2026-07-20 16:05:17 +00:00
let obj = {};
obj = {};
2026-07-23 10:11:24 +00:00
const merged = Object.assign(outer2_21);
2026-07-20 16:05:17 +00:00
obj["render"] = function render() {
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_25, { userId: closure_0, linkCode: closure_1 });
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.PREREQ_LOADING] = obj;
2026-07-20 16:05:17 +00:00
obj = {};
2026-07-23 10:11:24 +00:00
const merged1 = Object.assign(outer2_21);
2026-07-20 16:05:17 +00:00
obj["render"] = function render(teenIdentity) {
const obj = {};
teenIdentity = undefined;
if (null != teenIdentity) {
teenIdentity = teenIdentity.teenIdentity;
}
obj.teenIdentity = teenIdentity;
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_28, obj);
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.CONFIRM_AGE] = obj;
2026-07-20 16:05:17 +00:00
const obj1 = {};
2026-07-23 10:11:24 +00:00
const merged2 = Object.assign(outer2_21);
2026-07-20 16:05:17 +00:00
obj1["render"] = function render() {
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_29, {});
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.VERIFYING] = obj1;
2026-07-20 16:05:17 +00:00
const obj2 = {};
2026-07-23 10:11:24 +00:00
let obj5 = userId(outer2_2[38]);
obj2.headerLeft = obj5.getHeaderCloseButton(linkCode(outer2_2[26]).pop);
2026-07-20 16:05:17 +00:00
obj2.headerShown = true;
obj2.headerTitle = function headerTitle() {
return null;
};
obj2.render = function render(teenIdentity) {
2026-07-23 10:11:24 +00:00
const obj = { userId: closure_0, linkCode: closure_1 };
2026-07-20 16:05:17 +00:00
teenIdentity = undefined;
if (null != teenIdentity) {
teenIdentity = teenIdentity.teenIdentity;
}
obj.teenIdentity = teenIdentity;
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_22, obj);
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.REQUEST] = obj2;
2026-07-20 16:05:17 +00:00
const obj3 = {};
2026-07-23 10:11:24 +00:00
const merged3 = Object.assign(outer2_21);
2026-07-20 16:05:17 +00:00
obj3["render"] = function render() {
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_30, {});
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.INVALID_CODE] = obj3;
2026-07-20 16:05:17 +00:00
const obj4 = {};
2026-07-23 10:11:24 +00:00
const merged4 = Object.assign(outer2_21);
2026-07-20 16:05:17 +00:00
obj4["render"] = function render() {
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_31, {});
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.MUST_BE_ADULT] = obj4;
2026-07-20 16:05:17 +00:00
obj5 = {
headerShown: true,
2026-07-23 10:11:24 +00:00
headerLeft: userId(outer2_2[38]).getHeaderCloseButton(linkCode(outer2_2[26]).pop),
2026-07-20 16:05:17 +00:00
headerTitle() {
return null;
},
render() {
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_23, {});
2026-07-20 16:05:17 +00:00
}
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.SENT] = obj5;
2026-07-20 16:05:17 +00:00
const obj6 = { headerShown: true };
2026-07-23 10:11:24 +00:00
const obj10 = userId(outer2_2[38]);
obj6.headerLeft = userId(outer2_2[38]).getHeaderCloseButton(linkCode(outer2_2[26]).pop);
2026-07-20 16:05:17 +00:00
obj6.headerTitle = function headerTitle() {
return null;
};
obj6.render = function render(failureCode) {
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_24, { failureCode: failureCode.failureCode });
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.ERROR] = obj6;
2026-07-20 16:05:17 +00:00
const obj7 = { fullscreen: true };
2026-07-23 10:11:24 +00:00
const obj12 = userId(outer2_2[38]);
obj7.headerLeft = userId(outer2_2[38]).getHeaderCloseButton(linkCode(outer2_2[26]).pop);
2026-07-20 16:05:17 +00:00
obj7.render = function render() {
2026-07-23 10:11:24 +00:00
return outer3_12(outer3_24, { failureCode: outer3_10.INELIGIBLE_FOR_FAMILY_CENTER });
2026-07-20 16:05:17 +00:00
};
2026-07-23 10:11:24 +00:00
obj[userId(outer2_2[11]).FamilyCenterModalRequestSections.TEEN_SCAN] = obj7;
2026-07-20 16:05:17 +00:00
return obj;
2026-07-23 10:11:24 +00:00
})(userId, linkCode), items);
2026-07-27 11:26:19 +00:00
const FamilyCenterModalRequestSections = userId(11047).FamilyCenterModalRequestSections;
2026-07-20 16:05:17 +00:00
if (FamilyCenterConnectionPrereqExperiment.useConfig({ location: "FamilyCenterRequestModal" }).enabled) {
let PREREQ_LOADING = FamilyCenterModalRequestSections.PREREQ_LOADING;
} else {
PREREQ_LOADING = tmp ? FamilyCenterModalRequestSections.REQUEST : FamilyCenterModalRequestSections.TEEN_SCAN;
}
2026-07-23 10:11:24 +00:00
let obj = { initialRouteName: PREREQ_LOADING, screens: memo };
const intl = userId(1212).intl;
obj.headerBackTitle = intl.string(userId(1212).t["13/7kX"]);
2026-07-27 11:26:19 +00:00
return callback(userId(11060).Modal, obj);
2026-07-20 16:05:17 +00:00
};
export { FamilyCenterModalRequestConfirm };
export { FamilyCenterModalRequestSuccess };
export { FamilyCenterModalRequestError };