Files
discord-decomp/sources/modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx
T
2026-07-27 16:20:00 +03:00

26 lines
2.0 KiB
TypeScript

/* Metro module 7295; source: modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx; dependencies: [4108, 661, 7296, 683, 2] */
function _fun58848(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#58848, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7473:6, offset: 0x016d8339, size: 211 bytes, params: 8, frame: 20
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const CommonTriggerPoints = (require(4108) /* metro dependency 4108: ExperimentConstants */).CommonTriggerPoints;
const env0_2 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
const CommonTriggerPointConfiguration = (require(7296) /* metro dependency 7296: Helpers */).CommonTriggerPointConfiguration;
const PAYMENT_FLOW_STARTED = CommonTriggerPoints.PAYMENT_FLOW_STARTED;
const commonTriggerPointConfiguration = new CommonTriggerPointConfiguration([], PAYMENT_FLOW_STARTED,
{location: 'payment flow started'});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/experiments/trigger_points/PaymentFlowStartedTriggerPoint.tsx');
exports.PaymentFlowStartedTriggerPoint = commonTriggerPointConfiguration;
exports.trackPaymentFlowStartedAnalyticsAndCTP = trackPaymentFlowStartedAnalyticsAndCTP;
}
function trackPaymentFlowStartedAnalyticsAndCTP(a0) { // fn#58849, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7473:438, offset: 0x016d840c, size: 75 bytes, params: 2, frame: 17
const value = a1;
const r6 = value !== undefined ? value : {};
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
const track = defaultImport.track;
const PAYMENT_FLOW_STARTED = AnalyticEvents.PAYMENT_FLOW_STARTED;
Reflect.apply(track, defaultImport, [PAYMENT_FLOW_STARTED, a0, r6]);
env0_3.trigger();
}