/* Metro module 1062; source: unknown; dependencies: [1047, 1046, 1052, 1055, 1051, 1050] */ import * as WINDOWModule from './module-01047-WINDOW.js'; /* Metro dependency 1047 */ import * as GetNavigationEntryModule from './module-01051-getNavigationEntry.js'; /* Metro dependency 1051 */ import * as InitMetricModule from './module-01052-initMetric.js'; /* Metro dependency 1052 */ import * as moduleValue2 from './module-01055-bindReporter.js'; /* Metro dependency 1055 */ function _fun11134(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11134, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1189:6, offset: 0x00da1d5f, size: 109 bytes, params: 8, frame: 17 const env0_0 = require; const Object = global.Object; const defineProperty = Object.defineProperty; const Symbol = global.Symbol; Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]); exports.TTFBThresholds = [800, 1800]; exports.onTTFB = onTTFB; function whenReady(a0) { // fn#11135, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1189:110, offset: 0x00da1dcc, size: 193 bytes, params: 2, frame: 18 const env0_0 = a0; const value2 = undefined; const WINDOW = (WINDOWModule).WINDOW; let document = WINDOW.document; if (document == null) { document = WINDOW.document; if ((document == null ? value2 : document.readyState) !== 'complete') { global.addEventListener('load', _fun11137, true); } else { global.setTimeout(a0); } } else if (document.prerendering) { (require(1046) /* metro dependency 1046 */).whenActivated(_fun11136); } else { document = WINDOW.document; if ((document == null ? value2 : document.readyState) !== 'complete') { global.addEventListener('load', _fun11137, true); } else { global.setTimeout(a0); } } return value2; function _fun11136() { // fn#11136, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1189:213, offset: 0x00da1e8d, size: 23 bytes, params: 1, frame: 11 whenReady(env0_0); } function _fun11137() { // fn#11137, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1189:333, offset: 0x00da1e8d, size: 23 bytes, params: 1, frame: 11 whenReady(env0_0); } } function onTTFB(a0) { // fn#11138, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1189:405, offset: 0x00da1ea4, size: 137 bytes, params: 2, frame: 20 const r3 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; const value2 = (InitMetricModule).initMetric('TTFB'); const env0_1 = moduleValue2.bindReporter(a0, value2, env0_2, r3.reportAllChanges); whenReady(_fun11139); function _fun11139() { // fn#11139, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1189:569, offset: 0x00da1f2d, size: 143 bytes, params: 1, frame: 19 var binding; var Math; var max; var responseStart; let value = environment.__proto__; const navigationEntry = (GetNavigationEntryModule).getNavigationEntry(); if (navigationEntry) { binding = env0_0; Math = global.Math; max = Math.max; responseStart = navigationEntry.responseStart; value = require(1050) /* metro dependency 1050 */; value = responseStart - value.getActivationStart(); binding.value = Reflect.apply(max, Math, [value, 0]); binding = env0_0; binding.entries = [navigationEntry]; env0_1(true); } } } } global.__d(_fun11134, 1062, [1047, 1046, 1052, 1055, 1051, 1050]) /* metro module 1062, dependencies: [1047, 1046, 1052, 1055, 1051, 1050] */;