decord/source/modules/webauthn/native/WebAuthnScreens.tsx
2026-08-15 05:55:55 +00:00

81 lines
2.4 KiB
TypeScript

// Module ID: 14081
// Function ID: 14082
// Name: getScreens
// Dependencies: [14078, 21, 14082, 1236, 14089, 6314, 14084, 14094, 14095, 14098, 14099, 2]
// Exports: getScreens
// Module 14081 (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(14082), {});
}
};
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(14089), {});
};
let headerCloseButton;
if (isModal) {
let tmp2Result = tmp2(6314);
headerCloseButton = tmp2Result.getHeaderCloseButton(importDefault(14084).closePasskeyUpsellModal);
}
obj[2] = headerCloseButton;
obj[WebAuthnScreens.INIT] = obj;
const obj1 = {
render(arg0) {
const merged = Object.assign(arg0);
return callback2(callback(14094), {});
},
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(14095), {});
},
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(14098), {});
},
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(6314);
headerCloseButton1 = tmp2Result.getHeaderCloseButton(importDefault(14084).closePasskeyUpsellModal);
}
obj3[2] = headerCloseButton1;
obj[WebAuthnScreens.NAME] = obj3;
const obj4 = {
render() {
return callback2(callback(14099), {});
},
title: null
};
const intl5 = tmp2(1236).intl;
obj4[1] = intl5.string(require(1236) /* getSystemLocale */.t["7wPZln"]);
obj[WebAuthnScreens.SUCCESS] = obj4;
return obj;
};