decord/beta/source/modules/webauthn/native/UserSettingsWebAuthn.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

86 lines
2.8 KiB
TypeScript

// Module ID: 14924
// Function ID: 14925
// Name: UserSettingsWebAuthn
// Dependencies: [19, 14922, 21, 558, 568, 14925, 7246, 2]
// Module 14924 (UserSettingsWebAuthn)
import c from "c" /* 568 */;
import Navigator from "Navigator" /* 7246 */;
import WebAuthnScreens2 from "WebAuthnScreens" /* 14925 */;
import noop from "module_19" /* 19 */;
require = fn;
const WebAuthnScreens = fn(14922).WebAuthnScreens;
const jsx = fn(21).jsx;
const ReactCompilerGating = fn(558);
const size = fn(2);
const result = size.fileFinishedImporting("modules/webauthn/native/UserSettingsWebAuthn.tsx");
export default ReactCompilerGating.isReactCompilerEnabled() ? ((navigation) => {
const cResult = c.c(9);
navigation = navigation.navigation;
({ initialRouteName, showNav } = navigation);
if (undefined === initialRouteName) {
initialRouteName = WebAuthnScreens.INIT;
}
const headerShown = tmp5;
if (cResult[0] !== initialRouteName) {
const obj2 = { name: initialRouteName };
const items = [obj2];
cResult[0] = initialRouteName;
cResult[1] = items;
let tmp6 = items;
} else {
tmp6 = cResult[1];
}
if (cResult[2] === Symbol.for("react.memo_cache_sentinel")) {
const screens = tmp(14925).getScreens({ isModal: false });
cResult[2] = screens;
let tmp7 = screens;
const tmpResult = tmp(14925);
} else {
tmp7 = cResult[2];
}
if (cResult[3] === navigation) {
if (cResult[4] === tmp5) {
let tmp9 = cResult[5];
}
const layoutEffect = noop.useLayoutEffect(tmp9);
if (cResult[6] === initialRouteName) {
if (cResult[7] === tmp6) {
let tmp12 = cResult[8];
}
return tmp12;
}
const obj3 = { screens: tmp7, initialRouteName, initialRouteStack: tmp6, useContainer: false };
const tmp14 = jsx(tmp(7246).Navigator, { screens: tmp7, initialRouteName, initialRouteStack: tmp6, useContainer: false });
cResult[6] = initialRouteName;
cResult[7] = tmp6;
cResult[8] = tmp14;
tmp12 = tmp14;
}
const fn = function b() {
navigation.setOptions({ headerShown });
};
cResult[3] = navigation;
cResult[4] = undefined !== showNav && showNav;
cResult[5] = fn;
tmp9 = fn;
}) : ((showNav) => {
({ navigation: require, initialRouteName } = showNav);
if (initialRouteName === undefined) {
initialRouteName = WebAuthnScreens.INIT;
}
let flag = showNav.showNav;
if (flag === undefined) {
flag = false;
}
const screens = WebAuthnScreens2.getScreens({ isModal: false });
const layoutEffect = noop.useLayoutEffect(() => {
options.setOptions({ headerShown: flag });
});
const obj2 = { screens, initialRouteName, initialRouteStack: null, useContainer: false };
const items = [{ name: initialRouteName }];
obj2.initialRouteStack = items;
return jsx(Navigator.Navigator, { screens, initialRouteName, initialRouteStack: null, useContainer: false });
});