decord/source/modules/webauthn/native/WebAuthnScreens.tsx
2026-07-31 08:44:05 +00:00

81 lines
2.4 KiB
TypeScript

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