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