Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,55 @@
|
||||
/* Metro module 12650; source: modules/activate_device/useActivateDeviceStepTracking.tsx; dependencies: [31, 661, 6266, 12651, 683, 2] */
|
||||
function _fun96992(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96992, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12840:6, offset: 0x0216f2e0, size: 143 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activate_device/useActivateDeviceStepTracking.tsx');
|
||||
exports.useActivateDeviceStepTracking = useActivateDeviceStepTracking;
|
||||
}
|
||||
|
||||
function useActivateDeviceStepTracking(a0) { // fn#96993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12840:254, offset: 0x0216f36f, size: 79 bytes, params: 2, frame: 16
|
||||
const env0_0 = a0;
|
||||
env0_3.useEffect(_fun96994, [(importDefault(6266) /* metro dependency 6266: usePrevious */)(a0), a0]);
|
||||
}
|
||||
|
||||
function _fun96994() { // fn#96994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12840:326, offset: 0x0216f3be, size: 214 bytes, params: 1, frame: 18
|
||||
var r0;
|
||||
var r4;
|
||||
var type;
|
||||
var value4;
|
||||
var value5;
|
||||
var moduleValue;
|
||||
var value7;
|
||||
var value8;
|
||||
var defaultImport;
|
||||
var track;
|
||||
var DEVICE_LINK_STEP;
|
||||
var object2;
|
||||
if (env0_0 !== env0_1) {
|
||||
type = env0_0.type;
|
||||
r0 = type !== 'user-code-input' && env0_0.type !== 'handoff';
|
||||
value4 = null;
|
||||
if (r0) {
|
||||
value5 = environment.__proto__;
|
||||
moduleValue = require(12651) /* metro dependency 12651: ActivateDeviceUtils */;
|
||||
r4 = moduleValue.clientIdToActivateDevicePlatform(env0_0.userCodeData.clientId);
|
||||
} else {
|
||||
r4 = value4;
|
||||
}
|
||||
value7 = environment.__proto__;
|
||||
value8 = undefined;
|
||||
defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
track = defaultImport.track;
|
||||
DEVICE_LINK_STEP = AnalyticEvents.DEVICE_LINK_STEP;
|
||||
object2 = {};
|
||||
type = value4 == env0_1 ? value8 : env0_1.type;
|
||||
object2.previous_step = type;
|
||||
type = env0_0.type;
|
||||
object2.current_step = type;
|
||||
object2.platform_type = r4;
|
||||
Reflect.apply(track, defaultImport, [DEVICE_LINK_STEP, object2]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user