447 lines
21 KiB
TypeScript
447 lines
21 KiB
TypeScript
// Module ID: 11811
|
|
// Function ID: 11812
|
|
// Name: ClassificationHeader
|
|
// Dependencies: [19, 17, 1995, 8360, 8349, 673, 21, 4481, 709, 4477, 8350, 1233, 586, 8980, 4190, 9331, 4936, 11812, 11814, 8359, 8343, 695, 11815, 7535, 7540, 11817, 7063, 11822, 8348, 2]
|
|
// Exports: default
|
|
|
|
// Module 11811 (ClassificationHeader)
|
|
import initialize from "initialize" /* 586 */;
|
|
import ThemesDefault from "Themes" /* 709 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1233 */;
|
|
import Text from "Text" /* 4477 */;
|
|
import Button from "Button" /* 4936 */;
|
|
import renderDefault from "render" /* 8980 */;
|
|
import closure_3 from "noop" /* 19 */;
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
import closure_7 from "_getSystemLocale" /* 1995 */;
|
|
import closure_8 from "handleSafetyHubRequestAgeVerificationResetModalAction" /* 8360 */;
|
|
import SafetyHubView from "SafetyHubView" /* 8349 */;
|
|
import { AnalyticEvents } from "ME" /* 673 */;
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4481 */;
|
|
|
|
require = arg1;
|
|
function ClassificationHeader(classificationTypeText) {
|
|
classificationTypeText = classificationTypeText.classificationTypeText;
|
|
const guildMetadata = classificationTypeText.guildMetadata;
|
|
const tmp = callback3();
|
|
const items = [classificationTypeText, guildMetadata];
|
|
let obj = { style: tmp.header, children: null };
|
|
const memo = React.useMemo(() => {
|
|
let name = {
|
|
classification_type: classificationTypeText,
|
|
classificationHook(children) {
|
|
return callback2(callback(table[9]).Text, { variant: "heading-xl/bold", children }, arg1);
|
|
}
|
|
};
|
|
let tmp3 = null;
|
|
if (null != guildMetadata) {
|
|
let member_type;
|
|
if (tmp2 != tmp3) {
|
|
member_type = tmp2.member_type;
|
|
}
|
|
let X1ngSd = classificationTypeText;
|
|
name = closure_1_2;
|
|
if (member_type === classificationTypeText(closure_1_2[10]).MemberType.OWNER) {
|
|
const intl3 = X1ngSd(name[11]).intl;
|
|
X1ngSd = X1ngSd(name[11]).t.X1ngSd;
|
|
name = {};
|
|
const merged = Object.assign(name);
|
|
tmp3 = tmp2 == tmp3;
|
|
name = undefined;
|
|
if (!tmp3) {
|
|
name = tmp2.name;
|
|
}
|
|
name.guildName = name;
|
|
let formatResult = intl3.format(X1ngSd, name);
|
|
} else {
|
|
const intl2 = X1ngSd(name[11]).intl;
|
|
const obj = {};
|
|
const merged1 = Object.assign(name);
|
|
name = undefined;
|
|
if (tmp2 != tmp3) {
|
|
name = tmp2.name;
|
|
}
|
|
obj.guildName = name;
|
|
formatResult = intl2.format(X1ngSd(name[11]).t.rmpEPD, obj);
|
|
}
|
|
} else {
|
|
const intl = classificationTypeText(closure_1_2[11]).intl;
|
|
return intl.format(classificationTypeText(closure_1_2[11]).t["39jfOz"], name);
|
|
}
|
|
}, items);
|
|
obj = { variant: "text-lg/normal", style: tmp.headerText, color: "mobile-text-heading-primary", children: memo };
|
|
obj[1] = callback(classificationTypeText(4477).Text, obj);
|
|
return callback(closure_4, obj);
|
|
}
|
|
function ClassificationActionsTaken(arg0) {
|
|
({ actions, classificationExpiration } = arg0);
|
|
let obj = initialize;
|
|
const items = [closure_7];
|
|
const stateFromStores = obj.useStateFromStores(items, () => locale.locale);
|
|
const tmp4 = callback3();
|
|
const found = actions.filter((descriptions) => descriptions.descriptions.length > 0);
|
|
if (0 !== found.length) {
|
|
obj = { style: null, children: null };
|
|
obj[0] = tmp4.sectionContainer;
|
|
obj = { variant: "eyebrow", color: "text-muted", children: null };
|
|
const intl = tmp(1233).intl;
|
|
obj[2] = intl.string(tmp(1233).t["O2nYk+"]);
|
|
const items1 = [callback(tmp(4477).Text, obj), ];
|
|
obj1 = { style: null, children: null };
|
|
const items2 = [tmp4.actionsTaken];
|
|
obj1[0] = items2;
|
|
const items3 = [found.map((action) => callback(closure_19, { action }, action.id)), ];
|
|
let tmp6Result = null;
|
|
if (null != classificationExpiration) {
|
|
const obj2 = { style: null, children: null };
|
|
obj2[0] = tmp4.classificationActionDescription;
|
|
const obj3 = { variant: "text-xs/normal", children: null };
|
|
obj3[1] = [" ", "\u2022"];
|
|
const items4 = [tmp6(tmp(4477).Text, obj3), ];
|
|
const obj4 = { variant: "text-xs/normal", children: null };
|
|
const intl2 = tmp(1233).intl;
|
|
const obj5 = { expirationDate: null };
|
|
obj5[0] = classificationExpiration.toLocaleDateString(stateFromStores, { dateStyle: "medium" });
|
|
obj4[1] = intl2.format(tmp(1233).t.TByIjT, obj5);
|
|
items4[1] = tmp8(tmp(4477).Text, obj4);
|
|
obj2[1] = items4;
|
|
tmp6Result = tmp6(tmp7, obj2, "expiration");
|
|
}
|
|
items3[1] = tmp6Result;
|
|
obj1[1] = items3;
|
|
items1[1] = closure_14(closure_4, obj1);
|
|
obj[1] = items1;
|
|
tmp6Result = tmp6(tmp7, obj);
|
|
tmp8 = callback;
|
|
} else {
|
|
tmp6Result = null;
|
|
}
|
|
return tmp6Result;
|
|
}
|
|
function ClassificationActionsTakenRows(action) {
|
|
closure_0 = callback3();
|
|
const descriptions = action.action.descriptions;
|
|
return callback(closure_15, {
|
|
children: descriptions.map((children) => {
|
|
let obj = { style: lib.classificationActionDescription, children: null };
|
|
const items = [closure_1_14(lib(closure_1_2[9]).Text, { variant: "text-xs/normal", children: [" ", "\u2022"] }), ];
|
|
obj = { variant: "text-xs/normal", children };
|
|
items[1] = closure_1_13(lib(closure_1_2[9]).Text, obj);
|
|
obj[1] = items;
|
|
return closure_1_14(closure_1_4, obj, arg1);
|
|
})
|
|
});
|
|
}
|
|
function ClassificationGuidance(hidePolicyCard) {
|
|
hidePolicyCard = hidePolicyCard.hidePolicyCard;
|
|
let tmp = undefined !== hidePolicyCard;
|
|
({ tosLink, communityGuidelinesLink, classificationTypeText, policyExplainerLink, appealComponent } = hidePolicyCard);
|
|
if (tmp) {
|
|
tmp = hidePolicyCard;
|
|
}
|
|
let obj = { style: callback3().sectionContainer, children: null };
|
|
obj = { variant: "eyebrow", color: "text-muted", children: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[2] = intl.string(getSystemLocale.t["977iei"]);
|
|
const items = [callback(Text.Text, obj), , , ];
|
|
obj = { variant: "text-sm/normal", children: null };
|
|
const intl2 = getSystemLocale.intl;
|
|
obj[1] = intl2.format(getSystemLocale.t["1Z/+aA"], { tosLink, communityGuidelinesLink });
|
|
items[1] = callback(Text.Text, obj);
|
|
let tmp4Result = !tmp;
|
|
if (!tmp) {
|
|
obj1 = { classificationTypeText: null, policyExplainerLink: null };
|
|
obj1[0] = classificationTypeText;
|
|
obj1[1] = policyExplainerLink;
|
|
tmp4Result = callback(ClassificationPolicyCard, obj1);
|
|
}
|
|
items[2] = tmp4Result;
|
|
items[3] = appealComponent;
|
|
obj[1] = items;
|
|
return closure_14(closure_4, obj);
|
|
}
|
|
function ClassificationPolicyCard(classificationDescription) {
|
|
const policyExplainerLink = classificationDescription.policyExplainerLink;
|
|
const tmp = callback3();
|
|
let obj = { children: null };
|
|
obj = {
|
|
onPress() {
|
|
closure_1_1(closure_1_2[14]).openURL(policyExplainerLink);
|
|
},
|
|
style: items,
|
|
children: null
|
|
};
|
|
items = [tmp.classificationPolicyCard];
|
|
obj = { style: tmp.classificationPolicyCardIcon, children: null };
|
|
const tmp2 = renderDefault;
|
|
obj[1] = callback(policyExplainerLink(9331).ShieldIcon, { size: "sm", color: ThemesDefault.colors.TEXT_LINK });
|
|
const items1 = [callback(closure_4, obj), ];
|
|
const obj2 = { style: tmp.classificationPolicyCardContent, children: null };
|
|
const obj3 = { variant: "heading-md/semibold", color: "mobile-text-heading-primary", children: null };
|
|
const intl = policyExplainerLink(1233).intl;
|
|
obj3[2] = intl.format(policyExplainerLink(1233).t.zxUdpj, { classificationDescription: classificationDescription.classificationTypeText });
|
|
obj2[1] = callback(policyExplainerLink(4477).Text, obj3);
|
|
items1[1] = callback(closure_4, obj2);
|
|
obj[2] = items1;
|
|
obj[0] = callback2(tmp2, obj);
|
|
return callback(closure_4, obj);
|
|
}
|
|
function AppealStatus() {
|
|
const obj = { variant: "text-md/normal", color: "text-muted", children: null };
|
|
const intl = getSystemLocale.intl;
|
|
obj[2] = intl.string(getSystemLocale.t["I2H0/E"]);
|
|
return callback(Text.Text, obj);
|
|
}
|
|
function LetUsKnow(arg0) {
|
|
const _require = arg0;
|
|
let obj = { variant: "text-sm/normal", color: "text-muted", children: null };
|
|
const intl = _require(1233).intl;
|
|
obj = {
|
|
letUsKnowHook(children) {
|
|
return closure_1_13(lib(closure_1_2[9]).Text, { onPress: lib.onPressLetUsKnow, variant: "text-sm/normal", color: "text-link", children }, arg1);
|
|
}
|
|
};
|
|
obj[2] = intl.format(_require(1233).t.IFxUaT, obj);
|
|
return callback(_require(4477).Text, obj);
|
|
}
|
|
function AppealFooter(hasBeenAppealed) {
|
|
let obj = { style: callback3().letUsKnowContainer, children: null };
|
|
if (hasBeenAppealed.hasBeenAppealed) {
|
|
let tmpResult = tmp(AppealStatus, {});
|
|
} else {
|
|
obj = { onPressLetUsKnow: null };
|
|
obj[0] = hasBeenAppealed.onPressLetUsKnow;
|
|
tmpResult = tmp(LetUsKnow, obj);
|
|
}
|
|
obj[1] = tmpResult;
|
|
return closure_13(closure_4, obj);
|
|
}
|
|
function ExpressiveModalV2AppealFooter(arg0) {
|
|
const _require = arg0;
|
|
const tmp = callback3();
|
|
let obj = { style: tmp.expressiveModalV2LetUsKnowContainer, children: null };
|
|
obj = { variant: "text-sm/normal", color: "text-muted", style: tmp.expressiveModalV2LetUsKnowText, children: null };
|
|
const intl = _require(1233).intl;
|
|
obj = {
|
|
letUsKnowHook(children) {
|
|
return closure_1_13(lib(closure_1_2[9]).Text, { onPress: lib.onPressLetUsKnow, variant: "text-sm/normal", color: "text-link", children }, arg1);
|
|
}
|
|
};
|
|
obj[3] = intl.format(_require(1233).t.LeAhOQ, obj);
|
|
obj[1] = callback(_require(4477).Text, obj);
|
|
return callback(closure_4, obj);
|
|
}
|
|
function ClassificationDetailFooter(onClose) {
|
|
let obj = { style: callback3().redirectButtonWrapper, children: null };
|
|
obj = { size: "md", text: null, onPress: null, grow: true };
|
|
const intl = getSystemLocale.intl;
|
|
obj[1] = intl.string(getSystemLocale.t.elrEjL);
|
|
obj[2] = onClose.onClose;
|
|
obj[1] = callback(Button.Button, obj);
|
|
return callback(closure_4, obj);
|
|
}
|
|
({ View: c4, ActivityIndicator: c5, ScrollView: closure_6 } = get_ActivityIndicator);
|
|
({ SafetyHubAnalyticsActionSource: c9, SafetyHubAnalyticsActions: c10, SafetyHubLinks: unpackModuleId } = SafetyHubView);
|
|
({ jsx: map1, jsxs: closure_14, Fragment: closure_15 } = jsxProd);
|
|
createCacheKey = { root: null, container: null, header: null, headerText: null, sectionContainer: null, actionsTaken: null, classificationDetailContainer: null, letUsKnowContainer: null, expressiveModalV2LetUsKnowContainer: null, expressiveModalV2LetUsKnowText: null, classificationPolicyCard: null, classificationPolicyCardIcon: null, classificationPolicyCardContent: null, classificationActionDescription: null, redirectButtonWrapper: null };
|
|
createCacheKey = { backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOWER };
|
|
createCacheKey[0] = createCacheKey;
|
|
createCacheKey[1] = { display: "flex", flexDirection: "column", height: "100%", paddingTop: ThemesDefault.space.PX_16, paddingHorizontal: ThemesDefault.space.PX_16, gap: ThemesDefault.space.PX_32 };
|
|
let obj1 = { display: "flex", flexDirection: "column", height: "100%", paddingTop: ThemesDefault.space.PX_16, paddingHorizontal: ThemesDefault.space.PX_16, gap: ThemesDefault.space.PX_32 };
|
|
createCacheKey[2] = { display: "flex", textAlign: "center", alignItems: "center", flexDirection: "column", gap: ThemesDefault.space.PX_8, marginBottom: ThemesDefault.space.PX_8 };
|
|
createCacheKey[3] = { textAlign: "center", maxWidth: 260 };
|
|
let obj2 = { display: "flex", textAlign: "center", alignItems: "center", flexDirection: "column", gap: ThemesDefault.space.PX_8, marginBottom: ThemesDefault.space.PX_8 };
|
|
createCacheKey[4] = { display: "flex", gap: ThemesDefault.space.PX_8 };
|
|
let obj3 = { display: "flex", gap: ThemesDefault.space.PX_8 };
|
|
createCacheKey[5] = { display: "flex", paddingLeft: ThemesDefault.space.PX_4, flexDirection: "column", gap: ThemesDefault.space.PX_8 };
|
|
let obj4 = { display: "flex", paddingLeft: ThemesDefault.space.PX_4, flexDirection: "column", gap: ThemesDefault.space.PX_8 };
|
|
createCacheKey[6] = { display: "flex", flexDirection: "column", gap: ThemesDefault.space.PX_32 };
|
|
createCacheKey[7] = { display: "flex", alignItems: "center" };
|
|
let obj5 = { display: "flex", flexDirection: "column", gap: ThemesDefault.space.PX_32 };
|
|
createCacheKey[8] = { display: "flex", alignItems: "center", marginTop: ThemesDefault.space.PX_16 };
|
|
createCacheKey[9] = { textAlign: "center" };
|
|
let obj6 = { display: "flex", alignItems: "center", marginTop: ThemesDefault.space.PX_16 };
|
|
createCacheKey[10] = { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: ThemesDefault.space.PX_12, padding: ThemesDefault.space.PX_12, marginTop: ThemesDefault.space.PX_4, flexShrink: 1, backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOWEST };
|
|
let obj7 = { display: "flex", flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: ThemesDefault.space.PX_12, padding: ThemesDefault.space.PX_12, marginTop: ThemesDefault.space.PX_4, flexShrink: 1, backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOWEST };
|
|
createCacheKey[11] = { display: "flex", alignItems: "center", justifyContent: "center", backgroundColor: ThemesDefault.colors.BACKGROUND_MOD_STRONG, width: 32, height: 32, borderRadius: ThemesDefault.radii.xxl };
|
|
createCacheKey[12] = { flex: 1 };
|
|
let obj8 = { display: "flex", alignItems: "center", justifyContent: "center", backgroundColor: ThemesDefault.colors.BACKGROUND_MOD_STRONG, width: 32, height: 32, borderRadius: ThemesDefault.radii.xxl };
|
|
createCacheKey[13] = { display: "flex", flexDirection: "row", gap: ThemesDefault.space.PX_8 };
|
|
let obj9 = { display: "flex", flexDirection: "row", gap: ThemesDefault.space.PX_8 };
|
|
createCacheKey[14] = { width: 300, alignSelf: "center", marginTop: ThemesDefault.space.PX_32 };
|
|
let closure_16 = createCacheKey.createStyles(createCacheKey);
|
|
const obj10 = { width: 300, alignSelf: "center", marginTop: ThemesDefault.space.PX_32 };
|
|
const result = require("set").fileFinishedImporting("modules/safety_hub/native/ClassificationDetail.tsx");
|
|
|
|
export default function ConnectedClassificationDetail(classificationId) {
|
|
classificationId = classificationId.classificationId;
|
|
const source = classificationId.source;
|
|
const onClose = classificationId.onClose;
|
|
let obj = classificationId(onClose[17]);
|
|
const safetyHubClassification = obj.useSafetyHubClassification(classificationId);
|
|
const classification = safetyHubClassification.classification;
|
|
const isAppealEligible = safetyHubClassification.isAppealEligible;
|
|
const tmp4 = callback3();
|
|
obj1 = classificationId(onClose[12]);
|
|
let items = [hasItem];
|
|
const stateFromStores = obj1.useStateFromStores(items, () => hasItem.getAppealEligibility());
|
|
let flagged_content;
|
|
if (classification != null) {
|
|
flagged_content = classification.flagged_content;
|
|
}
|
|
let tmp6 = null != flagged_content;
|
|
if (tmp6) {
|
|
let length;
|
|
if (classification != null) {
|
|
length = classification.flagged_content.length;
|
|
}
|
|
tmp6 = length > 0;
|
|
}
|
|
closure_6 = tmp6;
|
|
let tmpResult = tmp(tmp2[18]);
|
|
const safetyHubAccountStanding = tmpResult.useSafetyHubAccountStanding();
|
|
let is_coppa;
|
|
if (classification != null) {
|
|
is_coppa = classification.is_coppa;
|
|
}
|
|
hasItem = is_coppa;
|
|
if (hasItem) {
|
|
hasItem = stateFromStores.includes(tmp(tmp2[10]).AppealEligibility.AGE_VERIFY_ELIGIBLE);
|
|
}
|
|
let is_coppa1;
|
|
if (classification != null) {
|
|
is_coppa1 = classification.is_coppa;
|
|
}
|
|
let hasItem1 = is_coppa1;
|
|
if (hasItem1) {
|
|
hasItem1 = stateFromStores.includes(tmp(tmp2[10]).AppealEligibility.AGE_VERIFY_GLOBAL_ELIGIBLE);
|
|
}
|
|
tmpResult = tmp(tmp2[19]);
|
|
if (hasItem1) {
|
|
hasItem1 = tmpResult.useIsExpressiveModalV2Enabled(tmp(tmp2[20]).AgeVerificationModalEntryPoint.AUTOMATED_UNDERAGE_APPEALS);
|
|
}
|
|
obj = { accountStanding: safetyHubAccountStanding, classificationId, classificationState: safetyHubClassification, hasFlaggedContent: tmp6, source };
|
|
closure_11 = safetyHubClassification.useRef(obj);
|
|
const effect = safetyHubClassification.useEffect(() => {
|
|
closure_11.current = obj;
|
|
});
|
|
const items1 = [classification];
|
|
const effect1 = safetyHubClassification.useEffect(() => {
|
|
if (null != classification) {
|
|
const current = ref.current;
|
|
({ classificationState, source } = current);
|
|
({ accountStanding, classificationId, hasFlaggedContent } = current);
|
|
obj = source(onClose[21]);
|
|
obj = { action: null, account_standing: null, classification_ids: null, source: null, is_violative_content_shown: null, is_dsa_eligible: null, violation_type: null };
|
|
obj[0] = obj.ViewViolationDetail;
|
|
obj[1] = accountStanding.state;
|
|
const _Number = Number;
|
|
const items = [Number(classificationId)];
|
|
obj[2] = items;
|
|
if (source == null) {
|
|
source = hasItem1.SystemDM;
|
|
}
|
|
obj[3] = source;
|
|
obj[4] = hasFlaggedContent;
|
|
({ isDsaEligible: obj2[5], violationType: obj2[6] } = classificationState);
|
|
obj.track(closure_1_12.SAFETY_HUB_ACTION, obj);
|
|
}
|
|
}, items1);
|
|
if (null == classification) {
|
|
if (safetyHubClassification.classificationRequestState === tmp(tmp2[10]).ClassificationRequestState.FAILED) {
|
|
classificationId.onError();
|
|
let tmp15Result2 = null;
|
|
}
|
|
return tmp15Result2;
|
|
}
|
|
obj = { style: tmp4.root, children: null };
|
|
obj1 = { style: tmp4.container, bottom: true, children: null };
|
|
if (null == classification) {
|
|
let tmp29Result = tmp15(isAppealEligible, { size: "large" });
|
|
} else {
|
|
const obj2 = { style: null, children: null };
|
|
const items2 = [tmp4.classificationDetailContainer];
|
|
obj2[0] = items2;
|
|
({ description: obj17[0], guild_metadata: obj17[1] } = classification);
|
|
const items3 = [tmp15(ClassificationHeader, { classificationTypeText: null, guildMetadata: null }), , , , ];
|
|
let flagged_content1 = classification.flagged_content;
|
|
if (flagged_content1 == null) {
|
|
flagged_content1 = [];
|
|
}
|
|
function onPressLetUsKnow() {
|
|
obj = source(onClose[21]);
|
|
obj = { action: obj.ClickLetUsKnow, account_standing: safetyHubAccountStanding.state, classification_ids: null, source: null, is_violative_content_shown: null, is_dsa_eligible: null, violation_type: null };
|
|
const items = [Number(classificationId)];
|
|
obj[2] = items;
|
|
let SystemDM = source;
|
|
if (source == null) {
|
|
SystemDM = hasItem1.SystemDM;
|
|
}
|
|
obj[3] = SystemDM;
|
|
obj[4] = closure_6;
|
|
({ isDsaEligible: obj2[5], violationType: obj2[6] } = safetyHubClassification);
|
|
obj.track(closure_1_12.SAFETY_HUB_ACTION, obj);
|
|
if (hasItem1) {
|
|
let tmpResult = tmp(tmp2[22]);
|
|
tmpResult.openV2(tmp3, onClose);
|
|
} else if (hasItem) {
|
|
tmpResult = tmp(tmp2[22]);
|
|
tmpResult.open(tmp3, onClose);
|
|
} else if (isAppealEligible) {
|
|
obj = { name: null };
|
|
obj[0] = classificationId(tmp2[24]).MetricEvents.APPEAL_INGESTION_VIEW;
|
|
tmp(tmp2[23]).increment(obj);
|
|
const tmpResult1 = tmp(tmp2[23]);
|
|
obj1 = { classificationId: null };
|
|
obj1[0] = tmp3;
|
|
tmp(tmp2[25]).open(obj1);
|
|
const tmpResult2 = tmp(tmp2[25]);
|
|
} else {
|
|
tmp(tmp2[14]).openURL(ref.APPEALS_LINK);
|
|
const tmpResult3 = tmp(tmp2[14]);
|
|
}
|
|
}
|
|
const obj4 = { flaggedContent: null };
|
|
obj4[0] = flagged_content1;
|
|
items3[1] = tmp15(source(tmp2[27]), obj4);
|
|
const obj5 = { actions: null, classificationExpiration: null };
|
|
obj5[0] = classification.actions;
|
|
const obj3 = { classificationTypeText: null, guildMetadata: null };
|
|
const tmp29 = closure_14;
|
|
const tmp30 = classification;
|
|
const tmp33 = source(tmp2[27]);
|
|
obj5[1] = tmp(tmp2[28]).getClassificationExpiration(classification);
|
|
items3[2] = tmp15(ClassificationActionsTaken, obj5);
|
|
const obj6 = { appealLink: null, communityGuidelinesLink: null, tosLink: null, classificationTypeText: null, policyExplainerLink: null, hidePolicyCard: null, appealComponent: null };
|
|
({ APPEALS_LINK: obj12[0], COMMUNITY_GUIDELINES: obj12[1], TOS_LINK: obj12[2] } = closure_11);
|
|
({ description: obj12[3], explainer_link: obj12[4] } = classification);
|
|
obj6[5] = hasItem1;
|
|
if (hasItem1) {
|
|
const obj7 = { onPressLetUsKnow: null };
|
|
obj7[0] = onPressLetUsKnow;
|
|
let tmp15Result = tmp15(ExpressiveModalV2AppealFooter, obj7);
|
|
} else {
|
|
const obj8 = { hasBeenAppealed: null, onPressLetUsKnow: null };
|
|
obj8[0] = null != classification.appeal_status;
|
|
obj8[1] = onPressLetUsKnow;
|
|
tmp15Result = tmp15(AppealFooter, obj8);
|
|
}
|
|
obj6[6] = tmp15Result;
|
|
items3[3] = tmp15(ClassificationGuidance, obj6);
|
|
let tmp15Result1 = !hasItem1;
|
|
if (!hasItem1) {
|
|
const obj9 = { onClose: null };
|
|
obj9[0] = onClose;
|
|
tmp15Result1 = tmp15(ClassificationDetailFooter, obj9);
|
|
}
|
|
items3[4] = tmp15Result1;
|
|
obj2[1] = items3;
|
|
tmp29Result = tmp29(tmp30, obj2);
|
|
const tmp18 = ClassificationGuidance;
|
|
let tmpResult1 = tmp(tmp2[28]);
|
|
}
|
|
obj1[2] = tmp29Result;
|
|
obj[1] = closure_13(classificationId(onClose[26]).SafeAreaPaddingView, obj1);
|
|
tmp15Result2 = tmp15(closure_6, obj);
|
|
};
|