99 lines
6.4 KiB
TypeScript
99 lines
6.4 KiB
TypeScript
/* Metro module 13247; source: modules/webauthn/native/WebAuthnScreens.tsx; dependencies: [13244, 33, 13248, 1244, 13255, 5282, 13250, 13260, 13261, 13264, 13265, 2] */
|
|
import PasskeyUpsellView from './nav_steps/PasskeyUpsellView.tsx'; /* Metro dependency 13248 */
|
|
import PasskeyInitStep from './nav_steps/PasskeyInitStep.tsx'; /* Metro dependency 13255 */
|
|
import WebAuthnEditStep from './nav_steps/WebAuthnEditStep.tsx'; /* Metro dependency 13260 */
|
|
import WebAuthnRegisterStep from './nav_steps/WebAuthnRegisterStep.tsx'; /* Metro dependency 13261 */
|
|
import WebAuthnNameStep from './nav_steps/WebAuthnNameStep.tsx'; /* Metro dependency 13264 */
|
|
import WebAuthnSuccessStep from './nav_steps/WebAuthnSuccessStep.tsx'; /* Metro dependency 13265 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
|
|
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
|
|
import * as WebAuthnConstantsModule from '../WebAuthnConstants.tsx'; /* Metro dependency 13244 */
|
|
|
|
function _fun101028(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#101028, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13437:6, offset: 0x0220532d, size: 145 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/webauthn/native/WebAuthnScreens.tsx');
|
|
exports.getScreens = getScreens_101029;
|
|
function getScreens_101029({isModal}) { // fn#101029, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13437:227, offset: 0x022053be, size: 593 bytes, params: 2, frame: 22
|
|
var r5;
|
|
var moduleValue;
|
|
var moduleValue2;
|
|
const object = {};
|
|
const MODAL_UPSELL = WebAuthnScreens.MODAL_UPSELL;
|
|
object[MODAL_UPSELL] = {title: '', render: render_101030};
|
|
const INIT = WebAuthnScreens.INIT;
|
|
const object3 = {};
|
|
const intl = (IndexNativeModule).intl;
|
|
let string = intl.string;
|
|
const t = (IndexNativeModule).t;
|
|
object3.title = Reflect.apply(string, intl, [t['0N1s81']]);
|
|
object3.render = render_101031;
|
|
if (isModal) {
|
|
moduleValue = require(5282) /* metro dependency 5282: NavigatorHeaderNative */;
|
|
r5 = moduleValue.getHeaderCloseButton((importDefault(13250) /* metro dependency 13250: PasskeyUpsellActionCreators */).closePasskeyUpsellModal);
|
|
} else {
|
|
r5 = undefined;
|
|
}
|
|
object3.headerLeft = r5;
|
|
object[INIT] = object3;
|
|
const EDIT = WebAuthnScreens.EDIT;
|
|
string = intl.string;
|
|
const UBBwwF = t.UBBwwF;
|
|
object[EDIT] = {render: render_101032, title: Reflect.apply(string, intl, [UBBwwF])};
|
|
const REGISTER = WebAuthnScreens.REGISTER;
|
|
object[REGISTER] = {render: render_101033, title: intl.string(t.vrOCCk)};
|
|
const NAME = WebAuthnScreens.NAME;
|
|
const object6 = {render: render_101034};
|
|
object6.title = intl.string(t['cY/IOu']);
|
|
if (isModal) {
|
|
moduleValue2 = require(5282) /* metro dependency 5282: NavigatorHeaderNative */;
|
|
r5 = moduleValue2.getHeaderCloseButton((importDefault(13250) /* metro dependency 13250: PasskeyUpsellActionCreators */).closePasskeyUpsellModal);
|
|
} else {
|
|
r5 = undefined;
|
|
}
|
|
object6.headerLeft = r5;
|
|
object[NAME] = object6;
|
|
const SUCCESS = WebAuthnScreens.SUCCESS;
|
|
const object7 = {render: render_101035};
|
|
object7.title = intl.string(t['7wPZln']);
|
|
object[SUCCESS] = object7;
|
|
return object;
|
|
function getScreens_101029Render() { // fn#101030, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13437:301, owner: getScreens_101029.render, offset: 0x0220560f, size: 39 bytes, params: 1, frame: 13
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component />)(PasskeyUpsellView);
|
|
}
|
|
|
|
function getScreens_101029Render_101031() { // fn#101031, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13437:384, owner: getScreens_101029.render, offset: 0x02205636, size: 39 bytes, params: 1, frame: 13
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component />)(PasskeyInitStep);
|
|
}
|
|
|
|
function getScreens_101029Render_101032(a0) { // fn#101032, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13437:502, owner: getScreens_101029.render, offset: 0x0220565d, size: 49 bytes, params: 2, frame: 14
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component {...a0} />)(WebAuthnEditStep);
|
|
}
|
|
|
|
function getScreens_101029Render_101033() { // fn#101033, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13437:589, owner: getScreens_101029.render, offset: 0x0220568e, size: 39 bytes, params: 1, frame: 13
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component />)(WebAuthnRegisterStep);
|
|
}
|
|
|
|
function getScreens_101029Render_101034(a0) { // fn#101034, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13437:669, owner: getScreens_101029.render, offset: 0x01d6deff, size: 49 bytes, params: 2, frame: 14
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component {...a0} />)(WebAuthnNameStep);
|
|
}
|
|
|
|
function getScreens_101029Render_101035() { // fn#101035, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13437:840, owner: getScreens_101029.render, offset: 0x022056b5, size: 39 bytes, params: 1, frame: 13
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component />)(WebAuthnSuccessStep);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun101028, 13247, [13244, 33, 13248, 1244, 13255, 5282, 13250, 13260, 13261, 13264, 13265,
|
|
2]) /* metro module 13247, dependencies: [13244, 33, 13248, 1244, 13255, 5282, 13250, 13260, 13261, 13264, 13265, 2] */;
|