This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,21 @@
// Metro module 11005 (f11006).
import { GiftIntentType } from "../../PremiumConstants";
import { AnalyticsLocations } from "../../../../Constants";
let c7414_2 = new Map([[AnalyticsLocations.FRIEND_ANNIVERSARIES_CHAT, GiftIntentType.FRIEND_ANNIVERSARY], [AnalyticsLocations.FRIEND_ANNIVERSARIES_ACTION_BUTTON, GiftIntentType.FRIEND_ANNIVERSARY], [AnalyticsLocations.FRIEND_ANNIVERSARIES_ACTION_BUTTON_COACHMARK, GiftIntentType.FRIEND_ANNIVERSARY]]);
export function getPremiumGiftingIntentAnalyticsLocation(a0) {
return a0 === GiftIntentType.FRIEND_ANNIVERSARY ? {
chat: AnalyticsLocations.FRIEND_ANNIVERSARIES_CHAT,
actionButton: AnalyticsLocations.FRIEND_ANNIVERSARIES_ACTION_BUTTON,
actionButtonCoachmark: AnalyticsLocations.FRIEND_ANNIVERSARIES_ACTION_BUTTON_COACHMARK
} : {};
}
export function getGiftIntentTypeForLocation(a0) {
let r5 = c7414_2.get(a0);
if (r5 == null) {
r5 = null;
}
return r5;
}
export function parseGiftIntentType(a0) {
return typeof a0 === "number" ? a0 in GiftIntentType ? a0 !== GiftIntentType.UNSPECIFIED ? a0 : null : null : null;
}