Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,83 @@
|
||||
/* Metro module 5253; source: modules/tti_analytics/native/AppStartInfo.android.tsx; dependencies: [57, 5, 5254, 4014, 2] */
|
||||
function _fun46711(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46711, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:6, offset: 0x011ad853, size: 151 bytes, params: 8, frame: 18
|
||||
var object2;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
||||
const env0_4 = {};
|
||||
object2 = {getAppUIViewed: getAppUIViewed, getAppStartInfo: getAppStartInfo};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/tti_analytics/native/AppStartInfo.android.tsx');
|
||||
exports.AppStartInfo = object2;
|
||||
}
|
||||
|
||||
function getAppUIViewed() { // fn#46712, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:124, offset: 0x011ad8ea, size: 78 bytes, params: 1, frame: 13
|
||||
var r1;
|
||||
var r0;
|
||||
var property;
|
||||
const mainActivityCreationTime = (importDefault(5254) /* metro dependency 5254: NativeTTIModule */).getMainActivityCreationTime();
|
||||
const value3 = mainActivityCreationTime != null;
|
||||
if (value3) {
|
||||
property = env0_4[mainActivityCreationTime];
|
||||
if (property) {
|
||||
r1 = !!property;
|
||||
} else {
|
||||
env0_4[mainActivityCreationTime] = true;
|
||||
r1 = false;
|
||||
}
|
||||
r0 = r1;
|
||||
} else {
|
||||
r0 = value3;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function getAppStartInfo() { // fn#46713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:241, offset: 0x011ad938, size: 27 bytes, params: 1, frame: 11
|
||||
return env0_3(_fun46715)();
|
||||
}
|
||||
|
||||
function* _fun46715() { // fn#46715, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:248, offset: 0x011ad95c, size: 329 bytes, params: 1, frame: 22
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
let binding = env2_0;
|
||||
const value3 = binding(env2_1[3]);
|
||||
const getAppStartedTimestamp = value3.getAppStartedTimestamp;
|
||||
yield Reflect.apply(getAppStartedTimestamp, value3, []);
|
||||
const value4 = undefined;
|
||||
if (false) {
|
||||
return value4;
|
||||
}
|
||||
if (value4 <= 0) {
|
||||
throw new global.Error("NativeTTIManager.getAppStartedTimestamp() returned an invalid timestamp. That's unexpected!");
|
||||
}
|
||||
const Promise = global.Promise;
|
||||
const all = Promise.all;
|
||||
binding = env2_0;
|
||||
const binding2 = env2_1;
|
||||
let object = [binding(binding2[3]).getAppStartType()];
|
||||
const value8 = binding(binding2[3]);
|
||||
const getLaunchScenario = value8.getLaunchScenario;
|
||||
object[1] = Reflect.apply(getLaunchScenario, value8, []);
|
||||
const value9 = binding(binding2[3]);
|
||||
const getAppFirstVisibleTimestamp = value9.getAppFirstVisibleTimestamp;
|
||||
object[2] = Reflect.apply(getAppFirstVisibleTimestamp, value9, []);
|
||||
yield Reflect.apply(all, Promise, [object]);
|
||||
const value10 = undefined;
|
||||
if (false) {
|
||||
return value10;
|
||||
}
|
||||
const value12 = env2_2(value10, 3);
|
||||
const property = value12[0];
|
||||
const property2 = value12[1];
|
||||
const property3 = value12[2];
|
||||
object = {app_start_type: property, app_launch_scenario: property2};
|
||||
value = env2_0(env2_1[2]);
|
||||
value = value.getMainActivityCreationTime();
|
||||
if (value != null) {
|
||||
object.android_time_creation_to_create_main_activity = value - value4;
|
||||
}
|
||||
return {appCreatedTime: value4, appFirstVisibleTime: property3, extraProperties: object};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user