// Module ID: 1211 // Function ID: 1212 // Name: _updateZoomedInExport // Dependencies: [1212, 1903, 6797, 676, 4463, 13371, 7056, 709, 13375, 2] // Module 1211 (_updateZoomedInExport) import initialize from "initialize"; import mergeGuildAvatar from "mergeGuildAvatar"; import getState from "getState"; import { AppStates } from "ME"; import "initialize"; class TelemetryRingLifecycleImpl extends tmp2 { constructor() { applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target); closure_0 = applyArgumentsResult; applyArgumentsResult._initialized = false; applyArgumentsResult._experimentUnsubscribe = null; applyArgumentsResult._handleEligibilityChange = function _handleEligibilityChange() { const result = applyArgumentsResult._updateZoomedInExport(); }; applyArgumentsResult._handleLogout = function _handleLogout() { applyArgumentsResult(13375).clear(); const obj = applyArgumentsResult(13375); applyArgumentsResult(13371).reset(); }; return applyArgumentsResult; } } const prototype = TelemetryRingLifecycleImpl.prototype; prototype["_updateZoomedInExport"] = function _updateZoomedInExport() { const state = getState.getState(); let shouldRunResult = state === AppStates.ACTIVE; if (shouldRunResult) { shouldRunResult = importDefault(13371).shouldRun(); const obj = importDefault(13371); } const result = importDefault(7056).setShouldCollectHermesInstrumentedStats(shouldRunResult); if (state === AppStates.ACTIVE) { let tmp6Result = tmp6(13371); tmp6Result.start(); } else { tmp6Result = tmp6(13371); tmp6Result.stop(); } }; prototype["_initialize"] = function _initialize() { let self = this; self = this; if (!this._initialized) { self._initialized = true; const subscription = self(709).subscribe("LOGOUT", self._handleLogout); getState.addChangeListener(self._handleEligibilityChange); mergeGuildAvatar.addChangeListener(self._handleEligibilityChange); initialize.addChangeListener(self._handleEligibilityChange); self._experimentUnsubscribe = () => { outer1_2.removeChangeListener(self._handleEligibilityChange); }; const obj = self(709); self(13371).initialize(); const result = self._updateZoomedInExport(); const obj2 = self(13371); } }; prototype["_terminate"] = function _terminate() { const self = this; importDefault(709).unsubscribe("LOGOUT", this._handleLogout); getState.removeChangeListener(this._handleEligibilityChange); mergeGuildAvatar.removeChangeListener(this._handleEligibilityChange); if (null != this._experimentUnsubscribe) { const result = self._experimentUnsubscribe(); self._experimentUnsubscribe = null; } let tmpResult = tmp(13371); tmpResult.stop(); tmpResult = tmp(7056); const result1 = tmpResult.setShouldCollectHermesInstrumentedStats(false); self._initialized = false; }; const telemetryRingLifecycleImpl = new TelemetryRingLifecycleImpl(); let result = require("getState").fileFinishedImporting("modules/telemetry_ring/native/TelemetryRingLifecycle.tsx"); export default telemetryRingLifecycleImpl;