decord/source/modules/hub/native/components/HubEmailConnectionStudentPrompt.tsx

75 lines
3.4 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 12284
// Function ID: 12285
2026-07-20 16:05:17 +00:00
// Name: HubEmailConnectionStudentPrompt
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 17, 12275, 676, 21, 4380, 5342, 712, 1500, 12283, 1297, 1236, 5473, 12285, 698, 12286, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 12284 (HubEmailConnectionStudentPrompt)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
2026-08-25 06:04:03 +00:00
import { HubEmailConnectionSteps } from "HubEmailConnectionSteps" /* 12275 */;
2026-08-24 06:08:38 +00:00
import ME from "ME" /* 676 */;
import jsxProd from "jsxProd" /* 21 */;
2026-08-25 06:04:03 +00:00
import createCacheKey from "createCacheKey" /* 4380 */;
import importDefaultResult from "createTextStyle" /* 5342 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
({ View: c3, Image: c4 } = get_ActivityIndicator);
({ AnalyticEvents: closure_6, Fonts } = ME);
2026-08-24 06:08:38 +00:00
({ jsx: error, jsxs: closure_8 } = jsxProd);
2026-07-29 08:29:29 +00:00
createCacheKey = { container: { display: "flex", alignItems: "center", justifyContent: "center", padding: 16 }, header: null, row: null };
createCacheKey = {};
2026-08-24 06:08:38 +00:00
const merged = Object.assign(importDefaultResult(Fonts.PRIMARY_BOLD, ThemesDefault.colors.MOBILE_TEXT_HEADING_PRIMARY, 24));
2026-07-29 08:29:29 +00:00
createCacheKey.textAlign = "center";
createCacheKey.marginBottom = 24;
createCacheKey[1] = createCacheKey;
2026-08-24 06:08:38 +00:00
createCacheKey[2] = { borderRadius: ThemesDefault.radii.sm, marginBottom: 8, backgroundColor: ThemesDefault.colors.BACKGROUND_SURFACE_HIGH };
let closure_9 = createCacheKey.createStyles(createCacheKey);
let obj1 = { borderRadius: ThemesDefault.radii.sm, marginBottom: 8, backgroundColor: ThemesDefault.colors.BACKGROUND_SURFACE_HIGH };
const result = require("set").fileFinishedImporting("modules/hub/native/components/HubEmailConnectionStudentPrompt.tsx");
2026-07-20 16:05:17 +00:00
export default function HubEmailConnectionStudentPrompt(onClose) {
onClose = onClose.onClose;
2026-07-23 10:11:24 +00:00
const invite = onClose.invite;
2026-08-24 06:08:38 +00:00
dependencyMap = undefined;
const tmp = callback3();
2026-08-15 05:55:55 +00:00
let obj = onClose(1500);
2026-07-29 08:29:29 +00:00
dependencyMap = obj.useNavigation();
obj = { children: null };
obj = { style: tmp.container, children: null };
2026-08-24 06:08:38 +00:00
obj1 = { style: tmp.header, children: null };
2026-07-29 08:29:29 +00:00
const intl = onClose(1236).intl;
obj1[1] = intl.string(onClose(1236).t["+/Pv0h"]);
const items = [callback(onClose(1297).LegacyText, obj1), , ];
const obj2 = { DEPRECATED_style: tmp.row, leading: null, trailing: null, label: null, subLabel: null, onPress: null };
2026-08-25 06:04:03 +00:00
const obj3 = { source: invite(12285) };
2026-07-29 08:29:29 +00:00
obj2[1] = callback(closure_4, obj3);
2026-08-25 06:04:03 +00:00
obj2[2] = invite(5473).Arrow;
2026-07-29 08:29:29 +00:00
const intl2 = onClose(1236).intl;
obj2[3] = intl2.string(onClose(1236).t["a7a/D+"]);
const intl3 = onClose(1236).intl;
obj2[4] = intl3.string(onClose(1236).t.Gsegk8);
obj2[5] = function onPress() {
2026-07-20 16:05:17 +00:00
let obj = invite(arr[14]);
2026-08-24 06:08:38 +00:00
obj.track(closure_1_6.HUB_STUDENT_PROMPT_CLICKED);
2026-07-20 16:05:17 +00:00
obj = { onClose, invite };
2026-08-24 06:08:38 +00:00
arr = arr.push(closure_1_5.VERIFY_EMAIL, obj);
2026-07-20 16:05:17 +00:00
};
2026-08-25 06:04:03 +00:00
items[1] = callback(invite(5473), obj2);
2026-07-29 08:29:29 +00:00
const obj4 = { DEPRECATED_style: tmp.row, leading: null, trailing: null, label: null, onPress: null };
const obj5 = { source: null };
2026-08-25 06:04:03 +00:00
const tmp2 = invite(5473);
obj5[0] = invite(12286);
2026-07-29 08:29:29 +00:00
obj4[1] = callback(closure_4, obj5);
2026-08-25 06:04:03 +00:00
obj4[2] = invite(5473).Arrow;
2026-07-29 08:29:29 +00:00
const intl4 = onClose(1236).intl;
obj4[3] = intl4.string(onClose(1236).t.GLG9n4);
obj4[4] = onClose;
2026-08-25 06:04:03 +00:00
items[2] = callback(invite(5473), obj4);
2026-07-29 08:29:29 +00:00
obj[1] = items;
obj[0] = callback2(closure_3, obj);
2026-08-25 06:04:03 +00:00
return callback(onClose(12283).HubEmailConnectionScreen, obj);
2026-07-20 16:05:17 +00:00
};