decord/source/modules/webauthn/native/PasskeyUpsellActionCreators.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

39 lines
1.6 KiB
TypeScript

// Module ID: 14663
// Function ID: 14664
// Dependencies: [4380, 1943, 1945, 4763, 14664, 1896, 4527, 14665, 14667, 2]
// Module 14663
import set from "set" /* 2 */;
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import DismissibleContent from "DismissibleContent" /* 1943 */;
import ACTION_SHEET_HEIGHT_HALFDefault from "ACTION_SHEET_HEIGHT_HALF" /* 4527 */;
import _modDef4763 from "module_4763" /* 4763 */;
const PASSKEY_UPSELL_KEY = "PASSKEY_UPSELL_KEY";
let result = set.fileFinishedImporting("modules/webauthn/native/PasskeyUpsellActionCreators.tsx");
export default {
openPasskeyUpsell() {
if (!obj.UNSAFE_isDismissibleContentDismissed(DismissibleContent.DismissibleContent.PASSWORDLESS_UPSELL)) {
const self = this;
const markDismissibleContentAsShown = tmp(1945).requestMarkDismissibleContentAsShown(tmp(1943).DismissibleContent.PASSWORDLESS_UPSELL);
const result = this.openPasskeyUpsellPromoSheet();
const tmpResult = tmp(1945);
}
},
openPasskeyUpsellModal() {
_modDef4763.pushLazy(asyncRequireImpl(14664, dependencyMap.paths), undefined, PASSKEY_UPSELL_KEY);
},
closePasskeyUpsellModal() {
_modDef4763.popWithKey(PASSKEY_UPSELL_KEY);
},
openPasskeyUpsellPromoSheet() {
ACTION_SHEET_HEIGHT_HALFDefault.openLazy(asyncRequireImpl(14665, dependencyMap.paths), PASSKEY_UPSELL_KEY);
},
closePasskeyUpsellPromoSheet() {
ACTION_SHEET_HEIGHT_HALFDefault.hideActionSheet(PASSKEY_UPSELL_KEY);
},
openPasskeyUpsellPromoModal(closure_0) {
_modDef4763.pushLazy(asyncRequireImpl(14667, dependencyMap.paths), closure_0, PASSKEY_UPSELL_KEY);
}
};