Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,41 @@
/* Metro module 10679; source: modules/video_calls/useVideoSpinnerTimer.tsx; dependencies: [57, 31, 10680, 2] */
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');
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);
}
}
}