2026-09-17 08:17:09 +00:00
|
|
|
// Module ID: 13988
|
|
|
|
|
// Function ID: 13989
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ActivateDeviceModal
|
2026-09-17 08:17:09 +00:00
|
|
|
// Dependencies: [19, 21, 13987, 7491, 7106, 1115, 13989, 7114, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-17 08:17:09 +00:00
|
|
|
// Module 13988 (ActivateDeviceModal)
|
|
|
|
|
import _modDef7106 from "module_7106" /* 7106 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import noop from "module_19" /* 19 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const require = fn;
|
|
|
|
|
const jsx = fn(21).jsx;
|
|
|
|
|
const constants = { ACTIVATE_DEVICE: "activate-device" };
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/activate_device/native/ActivateDeviceModal.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function ActivateDeviceModal(userCode) {
|
|
|
|
|
userCode = userCode.userCode;
|
|
|
|
|
const items = [userCode];
|
2026-09-10 05:38:07 +00:00
|
|
|
const memo = noop.useMemo(() => {
|
|
|
|
|
const prefilledUserCode = userCode;
|
2026-07-20 16:05:17 +00:00
|
|
|
function onClose() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return onClose(dependencyMap[2]).hideModal();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return {
|
2026-09-10 05:38:07 +00:00
|
|
|
[closure_2_5.ACTIVATE_DEVICE]: {
|
2026-07-20 16:05:17 +00:00
|
|
|
fullscreen: true,
|
|
|
|
|
headerTitle() {
|
|
|
|
|
return null;
|
|
|
|
|
},
|
|
|
|
|
headerLeft() {
|
2026-09-17 08:17:09 +00:00
|
|
|
const obj = { source: _modDef7106, onPress: onClose, accessibilityLabel: null };
|
2026-09-15 14:23:42 +00:00
|
|
|
const intl = userCode(1115).intl;
|
|
|
|
|
obj.accessibilityLabel = intl.string(userCode(1115).t.cpT0Cq);
|
2026-09-17 08:17:09 +00:00
|
|
|
return jsx(userCode(7491).HeaderActionButton, { source: _modDef7106, onPress: onClose, accessibilityLabel: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
headerRight() {
|
|
|
|
|
return null;
|
|
|
|
|
},
|
|
|
|
|
render() {
|
2026-09-17 08:17:09 +00:00
|
|
|
return jsx(userCode(13989).ActivateDevice, { onClose, prefilledUserCode });
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-07-29 08:29:29 +00:00
|
|
|
}, items);
|
|
|
|
|
let obj = { screens: memo, initialRouteName: constants.ACTIVATE_DEVICE, headerBackTitle: null };
|
2026-09-15 14:23:42 +00:00
|
|
|
let intl = userCode(1115).intl;
|
|
|
|
|
obj.headerBackTitle = intl.string(userCode(1115).t["13/7kX"]);
|
2026-09-17 08:17:09 +00:00
|
|
|
return jsx(userCode(7114).Navigator, { screens: memo, initialRouteName: constants.ACTIVATE_DEVICE, headerBackTitle: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|