decord/source/modules/webauthn/native/WebAuthnScreens.tsx
2026-08-13 17:34:28 +00:00

81 lines
2.4 KiB
TypeScript

// Module ID: 14036
// Function ID: 14037
// Name: getScreens
// Dependencies: [14033, 21, 14037, 1236, 14044, 5310, 14039, 14049, 14050, 14053, 14054, 2]
// Exports: getScreens
// Module 14036 (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(14037), {});
}
};
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(14044), {});
};
let headerCloseButton;
if (isModal) {
let tmp2Result = tmp2(5310);
headerCloseButton = tmp2Result.getHeaderCloseButton(importDefault(14039).closePasskeyUpsellModal);
}
obj[2] = headerCloseButton;
obj[WebAuthnScreens.INIT] = obj;
const obj1 = {
render(arg0) {
const merged = Object.assign(arg0);
return callback2(callback(14049), {});
},
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(14050), {});
},
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(14053), {});
},
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(5310);
headerCloseButton1 = tmp2Result.getHeaderCloseButton(importDefault(14039).closePasskeyUpsellModal);
}
obj3[2] = headerCloseButton1;
obj[WebAuthnScreens.NAME] = obj3;
const obj4 = {
render() {
return callback2(callback(14054), {});
},
title: null
};
const intl5 = tmp2(1236).intl;
obj4[1] = intl5.string(require(1236) /* getSystemLocale */.t["7wPZln"]);
obj[WebAuthnScreens.SUCCESS] = obj4;
return obj;
};