This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,41 +1,45 @@
/* Metro module 10679; source: modules/video_calls/useVideoSpinnerTimer.tsx; dependencies: [57, 31, 10680, 2] */
import Module00057 from '../../by-id/module-00057.js'; /* Metro dependency 57 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as VideoSpinnerTimerModule from '../../lib/VideoSpinnerTimer.tsx'; /* Metro dependency 10680 */
function _fun82112(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82112, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10865:6, offset: 0x01eeba12, size: 133 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(57) /* metro dependency 57 */;
const env0_3 = importAll(31) /* metro dependency 31 */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/video_calls/useVideoSpinnerTimer.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/video_calls/useVideoSpinnerTimer.tsx');
exports.default = useVideoSpinnerTimer;
}
function useVideoSpinnerTimer({location, videoSpinnerContext, userId, streamId, loading, paused}) { // fn#82113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10865:204, offset: 0x01eeba97, size: 170 bytes, params: 2, frame: 20
const env0_2 = userId;
const env0_3 = streamId;
paused = !(paused === undefined) && paused;
const binding = env0_3;
binding.useEffect(_fun82115, [loading, paused, streamId, env0_2(binding.useState(_fun82114), 1)[0],
videoSpinnerContext, userId]);
}
function _fun82114() { // fn#82114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10865:330, offset: 0x01eebb41, size: 60 bytes, params: 1, frame: 11
let value = environment.__proto__;
const VideoSpinnerTimer = (require(10680) /* metro dependency 10680: VideoSpinnerTimer */).VideoSpinnerTimer;
const locationBinding = location;
value = Object.create(VideoSpinnerTimer.prototype, {constructor: {value: VideoSpinnerTimer}});
const videoSpinnerTimer = new VideoSpinnerTimer(locationBinding);
return videoSpinnerTimer instanceof Object ? videoSpinnerTimer : value;
}
function _fun82115() { // fn#82115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10865:395, offset: 0x01eebb7d, size: 80 bytes, params: 1, frame: 16
var binding;
if (!paused) {
if (loading) {
env0_6.onSpinnerStarted();
} else if (streamId != null) {
binding = env0_6;
binding.trackSpinnerDuration(videoSpinnerContext, userId, streamId);
function useVideoSpinnerTimer({location, videoSpinnerContext, userId, streamId, loading, paused}) { // fn#82113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10865:204, offset: 0x01eeba97, size: 170 bytes, params: 2, frame: 20
const userId2 = userId;
const streamId2 = streamId;
paused = !(paused === undefined) && paused;
const binding = streamId2;
binding.useEffect(_fun82115, [loading, paused, streamId, userId2(binding.useState(_fun82114), 1)[0],
videoSpinnerContext, userId]);
function _fun82114() { // fn#82114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10865:330, offset: 0x01eebb41, size: 60 bytes, params: 1, frame: 11
let value = environment.__proto__;
const VideoSpinnerTimer = (VideoSpinnerTimerModule).VideoSpinnerTimer;
const locationBinding = location;
value = Object.create(VideoSpinnerTimer.prototype, {constructor: {value: VideoSpinnerTimer}});
const videoSpinnerTimer = new VideoSpinnerTimer(locationBinding);
return videoSpinnerTimer instanceof Object ? videoSpinnerTimer : value;
}
function _fun82115() { // fn#82115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10865:395, offset: 0x01eebb7d, size: 80 bytes, params: 1, frame: 16
var binding;
if (!paused) {
if (loading) {
env0_6.onSpinnerStarted();
} else if (streamId != null) {
binding = env0_6;
binding.trackSpinnerDuration(videoSpinnerContext, userId, streamId);
}
}
}
}
}
global.__d(_fun82112, 10679, [57, 31, 10680, 2]) /* metro module 10679, dependencies: [57, 31, 10680, 2] */;