decord/source/modules/webauthn/native/WebAuthnScreens.tsx

82 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 13774
// Function ID: 13775
2026-07-20 16:05:17 +00:00
// Name: getScreens
2026-07-31 08:44:05 +00:00
// Dependencies: [13771, 21, 13775, 1236, 13782, 5147, 13777, 13787, 13788, 13791, 13792, 2]
2026-07-20 16:05:17 +00:00
// Exports: getScreens
2026-07-31 08:44:05 +00:00
// Module 13774 (getScreens)
2026-07-23 10:11:24 +00:00
import { WebAuthnScreens } from "WebAuthnScreens";
import { jsx } from "jsxProd";
const result = require("PasskeyUpsellView").fileFinishedImporting("modules/webauthn/native/WebAuthnScreens.tsx");
2026-07-20 16:05:17 +00:00
export const getScreens = function getScreens(isModal) {
isModal = isModal.isModal;
2026-07-23 10:11:24 +00:00
obj = { [closure_3.MODAL_UPSELL]: obj };
2026-07-20 16:05:17 +00:00
obj = {
title: "",
render() {
2026-07-31 08:44:05 +00:00
return callback2(callback(13775), {});
2026-07-20 16:05:17 +00:00
}
};
2026-07-29 08:29:29 +00:00
obj = { title: null, render: null, headerLeft: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj[0] = intl.string(require(1236) /* getSystemLocale */.t["0N1s81"]);
obj[1] = function render() {
2026-07-31 08:44:05 +00:00
return callback2(callback(13782), {});
2026-07-20 16:05:17 +00:00
};
let headerCloseButton;
if (isModal) {
2026-07-31 08:44:05 +00:00
let tmp2Result = tmp2(5147);
headerCloseButton = tmp2Result.getHeaderCloseButton(importDefault(13777).closePasskeyUpsellModal);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[2] = headerCloseButton;
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.INIT] = obj;
const obj1 = {
render(arg0) {
const merged = Object.assign(arg0);
2026-07-31 08:44:05 +00:00
return callback2(callback(13787), {});
2026-07-29 08:29:29 +00:00
},
title: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const intl2 = tmp2(1236).intl;
obj1[1] = intl2.string(require(1236) /* getSystemLocale */.t.UBBwwF);
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.EDIT] = obj1;
const obj2 = {
render() {
2026-07-31 08:44:05 +00:00
return callback2(callback(13788), {});
2026-07-29 08:29:29 +00:00
},
title: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const intl3 = tmp2(1236).intl;
obj2[1] = intl3.string(require(1236) /* getSystemLocale */.t.vrOCCk);
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.REGISTER] = obj2;
2026-07-29 08:29:29 +00:00
const obj3 = {
2026-07-20 16:05:17 +00:00
render(arg0) {
const merged = Object.assign(arg0);
2026-07-31 08:44:05 +00:00
return callback2(callback(13791), {});
2026-07-29 08:29:29 +00:00
},
title: null,
headerLeft: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const intl4 = tmp2(1236).intl;
obj3[1] = intl4.string(require(1236) /* getSystemLocale */.t["cY/IOu"]);
2026-07-20 16:05:17 +00:00
let headerCloseButton1;
if (isModal) {
2026-07-31 08:44:05 +00:00
tmp2Result = tmp2(5147);
headerCloseButton1 = tmp2Result.getHeaderCloseButton(importDefault(13777).closePasskeyUpsellModal);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj3[2] = headerCloseButton1;
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.NAME] = obj3;
const obj4 = {
render() {
2026-07-31 08:44:05 +00:00
return callback2(callback(13792), {});
2026-07-29 08:29:29 +00:00
},
title: null
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const intl5 = tmp2(1236).intl;
obj4[1] = intl5.string(require(1236) /* getSystemLocale */.t["7wPZln"]);
2026-07-20 16:05:17 +00:00
obj[WebAuthnScreens.SUCCESS] = obj4;
return obj;
};