2026-08-08 06:10:11 +00:00
|
|
|
// Module ID: 11294
|
|
|
|
|
// Function ID: 11295
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: TTIFirstContentfulPaint
|
2026-08-08 06:10:11 +00:00
|
|
|
// Dependencies: [19, 21, 4159, 9, 7128, 11295, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: TTIFirstContentfulPaint
|
|
|
|
|
|
2026-08-08 06:10:11 +00:00
|
|
|
// Module 11294 (TTIFirstContentfulPaint)
|
2026-07-29 08:29:29 +00:00
|
|
|
import noop from "noop";
|
2026-07-23 10:11:24 +00:00
|
|
|
import { jsx } from "jsxProd";
|
|
|
|
|
|
|
|
|
|
const require = arg1;
|
|
|
|
|
const result = require("getRootNavigationRef").fileFinishedImporting("modules/tti_analytics/native/TTIFirstContentfulPaint.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const TTIFirstContentfulPaint = function TTIFirstContentfulPaint(checkFocusedScreen) {
|
|
|
|
|
checkFocusedScreen = checkFocusedScreen.checkFocusedScreen;
|
|
|
|
|
const items = [checkFocusedScreen];
|
|
|
|
|
const onMeasurement = React.useCallback((nativeEvent) => {
|
|
|
|
|
if (null != checkFocusedScreen) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const rootNavigationRef = checkFocusedScreen(outer1_2[2]).getRootNavigationRef();
|
2026-07-20 16:05:17 +00:00
|
|
|
let currentRoute;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (rootNavigationRef != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
currentRoute = rootNavigationRef.getCurrentRoute();
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
const obj = checkFocusedScreen(outer1_2[2]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
const firstContentfulPaint = outer1_1(outer1_2[3]).firstContentfulPaint;
|
2026-07-20 16:05:17 +00:00
|
|
|
firstContentfulPaint.record(nativeEvent.nativeEvent.timestamp);
|
2026-07-23 10:11:24 +00:00
|
|
|
checkFocusedScreen(outer1_2[4]).notifyAboutTTI();
|
2026-07-20 16:05:17 +00:00
|
|
|
}, items);
|
2026-08-08 06:10:11 +00:00
|
|
|
return jsx(checkFocusedScreen(11295).TTIMeasurementView, { onMeasurement });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|