decord/source/modules/webauthn/native/PasskeyUpsellActionCreators.tsx

34 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 13851
// Function ID: 13852
// Dependencies: [4071, 1358, 1360, 4460, 13852, 1959, 4223, 13853, 13855, 2]
2026-07-20 16:05:17 +00:00
2026-08-05 07:35:12 +00:00
// Module 13851
2026-07-29 08:29:29 +00:00
const PASSKEY_UPSELL_KEY = "PASSKEY_UPSELL_KEY";
2026-07-23 10:11:24 +00:00
let result = require("addVersionedDismissedContent").fileFinishedImporting("modules/webauthn/native/PasskeyUpsellActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export default {
openPasskeyUpsell() {
2026-07-29 08:29:29 +00:00
if (!obj.UNSAFE_isDismissibleContentDismissed(require(1358) /* DismissibleContent */.DismissibleContent.PASSWORDLESS_UPSELL)) {
const self = this;
const markDismissibleContentAsShown = tmp(1360).requestMarkDismissibleContentAsShown(tmp(1358).DismissibleContent.PASSWORDLESS_UPSELL);
const result = this.openPasskeyUpsellPromoSheet();
const tmpResult = tmp(1360);
2026-07-20 16:05:17 +00:00
}
},
openPasskeyUpsellModal() {
2026-08-05 07:35:12 +00:00
importDefault(4460).pushLazy(require(1959) /* asyncRequireImpl */(13852, dependencyMap.paths), undefined, PASSKEY_UPSELL_KEY);
2026-07-20 16:05:17 +00:00
},
closePasskeyUpsellModal() {
2026-08-05 07:35:12 +00:00
importDefault(4460).popWithKey(PASSKEY_UPSELL_KEY);
2026-07-20 16:05:17 +00:00
},
openPasskeyUpsellPromoSheet() {
2026-08-05 07:35:12 +00:00
importDefault(4223).openLazy(require(1959) /* asyncRequireImpl */(13853, dependencyMap.paths), PASSKEY_UPSELL_KEY);
2026-07-20 16:05:17 +00:00
},
closePasskeyUpsellPromoSheet() {
2026-08-05 07:35:12 +00:00
importDefault(4223).hideActionSheet(PASSKEY_UPSELL_KEY);
2026-07-20 16:05:17 +00:00
},
2026-07-29 08:29:29 +00:00
openPasskeyUpsellPromoModal(closure_0) {
2026-08-05 07:35:12 +00:00
importDefault(4460).pushLazy(require(1959) /* asyncRequireImpl */(13855, dependencyMap.paths), closure_0, PASSKEY_UPSELL_KEY);
2026-07-20 16:05:17 +00:00
}
};